diff --git a/index.html b/index.html index 64ad724..42f8f46 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Maptable
\ No newline at end of file +Maptable
\ No newline at end of file diff --git a/static/css/235.55f8c8f2.css b/static/css/235.55f8c8f2.css new file mode 100644 index 0000000..e745fdf --- /dev/null +++ b/static/css/235.55f8c8f2.css @@ -0,0 +1 @@ +:root{--balloon-border-radius:2px;--balloon-color:#101010f2;--balloon-text-color:#fff;--balloon-font-size:12px;--balloon-move:4px}button[aria-label][data-balloon-pos]{overflow:visible}[aria-label][data-balloon-pos]{cursor:pointer;position:relative}[aria-label][data-balloon-pos]:after{background:var(--balloon-color);border-radius:2px;border-radius:var(--balloon-border-radius);color:var(--balloon-text-color);content:attr(aria-label);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;font-size:var(--balloon-font-size);font-style:normal;font-weight:400;padding:.5em 1em;text-indent:0;text-shadow:none;white-space:nowrap}[aria-label][data-balloon-pos]:after,[aria-label][data-balloon-pos]:before{opacity:0;pointer-events:none;position:absolute;transition:all .18s ease-out .18s;z-index:10}[aria-label][data-balloon-pos]:before{border:5px solid #0000;border-top:5px solid var(--balloon-color);content:"";height:0;width:0}[aria-label][data-balloon-pos]:hover:after,[aria-label][data-balloon-pos]:hover:before,[aria-label][data-balloon-pos]:not([data-balloon-nofocus]):focus:after,[aria-label][data-balloon-pos]:not([data-balloon-nofocus]):focus:before,[aria-label][data-balloon-pos][data-balloon-visible]:after,[aria-label][data-balloon-pos][data-balloon-visible]:before{opacity:1;pointer-events:none}[aria-label][data-balloon-pos].font-awesome:after{font-family:FontAwesome,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}[aria-label][data-balloon-pos][data-balloon-break]:after{white-space:pre}[aria-label][data-balloon-pos][data-balloon-break][data-balloon-length]:after{white-space:pre-line;word-break:break-word}[aria-label][data-balloon-pos][data-balloon-blunt]:after,[aria-label][data-balloon-pos][data-balloon-blunt]:before{transition:none}[aria-label][data-balloon-pos][data-balloon-pos=down]:hover:after,[aria-label][data-balloon-pos][data-balloon-pos=down]:hover:before,[aria-label][data-balloon-pos][data-balloon-pos=down][data-balloon-visible]:after,[aria-label][data-balloon-pos][data-balloon-pos=down][data-balloon-visible]:before,[aria-label][data-balloon-pos][data-balloon-pos=up]:hover:after,[aria-label][data-balloon-pos][data-balloon-pos=up]:hover:before,[aria-label][data-balloon-pos][data-balloon-pos=up][data-balloon-visible]:after,[aria-label][data-balloon-pos][data-balloon-pos=up][data-balloon-visible]:before{transform:translate(-50%)}[aria-label][data-balloon-pos][data-balloon-pos*=-left]:after{left:0}[aria-label][data-balloon-pos][data-balloon-pos*=-left]:before{left:5px}[aria-label][data-balloon-pos][data-balloon-pos*=-right]:after{right:0}[aria-label][data-balloon-pos][data-balloon-pos*=-right]:before{right:5px}[aria-label][data-balloon-pos][data-balloon-po*=-left]:hover:after,[aria-label][data-balloon-pos][data-balloon-po*=-left]:hover:before,[aria-label][data-balloon-pos][data-balloon-po*=-left][data-balloon-visible]:after,[aria-label][data-balloon-pos][data-balloon-po*=-left][data-balloon-visible]:before,[aria-label][data-balloon-pos][data-balloon-pos*=-right]:hover:after,[aria-label][data-balloon-pos][data-balloon-pos*=-right]:hover:before,[aria-label][data-balloon-pos][data-balloon-pos*=-right][data-balloon-visible]:after,[aria-label][data-balloon-pos][data-balloon-pos*=-right][data-balloon-visible]:before{transform:translate(0)}[aria-label][data-balloon-pos][data-balloon-pos^=up]:after,[aria-label][data-balloon-pos][data-balloon-pos^=up]:before{bottom:100%;transform:translateY(var(--balloon-move));transform-origin:top}[aria-label][data-balloon-pos][data-balloon-pos^=up]:after{margin-bottom:10px}[aria-label][data-balloon-pos][data-balloon-pos=up]:after,[aria-label][data-balloon-pos][data-balloon-pos=up]:before{left:50%;transform:translate(-50%,var(--balloon-move))}[aria-label][data-balloon-pos][data-balloon-pos^=down]:after,[aria-label][data-balloon-pos][data-balloon-pos^=down]:before{top:100%;transform:translateY(calc(var(--balloon-move)*-1))}[aria-label][data-balloon-pos][data-balloon-pos^=down]:after{margin-top:10px}[aria-label][data-balloon-pos][data-balloon-pos^=down]:before{border:5px solid #0000;border-bottom:5px solid var(--balloon-color);height:0;width:0}[aria-label][data-balloon-pos][data-balloon-pos=down]:after,[aria-label][data-balloon-pos][data-balloon-pos=down]:before{left:50%;transform:translate(-50%,calc(var(--balloon-move)*-1))}[aria-label][data-balloon-pos][data-balloon-pos=left]:hover:after,[aria-label][data-balloon-pos][data-balloon-pos=left]:hover:before,[aria-label][data-balloon-pos][data-balloon-pos=left][data-balloon-visible]:after,[aria-label][data-balloon-pos][data-balloon-pos=left][data-balloon-visible]:before,[aria-label][data-balloon-pos][data-balloon-pos=right]:hover:after,[aria-label][data-balloon-pos][data-balloon-pos=right]:hover:before,[aria-label][data-balloon-pos][data-balloon-pos=right][data-balloon-visible]:after,[aria-label][data-balloon-pos][data-balloon-pos=right][data-balloon-visible]:before{transform:translateY(-50%)}[aria-label][data-balloon-pos][data-balloon-pos=left]:after,[aria-label][data-balloon-pos][data-balloon-pos=left]:before{right:100%;top:50%;transform:translate(var(--balloon-move),-50%)}[aria-label][data-balloon-pos][data-balloon-pos=left]:after{margin-right:10px}[aria-label][data-balloon-pos][data-balloon-pos=left]:before{border:5px solid #0000;border-left:5px solid var(--balloon-color);height:0;width:0}[aria-label][data-balloon-pos][data-balloon-pos=right]:after,[aria-label][data-balloon-pos][data-balloon-pos=right]:before{left:100%;top:50%;transform:translate(calc(var(--balloon-move)*-1),-50%)}[aria-label][data-balloon-pos][data-balloon-pos=right]:after{margin-left:10px}[aria-label][data-balloon-pos][data-balloon-pos=right]:before{border:5px solid #0000;border-right:5px solid var(--balloon-color);height:0;width:0}[aria-label][data-balloon-pos][data-balloon-length]:after{white-space:normal}[aria-label][data-balloon-pos][data-balloon-length=small]:after{width:80px}[aria-label][data-balloon-pos][data-balloon-length=medium]:after{width:150px}[aria-label][data-balloon-pos][data-balloon-length=large]:after{width:260px}[aria-label][data-balloon-pos][data-balloon-length=xlarge]:after{width:380px}@media screen and (max-width:768px){[aria-label][data-balloon-pos][data-balloon-length=xlarge]:after{width:90vw}}[aria-label][data-balloon-pos][data-balloon-length=fit]:after{width:100%}.react-resizable{position:relative}.react-resizable-handle{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgd2lkdGg9IjYiIGhlaWdodD0iNiI+PHBhdGggZD0iTTYgNkgwVjQuMmg0LjJWMEg2djZaIiBvcGFjaXR5PSIuMzAyIi8+PC9zdmc+);background-origin:content-box;background-position:100% 100%;background-repeat:no-repeat;box-sizing:border-box;height:20px;padding:0 3px 3px 0;position:absolute;width:20px}.react-resizable-handle-sw{bottom:0;cursor:sw-resize;left:0;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;cursor:se-resize;right:0}.react-resizable-handle-nw{cursor:nw-resize;left:0;top:0;transform:rotate(180deg)}.react-resizable-handle-ne{cursor:ne-resize;right:0;top:0;transform:rotate(270deg)}.react-resizable-handle-e,.react-resizable-handle-w{cursor:ew-resize;margin-top:-10px;top:50%}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{cursor:ns-resize;left:50%;margin-left:-10px}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}.react-grid-layout{position:relative;transition:height .2s ease}.react-grid-item{transition:all .2s ease;transition-property:left,top,width,height}.react-grid-item img{pointer-events:none;-webkit-user-select:none;user-select:none}.react-grid-item.cssTransforms{transition-property:transform,width,height}.react-grid-item.resizing{transition:none;will-change:width,height;z-index:1}.react-grid-item.react-draggable-dragging{transition:none;will-change:transform;z-index:3}.react-grid-item.dropping{visibility:hidden}.react-grid-item.react-grid-placeholder{background:red;opacity:.2;transition-duration:.1s;-webkit-user-select:none;-o-user-select:none;user-select:none;z-index:2}.react-grid-item.react-grid-placeholder.placeholder-resizing{transition:none}.react-grid-item>.react-resizable-handle{height:20px;position:absolute;width:20px}.react-grid-item>.react-resizable-handle:after{border-bottom:2px solid #0006;border-right:2px solid #0006;bottom:3px;content:"";height:5px;position:absolute;right:3px;width:5px}.react-resizable-hide>.react-resizable-handle{display:none}.react-grid-item>.react-resizable-handle.react-resizable-handle-sw{bottom:0;cursor:sw-resize;left:0;transform:rotate(90deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-se{bottom:0;cursor:se-resize;right:0}.react-grid-item>.react-resizable-handle.react-resizable-handle-nw{cursor:nw-resize;left:0;top:0;transform:rotate(180deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-ne{cursor:ne-resize;right:0;top:0;transform:rotate(270deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-e,.react-grid-item>.react-resizable-handle.react-resizable-handle-w{cursor:ew-resize;margin-top:-10px;top:50%}.react-grid-item>.react-resizable-handle.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-n,.react-grid-item>.react-resizable-handle.react-resizable-handle-s{cursor:ns-resize;left:50%;margin-left:-10px}.react-grid-item>.react-resizable-handle.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}.maptalks-zoom{text-align:center}.maptalks-zoom .maptalks-zoom-zoomlevel{background:#172029;color:#fff;display:block;font-size:12px;height:29px;line-height:29px;transform:scale(.8);-ms-transform:scale(.8);transform-origin:bottom left;-ms-transform-origin:bottom left;width:29px}.maptalks-zoom-slider{margin-top:6px}.maptalks-zoom-slider a.maptalks-zoom-zoomin,.maptalks-zoom-slider a.maptalks-zoom-zoomout{background:#172029;border:1px solid #363539;color:#fff;display:block;font-size:16px;height:21px;line-height:19px;text-decoration:none;width:21px}.maptalks-zoom-slider-box{background:#34495e;background:url(/static/media/kedu.9ded9480034da4c54b82.png) repeat-y;border:1px solid #35383b;height:124px;position:relative;width:21px}.maptalks-zoom-slider-box .maptalks-zoom-slider-ruler{background:#372e2b;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;height:112px;margin:4px auto;position:relative;width:5px}.maptalks-zoom-slider-box .maptalks-zoom-slider-ruler .maptalks-zoom-slider-reading{background:#1bbc9b;border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px;bottom:0;height:50%;left:0;position:absolute;width:5px}.maptalks-zoom-slider-box .maptalks-zoom-slider-dot{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAKN2lDQ1BzUkdCIElFQzYxOTY2LTIuMQAAeJydlndUU9kWh8+9N71QkhCKlNBraFICSA29SJEuKjEJEErAkAAiNkRUcERRkaYIMijggKNDkbEiioUBUbHrBBlE1HFwFBuWSWStGd+8ee/Nm98f935rn73P3Wfvfda6AJD8gwXCTFgJgAyhWBTh58WIjYtnYAcBDPAAA2wA4HCzs0IW+EYCmQJ82IxsmRP4F726DiD5+yrTP4zBAP+flLlZIjEAUJiM5/L42VwZF8k4PVecJbdPyZi2NE3OMErOIlmCMlaTc/IsW3z2mWUPOfMyhDwZy3PO4mXw5Nwn4405Er6MkWAZF+cI+LkyviZjg3RJhkDGb+SxGXxONgAoktwu5nNTZGwtY5IoMoIt43kA4EjJX/DSL1jMzxPLD8XOzFouEiSniBkmXFOGjZMTi+HPz03ni8XMMA43jSPiMdiZGVkc4XIAZs/8WRR5bRmyIjvYODk4MG0tbb4o1H9d/JuS93aWXoR/7hlEH/jD9ld+mQ0AsKZltdn6h21pFQBd6wFQu/2HzWAvAIqyvnUOfXEeunxeUsTiLGcrq9zcXEsBn2spL+jv+p8Of0NffM9Svt3v5WF485M4knQxQ143bmZ6pkTEyM7icPkM5p+H+B8H/nUeFhH8JL6IL5RFRMumTCBMlrVbyBOIBZlChkD4n5r4D8P+pNm5lona+BHQllgCpSEaQH4eACgqESAJe2Qr0O99C8ZHA/nNi9GZmJ37z4L+fVe4TP7IFiR/jmNHRDK4ElHO7Jr8WgI0IABFQAPqQBvoAxPABLbAEbgAD+ADAkEoiARxYDHgghSQAUQgFxSAtaAYlIKtYCeoBnWgETSDNnAYdIFj4DQ4By6By2AE3AFSMA6egCnwCsxAEISFyBAVUod0IEPIHLKFWJAb5AMFQxFQHJQIJUNCSAIVQOugUqgcqobqoWboW+godBq6AA1Dt6BRaBL6FXoHIzAJpsFasBFsBbNgTzgIjoQXwcnwMjgfLoK3wJVwA3wQ7oRPw5fgEVgKP4GnEYAQETqiizARFsJGQpF4JAkRIauQEqQCaUDakB6kH7mKSJGnyFsUBkVFMVBMlAvKHxWF4qKWoVahNqOqUQdQnag+1FXUKGoK9RFNRmuizdHO6AB0LDoZnYsuRlegm9Ad6LPoEfQ4+hUGg6FjjDGOGH9MHCYVswKzGbMb0445hRnGjGGmsVisOtYc64oNxXKwYmwxtgp7EHsSewU7jn2DI+J0cLY4X1w8TogrxFXgWnAncFdwE7gZvBLeEO+MD8Xz8MvxZfhGfA9+CD+OnyEoE4wJroRIQiphLaGS0EY4S7hLeEEkEvWITsRwooC4hlhJPEQ8TxwlviVRSGYkNimBJCFtIe0nnSLdIr0gk8lGZA9yPFlM3kJuJp8h3ye/UaAqWCoEKPAUVivUKHQqXFF4pohXNFT0VFysmK9YoXhEcUjxqRJeyUiJrcRRWqVUo3RU6YbStDJV2UY5VDlDebNyi/IF5UcULMWI4kPhUYoo+yhnKGNUhKpPZVO51HXURupZ6jgNQzOmBdBSaaW0b2iDtCkVioqdSrRKnkqNynEVKR2hG9ED6On0Mvph+nX6O1UtVU9Vvuom1TbVK6qv1eaoeajx1UrU2tVG1N6pM9R91NPUt6l3qd/TQGmYaYRr5Grs0Tir8XQObY7LHO6ckjmH59zWhDXNNCM0V2ju0xzQnNbS1vLTytKq0jqj9VSbru2hnaq9Q/uE9qQOVcdNR6CzQ+ekzmOGCsOTkc6oZPQxpnQ1df11Jbr1uoO6M3rGelF6hXrtevf0Cfos/ST9Hfq9+lMGOgYhBgUGrQa3DfGGLMMUw12G/YavjYyNYow2GHUZPTJWMw4wzjduNb5rQjZxN1lm0mByzRRjyjJNM91tetkMNrM3SzGrMRsyh80dzAXmu82HLdAWThZCiwaLG0wS05OZw2xljlrSLYMtCy27LJ9ZGVjFW22z6rf6aG1vnW7daH3HhmITaFNo02Pzq62ZLde2xvbaXPJc37mr53bPfW5nbse322N3055qH2K/wb7X/oODo4PIoc1h0tHAMdGx1vEGi8YKY21mnXdCO3k5rXY65vTW2cFZ7HzY+RcXpkuaS4vLo3nG8/jzGueNueq5clzrXaVuDLdEt71uUnddd457g/sDD30PnkeTx4SnqWeq50HPZ17WXiKvDq/XbGf2SvYpb8Tbz7vEe9CH4hPlU+1z31fPN9m31XfKz95vhd8pf7R/kP82/xsBWgHcgOaAqUDHwJWBfUGkoAVB1UEPgs2CRcE9IXBIYMj2kLvzDecL53eFgtCA0O2h98KMw5aFfR+OCQ8Lrwl/GGETURDRv4C6YMmClgWvIr0iyyLvRJlESaJ6oxWjE6Kbo1/HeMeUx0hjrWJXxl6K04gTxHXHY+Oj45vipxf6LNy5cDzBPqE44foi40V5iy4s1licvvj4EsUlnCVHEtGJMYktie85oZwGzvTSgKW1S6e4bO4u7hOeB28Hb5Lvyi/nTyS5JpUnPUp2Td6ePJninlKR8lTAFlQLnqf6p9alvk4LTduf9ik9Jr09A5eRmHFUSBGmCfsytTPzMoezzLOKs6TLnJftXDYlChI1ZUPZi7K7xTTZz9SAxESyXjKa45ZTk/MmNzr3SJ5ynjBvYLnZ8k3LJ/J9879egVrBXdFboFuwtmB0pefK+lXQqqWrelfrry5aPb7Gb82BtYS1aWt/KLQuLC98uS5mXU+RVtGaorH1futbixWKRcU3NrhsqNuI2ijYOLhp7qaqTR9LeCUXS61LK0rfb+ZuvviVzVeVX33akrRlsMyhbM9WzFbh1uvb3LcdKFcuzy8f2x6yvXMHY0fJjpc7l+y8UGFXUbeLsEuyS1oZXNldZVC1tep9dUr1SI1XTXutZu2m2te7ebuv7PHY01anVVda926vYO/Ner/6zgajhop9mH05+x42Rjf2f836urlJo6m06cN+4X7pgYgDfc2Ozc0tmi1lrXCrpHXyYMLBy994f9Pdxmyrb6e3lx4ChySHHn+b+O31w0GHe4+wjrR9Z/hdbQe1o6QT6lzeOdWV0iXtjusePhp4tLfHpafje8vv9x/TPVZzXOV42QnCiaITn07mn5w+lXXq6enk02O9S3rvnIk9c60vvG/wbNDZ8+d8z53p9+w/ed71/LELzheOXmRd7LrkcKlzwH6g4wf7HzoGHQY7hxyHui87Xe4Znjd84or7ldNXva+euxZw7dLI/JHh61HXb95IuCG9ybv56Fb6ree3c27P3FlzF3235J7SvYr7mvcbfjT9sV3qID0+6j068GDBgztj3LEnP2X/9H686CH5YcWEzkTzI9tHxyZ9Jy8/Xvh4/EnWk5mnxT8r/1z7zOTZd794/DIwFTs1/lz0/NOvm1+ov9j/0u5l73TY9P1XGa9mXpe8UX9z4C3rbf+7mHcTM7nvse8rP5h+6PkY9PHup4xPn34D94Tz+49wZioAAAAJcEhZcwAACxIAAAsSAdLdfvwAAALeSURBVHicVZPNaxNBGMbfnZ3srmuakCZpGpNSWjDZYgqW3LzYgkir1kDBHPwHBA96UHrUkwdBT56KFPFv6KEWpBUMtBFaanuoVULSpMQkzUeTNNtssh/OmxrBuQ0zz/PM+76/oZZlAa7JSSIYhiKyvSgBDFiEuIhlOUyOa3CmWWsDNDmO03j+h7a/b3ZQQ/tCXQ87ZJ64QNdljudlKghuSZbdeqdTb6uqKBuGA3heVfVwjd1voAHtCy/xvM/kDJ8oi+6Z23PvBUGwsySLJ8Q6b7fr28nNV6WT4h67J5zrYQxsUHwqJqLw5vStR3fuzce7eheOsllo1Ovg9XpBURRPLBZ782F5+W1yK7Em83zn3FA0ijXiU5VI5MazxcUHkiRBOpOGcrkMzUYD7HY7DA0NwejoKO/xep8/efzod+HouGJxnEixOVhjbGHhRSAQ4Cy4aGClXOkZ+P1+CAaDgH11uVxk9u791x+XlqYl0xyg2FWv3389rCh8tVoFTB4cHISpqSnIHecgEolAu92GWq0GrVYLxsbGiNPtvlqpVDSK47CJ4khLVUkqlYKLxQEhHESuRSD5LQl6V4f+SJkRL0pSgOmyFOfITtRMJsPOLU5VVWg2z3rieDwOiUQCsrkcCDYbsAmAYRiWZZqnqKMIQPP0dDudTuuiKNq63W7vUig0AU6nE6LRKHQ6HSgWi6BpGk7AaDWbv1BHkZxGtZrP53J7V0ZGosyg193h4WHGBA9ejxfGx8fBNE3AnhTy+WSrXj9pc1yTInJIztbm18WZy7MrysSE7PF4YMDhAHYGoiSCz+eDs7MzODw4KO5sJ18SSlWWrFFkFZFDcjY+f5onAO/cbndIFIQeuoQQKJVKnS/r6z/XVleeMuaKqmHUKD3UKDKKqCFySM7G6urD/d3dkD8YnGMmAVbrQa1S2Slks98x8a/wgm10/2fAkENySoVCo1gqpf77VazG3lNZYv9X/QEJM4cEk5QMqQAAAABJRU5ErkJggg==) no-repeat;cursor:pointer;height:15px;left:3px;position:absolute;top:50%;width:15px}.maptalks-toolbar-vertical{margin:0;overflow:visible}.maptalks-toolbar-horizonal ul,.maptalks-toolbar-vertical ul{margin:0;padding:0}.maptalks-toolbar-vertical ul li+li{border-top:1px solid #425568}.maptalks-toolbar-vertical li{background:#34495e;color:#fff;line-height:28px;list-style:none;min-height:28px;min-width:10px;padding:0 10px;position:relative;text-align:center}.maptalks-toolbar-vertical li:hover{background:#1bbc9b}.maptalks-toolbar-vertical li .maptalks-dropMenu{overflow:visible;padding:0;position:absolute;top:0}.maptalks-toolbar-vertical li .maptalks-dropMenu li{background:#223140;height:27px;list-style:none;min-width:95px}.maptalks-toolbar-vertical li .maptalks-dropMenu li a{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAICAYAAAAx8TU7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA0ppVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RTM3QjEyRDNBOTZDMTFFNUE2QTA4M0M3MDI4QUVDMTQiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RTM3QjEyRDJBOTZDMTFFNUE2QTA4M0M3MDI4QUVDMTQiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDo3ZmI2MGZkMi1hOTZjLTExZTUtYWU4Yi1kYzQ2ODQxNzA1ZmIiIHN0UmVmOmRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDo3ZmI2MGZkMi1hOTZjLTExZTUtYWU4Yi1kYzQ2ODQxNzA1ZmIiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4r2gBAAAAASklEQVR42mL4////HCBmB2IGGAYRIHACiKXRBUHgORBbgwQZ/4Ol4OA3EOcxMaCCf2AJJO1PgNgC2cyjQCyJbNEMIGZDdhJAgAEACP9sQulYHrwAAAAASUVORK5CYII=) no-repeat 14px 10px;color:#fff;display:block;font-size:12px;line-height:27px;text-decoration:none;text-indent:33px}.maptalks-toolbar-vertical li .maptalks-dropMenu em.maptalks-ico{display:block;height:6px;position:absolute;right:-4px;top:12px;width:5px}.maptalks-toolbar-vertical li .maptalks-dropMenu li.maptalks-on,.maptalks-toolbar-vertical li .maptalks-dropMenu li:hover{background:#0e595e}.maptalks-toolbar-horizonal{margin:0;overflow:visible}.maptalks-toolbar-horizonal li{background:#34495e;color:#fff;float:left;line-height:28px;list-style:none;min-height:28px;min-width:28px;padding:0 10px;position:relative;text-align:left}.maptalks-toolbar-horizonal ul li+li{border-left:1px solid #425568}.maptalks-toolbar-horizonal li:hover{background:#1bbc9b}.maptalks-toolbar-horizonal li .maptalks-dropMenu{display:block;left:0;overflow:visible;position:absolute}.maptalks-toolbar-horizonal li .maptalks-dropMenu li{background:#223140;height:27px;list-style:none;min-width:95px}.maptalks-toolbar-horizonal li .maptalks-dropMenu li+li{border-left:none;border-top:1px solid #425568}.maptalks-toolbar-horizonal li .maptalks-dropMenu li a{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAICAYAAAAx8TU7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA0ppVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RTM3QjEyRDNBOTZDMTFFNUE2QTA4M0M3MDI4QUVDMTQiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RTM3QjEyRDJBOTZDMTFFNUE2QTA4M0M3MDI4QUVDMTQiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDo3ZmI2MGZkMi1hOTZjLTExZTUtYWU4Yi1kYzQ2ODQxNzA1ZmIiIHN0UmVmOmRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDo3ZmI2MGZkMi1hOTZjLTExZTUtYWU4Yi1kYzQ2ODQxNzA1ZmIiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4r2gBAAAAASklEQVR42mL4////HCBmB2IGGAYRIHACiKXRBUHgORBbgwQZ/4Ol4OA3EOcxMaCCf2AJJO1PgNgC2cyjQCyJbNEMIGZDdhJAgAEACP9sQulYHrwAAAAASUVORK5CYII=) no-repeat 5px 10px;color:#fff;display:block;font-size:12px;line-height:27px;text-decoration:none;text-indent:20px}.maptalks-toolbar-horizonal li .maptalks-dropMenu em.maptalks-ico{display:block;height:6px;left:12px;position:absolute;top:-4px;width:5px}.maptalks-toolbar-horizonal .maptalks-dropMenu li:hover{background:#0e595e}.maptalks-menu{background:#fff;border:1px solid #b4b3b3;padding:1px;width:172px}.maptalks-menu em.maptalks-ico{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAKCAYAAABSfLWiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0NTE4ZWRhOC03NjQ5LTNjNGUtYjYxZi0xNjVhZmQzNmJmMzciIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MUJCN0UxQjY3RTk2MTFFOEFCNzVFRTYzMkFGMUE2MUIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MUJCN0UxQjU3RTk2MTFFOEFCNzVFRTYzMkFGMUE2MUIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NDUxOGVkYTgtNzY0OS0zYzRlLWI2MWYtMTY1YWZkMzZiZjM3IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjQ1MThlZGE4LTc2NDktM2M0ZS1iNjFmLTE2NWFmZDM2YmYzNyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pvm07Z8AAADSSURBVHjaYvj//z8DPswIBI6Ojiz41LAwEAAzpk1bw83Lyw5k+uBUhM+GyRMnzv3+/ft/EJ4+dWodLnU4Dejr6en+9OnTfxh48eLF/6amJneiDelsb6969+7df3Rw+fLln+np6XIEDWloaMgA2YoL7N6163lYWBgnTkPqa2oiHz169J8QWLx48RFQrGEYUlpa6n379u1//4kAP378+D9xwoR+FEPy8vJsr1y58uc/CeDly5f/66qrw8CGZGZmSp85ffrVfzLA5UuXvuakpMgDBBgAQbLv2dsvRWYAAAAASUVORK5CYII=) no-repeat;display:block;height:10px;left:8px;position:absolute;top:-10px;width:17px}.maptalks-menu .maptalks-menu-items{color:#5a5756;font-size:12px;margin:0;padding:0}.maptalks-menu .maptalks-menu-items li{height:30px;line-height:30px;list-style:none;text-indent:16px}.maptalks-menu .maptalks-menu-items li:hover{background:#007fbe;color:#fff;cursor:pointer}.maptalks-menu .maptalks-menu-items li.maptalks-menu-splitter{background:#ddd;height:2px;list-style:none}.maptalks-msgBox{background:#fff;border:1px solid #b4b3b3;border-radius:3px}.maptalks-msgBox em.maptalks-ico{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAKCAYAAABSfLWiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoxY2VjNGU4ZS1iOGY2LTliNGQtOTI4Ny00NDllN2M2NDNlOTQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MkI4MDFBOTY3RTk2MTFFODhENTE4NERCOTYxNjg4MjUiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MkI4MDFBOTU3RTk2MTFFODhENTE4NERCOTYxNjg4MjUiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MWNlYzRlOGUtYjhmNi05YjRkLTkyODctNDQ5ZTdjNjQzZTk0IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjFjZWM0ZThlLWI4ZjYtOWI0ZC05Mjg3LTQ0OWU3YzY0M2U5NCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PmUmXhQAAADFSURBVHjaYshKSpK/fOnS1/9kgNOnTr1KT0+XZgCBmsrKsJcvX5JkwJUrV/7k5OTYMiCDCRMm9P/48YMoA27duvWvuLjYmwELYFy0aNERQgY8evTof111dSQDLhASEsK5a+fO57gMePHixf/6+voMBkIgLS1N7tKlSz/RDXj37t3/zvb2KgZiQWNjozvIVhj49OnT/97u7m4GUsH0qVPrvn///h+EJ0+YMJeBXLBkyZItM6dNW8tACbC3t2cBxRohdQABBgAt8yx0KlQQZgAAAABJRU5ErkJggg==) no-repeat;bottom:-10px;display:block;height:10px;left:50%;margin-left:-5px;position:absolute;width:17px}.maptalks-msgBox h2{display:block;font-size:14px;font-weight:700;height:auto;line-height:30px;margin:0;padding:0 30px 0 10px;white-space:nowrap}.maptalks-msgBox a.maptalks-close{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAKN2lDQ1BzUkdCIElFQzYxOTY2LTIuMQAAeJydlndUU9kWh8+9N71QkhCKlNBraFICSA29SJEuKjEJEErAkAAiNkRUcERRkaYIMijggKNDkbEiioUBUbHrBBlE1HFwFBuWSWStGd+8ee/Nm98f935rn73P3Wfvfda6AJD8gwXCTFgJgAyhWBTh58WIjYtnYAcBDPAAA2wA4HCzs0IW+EYCmQJ82IxsmRP4F726DiD5+yrTP4zBAP+flLlZIjEAUJiM5/L42VwZF8k4PVecJbdPyZi2NE3OMErOIlmCMlaTc/IsW3z2mWUPOfMyhDwZy3PO4mXw5Nwn4405Er6MkWAZF+cI+LkyviZjg3RJhkDGb+SxGXxONgAoktwu5nNTZGwtY5IoMoIt43kA4EjJX/DSL1jMzxPLD8XOzFouEiSniBkmXFOGjZMTi+HPz03ni8XMMA43jSPiMdiZGVkc4XIAZs/8WRR5bRmyIjvYODk4MG0tbb4o1H9d/JuS93aWXoR/7hlEH/jD9ld+mQ0AsKZltdn6h21pFQBd6wFQu/2HzWAvAIqyvnUOfXEeunxeUsTiLGcrq9zcXEsBn2spL+jv+p8Of0NffM9Svt3v5WF485M4knQxQ143bmZ6pkTEyM7icPkM5p+H+B8H/nUeFhH8JL6IL5RFRMumTCBMlrVbyBOIBZlChkD4n5r4D8P+pNm5lona+BHQllgCpSEaQH4eACgqESAJe2Qr0O99C8ZHA/nNi9GZmJ37z4L+fVe4TP7IFiR/jmNHRDK4ElHO7Jr8WgI0IABFQAPqQBvoAxPABLbAEbgAD+ADAkEoiARxYDHgghSQAUQgFxSAtaAYlIKtYCeoBnWgETSDNnAYdIFj4DQ4By6By2AE3AFSMA6egCnwCsxAEISFyBAVUod0IEPIHLKFWJAb5AMFQxFQHJQIJUNCSAIVQOugUqgcqobqoWboW+godBq6AA1Dt6BRaBL6FXoHIzAJpsFasBFsBbNgTzgIjoQXwcnwMjgfLoK3wJVwA3wQ7oRPw5fgEVgKP4GnEYAQETqiizARFsJGQpF4JAkRIauQEqQCaUDakB6kH7mKSJGnyFsUBkVFMVBMlAvKHxWF4qKWoVahNqOqUQdQnag+1FXUKGoK9RFNRmuizdHO6AB0LDoZnYsuRlegm9Ad6LPoEfQ4+hUGg6FjjDGOGH9MHCYVswKzGbMb0445hRnGjGGmsVisOtYc64oNxXKwYmwxtgp7EHsSewU7jn2DI+J0cLY4X1w8TogrxFXgWnAncFdwE7gZvBLeEO+MD8Xz8MvxZfhGfA9+CD+OnyEoE4wJroRIQiphLaGS0EY4S7hLeEEkEvWITsRwooC4hlhJPEQ8TxwlviVRSGYkNimBJCFtIe0nnSLdIr0gk8lGZA9yPFlM3kJuJp8h3ye/UaAqWCoEKPAUVivUKHQqXFF4pohXNFT0VFysmK9YoXhEcUjxqRJeyUiJrcRRWqVUo3RU6YbStDJV2UY5VDlDebNyi/IF5UcULMWI4kPhUYoo+yhnKGNUhKpPZVO51HXURupZ6jgNQzOmBdBSaaW0b2iDtCkVioqdSrRKnkqNynEVKR2hG9ED6On0Mvph+nX6O1UtVU9Vvuom1TbVK6qv1eaoeajx1UrU2tVG1N6pM9R91NPUt6l3qd/TQGmYaYRr5Grs0Tir8XQObY7LHO6ckjmH59zWhDXNNCM0V2ju0xzQnNbS1vLTytKq0jqj9VSbru2hnaq9Q/uE9qQOVcdNR6CzQ+ekzmOGCsOTkc6oZPQxpnQ1df11Jbr1uoO6M3rGelF6hXrtevf0Cfos/ST9Hfq9+lMGOgYhBgUGrQa3DfGGLMMUw12G/YavjYyNYow2GHUZPTJWMw4wzjduNb5rQjZxN1lm0mByzRRjyjJNM91tetkMNrM3SzGrMRsyh80dzAXmu82HLdAWThZCiwaLG0wS05OZw2xljlrSLYMtCy27LJ9ZGVjFW22z6rf6aG1vnW7daH3HhmITaFNo02Pzq62ZLde2xvbaXPJc37mr53bPfW5nbse322N3055qH2K/wb7X/oODo4PIoc1h0tHAMdGx1vEGi8YKY21mnXdCO3k5rXY65vTW2cFZ7HzY+RcXpkuaS4vLo3nG8/jzGueNueq5clzrXaVuDLdEt71uUnddd457g/sDD30PnkeTx4SnqWeq50HPZ17WXiKvDq/XbGf2SvYpb8Tbz7vEe9CH4hPlU+1z31fPN9m31XfKz95vhd8pf7R/kP82/xsBWgHcgOaAqUDHwJWBfUGkoAVB1UEPgs2CRcE9IXBIYMj2kLvzDecL53eFgtCA0O2h98KMw5aFfR+OCQ8Lrwl/GGETURDRv4C6YMmClgWvIr0iyyLvRJlESaJ6oxWjE6Kbo1/HeMeUx0hjrWJXxl6K04gTxHXHY+Oj45vipxf6LNy5cDzBPqE44foi40V5iy4s1licvvj4EsUlnCVHEtGJMYktie85oZwGzvTSgKW1S6e4bO4u7hOeB28Hb5Lvyi/nTyS5JpUnPUp2Td6ePJninlKR8lTAFlQLnqf6p9alvk4LTduf9ik9Jr09A5eRmHFUSBGmCfsytTPzMoezzLOKs6TLnJftXDYlChI1ZUPZi7K7xTTZz9SAxESyXjKa45ZTk/MmNzr3SJ5ynjBvYLnZ8k3LJ/J9879egVrBXdFboFuwtmB0pefK+lXQqqWrelfrry5aPb7Gb82BtYS1aWt/KLQuLC98uS5mXU+RVtGaorH1futbixWKRcU3NrhsqNuI2ijYOLhp7qaqTR9LeCUXS61LK0rfb+ZuvviVzVeVX33akrRlsMyhbM9WzFbh1uvb3LcdKFcuzy8f2x6yvXMHY0fJjpc7l+y8UGFXUbeLsEuyS1oZXNldZVC1tep9dUr1SI1XTXutZu2m2te7ebuv7PHY01anVVda926vYO/Ner/6zgajhop9mH05+x42Rjf2f836urlJo6m06cN+4X7pgYgDfc2Ozc0tmi1lrXCrpHXyYMLBy994f9Pdxmyrb6e3lx4ChySHHn+b+O31w0GHe4+wjrR9Z/hdbQe1o6QT6lzeOdWV0iXtjusePhp4tLfHpafje8vv9x/TPVZzXOV42QnCiaITn07mn5w+lXXq6enk02O9S3rvnIk9c60vvG/wbNDZ8+d8z53p9+w/ed71/LELzheOXmRd7LrkcKlzwH6g4wf7HzoGHQY7hxyHui87Xe4Znjd84or7ldNXva+euxZw7dLI/JHh61HXb95IuCG9ybv56Fb6ree3c27P3FlzF3235J7SvYr7mvcbfjT9sV3qID0+6j068GDBgztj3LEnP2X/9H686CH5YcWEzkTzI9tHxyZ9Jy8/Xvh4/EnWk5mnxT8r/1z7zOTZd794/DIwFTs1/lz0/NOvm1+ov9j/0u5l73TY9P1XGa9mXpe8UX9z4C3rbf+7mHcTM7nvse8rP5h+6PkY9PHup4xPn34D94Tz+49wZioAAAAJcEhZcwAACxIAAAsSAdLdfvwAAADrSURBVHicY/n//z8DqYAFRDAxMTESq+Hfv3//WUi2BmYTMmhqatL7+/fv5cbGxv/19fWSbGxsf6urq1/h1ARU5A+0fj0jI+MsILsXKLTv169fP1atWqUeFhb2D6smFhaWi3/+/HkMZKYBNcYBA4kDyJ6NrAFDU21t7QOgDSlA5k6QBqDGW0A6C6+fmpublYA2zQOxgRq+ATWoAZnTgDgdpyagBk0gJQXUMI2ZmbkPyN8P5DsAbWcFBsxvrJqAEluBtmkDFd8EOvV/a2urOTAg/iJrwNAE9dcNGBsY1C/Q5bFqIgaANYGSBimaAADgbhvLwt8+AAAAAElFTkSuQmCC) no-repeat;display:block;height:13px;position:absolute;right:10px;top:8px;width:13px}.maptalks-msgBox a.maptalks-close:hover{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAKN2lDQ1BzUkdCIElFQzYxOTY2LTIuMQAAeJydlndUU9kWh8+9N71QkhCKlNBraFICSA29SJEuKjEJEErAkAAiNkRUcERRkaYIMijggKNDkbEiioUBUbHrBBlE1HFwFBuWSWStGd+8ee/Nm98f935rn73P3Wfvfda6AJD8gwXCTFgJgAyhWBTh58WIjYtnYAcBDPAAA2wA4HCzs0IW+EYCmQJ82IxsmRP4F726DiD5+yrTP4zBAP+flLlZIjEAUJiM5/L42VwZF8k4PVecJbdPyZi2NE3OMErOIlmCMlaTc/IsW3z2mWUPOfMyhDwZy3PO4mXw5Nwn4405Er6MkWAZF+cI+LkyviZjg3RJhkDGb+SxGXxONgAoktwu5nNTZGwtY5IoMoIt43kA4EjJX/DSL1jMzxPLD8XOzFouEiSniBkmXFOGjZMTi+HPz03ni8XMMA43jSPiMdiZGVkc4XIAZs/8WRR5bRmyIjvYODk4MG0tbb4o1H9d/JuS93aWXoR/7hlEH/jD9ld+mQ0AsKZltdn6h21pFQBd6wFQu/2HzWAvAIqyvnUOfXEeunxeUsTiLGcrq9zcXEsBn2spL+jv+p8Of0NffM9Svt3v5WF485M4knQxQ143bmZ6pkTEyM7icPkM5p+H+B8H/nUeFhH8JL6IL5RFRMumTCBMlrVbyBOIBZlChkD4n5r4D8P+pNm5lona+BHQllgCpSEaQH4eACgqESAJe2Qr0O99C8ZHA/nNi9GZmJ37z4L+fVe4TP7IFiR/jmNHRDK4ElHO7Jr8WgI0IABFQAPqQBvoAxPABLbAEbgAD+ADAkEoiARxYDHgghSQAUQgFxSAtaAYlIKtYCeoBnWgETSDNnAYdIFj4DQ4By6By2AE3AFSMA6egCnwCsxAEISFyBAVUod0IEPIHLKFWJAb5AMFQxFQHJQIJUNCSAIVQOugUqgcqobqoWboW+godBq6AA1Dt6BRaBL6FXoHIzAJpsFasBFsBbNgTzgIjoQXwcnwMjgfLoK3wJVwA3wQ7oRPw5fgEVgKP4GnEYAQETqiizARFsJGQpF4JAkRIauQEqQCaUDakB6kH7mKSJGnyFsUBkVFMVBMlAvKHxWF4qKWoVahNqOqUQdQnag+1FXUKGoK9RFNRmuizdHO6AB0LDoZnYsuRlegm9Ad6LPoEfQ4+hUGg6FjjDGOGH9MHCYVswKzGbMb0445hRnGjGGmsVisOtYc64oNxXKwYmwxtgp7EHsSewU7jn2DI+J0cLY4X1w8TogrxFXgWnAncFdwE7gZvBLeEO+MD8Xz8MvxZfhGfA9+CD+OnyEoE4wJroRIQiphLaGS0EY4S7hLeEEkEvWITsRwooC4hlhJPEQ8TxwlviVRSGYkNimBJCFtIe0nnSLdIr0gk8lGZA9yPFlM3kJuJp8h3ye/UaAqWCoEKPAUVivUKHQqXFF4pohXNFT0VFysmK9YoXhEcUjxqRJeyUiJrcRRWqVUo3RU6YbStDJV2UY5VDlDebNyi/IF5UcULMWI4kPhUYoo+yhnKGNUhKpPZVO51HXURupZ6jgNQzOmBdBSaaW0b2iDtCkVioqdSrRKnkqNynEVKR2hG9ED6On0Mvph+nX6O1UtVU9Vvuom1TbVK6qv1eaoeajx1UrU2tVG1N6pM9R91NPUt6l3qd/TQGmYaYRr5Grs0Tir8XQObY7LHO6ckjmH59zWhDXNNCM0V2ju0xzQnNbS1vLTytKq0jqj9VSbru2hnaq9Q/uE9qQOVcdNR6CzQ+ekzmOGCsOTkc6oZPQxpnQ1df11Jbr1uoO6M3rGelF6hXrtevf0Cfos/ST9Hfq9+lMGOgYhBgUGrQa3DfGGLMMUw12G/YavjYyNYow2GHUZPTJWMw4wzjduNb5rQjZxN1lm0mByzRRjyjJNM91tetkMNrM3SzGrMRsyh80dzAXmu82HLdAWThZCiwaLG0wS05OZw2xljlrSLYMtCy27LJ9ZGVjFW22z6rf6aG1vnW7daH3HhmITaFNo02Pzq62ZLde2xvbaXPJc37mr53bPfW5nbse322N3055qH2K/wb7X/oODo4PIoc1h0tHAMdGx1vEGi8YKY21mnXdCO3k5rXY65vTW2cFZ7HzY+RcXpkuaS4vLo3nG8/jzGueNueq5clzrXaVuDLdEt71uUnddd457g/sDD30PnkeTx4SnqWeq50HPZ17WXiKvDq/XbGf2SvYpb8Tbz7vEe9CH4hPlU+1z31fPN9m31XfKz95vhd8pf7R/kP82/xsBWgHcgOaAqUDHwJWBfUGkoAVB1UEPgs2CRcE9IXBIYMj2kLvzDecL53eFgtCA0O2h98KMw5aFfR+OCQ8Lrwl/GGETURDRv4C6YMmClgWvIr0iyyLvRJlESaJ6oxWjE6Kbo1/HeMeUx0hjrWJXxl6K04gTxHXHY+Oj45vipxf6LNy5cDzBPqE44foi40V5iy4s1licvvj4EsUlnCVHEtGJMYktie85oZwGzvTSgKW1S6e4bO4u7hOeB28Hb5Lvyi/nTyS5JpUnPUp2Td6ePJninlKR8lTAFlQLnqf6p9alvk4LTduf9ik9Jr09A5eRmHFUSBGmCfsytTPzMoezzLOKs6TLnJftXDYlChI1ZUPZi7K7xTTZz9SAxESyXjKa45ZTk/MmNzr3SJ5ynjBvYLnZ8k3LJ/J9879egVrBXdFboFuwtmB0pefK+lXQqqWrelfrry5aPb7Gb82BtYS1aWt/KLQuLC98uS5mXU+RVtGaorH1futbixWKRcU3NrhsqNuI2ijYOLhp7qaqTR9LeCUXS61LK0rfb+ZuvviVzVeVX33akrRlsMyhbM9WzFbh1uvb3LcdKFcuzy8f2x6yvXMHY0fJjpc7l+y8UGFXUbeLsEuyS1oZXNldZVC1tep9dUr1SI1XTXutZu2m2te7ebuv7PHY01anVVda926vYO/Ner/6zgajhop9mH05+x42Rjf2f836urlJo6m06cN+4X7pgYgDfc2Ozc0tmi1lrXCrpHXyYMLBy994f9Pdxmyrb6e3lx4ChySHHn+b+O31w0GHe4+wjrR9Z/hdbQe1o6QT6lzeOdWV0iXtjusePhp4tLfHpafje8vv9x/TPVZzXOV42QnCiaITn07mn5w+lXXq6enk02O9S3rvnIk9c60vvG/wbNDZ8+d8z53p9+w/ed71/LELzheOXmRd7LrkcKlzwH6g4wf7HzoGHQY7hxyHui87Xe4Znjd84or7ldNXva+euxZw7dLI/JHh61HXb95IuCG9ybv56Fb6ree3c27P3FlzF3235J7SvYr7mvcbfjT9sV3qID0+6j068GDBgztj3LEnP2X/9H686CH5YcWEzkTzI9tHxyZ9Jy8/Xvh4/EnWk5mnxT8r/1z7zOTZd794/DIwFTs1/lz0/NOvm1+ov9j/0u5l73TY9P1XGa9mXpe8UX9z4C3rbf+7mHcTM7nvse8rP5h+6PkY9PHup4xPn34D94Tz+49wZioAAAAJcEhZcwAACxIAAAsSAdLdfvwAAADwSURBVHicYwmrmMXPxsVzgoF48ImFlZGHiZGBQYMETe9ZSFAMBxiaZET5GQzUpBm2HL3GwMLMxOBvq8Ow/9wdhnefvuHWFONuzKCpIMYgws/FIMjLxWCgKsXAx83OMH/radya5m49xVAZ68TgaKQC5j95/ZFh7YHL+J33/tN3hudvPjEI83GB+feevWP49PUHfk0pvmYMOkoSDI9ffWDg4mBjsNNXBBr0jWHdwcu4NV29/4JBGOifiauOMHBysDLkhdgw3HnyBr9Nhy/eB2MQ+PL9J0Pt7B3oSjA1EQPI0/T77oZPLFpemsRqYPzL9hcAyOZIEFj9ZVMAAAAASUVORK5CYII=) no-repeat}.maptalks-msgBox .maptalks-msgContent{font-size:12px;min-width:200px;padding:10px}.maptalks-panel{background:#fff;border:1px solid #b4b3b3;border-radius:3px}.maptalks-panel .maptalks-panel-content{min-height:60px;min-width:200px;padding:10px}.maptalks-panel a.maptalks-close{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAHCAIAAACk8qu6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA0ppVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RTM3RTZFNDFBOTZDMTFFNUE2QTA4M0M3MDI4QUVDMTQiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RTM3RTZFNDBBOTZDMTFFNUE2QTA4M0M3MDI4QUVDMTQiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDo3ZmI2MGZkMi1hOTZjLTExZTUtYWU4Yi1kYzQ2ODQxNzA1ZmIiIHN0UmVmOmRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDo3ZmI2MGZkMi1hOTZjLTExZTUtYWU4Yi1kYzQ2ODQxNzA1ZmIiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6Qths+AAAAgElEQVR42iSNMQ4EERiFrd3KKHEBKkeYYziAxAXVCiq9SkPpDMQ0s9k/s694yZd8eQ/NOccY3yettfu+31LKnLMQopQSQsAYv2qt3ntQEELHcVhrsdZaKYWenOfJOf/EGHvvhJDrulJKjDG81qKUOueMMSACIljZe/8fgaF/AgwARJdHBal88EIAAAAASUVORK5CYII=) no-repeat;display:block;height:7px;position:absolute;right:10px;top:10px;width:6px}.maptalks-panel a.maptalks-close:hover{opacity:.5}.maptalks-attribution{background:#fff;background-color:#ffffffb3;display:inline-block;font-family:microsoft yahei,Helvetica Neue,Helvetica,sans-serif;font-size:13px;opacity:1;padding:0}.maptalks-attribution a{color:#0078a8;text-decoration:none}.maptalks-attribution a:hover{text-decoration:underline}.maptalks-overview{background:#fff;border:1px solid #b4b3b3;height:100%;width:100%}.maptalks-overview-button{background:#fff;border:1px solid #b4b3b3;bottom:1px;color:#363539;cursor:pointer;font:16px sans-serif;height:18px;line-height:16px;position:absolute;right:1px;text-align:center;width:18px}.maptalks-layer-switcher ul{list-style:none}.maptalks-layer-switcher .panel>ul{padding-left:1em}.maptalks-layer-switcher .group>ul{padding-left:10px}.maptalks-layer-switcher .group+.group{padding-top:1em}.maptalks-layer-switcher label{color:#bbb;display:inline-block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.maptalks-layer-switcher .group>label{color:#ddd;font-weight:700;width:100%}.maptalks-layer-switcher .layer label{padding-top:5px;width:92%}.maptalks-layer-switcher input{margin:0 5px;position:relative;top:-2px}.maptalks-layer-switcher input[disabled=disabled]{cursor:not-allowed}.maptalks-layer-switcher input[disabled=disabled]+label{color:#666}.maptalks-layer-switcher .panel,.maptalks-layer-switcher button{border-radius:4px}.maptalks-layer-switcher button{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAUCAYAAABvVQZ0AAAAAXNSR0IArs4c6QAAAUVJREFUOBGdkjFuAjEQRUmBqJC4AvWWSCm24xp0EX3Sp9uLIOUQaejSUXEMGhSJGyzvOx7Ha3mMxEgf2+M/j/HAbNaIcRxXaECnuK4a9vpVBrmxz0NnwR9DZYrmHHIkt0NaLXwoDg/S573j65EP5fIDlZ1MIDlQewf6rosrsvhm83gef0C9Rn6Lq2Ab5LdetIXXG8kmWTE159GA/I8EU4dejepAv8i7c1U96vTMC1L8oG0DKo/GkTqRH6lOcRFsj351ilGDDtx5EJWpfh8aYbNEnzHJEmIClZHsFilvIYjqlgZacJhHswd9w+NCVI8W+rYz0nAHFP5jrDUo6fCc1In8SHWqPwt2QBYeVF15EKs92FN7MkfLsk6gwcQH+bwTs6su/TjmldmDrrmz57QhiRY3FagBtNY7KSHluYA+B6lAX8pc7XwHMYFxBb/kUuEAAAAASUVORK5CYII=) no-repeat 4px 4px;background-color:#172029;border:none;height:28px;width:28px}.maptalks-layer-switcher.shown button{display:none}.maptalks-layer-switcher .panel{background-color:#172029;display:none;max-height:500px;max-width:400px;min-width:120px;overflow-x:hidden;overflow-y:auto}.maptalks-layer-switcher li{white-space:nowrap}.maptalks-layer-switcher li.group{margin-right:1em}.maptalks-layer-switcher.shown .panel{display:block}.maptalks-layer-switcher ::-webkit-scrollbar{width:6px}.maptalks-layer-switcher ::-webkit-scrollbar-track{background-color:#1f1f1f}.maptalks-layer-switcher ::-webkit-scrollbar-thumb{background-color:#777;border-radius:5px}.maptalks-tooltip{background:#fff;border:1px solid #b4b3b3;display:block;font-size:14px;height:24px;line-height:24px;padding:0 4px;white-space:nowrap} \ No newline at end of file diff --git a/static/css/564.44e76f33.chunk.css b/static/css/564.44e76f33.chunk.css new file mode 100644 index 0000000..c379bbf --- /dev/null +++ b/static/css/564.44e76f33.chunk.css @@ -0,0 +1 @@ +.datetime_datePicker__lRfee{width:100%}.datetime_popup__7Vj17{pointer-events:none}.numberRenderer_numberInGrid__it4FS{text-align:right;width:100%}.selectEditor_option__vE8KP{align-items:center;display:flex;height:100%}.selectEditor_option__vE8KP .mt-tag{display:flex;max-width:100%;overflow:hidden;text-align:center;text-overflow:ellipsis;transition:opacity .13s ease-in-out;white-space:nowrap}.mt-select-single.mt-select-open.mt-select-show-search .mt-select-selector .selectEditor_option__vE8KP .mt-tag{opacity:.25}.selectEditor_tag__KwXqb{align-items:center;border-radius:18px;color:#091e42;display:flex;height:20px;justify-content:center;line-height:20px;margin-right:3px;min-width:40px}.selectEditor_tag__KwXqb .anticon-close{color:#091e42}.selectEditor_tag__KwXqb .anticon-close:hover{color:#0065ff}.selectEditor_select__xAnSu{width:100%}.selectEditor_select__xAnSu .mt-select-selector{max-height:102px;overflow-y:auto}.selectEditor_select__xAnSu .mt-select-selection-overflow-item{align-items:center;display:flex;height:26px}.selectEditor_select__xAnSu .mt-select-selection-overflow-item>span{display:inline-block;max-width:100%}.selectEditor_select__xAnSu .mt-select-item-option-selected:not(.mt-select-item-option-disabled){background-color:#0000}.selectEditor_select__xAnSu .mt-select-item-option-active:not(.mt-select-item-option-disabled){background-color:var(--secondary-color)}.selectEditor_multiSelect__W0kA0 .mt-select-selection-placeholder,.selectEditor_singleSelect__5p-e4 .mt-select-selection-placeholder{font-size:13px;font-weight:500;min-height:auto}.selectEditor_popup__0wZzK{align-items:center;display:flex}.selectEditor_tagName__inoY-{display:inline-block;max-width:calc(100% - 17px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selectEditor_addChoice__EQd7M{color:#091e42;margin-left:5px}.selectEditor_addChoiceBtn__MSABt{color:#97a0af}.selectConfig_list__UY\+v8{max-height:300px;overflow:auto;padding-right:10px}.selectConfig_movableItem__WZaK4{align-items:center;display:flex;height:32px;margin-bottom:8px;z-index:var(--max-z-index)}.selectConfig_icon__eEg\+O{color:#97a0af}.selectConfig_icon__eEg\+O svg{height:10px;width:10px}.selectConfig_input__KLdrM{margin:0 8px;width:220px}.selectConfig_colorPalette__nCtzS{max-width:122px}.selectConfig_blankRow__j0Jyi{height:16px;width:100%}.selectConfig_active__Y9o9u{border:1px solid #0065ff}.selectConfig_colorPicker__qkHbv{display:inline-flex;justify-content:center}.selectConfig_colorPickerButton__\+aqrB{align-items:center;border-radius:50%;cursor:pointer;display:flex;height:16px;justify-content:center;width:16px}.selectConfig_colorPickerDropdown__rUHpA{border-left:3px solid #0000;border-right:3px solid #0000;border-top:5.1961px solid #091e42;height:0;width:0}.selectConfig_color__P-xGH{border-radius:50%;cursor:pointer;display:inline-block;height:18px;margin-top:2px;width:18px}.selectConfig_color__P-xGH:hover{border:1px solid #4c93ff}.selectConfig_color__P-xGH.selectConfig_active__Y9o9u{border:1px solid #0065ff}.selectConfig_color__P-xGH+.selectConfig_color__P-xGH{margin-left:8px}.selectConfig_color__P-xGH:nth-child(6),.selectConfig_color__P-xGH:nth-child(17),.selectConfig_color__P-xGH:nth-child(28){margin-left:0}.selectConfig_errors__3kQPE{padding-right:20px;text-align:right}.selectRenderer_renderer__99P4b{max-width:100%}.selectRenderer_tag__AH8ct{border-radius:24px;color:#091e42;display:inline-block;flex-shrink:0;font-size:12px;height:20px;justify-content:center;line-height:20px;margin-right:3px;max-width:100%;min-width:36px;overflow-x:hidden;padding:0 7px;text-align:center;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.ag-cell-focus .selectRenderer_renderer__99P4b{align-items:center;display:inline-flex;flex-wrap:wrap;margin-bottom:4px;margin-top:4px;max-height:102px;row-gap:8px}.multiLineText_button__AAexH{align-items:center;background:#0065ff1a;border-radius:2px;color:#0065ff;cursor:pointer;display:flex;height:16px;justify-content:center;margin-left:4px;position:relative;right:8px;top:4px;width:16px}.multiLineText_multiLineTextEditorWrapper__Fg-DX{display:flex}.multiLineText_textarea__WEYLv{box-shadow:none;padding:10px}.multiLineText_textarea__WEYLv:focus{box-shadow:none}.multiLineText_hint__F1emi{color:#c1c7d0;display:flex;font-size:10px;justify-content:flex-end;padding:8px;white-space:pre}.multiLineText_renderer__NfKoi{align-items:center;display:flex;height:100%;justify-content:space-between;width:100%}.multiLineText_renderer__NfKoi .mt-btn>span.multiLineText_collapseBtnText__jd71N{display:none}.multiLineText_renderer__NfKoi .mt-btn>span.multiLineText_expandBtnText__xT\+3V{display:inline-block}.multiLineText_renderer__NfKoi .multiLineText_expandButton__JFsP1{display:none;margin-left:auto}.multiLineText_renderer__NfKoi.multiLineText_showExpanded__hG5Sw .multiLineText_expandButton__JFsP1{display:initial}.multiLineText_text__bJfcZ{word-wrap:break-word;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;line-break:anywhere;line-height:27px;max-height:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.multiLineText_textPre__M7kbn{white-space:pre-wrap}.multiLineText_noContent__I0Z2c{color:#c1c7d0}.multiLineText_textAlignLeft__j-biQ{text-align:left}.multiLineText_rendererButton__0VmwP{display:none;position:absolute;right:6px;top:6px}.multiLineText_expand__TV3yT{max-height:unset}.multiLineText_expand__TV3yT .mt-btn>span.multiLineText_collapseBtnText__jd71N{display:inline-block}.multiLineText_expand__TV3yT .mt-btn>span.multiLineText_expandBtnText__xT\+3V{display:none}.ag-cell-focus .multiLineText_renderer__NfKoi{align-items:flex-start;max-height:100px;padding:4px 0}.ag-cell-focus .multiLineText_renderer__NfKoi[data-rowheight=low]{padding:0}.ag-cell-focus .multiLineText_text__bJfcZ{white-space:pre-wrap;width:calc(100% - 20px)}.ag-cell-focus .multiLineText_readonly__IaE3\+{width:100%}.ag-cell-focus .multiLineText_rendererButton__0VmwP{display:flex}.multiLineText_modal__3cgqe .multiLineText_textarea__WEYLv{height:320px;margin-top:30px;padding:5px 12px}.attachmentItem_actions__rLfov{display:none;position:absolute;right:5px;top:5px}.attachmentItem_action__3\+szv{background:#0006;border-radius:2px;color:#fff;cursor:pointer;display:inline-block;padding:0 4px}.attachmentItem_action__3\+szv+.attachmentItem_action__3\+szv{margin-left:5px}.attachmentItem_action__3\+szv:hover{opacity:.8}.attachmentItem_actionDelete__b8MUz:hover{color:var(--error-color)}.attachmentItem_preview__M21Wc{align-items:center;border:1px solid #ebecf0;border-radius:4px;cursor:pointer;display:flex;height:132px;justify-content:center;position:relative}.attachmentItem_preview__M21Wc:hover{border-color:#c1c7d0}.attachmentItem_preview__M21Wc:hover .attachmentItem_actions__rLfov{display:block}.attachmentItem_name__WpfuX{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachmentItem_image__TMD07{background-repeat:no-repeat;background-size:cover;border-radius:4px;height:100%;width:100%}.icons_fileIcon__4LDyi{background-image:url(/static/media/file-icons.65ae6d00ee13a05f9c8e.png);background-size:320px;height:64px;width:64px}.icons_pdf__k3jaC{background-position:0 0}.icons_html__dqK5n{background-position-x:-64px;background-position-y:0}.icons_doc__0RYi0,.icons_docx__ahPkq{background-position-x:0;background-position-y:-64px}.icons_mp3__DJZ3t{background-position-x:-64px;background-position-y:-64px}.icons_dwg__MsEjg{background-position-x:-128px;background-position-y:0}.icons_psd__8ELyW{background-position-x:-128px;background-position-y:-64px}.icons_jpeg__6XN7p,.icons_jpg__QQIpf{background-position-x:0;background-position-y:-128px}.icons_mp4__IkTbE{background-position-x:-64px;background-position-y:-128px}.icons_png__yLijE{background-position:-128px;background-position-y:-128px}.icons_svg__0Gqat{background-position-x:-192px;background-position-y:0}.icons_com__\+FUtX{background-position-x:-192px;background-position-y:-64px}.icons_eps__69DQp{background-position-x:-192px;background-position-y:-128px}.icons_unknown__con-w{background-position-x:0;background-position-y:-192px}.icons_txt__nV\+Uy{background-position-x:-64px;background-position-y:-192px}.icons_avi__hcPkG{background-position-x:-128px;background-position-y:-192px}.icons_ppt__y6xTK{background-position-x:-192px;background-position-y:-192px}.icons_xls__vi7mw{background-position-x:-256px;background-position-y:0}.icons_gif__dzlsm{background-position-x:-256px;background-position-y:-64px}.icons_ttf__SzqjQ{background-position-x:-256px;background-position-y:-128px}.icons_zip__WzDiv{background-position-x:-256px;background-position-y:-192px}.icons_apk__QGHU1{background-position-x:0;background-position-y:-256px}.icons_ai__E1Gfo{background-position-x:-64px;background-position-y:-256px}.attachmentPreview_modal__9NCfT{top:10px}.attachmentPreview_modal__9NCfT .mt-modal-content{background-color:#0000;box-shadow:none}.attachmentPreview_modal__9NCfT .mt-modal-header{background-color:#0000;border-bottom:none}.attachmentPreview_header__lW9wh{color:#fff;position:relative}.attachmentPreview_title__NmGCt{color:#fff;font-size:var(--heading-2-size);text-align:center}.attachmentPreview_closeIcon__zABtr{cursor:pointer;left:0;position:absolute;top:5px}.attachmentPreview_content__CFINf{height:80vh;position:relative}.attachmentPreview_carouselWrap__P6RIn{height:100%;margin-left:auto;margin-right:auto;position:relative;width:90%}.attachmentPreview_previewItem__iMk6T{width:100%}.attachmentPreview_imageWrap__4jceT,.attachmentPreview_pdfWrap__CKrbL{height:80vh}.attachmentPreview_image__0Gbu2{opacity:0;width:100%}.attachmentPreview_prev__HrDvX{left:-20px}.attachmentPreview_next__DOPVX{right:-50px}.attachmentPreview_next__DOPVX,.attachmentPreview_prev__HrDvX{align-items:center;border-radius:4px;color:#fff;cursor:pointer;display:flex;justify-content:center;padding:10px;position:absolute;top:50%;transform:translateX(-50%)}.attachmentPreview_next__DOPVX:hover,.attachmentPreview_prev__HrDvX:hover{background:#ffffff26}.attachmentPreview_noPreview__Tj6T2{align-items:center;color:#fff;display:flex;height:80vh;justify-content:center}.attachmentPreview_footer__vAH\+6{bottom:-20px;position:absolute;width:100%}@media(min-width:360px)and (max-width:767px){.attachmentPreview_footer__vAH\+6{bottom:80px}}.attachmentPreview_actions__yla0N{align-items:center;display:flex;position:absolute;right:0;top:0}.attachmentPreview_action__jF8oS{color:#fff;cursor:pointer;font-size:18px}.attachmentPreview_action__jF8oS+.attachmentPreview_action__jF8oS{margin-left:10px}.attachmentPreview_action__jF8oS:hover{color:var(--primary-color)}.attachmentPreview_actionDelete__-J4Nr:hover{color:var(--error-color)}.attachment_uploadTitle__NZ1ON{align-items:center;color:var(--primary-color);display:flex;font-size:var(--font-size-lg);justify-content:center;margin-bottom:10px}.attachment_uploadTitle__NZ1ON svg{fill:var(--primary-color);height:14px;margin-right:6px;width:14px}.attachment_tip__Hiy2Z{color:#97a0af;font-size:var(--font-size-base)}.attachment_list__0j8we{align-items:center;display:flex;gap:6px;height:100%;justify-content:flex-start}.attachment_list__0j8we[data-rowheight=low]{--item-height:20px;gap:4px}.attachment_list__0j8we[data-rowheight=middle]{--item-height:42px;gap:6px}.attachment_list__0j8we[data-rowheight=high]{--item-height:92px;gap:8px}.attachment_file__Tyq45,.attachment_imageWrap__rxTkc{flex-shrink:0;height:var(--item-height);margin-bottom:4px;margin-top:4px;overflow:hidden}.attachment_image__r57GP{background-repeat:no-repeat;background-size:cover;cursor:pointer;height:var(--item-height);transition:opacity .1s}.attachment_image__r57GP[data-square=true]{border-radius:4px}.attachment_image__r57GP:hover{opacity:.6}.attachment_file__Tyq45{cursor:pointer;position:relative;width:var(--item-height)}.attachment_file__Tyq45:hover{opacity:.6}.attachment_file__Tyq45>i{display:block}[data-rowheight=high] .attachment_file__Tyq45>i,[data-rowheight=low] .attachment_file__Tyq45>i,[data-rowheight=middle] .attachment_file__Tyq45>i{position:absolute}[data-rowheight=low] .attachment_file__Tyq45>i{left:-22px;top:-22px;transform:scale(.375)}[data-rowheight=middle] .attachment_file__Tyq45>i{left:-10px;top:-11px;transform:scale(.75)}[data-rowheight=high] .attachment_file__Tyq45>i{left:20px;top:14px;transform:scale(1.4)}.attachment_fileList__q-FF2{margin-top:20px}.attachment_header__w0oRI{margin-bottom:10px}.attachment_headerIcon__jeriv{color:var(--icon-fill-color);cursor:pointer;display:inline-block;font-size:var(--font-size-md)}.attachment_headerIcon__jeriv.attachment_active__kFjVD,.attachment_headerIcon__jeriv:hover{color:var(--primary-color)}.attachment_headerIcon__jeriv+.attachment_headerIcon__jeriv{margin-left:10px}.attachment_headerIcon__jeriv .anticon{margin-right:2px}.attachment_actions__rsODJ{display:flex;justify-content:space-between}.attachment_actions__rsODJ .anticon{color:#97a0af;cursor:pointer}.attachment_actions__rsODJ .anticon:hover{color:var(--primary-color)}.attachment_actions__rsODJ .attachment_deleteIcon__Hlo24:hover{color:var(--error-color)}.attachment_addButton__5G4Kk{background-color:#e1ecff;border-radius:4px;color:var(--primary-color);cursor:pointer;display:flex;height:20px;transition:width .1s ease .1s}.attachment_addButton__5G4Kk,.attachment_addWrap__uvdpP{align-items:center;justify-content:center;overflow:hidden;width:20px}.attachment_addWrap__uvdpP{display:none;height:28px}.ag-cell-focus .attachment_addWrap__uvdpP{display:flex}.boolean_wrap__XxaH2{height:100%;min-height:14px;min-width:14px;position:relative;width:100%}.boolean_checkbox__SGvf\+{align-items:center;border-radius:3px;display:flex;font-family:agGridAlpine;font-size:14px;justify-content:center;line-height:14px;position:absolute}.boolean_checkbox__SGvf\+ :after{color:var(--ag-checkbox-unchecked-color,#999);content:"";left:calc(50% - 7px);pointer-events:none;position:absolute;text-align:center}.boolean_inGrid__a2hz4{inset:0}.boolean_checkbox__SGvf\+.boolean_checked__V6Op5 :after{color:var(--ag-checkbox-checked-color,var(--ag-alpine-active-color,#0065ff));content:""}.boolean_inputWrap__kc4pr{height:14px;width:14px}.boolean_inputWrap__kc4pr input{cursor:pointer;height:14px;margin:0;opacity:0;width:14px}.ag-cell-focus .boolean_wrap__XxaH2{cursor:pointer}.memberRenderer_wrap__89Q8p{align-items:center;display:flex}.memberRenderer_wrap__89Q8p .memberRenderer_user__qHBVA+.memberRenderer_user__qHBVA{margin-left:6px}.memberRenderer_user__qHBVA{align-items:center;display:flex;width:-webkit-max-content;width:max-content}.memberRenderer_avatar__0awPb,.memberRenderer_avatarDefault__Ob2S8{border-radius:20px;height:20px;margin-right:8px;width:20px}.memberRenderer_avatarDefault__Ob2S8{align-items:center;background-color:#ccc;color:#fff;display:flex;justify-content:center}.memberEditor_select__oIHcY{width:100%}.memberEditor_select__oIHcY .mt-select-selection-overflow-item{align-items:center;display:flex;margin-right:6px}.memberEditor_select__oIHcY .mt-select-selection-overflow-item>span{display:inline-block;max-width:100%}.memberEditor_select__oIHcY .mt-select-item-option-selected:not(.mt-select-item-option-disabled){background-color:#0000}.memberEditor_select__oIHcY .mt-select-item-option-active:not(.mt-select-item-option-disabled){background-color:var(--secondary-color)}.memberEditor_member__Z8uxf{align-items:center;display:flex}.memberEditor_avatar__JUA2-,.memberEditor_avatarDefault__LV0wp{border-radius:20px;height:20px;margin-right:8px;width:20px}.memberEditor_avatarDefault__LV0wp{align-items:center;background-color:#ccc;color:#fff;display:flex;justify-content:center}.userRenderer_user__V3MWQ{align-items:center;display:flex}.userRenderer_avatar__FSMgn,.userRenderer_avatarDefault__lHwFJ{border-radius:20px;height:20px;margin-right:8px;width:20px}.userRenderer_avatarDefault__lHwFJ{align-items:center;background-color:#ccc;color:#fff;display:flex;justify-content:center}.hyperlinkRenderer_link__87TfP{color:var(--text-color);text-decoration:underline}.hyperlinkRenderer_link__87TfP:hover{text-decoration:underline}.hyperlinkEditor_input__9LxSB,.hyperlinkEditor_input__9LxSB:focus{box-shadow:none}.relatedConfig_twoWay__aVcJu{background:#f4f5f7;border-radius:4px;margin-bottom:20px;padding:10px}.relatedConfig_icon__xX9TP{margin-bottom:2px;margin-right:4px}.relatedConfig_hide__4XuRx{display:none}.relatedConfig_info__\+nqJY{color:#505f79;display:flex;flex-direction:column;justify-items:center;margin-bottom:6px}.relatedConfig_table__O61xY{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.relatedConfig_tableLine__tzLuf{display:flex;justify-content:space-between;justify-items:center}.relatedConfig_column__JjsXD{text-align:center}.relatedRenderer_wrap__\+eMst{display:flex;flex-direction:center}.relatedRenderer_item__nKKxH{align-items:center;background:#ebecf0;border-radius:2px;display:flex;height:18px;margin-right:8px;padding-left:8px;padding-right:8px;width:-webkit-max-content;width:max-content}.relatedRenderer_btn__DQUXy{cursor:pointer}.relatedRenderer_closeIcon__-zZ59{color:#97a0af;display:none;margin-left:6px;pointer-events:none}.relatedRenderer_closeIcon__-zZ59 svg{height:8px;pointer-events:none;width:8px}.relatedRenderer_closeIcon__-zZ59:hover{color:var(--primary-color)}.relatedRenderer_addButton__ri-Wj{display:none}.relatedRenderer_addButton__ri-Wj:hover{color:var(--primary-color)}.ag-cell-focus .relatedRenderer_addButton__ri-Wj,.relatedRenderer_addButtonActive__MWxKo{cursor:pointer;display:flex}.ag-cell-focus .relatedRenderer_closeIcon__-zZ59{display:flex}.ag-cell-focus .relatedRenderer_wrap__\+eMst{flex-wrap:wrap;margin-bottom:4px;margin-top:4px;max-height:102px;row-gap:8px}.girdRowAdder_row__Ls2Fc{align-items:center;display:flex;inset:0;position:absolute}.girdRowAdder_button__MUdTD{color:var(--primary-color)}.girdRowAdder_clickable__M81Do{cursor:pointer}.girdRowAdder_cell__MHIa4{align-items:center;display:flex;justify-content:center;opacity:.5}.girdRowAdder_cellIcon__dlH31{margin:3px}.girdRowAdder_cellIcon__dlH31 svg{height:12px;width:12px}.girdStatusBar_status__n6\+y5{background-color:#fff;border-radius:4px;bottom:80px;box-shadow:var(--shadow,0 2px 4px #0003);color:#505f79;font-size:12px;padding:10px;position:fixed;right:80px}@media(min-width:360px)and (max-width:767px){.girdStatusBar_status__n6\+y5{bottom:60px;right:20px}}.girdStatusBar_statusCalc__ZvQAj{margin-left:2px}.gridAdvancedStatusBar_statusBar__n0g\+j .mt-select{font-size:12px}.gridAdvancedStatusBar_statusBar__n0g\+j:hover .gridAdvancedStatusBar_stats__z6b47.gridAdvancedStatusBar_hide__x9T7Z{opacity:1}.gridAdvancedStatusBar_inner__dEJnU{align-items:center;display:flex;position:relative}@media(min-width:360px)and (max-width:767px){.gridAdvancedStatusBar_inner__dEJnU{padding-left:46px}}.gridAdvancedStatusBar_statsWrap__lHFwq{height:30px;position:relative}.gridAdvancedStatusBar_statsWrap__lHFwq[data-pinned=true]{background-color:#fff;z-index:2}.gridAdvancedStatusBar_stats__z6b47{align-items:center;display:flex;height:100%;justify-content:center;overflow:hidden;pointer-events:none;text-overflow:ellipsis;white-space:nowrap;width:100%;z-index:1}.gridAdvancedStatusBar_stats__z6b47.gridAdvancedStatusBar_hide__x9T7Z{opacity:0}.gridAdvancedStatusBar_select__LdPSs{height:100%}.gridAdvancedStatusBar_select__LdPSs .mt-select-selector{height:100%!important}.gridAdvancedStatusBar_select__LdPSs .mt-select-arrow,.gridAdvancedStatusBar_select__LdPSs .mt-select-selection-item{display:none}.gridAdvancedStatusBar_select__LdPSs:hover{background:linear-gradient(0deg,#f4f5f7,#f4f5f7),#fff}.gridAdvancedStatusBar_select__LdPSs:hover .mt-select-arrow{display:flex}.gridGroupRowRenderer_inner__A0uba{align-items:center;display:flex;font-size:13px;height:32px;position:relative}@media(min-width:360px)and (max-width:767px){.gridGroupRowRenderer_inner__A0uba{padding-left:46px}}.gridGroupRowRenderer_inner__A0uba:hover .gridGroupRowRenderer_stats__HRclM.gridGroupRowRenderer_hide__vxAGE{opacity:1}.gridGroupRowRenderer_stats__HRclM{align-items:center;display:flex;height:100%;justify-content:center;overflow:hidden;pointer-events:none;text-overflow:ellipsis;white-space:nowrap;width:100%;z-index:1}.gridGroupRowRenderer_stats__HRclM.gridGroupRowRenderer_hide__vxAGE{opacity:0}.gridGroupRowRenderer_title__BO4sO{align-items:center;background-color:#fff;color:var(--text-color);display:flex;font-size:13px;font-weight:400;height:100%;margin-left:5px;min-width:125px;position:relative;z-index:2}.gridGroupRowRenderer_renderer__36ssc{max-width:80px}.gridGroupRowRenderer_empty__kh9tS{color:var(--placeholder-color)}.gridGroupRowRenderer_checkbox__wqAUz{margin-left:5px;margin-right:5px;margin-top:-3px}.gridGroupRowRenderer_checkbox__wqAUz .mt-checkbox-inner{border:2px solid #999;border-radius:2px}.gridGroupRowRenderer_checkbox__wqAUz .mt-checkbox-checked .mt-checkbox-inner{border:inherit}.gridGroupRowRenderer_checkbox__wqAUz .mt-checkbox-indeterminate .mt-checkbox-inner{border:2px solid #999}.formulaEditor_textarea__B5hXW{border-radius:unset;box-shadow:none;padding:8px 8px 0}.formulaEditor_textarea__B5hXW:focus{box-shadow:none}.formulaEditor_hint__fcrHp{color:#c1c7d0;display:flex;font-size:10px;justify-content:flex-end;padding:8px;white-space:pre-wrap}.formulaExpressionEditor_editorWrapper__-yvUx{position:relative}.formulaExpressionEditor_editor__RxEPN{border:1px solid #d9d9d9;border-radius:4px;font-family:Courier New,Courier,monospace;font-weight:700;max-height:80px;outline:none;overflow-y:auto;padding:5px 11px;position:relative;z-index:1}.formulaExpressionEditor_editor__RxEPN.formulaExpressionEditor_empty__xg9Fj{border-color:#0000}.formulaExpressionEditor_editor__RxEPN:focus,.formulaExpressionEditor_editor__RxEPN:hover{background-color:#fff;border-color:var(--primary-color)}.formulaExpressionEditor_editor__RxEPN.formulaExpressionEditor_invalid__OQiF8,.formulaExpressionEditor_editor__RxEPN.formulaExpressionEditor_invalid__OQiF8:focus,.formulaExpressionEditor_editor__RxEPN.formulaExpressionEditor_invalid__OQiF8:hover{border-color:var(--error-color)}.formulaExpressionEditor_emptyMessage__UVyBl{background-color:var(--placeholder-bg);border:1px solid #0000;border-radius:4px;color:var(--placeholder-color);left:0;padding:5px 11px;position:absolute;top:0;width:100%;z-index:0}.formulaExpressionEditor_error__17YYo{color:var(--error-color);font-size:var(--font-size-xs);height:15px;margin-bottom:5px}.formulaExpressionEditor_groupContainer__J-\+5r{border:1px solid var(--secondary-color);border-radius:4px;height:200px;margin:0;overflow-y:auto;padding:0 6px 5px}.formulaExpressionEditor_groupContainer__J-\+5r>li{align-items:center;border-radius:4px;color:initial;cursor:pointer;display:flex;padding:5px;transition:all .1s}.formulaExpressionEditor_groupContainer__J-\+5r>li:hover:not(.formulaExpressionEditor_groupTitle__fC7RV){background-color:var(--primary-color);color:#fff}.formulaExpressionEditor_groupContainer__J-\+5r .formulaExpressionEditor_groupTitle__fC7RV{background-color:#fff;color:var(--placeholder-color);cursor:default;padding:5px 0;position:-webkit-sticky;position:sticky;top:0;-webkit-user-select:none;user-select:none}.formulaExpressionEditor_icon__maofw{margin-right:2px}[contentEditable=false]{margin:0 2px}[contentEditable=false].variable{background-color:rgb(var(--primary-color-rgb) .1);border-radius:3px;padding:0}[contentEditable=false].variable>span{font-size:12px;padding:0 2px}[contentEditable=false].error{background-color:var(--error-color);color:#fff}.formulaExpressionEditor_formulaOperators__IGi4Y{align-items:center;display:flex;margin:5px 0 8px}.formulaExpressionEditor_formulaOperators__IGi4Y span{align-items:center;background:var(--athens-grey);border-radius:4px;cursor:pointer;display:flex;height:24px;margin-right:4px;min-width:24px;padding:0 8px;transition:all .3s;-webkit-user-select:none;user-select:none}.formulaExpressionEditor_formulaOperators__IGi4Y span:hover{background-color:var(--light-grey)}.popover_popover__m0-V1{color:var(--text-color);width:232px}.popover_popoverTitle__3fKpt{font-size:var(--font-size-base);font-weight:700;margin-bottom:7px}.popover_popoverDescription__rXli7{font-size:11px;margin-bottom:15px}.popover_itemTitle__lduwk{word-wrap:break-word;color:var(--placeholder-color);font-size:11px}.popover_itemValue__txxxH{word-wrap:break-word;background-color:var(--placeholder-bg);border-radius:4px;font-size:var(--font-size-xs);margin-bottom:8px;padding:7px 8px}.formulaConfig_formulaForm__5nHcQ .mt-form-item{margin-bottom:14px}.formulaConfig_datetimeDateFormat__\+HUpG .mt-form-item-control{max-width:75%}.formulaConfig_advance__IUKhT{display:flex;justify-content:space-between;margin-bottom:10px}.formulaConfig_advanceItem__Rt-ks{height:0;margin:0;overflow:hidden;width:0}.formulaConfig_switchText__Vif4x{margin-right:5px}.formulaConfig_isAdvance__iJ1eL{color:var(--primary-color)}.formulaConfig_formulaItem__2MMJE{align-items:center;display:flex;justify-content:center;width:100%}.formulaConfig_column__zUbhd{flex-basis:44%}.formulaConfig_operator__se9f1{flex-basis:12%;text-align:center}.formulaConfig_noFormat__gUefv{background:#f4f5f7;border-radius:4px;font-size:12px;line-height:17px;margin-bottom:16px;padding:20px 40px}.formula_renderer__B2w5Y{align-items:center;display:flex;height:100%;justify-content:space-between}.formula_renderer__B2w5Y,.formula_text__1bEzi{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.formula_text__1bEzi{max-height:100%}.formula_coordinate__z6A1J{width:85%}.formula_mapPin__qu73o{border-radius:4px;padding:2px}.formula_mapPin__qu73o.formula_active__s2xX7{background:#0065ff26}.formula_mapPin__qu73o:hover{background-color:#cee1ff;color:#0065ff;cursor:pointer}.lookupFilterItem_option__3MiJ3{flex-wrap:nowrap;margin-bottom:6px}.lookupFilterItem_optionCell__asF5o{border-radius:4px;height:100%;padding:5px 8px}.lookupFilterItem_optionCell__asF5o.lookupFilterItem_bg__DSrXX{background-color:var(--placeholder-bg)}.lookupFilterItem_optionCell__asF5o.lookupFilterItem_noPadding__OYu18{padding:0}.lookupFilterItem_optionCell__asF5o input{background-color:var(--placeholder-bg);border:none;height:32px}.lookupFilterItem_optionCell__asF5o .lookupFilterItem_text__h\+puU{padding:6px 11px}.lookupFilterItem_optionCell__asF5o .mt-select{width:100%}.lookupFilterItem_optionCell__asF5o .mt-picker{padding-bottom:0;padding-top:0}.lookupFilterItem_optionCell__asF5o .mt-select:not(.mt-select-customize-input) .mt-select-selector{background-color:var(--placeholder-bg);border:none}.lookupFilterItem_iconCell__tZB2g{left:0;position:absolute;top:0}.lookupFilterItem_selectOption__HF53J{align-items:center;display:flex}.lookupFilterItem_selectOption__HF53J i{margin-right:5px}.lookupFilterItem_selectOption__HF53J svg{height:18px;width:18px}.lookupFilterItem_close__xSN7i{color:var(--placeholder-color);cursor:pointer;font-size:var(--font-size-sm)}.lookupFilterItem_close__xSN7i svg{width:10px}.lookupConfig_form__9i8ku .mt-form-item{margin-bottom:12px}.lookupConfig_label__VVpMJ{align-items:center;display:flex}.lookupConfig_tooltip__0FBgy{color:#505f79;margin-left:8px}.lookupConfig_icon__PfChy{margin-bottom:2px;margin-right:4px}.lookupConfig_icon__PfChy svg{height:16px;width:16px}.lookupConfig_hide__iFe7C{display:none}.lookupConfig_filters__LVwDz{margin-bottom:16px;overflow:hidden;padding-right:2px;padding-top:2px;width:100%}.lookupConfig_addAction__vjIyc{color:var(--primary-color);cursor:pointer;font-size:12px;margin-top:10px}.lookupConfig_condition__uCBKv{align-items:center;display:flex;justify-content:flex-end}.lookupConfig_condition__uCBKv.lookupConfig_hide__iFe7C{display:none}.lookupConfig_condition__uCBKv .mt-form-item{margin-bottom:0;margin-left:6px;margin-right:6px}.lookupRenderer_wrap__231LW{display:flex;height:100%;word-break:break-all}.lookupRenderer_select__cIXBy{align-items:center;display:inline-flex;flex-wrap:wrap;margin-bottom:4px;margin-top:4px;row-gap:8px}.lookupRenderer_popup__lZQ10{-webkit-font-smoothing:subpixel-antialiased;align-items:center;display:flex;font-size:14px;padding-left:8px}.ag-cell-focus .lookupRenderer_wrap__231LW{align-items:center;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.gridFieldConfig_current__ZurxQ{align-items:center;background-color:#f4f5f7;border-radius:4px;cursor:pointer;display:flex;flex:1 1;justify-content:space-between;padding:5px 10px}.gridFieldConfig_current__ZurxQ svg{margin-right:5px;width:16px}.gridFieldConfig_current__ZurxQ.gridFieldConfig_disabled__iY51o{cursor:not-allowed}.gridFieldConfig_current__ZurxQ.gridFieldConfig_disabled__iY51o svg{display:none}.gridFieldConfig_selected__RHiKS{align-items:center;display:flex}.gridFieldConfig_select__xKLlx{margin-bottom:24px}.gridFieldConfig_selectItem__PyLq5{align-items:center;background-color:#f4f5f7;border:1px solid #f4f5f7;border-radius:4px;cursor:pointer;display:flex;flex-direction:column;height:68px;justify-content:center;padding:10px 0;transition:all .3s}.gridFieldConfig_selectItem__PyLq5.gridFieldConfig_active__jDPcK,.gridFieldConfig_selectItem__PyLq5:hover{border-color:var(--icon-fill-color-active);color:var(--icon-fill-color-active)}.gridFieldConfig_selectItem__PyLq5.gridFieldConfig_active__jDPcK svg,.gridFieldConfig_selectItem__PyLq5:hover svg{fill:var(--icon-fill-color-active)}.gridFieldConfig_wrap__5rKwr{width:330px}.gridFieldConfig_wrap__5rKwr .gridFieldConfig_select__xKLlx i svg{height:auto;width:24px}.gridFieldConfig_lookup__5Z3GM{width:380px}.gridFieldConfig_block__cVq84{align-items:center;display:flex;margin-bottom:10px;padding-top:4px}.gridFieldConfig_block__cVq84 label{flex-basis:80px}.gridFieldConfig_block__cVq84 input{flex:1 1}.gridFieldConfig_block__cVq84 input:active,.gridFieldConfig_block__cVq84 input:focus{border-color:var(--primary-color)}.gridFieldConfig_config__pfGSo{border-top:1px solid var(--secondary-color);margin-top:20px;padding-top:16px}.gridFieldConfig_config__pfGSo,.gridFieldConfig_configWithoutBorder__qtG5Z{max-height:600px;overflow-y:auto}.gridFieldConfig_helpInfo__JMvIf{padding-bottom:8px}.gridFieldConfig_disabled__iY51o{cursor:not-allowed;opacity:.6;pointer-events:none;-webkit-user-select:none;user-select:none}.gridFieldConfig_primary__whsdx{border-top:1px solid var(--secondary-color);position:relative;top:-16px}.gridFieldConfig_primaryButton__Q\+jPq{margin-left:-3px;margin-top:7px}.girdColumnAdder_button__iAUi0{color:#97a0af}.girdColumnAdder_column__SnTkx{align-items:center;border-right:1px solid var(--secondary-color);color:var(--grayish-blue);cursor:pointer;display:flex;inset:0;justify-content:center;position:absolute}.girdColumnAdder_column__SnTkx:hover{background-color:var(--secondary-color)}.girdColumnAdder_column__SnTkx:hover .girdColumnAdder_button__iAUi0{color:var(--primary-color)}.gridRowIndex_container__-38oS{align-items:center;display:flex;flex:1 1;inset:0;padding-left:8px;position:absolute}.gridRowIndex_index__Cxjd0{margin-left:-2px;text-align:center;width:38px}.gridRowIndex_expandButton__IejS1{align-items:center;border-radius:2px;cursor:pointer;display:none;height:16px;justify-content:center;margin-right:4px;width:16px}.gridRowIndex_expandButton__IejS1:hover{background:var(--secondary-color)}.gridRowIndex_indexHidden__7KdQH{opacity:0}.changeFieldType_confirmContent__V8yd4{display:flex;flex-direction:column;line-height:28px}.changeFieldType_confirmContent__V8yd4 i{margin-right:3px;margin-top:-2px}.changeFieldType_confirmContent__V8yd4 label{color:var(--placeholder-color);flex-basis:20px;margin:5px 0}.changeFieldDesc_content__4E4wg{width:232px}.gridHeader_container__--Ay8{inset:0;position:absolute}.gridHeader_header__rsSAL{align-items:center;border-right:1px solid var(--secondary-color);color:#505f79;display:flex;font-size:var(--font-size-base);font-weight:500;height:100%;justify-content:space-between;line-height:17px;padding:0 8px}.gridHeader_grouping__PyGrI{background:#0065ff;height:2px;left:0;margin-left:1px;margin-right:1px;position:absolute;top:0;width:100%}.gridHeader_headerText__7AHT5{flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gridHeader_headerText__7AHT5 .anticon{margin-left:3px}.gridHeader_caret__TpJnt{align-items:center;color:#97a0af;cursor:pointer;display:flex;height:16px;justify-content:center;margin-left:auto;width:16px}.gridHeader_caret__TpJnt.gridHeader_active__Acfje,.gridHeader_caret__TpJnt:hover{color:var(--primary-color)}.gridHeader_iconBox__GIOSc{position:relative}.gridHeader_icon__jXBkH{color:#97a0af;margin-right:5px}.gridHeader_icon__jXBkH svg{height:16px;width:16px}.gridHeader_sync__BmrP6{background:#f5f5f5;bottom:0;color:#505f79;position:absolute;right:5px}.gridHeader_sync__BmrP6 svg{height:8px;width:8px}.gridHeader_errorIcon__kLsE0{color:var(--error-color)}.gridHeader_descIcon__CTcso{color:#c1c7d0;margin-right:6px}.gridHeader_descIcon__CTcso:hover{color:#97a0af}.gridHeader_descIcon__CTcso svg{height:12px;width:12px}.gridHeader_descTip__Y1Jiq{background:#000c}.gridHeader_loading__HGfCr{color:#0065ff;margin-right:6px}.gridHeaderInference_container__HN7wl{inset:0;position:absolute}.gridHeaderInference_header__twBwx{align-items:center;border-right:1px solid var(--secondary-color);color:#505f79;display:flex;font-size:var(--font-size-base);font-weight:500;height:100%;justify-content:space-between;line-height:17px;padding:0 8px}.gridHeaderInference_headerText__gxHx9{flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gridHeaderInference_headerText__gxHx9 .anticon{margin-left:3px}.gridHeaderInference_caret__YKf8e{align-items:center;color:#97a0af;cursor:pointer;display:flex;height:16px;justify-content:center;margin-left:auto;width:16px}.gridHeaderInference_caret__YKf8e.gridHeaderInference_active__Fetr7,.gridHeaderInference_caret__YKf8e:hover{color:var(--primary-color)}.gridHeaderInference_icon__mqjsv{color:#97a0af;margin-right:5px}.gridHeaderInference_icon__mqjsv svg{height:16px;width:16px}.gridHeaderInference_errorIcon__nHo8G{color:var(--error-color)}.coordinate_renderer__y\+vu6{align-items:center;display:flex;height:100%;justify-content:space-between;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.coordinate_text__\+JZJt{word-wrap:break-all;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;line-break:anywhere;line-height:26px;max-height:100%;overflow:hidden;text-overflow:ellipsis;white-space:pre-wrap;width:calc(100% - 30px)}.coordinate_noWrap__rp1dV{white-space:nowrap}.coordinate_placeholder__Kagea{color:var(--placeholder-color)}.coordinate_editor__0XqsI{align-items:center;display:flex;height:100%;justify-content:space-between}.detail-panel .coordinate_editor__0XqsI{padding:0}.coordinate_mapPinBox__Yia-J{align-items:center;display:flex;height:100%}.coordinate_mapPin__1j9Dr{border-radius:4px;padding:2px}.coordinate_mapPin__1j9Dr.coordinate_active__4A3Pa{background:#0065ff26}.coordinate_mapPin__1j9Dr:hover{background-color:#cee1ff;color:#0065ff;cursor:pointer}.ag-icon{font-feature-settings:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:var(--ag-icon-font-color);font-family:var(--ag-icon-font-family);font-size:var(--ag-icon-size);font-style:normal;font-variant:normal;font-weight:var(--ag-icon-font-weight);height:var(--ag-icon-size);line-height:var(--ag-icon-size);position:relative;text-transform:none;width:var(--ag-icon-size)}.ag-icon:before{content:""}.ag-icon:after{background:#0000 var(--ag-icon-image,none) center/contain no-repeat;content:"";display:var(--ag-icon-image-display);inset:0;opacity:var(--ag-icon-image-opacity,.9);position:absolute}.ag-icon-aggregation{color:var(--ag-icon-font-color-aggregation,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-aggregation,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-aggregation,var(--ag-icon-font-weight))}.ag-icon-aggregation:before{content:var(--ag-icon-font-code-aggregation,"\f101");display:var(--ag-icon-font-display-aggregation,var(--ag-icon-font-display))}.ag-icon-aggregation:after{background-image:var(--ag-icon-image-aggregation,var(--ag-icon-image));display:var(--ag-icon-image-display-aggregation,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-aggregation,var(--ag-icon-image-opacity,.9))}.ag-icon-arrows{color:var(--ag-icon-font-color-arrows,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-arrows,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-arrows,var(--ag-icon-font-weight))}.ag-icon-arrows:before{content:var(--ag-icon-font-code-arrows,"\f102");display:var(--ag-icon-font-display-arrows,var(--ag-icon-font-display))}.ag-icon-arrows:after{background-image:var(--ag-icon-image-arrows,var(--ag-icon-image));display:var(--ag-icon-image-display-arrows,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-arrows,var(--ag-icon-image-opacity,.9))}.ag-icon-asc{color:var(--ag-icon-font-color-asc,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-asc,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-asc,var(--ag-icon-font-weight))}.ag-icon-asc:before{content:var(--ag-icon-font-code-asc,"\f103");display:var(--ag-icon-font-display-asc,var(--ag-icon-font-display))}.ag-icon-asc:after{background-image:var(--ag-icon-image-asc,var(--ag-icon-image));display:var(--ag-icon-image-display-asc,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-asc,var(--ag-icon-image-opacity,.9))}.ag-icon-cancel{color:var(--ag-icon-font-color-cancel,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-cancel,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-cancel,var(--ag-icon-font-weight))}.ag-icon-cancel:before{content:var(--ag-icon-font-code-cancel,"\f104");display:var(--ag-icon-font-display-cancel,var(--ag-icon-font-display))}.ag-icon-cancel:after{background-image:var(--ag-icon-image-cancel,var(--ag-icon-image));display:var(--ag-icon-image-display-cancel,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-cancel,var(--ag-icon-image-opacity,.9))}.ag-icon-chart{color:var(--ag-icon-font-color-chart,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-chart,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-chart,var(--ag-icon-font-weight))}.ag-icon-chart:before{content:var(--ag-icon-font-code-chart,"\f105");display:var(--ag-icon-font-display-chart,var(--ag-icon-font-display))}.ag-icon-chart:after{background-image:var(--ag-icon-image-chart,var(--ag-icon-image));display:var(--ag-icon-image-display-chart,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-chart,var(--ag-icon-image-opacity,.9))}.ag-icon-checkbox-checked{color:var(--ag-icon-font-color-checkbox-checked,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-checkbox-checked,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-checkbox-checked,var(--ag-icon-font-weight))}.ag-icon-checkbox-checked:before{content:var(--ag-icon-font-code-checkbox-checked,"\f106");display:var(--ag-icon-font-display-checkbox-checked,var(--ag-icon-font-display))}.ag-icon-checkbox-checked:after{background-image:var(--ag-icon-image-checkbox-checked,var(--ag-icon-image));display:var(--ag-icon-image-display-checkbox-checked,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-checkbox-checked,var(--ag-icon-image-opacity,.9))}.ag-icon-checkbox-indeterminate{color:var(--ag-icon-font-color-checkbox-indeterminate,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-checkbox-indeterminate,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-checkbox-indeterminate,var(--ag-icon-font-weight))}.ag-icon-checkbox-indeterminate:before{content:var(--ag-icon-font-code-checkbox-indeterminate,"\f107");display:var(--ag-icon-font-display-checkbox-indeterminate,var(--ag-icon-font-display))}.ag-icon-checkbox-indeterminate:after{background-image:var(--ag-icon-image-checkbox-indeterminate,var(--ag-icon-image));display:var(--ag-icon-image-display-checkbox-indeterminate,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-checkbox-indeterminate,var(--ag-icon-image-opacity,.9))}.ag-icon-checkbox-unchecked{color:var(--ag-icon-font-color-checkbox-unchecked,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-checkbox-unchecked,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-checkbox-unchecked,var(--ag-icon-font-weight))}.ag-icon-checkbox-unchecked:before{content:var(--ag-icon-font-code-checkbox-unchecked,"\f108");display:var(--ag-icon-font-display-checkbox-unchecked,var(--ag-icon-font-display))}.ag-icon-checkbox-unchecked:after{background-image:var(--ag-icon-image-checkbox-unchecked,var(--ag-icon-image));display:var(--ag-icon-image-display-checkbox-unchecked,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-checkbox-unchecked,var(--ag-icon-image-opacity,.9))}.ag-icon-color-picker{color:var(--ag-icon-font-color-color-picker,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-color-picker,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-color-picker,var(--ag-icon-font-weight))}.ag-icon-color-picker:before{content:var(--ag-icon-font-code-color-picker,"\f109");display:var(--ag-icon-font-display-color-picker,var(--ag-icon-font-display))}.ag-icon-color-picker:after{background-image:var(--ag-icon-image-color-picker,var(--ag-icon-image));display:var(--ag-icon-image-display-color-picker,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-color-picker,var(--ag-icon-image-opacity,.9))}.ag-icon-columns{color:var(--ag-icon-font-color-columns,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-columns,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-columns,var(--ag-icon-font-weight))}.ag-icon-columns:before{content:var(--ag-icon-font-code-columns,"\f10a");display:var(--ag-icon-font-display-columns,var(--ag-icon-font-display))}.ag-icon-columns:after{background-image:var(--ag-icon-image-columns,var(--ag-icon-image));display:var(--ag-icon-image-display-columns,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-columns,var(--ag-icon-image-opacity,.9))}.ag-icon-contracted{color:var(--ag-icon-font-color-contracted,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-contracted,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-contracted,var(--ag-icon-font-weight))}.ag-icon-contracted:before{content:var(--ag-icon-font-code-contracted,"\f10b");display:var(--ag-icon-font-display-contracted,var(--ag-icon-font-display))}.ag-icon-contracted:after{background-image:var(--ag-icon-image-contracted,var(--ag-icon-image));display:var(--ag-icon-image-display-contracted,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-contracted,var(--ag-icon-image-opacity,.9))}.ag-icon-copy{color:var(--ag-icon-font-color-copy,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-copy,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-copy,var(--ag-icon-font-weight))}.ag-icon-copy:before{content:var(--ag-icon-font-code-copy,"\f10c");display:var(--ag-icon-font-display-copy,var(--ag-icon-font-display))}.ag-icon-copy:after{background-image:var(--ag-icon-image-copy,var(--ag-icon-image));display:var(--ag-icon-image-display-copy,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-copy,var(--ag-icon-image-opacity,.9))}.ag-icon-cross{color:var(--ag-icon-font-color-cross,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-cross,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-cross,var(--ag-icon-font-weight))}.ag-icon-cross:before{content:var(--ag-icon-font-code-cross,"\f10d");display:var(--ag-icon-font-display-cross,var(--ag-icon-font-display))}.ag-icon-cross:after{background-image:var(--ag-icon-image-cross,var(--ag-icon-image));display:var(--ag-icon-image-display-cross,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-cross,var(--ag-icon-image-opacity,.9))}.ag-icon-csv{color:var(--ag-icon-font-color-csv,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-csv,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-csv,var(--ag-icon-font-weight))}.ag-icon-csv:before{content:var(--ag-icon-font-code-csv,"\f10e");display:var(--ag-icon-font-display-csv,var(--ag-icon-font-display))}.ag-icon-csv:after{background-image:var(--ag-icon-image-csv,var(--ag-icon-image));display:var(--ag-icon-image-display-csv,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-csv,var(--ag-icon-image-opacity,.9))}.ag-icon-cut{color:var(--ag-icon-font-color-cut,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-cut,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-cut,var(--ag-icon-font-weight))}.ag-icon-cut:before{content:var(--ag-icon-font-code-cut,"\f10f");display:var(--ag-icon-font-display-cut,var(--ag-icon-font-display))}.ag-icon-cut:after{background-image:var(--ag-icon-image-cut,var(--ag-icon-image));display:var(--ag-icon-image-display-cut,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-cut,var(--ag-icon-image-opacity,.9))}.ag-icon-desc{color:var(--ag-icon-font-color-desc,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-desc,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-desc,var(--ag-icon-font-weight))}.ag-icon-desc:before{content:var(--ag-icon-font-code-desc,"\f110");display:var(--ag-icon-font-display-desc,var(--ag-icon-font-display))}.ag-icon-desc:after{background-image:var(--ag-icon-image-desc,var(--ag-icon-image));display:var(--ag-icon-image-display-desc,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-desc,var(--ag-icon-image-opacity,.9))}.ag-icon-excel{color:var(--ag-icon-font-color-excel,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-excel,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-excel,var(--ag-icon-font-weight))}.ag-icon-excel:before{content:var(--ag-icon-font-code-excel,"\f111");display:var(--ag-icon-font-display-excel,var(--ag-icon-font-display))}.ag-icon-excel:after{background-image:var(--ag-icon-image-excel,var(--ag-icon-image));display:var(--ag-icon-image-display-excel,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-excel,var(--ag-icon-image-opacity,.9))}.ag-icon-expanded{color:var(--ag-icon-font-color-expanded,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-expanded,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-expanded,var(--ag-icon-font-weight))}.ag-icon-expanded:before{content:var(--ag-icon-font-code-expanded,"\f112");display:var(--ag-icon-font-display-expanded,var(--ag-icon-font-display))}.ag-icon-expanded:after{background-image:var(--ag-icon-image-expanded,var(--ag-icon-image));display:var(--ag-icon-image-display-expanded,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-expanded,var(--ag-icon-image-opacity,.9))}.ag-icon-eye-slash{color:var(--ag-icon-font-color-eye-slash,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-eye-slash,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-eye-slash,var(--ag-icon-font-weight))}.ag-icon-eye-slash:before{content:var(--ag-icon-font-code-eye-slash,"\f113");display:var(--ag-icon-font-display-eye-slash,var(--ag-icon-font-display))}.ag-icon-eye-slash:after{background-image:var(--ag-icon-image-eye-slash,var(--ag-icon-image));display:var(--ag-icon-image-display-eye-slash,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-eye-slash,var(--ag-icon-image-opacity,.9))}.ag-icon-eye{color:var(--ag-icon-font-color-eye,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-eye,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-eye,var(--ag-icon-font-weight))}.ag-icon-eye:before{content:var(--ag-icon-font-code-eye,"\f114");display:var(--ag-icon-font-display-eye,var(--ag-icon-font-display))}.ag-icon-eye:after{background-image:var(--ag-icon-image-eye,var(--ag-icon-image));display:var(--ag-icon-image-display-eye,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-eye,var(--ag-icon-image-opacity,.9))}.ag-icon-filter{color:var(--ag-icon-font-color-filter,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-filter,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-filter,var(--ag-icon-font-weight))}.ag-icon-filter:before{content:var(--ag-icon-font-code-filter,"\f115");display:var(--ag-icon-font-display-filter,var(--ag-icon-font-display))}.ag-icon-filter:after{background-image:var(--ag-icon-image-filter,var(--ag-icon-image));display:var(--ag-icon-image-display-filter,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-filter,var(--ag-icon-image-opacity,.9))}.ag-icon-first{color:var(--ag-icon-font-color-first,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-first,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-first,var(--ag-icon-font-weight))}.ag-icon-first:before{content:var(--ag-icon-font-code-first,"\f116");display:var(--ag-icon-font-display-first,var(--ag-icon-font-display))}.ag-icon-first:after{background-image:var(--ag-icon-image-first,var(--ag-icon-image));display:var(--ag-icon-image-display-first,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-first,var(--ag-icon-image-opacity,.9))}.ag-icon-grip{color:var(--ag-icon-font-color-grip,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-grip,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-grip,var(--ag-icon-font-weight))}.ag-icon-grip:before{content:var(--ag-icon-font-code-grip,"\f117");display:var(--ag-icon-font-display-grip,var(--ag-icon-font-display))}.ag-icon-grip:after{background-image:var(--ag-icon-image-grip,var(--ag-icon-image));display:var(--ag-icon-image-display-grip,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-grip,var(--ag-icon-image-opacity,.9))}.ag-icon-group{color:var(--ag-icon-font-color-group,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-group,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-group,var(--ag-icon-font-weight))}.ag-icon-group:before{content:var(--ag-icon-font-code-group,"\f118");display:var(--ag-icon-font-display-group,var(--ag-icon-font-display))}.ag-icon-group:after{background-image:var(--ag-icon-image-group,var(--ag-icon-image));display:var(--ag-icon-image-display-group,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-group,var(--ag-icon-image-opacity,.9))}.ag-icon-last{color:var(--ag-icon-font-color-last,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-last,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-last,var(--ag-icon-font-weight))}.ag-icon-last:before{content:var(--ag-icon-font-code-last,"\f119");display:var(--ag-icon-font-display-last,var(--ag-icon-font-display))}.ag-icon-last:after{background-image:var(--ag-icon-image-last,var(--ag-icon-image));display:var(--ag-icon-image-display-last,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-last,var(--ag-icon-image-opacity,.9))}.ag-icon-left{color:var(--ag-icon-font-color-left,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-left,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-left,var(--ag-icon-font-weight))}.ag-icon-left:before{content:var(--ag-icon-font-code-left,"\f11a");display:var(--ag-icon-font-display-left,var(--ag-icon-font-display))}.ag-icon-left:after{background-image:var(--ag-icon-image-left,var(--ag-icon-image));display:var(--ag-icon-image-display-left,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-left,var(--ag-icon-image-opacity,.9))}.ag-icon-linked{color:var(--ag-icon-font-color-linked,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-linked,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-linked,var(--ag-icon-font-weight))}.ag-icon-linked:before{content:var(--ag-icon-font-code-linked,"\f11b");display:var(--ag-icon-font-display-linked,var(--ag-icon-font-display))}.ag-icon-linked:after{background-image:var(--ag-icon-image-linked,var(--ag-icon-image));display:var(--ag-icon-image-display-linked,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-linked,var(--ag-icon-image-opacity,.9))}.ag-icon-loading{color:var(--ag-icon-font-color-loading,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-loading,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-loading,var(--ag-icon-font-weight))}.ag-icon-loading:before{content:var(--ag-icon-font-code-loading,"\f11c");display:var(--ag-icon-font-display-loading,var(--ag-icon-font-display))}.ag-icon-loading:after{background-image:var(--ag-icon-image-loading,var(--ag-icon-image));display:var(--ag-icon-image-display-loading,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-loading,var(--ag-icon-image-opacity,.9))}.ag-icon-maximize{color:var(--ag-icon-font-color-maximize,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-maximize,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-maximize,var(--ag-icon-font-weight))}.ag-icon-maximize:before{content:var(--ag-icon-font-code-maximize,"\f11d");display:var(--ag-icon-font-display-maximize,var(--ag-icon-font-display))}.ag-icon-maximize:after{background-image:var(--ag-icon-image-maximize,var(--ag-icon-image));display:var(--ag-icon-image-display-maximize,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-maximize,var(--ag-icon-image-opacity,.9))}.ag-icon-menu{color:var(--ag-icon-font-color-menu,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-menu,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-menu,var(--ag-icon-font-weight))}.ag-icon-menu:before{content:var(--ag-icon-font-code-menu,"\f11e");display:var(--ag-icon-font-display-menu,var(--ag-icon-font-display))}.ag-icon-menu:after{background-image:var(--ag-icon-image-menu,var(--ag-icon-image));display:var(--ag-icon-image-display-menu,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-menu,var(--ag-icon-image-opacity,.9))}.ag-icon-minimize{color:var(--ag-icon-font-color-minimize,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-minimize,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-minimize,var(--ag-icon-font-weight))}.ag-icon-minimize:before{content:var(--ag-icon-font-code-minimize,"\f11f");display:var(--ag-icon-font-display-minimize,var(--ag-icon-font-display))}.ag-icon-minimize:after{background-image:var(--ag-icon-image-minimize,var(--ag-icon-image));display:var(--ag-icon-image-display-minimize,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-minimize,var(--ag-icon-image-opacity,.9))}.ag-icon-next{color:var(--ag-icon-font-color-next,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-next,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-next,var(--ag-icon-font-weight))}.ag-icon-next:before{content:var(--ag-icon-font-code-next,"\f120");display:var(--ag-icon-font-display-next,var(--ag-icon-font-display))}.ag-icon-next:after{background-image:var(--ag-icon-image-next,var(--ag-icon-image));display:var(--ag-icon-image-display-next,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-next,var(--ag-icon-image-opacity,.9))}.ag-icon-none{color:var(--ag-icon-font-color-none,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-none,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-none,var(--ag-icon-font-weight))}.ag-icon-none:before{content:var(--ag-icon-font-code-none,"\f121");display:var(--ag-icon-font-display-none,var(--ag-icon-font-display))}.ag-icon-none:after{background-image:var(--ag-icon-image-none,var(--ag-icon-image));display:var(--ag-icon-image-display-none,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-none,var(--ag-icon-image-opacity,.9))}.ag-icon-not-allowed{color:var(--ag-icon-font-color-not-allowed,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-not-allowed,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-not-allowed,var(--ag-icon-font-weight))}.ag-icon-not-allowed:before{content:var(--ag-icon-font-code-not-allowed,"\f122");display:var(--ag-icon-font-display-not-allowed,var(--ag-icon-font-display))}.ag-icon-not-allowed:after{background-image:var(--ag-icon-image-not-allowed,var(--ag-icon-image));display:var(--ag-icon-image-display-not-allowed,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-not-allowed,var(--ag-icon-image-opacity,.9))}.ag-icon-paste{color:var(--ag-icon-font-color-paste,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-paste,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-paste,var(--ag-icon-font-weight))}.ag-icon-paste:before{content:var(--ag-icon-font-code-paste,"\f123");display:var(--ag-icon-font-display-paste,var(--ag-icon-font-display))}.ag-icon-paste:after{background-image:var(--ag-icon-image-paste,var(--ag-icon-image));display:var(--ag-icon-image-display-paste,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-paste,var(--ag-icon-image-opacity,.9))}.ag-icon-pin{color:var(--ag-icon-font-color-pin,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-pin,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-pin,var(--ag-icon-font-weight))}.ag-icon-pin:before{content:var(--ag-icon-font-code-pin,"\f124");display:var(--ag-icon-font-display-pin,var(--ag-icon-font-display))}.ag-icon-pin:after{background-image:var(--ag-icon-image-pin,var(--ag-icon-image));display:var(--ag-icon-image-display-pin,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-pin,var(--ag-icon-image-opacity,.9))}.ag-icon-pivot{color:var(--ag-icon-font-color-pivot,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-pivot,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-pivot,var(--ag-icon-font-weight))}.ag-icon-pivot:before{content:var(--ag-icon-font-code-pivot,"\f125");display:var(--ag-icon-font-display-pivot,var(--ag-icon-font-display))}.ag-icon-pivot:after{background-image:var(--ag-icon-image-pivot,var(--ag-icon-image));display:var(--ag-icon-image-display-pivot,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-pivot,var(--ag-icon-image-opacity,.9))}.ag-icon-previous{color:var(--ag-icon-font-color-previous,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-previous,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-previous,var(--ag-icon-font-weight))}.ag-icon-previous:before{content:var(--ag-icon-font-code-previous,"\f126");display:var(--ag-icon-font-display-previous,var(--ag-icon-font-display))}.ag-icon-previous:after{background-image:var(--ag-icon-image-previous,var(--ag-icon-image));display:var(--ag-icon-image-display-previous,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-previous,var(--ag-icon-image-opacity,.9))}.ag-icon-radio-button-off{color:var(--ag-icon-font-color-radio-button-off,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-radio-button-off,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-radio-button-off,var(--ag-icon-font-weight))}.ag-icon-radio-button-off:before{content:var(--ag-icon-font-code-radio-button-off,"\f127");display:var(--ag-icon-font-display-radio-button-off,var(--ag-icon-font-display))}.ag-icon-radio-button-off:after{background-image:var(--ag-icon-image-radio-button-off,var(--ag-icon-image));display:var(--ag-icon-image-display-radio-button-off,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-radio-button-off,var(--ag-icon-image-opacity,.9))}.ag-icon-radio-button-on{color:var(--ag-icon-font-color-radio-button-on,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-radio-button-on,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-radio-button-on,var(--ag-icon-font-weight))}.ag-icon-radio-button-on:before{content:var(--ag-icon-font-code-radio-button-on,"\f128");display:var(--ag-icon-font-display-radio-button-on,var(--ag-icon-font-display))}.ag-icon-radio-button-on:after{background-image:var(--ag-icon-image-radio-button-on,var(--ag-icon-image));display:var(--ag-icon-image-display-radio-button-on,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-radio-button-on,var(--ag-icon-image-opacity,.9))}.ag-icon-right{color:var(--ag-icon-font-color-right,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-right,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-right,var(--ag-icon-font-weight))}.ag-icon-right:before{content:var(--ag-icon-font-code-right,"\f129");display:var(--ag-icon-font-display-right,var(--ag-icon-font-display))}.ag-icon-right:after{background-image:var(--ag-icon-image-right,var(--ag-icon-image));display:var(--ag-icon-image-display-right,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-right,var(--ag-icon-image-opacity,.9))}.ag-icon-save{color:var(--ag-icon-font-color-save,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-save,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-save,var(--ag-icon-font-weight))}.ag-icon-save:before{content:var(--ag-icon-font-code-save,"\f12a");display:var(--ag-icon-font-display-save,var(--ag-icon-font-display))}.ag-icon-save:after{background-image:var(--ag-icon-image-save,var(--ag-icon-image));display:var(--ag-icon-image-display-save,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-save,var(--ag-icon-image-opacity,.9))}.ag-icon-small-down{color:var(--ag-icon-font-color-small-down,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-small-down,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-small-down,var(--ag-icon-font-weight))}.ag-icon-small-down:before{content:var(--ag-icon-font-code-small-down,"\f12b");display:var(--ag-icon-font-display-small-down,var(--ag-icon-font-display))}.ag-icon-small-down:after{background-image:var(--ag-icon-image-small-down,var(--ag-icon-image));display:var(--ag-icon-image-display-small-down,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-small-down,var(--ag-icon-image-opacity,.9))}.ag-icon-small-left{color:var(--ag-icon-font-color-small-left,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-small-left,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-small-left,var(--ag-icon-font-weight))}.ag-icon-small-left:before{content:var(--ag-icon-font-code-small-left,"\f12c");display:var(--ag-icon-font-display-small-left,var(--ag-icon-font-display))}.ag-icon-small-left:after{background-image:var(--ag-icon-image-small-left,var(--ag-icon-image));display:var(--ag-icon-image-display-small-left,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-small-left,var(--ag-icon-image-opacity,.9))}.ag-icon-small-right{color:var(--ag-icon-font-color-small-right,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-small-right,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-small-right,var(--ag-icon-font-weight))}.ag-icon-small-right:before{content:var(--ag-icon-font-code-small-right,"\f12d");display:var(--ag-icon-font-display-small-right,var(--ag-icon-font-display))}.ag-icon-small-right:after{background-image:var(--ag-icon-image-small-right,var(--ag-icon-image));display:var(--ag-icon-image-display-small-right,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-small-right,var(--ag-icon-image-opacity,.9))}.ag-icon-small-up{color:var(--ag-icon-font-color-small-up,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-small-up,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-small-up,var(--ag-icon-font-weight))}.ag-icon-small-up:before{content:var(--ag-icon-font-code-small-up,"\f12e");display:var(--ag-icon-font-display-small-up,var(--ag-icon-font-display))}.ag-icon-small-up:after{background-image:var(--ag-icon-image-small-up,var(--ag-icon-image));display:var(--ag-icon-image-display-small-up,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-small-up,var(--ag-icon-image-opacity,.9))}.ag-icon-tick{color:var(--ag-icon-font-color-tick,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-tick,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-tick,var(--ag-icon-font-weight))}.ag-icon-tick:before{content:var(--ag-icon-font-code-tick,"\f12f");display:var(--ag-icon-font-display-tick,var(--ag-icon-font-display))}.ag-icon-tick:after{background-image:var(--ag-icon-image-tick,var(--ag-icon-image));display:var(--ag-icon-image-display-tick,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-tick,var(--ag-icon-image-opacity,.9))}.ag-icon-tree-closed{color:var(--ag-icon-font-color-tree-closed,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-tree-closed,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-tree-closed,var(--ag-icon-font-weight))}.ag-icon-tree-closed:before{content:var(--ag-icon-font-code-tree-closed,"\f130");display:var(--ag-icon-font-display-tree-closed,var(--ag-icon-font-display))}.ag-icon-tree-closed:after{background-image:var(--ag-icon-image-tree-closed,var(--ag-icon-image));display:var(--ag-icon-image-display-tree-closed,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-tree-closed,var(--ag-icon-image-opacity,.9))}.ag-icon-tree-indeterminate{color:var(--ag-icon-font-color-tree-indeterminate,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-tree-indeterminate,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-tree-indeterminate,var(--ag-icon-font-weight))}.ag-icon-tree-indeterminate:before{content:var(--ag-icon-font-code-tree-indeterminate,"\f131");display:var(--ag-icon-font-display-tree-indeterminate,var(--ag-icon-font-display))}.ag-icon-tree-indeterminate:after{background-image:var(--ag-icon-image-tree-indeterminate,var(--ag-icon-image));display:var(--ag-icon-image-display-tree-indeterminate,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-tree-indeterminate,var(--ag-icon-image-opacity,.9))}.ag-icon-tree-open{color:var(--ag-icon-font-color-tree-open,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-tree-open,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-tree-open,var(--ag-icon-font-weight))}.ag-icon-tree-open:before{content:var(--ag-icon-font-code-tree-open,"\f132");display:var(--ag-icon-font-display-tree-open,var(--ag-icon-font-display))}.ag-icon-tree-open:after{background-image:var(--ag-icon-image-tree-open,var(--ag-icon-image));display:var(--ag-icon-image-display-tree-open,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-tree-open,var(--ag-icon-image-opacity,.9))}.ag-icon-unlinked{color:var(--ag-icon-font-color-unlinked,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-unlinked,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-unlinked,var(--ag-icon-font-weight))}.ag-icon-unlinked:before{content:var(--ag-icon-font-code-unlinked,"\f133");display:var(--ag-icon-font-display-unlinked,var(--ag-icon-font-display))}.ag-icon-unlinked:after{background-image:var(--ag-icon-image-unlinked,var(--ag-icon-image));display:var(--ag-icon-image-display-unlinked,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-unlinked,var(--ag-icon-image-opacity,.9))}.ag-icon-up{color:var(--ag-icon-font-color-up,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-up,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-up,var(--ag-icon-font-weight))}.ag-icon-up:before{content:var(--ag-icon-font-code-up,"\f134");display:var(--ag-icon-font-display-up,var(--ag-icon-font-display))}.ag-icon-up:after{background-image:var(--ag-icon-image-up,var(--ag-icon-image));display:var(--ag-icon-image-display-up,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-up,var(--ag-icon-image-opacity,.9))}.ag-icon-down{color:var(--ag-icon-font-color-down,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-down,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-down,var(--ag-icon-font-weight))}.ag-icon-down:before{content:var(--ag-icon-font-code-down,"\f135");display:var(--ag-icon-font-display-down,var(--ag-icon-font-display))}.ag-icon-down:after{background-image:var(--ag-icon-image-down,var(--ag-icon-image));display:var(--ag-icon-image-display-down,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-down,var(--ag-icon-image-opacity,.9))}.ag-icon-plus{color:var(--ag-icon-font-color-plus,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-plus,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-plus,var(--ag-icon-font-weight))}.ag-icon-plus:before{content:var(--ag-icon-font-code-plus,"\f136");display:var(--ag-icon-font-display-plus,var(--ag-icon-font-display))}.ag-icon-plus:after{background-image:var(--ag-icon-image-plus,var(--ag-icon-image));display:var(--ag-icon-image-display-plus,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-plus,var(--ag-icon-image-opacity,.9))}.ag-icon-minus{color:var(--ag-icon-font-color-minus,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-minus,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-minus,var(--ag-icon-font-weight))}.ag-icon-minus:before{content:var(--ag-icon-font-code-minus,"\f137");display:var(--ag-icon-font-display-minus,var(--ag-icon-font-display))}.ag-icon-minus:after{background-image:var(--ag-icon-image-minus,var(--ag-icon-image));display:var(--ag-icon-image-display-minus,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-minus,var(--ag-icon-image-opacity,.9))}.ag-icon-menu-alt{color:var(--ag-icon-font-color-menu-alt,var(--ag-icon-font-color));font-family:var(--ag-icon-font-family-menu-alt,var(--ag-icon-font-family));font-weight:var(--ag-icon-font-weight-menu-alt,var(--ag-icon-font-weight))}.ag-icon-menu-alt:before{content:var(--ag-icon-font-code-menu-alt,"\f138");display:var(--ag-icon-font-display-menu-alt,var(--ag-icon-font-display))}.ag-icon-menu-alt:after{background-image:var(--ag-icon-image-menu-alt,var(--ag-icon-image));display:var(--ag-icon-image-display-menu-alt,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-menu-alt,var(--ag-icon-image-opacity,.9))}.ag-icon-row-drag:before{content:var(--ag-icon-font-code-grip)}.ag-left-arrow:before{content:var(--ag-icon-font-code-left)}.ag-right-arrow:before{content:var(--ag-icon-font-code-right)}[class*=ag-theme-]{--ag-foreground-color:#000;--ag-data-color:var(--ag-foreground-color);--ag-secondary-foreground-color:var(--ag-foreground-color);--ag-header-foreground-color:var(--ag-secondary-foreground-color);--ag-disabled-foreground-color:#00000080;--ag-background-color:#fff;--ag-header-background-color:#0000;--ag-tooltip-background-color:#0000;--ag-subheader-background-color:#0000;--ag-subheader-toolbar-background-color:#0000;--ag-control-panel-background-color:#0000;--ag-side-button-selected-background-color:var(--ag-control-panel-background-color);--ag-selected-row-background-color:#bbb;--ag-odd-row-background-color:var(--ag-background-color);--ag-modal-overlay-background-color:#ffffffa8;--ag-menu-background-color:var(--ag-background-color);--ag-menu-border-color:var(--ag-border-color);--ag-panel-background-color:var(--ag-background-color);--ag-panel-border-color:var(--ag-border-color);--ag-row-hover-color:#0000;--ag-column-hover-color:#0000;--ag-range-selection-border-color:var(--ag-foreground-color);--ag-range-selection-border-style:solid;--ag-range-selection-background-color:#0003;--ag-range-selection-background-color-2:var(--ag-range-selection-background-color);--ag-range-selection-background-color-3:var(--ag-range-selection-background-color);--ag-range-selection-background-color-4:var(--ag-range-selection-background-color);--ag-range-selection-highlight-color:var(--ag-range-selection-border-color);--ag-selected-tab-underline-color:var(--ag-range-selection-border-color);--ag-selected-tab-underline-width:0;--ag-selected-tab-underline-transition-speed:0s;--ag-range-selection-chart-category-background-color:#00ff841a;--ag-range-selection-chart-background-color:#0058ff1a;--ag-header-cell-hover-background-color:#0000;--ag-header-cell-moving-background-color:var(--ag-background-color);--ag-value-change-value-highlight-background-color:#16a08580;--ag-value-change-delta-up-color:#43a047;--ag-value-change-delta-down-color:#e53935;--ag-chip-background-color:#0000;--ag-chip-border-color:var(--ag-chip-background-color);--ag-borders:solid 1px;--ag-border-color:#00000040;--ag-borders-critical:var(--ag-borders);--ag-borders-secondary:var(--ag-borders);--ag-secondary-border-color:var(--ag-border-color);--ag-row-border-style:solid;--ag-row-border-width:1px;--ag-cell-horizontal-border:solid #0000;--ag-borders-input:var(--ag-borders-secondary);--ag-input-border-color:var(--ag-secondary-border-color);--ag-borders-input-invalid:solid 2px;--ag-input-border-color-invalid:var(--ag-invalid-color);--ag-borders-side-button:var(--ag-borders);--ag-border-radius:0px;--ag-wrapper-border-radius:var(--ag-border-radius);--ag-row-border-color:var(--ag-secondary-border-color);--ag-header-column-separator-display:none;--ag-header-column-separator-height:100%;--ag-header-column-separator-width:1px;--ag-header-column-separator-color:var(--ag-secondary-border-color);--ag-header-column-resize-handle-display:none;--ag-header-column-resize-handle-height:50%;--ag-header-column-resize-handle-width:1px;--ag-header-column-resize-handle-color:var(--ag-secondary-border-color);--ag-invalid-color:red;--ag-input-disabled-border-color:var(--ag-input-border-color);--ag-input-disabled-background-color:#0000;--ag-checkbox-background-color:#0000;--ag-checkbox-border-radius:var(--ag-border-radius);--ag-checkbox-checked-color:var(--ag-foreground-color);--ag-checkbox-unchecked-color:var(--ag-foreground-color);--ag-checkbox-indeterminate-color:var(--ag-checkbox-unchecked-color);--ag-toggle-button-off-border-color:var(--ag-checkbox-unchecked-color);--ag-toggle-button-off-background-color:var(--ag-checkbox-unchecked-color);--ag-toggle-button-on-border-color:var(--ag-checkbox-checked-color);--ag-toggle-button-on-background-color:var(--ag-checkbox-checked-color);--ag-toggle-button-switch-background-color:var(--ag-background-color);--ag-toggle-button-switch-border-color:var(--ag-toggle-button-off-border-color);--ag-toggle-button-border-width:1px;--ag-toggle-button-height:var(--ag-icon-size);--ag-toggle-button-width:calc(var(--ag-toggle-button-height)*2);--ag-input-focus-box-shadow:none;--ag-input-focus-border-color:none;--ag-minichart-selected-chart-color:var(--ag-checkbox-checked-color);--ag-minichart-selected-page-color:var(--ag-checkbox-checked-color);--ag-grid-size:4px;--ag-icon-size:12px;--ag-icon-font-weight:normal;--ag-icon-font-color:var(--ag-foreground-color);--ag-icon-image-display:block;--ag-widget-container-horizontal-padding:calc(var(--ag-grid-size)*1.5);--ag-widget-container-vertical-padding:calc(var(--ag-grid-size)*1.5);--ag-widget-horizontal-spacing:calc(var(--ag-grid-size)*2);--ag-widget-vertical-spacing:var(--ag-grid-size);--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-cell-widget-spacing:var(--ag-cell-horizontal-padding);--ag-row-height:calc(var(--ag-grid-size)*6 + 1px);--ag-header-height:var(--ag-row-height);--ag-list-item-height:calc(var(--ag-grid-size)*5);--ag-column-select-indent-size:calc(var(--ag-grid-size) + var(--ag-icon-size));--ag-set-filter-indent-size:calc(var(--ag-grid-size) + var(--ag-icon-size));--ag-advanced-filter-builder-indent-size:calc(var(--ag-grid-size)*2 + var(--ag-icon-size));--ag-row-group-indent-size:calc(var(--ag-cell-widget-spacing) + var(--ag-icon-size));--ag-filter-tool-panel-group-indent:16px;--ag-tab-min-width:220px;--ag-menu-min-width:181px;--ag-side-bar-panel-width:200px;--ag-font-family:"Helvetica Neue",sans-serif;--ag-font-size:14px;--ag-card-radius:var(--ag-border-radius);--ag-card-shadow:none;--ag-popup-shadow:5px 5px 10px #0000004d;--ag-advanced-filter-join-pill-color:#f08e8d;--ag-advanced-filter-column-pill-color:#a6e194;--ag-advanced-filter-option-pill-color:#f3c08b;--ag-advanced-filter-value-pill-color:#85c0e4}.ag-dnd-ghost,.ag-root-wrapper,.ag-sticky-top{background-color:var(--ag-background-color)}[class*=ag-theme-]{-webkit-font-smoothing:antialiased;color:var(--ag-foreground-color);font-family:var(--ag-font-family);font-size:var(--ag-font-size);line-height:normal}ag-grid,ag-grid-angular,ag-grid-aurelia,ag-grid-ng2,ag-grid-polymer{display:block}.ag-aria-description-container{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px;z-index:9999}.ag-hidden{display:none!important}.ag-invisible{visibility:hidden!important}.ag-no-transition{transition:none!important}.ag-drag-handle{cursor:grab}.ag-column-drop-wrapper{display:flex}.ag-column-drop-horizontal-half-width{display:inline-block;width:50%!important}.ag-unselectable{-webkit-user-select:none;user-select:none}.ag-selectable{-webkit-user-select:text;user-select:text}.ag-tab{position:relative}.ag-tab-guard{display:block;height:0;width:0}.ag-select-agg-func-popup,.ag-tab-guard{position:absolute}.ag-input-wrapper,.ag-picker-field-wrapper{align-items:center;display:flex;flex:1 1 auto;line-height:normal;position:relative}.ag-shake-left-to-right{animation-direction:alternate;animation-duration:.2s;animation-iteration-count:infinite;animation-name:ag-shake-left-to-right}@keyframes ag-shake-left-to-right{0%{padding-left:6px;padding-right:2px}to{padding-left:2px;padding-right:6px}}.ag-root-wrapper{cursor:default;display:flex;flex-direction:column;overflow:hidden;position:relative;white-space:normal}.ag-root-wrapper.ag-layout-normal{height:100%}.ag-watermark{bottom:20px;color:#9b9b9b;opacity:.7;position:absolute;right:25px;transition:opacity 1s ease-out 3s}.ag-watermark:before{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjA5IiBoZWlnaHQ9IjM2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xOTIuOTkzIDIzLjY1OHYtNy45NDZoLTEzLjU0MWwtNy45NDcgNy45NDZoMjEuNDg4Wk0yMDguMjUgMy45NWgtMTYuOTc0bC04LjAxIDcuOTQ3aDI0Ljk4NFYzLjk1MVpNMTYzLjYyMiAzMS42MDVsNC4wNjktNC4wNjloMTMuNzMydjcuOTQ3aC0xNy44MDF2LTMuODc4WiIgZmlsbD0iIzlCOUI5QiIvPjxwYXRoIGQ9Ik0xNjYuNjEgMTkuNzhoOC43NzNsOC4wMS03Ljk0NkgxNjYuNjF2Ny45NDZaTTE1Ny4wMTEgMzEuNjA1aDYuNjExbDcuODgzLTcuOTQ3aC0xNC40OTR2Ny45NDdaTTE5MS4yNzYgMy45NWwtNC4wNjggNC4wN0gxNjEuMjdWLjA3MmgzMC4wMDZWMy45NVpNMjAuODQgMzAuMjA2SDguMzc4bC0yLjE2MiA1LjM0SC43NUwxMi4yNTcgOC41OTJoNC43NjhMMjguNTMgMzUuNTQ2aC01LjUzbC0yLjE2Mi01LjM0Wm0tMS43MTctNC4yNkwxNC42MDkgMTQuOTVsLTQuNTE0IDEwLjk5OGg5LjAyOFpNMTA0LjQzNyAxOC41MDljMS41ODktMi4zNTIgNS41OTQtMi42MDcgNy4yNDctMi42MDd2NC41NzhjLTIuMDM0IDAtNC4wNjkuMDYzLTUuMjc3Ljk1My0xLjIwNy44OS0xLjg0MyAyLjA5OC0xLjg0MyAzLjU2djEwLjU1M2gtNC45NTlWMTUuOTAyaDQuNzY4bC4wNjQgMi42MDdaTTExOS4zNzYgMTUuOTAyaC00Ljk1OHYxOS42NDRoNC45NThWMTUuOTAyWk0xMTkuMzc2IDcuMTNoLTQuOTU4djUuODQ4aDQuOTU4VjcuMTI5Wk0xNDMuOTc5IDcuMTN2MjguNDE2aC00Ljc2OGwtLjEyNy0yLjk4OGE4LjMyNCA4LjMyNCAwIDAgMS0yLjY3IDIuNDhjLTEuMDgxLjU3Mi0yLjQxNi44OS0zLjk0Mi44OS0xLjMzNSAwLTIuNjA2LS4yNTUtMy42ODctLjctMS4xNDQtLjUwOC0yLjE2Mi0xLjE0NC0yLjk4OC0yLjAzNGE5LjU4IDkuNTggMCAwIDEtMS45NzEtMy4xNzljLS41MDgtMS4yMDctLjY5OS0yLjYwNi0uNjk5LTQuMTMyIDAtMS41MjUuMjU0LTIuOTI0LjY5OS00LjE5Ni41MDktMS4yNzEgMS4xNDUtMi4zNTIgMS45NzEtMy4yNDIuODI2LS44OSAxLjg0NC0xLjU4OSAyLjk4OC0yLjA5OCAxLjE0NC0uNTA4IDIuMzUyLS43NjMgMy42ODctLjc2MyAxLjUyNiAwIDIuNzk3LjI1NSAzLjg3OC44MjdzMS45NzEgMS4zMzUgMi42NyAyLjQxNlY3LjE5M2g0Ljk1OXYtLjA2NFptLTEwLjQyNiAyNC41MzhjMS42NTMgMCAyLjkyNC0uNTcyIDMuOTQxLTEuNjUzIDEuMDE3LTEuMDggMS41MjYtMi41NDMgMS41MjYtNC4zMjMgMC0xLjc4LS41MDktMy4xNzgtMS41MjYtNC4zMjItMS4wMTctMS4wODEtMi4yODgtMS42NTMtMy45NDEtMS42NTMtMS41OSAwLTIuOTI1LjU3Mi0zLjg3OCAxLjY1My0xLjAxNyAxLjA4LTEuNTI2IDIuNTQzLTEuNTI2IDQuMzIyIDAgMS43OC41MDkgMy4xOCAxLjUyNiA0LjI2IDEuMDE3IDEuMTQ0IDIuMjg4IDEuNzE2IDMuODc4IDEuNzE2Wk01Ny4yMDIgMjAuMzUySDQ0LjkzM3Y0LjI2aDYuOTkzYy0uMTkgMi4xNjEtMS4wMTcgMy44MTQtMi40MTYgNS4xNS0xLjM5OCAxLjI3LTMuMTc4IDEuOTA2LTUuNDY3IDEuOTA2LTEuMjcxIDAtMi40OC0uMjU0LTMuNDk2LS42OTlhNy4wMjQgNy4wMjQgMCAwIDEtMi43MzQtMS45N2MtLjc2My0uODI3LTEuMzM1LTEuODQ0LTEuNzgtMy4wNTItLjQ0NS0xLjIwOC0uNjM2LTIuNDgtLjYzNi0zLjk0MiAwLTEuNDYyLjE5LTIuNzMzLjYzNi0zLjk0MS4zODEtMS4yMDggMS4wMTctMi4xNjIgMS43OC0zLjA1Mi43NjMtLjgyNiAxLjY1My0xLjQ2MiAyLjczMy0xLjk3YTkuMTE1IDkuMTE1IDAgMCAxIDMuNTYtLjdjMi42NyAwIDQuNzA1LjYzNiA2LjEwMyAxLjkwN2wzLjMwNi0zLjMwNWMtMi40OC0xLjkwNy01LjY1OC0yLjkyNS05LjQwOS0yLjkyNS0yLjA5NyAwLTQuMDA1LjMxOC01LjcyMSAxLjAxOC0xLjcxNi42OTktMy4xNzkgMS41ODktNC4zODYgMi43OTdBMTIuMDczIDEyLjA3MyAwIDAgMCAzMS4yIDE2LjIyYy0uNjM1IDEuNzE3LS45NTMgMy42MjQtLjk1MyA1LjY1OCAwIDIuMDM1LjMxOCAzLjk0MiAxLjAxNyA1LjY1OC43IDEuNzE3IDEuNTkgMy4xNzkgMi43OTcgNC4zODdhMTIuMDczIDEyLjA3MyAwIDAgMCA0LjM4NyAyLjc5N2MxLjcxNi43IDMuNjIzIDEuMDE3IDUuNjU3IDEuMDE3IDIuMDM1IDAgMy44NzgtLjMxOCA1LjUzMS0xLjAxNyAxLjY1My0uNyAzLjA1Mi0xLjU5IDQuMTk2LTIuNzk3IDEuMTQ0LTEuMjA4IDIuMDM0LTIuNjcgMi42Ny00LjM4Ny42MzYtMS43MTYuOTU0LTMuNjIzLjk1NC01LjY1OHYtLjgyNmMtLjE5MS0uMTI3LS4yNTUtLjQ0NS0uMjU1LS43Wk05NS45ODEgMjAuMzUySDgzLjcxMnY0LjI2aDYuOTkzYy0uMTkgMi4xNjEtMS4wMTcgMy44MTQtMi40MTYgNS4xNS0xLjM5OCAxLjI3LTMuMTc4IDEuOTA2LTUuNDY3IDEuOTA2LTEuMjcxIDAtMi40OC0uMjU0LTMuNDk2LS42OTlhNy4wMjQgNy4wMjQgMCAwIDEtMi43MzQtMS45N2MtLjc2My0uODI3LTEuMzM1LTEuODQ0LTEuNzgtMy4wNTItLjQ0NS0xLjIwOC0uNjM2LTIuNDgtLjYzNi0zLjk0MiAwLTEuNDYyLjE5LTIuNzMzLjYzNi0zLjk0MS4zODEtMS4yMDggMS4wMTctMi4xNjIgMS43OC0zLjA1Mi43NjMtLjgyNiAxLjY1My0xLjQ2MiAyLjczNC0xLjk3YTkuMTE1IDkuMTE1IDAgMCAxIDMuNTYtLjdjMi42NyAwIDQuNzA0LjYzNiA2LjEwMyAxLjkwN2wzLjMwNS0zLjMwNWMtMi40NzktMS45MDctNS42NTgtMi45MjUtOS40MDgtMi45MjUtMi4wOTggMC00LjAwNS4zMTgtNS43MjIgMS4wMTgtMS43MTYuNjk5LTMuMTc4IDEuNTg5LTQuMzg2IDIuNzk3YTEyLjA3NSAxMi4wNzUgMCAwIDAtMi43OTcgNC4zODZjLS42MzYgMS43MTctLjk1NCAzLjYyNC0uOTU0IDUuNjU4IDAgMi4wMzUuMzE4IDMuOTQyIDEuMDE3IDUuNjU4LjcgMS43MTcgMS41OSAzLjE3OSAyLjc5NyA0LjM4N2ExMi4wNzMgMTIuMDczIDAgMCAwIDQuMzg3IDIuNzk3YzEuNzE2LjcgMy42MjMgMS4wMTcgNS42NTggMS4wMTcgMi4wMzQgMCAzLjg3OC0uMzE4IDUuNTMtMS4wMTcgMS42NTMtLjcgMy4wNTItMS41OSA0LjE5Ni0yLjc5NyAxLjE0NS0xLjIwOCAyLjAzNS0yLjY3IDIuNjctNC4zODcuNjM2LTEuNzE2Ljk1NC0zLjYyMy45NTQtNS42NTh2LS44MjZjLS4xOS0uMTI3LS4yNTUtLjQ0NS0uMjU1LS43WiIgZmlsbD0iIzlCOUI5QiIvPjwvc3ZnPg==);background-repeat:no-repeat;background-size:170px 40px;content:"";display:block;height:40px;width:170px}.ag-watermark-text{font-family:Impact,sans-serif;font-size:19px;font-weight:700;opacity:.5;padding-left:.7rem}.ag-root-wrapper-body{display:flex;flex-direction:row}.ag-root-wrapper-body.ag-layout-normal{flex:1 1 auto;height:0;min-height:0}.ag-root{display:flex;flex-direction:column;position:relative}.ag-root.ag-layout-auto-height,.ag-root.ag-layout-normal{flex:1 1 auto;overflow:hidden;width:0}.ag-root.ag-layout-normal{height:100%}.ag-body-horizontal-scroll-viewport,.ag-body-vertical-scroll-viewport,.ag-body-viewport,.ag-center-cols-viewport,.ag-floating-bottom-viewport,.ag-floating-top-viewport,.ag-header-viewport,.ag-sticky-top-viewport,.ag-virtual-list-viewport{flex:1 1 auto;height:100%;min-width:0;overflow:hidden;position:relative}.ag-body-viewport,.ag-center-cols-viewport{-ms-overflow-style:none!important;scrollbar-width:none!important}.ag-body-viewport::-webkit-scrollbar,.ag-center-cols-viewport::-webkit-scrollbar{display:none!important}.ag-body-viewport{display:flex}.ag-body-viewport.ag-layout-normal{-webkit-overflow-scrolling:touch;overflow-y:auto}.ag-center-cols-viewport{min-height:100%;overflow-x:auto;width:100%}.ag-body-horizontal-scroll-viewport{overflow-x:scroll}.ag-body-vertical-scroll-viewport{overflow-y:scroll}.ag-virtual-list-viewport{overflow:auto;width:100%}.ag-body-container,.ag-body-horizontal-scroll-container,.ag-body-vertical-scroll-container,.ag-center-cols-container,.ag-floating-bottom-container,.ag-floating-bottom-full-width-container,.ag-floating-top-container,.ag-full-width-container,.ag-header-container,.ag-pinned-left-cols-container,.ag-pinned-right-cols-container,.ag-sticky-top-container,.ag-virtual-list-container{position:relative}.ag-floating-bottom-container,.ag-floating-top-container,.ag-header-container,.ag-sticky-top-container{height:100%;white-space:nowrap}.ag-center-cols-container,.ag-pinned-right-cols-container{display:block}.ag-body-horizontal-scroll-container{height:100%}.ag-body-vertical-scroll-container{width:100%}.ag-floating-bottom-full-width-container,.ag-floating-top-full-width-container,.ag-full-width-container,.ag-sticky-top-full-width-container{pointer-events:none;position:absolute;top:0}.ag-ltr .ag-floating-bottom-full-width-container,.ag-ltr .ag-floating-top-full-width-container,.ag-ltr .ag-full-width-container,.ag-ltr .ag-sticky-top-full-width-container{left:0}.ag-rtl .ag-floating-bottom-full-width-container,.ag-rtl .ag-floating-top-full-width-container,.ag-rtl .ag-full-width-container,.ag-rtl .ag-sticky-top-full-width-container{right:0}.ag-full-width-container{width:100%}.ag-floating-bottom-full-width-container,.ag-floating-top-full-width-container{display:inline-block;height:100%;overflow:hidden;width:100%}.ag-virtual-list-container{overflow:hidden}.ag-body{display:flex;flex:1 1 auto;flex-direction:row!important;min-height:0;position:relative}.ag-body-horizontal-scroll,.ag-body-vertical-scroll{display:flex;min-height:0;min-width:0;position:relative}.ag-body-horizontal-scroll.ag-scrollbar-invisible,.ag-body-vertical-scroll.ag-scrollbar-invisible{bottom:0;position:absolute}.ag-body-horizontal-scroll.ag-scrollbar-invisible.ag-apple-scrollbar,.ag-body-vertical-scroll.ag-scrollbar-invisible.ag-apple-scrollbar{opacity:0;transition:opacity .4s;visibility:hidden}.ag-body-horizontal-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-active,.ag-body-horizontal-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-scrolling,.ag-body-vertical-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-active,.ag-body-vertical-scroll.ag-scrollbar-invisible.ag-apple-scrollbar.ag-scrollbar-scrolling{opacity:1;visibility:visible}.ag-body-horizontal-scroll{width:100%}.ag-body-horizontal-scroll.ag-scrollbar-invisible{left:0;right:0}.ag-body-vertical-scroll{height:100%}.ag-body-vertical-scroll.ag-scrollbar-invisible{top:0;z-index:10}.ag-ltr .ag-body-vertical-scroll.ag-scrollbar-invisible{right:0}.ag-rtl .ag-body-vertical-scroll.ag-scrollbar-invisible{left:0}.ag-force-vertical-scroll{overflow-y:scroll!important}.ag-horizontal-left-spacer,.ag-horizontal-right-spacer{height:100%;min-width:0;overflow-x:scroll}.ag-horizontal-left-spacer.ag-scroller-corner,.ag-horizontal-right-spacer.ag-scroller-corner{overflow-x:hidden}.ag-header,.ag-pinned-left-header,.ag-pinned-right-header{display:inline-block;overflow:hidden;position:relative}.ag-header-cell-sortable .ag-header-cell-label{cursor:pointer}.ag-header{display:flex;white-space:nowrap;width:100%}.ag-pinned-left-header,.ag-pinned-right-header{height:100%}.ag-header-row{position:absolute}.ag-header-row:not(.ag-header-row-column-group){overflow:hidden}.ag-header.ag-header-allow-overflow .ag-header-row{overflow:visible}.ag-header-cell{align-items:center;display:inline-flex;height:100%;position:absolute}.ag-header-cell-filter-button,.ag-header-cell.ag-header-active .ag-header-cell-menu-button{opacity:1}.ag-header-cell-menu-button:not(.ag-header-menu-always-show){opacity:0;transition:opacity .2s}.ag-header-cell-label,.ag-header-group-cell-label{align-items:center;align-self:stretch;display:flex;flex:1 1 auto}.ag-header-cell-label{overflow:hidden;text-overflow:ellipsis}.ag-header-group-cell-label.ag-sticky-label{flex:none;max-width:100%;position:-webkit-sticky;position:sticky}.ag-header-group-text{white-space:nowrap}.ag-header-cell-text,.ag-header-group-text{overflow:hidden;text-overflow:ellipsis}.ag-header-cell:not(.ag-header-cell-auto-height) .ag-header-cell-comp-wrapper{align-items:center;display:flex;height:100%}.ag-header-cell-comp-wrapper{width:100%}.ag-header-cell-wrap-text .ag-header-cell-comp-wrapper{white-space:normal}.ag-right-aligned-header .ag-header-cell-label{flex-direction:row-reverse}.ag-header-cell-resize{cursor:ew-resize;height:100%;position:absolute;top:0;width:8px;z-index:2}.ag-ltr .ag-header-cell-resize{right:-4px}.ag-rtl .ag-header-cell-resize{left:-4px}.ag-pinned-left-header .ag-header-cell-resize{right:-4px}.ag-pinned-right-header .ag-header-cell-resize{left:-4px}.ag-header-select-all{display:flex}.ag-floating-filter-button-button,.ag-header-cell-filter-button,.ag-header-cell-menu-button,.ag-panel-title-bar-button,.ag-side-button-button{cursor:pointer}.ag-column-moving .ag-cell,.ag-column-moving .ag-header-cell{transition:left .2s}.ag-column-moving .ag-header-group-cell{transition:left .2s,width .2s}.ag-column-panel{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.ag-column-select{display:flex;flex:3 1;flex-direction:column;overflow:hidden;position:relative}.ag-column-select-header{display:flex;flex:none;position:relative}.ag-column-select-header-icon{position:relative}.ag-column-select-header-filter-wrapper{flex:1 1 auto}.ag-column-select-header-filter{width:100%}.ag-column-select-list{flex:1 1;overflow:hidden}.ag-column-drop{align-items:center;display:inline-flex;overflow:auto;position:relative;width:100%}.ag-column-drop-cell,.ag-column-drop-list{align-items:center;display:flex}.ag-column-drop-cell{position:relative}.ag-column-drop-cell-text{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-column-drop-vertical{align-items:stretch;display:flex;flex:1 1;flex-direction:column;overflow:hidden}.ag-column-drop-vertical-title-bar{align-items:center;display:flex;flex:none}.ag-column-drop-vertical-list{align-items:stretch;flex-direction:column;flex-grow:1;overflow-x:auto;position:relative}.ag-column-drop-vertical-list>*{flex:none}.ag-column-drop-empty .ag-column-drop-vertical-list{overflow:hidden}.ag-column-drop-vertical-empty-message{display:block}.ag-column-drop.ag-column-drop-horizontal{overflow:hidden;white-space:nowrap}.ag-column-drop-cell-button{cursor:pointer}.ag-filter-toolpanel{flex:1 1;min-width:0}.ag-filter-toolpanel-header{position:relative}.ag-filter-toolpanel-header,.ag-filter-toolpanel-header>*,.ag-filter-toolpanel-search,.ag-filter-toolpanel-search>*{align-items:center;display:flex}.ag-filter-apply-panel{display:flex;justify-content:flex-end;overflow:hidden}.ag-row-animation .ag-row{transition:transform .4s,top .4s}.ag-row-animation .ag-row.ag-after-created{transition:transform .4s,top .4s,height .4s}.ag-row-no-animation .ag-row{transition:none}.ag-row{white-space:nowrap;width:100%}.ag-row-loading{align-items:center;display:flex}.ag-row-position-absolute{position:absolute}.ag-row-position-relative{position:relative}.ag-full-width-row{overflow:hidden;pointer-events:all}.ag-row-inline-editing{z-index:1}.ag-row-dragging{z-index:2}.ag-stub-cell{align-items:center;display:flex}.ag-cell{display:inline-block;height:100%;position:absolute;white-space:nowrap}.ag-cell-value{flex:1 1 auto}.ag-cell-value,.ag-group-value{overflow:hidden;text-overflow:ellipsis}.ag-cell-wrap-text{white-space:normal;word-break:break-all}.ag-cell-wrapper{align-items:center;display:flex}.ag-cell-wrapper.ag-row-group{align-items:flex-start}.ag-sparkline-wrapper{height:100%;left:0;position:absolute;top:0;width:100%}.ag-full-width-row .ag-cell-wrapper.ag-row-group{align-items:center;height:100%}.ag-cell-inline-editing{z-index:1}.ag-cell-inline-editing .ag-cell-edit-wrapper,.ag-cell-inline-editing .ag-cell-editor,.ag-cell-inline-editing .ag-cell-editor .ag-wrapper,.ag-cell-inline-editing .ag-cell-editor input,.ag-cell-inline-editing .ag-cell-wrapper{height:100%;line-height:normal;width:100%}.ag-cell .ag-icon{display:inline-block;vertical-align:middle}.ag-set-filter-item{align-items:center;display:flex;height:100%}.ag-set-filter-item-checkbox{display:flex;height:100%;overflow:hidden}.ag-set-filter-group-icons{display:block}.ag-set-filter-group-icons>*{cursor:pointer}.ag-filter-body-wrapper{display:flex;flex-direction:column}.ag-filter-filter{flex:1 1}.ag-filter-condition{display:flex;justify-content:center}.ag-floating-filter-body{display:flex;flex:1 1 auto;height:100%;position:relative}.ag-floating-filter-full-body{align-items:center;display:flex;flex:1 1 auto;height:100%;overflow:hidden;width:100%}.ag-floating-filter-full-body>div{flex:1 1 auto}.ag-floating-filter-input{align-items:center;display:flex;width:100%}.ag-floating-filter-input>*{flex:1 1 auto}.ag-floating-filter-button{display:flex;flex:none}.ag-set-floating-filter-input input[disabled]{pointer-events:none}.ag-dnd-ghost{align-items:center;cursor:move;display:inline-flex;position:absolute;white-space:nowrap;z-index:9999}.ag-overlay{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:2}.ag-overlay-panel,.ag-overlay-wrapper{display:flex;height:100%;width:100%}.ag-overlay-wrapper{align-items:center;flex:none;justify-content:center;text-align:center}.ag-overlay-loading-wrapper{pointer-events:all}.ag-popup-child{top:0;z-index:5}.ag-popup-editor{position:absolute;-webkit-user-select:none;user-select:none}.ag-large-text-input{display:block}.ag-virtual-list-item{position:absolute;width:100%}.ag-floating-top{display:flex;overflow:hidden;position:relative;white-space:nowrap;width:100%}.ag-pinned-left-floating-top,.ag-pinned-right-floating-top{display:inline-block;min-width:0;overflow:hidden;position:relative}.ag-floating-bottom{display:flex;overflow:hidden;position:relative;white-space:nowrap;width:100%}.ag-pinned-left-floating-bottom,.ag-pinned-right-floating-bottom{display:inline-block;min-width:0;overflow:hidden;position:relative}.ag-sticky-top{display:flex;position:absolute;width:100%}.ag-pinned-left-sticky-top,.ag-pinned-right-sticky-top{height:100%;overflow:hidden;position:relative}.ag-sticky-top-full-width-container{height:100%;overflow:hidden;width:100%}.ag-dialog,.ag-panel{display:flex;flex-direction:column;overflow:hidden;position:relative}.ag-panel-title-bar{align-items:center;cursor:default;display:flex;flex:none}.ag-panel-title-bar-title{flex:1 1 auto}.ag-panel-title-bar-buttons{display:flex}.ag-panel-title-bar-button{cursor:pointer}.ag-panel-content-wrapper{display:flex;flex:1 1 auto;overflow:hidden;position:relative}.ag-dialog,.ag-resizer{position:absolute}.ag-resizer{pointer-events:none;-webkit-user-select:none;user-select:none;z-index:1}.ag-resizer.ag-resizer-topLeft{cursor:nwse-resize;height:5px;left:0;top:0;width:5px}.ag-resizer.ag-resizer-top{cursor:ns-resize;height:5px;left:5px;right:5px;top:0}.ag-resizer.ag-resizer-topRight{cursor:nesw-resize;height:5px;right:0;top:0;width:5px}.ag-resizer.ag-resizer-right{bottom:5px;cursor:ew-resize;right:0;top:5px;width:5px}.ag-resizer.ag-resizer-bottomRight{bottom:0;cursor:nwse-resize;height:5px;right:0;width:5px}.ag-resizer.ag-resizer-bottom{bottom:0;cursor:ns-resize;height:5px;left:5px;right:5px}.ag-resizer.ag-resizer-bottomLeft{bottom:0;cursor:nesw-resize;height:5px;left:0;width:5px}.ag-resizer.ag-resizer-left{bottom:5px;cursor:ew-resize;left:0;top:5px;width:5px}.ag-tooltip,.ag-tooltip-custom{position:absolute;z-index:99999}.ag-tooltip-custom:not(.ag-tooltip-interactive),.ag-tooltip:not(.ag-tooltip-interactive){pointer-events:none}.ag-value-slide-out{margin-right:5px;opacity:1;transition:opacity 3s,margin-right 3s;transition-timing-function:linear}.ag-value-slide-out-end{margin-right:10px;opacity:0}.ag-opacity-zero{opacity:0!important}.ag-menu{max-height:100%;overflow-y:auto;position:absolute;-webkit-user-select:none;user-select:none}.ag-menu-column-select-wrapper{height:265px;overflow:auto}.ag-menu-column-select-wrapper .ag-column-select{height:100%}.ag-dialog .ag-panel-content-wrapper .ag-column-select{-webkit-user-select:none;user-select:none}.ag-menu-list{display:table;width:100%}.ag-menu-option,.ag-menu-separator{display:table-row}.ag-menu-option-part,.ag-menu-separator-part{display:table-cell;vertical-align:middle}.ag-menu-option-text{white-space:nowrap}.ag-menu-option-custom{display:contents}.ag-compact-menu-option{display:flex;flex-wrap:nowrap;width:100%}.ag-compact-menu-option-text{flex:1 1 auto;white-space:nowrap}.ag-rich-select{cursor:default;height:100%;outline:none}.ag-rich-select-value{align-items:center;display:flex;height:100%}.ag-rich-select-value .ag-picker-field-display{overflow:hidden;text-overflow:ellipsis}.ag-rich-select-value .ag-picker-field-display.ag-display-as-placeholder{opacity:.5}.ag-rich-select-list{position:relative}.ag-rich-select-list .ag-loading-text{min-height:2rem}.ag-rich-select-row{align-items:center;display:flex;flex:1 1 auto;height:100%;overflow:hidden;white-space:nowrap}.ag-rich-select-field-input{flex:1 1 auto}.ag-rich-select-field-input .ag-input-field-input{border:none!important;box-shadow:none!important;padding:0!important;text-overflow:ellipsis}.ag-rich-select-field-input .ag-input-field-input::placeholder{opacity:.8}.ag-autocomplete{align-items:center;display:flex}.ag-autocomplete>*{flex:1 1 auto}.ag-autocomplete-list-popup{position:absolute;-webkit-user-select:none;user-select:none}.ag-autocomplete-list{position:relative}.ag-autocomplete-virtual-list-item{display:flex}.ag-autocomplete-row{align-items:center;display:flex;flex:1 1 auto;overflow:hidden}.ag-autocomplete-row-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-paging-panel{justify-content:flex-end}.ag-paging-page-summary-panel,.ag-paging-panel{align-items:center;display:flex}.ag-paging-button{position:relative}.ag-disabled .ag-paging-page-summary-panel{pointer-events:none}.ag-tool-panel-wrapper{cursor:default;display:flex;overflow-x:hidden;overflow-y:auto;-webkit-user-select:none;user-select:none}.ag-column-select-column,.ag-column-select-column-group,.ag-select-agg-func-item{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;height:100%;position:relative}.ag-column-select-column-group>*,.ag-column-select-column>*,.ag-select-agg-func-item>*{flex:none}.ag-column-select-column-label,.ag-select-agg-func-item{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-column-select-checkbox{display:flex}.ag-tool-panel-horizontal-resize{cursor:ew-resize;height:100%;position:absolute;top:0;width:5px;z-index:1}.ag-ltr .ag-side-bar-left .ag-tool-panel-horizontal-resize{right:-3px}.ag-ltr .ag-side-bar-right .ag-tool-panel-horizontal-resize,.ag-rtl .ag-side-bar-left .ag-tool-panel-horizontal-resize{left:-3px}.ag-rtl .ag-side-bar-right .ag-tool-panel-horizontal-resize{right:-3px}.ag-details-row{width:100%}.ag-details-row-fixed-height{height:100%}.ag-details-grid{width:100%}.ag-details-grid-fixed-height{height:100%}.ag-header-group-cell{align-items:center;display:flex;height:100%;position:absolute}.ag-header-group-cell-no-group.ag-header-span-height .ag-header-cell-resize{display:none}.ag-cell-label-container{align-items:center;display:flex;flex-direction:row-reverse;height:100%;justify-content:space-between;padding:5px 0;width:100%}.ag-right-aligned-header .ag-cell-label-container{flex-direction:row}.ag-right-aligned-header .ag-header-cell-text{text-align:end}.ag-side-bar{display:flex;flex-direction:row-reverse}.ag-side-bar-left{flex-direction:row;order:-1}.ag-side-button-button{align-items:center;cursor:pointer;display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:center;outline:none;position:relative;white-space:nowrap}.ag-side-button-label{writing-mode:vertical-lr}.ag-status-bar{display:flex;justify-content:space-between;overflow:hidden}.ag-status-panel{display:inline-flex}.ag-status-name-value{white-space:nowrap}.ag-status-bar-center,.ag-status-bar-left,.ag-status-bar-right{display:inline-flex}.ag-icon{speak:none;display:block}.ag-group{position:relative;width:100%}.ag-group-title-bar{align-items:center;display:flex}.ag-group-title{display:block;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-group-title-bar .ag-group-title{cursor:default}.ag-group-toolbar{align-items:center;display:flex}.ag-group-container{display:flex}.ag-disabled .ag-group-container{pointer-events:none}.ag-group-container-horizontal{flex-direction:row;flex-wrap:wrap}.ag-group-container-vertical{flex-direction:column}.ag-column-group-icons{display:block}.ag-column-group-icons>*{cursor:pointer}.ag-group-item-alignment-stretch .ag-group-item{align-items:stretch}.ag-group-item-alignment-start .ag-group-item{align-items:flex-start}.ag-group-item-alignment-end .ag-group-item{align-items:flex-end}.ag-toggle-button-icon{position:absolute;top:-1px;transition:right .3s}.ag-input-field,.ag-select{align-items:center;display:flex;flex-direction:row}.ag-input-field-input{flex:1 1 auto}.ag-floating-filter-input .ag-input-field-input[type=date]{width:1px}.ag-angle-select,.ag-range-field{align-items:center;display:flex}.ag-angle-select-wrapper{display:flex}.ag-angle-select-parent-circle{display:block;position:relative}.ag-angle-select-child-circle{position:absolute}.ag-slider-wrapper{display:flex}.ag-picker-field-display,.ag-slider-wrapper .ag-input-field{flex:1 1 auto}.ag-picker-field{align-items:center;display:flex}.ag-picker-field-icon{border:0;cursor:pointer;display:flex;margin:0;padding:0}.ag-picker-field-wrapper{overflow:hidden}.ag-label-align-right .ag-label{order:1}.ag-label-align-right>*{flex:none}.ag-label-align-top{align-items:flex-start;flex-direction:column}.ag-label-align-top>*{align-self:stretch}.ag-label-ellipsis{flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-color-panel{display:flex;flex-direction:column;text-align:center;width:100%}.ag-spectrum-color{cursor:default;flex:1 1 auto;overflow:hidden;position:relative}.ag-spectrum-fill{bottom:0;left:0;position:absolute;right:0;top:0}.ag-spectrum-val{cursor:pointer}.ag-spectrum-dragger{cursor:pointer;pointer-events:none;position:absolute}.ag-spectrum-hue{background:linear-gradient(270deg,red 3%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);cursor:default}.ag-spectrum-alpha{cursor:default}.ag-spectrum-hue-background{height:100%;width:100%}.ag-spectrum-alpha-background{background-image:linear-gradient(90deg,#0000,#000);height:100%;width:100%}.ag-spectrum-tool{cursor:pointer}.ag-spectrum-slider{pointer-events:none;position:absolute}.ag-recent-colors{display:flex}.ag-recent-color{cursor:pointer}.ag-ltr .ag-column-select-indent-1{padding-left:20px}.ag-rtl .ag-column-select-indent-1{padding-right:20px}.ag-ltr .ag-set-filter-indent-1{padding-left:20px}.ag-rtl .ag-set-filter-indent-1{padding-right:20px}.ag-ltr .ag-row-group-indent-1{padding-left:20px}.ag-rtl .ag-row-group-indent-1{padding-right:20px}.ag-ltr .ag-column-select-indent-2{padding-left:40px}.ag-rtl .ag-column-select-indent-2{padding-right:40px}.ag-ltr .ag-set-filter-indent-2{padding-left:40px}.ag-rtl .ag-set-filter-indent-2{padding-right:40px}.ag-ltr .ag-row-group-indent-2{padding-left:40px}.ag-rtl .ag-row-group-indent-2{padding-right:40px}.ag-ltr .ag-column-select-indent-3{padding-left:60px}.ag-rtl .ag-column-select-indent-3{padding-right:60px}.ag-ltr .ag-set-filter-indent-3{padding-left:60px}.ag-rtl .ag-set-filter-indent-3{padding-right:60px}.ag-ltr .ag-row-group-indent-3{padding-left:60px}.ag-rtl .ag-row-group-indent-3{padding-right:60px}.ag-ltr .ag-column-select-indent-4{padding-left:80px}.ag-rtl .ag-column-select-indent-4{padding-right:80px}.ag-ltr .ag-set-filter-indent-4{padding-left:80px}.ag-rtl .ag-set-filter-indent-4{padding-right:80px}.ag-ltr .ag-row-group-indent-4{padding-left:80px}.ag-rtl .ag-row-group-indent-4{padding-right:80px}.ag-ltr .ag-column-select-indent-5{padding-left:100px}.ag-rtl .ag-column-select-indent-5{padding-right:100px}.ag-ltr .ag-set-filter-indent-5{padding-left:100px}.ag-rtl .ag-set-filter-indent-5{padding-right:100px}.ag-ltr .ag-row-group-indent-5{padding-left:100px}.ag-rtl .ag-row-group-indent-5{padding-right:100px}.ag-ltr .ag-column-select-indent-6{padding-left:120px}.ag-rtl .ag-column-select-indent-6{padding-right:120px}.ag-ltr .ag-set-filter-indent-6{padding-left:120px}.ag-rtl .ag-set-filter-indent-6{padding-right:120px}.ag-ltr .ag-row-group-indent-6{padding-left:120px}.ag-rtl .ag-row-group-indent-6{padding-right:120px}.ag-ltr .ag-column-select-indent-7{padding-left:140px}.ag-rtl .ag-column-select-indent-7{padding-right:140px}.ag-ltr .ag-set-filter-indent-7{padding-left:140px}.ag-rtl .ag-set-filter-indent-7{padding-right:140px}.ag-ltr .ag-row-group-indent-7{padding-left:140px}.ag-rtl .ag-row-group-indent-7{padding-right:140px}.ag-ltr .ag-column-select-indent-8{padding-left:160px}.ag-rtl .ag-column-select-indent-8{padding-right:160px}.ag-ltr .ag-set-filter-indent-8{padding-left:160px}.ag-rtl .ag-set-filter-indent-8{padding-right:160px}.ag-ltr .ag-row-group-indent-8{padding-left:160px}.ag-rtl .ag-row-group-indent-8{padding-right:160px}.ag-ltr .ag-column-select-indent-9{padding-left:180px}.ag-rtl .ag-column-select-indent-9{padding-right:180px}.ag-ltr .ag-set-filter-indent-9{padding-left:180px}.ag-rtl .ag-set-filter-indent-9{padding-right:180px}.ag-ltr .ag-row-group-indent-9{padding-left:180px}.ag-rtl .ag-row-group-indent-9{padding-right:180px}.ag-ltr{direction:ltr}.ag-ltr .ag-body,.ag-ltr .ag-body-horizontal-scroll,.ag-ltr .ag-body-viewport,.ag-ltr .ag-floating-bottom,.ag-ltr .ag-floating-top,.ag-ltr .ag-header,.ag-ltr .ag-sticky-top{flex-direction:row}.ag-rtl{direction:rtl}.ag-rtl .ag-body,.ag-rtl .ag-body-horizontal-scroll,.ag-rtl .ag-body-viewport,.ag-rtl .ag-floating-bottom,.ag-rtl .ag-floating-top,.ag-rtl .ag-header,.ag-rtl .ag-sticky-top{flex-direction:row-reverse}.ag-rtl .ag-icon-contracted,.ag-rtl .ag-icon-expanded,.ag-rtl .ag-icon-tree-closed{display:block;transform:rotate(180deg)}.ag-body .ag-body-viewport{-webkit-overflow-scrolling:touch}.ag-layout-print.ag-body{display:block;height:unset}.ag-layout-print.ag-root-wrapper{display:inline-block}.ag-layout-print .ag-body-horizontal-scroll,.ag-layout-print .ag-body-vertical-scroll{display:none}.ag-layout-print.ag-force-vertical-scroll{overflow-y:visible!important}@media print{.ag-root-wrapper.ag-layout-print{display:table}.ag-root-wrapper.ag-layout-print .ag-body-horizontal-scroll-viewport,.ag-root-wrapper.ag-layout-print .ag-body-viewport,.ag-root-wrapper.ag-layout-print .ag-center-cols-container,.ag-root-wrapper.ag-layout-print .ag-center-cols-viewport,.ag-root-wrapper.ag-layout-print .ag-root,.ag-root-wrapper.ag-layout-print .ag-root-wrapper-body,.ag-root-wrapper.ag-layout-print .ag-virtual-list-viewport{display:block!important;height:auto!important;overflow:hidden!important}.ag-root-wrapper.ag-layout-print .ag-cell,.ag-root-wrapper.ag-layout-print .ag-row{break-inside:avoid;page-break-inside:avoid}}[class^=ag-],[class^=ag-]:after,[class^=ag-]:before,[class^=ag-]:focus{box-sizing:border-box;outline:none}[class^=ag-]::-ms-clear{display:none}.ag-checkbox .ag-input-wrapper,.ag-radio-button .ag-input-wrapper{overflow:visible}.ag-range-field .ag-input-wrapper{height:100%}.ag-toggle-button{flex:none;min-width:unset;width:unset}.ag-button{border-radius:0;color:var(--ag-foreground-color)}.ag-button:hover{background-color:#0000}.ag-ltr .ag-label-align-right .ag-label{margin-left:var(--ag-grid-size)}.ag-rtl .ag-label-align-right .ag-label{margin-right:var(--ag-grid-size)}input[class^=ag-]{margin:0}input[class^=ag-],select[class^=ag-],textarea[class^=ag-]{background-color:var(--ag-background-color)}input[class^=ag-]:not([type]),input[class^=ag-][type=date],input[class^=ag-][type=datetime-local],input[class^=ag-][type=number],input[class^=ag-][type=tel],input[class^=ag-][type=text],textarea[class^=ag-]{border:var(--ag-borders-input) var(--ag-input-border-color);color:inherit;font-family:inherit;font-size:inherit;line-height:inherit}input[class^=ag-]:not([type]):disabled,input[class^=ag-][type=date]:disabled,input[class^=ag-][type=datetime-local]:disabled,input[class^=ag-][type=number]:disabled,input[class^=ag-][type=tel]:disabled,input[class^=ag-][type=text]:disabled,textarea[class^=ag-]:disabled{background-color:var(--ag-input-disabled-background-color);border-color:var(--ag-input-disabled-border-color);color:var(--ag-disabled-foreground-color)}input[class^=ag-]:not([type]):focus,input[class^=ag-][type=date]:focus,input[class^=ag-][type=datetime-local]:focus,input[class^=ag-][type=number]:focus,input[class^=ag-][type=tel]:focus,input[class^=ag-][type=text]:focus,textarea[class^=ag-]:focus{border-color:var(--ag-input-focus-border-color);box-shadow:var(--ag-input-focus-box-shadow);outline:none}input[class^=ag-]:not([type]):invalid,input[class^=ag-][type=date]:invalid,input[class^=ag-][type=datetime-local]:invalid,input[class^=ag-][type=number]:invalid,input[class^=ag-][type=tel]:invalid,input[class^=ag-][type=text]:invalid,textarea[class^=ag-]:invalid{border:var(--ag-borders-input-invalid) var(--ag-input-border-color-invalid)}input[class^=ag-][type=number]:not(.ag-number-field-input-stepper){-moz-appearance:textfield}input[class^=ag-][type=number]:not(.ag-number-field-input-stepper)::-webkit-inner-spin-button,input[class^=ag-][type=number]:not(.ag-number-field-input-stepper)::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[class^=ag-][type=range]{padding:0}button[class^=ag-]:focus,input[class^=ag-][type=button]:focus{box-shadow:var(--ag-input-focus-box-shadow)}.ag-drag-handle{color:var(--ag-secondary-foreground-color)}.ag-list-item,.ag-virtual-list-item{height:var(--ag-list-item-height)}.ag-virtual-list-item:focus-visible{outline:none}.ag-virtual-list-item:focus-visible:after{background-color:#0000;border:1px solid;border-color:var(--ag-input-focus-border-color);content:"";display:block;height:calc(100% - 8px);left:4px;pointer-events:none;position:absolute;top:4px;width:calc(100% - 8px)}.ag-select-list{background-color:var(--ag-background-color);border:var(--ag-borders) var(--ag-border-color);border-radius:var(--ag-border-radius);overflow-x:hidden;overflow-y:auto}.ag-list-item{align-items:center;display:flex;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-list-item.ag-active-item{background-color:var(--ag-row-hover-color)}.ag-select-list-item{cursor:default;-webkit-user-select:none;user-select:none}.ag-ltr .ag-select-list-item{padding-left:calc(var(--ag-cell-horizontal-padding)/2)}.ag-rtl .ag-select-list-item{padding-right:calc(var(--ag-cell-horizontal-padding)/2)}.ag-select-list-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-group-contracted,.ag-group-expanded,.ag-row-drag,.ag-selection-checkbox{color:var(--ag-secondary-foreground-color)}.ag-ltr .ag-group-contracted,.ag-ltr .ag-group-expanded,.ag-ltr .ag-row-drag,.ag-ltr .ag-selection-checkbox{margin-right:var(--ag-cell-widget-spacing)}.ag-rtl .ag-group-contracted,.ag-rtl .ag-group-expanded,.ag-rtl .ag-row-drag,.ag-rtl .ag-selection-checkbox{margin-left:var(--ag-cell-widget-spacing)}.ag-cell-wrapper>:not(.ag-cell-value):not(.ag-group-value){--ag-internal-calculated-line-height:var(--ag-line-height,calc(var(--ag-row-height) - var(--ag-row-border-width)));--ag-internal-padded-row-height:calc(var(--ag-row-height) - var(--ag-row-border-width));align-items:center;display:flex;flex:none;height:min(var(--ag-internal-calculated-line-height),var(--ag-internal-padded-row-height))}.ag-group-contracted,.ag-group-expanded{cursor:pointer}.ag-group-title-bar-icon{color:var(--ag-secondary-foreground-color);cursor:pointer;flex:none}.ag-ltr .ag-group-child-count{margin-left:2px}.ag-rtl .ag-group-child-count{margin-right:2px}.ag-group-title-bar{background-color:var(--ag-subheader-background-color);padding:var(--ag-grid-size)}.ag-group-toolbar{background-color:var(--ag-subheader-toolbar-background-color);padding:var(--ag-grid-size)}.ag-disabled-group-container,.ag-disabled-group-title-bar{opacity:.5}.group-item{margin:calc(var(--ag-grid-size)*.5) 0}.ag-label{white-space:nowrap}.ag-ltr .ag-label{margin-right:var(--ag-grid-size)}.ag-rtl .ag-label{margin-left:var(--ag-grid-size)}.ag-label-align-top .ag-label{margin-bottom:calc(var(--ag-grid-size)*.5)}.ag-angle-select[disabled]{color:var(--ag-disabled-foreground-color);pointer-events:none}.ag-angle-select[disabled] .ag-angle-select-field{opacity:.4}.ag-ltr .ag-angle-select-field,.ag-ltr .ag-slider-field{margin-right:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-angle-select-field,.ag-rtl .ag-slider-field{margin-left:calc(var(--ag-grid-size)*2)}.ag-angle-select-parent-circle{background-color:var(--ag-background-color);border:1px solid;border-color:var(--ag-border-color);border-radius:12px;height:24px;width:24px}.ag-angle-select-child-circle{background-color:var(--ag-secondary-foreground-color);border-radius:3px;height:6px;left:12px;margin-left:-3px;margin-top:-4px;top:4px;width:6px}.ag-picker-field-wrapper{background-color:var(--ag-background-color);border:var(--ag-borders);border-color:var(--ag-border-color);border-radius:5px}.ag-picker-field-wrapper:disabled{background-color:var(--ag-input-disabled-background-color);border-color:var(--ag-input-disabled-border-color);color:var(--ag-disabled-foreground-color)}.ag-picker-field-wrapper.ag-picker-has-focus,.ag-picker-field-wrapper:focus-within{border-color:var(--ag-input-focus-border-color);box-shadow:var(--ag-input-focus-box-shadow);outline:none}.ag-picker-field-button{background-color:var(--ag-background-color);color:var(--ag-secondary-foreground-color)}.ag-dialog.ag-color-dialog{border-radius:5px}.ag-color-picker .ag-picker-field-display{height:var(--ag-icon-size)}.ag-color-picker .ag-picker-field-wrapper{max-width:45px;min-width:45px}.ag-color-panel{padding:var(--ag-grid-size)}.ag-spectrum-color{background-color:red;border-radius:2px}.ag-spectrum-tools{padding:10px}.ag-spectrum-sat{background-image:linear-gradient(90deg,#fff,#cc9a8100)}.ag-spectrum-val{background-image:linear-gradient(0deg,#000,#cc9a8100)}.ag-spectrum-dragger{background:#000;border:1px solid #fff;border-radius:12px;box-shadow:0 0 2px 0 #0000003d;height:12px;width:12px}.ag-spectrum-alpha-background,.ag-spectrum-hue-background{border-radius:2px}.ag-spectrum-tool{border-radius:2px;height:11px;margin-bottom:10px}.ag-spectrum-slider{background-color:#f8f8f8;border-radius:13px;box-shadow:0 1px 4px 0 #0000005e;height:13px;margin-top:-12px;width:13px}.ag-recent-color{margin:0 3px}.ag-recent-color:first-child{margin-left:0}.ag-recent-color:last-child{margin-right:0}.ag-recent-color:focus-visible:not(:disabled):not([readonly]),.ag-spectrum-color:focus-visible:not(:disabled):not([readonly]),.ag-spectrum-slider:focus-visible:not(:disabled):not([readonly]){box-shadow:var(--ag-input-focus-box-shadow)}.ag-dnd-ghost{background:var(--ag-background-color);border:var(--ag-borders-secondary) var(--ag-secondary-border-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);color:var(--ag-secondary-foreground-color);height:var(--ag-header-height)!important;line-height:var(--ag-header-height);margin:0;overflow:hidden;padding:0 calc(var(--ag-grid-size)*2);text-overflow:ellipsis;transform:translateY(calc(var(--ag-grid-size)*2))}.ag-dnd-ghost-icon{color:var(--ag-foreground-color);margin-right:var(--ag-grid-size)}.ag-popup-child:not(.ag-tooltip-custom){box-shadow:var(--ag-popup-shadow)}.ag-select .ag-picker-field-wrapper{cursor:default;min-height:var(--ag-list-item-height)}.ag-ltr .ag-select .ag-picker-field-wrapper{padding-left:calc(var(--ag-cell-horizontal-padding)/2)}.ag-rtl .ag-select .ag-picker-field-wrapper{padding-right:calc(var(--ag-cell-horizontal-padding)/2)}.ag-ltr .ag-select .ag-picker-field-wrapper{padding-right:var(--ag-grid-size)}.ag-rtl .ag-select .ag-picker-field-wrapper{padding-left:var(--ag-grid-size)}.ag-select.ag-disabled .ag-picker-field-wrapper:focus{box-shadow:none}.ag-select:not(.ag-cell-editor,.ag-label-align-top){min-height:var(--ag-list-item-height)}.ag-select .ag-picker-field-display{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-select .ag-picker-field-icon{align-items:center;display:flex}.ag-select.ag-disabled{opacity:.5}.ag-rich-select-list,.ag-rich-select-value{background-color:var(--ag-background-color)}.ag-rich-select-list{border:var(--ag-borders) var(--ag-border-color);border-radius:var(--ag-border-radius);height:auto;width:100%}.ag-rich-select-list .ag-loading-text{padding:var(--ag-widget-vertical-spacing) var(--ag-widget-horizontal-spacing)}.ag-rich-select-value{border-bottom:var(--ag-borders-secondary) var(--ag-secondary-border-color);padding-bottom:0;padding-top:0}.ag-ltr .ag-rich-select-value{padding-left:calc(var(--ag-cell-horizontal-padding)/2)}.ag-rtl .ag-rich-select-value{padding-right:calc(var(--ag-cell-horizontal-padding)/2)}.ag-ltr .ag-rich-select-value{padding-right:var(--ag-grid-size)}.ag-rtl .ag-rich-select-value{padding-left:var(--ag-grid-size)}.ag-ltr .ag-rich-select-field-input{left:calc(var(--ag-cell-horizontal-padding))}.ag-rtl .ag-rich-select-field-input{right:calc(var(--ag-cell-horizontal-padding))}.ag-popup-editor .ag-rich-select-value{height:var(--ag-row-height);min-width:200px}.ag-rich-select-virtual-list-item{cursor:default;height:var(--ag-list-item-height)}.ag-rich-select-virtual-list-item:focus-visible:after{content:none}.ag-rich-select-virtual-list-item:hover{background-color:var(--ag-row-hover-color)}.ag-ltr .ag-rich-select-row{padding-left:calc(var(--ag-cell-horizontal-padding)/2)}.ag-rtl .ag-rich-select-row{padding-right:calc(var(--ag-cell-horizontal-padding)/2)}.ag-rich-select-row-selected{background-color:var(--ag-selected-row-background-color)}.ag-rich-select-row-text-highlight{font-weight:700}.ag-autocomplete{width:100%}.ag-autocomplete-list{height:calc(var(--ag-row-height)*6.5);min-width:200px;width:100%}.ag-autocomplete-virtual-list-item{cursor:default;height:var(--ag-list-item-height)}.ag-autocomplete-virtual-list-item:focus-visible:after{content:none}.ag-autocomplete-virtual-list-item:hover{background-color:var(--ag-row-hover-color)}.ag-autocomplete-row-label{margin:0 var(--ag-widget-container-horizontal-padding)}.ag-autocomplete-row-selected{background-color:var(--ag-selected-row-background-color)}.ag-dragging-fill-handle .ag-dialog,.ag-dragging-range-handle .ag-dialog{opacity:.7;pointer-events:none}.ag-dialog{border:var(--ag-borders) var(--ag-border-color);border-radius:var(--ag-border-radius);box-shadow:var(--ag-popup-shadow)}.ag-panel{background-color:var(--ag-panel-background-color);border-color:var(--ag-panel-border-color)}.ag-panel-title-bar{border-bottom:var(--ag-borders) var(--ag-border-color);color:var(--ag-header-foreground-color);height:var(--ag-header-height);padding:var(--ag-grid-size) var(--ag-cell-horizontal-padding)}.ag-ltr .ag-panel-title-bar-button{margin-left:var(--ag-grid-size)}.ag-rtl .ag-panel-title-bar-button{margin-right:var(--ag-grid-size)}.ag-tooltip{background-color:var(--ag-tooltip-background-color);border:var(--ag-borders) var(--ag-border-color);border-radius:var(--ag-card-radius);color:var(--ag-foreground-color);padding:var(--ag-grid-size);white-space:normal}.ag-tooltip-custom.ag-tooltip-animate,.ag-tooltip.ag-tooltip-animate{transition:opacity 1s}.ag-tooltip-custom.ag-tooltip-animate.ag-tooltip-hiding,.ag-tooltip.ag-tooltip-animate.ag-tooltip-hiding{opacity:0}.ag-ltr .ag-column-select-indent-1{padding-left:calc(var(--ag-column-select-indent-size)*1)}.ag-rtl .ag-column-select-indent-1{padding-right:calc(var(--ag-column-select-indent-size)*1)}.ag-ltr .ag-column-select-indent-2{padding-left:calc(var(--ag-column-select-indent-size)*2)}.ag-rtl .ag-column-select-indent-2{padding-right:calc(var(--ag-column-select-indent-size)*2)}.ag-ltr .ag-column-select-indent-3{padding-left:calc(var(--ag-column-select-indent-size)*3)}.ag-rtl .ag-column-select-indent-3{padding-right:calc(var(--ag-column-select-indent-size)*3)}.ag-ltr .ag-column-select-indent-4{padding-left:calc(var(--ag-column-select-indent-size)*4)}.ag-rtl .ag-column-select-indent-4{padding-right:calc(var(--ag-column-select-indent-size)*4)}.ag-ltr .ag-column-select-indent-5{padding-left:calc(var(--ag-column-select-indent-size)*5)}.ag-rtl .ag-column-select-indent-5{padding-right:calc(var(--ag-column-select-indent-size)*5)}.ag-ltr .ag-column-select-indent-6{padding-left:calc(var(--ag-column-select-indent-size)*6)}.ag-rtl .ag-column-select-indent-6{padding-right:calc(var(--ag-column-select-indent-size)*6)}.ag-ltr .ag-column-select-indent-7{padding-left:calc(var(--ag-column-select-indent-size)*7)}.ag-rtl .ag-column-select-indent-7{padding-right:calc(var(--ag-column-select-indent-size)*7)}.ag-ltr .ag-column-select-indent-8{padding-left:calc(var(--ag-column-select-indent-size)*8)}.ag-rtl .ag-column-select-indent-8{padding-right:calc(var(--ag-column-select-indent-size)*8)}.ag-ltr .ag-column-select-indent-9{padding-left:calc(var(--ag-column-select-indent-size)*9)}.ag-rtl .ag-column-select-indent-9{padding-right:calc(var(--ag-column-select-indent-size)*9)}.ag-column-select-header-icon{cursor:pointer}.ag-column-select-header-icon:focus-visible{outline:none}.ag-column-select-header-icon:focus-visible:after{background-color:#0000;border:1px solid;border-color:var(--ag-input-focus-border-color);content:"";display:block;height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.ag-ltr .ag-column-group-icons:not(:last-child),.ag-ltr .ag-column-select-checkbox:not(:last-child),.ag-ltr .ag-column-select-column-drag-handle:not(:last-child),.ag-ltr .ag-column-select-column-group-drag-handle:not(:last-child),.ag-ltr .ag-column-select-column-label:not(:last-child),.ag-ltr .ag-column-select-header-checkbox:not(:last-child),.ag-ltr .ag-column-select-header-filter-wrapper:not(:last-child),.ag-ltr .ag-column-select-header-icon:not(:last-child){margin-right:var(--ag-widget-horizontal-spacing)}.ag-rtl .ag-column-group-icons:not(:last-child),.ag-rtl .ag-column-select-checkbox:not(:last-child),.ag-rtl .ag-column-select-column-drag-handle:not(:last-child),.ag-rtl .ag-column-select-column-group-drag-handle:not(:last-child),.ag-rtl .ag-column-select-column-label:not(:last-child),.ag-rtl .ag-column-select-header-checkbox:not(:last-child),.ag-rtl .ag-column-select-header-filter-wrapper:not(:last-child),.ag-rtl .ag-column-select-header-icon:not(:last-child){margin-left:var(--ag-widget-horizontal-spacing)}.ag-column-select-virtual-list-item:focus-visible{outline:none}.ag-column-select-virtual-list-item:focus-visible:after{background-color:#0000;border:1px solid;border-color:var(--ag-input-focus-border-color);content:"";display:block;height:calc(100% - 2px);left:1px;pointer-events:none;position:absolute;top:1px;width:calc(100% - 2px)}.ag-column-select-column-group:not(:last-child),.ag-column-select-column:not(:last-child){margin-bottom:var(--ag-widget-vertical-spacing)}.ag-column-select-column-group-readonly,.ag-column-select-column-readonly{color:var(--ag-disabled-foreground-color);pointer-events:none}.ag-ltr .ag-column-select-add-group-indent{margin-left:calc(var(--ag-icon-size) + var(--ag-grid-size)*2)}.ag-rtl .ag-column-select-add-group-indent{margin-right:calc(var(--ag-icon-size) + var(--ag-grid-size)*2)}.ag-column-select-virtual-list-viewport{padding:calc(var(--ag-widget-container-vertical-padding)*.5) 0}.ag-column-select-virtual-list-item{padding:0 var(--ag-widget-container-horizontal-padding)}.ag-checkbox-edit{padding-left:var(--ag-cell-horizontal-padding);padding-right:var(--ag-cell-horizontal-padding)}.ag-rtl{text-align:right}.ag-root-wrapper{border:var(--ag-borders) var(--ag-border-color);border-radius:var(--ag-wrapper-border-radius)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-1{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*1)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-1{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*1)}.ag-ltr .ag-row-group-indent-1{padding-left:calc(var(--ag-row-group-indent-size)*1)}.ag-rtl .ag-row-group-indent-1{padding-right:calc(var(--ag-row-group-indent-size)*1)}.ag-ltr .ag-row-level-1 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-1 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-2{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*2)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-2{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*2)}.ag-ltr .ag-row-group-indent-2{padding-left:calc(var(--ag-row-group-indent-size)*2)}.ag-rtl .ag-row-group-indent-2{padding-right:calc(var(--ag-row-group-indent-size)*2)}.ag-ltr .ag-row-level-2 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-2 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-3{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*3)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-3{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*3)}.ag-ltr .ag-row-group-indent-3{padding-left:calc(var(--ag-row-group-indent-size)*3)}.ag-rtl .ag-row-group-indent-3{padding-right:calc(var(--ag-row-group-indent-size)*3)}.ag-ltr .ag-row-level-3 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-3 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-4{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*4)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-4{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*4)}.ag-ltr .ag-row-group-indent-4{padding-left:calc(var(--ag-row-group-indent-size)*4)}.ag-rtl .ag-row-group-indent-4{padding-right:calc(var(--ag-row-group-indent-size)*4)}.ag-ltr .ag-row-level-4 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-4 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-5{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*5)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-5{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*5)}.ag-ltr .ag-row-group-indent-5{padding-left:calc(var(--ag-row-group-indent-size)*5)}.ag-rtl .ag-row-group-indent-5{padding-right:calc(var(--ag-row-group-indent-size)*5)}.ag-ltr .ag-row-level-5 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-5 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-6{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*6)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-6{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*6)}.ag-ltr .ag-row-group-indent-6{padding-left:calc(var(--ag-row-group-indent-size)*6)}.ag-rtl .ag-row-group-indent-6{padding-right:calc(var(--ag-row-group-indent-size)*6)}.ag-ltr .ag-row-level-6 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-6 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-7{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*7)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-7{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*7)}.ag-ltr .ag-row-group-indent-7{padding-left:calc(var(--ag-row-group-indent-size)*7)}.ag-rtl .ag-row-group-indent-7{padding-right:calc(var(--ag-row-group-indent-size)*7)}.ag-ltr .ag-row-level-7 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-7 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-8{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*8)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-8{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*8)}.ag-ltr .ag-row-group-indent-8{padding-left:calc(var(--ag-row-group-indent-size)*8)}.ag-rtl .ag-row-group-indent-8{padding-right:calc(var(--ag-row-group-indent-size)*8)}.ag-ltr .ag-row-level-8 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-8 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-9{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*9)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-9{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*9)}.ag-ltr .ag-row-group-indent-9{padding-left:calc(var(--ag-row-group-indent-size)*9)}.ag-rtl .ag-row-group-indent-9{padding-right:calc(var(--ag-row-group-indent-size)*9)}.ag-ltr .ag-row-level-9 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-9 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-10{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*10)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-10{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*10)}.ag-ltr .ag-row-group-indent-10{padding-left:calc(var(--ag-row-group-indent-size)*10)}.ag-rtl .ag-row-group-indent-10{padding-right:calc(var(--ag-row-group-indent-size)*10)}.ag-ltr .ag-row-level-10 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-10 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-11{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*11)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-11{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*11)}.ag-ltr .ag-row-group-indent-11{padding-left:calc(var(--ag-row-group-indent-size)*11)}.ag-rtl .ag-row-group-indent-11{padding-right:calc(var(--ag-row-group-indent-size)*11)}.ag-ltr .ag-row-level-11 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-11 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-12{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*12)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-12{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*12)}.ag-ltr .ag-row-group-indent-12{padding-left:calc(var(--ag-row-group-indent-size)*12)}.ag-rtl .ag-row-group-indent-12{padding-right:calc(var(--ag-row-group-indent-size)*12)}.ag-ltr .ag-row-level-12 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-12 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-13{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*13)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-13{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*13)}.ag-ltr .ag-row-group-indent-13{padding-left:calc(var(--ag-row-group-indent-size)*13)}.ag-rtl .ag-row-group-indent-13{padding-right:calc(var(--ag-row-group-indent-size)*13)}.ag-ltr .ag-row-level-13 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-13 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-14{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*14)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-14{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*14)}.ag-ltr .ag-row-group-indent-14{padding-left:calc(var(--ag-row-group-indent-size)*14)}.ag-rtl .ag-row-group-indent-14{padding-right:calc(var(--ag-row-group-indent-size)*14)}.ag-ltr .ag-row-level-14 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-14 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-15{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*15)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-15{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*15)}.ag-ltr .ag-row-group-indent-15{padding-left:calc(var(--ag-row-group-indent-size)*15)}.ag-rtl .ag-row-group-indent-15{padding-right:calc(var(--ag-row-group-indent-size)*15)}.ag-ltr .ag-row-level-15 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-15 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-16{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*16)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-16{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*16)}.ag-ltr .ag-row-group-indent-16{padding-left:calc(var(--ag-row-group-indent-size)*16)}.ag-rtl .ag-row-group-indent-16{padding-right:calc(var(--ag-row-group-indent-size)*16)}.ag-ltr .ag-row-level-16 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-16 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-17{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*17)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-17{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*17)}.ag-ltr .ag-row-group-indent-17{padding-left:calc(var(--ag-row-group-indent-size)*17)}.ag-rtl .ag-row-group-indent-17{padding-right:calc(var(--ag-row-group-indent-size)*17)}.ag-ltr .ag-row-level-17 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-17 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-18{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*18)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-18{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*18)}.ag-ltr .ag-row-group-indent-18{padding-left:calc(var(--ag-row-group-indent-size)*18)}.ag-rtl .ag-row-group-indent-18{padding-right:calc(var(--ag-row-group-indent-size)*18)}.ag-ltr .ag-row-level-18 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-18 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-19{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*19)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-19{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*19)}.ag-ltr .ag-row-group-indent-19{padding-left:calc(var(--ag-row-group-indent-size)*19)}.ag-rtl .ag-row-group-indent-19{padding-right:calc(var(--ag-row-group-indent-size)*19)}.ag-ltr .ag-row-level-19 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-19 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-20{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*20)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-20{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*20)}.ag-ltr .ag-row-group-indent-20{padding-left:calc(var(--ag-row-group-indent-size)*20)}.ag-rtl .ag-row-group-indent-20{padding-right:calc(var(--ag-row-group-indent-size)*20)}.ag-ltr .ag-row-level-20 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-20 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-21{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*21)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-21{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*21)}.ag-ltr .ag-row-group-indent-21{padding-left:calc(var(--ag-row-group-indent-size)*21)}.ag-rtl .ag-row-group-indent-21{padding-right:calc(var(--ag-row-group-indent-size)*21)}.ag-ltr .ag-row-level-21 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-21 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-22{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*22)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-22{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*22)}.ag-ltr .ag-row-group-indent-22{padding-left:calc(var(--ag-row-group-indent-size)*22)}.ag-rtl .ag-row-group-indent-22{padding-right:calc(var(--ag-row-group-indent-size)*22)}.ag-ltr .ag-row-level-22 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-22 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-23{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*23)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-23{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*23)}.ag-ltr .ag-row-group-indent-23{padding-left:calc(var(--ag-row-group-indent-size)*23)}.ag-rtl .ag-row-group-indent-23{padding-right:calc(var(--ag-row-group-indent-size)*23)}.ag-ltr .ag-row-level-23 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-23 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-24{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*24)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-24{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*24)}.ag-ltr .ag-row-group-indent-24{padding-left:calc(var(--ag-row-group-indent-size)*24)}.ag-rtl .ag-row-group-indent-24{padding-right:calc(var(--ag-row-group-indent-size)*24)}.ag-ltr .ag-row-level-24 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-24 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-25{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*25)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-25{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*25)}.ag-ltr .ag-row-group-indent-25{padding-left:calc(var(--ag-row-group-indent-size)*25)}.ag-rtl .ag-row-group-indent-25{padding-right:calc(var(--ag-row-group-indent-size)*25)}.ag-ltr .ag-row-level-25 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-25 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-26{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*26)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-26{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*26)}.ag-ltr .ag-row-group-indent-26{padding-left:calc(var(--ag-row-group-indent-size)*26)}.ag-rtl .ag-row-group-indent-26{padding-right:calc(var(--ag-row-group-indent-size)*26)}.ag-ltr .ag-row-level-26 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-26 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-27{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*27)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-27{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*27)}.ag-ltr .ag-row-group-indent-27{padding-left:calc(var(--ag-row-group-indent-size)*27)}.ag-rtl .ag-row-group-indent-27{padding-right:calc(var(--ag-row-group-indent-size)*27)}.ag-ltr .ag-row-level-27 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-27 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-28{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*28)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-28{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*28)}.ag-ltr .ag-row-group-indent-28{padding-left:calc(var(--ag-row-group-indent-size)*28)}.ag-rtl .ag-row-group-indent-28{padding-right:calc(var(--ag-row-group-indent-size)*28)}.ag-ltr .ag-row-level-28 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-28 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-29{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*29)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-29{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*29)}.ag-ltr .ag-row-group-indent-29{padding-left:calc(var(--ag-row-group-indent-size)*29)}.ag-rtl .ag-row-group-indent-29{padding-right:calc(var(--ag-row-group-indent-size)*29)}.ag-ltr .ag-row-level-29 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-29 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-30{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*30)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-30{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*30)}.ag-ltr .ag-row-group-indent-30{padding-left:calc(var(--ag-row-group-indent-size)*30)}.ag-rtl .ag-row-group-indent-30{padding-right:calc(var(--ag-row-group-indent-size)*30)}.ag-ltr .ag-row-level-30 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-30 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-31{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*31)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-31{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*31)}.ag-ltr .ag-row-group-indent-31{padding-left:calc(var(--ag-row-group-indent-size)*31)}.ag-rtl .ag-row-group-indent-31{padding-right:calc(var(--ag-row-group-indent-size)*31)}.ag-ltr .ag-row-level-31 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-31 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-32{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*32)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-32{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*32)}.ag-ltr .ag-row-group-indent-32{padding-left:calc(var(--ag-row-group-indent-size)*32)}.ag-rtl .ag-row-group-indent-32{padding-right:calc(var(--ag-row-group-indent-size)*32)}.ag-ltr .ag-row-level-32 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-32 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-33{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*33)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-33{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*33)}.ag-ltr .ag-row-group-indent-33{padding-left:calc(var(--ag-row-group-indent-size)*33)}.ag-rtl .ag-row-group-indent-33{padding-right:calc(var(--ag-row-group-indent-size)*33)}.ag-ltr .ag-row-level-33 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-33 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-34{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*34)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-34{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*34)}.ag-ltr .ag-row-group-indent-34{padding-left:calc(var(--ag-row-group-indent-size)*34)}.ag-rtl .ag-row-group-indent-34{padding-right:calc(var(--ag-row-group-indent-size)*34)}.ag-ltr .ag-row-level-34 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-34 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-35{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*35)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-35{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*35)}.ag-ltr .ag-row-group-indent-35{padding-left:calc(var(--ag-row-group-indent-size)*35)}.ag-rtl .ag-row-group-indent-35{padding-right:calc(var(--ag-row-group-indent-size)*35)}.ag-ltr .ag-row-level-35 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-35 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-36{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*36)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-36{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*36)}.ag-ltr .ag-row-group-indent-36{padding-left:calc(var(--ag-row-group-indent-size)*36)}.ag-rtl .ag-row-group-indent-36{padding-right:calc(var(--ag-row-group-indent-size)*36)}.ag-ltr .ag-row-level-36 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-36 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-37{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*37)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-37{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*37)}.ag-ltr .ag-row-group-indent-37{padding-left:calc(var(--ag-row-group-indent-size)*37)}.ag-rtl .ag-row-group-indent-37{padding-right:calc(var(--ag-row-group-indent-size)*37)}.ag-ltr .ag-row-level-37 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-37 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-38{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*38)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-38{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*38)}.ag-ltr .ag-row-group-indent-38{padding-left:calc(var(--ag-row-group-indent-size)*38)}.ag-rtl .ag-row-group-indent-38{padding-right:calc(var(--ag-row-group-indent-size)*38)}.ag-ltr .ag-row-level-38 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-38 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-39{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*39)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-39{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*39)}.ag-ltr .ag-row-group-indent-39{padding-left:calc(var(--ag-row-group-indent-size)*39)}.ag-rtl .ag-row-group-indent-39{padding-right:calc(var(--ag-row-group-indent-size)*39)}.ag-ltr .ag-row-level-39 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-39 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-40{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*40)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-40{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*40)}.ag-ltr .ag-row-group-indent-40{padding-left:calc(var(--ag-row-group-indent-size)*40)}.ag-rtl .ag-row-group-indent-40{padding-right:calc(var(--ag-row-group-indent-size)*40)}.ag-ltr .ag-row-level-40 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-40 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-41{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*41)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-41{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*41)}.ag-ltr .ag-row-group-indent-41{padding-left:calc(var(--ag-row-group-indent-size)*41)}.ag-rtl .ag-row-group-indent-41{padding-right:calc(var(--ag-row-group-indent-size)*41)}.ag-ltr .ag-row-level-41 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-41 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-42{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*42)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-42{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*42)}.ag-ltr .ag-row-group-indent-42{padding-left:calc(var(--ag-row-group-indent-size)*42)}.ag-rtl .ag-row-group-indent-42{padding-right:calc(var(--ag-row-group-indent-size)*42)}.ag-ltr .ag-row-level-42 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-42 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-43{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*43)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-43{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*43)}.ag-ltr .ag-row-group-indent-43{padding-left:calc(var(--ag-row-group-indent-size)*43)}.ag-rtl .ag-row-group-indent-43{padding-right:calc(var(--ag-row-group-indent-size)*43)}.ag-ltr .ag-row-level-43 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-43 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-44{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*44)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-44{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*44)}.ag-ltr .ag-row-group-indent-44{padding-left:calc(var(--ag-row-group-indent-size)*44)}.ag-rtl .ag-row-group-indent-44{padding-right:calc(var(--ag-row-group-indent-size)*44)}.ag-ltr .ag-row-level-44 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-44 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-45{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*45)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-45{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*45)}.ag-ltr .ag-row-group-indent-45{padding-left:calc(var(--ag-row-group-indent-size)*45)}.ag-rtl .ag-row-group-indent-45{padding-right:calc(var(--ag-row-group-indent-size)*45)}.ag-ltr .ag-row-level-45 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-45 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-46{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*46)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-46{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*46)}.ag-ltr .ag-row-group-indent-46{padding-left:calc(var(--ag-row-group-indent-size)*46)}.ag-rtl .ag-row-group-indent-46{padding-right:calc(var(--ag-row-group-indent-size)*46)}.ag-ltr .ag-row-level-46 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-46 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-47{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*47)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-47{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*47)}.ag-ltr .ag-row-group-indent-47{padding-left:calc(var(--ag-row-group-indent-size)*47)}.ag-rtl .ag-row-group-indent-47{padding-right:calc(var(--ag-row-group-indent-size)*47)}.ag-ltr .ag-row-level-47 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-47 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-48{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*48)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-48{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*48)}.ag-ltr .ag-row-group-indent-48{padding-left:calc(var(--ag-row-group-indent-size)*48)}.ag-rtl .ag-row-group-indent-48{padding-right:calc(var(--ag-row-group-indent-size)*48)}.ag-ltr .ag-row-level-48 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-48 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-49{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*49)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-49{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*49)}.ag-ltr .ag-row-group-indent-49{padding-left:calc(var(--ag-row-group-indent-size)*49)}.ag-rtl .ag-row-group-indent-49{padding-right:calc(var(--ag-row-group-indent-size)*49)}.ag-ltr .ag-row-level-49 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-49 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-50{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*50)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-50{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*50)}.ag-ltr .ag-row-group-indent-50{padding-left:calc(var(--ag-row-group-indent-size)*50)}.ag-rtl .ag-row-group-indent-50{padding-right:calc(var(--ag-row-group-indent-size)*50)}.ag-ltr .ag-row-level-50 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-50 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-51{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*51)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-51{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*51)}.ag-ltr .ag-row-group-indent-51{padding-left:calc(var(--ag-row-group-indent-size)*51)}.ag-rtl .ag-row-group-indent-51{padding-right:calc(var(--ag-row-group-indent-size)*51)}.ag-ltr .ag-row-level-51 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-51 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-52{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*52)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-52{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*52)}.ag-ltr .ag-row-group-indent-52{padding-left:calc(var(--ag-row-group-indent-size)*52)}.ag-rtl .ag-row-group-indent-52{padding-right:calc(var(--ag-row-group-indent-size)*52)}.ag-ltr .ag-row-level-52 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-52 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-53{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*53)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-53{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*53)}.ag-ltr .ag-row-group-indent-53{padding-left:calc(var(--ag-row-group-indent-size)*53)}.ag-rtl .ag-row-group-indent-53{padding-right:calc(var(--ag-row-group-indent-size)*53)}.ag-ltr .ag-row-level-53 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-53 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-54{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*54)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-54{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*54)}.ag-ltr .ag-row-group-indent-54{padding-left:calc(var(--ag-row-group-indent-size)*54)}.ag-rtl .ag-row-group-indent-54{padding-right:calc(var(--ag-row-group-indent-size)*54)}.ag-ltr .ag-row-level-54 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-54 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-55{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*55)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-55{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*55)}.ag-ltr .ag-row-group-indent-55{padding-left:calc(var(--ag-row-group-indent-size)*55)}.ag-rtl .ag-row-group-indent-55{padding-right:calc(var(--ag-row-group-indent-size)*55)}.ag-ltr .ag-row-level-55 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-55 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-56{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*56)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-56{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*56)}.ag-ltr .ag-row-group-indent-56{padding-left:calc(var(--ag-row-group-indent-size)*56)}.ag-rtl .ag-row-group-indent-56{padding-right:calc(var(--ag-row-group-indent-size)*56)}.ag-ltr .ag-row-level-56 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-56 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-57{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*57)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-57{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*57)}.ag-ltr .ag-row-group-indent-57{padding-left:calc(var(--ag-row-group-indent-size)*57)}.ag-rtl .ag-row-group-indent-57{padding-right:calc(var(--ag-row-group-indent-size)*57)}.ag-ltr .ag-row-level-57 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-57 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-58{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*58)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-58{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*58)}.ag-ltr .ag-row-group-indent-58{padding-left:calc(var(--ag-row-group-indent-size)*58)}.ag-rtl .ag-row-group-indent-58{padding-right:calc(var(--ag-row-group-indent-size)*58)}.ag-ltr .ag-row-level-58 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-58 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-59{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*59)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-59{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*59)}.ag-ltr .ag-row-group-indent-59{padding-left:calc(var(--ag-row-group-indent-size)*59)}.ag-rtl .ag-row-group-indent-59{padding-right:calc(var(--ag-row-group-indent-size)*59)}.ag-ltr .ag-row-level-59 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-59 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-60{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*60)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-60{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*60)}.ag-ltr .ag-row-group-indent-60{padding-left:calc(var(--ag-row-group-indent-size)*60)}.ag-rtl .ag-row-group-indent-60{padding-right:calc(var(--ag-row-group-indent-size)*60)}.ag-ltr .ag-row-level-60 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-60 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-61{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*61)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-61{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*61)}.ag-ltr .ag-row-group-indent-61{padding-left:calc(var(--ag-row-group-indent-size)*61)}.ag-rtl .ag-row-group-indent-61{padding-right:calc(var(--ag-row-group-indent-size)*61)}.ag-ltr .ag-row-level-61 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-61 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-62{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*62)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-62{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*62)}.ag-ltr .ag-row-group-indent-62{padding-left:calc(var(--ag-row-group-indent-size)*62)}.ag-rtl .ag-row-group-indent-62{padding-right:calc(var(--ag-row-group-indent-size)*62)}.ag-ltr .ag-row-level-62 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-62 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-63{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*63)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-63{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*63)}.ag-ltr .ag-row-group-indent-63{padding-left:calc(var(--ag-row-group-indent-size)*63)}.ag-rtl .ag-row-group-indent-63{padding-right:calc(var(--ag-row-group-indent-size)*63)}.ag-ltr .ag-row-level-63 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-63 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-64{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*64)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-64{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*64)}.ag-ltr .ag-row-group-indent-64{padding-left:calc(var(--ag-row-group-indent-size)*64)}.ag-rtl .ag-row-group-indent-64{padding-right:calc(var(--ag-row-group-indent-size)*64)}.ag-ltr .ag-row-level-64 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-64 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-65{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*65)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-65{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*65)}.ag-ltr .ag-row-group-indent-65{padding-left:calc(var(--ag-row-group-indent-size)*65)}.ag-rtl .ag-row-group-indent-65{padding-right:calc(var(--ag-row-group-indent-size)*65)}.ag-ltr .ag-row-level-65 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-65 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-66{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*66)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-66{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*66)}.ag-ltr .ag-row-group-indent-66{padding-left:calc(var(--ag-row-group-indent-size)*66)}.ag-rtl .ag-row-group-indent-66{padding-right:calc(var(--ag-row-group-indent-size)*66)}.ag-ltr .ag-row-level-66 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-66 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-67{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*67)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-67{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*67)}.ag-ltr .ag-row-group-indent-67{padding-left:calc(var(--ag-row-group-indent-size)*67)}.ag-rtl .ag-row-group-indent-67{padding-right:calc(var(--ag-row-group-indent-size)*67)}.ag-ltr .ag-row-level-67 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-67 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-68{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*68)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-68{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*68)}.ag-ltr .ag-row-group-indent-68{padding-left:calc(var(--ag-row-group-indent-size)*68)}.ag-rtl .ag-row-group-indent-68{padding-right:calc(var(--ag-row-group-indent-size)*68)}.ag-ltr .ag-row-level-68 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-68 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-69{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*69)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-69{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*69)}.ag-ltr .ag-row-group-indent-69{padding-left:calc(var(--ag-row-group-indent-size)*69)}.ag-rtl .ag-row-group-indent-69{padding-right:calc(var(--ag-row-group-indent-size)*69)}.ag-ltr .ag-row-level-69 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-69 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-70{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*70)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-70{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*70)}.ag-ltr .ag-row-group-indent-70{padding-left:calc(var(--ag-row-group-indent-size)*70)}.ag-rtl .ag-row-group-indent-70{padding-right:calc(var(--ag-row-group-indent-size)*70)}.ag-ltr .ag-row-level-70 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-70 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-71{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*71)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-71{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*71)}.ag-ltr .ag-row-group-indent-71{padding-left:calc(var(--ag-row-group-indent-size)*71)}.ag-rtl .ag-row-group-indent-71{padding-right:calc(var(--ag-row-group-indent-size)*71)}.ag-ltr .ag-row-level-71 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-71 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-72{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*72)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-72{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*72)}.ag-ltr .ag-row-group-indent-72{padding-left:calc(var(--ag-row-group-indent-size)*72)}.ag-rtl .ag-row-group-indent-72{padding-right:calc(var(--ag-row-group-indent-size)*72)}.ag-ltr .ag-row-level-72 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-72 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-73{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*73)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-73{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*73)}.ag-ltr .ag-row-group-indent-73{padding-left:calc(var(--ag-row-group-indent-size)*73)}.ag-rtl .ag-row-group-indent-73{padding-right:calc(var(--ag-row-group-indent-size)*73)}.ag-ltr .ag-row-level-73 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-73 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-74{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*74)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-74{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*74)}.ag-ltr .ag-row-group-indent-74{padding-left:calc(var(--ag-row-group-indent-size)*74)}.ag-rtl .ag-row-group-indent-74{padding-right:calc(var(--ag-row-group-indent-size)*74)}.ag-ltr .ag-row-level-74 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-74 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-75{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*75)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-75{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*75)}.ag-ltr .ag-row-group-indent-75{padding-left:calc(var(--ag-row-group-indent-size)*75)}.ag-rtl .ag-row-group-indent-75{padding-right:calc(var(--ag-row-group-indent-size)*75)}.ag-ltr .ag-row-level-75 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-75 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-76{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*76)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-76{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*76)}.ag-ltr .ag-row-group-indent-76{padding-left:calc(var(--ag-row-group-indent-size)*76)}.ag-rtl .ag-row-group-indent-76{padding-right:calc(var(--ag-row-group-indent-size)*76)}.ag-ltr .ag-row-level-76 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-76 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-77{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*77)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-77{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*77)}.ag-ltr .ag-row-group-indent-77{padding-left:calc(var(--ag-row-group-indent-size)*77)}.ag-rtl .ag-row-group-indent-77{padding-right:calc(var(--ag-row-group-indent-size)*77)}.ag-ltr .ag-row-level-77 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-77 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-78{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*78)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-78{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*78)}.ag-ltr .ag-row-group-indent-78{padding-left:calc(var(--ag-row-group-indent-size)*78)}.ag-rtl .ag-row-group-indent-78{padding-right:calc(var(--ag-row-group-indent-size)*78)}.ag-ltr .ag-row-level-78 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-78 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-79{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*79)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-79{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*79)}.ag-ltr .ag-row-group-indent-79{padding-left:calc(var(--ag-row-group-indent-size)*79)}.ag-rtl .ag-row-group-indent-79{padding-right:calc(var(--ag-row-group-indent-size)*79)}.ag-ltr .ag-row-level-79 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-79 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-80{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*80)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-80{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*80)}.ag-ltr .ag-row-group-indent-80{padding-left:calc(var(--ag-row-group-indent-size)*80)}.ag-rtl .ag-row-group-indent-80{padding-right:calc(var(--ag-row-group-indent-size)*80)}.ag-ltr .ag-row-level-80 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-80 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-81{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*81)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-81{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*81)}.ag-ltr .ag-row-group-indent-81{padding-left:calc(var(--ag-row-group-indent-size)*81)}.ag-rtl .ag-row-group-indent-81{padding-right:calc(var(--ag-row-group-indent-size)*81)}.ag-ltr .ag-row-level-81 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-81 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-82{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*82)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-82{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*82)}.ag-ltr .ag-row-group-indent-82{padding-left:calc(var(--ag-row-group-indent-size)*82)}.ag-rtl .ag-row-group-indent-82{padding-right:calc(var(--ag-row-group-indent-size)*82)}.ag-ltr .ag-row-level-82 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-82 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-83{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*83)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-83{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*83)}.ag-ltr .ag-row-group-indent-83{padding-left:calc(var(--ag-row-group-indent-size)*83)}.ag-rtl .ag-row-group-indent-83{padding-right:calc(var(--ag-row-group-indent-size)*83)}.ag-ltr .ag-row-level-83 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-83 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-84{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*84)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-84{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*84)}.ag-ltr .ag-row-group-indent-84{padding-left:calc(var(--ag-row-group-indent-size)*84)}.ag-rtl .ag-row-group-indent-84{padding-right:calc(var(--ag-row-group-indent-size)*84)}.ag-ltr .ag-row-level-84 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-84 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-85{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*85)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-85{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*85)}.ag-ltr .ag-row-group-indent-85{padding-left:calc(var(--ag-row-group-indent-size)*85)}.ag-rtl .ag-row-group-indent-85{padding-right:calc(var(--ag-row-group-indent-size)*85)}.ag-ltr .ag-row-level-85 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-85 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-86{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*86)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-86{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*86)}.ag-ltr .ag-row-group-indent-86{padding-left:calc(var(--ag-row-group-indent-size)*86)}.ag-rtl .ag-row-group-indent-86{padding-right:calc(var(--ag-row-group-indent-size)*86)}.ag-ltr .ag-row-level-86 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-86 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-87{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*87)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-87{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*87)}.ag-ltr .ag-row-group-indent-87{padding-left:calc(var(--ag-row-group-indent-size)*87)}.ag-rtl .ag-row-group-indent-87{padding-right:calc(var(--ag-row-group-indent-size)*87)}.ag-ltr .ag-row-level-87 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-87 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-88{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*88)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-88{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*88)}.ag-ltr .ag-row-group-indent-88{padding-left:calc(var(--ag-row-group-indent-size)*88)}.ag-rtl .ag-row-group-indent-88{padding-right:calc(var(--ag-row-group-indent-size)*88)}.ag-ltr .ag-row-level-88 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-88 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-89{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*89)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-89{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*89)}.ag-ltr .ag-row-group-indent-89{padding-left:calc(var(--ag-row-group-indent-size)*89)}.ag-rtl .ag-row-group-indent-89{padding-right:calc(var(--ag-row-group-indent-size)*89)}.ag-ltr .ag-row-level-89 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-89 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-90{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*90)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-90{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*90)}.ag-ltr .ag-row-group-indent-90{padding-left:calc(var(--ag-row-group-indent-size)*90)}.ag-rtl .ag-row-group-indent-90{padding-right:calc(var(--ag-row-group-indent-size)*90)}.ag-ltr .ag-row-level-90 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-90 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-91{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*91)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-91{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*91)}.ag-ltr .ag-row-group-indent-91{padding-left:calc(var(--ag-row-group-indent-size)*91)}.ag-rtl .ag-row-group-indent-91{padding-right:calc(var(--ag-row-group-indent-size)*91)}.ag-ltr .ag-row-level-91 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-91 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-92{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*92)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-92{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*92)}.ag-ltr .ag-row-group-indent-92{padding-left:calc(var(--ag-row-group-indent-size)*92)}.ag-rtl .ag-row-group-indent-92{padding-right:calc(var(--ag-row-group-indent-size)*92)}.ag-ltr .ag-row-level-92 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-92 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-93{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*93)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-93{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*93)}.ag-ltr .ag-row-group-indent-93{padding-left:calc(var(--ag-row-group-indent-size)*93)}.ag-rtl .ag-row-group-indent-93{padding-right:calc(var(--ag-row-group-indent-size)*93)}.ag-ltr .ag-row-level-93 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-93 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-94{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*94)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-94{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*94)}.ag-ltr .ag-row-group-indent-94{padding-left:calc(var(--ag-row-group-indent-size)*94)}.ag-rtl .ag-row-group-indent-94{padding-right:calc(var(--ag-row-group-indent-size)*94)}.ag-ltr .ag-row-level-94 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-94 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-95{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*95)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-95{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*95)}.ag-ltr .ag-row-group-indent-95{padding-left:calc(var(--ag-row-group-indent-size)*95)}.ag-rtl .ag-row-group-indent-95{padding-right:calc(var(--ag-row-group-indent-size)*95)}.ag-ltr .ag-row-level-95 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-95 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-96{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*96)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-96{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*96)}.ag-ltr .ag-row-group-indent-96{padding-left:calc(var(--ag-row-group-indent-size)*96)}.ag-rtl .ag-row-group-indent-96{padding-right:calc(var(--ag-row-group-indent-size)*96)}.ag-ltr .ag-row-level-96 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-96 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-97{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*97)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-97{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*97)}.ag-ltr .ag-row-group-indent-97{padding-left:calc(var(--ag-row-group-indent-size)*97)}.ag-rtl .ag-row-group-indent-97{padding-right:calc(var(--ag-row-group-indent-size)*97)}.ag-ltr .ag-row-level-97 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-97 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-98{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*98)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-98{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*98)}.ag-ltr .ag-row-group-indent-98{padding-left:calc(var(--ag-row-group-indent-size)*98)}.ag-rtl .ag-row-group-indent-98{padding-right:calc(var(--ag-row-group-indent-size)*98)}.ag-ltr .ag-row-level-98 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-98 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-99{padding-left:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*99)}.ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-99{padding-right:calc(var(--ag-cell-horizontal-padding) + var(--ag-row-group-indent-size)*99)}.ag-ltr .ag-row-group-indent-99{padding-left:calc(var(--ag-row-group-indent-size)*99)}.ag-rtl .ag-row-group-indent-99{padding-right:calc(var(--ag-row-group-indent-size)*99)}.ag-ltr .ag-row-level-99 .ag-pivot-leaf-group{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-level-99 .ag-pivot-leaf-group{margin-right:var(--ag-row-group-indent-size)}.ag-ltr .ag-row-group-leaf-indent{margin-left:var(--ag-row-group-indent-size)}.ag-rtl .ag-row-group-leaf-indent{margin-right:var(--ag-row-group-indent-size)}.ag-value-change-delta{padding-right:2px}.ag-value-change-delta-up{color:var(--ag-value-change-delta-up-color)}.ag-value-change-delta-down{color:var(--ag-value-change-delta-down-color)}.ag-value-change-value{background-color:#0000;border-radius:1px;padding-left:1px;padding-right:1px;transition:background-color 1s}.ag-value-change-value-highlight{background-color:var(--ag-value-change-value-highlight-background-color);transition:background-color .1s}.ag-cell-data-changed{background-color:var(--ag-value-change-value-highlight-background-color)!important}.ag-cell-data-changed-animation{background-color:#0000}.ag-cell-highlight{background-color:var(--ag-range-selection-highlight-color)!important}.ag-row{background-color:var(--ag-background-color);border-bottom:var(--ag-row-border-style) var(--ag-row-border-color) var(--ag-row-border-width);color:var(--ag-data-color);height:var(--ag-row-height)}.ag-row-highlight-above:after,.ag-row-highlight-below:after{background-color:var(--ag-range-selection-border-color);content:"";height:1px;left:1px;position:absolute;width:calc(100% - 1px)}.ag-row-highlight-above:after{top:-1px}.ag-row-highlight-above.ag-row-first:after{top:0}.ag-row-highlight-below:after{bottom:0}.ag-row-odd{background-color:var(--ag-odd-row-background-color)}.ag-body-horizontal-scroll:not(.ag-scrollbar-invisible) .ag-horizontal-left-spacer:not(.ag-scroller-corner){border-right:var(--ag-borders-critical) var(--ag-border-color)}.ag-body-horizontal-scroll:not(.ag-scrollbar-invisible) .ag-horizontal-right-spacer:not(.ag-scroller-corner){border-left:var(--ag-borders-critical) var(--ag-border-color)}.ag-row-selected:before{background-color:var(--ag-selected-row-background-color);bottom:0;content:"";display:block;left:0;position:absolute;right:0;top:0}.ag-row-hover.ag-full-width-row.ag-row-group:before,.ag-row-hover:not(.ag-full-width-row):before{background-color:var(--ag-row-hover-color);bottom:0;content:"";display:block;left:0;pointer-events:none;position:absolute;right:0;top:0}.ag-row-hover.ag-full-width-row.ag-row-group>*{position:relative}.ag-row-hover.ag-row-selected:before{background-color:var(--ag-row-hover-color);background-image:linear-gradient(var(--ag-selected-row-background-color),var(--ag-selected-row-background-color))}.ag-column-hover{background-color:var(--ag-column-hover-color)}.ag-ltr .ag-right-aligned-cell{text-align:right}.ag-rtl .ag-right-aligned-cell{text-align:left}.ag-ltr .ag-right-aligned-cell .ag-cell-value,.ag-ltr .ag-right-aligned-cell .ag-group-value{margin-left:auto}.ag-rtl .ag-right-aligned-cell .ag-cell-value,.ag-rtl .ag-right-aligned-cell .ag-group-value{margin-right:auto}.ag-cell,.ag-full-width-row .ag-cell-wrapper.ag-row-group{--ag-internal-calculated-line-height:var(--ag-line-height,calc(var(--ag-row-height) - var(--ag-row-border-width)));--ag-internal-padded-row-height:calc(var(--ag-row-height) - var(--ag-row-border-width));-webkit-font-smoothing:subpixel-antialiased;border:1px solid #0000;line-height:min(var(--ag-internal-calculated-line-height),var(--ag-internal-padded-row-height))}.ag-cell,.ag-full-width-row .ag-cell-wrapper.ag-row-group,.ag-row>.ag-cell-wrapper{padding-left:calc(var(--ag-cell-horizontal-padding) - 1px);padding-right:calc(var(--ag-cell-horizontal-padding) - 1px)}.ag-row-dragging{cursor:move;opacity:.5}.ag-cell-inline-editing{background-color:var(--ag-control-panel-background-color);border:1px solid var(--ag-border-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);padding:0}.ag-autocomplete-list-popup,.ag-popup-editor .ag-large-text{background:var(--ag-background-color);background-color:var(--ag-control-panel-background-color);border:var(--ag-borders) var(--ag-border-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);padding:0}.ag-large-text-input{height:auto;padding:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-large-text-input textarea{resize:none}.ag-details-row{background-color:var(--ag-background-color);padding:calc(var(--ag-grid-size)*5)}.ag-layout-auto-height .ag-center-cols-container,.ag-layout-auto-height .ag-center-cols-viewport,.ag-layout-print .ag-center-cols-container,.ag-layout-print .ag-center-cols-viewport{min-height:50px}.ag-overlay-loading-wrapper{background-color:var(--ag-modal-overlay-background-color)}.ag-overlay-loading-center{background:var(--ag-background-color);border:var(--ag-borders) var(--ag-border-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);padding:var(--ag-grid-size)}.ag-overlay-no-rows-wrapper.ag-layout-auto-height{padding-top:30px}.ag-loading{align-items:center;display:flex;height:100%}.ag-ltr .ag-loading{padding-left:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-loading{padding-right:var(--ag-cell-horizontal-padding)}.ag-ltr .ag-loading-icon{padding-right:var(--ag-cell-widget-spacing)}.ag-rtl .ag-loading-icon{padding-left:var(--ag-cell-widget-spacing)}.ag-icon-loading{animation-duration:1s;animation-iteration-count:infinite;animation-name:spin;animation-timing-function:linear}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ag-floating-top{border-bottom:var(--ag-borders-critical) var(--ag-border-color)}.ag-floating-bottom{border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-ltr .ag-cell{border-right:var(--ag-cell-horizontal-border)}.ag-rtl .ag-cell{border-left:var(--ag-cell-horizontal-border)}.ag-ltr .ag-cell{border-right-width:1px}.ag-rtl .ag-cell{border-left-width:1px}.ag-cell.ag-cell-first-right-pinned:not(.ag-cell-range-left):not(.ag-cell-range-single-cell){border-left:var(--ag-borders-critical) var(--ag-border-color)}.ag-cell.ag-cell-last-left-pinned:not(.ag-cell-range-right):not(.ag-cell-range-single-cell){border-right:var(--ag-borders-critical) var(--ag-border-color)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing),.ag-cell-range-selected:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing).ag-cell-range-chart,.ag-cell-range-selected:not(.ag-cell-focus).ag-cell-range-chart{background-color:var(--ag-range-selection-chart-background-color)!important}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing).ag-cell-range-chart.ag-cell-range-chart-category,.ag-cell-range-selected:not(.ag-cell-focus).ag-cell-range-chart.ag-cell-range-chart-category{background-color:var(--ag-range-selection-chart-category-background-color)!important}.ag-cell-range-selected-1:not(.ag-cell-focus),.ag-root:not(.ag-context-menu-open) .ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-1:not(.ag-cell-inline-editing){background-color:var(--ag-range-selection-background-color)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-2,.ag-cell-range-selected-2:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color-2)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-3,.ag-cell-range-selected-3:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color-3)}.ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-4,.ag-cell-range-selected-4:not(.ag-cell-focus){background-color:var(--ag-range-selection-background-color-4)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-top{border-top-color:var(--ag-range-selection-border-color);border-top-style:var(--ag-range-selection-border-style)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-right{border-right-color:var(--ag-range-selection-border-color);border-right-style:var(--ag-range-selection-border-style)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-bottom{border-bottom-color:var(--ag-range-selection-border-color);border-bottom-style:var(--ag-range-selection-border-style)}.ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-left{border-left-color:var(--ag-range-selection-border-color);border-left-style:var(--ag-range-selection-border-style)}.ag-ltr .ag-cell-focus:not(.ag-cell-range-selected):focus-within,.ag-ltr .ag-cell-range-single-cell,.ag-ltr .ag-cell-range-single-cell.ag-cell-range-handle,.ag-ltr .ag-context-menu-open .ag-cell-focus:not(.ag-cell-range-selected),.ag-ltr .ag-full-width-row.ag-row-focus:focus .ag-cell-wrapper.ag-row-group,.ag-rtl .ag-cell-focus:not(.ag-cell-range-selected):focus-within,.ag-rtl .ag-cell-range-single-cell,.ag-rtl .ag-cell-range-single-cell.ag-cell-range-handle,.ag-rtl .ag-context-menu-open .ag-cell-focus:not(.ag-cell-range-selected),.ag-rtl .ag-full-width-row.ag-row-focus:focus .ag-cell-wrapper.ag-row-group{border-color:currentcolor;border-style:solid;border:1px var(--ag-range-selection-border-style) var(--ag-range-selection-border-color);outline:initial}.ag-cell.ag-selection-fill-top,.ag-cell.ag-selection-fill-top.ag-cell-range-selected{border-top:1px dashed;border-top-color:var(--ag-range-selection-border-color)}.ag-ltr .ag-cell.ag-selection-fill-right,.ag-ltr .ag-cell.ag-selection-fill-right.ag-cell-range-selected{border-right:1px dashed var(--ag-range-selection-border-color)!important}.ag-rtl .ag-cell.ag-selection-fill-right,.ag-rtl .ag-cell.ag-selection-fill-right.ag-cell-range-selected{border-left:1px dashed var(--ag-range-selection-border-color)!important}.ag-cell.ag-selection-fill-bottom,.ag-cell.ag-selection-fill-bottom.ag-cell-range-selected{border-bottom:1px dashed;border-bottom-color:var(--ag-range-selection-border-color)}.ag-ltr .ag-cell.ag-selection-fill-left,.ag-ltr .ag-cell.ag-selection-fill-left.ag-cell-range-selected{border-left:1px dashed var(--ag-range-selection-border-color)!important}.ag-rtl .ag-cell.ag-selection-fill-left,.ag-rtl .ag-cell.ag-selection-fill-left.ag-cell-range-selected{border-right:1px dashed var(--ag-range-selection-border-color)!important}.ag-fill-handle,.ag-range-handle{background-color:var(--ag-range-selection-border-color);bottom:-1px;height:6px;position:absolute;width:6px}.ag-ltr .ag-fill-handle,.ag-ltr .ag-range-handle{right:-1px}.ag-rtl .ag-fill-handle,.ag-rtl .ag-range-handle{left:-1px}.ag-fill-handle{cursor:cell}.ag-range-handle{cursor:nwse-resize}.ag-cell-inline-editing{border-color:var(--ag-input-focus-border-color)!important}.ag-menu{background:var(--ag-background-color);background-color:var(--ag-menu-background-color);border:var(--ag-borders) var(--ag-border-color);border-color:var(--ag-menu-border-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);padding:0}.ag-menu-list{cursor:default;padding:var(--ag-grid-size) 0}.ag-menu-separator{height:calc(var(--ag-grid-size)*2 + 1px)}.ag-menu-separator-part:after{border-top:var(--ag-borders-critical) var(--ag-border-color);content:"";display:block}.ag-compact-menu-option-active,.ag-menu-option-active{background-color:var(--ag-row-hover-color)}.ag-compact-menu-option-part,.ag-menu-option-part{line-height:var(--ag-icon-size);padding:calc(var(--ag-grid-size) + 2px) 0}.ag-compact-menu-option-disabled,.ag-menu-option-disabled{opacity:.5}.ag-compact-menu-option-icon,.ag-menu-option-icon{width:var(--ag-icon-size)}.ag-ltr .ag-compact-menu-option-icon,.ag-ltr .ag-menu-option-icon{padding-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-compact-menu-option-icon,.ag-rtl .ag-menu-option-icon{padding-right:calc(var(--ag-grid-size)*2)}.ag-compact-menu-option-text,.ag-menu-option-text{padding-left:calc(var(--ag-grid-size)*2);padding-right:calc(var(--ag-grid-size)*2)}.ag-ltr .ag-compact-menu-option-shortcut,.ag-ltr .ag-menu-option-shortcut{padding-right:var(--ag-grid-size)}.ag-rtl .ag-compact-menu-option-shortcut,.ag-rtl .ag-menu-option-shortcut{padding-left:var(--ag-grid-size)}.ag-ltr .ag-compact-menu-option-popup-pointer,.ag-ltr .ag-menu-option-popup-pointer{padding-right:var(--ag-grid-size)}.ag-rtl .ag-compact-menu-option-popup-pointer,.ag-rtl .ag-menu-option-popup-pointer{padding-left:var(--ag-grid-size)}.ag-tabs{min-width:var(--ag-tab-min-width)}.ag-tab,.ag-tabs-header{display:flex}.ag-tab{align-items:center;border-bottom:var(--ag-selected-tab-underline-width) solid #0000;cursor:pointer;flex:none;justify-content:center;transition:border-bottom var(--ag-selected-tab-underline-transition-speed)}.ag-tab:focus-visible{outline:none}.ag-tab:focus-visible:after{background-color:#0000;border:1px solid;border-color:var(--ag-input-focus-border-color);content:"";display:block;height:calc(100% - 8px);left:4px;pointer-events:none;position:absolute;top:4px;width:calc(100% - 8px)}.ag-tab-selected{border-bottom-color:var(--ag-selected-tab-underline-color)}.ag-menu-header{color:var(--ag-secondary-foreground-color)}.ag-filter-separator{border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-filter-select .ag-picker-field-wrapper{width:0}.ag-filter-condition-operator{height:17px}.ag-ltr .ag-filter-condition-operator-or{margin-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-filter-condition-operator-or{margin-right:calc(var(--ag-grid-size)*2)}.ag-set-filter-select-all{padding-top:var(--ag-widget-container-vertical-padding)}.ag-filter-no-matches,.ag-set-filter-list{height:calc(var(--ag-list-item-height)*6)}.ag-set-filter-tree-list{height:calc(var(--ag-list-item-height)*10)}.ag-set-filter-filter{margin-left:var(--ag-widget-container-horizontal-padding);margin-right:var(--ag-widget-container-horizontal-padding);margin-top:var(--ag-widget-container-vertical-padding)}.ag-filter-to{margin-top:var(--ag-widget-vertical-spacing)}.ag-mini-filter{margin:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding)}.ag-set-filter-item{padding:0 var(--ag-widget-container-horizontal-padding)}.ag-ltr .ag-set-filter-indent-1{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*1)}.ag-rtl .ag-set-filter-indent-1{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*1)}.ag-ltr .ag-set-filter-indent-2{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*2)}.ag-rtl .ag-set-filter-indent-2{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*2)}.ag-ltr .ag-set-filter-indent-3{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*3)}.ag-rtl .ag-set-filter-indent-3{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*3)}.ag-ltr .ag-set-filter-indent-4{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*4)}.ag-rtl .ag-set-filter-indent-4{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*4)}.ag-ltr .ag-set-filter-indent-5{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*5)}.ag-rtl .ag-set-filter-indent-5{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*5)}.ag-ltr .ag-set-filter-indent-6{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*6)}.ag-rtl .ag-set-filter-indent-6{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*6)}.ag-ltr .ag-set-filter-indent-7{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*7)}.ag-rtl .ag-set-filter-indent-7{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*7)}.ag-ltr .ag-set-filter-indent-8{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*8)}.ag-rtl .ag-set-filter-indent-8{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*8)}.ag-ltr .ag-set-filter-indent-9{padding-left:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*9)}.ag-rtl .ag-set-filter-indent-9{padding-right:calc(var(--ag-widget-container-horizontal-padding) + var(--ag-set-filter-indent-size)*9)}.ag-ltr .ag-set-filter-add-group-indent{margin-left:calc(var(--ag-icon-size) + var(--ag-widget-container-horizontal-padding))}.ag-rtl .ag-set-filter-add-group-indent{margin-right:calc(var(--ag-icon-size) + var(--ag-widget-container-horizontal-padding))}.ag-ltr .ag-set-filter-group-icons{margin-right:var(--ag-widget-container-horizontal-padding)}.ag-rtl .ag-set-filter-group-icons{margin-left:var(--ag-widget-container-horizontal-padding)}.ag-filter-menu .ag-set-filter-list{min-width:200px}.ag-filter-virtual-list-item:focus-visible{outline:none}.ag-filter-virtual-list-item:focus-visible:after{background-color:#0000;border:1px solid;border-color:var(--ag-input-focus-border-color);content:"";display:block;height:calc(100% - 2px);left:1px;pointer-events:none;position:absolute;top:1px;width:calc(100% - 2px)}.ag-filter-apply-panel{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color);padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding)}.ag-filter-apply-panel-button{line-height:1.5}.ag-ltr .ag-filter-apply-panel-button{margin-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-filter-apply-panel-button{margin-right:calc(var(--ag-grid-size)*2)}.ag-simple-filter-body-wrapper{min-height:calc(var(--ag-list-item-height) + var(--ag-widget-container-vertical-padding) + var(--ag-widget-vertical-spacing));overflow-y:auto;padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);padding-bottom:calc(var(--ag-widget-container-vertical-padding) - var(--ag-widget-vertical-spacing))}.ag-simple-filter-body-wrapper>*{margin-bottom:var(--ag-widget-vertical-spacing)}.ag-simple-filter-body-wrapper .ag-resizer-wrapper{margin:0}.ag-menu:not(.ag-tabs) .ag-filter .ag-simple-filter-body-wrapper,.ag-menu:not(.ag-tabs) .ag-filter>:not(.ag-filter-wrapper){min-width:calc(var(--ag-menu-min-width) - 2px)}.ag-filter-no-matches{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding)}.ag-multi-filter-menu-item{margin:var(--ag-grid-size) 0}.ag-multi-filter-group-title-bar{background-color:#0000;padding:calc(var(--ag-grid-size)*2) var(--ag-grid-size)}.ag-group-filter-field-select-wrapper{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);padding-bottom:calc(var(--ag-widget-container-vertical-padding) - var(--ag-widget-vertical-spacing))}.ag-group-filter-field-select-wrapper>*{margin-bottom:var(--ag-widget-vertical-spacing)}.ag-multi-filter-group-title-bar:focus-visible{outline:none}.ag-multi-filter-group-title-bar:focus-visible:after{background-color:#0000;border:1px solid;border-color:var(--ag-input-focus-border-color);content:"";display:block;height:calc(100% - 8px);left:4px;pointer-events:none;position:absolute;top:4px;width:calc(100% - 8px)}.ag-side-bar{position:relative}.ag-tool-panel-wrapper{background-color:var(--ag-control-panel-background-color);width:var(--ag-side-bar-panel-width)}.ag-side-buttons{overflow:hidden;padding-top:calc(var(--ag-grid-size)*4);position:relative;width:calc(var(--ag-icon-size) + 4px)}button.ag-side-button-button{background:#0000;background-position-x:center;background-position-y:center;background-repeat:no-repeat;border:none;border-bottom:var(--ag-borders-side-button) var(--ag-border-color);border-top:var(--ag-borders-side-button) var(--ag-border-color);color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;margin:0;min-height:calc(var(--ag-grid-size)*18);padding:calc(var(--ag-grid-size)*2) 0 calc(var(--ag-grid-size)*2) 0;width:100%}button.ag-side-button-button:focus{box-shadow:none}.ag-side-button-button:focus-visible{outline:none}.ag-side-button-button:focus-visible:after{background-color:#0000;border:1px solid;border-color:var(--ag-input-focus-border-color);content:"";display:block;height:calc(100% - 8px);left:4px;pointer-events:none;position:absolute;top:4px;width:calc(100% - 8px)}.ag-selected button.ag-side-button-button{background-color:var(--ag-side-button-selected-background-color)}.ag-side-button-icon-wrapper{margin-bottom:3px}.ag-ltr .ag-side-bar-left,.ag-rtl .ag-side-bar-right{border-right:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-left .ag-tool-panel-wrapper,.ag-rtl .ag-side-bar-right .ag-tool-panel-wrapper{border-left:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-left .ag-side-button-button,.ag-rtl .ag-side-bar-right .ag-side-button-button{border-right:var(--ag-selected-tab-underline-width) solid #0000;transition:border-right var(--ag-selected-tab-underline-transition-speed)}.ag-ltr .ag-side-bar-left .ag-selected .ag-side-button-button,.ag-rtl .ag-side-bar-right .ag-selected .ag-side-button-button{border-right-color:var(--ag-selected-tab-underline-color)}.ag-ltr .ag-side-bar-right,.ag-rtl .ag-side-bar-left{border-left:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-right .ag-tool-panel-wrapper,.ag-rtl .ag-side-bar-left .ag-tool-panel-wrapper{border-right:var(--ag-borders) var(--ag-border-color)}.ag-ltr .ag-side-bar-right .ag-side-button-button,.ag-rtl .ag-side-bar-left .ag-side-button-button{border-left:var(--ag-selected-tab-underline-width) solid #0000;transition:border-left var(--ag-selected-tab-underline-transition-speed)}.ag-ltr .ag-side-bar-right .ag-selected .ag-side-button-button,.ag-rtl .ag-side-bar-left .ag-selected .ag-side-button-button{border-left-color:var(--ag-selected-tab-underline-color)}.ag-filter-toolpanel-header{height:calc(var(--ag-grid-size)*6)}.ag-filter-toolpanel-header,.ag-filter-toolpanel-search{padding:0 var(--ag-grid-size)}.ag-filter-toolpanel-header:focus-visible{outline:none}.ag-filter-toolpanel-header:focus-visible:after{background-color:#0000;border:1px solid;border-color:var(--ag-input-focus-border-color);content:"";display:block;height:calc(100% - 8px);left:4px;pointer-events:none;position:absolute;top:4px;width:calc(100% - 8px)}.ag-filter-toolpanel-group.ag-has-filter>.ag-group-title-bar .ag-group-title:after{font-feature-settings:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:var(--ag-icon-font-color);content:var(--ag-icon-font-code-filter,"\f115");font-family:var(--ag-icon-font-family);font-size:var(--ag-icon-size);font-style:normal;font-variant:normal;font-weight:var(--ag-icon-font-weight);line-height:var(--ag-icon-size);position:absolute;text-transform:none}.ag-ltr .ag-filter-toolpanel-group.ag-has-filter>.ag-group-title-bar .ag-group-title:after{padding-left:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-group.ag-has-filter>.ag-group-title-bar .ag-group-title:after{padding-right:var(--ag-grid-size)}.ag-filter-toolpanel-group-level-0-header{height:calc(var(--ag-grid-size)*8)}.ag-filter-toolpanel-group-item{margin-bottom:calc(var(--ag-grid-size)*.5);margin-top:calc(var(--ag-grid-size)*.5)}.ag-filter-toolpanel-search{height:var(--ag-header-height)}.ag-filter-toolpanel-search-input{flex-grow:1;height:calc(var(--ag-grid-size)*4)}.ag-ltr .ag-filter-toolpanel-search-input{margin-right:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-search-input{margin-left:var(--ag-grid-size)}.ag-filter-toolpanel-group-level-0{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-ltr .ag-filter-toolpanel-expand,.ag-ltr .ag-filter-toolpanel-group-title-bar-icon{margin-right:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-expand,.ag-rtl .ag-filter-toolpanel-group-title-bar-icon{margin-left:var(--ag-grid-size)}.ag-filter-toolpanel-group-level-1 .ag-filter-toolpanel-group-level-1-header.ag-filter-toolpanel-group-title-bar{background-color:#0000}.ag-ltr .ag-filter-toolpanel-group-level-1 .ag-filter-toolpanel-group-level-2-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*1 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-1 .ag-filter-toolpanel-group-level-2-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*1 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-2 .ag-filter-toolpanel-group-level-2-header.ag-filter-toolpanel-group-title-bar{background-color:#0000}.ag-ltr .ag-filter-toolpanel-group-level-2 .ag-filter-toolpanel-group-level-3-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*2 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-2 .ag-filter-toolpanel-group-level-3-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*2 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-3 .ag-filter-toolpanel-group-level-3-header.ag-filter-toolpanel-group-title-bar{background-color:#0000}.ag-ltr .ag-filter-toolpanel-group-level-3 .ag-filter-toolpanel-group-level-4-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*3 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-3 .ag-filter-toolpanel-group-level-4-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*3 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-4 .ag-filter-toolpanel-group-level-4-header.ag-filter-toolpanel-group-title-bar{background-color:#0000}.ag-ltr .ag-filter-toolpanel-group-level-4 .ag-filter-toolpanel-group-level-5-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*4 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-4 .ag-filter-toolpanel-group-level-5-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*4 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-5 .ag-filter-toolpanel-group-level-5-header.ag-filter-toolpanel-group-title-bar{background-color:#0000}.ag-ltr .ag-filter-toolpanel-group-level-5 .ag-filter-toolpanel-group-level-6-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*5 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-5 .ag-filter-toolpanel-group-level-6-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*5 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-6 .ag-filter-toolpanel-group-level-6-header.ag-filter-toolpanel-group-title-bar{background-color:#0000}.ag-ltr .ag-filter-toolpanel-group-level-6 .ag-filter-toolpanel-group-level-7-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*6 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-6 .ag-filter-toolpanel-group-level-7-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*6 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-7 .ag-filter-toolpanel-group-level-7-header.ag-filter-toolpanel-group-title-bar{background-color:#0000}.ag-ltr .ag-filter-toolpanel-group-level-7 .ag-filter-toolpanel-group-level-8-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*7 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-7 .ag-filter-toolpanel-group-level-8-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*7 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-8 .ag-filter-toolpanel-group-level-8-header.ag-filter-toolpanel-group-title-bar{background-color:#0000}.ag-ltr .ag-filter-toolpanel-group-level-8 .ag-filter-toolpanel-group-level-9-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*8 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-8 .ag-filter-toolpanel-group-level-9-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*8 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-9 .ag-filter-toolpanel-group-level-9-header.ag-filter-toolpanel-group-title-bar{background-color:#0000}.ag-ltr .ag-filter-toolpanel-group-level-9 .ag-filter-toolpanel-group-level-10-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*9 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-9 .ag-filter-toolpanel-group-level-10-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*9 + var(--ag-grid-size))}.ag-filter-toolpanel-group-level-10 .ag-filter-toolpanel-group-level-10-header.ag-filter-toolpanel-group-title-bar{background-color:#0000}.ag-ltr .ag-filter-toolpanel-group-level-10 .ag-filter-toolpanel-group-level-11-header{padding-left:calc(var(--ag-filter-tool-panel-group-indent)*10 + var(--ag-grid-size))}.ag-rtl .ag-filter-toolpanel-group-level-10 .ag-filter-toolpanel-group-level-11-header{padding-right:calc(var(--ag-filter-tool-panel-group-indent)*10 + var(--ag-grid-size))}.ag-filter-toolpanel-instance-header.ag-filter-toolpanel-group-level-1-header{padding-left:var(--ag-grid-size)}.ag-filter-toolpanel-instance-filter{border-bottom:var(--ag-borders) var(--ag-border-color);border-top:var(--ag-borders) var(--ag-border-color);margin-top:var(--ag-grid-size)}.ag-ltr .ag-filter-toolpanel-instance-header-icon{margin-left:var(--ag-grid-size)}.ag-rtl .ag-filter-toolpanel-instance-header-icon{margin-right:var(--ag-grid-size)}.ag-set-filter-group-icons{color:var(--ag-secondary-foreground-color)}.ag-pivot-mode-panel{display:flex;height:var(--ag-header-height);min-height:var(--ag-header-height)}.ag-pivot-mode-select{align-items:center;display:flex}.ag-ltr .ag-pivot-mode-select{margin-left:var(--ag-widget-container-horizontal-padding)}.ag-rtl .ag-pivot-mode-select{margin-right:var(--ag-widget-container-horizontal-padding)}.ag-column-select-header:focus-visible{outline:none}.ag-column-select-header:focus-visible:after{background-color:#0000;border:1px solid;border-color:var(--ag-input-focus-border-color);content:"";display:block;height:calc(100% - 8px);left:4px;pointer-events:none;position:absolute;top:4px;width:calc(100% - 8px)}.ag-column-select-header{align-items:center;height:var(--ag-header-height);padding:0 var(--ag-widget-container-horizontal-padding)}.ag-column-panel-column-select,.ag-column-select-header{border-bottom:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-column-panel-column-select{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-column-group-icons,.ag-column-select-header-icon{color:var(--ag-secondary-foreground-color)}.ag-column-select-list .ag-list-item-hovered:after{background-color:var(--ag-range-selection-border-color);content:"";height:1px;left:0;position:absolute;right:0}.ag-column-select-list .ag-item-highlight-top:after{top:0}.ag-column-select-list .ag-item-highlight-bottom:after{bottom:0}.ag-advanced-filter-header,.ag-header{background-color:var(--ag-header-background-color);border-bottom:var(--ag-borders-critical) var(--ag-border-color)}.ag-header-row{color:var(--ag-header-foreground-color);height:var(--ag-header-height)}.ag-pinned-right-header{border-left:var(--ag-borders-critical) var(--ag-border-color)}.ag-pinned-left-header{border-right:var(--ag-borders-critical) var(--ag-border-color)}.ag-ltr .ag-header-cell:not(.ag-right-aligned-header) .ag-header-label-icon,.ag-ltr .ag-header-cell:not(.ag-right-aligned-header) .ag-header-menu-icon{margin-left:var(--ag-grid-size)}.ag-ltr .ag-header-cell.ag-right-aligned-header .ag-header-label-icon,.ag-ltr .ag-header-cell.ag-right-aligned-header .ag-header-menu-icon,.ag-rtl .ag-header-cell:not(.ag-right-aligned-header) .ag-header-label-icon,.ag-rtl .ag-header-cell:not(.ag-right-aligned-header) .ag-header-menu-icon{margin-right:var(--ag-grid-size)}.ag-rtl .ag-header-cell.ag-right-aligned-header .ag-header-label-icon,.ag-rtl .ag-header-cell.ag-right-aligned-header .ag-header-menu-icon{margin-left:var(--ag-grid-size)}.ag-header-cell,.ag-header-group-cell{padding-left:var(--ag-cell-horizontal-padding);padding-right:var(--ag-cell-horizontal-padding)}.ag-header-cell.ag-header-cell-moving,.ag-header-group-cell.ag-header-cell-moving{background-color:var(--ag-header-cell-moving-background-color)}.ag-ltr .ag-header-group-cell-label.ag-sticky-label{left:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-header-group-cell-label.ag-sticky-label{right:var(--ag-cell-horizontal-padding)}.ag-header-cell:focus-visible{outline:none}.ag-header-cell:focus-visible:after{background-color:#0000;border:1px solid;border-color:var(--ag-input-focus-border-color);content:"";display:block;height:calc(100% - 8px);left:4px;pointer-events:none;position:absolute;top:4px;width:calc(100% - 8px)}.ag-header-group-cell:focus-visible{outline:none}.ag-header-group-cell:focus-visible:after{background-color:#0000;border:1px solid;border-color:var(--ag-input-focus-border-color);content:"";display:block;height:calc(100% - 8px);left:4px;pointer-events:none;position:absolute;top:4px;width:calc(100% - 8px)}.ag-advanced-filter-header-cell:focus-visible{outline:none}.ag-advanced-filter-header-cell:focus-visible:after{background-color:#0000;border:1px solid;border-color:var(--ag-input-focus-border-color);content:"";display:block;height:calc(100% - 8px);left:4px;pointer-events:none;position:absolute;top:4px;width:calc(100% - 8px)}.ag-header-icon{color:var(--ag-secondary-foreground-color)}.ag-header-expand-icon{cursor:pointer}.ag-ltr .ag-header-expand-icon{margin-left:4px}.ag-rtl .ag-header-expand-icon{margin-right:4px}.ag-header-row:not(:first-child) .ag-header-cell:not(.ag-header-span-height.ag-header-span-total),.ag-header-row:not(:first-child) .ag-header-group-cell.ag-header-group-cell-with-group{border-top:var(--ag-borders-critical) var(--ag-border-color)}.ag-header-cell:not(.ag-column-hover):first-of-type.ag-column-resizing,.ag-header-cell:not(.ag-column-hover):first-of-type:not(.ag-header-cell-moving):hover,.ag-header-cell:not(.ag-column-resizing)+.ag-header-cell:not(.ag-column-hover).ag-column-resizing,.ag-header-cell:not(.ag-column-resizing)+.ag-header-cell:not(.ag-column-hover):not(.ag-header-cell-moving):hover,.ag-header-group-cell:first-of-type.ag-column-resizing,.ag-header-group-cell:first-of-type:not(.ag-header-cell-moving):hover,.ag-header-group-cell:not(.ag-column-resizing)+.ag-header-group-cell:not(.ag-column-hover).ag-column-resizing,.ag-header-group-cell:not(.ag-column-resizing)+.ag-header-group-cell:not(.ag-column-hover):not(.ag-header-cell-moving):hover{background-color:var(--ag-header-cell-hover-background-color)}.ag-header-cell:before,.ag-header-group-cell:not(.ag-header-span-height.ag-header-group-cell-no-group):before{background-color:var(--ag-header-column-separator-color);content:"";display:var(--ag-header-column-separator-display);height:var(--ag-header-column-separator-height);position:absolute;top:calc(50% - var(--ag-header-column-separator-height)*.5);width:var(--ag-header-column-separator-width);z-index:1}.ag-ltr .ag-header-cell:before,.ag-ltr .ag-header-group-cell:not(.ag-header-span-height.ag-header-group-cell-no-group):before{right:0}.ag-rtl .ag-header-cell:before,.ag-rtl .ag-header-group-cell:not(.ag-header-span-height.ag-header-group-cell-no-group):before{left:0}.ag-header-cell-resize{align-items:center;display:flex}.ag-header-cell-resize:after{background-color:var(--ag-header-column-resize-handle-color);content:"";display:var(--ag-header-column-resize-handle-display);height:var(--ag-header-column-resize-handle-height);position:absolute;top:calc(50% - var(--ag-header-column-resize-handle-height)*.5);width:var(--ag-header-column-resize-handle-width);z-index:1}.ag-header-cell.ag-header-span-height .ag-header-cell-resize:after{height:calc(100% - var(--ag-grid-size)*4);top:calc(var(--ag-grid-size)*2)}.ag-ltr .ag-header-viewport .ag-header-cell-resize:after{left:calc(50% - var(--ag-header-column-resize-handle-width))}.ag-rtl .ag-header-viewport .ag-header-cell-resize:after{right:calc(50% - var(--ag-header-column-resize-handle-width))}.ag-pinned-left-header .ag-header-cell-resize:after{left:calc(50% - var(--ag-header-column-resize-handle-width))}.ag-pinned-right-header .ag-header-cell-resize:after{left:50%}.ag-ltr .ag-header-select-all{margin-right:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-header-select-all{margin-left:var(--ag-cell-horizontal-padding)}.ag-ltr .ag-floating-filter-button{margin-left:var(--ag-cell-widget-spacing)}.ag-rtl .ag-floating-filter-button{margin-right:var(--ag-cell-widget-spacing)}.ag-floating-filter-button-button{-webkit-appearance:none;appearance:none;background:#0000;border:none;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;height:var(--ag-icon-size);line-height:inherit;padding:0;width:var(--ag-icon-size)}.ag-filter-loading{background-color:var(--ag-control-panel-background-color);height:100%;padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);position:absolute;width:100%;z-index:1}.ag-paging-panel{border-top:1px solid;border-top-color:var(--ag-border-color);color:var(--ag-secondary-foreground-color);height:var(--ag-header-height)}.ag-paging-panel>*{margin:0 var(--ag-cell-horizontal-padding)}.ag-paging-panel>.ag-paging-page-size .ag-wrapper{min-width:calc(var(--ag-grid-size)*10)}.ag-paging-button{cursor:pointer}.ag-paging-button.ag-disabled{color:var(--ag-disabled-foreground-color);cursor:default}.ag-paging-button:focus-visible{outline:none}.ag-paging-button:focus-visible:after{background-color:#0000;border:1px solid;border-color:var(--ag-input-focus-border-color);content:"";display:block;height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.ag-paging-button,.ag-paging-description{margin:0 var(--ag-grid-size)}.ag-status-bar{border-top:var(--ag-borders) var(--ag-border-color);color:var(--ag-disabled-foreground-color);line-height:1.5;padding-left:calc(var(--ag-grid-size)*4);padding-right:calc(var(--ag-grid-size)*4)}.ag-status-name-value-value{color:var(--ag-foreground-color)}.ag-status-bar-center{text-align:center}.ag-status-name-value{margin-left:var(--ag-grid-size);margin-right:var(--ag-grid-size);padding-bottom:calc(var(--ag-grid-size)*2);padding-top:calc(var(--ag-grid-size)*2)}.ag-column-drop-cell{background:var(--ag-chip-background-color);border:1px solid var(--ag-chip-border-color);border-radius:calc(var(--ag-grid-size)*4);height:calc(var(--ag-grid-size)*4);padding:0 calc(var(--ag-grid-size)*.5)}.ag-column-drop-cell:focus-visible{outline:none}.ag-column-drop-cell:focus-visible:after{background-color:#0000;border:1px solid;border-color:var(--ag-input-focus-border-color);content:"";display:block;height:calc(100% - 4px);left:2px;pointer-events:none;position:absolute;top:2px;width:calc(100% - 4px)}.ag-column-drop-cell-text{margin:0 var(--ag-grid-size)}.ag-column-drop-cell-button{color:var(--ag-secondary-foreground-color);margin:0 calc(var(--ag-grid-size)*.5);min-width:calc(var(--ag-grid-size)*4)}.ag-column-drop-cell-drag-handle{margin-left:calc(var(--ag-grid-size)*2)}.ag-column-drop-cell-ghost{opacity:.5}.ag-column-drop-horizontal{background-color:var(--ag-header-background-color);border-bottom:var(--ag-borders) var(--ag-border-color);color:var(--ag-secondary-foreground-color);height:var(--ag-header-height)}.ag-ltr .ag-column-drop-horizontal{padding-left:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-column-drop-horizontal{padding-right:var(--ag-cell-horizontal-padding)}.ag-ltr .ag-column-drop-horizontal-half-width:not(:last-child){border-right:var(--ag-borders) var(--ag-border-color)}.ag-rtl .ag-column-drop-horizontal-half-width:not(:last-child){border-left:var(--ag-borders) var(--ag-border-color)}.ag-column-drop-horizontal-cell-separator{color:var(--ag-secondary-foreground-color);margin:0 var(--ag-grid-size)}.ag-column-drop-horizontal-empty-message{color:var(--ag-disabled-foreground-color)}.ag-ltr .ag-column-drop-horizontal-icon{margin-right:var(--ag-cell-horizontal-padding)}.ag-rtl .ag-column-drop-horizontal-icon{margin-left:var(--ag-cell-horizontal-padding)}.ag-column-drop-vertical-list{padding-bottom:var(--ag-grid-size);padding-left:var(--ag-grid-size);padding-right:var(--ag-grid-size)}.ag-column-drop-vertical-cell{margin-top:var(--ag-grid-size)}.ag-column-drop-vertical{border-bottom:var(--ag-borders-secondary) var(--ag-secondary-border-color);min-height:50px}.ag-column-drop-vertical.ag-last-column-drop{border-bottom:none}.ag-column-drop-vertical-icon{margin-left:var(--ag-grid-size);margin-right:var(--ag-grid-size)}.ag-column-drop-vertical-empty-message{bottom:0;color:var(--ag-disabled-foreground-color);left:0;margin-top:var(--ag-grid-size);overflow:hidden;position:absolute;right:0;top:0}.ag-select-agg-func-popup{background:var(--ag-background-color);border:var(--ag-borders) var(--ag-border-color);border-radius:var(--ag-card-radius);box-shadow:var(--ag-card-shadow);height:calc(var(--ag-grid-size)*5*3.5);padding:0}.ag-select-agg-func-virtual-list-item{cursor:default}.ag-ltr .ag-select-agg-func-virtual-list-item{padding-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-select-agg-func-virtual-list-item{padding-right:calc(var(--ag-grid-size)*2)}.ag-select-agg-func-virtual-list-item:hover{background-color:var(--ag-selected-row-background-color)}.ag-select-agg-func-virtual-list-item:focus-visible{outline:none}.ag-select-agg-func-virtual-list-item:focus-visible:after{background-color:#0000;border:1px solid;border-color:var(--ag-input-focus-border-color);content:"";display:block;height:calc(100% - 2px);left:1px;pointer-events:none;position:absolute;top:1px;width:calc(100% - 2px)}.ag-sort-indicator-container{display:flex}.ag-ltr .ag-sort-indicator-icon{padding-left:var(--ag-grid-size)}.ag-rtl .ag-sort-indicator-icon{padding-right:var(--ag-grid-size)}.ag-chart{height:100%;width:100%}.ag-chart,.ag-chart-components-wrapper{display:flex;overflow:hidden;position:relative}.ag-chart-components-wrapper{flex:1 1 auto}.ag-chart-title-edit{display:none;left:0;position:absolute;text-align:center;top:0}.ag-chart-title-edit.currently-editing{display:inline-block}.ag-chart-canvas-wrapper{flex:1 1 auto;overflow:hidden;position:relative}.ag-charts-canvas{display:block}.ag-chart-menu{display:flex;flex-direction:column;position:absolute;top:16px}.ag-ltr .ag-chart-menu{right:20px}.ag-rtl .ag-chart-menu{left:20px}.ag-chart-docked-container{min-width:0;position:relative;transition:min-width .4s;width:0}.ag-chart-menu-hidden~.ag-chart-docked-container{max-width:0;overflow:hidden}.ag-chart-tabbed-menu{display:flex;flex-direction:column;height:100%;overflow:hidden;width:100%}.ag-chart-tabbed-menu-header{cursor:default;flex:none;-webkit-user-select:none;user-select:none}.ag-chart-tabbed-menu-body{align-items:stretch;display:flex;flex:1 1 auto;overflow:hidden}.ag-chart-tab{overflow:hidden;overflow-y:auto;width:100%}.ag-chart-settings{overflow-x:hidden}.ag-chart-settings-wrapper{display:flex;flex-direction:column;height:100%;overflow:hidden;position:relative;width:100%}.ag-chart-settings-nav-bar{align-items:center;display:flex;height:30px;padding:0 10px;-webkit-user-select:none;user-select:none;width:100%}.ag-chart-settings-card-selector{align-items:center;display:flex;flex:1 1 auto;height:100%;justify-content:space-around;padding:0 10px}.ag-chart-settings-card-item{background-color:#000;cursor:pointer;height:10px;position:relative;width:10px}.ag-chart-settings-card-item.ag-not-selected{opacity:.2}.ag-chart-settings-card-item:before{background-color:#0000;content:" ";display:block;height:20px;left:50%;margin-left:-10px;margin-top:-10px;position:absolute;top:50%;width:20px}.ag-chart-settings-next,.ag-chart-settings-prev{flex:none;position:relative}.ag-chart-settings-next-button,.ag-chart-settings-prev-button{cursor:pointer;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%}.ag-chart-settings-mini-charts-container{flex:1 1 auto;overflow-x:hidden;overflow-y:auto;position:relative}.ag-chart-settings-mini-wrapper{display:flex;flex-direction:column;left:0;min-height:100%;overflow:hidden;position:absolute;top:0;width:100%}.ag-chart-settings-mini-wrapper.ag-animating{transition:left .3s;transition-timing-function:ease-in-out}.ag-chart-mini-thumbnail{cursor:pointer}.ag-chart-mini-thumbnail-canvas{display:block}.ag-chart-data-wrapper,.ag-chart-format-wrapper{display:flex;flex-direction:column;padding-bottom:16px;position:relative;-webkit-user-select:none;user-select:none}.ag-chart-data-wrapper{height:100%;overflow-y:auto}.ag-chart-empty-text{align-items:center;background-color:var(--ag-background-color);display:flex;height:100%;justify-content:center;top:0;width:100%}.ag-chart .ag-chart-menu{display:none}.ag-chart-menu-hidden:hover .ag-chart-menu{display:block}.ag-chart .ag-chart-tool-panel-button-enable .ag-chart-menu{display:flex;flex-direction:row;gap:20px;top:8px;width:auto}.ag-ltr .ag-chart .ag-chart-tool-panel-button-enable .ag-chart-menu{justify-content:right;right:calc(var(--ag-cell-horizontal-padding) + var(--ag-grid-size) - 4px)}.ag-rtl .ag-chart .ag-chart-tool-panel-button-enable .ag-chart-menu{justify-content:left;left:calc(var(--ag-cell-horizontal-padding) + var(--ag-grid-size) - 4px)}.ag-chart-menu-close{display:none}.ag-chart-tool-panel-button-enable .ag-chart-menu-close{border:none;cursor:pointer;display:block;padding:0;position:absolute;top:50%;transition:transform .33s ease-in-out}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close{right:0}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close{left:0}.ag-chart-tool-panel-button-enable .ag-chart-menu-close .ag-icon{height:auto;padding:14px 5px 14px 2px;width:auto}.ag-chart-tool-panel-button-enable .ag-chart-menu-close:before{bottom:-40px;content:"";position:absolute;top:-40px}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close:before{right:0}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close:before{left:0}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close:before{left:-10px}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close:before{right:-10px}.ag-chart-tool-panel-button-enable .ag-icon-menu{display:none}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close{transform:translate(3px,-50%)}.ag-ltr .ag-chart-tool-panel-button-enable .ag-chart-menu-close:hover{transform:translateY(-50%)}.ag-ltr .ag-chart-menu-visible .ag-chart-tool-panel-button-enable .ag-chart-menu-close:hover{transform:translate(5px,-50%)}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close{transform:translate(-3px,-50%)}.ag-rtl .ag-chart-tool-panel-button-enable .ag-chart-menu-close:hover{transform:translateY(-50%)}.ag-rtl .ag-chart-menu-visible .ag-chart-tool-panel-button-enable .ag-chart-menu-close:hover{transform:translate(-5px,-50%)}.ag-charts-font-size-color{align-self:stretch;display:flex;justify-content:space-between}.ag-charts-data-group-item{position:relative}.ag-chart-menu{background:var(--ag-background-color)}.ag-chart-menu,.ag-chart-menu-icon{border-radius:var(--ag-card-radius)}.ag-chart-menu-icon{color:var(--ag-secondary-foreground-color);cursor:pointer;margin:2px 0;opacity:.5}.ag-chart-menu-icon:hover{opacity:1}.ag-chart-mini-thumbnail{border:1px solid var(--ag-secondary-border-color);border-radius:5px}.ag-chart-mini-thumbnail.ag-selected{border-color:var(--ag-minichart-selected-chart-color)}.ag-chart-settings-card-item{background:var(--ag-foreground-color);border-radius:4px;height:8px;width:8px}.ag-chart-settings-card-item.ag-selected{background-color:var(--ag-minichart-selected-page-color)}.ag-chart-data-column-drag-handle{margin-left:var(--ag-grid-size)}.ag-charts-data-group-title-bar,.ag-charts-format-top-level-group-title-bar,.ag-charts-settings-group-title-bar{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-charts-data-group-container{padding:calc(var(--ag-widget-container-vertical-padding)*.5) var(--ag-widget-container-horizontal-padding)}.ag-charts-data-group-container .ag-charts-data-group-item:not(.ag-charts-format-sub-level-group){height:var(--ag-list-item-height)}.ag-charts-data-group-container .ag-list-item-hovered:after{background-color:var(--ag-range-selection-border-color);content:"";height:1px;left:0;position:absolute;right:0}.ag-charts-data-group-container .ag-item-highlight-top:after{top:0}.ag-charts-data-group-container .ag-item-highlight-bottom:after{bottom:0}.ag-charts-format-top-level-group-container{margin-left:calc(var(--ag-grid-size)*2);padding:var(--ag-grid-size)}.ag-charts-format-top-level-group-item{margin:var(--ag-grid-size) 0}.ag-charts-format-sub-level-group-container{padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding);padding-bottom:calc(var(--ag-widget-container-vertical-padding) - var(--ag-widget-vertical-spacing))}.ag-charts-format-sub-level-group-container>*{margin-bottom:var(--ag-widget-vertical-spacing)}.ag-charts-settings-group-container{grid-row-gap:8px;display:grid;grid-template-columns:60px 1fr 60px 1fr 60px;padding:var(--ag-grid-size);row-gap:8px}.ag-charts-settings-group-container .ag-chart-mini-thumbnail:nth-child(3n+1){grid-column:1}.ag-charts-settings-group-container .ag-chart-mini-thumbnail:nth-child(3n+2){grid-column:3}.ag-charts-settings-group-container .ag-chart-mini-thumbnail:nth-child(3n+3){grid-column:5}.ag-chart-data-section,.ag-chart-format-section{display:flex;margin:0}.ag-chart-menu-panel{background-color:var(--ag-control-panel-background-color)}.ag-ltr .ag-chart-menu-panel{border-left:1px solid var(--ag-border-color)}.ag-rtl .ag-chart-menu-panel{border-right:1px solid var(--ag-border-color)}.ag-date-time-list-page-title-bar{display:flex}.ag-date-time-list-page-title{flex-grow:1;text-align:center}.ag-date-time-list-page-column-labels-row,.ag-date-time-list-page-entries-row{display:flex}.ag-date-time-list-page-column-label,.ag-date-time-list-page-entry{flex-basis:0;flex-grow:1}.ag-date-time-list-page-entry{cursor:pointer;text-align:center}.ag-date-time-list-page-column-label{text-align:center}.ag-advanced-filter-header{align-items:center;display:flex;padding-left:var(--ag-cell-horizontal-padding);padding-right:var(--ag-cell-horizontal-padding);position:relative}.ag-advanced-filter{align-items:center;display:flex;width:100%}.ag-advanced-filter-apply-button,.ag-advanced-filter-builder-button{line-height:normal;white-space:nowrap}.ag-ltr .ag-advanced-filter-apply-button,.ag-ltr .ag-advanced-filter-builder-button{margin-left:calc(var(--ag-grid-size)*2)}.ag-rtl .ag-advanced-filter-apply-button,.ag-rtl .ag-advanced-filter-builder-button{margin-right:calc(var(--ag-grid-size)*2)}.ag-advanced-filter-builder-button{align-items:center;background-color:unset;border:0;color:var(--ag-foreground-color);display:flex;font-size:var(--ag-font-size);font-weight:600}.ag-advanced-filter-builder-button:hover:not(:disabled){background-color:var(--ag-row-hover-color)}.ag-advanced-filter-builder-button:not(:disabled){cursor:pointer}.ag-advanced-filter-builder-button-label{margin-left:var(--ag-grid-size)}.ag-advanced-filter-builder{background-color:var(--ag-control-panel-background-color);display:flex;flex-direction:column;-webkit-user-select:none;user-select:none;width:100%}.ag-advanced-filter-builder-list{flex:1 1;overflow:auto}.ag-advanced-filter-builder-list .ag-list-item-hovered:after{background-color:var(--ag-range-selection-border-color);content:"";height:1px;left:0;position:absolute;right:0}.ag-advanced-filter-builder-list .ag-item-highlight-top:after{top:0}.ag-advanced-filter-builder-list .ag-item-highlight-bottom:after{bottom:0}.ag-advanced-filter-builder-button-panel{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color);display:flex;justify-content:flex-end;padding:var(--ag-widget-container-vertical-padding) var(--ag-widget-container-horizontal-padding)}.ag-advanced-filter-builder .ag-advanced-filter-builder-button-panel .ag-advanced-filter-builder-apply-button,.ag-advanced-filter-builder .ag-advanced-filter-builder-button-panel .ag-advanced-filter-builder-cancel-button{margin-left:calc(var(--ag-grid-size)*2)}.ag-advanced-filter-builder-item-wrapper{align-items:center;display:flex;flex:1 1 auto;justify-content:space-between;overflow:hidden;padding-left:calc(var(--ag-icon-size)/2);padding-right:var(--ag-icon-size)}.ag-advanced-filter-builder-item-tree-lines>*{width:var(--ag-advanced-filter-builder-indent-size)}.ag-advanced-filter-builder-item-tree-lines .ag-advanced-filter-builder-item-tree-line-root{width:var(--ag-icon-size)}.ag-advanced-filter-builder-item-tree-lines .ag-advanced-filter-builder-item-tree-line-root:before{height:50%;top:50%}.ag-advanced-filter-builder-item-tree-line-horizontal,.ag-advanced-filter-builder-item-tree-line-vertical,.ag-advanced-filter-builder-item-tree-line-vertical-bottom,.ag-advanced-filter-builder-item-tree-line-vertical-top{align-items:center;display:flex;height:100%;position:relative}.ag-advanced-filter-builder-item-tree-line-horizontal:after,.ag-advanced-filter-builder-item-tree-line-horizontal:before,.ag-advanced-filter-builder-item-tree-line-vertical-bottom:after,.ag-advanced-filter-builder-item-tree-line-vertical-bottom:before,.ag-advanced-filter-builder-item-tree-line-vertical-top:after,.ag-advanced-filter-builder-item-tree-line-vertical-top:before,.ag-advanced-filter-builder-item-tree-line-vertical:after,.ag-advanced-filter-builder-item-tree-line-vertical:before{content:"";height:100%;position:absolute}.ag-advanced-filter-builder-item-tree-line-horizontal:after{border-bottom:1px solid;border-bottom-color:var(--ag-border-color);border-left-color:var(--ag-border-color);border-right-color:var(--ag-border-color);border-top-color:var(--ag-border-color);height:50%;left:calc(var(--ag-icon-size)/2);top:0;width:calc(var(--ag-advanced-filter-builder-indent-size) - var(--ag-icon-size))}.ag-advanced-filter-builder-item-tree-line-vertical-top:before,.ag-advanced-filter-builder-item-tree-line-vertical:before{border-bottom-color:var(--ag-border-color);border-left:1px solid;border-left-color:var(--ag-border-color);border-right-color:var(--ag-border-color);border-top-color:var(--ag-border-color);left:calc(var(--ag-icon-size)/2);top:0;width:calc(var(--ag-advanced-filter-builder-indent-size) - var(--ag-icon-size)/2)}.ag-advanced-filter-builder-item-tree-line-vertical-top:before{height:50%}.ag-advanced-filter-builder-item-tree-line-vertical-bottom:before{border-bottom-color:var(--ag-border-color);border-left:1px solid;border-left-color:var(--ag-border-color);border-right-color:var(--ag-border-color);border-top-color:var(--ag-border-color);height:calc(50% - var(--ag-icon-size)*1.5/2);left:calc(var(--ag-icon-size)/2);top:calc(50% + var(--ag-icon-size)*1.5/2);width:calc(var(--ag-icon-size)/2)}.ag-advanced-filter-builder-item-condition{padding-bottom:var(--ag-grid-size);padding-top:var(--ag-grid-size)}.ag-advanced-filter-builder-item,.ag-advanced-filter-builder-item-buttons,.ag-advanced-filter-builder-item-condition,.ag-advanced-filter-builder-item-tree-lines,.ag-advanced-filter-builder-pill,.ag-advanced-filter-builder-pill-wrapper{align-items:center;display:flex;height:100%}.ag-advanced-filter-builder-pill-wrapper{margin:0 var(--ag-grid-size)}.ag-advanced-filter-builder-pill{border-radius:var(--ag-border-radius);min-height:calc(100% - var(--ag-grid-size)*3);min-width:calc(var(--ag-grid-size)*2);padding:var(--ag-grid-size) calc(var(--ag-grid-size)*2);position:relative}.ag-advanced-filter-builder-pill .ag-picker-field-display{margin-right:var(--ag-grid-size)}.ag-advanced-filter-builder-pill .ag-advanced-filter-builder-value-number{font-family:monospace;font-weight:700}.ag-advanced-filter-builder-pill .ag-advanced-filter-builder-value-empty{color:var(--ag-disabled-foreground-color)}.ag-advanced-filter-builder-pill:focus-visible{outline:none}.ag-advanced-filter-builder-pill:focus-visible:after{background-color:#0000;border:1px solid;border-color:var(--ag-input-focus-border-color);content:"";display:block;height:calc(100% + 8px);left:-4px;pointer-events:none;position:absolute;top:-4px;width:calc(100% + 8px)}.ag-advanced-filter-builder-item-button:focus-visible{outline:none}.ag-advanced-filter-builder-item-button:focus-visible:after{background-color:#0000;border:1px solid;border-color:var(--ag-input-focus-border-color);content:"";display:block;height:calc(100% + 8px);left:-4px;pointer-events:none;position:absolute;top:-4px;width:calc(100% + 8px)}.ag-advanced-filter-builder-pill-display{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-advanced-filter-builder-join-pill{background-color:var(--ag-advanced-filter-join-pill-color);color:var(--ag-foreground-color);cursor:pointer}.ag-advanced-filter-builder-column-pill{background-color:var(--ag-advanced-filter-column-pill-color);color:var(--ag-foreground-color);cursor:pointer}.ag-advanced-filter-builder-option-pill{background-color:var(--ag-advanced-filter-option-pill-color);color:var(--ag-foreground-color);cursor:pointer}.ag-advanced-filter-builder-value-pill{background-color:var(--ag-advanced-filter-value-pill-color);color:var(--ag-foreground-color);cursor:text;max-width:140px}.ag-advanced-filter-builder-value-pill .ag-advanced-filter-builder-pill-display{display:block}.ag-advanced-filter-builder-item-buttons>*{margin:0 calc(var(--ag-grid-size)*.5)}.ag-advanced-filter-builder-item-button{color:var(--ag-secondary-foreground-color);cursor:pointer;opacity:50%;position:relative}.ag-advanced-filter-builder-item-button-disabled{color:var(--ag-disabled-foreground-color);cursor:default}.ag-advanced-filter-builder-virtual-list-container{top:var(--ag-grid-size)}.ag-advanced-filter-builder-virtual-list-item{cursor:default;display:flex;height:var(--ag-list-item-height)}.ag-advanced-filter-builder-virtual-list-item:hover{background-color:var(--ag-row-hover-color)}.ag-advanced-filter-builder-virtual-list-item:hover .ag-advanced-filter-builder-item-button{opacity:100%}.ag-advanced-filter-builder-validation .ag-advanced-filter-builder-invalid,.ag-advanced-filter-builder-virtual-list-item-highlight .ag-advanced-filter-builder-item-button:focus-visible{opacity:100%}.ag-advanced-filter-builder-invalid{color:var(--ag-invalid-color);cursor:default;margin:0 var(--ag-grid-size)}.ag-input-field-input{min-width:0;width:100%}.ag-checkbox-input-wrapper{font-feature-settings:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--ag-checkbox-background-color);border-radius:var(--ag-checkbox-border-radius);color:var(--ag-icon-font-color);display:inline-block;flex:none;font-family:var(--ag-icon-font-family);font-size:var(--ag-icon-size);font-style:normal;font-variant:normal;font-weight:var(--ag-icon-font-weight);height:var(--ag-icon-size);line-height:var(--ag-icon-size);text-transform:none;vertical-align:middle;width:var(--ag-icon-size)}.ag-checkbox-input-wrapper input{-webkit-appearance:none;height:100%;opacity:0;width:100%}.ag-checkbox-input-wrapper:active,.ag-checkbox-input-wrapper:focus-within{box-shadow:var(--ag-input-focus-box-shadow);outline:none}.ag-checkbox-input-wrapper.ag-disabled{opacity:.5}.ag-checkbox-input-wrapper:after{color:var(--ag-checkbox-unchecked-color);content:var(--ag-icon-font-code-checkbox-unchecked,"\f108");display:var(--ag-icon-font-display-checkbox-unchecked,var(--ag-icon-font-display));left:0;pointer-events:none;position:absolute;top:0}.ag-checkbox-input-wrapper.ag-checked:after{color:var(--ag-checkbox-checked-color);content:var(--ag-icon-font-code-checkbox-checked,"\f106");display:var(--ag-icon-font-display-checkbox-checked,var(--ag-icon-font-display));left:0;pointer-events:none;position:absolute;top:0}.ag-checkbox-input-wrapper.ag-indeterminate:after{color:var(--ag-checkbox-indeterminate-color);content:var(--ag-icon-font-code-checkbox-indeterminate,"\f107");display:var(--ag-icon-font-display-checkbox-indeterminate,var(--ag-icon-font-display));left:0;pointer-events:none;position:absolute;top:0}.ag-checkbox-input-wrapper:before{background:#0000 50%/contain no-repeat;background-image:var(--ag-icon-image-checkbox-unchecked,var(--ag-icon-image));content:"";display:var(--ag-icon-image-display-checkbox-unchecked,var(--ag-icon-image-display));inset:0;opacity:var(--ag-icon-image-opacity-checkbox-unchecked,var(--ag-icon-image-opacity,.9));position:absolute}.ag-checkbox-input-wrapper.ag-checked:before{background-image:var(--ag-icon-image-checkbox-checked,var(--ag-icon-image));display:var(--ag-icon-image-display-checkbox-checked,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-checkbox-checked,var(--ag-icon-image-opacity,.9))}.ag-checkbox-input-wrapper.ag-indeterminate:before{background-image:var(--ag-icon-image-checkbox-indeterminate,var(--ag-icon-image));display:var(--ag-icon-image-display-checkbox-indeterminate,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-checkbox-indeterminate,var(--ag-icon-image-opacity,.9))}.ag-toggle-button-input-wrapper{background-color:var(--ag-toggle-button-off-background-color);border:var(--ag-toggle-button-border-width) solid;border-color:var(--ag-toggle-button-off-border-color);border-radius:calc(var(--ag-toggle-button-height)*.5);box-sizing:border-box;flex:none;height:var(--ag-toggle-button-height);max-width:var(--ag-toggle-button-width);min-width:var(--ag-toggle-button-width);position:relative;width:var(--ag-toggle-button-width)}.ag-toggle-button-input-wrapper input{height:100%;opacity:0;width:100%}.ag-toggle-button-input-wrapper:focus-within{box-shadow:var(--ag-input-focus-box-shadow);outline:none}.ag-toggle-button-input-wrapper.ag-disabled{opacity:.5}.ag-toggle-button-input-wrapper.ag-checked{background-color:var(--ag-toggle-button-on-background-color);border-color:var(--ag-toggle-button-on-border-color)}.ag-toggle-button-input-wrapper:before{background-color:var(--ag-toggle-button-switch-background-color);border:var(--ag-toggle-button-border-width) solid;border-color:var(--ag-toggle-button-switch-border-color);border-radius:100%;box-sizing:border-box;content:" ";display:block;height:var(--ag-toggle-button-height);left:calc(0px - var(--ag-toggle-button-border-width));position:absolute;top:calc(0px - var(--ag-toggle-button-border-width));transition:left .1s;width:var(--ag-toggle-button-height)}.ag-toggle-button-input-wrapper.ag-checked:before{border-color:var(--ag-toggle-button-on-border-color);left:calc(100% - var(--ag-toggle-button-height) + var(--ag-toggle-button-border-width))}.ag-radio-button-input-wrapper{font-feature-settings:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--ag-checkbox-background-color);border-radius:var(--ag-checkbox-border-radius);border-radius:var(--ag-icon-size);color:var(--ag-icon-font-color);display:inline-block;flex:none;font-family:var(--ag-icon-font-family);font-size:var(--ag-icon-size);font-style:normal;font-variant:normal;font-weight:var(--ag-icon-font-weight);height:var(--ag-icon-size);line-height:var(--ag-icon-size);text-transform:none;vertical-align:middle;width:var(--ag-icon-size)}.ag-radio-button-input-wrapper input{-webkit-appearance:none;height:100%;opacity:0;width:100%}.ag-radio-button-input-wrapper:active,.ag-radio-button-input-wrapper:focus-within{box-shadow:var(--ag-input-focus-box-shadow);outline:none}.ag-radio-button-input-wrapper.ag-disabled{opacity:.5}.ag-radio-button-input-wrapper:after{color:var(--ag-checkbox-unchecked-color);content:var(--ag-icon-font-code-radio-button-off,"\f127");display:var(--ag-icon-font-display-radio-button-off,var(--ag-icon-font-display));left:0;pointer-events:none;position:absolute;top:0}.ag-radio-button-input-wrapper.ag-checked:after{color:var(--ag-checkbox-checked-color);content:var(--ag-icon-font-code-radio-button-on,"\f128");display:var(--ag-icon-font-display-radio-button-on,var(--ag-icon-font-display));left:0;pointer-events:none;position:absolute;top:0}.ag-radio-button-input-wrapper:before{background:#0000 50%/contain no-repeat;background-image:var(--ag-icon-image-radio-button-off,var(--ag-icon-image));content:"";display:var(--ag-icon-image-display-radio-button-off,var(--ag-icon-image-display));inset:0;opacity:var(--ag-icon-image-opacity-radio-button-off,var(--ag-icon-image-opacity,.9));position:absolute}.ag-radio-button-input-wrapper.ag-checked:before{background-image:var(--ag-icon-image-radio-button-on,var(--ag-icon-image));display:var(--ag-icon-image-display-radio-button-on,var(--ag-icon-image-display));opacity:var(--ag-icon-image-opacity-radio-button-on,var(--ag-icon-image-opacity,.9))}input[class^=ag-][type=range]{-webkit-appearance:none;background:none;height:100%;overflow:visible;width:100%}input[class^=ag-][type=range]::-webkit-slider-runnable-track{background-color:var(--ag-border-color);border-radius:var(--ag-border-radius);border-radius:var(--ag-checkbox-border-radius);height:3px;margin:0;padding:0;width:100%}input[class^=ag-][type=range]::-moz-range-track{background-color:var(--ag-border-color);border-radius:var(--ag-border-radius);border-radius:var(--ag-checkbox-border-radius);height:3px;margin:0;padding:0;width:100%}input[class^=ag-][type=range]::-ms-track{background-color:var(--ag-border-color);border-radius:var(--ag-border-radius);border-radius:var(--ag-checkbox-border-radius);color:#0000;height:3px;margin:0;padding:0;width:100%;width:calc(100% - 2px)}input[class^=ag-][type=range]::-webkit-slider-thumb{-webkit-appearance:none;background-color:var(--ag-background-color);border:1px solid;border-color:var(--ag-checkbox-unchecked-color);border-radius:var(--ag-icon-size);height:var(--ag-icon-size);margin:0;padding:0;transform:translateY(calc(var(--ag-icon-size)*-.5 + 1.5px));width:var(--ag-icon-size)}input[class^=ag-][type=range]::-ms-thumb{-webkit-appearance:none;background-color:var(--ag-background-color);border:1px solid;border-color:var(--ag-checkbox-unchecked-color);border-radius:var(--ag-icon-size);height:var(--ag-icon-size);margin:0;padding:0;width:var(--ag-icon-size)}input[class^=ag-][type=range]::-moz-ag-range-thumb{-webkit-appearance:none;background-color:var(--ag-background-color);border:1px solid;border-color:var(--ag-checkbox-unchecked-color);border-radius:var(--ag-icon-size);height:var(--ag-icon-size);margin:0;padding:0;width:var(--ag-icon-size)}input[class^=ag-][type=range]:focus{outline:none}input[class^=ag-][type=range]:focus::-webkit-slider-thumb{border-color:var(--ag-checkbox-checked-color);box-shadow:var(--ag-input-focus-box-shadow)}input[class^=ag-][type=range]:focus::-ms-thumb{border-color:var(--ag-checkbox-checked-color);box-shadow:var(--ag-input-focus-box-shadow)}input[class^=ag-][type=range]:focus::-moz-ag-range-thumb{border-color:var(--ag-checkbox-checked-color);box-shadow:var(--ag-input-focus-box-shadow)}input[class^=ag-][type=range]:active::-webkit-slider-runnable-track{background-color:var(--ag-input-focus-border-color)}input[class^=ag-][type=range]:active::-moz-ag-range-track{background-color:var(--ag-input-focus-border-color)}input[class^=ag-][type=range]:active::-ms-track{background-color:var(--ag-input-focus-border-color)}input[class^=ag-][type=range]:disabled{opacity:.5}.ag-theme-alpine,.ag-theme-alpine-auto-dark,.ag-theme-alpine-dark{--ag-alpine-active-color:#2196f3;--ag-selected-row-background-color:#2196f34d;--ag-row-hover-color:#2196f31a;--ag-column-hover-color:#2196f31a;--ag-input-focus-border-color:#2196f366;--ag-range-selection-background-color:#2196f333;--ag-range-selection-background-color-2:#2196f35c;--ag-range-selection-background-color-3:#2196f37d;--ag-range-selection-background-color-4:#2196f396;--ag-background-color:#fff;--ag-foreground-color:#181d1f;--ag-border-color:#babfc7;--ag-secondary-border-color:#dde2eb;--ag-header-background-color:#f8f8f8;--ag-tooltip-background-color:#f8f8f8;--ag-odd-row-background-color:#fcfcfc;--ag-control-panel-background-color:#f8f8f8;--ag-subheader-background-color:#fff;--ag-invalid-color:#e02525;--ag-checkbox-unchecked-color:#999;--ag-advanced-filter-join-pill-color:#f08e8d;--ag-advanced-filter-column-pill-color:#a6e194;--ag-advanced-filter-option-pill-color:#f3c08b;--ag-advanced-filter-value-pill-color:#85c0e4;--ag-checkbox-background-color:var(--ag-background-color);--ag-checkbox-checked-color:var(--ag-alpine-active-color);--ag-range-selection-border-color:var(--ag-alpine-active-color);--ag-secondary-foreground-color:var(--ag-foreground-color);--ag-input-border-color:var(--ag-border-color);--ag-input-border-color-invalid:var(--ag-invalid-color);--ag-input-focus-box-shadow:0 0 2px 0.1rem var(--ag-input-focus-border-color);--ag-panel-background-color:var(--ag-header-background-color);--ag-menu-background-color:var(--ag-header-background-color);--ag-disabled-foreground-color:#181d1f80;--ag-chip-background-color:#181d1f12;--ag-input-disabled-border-color:#babfc74d;--ag-input-disabled-background-color:#babfc726;--ag-borders:solid 1px;--ag-border-radius:3px;--ag-borders-side-button:none;--ag-side-button-selected-background-color:#0000;--ag-header-column-resize-handle-display:block;--ag-header-column-resize-handle-width:2px;--ag-header-column-resize-handle-height:30%;--ag-grid-size:6px;--ag-icon-size:16px;--ag-row-height:calc(var(--ag-grid-size)*7);--ag-header-height:calc(var(--ag-grid-size)*8);--ag-list-item-height:calc(var(--ag-grid-size)*4);--ag-column-select-indent-size:var(--ag-icon-size);--ag-set-filter-indent-size:var(--ag-icon-size);--ag-advanced-filter-builder-indent-size:calc(var(--ag-icon-size) + var(--ag-grid-size)*2);--ag-cell-horizontal-padding:calc(var(--ag-grid-size)*3);--ag-cell-widget-spacing:calc(var(--ag-grid-size)*2);--ag-widget-container-vertical-padding:calc(var(--ag-grid-size)*2);--ag-widget-container-horizontal-padding:calc(var(--ag-grid-size)*2);--ag-widget-vertical-spacing:calc(var(--ag-grid-size)*1.5);--ag-toggle-button-height:18px;--ag-toggle-button-width:28px;--ag-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;--ag-font-size:13px;--ag-icon-font-family:agGridAlpine;--ag-selected-tab-underline-color:var(--ag-alpine-active-color);--ag-selected-tab-underline-width:2px;--ag-selected-tab-underline-transition-speed:0.3s;--ag-tab-min-width:240px;--ag-card-shadow:0 1px 4px 1px #babfc766;--ag-popup-shadow:var(--ag-card-shadow);--ag-side-bar-panel-width:250px}.ag-theme-alpine-dark{--ag-background-color:#181d1f;--ag-foreground-color:#fff;--ag-border-color:#68686e;--ag-secondary-border-color:#58565280;--ag-modal-overlay-background-color:#181d1fa8;--ag-header-background-color:#222628;--ag-tooltip-background-color:#222628;--ag-odd-row-background-color:#222628;--ag-control-panel-background-color:#222628;--ag-subheader-background-color:#000;--ag-input-disabled-background-color:#282c2f;--ag-input-focus-box-shadow:0 0 2px 0.5px #ffffff80,0 0 4px 3px var(--ag-input-focus-border-color);--ag-card-shadow:0 1px 20px 1px #000;--ag-disabled-foreground-color:#ffffff80;--ag-chip-background-color:#ffffff12;--ag-input-disabled-border-color:#68686e4d;--ag-input-disabled-background-color:#68686e12;--ag-advanced-filter-join-pill-color:#7a3a37;--ag-advanced-filter-column-pill-color:#355f2d;--ag-advanced-filter-option-pill-color:#5a3168;--ag-advanced-filter-value-pill-color:#374c86;color-scheme:dark}@media(prefers-color-scheme:dark){.ag-theme-alpine-auto-dark{--ag-background-color:#181d1f;--ag-foreground-color:#fff;--ag-border-color:#68686e;--ag-secondary-border-color:#58565280;--ag-modal-overlay-background-color:#181d1fa8;--ag-header-background-color:#222628;--ag-tooltip-background-color:#222628;--ag-odd-row-background-color:#222628;--ag-control-panel-background-color:#222628;--ag-subheader-background-color:#000;--ag-input-disabled-background-color:#282c2f;--ag-input-focus-box-shadow:0 0 2px 0.5px #ffffff80,0 0 4px 3px var(--ag-input-focus-border-color);--ag-card-shadow:0 1px 20px 1px #000;--ag-disabled-foreground-color:#ffffff80;--ag-chip-background-color:#ffffff12;--ag-input-disabled-border-color:#68686e4d;--ag-input-disabled-background-color:#68686e12;--ag-advanced-filter-join-pill-color:#7a3a37;--ag-advanced-filter-column-pill-color:#355f2d;--ag-advanced-filter-option-pill-color:#5a3168;--ag-advanced-filter-value-pill-color:#374c86;color-scheme:dark}}.ag-theme-alpine-auto-dark .ag-filter-toolpanel-header,.ag-theme-alpine-auto-dark .ag-filter-toolpanel-search,.ag-theme-alpine-auto-dark .ag-header-row,.ag-theme-alpine-auto-dark .ag-multi-filter-group-title-bar,.ag-theme-alpine-auto-dark .ag-panel-title-bar-title,.ag-theme-alpine-auto-dark .ag-status-bar,.ag-theme-alpine-dark .ag-filter-toolpanel-header,.ag-theme-alpine-dark .ag-filter-toolpanel-search,.ag-theme-alpine-dark .ag-header-row,.ag-theme-alpine-dark .ag-multi-filter-group-title-bar,.ag-theme-alpine-dark .ag-panel-title-bar-title,.ag-theme-alpine-dark .ag-status-bar,.ag-theme-alpine .ag-filter-toolpanel-header,.ag-theme-alpine .ag-filter-toolpanel-search,.ag-theme-alpine .ag-header-row,.ag-theme-alpine .ag-multi-filter-group-title-bar,.ag-theme-alpine .ag-panel-title-bar-title,.ag-theme-alpine .ag-status-bar{color:var(--ag-header-foreground-color);font-weight:700}.ag-theme-alpine-auto-dark .ag-row,.ag-theme-alpine-dark .ag-row,.ag-theme-alpine .ag-row{font-size:calc(var(--ag-font-size) + 1px)}.ag-theme-alpine-auto-dark input[class^=ag-]:not([type]),.ag-theme-alpine-auto-dark input[class^=ag-][type=date],.ag-theme-alpine-auto-dark input[class^=ag-][type=datetime-local],.ag-theme-alpine-auto-dark input[class^=ag-][type=number],.ag-theme-alpine-auto-dark input[class^=ag-][type=tel],.ag-theme-alpine-auto-dark input[class^=ag-][type=text],.ag-theme-alpine-auto-dark textarea[class^=ag-],.ag-theme-alpine-dark input[class^=ag-]:not([type]),.ag-theme-alpine-dark input[class^=ag-][type=date],.ag-theme-alpine-dark input[class^=ag-][type=datetime-local],.ag-theme-alpine-dark input[class^=ag-][type=number],.ag-theme-alpine-dark input[class^=ag-][type=tel],.ag-theme-alpine-dark input[class^=ag-][type=text],.ag-theme-alpine-dark textarea[class^=ag-],.ag-theme-alpine input[class^=ag-]:not([type]),.ag-theme-alpine input[class^=ag-][type=date],.ag-theme-alpine input[class^=ag-][type=datetime-local],.ag-theme-alpine input[class^=ag-][type=number],.ag-theme-alpine input[class^=ag-][type=tel],.ag-theme-alpine input[class^=ag-][type=text],.ag-theme-alpine textarea[class^=ag-]{border-radius:var(--ag-border-radius);min-height:calc(var(--ag-grid-size)*4)}.ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-]:not([type]),.ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-][type=date],.ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-][type=number],.ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-][type=tel],.ag-theme-alpine-auto-dark .ag-ltr input[class^=ag-][type=text],.ag-theme-alpine-auto-dark .ag-ltr textarea[class^=ag-],.ag-theme-alpine-dark .ag-ltr input[class^=ag-]:not([type]),.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=date],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=number],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=tel],.ag-theme-alpine-dark .ag-ltr input[class^=ag-][type=text],.ag-theme-alpine-dark .ag-ltr textarea[class^=ag-],.ag-theme-alpine .ag-ltr input[class^=ag-]:not([type]),.ag-theme-alpine .ag-ltr input[class^=ag-][type=date],.ag-theme-alpine .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-alpine .ag-ltr input[class^=ag-][type=number],.ag-theme-alpine .ag-ltr input[class^=ag-][type=tel],.ag-theme-alpine .ag-ltr input[class^=ag-][type=text],.ag-theme-alpine .ag-ltr textarea[class^=ag-]{padding-left:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-]:not([type]),.ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-][type=date],.ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-][type=number],.ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-][type=tel],.ag-theme-alpine-auto-dark .ag-rtl input[class^=ag-][type=text],.ag-theme-alpine-auto-dark .ag-rtl textarea[class^=ag-],.ag-theme-alpine-dark .ag-rtl input[class^=ag-]:not([type]),.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=date],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=number],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=tel],.ag-theme-alpine-dark .ag-rtl input[class^=ag-][type=text],.ag-theme-alpine-dark .ag-rtl textarea[class^=ag-],.ag-theme-alpine .ag-rtl input[class^=ag-]:not([type]),.ag-theme-alpine .ag-rtl input[class^=ag-][type=date],.ag-theme-alpine .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-alpine .ag-rtl input[class^=ag-][type=number],.ag-theme-alpine .ag-rtl input[class^=ag-][type=tel],.ag-theme-alpine .ag-rtl input[class^=ag-][type=text],.ag-theme-alpine .ag-rtl textarea[class^=ag-]{padding-right:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-tab,.ag-theme-alpine-dark .ag-tab,.ag-theme-alpine .ag-tab{flex:1 1 auto;padding:calc(var(--ag-grid-size)*1.5);transition:color .4s}.ag-theme-alpine-auto-dark .ag-tab-selected,.ag-theme-alpine-dark .ag-tab-selected,.ag-theme-alpine .ag-tab-selected{color:var(--ag-alpine-active-color)}.ag-theme-alpine-auto-dark .ag-menu,.ag-theme-alpine-auto-dark .ag-panel-content-wrapper .ag-column-select,.ag-theme-alpine-dark .ag-menu,.ag-theme-alpine-dark .ag-panel-content-wrapper .ag-column-select,.ag-theme-alpine .ag-menu,.ag-theme-alpine .ag-panel-content-wrapper .ag-column-select{background-color:var(--ag-control-panel-background-color)}.ag-theme-alpine-auto-dark .ag-menu-header,.ag-theme-alpine-dark .ag-menu-header,.ag-theme-alpine .ag-menu-header{background-color:var(--ag-control-panel-background-color);padding-top:1px}.ag-theme-alpine-auto-dark .ag-tabs-header,.ag-theme-alpine-dark .ag-tabs-header,.ag-theme-alpine .ag-tabs-header{border-bottom:var(--ag-borders) var(--ag-border-color)}.ag-theme-alpine-auto-dark .ag-charts-data-group-title-bar,.ag-theme-alpine-auto-dark .ag-charts-format-top-level-group-title-bar,.ag-theme-alpine-auto-dark .ag-charts-settings-group-title-bar,.ag-theme-alpine-dark .ag-charts-data-group-title-bar,.ag-theme-alpine-dark .ag-charts-format-top-level-group-title-bar,.ag-theme-alpine-dark .ag-charts-settings-group-title-bar,.ag-theme-alpine .ag-charts-data-group-title-bar,.ag-theme-alpine .ag-charts-format-top-level-group-title-bar,.ag-theme-alpine .ag-charts-settings-group-title-bar{line-height:calc(var(--ag-icon-size) + var(--ag-grid-size) - 2px);padding:var(--ag-grid-size) calc(var(--ag-grid-size)*2)}.ag-theme-alpine-auto-dark .ag-chart-mini-thumbnail,.ag-theme-alpine-dark .ag-chart-mini-thumbnail,.ag-theme-alpine .ag-chart-mini-thumbnail{background-color:var(--ag-background-color)}.ag-theme-alpine-auto-dark .ag-chart-settings-nav-bar,.ag-theme-alpine-dark .ag-chart-settings-nav-bar,.ag-theme-alpine .ag-chart-settings-nav-bar{border-top:var(--ag-borders-secondary) var(--ag-secondary-border-color)}.ag-theme-alpine-auto-dark .ag-ltr .ag-group-title-bar-icon,.ag-theme-alpine-dark .ag-ltr .ag-group-title-bar-icon,.ag-theme-alpine .ag-ltr .ag-group-title-bar-icon{margin-right:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-rtl .ag-group-title-bar-icon,.ag-theme-alpine-dark .ag-rtl .ag-group-title-bar-icon,.ag-theme-alpine .ag-rtl .ag-group-title-bar-icon{margin-left:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine-dark .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine .ag-charts-format-top-level-group-toolbar{margin-top:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-ltr .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine-dark .ag-ltr .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine .ag-ltr .ag-charts-format-top-level-group-toolbar{padding-left:calc(var(--ag-icon-size)*.5 + var(--ag-grid-size)*2)}.ag-theme-alpine-auto-dark .ag-rtl .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine-dark .ag-rtl .ag-charts-format-top-level-group-toolbar,.ag-theme-alpine .ag-rtl .ag-charts-format-top-level-group-toolbar{padding-right:calc(var(--ag-icon-size)*.5 + var(--ag-grid-size)*2)}.ag-theme-alpine-auto-dark .ag-charts-format-sub-level-group,.ag-theme-alpine-dark .ag-charts-format-sub-level-group,.ag-theme-alpine .ag-charts-format-sub-level-group{border-left:1px dashed;border-left-color:var(--ag-border-color);margin-bottom:calc(var(--ag-grid-size)*2);padding-left:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-charts-format-sub-level-group-title-bar,.ag-theme-alpine-dark .ag-charts-format-sub-level-group-title-bar,.ag-theme-alpine .ag-charts-format-sub-level-group-title-bar{background:none;font-weight:700;padding-bottom:0;padding-top:0}.ag-theme-alpine-auto-dark .ag-charts-format-sub-level-group-container,.ag-theme-alpine-dark .ag-charts-format-sub-level-group-container,.ag-theme-alpine .ag-charts-format-sub-level-group-container{padding-bottom:0}.ag-theme-alpine-auto-dark .ag-charts-format-sub-level-group-item:last-child,.ag-theme-alpine-dark .ag-charts-format-sub-level-group-item:last-child,.ag-theme-alpine .ag-charts-format-sub-level-group-item:last-child{margin-bottom:0}.ag-theme-alpine-auto-dark.ag-dnd-ghost,.ag-theme-alpine-dark.ag-dnd-ghost,.ag-theme-alpine.ag-dnd-ghost{font-size:calc(var(--ag-font-size) - 1px);font-weight:700}.ag-theme-alpine-auto-dark .ag-side-buttons,.ag-theme-alpine-dark .ag-side-buttons,.ag-theme-alpine .ag-side-buttons{width:calc(var(--ag-grid-size)*5)}.ag-theme-alpine-auto-dark .ag-standard-button,.ag-theme-alpine-dark .ag-standard-button,.ag-theme-alpine .ag-standard-button{appearance:none;-webkit-appearance:none;background-color:var(--ag-background-color);border:1px solid;border-color:var(--ag-alpine-active-color);border-radius:var(--ag-border-radius);color:var(--ag-alpine-active-color);font-family:inherit;font-weight:600;padding:var(--ag-grid-size) calc(var(--ag-grid-size)*2)}.ag-theme-alpine-auto-dark .ag-standard-button:hover,.ag-theme-alpine-dark .ag-standard-button:hover,.ag-theme-alpine .ag-standard-button:hover{background-color:var(--ag-row-hover-color);border-color:var(--ag-alpine-active-color)}.ag-theme-alpine-auto-dark .ag-standard-button:active,.ag-theme-alpine-dark .ag-standard-button:active,.ag-theme-alpine .ag-standard-button:active{background-color:var(--ag-alpine-active-color);border-color:var(--ag-alpine-active-color);color:var(--ag-background-color)}.ag-theme-alpine-auto-dark .ag-standard-button:disabled,.ag-theme-alpine-dark .ag-standard-button:disabled,.ag-theme-alpine .ag-standard-button:disabled{background-color:var(--ag-input-disabled-background-color);border-color:var(--ag-input-disabled-border-color);color:var(--ag-disabled-foreground-color)}.ag-theme-alpine-auto-dark .ag-column-drop-vertical,.ag-theme-alpine-dark .ag-column-drop-vertical,.ag-theme-alpine .ag-column-drop-vertical{min-height:75px}.ag-theme-alpine-auto-dark .ag-column-drop-vertical-title-bar,.ag-theme-alpine-dark .ag-column-drop-vertical-title-bar,.ag-theme-alpine .ag-column-drop-vertical-title-bar{padding:calc(var(--ag-grid-size)*2);padding-bottom:0}.ag-theme-alpine-auto-dark .ag-column-drop-vertical-empty-message,.ag-theme-alpine-dark .ag-column-drop-vertical-empty-message,.ag-theme-alpine .ag-column-drop-vertical-empty-message{align-items:center;border:1px dashed;border-color:var(--ag-border-color);display:flex;margin:calc(var(--ag-grid-size)*2);padding:calc(var(--ag-grid-size)*2)}.ag-theme-alpine-auto-dark .ag-column-drop-empty-message,.ag-theme-alpine-dark .ag-column-drop-empty-message,.ag-theme-alpine .ag-column-drop-empty-message{color:var(--ag-foreground-color);opacity:.75}.ag-theme-alpine-auto-dark .ag-status-bar,.ag-theme-alpine-dark .ag-status-bar,.ag-theme-alpine .ag-status-bar{font-weight:400}.ag-theme-alpine-auto-dark .ag-paging-number,.ag-theme-alpine-auto-dark .ag-paging-row-summary-panel-number,.ag-theme-alpine-auto-dark .ag-status-name-value-value,.ag-theme-alpine-dark .ag-paging-number,.ag-theme-alpine-dark .ag-paging-row-summary-panel-number,.ag-theme-alpine-dark .ag-status-name-value-value,.ag-theme-alpine .ag-paging-number,.ag-theme-alpine .ag-paging-row-summary-panel-number,.ag-theme-alpine .ag-status-name-value-value{font-weight:700}.ag-theme-alpine-auto-dark .ag-column-drop-cell-button,.ag-theme-alpine-dark .ag-column-drop-cell-button,.ag-theme-alpine .ag-column-drop-cell-button{opacity:.5}.ag-theme-alpine-auto-dark .ag-column-drop-cell-button:hover,.ag-theme-alpine-dark .ag-column-drop-cell-button:hover,.ag-theme-alpine .ag-column-drop-cell-button:hover{opacity:.75}.ag-theme-alpine-auto-dark .ag-column-select-column-readonly.ag-icon-grip,.ag-theme-alpine-auto-dark .ag-column-select-column-readonly .ag-icon-grip,.ag-theme-alpine-dark .ag-column-select-column-readonly.ag-icon-grip,.ag-theme-alpine-dark .ag-column-select-column-readonly .ag-icon-grip,.ag-theme-alpine .ag-column-select-column-readonly.ag-icon-grip,.ag-theme-alpine .ag-column-select-column-readonly .ag-icon-grip{opacity:.35}.ag-theme-alpine-auto-dark .ag-chart-menu-close:hover,.ag-theme-alpine-auto-dark .ag-chart-menu-icon:hover,.ag-theme-alpine-auto-dark .ag-chart-settings-next:hover,.ag-theme-alpine-auto-dark .ag-chart-settings-prev:hover,.ag-theme-alpine-auto-dark .ag-column-group-icons:hover,.ag-theme-alpine-auto-dark .ag-column-select-header-icon:hover,.ag-theme-alpine-auto-dark .ag-filter-toolpanel-expand:hover,.ag-theme-alpine-auto-dark .ag-floating-filter-button-button:hover,.ag-theme-alpine-auto-dark .ag-group-contracted .ag-icon:hover,.ag-theme-alpine-auto-dark .ag-group-expanded .ag-icon:hover,.ag-theme-alpine-auto-dark .ag-group-title-bar-icon:hover,.ag-theme-alpine-auto-dark .ag-header-cell-filter-button:hover,.ag-theme-alpine-auto-dark .ag-header-cell-menu-button:hover,.ag-theme-alpine-auto-dark .ag-header-expand-icon:hover,.ag-theme-alpine-auto-dark .ag-panel-title-bar-button:hover,.ag-theme-alpine-auto-dark .ag-set-filter-group-icons:hover,.ag-theme-alpine-auto-dark .ag-side-button-button:hover,.ag-theme-alpine-auto-dark .ag-tab:hover,.ag-theme-alpine-dark .ag-chart-menu-close:hover,.ag-theme-alpine-dark .ag-chart-menu-icon:hover,.ag-theme-alpine-dark .ag-chart-settings-next:hover,.ag-theme-alpine-dark .ag-chart-settings-prev:hover,.ag-theme-alpine-dark .ag-column-group-icons:hover,.ag-theme-alpine-dark .ag-column-select-header-icon:hover,.ag-theme-alpine-dark .ag-filter-toolpanel-expand:hover,.ag-theme-alpine-dark .ag-floating-filter-button-button:hover,.ag-theme-alpine-dark .ag-group-contracted .ag-icon:hover,.ag-theme-alpine-dark .ag-group-expanded .ag-icon:hover,.ag-theme-alpine-dark .ag-group-title-bar-icon:hover,.ag-theme-alpine-dark .ag-header-cell-filter-button:hover,.ag-theme-alpine-dark .ag-header-cell-menu-button:hover,.ag-theme-alpine-dark .ag-header-expand-icon:hover,.ag-theme-alpine-dark .ag-panel-title-bar-button:hover,.ag-theme-alpine-dark .ag-set-filter-group-icons:hover,.ag-theme-alpine-dark .ag-side-button-button:hover,.ag-theme-alpine-dark .ag-tab:hover,.ag-theme-alpine .ag-chart-menu-close:hover,.ag-theme-alpine .ag-chart-menu-icon:hover,.ag-theme-alpine .ag-chart-settings-next:hover,.ag-theme-alpine .ag-chart-settings-prev:hover,.ag-theme-alpine .ag-column-group-icons:hover,.ag-theme-alpine .ag-column-select-header-icon:hover,.ag-theme-alpine .ag-filter-toolpanel-expand:hover,.ag-theme-alpine .ag-floating-filter-button-button:hover,.ag-theme-alpine .ag-group-contracted .ag-icon:hover,.ag-theme-alpine .ag-group-expanded .ag-icon:hover,.ag-theme-alpine .ag-group-title-bar-icon:hover,.ag-theme-alpine .ag-header-cell-filter-button:hover,.ag-theme-alpine .ag-header-cell-menu-button:hover,.ag-theme-alpine .ag-header-expand-icon:hover,.ag-theme-alpine .ag-panel-title-bar-button:hover,.ag-theme-alpine .ag-set-filter-group-icons:hover,.ag-theme-alpine .ag-side-button-button:hover,.ag-theme-alpine .ag-tab:hover{color:var(--ag-alpine-active-color)}.ag-theme-alpine-auto-dark .ag-floating-filter-button-button:hover .ag-icon,.ag-theme-alpine-auto-dark .ag-header-cell-filter-button:hover .ag-icon,.ag-theme-alpine-auto-dark .ag-header-cell-menu-button:hover .ag-icon,.ag-theme-alpine-auto-dark .ag-panel-title-bar-button:hover .ag-icon,.ag-theme-alpine-auto-dark .ag-side-button-button:hover .ag-icon,.ag-theme-alpine-dark .ag-floating-filter-button-button:hover .ag-icon,.ag-theme-alpine-dark .ag-header-cell-filter-button:hover .ag-icon,.ag-theme-alpine-dark .ag-header-cell-menu-button:hover .ag-icon,.ag-theme-alpine-dark .ag-panel-title-bar-button:hover .ag-icon,.ag-theme-alpine-dark .ag-side-button-button:hover .ag-icon,.ag-theme-alpine .ag-floating-filter-button-button:hover .ag-icon,.ag-theme-alpine .ag-header-cell-filter-button:hover .ag-icon,.ag-theme-alpine .ag-header-cell-menu-button:hover .ag-icon,.ag-theme-alpine .ag-panel-title-bar-button:hover .ag-icon,.ag-theme-alpine .ag-side-button-button:hover .ag-icon{color:inherit}.ag-theme-alpine-auto-dark .ag-filter-active .ag-icon-filter,.ag-theme-alpine-dark .ag-filter-active .ag-icon-filter,.ag-theme-alpine .ag-filter-active .ag-icon-filter{color:var(--ag-alpine-active-color)}.ag-theme-alpine-auto-dark .ag-chart-menu-close,.ag-theme-alpine-dark .ag-chart-menu-close,.ag-theme-alpine .ag-chart-menu-close{background:var(--ag-background-color)}.ag-theme-alpine-auto-dark .ag-chart-menu-close:hover .ag-icon,.ag-theme-alpine-dark .ag-chart-menu-close:hover .ag-icon,.ag-theme-alpine .ag-chart-menu-close:hover .ag-icon{border-color:var(--ag-alpine-active-color)}.ag-theme-alpine-auto-dark .ag-chart-menu-close .ag-icon,.ag-theme-alpine-dark .ag-chart-menu-close .ag-icon,.ag-theme-alpine .ag-chart-menu-close .ag-icon{background:var(--ag-header-background-color);border:1px solid var(--ag-border-color);border-right:none}.ag-theme-alpine-auto-dark .ag-chart-settings-card-item.ag-not-selected:hover,.ag-theme-alpine-dark .ag-chart-settings-card-item.ag-not-selected:hover,.ag-theme-alpine .ag-chart-settings-card-item.ag-not-selected:hover{opacity:.35}.ag-theme-alpine-auto-dark .ag-ltr .ag-panel-title-bar-button,.ag-theme-alpine-dark .ag-ltr .ag-panel-title-bar-button,.ag-theme-alpine .ag-ltr .ag-panel-title-bar-button{margin-left:calc(var(--ag-grid-size)*2);margin-right:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-rtl .ag-panel-title-bar-button,.ag-theme-alpine-dark .ag-rtl .ag-panel-title-bar-button,.ag-theme-alpine .ag-rtl .ag-panel-title-bar-button{margin-left:var(--ag-grid-size);margin-right:calc(var(--ag-grid-size)*2)}.ag-theme-alpine-auto-dark .ag-ltr .ag-filter-toolpanel-group-container,.ag-theme-alpine-dark .ag-ltr .ag-filter-toolpanel-group-container,.ag-theme-alpine .ag-ltr .ag-filter-toolpanel-group-container{padding-left:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-rtl .ag-filter-toolpanel-group-container,.ag-theme-alpine-dark .ag-rtl .ag-filter-toolpanel-group-container,.ag-theme-alpine .ag-rtl .ag-filter-toolpanel-group-container{padding-right:var(--ag-grid-size)}.ag-theme-alpine-auto-dark .ag-filter-toolpanel-instance-filter,.ag-theme-alpine-dark .ag-filter-toolpanel-instance-filter,.ag-theme-alpine .ag-filter-toolpanel-instance-filter{background-color:var(--ag-control-panel-background-color);border:none}.ag-theme-alpine-auto-dark .ag-ltr .ag-filter-toolpanel-instance-filter,.ag-theme-alpine-dark .ag-ltr .ag-filter-toolpanel-instance-filter,.ag-theme-alpine .ag-ltr .ag-filter-toolpanel-instance-filter{border-left:1px dashed;border-left-color:var(--ag-border-color);margin-left:calc(var(--ag-icon-size)*.5)}.ag-theme-alpine-auto-dark .ag-rtl .ag-filter-toolpanel-instance-filter,.ag-theme-alpine-dark .ag-rtl .ag-filter-toolpanel-instance-filter,.ag-theme-alpine .ag-rtl .ag-filter-toolpanel-instance-filter{border-right:1px dashed;border-right-color:var(--ag-border-color);margin-right:calc(var(--ag-icon-size)*.5)}.ag-theme-alpine-auto-dark .ag-set-filter-list,.ag-theme-alpine-dark .ag-set-filter-list,.ag-theme-alpine .ag-set-filter-list{padding-bottom:calc(var(--ag-grid-size)*.5);padding-top:calc(var(--ag-grid-size)*.5)}.ag-theme-alpine-auto-dark .ag-layout-auto-height .ag-center-cols-container,.ag-theme-alpine-auto-dark .ag-layout-auto-height .ag-center-cols-viewport,.ag-theme-alpine-auto-dark .ag-layout-print .ag-center-cols-container,.ag-theme-alpine-auto-dark .ag-layout-print .ag-center-cols-viewport,.ag-theme-alpine-dark .ag-layout-auto-height .ag-center-cols-container,.ag-theme-alpine-dark .ag-layout-auto-height .ag-center-cols-viewport,.ag-theme-alpine-dark .ag-layout-print .ag-center-cols-container,.ag-theme-alpine-dark .ag-layout-print .ag-center-cols-viewport,.ag-theme-alpine .ag-layout-auto-height .ag-center-cols-container,.ag-theme-alpine .ag-layout-auto-height .ag-center-cols-viewport,.ag-theme-alpine .ag-layout-print .ag-center-cols-container,.ag-theme-alpine .ag-layout-print .ag-center-cols-viewport{min-height:150px}.ag-theme-alpine-auto-dark .ag-overlay-no-rows-wrapper.ag-layout-auto-height,.ag-theme-alpine-dark .ag-overlay-no-rows-wrapper.ag-layout-auto-height,.ag-theme-alpine .ag-overlay-no-rows-wrapper.ag-layout-auto-height{padding-top:60px}.ag-theme-alpine-auto-dark .ag-date-time-list-page-entry-is-current,.ag-theme-alpine-dark .ag-date-time-list-page-entry-is-current,.ag-theme-alpine .ag-date-time-list-page-entry-is-current{background-color:var(--ag-alpine-active-color)}.ag-theme-alpine-auto-dark .ag-advanced-filter-builder-button,.ag-theme-alpine-dark .ag-advanced-filter-builder-button,.ag-theme-alpine .ag-advanced-filter-builder-button{font-weight:600;padding:var(--ag-grid-size)}@font-face{font-family:agGridAlpine;font-style:normal;font-weight:400;src:url(data:font/woff2;charset=utf-8;base64,d09GMgABAAAAABKwAAsAAAAAJ/QAABJeAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHIlCBmAAi3AKqUyiKwE2AiQDgjwLgSAABCAFhEYHhTYb7iIzknRW3UVUT4rZ/yGByqEVyfAPCoGBVAeLaZy1NEUgHG5qbTJUKK65bieBiXNesm+H/kz+7nJIEpoE3+/3uufdH0AFMkIBQhFcAFDFl4Wp7lRoFLJTBairyjb/t/bs7+7IyjPxWfFndohimiiJSCNVMiXytQEpDCAvrmVSeEiuz2pkFBn71N4A+Wm1PT1ApaemJsEZHH5/+f6tHdlX0iFUPUx4GMD6rwoJUCiD0n6gbf7DMxAcRiRi0hbY+GfUHViJi8JIMPYbF2WBUbNyzToV4Wew7v2p+Q2nttnDYl+SMVtpv9Udg8AkSPCE8JUIINhyf8M0OkgJleAT1F9rn9lMECVwh0Do+Djd09O7O+/1mwWe9BJNJjTLkw0gWSBF/H9+qoBJ5ewpYHnuhCehSZhz9lwI2tDKfGldggS/ySJ7xa2c4LAIrw71XX9j8/dwVSZiNBZgxU9vjyOAYmM2fmTs/HXBtem9DVnY1aYBXmvH2vLiNPEwDZ7pGMQXnLspqOqmr35HOfc1nmWhOnqYTtK79FN1ACIqG+L4KNc3ptIoGJ3BZOFR6jSoyeZA2uEW/Kg0Uox9cJSCqQzHZrG6jlrCmF2LhltrBzr93NsyXa63ti00++IsHYRBsaTDZEVjphjJiWbL4WGcg0ePEm0cMZYdzU4EseHSeOJQtVjuje3dvVfRLidotoz6qjqNav9esYP8Ml9FVZfH5LTNn5BKVzYdaSwjmMG1CrNTV7WhSbfFeAub2LHLMM2GrgL3aGhX8qvT3fDYgM++Xm3jlN0bvZlKatdqU0v/7Kt6NBe6IXF61QdHXRhzpvHL2nvvu+feeOurH/5zuEIQJC1pHez9mmkTzOZF0UrjkOTu7rtmhwpXzGbWl/iZ0UxQbR0DrKpR+ciq6lSM+4P+jkyojXWwZ3FgdORyzEBMu8SodIFsDuRw+IF5oE+C+fXPQlDaYmGyrLapfFOZRs+iyBHP8i+qTHjaoa+FMmLF96bC77XDfZYj0YQ/q7GXrgpEzIYRnXelKdnYYH0yFobmHLKidfPkix3tKDYXr1+dR6VNiSzeH5uA8I4/qLpBQZOv0pzXLdEgt4b8ea1pNFbndOoZHKXvqEPtqvKouETvjjd2laxW6tIJnCC2pVD6AKq6PDv7nN3OBc5+xuWB7CR7gfuP33581xg8QIYkuLqjywujc36p/aWm/3E3N4Rs02aiq0Dh7AmoAXIgq5gvjnJAz34NRC69GuwPSol42MArH3371XF2hlqPvPH5V7yLv3KD/7pqXhMDo9Br7hqgLuvhQIYVj7LSJMOAgxuxbZxccXgIRtDpVkUSmY9fQFBIWERULNpgUkpaxp+OOXkFRSVlFVU1dQ1NLW0dXT19A0MjZWMTU0jYzNwCRD5cjeExobaRgfHOC+1DnRcOTvT2/Ov//379cL5v9NxFOzVLAemzCVeA2ls2BkyzNmCGjQCzbACYY+PAPOsEFtgFYJG1A0tsCFhm3cAqGwbW2CCwziaADdYLbLIeYItNATusA9hl/cAe6wL22SRwwM4Dh6wPOGKjwDE7B5z0uwh+ceiReAghCGEIEQhRCAkQEiEkQUiGkA9CfggFIBSEUAhCYQhFIBSFUAxCcQglIJSEUApCaQhlIJSFUA5CeQgVIFSEUAlCZQhVIFSFUA1CdQg1INSEUAtCbQh1INSFUA9CfQgNIDSE0AhCY9Zfpwn0maYQmkFobigJ/FpYYyMG1ZECIRVQjEtv+iWe4gl57ync886N+8wMZN1VvOwjGPddoCiRLhkjJQGOSC0zCeTItsw2iyxh/SLvgtJ8il0gJ/wYY+M0rrkojOGCVIpgfwTJPbXQCkiibIX7NB8LhaIBkX6OqBbFUhInXGmSpNmU9ROBQFIS67k0ImUIkQRKaCYRMMh5AJJM5oEYLkb8kaT3L1HTisBeByai2GnmmsjNFxz6MNQrKEIQLyDiGXfdKwg6T3aAKFjaBqf3MqpUx2ZspWOrQN2xha/6DcxNwTBIcAiRALxXKXIMtMiCWgXp5TnY6fw7sZhcW8Sl/cJHrZAggV7HmUPCfCtVSJ9eQIXQjyhbIghFzMaspsCd1mWc95N5N5B0fp4ET6nJLNttrVAhYtyrw21QJdpYs/D0DtHQRtF+iTATabO1Vkx0yCkWnNzH+CqLgjukEhj5Dz5LeJ429s68i8gziy+d5bIyjFRTqZzkh1ozVXK0AeyTY1bZhDLMAT2VcM3V0RGOouapsTJ4tF9M1/mTyagqmZS8rGgdmWi+tmqh91eSqSK3y+Qy0Ba1uO83b/tXIhiJW+IyB6MvILhvX7wXs/ItLPIIJ/eFsb7awLKW5WVXVq6UyqBSoY/iw8o8cN2kV6s5YRRKj9RfGpPwrPXanB5Ib7fMeVqWyrDleG+1b25Ig3OxLa7KREVTCBYs3FJSJeMOTGCrkclxAPBCsajQXl4uWvm8XTyvDBOS3ywUAYj2gz5Mzdd1W3OzOWVoWGiakvDx/+UsLBfV2BFlwEoVciJIaxMhchGXnzqrQoUPphaosiRUtKpNV6lsUiUvqinzUcpquc6iMFL5faOrX7eFgmZymN+2oBHxESZBiLhKUEzIVl2WXfeoLYhiCXIxYSA4gAM/NBEYXDhnYWAmiJEbPYrrlIWwZsqfu8UJJRcWKbx5Fu2UOdMSAd+7cebz9Z3A4nUc5UnyXAgf+nFoW41mW4XYhkM/bIRzuJJh+AVULSMILynK1qh3UE2aCkhIAlV+vn1xjaFHgCGIfZhgAqaWtFhmT5w5rOSkqlSq4pSdWIGrRNM0EF5uSq/bEaZB0/yNGSTjL2W5+lrbJWkGE7zmbB3yl2GWdzhGkPOfDBm1LPWa8jrCRM3brAd8pthufNS7ftis09wavUg/71VqOekod7ERmLcRry1HbfkNg5WVwR8zupXK4T+KDqlUQz9l96nVY38XktQnObzsqN7QbN5zh+GOW6ysJ2gxet1hQuV684o9ZhdYlyiTjpuanYnhPpyIEQfpnx1KRF4Crn5ZYhYNE4aBb70RgA/7Q9ReHuRBHsxDaq20Haw9traNVXla32uyb5afS2c2vKsGc0nj5/fwiQ5yq6xobiZdiLJtwZcFEwJdcLIemnrYnGJ0PSKmgGclPfWaGo9HbpLlQ/umhMHT2y/+emJwQylqXN3/8ScO4jDFV1CWAqHRybUkiBgbxdoEFxM9UWA2zwz4/X0nvi+4b99FnBecduy2w70lhbOV4mxaGMUIKdrbewWCDAFkcfUi2lPCosPIc5lG8x59/79mIgHOA45RbaICdh6Tmccu+Mt8d5/HLGD/5eMnu6ttn6ALEtvIfYBt8SoJVaJ4K3knqa6W1EiAtVdDcPBdcuj8JV8H+O44uxLMzRMTL13cvz8xKd7bRvHZ4hOeXEeoLQX0b46NDPfO9PfLioq0tMJCL+nBLl28NBs2NbX9HmbtAjHgYo3e3w7U2+9ENNFBsRipimqtUU0FWFb4sqsT69e3NwgU5OQLV3DhobwX4rRrLuDKcwEXXODCcwVFlF3jXYPnjIzMyMjMNA8mCJvDzsANAXPp/7LSqs0t0fM4zzLPQE+hJ1P9vMZ8t3jb9u/q2u9xSrxXuNFPuM39KoMd9ktmRmWB7/qizV3OVyGmliEeJvq9q+pCK2mGlotUp2OlTgKBdSOpZ45kbWVuYU+6+sKEuJ1Uv2bLfQNjvgmp3/IlcxD8zP6yMBFr15j3rVobnPSng8kq/ayxSAuL4Ysm3SHbvY+RFVbeYF5HrE4g6FjRl602dRgeybWi3vDDE/pMRDBtwGg8yVSn31yOCCfTsEAqJnRHjCo8dyBG44QX1uZWeGY70fy2EA+ABdI87Pvjba50M+RXGEfljO6jCM6zJrkmSQrolIWsfkcvbB+KTwLd+MUYmi8N8/6WLmXUrl63fcNqC66hscvrkExuZu8d9Dze0N/AOCFxQ3rtyX0m263MrBiCRn4d41sdvKGToQlsUbAqjf2o+744lkPXFTwe5pXPl0dV1Nslk72ZUTlnbyhKc6jr+SCPrqizTQ4Oik8sKcBfj0oLtA4vKGpmxqXGuY73MihxZHIshUHQy6+hpdtReSiNx0sMds2yCi+kqNgOiBVv+cNvebJ3uqSgyDo8+7TB/9gmV9TLo6ZZrkS2c1axTQ76Ru5dGDffJIy4wFzguaD7mCJjKrizqZyfqv7D7h9/glf0UyeFE7UJXH2OvkBhTk8v4SjEXAn3mJisicrxjybMLOE8Ig6bw1JwqVzxQQlXUoUcyVuxGZyp5rK54rdOOBiZD08WGGLNvjLdxOG9RjPeezDeleeFweeuNguuI8kjQfksVl65+UKQ62yuCzau4+QkNKl6/y4fYryTtMkXRQCbBHrCd+6vXgkTvbVRhJmh9AT6YnxqToU77R4zIoV2O9H54SCnpibjVxwuIgKH+1Vv2fTTNvOXaL8A9U6QiCOSiLjqzhwRcA5KGzPnVKkCYJnuO/HxPeg4mwX/2D9ppTifRfnami+r272e6M/2SaDEx1MSfLKDylwHlpZsXMsSTCEpKOpCEPjl+hnlx5SP52ddwEWuUhwOxBp/6/qtC3z69IdxclTSL0EhRbJ7N94mOKn1kkyzrqhg11gox+EHe/v4g3/FxpaV6GhbuQUnX1zX1vb334p/dvjvXJC8lMtzy00I1tZVxRZ6Fcb72ir2Ev9QWT5dXoZA0/Et0WRytB5iJ1uP/IUt5hIQ/wusex/EeqTzEO9MM8E/fH3d2NCE5vyk4SipU4Gi6ajiuy1e5NgYb1HldwrnC0IVXU/oFntW9Jn2sXrixvoT8IW2pInzhh5fpQ3367nc4w3ielzmi9trzQXtEjedFG/hNTbB9NOJFdUd//ixcSNrhDkeGe5SqXuGR851802WSu8t53hcD4msW/zVxhxmJp2eycz5KXnuPpOew/zJVx+eP4wuj4ws/46cSd+R/1zUWzbFjlER40tZ3ETIh380g+d8dhlz3Dn2Qw6VA//ISIkqBPIiYnQlwfmftL8TQm5urc3r15GRwUEODhERoIgQ5Yng6fS4TJGxWikXzp2bRDGIzGjZ9WBOYWjQnPk5Xvtz0tPxvPUtzR28NeFB0+0+nNWRzzHMES3Py42LGxmhHTkKBsu2Mm7niHtVVnZyR/jO4pqoYaLLy2ge6Rq8Q+F5m6cwSc7yeEuaP58exE2f//96H+A9mXiE+H7+Zkv5cCAAABlpYbsNcXGK5Na1SAnYvmmF0RzuKpuRU/YuNgD4/5GbkAdooz7k56JmgoQsTmuR8dhZD11ei0eOL8w2LEG0FK0Lkv8v7yIasCc0axb7NixwZrJu8i9iVKcMuUFkLUYawJ7RLLQJLHQCsh46I1pyPqsgCI4PK5X7EVPWThRyZlgtup5lHCoVaUjC57+7g74f7k3mG4a+xBMRDQBm6f99shlm7pfcDPDbJg7UlzQxs9tuj9t6EfHiKPG/APWvLytsPerdoLbaG0haCeCTQ24BLiKFFNJ2BQgnCSCJEwNDNSsxDT7osRT4gQGFOJFwZYYYbAQEOG194CANzTvGQxB+AHo0GwEMzU4yAklQAYVmD5gMveJQv5jKfNwO/8rB3sccCH6Dr1Gzdxb0df4Dl5Covemvg+7vFQhYC9h2WLZl8rcirnWcsH1JFHcUY2ozp3cw0o8i+W42c9ID9ybhmua9YoF1L8oCAn6D04GrIo0p5gq5/8ERCnzXEtK60bumNF4FFixAIGi1Bks9XEy8WyK7Tqt6LEGiXgoVlBBlSHeVw713wEi6N2bwsjszeXGOVvdMIXIeK6Nqju9LX4oNlKhQYwrTmMHsH0xzg8LafvhcFiLRWDyRTKUz2Vy+UCyVK9VavdFstTvdXn8wHI0n09l8wRRV0w3Tsh3XvQePnjx78erNJ5998dU33/3wc+1PH57BawmJtvRwmpdNvc2WCTIQG3NqlpOpCuZjSIvOzAd75blGIAsCjIG0wFlQRiWq8IHpmLjLwdGKt19gRSp7pklYGwGrTOdlYyaVsmn2tGleUTaLaeAr296ZlKwLj2p34YeuRF3GTVK45SqWGLFxxUWUn5CbLkw1q0hbEEwnW7GI8Y1ux9Y2kN/BWAQMK1CYVHcEla4bpVyIoibYp5ZOx5jmYJtcwA3CZi5qck1JdvLAFFItJ5zTN5O6oYok6pJzx54LUcPlR1ElJtgr92NCZ9OcLMET7YOVhHZupsAgDbObM2GAllS73uopA+3Upy4Bla9amig+uFMLk9+PI+uax4AIEjJXGNHow2ChewpV2dLEWa01AAA=)}.ag-theme-alpine{--ag-foreground-color:#091e42;--ag-alpine-active-color:#0065ff;--ag-header-height:36px;--ag-row-height:40px;--ag-header-background-color:#f5f5f5;--ag-background-color:#fff;--ag-odd-row-background-color:#fff;--ag-cell-horizontal-border:solid #ebecf0;--ag-border-color:#ebecf0;--ag-control-panel-background-color:#fff;--ag-range-selection-background-color:#0065ff33;--ag-row-hover-color:#0000;--ag-range-selection-border-color:#0065ff;--ag-input-focus-border-color:#0065ff;--ag-subheader-background-color:#fff;--ag-subheader-toolbar-background-color:#ffffff80;--ag-selected-row-background-color:#0065ff1a;--ag-column-hover-color:#0065ff1a;--ag-chip-background-color:#091e4212;--ag-input-disabled-background-color:#ebecf026;--ag-input-disabled-border-color:#ebecf04d;--ag-disabled-foreground-color:#091e4280;--ag-modal-overlay-background-color:#ffffffa8;--ag-range-selection-background-color-2:#0065ff5c;--ag-range-selection-background-color-3:rgba(0,101,255,.488);--ag-range-selection-background-color-4:#0065ff96;--ag-header-column-separator-color:#ebecf080;--ag-header-column-resize-handle-color:#ebecf080}.ag-theme-alpine .ag-status-bar{justify-content:flex-start}.ag-theme-alpine .ag-status-bar-center{overflow:hidden}.ag-theme-alpine .ag-row-focus,.ag-theme-alpine .ag-row-selected{background-color:#0065ff0d}.ag-theme-alpine .ag-row-hover:not(.ag-row-selected,.ag-row-focus){background-color:unset}.ag-theme-alpine .ag-body-viewport{padding-bottom:0}.ag-theme-alpine .ag-pinned-left-header{border:none}.ag-theme-alpine .ag-cell-inline-editing{border-color:var(--ag-range-selection-border-color,#0065ff)!important}.ag-theme-alpine .ag-popup-editor{background:var(--ag-background-color,#fff);border:2px solid var(--ag-range-selection-border-color,#0065ff);border-radius:0;box-shadow:none;z-index:3}.ag-theme-alpine .ag-root .ag-cell.ag-cell-focus.ag-cell-range-selected-1:not(.ag-cell-inline-editing){background-color:#fff}.ag-theme-alpine .ag-root .ag-cell.ag-cell-focus.ag-cell-range-selected-1:not(.ag-cell-inline-editing).formula,.ag-theme-alpine .ag-root .ag-cell.ag-cell-focus.ag-cell-range-selected-1:not(.ag-cell-inline-editing).lookup,.ag-theme-alpine .ag-root .ag-cell.ag-cell-focus.ag-cell-range-selected-1:not(.ag-cell-inline-editing).multiChoice,.ag-theme-alpine .ag-root .ag-cell.ag-cell-focus.ag-cell-range-selected-1:not(.ag-cell-inline-editing).multiLineText,.ag-theme-alpine .ag-root .ag-cell.ag-cell-focus.ag-cell-range-selected-1:not(.ag-cell-inline-editing).related{height:auto;min-height:100%}.ag-theme-alpine .ag-root .ag-cell.ag-cell-focus.ag-cell-range-selected-1:not(.ag-cell-inline-editing).attachment{height:auto;max-height:100px;min-height:100%;overflow-y:auto}.ag-theme-alpine .ag-row-focus:not(.ag-full-width-row){z-index:2}.ag-theme-alpine .ag-body-horizontal-scroll-viewport,.ag-theme-alpine .ag-full-width-row{z-index:1}.ag-theme-alpine .ag-cell.cell-id.ag-cell-range-selected{background-color:#0000!important;border-color:#0000!important;outline:none}.ag-theme-alpine .ag-cell.cell-id.ag-cell-focus{border:none!important}.ag-theme-alpine .ag-cell.cell-id:focus{border-color:#0000!important;outline:none}.ag-theme-alpine .ag-cell.cell-id .ag-drag-handle{display:none;left:2px;overflow:hidden;position:absolute;top:0;width:8px;z-index:var(--max-z-index)}.ag-theme-alpine .ag-cell.cell-id .ag-selection-checkbox{left:18px;position:absolute;top:0;z-index:var(--max-z-index)}.ag-theme-alpine .ag-cell{line-height:30px;padding-left:8px;padding-right:8px}.ag-theme-alpine .ag-cell-inline-editing{border-radius:0;height:100%;padding-left:0;padding-right:0}.ag-theme-alpine .ag-row{height:32px}.ag-theme-alpine .ag-row:not(.ag-row-selected) .ag-selection-checkbox{display:none}.ag-theme-alpine .ag-row-hover .ag-cell.cell-id .ag-drag-handle{display:block!important}.ag-theme-alpine .ag-row-hover .ag-cell.cell-id .ag-selection-checkbox{display:flex}.ag-theme-alpine .ag-row-hover .ag-cell.cell-id .ag-expand-button{display:inline-flex}.ag-theme-alpine .ag-row-hover .ag-cell.cell-id .ag-row-index{visibility:hidden}.ag-theme-alpine .ag-ltr .ag-cell-range-single-cell,.ag-theme-alpine .ag-ltr .ag-cell-range-single-cell.ag-cell-range-handle,.ag-theme-alpine .ag-ltr .ag-cell.ag-context-menu-open,.ag-theme-alpine .ag-ltr .ag-has-focus .ag-cell-focus:not(.ag-cell-range-selected){border-width:2px!important;line-height:28px;padding-left:7px;padding-right:7px}.ag-theme-alpine .ag-body-viewport .ag-cell.cell-id{border:none;color:#999;padding-left:0;padding-right:0}.ag-theme-alpine .ag-menu-option{cursor:pointer}.ag-theme-alpine .ag-menu-option-text{color:#091e42;padding:8px 0}.ag-theme-alpine .ag-menu-option.danger .ag-menu-option-text{color:#de350b}.ag-theme-alpine .ag-menu-option-active.danger{background:#de350b}.ag-theme-alpine .ag-menu-option-active.danger .ag-menu-option-text{color:#fff}.ag-theme-alpine .ag-menu-option-active{background:#f4f5f7}.ag-theme-alpine .ag-grid-collaborator-row:hover{z-index:2}.ag-theme-alpine .ag-customize-cell{overflow:initial}.ag-theme-alpine .ag-customize-cell .ag-react-container{height:100%;overflow:hidden}.ag-theme-alpine .collaborator-cell{display:none}.ag-theme-alpine .highlight-cell{background-color:#0065ff1a}.ag-theme-alpine [data-collaborator-cell=true]{background-color:#0000;border:2px solid;bottom:-1px;display:initial;left:-1px;pointer-events:none;position:absolute;right:-1px;top:-1px}.ag-theme-alpine [data-collaborator-cell=true] span{color:#fff;display:none;font-size:var(--font-size-xs);height:18px;line-height:14px;padding:2px 10px;position:absolute;right:-1px;top:100%}.ag-theme-alpine [data-collaborator-cell=true]:hover span{display:initial}.ag-theme-alpine [data-subscribe-cell=true]{background-color:#505f79;border-radius:50%;display:initial;height:14px;left:-7px;position:absolute;top:-7px;width:14px;z-index:var(--max-z-index)}.ag-theme-alpine [data-subscribe-cell=true] i{color:#fff;left:3px;position:absolute;top:3px}.ag-theme-alpine [data-subscribe-cell=true] span{background:#000000bf;border-radius:2px;box-shadow:0 1px 2px #00000026;color:#fff;display:none;font-size:12px;font-weight:500;height:29px;left:16px;line-height:26px;padding:2px 10px;position:absolute;text-align:center;top:-9px}.ag-theme-alpine [data-subscribe-cell=true]:hover span{display:initial}.ag-theme-alpine .mt-picker-input input{font-size:14px}.ag-theme-alpine .mt-input-borderless,.ag-theme-alpine .mt-input-number-input,.ag-theme-alpine .mt-picker-borderless{font-size:14px;line-height:19px;padding:0}.ag-theme-alpine .mt-input-number-input{height:28px}.ag-theme-alpine textarea.mt-input-borderless{min-height:76px;padding:4px 7px;resize:none}.ag-theme-alpine .ag-root .mt-select-single:not(.mt-select-customize-input) .mt-select-selector{height:28px;padding:0 7px}.ag-theme-alpine .ag-cell.mt-hidden-column{background:#fff;border:none;height:calc(100% + 2px);pointer-events:none}.mt-grid-cell-container{align-items:center;display:flex;height:100%;overflow:hidden}.mt-grid-cell-tooltip{background-color:#000000bf;border-radius:2px;color:#fff;display:none;font-size:12px;line-height:1.1;padding:6px 8px;pointer-events:none;position:fixed;z-index:2}.mt-grid-scroll .ag-pinned-left-cols-container,.mt-grid-scroll .ag-pinned-left-header{box-shadow:5px 0 5px 0 #0000000f;z-index:1}.ag-body-horizontal-scroll{opacity:1!important;visibility:visible!important}.ag-body-horizontal-scroll,.ag-body-horizontal-scroll .ag-body-horizontal-scroll-container,.ag-body-horizontal-scroll .ag-body-horizontal-scroll-viewport{height:8px!important;max-height:8px!important;min-height:8px!important}.ag-body-horizontal-scroll ::-webkit-scrollbar{-webkit-appearance:none;appearance:none;height:8px}.ag-body-horizontal-scroll ::-webkit-scrollbar-thumb{background-color:#00000080;border-radius:4px;box-shadow:0 0 1px #ffffff80}.relatedEditorModal_preview__D9wYG{height:366px;margin-top:16px}.relatedEditorModal_loading__l26bO{align-items:center;display:flex;height:100%;justify-content:center;width:100%}.borderedText_borderedText__dicRS{border:1px solid var(--secondary-color);border-radius:2px;padding:2px 5px}.borderedText_borderedText__dicRS+.borderedText_borderedText__dicRS{margin-left:8px}.coordinateFieldRender_renderer__z5MJf{align-items:center;display:flex;height:100%;justify-content:flex-end;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.coordinateFieldRender_text__\+oVBu{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:85%}.coordinateFieldRender_placeholder__\+hmxv{color:var(--placeholder-color)}.coordinateFieldRender_mapPin__NcIRW{border-radius:4px;padding:2px}.coordinateFieldRender_mapPin__NcIRW.coordinateFieldRender_active__gTYLh{background:#0065ff26}.coordinateFieldRender_mapPin__NcIRW:hover{background-color:#cee1ff;color:var(--primary-color);cursor:pointer}.formulaFieldRender_renderer__phFnb{align-items:center;display:flex;height:100%;justify-content:space-between;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.formulaFieldRender_text__zKitA{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:85%}.formulaFieldRender_mapPin__l8LIb{border-radius:4px;padding:2px}.formulaFieldRender_mapPin__l8LIb.formulaFieldRender_active__hMbqU{background:#0065ff26}.formulaFieldRender_mapPin__l8LIb:hover{background-color:#cee1ff;color:var(--primary-color);cursor:pointer}.fieldRender_block__Ke68q{align-items:center;display:flex;padding-right:4px}.fieldRender_block__Ke68q.fieldRender_select__zkFYy{display:block;overflow:hidden}.fieldRender_block__Ke68q.fieldRender_hyperlink__mOvEs a{word-wrap:break-word;overflow:hidden}.fieldRender_alignLeft__4NyER{justify-content:flex-start}.fieldRender_alignRight__BrDwc{flex-wrap:wrap;justify-content:flex-end}.fieldRender_attachmentRenderer__h7o38{flex-wrap:nowrap;width:100%} \ No newline at end of file diff --git a/static/css/main.922e2cd1.css b/static/css/main.922e2cd1.css new file mode 100644 index 0000000..54acfb3 --- /dev/null +++ b/static/css/main.922e2cd1.css @@ -0,0 +1 @@ +.loading_loading__GEW1R{align-items:center;background:#000000a6;bottom:0;display:flex;justify-content:center;left:0;pointer-events:none;position:fixed;right:0;top:0;-webkit-user-select:none;user-select:none;z-index:var(--max-z-index)}.loading_loading__GEW1R img{height:100px;width:100px}.loading_loading__GEW1R.loading_hide__5BFLA{display:none}.icon_icon__wTqY\+{--icon-fill-color:#97a0af;--icon-fill-color-hover:#505f79;--icon-fill-color-active:#0065ff;--icon-fill-color-disabled:#c1c7d0;font-size:12px;font-style:normal;line-height:0;text-align:center;vertical-align:middle}.icon_icon__wTqY\+,.icon_icon__wTqY\+ svg{display:inline-block}.icon_icon__wTqY\+ .icon_fill__6oqhZ{fill:var(--icon-fill-color)}.icon_icon__wTqY\+ .icon_hover__kpQdb{fill:var(--icon-fill-color-hover)}.icon_icon__wTqY\+ .icon_active__84YW9{fill:var(--icon-fill-color-active)}.icon_icon__wTqY\+ .icon_columnType__G8r2A{fill:var(--icon-fill-color)}.icon_icon__wTqY\+ .icon_rotate__EXHkI{transform:rotate(180deg)}.icon_icon__wTqY\+:hover .icon_columnType__G8r2A{fill:var(--icon-fill-color-active)}.layout_main__X\+Vyw{border-bottom-left-radius:12px;border-bottom-right-radius:12px;display:flex;flex-direction:row;height:100%}.layout_preview__DkETk{overflow:hidden;position:relative}.layout_preview__DkETk .mt-spin-container,.layout_preview__DkETk .mt-spin-nested-loading{height:100%}.layout_preview__DkETk .mt-spin-text{left:24px;top:64%!important}.layout_configPanel__rZZ\+N{background-color:#0000;border-left:1px solid #dee0e3;box-sizing:border-box;flex-direction:column;height:calc(100% - 110px);overflow:auto overlay;padding:20px;position:relative;width:340px}.layout_configPanel__rZZ\+N .mt-form-item{margin-bottom:6px}.layout_config__mZC8b{height:100%}.layout_footer__0G\+wu{bottom:0;flex-direction:column;height:110px;padding:0 20px 20px;position:absolute;right:0;width:340px}.layout_footer__0G\+wu .layout_adSection__e\+1ut{padding-bottom:10px}.layout_footer__0G\+wu .layout_divider__wnxSF{background-color:var(--secondary-color);height:1px;margin:6px 0;width:100%}.layout_footer__0G\+wu .layout_helpContainer__zCrAZ .layout_helpBtn__yuoZI{color:#091e42e0;padding-left:0}.layout_footer__0G\+wu .layout_helpContainer__zCrAZ svg{height:16px;width:16px}.layout_footer__0G\+wu .layout_supportContainer__sR7cE{padding-left:2px}.layout_footer__0G\+wu .layout_supportContainer__sR7cE .layout_support__39RJd{color:#97a0af}.layout_footer__0G\+wu .layout_supportContainer__sR7cE .layout_support__39RJd a{color:#505f79}.layout_footer__0G\+wu .layout_supportContainer__sR7cE .layout_support__39RJd a:hover{color:var(--primary-color)}.layout_submitSection__VwoHY{height:50px;width:100%}.layout_submitSection__VwoHY .layout_submitBtn__lAM3B{min-width:80px}.select_container__hgfaG.mt-select.mt-select-disabled:hover{background-color:unset}.select_selectSuffixIcon__vUGj8{color:var(--cadet-grey);margin-top:-1px}.mt-select-open .select_selectSuffixIcon__vUGj8,.mt-select:not(.mt-select-disabled):hover .select_selectSuffixIcon__vUGj8{color:var(--text-color)}.tableViewSelector_viewItem__ySfNy{align-items:center;display:flex}.tableViewSelector_viewItem__ySfNy .tableViewSelector_icon__4WwAi{margin-right:5px;margin-top:-2px}.tableViewSelector_viewItem__ySfNy .tableViewSelector_icon__4WwAi svg{height:18px;width:18px}.tableViewSelector_viewItem__ySfNy .mt-typography{color:inherit;margin:0}.proBadge_wrap__h0QOQ{background:var(--primary-color);border-radius:4px;color:#fff;font-size:10px;font-weight:500;margin-left:2px;padding:2px 4px}.fieldTypeSelector_option__N\+mO2{align-items:center;display:flex}.fieldTypeSelector_nameWrapper__Tzh-f{align-items:center;display:flex;flex:1 1;overflow:hidden}.fieldTypeSelector_nameWrapper__Tzh-f .fieldTypeSelector_content__5iUKG{display:contents}.fieldTypeSelector_nameWrapper__Tzh-f .fieldTypeSelector_name__joXHP{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fieldTypeSelector_icon__Cpdmh{margin-right:5px}.fieldTypeSelector_icon__Cpdmh svg{height:18px;width:18px}.dialog_confirmDialog__jesD3 .mt-modal-close,.dialog_dialog__W8rCF .mt-modal-close{height:auto;right:16px;top:16px;width:auto}.dialog_confirmDialog__jesD3 .mt-modal-close .mt-modal-close-x,.dialog_dialog__W8rCF .mt-modal-close .mt-modal-close-x{align-items:center;border-radius:5px;display:flex;height:24px;justify-content:center;line-height:unset;transition:background-color .2s ease-in-out;width:24px}.dialog_confirmDialog__jesD3 .mt-modal-close .mt-modal-close-x:hover,.dialog_dialog__W8rCF .mt-modal-close .mt-modal-close-x:hover{background-color:var(--secondary-color)}.dialog_confirmDialog__jesD3 .mt-modal-content,.dialog_dialog__W8rCF .mt-modal-content{border-radius:10px}.dialog_confirmDialog__jesD3 .mt-modal-header,.dialog_dialog__W8rCF .mt-modal-header{border-bottom:none;border-radius:10px 10px 0 0;padding:20px 24px 0}.dialog_confirmDialog__jesD3 .mt-modal-body,.dialog_dialog__W8rCF .mt-modal-body{padding:24px}.dialog_confirmDialog__jesD3 .mt-modal-confirm-title,.dialog_confirmDialog__jesD3 .mt-modal-title,.dialog_dialog__W8rCF .mt-modal-confirm-title,.dialog_dialog__W8rCF .mt-modal-title{font-size:var(--heading-2-size)}.dialog_dialog__W8rCF.dialog_plain__8jp7f .mt-modal-body,.dialog_dialog__W8rCF.dialog_plain__8jp7f .mt-modal-header{padding:0}.dialog_body__L4ssY{min-height:54px}.dialog_confirmDialog__jesD3 .mt-modal-confirm-content{margin-bottom:16px;margin-top:16px}.dialog_confirmDialog__jesD3 .mt-modal-content{padding:20px!important}.dialog_confirmDialog__jesD3 .dialog_content__G08Mq{line-height:1.7;white-space:pre-line}.dialog_buttonGroup__rI\+vJ,.dialog_footer__8ZsR4,.mt-modal-confirm-btns{display:flex;justify-content:flex-end;margin-top:16px}.dialog_buttonGroup__rI\+vJ .mt-btn,.dialog_footer__8ZsR4 .mt-btn,.mt-modal-confirm-btns .mt-btn{border-radius:6px;height:34px}.dialog_buttonGroup__rI\+vJ button,.dialog_footer__8ZsR4 button,.mt-modal-confirm-btns button{margin-left:auto;min-width:62px}.dialog_buttonGroup__rI\+vJ button+button,.dialog_footer__8ZsR4 button+button,.mt-modal-confirm-btns button+button{margin-left:12px}.dialog_buttonGroup__rI\+vJ.dialog_centered__gEtB9,.dialog_footer__8ZsR4.dialog_centered__gEtB9,.mt-modal-confirm-btns.dialog_centered__gEtB9{display:block;text-align:center}.dialog_buttonGroup__rI\+vJ .dialog_footerAddon__z1S9E,.dialog_footer__8ZsR4 .dialog_footerAddon__z1S9E,.mt-modal-confirm-btns .dialog_footerAddon__z1S9E{margin-right:auto}.dialog_buttonGroup__rI\+vJ .mt-btn-default:disabled,.dialog_buttonGroup__rI\+vJ .mt-btn-default:not(:disabled):hover,.dialog_footer__8ZsR4 .mt-btn-default:disabled,.dialog_footer__8ZsR4 .mt-btn-default:not(:disabled):hover,.mt-modal-confirm-btns .mt-btn-default:disabled,.mt-modal-confirm-btns .mt-btn-default:not(:disabled):hover{background-color:var(--secondary-color);border-color:#d0d5dd;color:inherit}.dialog_buttonGroup__rI\+vJ .mt-btn-primary:disabled,.dialog_buttonGroup__rI\+vJ .mt-btn-primary:not(:disabled):hover,.dialog_footer__8ZsR4 .mt-btn-primary:disabled,.dialog_footer__8ZsR4 .mt-btn-primary:not(:disabled):hover,.mt-modal-confirm-btns .mt-btn-primary:disabled,.mt-modal-confirm-btns .mt-btn-primary:not(:disabled):hover{background-color:var(--primary-color);color:#fff}.dialog_buttonGroup__rI\+vJ .mt-btn-primary:disabled:hover,.dialog_buttonGroup__rI\+vJ .mt-btn-primary:not(:disabled):hover:hover,.dialog_footer__8ZsR4 .mt-btn-primary:disabled:hover,.dialog_footer__8ZsR4 .mt-btn-primary:not(:disabled):hover:hover,.mt-modal-confirm-btns .mt-btn-primary:disabled:hover,.mt-modal-confirm-btns .mt-btn-primary:not(:disabled):hover:hover{background-color:var(--primary-color-hover);border-color:var(--primary-color-hover)}.dialog_buttonGroup__rI\+vJ .mt-btn-primary.mt-btn-dangerous:disabled,.dialog_buttonGroup__rI\+vJ .mt-btn-primary.mt-btn-dangerous:not(:disabled):hover,.dialog_footer__8ZsR4 .mt-btn-primary.mt-btn-dangerous:disabled,.dialog_footer__8ZsR4 .mt-btn-primary.mt-btn-dangerous:not(:disabled):hover,.mt-modal-confirm-btns .mt-btn-primary.mt-btn-dangerous:disabled,.mt-modal-confirm-btns .mt-btn-primary.mt-btn-dangerous:not(:disabled):hover{background-color:#b62400;color:#fff}.dialog_buttonGroup__rI\+vJ .mt-btn-primary.mt-btn-dangerous:disabled:hover,.dialog_buttonGroup__rI\+vJ .mt-btn-primary.mt-btn-dangerous:not(:disabled):hover:hover,.dialog_footer__8ZsR4 .mt-btn-primary.mt-btn-dangerous:disabled:hover,.dialog_footer__8ZsR4 .mt-btn-primary.mt-btn-dangerous:not(:disabled):hover:hover,.mt-modal-confirm-btns .mt-btn-primary.mt-btn-dangerous:disabled:hover,.mt-modal-confirm-btns .mt-btn-primary.mt-btn-dangerous:not(:disabled):hover:hover{background-color:#b62400;border-color:#b62400}.dialog_buttonGroup__rI\+vJ .mt-btn-default:disabled,.dialog_buttonGroup__rI\+vJ .mt-btn-primary:disabled,.dialog_footer__8ZsR4 .mt-btn-default:disabled,.dialog_footer__8ZsR4 .mt-btn-primary:disabled,.mt-modal-confirm-btns .mt-btn-default:disabled,.mt-modal-confirm-btns .mt-btn-primary:disabled{opacity:.5}.dialog_buttonGroup__rI\+vJ[data-inline=true]{margin-top:0}.segmented_segmented__y6\+zN.mt-segmented[data-size=small]{font-size:var(--font-size-sm);font-weight:500}.segmented_segmented__y6\+zN.mt-segmented[data-size=small] .mt-segmented-item-label{height:24px;line-height:24px;min-height:24px;padding:0 4px}.segmented_segmented__y6\+zN.mt-segmented .segmented_selected__g0pnY.mt-segmented-item{color:#fff!important}.accordion_accordion__TZJN7{color:var(--text-color);font-size:var(--font-size-base)}.accordion_accordion__TZJN7[data-variant=loose]{font-size:14px}.accordion_title__vV0mx{align-items:center;cursor:pointer;display:flex;font-weight:500;justify-content:space-between;margin-bottom:8px}.accordion_title__vV0mx[data-variant=loose]{margin-bottom:13px}.accordion_icon__KmIII{color:var(--cadet-grey);cursor:pointer;-webkit-user-select:none;user-select:none}.inline-alert_alert__FLG1L{background:rgb(var(--primary-color-rgb),.1);border-radius:4px;color:var(--primary-color);font-size:var(--font-size-sm);height:30px;padding:0 10px;width:100%}.inline-alert_alert__FLG1L i{margin-right:5px}.inline-alert_alert__FLG1L[data-variant=negative]{background:#de350b1a;color:var(--error-color)}.colorPicker_currentColor__htq7X{border:1px solid #0000001a;border-radius:2px;cursor:pointer;height:24px;transition:opacity .3s;width:40px}.colorPicker_currentColor__htq7X:hover{opacity:.8}@media(min-width:360px)and (max-width:767px){.colorPicker_currentColor__htq7X{width:30px}}.colorPicker_popover__bf8Ln{--padding:0}.colorPicker_colorWrapper__hFAex{display:flex;justify-content:center;max-width:48px;padding:4px}.colorPicker_picker__hOedR .chrome-picker{width:200px!important}.colorPicker_picker__hOedR .flexbox-fix div{margin-top:0!important}.layerSettingPanel_form__KlL4Y [data-no-options=true] .mt-select-selection-item{display:none}.layerSettingPanel_container__5vlPo{background:#f2f3f5;border-radius:6px;padding:4px}.layerSettingPanel_container__5vlPo .mt-select-selector{border:none!important}.layerSettingPanel_section__kIsi3{display:none}.layerSettingPanel_visible__tJJrW{border-bottom:none!important;display:block}.layerSettingPanel_layerDesc__CyhMx{height:64px;resize:none!important}.layerSettingPanel_config__BTnHx{color:var(--text-color);font-size:13px;font-style:normal;font-weight:500}.layerSettingPanel_configHeader__ZTzb3{align-items:center;cursor:pointer;display:flex;font-size:var(--font-size-base);justify-content:space-between;margin-bottom:8px}.layerSettingPanel_configToggle__LvrrR{color:var(--cadet-grey);cursor:pointer;-webkit-user-select:none;user-select:none}.layerSettingPanel_configLabel__wPTGd{font-size:12px;font-weight:400;line-height:14.5px;margin-bottom:8px}.layerSettingPanel_configLabel__wPTGd i{color:var(--cadet-grey);padding-left:4px}.layerSettingPanel_configLabelTooltip__UueYf{color:#00000073;margin-left:4px}.layerSettingPanel_box__naMx5{background-color:#f2f3f5;height:100%;padding:6px 4px}.layerSettingPanel_box__naMx5 .mt-input-number{width:100%}.layerSettingPanel_box__naMx5 .mt-slider-rail{background-color:#fff!important}.layerSettingPanel_divider__Y8R6h{color:#eee;margin:12px 0}.layerSettingPanel_collapse__WmIko,.layerSettingPanel_opacitySetting__0Ymyj .mt-input-number-handler-wrap{display:none}.layerSettingPanel_opacitySetting__0Ymyj .mt-input-number-sm{width:100%}.layerSettingPanel_opacitySetting__0Ymyj .mt-input-number-sm input{font-size:var(--font-size-sm);padding:0 1px 0 4px}.layerSettingPanel_range__nqOoc{align-items:center;display:flex;justify-content:space-between}.layerSettingPanel_numberInput__nwcna .mt-form-item-control-input{min-height:26px}.layerSettingPanel_horizontal__-brI1{align-items:center;display:flex;justify-content:space-between}.layerSettingPanel_horizontal__-brI1 .layerSettingPanel_configLabel__wPTGd{margin-bottom:0}.layerSettingPanel_horizontal__-brI1 .layerSettingPanel_configLabel__wPTGd .layerSettingPanel_heightSettingProBadge__ETDyE{background:var(--primary-color);border-radius:4px;color:#fff;font-size:10px;font-weight:500;margin-left:2px;padding:2px 4px}.layerSettingPanel_horizontal__-brI1 .mt-form-item{margin-bottom:0}.layerSettingPanel_fullWidth__WvKZ9{width:100%}.layerSettingPanel_tips__4Yz1t{color:var(--grayish-blue);font-size:var(--font-size-xs);margin-bottom:8px;margin-top:6px}div.layerSettingPanel_currentColor__L2N58{border:none;border-radius:2px;cursor:pointer;height:12px;width:12px}@media(min-width:360px)and (max-width:767px){div.layerSettingPanel_currentColor__L2N58{width:30px}}.layerSettingPanel_customizeColors__ZB8BO{align-items:center;display:flex;justify-content:space-between}.layerSettingPanel_customizeColorInput__mzM9B{width:45%}.layerSettingPanel_customizeColorInput__mzM9B.layerSettingPanel_hasError__qK02a{border:1px solid var(--error-color)}span.layerSettingPanel_customizeColorInput__mzM9B{text-align:right}.layerSettingPanel_customizeColorBadge__tKw4l{display:block;height:16px;width:24px}.layerSettingPanel_bivariateProBadge__hDmrU{background:var(--primary-color);border-radius:4px;color:#fff;font-size:10px;font-weight:500;margin-left:2px;padding:2px 4px}.layerSettingPanel_viewItem__3sRTW{align-items:center;display:flex}.layerSettingPanel_viewName__9NHqY.mt-typography{color:inherit;margin:0}.layerSettingPanel_viewIcon__gG1AP{color:#97a0af;margin-right:4px}.layerSettingPanel_layerTypeOption__xMTpF{max-width:248px}.layerSettingPanel_iconUpload__0D\+Ad svg{height:16px;width:16px}.layerSettingPanel_imagePreview__RAx8v{align-items:center;cursor:pointer;display:inline-flex;max-width:100px;position:relative}.layerSettingPanel_imagePreview__RAx8v img{display:block;transition:opacity .3s}.layerSettingPanel_imagePreview__RAx8v .layerSettingPanel_imageActions__AESf1{align-items:center;display:flex;gap:4px;justify-content:center;left:0;opacity:0;position:absolute;top:50%;transform:translateY(-50%);transition:opacity .3s;width:100%}.layerSettingPanel_imagePreview__RAx8v .layerSettingPanel_iconRemove__qKd1T{color:var(--error-color)}.layerSettingPanel_imagePreview__RAx8v .layerSettingPanel_iconUpload__0D\+Ad{color:var(--primary-color)}.layerSettingPanel_imagePreview__RAx8v:hover .layerSettingPanel_imageActions__AESf1{opacity:1}.layerSettingPanel_imagePreview__RAx8v:hover img{opacity:.5}.layerSettingPanel_customIconUploader__TKNcq .mt-upload-drag-container{padding:10px}.layerSettingPanel_customIconUploader__TKNcq.layerSettingPanel_small__-\+\+mJ .mt-upload{cursor:default;display:flex;height:auto;justify-content:flex-end;width:auto}.layerSettingPanel_customIconUploader__TKNcq.layerSettingPanel_small__-\+\+mJ .mt-upload .mt-upload-btn{min-height:auto}.layerSettingPanel_customIconUploader__TKNcq.layerSettingPanel_small__-\+\+mJ .mt-upload-drag-container{padding:0}.layerSettingPanel_customIconList__v4MDi{grid-gap:10px 8px;display:grid;gap:10px 8px;grid-template-columns:repeat(4,1fr);grid-template-rows:auto;margin-bottom:10px;padding-top:4px}.layerSettingPanel_customIcon__69qXS{align-items:center;border:1px solid #0000;border-radius:6px;cursor:pointer;display:flex;justify-content:center;padding:4px;position:relative;transition:all .3s}.layerSettingPanel_customIcon__69qXS .layerSettingPanel_customIconImage__T17q-{align-items:center;display:flex;height:24px;justify-content:center;overflow:hidden;width:24px}.layerSettingPanel_customIcon__69qXS.layerSettingPanel_active__6fnSz,.layerSettingPanel_customIcon__69qXS:hover{background:#fff;border:1px solid var(--primary-color)}.layerSettingPanel_customIcon__69qXS:hover .layerSettingPanel_deleteIcon__S9HY5{display:block}.layerSettingPanel_customIcon__69qXS .layerSettingPanel_deleteIcon__S9HY5{display:none;position:absolute;right:-5px;top:-5px}.layerSettingPanel_uploadBtn__vPy5Q{align-items:center;color:var(--primary-color);cursor:pointer;display:flex;font-size:12px;font-weight:600;gap:2px}.layerSettingPanel_badgeSm__HXdSB{padding:0 4px}.layerSettingPanel_iconTabs__6Lmjp .mt-tabs-tab-btn{font-size:12px}.layerSettingPanel_iconTabs__6Lmjp .mt-tabs-nav{margin-bottom:2px}.layerSettingPanel_table__SSYcZ{flex-direction:column;justify-content:flex-start;margin-bottom:12px}.layerSettingPanel_table__SSYcZ .layerSettingPanel_item__-CTvY{width:100%}.layerSettingPanel_table__SSYcZ .layerSettingPanel_color__5tpaM{padding:2px 4px}.layerSettingPanel_table__SSYcZ .layerSettingPanel_value__ZjNNn{font-weight:600;padding:2px 4px 2px 8px}.helpLink_blue__lQj-h{color:#1677ff}.helpLink_white__vQCJy{color:#fff;-webkit-text-decoration-line:underline;text-decoration-line:underline}.helpLink_linkIcon__oDcD6{cursor:pointer;padding-left:2px}.helpLink_linkIcon__oDcD6 :hover{color:var(--primary-color)}.configPanel_form__eLBE5{width:299px}.configPanel_form__eLBE5 [data-no-options=true] .mt-select-selection-item{display:none}.configPanel_divider__1AHaq{color:#eee;margin:12px 0}.configPanel_container__9IYea{background:#f2f3f5;border-radius:6px;padding:4px}.configPanel_container__9IYea .mt-select-selector{border:none!important}.configPanel_configLabel__kqCUv{font-size:12px;font-weight:400;line-height:14.5px;margin-bottom:8px}.configPanel_configLabel__kqCUv i{color:var(--cadet-grey);padding-left:4px}.configPanel_configLabelTooltip__CPWoz{color:#00000073;margin-left:4px}.configPanel_box__\+P8pt{background-color:#f2f3f5;height:100%;padding:6px 4px}.configPanel_box__\+P8pt .mt-input-number{width:100%}.configPanel_box__\+P8pt .mt-slider-rail{background-color:#fff!important}.configPanel_horizontal__d0t1A{align-items:center;display:flex;justify-content:space-between}.configPanel_horizontal__d0t1A .configPanel_configLabel__kqCUv{margin-bottom:0}.configPanel_horizontal__d0t1A .configPanel_configLabel__kqCUv .configPanel_heightSettingProBadge__DRY3g{background:var(--primary-color);border-radius:4px;color:#fff;font-size:10px;font-weight:500;margin-left:2px;padding:2px 4px}.configPanel_horizontal__d0t1A .mt-form-item{margin-bottom:0}.colorRangeSelector_menu__M0eMu{background-color:#fff;cursor:pointer;display:flex;padding:8px}.colorRangeSelector_menu__M0eMu.colorRangeSelector_disabled__XE5xQ{color:#97a0af;cursor:not-allowed}.colorRangeSelector_overlay__1vC4W{max-height:360px;overflow:auto}.colorRangeSelector_overlay__1vC4W .colorRangeSelector_item__xTBt7.mt-dropdown-menu-item{padding:4px 12px}.colorRangeSelector_overlay__1vC4W .colorRangeSelector_item__xTBt7.mt-dropdown-menu-item.colorRangeSelector_selected__8lc1j,.colorRangeSelector_overlay__1vC4W .colorRangeSelector_item__xTBt7.mt-dropdown-menu-item:hover{background-color:#f2f3f5}.colorRangeSelector_block__QC9Pu{align-items:center;display:flex}.colorRangeSelector_block__QC9Pu[data-spaced=true],.colorRangeSelector_menu__M0eMu[data-spaced=true]{gap:2px}.colorRangeSelector_iconArraowDown__FGEgZ{align-items:center;background:#fff;color:#97a0af;cursor:pointer;display:flex;justify-content:center;margin-left:8px}.colorRangeSelector_iconArraowDown__FGEgZ.colorRangeSelector_up__hw8bu{transform:rotate(180deg)}.colorRangeSelector_iconEdit__57yeh{color:var(--primary-color);margin-left:6px;margin-top:2px}.colorRangeSelector_popover__0QDJu .colorRangeSelector_menu__M0eMu{margin-bottom:10px;position:-webkit-sticky;position:sticky;top:0;width:200px;z-index:1}.colorRangeSelector_popover__0QDJu .mt-popover-inner{background-color:#f2f3f5}.colorRangeSelector_popover__0QDJu .mt-popover-inner-content{max-height:600px;overflow-y:auto;padding:8px}.colorRangeSelector_popover__0QDJu .mt-form-item{margin-bottom:0}.TooltipIfNeed_tooltip__fkhoS .mt-tooltip-inner{max-height:40px;overflow:hidden}.TooltipIfNeed_ellipsis__mrlsu{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.TooltipIfNeed_pre__0Xf\+h{margin:0;white-space:pre-wrap;word-break:break-all}.mt-upload-wrapper.uploader_container__LCCsN .mt-upload.mt-upload-btn{border-radius:6px;min-height:160px;padding:0}.mt-upload-wrapper.uploader_container__LCCsN .mt-upload-drag{background:#0000;border:none}.mt-upload-wrapper.uploader_container__LCCsN.uploader_filelist__pFb0B .mt-upload-drag{display:none}.mt-upload-wrapper.uploader_container__LCCsN .mt-upload-list{display:flex;flex-direction:column;gap:12px}.mt-upload-wrapper.uploader_container__LCCsN.uploader_default__btfQ2 .mt-upload-list{display:none}.mt-upload-wrapper.uploader_container__LCCsN .uploader_dashed__Yjlia{color:#c1c7d0;inset:0;position:absolute}.mt-upload-wrapper.uploader_container__LCCsN:hover .uploader_dashed__Yjlia{color:#999}.uploader_content__zF1NL{color:#475467;line-height:1.8;position:relative}.uploader_iconWrap__6o9Xd{align-items:center;border:1px solid #eaecf0;border-radius:8px;box-shadow:0 1px 2px 0 rgba(16,24,40,.051);display:inline-flex;height:40px;justify-content:center;margin-bottom:12px;width:40px}.uploader_title__zT-Gq{line-height:1.2}.uploader_title__zT-Gq b{color:var(--primary-color)}.uploader_description__pRaBz{font-size:var(--font-size-xs);line-height:1.1;margin-top:8px}.upload-file_item__kHDpb{border:1px solid #eaecf0;border-radius:8px;display:flex;gap:12px;padding:16px;position:relative}.upload-file_item__kHDpb:hover{border-color:#ddd}.upload-file_icon__RKCML{width:40px}.upload-file_content__zi7JA{flex-grow:1}.upload-file_content__zi7JA .mt-progress-line{margin-bottom:0}.upload-file_name__wCcrR{color:#344054;font-size:14px;padding-right:24px;word-break:break-all}.upload-file_size__RgqK1{color:var(--cadet-grey);font-size:var(--font-size-sm)}.upload-file_action__O8ncT{position:absolute;right:12px;top:12px}.upload-file_action__O8ncT button{align-items:center;border:none;border-radius:4px;color:#97a0af;display:flex;height:28px;justify-content:center;outline:none;transition:all .13s ease-in-out;width:28px}.upload-file_action__O8ncT button:focus-visible{border-radius:3px;outline:2px solid var(--primary-color);outline-offset:2px}.upload-file_action__O8ncT button:hover{background-color:#f0f0f0;color:#000;cursor:pointer}.upload-file_action__O8ncT button svg{height:18px;width:18px}.iconAndColorPicker_colorPalette__Py3bD{line-height:1}.iconAndColorPicker_colorPalette__Py3bD .iconAndColorPicker_color__8wFZ7{border-radius:50%;cursor:pointer;display:inline-block;height:16px;width:16px}.iconAndColorPicker_colorPalette__Py3bD .iconAndColorPicker_color__8wFZ7:hover{border:1px solid #4c93ff}.iconAndColorPicker_colorPalette__Py3bD .iconAndColorPicker_color__8wFZ7.iconAndColorPicker_active__RPKww{border:1px solid var(--primary-color)}.iconAndColorPicker_colorPalette__Py3bD .mt-divider-horizontal{margin:6px 0 12px}.iconAndColorPicker_colorPalette__Py3bD .iconAndColorPicker_subTitle__wrmjZ{color:#000;font-size:12px;font-style:normal;font-weight:400;letter-spacing:.24px;line-height:normal;margin-bottom:8px}.iconAndColorPicker_colorPalette__Py3bD .iconAndColorPicker_iconSelect__2Qw51{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.iconAndColorPicker_colorPalette__Py3bD .iconAndColorPicker_iconSelect__2Qw51 .iconAndColorPicker_icon__bstKu{align-items:center;cursor:pointer;display:flex;height:16px;justify-content:center;margin-bottom:6px;width:16px}.iconAndColorPicker_colorPalette__Py3bD .iconAndColorPicker_iconSelect__2Qw51 .iconAndColorPicker_icon__bstKu:hover{background-color:#ebecf0}.iconAndColorPicker_colorPalette__Py3bD .iconAndColorPicker_iconSelect__2Qw51 .iconAndColorPicker_icon__bstKu+.iconAndColorPicker_icon__bstKu{margin-left:8px}.iconAndColorPicker_colorPalette__Py3bD .iconAndColorPicker_iconSelect__2Qw51 .iconAndColorPicker_active__RPKww{background-color:#ebecf0}.iconAndColorPicker_colorPicker__G9205{align-items:center;display:inline-flex;height:100%;justify-content:center}.iconAndColorPicker_colorPicker__G9205 .iconAndColorPicker_colorPickerButton__as5sC{align-items:center;border-radius:50%;cursor:pointer;display:flex;height:16px;justify-content:center;transition:opacity .3s;width:16px}.iconAndColorPicker_colorPicker__G9205 .iconAndColorPicker_colorPickerButton__as5sC:hover{opacity:.6}.iconAndColorPicker_colorPicker__G9205 .iconAndColorPicker_iconPickerButton__4EtsA{align-items:center;background-repeat:no-repeat;background-size:contain;cursor:pointer;display:flex;height:16px;justify-content:center;width:16px}.iconAndColorPicker_colorPicker__G9205 .iconAndColorPicker_colorPickerDropdown__lb\+CM{border-left:3px solid #0000;border-right:3px solid #0000;border-top:5.1961px solid #091e42;height:0;width:0}.iconAndColorPicker_colorPicker__G9205 .iconAndColorPicker_currentColor__FOXAg{border:1px solid #0000001a;border-radius:4px;cursor:pointer;height:14px;transition:opacity .3s;width:14px}.iconAndColorPicker_colorPicker__G9205 .iconAndColorPicker_currentColor__FOXAg:hover{opacity:.6}.iconAndColorPicker_feishuColorPalette__nbUuE .iconAndColorPicker_colors__TWxCg{grid-row-gap:8px;grid-column-gap:8px;column-gap:8px;display:grid;grid-template-columns:repeat(11,1fr);grid-template-rows:1fr 1fr;row-gap:8px;width:256px}.iconAndColorPicker_feishuColorPalette__nbUuE .iconAndColorPicker_iconSelect__2Qw51{justify-content:flex-start;max-width:256px}.iconAndColorPicker_feishuColorPalette__nbUuE .iconAndColorPicker_iconSelect__2Qw51 .iconAndColorPicker_icon__bstKu:nth-child(6){margin-left:8px}.iconAndColorPicker_iconAndColorPickerTabs__NLiL9{width:240px}.iconAndColorPicker_iconAndColorPickerTabs__NLiL9 .iconAndColorPicker_customizeIconTabTitle__vloLS{padding-right:4px}.iconAndColorPicker_iconAndColorPickerTabs__NLiL9 .mt-tabs-ink-bar{width:0!important}.iconAndColorPicker_iconAndColorPickerTabs__NLiL9 .mt-tabs-tab+.mt-tabs-tab{margin-left:10px}.iconAndColorPicker_iconAndColorPickerTabs__NLiL9 .mt-tabs-tab{color:var(--cadet-grey);font-size:13px;font-weight:500;letter-spacing:.26px}.iconAndColorPicker_maptableColorPalette__nhK03 .iconAndColorPicker_colors__TWxCg{grid-row-gap:8px;grid-column-gap:8px;column-gap:8px;display:grid;grid-template-columns:repeat(10,1fr);grid-template-rows:1fr 1fr;row-gap:8px;width:240px}.iconAndColorPicker_iconColorPicker__dhfCa .chrome-picker{width:100%!important}.iconAndColorPicker_iconColorPicker__dhfCa .flexbox-fix div{margin-top:0!important}.featuresControl_item__w7ayb{cursor:pointer;padding-top:8px}.featuresControl_visible__BHdGX{color:var(--grayish-blue)}.featuresControl_invisible__zB3Pk{color:var(--icon-fill-color-disabled)}.fieldSettingModal_resetButton__MOBkV{color:#97a0af;padding-left:0}.fieldSettingModal_movableItem__gftIE{align-items:center;color:#505f79;display:flex;height:32px;z-index:var(--max-z-index)}.fieldSettingModal_movableItem__gftIE+.fieldSettingModal_movableItem__gftIE{border-top:1px solid #ebecf0}.fieldSettingModal_columnIcon__-BnZr{height:18px;margin-left:10px;margin-right:5px}.fieldSettingModal_columnIcon__-BnZr>svg{height:16px;width:16px}.fieldSettingModal_columnName__wqybB{color:#505f79;font-size:12px;max-width:150px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.fieldSettingModal_handle__HrQrT{align-items:center;display:flex;justify-content:center}.fieldSettingModal_hidden__Jnex4.fieldSettingModal_movableItem__gftIE{color:#97a0af}.fieldSettingModal_hidden__Jnex4.fieldSettingModal_movableItem__gftIE .fieldSettingModal_handle__HrQrT{visibility:hidden}.fieldSettingModal_switch__JV5pl{margin-left:auto}.fieldSettingModal_switchText__4senN{margin-left:10px;margin-right:16px;min-width:34px}.fieldSettingModal_fieldList__f9-yk{border:1px solid #ebecf0;border-radius:4px;margin-top:16px;max-height:336px;overflow:auto;padding:8px 16px}.fieldSettingModal_tabs__6Jwie{margin-top:12px}.fieldSettingModal_tab__X2pdi{display:inline-block;margin-bottom:4px;margin-right:4px}.fieldSettingModal_tabButton__25FFS{align-items:center;background:#f4f5f7;border-radius:4px;color:#091e42;display:flex;font-size:13px;max-width:96px;overflow:hidden;padding-left:12px;padding-right:8px;text-overflow:ellipsis}.fieldSettingModal_tabButton__25FFS span{display:unset}.fieldSettingModal_selectedButton__Go8fM,.fieldSettingModal_selectedButton__Go8fM:focus,.fieldSettingModal_selectedButton__Go8fM:hover{background:#0065ff1a;color:#0065ff}.fieldSettingModal_buttonText__PyNz1{overflow:hidden;text-overflow:ellipsis}.fieldSettingModal_caretIcon__OuLtV{color:#97a0af;margin-left:4px}.fieldSettingModal_plusButton__k10K-{background:#f4f5f7;color:#505f79}.fieldSettingModal_iconOnly__668CH{height:32px;padding:0;width:32px}.fieldSettingModal_tabInput__uobVt{max-width:96px}.fieldSettingModal_notification__H7WF2{padding-bottom:20px}.fieldSettingModal_form__rErxm .mt-select-single{width:100%}.fieldSettingModal_form__rErxm .mt-form-item{margin-bottom:12px}.fieldSettingModal_layoutLabel__nMxuc i{color:var(--cadet-grey);line-height:1}.fieldSettingModal_divider__gMScr{margin:12px 0}.treeNodeIcon_normal__2Se0N{color:var(--icon-fill-color)}.treeNodeIcon_normal__2Se0N svg{height:16px;width:16px}.treeNodeIcon_active__M0\+Si{color:var(--icon-fill-color-active)}.treeNodeIcon_tip__oCbg0{background:#000c;border-radius:4px;color:#fff}.smallDivider_smallDivider__lj604{background-color:#fff6;display:inline-block;height:18px;vertical-align:middle;width:1px}.smallDivider_smallDivider__lj604.smallDivider_light__gAj3s{background-color:#d8d8d8}.smallDivider_smallDivider__lj604.smallDivider_mh10__iMm9c{margin-left:10px;margin-right:10px}.smallDivider_smallDivider__lj604.smallDivider_mh15__QmOFL{margin-left:15px;margin-right:15px}.smallDivider_smallDivider__lj604.smallDivider_mr15__6IOQr{margin-right:15px}.infoWindow_imageInfoWindow__cM-gJ,.infoWindow_infoWindow__U4d6i{background:#fff;border-radius:8px;box-shadow:0 4px 12px 0 #0003;left:0;padding:16px;position:fixed;top:40px;width:312px;z-index:2}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_header__t5VrR,.infoWindow_infoWindow__U4d6i .infoWindow_header__t5VrR{align-items:center;cursor:move;display:flex}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_header__t5VrR .infoWindow_carousel__MCjK7,.infoWindow_infoWindow__U4d6i .infoWindow_header__t5VrR .infoWindow_carousel__MCjK7{height:200px;width:312px}@media(min-width:360px)and (max-width:767px){.infoWindow_imageInfoWindow__cM-gJ .infoWindow_header__t5VrR .infoWindow_carousel__MCjK7,.infoWindow_infoWindow__U4d6i .infoWindow_header__t5VrR .infoWindow_carousel__MCjK7{width:320px}}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_header__t5VrR .infoWindow_leftArrow__RNQa5,.infoWindow_imageInfoWindow__cM-gJ .infoWindow_header__t5VrR .infoWindow_rightArrow__ONzD5,.infoWindow_infoWindow__U4d6i .infoWindow_header__t5VrR .infoWindow_leftArrow__RNQa5,.infoWindow_infoWindow__U4d6i .infoWindow_header__t5VrR .infoWindow_rightArrow__ONzD5{color:#fff;cursor:pointer;font-size:24px;height:24px;position:absolute;top:88px;width:24px;z-index:1}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_header__t5VrR .infoWindow_leftArrow__RNQa5,.infoWindow_infoWindow__U4d6i .infoWindow_header__t5VrR .infoWindow_leftArrow__RNQa5{left:4px}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_header__t5VrR .infoWindow_rightArrow__ONzD5,.infoWindow_infoWindow__U4d6i .infoWindow_header__t5VrR .infoWindow_rightArrow__ONzD5{right:4px}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_header__t5VrR .infoWindow_imageWrap__8Ze4P,.infoWindow_infoWindow__U4d6i .infoWindow_header__t5VrR .infoWindow_imageWrap__8Ze4P{height:200px;width:320px}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_header__t5VrR .infoWindow_imageWrap__8Ze4P img,.infoWindow_infoWindow__U4d6i .infoWindow_header__t5VrR .infoWindow_imageWrap__8Ze4P img{border-top-left-radius:8px;border-top-right-radius:8px;height:100%;object-fit:cover;overflow:hidden;width:100%}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_header__t5VrR .infoWindow_loading__UdTMF,.infoWindow_infoWindow__U4d6i .infoWindow_header__t5VrR .infoWindow_loading__UdTMF{align-items:center;display:flex!important;height:200px;justify-content:center;width:100%}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_header__t5VrR .infoWindow_noImage__mLihE,.infoWindow_infoWindow__U4d6i .infoWindow_header__t5VrR .infoWindow_noImage__mLihE{background-color:#ebecf0;border-top-left-radius:8px;border-top-right-radius:8px;height:200px;width:100%}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_header__t5VrR .infoWindow_noImage__mLihE .infoWindow_noImageHeader__9MPVQ,.infoWindow_infoWindow__U4d6i .infoWindow_header__t5VrR .infoWindow_noImage__mLihE .infoWindow_noImageHeader__9MPVQ{background:linear-gradient(180deg,#0000004a,#0000);height:48px;width:100%}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_header__t5VrR .infoWindow_noImage__mLihE .infoWindow_noImageIcon__CuDEF,.infoWindow_infoWindow__U4d6i .infoWindow_header__t5VrR .infoWindow_noImage__mLihE .infoWindow_noImageIcon__CuDEF{align-items:center;display:flex;height:calc(100% - 48px);justify-content:center}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_header__t5VrR .slick-dots,.infoWindow_infoWindow__U4d6i .infoWindow_header__t5VrR .slick-dots{bottom:0}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_header__t5VrR .slick-dots .slick-active,.infoWindow_infoWindow__U4d6i .infoWindow_header__t5VrR .slick-dots .slick-active{width:12px!important}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_header__t5VrR .slick-dots button,.infoWindow_infoWindow__U4d6i .infoWindow_header__t5VrR .slick-dots button{border-radius:4px!important;height:5px!important;width:5px!important}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_title__F72hd,.infoWindow_infoWindow__U4d6i .infoWindow_title__F72hd{flex:1 1;font-size:var(--heading-1-size);font-weight:600;min-height:31px;overflow:hidden;text-overflow:ellipsis;-webkit-user-select:none;user-select:none;white-space:nowrap}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_actions__GM4-D,.infoWindow_infoWindow__U4d6i .infoWindow_actions__GM4-D{align-items:center;color:#8a8a8f;display:flex;flex-basis:60px;flex-wrap:nowrap;justify-content:flex-end}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_actions__GM4-D i,.infoWindow_infoWindow__U4d6i .infoWindow_actions__GM4-D i{cursor:pointer}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_content__4u\+56,.infoWindow_infoWindow__U4d6i .infoWindow_content__4u\+56{border-radius:4px;max-height:310px;overflow-y:auto;padding:16px 0 0}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_verticalList__up4N8,.infoWindow_infoWindow__U4d6i .infoWindow_verticalList__up4N8{align-items:flex-start!important;flex-direction:column;row-gap:4px}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_verticalList__up4N8 .infoWindow_label__lOo\+k,.infoWindow_infoWindow__U4d6i .infoWindow_verticalList__up4N8 .infoWindow_label__lOo\+k{text-align:left;width:100%}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_vertical__uT9ml,.infoWindow_infoWindow__U4d6i .infoWindow_vertical__uT9ml{justify-content:flex-start!important;text-align:left!important}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_item__Q55UE,.infoWindow_infoWindow__U4d6i .infoWindow_item__Q55UE{align-items:center;display:flex;font-size:var(--font-size-base);margin:4px 0}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_item__Q55UE i,.infoWindow_imageInfoWindow__cM-gJ .infoWindow_item__Q55UE i:hover,.infoWindow_infoWindow__U4d6i .infoWindow_item__Q55UE i,.infoWindow_infoWindow__U4d6i .infoWindow_item__Q55UE i:hover{background-color:inherit;color:inherit;cursor:auto}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_horizontalDivider__0OrjE,.infoWindow_infoWindow__U4d6i .infoWindow_horizontalDivider__0OrjE{margin:1px 0}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_label__lOo\+k,.infoWindow_infoWindow__U4d6i .infoWindow_label__lOo\+k{color:#505f79;min-width:60px;width:140px;word-break:break-all}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_text__eRyVQ,.infoWindow_infoWindow__U4d6i .infoWindow_text__eRyVQ{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:var(--fill-color);flex-wrap:wrap;font-weight:500;justify-content:flex-end;line-height:18px;min-height:unset;overflow:hidden;text-align:right;text-overflow:ellipsis;width:100%}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_text__eRyVQ.infoWindow_select__3uLn-,.infoWindow_infoWindow__U4d6i .infoWindow_text__eRyVQ.infoWindow_select__3uLn-{text-overflow:clip;white-space:nowrap}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_text__eRyVQ.infoWindow_checkbox__wuadN,.infoWindow_infoWindow__U4d6i .infoWindow_text__eRyVQ.infoWindow_checkbox__wuadN{height:20px}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_text__eRyVQ.infoWindow_checkbox__wuadN input,.infoWindow_infoWindow__U4d6i .infoWindow_text__eRyVQ.infoWindow_checkbox__wuadN input{cursor:default}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_footer__uSAXx,.infoWindow_infoWindow__U4d6i .infoWindow_footer__uSAXx{align-items:center;display:flex;padding:12px 0 0}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_footerItem__zsyys,.infoWindow_infoWindow__U4d6i .infoWindow_footerItem__zsyys{align-items:center;color:var(--cadet-grey);cursor:pointer;display:flex;margin-right:15px;transition:all .2s}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_footerItem__zsyys:hover,.infoWindow_infoWindow__U4d6i .infoWindow_footerItem__zsyys:hover{color:var(--primary-color)}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_footerItem__zsyys .infoWindow_icon__uNzeG,.infoWindow_infoWindow__U4d6i .infoWindow_footerItem__zsyys .infoWindow_icon__uNzeG{margin-right:4px}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_footerItem__zsyys.infoWindow_detail__HkmdT,.infoWindow_infoWindow__U4d6i .infoWindow_footerItem__zsyys.infoWindow_detail__HkmdT{color:var(--btn-primary-bg);margin-left:auto;margin-right:0}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_footerItem__zsyys.infoWindow_detail__HkmdT .infoWindow_icon__uNzeG,.infoWindow_infoWindow__U4d6i .infoWindow_footerItem__zsyys.infoWindow_detail__HkmdT .infoWindow_icon__uNzeG{margin-left:4px;margin-right:0}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_close__gUip0,.infoWindow_infoWindow__U4d6i .infoWindow_close__gUip0{fill:#8a8a8f}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_anchor__wzanB,.infoWindow_infoWindow__U4d6i .infoWindow_anchor__wzanB{background-color:var(--btn-primary-bg);border-radius:6px;bottom:-2px;height:8px;left:50%;margin-left:-4px;position:absolute;transform:translateX(-50%);width:8px}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_coordinate__\+RFm1 svg:hover,.infoWindow_infoWindow__U4d6i .infoWindow_coordinate__\+RFm1 svg:hover{background-color:#cee1ff;color:#0065ff;cursor:pointer}.infoWindow_imageInfoWindow__cM-gJ .mt-checkbox-inner,.infoWindow_infoWindow__U4d6i .mt-checkbox-inner{border-width:1px}@media(min-width:360px)and (max-width:767px){.infoWindow_imageInfoWindow__cM-gJ,.infoWindow_infoWindow__U4d6i{width:260px}}.infoWindow_imageInfoWindow__cM-gJ{padding:0}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_header__t5VrR{margin-bottom:0}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_actions__GM4-D{color:#8a8a8f;position:absolute;right:10px;top:12px}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_actions__GM4-D .infoWindow_close__gUip0,.infoWindow_imageInfoWindow__cM-gJ .infoWindow_actions__GM4-D .infoWindow_setting__FpdRc{color:#fff}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_actions__GM4-D i{cursor:pointer}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_title__F72hd{margin-bottom:12px}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_content__4u\+56{padding:16px 16px 0}.infoWindow_imageInfoWindow__cM-gJ .infoWindow_footer__uSAXx{padding:12px 16px}.infoWindow_paginationContainer__ZXA0Z{left:50%;position:absolute;top:-40px;transform:translateX(-50%)}.infoWindow_paginationContainer__ZXA0Z .infoWindow_pagination__-qVYk{align-items:center;background:#fff;border-radius:6px;display:flex;height:32px;justify-content:space-between;min-width:96px;padding:0 8px}.infoWindow_paginationContainer__ZXA0Z .infoWindow_pagination__-qVYk .infoWindow_current__Gr5op{color:#091e42}.infoWindow_paginationContainer__ZXA0Z .infoWindow_pagination__-qVYk .infoWindow_divide__zbEjH,.infoWindow_paginationContainer__ZXA0Z .infoWindow_pagination__-qVYk .infoWindow_total__Zo7MX{color:#97a0af}.infoWindow_paginationContainer__ZXA0Z .infoWindow_pagination__-qVYk .infoWindow_divide__zbEjH{padding:0 4px}.infoWindow_paginationContainer__ZXA0Z .infoWindow_leftArrow__RNQa5,.infoWindow_paginationContainer__ZXA0Z .infoWindow_rightArrow__ONzD5{color:#0065ff;cursor:pointer}.infoWindow_paginationContainer__ZXA0Z .infoWindow_disableArrow__p251N{color:#c1c7d0;cursor:not-allowed}.mtmap-controls{bottom:20px;position:absolute;right:20px;transition:right .3s ease-in-out;z-index:2}.mtmap-controls-expanded{right:calc(20px + var(--side-panel-width))}.mtmap-controls-help-center{bottom:calc(20px + var(--help-center-offset))}.mtmap-controls__panel{background:#fff;border-radius:4px;bottom:0;box-shadow:var(--shadow,0 2px 4px #0003);min-width:80px;padding:10px 15px;position:absolute;right:50px;width:-webkit-max-content;width:max-content}.mtmap-controls__panel.hide{display:none}.mtmap-controls__block{background:#fff;border-radius:4px;box-shadow:0 2px 3px #00000026;position:relative}.mtmap-controls__block+.mtmap-controls__block{margin-top:10px}.mtmap-controls__item{align-items:center;color:#666;cursor:pointer;display:flex;font-size:18px;height:30px;justify-content:center;-webkit-user-select:none;user-select:none;width:30px}.mtmap-controls__item+.mtmap-controls__item{border-top:1px solid #efeff2}.mtmap-controls__item svg{height:16px;width:16px}.mtmap-controls__label svg{fill:#8a8a8f}.mtmap-controls__panel-title{color:#323232;font-size:13px;font-weight:500;margin-bottom:10px;-webkit-user-select:none;user-select:none}.mtmap-controls__panel-text{color:#323232;font-size:11px}.mtmap-controls__label.active svg{fill:var(--primary-color);color:var(--primary-color)}.mtmap-controls__panel-section:not(:last-child){padding-bottom:10px}.mtmap-controls__panel-section+.mtmap-controls__panel-section{border-top:1px solid #e5e5e5;padding-top:10px}.mtmap-controls__distance{color:#323232}.mtmap-controls__distance-item{font-size:12px}.mtmap-controls__distance-item+.mtmap-controls__distance-item{margin-top:5px}.mtmap-controls__distance-label{color:#898989;margin-right:5px}.mtmap-controls__distance-divider{background:#ccc;display:inline-block;height:13px;margin:0 5px;vertical-align:middle;width:1px}.mtmap-controls__select{margin-bottom:8px;width:105px}.mtmap-controls__spin{animation:loadingCircle 1s linear infinite}@keyframes loadingCircle{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.Distance_wrapper__gtcx-{height:90px;min-width:130px}.Distance_wrapper__gtcx- .Distance_title__qMHej{color:#091e42;font-size:14px;font-weight:500;padding-bottom:8px;-webkit-user-select:none;user-select:none}.Distance_wrapper__gtcx- .Distance_tips__Ta\+9S{color:#505f79;font-size:12px;padding-bottom:4px}.Distance_wrapper__gtcx- .Distance_value__ezKhp{font-weight:500}.Distance_wrapper__gtcx- .Distance_close__hhuIP{position:absolute;right:16px;top:16px}.Distance_wrapper__gtcx- .Distance_close__hhuIP svg{height:10px;width:10px}.Distance_wrapper__gtcx- .Distance_close__hhuIP:hover{cursor:pointer}.creatingLayerBanner_wrap__0ZaLC{bottom:50px;position:fixed;right:60px;z-index:calc(var(--zindex-top-header) + 1)}.creatingLayerBanner_content__zz7BP{background:#fff;border-radius:4px;box-shadow:0 10px 40px #00000029;margin:10px;max-width:280px}.creatingLayerBanner_title__8WuZF{align-items:center;background:#505f79;color:#fff;display:flex;font-size:12px;font-weight:500;height:40px;justify-content:space-between;line-height:17px;padding-left:16px;padding-right:16px}.creatingLayerBanner_close__gmxjP{cursor:pointer;height:12px;width:12px}.creatingLayerBanner_close__gmxjP svg{height:12px;width:12px}.creatingLayerBanner_info__F69en{align-items:center;color:#091e42;display:flex;font-size:13px;font-weight:500;height:40px;justify-content:space-between;line-height:18px;padding-left:16px;padding-right:12px}.creatingLayerBanner_name__Z-D2t{align-items:center;display:flex;width:210px}.creatingLayerBanner_text__oLo5f{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.creatingLayerBanner_icon__xrrwb{color:#97a0af;margin-right:6px}.creatingLayerBanner_percent__2O7tv{color:#505f79}.creatingLayerBanner_percent__2O7tv img{margin-right:2px}.spatialAnalysisPanel_panel__5iMqj{background:#fff;border-radius:5px;box-shadow:var(--shadow);max-height:calc(100% - 100px);overflow-y:auto;padding:0 10px 12px;position:absolute!important;right:20px;top:48px;z-index:var(--zindex-app-panel)}.spatialAnalysisPanel_wrap__VNKHI{height:100%}.spatialAnalysisPanel_head__PLh1\+{align-items:center;background-color:#fff;box-shadow:0 1px 0 0 #c0c0c04d;display:flex;justify-content:space-between;padding:10px;position:relative}.spatialAnalysisPanel_name__Lcv96{align-items:center;color:#505f79;display:flex;font-weight:500;gap:4px;line-height:1.1}.spatialAnalysisPanel_body__cedMy{background-color:#fff;height:calc(100% - 100px);overflow-y:auto;padding:10px}.spatialAnalysisPanel_form__nCB3b .mt-form-item{margin-bottom:12px}.spatialAnalysisPanel_form__nCB3b .mt-form-item-label>label{font-size:12px}.spatialAnalysisPanel_form__nCB3b .mt-input-number{width:auto}.spatialAnalysisPanel_radioGroup__X0yj3 .mt-radio{display:none}.spatialAnalysisPanel_radioGroup__X0yj3 .mt-radio-wrapper{margin-bottom:6px;margin-inline-end:6px}.spatialAnalysisPanel_radioGroup__X0yj3 .mt-radio-wrapper span{padding:0}.spatialAnalysisPanel_radioGroup__X0yj3 .spatialAnalysisPanel_radio__r4uwE{align-items:center;border:1px solid #0000;border-radius:6px;display:flex;flex-direction:column;font-size:12px;height:50px;justify-content:center;transition:all .3s;width:80px}.spatialAnalysisPanel_radioGroup__X0yj3 .spatialAnalysisPanel_radio__r4uwE.spatialAnalysisPanel_active__5KnL7,.spatialAnalysisPanel_radioGroup__X0yj3 .spatialAnalysisPanel_radio__r4uwE:hover{background-color:#0065ff1a;border-color:var(--primary-color);color:var(--primary-color)}.spatialAnalysisPanel_radioGroup__X0yj3 .spatialAnalysisPanel_radio__r4uwE.spatialAnalysisPanel_active__5KnL7 .spatialAnalysisPanel_icon__pu1mN,.spatialAnalysisPanel_radioGroup__X0yj3 .spatialAnalysisPanel_radio__r4uwE:hover .spatialAnalysisPanel_icon__pu1mN{color:var(--primary-color)}.spatialAnalysisPanel_icon__pu1mN{color:#97a0af}.spatialAnalysisPanel_title__dJ321{font-weight:600;margin-bottom:10px}.spatialAnalysisPanel_actions__DsZTA{align-items:center;display:flex;gap:10px}.spatialAnalysisPanel_actions__DsZTA .spatialAnalysisPanel_action__g-TI2{background-color:#0000;border-radius:4px;color:var(--grayish-blue);cursor:pointer;height:20px;text-align:center;transition:.3s;width:20px}.spatialAnalysisPanel_actions__DsZTA .spatialAnalysisPanel_action__g-TI2:hover{background-color:var(--secondary-color);color:var(--primary-color)}.spatialAnalysisPanel_actions__DsZTA .spatialAnalysisPanel_action__g-TI2 svg{height:14px;width:14px}.spatialAnalysisPanel_footer__she-t{align-items:center;display:flex;gap:10px;margin-top:30px}.spatialAnalysisPanel_tip__74uq3{color:#97a0af;font-size:12px;margin-bottom:4px}.spatialAnalysisPanel_iconClose__ccgEK{color:#97a0af;cursor:pointer;margin-top:8px}.spatialAnalysisPanel_countMethod__qDyLT{position:relative}.spatialAnalysisPanel_countMethod__qDyLT .spatialAnalysisPanel_addon__qrBzf{position:absolute;right:28px;text-align:center;top:33px;width:70px}.spatialAnalysisPanel_countMethod__qDyLT .spatialAnalysisPanel_addon__qrBzf .mt-select-selector{background-color:#f2f3f5;border:none}.spatialAnalysisPanel_divider__\+AjXa{margin:16px 0}.sider_sider__cBw26{bottom:0;left:0;position:absolute;top:0;z-index:var(--map-sider-z-index)}.sider_sider__cBw26 .mt-layout-sider-children,.sider_siderBody__HlKNE{display:flex;flex-direction:column;width:100%}.sider_siderBody__HlKNE{box-shadow:0 0 6px #0000001a,inset 0 0 0 #ddd;height:100%}.sider_expand__GinHc{align-items:center;background-color:#fff;border-radius:0 4px 4px 0;box-shadow:0 2px 4px #00000026;cursor:pointer;height:40px;justify-content:center;position:absolute;right:300px;top:16px;width:20px}.sider_expand__GinHc,.sider_wrap__IUkNn{display:flex;transition:all .1s ease-in-out}.sider_wrap__IUkNn{height:100%;position:relative;width:var(--sider-width)}@media(min-width:360px)and (max-width:767px){.sider_wrap__IUkNn{width:var(--mobile-sider-width)}}.sider_wrap__IUkNn.sider_collapseSide__j6IuM{width:0}.sider_wrap__IUkNn.sider_collapseSide__j6IuM .sider_sider__cBw26{left:calc(var(--sider-width)*-1)}@media(min-width:360px)and (max-width:767px){.sider_wrap__IUkNn.sider_collapseSide__j6IuM .sider_sider__cBw26{left:calc(var(--mobile-sider-width)*-1)}}.sider_wrap__IUkNn.sider_collapseSide__j6IuM .sider_expand__GinHc{right:-20px}.sider_wrap__IUkNn.sider_isFloat__5yc\+F{bottom:0;left:0;position:absolute;top:0;z-index:var(--map-sider-z-index)}.sider_collapseButtonContainer__z7bCH{align-items:center;box-shadow:inset 0 -1px 0 #ddd;color:var(--grayish-blue);display:flex;height:40px;padding-left:8px}.sider_collapseButton__202yn{align-items:center;background:#f4f5f7;border-radius:2px;color:var(--grayish-blue);display:flex;font-size:13px;padding:5px}.sider_collapseButton__202yn i{margin-right:6px}.sider_header__PL5L6{align-items:center;border-bottom:1px solid #eee;color:#97a0af;display:flex;flex-shrink:0;font-size:14px;font-weight:600;height:40px;justify-content:space-between;margin:0 10px 8px 20px}.sider_siderBtn__XysiD{cursor:pointer;opacity:.8;transition:all .2s ease-in-out}.sider_siderBtn__XysiD[data-open=false]{transform:translateX(40px) rotate(180deg)}.sider_siderBtn__XysiD:hover{opacity:1}.sider_siderIcon__OtFEG{align-items:center;background:#f4f5f7;border-radius:4px;color:#6a707c;display:flex;height:24px;justify-content:center;width:24px}.sider_siderIcon__OtFEG svg{height:16px;width:16px}.overlayTypeSelector_itemIcon__5-gob{color:#505f79}.overlayTypeSelector_item__3ccyr{align-items:center;border-radius:4px;display:flex;font-size:13px;font-weight:500;height:100%;justify-content:center}.overlayTypeSelector_item__3ccyr:hover{border-color:var(--primary-color);color:var(--primary-color)}.overlayTypeSelector_item__3ccyr:hover .overlayTypeSelector_itemIcon__5-gob svg{color:var(--primary-color)}.overlayTypeSelector_radioGroup__fuEHD .mt-radio{display:none}.overlayTypeSelector_radioGroup__fuEHD .mt-radio-button-wrapper{padding:0 10px}.overlayTypeSelector_radioGroup__fuEHD .mt-radio-button-wrapper:after{display:none}.overlayTypeSelector_radioGroup__fuEHD .mt-radio-button-wrapper-checked .overlayTypeSelector_item__3ccyr{border-color:var(--primary-color);color:var(--primary-color)}.overlayTypeSelector_radioGroup__fuEHD .mt-radio-button-wrapper-checked .overlayTypeSelector_itemIcon__5-gob,.overlayTypeSelector_radioGroup__fuEHD .mt-radio-button-wrapper-checked .overlayTypeSelector_itemIcon__5-gob svg{color:var(--primary-color)}.overlayTypeSelector_radioGroup__fuEHD .mt-radio-button-wrapper-disabled .overlayTypeSelector_item__3ccyr{border-color:var(--light-grey);color:var(--light-grey)}.overlayTypeSelector_radioGroup__fuEHD .mt-radio-button-wrapper-disabled .overlayTypeSelector_itemIcon__5-gob{color:var(--light-grey)}.overlayTypeSelector_radioGroup__fuEHD .mt-radio-button-wrapper-disabled .overlayTypeSelector_itemIcon__5-gob svg{fill:var(--light-grey)}.overlayTypeSelector_radioGroup__fuEHD .mt-radio-button-wrapper span{padding:0}.searchPOI_search__FNkzk{align-items:center;border:none;border-radius:4px;display:flex;height:32px;position:relative;width:100%}.searchPOI_search__FNkzk .mt-select{width:100%}.searchPOI_search__FNkzk .mt-select:not(.mt-select-customize-input) .mt-select-selector{background-color:var(--secondary-color);border-color:var(--secondary-color)}.searchPOI_search__FNkzk .mt-select-focused:not(.mt-select-disabled).mt-select:not(.mt-select-customize-input) .mt-select-selector{background-color:#fff}.searchPOI_searchIcon__1bums{cursor:pointer;height:14px;position:absolute;right:10px;width:14px}.searchPOI_searchIcon__1bums.searchPOI_focused__fo4rw{color:var(--primary-color)}.searchPOI_ghostMap__WuCTf{height:0;overflow:hidden;position:absolute;visibility:hidden;width:0;z-index:-100}.searchPOI_poiList__7nasF{list-style-type:none;margin:0;max-height:260px;overflow-y:auto;padding:0;width:200px}.searchPOI_poiList__7nasF li{padding:8px}.searchPOI_poiList__7nasF li:hover{background-color:var(--secondary-color)}.searchPOI_poiList__7nasF li:not(:last-child),.searchPOI_poiOption__CjSxN:not(:last-child){border-bottom:1px solid var(--secondary-color)}.searchPOI_poiTitle__Xpv--{color:#212121;font-size:var(--font-size-base);font-weight:500;line-height:18px;margin-bottom:5px}.searchPOI_poiAddress__Fsu7l{font-size:var(--font-size-sm);line-height:17px}.searchPOI_aoiIcon__38oPY{color:var(--cadet-grey)}.searchPOI_aoiIcon__38oPY svg{height:30px;width:30px}.searchPOI_aoiName__v0PHz{color:var(--primary-color)}.geometryEditSelector_itemIcon__n8YOk{color:var(--grayish-blue)}.geometryEditSelector_itemIcon__n8YOk svg{fill:currentColor;height:18px;width:18px}.geometryEditSelector_item__3FPDf{align-items:center;border-radius:4px;display:flex;height:100%;justify-content:center}.geometryEditSelector_item__3FPDf:hover{border-color:currentColor}.geometryEditSelector_item__3FPDf:hover .geometryEditSelector_itemIcon__n8YOk{color:var(--primary-color)}.geometryEditSelector_radioGroup__RZWDw .mt-radio{display:none}.geometryEditSelector_radioGroup__RZWDw .mt-radio-button-wrapper{padding:0 8px}.geometryEditSelector_radioGroup__RZWDw .mt-radio-button-wrapper:after{display:none}.geometryEditSelector_radioGroup__RZWDw .mt-radio-button-wrapper-checked .geometryEditSelector_item__3FPDf{border-color:var(--primary-color);color:var(--primary-color)}.geometryEditSelector_radioGroup__RZWDw .mt-radio-button-wrapper-checked .geometryEditSelector_itemIcon__n8YOk{color:var(--primary-color)}.geometryEditSelector_radioGroup__RZWDw .mt-radio-button-wrapper-checked .geometryEditSelector_itemIcon__n8YOk svg{fill:var(--primary-color)}.geometryEditSelector_radioGroup__RZWDw .mt-radio-button-wrapper-disabled .geometryEditSelector_item__3FPDf{border-color:var(--light-grey);color:var(--light-grey)}.geometryEditSelector_radioGroup__RZWDw .mt-radio-button-wrapper-disabled .geometryEditSelector_itemIcon__n8YOk{color:var(--light-grey)}.geometryEditSelector_radioGroup__RZWDw .mt-radio-button-wrapper-disabled .geometryEditSelector_itemIcon__n8YOk svg{fill:var(--light-grey)}.geometryEditSelector_radioGroup__RZWDw .mt-radio-button-wrapper span{padding:0}.editorPanel_panel__zs\+qj{background-color:#fff;border-radius:4px;box-shadow:var(--shadow);display:none;min-width:380px}@media(min-width:360px)and (max-width:767px){.editorPanel_panel__zs\+qj{width:95vw}}.editorPanel_wrap__C0qGf{position:absolute;right:16px;top:16px;transition:right .2s;z-index:1000}@media(min-width:360px)and (max-width:767px){.editorPanel_wrap__C0qGf{right:8px;top:8px}}.editorPanel_wrap__C0qGf.editorPanel_drawerOpen__eLzMg{right:calc(var(--drawer-width) + 16px)}.editorPanel_wrap__C0qGf.editorPanel_active__hxSJU .editorPanel_button__r6AV4{display:none}.editorPanel_wrap__C0qGf.editorPanel_active__hxSJU .editorPanel_panel__zs\+qj{display:block}.editorPanel_header__7SDL4{background-color:#f9f9f9;border-bottom:1px solid #efeff2;border-radius:4px 4px 0 0;font-size:var(--font-size-base);min-height:45px;padding:0 12px;position:relative}.editorPanel_header__7SDL4 i{color:var(--grayish-blue);cursor:pointer}.editorPanel_title__eaO-0{font-size:14px;font-weight:500;margin-bottom:0}.editorPanel_iconClose__m00mD{position:absolute;right:10px}.editorPanel_form__Af1Ds{padding:12px}.editorPanel_upgradeLink__J1rN5{padding-left:6px}.editorPanel_label__gUV5v{margin-right:10px}.editorPanel_tip__8urHX{color:var(--grayish-blue)}.editorPanel_searchPOI__lAUjA{padding-left:15px;padding-right:15px;width:60%}.editorPanel_trashButton__EklaJ{align-items:center;background:#de350b1a;border-radius:4px;color:#de350b;cursor:pointer;display:flex;height:32px;justify-content:center;margin-left:auto;transition:background .2s;width:32px}.editorPanel_trashButton__EklaJ:hover{background:#de350b33}.editorPanel_finishButton__7Nc9r{min-width:86px}.description_desc__MqF7F{min-height:200px;width:256px}.description_title__hq0xy{color:#091e42;font-size:14px;font-weight:500;margin-bottom:10px;margin-top:5px;-webkit-user-select:none;user-select:none}.description_text__WaqPu{color:#505f79;font-size:12px;font-weight:500;margin-bottom:40px;max-height:400px;overflow:auto}.description_text__WaqPu h1{font-size:28px}.description_text__WaqPu h2{font-size:24px}.description_text__WaqPu h3{font-size:20px}.description_text__WaqPu h4{font-size:18px}.description_text__WaqPu h5{font-size:16px}.description_text__WaqPu ul{list-style:inside}.description_text__WaqPu p{margin-bottom:6px}.description_text__WaqPu code{background:#f1f1f1;border:1px solid #e1e1e1;border-radius:4px;padding:2px 5px;white-space:nowrap}.description_text__WaqPu blockquote{border-left:5px solid #ccc;margin:6px 0;padding:2px 6px}.description_text__WaqPu blockquote p{margin-bottom:0}.description_button__G3LR\+{bottom:10px;left:3px;position:absolute}.description_close__xGsFw{position:absolute;right:16px;top:16px}.description_close__xGsFw svg{height:12px;width:12px}.description_close__xGsFw:hover{cursor:pointer}.dropdownMenu_dropdownMenu__TgzNQ.mt-dropdown-menu .dropdownMenu_divider__ajY8F{margin:0}.dropdownMenu_dropdownMenu__TgzNQ.mt-dropdown-menu .dropdownMenu_icon__Bbsyl{margin-right:6px}.dropdownMenu_dropdownMenu__TgzNQ.mt-dropdown-menu .dropdownMenu_icon__Bbsyl svg{height:16px;width:16px}.dropdownMenu_dropdownMenu__TgzNQ.mt-dropdown-menu .dropdownMenu_title__9FU9M.mt-dropdown-menu-item{color:var(--cadet-grey);cursor:default;font-size:var(--font-size-sm);font-weight:400;line-height:17px;padding:8px 12px}.dropdownMenu_dropdownMenu__TgzNQ.mt-dropdown-menu .dropdownMenu_title__9FU9M.mt-dropdown-menu-item:hover{background:#fff}.dropdownMenu_dropdownMenu__TgzNQ.mt-dropdown-menu .dropdownMenu_import__ZAOKU{font-size:var(--font-size-sm);font-weight:400;font-weight:500;line-height:17px;padding:8px 12px}.dropdownMenu_name__UN6ln{align-items:center;display:flex}.legend_legendPanel__Zz6WA{margin:-10px -15px;max-height:300px;max-width:260px;overflow-y:auto;padding:10px 15px}.legend_block__7doj9{min-width:160px}.legend_block__7doj9+.legend_block__7doj9:before{border-top:1px solid #eaeaea;content:"";display:block;height:10px;margin-left:-15px;margin-right:-15px}.legend_header__4aSDl{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px}.legend_actions__jyJpE{align-items:center;color:var(--cadet-grey);display:flex;gap:4px}.legend_dualView__vkUFN{align-items:center;color:#666;display:flex;height:20px;padding-top:2px}.legend_divide__ELLyg{background-color:#ebecf0;height:12px;margin-right:4px;width:1px}.legend_dualViewConfig__Z2nwJ{border-bottom:1px solid #eee;margin-bottom:6px;min-width:200px;padding-bottom:6px}.legend_dualViewTitle__TgMch{font-size:14px;font-weight:500;margin-bottom:10px}.legend_dualViewActions__LW1I2{align-items:center;display:flex;font-size:12px;justify-content:space-between;margin-bottom:6px}.legend_dualViewActionLabel__uZ9-e{color:var(--grayish-blue);font-weight:600}.legend_dualViewSwitch__EAhSq{align-items:center;display:flex;flex-wrap:nowrap;width:80px}.legend_dualViewActionStatus__lkIfK{color:var(--grayish-blue);margin-left:6px}.legend_dualViewActionStatus__lkIfK.legend_active__UaWwu{color:var(--text-color)}.legend_iconMore__A64LO{cursor:pointer;transform:rotate(90deg)}.legend_iconMore__A64LO:hover{background:#0065ff1a;color:var(--primary-color)}.legend_iconLegend__ysBVG svg{fill:none!important}.legend_icons__u-lZC{align-items:center;display:none;justify-content:space-between;position:absolute;right:0;top:5px}.legend_iconFocus__bh8pJ,.legend_iconVisible__qgIWh{cursor:pointer}.legend_iconWrap__LdXc4{align-items:center;border-radius:4px;display:flex;height:16px;justify-content:center;margin-right:5px;width:16px}.legend_iconWrap__LdXc4:hover{background:#ebecf0}.legend_title__ErqqQ{color:var(--grayish-blue);font-size:13px;font-weight:600;width:214px}.legend_legendContainer__sfNVA:not(:last-child){border-bottom:1px solid #eee;margin-bottom:12px}.legend_heatmap__7\+-7z,.legend_list__60TnB{margin-bottom:12px}.legend_item__uv7\+a{align-items:center;color:#666;display:flex;min-width:128px;padding:2px 0;position:relative;white-space:nowrap}.legend_item__uv7\+a:hover .legend_icons__u-lZC{display:flex}.legend_item__uv7\+a .legend_icon__eZaWD{border:2px solid #fff;flex-basis:25px;flex-shrink:0;margin-right:5px}.legend_item__uv7\+a .legend_icon__eZaWD .legend_img__AZN96{background-repeat:no-repeat;background-size:contain;height:16px;width:16px}.legend_outlineList__5SybU{display:flex;margin-bottom:10px}.legend_outlineItem__P6o8N{flex:0 0 33.3%;max-width:33.3%}.legend_outlineItem__P6o8N .legend_color__4o1vT{border:0;cursor:default;flex:1 1;margin-right:0}.legend_outlineItem__P6o8N .legend_value__iHGPX{color:var(--grayish-blue);overflow:hidden;padding-right:2px;text-align:center;text-overflow:ellipsis;width:100%}.legend_outlineBar__\+-Ljy{align-items:center;display:flex;height:10px;justify-content:center}.legend_outlineItem__P6o8N:first-child .legend_color__4o1vT{height:1px}.legend_outlineItem__P6o8N:nth-child(2) .legend_color__4o1vT{height:4px}.legend_outlineItem__P6o8N:nth-child(3) .legend_color__4o1vT{height:8px}.legend_radiusLegends__RK\+qL{display:flex;margin-bottom:10px;padding-top:8px}.legend_radiusPlot__aGRrh{flex:0 0 80px;height:80px;position:relative;width:80px}.legend_radiusValue__dvDcv{align-items:center;display:flex;flex:1 1;flex-direction:column-reverse;justify-content:space-between}.legend_radiusValueItem__K\+lL5{color:var(--grayish-blue);font-size:12px}.legend_radiusLegend__MWb-a{border:1px solid #c1c7d0;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.legend_radiusLegend__MWb-a:first-child{border-radius:6px;height:6px;width:6px}.legend_radiusLegend__MWb-a:nth-child(2){border-radius:48px;height:48px;width:48px}.legend_radiusLegend__MWb-a:nth-child(3){border-radius:80px;height:80px;width:80px}.legend_legendName__BEce-{color:var(--grayish-blue);font-size:12px}.legend_color__4o1vT{flex-basis:25px;flex-shrink:0;height:15px;margin-right:5px}.legend_color__4o1vT.legend_transparent__qiux5{border:1px solid var(--secondary-color)}.legend_value__iHGPX{max-width:220px;padding-right:60px}.legend_canvasLegend__S0290{display:flex;justify-content:center;margin:0 auto 10px;padding:12px;position:relative;width:130px}.legend_bivariateLegend__Fqic8{height:80px;transform:rotate(-45deg);width:80px}.legend_bivariateName1__rBfG8,.legend_bivariateName2__mgBtD{font-size:12px;font-weight:500;overflow:hidden;position:absolute;text-align:center;text-overflow:ellipsis;white-space:nowrap;width:70px}.legend_arrow1__EsyPY,.legend_arrow2__5GuBU{background:#666;height:80px;position:absolute;width:1.5px}.legend_bivariateName1__rBfG8{bottom:10%;right:-5%;transform:rotate(-45deg)}.legend_bivariateName2__mgBtD{bottom:10%;left:-5%;transform:rotate(45deg)}.legend_arrowIcon__iYcoY{color:#666;left:-7px;position:absolute;top:-10px;transform:scale(1.2)}.legend_arrow1__EsyPY{bottom:-15px;left:28%;transform:rotate(-45deg)}.legend_arrow2__5GuBU{bottom:-15px;right:28%;transform:rotate(45deg)}.baseMapControl_wrap__EWZ8o{bottom:20px;left:20px;position:fixed;transition:left .3s ease-in-out;z-index:2}.baseMapControl_wrap__EWZ8o.baseMapControl_tableDualView__Ccczr{left:calc(50% + 20px)}.baseMapControl_wrap__EWZ8o.baseMapControl_tableDualView__Ccczr.baseMapControl_expanded__G0tge{left:calc(50% + 260px)}.baseMapControl_wrap__EWZ8o.baseMapControl_expanded__G0tge{left:260px}@media(min-width:360px)and (max-width:767px){.baseMapControl_wrap__EWZ8o{left:10px}.baseMapControl_wrap__EWZ8o.baseMapControl_tableDualView__Ccczr{left:calc(50% + 10px)}.baseMapControl_wrap__EWZ8o.baseMapControl_tableDualView__Ccczr.baseMapControl_expanded__G0tge{left:calc(50% + 230px)}.baseMapControl_wrap__EWZ8o.baseMapControl_expanded__G0tge{left:230px}}.baseMapControl_mini__3THuf{background-color:#fff;border-radius:6px;box-shadow:0 2px 8px #00000026,0 0 1px #091e424f;cursor:pointer;height:70px;padding:2px;width:70px}.baseMapControl_backgroundLayerIcon__UKoEJ{border:1px solid #c1c7d0;height:100%;width:100%}.baseMapControl_epitome__MHXHh{align-items:center;display:flex;height:100%;justify-content:center;overflow:hidden;transition:opacity .3s ease-in-out}.baseMapControl_epitome__MHXHh:hover{opacity:.8}.baseMapControl_epitome__MHXHh img{aspect-ratio:1/1;border-radius:6px;display:block;margin:0 auto;max-width:none;width:65px}.baseMapControl_medium__5TjTe{left:80px;position:absolute;top:1px}.baseMapControl_basemap__oeX1l{width:100%}.baseMapControl_basemap__oeX1l .mt-radio{display:none}.baseMapControl_basemap__oeX1l .mt-radio-wrapper{display:block;margin-right:0}.baseMapControl_basemap__oeX1l .mt-radio-wrapper:after{display:none}.baseMapControl_basemap__oeX1l .mt-radio-wrapper-checked .baseMapControl_basemapIcon__FCzs0{border-color:var(--primary-color)}.baseMapControl_basemap__oeX1l .mt-radio-wrapper-checked .baseMapControl_basemapLabel__CYU-4,.baseMapControl_basemap__oeX1l .mt-radio-wrapper-checked .baseMapControl_basemapRadio__bxFSX{color:var(--primary-color)}.baseMapControl_basemap__oeX1l .mt-radio-wrapper-checked .baseMapControl_backgroundLayerIcon__UKoEJ{border:none}.baseMapControl_basemap__oeX1l .mt-radio-wrapper span{padding:0}.baseMapControl_basemapItem__ku1JH{transition:opacity .3s ease-in-out}.baseMapControl_basemapItem__ku1JH:hover{opacity:.8}.baseMapControl_basemapIcon__FCzs0{border:2px solid #0000;border-radius:6px;height:40px;margin:0 auto;overflow:hidden;width:40px}.baseMapControl_basemapIcon__FCzs0 img{aspect-ratio:1/1;display:block;max-width:none;width:36px}.baseMapControl_basemapLabel__CYU-4{color:#505f79;font-size:var(--font-size-sm);text-align:center;transform:scale(.833)}.baseMapControl_basemapRadio__bxFSX{font-size:var(--font-size-sm)}.baseMapControl_list__9GUrZ{align-items:center;background-color:#fff;border-radius:6px;display:flex;gap:4px;padding:6px 6px 5px}.baseMapControl_more__\+kcSX{overflow:hidden}.baseMapControl_iconMore__0AK7r{align-items:center;background:#ebecf0;border:2px solid #0000;border-radius:6px;cursor:pointer;display:flex;height:36px;justify-content:center;margin-bottom:2px;width:36px}.baseMapControl_fullPanel__Tn6pJ{background-color:#fff;border-radius:12px;box-shadow:0 2px 8px #00000026,0 0 1px #091e424f;padding:16px 16px 8px;width:360px}.baseMapControl_fullPanel__Tn6pJ .baseMapControl_basemapItem__ku1JH{margin-bottom:10px}.baseMapControl_fullPanel__Tn6pJ .baseMapControl_basemapRadio__bxFSX{width:auto}.baseMapControl_fullPanel__Tn6pJ .baseMapControl_basemapIcon__FCzs0{height:82px;margin-bottom:8px;width:auto}.baseMapControl_fullPanel__Tn6pJ .baseMapControl_basemapIcon__FCzs0 img{aspect-ratio:auto;max-width:100%;width:auto}.baseMapControl_fullPanel__Tn6pJ .baseMapControl_basemapLabel__CYU-4{font-size:12px;text-align:left;transform:scale(1)}.baseMapControl_title__FzYYk{align-items:center;display:flex;font-size:16px;font-weight:600;justify-content:space-between;margin-bottom:15px}.baseMapControl_iconClose__-c37E{color:#8a8a8f;cursor:pointer}.baseMapControl_tabs__iDUjj{align-items:center;display:flex;margin-bottom:6px}.baseMapControl_tabTitle__kcprT{color:var(--grayish-blue);cursor:pointer;font-size:13px;font-weight:500}.baseMapControl_tabTitle__kcprT.baseMapControl_active__B\+ZO8{background-color:var(--grayish-blue);border-radius:4px;color:#fff;cursor:default;padding:1px 4px}.baseMapControl_tabTitle__kcprT+.baseMapControl_tabTitle__kcprT{margin-left:28px}html[lang=en-US] .baseMapControl_list__9GUrZ{gap:0}html[lang=en-US] .baseMapControl_basemapItem__ku1JH,html[lang=en-US] .baseMapControl_more__\+kcSX{width:50px}html[lang=en-US] .baseMapControl_iconMore__0AK7r{margin-left:auto;margin-right:auto}html[lang=en-US] .baseMapControl_basemapLabel__CYU-4{white-space:nowrap;word-spacing:-4px}html[lang=en-US] .baseMapControl_fullPanel__Tn6pJ .baseMapControl_basemapItem__ku1JH{padding-right:2px;width:auto}html[lang=en-US] .baseMapControl_fullPanel__Tn6pJ .baseMapControl_basemapRadio__bxFSX{width:auto}.baseMapControl_noDataWrapper__lrDfu{align-items:center;background:var(--placeholder-bg);border-radius:8px;display:flex;flex-direction:column;height:238px;justify-content:center;width:100%}.baseMapControl_noDataWrapper__lrDfu .baseMapControl_mainTitle__GEHc7{font-size:13px;font-weight:500;letter-spacing:.26px;margin-bottom:8px}.baseMapControl_noDataWrapper__lrDfu .baseMapControl_subTitle__Q2pLE{color:var(--placeholder-color);font-size:12px;font-weight:400;letter-spacing:.24px}.annotation_panel__EHBT1{background:#fff;border-radius:12px;bottom:20px;box-shadow:0 1px 4px #00000040;left:50%;padding:6px;position:absolute;transform:translateX(-50%);z-index:2}.annotation_panel__EHBT1 .mt-popover-inner{border-radius:12px}.annotation_actions__VL6wv{align-items:center;display:flex;gap:8px;position:relative;z-index:2}.annotation_actions__VL6wv~div{z-index:1}.annotation_action__U4dQR{align-items:center;border-radius:8px;color:#505f79;cursor:pointer;display:flex;height:40px;justify-content:center;transition:all .1s ease-in-out;width:40px}.annotation_action__U4dQR:hover:not(.annotation_active__32tWB){background:#ebecf0}.annotation_action__U4dQR.annotation_active__32tWB{background:var(--primary-color);color:#fff}.annotation_subType__KwB7m{border-radius:4px;height:24px;width:24px}.annotation_subType__KwB7m+.annotation_subType__KwB7m{margin-left:6px}.annotation_colors__2HNj-,.annotation_toolbox__c\+taA{align-items:center;display:flex}.annotation_colors__2HNj-{gap:4px;justify-content:space-around}.annotation_color__j5EDa{border-radius:24px;cursor:pointer;height:24px;position:relative;width:24px}.annotation_color__j5EDa.annotation_active__32tWB:after{background:#0000;border:2px solid #fff;border-radius:20px;content:"";height:20px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:20px}.annotation_color__j5EDa.annotation_activeWhite__7WqNv:after{border:2px solid #c1c7d0}.annotation_divide__K8g93{background:#ebecf0;height:20px;margin-left:6px;margin-right:6px;width:1px}.annotation_fontSize__p2HxD{color:#505f79;font-size:14px;white-space:nowrap}.annotation_actionButton__RFZBU{cursor:pointer;font-weight:500;padding:2px 4px}.annotation_actionButton__RFZBU:hover{background:#f4f5f7;border-radius:4px}.annotation_customInput__Cr-se{padding-left:4px;padding-right:4px;width:64px}.annotation_close__PWaK7{padding:2px 4px}.annotation_close__PWaK7:hover{background:#f4f5f7;border-radius:4px}.annotation_iconClose__qBCdo{color:#97a0af;cursor:pointer}.annotation_editor__BA6PU{background:#fff;border-radius:12px;box-shadow:0 1px 4px #00000040;padding:6px 12px;position:absolute;right:20px;top:20px;z-index:2}.annotation_lineWidth__QpEiE{align-items:center;display:flex;gap:4px;justify-content:space-between}.annotation_width__4UCVT{background-color:#091e42;border-radius:50%;box-sizing:initial;cursor:pointer;min-height:10px;min-width:10px;position:relative}.annotation_width__4UCVT.annotation_active__32tWB{border:2px solid #091e42}.annotation_width__4UCVT.annotation_active__32tWB:after{background:#0000;border:2px solid #fff;content:"";left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.annotation_width_0__89Su8{height:10px;width:10px}.annotation_width_0__89Su8.annotation_active__32tWB:after{border-radius:10px;height:10px;width:10px}.annotation_width_1__6hf8K{height:14px;width:14px}.annotation_width_1__6hf8K.annotation_active__32tWB:after{border-radius:14px;height:14px;width:14px}.annotation_width_2__dXJYF{height:18px;width:18px}.annotation_width_2__dXJYF.annotation_active__32tWB:after{border-radius:18px;height:18px;width:18px}.annotation_iconRemove__Aj7F0{cursor:pointer}.annotation_iconForward__YmQxp{color:#505f79;cursor:pointer}.annotation_iconForward__YmQxp svg{height:20px;width:20px}.labelEditor{position:absolute;transform:translate(-50%,-50%)}.labelEditor input{background:none;border:1px solid #de350b;font-size:16px;outline:none;padding:6px 8px;width:200px}.labelEditor input::placeholder{color:#efe;text-shadow:-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000}.stickerEditor{height:200px;overflow:auto;position:absolute;resize:both;transform:translate(-50%,-50%);width:200px}.stickerEditor textarea{background:none;border:1px solid #c1c7d0;border-radius:0;font-size:16px;height:100%;line-height:1;outline:none;padding:2px 12px;width:100%;word-break:break-all}.stickerEditor textarea::placeholder{color:#fff9;font-size:40px}.geometryEditorHandler{border-color:#0000 #007bff #0000 #0000;border-style:solid;border-width:0 8px 8px 0;cursor:move;height:0;position:absolute;right:0;top:0;width:0}.markerLabelEditor{position:absolute;transform:translate(-50%,-50%)}.markerLabelEditor input{background:none;border:1px solid #c1c7d0;font-size:16px;padding:6px 8px;width:200px}.markerLabelEditor input::placeholder{color:#efe;text-shadow:-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000}.annotation_notification__dr6RL{background:#181818e3;border-radius:6px;color:#fff;left:50%;padding:8px;position:absolute;text-align:center;top:20px;transform:translate(-50%);width:120px}.fieldSettingModal_resetButton__URMBs{color:#97a0af;padding-left:0}.fieldSettingModal_movableItem__m77Og{align-items:center;color:#505f79;display:flex;height:32px;z-index:var(--max-z-index)}.fieldSettingModal_movableItem__m77Og+.fieldSettingModal_movableItem__m77Og{border-top:1px solid #ebecf0}.fieldSettingModal_columnIcon__Aib0Q{height:18px;margin-left:10px;margin-right:5px}.fieldSettingModal_columnIcon__Aib0Q>svg{height:16px;width:16px}.fieldSettingModal_columnName__MOKh-{color:#505f79;font-size:12px;max-width:150px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.fieldSettingModal_handle__e\+c78{align-items:center;display:flex;justify-content:center}.fieldSettingModal_hidden__vFqwT.fieldSettingModal_movableItem__m77Og{color:#97a0af}.fieldSettingModal_hidden__vFqwT.fieldSettingModal_movableItem__m77Og .fieldSettingModal_handle__e\+c78{visibility:hidden}.fieldSettingModal_switch__d3bxO{margin-left:auto}.fieldSettingModal_switchText__8LuJu{margin-left:10px;margin-right:16px;min-width:34px}.fieldSettingModal_fieldList__FAX0I{border:1px solid #ebecf0;border-radius:4px;margin-top:16px;max-height:336px;overflow:auto;padding:8px 16px}.fieldSettingModal_tabs__rN4LJ{margin-top:12px}.fieldSettingModal_tab__H9jPa{display:inline-block;margin-bottom:4px;margin-right:4px}.fieldSettingModal_tabsLabel__C4vSZ{margin-bottom:8px}.fieldSettingModal_tabButton__YYLu\+{align-items:center;background:#f4f5f7;border-radius:4px;color:#091e42;display:flex;font-size:13px;max-width:96px;overflow:hidden;padding-left:12px;padding-right:8px;text-overflow:ellipsis}.fieldSettingModal_tabButton__YYLu\+ span{display:unset}.fieldSettingModal_selectedButton__ExyC1,.fieldSettingModal_selectedButton__ExyC1:focus,.fieldSettingModal_selectedButton__ExyC1:hover{background:#0065ff1a;color:var(--primary-color)}.fieldSettingModal_buttonText__QaMDQ{overflow:hidden;text-overflow:ellipsis}.fieldSettingModal_caretIcon__dOax\+{color:#97a0af;margin-left:4px}.fieldSettingModal_plusButton__JC1H8{background:#f4f5f7;color:#505f79}.fieldSettingModal_iconOnly__zhrgT{height:32px;padding:0;width:32px}.fieldSettingModal_tabInput__6EfNe{max-width:96px}.fieldSettingModal_notification__y47dM{padding-bottom:20px}.fieldSettingModal_layoutLabel__NxKN9 i{color:var(--cadet-grey);line-height:1}.fieldSettingModal_form__eULEb .mt-form-item{margin-bottom:12px}.fieldSettingModal_divider__QpHO0{margin:12px 0}.infoWindow_imageInfoWindow__97YQN,.infoWindow_infoWindow__SNN\+Y{background:#fff;border-radius:8px;box-shadow:var(--shadow);left:0;padding:16px;position:absolute;top:0;width:312px;z-index:2}.infoWindow_imageInfoWindow__97YQN:hover,.infoWindow_infoWindow__SNN\+Y:hover{z-index:5}.infoWindow_imageInfoWindow__97YQN .infoWindow_dragArea__yoSJG,.infoWindow_infoWindow__SNN\+Y .infoWindow_dragArea__yoSJG{cursor:move;height:16px;left:0;position:absolute;top:0;width:100%}.infoWindow_imageInfoWindow__97YQN .infoWindow_header__LxXx3,.infoWindow_infoWindow__SNN\+Y .infoWindow_header__LxXx3{align-items:center;display:flex}.infoWindow_imageInfoWindow__97YQN .infoWindow_header__LxXx3 .infoWindow_carousel__\+6rUi,.infoWindow_infoWindow__SNN\+Y .infoWindow_header__LxXx3 .infoWindow_carousel__\+6rUi{cursor:move;height:200px;width:312px}@media(min-width:360px)and (max-width:767px){.infoWindow_imageInfoWindow__97YQN .infoWindow_header__LxXx3 .infoWindow_carousel__\+6rUi,.infoWindow_infoWindow__SNN\+Y .infoWindow_header__LxXx3 .infoWindow_carousel__\+6rUi{width:320px}}.infoWindow_imageInfoWindow__97YQN .infoWindow_header__LxXx3 .infoWindow_leftArrow__Lc2AE,.infoWindow_imageInfoWindow__97YQN .infoWindow_header__LxXx3 .infoWindow_rightArrow__B2ZKa,.infoWindow_infoWindow__SNN\+Y .infoWindow_header__LxXx3 .infoWindow_leftArrow__Lc2AE,.infoWindow_infoWindow__SNN\+Y .infoWindow_header__LxXx3 .infoWindow_rightArrow__B2ZKa{color:#fff;cursor:pointer;font-size:24px;height:24px;position:absolute;top:88px;width:24px;z-index:1}.infoWindow_imageInfoWindow__97YQN .infoWindow_header__LxXx3 .infoWindow_leftArrow__Lc2AE,.infoWindow_infoWindow__SNN\+Y .infoWindow_header__LxXx3 .infoWindow_leftArrow__Lc2AE{left:4px}.infoWindow_imageInfoWindow__97YQN .infoWindow_header__LxXx3 .infoWindow_rightArrow__B2ZKa,.infoWindow_infoWindow__SNN\+Y .infoWindow_header__LxXx3 .infoWindow_rightArrow__B2ZKa{right:4px}.infoWindow_imageInfoWindow__97YQN .infoWindow_header__LxXx3 .infoWindow_imageWrap__x2bhJ,.infoWindow_infoWindow__SNN\+Y .infoWindow_header__LxXx3 .infoWindow_imageWrap__x2bhJ{height:200px;width:320px}.infoWindow_imageInfoWindow__97YQN .infoWindow_header__LxXx3 .infoWindow_imageWrap__x2bhJ img,.infoWindow_infoWindow__SNN\+Y .infoWindow_header__LxXx3 .infoWindow_imageWrap__x2bhJ img{border-top-left-radius:8px;border-top-right-radius:8px;height:100%;object-fit:cover;overflow:hidden;width:100%}.infoWindow_imageInfoWindow__97YQN .infoWindow_header__LxXx3 .infoWindow_loading__cLrV0,.infoWindow_infoWindow__SNN\+Y .infoWindow_header__LxXx3 .infoWindow_loading__cLrV0{align-items:center;display:flex!important;height:200px;justify-content:center;width:100%}.infoWindow_imageInfoWindow__97YQN .infoWindow_header__LxXx3 .infoWindow_noImage__pzm3k,.infoWindow_infoWindow__SNN\+Y .infoWindow_header__LxXx3 .infoWindow_noImage__pzm3k{background-color:#ebecf0;border-top-left-radius:8px;border-top-right-radius:8px;height:200px;width:100%}.infoWindow_imageInfoWindow__97YQN .infoWindow_header__LxXx3 .infoWindow_noImage__pzm3k .infoWindow_noImageHeader__6xwb1,.infoWindow_infoWindow__SNN\+Y .infoWindow_header__LxXx3 .infoWindow_noImage__pzm3k .infoWindow_noImageHeader__6xwb1{background:linear-gradient(180deg,#0000004a,#0000);height:48px;width:100%}.infoWindow_imageInfoWindow__97YQN .infoWindow_header__LxXx3 .infoWindow_noImage__pzm3k .infoWindow_noImageIcon__rhG\+p,.infoWindow_infoWindow__SNN\+Y .infoWindow_header__LxXx3 .infoWindow_noImage__pzm3k .infoWindow_noImageIcon__rhG\+p{align-items:center;display:flex;height:calc(100% - 48px);justify-content:center}.infoWindow_imageInfoWindow__97YQN .infoWindow_header__LxXx3 .slick-dots,.infoWindow_infoWindow__SNN\+Y .infoWindow_header__LxXx3 .slick-dots{bottom:0}.infoWindow_imageInfoWindow__97YQN .infoWindow_header__LxXx3 .slick-dots .slick-active,.infoWindow_infoWindow__SNN\+Y .infoWindow_header__LxXx3 .slick-dots .slick-active{width:12px!important}.infoWindow_imageInfoWindow__97YQN .infoWindow_header__LxXx3 .slick-dots button,.infoWindow_infoWindow__SNN\+Y .infoWindow_header__LxXx3 .slick-dots button{border-radius:4px!important;height:5px!important;width:5px!important}.infoWindow_imageInfoWindow__97YQN .infoWindow_title__OjlXZ,.infoWindow_infoWindow__SNN\+Y .infoWindow_title__OjlXZ{flex:1 1;font-size:var(--heading-1-size);font-weight:600;min-height:31px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.infoWindow_imageInfoWindow__97YQN .infoWindow_actions__3ksT7,.infoWindow_infoWindow__SNN\+Y .infoWindow_actions__3ksT7{align-items:center;color:#8a8a8f;display:flex;flex-basis:60px;flex-wrap:nowrap;justify-content:flex-end}.infoWindow_imageInfoWindow__97YQN .infoWindow_actions__3ksT7 i,.infoWindow_infoWindow__SNN\+Y .infoWindow_actions__3ksT7 i{cursor:pointer}.infoWindow_imageInfoWindow__97YQN .infoWindow_content__Qy628,.infoWindow_infoWindow__SNN\+Y .infoWindow_content__Qy628{border-radius:4px;max-height:310px;overflow-y:auto;padding:16px 0 0}.infoWindow_imageInfoWindow__97YQN .infoWindow_verticalList__7d8EL,.infoWindow_infoWindow__SNN\+Y .infoWindow_verticalList__7d8EL{align-items:flex-start!important;flex-direction:column;row-gap:4px}.infoWindow_imageInfoWindow__97YQN .infoWindow_verticalList__7d8EL .infoWindow_label__Nl-Yi,.infoWindow_infoWindow__SNN\+Y .infoWindow_verticalList__7d8EL .infoWindow_label__Nl-Yi{text-align:left;width:100%}.infoWindow_imageInfoWindow__97YQN .infoWindow_vertical__MuL6H,.infoWindow_infoWindow__SNN\+Y .infoWindow_vertical__MuL6H{justify-content:flex-start!important;text-align:left!important}.infoWindow_imageInfoWindow__97YQN .infoWindow_item__KqVyO,.infoWindow_infoWindow__SNN\+Y .infoWindow_item__KqVyO{align-items:center;display:flex;font-size:var(--font-size-base);margin:4px 0}.infoWindow_imageInfoWindow__97YQN .infoWindow_item__KqVyO i,.infoWindow_imageInfoWindow__97YQN .infoWindow_item__KqVyO i:hover,.infoWindow_infoWindow__SNN\+Y .infoWindow_item__KqVyO i,.infoWindow_infoWindow__SNN\+Y .infoWindow_item__KqVyO i:hover{background-color:inherit;color:inherit;cursor:auto}.infoWindow_imageInfoWindow__97YQN .infoWindow_horizontalDivider__DE97I,.infoWindow_infoWindow__SNN\+Y .infoWindow_horizontalDivider__DE97I{margin:1px 0}.infoWindow_imageInfoWindow__97YQN .infoWindow_label__Nl-Yi,.infoWindow_infoWindow__SNN\+Y .infoWindow_label__Nl-Yi{color:#505f79;min-width:60px;width:140px;word-break:break-all}.infoWindow_imageInfoWindow__97YQN .infoWindow_text__FduTR,.infoWindow_infoWindow__SNN\+Y .infoWindow_text__FduTR{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:var(--fill-color);flex-wrap:wrap;font-weight:500;justify-content:flex-end;line-height:18px;min-height:unset;overflow:hidden;text-align:right;text-overflow:ellipsis;width:100%}.infoWindow_imageInfoWindow__97YQN .infoWindow_text__FduTR.infoWindow_select__SX8jT,.infoWindow_infoWindow__SNN\+Y .infoWindow_text__FduTR.infoWindow_select__SX8jT{text-overflow:clip;white-space:nowrap}.infoWindow_imageInfoWindow__97YQN .infoWindow_text__FduTR.infoWindow_checkbox__9Z38v,.infoWindow_infoWindow__SNN\+Y .infoWindow_text__FduTR.infoWindow_checkbox__9Z38v{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;margin-left:auto;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.infoWindow_imageInfoWindow__97YQN .infoWindow_text__FduTR.infoWindow_checkbox__9Z38v input,.infoWindow_infoWindow__SNN\+Y .infoWindow_text__FduTR.infoWindow_checkbox__9Z38v input{cursor:default}.infoWindow_imageInfoWindow__97YQN .infoWindow_footer__q4wz7,.infoWindow_infoWindow__SNN\+Y .infoWindow_footer__q4wz7{align-items:center;display:flex;padding:12px 0 0}.infoWindow_imageInfoWindow__97YQN .infoWindow_footer__q4wz7 button,.infoWindow_infoWindow__SNN\+Y .infoWindow_footer__q4wz7 button{background:none;border:none}.infoWindow_imageInfoWindow__97YQN .infoWindow_footerItem__uF31B,.infoWindow_infoWindow__SNN\+Y .infoWindow_footerItem__uF31B{align-items:center;color:var(--cadet-grey);cursor:pointer;display:flex;margin-right:15px;transition:all .2s}.infoWindow_imageInfoWindow__97YQN .infoWindow_footerItem__uF31B:hover,.infoWindow_infoWindow__SNN\+Y .infoWindow_footerItem__uF31B:hover{color:var(--primary-color)}.infoWindow_imageInfoWindow__97YQN .infoWindow_footerItem__uF31B .infoWindow_icon__D\+APT,.infoWindow_infoWindow__SNN\+Y .infoWindow_footerItem__uF31B .infoWindow_icon__D\+APT{margin-right:4px}.infoWindow_imageInfoWindow__97YQN .infoWindow_footerItem__uF31B.infoWindow_detail__fIJRJ,.infoWindow_infoWindow__SNN\+Y .infoWindow_footerItem__uF31B.infoWindow_detail__fIJRJ{color:var(--btn-primary-bg);margin-left:auto;margin-right:0}.infoWindow_imageInfoWindow__97YQN .infoWindow_footerItem__uF31B.infoWindow_detail__fIJRJ .infoWindow_icon__D\+APT,.infoWindow_infoWindow__SNN\+Y .infoWindow_footerItem__uF31B.infoWindow_detail__fIJRJ .infoWindow_icon__D\+APT{margin-left:4px;margin-right:0}.infoWindow_imageInfoWindow__97YQN .infoWindow_close__93SOm,.infoWindow_infoWindow__SNN\+Y .infoWindow_close__93SOm{fill:#8a8a8f}.infoWindow_imageInfoWindow__97YQN .infoWindow_anchor__eNwIC,.infoWindow_infoWindow__SNN\+Y .infoWindow_anchor__eNwIC{background-color:var(--btn-primary-bg);border-radius:6px;bottom:-2px;height:8px;left:50%;margin-left:-4px;position:absolute;transform:translateX(-50%);width:8px}.infoWindow_imageInfoWindow__97YQN .infoWindow_coordinate__QsajX svg:hover,.infoWindow_infoWindow__SNN\+Y .infoWindow_coordinate__QsajX svg:hover{background-color:#cee1ff;color:var(--primary-color);cursor:pointer}.infoWindow_imageInfoWindow__97YQN .infoWindow_formula__AxGjZ :first-child,.infoWindow_infoWindow__SNN\+Y .infoWindow_formula__AxGjZ :first-child{justify-content:flex-end}.infoWindow_imageInfoWindow__97YQN .mt-checkbox-inner,.infoWindow_infoWindow__SNN\+Y .mt-checkbox-inner{border-width:1px}@media(min-width:360px)and (max-width:767px){.infoWindow_imageInfoWindow__97YQN,.infoWindow_infoWindow__SNN\+Y{width:320px}}.infoWindow_imageInfoWindow__97YQN{padding:0}.infoWindow_imageInfoWindow__97YQN .infoWindow_header__LxXx3{margin-bottom:0}.infoWindow_imageInfoWindow__97YQN .infoWindow_actions__3ksT7{color:#8a8a8f;position:absolute;right:10px;top:12px}.infoWindow_imageInfoWindow__97YQN .infoWindow_actions__3ksT7 .infoWindow_close__93SOm,.infoWindow_imageInfoWindow__97YQN .infoWindow_actions__3ksT7 .infoWindow_setting__wLMCN{color:#fff}.infoWindow_imageInfoWindow__97YQN .infoWindow_actions__3ksT7 i{cursor:pointer}.infoWindow_imageInfoWindow__97YQN .infoWindow_title__OjlXZ{margin-bottom:12px}.infoWindow_imageInfoWindow__97YQN .infoWindow_content__Qy628{padding:16px 16px 0}.infoWindow_imageInfoWindow__97YQN .infoWindow_footer__q4wz7{padding:12px 16px}.infoWindow_paginationContainer__VbnKw{left:50%;position:absolute;top:-40px;transform:translateX(-50%)}.infoWindow_paginationContainer__VbnKw .infoWindow_pagination__oyguf{align-items:center;background:#fff;border-radius:6px;display:flex;height:32px;justify-content:space-between;min-width:96px;padding:0 8px}.infoWindow_paginationContainer__VbnKw .infoWindow_pagination__oyguf .infoWindow_current__CSv-8{color:#091e42}.infoWindow_paginationContainer__VbnKw .infoWindow_pagination__oyguf .infoWindow_divide__EgJCg,.infoWindow_paginationContainer__VbnKw .infoWindow_pagination__oyguf .infoWindow_total__mTJAm{color:#97a0af}.infoWindow_paginationContainer__VbnKw .infoWindow_pagination__oyguf .infoWindow_divide__EgJCg{padding:0 4px}.infoWindow_paginationContainer__VbnKw .infoWindow_leftArrow__Lc2AE,.infoWindow_paginationContainer__VbnKw .infoWindow_rightArrow__B2ZKa{color:#0065ff;cursor:pointer}.infoWindow_paginationContainer__VbnKw .infoWindow_disableArrow__zwSyV{color:#c1c7d0;cursor:not-allowed}.mapContainer_split__Wpt5I{background-color:var(--light-grey);height:100%;left:50%;position:absolute;transform:translateX(-50%);width:2px}#root{height:100%}.container{display:flex;flex-direction:column;position:relative;.header{flex:0 0 auto}.content{flex:1 1 auto;overflow:auto}.footer{flex:0 0 auto}}#map-panel-controls{bottom:86px;right:10px}:root{--ant-prefix:mt;--primary-color:#0065ff;--primary-color-rgb:0,101,255;--primary-color-hover:#0056d9;--btn-primary-bg:#0065ff;--secondary-color:#ebecf0;--secondary-color-rgb:235,236,240;--warning-color:#ffab00;--error-color:#de350b;--success-color:#36b37e;--error-color-rgb:222,53,11;--placeholder-color:#97a0af;--placeholder-bg:#f4f5f7;--border-radius-base:4px;--border-color:var(--secondary-color);--text-color:#091e42;--font-size-xs:10px;--font-size-sm:12px;--font-size-base:13px;--font-size-md:14px;--font-size-lg:16px;--heading-1-size:20px;--heading-2-size:18px;--heading-3-size:16px;--layout-body-background:#fff;--layout-header-padding:0;--layout-header-height:48px;--layout-sider-background:#fff;--btn-shadow:none;--btn-font-weight:500;--menu-inline-toplevel-item-height:32px;--menu-item-font-size:13px;--menu-item-boundary-margin:4px;--menu-item-active-bg:none;--dropdown-font-size:13px;--tree-node-selected-bg:#0000;--tabs-card-head-background:#ebecf0;--slider-track-background-color:#216ee9;--slider-track-background-color-hover:#216ee9;--slider-handle-color:#216ee9;--slider-handle-color-hover:#216ee9;--icon-fill-color:#97a0af;--icon-fill-color-hover:#505f79;--icon-fill-color-active:#0065ff;--icon-fill-color-disabled:#c1c7d0;--header-bg:#06152e;--header-height:48px;--project-action-height:40px;--grayish-blue:#505f79;--cadet-grey:#97a0af;--light-grey:#c1c7d0;--athens-grey:#f4f5f7;--drawer-width:400px;--side-panel-width:400px;--app-panel-width:400px;--sider-width:240px;--mobile-sider-width:220px;--help-center-offset:50px;--ag-header-background-color:#f5f5f5;--ag-range-selection-border-color:var(--primary-color);--ag-input-focus-border-color:var(--primary-color);--max-z-index:9999;--negative-max-z-index:-9999;--zindex-detail-panel:170;--map-layer-setting-z-index:180;--map-sider-z-index:200;--dual-view-z-index:200;--map-layer-setting-mobile-z-index:201;--zindex-app-panel:200;--zindex-top-header:202;--zindex-action-button-popup:300;--zindex-view-moveable:1100;--zindex-message:6666;--shadow:0 0 1px 0 #091e424f,0 2px 8px 0 #00000026;--shadow-sm:0 0 1px 0 #091e424f,0 2px 3px 0 #0000000d}body,html{height:100%}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}*{box-sizing:border-box}h1,h2,h3,h4,h5,h6{font-weight:500;line-height:1.5}h1,h2,h3,h4,h5,h6,p,ul{margin:0;padding:0}button{background:none;border:none;outline:none;padding:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}svg{display:block}img{max-width:100%}.hide{display:none}.show{display:block}.amap-scalecontrol{z-index:2}.mapboxgl-ctrl-bottom-right{right:60px!important}.amap-blank .amap-copyright,.amap-blank .amap-logo{display:none!important}.amap-blank{background-color:#fff!important}.maptalks-attribution{display:none!important}@keyframes dialog-open{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes dialog-close{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(12px)}}.dialog-animation-appear,.dialog-animation-enter,.dialog-animation-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.dialog-animation-appear,.dialog-animation-enter{animation-timing-function:cubic-bezier(0,0,.4,1);opacity:0;transform:translateY(12px)}.dialog-animation-appear.dialog-animation-appear-active,.dialog-animation-enter.dialog-animation-enter-active{animation-name:dialog-open;animation-play-state:running}.dialog-animation-leave{animation-timing-function:cubic-bezier(0,0,.4,1)}.dialog-animation-leave.dialog-animation-leave-active{animation-name:dialog-close;animation-play-state:running;pointer-events:none}.mt-avatar{background-color:#ccc}.mt-btn{white-space:nowrap}.mt-btn-dangerous.mt-btn-primary{background-color:var(--error-color);border-color:var(--error-color)}.mt-btn.mt-btn-default[data-variant=cta]{align-items:center;border:none;box-shadow:none;display:flex;font-weight:600;height:24px;padding:0 8px 0 4px}.mt-btn.mt-btn-default[data-variant=cta]:global(.mt-btn-icon-only){width:24px}.mt-btn.mt-btn-default[data-variant=cta] i{color:currentColor}.mt-btn.mt-btn-default[data-variant=cta]:not([disabled]){color:var(--primary-color)}.mt-btn.mt-btn-default[data-variant=cta]:not([disabled]):focus,.mt-btn.mt-btn-default[data-variant=cta]:not([disabled]):hover{background-color:var(--primary-color);color:#fff}.mt-btn.mt-btn-sm.mt-btn-default.mt-btn-icon-only.mt-dropdown-trigger{align-items:center;background-color:inherit;border:none;color:var(--grayish-blue);display:flex;height:20px;justify-content:center;width:20px}.mt-btn.mt-btn-sm.mt-btn-default.mt-btn-icon-only.mt-dropdown-trigger.mt-dropdown-open,.mt-btn.mt-btn-sm.mt-btn-default.mt-btn-icon-only.mt-dropdown-trigger:focus,.mt-btn.mt-btn-sm.mt-btn-default.mt-btn-icon-only.mt-dropdown-trigger:hover{background:var(--secondary-color)}.mt-btn:not(.mt-btn-icon-only)>.mt-btn-icon:not(:last-child){margin-inline-end:6px}.mt-modal .mt-modal-header{margin-bottom:0}.mt-modal .mt-modal-content{padding:0}.mt-tooltip .mt-tooltip-inner{background-color:#000;font-size:var(--font-size-sm);line-height:17px;min-height:auto;padding:10px;text-align:left}.mt-dropdown-menu:not(.mt-dropdown-menu-submenu),.mt-modal-content,.mt-picker-dropdown .mt-picker-panel-container,.mt-popover .mt-popover-inner,.mt-select-dropdown{box-shadow:var(--shadow)}.mt-dropdown-menu-submenu .mt-dropdown-menu,.mt-dropdown .mt-dropdown-menu{padding:4px 0}.mt-dropdown-menu-submenu .mt-dropdown-menu .mt-dropdown-menu-item,.mt-dropdown-menu-submenu .mt-dropdown-menu .mt-dropdown-menu-submenu-title,.mt-dropdown .mt-dropdown-menu .mt-dropdown-menu-item,.mt-dropdown .mt-dropdown-menu .mt-dropdown-menu-submenu-title{border-radius:0}.mt-select-dropdown{padding:4px 0}.mt-select-dropdown .mt-select-item{border-radius:0}.mt-select-multiple .mt-select-selection-overflow{gap:3px}.mt-select-multiple .mt-select-selection-overflow-item{display:block}.mt-menu-light.mt-menu-root.mt-menu-vertical{border-inline-end:none}.mt-popover .mt-popover-inner{padding:0}.mt-popover .mt-popover-inner-content{padding:var(--padding,12px 16px)}.mt-popover .mt-popover-title{border-bottom:1px solid var(--border-color);font-size:var(--font-size-base);margin-bottom:0;min-width:0;padding:8px 8px 6px 10px}.mt-tree .mt-tree-node-content-wrapper.mt-tree-node-selected{background-color:#0000}.mt-upload-wrapper .mt-upload-list .mt-upload-list-item .mt-upload-list-item-actions .mt-upload-list-item-action{opacity:1}.mt-tag.mt-tag-has-color{--color:#091e42;color:var(--color)}.mt-tag.mt-tag-has-color .anticon-close{color:inherit}.mt-tag.mt-tag-has-color .anticon-close:hover{color:var(--primary-color)}.mt-message{z-index:9999}.mt-tag{font-size:var(--font-size-sm)}.mt-tag .mt-tag-close-icon{font-size:10px}.mt-flex{font-size:inherit}.gray-btn{background-color:#f4f5f7;border:none;color:#091e42}.gray-btn:hover{background-color:#f4f5f7e6} \ No newline at end of file diff --git a/static/js/235.3ae724d1.js b/static/js/235.3ae724d1.js new file mode 100644 index 0000000..50e197b --- /dev/null +++ b/static/js/235.3ae724d1.js @@ -0,0 +1 @@ +(self.webpackChunkmaptable_frontend=self.webpackChunkmaptable_frontend||[]).push([[235],{70363:function(e){"use strict";e.exports=function(){function e(e){var r=[];return e.AMapUI&&r.push(t(e.AMapUI)),e.Loca&&r.push(n(e.Loca)),Promise.all(r)}function t(e){return new Promise((function(t,n){var i=[];if(e.plugins)for(var l=0;l{e.exports={}},62810:(e,t,n)=>{"use strict";n.d(t,{iN:()=>x,R_:()=>v,EV:()=>w,ez:()=>y});var r=n(76471),i=n(18948),o=2,a=.16,s=.05,l=.05,c=.15,u=5,d=4,h=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function f(e){var t=e.r,n=e.g,i=e.b,o=(0,r.py)(t,n,i);return{h:360*o.h,s:o.s,v:o.v}}function p(e){var t=e.r,n=e.g,i=e.b;return"#".concat((0,r.vq)(t,n,i,!1))}function g(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-o*t:Math.round(e.h)+o*t:n?Math.round(e.h)+o*t:Math.round(e.h)-o*t)<0?r+=360:r>=360&&(r-=360),r}function m(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-a*t:t===d?e.s+a:e.s+s*t)>1&&(r=1),n&&t===u&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function A(e,t,n){var r;return(r=n?e.v+l*t:e.v-c*t)>1&&(r=1),Number(r.toFixed(2))}function v(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,i.uA)(e),o=u;o>0;o-=1){var a=f(r),s=p((0,i.uA)({h:g(a,o,!0),s:m(a,o,!0),v:A(a,o,!0)}));n.push(s)}n.push(p(r));for(var l=1;l<=d;l+=1){var c=f(r),v=p((0,i.uA)({h:g(c,l),s:m(c,l),v:A(c,l)}));n.push(v)}return"dark"===t.theme?h.map((function(e){var r=e.index,o=e.opacity;return p(function(e,t,n){var r=n/100;return{r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b}}((0,i.uA)(t.backgroundColor||"#141414"),(0,i.uA)(n[r]),100*o))})):n}var y={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},b={},_={};Object.keys(y).forEach((function(e){b[e]=v(y[e]),b[e].primary=b[e][5],_[e]=v(y[e],{theme:"dark",backgroundColor:"#141414"}),_[e].primary=_[e][5]}));b.red,b.volcano;var w=b.gold,x=(b.orange,b.yellow,b.lime,b.green,b.cyan,b.blue);b.geekblue,b.purple,b.magenta,b.grey,b.grey},16831:(e,t,n)=>{"use strict";n.d(t,{E4:()=>st,jG:()=>M,ks:()=>j,bf:()=>N,CI:()=>ot,fp:()=>ee,xy:()=>rt});var r=n(68185),i=n(13747),o=n(22368),a=n(35194);const s=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)};var l=n(86263),c=n(57435),u=n.t(c,2),d=(n(22121),n(46032),n(66375)),h=n(1959),f="%";function p(e){return e.join(f)}const g=function(){function e(t){(0,d.Z)(this,e),(0,r.Z)(this,"instanceId",void 0),(0,r.Z)(this,"cache",new Map),this.instanceId=t}return(0,h.Z)(e,[{key:"get",value:function(e){return this.opGet(p(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(p(e),t)}},{key:"opUpdate",value:function(e,t){var n=t(this.cache.get(e));null===n?this.cache.delete(e):this.cache.set(e,n)}}]),e}();var m="data-token-hash",A="data-css-hash",v="__cssinjs_instance__";function y(){var e=Math.random().toString(12).slice(2);if("undefined"!==typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(A,"]"))||[],n=document.head.firstChild;Array.from(t).forEach((function(t){t[v]=t[v]||e,t[v]===e&&document.head.insertBefore(t,n)}));var r={};Array.from(document.querySelectorAll("style[".concat(A,"]"))).forEach((function(t){var n,i=t.getAttribute(A);r[i]?t[v]===e&&(null===(n=t.parentNode)||void 0===n||n.removeChild(t)):r[i]=!0}))}return new g(e)}var b=c.createContext({hashPriority:"low",cache:y(),defaultCache:!0});const _=b;var w=n(69223),x=n(20749);var E=function(){function e(){(0,d.Z)(this,e),(0,r.Z)(this,"cache",void 0),(0,r.Z)(this,"keys",void 0),(0,r.Z)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,h.Z)(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i={map:this.cache};return e.forEach((function(e){var t;i?i=null===(t=i)||void 0===t||null===(t=t.map)||void 0===t?void 0:t.get(e):i=void 0})),null!==(t=i)&&void 0!==t&&t.value&&r&&(i.value[1]=this.cacheCallTimes++),null===(n=i)||void 0===n?void 0:n.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var r=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var o=this.keys.reduce((function(e,t){var n=(0,i.Z)(e,2)[1];return r.internalGet(t)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),C+=1}return(0,h.Z)(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce((function(t,n){return n(e,t)}),void 0)}}]),e}(),T=new E;function M(e){var t=Array.isArray(e)?e:[e];return T.has(t)||T.set(t,new P(t)),T.get(t)}var k=new WeakMap,R={};var O=new WeakMap;function I(e){var t=O.get(e)||"";return t||(Object.keys(e).forEach((function(n){var r=e[n];t+=n,r instanceof P?t+=r.id:r&&"object"===(0,w.Z)(r)?t+=I(r):t+=r})),O.set(e,t)),t}function L(e,t){return s("".concat(t,"_").concat(I(e)))}"random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,"");var D=(0,x.Z)();function N(e){return"number"===typeof e?"".concat(e,"px"):e}function F(e,t,n){var i,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(arguments.length>4&&void 0!==arguments[4]&&arguments[4])return e;var s=(0,a.Z)((0,a.Z)({},o),{},(i={},(0,r.Z)(i,m,t),(0,r.Z)(i,A,n),i)),l=Object.keys(s).map((function(e){var t=s[e];return t?"".concat(e,'="').concat(t,'"'):null})).filter((function(e){return e})).join(" ");return"")}var j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},B=function(e,t,n){return Object.keys(e).length?".".concat(t).concat(null!==n&&void 0!==n&&n.scope?".".concat(n.scope):"","{").concat(Object.entries(e).map((function(e){var t=(0,i.Z)(e,2),n=t[0],r=t[1];return"".concat(n,":").concat(r,";")})).join(""),"}"):""},z=function(e,t,n){var r={},o={};return Object.entries(e).forEach((function(e){var t,a,s=(0,i.Z)(e,2),l=s[0],c=s[1];if(null!==n&&void 0!==n&&null!==(t=n.preserve)&&void 0!==t&&t[l])o[l]=c;else if(("string"===typeof c||"number"===typeof c)&&(null===n||void 0===n||null===(a=n.ignore)||void 0===a||!a[l])){var u,d=j(l,null===n||void 0===n?void 0:n.prefix);r[d]="number"!==typeof c||null!==n&&void 0!==n&&null!==(u=n.unitless)&&void 0!==u&&u[l]?String(c):"".concat(c,"px"),o[l]="var(".concat(d,")")}})),[o,B(r,t,{scope:null===n||void 0===n?void 0:n.scope})]},Z=n(12750),U=(0,a.Z)({},u).useInsertionEffect;const H=U?function(e,t,n){return U((function(){return e(),t()}),n)}:function(e,t,n){c.useMemo(e,n),(0,Z.Z)((function(){return t(!0)}),n)};const V="undefined"!==typeof(0,a.Z)({},u).useInsertionEffect?function(e){var t=[],n=!1;return c.useEffect((function(){return n=!1,function(){n=!0,t.length&&t.forEach((function(e){return e()}))}}),e),function(e){n||t.push(e)}}:function(){return function(e){e()}};const G=function(){return!1};function W(e,t,n,r,a){var s=c.useContext(_).cache,l=p([e].concat((0,o.Z)(t))),u=V([l]),d=(G(),function(e){s.opUpdate(l,(function(t){var r=t||[void 0,void 0],o=(0,i.Z)(r,2),a=o[0];var s=[void 0===a?0:a,o[1]||n()];return e?e(s):s}))});c.useMemo((function(){d()}),[l]);var h=s.opGet(l)[1];return H((function(){null===a||void 0===a||a(h)}),(function(e){return d((function(t){var n=(0,i.Z)(t,2),r=n[0],o=n[1];return e&&0===r&&(null===a||void 0===a||a(h)),[r+1,o]})),function(){s.opUpdate(l,(function(t){var n=t||[],o=(0,i.Z)(n,2),a=o[0],c=void 0===a?0:a,d=o[1];return 0===c-1?(u((function(){!e&&s.opGet(l)||null===r||void 0===r||r(d,!1)})),null):[c-1,d]}))}}),[l]),h}var q={},Y="css",X=new Map;var K=0;function Q(e,t){X.set(e,(X.get(e)||0)-1);var n=Array.from(X.keys()),r=n.filter((function(e){return(X.get(e)||0)<=0}));n.length-r.length>K&&r.forEach((function(e){!function(e,t){"undefined"!==typeof document&&document.querySelectorAll("style[".concat(m,'="').concat(e,'"]')).forEach((function(e){var n;e[v]===t&&(null===(n=e.parentNode)||void 0===n||n.removeChild(e))}))}(e,t),X.delete(e)}))}var $=function(e,t,n,r){var i=n.getDerivativeToken(e),o=(0,a.Z)((0,a.Z)({},i),t);return r&&(o=r(o)),o},J="token";function ee(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,c.useContext)(_),u=r.cache.instanceId,d=r.container,h=n.salt,f=void 0===h?"":h,p=n.override,g=void 0===p?q:p,y=n.formatToken,b=n.getComputedToken,w=n.cssVar,x=function(e,t){for(var n=k,r=0;r0?pe(Se,--xe):0,_e--,10===Ee&&(_e=1,be--),Ee}function Te(){return Ee=xe2||Oe(Ee)>3?"":" "}function Fe(e,t){for(;--t&&Te()&&!(Ee<48||Ee>102||Ee>57&&Ee<65||Ee>70&&Ee<97););return Re(e,ke()+(t<6&&32==Me()&&32==Te()))}function je(e){for(;Te();)switch(Ee){case e:return xe;case 34:case 39:34!==e&&39!==e&&je(Ee);break;case 40:41===e&&je(e);break;case 92:Te()}return xe}function Be(e,t){for(;Te()&&e+Ee!==57&&(e+Ee!==84||47!==Me()););return"/*"+Re(t,xe-1)+"*"+ue(47===e?e:Te())}function ze(e){for(;!Oe(Me());)Te();return Re(e,xe)}function Ze(e){return Le(Ue("",null,null,null,[""],e=Ie(e),0,[0],e))}function Ue(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,h=0,f=0,p=0,g=1,m=1,A=1,v=0,y="",b=i,_=o,w=r,x=y;m;)switch(p=v,v=Te()){case 40:if(108!=p&&58==pe(x,d-1)){-1!=fe(x+=he(De(v),"&","&\f"),"&\f")&&(A=-1);break}case 34:case 39:case 91:x+=De(v);break;case 9:case 10:case 13:case 32:x+=Ne(p);break;case 92:x+=Fe(ke()-1,7);continue;case 47:switch(Me()){case 42:case 47:Ae(Ve(Be(Te(),ke()),t,n,l),l);break;default:x+="/"}break;case 123*g:s[c++]=me(x)*A;case 125*g:case 59:case 0:switch(v){case 0:case 125:m=0;case 59+u:-1==A&&(x=he(x,/\f/g,"")),f>0&&me(x)-d&&Ae(f>32?Ge(x+";",r,n,d-1,l):Ge(he(x," ","")+";",r,n,d-2,l),l);break;case 59:x+=";";default:if(Ae(w=He(x,t,n,c,u,i,s,y,b=[],_=[],d,o),o),123===v)if(0===u)Ue(x,t,w,w,b,o,d,s,_);else switch(99===h&&110===pe(x,3)?100:h){case 100:case 108:case 109:case 115:Ue(e,w,w,r&&Ae(He(e,w,w,0,0,i,s,y,i,b=[],d,_),_),i,_,d,s,r?b:_);break;default:Ue(x,w,w,w,[""],_,0,s,_)}}c=u=f=0,g=A=1,y=x="",d=a;break;case 58:d=1+me(x),f=p;default:if(g<1)if(123==v)--g;else if(125==v&&0==g++&&125==Pe())continue;switch(x+=ue(v),v*g){case 38:A=u>0?1:(x+="\f",-1);break;case 44:s[c++]=(me(x)-1)*A,A=1;break;case 64:45===Me()&&(x+=De(Te())),h=Me(),u=d=me(y=x+=ze(ke())),v++;break;case 45:45===p&&2==me(x)&&(g=0)}}return o}function He(e,t,n,r,i,o,a,s,l,c,u,d){for(var h=i-1,f=0===i?o:[""],p=function(e){return e.length}(f),g=0,m=0,A=0;g0?f[v]+" "+y:he(y,/&\f/g,f[v])))&&(l[A++]=b);return Ce(e,t,n,0===i?ie:s,l,c,u,d)}function Ve(e,t,n,r){return Ce(e,t,n,re,ue(Ee),ge(e,2,-2),0,r)}function Ge(e,t,n,r,i){return Ce(e,t,n,oe,ge(e,0,r),ge(e,r+1,-1),r,i)}var We,qe="data-ant-cssinjs-cache-path",Ye="_FILE_STYLE__";var Xe=!0;function Ke(e){return function(){if(!We&&(We={},(0,x.Z)())){var e=document.createElement("div");e.className=qe,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";(t=t.replace(/^"/,"").replace(/"$/,"")).split(";").forEach((function(e){var t=e.split(":"),n=(0,i.Z)(t,2),r=n[0],o=n[1];We[r]=o}));var n,r=document.querySelector("style[".concat(qe,"]"));r&&(Xe=!1,null===(n=r.parentNode)||void 0===n||n.removeChild(r)),document.body.removeChild(e)}}(),!!We[e]}var Qe="_multi_value_";function $e(e){return ve(Ze(e),ye).replace(/\{%%%\:[^;];}/g,";")}var Je=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},s=r.root,l=r.injectHash,c=r.parentSelectors,u=n.hashId,d=n.layer,h=(n.path,n.hashPriority),f=n.transformers,p=void 0===f?[]:f,g=(n.linters,""),m={};function A(t){var r=t.getName(u);if(!m[r]){var o=e(t.style,n,{root:!1,parentSelectors:c}),a=(0,i.Z)(o,1)[0];m[r]="@keyframes ".concat(t.getName(u)).concat(a)}}var v=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach((function(t){Array.isArray(t)?e(t,n):t&&n.push(t)})),n}(Array.isArray(t)?t:[t]);return v.forEach((function(t){var r="string"!==typeof t||s?t:{};if("string"===typeof r)g+="".concat(r,"\n");else if(r._keyframe)A(r);else{var d=p.reduce((function(e,t){var n;return(null===t||void 0===t||null===(n=t.visit)||void 0===n?void 0:n.call(t,e))||e}),r);Object.keys(d).forEach((function(t){var r=d[t];if("object"!==(0,w.Z)(r)||!r||"animationName"===t&&r._keyframe||function(e){return"object"===(0,w.Z)(e)&&e&&("_skip_check_"in e||Qe in e)}(r)){var f;function C(e,t){var n=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),r=t;ne[e]||"number"!==typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!==t&&void 0!==t&&t._keyframe&&(A(t),r=t.getName(u)),g+="".concat(n,":").concat(r,";")}var p=null!==(f=null===r||void 0===r?void 0:r.value)&&void 0!==f?f:r;"object"===(0,w.Z)(r)&&null!==r&&void 0!==r&&r[Qe]&&Array.isArray(p)?p.forEach((function(e){C(t,e)})):C(t,p)}else{var v=!1,y=t.trim(),b=!1;(s||l)&&u?y.startsWith("@")?v=!0:y=function(e,t,n){if(!t)return e;var r=".".concat(t),i="low"===n?":where(".concat(r,")"):r;return e.split(",").map((function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",a=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[r="".concat(a).concat(i).concat(r.slice(a.length))].concat((0,o.Z)(n.slice(1))).join(" ")})).join(",")}(t,u,h):!s||u||"&"!==y&&""!==y||(y="",b=!0);var _=e(r,n,{root:b,injectHash:v,parentSelectors:[].concat((0,o.Z)(c),[y])}),x=(0,i.Z)(_,2),E=x[0],S=x[1];m=(0,a.Z)((0,a.Z)({},m),S),g+="".concat(y).concat(E)}}))}})),s?d&&(g="@layer ".concat(d.name," {").concat(g,"}"),d.dependencies&&(m["@layer ".concat(d.name)]=d.dependencies.map((function(e){return"@layer ".concat(e,", ").concat(d.name,";")})).join("\n"))):g="{".concat(g,"}"),[g,m]};function et(e,t){return s("".concat(e.join("%")).concat(t))}function tt(){return null}var nt="style";function rt(e,t){var n=e.token,s=e.path,u=e.hashId,d=e.layer,h=e.nonce,f=e.clientOnly,p=e.order,g=void 0===p?0:p,y=c.useContext(_),b=y.autoClear,w=(y.mock,y.defaultCache),E=y.hashPriority,S=y.container,C=y.ssrInline,P=y.transformers,T=y.linters,M=y.cache,k=y.layer,R=n._tokenKey,O=[R];k&&O.push("layer"),O.push.apply(O,(0,o.Z)(s));var I=D;var L=W(nt,O,(function(){var e=O.join("|");if(Ke(e)){var n=function(e){var t=We[e],n=null;if(t&&(0,x.Z)())if(Xe)n=Ye;else{var r=document.querySelector("style[".concat(A,'="').concat(We[e],'"]'));r?n=r.innerHTML:delete We[e]}return[n,t]}(e),r=(0,i.Z)(n,2),o=r[0],a=r[1];if(o)return[o,R,a,{},f,g]}var l=t(),c=Je(l,{hashId:u,hashPriority:E,layer:k?d:void 0,path:s.join("-"),transformers:P,linters:T}),h=(0,i.Z)(c,2),p=h[0],m=h[1],v=$e(p),y=et(O,v);return[v,R,y,m,f,g]}),(function(e,t){var n=(0,i.Z)(e,3)[2];(t||b)&&D&&(0,l.jL)(n,{mark:A})}),(function(e){var t=(0,i.Z)(e,4),n=t[0],r=(t[1],t[2]),o=t[3];if(I&&n!==Ye){var s={mark:A,prepend:!k&&"queue",attachTo:S,priority:g},c="function"===typeof h?h():h;c&&(s.csp={nonce:c});var u=[],d=[];Object.keys(o).forEach((function(e){e.startsWith("@layer")?u.push(e):d.push(e)})),u.forEach((function(e){(0,l.hq)($e(o[e]),"_layer-".concat(e),(0,a.Z)((0,a.Z)({},s),{},{prepend:!0}))}));var f=(0,l.hq)(n,r,s);f[v]=M.instanceId,f.setAttribute(m,R),d.forEach((function(e){(0,l.hq)($e(o[e]),"_effect-".concat(e),s)}))}})),N=(0,i.Z)(L,3),F=N[0],j=N[1],B=N[2];return function(e){var t,n;C&&!I&&w?t=c.createElement("style",(0,te.Z)({},(n={},(0,r.Z)(n,m,j),(0,r.Z)(n,A,B),n),{dangerouslySetInnerHTML:{__html:F}})):t=c.createElement(tt,null);return c.createElement(c.Fragment,null,t,e)}}var it="cssVar";const ot=function(e,t){var n=e.key,r=e.prefix,a=e.unitless,s=e.ignore,u=e.token,d=e.scope,h=void 0===d?"":d,f=(0,c.useContext)(_),p=f.cache.instanceId,g=f.container,y=u._tokenKey,b=[].concat((0,o.Z)(e.path),[n,h,y]);return W(it,b,(function(){var e=t(),o=z(e,n,{prefix:r,unitless:a,ignore:s,scope:h}),l=(0,i.Z)(o,2),c=l[0],u=l[1];return[c,u,et(b,u),n]}),(function(e){var t=(0,i.Z)(e,3)[2];D&&(0,l.jL)(t,{mark:A})}),(function(e){var t=(0,i.Z)(e,3),r=t[1],o=t[2];if(r){var a=(0,l.hq)(r,o,{mark:A,prepend:"queue",attachTo:g,priority:-999});a[v]=p,a.setAttribute(m,n)}}))};var at;at={},(0,r.Z)(at,nt,(function(e,t,n){var r=(0,i.Z)(e,6),o=r[0],a=r[1],s=r[2],l=r[3],c=r[4],u=r[5],d=(n||{}).plain;if(c)return null;var h=o,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return h=F(o,a,s,f,d),l&&Object.keys(l).forEach((function(e){if(!t[e]){t[e]=!0;var n=F($e(l[e]),a,"_effect-".concat(e),f,d);e.startsWith("@layer")?h=n+h:h+=n}})),[u,s,h]})),(0,r.Z)(at,J,(function(e,t,n){var r=(0,i.Z)(e,5),o=r[2],a=r[3],s=r[4],l=(n||{}).plain;if(!a)return null;var c=o._tokenKey;return[-999,c,F(a,s,c,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l)]})),(0,r.Z)(at,it,(function(e,t,n){var r=(0,i.Z)(e,4),o=r[1],a=r[2],s=r[3],l=(n||{}).plain;if(!o)return null;return[-999,a,F(o,s,a,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l)]}));const st=function(){function e(t,n){(0,d.Z)(this,e),(0,r.Z)(this,"name",void 0),(0,r.Z)(this,"style",void 0),(0,r.Z)(this,"_keyframe",!0),this.name=t,this.style=n}return(0,h.Z)(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}();function lt(e){return e.notSplit=!0,e}lt(["borderTop","borderBottom"]),lt(["borderTop"]),lt(["borderBottom"]),lt(["borderLeft","borderRight"]),lt(["borderLeft"]),lt(["borderRight"])},2567:(e,t,n)=>{"use strict";n.d(t,{Z:()=>M});var r=n(91010),i=n(13747),o=n(68185),a=n(99309),s=n(57435),l=n(12356),c=n.n(l),u=n(62810),d=n(92255),h=n(35194),f=n(69223),p=n(86263),g=n(13834),m=n(98162);function A(e){return"object"===(0,f.Z)(e)&&"string"===typeof e.name&&"string"===typeof e.theme&&("object"===(0,f.Z)(e.icon)||"function"===typeof e.icon)}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r,i=e[n];if("class"===n)t.className=i,delete t.class;else delete t[n],t[(r=n,r.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=i;return t}),{})}function y(e,t,n){return n?s.createElement(e.tag,(0,h.Z)((0,h.Z)({key:t},v(e.attrs)),n),(e.children||[]).map((function(n,r){return y(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):s.createElement(e.tag,(0,h.Z)({key:t},v(e.attrs)),(e.children||[]).map((function(n,r){return y(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function b(e){return(0,u.R_)(e)[0]}function _(e){return e?Array.isArray(e)?e:[e]:[]}var w=["icon","className","onClick","style","primaryColor","secondaryColor"],x={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var E=function(e){var t,n,r=e.icon,i=e.className,o=e.onClick,l=e.style,c=e.primaryColor,u=e.secondaryColor,f=(0,a.Z)(e,w),v=s.useRef(),_=x;if(c&&(_={primaryColor:c,secondaryColor:u||b(c)}),function(e){var t=(0,s.useContext)(d.Z),n=t.csp,r=t.prefixCls,i="\n.anticon {\n display: inline-flex;\n alignItems: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";r&&(i=i.replace(/anticon/g,r)),(0,s.useEffect)((function(){var t=e.current,r=(0,g.A)(t);(0,p.hq)(i,"@ant-design-icons",{prepend:!0,csp:n,attachTo:r})}),[])}(v),t=A(r),n="icon should be icon definiton, but got ".concat(r),(0,m.ZP)(t,"[@ant-design/icons] ".concat(n)),!A(r))return null;var E=r;return E&&"function"===typeof E.icon&&(E=(0,h.Z)((0,h.Z)({},E),{},{icon:E.icon(_.primaryColor,_.secondaryColor)})),y(E.icon,"svg-".concat(E.name),(0,h.Z)((0,h.Z)({className:i,onClick:o,style:l,"data-icon":E.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},f),{},{ref:v}))};E.displayName="IconReact",E.getTwoToneColors=function(){return(0,h.Z)({},x)},E.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;x.primaryColor=t,x.secondaryColor=n||b(t),x.calculated=!!n};const S=E;function C(e){var t=_(e),n=(0,i.Z)(t,2),r=n[0],o=n[1];return S.setTwoToneColors({primaryColor:r,secondaryColor:o})}var P=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];C(u.iN.primary);var T=s.forwardRef((function(e,t){var n=e.className,l=e.icon,u=e.spin,h=e.rotate,f=e.tabIndex,p=e.onClick,g=e.twoToneColor,m=(0,a.Z)(e,P),A=s.useContext(d.Z),v=A.prefixCls,y=void 0===v?"anticon":v,b=A.rootClassName,w=c()(b,y,(0,o.Z)((0,o.Z)({},"".concat(y,"-").concat(l.name),!!l.name),"".concat(y,"-spin"),!!u||"loading"===l.name),n),x=f;void 0===x&&p&&(x=-1);var E=h?{msTransform:"rotate(".concat(h,"deg)"),transform:"rotate(".concat(h,"deg)")}:void 0,C=_(g),T=(0,i.Z)(C,2),M=T[0],k=T[1];return s.createElement("span",(0,r.Z)({role:"img","aria-label":l.name},m,{ref:t,tabIndex:x,onClick:p,className:w}),s.createElement(S,{icon:l,primaryColor:M,secondaryColor:k,style:E}))}));T.displayName="AntdIcon",T.getTwoToneColor=function(){var e=S.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},T.setTwoToneColor=C;const M=T},92255:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=(0,n(57435).createContext)({})},55201:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},672:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},49527:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},15215:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},16094:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},83480:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},94574:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},8662:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},55159:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},33049:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},88966:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},1625:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},51701:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},46779:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},73558:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},6069:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}}]}},name:"file",theme:"twotone"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},25065:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},72557:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},90918:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},84415:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},37215:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:e}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:t}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:t}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:t}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:e}}]}},name:"picture",theme:"twotone"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},91434:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},90304:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},81774:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},10786:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},85268:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(91010),i=n(57435);const o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};var a=n(2567),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};const l=i.forwardRef(s)},66746:(e,t,n)=>{"use strict";n.d(t,{Z:()=>oe});var r=n(91010),i=n(35194),o=n(66375),a=n(1959),s=n(4041),l=n(22935),c=n(72693),u=n(64648),d=n(68185),h=n(57435),f=n(69223),p=n(99309);const g={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};var m=n(38078),A=n(12356),v=n.n(A);const y={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return h.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return h.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0,asNavFor:null};function b(e,t,n){return Math.max(t,Math.min(e,n))}var _=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()},w=function(e){for(var t=[],n=x(e),r=E(e),i=n;i0?1:0):0},C=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},P=function(e){return e&&e.offsetWidth||0},T=function(e){return e&&e.offsetHeight||0},M=function(e){var t,n,r,i,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,n=e.startY-e.curY,r=Math.atan2(n,t),(i=Math.round(180*r/Math.PI))<0&&(i=360-Math.abs(i)),i<=45&&i>=0||i<=360&&i>=315?"left":i>=135&&i<=225?"right":!0===o?i>=35&&i<=135?"up":"down":"vertical"},k=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t},R=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n},O=function(e,t){var n=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,i=[];nn[n.length-1])t=n[n.length-1];else for(var i in n){if(t-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+P(r)/2>-1*e.swipeLeft)return n=r,!1;return!0})),!n)return 0;var o=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-o)||1}return e.slidesToScroll},L=function(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",e)},D=function(e){var t,n;(L(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]),e.vertical)?n=(e.unslick?e.slideCount:e.slideCount+2*e.slidesToShow)*e.slideHeight:t=z(e)*e.slideWidth;var r={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";r=(0,i.Z)((0,i.Z)({},r),{},{WebkitTransform:o,transform:a,msTransform:s})}else e.vertical?r.top=e.left:r.left=e.left;return e.fade&&(r={opacity:1}),t&&(r.width=t),n&&(r.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?r.marginTop=e.left+"px":r.marginLeft=e.left+"px"),r},N=function(e){L(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=D(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},F=function(e){if(e.unslick)return 0;L(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,r=e.slideIndex,i=e.trackRef,o=e.infinite,a=e.centerMode,s=e.slideCount,l=e.slidesToShow,c=e.slidesToScroll,u=e.slideWidth,d=e.listWidth,h=e.variableWidth,f=e.slideHeight,p=e.fade,g=e.vertical;if(p||1===e.slideCount)return 0;var m=0;if(o?(m=-j(e),s%c!==0&&r+c>s&&(m=-(r>s?l-(r-s):s%c)),a&&(m+=parseInt(l/2))):(s%c!==0&&r+c>s&&(m=l-s%c),a&&(m=parseInt(l/2))),t=g?r*f*-1+m*f:r*u*-1+m*u,!0===h){var A,v=i&&i.node;if(A=r+j(e),t=(n=v&&v.childNodes[A])?-1*n.offsetLeft:0,!0===a){A=o?r+j(e):r,n=v&&v.children[A],t=0;for(var y=0;ye.currentSlide?e.targetSlide>e.currentSlide+U(e)?"left":"right":e.targetSlide0&&(o+=1),r&&t%2===0&&(o+=1),o}return r?0:t-1},H=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,i=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),r||t%2!==0||(o+=1),o}return r?t-1:0},V=function(){return!("undefined"===typeof window||!window.document||!window.document.createElement)},G=Object.keys(y);var W=function(e){var t,n,r,i,o;return r=(o=e.rtl?e.slideCount-1-e.index:e.index)<0||o>=e.slideCount,e.centerMode?(i=Math.floor(e.slidesToShow/2),n=(o-e.currentSlide)%e.slideCount===0,o>e.currentSlide-i-1&&o<=e.currentSlide+i&&(t=!0)):t=e.currentSlide<=o&&o=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},q=function(e,t){return e.key+"-"+t},Y=function(e){var t,n=[],r=[],o=[],a=h.Children.count(e.children),s=x(e),l=E(e);return h.Children.forEach(e.children,(function(c,u){var d,f={message:"children",index:u,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};d=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(u)>=0?c:h.createElement("div",null);var p=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical&&e.slideHeight?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,t.zIndex=e.currentSlide===e.index?999:998,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}((0,i.Z)((0,i.Z)({},e),{},{index:u})),g=d.props.className||"",m=W((0,i.Z)((0,i.Z)({},e),{},{index:u}));if(n.push(h.cloneElement(d,{key:"original"+q(d,u),"data-index":u,className:v()(m,g),tabIndex:"-1","aria-hidden":!m["slick-active"],style:(0,i.Z)((0,i.Z)({outline:"none"},d.props.style||{}),p),onClick:function(t){d.props&&d.props.onClick&&d.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}})),e.infinite&&a>1&&!1===e.fade&&!e.unslick){var A=a-u;A<=j(e)&&((t=-A)>=s&&(d=c),m=W((0,i.Z)((0,i.Z)({},e),{},{index:t})),r.push(h.cloneElement(d,{key:"precloned"+q(d,t),"data-index":t,tabIndex:"-1",className:v()(m,g),"aria-hidden":!m["slick-active"],style:(0,i.Z)((0,i.Z)({},d.props.style||{}),p),onClick:function(t){d.props&&d.props.onClick&&d.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}}))),(t=a+u)=_&&u<=A:u===_}),x={message:"dots",index:g,slidesToScroll:s,currentSlide:u},E=this.clickHandler.bind(this,x);p=p.concat(h.createElement("li",{key:g,className:w},h.cloneElement(this.props.customPaging(g),{onClick:E})))}return h.cloneElement(this.props.appendDots(p),(0,i.Z)({className:this.props.dotsClass},f))}}])}(h.PureComponent);function Q(e,t,n){return t=(0,c.Z)(t),(0,s.Z)(e,(0,l.Z)()?Reflect.construct(t,n||[],(0,c.Z)(e).constructor):t.apply(e,n))}var $=function(e){function t(){return(0,o.Z)(this,t),Q(this,t,arguments)}return(0,u.Z)(t,e),(0,a.Z)(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:v()(e),style:{display:"block"},onClick:t},o={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?h.cloneElement(this.props.prevArrow,(0,i.Z)((0,i.Z)({},n),o)):h.createElement("button",(0,r.Z)({key:"0",type:"button"},n)," ","Previous")}}])}(h.PureComponent),J=function(e){function t(){return(0,o.Z)(this,t),Q(this,t,arguments)}return(0,u.Z)(t,e),(0,a.Z)(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});k(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:v()(e),style:{display:"block"},onClick:t},o={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?h.cloneElement(this.props.nextArrow,(0,i.Z)((0,i.Z)({},n),o)):h.createElement("button",(0,r.Z)({key:"1",type:"button"},n)," ","Next")}}])}(h.PureComponent),ee=n(46890),te=["animating"];var ne=function(e){function t(e){var n,a,u,f;(0,o.Z)(this,t),a=this,u=t,f=[e],u=(0,c.Z)(u),n=(0,s.Z)(a,(0,l.Z)()?Reflect.construct(u,f||[],(0,c.Z)(a).constructor):u.apply(a,f)),(0,d.Z)(n,"listRefHandler",(function(e){return n.list=e})),(0,d.Z)(n,"trackRefHandler",(function(e){return n.track=e})),(0,d.Z)(n,"adaptHeight",(function(){if(n.props.adaptiveHeight&&n.list){var e=n.list.querySelector('[data-index="'.concat(n.state.currentSlide,'"]'));n.list.style.height=T(e)+"px"}})),(0,d.Z)(n,"componentDidMount",(function(){if(n.props.onInit&&n.props.onInit(),n.props.lazyLoad){var e=w((0,i.Z)((0,i.Z)({},n.props),n.state));e.length>0&&(n.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),n.props.onLazyLoad&&n.props.onLazyLoad(e))}var t=(0,i.Z)({listRef:n.list,trackRef:n.track},n.props);n.updateState(t,!0,(function(){n.adaptHeight(),n.props.autoplay&&n.autoPlay("playing")})),"progressive"===n.props.lazyLoad&&(n.lazyLoadTimer=setInterval(n.progressiveLazyLoad,1e3)),n.ro=new ee.Z((function(){n.state.animating?(n.onWindowResized(!1),n.callbackTimers.push(setTimeout((function(){return n.onWindowResized()}),n.props.speed))):n.onWindowResized()})),n.ro.observe(n.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=n.props.pauseOnFocus?n.onSlideFocus:null,e.onblur=n.props.pauseOnFocus?n.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",n.onWindowResized):window.attachEvent("onresize",n.onWindowResized)})),(0,d.Z)(n,"componentWillUnmount",(function(){n.animationEndCallback&&clearTimeout(n.animationEndCallback),n.lazyLoadTimer&&clearInterval(n.lazyLoadTimer),n.callbackTimers.length&&(n.callbackTimers.forEach((function(e){return clearTimeout(e)})),n.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",n.onWindowResized):window.detachEvent("onresize",n.onWindowResized),n.autoplayTimer&&clearInterval(n.autoplayTimer),n.ro.disconnect()})),(0,d.Z)(n,"componentDidUpdate",(function(e){if(n.checkImagesLoad(),n.props.onReInit&&n.props.onReInit(),n.props.lazyLoad){var t=w((0,i.Z)((0,i.Z)({},n.props),n.state));t.length>0&&(n.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}})),n.props.onLazyLoad&&n.props.onLazyLoad(t))}n.adaptHeight();var r=(0,i.Z)((0,i.Z)({listRef:n.list,trackRef:n.track},n.props),n.state),o=n.didPropsChange(e);o&&n.updateState(r,o,(function(){n.state.currentSlide>=h.Children.count(n.props.children)&&n.changeSlide({message:"index",index:h.Children.count(n.props.children)-n.props.slidesToShow,currentSlide:n.state.currentSlide}),e.autoplay===n.props.autoplay&&e.autoplaySpeed===n.props.autoplaySpeed||(!e.autoplay&&n.props.autoplay?n.autoPlay("playing"):n.props.autoplay?n.autoPlay("update"):n.pause("paused"))}))})),(0,d.Z)(n,"onWindowResized",(function(e){n.debouncedResize&&n.debouncedResize.cancel(),n.debouncedResize=(0,m.D)(50,(function(){return n.resizeWindow(e)})),n.debouncedResize()})),(0,d.Z)(n,"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(Boolean(n.track&&n.track.node)){var t=(0,i.Z)((0,i.Z)({listRef:n.list,trackRef:n.track},n.props),n.state);n.updateState(t,e,(function(){n.props.autoplay?n.autoPlay("update"):n.pause("paused")})),n.setState({animating:!1}),clearTimeout(n.animationEndCallback),delete n.animationEndCallback}})),(0,d.Z)(n,"updateState",(function(e,t,r){var o=function(e){var t,n=h.Children.count(e.children),r=e.listRef,o=Math.ceil(P(r)),a=e.trackRef&&e.trackRef.node,s=Math.ceil(P(a));if(e.vertical)t=o;else{var l=e.centerMode&&2*parseInt(e.centerPadding);"string"===typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(l*=o/100),t=Math.ceil((o-l)/e.slidesToShow)}var c=r&&T(r.querySelector('[data-index="0"]')),u=c*e.slidesToShow,d=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(d=n-1-e.initialSlide);var f=e.lazyLoadedList||[],p=w((0,i.Z)((0,i.Z)({},e),{},{currentSlide:d,lazyLoadedList:f})),g={slideCount:n,slideWidth:t,listWidth:o,trackWidth:s,currentSlide:d,slideHeight:c,listHeight:u,lazyLoadedList:f=f.concat(p)};return null===e.autoplaying&&e.autoplay&&(g.autoplaying="playing"),g}(e);e=(0,i.Z)((0,i.Z)((0,i.Z)({},e),o),{},{slideIndex:o.currentSlide});var a=F(e);e=(0,i.Z)((0,i.Z)({},e),{},{left:a});var s=D(e);(t||h.Children.count(n.props.children)!==h.Children.count(e.children))&&(o.trackStyle=s),n.setState(o,r)})),(0,d.Z)(n,"ssrInit",(function(){if(n.props.variableWidth){var e=0,t=0,r=[],o=j((0,i.Z)((0,i.Z)((0,i.Z)({},n.props),n.state),{},{slideCount:n.props.children.length})),a=B((0,i.Z)((0,i.Z)((0,i.Z)({},n.props),n.state),{},{slideCount:n.props.children.length}));n.props.children.forEach((function(t){r.push(t.props.style.width),e+=t.props.style.width}));for(var s=0;s=t&&n.onWindowResized()};if(e.onclick){var o=e.onclick;e.onclick=function(t){o(t),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(n.props.lazyLoad?e.onload=function(){n.adaptHeight(),n.callbackTimers.push(setTimeout(n.onWindowResized,n.props.speed))}:(e.onload=i,e.onerror=function(){i(),n.props.onLazyLoadError&&n.props.onLazyLoadError()}))}))})),(0,d.Z)(n,"progressiveLazyLoad",(function(){for(var e=[],t=(0,i.Z)((0,i.Z)({},n.props),n.state),r=n.state.currentSlide;r=-j(t);o--)if(n.state.lazyLoadedList.indexOf(o)<0){e.push(o);break}e.length>0?(n.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),n.props.onLazyLoad&&n.props.onLazyLoad(e)):n.lazyLoadTimer&&(clearInterval(n.lazyLoadTimer),delete n.lazyLoadTimer)})),(0,d.Z)(n,"slideHandler",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=n.props,o=r.asNavFor,a=r.beforeChange,s=r.onLazyLoad,l=r.speed,c=r.afterChange,u=n.state.currentSlide,d=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,o=e.infinite,a=e.index,s=e.slideCount,l=e.lazyLoad,c=e.currentSlide,u=e.centerMode,d=e.slidesToScroll,h=e.slidesToShow,f=e.useCSS,p=e.lazyLoadedList;if(t&&n)return{};var g,m,A,v=a,y={},_={},x=o?a:b(a,0,s-1);if(r){if(!o&&(a<0||a>=s))return{};a<0?v=a+s:a>=s&&(v=a-s),l&&p.indexOf(v)<0&&(p=p.concat(v)),y={animating:!0,currentSlide:v,lazyLoadedList:p,targetSlide:v},_={animating:!1,targetSlide:v}}else g=v,v<0?(g=v+s,o?s%d!==0&&(g=s-s%d):g=0):!k(e)&&v>c?v=g=c:u&&v>=s?(v=o?s:s-1,g=o?0:s-1):v>=s&&(g=v-s,o?s%d!==0&&(g=0):g=s-h),!o&&v+h>=s&&(g=s-h),m=F((0,i.Z)((0,i.Z)({},e),{},{slideIndex:v})),A=F((0,i.Z)((0,i.Z)({},e),{},{slideIndex:g})),o||(m===A&&(v=g),m=A),l&&(p=p.concat(w((0,i.Z)((0,i.Z)({},e),{},{currentSlide:v})))),f?(y={animating:!0,currentSlide:g,trackStyle:N((0,i.Z)((0,i.Z)({},e),{},{left:m})),lazyLoadedList:p,targetSlide:x},_={animating:!1,currentSlide:g,trackStyle:D((0,i.Z)((0,i.Z)({},e),{},{left:A})),swipeLeft:null,targetSlide:x}):y={currentSlide:g,trackStyle:D((0,i.Z)((0,i.Z)({},e),{},{left:A})),lazyLoadedList:p,targetSlide:x};return{state:y,nextState:_}}((0,i.Z)((0,i.Z)((0,i.Z)({index:e},n.props),n.state),{},{trackRef:n.track,useCSS:n.props.useCSS&&!t})),h=d.state,f=d.nextState;if(h){a&&a(u,h.currentSlide);var g=h.lazyLoadedList.filter((function(e){return n.state.lazyLoadedList.indexOf(e)<0}));s&&g.length>0&&s(g),!n.props.waitForAnimate&&n.animationEndCallback&&(clearTimeout(n.animationEndCallback),c&&c(u),delete n.animationEndCallback),n.setState(h,(function(){o&&n.asNavForIndex!==e&&(n.asNavForIndex=e,o.innerSlider.slideHandler(e)),f&&(n.animationEndCallback=setTimeout((function(){var e=f.animating,t=(0,p.Z)(f,te);n.setState(t,(function(){n.callbackTimers.push(setTimeout((function(){return n.setState({animating:e})}),10)),c&&c(h.currentSlide),delete n.animationEndCallback}))}),l))}))}})),(0,d.Z)(n,"changeSlide",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=function(e,t){var n,r,o,a,s=e.slidesToScroll,l=e.slidesToShow,c=e.slideCount,u=e.currentSlide,d=e.targetSlide,h=e.lazyLoad,f=e.infinite;if(n=c%s!==0?0:(c-u)%s,"previous"===t.message)a=u-(o=0===n?s:l-n),h&&!f&&(a=-1===(r=u-o)?c-1:r),f||(a=d-s);else if("next"===t.message)a=u+(o=0===n?s:n),h&&!f&&(a=(u+s)%c+n),f||(a=d+s);else if("dots"===t.message)a=t.index*t.slidesToScroll;else if("children"===t.message){if(a=t.index,f){var p=Z((0,i.Z)((0,i.Z)({},e),{},{targetSlide:a}));a>t.currentSlide&&"left"===p?a-=c:a10)return{scrolling:!0};s&&(v.swipeLength=C);var P=(l?-1:1)*(v.curX>v.startX?1:-1);s&&(P=v.curY>v.startY?1:-1);var T=Math.ceil(g/m),R=M(t.touchObject,s),O=v.swipeLength;return A||(0===c&&("right"===R||"down"===R)||c+1>=T&&("left"===R||"up"===R)||!k(t)&&("left"===R||"up"===R))&&(O=v.swipeLength*u,!1===d&&h&&(h(R),E.edgeDragged=!0)),!f&&y&&(y(R),E.swiped=!0),x=o?S+O*(b/w)*P:l?S-O*P:S+O*P,s&&(x=S+O*P),E=(0,i.Z)((0,i.Z)({},E),{},{touchObject:v,swipeLeft:x,trackStyle:D((0,i.Z)((0,i.Z)({},t),{},{left:x}))}),Math.abs(v.curX-v.startX)<.8*Math.abs(v.curY-v.startY)||v.swipeLength>10&&(E.swiping=!0,_(e)),E}}(e,(0,i.Z)((0,i.Z)((0,i.Z)({},n.props),n.state),{},{trackRef:n.track,listRef:n.list,slideIndex:n.state.currentSlide}));t&&(t.swiping&&(n.clickable=!1),n.setState(t))})),(0,d.Z)(n,"swipeEnd",(function(e){var t=function(e,t){var n=t.dragging,r=t.swipe,o=t.touchObject,a=t.listWidth,s=t.touchThreshold,l=t.verticalSwiping,c=t.listHeight,u=t.swipeToSlide,d=t.scrolling,h=t.onSwipe,f=t.targetSlide,p=t.currentSlide,g=t.infinite;if(!n)return r&&_(e),{};var m=l?c/s:a/s,A=M(o,l),v={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(d)return v;if(!o.swipeLength)return v;if(o.swipeLength>m){var y,b;_(e),h&&h(A);var w=g?p:f;switch(A){case"left":case"up":b=w+I(t),y=u?O(t,b):b,v.currentDirection=0;break;case"right":case"down":b=w-I(t),y=u?O(t,b):b,v.currentDirection=1;break;default:y=w}v.triggerSlideHandler=y}else{var x=F(t);v.trackStyle=N((0,i.Z)((0,i.Z)({},t),{},{left:x}))}return v}(e,(0,i.Z)((0,i.Z)((0,i.Z)({},n.props),n.state),{},{trackRef:n.track,listRef:n.list,slideIndex:n.state.currentSlide}));if(t){var r=t.triggerSlideHandler;delete t.triggerSlideHandler,n.setState(t),void 0!==r&&(n.slideHandler(r),n.props.verticalSwiping&&n.enableBodyScroll())}})),(0,d.Z)(n,"touchEnd",(function(e){n.swipeEnd(e),n.clickable=!0})),(0,d.Z)(n,"slickPrev",(function(){n.callbackTimers.push(setTimeout((function(){return n.changeSlide({message:"previous"})}),0))})),(0,d.Z)(n,"slickNext",(function(){n.callbackTimers.push(setTimeout((function(){return n.changeSlide({message:"next"})}),0))})),(0,d.Z)(n,"slickGoTo",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";n.callbackTimers.push(setTimeout((function(){return n.changeSlide({message:"index",index:e,currentSlide:n.state.currentSlide},t)}),0))})),(0,d.Z)(n,"play",(function(){var e;if(n.props.rtl)e=n.state.currentSlide-n.props.slidesToScroll;else{if(!k((0,i.Z)((0,i.Z)({},n.props),n.state)))return!1;e=n.state.currentSlide+n.props.slidesToScroll}n.slideHandler(e)})),(0,d.Z)(n,"autoPlay",(function(e){n.autoplayTimer&&clearInterval(n.autoplayTimer);var t=n.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;n.autoplayTimer=setInterval(n.play,n.props.autoplaySpeed+50),n.setState({autoplaying:"playing"})})),(0,d.Z)(n,"pause",(function(e){n.autoplayTimer&&(clearInterval(n.autoplayTimer),n.autoplayTimer=null);var t=n.state.autoplaying;"paused"===e?n.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==t&&"playing"!==t||n.setState({autoplaying:"focused"}):"playing"===t&&n.setState({autoplaying:"hovered"})})),(0,d.Z)(n,"onDotsOver",(function(){return n.props.autoplay&&n.pause("hovered")})),(0,d.Z)(n,"onDotsLeave",(function(){return n.props.autoplay&&"hovered"===n.state.autoplaying&&n.autoPlay("leave")})),(0,d.Z)(n,"onTrackOver",(function(){return n.props.autoplay&&n.pause("hovered")})),(0,d.Z)(n,"onTrackLeave",(function(){return n.props.autoplay&&"hovered"===n.state.autoplaying&&n.autoPlay("leave")})),(0,d.Z)(n,"onSlideFocus",(function(){return n.props.autoplay&&n.pause("focused")})),(0,d.Z)(n,"onSlideBlur",(function(){return n.props.autoplay&&"focused"===n.state.autoplaying&&n.autoPlay("blur")})),(0,d.Z)(n,"render",(function(){var e,t,o,a=v()("slick-slider",n.props.className,{"slick-vertical":n.props.vertical,"slick-initialized":!0}),s=(0,i.Z)((0,i.Z)({},n.props),n.state),l=R(s,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),c=n.props.pauseOnHover;if(l=(0,i.Z)((0,i.Z)({},l),{},{onMouseEnter:c?n.onTrackOver:null,onMouseLeave:c?n.onTrackLeave:null,onMouseOver:c?n.onTrackOver:null,focusOnSelect:n.props.focusOnSelect&&n.clickable?n.selectHandler:null}),!0===n.props.dots&&n.state.slideCount>=n.props.slidesToShow){var u=R(s,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),d=n.props.pauseOnDotsHover;u=(0,i.Z)((0,i.Z)({},u),{},{clickHandler:n.changeSlide,onMouseEnter:d?n.onDotsLeave:null,onMouseOver:d?n.onDotsOver:null,onMouseLeave:d?n.onDotsLeave:null}),e=h.createElement(K,u)}var f=R(s,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);f.clickHandler=n.changeSlide,n.props.arrows&&(t=h.createElement($,f),o=h.createElement(J,f));var p=null;n.props.vertical&&(p={height:n.state.listHeight});var g=null;!1===n.props.vertical?!0===n.props.centerMode&&(g={padding:"0px "+n.props.centerPadding}):!0===n.props.centerMode&&(g={padding:n.props.centerPadding+" 0px"});var m=(0,i.Z)((0,i.Z)({},p),g),A=n.props.touchMove,y={className:"slick-list",style:m,onClick:n.clickHandler,onMouseDown:A?n.swipeStart:null,onMouseMove:n.state.dragging&&A?n.swipeMove:null,onMouseUp:A?n.swipeEnd:null,onMouseLeave:n.state.dragging&&A?n.swipeEnd:null,onTouchStart:A?n.swipeStart:null,onTouchMove:n.state.dragging&&A?n.swipeMove:null,onTouchEnd:A?n.touchEnd:null,onTouchCancel:n.state.dragging&&A?n.swipeEnd:null,onKeyDown:n.props.accessibility?n.keyHandler:null},b={className:a,dir:"ltr",style:n.props.style};return n.props.unslick&&(y={className:"slick-list"},b={className:a,style:n.props.style}),h.createElement("div",b,n.props.unslick?"":t,h.createElement("div",(0,r.Z)({ref:n.listRefHandler},y),h.createElement(X,(0,r.Z)({ref:n.trackRefHandler},l),n.props.children)),n.props.unslick?"":o,n.props.unslick?"":e)})),n.list=null,n.track=null,n.state=(0,i.Z)((0,i.Z)({},g),{},{currentSlide:n.props.initialSlide,targetSlide:n.props.initialSlide?n.props.initialSlide:0,slideCount:h.Children.count(n.props.children)}),n.callbackTimers=[],n.clickable=!0,n.debouncedResize=null;var A=n.ssrInit();return n.state=(0,i.Z)((0,i.Z)({},n.state),A),n}return(0,u.Z)(t,e),(0,a.Z)(t,[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,r=Object.keys(this.props);n1&&void 0!==arguments[1]&&arguments[1];return n.innerSlider.slickGoTo(e,t)})),(0,d.Z)(n,"slickPause",(function(){return n.innerSlider.pause("paused")})),(0,d.Z)(n,"slickPlay",(function(){return n.innerSlider.autoPlay("play")})),n.state={breakpoint:null},n._responsiveMediaHandlers=[],n}return(0,u.Z)(t,e),(0,a.Z)(t,[{key:"media",value:function(e,t){var n=window.matchMedia(e),r=function(e){e.matches&&t()};n.addListener(r),r(n),this._responsiveMediaHandlers.push({mql:n,query:e,listener:r})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(n,r){var i;i=0===r?ie()({minWidth:0,maxWidth:n}):ie()({minWidth:t[r-1]+1,maxWidth:n}),V()&&e.media(i,(function(){e.setState({breakpoint:n})}))}));var n=ie()({minWidth:t.slice(-1)[0]});V()&&this.media(n,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){e.mql.removeListener(e.listener)}))}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===n.state.breakpoint})))[0].settings?"unslick":(0,i.Z)((0,i.Z)((0,i.Z)({},y),this.props),t[0].settings):(0,i.Z)((0,i.Z)({},y),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var o=h.Children.toArray(this.props.children);o=o.filter((function(e){return"string"===typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var a=[],s=null,l=0;l=o.length));f+=1)d.push(h.cloneElement(o[f],{key:100*l+10*u+f,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));c.push(h.createElement("div",{key:10*l+u},d))}e.variableWidth?a.push(h.createElement("div",{key:l,style:{width:s}},c)):a.push(h.createElement("div",{key:l},c))}if("unslick"===e){var p="regular slider "+(this.props.className||"");return h.createElement("div",{className:p},o)}return a.length<=e.slidesToShow&&!e.infinite&&(e.unslick=!0),h.createElement(ne,(0,r.Z)({style:this.props.style,ref:this.innerSliderRefHandler},function(e){return G.reduce((function(t,n){return e.hasOwnProperty(n)&&(t[n]=e[n]),t}),{})}(e)),a)}}])}(h.Component)},76471:(e,t,n)=>{"use strict";n.d(t,{T6:()=>f,VD:()=>p,WE:()=>c,Yt:()=>g,lC:()=>o,py:()=>l,rW:()=>i,s:()=>d,ve:()=>s,vq:()=>u});var r=n(39553);function i(e,t,n){return{r:255*(0,r.sh)(e,255),g:255*(0,r.sh)(t,255),b:255*(0,r.sh)(n,255)}}function o(e,t,n){e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255);var i=Math.max(e,t,n),o=Math.min(e,t,n),a=0,s=0,l=(i+o)/2;if(i===o)s=0,a=0;else{var c=i-o;switch(s=l>.5?c/(2-i-o):c/(i+o),i){case e:a=(t-n)/c+(t1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function s(e,t,n){var i,o,s;if(e=(0,r.sh)(e,360),t=(0,r.sh)(t,100),n=(0,r.sh)(n,100),0===t)o=n,s=n,i=n;else{var l=n<.5?n*(1+t):n+t-n*t,c=2*n-l;i=a(c,l,e+1/3),o=a(c,l,e),s=a(c,l,e-1/3)}return{r:255*i,g:255*o,b:255*s}}function l(e,t,n){e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255);var i=Math.max(e,t,n),o=Math.min(e,t,n),a=0,s=i,l=i-o,c=0===i?0:l/i;if(i===o)a=0;else{switch(i){case e:a=(t-n)/l+(t>16,g:(65280&e)>>8,b:255&e}}},75109:(e,t,n)=>{"use strict";n.d(t,{R:()=>r});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},18948:(e,t,n)=>{"use strict";n.d(t,{uA:()=>a});var r=n(76471),i=n(75109),o=n(39553);function a(e){var t={r:0,g:0,b:0},n=1,a=null,s=null,l=null,c=!1,h=!1;return"string"===typeof e&&(e=function(e){if(e=e.trim().toLowerCase(),0===e.length)return!1;var t=!1;if(i.R[e])e=i.R[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=u.rgb.exec(e);if(n)return{r:n[1],g:n[2],b:n[3]};if(n=u.rgba.exec(e),n)return{r:n[1],g:n[2],b:n[3],a:n[4]};if(n=u.hsl.exec(e),n)return{h:n[1],s:n[2],l:n[3]};if(n=u.hsla.exec(e),n)return{h:n[1],s:n[2],l:n[3],a:n[4]};if(n=u.hsv.exec(e),n)return{h:n[1],s:n[2],v:n[3]};if(n=u.hsva.exec(e),n)return{h:n[1],s:n[2],v:n[3],a:n[4]};if(n=u.hex8.exec(e),n)return{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),a:(0,r.T6)(n[4]),format:t?"name":"hex8"};if(n=u.hex6.exec(e),n)return{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),format:t?"name":"hex"};if(n=u.hex4.exec(e),n)return{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),a:(0,r.T6)(n[4]+n[4]),format:t?"name":"hex8"};if(n=u.hex3.exec(e),n)return{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),format:t?"name":"hex"};return!1}(e)),"object"===typeof e&&(d(e.r)&&d(e.g)&&d(e.b)?(t=(0,r.rW)(e.r,e.g,e.b),c=!0,h="%"===String(e.r).substr(-1)?"prgb":"rgb"):d(e.h)&&d(e.s)&&d(e.v)?(a=(0,o.JX)(e.s),s=(0,o.JX)(e.v),t=(0,r.WE)(e.h,a,s),c=!0,h="hsv"):d(e.h)&&d(e.s)&&d(e.l)&&(a=(0,o.JX)(e.s),l=(0,o.JX)(e.l),t=(0,r.ve)(e.h,a,l),c=!0,h="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,o.Yq)(n),{ok:c,format:e.format||h,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var s="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),l="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),c="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),u={CSS_UNIT:new RegExp(s),rgb:new RegExp("rgb"+l),rgba:new RegExp("rgba"+c),hsl:new RegExp("hsl"+l),hsla:new RegExp("hsla"+c),hsv:new RegExp("hsv"+l),hsva:new RegExp("hsva"+c),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function d(e){return Boolean(u.CSS_UNIT.exec(String(e)))}},79388:(e,t,n)=>{"use strict";n.d(t,{C:()=>s});var r=n(76471),i=n(75109),o=n(18948),a=n(39553),s=function(){function e(t,n){var i;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"===typeof t&&(t=(0,r.Yt)(t)),this.originalInput=t;var a=(0,o.uA)(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(i=n.format)&&void 0!==i?i:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,a.Yq)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=(0,r.py)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=(0,r.py)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),i=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(i,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,r.lC)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=(0,r.lC)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),i=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(i,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,r.vq)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),(0,r.s)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*(0,a.sh)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*(0,a.sh)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+(0,r.vq)(this.r,this.g,this.b,!1),t=0,n=Object.entries(i.R);t=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=(0,a.V2)(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=(0,a.V2)(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=(0,a.V2)(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=(0,a.V2)(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),o=n/100;return new e({r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),i=360/n,o=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(new e(r));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/t;t--;)a.push(new e({h:r,s:i,v:o})),o=(o+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),i=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/i,g:(n.g*n.a+r.g*r.a*(1-n.a))/i,b:(n.b*n.a+r.b*r.a*(1-n.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],o=360/t,a=1;a{"use strict";function r(e,t){(function(e){return"string"===typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"===typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function i(e){return Math.min(1,Math.max(0,e))}function o(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function s(e){return 1===e.length?"0"+e:String(e)}n.d(t,{FZ:()=>s,JX:()=>a,V2:()=>i,Yq:()=>o,sh:()=>r})},82253:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(68185),i=n(32603),o=n(98641),a=n(21921),s=n(76195);function l(e,t){const n={};for(const r in e)t.includes(r)||(n[r]=e[r]);return n}class c extends i.Z{constructor(){super(...arguments),(0,r.Z)(this,"state",void 0)}initializeAggregationLayer(e){super.initializeState(this.context),this.setState({ignoreProps:l(this.constructor._propTypes,e.data.props),dimensions:e})}updateState(e){super.updateState(e);const{changeFlags:t}=e;if(t.extensionsChanged){const e=this.getShaders({});e&&e.defines&&(e.defines.NON_INSTANCED_MODEL=1),this.updateShaders(e)}this._updateAttributes()}updateAttributes(e){this.setState({changedAttributes:e})}getAttributes(){return this.getAttributeManager().getShaderAttributes()}getModuleSettings(){const{viewport:e,mousePosition:t,gl:n}=this.context;return Object.assign(Object.create(this.props),{viewport:e,mousePosition:t,pickingActive:0,devicePixelRatio:(0,s.w)(n)})}updateShaders(e){}isAggregationDirty(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{props:n,oldProps:r,changeFlags:i}=e,{compareAll:a=!1,dimension:s}=t,{ignoreProps:l}=this.state,{props:c,accessors:u=[]}=s,{updateTriggersChanged:d}=i;if(i.dataChanged)return!0;if(d){if(d.all)return!0;for(const e of u)if(d[e])return!0}if(a)return!!i.extensionsChanged||(0,o.tg)({oldProps:r,newProps:n,ignoreProps:l,propTypes:this.constructor._propTypes});for(const o of c)if(n[o]!==r[o])return!0;return!1}isAttributeChanged(e){const{changedAttributes:t}=this.state;return e?t&&void 0!==t[e]:!function(e){let t=!0;for(const n in e){t=!1;break}return t}(t)}_getAttributeManager(){return new a.Z(this.context.gl,{id:this.props.id,stats:this.context.stats})}}(0,r.Z)(c,"layerName","AggregationLayer")},81057:(e,t,n)=>{"use strict";n.d(t,{Z:()=>x});var r=n(68185),i=n(16621),o=n(39042);const a=new Uint16Array([0,1,2,0,2,3,4,5,6,4,6,7,8,9,10,8,10,11,12,13,14,12,14,15,16,17,18,16,18,19,20,21,22,20,22,23]),s=new Float32Array([-1,-1,1,1,-1,1,1,1,1,-1,1,1,-1,-1,-1,-1,1,-1,1,1,-1,1,-1,-1,-1,1,-1,-1,1,1,1,1,1,1,1,-1,-1,-1,-1,1,-1,-1,1,-1,1,-1,-1,1,1,-1,-1,1,1,-1,1,1,1,1,-1,1,-1,-1,-1,-1,-1,1,-1,1,1,-1,1,-1]),l=new Float32Array([0,0,1,0,0,1,0,0,1,0,0,1,0,0,-1,0,0,-1,0,0,-1,0,0,-1,0,1,0,0,1,0,0,1,0,0,1,0,0,-1,0,0,-1,0,0,-1,0,0,-1,0,1,0,0,1,0,0,1,0,0,1,0,0,-1,0,0,-1,0,0,-1,0,0,-1,0,0]),c=new Float32Array([0,0,1,0,1,1,0,1,1,0,1,1,0,1,0,0,0,1,0,0,1,0,1,1,1,1,0,1,0,0,1,0,1,0,1,1,0,1,0,0,0,0,1,0,1,1,0,1]),u={POSITION:{size:3,value:new Float32Array(s)},NORMAL:{size:3,value:new Float32Array(l)},TEXCOORD_0:{size:2,value:new Float32Array(c)}};class d extends i.Z{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{id:t=(0,o.hQ)("cube-geometry")}=e;super({...e,id:t,indices:{size:1,value:new Uint16Array(a)},attributes:{...u,...e.attributes}})}}var h=n(98029),f=n(13091);class p extends f.Z{getGeometry(e){return new d}draw(e){let{uniforms:t}=e;const{elevationScale:n,extruded:r,offset:i,coverage:o,cellSize:a,angle:s,radiusUnits:l}=this.props;this.state.model.setUniforms(t).setUniforms({radius:a/2,radiusUnits:h.iI[l],angle:s,offset:i,extruded:r,coverage:o,elevationScale:n,edgeDistance:1,isWireframe:!1}).draw()}}(0,r.Z)(p,"layerName","GridCellLayer"),(0,r.Z)(p,"defaultProps",{cellSize:{type:"number",min:0,value:1e3},offset:{type:"array",value:[1,1]}});var g=n(67110),m=n(39179);const A=6378e3;function v(e,t){if(!(!(arguments.length>2&&void 0!==arguments[2])||arguments[2]))return{xOffset:t,yOffset:t};const{yMin:n,yMax:r}=e;return function(e,t){const n=(a=e,a/A*(180/Math.PI)),r=(i=t,o=e,o/A*(180/Math.PI)/Math.cos(i*Math.PI/180));var i,o;var a;return{yOffset:n,xOffset:r}}(t,(n+r)/2)}var y=n(20307),b=n(82253);function _(){}const w={colorDomain:null,colorRange:g.K,getColorValue:{type:"accessor",value:null},getColorWeight:{type:"accessor",value:1},colorAggregation:"SUM",lowerPercentile:{type:"number",min:0,max:100,value:0},upperPercentile:{type:"number",min:0,max:100,value:100},colorScaleType:"quantize",onSetColorDomain:_,elevationDomain:null,elevationRange:[0,1e3],getElevationValue:{type:"accessor",value:null},getElevationWeight:{type:"accessor",value:1},elevationAggregation:"SUM",elevationLowerPercentile:{type:"number",min:0,max:100,value:0},elevationUpperPercentile:{type:"number",min:0,max:100,value:100},elevationScale:{type:"number",min:0,value:1},elevationScaleType:"linear",onSetElevationDomain:_,gridAggregator:function(e,t){const n=function(e,t){const{data:n=[],cellSize:r}=e,{attributes:i,viewport:o,projectPoints:a,numInstances:s}=t,l=i.positions.value,{size:c}=i.positions.getAccessor(),u=t.boundingBox||function(e,t){const n=e.value,{size:r}=e.getAccessor();let i,o,a=1/0,s=-1/0,l=1/0,c=-1/0;for(let u=0;us?i:s,l=oc?o:c);return{xMin:l,xMax:c,yMin:a,yMax:s}}(i.positions,s),d=t.posOffset||[180,90],h=t.gridOffset||v(u,r);if(h.xOffset<=0||h.yOffset<=0)return{gridHash:{},gridOffset:h};const{width:f,height:p}=o,g=Math.ceil(f/h.xOffset),A=Math.ceil(p/h.yOffset),y={},{iterable:b,objectInfo:_}=(0,m.jB)(n),w=new Array(3);for(const m of b){_.index++,w[0]=l[_.index*c],w[1]=l[_.index*c+1],w[2]=c>=3?l[_.index*c+2]:0;const[e,t]=a?o.project(w):w;if(Number.isFinite(e)&&Number.isFinite(t)){const n=Math.floor((t+d[1])/h.yOffset),r=Math.floor((e+d[0])/h.xOffset);if(!a||r>=0&&r=0&&ne.position},extruded:!1,material:!0,_filterData:{type:"function",value:null,optional:!0}};class x extends b.Z{initializeState(){const e=new y.Z({getAggregator:e=>e.gridAggregator,getCellSize:e=>e.cellSize});this.state={cpuAggregator:e,aggregatorState:e.state};this.getAttributeManager().add({positions:{size:3,type:5130,accessor:"getPosition"}})}updateState(e){super.updateState(e),this.setState({aggregatorState:this.state.cpuAggregator.updateState(e,{viewport:this.context.viewport,attributes:this.getAttributes(),numInstances:this.getNumInstances()})})}getPickingInfo(e){let{info:t}=e;return this.state.cpuAggregator.getPickingInfo({info:t})}_onGetSublayerColor(e){return this.state.cpuAggregator.getAccessor("fillColor")(e)}_onGetSublayerElevation(e){return this.state.cpuAggregator.getAccessor("elevation")(e)}_getSublayerUpdateTriggers(){return this.state.cpuAggregator.getUpdateTriggers(this.props)}renderLayers(){const{elevationScale:e,extruded:t,cellSize:n,coverage:r,material:i,transitions:o}=this.props,{cpuAggregator:a}=this.state,s=this.getSubLayerClass("grid-cell",p),l=this._getSublayerUpdateTriggers();return new s({cellSize:n,coverage:r,material:i,elevationScale:e,extruded:t,getFillColor:this._onGetSublayerColor.bind(this),getElevation:this._onGetSublayerElevation.bind(this),transitions:o&&{getFillColor:o.getColorValue||o.getColorWeight,getElevation:o.getElevationValue||o.getElevationWeight}},this.getSubLayerProps({id:"grid-cell",updateTriggers:l}),{data:a.state.layerData.data})}}(0,r.Z)(x,"layerName","CPUGridLayer"),(0,r.Z)(x,"defaultProps",w)},75770:(e,t,n)=>{"use strict";n.d(t,{Z:()=>M});var r=n(68185),i=n(76195);const o=new Float32Array(12);function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n=0;for(const r of e)for(let e=0;e 0.) {\n maxValue = colorDomain[1];\n minValue = colorDomain[0];\n }\n vIntensityMax = intensity / maxValue;\n vIntensityMin = intensity / minValue;\n}\n",fs:"#define SHADER_NAME triangle-layer-fragment-shader\n\nprecision highp float;\n\nuniform float opacity;\nuniform sampler2D texture;\nuniform sampler2D colorTexture;\nuniform float aggregationMode;\n\nvarying vec2 vTexCoords;\nvarying float vIntensityMin;\nvarying float vIntensityMax;\n\nvec4 getLinearColor(float value) {\n float factor = clamp(value * vIntensityMax, 0., 1.);\n vec4 color = texture2D(colorTexture, vec2(factor, 0.5));\n color.a *= min(value * vIntensityMin, 1.0);\n return color;\n}\n\nvoid main(void) {\n vec4 weights = texture2D(texture, vTexCoords);\n float weight = weights.r;\n\n if (aggregationMode > 0.5) {\n weight /= max(1.0, weights.a);\n }\n if (weight <= 0.) {\n discard;\n }\n\n vec4 linearColor = getLinearColor(weight);\n linearColor.a *= opacity;\n gl_FragColor =linearColor;\n}\n",modules:[v.Z]}}initializeState(e){let{gl:t}=e;this.getAttributeManager().add({positions:{size:3,noAlloc:!0},texCoords:{size:2,noAlloc:!0}}),this.setState({model:this._getModel(t)})}_getModel(e){const{vertexCount:t}=this.props;return new g.Z(e,{...this.getShaders(),id:this.props.id,geometry:new m.Z({drawMode:6,vertexCount:t})})}draw(e){let{uniforms:t}=e;const{model:n}=this.state,{texture:r,maxTexture:i,colorTexture:o,intensity:a,threshold:s,aggregationMode:l,colorDomain:c}=this.props;n.setUniforms({...t,texture:r,maxTexture:i,colorTexture:o,intensity:a,threshold:s,aggregationMode:l,colorDomain:c}).draw()}}(0,r.Z)(y,"layerName","TriangleLayer");var b=n(82253),_=n(67110);const w={mipmaps:!1,parameters:{10240:9729,10241:9729,10242:33071,10243:33071},dataFormat:6408},x=[0,0],E={SUM:0,MEAN:1},S={getPosition:{type:"accessor",value:e=>e.position},getWeight:{type:"accessor",value:1},intensity:{type:"number",min:0,value:1},radiusPixels:{type:"number",min:1,max:100,value:50},colorRange:_.K,threshold:{type:"number",min:0,max:1,value:.05},colorDomain:{type:"array",value:null,optional:!0},aggregation:"SUM",weightsTextureSize:{type:"number",min:128,max:2048,value:2048},debounceTimeout:{type:"number",min:0,max:1e3,value:500}},C=[s.h.BLEND_EQUATION_MINMAX,s.h.TEXTURE_FLOAT],P=[s.h.COLOR_ATTACHMENT_RGBA32F,s.h.FLOAT_BLEND],T={data:{props:["radiusPixels"]}};class M extends b.Z{constructor(){super(...arguments),(0,r.Z)(this,"state",void 0)}initializeState(){const{gl:e}=this.context;if(!(0,l.ag)(e,C))return this.setState({supported:!1}),void h.Z.error("HeatmapLayer: ".concat(this.id," is not supported on this browser"))();super.initializeAggregationLayer(T),this.setState({supported:!0,colorDomain:x}),this._setupTextureParams(),this._setupAttributes(),this._setupResources()}shouldUpdateState(e){let{changeFlags:t}=e;return t.somethingChanged}updateState(e){this.state.supported&&(super.updateState(e),this._updateHeatmapState(e))}_updateHeatmapState(e){const{props:t,oldProps:n}=e,r=this._getChangeFlags(e);(r.dataChanged||r.viewportChanged)&&(r.boundsChanged=this._updateBounds(r.dataChanged),this._updateTextureRenderingBounds()),r.dataChanged||r.boundsChanged?(clearTimeout(this.state.updateTimer),this.setState({isWeightMapDirty:!0})):r.viewportZoomChanged&&this._debouncedUpdateWeightmap(),t.colorRange!==n.colorRange&&this._updateColorTexture(e),this.state.isWeightMapDirty&&this._updateWeightmap(),this.setState({zoom:e.context.viewport.zoom})}renderLayers(){if(!this.state.supported)return[];const{weightsTexture:e,triPositionBuffer:t,triTexCoordBuffer:n,maxWeightsTexture:r,colorTexture:i,colorDomain:o}=this.state,{updateTriggers:a,intensity:s,threshold:l,aggregation:c}=this.props;return new(this.getSubLayerClass("triangle",y))(this.getSubLayerProps({id:"triangle-layer",updateTriggers:a}),{coordinateSystem:f.Df.DEFAULT,data:{attributes:{positions:t,texCoords:n}},vertexCount:4,maxTexture:r,colorTexture:i,aggregationMode:E[c]||0,texture:e,intensity:s,threshold:l,colorDomain:o})}finalizeState(e){super.finalizeState(e);const{weightsTransform:t,weightsTexture:n,maxWeightTransform:r,maxWeightsTexture:i,triPositionBuffer:o,triTexCoordBuffer:a,colorTexture:s,updateTimer:l}=this.state;null===t||void 0===t||t.delete(),null===n||void 0===n||n.delete(),null===r||void 0===r||r.delete(),null===i||void 0===i||i.delete(),null===o||void 0===o||o.delete(),null===a||void 0===a||a.delete(),null===s||void 0===s||s.delete(),l&&clearTimeout(l)}_getAttributeManager(){return new p.Z(this.context.gl,{id:this.props.id,stats:this.context.stats})}_getChangeFlags(e){const t={},{dimensions:n}=this.state;t.dataChanged=this.isAttributeChanged()||this.isAggregationDirty(e,{compareAll:!0,dimension:n.data}),t.viewportChanged=e.changeFlags.viewportChanged;const{zoom:r}=this.state;return e.context.viewport&&e.context.viewport.zoom===r||(t.viewportZoomChanged=!0),t}_createTextures(){const{gl:e}=this.context,{textureSize:t,format:n,type:r}=this.state;this.setState({weightsTexture:new c.Z(e,{width:t,height:t,format:n,type:r,...w}),maxWeightsTexture:new c.Z(e,{format:n,type:r,...w})})}_setupAttributes(){this.getAttributeManager().add({positions:{size:3,type:5130,accessor:"getPosition"},weights:{size:1,accessor:"getWeight"}}),this.setState({positionAttributeName:"positions"})}_setupTextureParams(){const{gl:e}=this.context,{weightsTextureSize:t}=this.props,n=Math.min(t,(0,i.ZS)(e,3379)),r=(0,l.ag)(e,P),{format:o,type:a}=function(e){let{gl:t,floatTargetSupport:n}=e;return n?{format:(0,i.D0)(t)?34836:6408,type:5126}:{format:6408,type:5121}}({gl:e,floatTargetSupport:r}),s=r?1:1/255;this.setState({textureSize:n,format:o,type:a,weightsScale:s}),r||h.Z.warn("HeatmapLayer: ".concat(this.id," rendering to float texture not supported, fallingback to low precession format"))()}getShaders(e){return super.getShaders("max-weights-transform"===e?{vs:"attribute vec4 inTexture;\nvarying vec4 outTexture;\n\nvoid main()\n{\noutTexture = inTexture;\ngl_Position = vec4(0, 0, 0, 1.);\ngl_PointSize = 1.0;\n}\n",_fs:"varying vec4 outTexture;\nvoid main() {\n gl_FragColor = outTexture;\n gl_FragColor.g = outTexture.r / max(1.0, outTexture.a);\n}\n"}:{vs:"attribute vec3 positions;\nattribute vec3 positions64Low;\nattribute float weights;\nvarying vec4 weightsTexture;\nuniform float radiusPixels;\nuniform float textureWidth;\nuniform vec4 commonBounds;\nuniform float weightsScale;\nvoid main()\n{\n weightsTexture = vec4(weights * weightsScale, 0., 0., 1.);\n\n float radiusTexels = project_pixel_size(radiusPixels) * textureWidth / (commonBounds.z - commonBounds.x);\n gl_PointSize = radiusTexels * 2.;\n\n vec3 commonPosition = project_position(positions, positions64Low);\n gl_Position.xy = (commonPosition.xy - commonBounds.xy) / (commonBounds.zw - commonBounds.xy) ;\n gl_Position.xy = (gl_Position.xy * 2.) - (1.);\n}\n",_fs:"varying vec4 weightsTexture;\nfloat gaussianKDE(float u){\n return pow(2.71828, -u*u/0.05555)/(1.77245385*0.166666);\n}\nvoid main()\n{\n float dist = length(gl_PointCoord - vec2(0.5, 0.5));\n if (dist > 0.5) {\n discard;\n }\n gl_FragColor = weightsTexture * gaussianKDE(2. * dist);\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n"})}_createWeightsTransform(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t;const{gl:n}=this.context;let{weightsTransform:r}=this.state;const{weightsTexture:i}=this.state;null===(t=r)||void 0===t||t.delete(),r=new u.Z(n,{id:"".concat(this.id,"-weights-transform"),elementCount:1,_targetTexture:i,_targetTextureVarying:"weightsTexture",...e}),this.setState({weightsTransform:r})}_setupResources(){const{gl:e}=this.context;this._createTextures();const{textureSize:t,weightsTexture:n,maxWeightsTexture:r}=this.state,i=this.getShaders("weights-transform");this._createWeightsTransform(i);const o=this.getShaders("max-weights-transform"),a=new u.Z(e,{id:"".concat(this.id,"-max-weights-transform"),_sourceTextures:{inTexture:n},_targetTexture:r,_targetTextureVarying:"outTexture",...o,elementCount:t*t});this.setState({weightsTexture:n,maxWeightsTexture:r,maxWeightTransform:a,zoom:null,triPositionBuffer:new d.Z(e,{byteLength:48,accessor:{size:3}}),triTexCoordBuffer:new d.Z(e,{byteLength:48,accessor:{size:2}})})}updateShaders(e){this._createWeightsTransform(e)}_updateMaxWeightValue(){const{maxWeightTransform:e}=this.state;e.run({parameters:{blend:!0,depthTest:!1,blendFunc:[1,1],blendEquation:32776}})}_updateBounds(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const{viewport:t}=this.context,n=[t.unproject([0,0]),t.unproject([t.width,0]),t.unproject([t.width,t.height]),t.unproject([0,t.height])].map((e=>e.map(Math.fround))),r=function(e){const t=e.map((e=>e[0])),n=e.map((e=>e[1])),r=Math.min.apply(null,t),i=Math.max.apply(null,t);return[r,Math.min.apply(null,n),i,Math.max.apply(null,n)]}(n),i={visibleWorldBounds:r,viewportCorners:n};let o=!1;if(e||!this.state.worldBounds||(a=this.state.worldBounds,!((s=r)[0]>=a[0]&&s[2]<=a[2]&&s[1]>=a[1]&&s[3]<=a[3]))){const e=this._worldToCommonBounds(r),t=this._commonToWorldBounds(e);this.props.coordinateSystem===f.Df.LNGLAT&&(t[1]=Math.max(t[1],-85.051129),t[3]=Math.min(t[3],85.051129),t[0]=Math.max(t[0],-360),t[2]=Math.min(t[2],360));const n=this._worldToCommonBounds(t);i.worldBounds=t,i.normalizedCommonBounds=n,o=!0}var a,s;return this.setState(i),o}_updateTextureRenderingBounds(){const{triPositionBuffer:e,triTexCoordBuffer:t,normalizedCommonBounds:n,viewportCorners:r}=this.state,{viewport:i}=this.context;e.subData(a(r,3));const o=r.map((e=>function(e,t){const[n,r,i,o]=t;return[(e[0]-n)/(i-n),(e[1]-r)/(o-r)]}(i.projectPosition(e),n)));t.subData(a(o,2))}_updateColorTexture(e){const{colorRange:t}=e.props;let{colorTexture:n}=this.state;const r=(0,_.P)(t,!1,Uint8Array);n?n.setImageData({data:r,width:t.length}):n=new c.Z(this.context.gl,{data:r,width:t.length,height:1,...w}),this.setState({colorTexture:n})}_updateWeightmap(){const{radiusPixels:e,colorDomain:t,aggregation:n}=this.props,{weightsTransform:r,worldBounds:o,textureSize:a,weightsTexture:s,weightsScale:l}=this.state;this.state.isWeightMapDirty=!1;const c=this._worldToCommonBounds(o,{useLayerCoordinateSystem:!0});if(t&&"SUM"===n){const{viewport:e}=this.context,n=e.distanceScales.metersPerUnit[2]*(c[2]-c[0])/a;this.state.colorDomain=t.map((e=>e*n*l))}else this.state.colorDomain=t||x;const u={radiusPixels:e,commonBounds:c,textureWidth:a,weightsScale:l};r.update({elementCount:this.getNumInstances()}),(0,i.s8)(this.context.gl,{clearColor:[0,0,0,0]},(()=>{r.run({uniforms:u,parameters:{blend:!0,depthTest:!1,blendFunc:[1,1],blendEquation:32774},clearRenderTarget:!0,attributes:this.getAttributes(),moduleSettings:this.getModuleSettings()})})),this._updateMaxWeightValue(),s.setParameters({10240:9729,10241:9729})}_debouncedUpdateWeightmap(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],{updateTimer:t}=this.state;const{debounceTimeout:n}=this.props;e?(t=null,this._updateBounds(!0),this._updateTextureRenderingBounds(),this.setState({isWeightMapDirty:!0})):(this.setState({isWeightMapDirty:!1}),clearTimeout(t),t=setTimeout(this._debouncedUpdateWeightmap.bind(this,!0),n)),this.setState({updateTimer:t})}_worldToCommonBounds(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{useLayerCoordinateSystem:n=!1}=t,[r,i,o,a]=e,{viewport:s}=this.context,{textureSize:l}=this.state,{coordinateSystem:c}=this.props,u=n&&(c===f.Df.LNGLAT_OFFSETS||c===f.Df.METER_OFFSETS),d=u?s.projectPosition(this.props.coordinateOrigin):[0,0],h=2*l/s.scale;let p,g;return n&&!u?(p=this.projectPosition([r,i,0]),g=this.projectPosition([o,a,0])):(p=s.projectPosition([r,i,0]),g=s.projectPosition([o,a,0])),function(e,t,n){const[r,i,o,a]=e,s=o-r,l=a-i;let c=s,u=l;s/l{"use strict";n.d(t,{Z:()=>m});var r=n(68185),i=n(65148),o=n(13091),a=n(67110),s=Math.PI/3,l=[0,s,2*s,3*s,4*s,5*s];function c(e){return e[0]}function u(e){return e[1]}var d=n(39179);var h=n(20307),f=n(82253);function p(){}const g={colorDomain:null,colorRange:a.K,getColorValue:{type:"accessor",value:null},getColorWeight:{type:"accessor",value:1},colorAggregation:"SUM",lowerPercentile:{type:"number",value:0,min:0,max:100},upperPercentile:{type:"number",value:100,min:0,max:100},colorScaleType:"quantize",onSetColorDomain:p,elevationDomain:null,elevationRange:[0,1e3],getElevationValue:{type:"accessor",value:null},getElevationWeight:{type:"accessor",value:1},elevationAggregation:"SUM",elevationLowerPercentile:{type:"number",value:0,min:0,max:100},elevationUpperPercentile:{type:"number",value:100,min:0,max:100},elevationScale:{type:"number",min:0,value:1},elevationScaleType:"linear",onSetElevationDomain:p,radius:{type:"number",value:1e3,min:1},coverage:{type:"number",min:0,max:1,value:1},extruded:!1,hexagonAggregator:function(e,t){const{data:n,radius:r}=e,{viewport:o,attributes:a}=t,h=n.length?function(e,t){const{attributes:n}=t,r=n.positions.value,{size:i}=n.positions.getAccessor();let o,a=1/0,s=1/0,l=-1/0,c=-1/0;for(o=0;o1){var g=l-f,m=f+(lv*v+y*y&&(f=m+(1&u?1:-1)/2,u=A)}var b=f+"-"+u,_=i[b];_?_.push(s):(o.push(_=i[b]=[s]),_.x=(f+(1&u)/2)*t,_.y=u*n)}return o}function p(e){var t=0,n=0;return l.map((function(r){var i=Math.sin(r)*e,o=-Math.cos(r)*e,a=i-t,s=o-n;return t=i,n=o,[a,s]}))}return f.hexagon=function(t){return"m"+p(null==t?e:+t).join("l")+"z"},f.centers=function(){for(var s=[],l=Math.round(i/n),c=Math.round(r/t),u=l*n;ue.screenCoord[0])).y((e=>e.screenCoord[1]));return{hexagons:y(p).map(((e,t)=>({position:o.unprojectFlat([e.x,e.y]),points:e,index:t}))),radiusCommon:f}},getPosition:{type:"accessor",value:e=>e.position},material:!0,_filterData:{type:"function",value:null,optional:!0}};class m extends f.Z{constructor(){super(...arguments),(0,r.Z)(this,"state",void 0)}initializeState(){const e=new h.Z({getAggregator:e=>e.hexagonAggregator,getCellSize:e=>e.radius});this.state={cpuAggregator:e,aggregatorState:e.state,vertices:null};this.getAttributeManager().add({positions:{size:3,type:5130,accessor:"getPosition"}})}updateState(e){if(super.updateState(e),e.changeFlags.propsOrDataChanged){const t=this.state.cpuAggregator.updateState(e,{viewport:this.context.viewport,attributes:this.getAttributes()});if(this.state.aggregatorState.layerData!==t.layerData){const{hexagonVertices:e}=t.layerData||{};this.setState({vertices:e&&this.convertLatLngToMeterOffset(e)})}this.setState({aggregatorState:t})}}convertLatLngToMeterOffset(e){const{viewport:t}=this.context;if(Array.isArray(e)&&6===e.length){const n=e[0],r=e[3],i=[(n[0]+r[0])/2,(n[1]+r[1])/2],o=t.projectFlat(i),{metersPerUnit:a}=t.getDistanceScales(i);return e.map((e=>{const n=t.projectFlat(e);return[(n[0]-o[0])*a[0],(n[1]-o[1])*a[1]]}))}return i.Z.error("HexagonLayer: hexagonVertices needs to be an array of 6 points")(),null}getPickingInfo(e){let{info:t}=e;return this.state.cpuAggregator.getPickingInfo({info:t})}_onGetSublayerColor(e){return this.state.cpuAggregator.getAccessor("fillColor")(e)}_onGetSublayerElevation(e){return this.state.cpuAggregator.getAccessor("elevation")(e)}_getSublayerUpdateTriggers(){return this.state.cpuAggregator.getUpdateTriggers(this.props)}renderLayers(){const{elevationScale:e,extruded:t,coverage:n,material:r,transitions:i}=this.props,{aggregatorState:a,vertices:s}=this.state,l=this.getSubLayerClass("hexagon-cell",o.Z),c=this._getSublayerUpdateTriggers();return new l({...s?{vertices:s,radius:1}:{radius:a.layerData.radiusCommon||1,radiusUnits:"common",angle:90},diskResolution:6,elevationScale:e,extruded:t,coverage:n,material:r,getFillColor:this._onGetSublayerColor.bind(this),getElevation:this._onGetSublayerElevation.bind(this),transitions:i&&{getFillColor:i.getColorValue||i.getColorWeight,getElevation:i.getElevationValue||i.getElevationWeight}},this.getSubLayerProps({id:"hexagon-cell",updateTriggers:c}),{data:a.layerData.data})}}(0,r.Z)(m,"layerName","HexagonLayer"),(0,r.Z)(m,"defaultProps",g)},67110:(e,t,n)=>{"use strict";n.d(t,{K:()=>r,P:()=>i});const r=[[255,255,178],[254,217,118],[254,178,76],[253,141,60],[240,59,32],[189,0,38]];function i(e){let t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Float32Array;if(Number.isFinite(e[0]))t=new r(e);else{t=new r(4*e.length);let n=0;for(let r=0;r{"use strict";n.d(t,{Z:()=>O});var r=n(68185),i=n(65148);function o(e,t,n){const r=n;return r.domain=()=>e,r.range=()=>t,r}function a(e,t){return o(e,t,(n=>function(e,t,n){const r=e[1]-e[0];if(r<=0)return i.Z.warn("quantizeScale: invalid domain, returning range[0]")(),t[0];const o=r/t.length,a=Math.floor((n-e[0])/o),s=Math.max(Math.min(a,t.length-1),0);return t[s]}(e,t,n)))}function s(e,t){return o(e,t,(n=>function(e,t,n){return(n-e[0])/(e[1]-e[0])*(t[1]-t[0])+t[0]}(e,t,n)))}function l(e,t){const n=e.sort(c);let r=0;const i=Math.max(1,t.length),a=new Array(i-1);for(;++rfunction(e,t,n){return t[function(e,t){let n=0,r=e.length;for(;n>>1;c(e[i],t)>0?r=i:n=i+1}return n}(e,n)]}(a,t,e);return s.thresholds=()=>a,o(e,t,s)}function c(e,t){return e-t}function u(e,t){const n=e.length;if(t<=0||n<2)return e[0];if(t>=1)return e[n-1];const r=(n-1)*t,i=Math.floor(r),o=e[i];return o+(e[i+1]-o)*(r-i)}function d(e,t){const n=new Map,r=[];for(const i of e){const e="".concat(i);n.has(e)||n.set(e,r.push(i))}return o(e,t,(e=>function(e,t,n,r){const i="".concat(r);let o=t.get(i);return void 0===o&&(o=e.push(r),t.set(i,o)),n[(o-1)%n.length]}(r,n,t,e)))}function h(e){return void 0!==e&&null!==e}function f(e,t){return("function"===typeof t?e.map(t):e).filter(h)}function p(e,t){return f(e,t)}function g(e,t){return function(e){const t=[];return e.forEach((e=>{!t.includes(e)&&h(e)&&t.push(e)})),t}(f(e,t))}const m=e=>e.length,A=e=>e.points,v=e=>e.index,y=(e,t)=>et?1:e>=t?0:NaN,b={getValue:m,getPoints:A,getIndex:v,filterData:null};class _{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b;(0,r.Z)(this,"maxCount",void 0),(0,r.Z)(this,"maxValue",void 0),(0,r.Z)(this,"minValue",void 0),(0,r.Z)(this,"totalCount",void 0),(0,r.Z)(this,"aggregatedBins",void 0),(0,r.Z)(this,"sortedBins",void 0),(0,r.Z)(this,"binMap",void 0),this.aggregatedBins=this.getAggregatedBins(e,t),this._updateMinMaxValues(),this.binMap=this.getBinMap()}getAggregatedBins(e,t){const{getValue:n=m,getPoints:r=A,getIndex:i=v,filterData:o}=t,a="function"===typeof o,s=e.length,l=[];let c=0;for(let u=0;u{return t=e,n=0,r=100,Math.max(n,Math.min(r,t));var t,n,r}));return[Math.ceil(n/100*(t-1)),Math.floor(r/100*(t-1))]}getBinMap(){const e={};for(const t of this.aggregatedBins)e[t.i]=t;return e}_updateMinMaxValues(){let e=0,t=0,n=3402823466e29,r=0;for(const i of this.aggregatedBins)e=e>i.counts?e:i.counts,t=t>i.value?t:i.value,n=ny(e.value,t.value)))),!this.sortedBins.length)return[];let t=0,n=this.sortedBins.length-1;if(Array.isArray(e)){const r=this._percentileToIndex(e);t=r[0],n=r[1]}return[this.sortedBins[t].value,this.sortedBins[n].value]}getValueDomainByScale(e){let[t=0,n=100]=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(this.sortedBins||(this.sortedBins=this.aggregatedBins.sort(((e,t)=>y(e.value,t.value)))),!this.sortedBins.length)return[];const r=this._percentileToIndex([t,n]);return this._getScaleDomain(e,r)}_getScaleDomain(e,t){let[n,r]=t;const i=this.sortedBins;switch(e){case"quantize":case"linear":default:return[i[n].value,i[r].value];case"quantile":return p(i.slice(n,r+1),(e=>e.value));case"ordinal":return g(i,(e=>e.value))}}}const w={SUM:1,MEAN:2,MIN:3,MAX:4};function x(e,t){return e+t}function E(e,t){return t>e?t:e}function S(e,t){return t1&&void 0!==arguments[1]?arguments[1]:{};if(Number.isFinite(e))return e;return n=>(t.index=n.index,e(n.source,t))}(t,n),r){case w.MIN:return e=>function(e,t){if(Number.isFinite(t))return e.length?t:null;const n=e.map(t).filter(Number.isFinite);return n.length?n.reduce(S,1/0):null}(e,t);case w.SUM:return e=>function(e,t){if(Number.isFinite(t))return e.length?e.length*t:null;const n=e.map(t).filter(Number.isFinite);return n.length?n.reduce(x,0):null}(e,t);case w.MEAN:return e=>function(e,t){if(Number.isFinite(t))return e.length?t:null;const n=e.map(t).filter(Number.isFinite);return n.length?n.reduce(x,0)/n.length:null}(e,t);case w.MAX:return e=>function(e,t){if(Number.isFinite(t))return e.length?t:null;const n=e.map(t).filter(Number.isFinite);return n.length?n.reduce(E,-1/0):null}(e,t);default:return null}}function P(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n=>(t.indices=n.map((e=>e.index)),e(n.map((e=>e.source)),t))}function T(){}const M=["getBins","getDomain","getScaleFunc"],k=[{key:"fillColor",accessor:"getFillColor",pickingInfo:"colorValue",getBins:{triggers:{value:{prop:"getColorValue",updateTrigger:"getColorValue"},weight:{prop:"getColorWeight",updateTrigger:"getColorWeight"},aggregation:{prop:"colorAggregation"},filterData:{prop:"_filterData",updateTrigger:"_filterData"}}},getDomain:{triggers:{lowerPercentile:{prop:"lowerPercentile"},upperPercentile:{prop:"upperPercentile"},scaleType:{prop:"colorScaleType"}}},getScaleFunc:{triggers:{domain:{prop:"colorDomain"},range:{prop:"colorRange"}},onSet:{props:"onSetColorDomain"}},nullValue:[0,0,0,0]},{key:"elevation",accessor:"getElevation",pickingInfo:"elevationValue",getBins:{triggers:{value:{prop:"getElevationValue",updateTrigger:"getElevationValue"},weight:{prop:"getElevationWeight",updateTrigger:"getElevationWeight"},aggregation:{prop:"elevationAggregation"},filterData:{prop:"_filterData",updateTrigger:"_filterData"}}},getDomain:{triggers:{lowerPercentile:{prop:"elevationLowerPercentile"},upperPercentile:{prop:"elevationUpperPercentile"},scaleType:{prop:"elevationScaleType"}}},getScaleFunc:{triggers:{domain:{prop:"elevationDomain"},range:{prop:"elevationRange"}},onSet:{props:"onSetElevationDomain"}},nullValue:-1}],R=e=>e.cellSize;class O{constructor(e){this.state={layerData:{},dimensions:{}},this.changeFlags={},this.dimensionUpdaters={},this._getCellSize=e.getCellSize||R,this._getAggregator=e.getAggregator,this._addDimension(e.dimensions||k)}static defaultDimensions(){return k}updateState(e,t){const{oldProps:n,props:r,changeFlags:i}=e;this.updateGetValueFuncs(n,r,i);const o=this.needsReProjectPoints(n,r,i);let a=!1;if(i.dataChanged||o)this.getAggregatedData(r,t),a=!0;else{(this.getDimensionChanges(n,r,i)||[]).forEach((e=>"function"===typeof e&&e())),a=!0}return this.setState({aggregationDirty:a}),this.state}setState(e){this.state={...this.state,...e}}setDimensionState(e,t){this.setState({dimensions:{...this.state.dimensions,[e]:{...this.state.dimensions[e],...t}}})}normalizeResult(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.hexagons?{data:e.hexagons,...e}:e.layerData?{data:e.layerData,...e}:e}getAggregatedData(e,t){const n=this._getAggregator(e)(e,t);this.setState({layerData:this.normalizeResult(n)}),this.changeFlags={layerData:!0},this.getSortedBins(e)}updateGetValueFuncs(e,t,n){for(const r in this.dimensionUpdaters){const{value:i,weight:o,aggregation:a}=this.dimensionUpdaters[r].getBins.triggers;let s=t[i.prop];this.needUpdateDimensionStep(this.dimensionUpdaters[r].getBins,e,t,n)&&(s=s?P(s,{data:t.data}):C(t[a.prop],t[o.prop],{data:t.data})),s&&this.setDimensionState(r,{getValue:s})}}needsReProjectPoints(e,t,n){return this._getCellSize(e)!==this._getCellSize(t)||this._getAggregator(e)!==this._getAggregator(t)||n.updateTriggersChanged&&(n.updateTriggersChanged.all||n.updateTriggersChanged.getPosition)}addDimension(e){this._addDimension(e)}_addDimension(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((e=>{const{key:t}=e;this.dimensionUpdaters[t]=this.getDimensionUpdaters(e),this.state.dimensions[t]={getValue:null,domain:null,sortedBins:null,scaleFunc:T}}))}getDimensionUpdaters(e){let{key:t,accessor:n,pickingInfo:r,getBins:i,getDomain:o,getScaleFunc:a,nullValue:s}=e;return{key:t,accessor:n,pickingInfo:r,getBins:{updater:this.getDimensionSortedBins,...i},getDomain:{updater:this.getDimensionValueDomain,...o},getScaleFunc:{updater:this.getDimensionScale,...a},attributeAccessor:this.getSubLayerDimensionAttribute(t,s)}}needUpdateDimensionStep(e,t,n,r){return Object.values(e.triggers).some((e=>e.updateTrigger?r.dataChanged||r.updateTriggersChanged&&(r.updateTriggersChanged.all||r.updateTriggersChanged[e.updateTrigger]):t[e.prop]!==n[e.prop]))}getDimensionChanges(e,t,n){const r=[];for(const i in this.dimensionUpdaters){const o=M.find((r=>this.needUpdateDimensionStep(this.dimensionUpdaters[i][r],e,t,n)));o&&r.push(this.dimensionUpdaters[i][o].updater.bind(this,t,this.dimensionUpdaters[i]))}return r.length?r:null}getUpdateTriggers(e){const t=e.updateTriggers||{},n={};for(const r in this.dimensionUpdaters){const{accessor:i}=this.dimensionUpdaters[r];n[i]={},M.forEach((o=>{Object.values(this.dimensionUpdaters[r][o].triggers).forEach((r=>{let{prop:o,updateTrigger:a}=r;if(a){const e=t[a];"object"!==typeof e||Array.isArray(e)?void 0!==e&&(n[i][o]=e):Object.assign(n[i],e)}else n[i][o]=e[o]}))}))}return n}getSortedBins(e){for(const t in this.dimensionUpdaters)this.getDimensionSortedBins(e,this.dimensionUpdaters[t])}getDimensionSortedBins(e,t){const{key:n}=t,{getValue:r}=this.state.dimensions[n],i=new _(this.state.layerData.data||[],{getValue:r,filterData:e._filterData});this.setDimensionState(n,{sortedBins:i}),this.getDimensionValueDomain(e,t)}getDimensionValueDomain(e,t){const{getDomain:n,key:r}=t,{triggers:{lowerPercentile:i,upperPercentile:o,scaleType:a}}=n,s=this.state.dimensions[r].sortedBins.getValueDomainByScale(e[a.prop],[e[i.prop],e[o.prop]]);this.setDimensionState(r,{valueDomain:s}),this.getDimensionScale(e,t)}getDimensionScale(e,t){const{key:n,getScaleFunc:r,getDomain:i}=t,{domain:o,range:c}=r.triggers,{scaleType:u}=i.triggers,{onSet:h}=r,f=e[c.prop],p=e[o.prop]||this.state.dimensions[n].valueDomain,g=function(e){switch(e){case"quantize":default:return a;case"linear":return s;case"quantile":return l;case"ordinal":return d}}(u&&e[u.prop]),m=g(p,f);"object"===typeof h&&"function"===typeof e[h.props]&&e[h.props](m.domain()),this.setDimensionState(n,{scaleFunc:m})}getSubLayerDimensionAttribute(e,t){return n=>{const{sortedBins:r,scaleFunc:i}=this.state.dimensions[e],o=r.binMap[n.index];if(o&&0===o.counts)return t;const a=o&&o.value,s=i.domain();return a>=s[0]&&a<=s[s.length-1]?i(a):t}}getSubLayerAccessors(e){const t={};for(const n in this.dimensionUpdaters){const{accessor:r}=this.dimensionUpdaters[n];t[r]=this.getSubLayerDimensionAttribute(e,n)}return t}getPickingInfo(e){let{info:t}=e;let n=null;if(t.picked&&t.index>-1){const e=this.state.layerData.data[t.index],r={};for(const t in this.dimensionUpdaters){const{pickingInfo:n}=this.dimensionUpdaters[t],{sortedBins:i}=this.state.dimensions[t],o=i.binMap[e.index]&&i.binMap[e.index].value;r[n]=o}n=Object.assign(r,e,{points:e.filteredPoints||e.points})}return t.picked=Boolean(n),t.object=n,t}getAccessor(e){return this.dimensionUpdaters.hasOwnProperty(e)?this.dimensionUpdaters[e].attributeAccessor:T}}},6525:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,z:()=>o});var r=n(65148);let i={};function o(e){i=e}function a(e,t,n,o){r.Z.level>0&&i[e]&&i[e].call(null,t,n,o)}},21921:(e,t,n)=>{"use strict";n.d(t,{Z:()=>O});var r=n(68185),i=n(6509),o=n(87966),a=n(64180);class s{constructor(e,t){(0,r.Z)(this,"opts",void 0),(0,r.Z)(this,"source",void 0),this.opts=t,this.source=e}get value(){return this.source.value}getValue(){const e=this.source.getBuffer(),t=this.getAccessor();if(e)return[e,t];const{value:n}=this.source,{size:r}=t;let i=n;if(n&&n.length!==r){i=new Float32Array(r);const e=t.elementOffset||0;for(let t=0;t=i){const n=new Array(r).fill(1/0),o=new Array(r).fill(-1/0);for(let e=0;eo[i]&&(o[i]=r)}e=[n,o]}}return this.state.bounds=e,e}setData(e){const{state:t}=this;let n;n=ArrayBuffer.isView(e)?{value:e}:e instanceof a.Z?{buffer:e}:e;const r={...this.settings,...n};if(t.bufferAccessor=r,t.bounds=null,n.constant){let e=n.value;e=this._normalizeValue(e,[],0),this.settings.normalized&&(e=this.normalizeConstant(e));if(!(!t.constant||!this._areValuesEqual(e,this.value)))return!1;t.externalBuffer=null,t.constant=!0,this.value=e}else if(n.buffer){const e=n.buffer;t.externalBuffer=e,t.constant=!1,this.value=n.value||null;const i=n.value instanceof Float64Array;r.type=n.type||e.accessor.type,r.bytesPerElement=e.accessor.BYTES_PER_ELEMENT*(i?2:1),r.stride=d(r)}else if(n.value){this._checkExternalBuffer(n);let e=n.value;t.externalBuffer=null,t.constant=!1,this.value=e,r.bytesPerElement=e.BYTES_PER_ELEMENT,r.stride=d(r);const{buffer:i,byteOffset:o}=this;this.doublePrecision&&e instanceof Float64Array&&(e=(0,c.TK)(e,r));const a=e.byteLength+o+2*r.stride;i.byteLength0&&void 0!==arguments[0]?arguments[0]:{};this.state.bounds=null;const t=this.value,{startOffset:n=0,endOffset:r}=e;this.buffer.subData({data:this.doublePrecision&&t instanceof Float64Array?(0,c.TK)(t,{size:this.size,startIndex:n,endIndex:r}):t.subarray(n,r),offset:n*t.BYTES_PER_ELEMENT+this.byteOffset})}allocate(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{state:n}=this,r=n.allocatedValue,i=l.Z.allocate(r,e+1,{size:this.size,type:this.settings.defaultType,copy:t});this.value=i;const{buffer:o,byteOffset:a}=this;return o.byteLength(e+128)/255*2-1));case 5122:return new Float32Array(e).map((e=>(e+32768)/65535*2-1));case 5121:return new Float32Array(e).map((e=>e/255));case 5123:return new Float32Array(e).map((e=>e/65535));default:return e}}_normalizeValue(e,t,n){const{defaultValue:r,size:i}=this.settings;if(Number.isFinite(e))return t[n]=e,t;if(!e){let e=i;for(;--e>=0;)t[n+e]=r[e];return t}switch(i){case 4:t[n+3]=Number.isFinite(e[3])?e[3]:r[3];case 3:t[n+2]=Number.isFinite(e[2])?e[2]:r[2];case 2:t[n+1]=Number.isFinite(e[1])?e[1]:r[1];case 1:t[n+0]=Number.isFinite(e[0])?e[0]:r[0];break;default:let o=i;for(;--o>=0;)t[n+o]=Number.isFinite(e[o])?e[o]:r[o]}return t}_areValuesEqual(e,t){if(!e||!t)return!1;const{size:n}=this;for(let r=0;r0&&void 0!==arguments[0]?arguments[0]:{};const t=this.state.needsRedraw;return this.state.needsRedraw=t&&!e,t}getUpdateTriggers(){const{accessor:e}=this.settings;return[this.id].concat("function"!==typeof e&&e||[])}supportsTransition(){return Boolean(this.settings.transition)}getTransitionSetting(e){if(!e||!this.supportsTransition())return null;const{accessor:t}=this.settings,n=this.settings.transition,r=Array.isArray(t)?e[t.find((t=>e[t]))]:e[t];return(0,y.M0)(r,n)}setNeedsUpdate(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.id,t=arguments.length>1?arguments[1]:void 0;if(this.state.needsUpdate=this.state.needsUpdate||e,this.setNeedsRedraw(e),t){const{startRow:e=0,endRow:n=1/0}=t;this.state.updateRanges=function(e,t){if(e===v)return e;if(t[0]<0&&(t[0]=0),t[0]>=t[1])return e;const n=[],r=e.length;let i=0;for(let o=0;ot[1]?n.push(r):t=[Math.min(r[0],t[0]),Math.max(r[1],t[1])]}return n.splice(i,0,t),n}(this.state.updateRanges,[e,n])}else this.state.updateRanges=v}clearNeedsUpdate(){this.state.needsUpdate=!1,this.state.updateRanges=A}setNeedsRedraw(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.id;this.state.needsRedraw=this.state.needsRedraw||e}allocate(e){const{state:t,settings:n}=this;return!n.noAlloc&&(!!n.update&&(super.allocate(e,t.updateRanges!==v),!0))}updateBuffer(e){let{numInstances:t,data:n,props:r,context:i}=e;if(!this.needsUpdate())return!1;const{state:{updateRanges:o},settings:{update:a,noAlloc:s}}=this;let l=!0;if(a){for(const[e,s]of o)a.call(i,this,{data:n,startRow:e,endRow:s,props:r,numInstances:t});if(this.value)if(this.constant||this.buffer.byteLength1&&void 0!==arguments[1]?arguments[1]:null;const{state:n,settings:r}=this;if(!e)return n.binaryValue=null,n.binaryAccessor=null,!1;if(r.noAlloc)return!1;if(n.binaryValue===e)return this.clearNeedsUpdate(),!0;n.binaryValue=e,this.setNeedsRedraw();if(r.transform||t!==this.startIndices){ArrayBuffer.isView(e)&&(e={value:e});const i=e;(0,p.Z)(ArrayBuffer.isView(i.value),"invalid ".concat(r.accessor));const o=Boolean(i.size)&&i.size!==this.size;return n.binaryAccessor=(0,g.jr)(i.value,{size:i.size||this.size,stride:i.stride,offset:i.offset,startIndices:t,nested:o}),!1}return this.clearNeedsUpdate(),this.setData(e),!0}getVertexOffset(e){const{startIndices:t}=this;return(t?eu?c.set(t,v):(e._normalizeValue(t,b.target,0),(0,m.k)({target:c,source:b.target,start:v,count:n}));v+=n*u}else e._normalizeValue(t,c,v),v+=u}}_validateAttributeUpdaters(){const{settings:e}=this;if(!(e.noAlloc||"function"===typeof e.update))throw new Error("Attribute ".concat(this.id," missing update or accessor"))}_checkAttributeArray(){const{value:e}=this,t=Math.min(4,this.size);if(e&&e.length>=t){let n=!0;switch(t){case 4:n=n&&Number.isFinite(e[3]);case 3:n=n&&Number.isFinite(e[2]);case 2:n=n&&Number.isFinite(e[1]);case 1:n=n&&Number.isFinite(e[0]);break;default:n=!1}if(!n)throw new Error("Illegal attribute generated for ".concat(this.id))}}}var _=n(12091),w=n(6525),x=n(15966),E=n(78191);const S="\n#define SHADER_NAME interpolation-transition-vertex-shader\n\nuniform float time;\nattribute ATTRIBUTE_TYPE aFrom;\nattribute ATTRIBUTE_TYPE aTo;\nvarying ATTRIBUTE_TYPE vCurrent;\n\nvoid main(void) {\n vCurrent = mix(aFrom, aTo, time);\n gl_Position = vec4(0.0);\n}\n";var C=n(77378),P=n(81786),T=n(64282);const M={interpolation:class{constructor(e){let{gl:t,attribute:n,timeline:i}=e;(0,r.Z)(this,"gl",void 0),(0,r.Z)(this,"type","interpolation"),(0,r.Z)(this,"attributeInTransition",void 0),(0,r.Z)(this,"settings",void 0),(0,r.Z)(this,"attribute",void 0),(0,r.Z)(this,"transition",void 0),(0,r.Z)(this,"currentStartIndices",void 0),(0,r.Z)(this,"currentLength",void 0),(0,r.Z)(this,"transform",void 0),(0,r.Z)(this,"buffers",void 0),this.gl=t,this.transition=new E.Z(i),this.attribute=n,this.attributeInTransition=new b(t,n.settings),this.currentStartIndices=n.startIndices,this.currentLength=0,this.transform=function(e,t){const n=(0,y.w)(t.size);return new x.Z(e,{vs:S,defines:{ATTRIBUTE_TYPE:n},varyings:["vCurrent"]})}(t,n);const o={byteLength:0,usage:35050};this.buffers=[new a.Z(t,o),new a.Z(t,o)]}get inProgress(){return this.transition.inProgress}start(e,t){if(e.duration<=0)return void this.transition.cancel();this.settings=e;const{gl:n,buffers:r,attribute:i}=this;(0,y.DY)(r);const o={numInstances:t,attribute:i,fromLength:this.currentLength,fromStartIndices:this.currentStartIndices,getData:e.enter};for(const a of r)(0,y.IV)({buffer:a,...o});this.currentStartIndices=i.startIndices,this.currentLength=(0,y.pi)(i,t),this.attributeInTransition.setData({buffer:r[1],value:i.value}),this.transition.start(e),this.transform.update({elementCount:Math.floor(this.currentLength/i.size),sourceBuffers:{aFrom:r[0],aTo:(0,y.AQ)(n,i)},feedbackBuffers:{vCurrent:r[1]}})}update(){const e=this.transition.update();if(e){const{duration:e,easing:t}=this.settings,{time:n}=this.transition;let r=n/e;t&&(r=t(r)),this.transform.run({uniforms:{time:r}})}return e}cancel(){this.transition.cancel(),this.transform.delete();for(const e of this.buffers)e.delete();this.buffers.length=0}},spring:class{constructor(e){let{gl:t,attribute:n,timeline:i}=e;(0,r.Z)(this,"gl",void 0),(0,r.Z)(this,"type","spring"),(0,r.Z)(this,"attributeInTransition",void 0),(0,r.Z)(this,"settings",void 0),(0,r.Z)(this,"attribute",void 0),(0,r.Z)(this,"transition",void 0),(0,r.Z)(this,"currentStartIndices",void 0),(0,r.Z)(this,"currentLength",void 0),(0,r.Z)(this,"texture",void 0),(0,r.Z)(this,"framebuffer",void 0),(0,r.Z)(this,"transform",void 0),(0,r.Z)(this,"buffers",void 0),this.gl=t,this.type="spring",this.transition=new E.Z(i),this.attribute=n,this.attributeInTransition=new b(t,{...n.settings,normalized:!1}),this.currentStartIndices=n.startIndices,this.currentLength=0,this.texture=function(e){return new P.Z(e,{data:new Uint8Array(4),format:6408,type:5121,border:0,mipmaps:!1,dataFormat:6408,width:1,height:1})}(t),this.framebuffer=function(e,t){return new T.Z(e,{id:"spring-transition-is-transitioning-framebuffer",width:1,height:1,attachments:{36064:t}})}(t,this.texture),this.transform=function(e,t,n){const r=(0,y.w)(t.size);return new x.Z(e,{framebuffer:n,vs:"\n#define SHADER_NAME spring-transition-vertex-shader\n\n#define EPSILON 0.00001\n\nuniform float stiffness;\nuniform float damping;\nattribute ATTRIBUTE_TYPE aPrev;\nattribute ATTRIBUTE_TYPE aCur;\nattribute ATTRIBUTE_TYPE aTo;\nvarying ATTRIBUTE_TYPE vNext;\nvarying float vIsTransitioningFlag;\n\nATTRIBUTE_TYPE getNextValue(ATTRIBUTE_TYPE cur, ATTRIBUTE_TYPE prev, ATTRIBUTE_TYPE dest) {\n ATTRIBUTE_TYPE velocity = cur - prev;\n ATTRIBUTE_TYPE delta = dest - cur;\n ATTRIBUTE_TYPE spring = delta * stiffness;\n ATTRIBUTE_TYPE damper = velocity * -1.0 * damping;\n return spring + damper + velocity + cur;\n}\n\nvoid main(void) {\n bool isTransitioning = length(aCur - aPrev) > EPSILON || length(aTo - aCur) > EPSILON;\n vIsTransitioningFlag = isTransitioning ? 1.0 : 0.0;\n\n vNext = getNextValue(aCur, aPrev, aTo);\n gl_Position = vec4(0, 0, 0, 1);\n gl_PointSize = 100.0;\n}\n",fs:"\n#define SHADER_NAME spring-transition-is-transitioning-fragment-shader\n\nvarying float vIsTransitioningFlag;\n\nvoid main(void) {\n if (vIsTransitioningFlag == 0.0) {\n discard;\n }\n gl_FragColor = vec4(1.0);\n}",defines:{ATTRIBUTE_TYPE:r},varyings:["vNext"]})}(t,n,this.framebuffer);const o={byteLength:0,usage:35050};this.buffers=[new a.Z(t,o),new a.Z(t,o),new a.Z(t,o)]}get inProgress(){return this.transition.inProgress}start(e,t){const{gl:n,buffers:r,attribute:i}=this,o={numInstances:t,attribute:i,fromLength:this.currentLength,fromStartIndices:this.currentStartIndices,getData:e.enter};for(const a of r)(0,y.IV)({buffer:a,...o});this.settings=e,this.currentStartIndices=i.startIndices,this.currentLength=(0,y.pi)(i,t),this.attributeInTransition.setData({buffer:r[1],value:i.value}),this.transition.start({...e,duration:1/0}),this.transform.update({elementCount:Math.floor(this.currentLength/i.size),sourceBuffers:{aTo:(0,y.AQ)(n,i)}})}update(){const{buffers:e,transform:t,framebuffer:n,transition:r}=this;if(!r.update())return!1;const i=this.settings;t.update({sourceBuffers:{aPrev:e[0],aCur:e[1]},feedbackBuffers:{vNext:e[2]}}),t.run({framebuffer:n,discard:!1,clearRenderTarget:!0,uniforms:{stiffness:i.stiffness,damping:i.damping},parameters:{depthTest:!1,blend:!0,viewport:[0,0,1,1],blendFunc:[1,1],blendEquation:[32776,32776]}}),(0,y.DY)(e),this.attributeInTransition.setData({buffer:e[1],value:this.attribute.value});return(0,C.z6)(n)[0]>0||r.end(),!0}cancel(){this.transition.cancel(),this.transform.delete();for(const e of this.buffers)e.delete();this.buffers.length=0,this.texture.delete(),this.framebuffer.delete()}}};class k{constructor(e,t){let{id:n,timeline:i}=t;(0,r.Z)(this,"id",void 0),(0,r.Z)(this,"isSupported",void 0),(0,r.Z)(this,"gl",void 0),(0,r.Z)(this,"timeline",void 0),(0,r.Z)(this,"transitions",void 0),(0,r.Z)(this,"needsRedraw",void 0),(0,r.Z)(this,"numInstances",void 0),this.id=n,this.gl=e,this.timeline=i,this.transitions={},this.needsRedraw=!1,this.numInstances=1,this.isSupported=x.Z.isSupported(e)}finalize(){for(const e in this.transitions)this._removeTransition(e)}update(e){let{attributes:t,transitions:n,numInstances:r}=e;this.numInstances=r||1;for(const i in t){const e=t[i],r=e.getTransitionSetting(n);r&&this._updateAttribute(i,e,r)}for(const i in this.transitions){const e=t[i];e&&e.getTransitionSetting(n)||this._removeTransition(i)}}hasAttribute(e){const t=this.transitions[e];return t&&t.inProgress}getAttributes(){const e={};for(const t in this.transitions){const n=this.transitions[t];n.inProgress&&(e[t]=n.attributeInTransition)}return e}run(){if(!this.isSupported||0===this.numInstances)return!1;for(const t in this.transitions){this.transitions[t].update()&&(this.needsRedraw=!0)}const e=this.needsRedraw;return this.needsRedraw=!1,e}_removeTransition(e){this.transitions[e].cancel(),delete this.transitions[e]}_updateAttribute(e,t,n){const r=this.transitions[e];let i=!r||r.type!==n.type;if(i){if(!this.isSupported)return void u.Z.warn("WebGL2 not supported by this browser. Transition for ".concat(e," is disabled."))();r&&this._removeTransition(e);const o=M[n.type];o?this.transitions[e]=new o({attribute:t,timeline:this.timeline,gl:this.gl}):(u.Z.error("unsupported transition type '".concat(n.type,"'"))(),i=!1)}(i||t.needsRedraw())&&(this.needsRedraw=!0,this.transitions[e].start(n,this.numInstances))}}const R="attributeManager.invalidate";class O{constructor(e){let{id:t="attribute-manager",stats:n,timeline:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,r.Z)(this,"id",void 0),(0,r.Z)(this,"gl",void 0),(0,r.Z)(this,"attributes",void 0),(0,r.Z)(this,"updateTriggers",void 0),(0,r.Z)(this,"needsRedraw",void 0),(0,r.Z)(this,"userData",void 0),(0,r.Z)(this,"stats",void 0),(0,r.Z)(this,"attributeTransitionManager",void 0),(0,r.Z)(this,"mergeBoundsMemoized",(0,_.Z)(c.cc)),this.id=t,this.gl=e,this.attributes={},this.updateTriggers={},this.needsRedraw=!0,this.userData={},this.stats=n,this.attributeTransitionManager=new k(e,{id:"".concat(t,"-transitions"),timeline:i}),Object.seal(this)}finalize(){for(const e in this.attributes)this.attributes[e].delete();this.attributeTransitionManager.finalize()}getNeedsRedraw(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{clearRedrawFlags:!1};const t=this.needsRedraw;return this.needsRedraw=this.needsRedraw&&!e.clearRedrawFlags,t&&this.id}setNeedsRedraw(){this.needsRedraw=!0}add(e){this._add(e)}addInstanced(e){this._add(e,{instanced:1})}remove(e){for(const t of e)void 0!==this.attributes[t]&&(this.attributes[t].delete(),delete this.attributes[t])}invalidate(e,t){const n=this._invalidateTrigger(e,t);(0,w.Z)(R,this,e,n)}invalidateAll(e){for(const t in this.attributes)this.attributes[t].setNeedsUpdate(t,e);(0,w.Z)(R,this,"all")}update(e){let{data:t,numInstances:n,startIndices:r=null,transitions:i,props:o={},buffers:a={},context:s={}}=e,l=!1;(0,w.Z)("attributeManager.updateStart",this),this.stats&&this.stats.get("Update Attributes").timeStart();for(const c in this.attributes){const e=this.attributes[c],i=e.settings.accessor;e.startIndices=r,e.numInstances=n,o[c]&&u.Z.removed("props.".concat(c),"data.attributes.".concat(c))(),e.setExternalBuffer(a[c])||e.setBinaryValue("string"===typeof i?a[i]:void 0,t.startIndices)||"string"===typeof i&&!a[i]&&e.setConstantValue(o[i])||e.needsUpdate()&&(l=!0,this._updateAttribute({attribute:e,numInstances:n,data:t,props:o,context:s})),this.needsRedraw=this.needsRedraw||e.needsRedraw()}l&&(0,w.Z)("attributeManager.updateEnd",this,n),this.stats&&this.stats.get("Update Attributes").timeEnd(),this.attributeTransitionManager.update({attributes:this.attributes,numInstances:n,transitions:i})}updateTransition(){const{attributeTransitionManager:e}=this,t=e.run();return this.needsRedraw=this.needsRedraw||t,t}getAttributes(){return this.attributes}getBounds(e){const t=e.map((e=>{var t;return null===(t=this.attributes[e])||void 0===t?void 0:t.getBounds()}));return this.mergeBoundsMemoized(t)}getChangedAttributes(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{clearChangedFlags:!1};const{attributes:t,attributeTransitionManager:n}=this,r={...n.getAttributes()};for(const i in t){const o=t[i];o.needsRedraw(e)&&!n.hasAttribute(i)&&(r[i]=o)}return r}getShaderAttributes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e||(e=this.getAttributes());const n={};for(const r in e)t[r]||Object.assign(n,e[r].getShaderAttributes());return n}_add(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(const n in e){const r=e[n];this.attributes[n]=this._createAttribute(n,r,t)}this._mapUpdateTriggersToAttributes()}_createAttribute(e,t,n){const r={...t,id:e,size:(t.isIndexed?1:t.size)||1,divisor:n.instanced?1:t.divisor||0};return new b(this.gl,r)}_mapUpdateTriggersToAttributes(){const e={};for(const t in this.attributes){this.attributes[t].getUpdateTriggers().forEach((n=>{e[n]||(e[n]=[]),e[n].push(t)}))}this.updateTriggers=e}_invalidateTrigger(e,t){const{attributes:n,updateTriggers:r}=this,i=r[e];return i&&i.forEach((e=>{const r=n[e];r&&r.setNeedsUpdate(r.id,t)})),i}_updateAttribute(e){const{attribute:t,numInstances:n}=e;if((0,w.Z)("attribute.updateStart",t),t.constant)return void t.setConstantValue(t.value);t.allocate(n)&&(0,w.Z)("attribute.allocate",t,n);t.updateBuffer(e)&&(this.needsRedraw=!0,(0,w.Z)("attribute.updateEnd",t,n))}}},83063:(e,t,n)=>{"use strict";function r(e){const{source:t,target:n,start:r=0,size:i,getData:o}=e,a=e.end||n.length,s=t.length,l=a-r;if(s>l)return void n.set(t.subarray(0,l),r);if(n.set(t,r),!o)return;let c=s;for(;cl,pi:()=>c,w:()=>s,AQ:()=>a,M0:()=>o,IV:()=>u});const i={interpolation:{duration:0,easing:e=>e},spring:{stiffness:.05,damping:.5}};function o(e,t){if(!e)return null;Number.isFinite(e)&&(e={type:"interpolation",duration:e});const n=e.type||"interpolation";return{...i[n],...t,...e,type:n}}function a(e,t){const n=t.getBuffer();return n?[n,{divisor:0,size:t.size,normalized:t.settings.normalized}]:t.value}function s(e){switch(e){case 1:return"float";case 2:return"vec2";case 3:return"vec3";case 4:return"vec4";default:throw new Error('No defined attribute type for size "'.concat(e,'"'))}}function l(e){e.push(e.shift())}function c(e,t){const{doublePrecision:n,settings:r,value:i,size:o}=e,a=n&&i instanceof Float64Array?2:1;return(r.noAlloc?i.length:t*o)*a}function u(e){let{buffer:t,numInstances:n,attribute:i,fromLength:o,fromStartIndices:a,getData:s=(e=>e)}=e;const l=i.doublePrecision&&i.value instanceof Float64Array?2:1,u=i.size*l,d=i.byteOffset,h=i.startIndices,f=a&&h,p=c(i,n),g=i.isConstant;if(!f&&o>=p)return;const m=g?i.value:i.getBuffer().getData({srcByteOffset:d});if(i.settings.normalized&&!g){const e=s;s=(t,n)=>i.normalizeConstant(e(t,n))}const A=g?(e,t)=>s(m,t):(e,t)=>s(m.subarray(e,e+u),t),v=t.getData({length:o}),y=new Float32Array(p);!function(e){let{source:t,target:n,size:i,getData:o,sourceStartIndices:a,targetStartIndices:s}=e;if(!Array.isArray(s))return r({source:t,target:n,size:i,getData:o}),n;let l=0,c=0;const u=o&&((e,t)=>o(e+c,t)),d=Math.min(a.length,s.length);for(let h=1;h{"use strict";n.d(t,{Z:()=>l});var r=n(68185),i=n(53104),o=n(6525),a=n(35395),s=n(15672);class l extends i.Z{get isComposite(){return!0}get isLoaded(){return super.isLoaded&&this.getSubLayers().every((e=>e.isLoaded))}getSubLayers(){return this.internalState&&this.internalState.subLayers||[]}initializeState(e){}setState(e){super.setState(e),this.setNeedsUpdate()}getPickingInfo(e){let{info:t}=e;const{object:n}=t;return n&&n.__source&&n.__source.parent&&n.__source.parent.id===this.id?(t.object=n.__source.object,t.index=n.__source.index,t):t}filterSubLayer(e){return!0}shouldRenderSubLayer(e,t){return t&&t.length}getSubLayerClass(e,t){const{_subLayerProps:n}=this.props;return n&&n[e]&&n[e].type||t}getSubLayerRow(e,t,n){return e.__source={parent:this,object:t,index:n},e}getSubLayerAccessor(e){if("function"===typeof e){const t={index:-1,data:this.props.data,target:[]};return(n,r)=>n&&n.__source?(t.index=n.__source.index,e(n.__source.object,t)):e(n,r)}return e}getSubLayerProps(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t;const{opacity:n,pickable:r,visible:i,parameters:o,getPolygonOffset:a,highlightedObjectIndex:l,autoHighlight:c,highlightColor:u,coordinateSystem:d,coordinateOrigin:h,wrapLongitude:f,positionFormat:p,modelMatrix:g,extensions:m,fetch:A,operation:v,_subLayerProps:y}=this.props,b={id:"",updateTriggers:{},opacity:n,pickable:r,visible:i,parameters:o,getPolygonOffset:a,highlightedObjectIndex:l,autoHighlight:c,highlightColor:u,coordinateSystem:d,coordinateOrigin:h,wrapLongitude:f,positionFormat:p,modelMatrix:g,extensions:m,fetch:A,operation:v},_=y&&e.id&&y[e.id],w=_&&_.updateTriggers,x=e.id||"sublayer";if(_){const t=this.props[s.Wb],n=e.type?e.type._propTypes:{};for(const e in _){const r=n[e]||t[e];r&&"accessor"===r.type&&(_[e]=this.getSubLayerAccessor(_[e]))}}Object.assign(b,e,_),b.id="".concat(this.props.id,"-").concat(x),b.updateTriggers={all:null===(t=this.props.updateTriggers)||void 0===t?void 0:t.all,...e.updateTriggers,...w};for(const s of m){const e=s.getSubLayerProps.call(this,s);e&&Object.assign(b,e,{updateTriggers:Object.assign(b.updateTriggers,e.updateTriggers)})}return b}_updateAutoHighlight(e){for(const t of this.getSubLayers())t.updateAutoHighlight(e)}_getAttributeManager(){return null}_postUpdate(e,t){let n=this.internalState.subLayers;const r=!n||this.needsUpdate();if(r){const e=this.renderLayers();n=(0,a.x)(e,Boolean),this.internalState.subLayers=n}(0,o.Z)("compositeLayer.renderLayers",this,r,n);for(const i of n)i.parent=this}}(0,r.Z)(l,"layerName","CompositeLayer")},98029:(e,t,n)=>{"use strict";n.d(t,{Df:()=>i,FP:()=>s,iI:()=>a,zG:()=>o});var r=n(65148);const i={DEFAULT:-1,LNGLAT:1,METER_OFFSETS:2,LNGLAT_OFFSETS:3,CARTESIAN:0};Object.defineProperty(i,"IDENTITY",{get:()=>(r.Z.deprecated("COORDINATE_SYSTEM.IDENTITY","COORDINATE_SYSTEM.CARTESIAN")(),0)});const o={WEB_MERCATOR:1,GLOBE:2,WEB_MERCATOR_AUTO_OFFSET:4,IDENTITY:0},a={common:0,meters:1,pixels:2},s={click:{handler:"onClick"},panstart:{handler:"onDragStart"},panmove:{handler:"onDrag"},panend:{handler:"onDragEnd"}}},21999:(e,t,n)=>{"use strict";n.d(t,{Z:()=>yn});var r=n(68185);let i=1,o=1;class a{constructor(){this.time=0,this.channels=new Map,this.animations=new Map,this.playing=!1,this.lastEngineTime=-1}addChannel(e){const{delay:t=0,duration:n=Number.POSITIVE_INFINITY,rate:r=1,repeat:o=1}=e,a=i++,s={time:0,delay:t,duration:n,rate:r,repeat:o};return this._setChannelTime(s,this.time),this.channels.set(a,s),a}removeChannel(e){this.channels.delete(e);for(const[t,n]of this.animations)n.channel===e&&this.detachAnimation(t)}isFinished(e){const t=this.channels.get(e);return void 0!==t&&this.time>=t.delay+t.duration*t.repeat}getTime(e){if(void 0===e)return this.time;const t=this.channels.get(e);return void 0===t?-1:t.time}setTime(e){this.time=Math.max(0,e);const t=this.channels.values();for(const r of t)this._setChannelTime(r,this.time);const n=this.animations.values();for(const r of n){const{animation:e,channel:t}=r;e.setTime(this.getTime(t))}}play(){this.playing=!0}pause(){this.playing=!1,this.lastEngineTime=-1}reset(){this.setTime(0)}attachAnimation(e,t){const n=o++;return this.animations.set(n,{animation:e,channel:t}),e.setTime(this.getTime(t)),n}detachAnimation(e){this.animations.delete(e)}update(e){this.playing&&(-1===this.lastEngineTime&&(this.lastEngineTime=e),this.setTime(this.time+(e-this.lastEngineTime)),this.lastEngineTime=e)}_setChannelTime(e,t){const n=t-e.delay;n>=e.duration*e.repeat?e.time=e.duration*e.rate:(e.time=Math.max(0,n)%e.duration,e.time*=e.rate)}}var s=n(15672),l=n(65148),c=n(6525),u=n(35395),d=n(89069),h=n(63734);class f{constructor(e,t,n){(0,r.Z)(this,"id",void 0),(0,r.Z)(this,"context",void 0),(0,r.Z)(this,"isLoaded",void 0),(0,r.Z)(this,"persistent",void 0),(0,r.Z)(this,"_loadCount",0),(0,r.Z)(this,"_subscribers",new Set),(0,r.Z)(this,"_data",void 0),(0,r.Z)(this,"_loader",void 0),(0,r.Z)(this,"_error",void 0),(0,r.Z)(this,"_content",void 0),this.id=e,this.context=n,this.setData(t)}subscribe(e){this._subscribers.add(e)}unsubscribe(e){this._subscribers.delete(e)}inUse(){return this._subscribers.size>0}delete(){}getData(){return this.isLoaded?this._error?Promise.reject(this._error):this._content:this._loader.then((()=>this.getData()))}setData(e,t){if(e===this._data&&!t)return;this._data=e;const n=++this._loadCount;let r=e;"string"===typeof e&&(r=(0,h.z)(e)),r instanceof Promise?(this.isLoaded=!1,this._loader=r.then((e=>{this._loadCount===n&&(this.isLoaded=!0,this._error=void 0,this._content=e)})).catch((e=>{this._loadCount===n&&(this.isLoaded=!0,this._error=e||!0)}))):(this.isLoaded=!0,this._error=void 0,this._content=e);for(const i of this._subscribers)i.onChange(this.getData())}}class p{constructor(e){let{gl:t,protocol:n}=e;(0,r.Z)(this,"protocol",void 0),(0,r.Z)(this,"_context",void 0),(0,r.Z)(this,"_resources",void 0),(0,r.Z)(this,"_consumers",void 0),(0,r.Z)(this,"_pruneRequest",void 0),this.protocol=n||"resource://",this._context={gl:t,resourceManager:this},this._resources={},this._consumers={},this._pruneRequest=null}contains(e){return!!e.startsWith(this.protocol)||e in this._resources}add(e){let{resourceId:t,data:n,forceUpdate:r=!1,persistent:i=!0}=e,o=this._resources[t];o?o.setData(n,r):(o=new f(t,n,this._context),this._resources[t]=o),o.persistent=i}remove(e){const t=this._resources[e];t&&(t.delete(),delete this._resources[e])}unsubscribe(e){let{consumerId:t}=e;const n=this._consumers[t];if(n){for(const e in n){const t=n[e],r=this._resources[t.resourceId];r&&r.unsubscribe(t)}delete this._consumers[t],this.prune()}}subscribe(e){let{resourceId:t,onChange:n,consumerId:r,requestId:i="default"}=e;const{_resources:o,protocol:a}=this;t.startsWith(a)&&(t=t.replace(a,""),o[t]||this.add({resourceId:t,data:null,persistent:!1}));const s=o[t];if(this._track(r,i,s,n),s)return s.getData()}prune(){this._pruneRequest||(this._pruneRequest=setTimeout((()=>this._prune()),0))}finalize(){for(const e in this._resources)this._resources[e].delete()}_track(e,t,n,r){const i=this._consumers,o=i[e]=i[e]||{},a=o[t]||{},s=a.resourceId&&this._resources[a.resourceId];s&&(s.unsubscribe(a),this.prune()),n&&(o[t]=a,a.onChange=r,a.resourceId=n.id,n.subscribe(a))}_prune(){this._pruneRequest=null;for(const e of Object.keys(this._resources)){const t=this._resources[e];t.persistent||t.inUse()||(t.delete(),delete this._resources[e])}}}var g=n(43809),m=n(68833),A=n(61518);const v=[A.Z],y=["vs:DECKGL_FILTER_SIZE(inout vec3 size, VertexGeometry geometry)","vs:DECKGL_FILTER_GL_POSITION(inout vec4 position, VertexGeometry geometry)","vs:DECKGL_FILTER_COLOR(inout vec4 color, VertexGeometry geometry)","fs:DECKGL_FILTER_COLOR(inout vec4 color, FragmentGeometry geometry)"];function b(e){const t=m.Z.getDefaultProgramManager(e);for(const n of v)t.addDefaultModule(n);for(const n of y)t.addShaderHook(n);return t}class _{constructor(e){let{deck:t,stats:n,viewport:i,timeline:o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,r.Z)(this,"layers",void 0),(0,r.Z)(this,"context",void 0),(0,r.Z)(this,"resourceManager",void 0),(0,r.Z)(this,"_lastRenderedLayers",[]),(0,r.Z)(this,"_needsRedraw",!1),(0,r.Z)(this,"_needsUpdate",!1),(0,r.Z)(this,"_nextLayers",null),(0,r.Z)(this,"_debug",!1),(0,r.Z)(this,"activateViewport",(e=>{(0,c.Z)("layerManager.activateViewport",this,e),e&&(this.context.viewport=e)})),this.layers=[],this.resourceManager=new p({gl:e,protocol:"deck://"}),this.context={mousePosition:null,userData:{},layerManager:this,gl:e,deck:t,programManager:e&&b(e),stats:n||new d.Z({id:"deck.gl"}),viewport:i||new g.Z({id:"DEFAULT-INITIAL-VIEWPORT"}),timeline:o||new a,resourceManager:this.resourceManager,onError:void 0},Object.seal(this)}finalize(){this.resourceManager.finalize();for(const e of this.layers)this._finalizeLayer(e)}needsRedraw(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{clearRedrawFlags:!1},t=this._needsRedraw;e.clearRedrawFlags&&(this._needsRedraw=!1);for(const n of this.layers){const r=n.getNeedsRedraw(e);t=t||r}return t}needsUpdate(){return this._nextLayers&&this._nextLayers!==this._lastRenderedLayers?"layers changed":this._needsUpdate}setNeedsRedraw(e){this._needsRedraw=this._needsRedraw||e}setNeedsUpdate(e){this._needsUpdate=this._needsUpdate||e}getLayers(){let{layerIds:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e?this.layers.filter((t=>e.find((e=>0===t.id.indexOf(e))))):this.layers}setProps(e){"debug"in e&&(this._debug=e.debug),"userData"in e&&(this.context.userData=e.userData),"layers"in e&&(this._nextLayers=e.layers),"onError"in e&&(this.context.onError=e.onError)}setLayers(e,t){(0,c.Z)("layerManager.setLayers",this,t,e),this._lastRenderedLayers=e;const n=(0,u.x)(e,Boolean);for(const r of n)r.context=this.context;this._updateLayers(this.layers,n)}updateLayers(){const e=this.needsUpdate();e&&(this.setNeedsRedraw("updating layers: ".concat(e)),this.setLayers(this._nextLayers||this._lastRenderedLayers,e)),this._nextLayers=null}_handleError(e,t,n){n.raiseError(t,"".concat(e," of ").concat(n))}_updateLayers(e,t){const n={};for(const o of e)n[o.id]?l.Z.warn("Multiple old layers with same id ".concat(o.id))():n[o.id]=o;const r=[];this._updateSublayersRecursively(t,n,r),this._finalizeOldLayers(n);let i=!1;for(const o of r)if(o.hasUniformTransition()){i="Uniform transition in ".concat(o);break}this._needsUpdate=i,this.layers=r}_updateSublayersRecursively(e,t,n){for(const i of e){i.context=this.context;const e=t[i.id];null===e&&l.Z.warn("Multiple new layers with same id ".concat(i.id))(),t[i.id]=null;let o=null;try{this._debug&&e!==i&&i.validateProps(),e?(this._transferLayerState(e,i),this._updateLayer(i)):this._initializeLayer(i),n.push(i),o=i.isComposite?i.getSubLayers():null}catch(r){this._handleError("matching",r,i)}o&&this._updateSublayersRecursively(o,t,n)}}_finalizeOldLayers(e){for(const t in e){const n=e[t];n&&this._finalizeLayer(n)}}_initializeLayer(e){try{e._initialize(),e.lifecycle=s.dt.INITIALIZED}catch(t){this._handleError("initialization",t,e)}}_transferLayerState(e,t){t._transferState(e),t.lifecycle=s.dt.MATCHED,t!==e&&(e.lifecycle=s.dt.AWAITING_GC)}_updateLayer(e){try{e._update()}catch(t){this._handleError("update",t,e)}}_finalizeLayer(e){this._needsRedraw=this._needsRedraw||"finalized ".concat(e),e.lifecycle=s.dt.AWAITING_FINALIZATION;try{e._finalize(),e.lifecycle=s.dt.FINALIZED}catch(t){this._handleError("finalization",t,e)}}}var w=n(63549);class x{constructor(e){(0,r.Z)(this,"width",void 0),(0,r.Z)(this,"height",void 0),(0,r.Z)(this,"views",void 0),(0,r.Z)(this,"viewState",void 0),(0,r.Z)(this,"controllers",void 0),(0,r.Z)(this,"timeline",void 0),(0,r.Z)(this,"_viewports",void 0),(0,r.Z)(this,"_viewportMap",void 0),(0,r.Z)(this,"_isUpdating",void 0),(0,r.Z)(this,"_needsRedraw",void 0),(0,r.Z)(this,"_needsUpdate",void 0),(0,r.Z)(this,"_eventManager",void 0),(0,r.Z)(this,"_eventCallbacks",void 0),this.views=[],this.width=100,this.height=100,this.viewState={},this.controllers={},this.timeline=e.timeline,this._viewports=[],this._viewportMap={},this._isUpdating=!1,this._needsRedraw="First render",this._needsUpdate="Initialize",this._eventManager=e.eventManager,this._eventCallbacks={onViewStateChange:e.onViewStateChange,onInteractionStateChange:e.onInteractionStateChange},Object.seal(this),this.setProps(e)}finalize(){for(const e in this.controllers){const t=this.controllers[e];t&&t.finalize()}this.controllers={}}needsRedraw(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{clearRedrawFlags:!1};const t=this._needsRedraw;return e.clearRedrawFlags&&(this._needsRedraw=!1),t}setNeedsUpdate(e){this._needsUpdate=this._needsUpdate||e,this._needsRedraw=this._needsRedraw||e}updateViewStates(){for(const e in this.controllers){const t=this.controllers[e];t&&t.updateTransition()}}getViewports(e){return e?this._viewports.filter((t=>t.containsPixel(e))):this._viewports}getViews(){const e={};return this.views.forEach((t=>{e[t.id]=t})),e}getView(e){return this.views.find((t=>t.id===e))}getViewState(e){const t="string"===typeof e?this.getView(e):e,n=t&&this.viewState[t.getViewStateId()]||this.viewState;return t?t.filterViewState(n):n}getViewport(e){return this._viewportMap[e]}unproject(e,t){const n=this.getViewports(),r={x:e[0],y:e[1]};for(let i=n.length-1;i>=0;--i){const o=n[i];if(o.containsPixel(r)){const n=e.slice();return n[0]-=o.x,n[1]-=o.y,o.unproject(n,t)}}return null}setProps(e){e.views&&this._setViews(e.views),e.viewState&&this._setViewState(e.viewState),("width"in e||"height"in e)&&this._setSize(e.width,e.height),this._isUpdating||this._update()}_update(){this._isUpdating=!0,this._needsUpdate&&(this._needsUpdate=!1,this._rebuildViewports()),this._needsUpdate&&(this._needsUpdate=!1,this._rebuildViewports()),this._isUpdating=!1}_setSize(e,t){e===this.width&&t===this.height||(this.width=e,this.height=t,this.setNeedsUpdate("Size changed"))}_setViews(e){e=(0,u.x)(e,Boolean);this._diffViews(e,this.views)&&this.setNeedsUpdate("views changed"),this.views=e}_setViewState(e){if(e){!(0,w.v)(e,this.viewState,3)&&this.setNeedsUpdate("viewState changed"),this.viewState=e}else l.Z.warn("missing `viewState` or `initialViewState`")()}_onViewStateChange(e,t){this._eventCallbacks.onViewStateChange&&this._eventCallbacks.onViewStateChange({...t,viewId:e})}_createController(e,t){return new(0,t.type)({timeline:this.timeline,eventManager:this._eventManager,onViewStateChange:this._onViewStateChange.bind(this,t.id),onStateChange:this._eventCallbacks.onInteractionStateChange,makeViewport:t=>{var n;return null===(n=this.getView(e.id))||void 0===n?void 0:n.makeViewport({viewState:t,width:this.width,height:this.height})}})}_updateController(e,t,n,r){const i=e.controller;if(i){const o={...t,...i,id:e.id,x:n.x,y:n.y,width:n.width,height:n.height};return r||(r=this._createController(e,o)),r&&r.setProps(o),r}return null}_rebuildViewports(){const{views:e}=this,t=this.controllers;this._viewports=[],this.controllers={};let n=!1;for(let r=e.length;r--;){const i=e[r],o=this.getViewState(i),a=i.makeViewport({viewState:o,width:this.width,height:this.height});let s=t[i.id];const l=Boolean(i.controller);l&&!s&&(n=!0),!n&&l||!s||(s.finalize(),s=null),this.controllers[i.id]=this._updateController(i,o,a,s),this._viewports.unshift(a)}for(const r in t){const e=t[r];e&&!this.controllers[r]&&e.finalize()}this._buildViewportMap()}_buildViewportMap(){this._viewportMap={},this._viewports.forEach((e=>{e.id&&(this._viewportMap[e.id]=this._viewportMap[e.id]||e)}))}_diffViews(e,t){return e.length!==t.length||e.some(((n,r)=>!e[r].equals(t[r])))}}const E=/([0-9]+\.?[0-9]*)(%|px)/;function S(e){switch(typeof e){case"number":return{position:e,relative:!1};case"string":const t=E.exec(e);if(t&&t.length>=3){const e="%"===t[2],n=parseFloat(t[1]);return{position:e?n/100:n,relative:e}}default:throw new Error("Could not parse position string ".concat(e))}}function C(e,t){return e.relative?Math.round(e.position*t):e.position}var P=n(37954);class T{constructor(e){(0,r.Z)(this,"id",void 0),(0,r.Z)(this,"viewportInstance",void 0),(0,r.Z)(this,"_x",void 0),(0,r.Z)(this,"_y",void 0),(0,r.Z)(this,"_width",void 0),(0,r.Z)(this,"_height",void 0),(0,r.Z)(this,"_padding",void 0),(0,r.Z)(this,"props",void 0);const{id:t,x:n=0,y:i=0,width:o="100%",height:a="100%",padding:s=null,viewportInstance:l}=e||{};(0,P.Z)(!l||l instanceof g.Z),this.viewportInstance=l,this.id=t||this.constructor.displayName||"view",this.props={...e,id:this.id},this._x=S(n),this._y=S(i),this._width=S(o),this._height=S(a),this._padding=s&&{left:S(s.left||0),right:S(s.right||0),top:S(s.top||0),bottom:S(s.bottom||0)},this.equals=this.equals.bind(this),Object.seal(this)}equals(e){return this===e||(this.viewportInstance?!!e.viewportInstance&&this.viewportInstance.equals(e.viewportInstance):this.ViewportType===e.ViewportType&&(0,w.v)(this.props,e.props,2))}makeViewport(e){let{width:t,height:n,viewState:r}=e;if(this.viewportInstance)return this.viewportInstance;r=this.filterViewState(r);const i=this.getDimensions({width:t,height:n});return new this.ViewportType({...r,...this.props,...i})}getViewStateId(){const{viewState:e}=this.props;return"string"===typeof e?e:(null===e||void 0===e?void 0:e.id)||this.id}filterViewState(e){if(this.props.viewState&&"object"===typeof this.props.viewState){if(!this.props.viewState.id)return this.props.viewState;const t={...e};for(const e in this.props.viewState)"id"!==e&&(t[e]=this.props.viewState[e]);return t}return e}getDimensions(e){let{width:t,height:n}=e;const r={x:C(this._x,t),y:C(this._y,n),width:C(this._width,t),height:C(this._height,n)};return this._padding&&(r.padding={left:C(this._padding.left,t),top:C(this._padding.top,n),right:C(this._padding.right,t),bottom:C(this._padding.bottom,n)}),r}get controller(){const e=this.props.controller;return e?!0===e?{type:this.ControllerType}:"function"===typeof e?{type:e}:{type:this.ControllerType,...e}:null}}var M=n(5550),k=n(30373),R=n(78191);const O=()=>{},I=2,L=3,D=e=>e,N=1;class F{constructor(e){(0,r.Z)(this,"getControllerState",void 0),(0,r.Z)(this,"props",void 0),(0,r.Z)(this,"propsInTransition",void 0),(0,r.Z)(this,"transition",void 0),(0,r.Z)(this,"onViewStateChange",void 0),(0,r.Z)(this,"onStateChange",void 0),(0,r.Z)(this,"_onTransitionUpdate",(e=>{const{time:t,settings:{interpolator:n,startProps:r,endProps:i,duration:o,easing:a}}=e,s=a(t/o),l=n.interpolateProps(r,i,s);this.propsInTransition=this.getControllerState({...this.props,...l}).getViewportProps(),this.onViewStateChange({viewState:this.propsInTransition,oldViewState:this.props})})),this.getControllerState=e.getControllerState,this.propsInTransition=null,this.transition=new R.Z(e.timeline),this.onViewStateChange=e.onViewStateChange||O,this.onStateChange=e.onStateChange||O}finalize(){this.transition.cancel()}getViewportInTransition(){return this.propsInTransition}processViewStateChange(e){let t=!1;const n=this.props;if(this.props=e,!n||this._shouldIgnoreViewportChange(n,e))return!1;if(this._isTransitionEnabled(e)){let r=n;if(this.transition.inProgress){const{interruption:e,endProps:t}=this.transition.settings;r={...n,...e===I?t:this.propsInTransition||n}}this._triggerTransition(r,e),t=!0}else this.transition.cancel();return t}updateTransition(){this.transition.update()}_isTransitionEnabled(e){const{transitionDuration:t,transitionInterpolator:n}=e;return(t>0||"auto"===t)&&Boolean(n)}_isUpdateDueToCurrentTransition(e){return!(!this.transition.inProgress||!this.propsInTransition)&&this.transition.settings.interpolator.arePropsEqual(e,this.propsInTransition)}_shouldIgnoreViewportChange(e,t){return this.transition.inProgress?this.transition.settings.interruption===L||this._isUpdateDueToCurrentTransition(t):!this._isTransitionEnabled(t)||t.transitionInterpolator.arePropsEqual(e,t)}_triggerTransition(e,t){const n=this.getControllerState(e),r=this.getControllerState(t).shortestPathFrom(n),i=t.transitionInterpolator,o=i.getDuration?i.getDuration(e,t):t.transitionDuration;if(0===o)return;const a=i.initializeProps(e,r);this.propsInTransition={};const s={duration:o,easing:t.transitionEasing||D,interpolator:i,interruption:t.transitionInterruption||N,startProps:a.start,endProps:a.end,onStart:t.onTransitionStart,onUpdate:this._onTransitionUpdate,onInterrupt:this._onTransitionEnd(t.onTransitionInterrupt),onEnd:this._onTransitionEnd(t.onTransitionEnd)};this.transition.start(s),this.onStateChange({inTransition:!0}),this.updateTransition()}_onTransitionEnd(e){return t=>{this.propsInTransition=null,this.onStateChange({inTransition:!1,isZooming:!1,isPanning:!1,isRotating:!1}),null===e||void 0===e||e(t)}}}class j{constructor(e){(0,r.Z)(this,"_propsToCompare",void 0),(0,r.Z)(this,"_propsToExtract",void 0),(0,r.Z)(this,"_requiredProps",void 0);const{compare:t,extract:n,required:i}=e;this._propsToCompare=t,this._propsToExtract=n||t,this._requiredProps=i}arePropsEqual(e,t){for(const n of this._propsToCompare)if(!(n in e)||!(n in t)||!(0,k.fS)(e[n],t[n]))return!1;return!0}initializeProps(e,t){const n={},r={};for(const i of this._propsToExtract)(i in e||i in t)&&(n[i]=e[i],r[i]=t[i]);return this._checkRequiredProps(n),this._checkRequiredProps(r),{start:n,end:r}}getDuration(e,t){return t.transitionDuration}_checkRequiredProps(e){this._requiredProps&&this._requiredProps.forEach((t=>{const n=e[t];(0,P.Z)(Number.isFinite(n)||Array.isArray(n),"".concat(t," is required for transition"))}))}}const B=["longitude","latitude","zoom","bearing","pitch"],z=["longitude","latitude","zoom"];class Z extends j{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=Array.isArray(e)?e:e.transitionProps,n=Array.isArray(e)?{}:e;n.transitionProps=Array.isArray(t)?{compare:t,required:t}:t||{compare:B,required:z},super(n.transitionProps),(0,r.Z)(this,"opts",void 0),this.opts=n}initializeProps(e,t){const n=super.initializeProps(e,t),{makeViewport:r,around:i}=this.opts;if(r&&i){const o=r(e),a=r(t),s=o.unproject(i);n.start.around=i,Object.assign(n.end,{around:a.project(s),aroundPosition:s,width:t.width,height:t.height})}return n}interpolateProps(e,t,n){const r={};for(const i of this._propsToExtract)r[i]=(0,k.t7)(e[i]||0,t[i]||0,n);if(t.aroundPosition&&this.opts.makeViewport){const i=this.opts.makeViewport({...t,...r});Object.assign(r,i.panByPosition(t.aroundPosition,(0,k.t7)(e.around,t.around,n)))}return r}}const U={transitionDuration:0},H=e=>1-(1-e)*(1-e),V=["wheel"],G=["panstart","panmove","panend"],W=["pinchstart","pinchmove","pinchend"],q=["tripanstart","tripanmove","tripanend"],Y=["doubletap"],X=["keydown"],K={};class Q{constructor(e){(0,r.Z)(this,"props",void 0),(0,r.Z)(this,"state",{}),(0,r.Z)(this,"transitionManager",void 0),(0,r.Z)(this,"eventManager",void 0),(0,r.Z)(this,"onViewStateChange",void 0),(0,r.Z)(this,"onStateChange",void 0),(0,r.Z)(this,"makeViewport",void 0),(0,r.Z)(this,"_controllerState",void 0),(0,r.Z)(this,"_events",{}),(0,r.Z)(this,"_interactionState",{isDragging:!1}),(0,r.Z)(this,"_customEvents",[]),(0,r.Z)(this,"_eventStartBlocked",null),(0,r.Z)(this,"_panMove",!1),(0,r.Z)(this,"invertPan",!1),(0,r.Z)(this,"dragMode","rotate"),(0,r.Z)(this,"inertia",0),(0,r.Z)(this,"scrollZoom",!0),(0,r.Z)(this,"dragPan",!0),(0,r.Z)(this,"dragRotate",!0),(0,r.Z)(this,"doubleClickZoom",!0),(0,r.Z)(this,"touchZoom",!0),(0,r.Z)(this,"touchRotate",!1),(0,r.Z)(this,"keyboard",!0),this.transitionManager=new F({...e,getControllerState:e=>new this.ControllerState(e),onViewStateChange:this._onTransition.bind(this),onStateChange:this._setInteractionState.bind(this)}),this.handleEvent=this.handleEvent.bind(this),this.eventManager=e.eventManager,this.onViewStateChange=e.onViewStateChange||(()=>{}),this.onStateChange=e.onStateChange||(()=>{}),this.makeViewport=e.makeViewport}set events(e){this.toggleEvents(this._customEvents,!1),this.toggleEvents(e,!0),this._customEvents=e,this.props&&this.setProps(this.props)}finalize(){for(const t in this._events){var e;if(this._events[t])null===(e=this.eventManager)||void 0===e||e.off(t,this.handleEvent)}this.transitionManager.finalize()}handleEvent(e){this._controllerState=void 0;const t=this._eventStartBlocked;switch(e.type){case"panstart":return!t&&this._onPanStart(e);case"panmove":return this._onPan(e);case"panend":return this._onPanEnd(e);case"pinchstart":return!t&&this._onPinchStart(e);case"pinchmove":return this._onPinch(e);case"pinchend":return this._onPinchEnd(e);case"tripanstart":return!t&&this._onTriplePanStart(e);case"tripanmove":return this._onTriplePan(e);case"tripanend":return this._onTriplePanEnd(e);case"doubletap":return this._onDoubleTap(e);case"wheel":return this._onWheel(e);case"keydown":return this._onKeyDown(e);default:return!1}}get controllerState(){return this._controllerState=this._controllerState||new this.ControllerState({makeViewport:this.makeViewport,...this.props,...this.state}),this._controllerState}getCenter(e){const{x:t,y:n}=this.props,{offsetCenter:r}=e;return[r.x-t,r.y-n]}isPointInBounds(e,t){const{width:n,height:r}=this.props;if(t&&t.handled)return!1;const i=e[0]>=0&&e[0]<=n&&e[1]>=0&&e[1]<=r;return i&&t&&t.stopPropagation(),i}isFunctionKeyPressed(e){const{srcEvent:t}=e;return Boolean(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}isDragging(){return this._interactionState.isDragging||!1}blockEvents(e){const t=setTimeout((()=>{this._eventStartBlocked===t&&(this._eventStartBlocked=null)}),e);this._eventStartBlocked=t}setProps(e){e.dragMode&&(this.dragMode=e.dragMode),this.props=e,"transitionInterpolator"in e||(e.transitionInterpolator=this._getTransitionProps().transitionInterpolator),this.transitionManager.processViewStateChange(e);const{inertia:t}=e;this.inertia=Number.isFinite(t)?t:!0===t?300:0;const{scrollZoom:n=!0,dragPan:r=!0,dragRotate:i=!0,doubleClickZoom:o=!0,touchZoom:a=!0,touchRotate:s=!1,keyboard:l=!0}=e,c=Boolean(this.onViewStateChange);this.toggleEvents(V,c&&n),this.toggleEvents(G,c&&(r||i)),this.toggleEvents(W,c&&(a||s)),this.toggleEvents(q,c&&s),this.toggleEvents(Y,c&&o),this.toggleEvents(X,c&&l),this.scrollZoom=n,this.dragPan=r,this.dragRotate=i,this.doubleClickZoom=o,this.touchZoom=a,this.touchRotate=s,this.keyboard=l}updateTransition(){this.transitionManager.updateTransition()}toggleEvents(e,t){this.eventManager&&e.forEach((e=>{this._events[e]!==t&&(this._events[e]=t,t?this.eventManager.on(e,this.handleEvent):this.eventManager.off(e,this.handleEvent))}))}updateViewport(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r={...e.getViewportProps(),...t},i=this.controllerState!==e;if(this.state=e.getState(),this._setInteractionState(n),i){const e=this.controllerState&&this.controllerState.getViewportProps();this.onViewStateChange&&this.onViewStateChange({viewState:r,interactionState:this._interactionState,oldViewState:e})}}_onTransition(e){this.onViewStateChange({...e,interactionState:this._interactionState})}_setInteractionState(e){Object.assign(this._interactionState,e),this.onStateChange(this._interactionState)}_onPanStart(e){const t=this.getCenter(e);if(!this.isPointInBounds(t,e))return!1;let n=this.isFunctionKeyPressed(e)||e.rightButton||!1;(this.invertPan||"pan"===this.dragMode)&&(n=!n);const r=this.controllerState[n?"panStart":"rotateStart"]({pos:t});return this._panMove=n,this.updateViewport(r,U,{isDragging:!0}),!0}_onPan(e){return!!this.isDragging()&&(this._panMove?this._onPanMove(e):this._onPanRotate(e))}_onPanEnd(e){return!!this.isDragging()&&(this._panMove?this._onPanMoveEnd(e):this._onPanRotateEnd(e))}_onPanMove(e){if(!this.dragPan)return!1;const t=this.getCenter(e),n=this.controllerState.pan({pos:t});return this.updateViewport(n,U,{isDragging:!0,isPanning:!0}),!0}_onPanMoveEnd(e){const{inertia:t}=this;if(this.dragPan&&t&&e.velocity){const n=this.getCenter(e),r=[n[0]+e.velocityX*t/2,n[1]+e.velocityY*t/2],i=this.controllerState.pan({pos:r}).panEnd();this.updateViewport(i,{...this._getTransitionProps(),transitionDuration:t,transitionEasing:H},{isDragging:!1,isPanning:!0})}else{const e=this.controllerState.panEnd();this.updateViewport(e,null,{isDragging:!1,isPanning:!1})}return!0}_onPanRotate(e){if(!this.dragRotate)return!1;const t=this.getCenter(e),n=this.controllerState.rotate({pos:t});return this.updateViewport(n,U,{isDragging:!0,isRotating:!0}),!0}_onPanRotateEnd(e){const{inertia:t}=this;if(this.dragRotate&&t&&e.velocity){const n=this.getCenter(e),r=[n[0]+e.velocityX*t/2,n[1]+e.velocityY*t/2],i=this.controllerState.rotate({pos:r}).rotateEnd();this.updateViewport(i,{...this._getTransitionProps(),transitionDuration:t,transitionEasing:H},{isDragging:!1,isRotating:!0})}else{const e=this.controllerState.rotateEnd();this.updateViewport(e,null,{isDragging:!1,isRotating:!1})}return!0}_onWheel(e){if(!this.scrollZoom)return!1;e.srcEvent.preventDefault();const t=this.getCenter(e);if(!this.isPointInBounds(t,e))return!1;const{speed:n=.01,smooth:r=!1}=!0===this.scrollZoom?{}:this.scrollZoom,{delta:i}=e;let o=2/(1+Math.exp(-Math.abs(i*n)));i<0&&0!==o&&(o=1/o);const a=this.controllerState.zoom({pos:t,scale:o});return this.updateViewport(a,{...this._getTransitionProps({around:t}),transitionDuration:r?250:1},{isZooming:!0,isPanning:!0}),!0}_onTriplePanStart(e){const t=this.getCenter(e);if(!this.isPointInBounds(t,e))return!1;const n=this.controllerState.rotateStart({pos:t});return this.updateViewport(n,U,{isDragging:!0}),!0}_onTriplePan(e){if(!this.touchRotate)return!1;if(!this.isDragging())return!1;const t=this.getCenter(e);t[0]-=e.deltaX;const n=this.controllerState.rotate({pos:t});return this.updateViewport(n,U,{isDragging:!0,isRotating:!0}),!0}_onTriplePanEnd(e){if(!this.isDragging())return!1;const{inertia:t}=this;if(this.touchRotate&&t&&e.velocityY){const n=this.getCenter(e),r=[n[0],n[1]+=e.velocityY*t/2],i=this.controllerState.rotate({pos:r});this.updateViewport(i,{...this._getTransitionProps(),transitionDuration:t,transitionEasing:H},{isDragging:!1,isRotating:!0}),this.blockEvents(t)}else{const e=this.controllerState.rotateEnd();this.updateViewport(e,null,{isDragging:!1,isRotating:!1})}return!0}_onPinchStart(e){const t=this.getCenter(e);if(!this.isPointInBounds(t,e))return!1;const n=this.controllerState.zoomStart({pos:t}).rotateStart({pos:t});return K._startPinchRotation=e.rotation,K._lastPinchEvent=e,this.updateViewport(n,U,{isDragging:!0}),!0}_onPinch(e){if(!this.touchZoom&&!this.touchRotate)return!1;if(!this.isDragging())return!1;let t=this.controllerState;if(this.touchZoom){const{scale:n}=e,r=this.getCenter(e);t=t.zoom({pos:r,scale:n})}if(this.touchRotate){const{rotation:n}=e;t=t.rotate({deltaAngleX:K._startPinchRotation-n})}return this.updateViewport(t,U,{isDragging:!0,isPanning:this.touchZoom,isZooming:this.touchZoom,isRotating:this.touchRotate}),K._lastPinchEvent=e,!0}_onPinchEnd(e){if(!this.isDragging())return!1;const{inertia:t}=this,{_lastPinchEvent:n}=K;if(this.touchZoom&&t&&n&&e.scale!==n.scale){const r=this.getCenter(e);let i=this.controllerState.rotateEnd();const o=Math.log2(e.scale),a=(o-Math.log2(n.scale))/(e.deltaTime-n.deltaTime),s=Math.pow(2,o+a*t/2);i=i.zoom({pos:r,scale:s}).zoomEnd(),this.updateViewport(i,{...this._getTransitionProps({around:r}),transitionDuration:t,transitionEasing:H},{isDragging:!1,isPanning:this.touchZoom,isZooming:this.touchZoom,isRotating:!1}),this.blockEvents(t)}else{const e=this.controllerState.zoomEnd().rotateEnd();this.updateViewport(e,null,{isDragging:!1,isPanning:!1,isZooming:!1,isRotating:!1})}return K._startPinchRotation=null,K._lastPinchEvent=null,!0}_onDoubleTap(e){if(!this.doubleClickZoom)return!1;const t=this.getCenter(e);if(!this.isPointInBounds(t,e))return!1;const n=this.isFunctionKeyPressed(e),r=this.controllerState.zoom({pos:t,scale:n?.5:2});return this.updateViewport(r,this._getTransitionProps({around:t}),{isZooming:!0,isPanning:!0}),this.blockEvents(100),!0}_onKeyDown(e){if(!this.keyboard)return!1;const t=this.isFunctionKeyPressed(e),{zoomSpeed:n,moveSpeed:r,rotateSpeedX:i,rotateSpeedY:o}=!0===this.keyboard?{}:this.keyboard,{controllerState:a}=this;let s;const l={};switch(e.srcEvent.code){case"Minus":s=t?a.zoomOut(n).zoomOut(n):a.zoomOut(n),l.isZooming=!0;break;case"Equal":s=t?a.zoomIn(n).zoomIn(n):a.zoomIn(n),l.isZooming=!0;break;case"ArrowLeft":t?(s=a.rotateLeft(i),l.isRotating=!0):(s=a.moveLeft(r),l.isPanning=!0);break;case"ArrowRight":t?(s=a.rotateRight(i),l.isRotating=!0):(s=a.moveRight(r),l.isPanning=!0);break;case"ArrowUp":t?(s=a.rotateUp(o),l.isRotating=!0):(s=a.moveUp(r),l.isPanning=!0);break;case"ArrowDown":t?(s=a.rotateDown(o),l.isRotating=!0):(s=a.moveDown(r),l.isPanning=!0);break;default:return!1}return this.updateViewport(s,this._getTransitionProps(),l),!0}_getTransitionProps(e){const{transition:t}=this;return t&&t.transitionInterpolator?e?{...t,transitionInterpolator:new Z({...e,...t.transitionInterpolator.opts,makeViewport:this.controllerState.makeViewport})}:t:U}}class ${constructor(e,t){(0,r.Z)(this,"_viewportProps",void 0),(0,r.Z)(this,"_state",void 0),this._viewportProps=this.applyConstraints(e),this._state=t}getViewportProps(){return this._viewportProps}getState(){return this._state}}var J=n(1384);class ee extends ${constructor(e){const{width:t,height:n,latitude:i,longitude:o,zoom:a,bearing:s=0,pitch:l=0,altitude:c=1.5,position:u=[0,0,0],maxZoom:d=20,minZoom:h=0,maxPitch:f=60,minPitch:p=0,startPanLngLat:g,startZoomLngLat:m,startRotatePos:A,startBearing:v,startPitch:y,startZoom:b,normalize:_=!0}=e;(0,P.Z)(Number.isFinite(o)),(0,P.Z)(Number.isFinite(i)),(0,P.Z)(Number.isFinite(a)),super({width:t,height:n,latitude:i,longitude:o,zoom:a,bearing:s,pitch:l,altitude:c,maxZoom:d,minZoom:h,maxPitch:f,minPitch:p,normalize:_,position:u},{startPanLngLat:g,startZoomLngLat:m,startRotatePos:A,startBearing:v,startPitch:y,startZoom:b}),(0,r.Z)(this,"makeViewport",void 0),this.makeViewport=e.makeViewport}panStart(e){let{pos:t}=e;return this._getUpdatedState({startPanLngLat:this._unproject(t)})}pan(e){let{pos:t,startPos:n}=e;const r=this.getState().startPanLngLat||this._unproject(n);if(!r)return this;const i=this.makeViewport(this.getViewportProps()).panByPosition(r,t);return this._getUpdatedState(i)}panEnd(){return this._getUpdatedState({startPanLngLat:null})}rotateStart(e){let{pos:t}=e;return this._getUpdatedState({startRotatePos:t,startBearing:this.getViewportProps().bearing,startPitch:this.getViewportProps().pitch})}rotate(e){let{pos:t,deltaAngleX:n=0,deltaAngleY:r=0}=e;const{startRotatePos:i,startBearing:o,startPitch:a}=this.getState();if(!i||void 0===o||void 0===a)return this;let s;return s=t?this._getNewRotation(t,i,a,o):{bearing:o+n,pitch:a+r},this._getUpdatedState(s)}rotateEnd(){return this._getUpdatedState({startBearing:null,startPitch:null})}zoomStart(e){let{pos:t}=e;return this._getUpdatedState({startZoomLngLat:this._unproject(t),startZoom:this.getViewportProps().zoom})}zoom(e){let{pos:t,startPos:n,scale:r}=e,{startZoom:i,startZoomLngLat:o}=this.getState();if(o||(i=this.getViewportProps().zoom,o=this._unproject(n)||this._unproject(t)),!o)return this;const{maxZoom:a,minZoom:s}=this.getViewportProps();let l=i+Math.log2(r);l=(0,k.uZ)(l,s,a);const c=this.makeViewport({...this.getViewportProps(),zoom:l});return this._getUpdatedState({zoom:l,...c.panByPosition(o,t)})}zoomEnd(){return this._getUpdatedState({startZoomLngLat:null,startZoom:null})}zoomIn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2;return this._zoomFromCenter(e)}zoomOut(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2;return this._zoomFromCenter(1/e)}moveLeft(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;return this._panFromCenter([e,0])}moveRight(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;return this._panFromCenter([-e,0])}moveUp(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;return this._panFromCenter([0,e])}moveDown(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;return this._panFromCenter([0,-e])}rotateLeft(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:15;return this._getUpdatedState({bearing:this.getViewportProps().bearing-e})}rotateRight(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:15;return this._getUpdatedState({bearing:this.getViewportProps().bearing+e})}rotateUp(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;return this._getUpdatedState({pitch:this.getViewportProps().pitch+e})}rotateDown(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;return this._getUpdatedState({pitch:this.getViewportProps().pitch-e})}shortestPathFrom(e){const t=e.getViewportProps(),n={...this.getViewportProps()},{bearing:r,longitude:i}=n;return Math.abs(r-t.bearing)>180&&(n.bearing=r<0?r+360:r-360),Math.abs(i-t.longitude)>180&&(n.longitude=i<0?i+360:i-360),n}applyConstraints(e){const{maxZoom:t,minZoom:n,zoom:r}=e;e.zoom=(0,k.uZ)(r,n,t);const{maxPitch:i,minPitch:o,pitch:a}=e;e.pitch=(0,k.uZ)(a,o,i);const{normalize:s=!0}=e;return s&&Object.assign(e,(0,J.QA)(e)),e}_zoomFromCenter(e){const{width:t,height:n}=this.getViewportProps();return this.zoom({pos:[t/2,n/2],scale:e})}_panFromCenter(e){const{width:t,height:n}=this.getViewportProps();return this.pan({startPos:[t/2,n/2],pos:[t/2+e[0],n/2+e[1]]})}_getUpdatedState(e){return new this.constructor({makeViewport:this.makeViewport,...this.getViewportProps(),...this.getState(),...e})}_unproject(e){const t=this.makeViewport(this.getViewportProps());return e&&t.unproject(e)}_getNewRotation(e,t,n,r){const i=e[0]-t[0],o=e[1]-t[1],a=e[1],s=t[1],{width:l,height:c}=this.getViewportProps(),u=i/l;let d=0;o>0?Math.abs(c-s)>5&&(d=o/(s-c)*1.2):o<0&&s>5&&(d=1-a/s),d=(0,k.uZ)(d,-1,1);const{minPitch:h,maxPitch:f}=this.getViewportProps();let p=n;return d>0?p=n+d*(f-n):d<0&&(p=n-d*(h-n)),{pitch:p,bearing:r+180*u}}}class te extends Q{constructor(){super(...arguments),(0,r.Z)(this,"ControllerState",ee),(0,r.Z)(this,"transition",{transitionDuration:300,transitionInterpolator:new Z({transitionProps:{compare:["longitude","latitude","zoom","bearing","pitch","position"],required:["longitude","latitude","zoom"]}})}),(0,r.Z)(this,"dragMode","pan")}setProps(e){e.position=e.position||[0,0,0];const t=this.props;super.setProps(e);(!t||t.height!==e.height)&&this.updateViewport(new this.ControllerState({makeViewport:this.makeViewport,...e,...this.state}))}}class ne extends T{get ViewportType(){return M.Z}get ControllerType(){return te}}(0,r.Z)(ne,"displayName","MapView");var re=n(81786);const ie=[255,255,255],oe=1;let ae=0;class se{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,r.Z)(this,"id",void 0),(0,r.Z)(this,"color",void 0),(0,r.Z)(this,"intensity",void 0),(0,r.Z)(this,"type","ambient");const{color:t=ie}=e,{intensity:n=oe}=e;this.id=e.id||"ambient-".concat(ae++),this.color=t,this.intensity=n}}var le=n(31549);const ce=[255,255,255],ue=1,de=[0,0,-1];let he=0;class fe{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,r.Z)(this,"id",void 0),(0,r.Z)(this,"color",void 0),(0,r.Z)(this,"intensity",void 0),(0,r.Z)(this,"type","directional"),(0,r.Z)(this,"direction",void 0),(0,r.Z)(this,"shadow",void 0);const{color:t=ce}=e,{intensity:n=ue}=e,{direction:i=de}=e,{_shadow:o=!1}=e;this.id=e.id||"directional-".concat(he++),this.color=t,this.intensity=n,this.type="directional",this.direction=new le.Z(i).normalize().toArray(),this.shadow=o}getProjectedLight(e){return this}}var pe=n(39944),ge=n(66176),me=n(26277),Ae=n(64282),ve=n(76195);class ye extends ge.Z{constructor(e,t){super(e,t),(0,r.Z)(this,"shadowMap",void 0),(0,r.Z)(this,"depthBuffer",void 0),(0,r.Z)(this,"fbo",void 0),this.shadowMap=new re.Z(e,{width:1,height:1,parameters:{10241:9729,10240:9729,10242:33071,10243:33071}}),this.depthBuffer=new me.Z(e,{format:33189,width:1,height:1}),this.fbo=new Ae.Z(e,{id:"shadowmap",width:1,height:1,attachments:{36064:this.shadowMap,36096:this.depthBuffer}})}render(e){const t=this.fbo;(0,ve.s8)(this.gl,{depthRange:[0,1],depthTest:!0,blend:!1,clearColor:[1,1,1,1]},(()=>{const n=e.viewports[0],r=(0,ve.w)(this.gl),i=n.width*r,o=n.height*r;i===t.width&&o===t.height||t.resize({width:i,height:o}),super.render({...e,target:t,pass:"shadow"})}))}shouldDrawLayer(e){return!1!==e.props.shadowEnabled}getModuleParameters(){return{drawToShadowMap:!0}}delete(){this.fbo&&(this.fbo.delete(),this.fbo=null),this.shadowMap&&(this.shadowMap.delete(),this.shadowMap=null),this.depthBuffer&&(this.depthBuffer.delete(),this.depthBuffer=null)}}var be=n(98029),_e=n(12091);const we=(0,_e.Z)((function(e){let{viewport:t,center:n}=e;return new pe.Z(t.viewProjectionMatrix).invert().transform(n)})),xe=(0,_e.Z)((function(e){let{viewport:t,shadowMatrices:n}=e;const r=[],i=t.pixelUnprojectionMatrix,o=t.isGeospatial?void 0:1,a=[[0,0,o],[t.width,0,o],[0,t.height,o],[t.width,t.height,o],[0,0,-1],[t.width,0,-1],[0,t.height,-1],[t.width,t.height,-1]].map((e=>function(e,t){const[n,r,i]=e,o=(0,J.CT)([n,r,i],t);if(Number.isFinite(i))return o;return[o[0],o[1],0]}(e,i)));for(const s of n){const e=s.clone().translate(new le.Z(t.center).negate()),n=a.map((t=>e.transform(t))),i=(new pe.Z).ortho({left:Math.min(...n.map((e=>e[0]))),right:Math.max(...n.map((e=>e[0]))),bottom:Math.min(...n.map((e=>e[1]))),top:Math.max(...n.map((e=>e[1]))),near:Math.min(...n.map((e=>-e[2]))),far:Math.max(...n.map((e=>-e[2])))});r.push(i.multiplyRight(s))}return r})),Ee=[0,0,0,1],Se=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0];const Ce={name:"shadow",dependencies:[A.Z],vs:"\nconst int max_lights = 2;\nuniform mat4 shadow_uViewProjectionMatrices[max_lights];\nuniform vec4 shadow_uProjectCenters[max_lights];\nuniform bool shadow_uDrawShadowMap;\nuniform bool shadow_uUseShadowMap;\nuniform int shadow_uLightId;\nuniform float shadow_uLightCount;\n\nvarying vec3 shadow_vPosition[max_lights];\n\nvec4 shadow_setVertexPosition(vec4 position_commonspace) {\n if (shadow_uDrawShadowMap) {\n return project_common_position_to_clipspace(position_commonspace, shadow_uViewProjectionMatrices[shadow_uLightId], shadow_uProjectCenters[shadow_uLightId]);\n }\n if (shadow_uUseShadowMap) {\n for (int i = 0; i < max_lights; i++) {\n if(i < int(shadow_uLightCount)) {\n vec4 shadowMap_position = project_common_position_to_clipspace(position_commonspace, shadow_uViewProjectionMatrices[i], shadow_uProjectCenters[i]);\n shadow_vPosition[i] = (shadowMap_position.xyz / shadowMap_position.w + 1.0) / 2.0;\n }\n }\n }\n return gl_Position;\n}\n",fs:"\nconst int max_lights = 2;\nuniform bool shadow_uDrawShadowMap;\nuniform bool shadow_uUseShadowMap;\nuniform sampler2D shadow_uShadowMap0;\nuniform sampler2D shadow_uShadowMap1;\nuniform vec4 shadow_uColor;\nuniform float shadow_uLightCount;\n\nvarying vec3 shadow_vPosition[max_lights];\n\nconst vec4 bitPackShift = vec4(1.0, 255.0, 65025.0, 16581375.0);\nconst vec4 bitUnpackShift = 1.0 / bitPackShift;\nconst vec4 bitMask = vec4(1.0 / 255.0, 1.0 / 255.0, 1.0 / 255.0, 0.0);\n\nfloat shadow_getShadowWeight(vec3 position, sampler2D shadowMap) {\n vec4 rgbaDepth = texture2D(shadowMap, position.xy);\n\n float z = dot(rgbaDepth, bitUnpackShift);\n return smoothstep(0.001, 0.01, position.z - z);\n}\n\nvec4 shadow_filterShadowColor(vec4 color) {\n if (shadow_uDrawShadowMap) {\n vec4 rgbaDepth = fract(gl_FragCoord.z * bitPackShift);\n rgbaDepth -= rgbaDepth.gbaa * bitMask;\n return rgbaDepth;\n }\n if (shadow_uUseShadowMap) {\n float shadowAlpha = 0.0;\n shadowAlpha += shadow_getShadowWeight(shadow_vPosition[0], shadow_uShadowMap0);\n if(shadow_uLightCount > 1.0) {\n shadowAlpha += shadow_getShadowWeight(shadow_vPosition[1], shadow_uShadowMap1);\n }\n shadowAlpha *= shadow_uColor.a / shadow_uLightCount;\n float blendedAlpha = shadowAlpha + color.a * (1.0 - shadowAlpha);\n\n return vec4(\n mix(color.rgb, shadow_uColor.rgb, shadowAlpha / blendedAlpha),\n blendedAlpha\n );\n }\n return color;\n}\n",inject:{"vs:DECKGL_FILTER_GL_POSITION":"\n position = shadow_setVertexPosition(geometry.position);\n ","fs:DECKGL_FILTER_COLOR":"\n color = shadow_filterShadowColor(color);\n "},getUniforms:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"viewport"in e&&(e.drawToShadowMap||e.shadowMaps&&e.shadowMaps.length>0)?function(e,t){const{shadowEnabled:n=!0}=e;if(!n||!e.shadowMatrices||!e.shadowMatrices.length)return{shadow_uDrawShadowMap:!1,shadow_uUseShadowMap:!1};const r={shadow_uDrawShadowMap:Boolean(e.drawToShadowMap),shadow_uUseShadowMap:!!e.shadowMaps&&e.shadowMaps.length>0,shadow_uColor:e.shadowColor||Ee,shadow_uLightId:e.shadowLightId||0,shadow_uLightCount:e.shadowMatrices.length},i=we({viewport:e.viewport,center:t.project_uCenter}),o=[],a=xe({shadowMatrices:e.shadowMatrices,viewport:e.viewport}).slice();for(let s=0;s0?r["shadow_uShadowMap".concat(s)]=e.shadowMaps[s]:r["shadow_uShadowMap".concat(s)]=e.dummyShadowMap;return r}(e,t):{}}},Pe={color:[255,255,255],intensity:1},Te=[{color:[255,255,255],intensity:1,direction:[-1,3,-1]},{color:[255,255,255],intensity:.9,direction:[1,-8,-2.5]}],Me=[0,0,0,200/255];class ke{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,r.Z)(this,"id","lighting-effect"),(0,r.Z)(this,"props",void 0),(0,r.Z)(this,"shadowColor",Me),(0,r.Z)(this,"shadow",void 0),(0,r.Z)(this,"ambientLight",void 0),(0,r.Z)(this,"directionalLights",void 0),(0,r.Z)(this,"pointLights",void 0),(0,r.Z)(this,"shadowPasses",[]),(0,r.Z)(this,"shadowMaps",[]),(0,r.Z)(this,"dummyShadowMap",null),(0,r.Z)(this,"programManager",void 0),(0,r.Z)(this,"shadowMatrices",void 0),this.setProps(e)}setProps(e){this.ambientLight=null,this.directionalLights=[],this.pointLights=[];for(const t in e){const n=e[t];switch(n.type){case"ambient":this.ambientLight=n;break;case"directional":this.directionalLights.push(n);break;case"point":this.pointLights.push(n)}}this._applyDefaultLights(),this.shadow=this.directionalLights.some((e=>e.shadow)),this.props=e}preRender(e,t){let{layers:n,layerFilter:r,viewports:i,onViewportActive:o,views:a}=t;if(this.shadow){this.shadowMatrices=this._calculateMatrices(),0===this.shadowPasses.length&&this._createShadowPasses(e),this.programManager||(this.programManager=m.Z.getDefaultProgramManager(e),Ce&&this.programManager.addDefaultModule(Ce)),this.dummyShadowMap||(this.dummyShadowMap=new re.Z(e,{width:1,height:1}));for(let e=0;et.getProjectedLight({layer:e}))),pointLights:this.pointLights.map((t=>t.getProjectedLight({layer:e})))},t}cleanup(){for(const e of this.shadowPasses)e.delete();this.shadowPasses.length=0,this.shadowMaps.length=0,this.dummyShadowMap&&(this.dummyShadowMap.delete(),this.dummyShadowMap=null),this.shadow&&this.programManager&&(this.programManager.removeDefaultModule(Ce),this.programManager=null)}_calculateMatrices(){const e=[];for(const t of this.directionalLights){const n=(new pe.Z).lookAt({eye:new le.Z(t.direction).negate()});e.push(n)}return e}_createShadowPasses(e){for(let t=0;tt.id===e.id))){const n=t.findIndex((t=>function(e,t){var n,r;return(null!==(n=e.order)&&void 0!==n?n:1/0)-(null!==(r=t.order)&&void 0!==r?r:1/0)}(t,e)>0));n<0?t.push(e):t.splice(n,0,e),this._setEffects(this.effects)}}setProps(e){"effects"in e&&((0,w.v)(e.effects,this.effects,1)||this._setEffects(e.effects))}needsRedraw(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{clearRedrawFlags:!1};const t=this._needsRedraw;return e.clearRedrawFlags&&(this._needsRedraw=!1),t}getEffects(){return this._resolvedEffects}_setEffects(e){const t={};for(const r of this.effects)t[r.id]=r;const n=[];for(const r of e){const e=t[r.id];e&&e!==r?e.setProps?(e.setProps(r.props),n.push(e)):(e.cleanup(),n.push(r)):n.push(r),delete t[r.id]}for(const r in t)t[r].cleanup();this.effects=n,this._resolvedEffects=n.concat(this._defaultEffects),e.some((e=>e instanceof ke))||this._resolvedEffects.push(Re),this._needsRedraw="effects changed"}finalize(){for(const e of this._resolvedEffects)e.cleanup();this.effects.length=0,this._resolvedEffects.length=0,this._defaultEffects.length=0}}class Ie extends ge.Z{shouldDrawLayer(e){const{operation:t}=e.props;return t.includes("draw")||t.includes("terrain")}}const Le={blendFunc:[1,0,32771,0],blendEquation:32774};class De extends ge.Z{constructor(){super(...arguments),(0,r.Z)(this,"pickZ",void 0),(0,r.Z)(this,"_colorEncoderState",null)}render(e){return"pickingFBO"in e?this._drawPickingBuffer(e):super.render(e)}_drawPickingBuffer(e){let{layers:t,layerFilter:n,views:r,viewports:i,onViewportActive:o,pickingFBO:a,deviceRect:{x:s,y:l,width:c,height:u},cullRect:d,effects:h,pass:f="picking",pickZ:p,moduleParameters:g}=e;const m=this.gl;this.pickZ=p;const A=this._resetColorEncoder(p),v=(0,ve.s8)(m,{scissorTest:!0,scissor:[s,l,c,u],clearColor:[0,0,0,0],depthMask:!0,depthTest:!0,depthRange:[0,1],colorMask:[!0,!0,!0,!0],...Le,blend:!p},(()=>super.render({target:a,layers:t,layerFilter:n,views:r,viewports:i,onViewportActive:o,cullRect:d,effects:null===h||void 0===h?void 0:h.filter((e=>e.useInPicking)),pass:f,isPicking:!0,moduleParameters:g})));this._colorEncoderState=null;return{decodePickingColor:A&&Ne.bind(null,A),stats:v}}shouldDrawLayer(e){const{pickable:t,operation:n}=e.props;return t&&n.includes("draw")||n.includes("terrain")}getModuleParameters(){return{pickingActive:1,pickingAttribute:this.pickZ,lightSources:{}}}getLayerParameters(e,t,n){const r={...e.props.parameters},{pickable:i,operation:o}=e.props;return this._colorEncoderState?i&&o.includes("draw")&&(Object.assign(r,Le),r.blend=!0,r.blendColor=function(e,t,n){const{byLayer:r,byAlpha:i}=e;let o,a=r.get(t);a?(a.viewports.push(n),o=a.a):(o=r.size+1,o<=255?(a={a:o,layer:t,viewports:[n]},r.set(t,a),i[o]=a):(l.Z.warn("Too many pickable layers, only picking the first 255")(),o=0));return[0,0,0,o/255]}(this._colorEncoderState,e,n)):r.blend=!1,o.includes("terrain")&&(r.blend=!1),r}_resetColorEncoder(e){return this._colorEncoderState=e?null:{byLayer:new Map,byAlpha:[]},this._colorEncoderState}}function Ne(e,t){const n=e.byAlpha[t[3]];return n&&{pickedLayer:n.layer,pickedViewports:n.viewports,pickedObjectIndex:n.layer.decodePickingColor(t)}}class Fe{constructor(e){(0,r.Z)(this,"gl",void 0),(0,r.Z)(this,"layerFilter",void 0),(0,r.Z)(this,"drawPickingColors",void 0),(0,r.Z)(this,"drawLayersPass",void 0),(0,r.Z)(this,"pickLayersPass",void 0),(0,r.Z)(this,"renderCount",void 0),(0,r.Z)(this,"_needsRedraw",void 0),(0,r.Z)(this,"renderBuffers",void 0),(0,r.Z)(this,"lastPostProcessEffect",void 0),this.gl=e,this.layerFilter=null,this.drawPickingColors=!1,this.drawLayersPass=new Ie(e),this.pickLayersPass=new De(e),this.renderCount=0,this._needsRedraw="Initial render",this.renderBuffers=[],this.lastPostProcessEffect=null}setProps(e){this.layerFilter!==e.layerFilter&&(this.layerFilter=e.layerFilter,this._needsRedraw="layerFilter changed"),this.drawPickingColors!==e.drawPickingColors&&(this.drawPickingColors=e.drawPickingColors,this._needsRedraw="drawPickingColors changed")}renderLayers(e){const t=this.drawPickingColors?this.pickLayersPass:this.drawLayersPass,n={layerFilter:this.layerFilter,isPicking:this.drawPickingColors,...e,target:e.target||Ae.Z.getDefaultFramebuffer(this.gl)};n.effects&&this._preRender(n.effects,n);const r=this.lastPostProcessEffect?this.renderBuffers[0]:n.target,i=t.render({...n,target:r});n.effects&&this._postRender(n.effects,n),this.renderCount++,(0,c.Z)("deckRenderer.renderLayers",this,i,e)}needsRedraw(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{clearRedrawFlags:!1};const t=this._needsRedraw;return e.clearRedrawFlags&&(this._needsRedraw=!1),t}finalize(){const{renderBuffers:e}=this;for(const t of e)t.delete();e.length=0}_preRender(e,t){this.lastPostProcessEffect=null,t.preRenderStats=t.preRenderStats||{};for(const n of e)t.preRenderStats[n.id]=n.preRender(this.gl,t),n.postRender&&(this.lastPostProcessEffect=n.id);this.lastPostProcessEffect&&this._resizeRenderBuffers()}_resizeRenderBuffers(){const{renderBuffers:e}=this;0===e.length&&e.push(new Ae.Z(this.gl),new Ae.Z(this.gl));for(const t of e)t.resize()}_postRender(e,t){const{renderBuffers:n}=this,r={...t,inputBuffer:n[0],swapBuffer:n[1],target:null};for(const i of e)if(i.postRender){if(i.id===this.lastPostProcessEffect){r.target=t.target,i.postRender(this.gl,r);break}const e=i.postRender(this.gl,r);r.inputBuffer=e,r.swapBuffer=e===n[0]?n[1]:n[0]}}}var je=n(77378);const Be={pickedColor:null,pickedObjectIndex:-1};function ze(e){let{pickedColors:t,decodePickingColor:n,deviceX:r,deviceY:i,deviceRadius:o,deviceRect:a}=e;const{x:s,y:c,width:u,height:d}=a;let h=o*o,f=-1,p=0;for(let l=0;lh)p+=4*u;else for(let i=0;i=0){const e=i+s-r,t=e*e+n;t<=h&&(h=t,f=p)}p+=4}}if(f>=0){const e=t.slice(f,f+4),r=n(e);if(r){const t=Math.floor(f/4/u),n=f/4-t*u;return{...r,pickedColor:e,pickedX:s+n,pickedY:c+t}}l.Z.error("Picked non-existent layer. Is picking buffer corrupt?")()}return Be}function Ze(e){let t,{pickInfo:n,viewports:r,pixelRatio:i,x:o,y:a,z:s}=e,l=r[0];if(r.length>1&&(l=function(e,t){for(let n=e.length-1;n>=0;n--){const r=e[n];if(r.containsPixel(t))return r}return e[0]}((null===n||void 0===n?void 0:n.pickedViewports)||r,{x:o,y:a})),l){const e=[o-l.x,a-l.y];void 0!==s&&(e[2]=s),t=l.unproject(e)}return{color:null,layer:null,viewport:l,index:-1,picked:!1,x:o,y:a,pixel:[o,a],coordinate:t,devicePixel:n&&"pickedX"in n?[n.pickedX,n.pickedY]:void 0,pixelRatio:i}}function Ue(e){const{pickInfo:t,lastPickedInfo:n,mode:r,layers:i}=e,{pickedColor:o,pickedLayer:a,pickedObjectIndex:s}=t,l=a?[a]:[];if("hover"===r){const e=n.index,t=n.layerId,r=a?a.props.id:null;if(r!==t||s!==e){if(r!==t){const e=i.find((e=>e.props.id===t));e&&l.unshift(e)}n.layerId=r,n.index=s,n.info=null}}const c=Ze(e),u=new Map;return u.set(null,c),l.forEach((e=>{let t={...c};e===a&&(t.color=o,t.index=s,t.picked=!0),t=He({layer:e,info:t,mode:r});const i=t.layer;e===a&&"hover"===r&&(n.info=t),u.set(i.id,t),"hover"===r&&i.updateAutoHighlight(t)})),u}function He(e){let{layer:t,info:n,mode:r}=e;for(;t&&n;){const e=n.layer||null;n.sourceLayer=e,n.layer=t,n=t.getPickingInfo({info:n,mode:r,sourceLayer:e}),t=t.parent}return n}class Ve{constructor(e){(0,r.Z)(this,"gl",void 0),(0,r.Z)(this,"pickingFBO",void 0),(0,r.Z)(this,"depthFBO",void 0),(0,r.Z)(this,"pickLayersPass",void 0),(0,r.Z)(this,"layerFilter",void 0),(0,r.Z)(this,"lastPickedInfo",void 0),(0,r.Z)(this,"_pickable",!0),this.gl=e,this.pickLayersPass=new De(e),this.lastPickedInfo={index:-1,layerId:null,info:null}}setProps(e){"layerFilter"in e&&(this.layerFilter=e.layerFilter),"_pickable"in e&&(this._pickable=e._pickable)}finalize(){this.pickingFBO&&this.pickingFBO.delete(),this.depthFBO&&(this.depthFBO.color.delete(),this.depthFBO.delete())}pickObject(e){return this._pickClosestObject(e)}pickObjects(e){return this._pickVisibleObjects(e)}getLastPickedObject(e){let{x:t,y:n,layers:r,viewports:i}=e,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.lastPickedInfo.info;const a=o&&o.layer&&o.layer.id,s=o&&o.viewport&&o.viewport.id,l=a?r.find((e=>e.id===a)):null,c=s&&i.find((e=>e.id===s))||i[0],u=c&&c.unproject([t-c.x,n-c.y]),d={x:t,y:n,viewport:c,coordinate:u,layer:l};return{...o,...d}}_resizeBuffer(){var e,t;const{gl:n}=this;if(!this.pickingFBO&&(this.pickingFBO=new Ae.Z(n),Ae.Z.isSupported(n,{colorBufferFloat:!0}))){const e=new Ae.Z(n);e.attach({36064:new re.Z(n,{format:(0,ve.D0)(n)?34836:6408,type:5126})}),this.depthFBO=e}null===(e=this.pickingFBO)||void 0===e||e.resize({width:n.canvas.width,height:n.canvas.height}),null===(t=this.depthFBO)||void 0===t||t.resize({width:n.canvas.width,height:n.canvas.height})}_getPickable(e){if(!1===this._pickable)return null;const t=e.filter((e=>this.pickLayersPass.shouldDrawLayer(e)&&!e.isComposite));return t.length?t:null}_pickClosestObject(e){let{layers:t,views:n,viewports:r,x:i,y:o,radius:a=0,depth:s=1,mode:l="query",unproject3D:c,onViewportActive:u,effects:d}=e;const h=this._getPickable(t),f=(0,ve.w)(this.gl);if(!h)return{result:[],emptyInfo:Ze({viewports:r,x:i,y:o,pixelRatio:f})};this._resizeBuffer();const p=(0,ve.JY)(this.gl,[i,o],!0),g=[p.x+Math.floor(p.width/2),p.y+Math.floor(p.height/2)],m=Math.round(a*f),{width:A,height:v}=this.pickingFBO,y=this._getPickingRect({deviceX:g[0],deviceY:g[1],deviceRadius:m,deviceWidth:A,deviceHeight:v}),b={x:i-a,y:o-a,width:2*a+1,height:2*a+1};let _;const w=[],x=new Set;for(let E=0;E=0){const e=t.slice(i,i+4),o=e.join(",");if(!r.has(o)){const t=n(e);t?r.set(o,{...t,color:e}):l.Z.error("Picked non-existent layer. Is picking buffer corrupt?")()}}return Array.from(r.values())}(this._drawAndSample({layers:f,views:n,viewports:r,onViewportActive:d,deviceRect:_,cullRect:{x:i,y:o,width:a,height:s},effects:h,pass:"picking:".concat(c)})),x=new Map,E=Number.isFinite(u);for(let l=0;l=u);l++){const e=w[l];let t={color:e.pickedColor,layer:null,index:e.pickedObjectIndex,picked:!0,x:i,y:o,pixelRatio:p};t=He({layer:e.pickedLayer,info:t,mode:c}),x.has(t.object)||x.set(t.object,t)}return Array.from(x.values())}_drawAndSample(e){let{layers:t,views:n,viewports:r,onViewportActive:i,deviceRect:o,cullRect:a,effects:s,pass:l}=e,c=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const u=c?this.depthFBO:this.pickingFBO,d={layers:t,layerFilter:this.layerFilter,views:n,viewports:r,onViewportActive:i,pickingFBO:u,deviceRect:o,cullRect:a,effects:s,pass:l,pickZ:c,preRenderStats:{}};for(const v of s)v.useInPicking&&(d.preRenderStats[v.id]=v.preRender(this.gl,d));const{decodePickingColor:h}=this.pickLayersPass.render(d),{x:f,y:p,width:g,height:m}=o,A=new(c?Float32Array:Uint8Array)(g*m*4);return(0,je.z6)(u,{sourceX:f,sourceY:p,sourceWidth:g,sourceHeight:m,target:A}),{pickedColors:A,decodePickingColor:h}}_getPickingRect(e){let{deviceX:t,deviceY:n,deviceRadius:r,deviceWidth:i,deviceHeight:o}=e;const a=Math.max(0,t-r),s=Math.max(0,n-r),l=Math.min(i,t+r+1)-a,c=Math.min(o,n+r+1)-s;return l<=0||c<=0?null:{x:a,y:s,width:l,height:c}}}const Ge={zIndex:"1",position:"absolute",pointerEvents:"none",color:"#a0a7b4",backgroundColor:"#29323c",padding:"10px",top:"0",left:"0",display:"none"};class We{constructor(e){(0,r.Z)(this,"el",null),(0,r.Z)(this,"isVisible",!1);const t=e.parentElement;t&&(this.el=document.createElement("div"),this.el.className="deck-tooltip",Object.assign(this.el.style,Ge),t.appendChild(this.el))}setTooltip(e,t,n){const r=this.el;if(r){if("string"===typeof e)r.innerText=e;else{if(!e)return this.isVisible=!1,void(r.style.display="none");e.text&&(r.innerText=e.text),e.html&&(r.innerHTML=e.html),e.className&&(r.className=e.className),Object.assign(r.style,e.style)}this.isVisible=!0,r.style.display="block",r.style.transform="translate(".concat(t,"px, ").concat(n,"px)")}}remove(){this.el&&(this.el.remove(),this.el=null)}}var qe=n(10468),Ye=n(44219);var Xe=n(69088),Ke=n(69113);const{_parseImageNode:Qe}=globalThis,$e="undefined"!==typeof Image,Je="undefined"!==typeof ImageBitmap,et=Boolean(Qe),tt=!!Ke.jU||et;function nt(e){const t=it(e);if(!t)throw new Error("Not an image");return t}function rt(e){switch(nt(e)){case"data":return e;case"image":case"imagebitmap":const t=document.createElement("canvas"),n=t.getContext("2d");if(!n)throw new Error("getImageData");return t.width=e.width,t.height=e.height,n.drawImage(e,0,0),n.getImageData(0,0,e.width,e.height);default:throw new Error("getImageData")}}function it(e){return"undefined"!==typeof ImageBitmap&&e instanceof ImageBitmap?"imagebitmap":"undefined"!==typeof Image&&e instanceof Image?"image":e&&"object"===typeof e&&e.data&&e.width&&e.height?"data":null}const ot=/^data:image\/svg\+xml/,at=/\.svg((\?|#).*)?$/;function st(e){return e&&(ot.test(e)||at.test(e))}function lt(e,t){if(st(t))throw new Error("SVG cannot be parsed directly to imagebitmap");return new Blob([new Uint8Array(e)])}async function ct(e,t,n){const r=function(e,t){if(st(t)){let t=(new TextDecoder).decode(e);try{"function"===typeof unescape&&"function"===typeof encodeURIComponent&&(t=unescape(encodeURIComponent(t)))}catch(n){throw new Error(n.message)}return"data:image/svg+xml;base64,".concat(btoa(t))}return lt(e,t)}(e,n),i=self.URL||self.webkitURL,o="string"!==typeof r&&i.createObjectURL(r);try{return await async function(e,t){const n=new Image;if(n.src=e,t.image&&t.image.decode&&n.decode)return await n.decode(),n;return await new Promise(((t,r)=>{try{n.onload=()=>t(n),n.onerror=t=>r(new Error("Could not load image ".concat(e,": ").concat(t)))}catch(i){r(i)}}))}(o||r,t)}finally{o&&i.revokeObjectURL(o)}}const ut={};let dt=!0;async function ht(e,t,n){let r;if(st(n)){r=await ct(e,t,n)}else r=lt(e,n);const i=t&&t.imagebitmap;return await async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;!function(e){for(const t in e||ut)return!1;return!0}(t)&&dt||(t=null);if(t)try{return await createImageBitmap(e,t)}catch(n){console.warn(n),dt=!1}return await createImageBitmap(e)}(r,i)}const ft=!1,pt=!0;function gt(e){const t=mt(e);return function(e){const t=mt(e),n=t.byteLength>=24&&2303741511===t.getUint32(0,ft);if(!n)return null;return{mimeType:"image/png",width:t.getUint32(16,ft),height:t.getUint32(20,ft)}}(t)||function(e){const t=mt(e),n=t.byteLength>=3&&65496===t.getUint16(0,ft)&&255===t.getUint8(2);if(!n)return null;const{tableMarkers:r,sofMarkers:i}=function(){const e=new Set([65499,65476,65484,65501,65534]);for(let n=65504;n<65520;++n)e.add(n);const t=new Set([65472,65473,65474,65475,65477,65478,65479,65481,65482,65483,65485,65486,65487,65502]);return{tableMarkers:e,sofMarkers:t}}();let o=2;for(;o+9=10&&1195984440===t.getUint32(0,ft);if(!n)return null;return{mimeType:"image/gif",width:t.getUint16(6,pt),height:t.getUint16(8,pt)}}(t)||function(e){const t=mt(e),n=t.byteLength>=14&&16973===t.getUint16(0,ft)&&t.getUint32(2,pt)===t.byteLength;if(!n)return null;return{mimeType:"image/bmp",width:t.getUint32(18,pt),height:t.getUint32(22,pt)}}(t)}function mt(e){if(e instanceof DataView)return e;if(ArrayBuffer.isView(e))return new DataView(e.buffer);if(e instanceof ArrayBuffer)return new DataView(e);throw new Error("toDataView")}const At={id:"image",module:"images",name:"Images",version:"3.3.3",mimeTypes:["image/png","image/jpeg","image/gif","image/webp","image/bmp","image/vnd.microsoft.icon","image/svg+xml"],extensions:["png","jpg","jpeg","gif","webp","bmp","ico","svg"],parse:async function(e,t,n){const r=((t=t||{}).image||{}).type||"auto",{url:i}=n||{};let o;switch(function(e){switch(e){case"auto":case"data":return function(){if(Je)return"imagebitmap";if($e)return"image";if(tt)return"data";throw new Error("Install '@loaders.gl/polyfills' to parse images under Node.js")}();default:return function(e){switch(e){case"auto":return Je||$e||tt;case"imagebitmap":return Je;case"image":return $e;case"data":return tt;default:throw new Error("@loaders.gl/images: image ".concat(e," not supported in this environment"))}}(e),e}}(r)){case"imagebitmap":o=await ht(e,t,i);break;case"image":o=await ct(e,t,i);break;case"data":o=await async function(e,t){const{mimeType:n}=gt(e)||{},r=globalThis._parseImageNode;return(0,Xe.h)(r),await r(e,n)}(e);break;default:(0,Xe.h)(!1)}return"data"===r&&(o=rt(o)),o},tests:[e=>Boolean(gt(new DataView(e)))],options:{image:{type:"auto",decode:!0}}};const vt={id:"JSON",name:"JSON",module:"",version:"",options:{},extensions:["json","geojson"],mimeTypes:["application/json","application/geo+json"],testText:function(e){const t=e[0],n=e[e.length-1];return"{"===t&&"}"===n||"["===t&&"]"===n},parseTextSync:JSON.parse};const yt=function(){const e="8.9.7",t=globalThis.deck&&globalThis.deck.VERSION;if(t&&t!==e)throw new Error("deck.gl - multiple versions detected: ".concat(t," vs ").concat(e));return t||(l.Z.log(1,"deck.gl ".concat(e))(),globalThis.deck={...globalThis.deck,VERSION:e,version:e,log:l.Z,_registerLoggers:c.z},(0,Ye.fh)([vt,[At,{imagebitmap:{premultiplyAlpha:"none"}}]])),e}();var bt=n(21748),_t=n(53886),wt=n(59661),xt=n(1112),Et=n(6509),St=n(87966);class Ct extends xt.Z{get[Symbol.toStringTag](){return"Query"}static isSupported(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=(0,ve.D0)(e),r=(0,Et.ag)(e,St.h.TIMER_QUERY);let i=n||r;for(const o of t)switch(o){case"queries":i=i&&n;break;case"timers":i=i&&r;break;default:(0,wt.h)(!1)}return i}constructor(e){super(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),this.target=null,this._queryPending=!1,this._pollingPromise=null,Object.seal(this)}beginTimeElapsedQuery(){return this.begin(35007)}beginOcclusionQuery(){let{conservative:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.begin(e?36202:35887)}beginTransformFeedbackQuery(){return this.begin(35976)}begin(e){return this._queryPending||(this.target=e,this.gl2.beginQuery(this.target,this.handle)),this}end(){return this._queryPending||this.target&&(this.gl2.endQuery(this.target),this.target=null,this._queryPending=!0),this}isResultAvailable(){if(!this._queryPending)return!1;const e=this.gl2.getQueryParameter(this.handle,34919);return e&&(this._queryPending=!1),e}isTimerDisjoint(){return this.gl2.getParameter(36795)}getResult(){return this.gl2.getQueryParameter(this.handle,34918)}getTimerMilliseconds(){return this.getResult()/1e6}createPoll(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;if(this._pollingPromise)return this._pollingPromise;let t=0;return this._pollingPromise=new Promise(((n,r)=>{const i=()=>{this.isResultAvailable()?(n(this.getResult()),this._pollingPromise=null):t++>e?(r("Timed out"),this._pollingPromise=null):requestAnimationFrame(i)};requestAnimationFrame(i)})),this._pollingPromise}_createHandle(){return Ct.isSupported(this.gl)?this.gl2.createQuery():null}_deleteHandle(){this.gl2.deleteQuery(this.handle)}}const Pt=(0,n(89258).Z)()&&"undefined"!==typeof document;let Tt=0;class Mt{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{onCreateContext:t=(e=>(0,ve.s9)(e)),onAddHTML:n=null,onInitialize:r=(()=>{}),onRender:i=(()=>{}),onFinalize:o=(()=>{}),onError:a,gl:s=null,glOptions:l={},debug:c=!1,createFramebuffer:u=!1,autoResizeViewport:d=!0,autoResizeDrawingBuffer:h=!0,stats:f=_t.lR.get("animation-loop-".concat(Tt++))}=e;let{useDevicePixels:p=!0}=e;"useDevicePixelRatio"in e&&(ve.cM.deprecated("useDevicePixelRatio","useDevicePixels")(),p=e.useDevicePixelRatio),this.props={onCreateContext:t,onAddHTML:n,onInitialize:r,onRender:i,onFinalize:o,onError:a,gl:s,glOptions:l,debug:c,createFramebuffer:u},this.gl=s,this.needsRedraw=null,this.timeline=null,this.stats=f,this.cpuTime=this.stats.get("CPU Time"),this.gpuTime=this.stats.get("GPU Time"),this.frameRate=this.stats.get("Frame Rate"),this._initialized=!1,this._running=!1,this._animationFrameId=null,this._nextFramePromise=null,this._resolveNextFrame=null,this._cpuStartTime=0,this.setProps({autoResizeViewport:d,autoResizeDrawingBuffer:h,useDevicePixels:p}),this.start=this.start.bind(this),this.stop=this.stop.bind(this),this._pageLoadPromise=null,this._onMousemove=this._onMousemove.bind(this),this._onMouseleave=this._onMouseleave.bind(this)}delete(){this.stop(),this._setDisplay(null)}setNeedsRedraw(e){return(0,wt.h)("string"===typeof e),this.needsRedraw=this.needsRedraw||e,this}setProps(e){return"autoResizeViewport"in e&&(this.autoResizeViewport=e.autoResizeViewport),"autoResizeDrawingBuffer"in e&&(this.autoResizeDrawingBuffer=e.autoResizeDrawingBuffer),"useDevicePixels"in e&&(this.useDevicePixels=e.useDevicePixels),this}start(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this._running)return this;this._running=!0;const t=this._getPageLoadPromise().then((()=>!this._running||this._initialized?null:(this._createWebGLContext(e),this._createFramebuffer(),this._startEventHandling(),this._initializeCallbackData(),this._updateCallbackData(),this._resizeCanvasDrawingBuffer(),this._resizeViewport(),this._gpuTimeQuery=Ct.isSupported(this.gl,["timers"])?new Ct(this.gl):null,this._initialized=!0,this.onInitialize(this.animationProps)))).then((e=>{this._running&&(this._addCallbackData(e||{}),!1!==e&&this._startLoop())}));return this.props.onError&&t.catch(this.props.onError),this}redraw(){return this.isContextLost()||(this._beginTimers(),this._setupFrame(),this._updateCallbackData(),this._renderFrame(this.animationProps),this._clearNeedsRedraw(),this.offScreen&&this.gl.commit&&this.gl.commit(),this._resolveNextFrame&&(this._resolveNextFrame(this),this._nextFramePromise=null,this._resolveNextFrame=null),this._endTimers()),this}stop(){return this._running&&(this._finalizeCallbackData(),this._cancelAnimationFrame(this._animationFrameId),this._nextFramePromise=null,this._resolveNextFrame=null,this._animationFrameId=null,this._running=!1),this}attachTimeline(e){return this.timeline=e,this.timeline}detachTimeline(){this.timeline=null}waitForRender(){return this.setNeedsRedraw("waitForRender"),this._nextFramePromise||(this._nextFramePromise=new Promise((e=>{this._resolveNextFrame=e}))),this._nextFramePromise}async toDataURL(){return this.setNeedsRedraw("toDataURL"),await this.waitForRender(),this.gl.canvas.toDataURL()}isContextLost(){return this.gl.isContextLost()}onCreateContext(){return this.props.onCreateContext(...arguments)}onInitialize(){return this.props.onInitialize(...arguments)}onRender(){return this.props.onRender(...arguments)}onFinalize(){return this.props.onFinalize(...arguments)}getHTMLControlValue(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=document.getElementById(e);return n?Number(n.value):t}setViewParameters(){return ve.cM.removed("AnimationLoop.setViewParameters","AnimationLoop.setProps")(),this}_startLoop(){const e=()=>{this._running&&(this.redraw(),this._animationFrameId=this._requestAnimationFrame(e))};this._cancelAnimationFrame(this._animationFrameId),this._animationFrameId=this._requestAnimationFrame(e)}_getPageLoadPromise(){return this._pageLoadPromise||(this._pageLoadPromise=Pt?new Promise(((e,t)=>{Pt&&"complete"===document.readyState?e(document):window.addEventListener("load",(()=>{e(document)}))})):Promise.resolve({})),this._pageLoadPromise}_setDisplay(e){this.display&&(this.display.delete(),this.display.animationLoop=null),e&&(e.animationLoop=this),this.display=e}_cancelAnimationFrame(e){return this.display&&this.display.cancelAnimationFrame?this.display.cancelAnimationFrame(e):(t=e,"undefined"!==typeof window&&window.cancelAnimationFrame?window.cancelAnimationFrame(t):clearTimeout(t));var t}_requestAnimationFrame(e){if(this._running)return this.display&&this.display.requestAnimationFrame?this.display.requestAnimationFrame(e):(t=e,"undefined"!==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame(t):setTimeout(t,1e3/60));var t}_renderFrame(){this.display?this.display._renderFrame(...arguments):this.onRender(...arguments)}_clearNeedsRedraw(){this.needsRedraw=null}_setupFrame(){this._resizeCanvasDrawingBuffer(),this._resizeViewport(),this._resizeFramebuffer()}_initializeCallbackData(){this.animationProps={gl:this.gl,stop:this.stop,canvas:this.gl.canvas,framebuffer:this.framebuffer,useDevicePixels:this.useDevicePixels,needsRedraw:null,startTime:Date.now(),engineTime:0,tick:0,tock:0,time:0,_timeline:this.timeline,_loop:this,_animationLoop:this,_mousePosition:null}}_updateCallbackData(){const{width:e,height:t,aspect:n}=this._getSizeAndAspect();e===this.animationProps.width&&t===this.animationProps.height||this.setNeedsRedraw("drawing buffer resized"),n!==this.animationProps.aspect&&this.setNeedsRedraw("drawing buffer aspect changed"),this.animationProps.width=e,this.animationProps.height=t,this.animationProps.aspect=n,this.animationProps.needsRedraw=this.needsRedraw,this.animationProps.engineTime=Date.now()-this.animationProps.startTime,this.timeline&&this.timeline.update(this.animationProps.engineTime),this.animationProps.tick=Math.floor(this.animationProps.time/1e3*60),this.animationProps.tock++,this.animationProps.time=this.timeline?this.timeline.getTime():this.animationProps.engineTime,this.animationProps._offScreen=this.offScreen}_finalizeCallbackData(){this.onFinalize(this.animationProps)}_addCallbackData(e){"object"===typeof e&&null!==e&&(this.animationProps=Object.assign({},this.animationProps,e))}_createWebGLContext(e){if(this.offScreen=e.canvas&&"undefined"!==typeof OffscreenCanvas&&e.canvas instanceof OffscreenCanvas,e=Object.assign({},e,this.props.glOptions),this.gl=this.props.gl?(0,ve.yW)(this.props.gl,e):this.onCreateContext(e),!(0,ve.UF)(this.gl))throw new Error("AnimationLoop.onCreateContext - illegal context returned");(0,ve.kL)(this.gl),this._createInfoDiv()}_createInfoDiv(){if(this.gl.canvas&&this.props.onAddHTML){const e=document.createElement("div");document.body.appendChild(e),e.style.position="relative";const t=document.createElement("div");t.style.position="absolute",t.style.left="10px",t.style.bottom="10px",t.style.width="300px",t.style.background="white",e.appendChild(this.gl.canvas),e.appendChild(t);const n=this.props.onAddHTML(t);n&&(t.innerHTML=n)}}_getSizeAndAspect(){const e=this.gl.drawingBufferWidth,t=this.gl.drawingBufferHeight;let n=1;const{canvas:r}=this.gl;return r&&r.clientHeight?n=r.clientWidth/r.clientHeight:e>0&&t>0&&(n=e/t),{width:e,height:t,aspect:n}}_resizeViewport(){this.autoResizeViewport&&this.gl.viewport(0,0,this.gl.drawingBufferWidth,this.gl.drawingBufferHeight)}_resizeCanvasDrawingBuffer(){this.autoResizeDrawingBuffer&&(0,ve.aQ)(this.gl,{useDevicePixels:this.useDevicePixels})}_createFramebuffer(){this.props.createFramebuffer&&(this.framebuffer=new Ae.Z(this.gl))}_resizeFramebuffer(){this.framebuffer&&this.framebuffer.resize({width:this.gl.drawingBufferWidth,height:this.gl.drawingBufferHeight})}_beginTimers(){this.frameRate.timeEnd(),this.frameRate.timeStart(),this._gpuTimeQuery&&this._gpuTimeQuery.isResultAvailable()&&!this._gpuTimeQuery.isTimerDisjoint()&&this.stats.get("GPU Time").addTime(this._gpuTimeQuery.getTimerMilliseconds()),this._gpuTimeQuery&&this._gpuTimeQuery.beginTimeElapsedQuery(),this.cpuTime.timeStart()}_endTimers(){this.cpuTime.timeEnd(),this._gpuTimeQuery&&this._gpuTimeQuery.end()}_startEventHandling(){const{canvas:e}=this.gl;e&&(e.addEventListener("mousemove",this._onMousemove),e.addEventListener("mouseleave",this._onMouseleave))}_onMousemove(e){this.animationProps._mousePosition=[e.offsetX,e.offsetY]}_onMouseleave(e){this.animationProps._mousePosition=null}}var kt=n(37283);const Rt={mousedown:1,mousemove:2,mouseup:4};!function(e){const t=e.prototype.handler;e.prototype.handler=function(e){const n=this.store;e.button>0&&"pointerdown"===e.type&&(function(e,t){for(let n=0;nt.pointerId===e.pointerId))||n.push(e)),t.call(this,e)}}(kt.PointerEventInput),kt.MouseInput.prototype.handler=function(e){let t=Rt[e.type];1&t&&e.button>=0&&(this.pressed=!0),2&t&&0===e.which&&(t=4),this.pressed&&(4&t&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:"mouse",srcEvent:e}))};const Ot=kt.Manager,It=kt;class Lt{constructor(e,t,n){this.element=e,this.callback=t,this.options={enable:!0,...n}}}const Dt=It?[[It.Pan,{event:"tripan",pointers:3,threshold:0,enable:!1}],[It.Rotate,{enable:!1}],[It.Pinch,{enable:!1}],[It.Swipe,{enable:!1}],[It.Pan,{threshold:0,enable:!1}],[It.Press,{enable:!1}],[It.Tap,{event:"doubletap",taps:2,enable:!1}],[It.Tap,{event:"anytap",enable:!1}],[It.Tap,{enable:!1}]]:null,Nt={tripan:["rotate","pinch","pan"],rotate:["pinch"],pinch:["pan"],pan:["press","doubletap","anytap","tap"],doubletap:["anytap"],anytap:["tap"]},Ft={doubletap:["tap"]},jt={pointerdown:"pointerdown",pointermove:"pointermove",pointerup:"pointerup",touchstart:"pointerdown",touchmove:"pointermove",touchend:"pointerup",mousedown:"pointerdown",mousemove:"pointermove",mouseup:"pointerup"},Bt={KEY_EVENTS:["keydown","keyup"],MOUSE_EVENTS:["mousedown","mousemove","mouseup","mouseover","mouseout","mouseleave"],WHEEL_EVENTS:["wheel","mousewheel"]},zt={tap:"tap",anytap:"anytap",doubletap:"doubletap",press:"press",pinch:"pinch",pinchin:"pinch",pinchout:"pinch",pinchstart:"pinch",pinchmove:"pinch",pinchend:"pinch",pinchcancel:"pinch",rotate:"rotate",rotatestart:"rotate",rotatemove:"rotate",rotateend:"rotate",rotatecancel:"rotate",tripan:"tripan",tripanstart:"tripan",tripanmove:"tripan",tripanup:"tripan",tripandown:"tripan",tripanleft:"tripan",tripanright:"tripan",tripanend:"tripan",tripancancel:"tripan",pan:"pan",panstart:"pan",panmove:"pan",panup:"pan",pandown:"pan",panleft:"pan",panright:"pan",panend:"pan",pancancel:"pan",swipe:"swipe",swipeleft:"swipe",swiperight:"swipe",swipeup:"swipe",swipedown:"swipe"},Zt={click:"tap",anyclick:"anytap",dblclick:"doubletap",mousedown:"pointerdown",mousemove:"pointermove",mouseup:"pointerup",mouseover:"pointerover",mouseout:"pointerout",mouseleave:"pointerleave"},Ut="undefined"!==typeof navigator&&navigator.userAgent?navigator.userAgent.toLowerCase():"",Ht="undefined"!==typeof window?window:n.g;"undefined"!==typeof n.g?n.g:window,"undefined"!==typeof document&&document;let Vt=!1;try{const e={get passive(){return Vt=!0,!0}};Ht.addEventListener("test",null,e),Ht.removeEventListener("test",null)}catch(bn){Vt=!1}const Gt=-1!==Ut.indexOf("firefox"),{WHEEL_EVENTS:Wt}=Bt,qt="wheel",Yt=4.000244140625;class Xt extends Lt{constructor(e,t,n){super(e,t,n),this.handleEvent=e=>{if(!this.options.enable)return;let t=e.deltaY;Ht.WheelEvent&&(Gt&&e.deltaMode===Ht.WheelEvent.DOM_DELTA_PIXEL&&(t/=Ht.devicePixelRatio),e.deltaMode===Ht.WheelEvent.DOM_DELTA_LINE&&(t*=40)),0!==t&&t%Yt===0&&(t=Math.floor(t/Yt)),e.shiftKey&&t&&(t*=.25),this.callback({type:qt,center:{x:e.clientX,y:e.clientY},delta:-t,srcEvent:e,pointerType:"mouse",target:e.target})},this.events=(this.options.events||[]).concat(Wt),this.events.forEach((t=>e.addEventListener(t,this.handleEvent,!!Vt&&{passive:!1})))}destroy(){this.events.forEach((e=>this.element.removeEventListener(e,this.handleEvent)))}enableEventType(e,t){e===qt&&(this.options.enable=t)}}const{MOUSE_EVENTS:Kt}=Bt,Qt="pointermove",$t="pointerover",Jt="pointerout",en="pointerenter",tn="pointerleave";class nn extends Lt{constructor(e,t,n){super(e,t,n),this.handleEvent=e=>{this.handleOverEvent(e),this.handleOutEvent(e),this.handleEnterEvent(e),this.handleLeaveEvent(e),this.handleMoveEvent(e)},this.pressed=!1;const{enable:r}=this.options;this.enableMoveEvent=r,this.enableLeaveEvent=r,this.enableEnterEvent=r,this.enableOutEvent=r,this.enableOverEvent=r,this.events=(this.options.events||[]).concat(Kt),this.events.forEach((t=>e.addEventListener(t,this.handleEvent)))}destroy(){this.events.forEach((e=>this.element.removeEventListener(e,this.handleEvent)))}enableEventType(e,t){e===Qt&&(this.enableMoveEvent=t),e===$t&&(this.enableOverEvent=t),e===Jt&&(this.enableOutEvent=t),e===en&&(this.enableEnterEvent=t),e===tn&&(this.enableLeaveEvent=t)}handleOverEvent(e){this.enableOverEvent&&"mouseover"===e.type&&this._emit($t,e)}handleOutEvent(e){this.enableOutEvent&&"mouseout"===e.type&&this._emit(Jt,e)}handleEnterEvent(e){this.enableEnterEvent&&"mouseenter"===e.type&&this._emit(en,e)}handleLeaveEvent(e){this.enableLeaveEvent&&"mouseleave"===e.type&&this._emit(tn,e)}handleMoveEvent(e){if(this.enableMoveEvent)switch(e.type){case"mousedown":e.button>=0&&(this.pressed=!0);break;case"mousemove":0===e.which&&(this.pressed=!1),this.pressed||this._emit(Qt,e);break;case"mouseup":this.pressed=!1}}_emit(e,t){this.callback({type:e,center:{x:t.clientX,y:t.clientY},srcEvent:t,pointerType:"mouse",target:t.target})}}const{KEY_EVENTS:rn}=Bt,on="keydown",an="keyup";class sn extends Lt{constructor(e,t,n){super(e,t,n),this.handleEvent=e=>{const t=e.target||e.srcElement;"INPUT"===t.tagName&&"text"===t.type||"TEXTAREA"===t.tagName||(this.enableDownEvent&&"keydown"===e.type&&this.callback({type:on,srcEvent:e,key:e.key,target:e.target}),this.enableUpEvent&&"keyup"===e.type&&this.callback({type:an,srcEvent:e,key:e.key,target:e.target}))},this.enableDownEvent=this.options.enable,this.enableUpEvent=this.options.enable,this.events=(this.options.events||[]).concat(rn),e.tabIndex=this.options.tabIndex||0,e.style.outline="none",this.events.forEach((t=>e.addEventListener(t,this.handleEvent)))}destroy(){this.events.forEach((e=>this.element.removeEventListener(e,this.handleEvent)))}enableEventType(e,t){e===on&&(this.enableDownEvent=t),e===an&&(this.enableUpEvent=t)}}const ln="contextmenu";class cn extends Lt{constructor(e,t,n){super(e,t,n),this.handleEvent=e=>{this.options.enable&&this.callback({type:ln,center:{x:e.clientX,y:e.clientY},srcEvent:e,pointerType:"mouse",target:e.target})},e.addEventListener("contextmenu",this.handleEvent)}destroy(){this.element.removeEventListener("contextmenu",this.handleEvent)}enableEventType(e,t){e===ln&&(this.options.enable=t)}}const un={pointerdown:1,pointermove:2,pointerup:4,mousedown:1,mousemove:2,mouseup:4};function dn(e){const t=un[e.srcEvent.type];if(!t)return null;const{buttons:n,button:r,which:i}=e.srcEvent;let o=!1,a=!1,s=!1;return 4===t||2===t&&!Number.isFinite(n)?(o=1===i,a=2===i,s=3===i):2===t?(o=Boolean(1&n),a=Boolean(4&n),s=Boolean(2&n)):1===t&&(o=0===r,a=1===r,s=2===r),{leftButton:o,middleButton:a,rightButton:s}}function hn(e,t){const n=e.center;if(!n)return null;const r=t.getBoundingClientRect(),i=r.width/t.offsetWidth||1,o=r.height/t.offsetHeight||1;return{center:n,offsetCenter:{x:(n.x-r.left-t.clientLeft)/i,y:(n.y-r.top-t.clientTop)/o}}}const fn={srcElement:"root",priority:0};class pn{constructor(e){this.handleEvent=e=>{if(this.isEmpty())return;const t=this._normalizeEvent(e);let n=e.srcEvent.target;for(;n&&n!==t.rootElement;){if(this._emit(t,n),t.handled)return;n=n.parentNode}this._emit(t,"root")},this.eventManager=e,this.handlers=[],this.handlersByElement=new Map,this._active=!1}isEmpty(){return!this._active}add(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];const{handlers:o,handlersByElement:a}=this;let s=fn;"string"===typeof n||n&&n.addEventListener?s={...fn,srcElement:n}:n&&(s={...fn,...n});let l=a.get(s.srcElement);l||(l=[],a.set(s.srcElement,l));const c={type:e,handler:t,srcElement:s.srcElement,priority:s.priority};r&&(c.once=!0),i&&(c.passive=!0),o.push(c),this._active=this._active||!c.passive;let u=l.length-1;for(;u>=0&&!(l[u].priority>=c.priority);)u--;l.splice(u+1,0,c)}remove(e,t){const{handlers:n,handlersByElement:r}=this;for(let i=n.length-1;i>=0;i--){const o=n[i];if(o.type===e&&o.handler===t){n.splice(i,1);const e=r.get(o.srcElement);e.splice(e.indexOf(o),1),0===e.length&&r.delete(o.srcElement)}}this._active=n.some((e=>!e.passive))}_emit(e,t){const n=this.handlersByElement.get(t);if(n){let t=!1;const r=()=>{e.handled=!0},i=()=>{e.handled=!0,t=!0},o=[];for(let a=0;a{e.srcEvent.preventDefault()},stopImmediatePropagation:null,stopPropagation:null,handled:!1,rootElement:t}}}const gn={events:null,recognizers:null,recognizerOptions:{},Manager:Ot,touchAction:"none",tabIndex:0};class mn{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;this._onBasicInput=e=>{const{srcEvent:t}=e,n=jt[t.type];n&&this.manager.emit(n,e)},this._onOtherEvent=e=>{this.manager.emit(e.type,e)},this.options={...gn,...t},this.events=new Map,this.setElement(e);const{events:n}=this.options;n&&this.on(n)}getElement(){return this.element}setElement(e){if(this.element&&this.destroy(),this.element=e,!e)return;const{options:t}=this,n=t.Manager;this.manager=new n(e,{touchAction:t.touchAction,recognizers:t.recognizers||Dt}).on("hammer.input",this._onBasicInput),t.recognizers||Object.keys(Nt).forEach((e=>{const t=this.manager.get(e);t&&Nt[e].forEach((e=>{t.recognizeWith(e)}))}));for(const r in t.recognizerOptions){const e=this.manager.get(r);if(e){const n=t.recognizerOptions[r];delete n.enable,e.set(n)}}this.wheelInput=new Xt(e,this._onOtherEvent,{enable:!1}),this.moveInput=new nn(e,this._onOtherEvent,{enable:!1}),this.keyInput=new sn(e,this._onOtherEvent,{enable:!1,tabIndex:t.tabIndex}),this.contextmenuInput=new cn(e,this._onOtherEvent,{enable:!1});for(const[r,i]of this.events)i.isEmpty()||(this._toggleRecognizer(i.recognizerName,!0),this.manager.on(r,i.handleEvent))}destroy(){this.element&&(this.wheelInput.destroy(),this.moveInput.destroy(),this.keyInput.destroy(),this.contextmenuInput.destroy(),this.manager.destroy(),this.wheelInput=null,this.moveInput=null,this.keyInput=null,this.contextmenuInput=null,this.manager=null,this.element=null)}on(e,t,n){this._addEventHandler(e,t,n,!1)}once(e,t,n){this._addEventHandler(e,t,n,!0)}watch(e,t,n){this._addEventHandler(e,t,n,!1,!0)}off(e,t){this._removeEventHandler(e,t)}_toggleRecognizer(e,t){const{manager:n}=this;if(!n)return;const r=n.get(e);if(r&&r.options.enable!==t){r.set({enable:t});const i=Ft[e];i&&!this.options.recognizers&&i.forEach((i=>{const o=n.get(i);t?(o.requireFailure(e),r.dropRequireFailure(i)):o.dropRequireFailure(e)}))}this.wheelInput.enableEventType(e,t),this.moveInput.enableEventType(e,t),this.keyInput.enableEventType(e,t),this.contextmenuInput.enableEventType(e,t)}_addEventHandler(e,t,n,r,i){if("string"!==typeof e){n=t;for(const t in e)this._addEventHandler(t,e[t],n,r,i);return}const{manager:o,events:a}=this,s=Zt[e]||e;let l=a.get(s);l||(l=new pn(this),a.set(s,l),l.recognizerName=zt[s]||s,o&&o.on(s,l.handleEvent)),l.add(e,t,n,r,i),l.isEmpty()||this._toggleRecognizer(l.recognizerName,!0)}_removeEventHandler(e,t){if("string"!==typeof e){for(const t in e)this._removeEventHandler(t,e[t]);return}const{events:n}=this,r=Zt[e]||e,i=n.get(r);if(i&&(i.remove(e,t),i.isEmpty())){const{recognizerName:e}=i;let t=!1;for(const r of n.values())if(r.recognizerName===e&&!r.isEmpty()){t=!0;break}t||this._toggleRecognizer(e,!1)}}}function An(){}const vn={id:"",width:"100%",height:"100%",style:null,viewState:null,initialViewState:null,pickingRadius:0,layerFilter:null,glOptions:{},parameters:{},parent:null,gl:null,canvas:null,layers:[],effects:[],views:null,controller:null,useDevicePixels:!0,touchAction:"none",eventRecognizerOptions:{},_framebuffer:null,_animate:!1,_pickable:!0,_typedArrayManagerProps:{},_customRender:null,onWebGLInitialized:An,onResize:An,onViewStateChange:An,onInteractionStateChange:An,onBeforeRender:An,onAfterRender:An,onLoad:An,onError:e=>l.Z.error(e.message)(),onHover:null,onClick:null,onDragStart:null,onDrag:null,onDragEnd:null,_onMetrics:null,getCursor:e=>{let{isDragging:t}=e;return t?"grabbing":"grab"},getTooltip:null,debug:!1,drawPickingColors:!1};class yn{constructor(e){(0,r.Z)(this,"props",void 0),(0,r.Z)(this,"width",0),(0,r.Z)(this,"height",0),(0,r.Z)(this,"userData",{}),(0,r.Z)(this,"canvas",null),(0,r.Z)(this,"viewManager",null),(0,r.Z)(this,"layerManager",null),(0,r.Z)(this,"effectManager",null),(0,r.Z)(this,"deckRenderer",null),(0,r.Z)(this,"deckPicker",null),(0,r.Z)(this,"eventManager",null),(0,r.Z)(this,"tooltip",null),(0,r.Z)(this,"metrics",void 0),(0,r.Z)(this,"animationLoop",void 0),(0,r.Z)(this,"stats",void 0),(0,r.Z)(this,"viewState",void 0),(0,r.Z)(this,"cursorState",void 0),(0,r.Z)(this,"_needsRedraw",void 0),(0,r.Z)(this,"_pickRequest",void 0),(0,r.Z)(this,"_lastPointerDownInfo",null),(0,r.Z)(this,"_metricsCounter",void 0),(0,r.Z)(this,"_onPointerMove",(e=>{const{_pickRequest:t}=this;if("pointerleave"===e.type)t.x=-1,t.y=-1,t.radius=0;else{if(e.leftButton||e.rightButton)return;{const n=e.offsetCenter;if(!n)return;t.x=n.x,t.y=n.y,t.radius=this.props.pickingRadius}}this.layerManager&&(this.layerManager.context.mousePosition={x:t.x,y:t.y}),t.event=e})),(0,r.Z)(this,"_onEvent",(e=>{const t=be.FP[e.type],n=e.offsetCenter;if(!t||!n||!this.layerManager)return;const r=this.layerManager.getLayers(),i=this.deckPicker.getLastPickedObject({x:n.x,y:n.y,layers:r,viewports:this.getViewports(n)},this._lastPointerDownInfo),{layer:o}=i,a=o&&(o[t.handler]||o.props[t.handler]),s=this.props[t.handler];let l=!1;a&&(l=a.call(o,i,e)),!l&&s&&s(i,e)})),(0,r.Z)(this,"_onPointerDown",(e=>{const t=e.offsetCenter,n=this._pick("pickObject","pickObject Time",{x:t.x,y:t.y,radius:this.props.pickingRadius});this._lastPointerDownInfo=n.result[0]||n.emptyInfo})),this.props={...vn,...e},e=this.props,this._needsRedraw="Initial render",this._pickRequest={mode:"hover",x:-1,y:-1,radius:0,event:null},this.cursorState={isHovering:!1,isDragging:!1},e.viewState&&e.initialViewState&&l.Z.warn("View state tracking is disabled. Use either `initialViewState` for auto update or `viewState` for manual update.")(),"IE"===(0,bt.Z)()&&l.Z.warn("IE 11 is not supported")(),this.viewState=e.initialViewState,e.gl||"undefined"!==typeof document&&(this.canvas=this._createCanvas(e)),this.animationLoop=this._createAnimationLoop(e),this.stats=new d.Z({id:"deck.gl"}),this.metrics={fps:0,setPropsTime:0,updateAttributesTime:0,framesRedrawn:0,pickTime:0,pickCount:0,gpuTime:0,gpuTimePerFrame:0,cpuTime:0,cpuTimePerFrame:0,bufferMemory:0,textureMemory:0,renderbufferMemory:0,gpuMemory:0},this._metricsCounter=0,this.setProps(e),e._typedArrayManagerProps&&qe.Z.setOptions(e._typedArrayManagerProps),this.animationLoop.start()}finalize(){var e,t,n,r,i,o,a,s;(this.animationLoop.stop(),this.animationLoop=null,this._lastPointerDownInfo=null,null===(e=this.layerManager)||void 0===e||e.finalize(),this.layerManager=null,null===(t=this.viewManager)||void 0===t||t.finalize(),this.viewManager=null,null===(n=this.effectManager)||void 0===n||n.finalize(),this.effectManager=null,null===(r=this.deckRenderer)||void 0===r||r.finalize(),this.deckRenderer=null,null===(i=this.deckPicker)||void 0===i||i.finalize(),this.deckPicker=null,null===(o=this.eventManager)||void 0===o||o.destroy(),this.eventManager=null,null===(a=this.tooltip)||void 0===a||a.remove(),this.tooltip=null,this.props.canvas||this.props.gl||!this.canvas)||(null===(s=this.canvas.parentElement)||void 0===s||s.removeChild(this.canvas),this.canvas=null)}setProps(e){this.stats.get("setProps Time").timeStart(),"onLayerHover"in e&&l.Z.removed("onLayerHover","onHover")(),"onLayerClick"in e&&l.Z.removed("onLayerClick","onClick")(),e.initialViewState&&!(0,w.v)(this.props.initialViewState,e.initialViewState,3)&&(this.viewState=e.initialViewState),Object.assign(this.props,e),this._setCanvasSize(this.props);const t=Object.create(this.props);Object.assign(t,{views:this._getViews(),width:this.width,height:this.height,viewState:this._getViewState()}),this.animationLoop.setProps(t),this.layerManager&&(this.viewManager.setProps(t),this.layerManager.activateViewport(this.getViewports()[0]),this.layerManager.setProps(t),this.effectManager.setProps(t),this.deckRenderer.setProps(t),this.deckPicker.setProps(t)),this.stats.get("setProps Time").timeEnd()}needsRedraw(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{clearRedrawFlags:!1};if(!this.layerManager)return!1;if(this.props._animate)return"Deck._animate";let t=this._needsRedraw;e.clearRedrawFlags&&(this._needsRedraw=!1);const n=this.viewManager.needsRedraw(e),r=this.layerManager.needsRedraw(e),i=this.effectManager.needsRedraw(e),o=this.deckRenderer.needsRedraw(e);return t=t||n||r||i||o,t}redraw(e){if(!this.layerManager)return;let t=this.needsRedraw({clearRedrawFlags:!0});t=e||t,t&&(this.stats.get("Redraw Count").incrementCount(),this.props._customRender?this.props._customRender(t):this._drawLayers(t))}get isInitialized(){return null!==this.viewManager}getViews(){return(0,P.Z)(this.viewManager),this.viewManager.views}getViewports(e){return(0,P.Z)(this.viewManager),this.viewManager.getViewports(e)}pickObject(e){const t=this._pick("pickObject","pickObject Time",e).result;return t.length?t[0]:null}pickMultipleObjects(e){return e.depth=e.depth||10,this._pick("pickObject","pickMultipleObjects Time",e).result}pickObjects(e){return this._pick("pickObjects","pickObjects Time",e)}_addResources(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];for(const n in e)this.layerManager.resourceManager.add({resourceId:n,data:e[n],forceUpdate:t})}_removeResources(e){for(const t of e)this.layerManager.resourceManager.remove(t)}_addDefaultEffect(e){this.effectManager.addDefaultEffect(e)}_pick(e,t,n){(0,P.Z)(this.deckPicker);const{stats:r}=this;r.get("Pick Count").incrementCount(),r.get(t).timeStart();const i=this.deckPicker[e]({layers:this.layerManager.getLayers(n),views:this.viewManager.getViews(),viewports:this.getViewports(n),onViewportActive:this.layerManager.activateViewport,effects:this.effectManager.getEffects(),...n});return r.get(t).timeEnd(),i}_createCanvas(e){let t=e.canvas;if("string"===typeof t&&(t=document.getElementById(t),(0,P.Z)(t)),!t){t=document.createElement("canvas"),t.id=e.id||"deckgl-overlay";(e.parent||document.body).appendChild(t)}return Object.assign(t.style,e.style),t}_setCanvasSize(e){if(!this.canvas)return;const{width:t,height:n}=e;if(t||0===t){const e=Number.isFinite(t)?"".concat(t,"px"):t;this.canvas.style.width=e}if(n||0===n){var r;const t=Number.isFinite(n)?"".concat(n,"px"):n;this.canvas.style.position=(null===(r=e.style)||void 0===r?void 0:r.position)||"absolute",this.canvas.style.height=t}}_updateCanvasSize(){const{canvas:e}=this;if(!e)return;const t=e.clientWidth||e.width,n=e.clientHeight||e.height;var r;t===this.width&&n===this.height||(this.width=t,this.height=n,null===(r=this.viewManager)||void 0===r||r.setProps({width:t,height:n}),this.props.onResize({width:t,height:n}))}_createAnimationLoop(e){const{width:t,height:n,gl:r,glOptions:i,debug:o,onError:a,onBeforeRender:s,onAfterRender:l,useDevicePixels:c}=e;return new Mt({width:t,height:n,useDevicePixels:c,autoResizeViewport:!1,gl:r,onCreateContext:e=>(0,ve.s9)({...i,...e,canvas:this.canvas,debug:o,onContextLost:()=>this._onContextLost()}),onInitialize:e=>this._setGLContext(e.gl),onRender:this._onRenderFrame.bind(this),onBeforeRender:s,onAfterRender:l,onError:a})}_getViewState(){return this.props.viewState||this.viewState}_getViews(){let e=this.props.views||[new ne({id:"default-view"})];return e=Array.isArray(e)?e:[e],e.length&&this.props.controller&&(e[0].props.controller=this.props.controller),e}_onContextLost(){const{onError:e}=this.props;this.animationLoop&&e&&e(new Error("WebGL context is lost"))}_pickAndCallback(){const{_pickRequest:e}=this;if(e.event){const{result:n,emptyInfo:r}=this._pick("pickObject","pickObject Time",e);this.cursorState.isHovering=n.length>0;let i=r,o=!1;for(const a of n){var t;i=a,o=(null===(t=a.layer)||void 0===t?void 0:t.onHover(a,e.event))||o}if(!o&&this.props.onHover&&this.props.onHover(i,e.event),this.props.getTooltip&&this.tooltip){const e=this.props.getTooltip(i);this.tooltip.setTooltip(e,i.x,i.y)}e.event=null}}_updateCursor(){const e=this.props.parent||this.canvas;e&&(e.style.cursor=this.props.getCursor(this.cursorState))}_setGLContext(e){if(this.layerManager)return;this.canvas||(this.canvas=e.canvas,(0,ve.yW)(e,{enable:!0,copyState:!0})),this.tooltip=new We(this.canvas),(0,ve.dR)(e,{blend:!0,blendFunc:[770,771,1,771],polygonOffsetFill:!0,depthTest:!0,depthFunc:515}),this.props.onWebGLInitialized(e);const t=new a;t.play(),this.animationLoop.attachTimeline(t),this.eventManager=new mn(this.props.parent||e.canvas,{touchAction:this.props.touchAction,recognizerOptions:this.props.eventRecognizerOptions,events:{pointerdown:this._onPointerDown,pointermove:this._onPointerMove,pointerleave:this._onPointerMove}});for(const r in be.FP)this.eventManager.on(r,this._onEvent);this.viewManager=new x({timeline:t,eventManager:this.eventManager,onViewStateChange:this._onViewStateChange.bind(this),onInteractionStateChange:this._onInteractionStateChange.bind(this),views:this._getViews(),viewState:this._getViewState(),width:this.width,height:this.height});const n=this.viewManager.getViewports()[0];this.layerManager=new _(e,{deck:this,stats:this.stats,viewport:n,timeline:t}),this.effectManager=new Oe,this.deckRenderer=new Fe(e),this.deckPicker=new Ve(e),this.setProps(this.props),this._updateCanvasSize(),this.props.onLoad()}_drawLayers(e,t){const{gl:n}=this.layerManager.context;(0,ve.dR)(n,this.props.parameters),this.props.onBeforeRender({gl:n}),this.deckRenderer.renderLayers({target:this.props._framebuffer,layers:this.layerManager.getLayers(),viewports:this.viewManager.getViewports(),onViewportActive:this.layerManager.activateViewport,views:this.viewManager.getViews(),pass:"screen",effects:this.effectManager.getEffects(),...t}),this.props.onAfterRender({gl:n})}_onRenderFrame(e){this._getFrameStats(),this._metricsCounter++%60===0&&(this._getMetrics(),this.stats.reset(),l.Z.table(4,this.metrics)(),this.props._onMetrics&&this.props._onMetrics(this.metrics)),this._updateCanvasSize(),this._updateCursor(),this.tooltip.isVisible&&this.viewManager.needsRedraw()&&this.tooltip.setTooltip(null),this.layerManager.updateLayers(),this._pickAndCallback(),this.redraw(),this.viewManager&&this.viewManager.updateViewStates()}_onViewStateChange(e){const t=this.props.onViewStateChange(e)||e.viewState;this.viewState&&(this.viewState={...this.viewState,[e.viewId]:t},this.props.viewState||this.viewManager&&this.viewManager.setProps({viewState:this.viewState}))}_onInteractionStateChange(e){this.cursorState.isDragging=e.isDragging||!1,this.props.onInteractionStateChange(e)}_getFrameStats(){const{stats:e}=this;e.get("frameRate").timeEnd(),e.get("frameRate").timeStart();const t=this.animationLoop.stats;e.get("GPU Time").addTime(t.get("GPU Time").lastTiming),e.get("CPU Time").addTime(t.get("CPU Time").lastTiming)}_getMetrics(){const{metrics:e,stats:t}=this;e.fps=t.get("frameRate").getHz(),e.setPropsTime=t.get("setProps Time").time,e.updateAttributesTime=t.get("Update Attributes").time,e.framesRedrawn=t.get("Redraw Count").count,e.pickTime=t.get("pickObject Time").time+t.get("pickMultipleObjects Time").time+t.get("pickObjects Time").time,e.pickCount=t.get("Pick Count").count,e.gpuTime=t.get("GPU Time").time,e.cpuTime=t.get("CPU Time").time,e.gpuTimePerFrame=t.get("GPU Time").getAverageTime(),e.cpuTimePerFrame=t.get("CPU Time").getAverageTime();const n=_t.lR.get("Memory Usage");e.bufferMemory=n.get("Buffer Memory").count,e.textureMemory=n.get("Texture Memory").count,e.renderbufferMemory=n.get("Renderbuffer Memory").count,e.gpuMemory=n.get("GPU Memory").count}}(0,r.Z)(yn,"defaultProps",vn),(0,r.Z)(yn,"VERSION",yt)},44602:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(68185),i=n(63549);class o{static get componentName(){return Object.prototype.hasOwnProperty.call(this,"extensionName")?this.extensionName:""}constructor(e){(0,r.Z)(this,"opts",void 0),e&&(this.opts=e)}equals(e){return this===e||this.constructor===e.constructor&&(0,i.v)(this.opts,e.opts,1)}getShaders(e){return null}getSubLayerProps(e){const{defaultProps:t}=e.constructor,n={updateTriggers:{}};for(const r in t)if(r in this.props){const e=t[r],i=this.props[r];n[r]=i,e&&"accessor"===e.type&&(n.updateTriggers[r]=this.props.updateTriggers[r],"function"===typeof i&&(n[r]=this.getSubLayerAccessor(i)))}return n}initializeState(e,t){}updateState(e,t){}onNeedsRedraw(e){}getNeedsPickingBuffer(e){return!1}draw(e,t){}finalizeState(e,t){}}(0,r.Z)(o,"defaultProps",{}),(0,r.Z)(o,"extensionName","LayerExtension")},53104:(e,t,n)=>{"use strict";n.d(t,{Z:()=>se});var r=n(68185),i=n(98029),o=n(21921),a=n(83063),s=n(30373),l=n(78191);class c extends l.Z{get value(){return this._value}_onUpdate(){const{time:e,settings:{fromValue:t,toValue:n,duration:r,easing:i}}=this,o=i(e/r);this._value=(0,s.t7)(t,n,o)}}const u=1e-5;function d(e,t,n,r,i){const o=t-e;return(n-t)*i+-o*r+o+t}function h(e,t){if(Array.isArray(e)){let n=0;for(let r=0;r0}add(e,t,n,r){const{transitions:i}=this;if(i.has(e)){const n=i.get(e),{value:r=n.settings.fromValue}=n;t=r,this.remove(e)}if(!(r=(0,a.M0)(r)))return;const o=g[r.type];if(!o)return void p.Z.error("unsupported transition type '".concat(r.type,"'"))();const s=new o(this.timeline);s.start({...r,fromValue:t,toValue:n}),i.set(e,s)}remove(e){const{transitions:t}=this;t.has(e)&&(t.get(e).cancel(),t.delete(e))}update(){const e={};for(const[t,n]of this.transitions)n.update(),e[t]=n.value,n.inProgress||this.remove(t);return e}clear(){for(const e of this.transitions.keys())this.remove(e)}}var A=n(98641),v=n(15672);function y(e){if(null===(t=e)||"object"!==typeof t)throw new Error("count(): argument not an object");var t;if("function"===typeof e.count)return e.count();if(Number.isFinite(e.size))return e.size;if(Number.isFinite(e.length))return e.length;if(function(e){return null!==e&&"object"===typeof e&&e.constructor===Object}(e))return Object.keys(e).length;throw new Error("count(): argument not a container")}var b=n(6525),_=n(76195),w=n(37954),x=n(12091);function E(e,t){if(!t)return e;const n={...e,...t};if("defines"in t&&(n.defines={...e.defines,...t.defines}),"modules"in t&&(n.modules=(e.modules||[]).concat(t.modules),t.modules.some((e=>"project64"===e.name)))){const e=n.modules.findIndex((e=>"project32"===e.name));e>=0&&n.modules.splice(e,1)}if("inject"in t)if(e.inject){const r={...e.inject};for(const e in t.inject)r[e]=(r[e]||"")+t.inject[e];n.inject=r}else n.inject=t.inject;return n}var S=n(26651),C=n(5550),P=n(81723),T=n(58034),M=n(1384);const k=[0,0,0];function R(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=t.projectPosition(e);if(n&&t instanceof C.Z){const[n,i,o=0]=e,a=t.getDistanceScales([n,i]);r[2]=o*a.unitsPerMeter[2]}return r}function O(e,t){let{viewport:n,modelMatrix:r,coordinateSystem:o,coordinateOrigin:a,offsetMode:s}=t,[l,c,u=0]=e;switch(r&&([l,c,u]=P.fF([],[l,c,u,1],r)),o){case i.Df.LNGLAT:return R([l,c,u],n,s);case i.Df.LNGLAT_OFFSETS:return R([l+a[0],c+a[1],u+(a[2]||0)],n,s);case i.Df.METER_OFFSETS:return R((0,M.eG)(a,[l,c,u]),n,s);case i.Df.CARTESIAN:default:return n.isGeospatial?[l+a[0],c+a[1],u+a[2]]:n.projectPosition([l,c,u])}}function I(e,t){const{viewport:n,coordinateSystem:r,coordinateOrigin:o,modelMatrix:a,fromCoordinateSystem:s,fromCoordinateOrigin:l}=function(e){const{viewport:t,modelMatrix:n,coordinateOrigin:r}=e;let{coordinateSystem:o,fromCoordinateSystem:a,fromCoordinateOrigin:s}=e;return o===i.Df.DEFAULT&&(o=t.isGeospatial?i.Df.LNGLAT:i.Df.CARTESIAN),void 0===a&&(a=o),void 0===s&&(s=r),{viewport:t,coordinateSystem:o,coordinateOrigin:r,modelMatrix:n,fromCoordinateSystem:a,fromCoordinateOrigin:s}}(t),{autoOffset:c=!0}=t,{geospatialOrigin:u=k,shaderCoordinateOrigin:d=k,offsetMode:h=!1}=c?(0,S.v)(n,r,o):{},f=O(e,{viewport:n,modelMatrix:a,coordinateSystem:s,coordinateOrigin:l,offsetMode:h});if(h){const e=n.projectPosition(u||d);T.lu(f,f,e)}return f}var L=n(10468),D=n(39179),N=n(81786);const F={10241:9987,10240:9729,10242:33071,10243:33071},j={};var B=n(63549);const z={boolean:{validate:(e,t)=>!0,equal:(e,t,n)=>Boolean(e)===Boolean(t)},number:{validate:(e,t)=>Number.isFinite(e)&&(!("max"in t)||e<=t.max)&&(!("min"in t)||e>=t.min)},color:{validate:(e,t)=>t.optional&&!e||H(e)&&(3===e.length||4===e.length),equal:(e,t,n)=>(0,B.v)(e,t,1)},accessor:{validate(e,t){const n=V(e);return"function"===n||n===V(t.value)},equal:(e,t,n)=>"function"===typeof t||(0,B.v)(e,t,1)},array:{validate:(e,t)=>t.optional&&!e||H(e),equal(e,t,n){const{compare:r}=n,i=Number.isInteger(r)?r:r?1:0;return r?(0,B.v)(e,t,i):e===t}},object:{equal(e,t,n){if(n.ignore)return!0;const{compare:r}=n,i=Number.isInteger(r)?r:r?1:0;return r?(0,B.v)(e,t,i):e===t}},function:{validate:(e,t)=>t.optional&&!e||"function"===typeof e,equal:(e,t,n)=>!n.compare&&!1!==n.ignore||e===t},data:{transform:(e,t,n)=>{const{dataTransform:r}=n.props;return r&&e?r(e):e}},image:{transform:(e,t,n)=>{const r=n.context;return r&&r.gl?function(e,t,n){if(t instanceof N.Z)return t;t.constructor&&"Object"!==t.constructor.name&&(t={data:t});let r=null;t.compressed&&(r={10241:t.data.length>1?9985:9729});const i=new N.Z(e,{...t,parameters:{...F,...r,...n}});return j[i.id]=!0,i}(r.gl,e,{...t.parameters,...n.props.textureParameters}):null},release:e=>{var t;(t=e)&&t instanceof N.Z&&j[t.id]&&(t.delete(),delete j[t.id])}}};function Z(e,t){switch(V(t)){case"object":return U(e,t);case"array":return U(e,{type:"array",value:t,compare:!1});case"boolean":return U(e,{type:"boolean",value:t});case"number":return U(e,{type:"number",value:t});case"function":return U(e,{type:"function",value:t,compare:!0});default:return{name:e,type:"unknown",value:t}}}function U(e,t){return"type"in t?{name:e,...z[t.type],...t}:"value"in t?{name:e,type:V(t.value),...t}:{name:e,type:"object",value:t}}function H(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function V(e){return H(e)?"array":null===e?"null":typeof e}const G="_mergedDefaultProps";function W(e,t){let n=G;if(t)for(const i of t){const e=i.constructor;e&&(n+=":".concat(e.extensionName||e.name))}const r=X(e,n);return r||(e[n]=function(e,t){const n=e.prototype;if(!n)return null;const r=Object.getPrototypeOf(e),i=W(r),o=X(e,"defaultProps")||{},a=function(e){const t={},n={},r={};for(const[i,o]of Object.entries(e)){const e=null===o||void 0===o?void 0:o.deprecatedFor;if(e)r[i]=Array.isArray(e)?e:[e];else{const e=Z(i,o);t[i]=e,n[i]=e.value}}return{propTypes:t,defaultProps:n,deprecatedProps:r}}(o),s=Object.assign(Object.create(null),i,a.defaultProps),l=Object.assign(Object.create(null),null===i||void 0===i?void 0:i[v.Wb],a.propTypes),c=Object.assign(Object.create(null),null===i||void 0===i?void 0:i[v.E7],a.deprecatedProps);for(const u of t){const e=W(u.constructor);e&&(Object.assign(s,e),Object.assign(l,e[v.Wb]),Object.assign(c,e[v.E7]))}(function(e,t){const n=function(e){const t=e.componentName;t||p.Z.warn("".concat(e.name,".componentName not specified"))();return t||e.name}(t);Object.defineProperties(e,{id:{writable:!0,value:n}})})(s,e),function(e,t){const n={},r={};for(const i in t){const e=t[i],{name:o,value:a}=e;e.async&&(n[o]=a,r[o]=q(o))}e[v.lY]=n,e[v.fO]={},Object.defineProperties(e,r)}(s,l),function(e,t){for(const n in t)Object.defineProperty(e,n,{enumerable:!1,set(e){const r="".concat(this.id,": ").concat(n);for(const i of t[n])Y(this,i)||(this[i]=e);p.Z.deprecated(r,t[n].join("/"))()}})}(s,c),s[v.Wb]=l,s[v.E7]=c,0!==t.length||Y(e,"_propTypes")||(e._propTypes=l);return s}(e,t||[]))}function q(e){return{enumerable:!0,set(t){"string"===typeof t||t instanceof Promise||(0,D.D0)(t)?this[v.fO][e]=t:this[v.bN][e]=t},get(){if(this[v.bN]){if(e in this[v.bN]){return this[v.bN][e]||this[v.lY][e]}if(e in this[v.fO]){const t=this[v.fm]&&this[v.fm].internalState;if(t&&t.hasAsyncProp(e))return t.getAsyncProp(e)||this[v.lY][e]}}return this[v.lY][e]}}}function Y(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function X(e,t){return Y(e,t)&&e[t]}let K=0;class Q{constructor(){(0,r.Z)(this,"id",void 0),(0,r.Z)(this,"props",void 0),(0,r.Z)(this,"count",void 0);for(var e=arguments.length,t=new Array(e),n=0;n=0;o--){const e=t[o];"extensions"in e&&(n=e.extensions)}const r=W(e.constructor,n),i=Object.create(r);i[v.fm]=e,i[v.fO]={},i[v.bN]={};for(let o=0;o{},this.oldProps=null,this.oldAsyncProps=null}finalize(){for(const e in this.asyncProps){const t=this.asyncProps[e];t&&t.type&&t.type.release&&t.type.release(t.resolvedValue,t.type,this.component)}this.asyncProps={},this.component=null,this.resetOldProps()}getOldProps(){return this.oldAsyncProps||this.oldProps||$}resetOldProps(){this.oldAsyncProps=null,this.oldProps=this.component?this.component.props:null}hasAsyncProp(e){return e in this.asyncProps}getAsyncProp(e){const t=this.asyncProps[e];return t&&t.resolvedValue}isAsyncPropLoading(e){if(e){const t=this.asyncProps[e];return Boolean(t&&t.pendingLoadCount>0&&t.pendingLoadCount!==t.resolvedLoadCount)}for(const t in this.asyncProps)if(this.isAsyncPropLoading(t))return!0;return!1}reloadAsyncProp(e,t){this._watchPromise(e,Promise.resolve(t))}setAsyncProps(e){this.component=e[v.fm]||this.component;const t=e[v.bN]||{},n=e[v.fO]||e,r=e[v.lY]||{};for(const i in t){const e=t[i];this._createAsyncPropData(i,r[i]),this._updateAsyncProp(i,e),t[i]=this.getAsyncProp(i)}for(const i in n){const e=n[i];this._createAsyncPropData(i,r[i]),this._updateAsyncProp(i,e)}}_fetch(e,t){return null}_onResolve(e,t){}_onError(e,t){}_updateAsyncProp(e,t){this._didAsyncInputValueChange(e,t)&&("string"===typeof t&&(t=this._fetch(e,t)),t instanceof Promise?this._watchPromise(e,t):(0,D.D0)(t)?this._resolveAsyncIterable(e,t):this._setPropValue(e,t))}_freezeAsyncOldProps(){if(!this.oldAsyncProps&&this.oldProps){this.oldAsyncProps=Object.create(this.oldProps);for(const e in this.asyncProps)Object.defineProperty(this.oldAsyncProps,e,{enumerable:!0,value:this.oldProps[e]})}}_didAsyncInputValueChange(e,t){const n=this.asyncProps[e];return t!==n.resolvedValue&&t!==n.lastValue&&(n.lastValue=t,!0)}_setPropValue(e,t){this._freezeAsyncOldProps();const n=this.asyncProps[e];n&&(t=this._postProcessValue(n,t),n.resolvedValue=t,n.pendingLoadCount++,n.resolvedLoadCount=n.pendingLoadCount)}_setAsyncPropValue(e,t,n){const r=this.asyncProps[e];r&&n>=r.resolvedLoadCount&&void 0!==t&&(this._freezeAsyncOldProps(),r.resolvedValue=t,r.resolvedLoadCount=n,this.onAsyncPropUpdated(e,t))}_watchPromise(e,t){const n=this.asyncProps[e];if(n){n.pendingLoadCount++;const r=n.pendingLoadCount;t.then((t=>{this.component&&(t=this._postProcessValue(n,t),this._setAsyncPropValue(e,t,r),this._onResolve(e,t))})).catch((t=>{this._onError(e,t)}))}}async _resolveAsyncIterable(e,t){if("data"!==e)return void this._setPropValue(e,t);const n=this.asyncProps[e];if(!n)return;n.pendingLoadCount++;const r=n.pendingLoadCount;let i=[],o=0;for await(const a of t){if(!this.component)return;const{dataTransform:t}=this.component.props;i=t?t(a,i):i.concat(a),Object.defineProperty(i,"__diff",{enumerable:!1,value:[{startRow:o,endRow:i.length}]}),o=i.length,this._setAsyncPropValue(e,i,r)}this._onResolve(e,i)}_postProcessValue(e,t){const n=e.type;return n&&this.component&&(n.release&&n.release(e.resolvedValue,n,this.component),n.transform)?n.transform(t,n,this.component):t}_createAsyncPropData(e,t){if(!this.asyncProps[e]){const n=this.component&&this.component.props[v.Wb];this.asyncProps[e]={type:n&&n[e],lastValue:null,resolvedValue:t,pendingLoadCount:0,resolvedLoadCount:0}}}}class ee extends J{constructor(e){let{attributeManager:t,layer:n}=e;super(n),(0,r.Z)(this,"attributeManager",void 0),(0,r.Z)(this,"needsRedraw",void 0),(0,r.Z)(this,"needsUpdate",void 0),(0,r.Z)(this,"subLayers",void 0),(0,r.Z)(this,"usesPickingColorCache",void 0),(0,r.Z)(this,"hasPickingBuffer",void 0),(0,r.Z)(this,"changeFlags",void 0),(0,r.Z)(this,"viewport",void 0),(0,r.Z)(this,"uniformTransitions",void 0),(0,r.Z)(this,"propsInTransition",void 0),this.attributeManager=t,this.needsRedraw=!0,this.needsUpdate=!0,this.subLayers=null,this.usesPickingColorCache=!1}get layer(){return this.component}_fetch(e,t){const n=this.layer,r=null===n||void 0===n?void 0:n.props.fetch;return r?r(t,{propName:e,layer:n}):super._fetch(e,t)}_onResolve(e,t){const n=this.layer;if(n){const r=n.props.onDataLoad;"data"===e&&r&&r(t,{propName:e,layer:n})}}_onError(e,t){const n=this.layer;n&&n.raiseError(t,"loading ".concat(e," of ").concat(this.layer))}}var te=n(63734);const ne=2**24-1,re=Object.freeze([]),ie=(0,x.Z)((e=>{let{oldViewport:t,viewport:n}=e;return t.equals(n)}));let oe=new Uint8ClampedArray(0);const ae={data:{type:"data",value:re,async:!0},dataComparator:{type:"function",value:null,optional:!0},_dataDiff:{type:"function",value:e=>e&&e.__diff,optional:!0},dataTransform:{type:"function",value:null,optional:!0},onDataLoad:{type:"function",value:null,optional:!0},onError:{type:"function",value:null,optional:!0},fetch:{type:"function",value:(e,t)=>{let{propName:n,layer:r,loaders:i,loadOptions:o,signal:a}=t;const{resourceManager:s}=r.context;var l;(o=o||r.getLoadOptions(),i=i||r.props.loaders,a)&&(o={...o,fetch:{...null===(l=o)||void 0===l?void 0:l.fetch,signal:a}});let c=s.contains(e);return c||o||(s.add({resourceId:e,data:(0,te.z)(e,i),persistent:!1}),c=!0),c?s.subscribe({resourceId:e,onChange:e=>{var t;return null===(t=r.internalState)||void 0===t?void 0:t.reloadAsyncProp(n,e)},consumerId:r.id,requestId:n}):(0,te.z)(e,i,o)}},updateTriggers:{},visible:!0,pickable:!1,opacity:{type:"number",min:0,max:1,value:1},operation:"draw",onHover:{type:"function",value:null,optional:!0},onClick:{type:"function",value:null,optional:!0},onDragStart:{type:"function",value:null,optional:!0},onDrag:{type:"function",value:null,optional:!0},onDragEnd:{type:"function",value:null,optional:!0},coordinateSystem:i.Df.DEFAULT,coordinateOrigin:{type:"array",value:[0,0,0],compare:!0},modelMatrix:{type:"array",value:null,compare:!0,optional:!0},wrapLongitude:!1,positionFormat:"XYZ",colorFormat:"RGBA",parameters:{type:"object",value:{},optional:!0,compare:2},loadOptions:{type:"object",value:null,optional:!0,ignore:!0},transitions:null,extensions:[],loaders:{type:"array",value:[],optional:!0,ignore:!0},getPolygonOffset:{type:"function",value:e=>{let{layerIndex:t}=e;return[0,100*-t]}},highlightedObjectIndex:null,autoHighlight:!1,highlightColor:{type:"accessor",value:[0,0,128,128]}};class se extends Q{constructor(){super(...arguments),(0,r.Z)(this,"internalState",null),(0,r.Z)(this,"lifecycle",v.dt.NO_STATE),(0,r.Z)(this,"context",void 0),(0,r.Z)(this,"state",void 0),(0,r.Z)(this,"parent",null)}static get componentName(){return Object.prototype.hasOwnProperty.call(this,"layerName")?this.layerName:""}get root(){let e=this;for(;e.parent;)e=e.parent;return e}toString(){const e=this.constructor.layerName||this.constructor.name;return"".concat(e,"({id: '").concat(this.props.id,"'})")}project(e){(0,w.Z)(this.internalState);const t=this.internalState.viewport||this.context.viewport,n=O(e,{viewport:t,modelMatrix:this.props.modelMatrix,coordinateOrigin:this.props.coordinateOrigin,coordinateSystem:this.props.coordinateSystem}),[r,i,o]=(0,M.aW)(n,t.pixelProjectionMatrix);return 2===e.length?[r,i]:[r,i,o]}unproject(e){(0,w.Z)(this.internalState);return(this.internalState.viewport||this.context.viewport).unproject(e)}projectPosition(e,t){(0,w.Z)(this.internalState);return I(e,{viewport:this.internalState.viewport||this.context.viewport,modelMatrix:this.props.modelMatrix,coordinateOrigin:this.props.coordinateOrigin,coordinateSystem:this.props.coordinateSystem,...t})}get isComposite(){return!1}setState(e){this.setChangeFlags({stateChanged:!0}),Object.assign(this.state,e),this.setNeedsRedraw()}setNeedsRedraw(){this.internalState&&(this.internalState.needsRedraw=!0)}setNeedsUpdate(){this.internalState&&(this.context.layerManager.setNeedsUpdate(String(this)),this.internalState.needsUpdate=!0)}get isLoaded(){return!!this.internalState&&!this.internalState.isAsyncPropLoading()}get wrapLongitude(){return this.props.wrapLongitude}isPickable(){return this.props.pickable&&this.props.visible}getModels(){return this.state&&(this.state.models||this.state.model&&[this.state.model])||[]}setModuleParameters(e){for(const t of this.getModels())t.updateModuleSettings(e)}getAttributeManager(){return this.internalState&&this.internalState.attributeManager}getCurrentLayer(){return this.internalState&&this.internalState.layer}getLoadOptions(){return this.props.loadOptions}use64bitPositions(){const{coordinateSystem:e}=this.props;return e===i.Df.DEFAULT||e===i.Df.LNGLAT||e===i.Df.CARTESIAN}onHover(e,t){return this.props.onHover&&this.props.onHover(e,t)||!1}onClick(e,t){return this.props.onClick&&this.props.onClick(e,t)||!1}nullPickingColor(){return[0,0,0]}encodePickingColor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t[0]=e+1&255,t[1]=e+1>>8&255,t[2]=e+1>>8>>8&255,t}decodePickingColor(e){(0,w.Z)(e instanceof Uint8Array);const[t,n,r]=e;return t+256*n+65536*r-1}getNumInstances(){return Number.isFinite(this.props.numInstances)?this.props.numInstances:this.state&&void 0!==this.state.numInstances?this.state.numInstances:y(this.props.data)}getStartIndices(){return this.props.startIndices?this.props.startIndices:this.state&&this.state.startIndices?this.state.startIndices:null}getBounds(){var e;return null===(e=this.getAttributeManager())||void 0===e?void 0:e.getBounds(["positions","instancePositions"])}getShaders(e){for(const t of this.props.extensions)e=E(e,t.getShaders.call(this,t));return e}shouldUpdateState(e){return e.changeFlags.propsOrDataChanged}updateState(e){const t=this.getAttributeManager(),{dataChanged:n}=e.changeFlags;if(n&&t)if(Array.isArray(n))for(const r of n)t.invalidateAll(r);else t.invalidateAll();if(t){const{props:n}=e,r=this.internalState.hasPickingBuffer,i=Number.isInteger(n.highlightedObjectIndex)||n.pickable||n.extensions.some((e=>e.getNeedsPickingBuffer.call(this,e)));if(r!==i){this.internalState.hasPickingBuffer=i;const{pickingColors:e,instancePickingColors:n}=t.attributes,r=e||n;r&&(i&&r.constant&&(r.constant=!1,t.invalidate(r.id)),r.value||i||(r.constant=!0,r.value=[0,0,0]))}}}finalizeState(e){for(const n of this.getModels())n.delete();const t=this.getAttributeManager();t&&t.finalize(),this.context&&this.context.resourceManager.unsubscribe({consumerId:this.id}),this.internalState&&(this.internalState.uniformTransitions.clear(),this.internalState.finalize())}draw(e){for(const t of this.getModels())t.draw(e)}getPickingInfo(e){let{info:t,mode:n,sourceLayer:r}=e;const{index:i}=t;return i>=0&&Array.isArray(this.props.data)&&(t.object=this.props.data[i]),t}raiseError(e,t){var n,r,i,o;(t&&(e.message="".concat(t,": ").concat(e.message)),null!==(n=(r=this.props).onError)&&void 0!==n&&n.call(r,e))||(null===(i=this.context)||void 0===i||null===(o=i.onError)||void 0===o||o.call(i,e,this))}getNeedsRedraw(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{clearRedrawFlags:!1};return this._getNeedsRedraw(e)}needsUpdate(){return!!this.internalState&&(this.internalState.needsUpdate||this.hasUniformTransition()||this.shouldUpdateState(this._getUpdateParams()))}hasUniformTransition(){var e;return(null===(e=this.internalState)||void 0===e?void 0:e.uniformTransitions.active)||!1}activateViewport(e){if(!this.internalState)return;const t=this.internalState.viewport;this.internalState.viewport=e,t&&ie({oldViewport:t,viewport:e})||(this.setChangeFlags({viewportChanged:!0}),this.isComposite?this.needsUpdate()&&this.setNeedsUpdate():this._update())}invalidateAttribute(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"all";const t=this.getAttributeManager();t&&("all"===e?t.invalidateAll():t.invalidate(e))}updateAttributes(e){for(const t of this.getModels())this._setModelAttributes(t,e)}_updateAttributes(){const e=this.getAttributeManager();if(!e)return;const t=this.props,n=this.getNumInstances(),r=this.getStartIndices();e.update({data:t.data,numInstances:n,startIndices:r,props:t,transitions:t.transitions,buffers:t.data.attributes,context:this});const i=e.getChangedAttributes({clearChangedFlags:!0});this.updateAttributes(i)}_updateAttributeTransition(){const e=this.getAttributeManager();e&&e.updateTransition()}_updateUniformTransition(){const{uniformTransitions:e}=this.internalState;if(e.active){const t=e.update(),n=Object.create(this.props);for(const e in t)Object.defineProperty(n,e,{value:t[e]});return n}return this.props}calculateInstancePickingColors(e,t){let{numInstances:n}=t;if(e.constant)return;const r=Math.floor(oe.length/3);if(this.internalState.usesPickingColorCache=!0,rne&&p.Z.warn("Layer has too many data objects. Picking might not be able to distinguish all objects.")(),oe=L.Z.allocate(oe,n,{size:3,copy:!0,maxCount:Math.max(n,ne)});const e=Math.floor(oe.length/3),t=[];for(let n=r;n(p.Z.deprecated("layer.state.attributeManager","layer.getAttributeManager()")(),e)}),this.internalState.uniformTransitions=new m(this.context.timeline),this.internalState.onAsyncPropUpdated=this._onAsyncPropUpdated.bind(this),this.internalState.setAsyncProps(this.props),this.initializeState(this.context);for(const t of this.props.extensions)t.initializeState.call(this,this.context,t);this.setChangeFlags({dataChanged:"init",propsChanged:"init",viewportChanged:!0,extensionsChanged:!0}),this._update()}_transferState(e){(0,b.Z)("layer.matched",this,this===e);const{state:t,internalState:n}=e;this!==e&&(this.internalState=n,this.state=t,this.internalState.setAsyncProps(this.props),this._diffProps(this.props,this.internalState.getOldProps()))}_update(){const e=this.needsUpdate();if((0,b.Z)("layer.update",this,e),!e)return;const t=this.props,n=this.context,r=this.internalState,i=n.viewport,o=this._updateUniformTransition();r.propsInTransition=o,n.viewport=r.viewport||i,this.props=o;try{const e=this._getUpdateParams(),t=this.getModels();if(n.gl)this.updateState(e);else try{this.updateState(e)}catch(a){}for(const n of this.props.extensions)n.updateState.call(this,e,n);const r=this.getModels()[0]!==t[0];this._postUpdate(e,r)}finally{n.viewport=i,this.props=t,this._clearChangeFlags(),r.needsUpdate=!1,r.resetOldProps()}}_finalize(){(0,b.Z)("layer.finalize",this),this.finalizeState(this.context);for(const e of this.props.extensions)e.finalizeState.call(this,this.context,e)}_drawLayer(e){let{moduleParameters:t=null,uniforms:n={},parameters:r={}}=e;this._updateAttributeTransition();const i=this.props,o=this.context;this.props=this.internalState.propsInTransition||i;const a=this.props.opacity;n.opacity=Math.pow(a,1/2.2);try{t&&this.setModuleParameters(t);const{getPolygonOffset:e}=this.props,i=e&&e(n)||[0,0];(0,_.dR)(o.gl,{polygonOffset:i}),(0,_.s8)(o.gl,r,(()=>{const e={moduleParameters:t,uniforms:n,parameters:r,context:o};for(const t of this.props.extensions)t.draw.call(this,e,t);this.draw(e)}))}finally{this.props=i}}getChangeFlags(){var e;return null===(e=this.internalState)||void 0===e?void 0:e.changeFlags}setChangeFlags(e){if(!this.internalState)return;const{changeFlags:t}=this.internalState;for(const r in e)if(e[r]){let n=!1;if("dataChanged"===r){const i=e[r],o=t[r];i&&Array.isArray(o)&&(t.dataChanged=Array.isArray(i)?o.concat(i):i,n=!0)}t[r]||(t[r]=e[r],n=!0),n&&(0,b.Z)("layer.changeFlag",this,r,e)}const n=Boolean(t.dataChanged||t.updateTriggersChanged||t.propsChanged||t.extensionsChanged);t.propsOrDataChanged=n,t.somethingChanged=n||t.viewportChanged||t.stateChanged}_clearChangeFlags(){this.internalState.changeFlags={dataChanged:!1,propsChanged:!1,updateTriggersChanged:!1,viewportChanged:!1,stateChanged:!1,extensionsChanged:!1,propsOrDataChanged:!1,somethingChanged:!1}}_diffProps(e,t){const n=(0,A.Yt)(e,t);if(n.updateTriggersChanged)for(const i in n.updateTriggersChanged)n.updateTriggersChanged[i]&&this.invalidateAttribute(i);if(n.transitionsChanged)for(const i in n.transitionsChanged){var r;this.internalState.uniformTransitions.add(i,t[i],e[i],null===(r=e.transitions)||void 0===r?void 0:r[i])}return this.setChangeFlags(n)}validateProps(){(0,A.eQ)(this.props)}updateAutoHighlight(e){this.props.autoHighlight&&!Number.isInteger(this.props.highlightedObjectIndex)&&this._updateAutoHighlight(e)}_updateAutoHighlight(e){const t={pickingSelectedColor:e.picked?e.color:null},{highlightColor:n}=this.props;e.picked&&"function"===typeof n&&(t.pickingHighlightColor=n(e)),this.setModuleParameters(t),this.setNeedsRedraw()}_getAttributeManager(){const e=this.context;return new o.Z(e.gl,{id:this.props.id,stats:e.stats,timeline:e.timeline})}_postUpdate(e,t){const{props:n,oldProps:r}=e;this.setNeedsRedraw(),this._updateAttributes();const{model:i}=this.state;null===i||void 0===i||i.setInstanceCount(this.getNumInstances());const{autoHighlight:o,highlightedObjectIndex:a,highlightColor:s}=n;if(t||r.autoHighlight!==o||r.highlightedObjectIndex!==a||r.highlightColor!==s){const e={};o||(e.pickingSelectedColor=null),Array.isArray(s)&&(e.pickingHighlightColor=s),(t||a!==r.highlightedObjectIndex)&&(e.pickingSelectedColor=Number.isFinite(a)&&a>=0?this.encodePickingColor(a):null),this.setModuleParameters(e)}}_getUpdateParams(){return{props:this.props,oldProps:this.internalState.getOldProps(),context:this.context,changeFlags:this.internalState.changeFlags}}_getNeedsRedraw(e){if(!this.internalState)return!1;let t=!1;t=t||this.internalState.needsRedraw&&this.id;const n=this.getAttributeManager(),r=!!n&&n.getNeedsRedraw(e);if(t=t||r,t)for(const i of this.props.extensions)i.onNeedsRedraw.call(this,i);return this.internalState.needsRedraw=this.internalState.needsRedraw&&!e.clearRedrawFlags,t}_onAsyncPropUpdated(){this._diffProps(this.props,this.internalState.getOldProps()),this.setNeedsUpdate()}}(0,r.Z)(se,"defaultProps",ae),(0,r.Z)(se,"layerName","Layer")},15672:(e,t,n)=>{"use strict";n.d(t,{E7:()=>a,Wb:()=>o,bN:()=>c,dt:()=>r,fO:()=>l,fm:()=>i,lY:()=>s});const r={NO_STATE:"Awaiting state",MATCHED:"Matched. State transferred from previous layer",INITIALIZED:"Initialized",AWAITING_GC:"Discarded. Awaiting garbage collection",AWAITING_FINALIZATION:"No longer matched. Awaiting garbage collection",FINALIZED:"Finalized! Awaiting garbage collection"},i=Symbol.for("component"),o=Symbol.for("propTypes"),a=Symbol.for("deprecatedProps"),s=Symbol.for("asyncPropDefaults"),l=Symbol.for("asyncPropOriginal"),c=Symbol.for("asyncPropResolved")},98641:(e,t,n)=>{"use strict";n.d(t,{Yt:()=>o,eQ:()=>i,tg:()=>s});var r=n(15672);function i(e){const t=e[r.Wb];for(const n in t){const r=t[n],{validate:i}=r;if(i&&!i(e[n],r))throw new Error("Invalid prop ".concat(n,": ").concat(e[n]))}}function o(e,t){const n=s({newProps:e,oldProps:t,propTypes:e[r.Wb],ignoreProps:{data:null,updateTriggers:null,extensions:null,transitions:null}}),i=function(e,t){if(null===t)return"oldProps is null, initial diff";let n=!1;const{dataComparator:r,_dataDiff:i}=e;r?r(e.data,t.data)||(n="Data comparator detected a change"):e.data!==t.data&&(n="A new data container was supplied");n&&i&&(n=i(e.data,t.data)||n);return n}(e,t);let o=!1;return i||(o=function(e,t){if(null===t)return{all:!0};if("all"in e.updateTriggers){if(u(e,t,"all"))return{all:!0}}const n={};let r=!1;for(const i in e.updateTriggers)if("all"!==i){u(e,t,i)&&(n[i]=!0,r=!0)}return!!r&&n}(e,t)),{dataChanged:i,propsChanged:n,updateTriggersChanged:o,extensionsChanged:c(e,t),transitionsChanged:a(e,t)}}function a(e,t){if(!e.transitions)return!1;const n={},i=e[r.Wb];let o=!1;for(const r in e.transitions){const a=i[r],s=a&&a.type;("number"===s||"color"===s||"array"===s)&&l(e[r],t[r],a)&&(n[r]=!0,o=!0)}return!!o&&n}function s(e){let{newProps:t,oldProps:n,ignoreProps:r={},propTypes:i={},triggerName:o="props"}=e;if(n===t)return!1;if("object"!==typeof t||null===t)return"".concat(o," changed shallowly");if("object"!==typeof n||null===n)return"".concat(o," changed shallowly");for(const a of Object.keys(t))if(!(a in r)){if(!(a in n))return"".concat(o,".").concat(a," added");const e=l(t[a],n[a],i[a]);if(e)return"".concat(o,".").concat(a," ").concat(e)}for(const a of Object.keys(n))if(!(a in r)){if(!(a in t))return"".concat(o,".").concat(a," dropped");if(!Object.hasOwnProperty.call(t,a)){const e=l(t[a],n[a],i[a]);if(e)return"".concat(o,".").concat(a," ").concat(e)}}return!1}function l(e,t,n){let r=n&&n.equal;return r&&!r(e,t,n)?"changed deeply":r||(r=e&&t&&e.equals,!r||r.call(e,t))?r||t===e?null:"changed shallowly":"changed deeply"}function c(e,t){if(null===t)return!0;const n=t.extensions,{extensions:r}=e;if(r===n)return!1;if(!n||!r)return!0;if(r.length!==n.length)return!0;for(let i=0;i{"use strict";n.d(t,{Z:()=>s});var r=n(68185);class i{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{id:"pass"};(0,r.Z)(this,"id",void 0),(0,r.Z)(this,"gl",void 0),(0,r.Z)(this,"props",void 0);const{id:n}=t;this.id=n,this.gl=e,this.props={...t}}setProps(e){Object.assign(this.props,e)}render(e){}cleanup(){}}var o=n(76195),a=n(36708);class s extends i{constructor(){super(...arguments),(0,r.Z)(this,"_lastRenderIndex",-1)}render(e){const t=this.gl;return(0,o.dR)(t,{framebuffer:e.target}),this._drawLayers(e)}_drawLayers(e){const{target:t,moduleParameters:n,viewports:r,views:i,onViewportActive:a,clearStack:s=!0,clearCanvas:l=!0}=e;e.pass=e.pass||"unknown";const c=this.gl;l&&function(e,t){const n=t?t.width:e.drawingBufferWidth,r=t?t.height:e.drawingBufferHeight;(0,o.dR)(e,{viewport:[0,0,n,r]}),e.clear(16640)}(c,t),s&&(this._lastRenderIndex=-1);const u=[];for(const o of r){const r=i&&i[o.id];null===a||void 0===a||a(o);const s=this._getDrawLayerParams(o,e),l=o.subViewports||[o];for(const i of l){const o=this._drawLayersInViewport(c,{target:t,moduleParameters:n,viewport:i,view:r,pass:e.pass,layers:e.layers},s);u.push(o)}}return u}_getDrawLayerParams(e,t){let{layers:n,pass:r,isPicking:i=!1,layerFilter:o,cullRect:a,effects:s,moduleParameters:c}=t,u=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const d=[],h=l(this._lastRenderIndex+1),f={layer:n[0],viewport:e,isPicking:i,renderPass:r,cullRect:a},p={};for(let l=0;l(0,a.Z)(e,t)))}const h={totalCount:r.length,visibleCount:0,compositeCount:0,pickableCount:0};(0,o.dR)(e,{viewport:d});for(let o=0;o0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={},r=(i,o)=>{const a=i.props._offset,s=i.id,c=i.parent&&i.parent.id;let u;if(c&&!(c in t)&&r(i.parent,!1),c in n){const e=n[c]=n[c]||l(t[c],t);u=e(i,o),n[s]=e}else Number.isFinite(a)?(u=a+(t[c]||0),n[s]=null):u=e;return o&&u>=e&&(e=u+1),t[s]=u,u};return r}},79463:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});const r={pickingSelectedColor:null,pickingHighlightColor:new Uint8Array([0,255,255,255]),pickingActive:!1,pickingAttribute:!1};const i={inject:{"vs:DECKGL_FILTER_GL_POSITION":"\n // for picking depth values\n picking_setPickingAttribute(position.z / position.w);\n ","vs:DECKGL_FILTER_COLOR":"\n picking_setPickingColor(geometry.pickingColor);\n ","fs:#decl":"\nuniform bool picking_uAttribute;\n ","fs:DECKGL_FILTER_COLOR":{order:99,injection:"\n // use highlight color if this fragment belongs to the selected object.\n color = picking_filterHighlightColor(color);\n\n // use picking color if rendering to picking FBO.\n color = picking_filterPickingColor(color);\n "}},...{name:"picking",vs:"uniform bool picking_uActive;\nuniform bool picking_uAttribute;\nuniform vec3 picking_uSelectedColor;\nuniform bool picking_uSelectedColorValid;\n\nout vec4 picking_vRGBcolor_Avalid;\n\nconst float COLOR_SCALE = 1. / 255.;\n\nbool picking_isColorValid(vec3 color) {\n return dot(color, vec3(1.0)) > 0.001;\n}\n\nbool isVertexPicked(vec3 vertexColor) {\n return\n picking_uSelectedColorValid &&\n !picking_isColorValid(abs(vertexColor - picking_uSelectedColor));\n}\n\nvoid picking_setPickingColor(vec3 pickingColor) {\n if (picking_uActive) {\n picking_vRGBcolor_Avalid.a = float(picking_isColorValid(pickingColor));\n\n if (!picking_uAttribute) {\n picking_vRGBcolor_Avalid.rgb = pickingColor * COLOR_SCALE;\n }\n } else {\n picking_vRGBcolor_Avalid.a = float(isVertexPicked(pickingColor));\n }\n}\n\nvoid picking_setPickingAttribute(float value) {\n if (picking_uAttribute) {\n picking_vRGBcolor_Avalid.r = value;\n }\n}\nvoid picking_setPickingAttribute(vec2 value) {\n if (picking_uAttribute) {\n picking_vRGBcolor_Avalid.rg = value;\n }\n}\nvoid picking_setPickingAttribute(vec3 value) {\n if (picking_uAttribute) {\n picking_vRGBcolor_Avalid.rgb = value;\n }\n}\n",fs:"uniform bool picking_uActive;\nuniform vec3 picking_uSelectedColor;\nuniform vec4 picking_uHighlightColor;\n\nin vec4 picking_vRGBcolor_Avalid;\nvec4 picking_filterHighlightColor(vec4 color) {\n if (picking_uActive) {\n return color;\n }\n bool selected = bool(picking_vRGBcolor_Avalid.a);\n\n if (selected) {\n float highLightAlpha = picking_uHighlightColor.a;\n float blendedAlpha = highLightAlpha + color.a * (1.0 - highLightAlpha);\n float highLightRatio = highLightAlpha / blendedAlpha;\n\n vec3 blendedRGB = mix(color.rgb, picking_uHighlightColor.rgb, highLightRatio);\n return vec4(blendedRGB, blendedAlpha);\n } else {\n return color;\n }\n}\nvec4 picking_filterPickingColor(vec4 color) {\n if (picking_uActive) {\n if (picking_vRGBcolor_Avalid.a == 0.0) {\n discard;\n }\n return picking_vRGBcolor_Avalid;\n }\n return color;\n}\nvec4 picking_filterColor(vec4 color) {\n vec4 highightColor = picking_filterHighlightColor(color);\n return picking_filterPickingColor(highightColor);\n}\n\n",getUniforms:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;const t={};if(void 0!==e.pickingSelectedColor)if(e.pickingSelectedColor){const n=e.pickingSelectedColor.slice(0,3);t.picking_uSelectedColorValid=1,t.picking_uSelectedColor=n}else t.picking_uSelectedColorValid=0;if(e.pickingHighlightColor){const n=Array.from(e.pickingHighlightColor,(e=>e/255));Number.isFinite(n[3])||(n[3]=1),t.picking_uHighlightColor=n}return void 0!==e.pickingActive&&(t.picking_uActive=Boolean(e.pickingActive),t.picking_uAttribute=Boolean(e.pickingAttribute)),t}}}},61518:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});const r={name:"fp32",vs:"#ifdef LUMA_FP32_TAN_PRECISION_WORKAROUND\nconst float TWO_PI = 6.2831854820251465;\nconst float PI_2 = 1.5707963705062866;\nconst float PI_16 = 0.1963495463132858;\n\nconst float SIN_TABLE_0 = 0.19509032368659973;\nconst float SIN_TABLE_1 = 0.3826834261417389;\nconst float SIN_TABLE_2 = 0.5555702447891235;\nconst float SIN_TABLE_3 = 0.7071067690849304;\n\nconst float COS_TABLE_0 = 0.9807852506637573;\nconst float COS_TABLE_1 = 0.9238795042037964;\nconst float COS_TABLE_2 = 0.8314695954322815;\nconst float COS_TABLE_3 = 0.7071067690849304;\n\nconst float INVERSE_FACTORIAL_3 = 1.666666716337204e-01;\nconst float INVERSE_FACTORIAL_5 = 8.333333767950535e-03;\nconst float INVERSE_FACTORIAL_7 = 1.9841270113829523e-04;\nconst float INVERSE_FACTORIAL_9 = 2.75573188446287533e-06;\n\nfloat sin_taylor_fp32(float a) {\n float r, s, t, x;\n\n if (a == 0.0) {\n return 0.0;\n }\n\n x = -a * a;\n s = a;\n r = a;\n\n r = r * x;\n t = r * INVERSE_FACTORIAL_3;\n s = s + t;\n\n r = r * x;\n t = r * INVERSE_FACTORIAL_5;\n s = s + t;\n\n r = r * x;\n t = r * INVERSE_FACTORIAL_7;\n s = s + t;\n\n r = r * x;\n t = r * INVERSE_FACTORIAL_9;\n s = s + t;\n\n return s;\n}\n\nvoid sincos_taylor_fp32(float a, out float sin_t, out float cos_t) {\n if (a == 0.0) {\n sin_t = 0.0;\n cos_t = 1.0;\n }\n sin_t = sin_taylor_fp32(a);\n cos_t = sqrt(1.0 - sin_t * sin_t);\n}\n\nfloat tan_taylor_fp32(float a) {\n float sin_a;\n float cos_a;\n\n if (a == 0.0) {\n return 0.0;\n }\n float z = floor(a / TWO_PI);\n float r = a - TWO_PI * z;\n\n float t;\n float q = floor(r / PI_2 + 0.5);\n int j = int(q);\n\n if (j < -2 || j > 2) {\n return 1.0 / 0.0;\n }\n\n t = r - PI_2 * q;\n\n q = floor(t / PI_16 + 0.5);\n int k = int(q);\n int abs_k = int(abs(float(k)));\n\n if (abs_k > 4) {\n return 1.0 / 0.0;\n } else {\n t = t - PI_16 * q;\n }\n\n float u = 0.0;\n float v = 0.0;\n\n float sin_t, cos_t;\n float s, c;\n sincos_taylor_fp32(t, sin_t, cos_t);\n\n if (k == 0) {\n s = sin_t;\n c = cos_t;\n } else {\n if (abs(float(abs_k) - 1.0) < 0.5) {\n u = COS_TABLE_0;\n v = SIN_TABLE_0;\n } else if (abs(float(abs_k) - 2.0) < 0.5) {\n u = COS_TABLE_1;\n v = SIN_TABLE_1;\n } else if (abs(float(abs_k) - 3.0) < 0.5) {\n u = COS_TABLE_2;\n v = SIN_TABLE_2;\n } else if (abs(float(abs_k) - 4.0) < 0.5) {\n u = COS_TABLE_3;\n v = SIN_TABLE_3;\n }\n if (k > 0) {\n s = u * sin_t + v * cos_t;\n c = u * cos_t - v * sin_t;\n } else {\n s = u * sin_t - v * cos_t;\n c = u * cos_t + v * sin_t;\n }\n }\n\n if (j == 0) {\n sin_a = s;\n cos_a = c;\n } else if (j == 1) {\n sin_a = c;\n cos_a = -s;\n } else if (j == -1) {\n sin_a = -c;\n cos_a = s;\n } else {\n sin_a = -s;\n cos_a = -c;\n }\n return sin_a / cos_a;\n}\n#endif\n\nfloat tan_fp32(float a) {\n#ifdef LUMA_FP32_TAN_PRECISION_WORKAROUND\n return tan_taylor_fp32(a);\n#else\n return tan(a);\n#endif\n}\n",fs:null},i="#define SMOOTH_EDGE_RADIUS 0.5",o={name:"geometry",vs:"\n".concat(i,"\n\nstruct VertexGeometry {\n vec4 position;\n vec3 worldPosition;\n vec3 worldPositionAlt;\n vec3 normal;\n vec2 uv;\n vec3 pickingColor;\n} geometry = VertexGeometry(\n vec4(0.0, 0.0, 1.0, 0.0),\n vec3(0.0),\n vec3(0.0),\n vec3(0.0),\n vec2(0.0),\n vec3(0.0)\n);\n"),fs:"\n".concat(i,"\n\nstruct FragmentGeometry {\n vec2 uv;\n} geometry;\n\nfloat smoothedge(float edge, float x) {\n return smoothstep(edge - SMOOTH_EDGE_RADIUS, edge + SMOOTH_EDGE_RADIUS, x);\n}\n")};var a=n(98029);const s=Object.keys(a.Df).map((e=>"const int COORDINATE_SYSTEM_".concat(e," = ").concat(a.Df[e],";"))).join(""),l=Object.keys(a.zG).map((e=>"const int PROJECTION_MODE_".concat(e," = ").concat(a.zG[e],";"))).join(""),c=Object.keys(a.iI).map((e=>"const int UNIT_".concat(e.toUpperCase()," = ").concat(a.iI[e],";"))).join(""),u="".concat(s,"\n").concat(l,"\n").concat(c,"\n\nuniform int project_uCoordinateSystem;\nuniform int project_uProjectionMode;\nuniform float project_uScale;\nuniform bool project_uWrapLongitude;\nuniform vec3 project_uCommonUnitsPerMeter;\nuniform vec3 project_uCommonUnitsPerWorldUnit;\nuniform vec3 project_uCommonUnitsPerWorldUnit2;\nuniform vec4 project_uCenter;\nuniform mat4 project_uModelMatrix;\nuniform mat4 project_uViewProjectionMatrix;\nuniform vec2 project_uViewportSize;\nuniform float project_uDevicePixelRatio;\nuniform float project_uFocalDistance;\nuniform vec3 project_uCameraPosition;\nuniform vec3 project_uCoordinateOrigin;\nuniform vec3 project_uCommonOrigin;\nuniform bool project_uPseudoMeters;\n\nconst float TILE_SIZE = 512.0;\nconst float PI = 3.1415926536;\nconst float WORLD_SCALE = TILE_SIZE / (PI * 2.0);\nconst vec3 ZERO_64_LOW = vec3(0.0);\nconst float EARTH_RADIUS = 6370972.0;\nconst float GLOBE_RADIUS = 256.0;\nfloat project_size_at_latitude(float lat) {\n float y = clamp(lat, -89.9, 89.9);\n return 1.0 / cos(radians(y));\n}\n\nfloat project_size() {\n if (project_uProjectionMode == PROJECTION_MODE_WEB_MERCATOR &&\n project_uCoordinateSystem == COORDINATE_SYSTEM_LNGLAT &&\n project_uPseudoMeters == false) {\n \n if (geometry.position.w == 0.0) {\n return project_size_at_latitude(geometry.worldPosition.y);\n }\n \n float y = geometry.position.y / TILE_SIZE * 2.0 - 1.0;\n float y2 = y * y;\n float y4 = y2 * y2;\n float y6 = y4 * y2;\n return 1.0 + 4.9348 * y2 + 4.0587 * y4 + 1.5642 * y6;\n }\n return 1.0;\n}\n\nfloat project_size_at_latitude(float meters, float lat) {\n return meters * project_uCommonUnitsPerMeter.z * project_size_at_latitude(lat);\n}\nfloat project_size(float meters) {\n return meters * project_uCommonUnitsPerMeter.z * project_size();\n}\n\nvec2 project_size(vec2 meters) {\n return meters * project_uCommonUnitsPerMeter.xy * project_size();\n}\n\nvec3 project_size(vec3 meters) {\n return meters * project_uCommonUnitsPerMeter * project_size();\n}\n\nvec4 project_size(vec4 meters) {\n return vec4(meters.xyz * project_uCommonUnitsPerMeter, meters.w);\n}\nmat3 project_get_orientation_matrix(vec3 up) {\n vec3 uz = normalize(up);\n vec3 ux = abs(uz.z) == 1.0 ? vec3(1.0, 0.0, 0.0) : normalize(vec3(uz.y, -uz.x, 0));\n vec3 uy = cross(uz, ux);\n return mat3(ux, uy, uz);\n}\n\nbool project_needs_rotation(vec3 commonPosition, out mat3 transform) {\n if (project_uProjectionMode == PROJECTION_MODE_GLOBE) {\n transform = project_get_orientation_matrix(commonPosition);\n return true;\n }\n return false;\n}\nvec3 project_normal(vec3 vector) {\n vec4 normal_modelspace = project_uModelMatrix * vec4(vector, 0.0);\n vec3 n = normalize(normal_modelspace.xyz * project_uCommonUnitsPerMeter);\n mat3 rotation;\n if (project_needs_rotation(geometry.position.xyz, rotation)) {\n n = rotation * n;\n }\n return n;\n}\n\nvec4 project_offset_(vec4 offset) {\n float dy = offset.y;\n vec3 commonUnitsPerWorldUnit = project_uCommonUnitsPerWorldUnit + project_uCommonUnitsPerWorldUnit2 * dy;\n return vec4(offset.xyz * commonUnitsPerWorldUnit, offset.w);\n}\nvec2 project_mercator_(vec2 lnglat) {\n float x = lnglat.x;\n if (project_uWrapLongitude) {\n x = mod(x + 180., 360.0) - 180.;\n }\n float y = clamp(lnglat.y, -89.9, 89.9);\n return vec2(\n radians(x) + PI,\n PI + log(tan_fp32(PI * 0.25 + radians(y) * 0.5))\n ) * WORLD_SCALE;\n}\n\nvec3 project_globe_(vec3 lnglatz) {\n float lambda = radians(lnglatz.x);\n float phi = radians(lnglatz.y);\n float cosPhi = cos(phi);\n float D = (lnglatz.z / EARTH_RADIUS + 1.0) * GLOBE_RADIUS;\n\n return vec3(\n sin(lambda) * cosPhi,\n -cos(lambda) * cosPhi,\n sin(phi)\n ) * D;\n}\nvec4 project_position(vec4 position, vec3 position64Low) {\n vec4 position_world = project_uModelMatrix * position;\n if (project_uProjectionMode == PROJECTION_MODE_WEB_MERCATOR) {\n if (project_uCoordinateSystem == COORDINATE_SYSTEM_LNGLAT) {\n return vec4(\n project_mercator_(position_world.xy),\n project_size_at_latitude(position_world.z, position_world.y),\n position_world.w\n );\n }\n if (project_uCoordinateSystem == COORDINATE_SYSTEM_CARTESIAN) {\n position_world.xyz += project_uCoordinateOrigin;\n }\n }\n if (project_uProjectionMode == PROJECTION_MODE_GLOBE) {\n if (project_uCoordinateSystem == COORDINATE_SYSTEM_LNGLAT) {\n return vec4(\n project_globe_(position_world.xyz),\n position_world.w\n );\n }\n }\n if (project_uProjectionMode == PROJECTION_MODE_WEB_MERCATOR_AUTO_OFFSET) {\n if (project_uCoordinateSystem == COORDINATE_SYSTEM_LNGLAT) {\n if (abs(position_world.y - project_uCoordinateOrigin.y) > 0.25) {\n return vec4(\n project_mercator_(position_world.xy) - project_uCommonOrigin.xy,\n project_size(position_world.z),\n position_world.w\n );\n }\n }\n }\n if (project_uProjectionMode == PROJECTION_MODE_IDENTITY ||\n (project_uProjectionMode == PROJECTION_MODE_WEB_MERCATOR_AUTO_OFFSET &&\n (project_uCoordinateSystem == COORDINATE_SYSTEM_LNGLAT ||\n project_uCoordinateSystem == COORDINATE_SYSTEM_CARTESIAN))) {\n position_world.xyz -= project_uCoordinateOrigin;\n }\n return project_offset_(position_world + project_uModelMatrix * vec4(position64Low, 0.0));\n}\n\nvec4 project_position(vec4 position) {\n return project_position(position, ZERO_64_LOW);\n}\n\nvec3 project_position(vec3 position, vec3 position64Low) {\n vec4 projected_position = project_position(vec4(position, 1.0), position64Low);\n return projected_position.xyz;\n}\n\nvec3 project_position(vec3 position) {\n vec4 projected_position = project_position(vec4(position, 1.0), ZERO_64_LOW);\n return projected_position.xyz;\n}\n\nvec2 project_position(vec2 position) {\n vec4 projected_position = project_position(vec4(position, 0.0, 1.0), ZERO_64_LOW);\n return projected_position.xy;\n}\n\nvec4 project_common_position_to_clipspace(vec4 position, mat4 viewProjectionMatrix, vec4 center) {\n return viewProjectionMatrix * position + center;\n}\nvec4 project_common_position_to_clipspace(vec4 position) {\n return project_common_position_to_clipspace(position, project_uViewProjectionMatrix, project_uCenter);\n}\nvec2 project_pixel_size_to_clipspace(vec2 pixels) {\n vec2 offset = pixels / project_uViewportSize * project_uDevicePixelRatio * 2.0;\n return offset * project_uFocalDistance;\n}\n\nfloat project_size_to_pixel(float meters) {\n return project_size(meters) * project_uScale;\n}\nfloat project_size_to_pixel(float size, int unit) {\n if (unit == UNIT_METERS) return project_size_to_pixel(size);\n if (unit == UNIT_COMMON) return size * project_uScale;\n return size;\n}\nfloat project_pixel_size(float pixels) {\n return pixels / project_uScale;\n}\nvec2 project_pixel_size(vec2 pixels) {\n return pixels / project_uScale;\n}\n");var d=n(26651);const h={};const f={name:"project",dependencies:[r,o],vs:u,getUniforms:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h;return"viewport"in e?(0,d.C)(e):{}}}},26651:(e,t,n)=>{"use strict";n.d(t,{C:()=>p,v:()=>f});var r=n(44649),i=n(81723),o=n(98029),a=n(12091);const s=[0,0,0,0],l=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0],c=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],u=[0,0,0],d=[0,0,0],h=(0,a.Z)((function(e){let{viewport:t,devicePixelRatio:n,coordinateSystem:a,coordinateOrigin:d}=e;const{projectionCenter:h,viewProjectionMatrix:p,originCommon:g,cameraPosCommon:m,shaderCoordinateOrigin:A,geospatialOrigin:v}=function(e,t,n){const{viewMatrixUncentered:o,projectionMatrix:a}=e;let{viewMatrix:c,viewProjectionMatrix:u}=e,d=s,h=s,p=e.cameraPosition;const{geospatialOrigin:g,shaderCoordinateOrigin:m,offsetMode:A}=f(e,t,n);A&&(h=e.projectPosition(g||m),p=[p[0]-h[0],p[1]-h[1],p[2]-h[2]],h[3]=1,d=i.fF([],h,u),c=o||c,u=r.Jp([],a,c),u=r.Jp([],u,l));return{viewMatrix:c,viewProjectionMatrix:u,projectionCenter:d,originCommon:h,cameraPosCommon:p,shaderCoordinateOrigin:m,geospatialOrigin:g}}(t,a,d),y=t.getDistanceScales(),b=[t.width*n,t.height*n],_=i.fF([],[0,0,-t.focalDistance,1],t.projectionMatrix)[3]||1,w={project_uCoordinateSystem:a,project_uProjectionMode:t.projectionMode,project_uCoordinateOrigin:A,project_uCommonOrigin:g.slice(0,3),project_uCenter:h,project_uPseudoMeters:Boolean(t._pseudoMeters),project_uViewportSize:b,project_uDevicePixelRatio:n,project_uFocalDistance:_,project_uCommonUnitsPerMeter:y.unitsPerMeter,project_uCommonUnitsPerWorldUnit:y.unitsPerMeter,project_uCommonUnitsPerWorldUnit2:u,project_uScale:t.scale,project_uWrapLongitude:!1,project_uViewProjectionMatrix:p,project_uModelMatrix:c,project_uCameraPosition:m};if(v){const e=t.getDistanceScales(v);switch(a){case o.Df.METER_OFFSETS:w.project_uCommonUnitsPerWorldUnit=e.unitsPerMeter,w.project_uCommonUnitsPerWorldUnit2=e.unitsPerMeter2;break;case o.Df.LNGLAT:case o.Df.LNGLAT_OFFSETS:t._pseudoMeters||(w.project_uCommonUnitsPerMeter=e.unitsPerMeter),w.project_uCommonUnitsPerWorldUnit=e.unitsPerDegree,w.project_uCommonUnitsPerWorldUnit2=e.unitsPerDegree2;break;case o.Df.CARTESIAN:w.project_uCommonUnitsPerWorldUnit=[1,1,e.unitsPerMeter[2]],w.project_uCommonUnitsPerWorldUnit2=[0,0,e.unitsPerMeter2[2]]}}return w}));function f(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d;n.length<3&&(n=[n[0],n[1],0]);let r,i=n,a=!0;switch(r=t===o.Df.LNGLAT_OFFSETS||t===o.Df.METER_OFFSETS?n:e.isGeospatial?[Math.fround(e.longitude),Math.fround(e.latitude),0]:null,e.projectionMode){case o.zG.WEB_MERCATOR:t!==o.Df.LNGLAT&&t!==o.Df.CARTESIAN||(r=[0,0,0],a=!1);break;case o.zG.WEB_MERCATOR_AUTO_OFFSET:t===o.Df.LNGLAT?i=r:t===o.Df.CARTESIAN&&(i=[Math.fround(e.center[0]),Math.fround(e.center[1]),0],r=e.unprojectPosition(i),i[0]-=n[0],i[1]-=n[1],i[2]-=n[2]);break;case o.zG.IDENTITY:i=e.position.map(Math.fround),i[2]=i[2]||0;break;case o.zG.GLOBE:a=!1,r=null;break;default:a=!1}return{geospatialOrigin:r,shaderCoordinateOrigin:i,offsetMode:a}}function p(e){let{viewport:t,devicePixelRatio:n=1,modelMatrix:r=null,coordinateSystem:i=o.Df.DEFAULT,coordinateOrigin:a=d,autoWrapLongitude:s=!1}=e;i===o.Df.DEFAULT&&(i=t.isGeospatial?o.Df.LNGLAT:o.Df.CARTESIAN);const l=h({viewport:t,devicePixelRatio:n,coordinateSystem:i,coordinateOrigin:a});return l.project_uWrapLongitude=s,l.project_uModelMatrix=r||c,l}},58521:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={name:"project32",dependencies:[n(61518).Z],vs:"\nvec4 project_position_to_clipspace(\n vec3 position, vec3 position64Low, vec3 offset, out vec4 commonPosition\n) {\n vec3 projectedPosition = project_position(position, position64Low);\n mat3 rotation;\n if (project_needs_rotation(projectedPosition, rotation)) {\n // offset is specified as ENU\n // when in globe projection, rotate offset so that the ground alighs with the surface of the globe\n offset = rotation * offset;\n }\n commonPosition = vec4(projectedPosition + offset, 1.0);\n return project_common_position_to_clipspace(commonPosition);\n}\n\nvec4 project_position_to_clipspace(\n vec3 position, vec3 position64Low, vec3 offset\n) {\n vec4 commonPosition;\n return project_position_to_clipspace(position, position64Low, offset, commonPosition);\n}\n"}},78191:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(68185);class i{constructor(e){(0,r.Z)(this,"_inProgress",void 0),(0,r.Z)(this,"_handle",void 0),(0,r.Z)(this,"_timeline",void 0),(0,r.Z)(this,"time",void 0),(0,r.Z)(this,"settings",void 0),this._inProgress=!1,this._handle=null,this._timeline=e,this.time=0,this.settings={duration:0}}get inProgress(){return this._inProgress}start(e){var t,n;this.cancel(),this.settings=e,this._inProgress=!0,null===(t=(n=this.settings).onStart)||void 0===t||t.call(n,this)}end(){var e,t;this._inProgress&&(this._timeline.removeChannel(this._handle),this._handle=null,this._inProgress=!1,null===(e=(t=this.settings).onEnd)||void 0===e||e.call(t,this))}cancel(){var e,t;this._inProgress&&(null===(e=(t=this.settings).onInterrupt)||void 0===e||e.call(t,this),this._timeline.removeChannel(this._handle),this._handle=null,this._inProgress=!1)}update(){var e,t;if(!this._inProgress)return!1;if(null===this._handle){const{_timeline:e,settings:t}=this;this._handle=e.addChannel({delay:e.getTime(),duration:t.duration})}return this.time=this._timeline.getTime(this._handle),this._onUpdate(),null===(e=(t=this.settings).onUpdate)||void 0===e||e.call(t,this),this._timeline.isFinished(this._handle)&&this.end(),!0}_onUpdate(){}}},37954:(e,t,n)=>{"use strict";function r(e,t){if(!e)throw new Error(t||"deck.gl: assertion failed.")}n.d(t,{Z:()=>r})},63549:(e,t,n)=>{"use strict";function r(e,t,n){if(e===t)return!0;if(!n||!e||!t)return!1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(let i=0;ir})},35395:(e,t,n)=>{"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>!0;return Array.isArray(e)?i(e,t,[]):t(e)?[e]:[]}function i(e,t,n){let r=-1;for(;++ro,x:()=>r})},39179:(e,t,n)=>{"use strict";n.d(t,{D0:()=>a,jB:()=>o,jr:()=>s});const r=[],i=[];function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,o=r;const a={index:-1,data:e,target:[]};return e?"function"===typeof e[Symbol.iterator]?o=e:e.length>0&&(i.length=e.length,o=i):o=r,(t>0||Number.isFinite(n))&&(o=(Array.isArray(o)?o:Array.from(o)).slice(t,n),a.index=t-1),{iterable:o,objectInfo:a}}function a(e){return e&&e[Symbol.asyncIterator]}function s(e,t){const{size:n,stride:r,offset:i,startIndices:o,nested:a}=t,s=e.BYTES_PER_ELEMENT,l=r?r/s:n,c=i?i/s:0,u=Math.floor((e.length-c)/l);return(t,r)=>{let{index:i,target:s}=r;if(!o){const t=i*l+c;for(let r=0;r{"use strict";n.d(t,{Z:()=>r});const r=new(n(20251).Z)({id:"deck"})},84557:(e,t,n)=>{"use strict";n.d(t,{Du:()=>s,TK:()=>d,Xt:()=>a,bS:()=>o,cc:()=>h});var r=n(10468),i=n(31549);function o(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function a(e){return[e[12],e[13],e[14]]}function s(e){return{left:c(e[3]+e[0],e[7]+e[4],e[11]+e[8],e[15]+e[12]),right:c(e[3]-e[0],e[7]-e[4],e[11]-e[8],e[15]-e[12]),bottom:c(e[3]+e[1],e[7]+e[5],e[11]+e[9],e[15]+e[13]),top:c(e[3]-e[1],e[7]-e[5],e[11]-e[9],e[15]-e[13]),near:c(e[3]+e[2],e[7]+e[6],e[11]+e[10],e[15]+e[14]),far:c(e[3]-e[2],e[7]-e[6],e[11]-e[10],e[15]-e[14])}}const l=new i.Z;function c(e,t,n,r){l.set(e,t,n);const o=l.len();return{distance:r/o,normal:new i.Z(-e/o,-t/o,-n/o)}}let u;function d(e,t){const{size:n=1,startIndex:i=0}=t,o=void 0!==t.endIndex?t.endIndex:e.length,a=(o-i)/n;u=r.Z.allocate(u,a,{type:Float32Array,size:2*n});let s=i,l=0;for(;s{"use strict";function r(e,t){if(e===t)return!0;if(Array.isArray(e)){const n=e.length;if(!t||t.length!==n)return!1;for(let r=0;r{for(const o in i)if(!r(i[o],n[o])){t=e(i),n=i;break}return t}}n.d(t,{Z:()=>i})},3943:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(68185),i=n(39179),o=n(10468),a=n(37954),s=n(64180);class l{constructor(e){(0,r.Z)(this,"opts",void 0),(0,r.Z)(this,"typedArrayManager",void 0),(0,r.Z)(this,"indexStarts",[0]),(0,r.Z)(this,"vertexStarts",[0]),(0,r.Z)(this,"vertexCount",0),(0,r.Z)(this,"instanceCount",0),(0,r.Z)(this,"attributes",void 0),(0,r.Z)(this,"_attributeDefs",void 0),(0,r.Z)(this,"data",void 0),(0,r.Z)(this,"getGeometry",void 0),(0,r.Z)(this,"geometryBuffer",void 0),(0,r.Z)(this,"buffers",void 0),(0,r.Z)(this,"positionSize",void 0),(0,r.Z)(this,"normalize",void 0);const{attributes:t={}}=e;this.typedArrayManager=o.Z,this.attributes={},this._attributeDefs=t,this.opts=e,this.updateGeometry(e)}updateGeometry(e){Object.assign(this.opts,e);const{data:t,buffers:n={},getGeometry:r,geometryBuffer:i,positionFormat:o,dataChanged:s,normalize:l=!0}=this.opts;if(this.data=t,this.getGeometry=r,this.positionSize=i&&i.size||("XY"===o?2:3),this.buffers=n,this.normalize=l,i&&((0,a.Z)(t.startIndices),this.getGeometry=this.getGeometryFromBuffer(i),l||(n.positions=i)),this.geometryBuffer=n.positions,Array.isArray(s))for(const a of s)this._rebuildGeometry(a);else this._rebuildGeometry()}updatePartialGeometry(e){let{startRow:t,endRow:n}=e;this._rebuildGeometry({startRow:t,endRow:n})}getGeometryFromBuffer(e){const t=e.value||e;return ArrayBuffer.isView(t)?(0,i.jr)(t,{size:this.positionSize,offset:e.offset,stride:e.stride,startIndices:this.data.startIndices}):null}_allocate(e,t){const{attributes:n,buffers:r,_attributeDefs:i,typedArrayManager:o}=this;for(const a in i)if(a in r)o.release(n[a]),n[a]=null;else{const r=i[a];r.copy=t,n[a]=o.allocate(n[a],e,r)}}_forEachGeometry(e,t,n){const{data:r,getGeometry:o}=this,{iterable:a,objectInfo:s}=(0,i.jB)(r,t,n);for(const i of a){s.index++;e(o?o(i,s):null,s.index)}}_rebuildGeometry(e){if(!this.data)return;let{indexStarts:t,vertexStarts:n,instanceCount:r}=this;const{data:i,geometryBuffer:o}=this,{startRow:a=0,endRow:l=1/0}=e||{},c={};if(e||(t=[0],n=[0]),this.normalize||!o)this._forEachGeometry(((e,t)=>{const r=e&&this.normalizeGeometry(e);c[t]=r,n[t+1]=n[t]+(r?this.getGeometrySize(r):0)}),a,l),r=n[n.length-1];else if(n=i.startIndices,r=n[i.length]||0,ArrayBuffer.isView(o))r=r||o.length/this.positionSize;else if(o instanceof s.Z){const e=o.accessor.stride||4*this.positionSize;r=r||o.byteLength/e}else if(o.buffer){const e=o.stride||4*this.positionSize;r=r||o.buffer.byteLength/e}else if(o.value){const e=o.value,t=o.stride/e.BYTES_PER_ELEMENT||this.positionSize;r=r||e.length/t}this._allocate(r,Boolean(e)),this.indexStarts=t,this.vertexStarts=n,this.instanceCount=r;const u={};this._forEachGeometry(((e,i)=>{const o=c[i]||e;u.vertexStart=n[i],u.indexStart=t[i];const a=i{"use strict";n.d(t,{Z:()=>i});var r=n(68185);const i=new class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,r.Z)(this,"_pool",[]),(0,r.Z)(this,"opts",{overAlloc:2,poolSize:100}),this.setOptions(e)}setOptions(e){Object.assign(this.opts,e)}allocate(e,t,n){let{size:r=1,type:i,padding:o=0,copy:a=!1,initialize:s=!1,maxCount:l}=n;const c=i||e&&e.constructor||Float32Array,u=t*r+o;if(ArrayBuffer.isView(e)){if(u<=e.length)return e;if(u*e.BYTES_PER_ELEMENT<=e.buffer.byteLength)return new c(e.buffer,0,u)}let d=1/0;l&&(d=l*r+o);const h=this._allocate(c,u,s,d);return e&&a?h.set(e):s||h.fill(0,0,4),this._release(e),h}release(e){this._release(e)}_allocate(e,t,n,r){let i=Math.max(Math.ceil(t*this.opts.overAlloc),1);i>r&&(i=r);const o=this._pool,a=e.BYTES_PER_ELEMENT*i,s=o.findIndex((e=>e.byteLength>=a));if(s>=0){const t=new e(o.splice(s,1)[0],0,i);return n&&t.fill(0),t}return new e(i)}_release(e){if(!ArrayBuffer.isView(e))return;const t=this._pool,{buffer:n}=e,{byteLength:r}=n,i=t.findIndex((e=>e.byteLength>=r));i<0?t.push(n):(i>0||t.lengththis.opts.poolSize&&t.shift()}}},43809:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var r=n(68185),i=n(65148),o=n(84557),a=n(39944),s=n(30373),l=n(31549),c=n(44649),u=n(1384),d=n(98029);const h=Math.PI/180,f=(0,o.bS)(),p=[0,0,0],g={unitsPerMeter:[1,1,1],metersPerUnit:[1,1,1]};class m{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,r.Z)(this,"id",void 0),(0,r.Z)(this,"x",void 0),(0,r.Z)(this,"y",void 0),(0,r.Z)(this,"width",void 0),(0,r.Z)(this,"height",void 0),(0,r.Z)(this,"padding",void 0),(0,r.Z)(this,"isGeospatial",void 0),(0,r.Z)(this,"zoom",void 0),(0,r.Z)(this,"focalDistance",void 0),(0,r.Z)(this,"position",void 0),(0,r.Z)(this,"modelMatrix",void 0),(0,r.Z)(this,"distanceScales",void 0),(0,r.Z)(this,"scale",void 0),(0,r.Z)(this,"center",void 0),(0,r.Z)(this,"cameraPosition",void 0),(0,r.Z)(this,"projectionMatrix",void 0),(0,r.Z)(this,"viewMatrix",void 0),(0,r.Z)(this,"viewMatrixUncentered",void 0),(0,r.Z)(this,"viewMatrixInverse",void 0),(0,r.Z)(this,"viewProjectionMatrix",void 0),(0,r.Z)(this,"pixelProjectionMatrix",void 0),(0,r.Z)(this,"pixelUnprojectionMatrix",void 0),(0,r.Z)(this,"resolution",void 0),(0,r.Z)(this,"_frustumPlanes",{}),this.id=e.id||this.constructor.displayName||"viewport",this.x=e.x||0,this.y=e.y||0,this.width=e.width||1,this.height=e.height||1,this.zoom=e.zoom||0,this.padding=e.padding,this.distanceScales=e.distanceScales||g,this.focalDistance=e.focalDistance||1,this.position=e.position||p,this.modelMatrix=e.modelMatrix||null;const{longitude:t,latitude:n}=e;this.isGeospatial=Number.isFinite(n)&&Number.isFinite(t),this._initProps(e),this._initMatrices(e),this.equals=this.equals.bind(this),this.project=this.project.bind(this),this.unproject=this.unproject.bind(this),this.projectPosition=this.projectPosition.bind(this),this.unprojectPosition=this.unprojectPosition.bind(this),this.projectFlat=this.projectFlat.bind(this),this.unprojectFlat=this.unprojectFlat.bind(this)}get subViewports(){return null}get metersPerPixel(){return this.distanceScales.metersPerUnit[2]/this.scale}get projectionMode(){return this.isGeospatial?this.zoom<12?d.zG.WEB_MERCATOR:d.zG.WEB_MERCATOR_AUTO_OFFSET:d.zG.IDENTITY}equals(e){return e instanceof m&&(this===e||e.width===this.width&&e.height===this.height&&e.scale===this.scale&&(0,s.fS)(e.projectionMatrix,this.projectionMatrix)&&(0,s.fS)(e.viewMatrix,this.viewMatrix))}project(e){let{topLeft:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.projectPosition(e),r=(0,u.aW)(n,this.pixelProjectionMatrix),[i,o]=r,a=t?o:this.height-o;return 2===e.length?[i,a]:[i,a,r[2]]}unproject(e){let{topLeft:t=!0,targetZ:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const[r,i,o]=e,a=t?i:this.height-i,s=n&&n*this.distanceScales.unitsPerMeter[2],l=(0,u.CT)([r,a,o],this.pixelUnprojectionMatrix,s),[c,d,h]=this.unprojectPosition(l);return Number.isFinite(o)?[c,d,h]:Number.isFinite(n)?[c,d,n]:[c,d]}projectPosition(e){const[t,n]=this.projectFlat(e);return[t,n,(e[2]||0)*this.distanceScales.unitsPerMeter[2]]}unprojectPosition(e){const[t,n]=this.unprojectFlat(e);return[t,n,(e[2]||0)*this.distanceScales.metersPerUnit[2]]}projectFlat(e){if(this.isGeospatial){const t=(0,u.w5)(e);return t[1]=(0,s.uZ)(t[1],-318,830),t}return e}unprojectFlat(e){return this.isGeospatial?(0,u.es)(e):e}getBounds(){const e={targetZ:(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).z||0},t=this.unproject([0,0],e),n=this.unproject([this.width,0],e),r=this.unproject([0,this.height],e),i=this.unproject([this.width,this.height],e);return[Math.min(t[0],n[0],r[0],i[0]),Math.min(t[1],n[1],r[1],i[1]),Math.max(t[0],n[0],r[0],i[0]),Math.max(t[1],n[1],r[1],i[1])]}getDistanceScales(e){return e?(0,u.ro)({longitude:e[0],latitude:e[1],highPrecision:!0}):this.distanceScales}containsPixel(e){let{x:t,y:n,width:r=1,height:i=1}=e;return t{"use strict";n.d(t,{Z:()=>c});var r=n(68185),i=n(43809),o=n(1384),a=n(69291),s=n(30373),l=n(39944);class c extends i.Z{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{latitude:t=0,longitude:n=0,zoom:i=0,pitch:a=0,bearing:c=0,nearZMultiplier:u=.1,farZMultiplier:d=1.01,orthographic:h=!1,projectionMatrix:f,repeat:p=!1,worldOffset:g=0,position:m,padding:A,legacyMeterSizes:v=!1}=e;let{width:y,height:b,altitude:_=1.5}=e;const w=Math.pow(2,i);let x;y=y||1,b=b||1;let E=null;if(f)_=f[5]/2,x=(0,o.Lu)(_);else{let n;if(e.fovy?(x=e.fovy,_=(0,o.sj)(x)):x=(0,o.Lu)(_),A){const{top:e=0,bottom:t=0}=A;n=[0,(0,s.uZ)((e+b-t)/2,0,b)-b/2]}E=(0,o.wl)({width:y,height:b,scale:w,center:m&&[0,0,m[2]*(0,o.NC)(t)],offset:n,pitch:a,fovy:x,nearZMultiplier:u,farZMultiplier:d})}let S=(0,o.lf)({height:b,pitch:a,bearing:c,scale:w,altitude:_});if(g){S=(new l.Z).translate([512*g,0,0]).multiplyLeft(S)}super({...e,width:y,height:b,viewMatrix:S,longitude:n,latitude:t,zoom:i,...E,fovy:x,focalDistance:_}),(0,r.Z)(this,"longitude",void 0),(0,r.Z)(this,"latitude",void 0),(0,r.Z)(this,"pitch",void 0),(0,r.Z)(this,"bearing",void 0),(0,r.Z)(this,"altitude",void 0),(0,r.Z)(this,"fovy",void 0),(0,r.Z)(this,"orthographic",void 0),(0,r.Z)(this,"_subViewports",void 0),(0,r.Z)(this,"_pseudoMeters",void 0),this.latitude=t,this.longitude=n,this.zoom=i,this.pitch=a,this.bearing=c,this.altitude=_,this.fovy=x,this.orthographic=h,this._subViewports=p?[]:null,this._pseudoMeters=v,Object.freeze(this)}get subViewports(){if(this._subViewports&&!this._subViewports.length){const e=this.getBounds(),t=Math.floor((e[0]+180)/360),n=Math.ceil((e[2]-180)/360);for(let r=t;r<=n;r++){const e=r?new c({...this,worldOffset:r}):this;this._subViewports.push(e)}}return this._subViewports}projectPosition(e){if(this._pseudoMeters)return super.projectPosition(e);const[t,n]=this.projectFlat(e);return[t,n,(e[2]||0)*(0,o.NC)(e[1])]}unprojectPosition(e){if(this._pseudoMeters)return super.unprojectPosition(e);const[t,n]=this.unprojectFlat(e);return[t,n,(e[2]||0)/(0,o.NC)(n)]}addMetersToLngLat(e,t){return(0,o.eG)(e,t)}panByPosition(e,t){const n=(0,o.CT)(t,this.pixelUnprojectionMatrix),r=this.projectFlat(e),i=a.IH([],r,a.tk([],n)),s=a.IH([],this.center,i),[l,c]=this.unprojectFlat(s);return{longitude:l,latitude:c}}getBounds(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=(0,o.zX)(this,e.z||0);return[Math.min(t[0][0],t[1][0],t[2][0],t[3][0]),Math.min(t[0][1],t[1][1],t[2][1],t[3][1]),Math.max(t[0][0],t[1][0],t[2][0],t[3][0]),Math.max(t[0][1],t[1][1],t[2][1],t[3][1])]}fitBounds(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{width:n,height:r}=this,{longitude:i,latitude:a,zoom:s}=(0,o.Xg)({width:n,height:r,bounds:e,...t});return new c({width:n,height:r,longitude:i,latitude:a,zoom:s})}}(0,r.Z)(c,"displayName","WebMercatorViewport")},46056:(e,t,n)=>{"use strict";n.d(t,{Z:()=>P});var r=n(68185),i=n(44602);const o={name:"collision",dependencies:[n(61518).Z],vs:"\n#ifdef NON_INSTANCED_MODEL\nattribute float collisionPriorities;\n#else\nattribute float instanceCollisionPriorities;\n#endif\n\nuniform sampler2D collision_texture;\nuniform bool collision_sort;\nuniform bool collision_enabled;\n\nvec2 collision_getCoords(vec4 position) {\n vec4 collision_clipspace = project_common_position_to_clipspace(position);\n return (1.0 + collision_clipspace.xy / collision_clipspace.w) / 2.0;\n}\n\nfloat collision_match(vec2 tex, vec3 pickingColor) {\n vec4 collision_pickingColor = texture2D(collision_texture, tex);\n float delta = dot(abs(collision_pickingColor.rgb - pickingColor), vec3(1.0));\n float e = 0.001;\n return step(delta, e);\n}\n\nfloat collision_isVisible(vec2 texCoords, vec3 pickingColor) {\n if (!collision_enabled) {\n return 1.0;\n }\n\n // Visibility test, sample area of 5x5 pixels in order to fade in/out.\n // Due to the locality, the lookups will be cached\n // This reduces the flicker present when objects are shown/hidden\n const int N = 2;\n float accumulator = 0.0;\n vec2 step = vec2(1.0 / project_uViewportSize);\n\n const float floatN = float(N);\n vec2 delta = -floatN * step;\n for(int i = -N; i <= N; i++) {\n delta.x = -step.x * floatN;\n for(int j = -N; j <= N; j++) {\n accumulator += collision_match(texCoords + delta, pickingColor);\n delta.x += step.x;\n }\n delta.y += step.y;\n }\n\n float W = 2.0 * floatN + 1.0;\n return pow(accumulator / (W * W), 2.2);\n}\n",inject:{"vs:#decl":"\n float collision_fade = 1.0;\n","vs:DECKGL_FILTER_GL_POSITION":"\n if (collision_sort) {\n #ifdef NON_INSTANCED_MODEL\n float collisionPriority = collisionPriorities;\n #else\n float collisionPriority = instanceCollisionPriorities;\n #endif\n position.z = -0.001 * collisionPriority * position.w; // Support range -1000 -> 1000\n }\n\n if (collision_enabled) {\n vec4 collision_common_position = project_position(vec4(geometry.worldPosition, 1.0));\n vec2 collision_texCoords = collision_getCoords(collision_common_position);\n collision_fade = collision_isVisible(collision_texCoords, geometry.pickingColor / 255.0);\n if (collision_fade < 0.0001) {\n // Position outside clip space bounds to discard\n position = vec4(0.0, 0.0, 2.0, 1.0);\n }\n }\n ","vs:DECKGL_FILTER_COLOR":"\n color.a *= collision_fade;\n "},getUniforms:(e,t)=>{if(!e||!("dummyCollisionMap"in e))return{};const{collisionFBO:n,drawToCollisionMap:r,dummyCollisionMap:i}=e;return{collision_sort:Boolean(r),collision_texture:!r&&n?n:i}}};var a=n(81786),s=n(76195),l=n(26277),c=n(64282),u=n(30373),d=n(63549),h=n(66176);class f extends h.Z{renderCollisionMap(e,t){const n=this.gl;return(0,s.s8)(n,{scissorTest:!0,scissor:[1,1,e.width-2,e.height-2],clearColor:[0,0,0,0],blend:!1,depthTest:!0,depthRange:[0,1]},(()=>this.render({...t,target:e,pass:"collision"})))}getModuleParameters(){return{drawToCollisionMap:!0,pickingActive:1,pickingAttribute:!1,lightSources:{}}}}var p=n(65148);class g extends h.Z{constructor(e,t){super(e,t),(0,r.Z)(this,"maskMap",void 0),(0,r.Z)(this,"fbo",void 0);const{mapSize:n=2048}=t;this.maskMap=new a.Z(e,{width:n,height:n,parameters:{10241:9729,10240:9729,10242:33071,10243:33071}}),this.fbo=new c.Z(e,{id:"maskmap",width:n,height:n,attachments:{36064:this.maskMap}})}render(e){const t=this.gl,n=[!1,!1,!1,!1];return n[e.channel]=!0,(0,s.s8)(t,{clearColor:[255,255,255,255],blend:!0,blendFunc:[0,1],blendEquation:32778,colorMask:n,depthTest:!1},(()=>super.render({...e,target:this.fbo,pass:"mask"})))}shouldDrawLayer(e){return e.props.operation.includes("mask")}delete(){this.fbo.delete(),this.maskMap.delete()}}var m=n(5550),A=n(43809),v=n(39944),y=n(1384),b=n(69291);const _=(new v.Z).lookAt({eye:[0,0,1]});function w(e){let{width:t,height:n,near:r,far:i,padding:o}=e,a=-t/2,s=t/2,l=-n/2,c=n/2;if(o){const{left:e=0,right:r=0,top:i=0,bottom:d=0}=o,h=(0,u.uZ)((e+t-r)/2,0,t)-t/2,f=(0,u.uZ)((i+n-d)/2,0,n)-n/2;a-=h,s-=h,l+=f,c+=f}return(new v.Z).ortho({left:a,right:s,bottom:l,top:c,near:r,far:i})}class x extends A.Z{constructor(e){const{width:t,height:n,near:r=.1,far:i=1e3,zoom:o=0,target:a=[0,0,0],padding:s=null,flipY:l=!0}=e,c=Array.isArray(o)?o[0]:o,u=Array.isArray(o)?o[1]:o,d=Math.min(c,u),h=Math.pow(2,d);let f;if(c!==u){const e=Math.pow(2,c),t=Math.pow(2,u);f={unitsPerMeter:[e/h,t/h,1],metersPerUnit:[h/e,h/t,1]}}super({...e,longitude:void 0,position:a,viewMatrix:_.clone().scale([h,h*(l?-1:1),h]),projectionMatrix:w({width:t||1,height:n||1,padding:s,near:r,far:i}),zoom:d,distanceScales:f})}projectFlat(e){let[t,n]=e;const{unitsPerMeter:r}=this.distanceScales;return[t*r[0],n*r[1]]}unprojectFlat(e){let[t,n]=e;const{metersPerUnit:r}=this.distanceScales;return[t*r[0],n*r[1]]}panByPosition(e,t){const n=(0,y.CT)(t,this.pixelUnprojectionMatrix),r=this.projectFlat(e),i=b.IH([],r,b.tk([],n)),o=b.IH([],this.center,i);return{target:this.unprojectFlat(o)}}}function E(e,t,n){if(!e)return[0,0,1,1];const r=function(e,t){let n;if(t&&2===t.length){const[r,i]=t,o=e.getBounds({z:r}),a=e.getBounds({z:i});n=[Math.min(o[0],a[0]),Math.min(o[1],a[1]),Math.max(o[2],a[2]),Math.max(o[3],a[3])]}else n=e.getBounds();const r=e.projectPosition(n.slice(0,2)),i=e.projectPosition(n.slice(2,4));return[r[0],r[1],i[0],i[1]]}(t,n),i=function(e){const t=e[2]-e[0],n=e[3]-e[1],r=(e[0]+e[2])/2,i=(e[1]+e[3])/2;return[r-t,i-n,r+t,i+n]}(r);return e[2]-e[0]<=i[2]-i[0]&&e[3]-e[1]<=i[3]-i[1]?e:[Math.max(e[0],i[0]),Math.max(e[1],i[1]),Math.min(e[2],i[2]),Math.min(e[3],i[3])]}class S{constructor(){(0,r.Z)(this,"id","mask-effect"),(0,r.Z)(this,"props",null),(0,r.Z)(this,"useInPicking",!0),(0,r.Z)(this,"order",0),(0,r.Z)(this,"dummyMaskMap",void 0),(0,r.Z)(this,"channels",[]),(0,r.Z)(this,"masks",null),(0,r.Z)(this,"maskPass",void 0),(0,r.Z)(this,"maskMap",void 0),(0,r.Z)(this,"lastViewport",void 0)}preRender(e,t){let{layers:n,layerFilter:r,viewports:i,onViewportActive:o,views:s,isPicking:l}=t,c=!1;if(this.dummyMaskMap||(this.dummyMaskMap=new a.Z(e,{width:1,height:1})),l)return{didRender:c};const u=n.filter((e=>e.props.visible&&e.props.operation.includes("mask")));if(0===u.length)return this.masks=null,this.channels.length=0,{didRender:c};this.masks={},this.maskPass||(this.maskPass=new g(e,{id:"default-mask"}),this.maskMap=this.maskPass.maskMap);const d=this._sortMaskChannels(u),h=i[0],f=!this.lastViewport||!this.lastViewport.equals(h);if(void 0!==h.resolution)return p.Z.warn("MaskExtension is not supported in GlobeView")(),{didRender:c};for(const a in d){const e=this._renderChannel(d[a],{layerFilter:r,onViewportActive:o,views:s,viewport:h,viewportChanged:f});c||(c=e)}return{didRender:c}}_renderChannel(e,t){let{layerFilter:n,onViewportActive:r,views:i,viewport:o,viewportChanged:a}=t,s=!1;const l=this.channels[e.index];if(!l)return s;const c=e===l||e.layers.length!==l.layers.length||e.layers.some(((e,t)=>e!==l.layers[t]||e.props.transitions))||e.layerBounds.some(((e,t)=>e!==l.layerBounds[t]));if(e.bounds=l.bounds,e.maskBounds=l.maskBounds,this.channels[e.index]=e,c||a){this.lastViewport=o;const t=function(e,t){const n=[1/0,1/0,-1/0,-1/0];for(const r of e){const e=r.getBounds();if(e){const i=r.projectPosition(e[0],{viewport:t,autoOffset:!1}),o=r.projectPosition(e[1],{viewport:t,autoOffset:!1});n[0]=Math.min(n[0],i[0]),n[1]=Math.min(n[1],i[1]),n[2]=Math.max(n[2],o[0]),n[3]=Math.max(n[3],o[1])}}return Number.isFinite(n[0])?n:null}(e.layers,o);if(e.bounds=t&&E(t,o),c||!(0,u.fS)(e.bounds,l.bounds)){const{maskPass:a,maskMap:l}=this,c=t&&function(e){const{bounds:t,viewport:n,border:r=0}=e,{isGeospatial:i}=n;if(t[2]<=t[0]||t[3]<=t[1])return null;const o=n.unprojectPosition([(t[0]+t[2])/2,(t[1]+t[3])/2,0]);let{width:a,height:s,zoom:l}=e;if(void 0===l){a-=2*r,s-=2*r;const e=Math.min(a/(t[2]-t[0]),s/(t[3]-t[1]));l=Math.min(Math.log2(e),20)}else if(!a||!s){const e=2**l;a=Math.round(Math.abs(t[2]-t[0])*e),s=Math.round(Math.abs(t[3]-t[1])*e);const n=2048-2*r;if(a>n||s>n){const e=n/Math.max(a,s);a=Math.round(a*e),s=Math.round(s*e),l+=Math.log2(e)}}return i?new m.Z({x:r,y:r,width:a,height:s,longitude:o[0],latitude:o[1],zoom:l,orthographic:!0}):new x({x:r,y:r,width:a,height:s,target:o,zoom:l,flipY:!1})}({bounds:e.bounds,viewport:o,width:l.width,height:l.height,border:1});e.maskBounds=c?c.getBounds():[0,0,1,1],a.render({pass:"mask",channel:e.index,layers:e.layers,layerFilter:n,viewports:c?[c]:[],onViewportActive:r,views:i,moduleParameters:{devicePixelRatio:1}}),s=!0}}return this.masks[e.id]={index:e.index,bounds:e.maskBounds,coordinateOrigin:e.coordinateOrigin,coordinateSystem:e.coordinateSystem},s}_sortMaskChannels(e){const t={};let n=0;for(const r of e){const{id:e}=r.root;let i=t[e];if(!i){if(++n>4){p.Z.warn("Too many mask layers. The max supported is 4")();continue}i={id:e,index:this.channels.findIndex((t=>(null===t||void 0===t?void 0:t.id)===e)),layers:[],layerBounds:[],coordinateOrigin:r.root.props.coordinateOrigin,coordinateSystem:r.root.props.coordinateSystem},t[e]=i}i.layers.push(r),i.layerBounds.push(r.getBounds())}for(let r=0;r<4;r++){const e=this.channels[r];e&&e.id in t||(this.channels[r]=null)}for(const r in t){const e=t[r];e.index<0&&(e.index=this.channels.findIndex((e=>!e)),this.channels[e.index]=e)}return t}getModuleParameters(){return{maskMap:this.masks?this.maskMap:this.dummyMaskMap,maskChannels:this.masks}}cleanup(){this.dummyMaskMap&&(this.dummyMaskMap.delete(),this.dummyMaskMap=void 0),this.maskPass&&(this.maskPass.delete(),this.maskPass=void 0,this.maskMap=void 0),this.lastViewport=void 0,this.masks=null,this.channels.length=0}}class C{constructor(){(0,r.Z)(this,"id","collision-filter-effect"),(0,r.Z)(this,"props",null),(0,r.Z)(this,"useInPicking",!0),(0,r.Z)(this,"order",1),(0,r.Z)(this,"channels",{}),(0,r.Z)(this,"collisionFilterPass",void 0),(0,r.Z)(this,"collisionFBOs",{}),(0,r.Z)(this,"dummyCollisionMap",void 0),(0,r.Z)(this,"lastViewport",void 0)}preRender(e,t){let{effects:n,layers:r,layerFilter:i,viewports:o,onViewportActive:s,views:l,isPicking:c,preRenderStats:u={}}=t;var d;if(this.dummyCollisionMap||(this.dummyCollisionMap=new a.Z(e,{width:1,height:1})),c)return;const h=r.filter((e=>{let{props:{visible:t,collisionEnabled:n}}=e;return t&&n}));if(0===h.length)return void(this.channels={});this.collisionFilterPass||(this.collisionFilterPass=new f(e,{id:"default-collision-filter"}));const p=null===n||void 0===n?void 0:n.filter((e=>e.constructor===S)),g=null===(d=u["mask-effect"])||void 0===d?void 0:d.didRender,m=this._groupByCollisionGroup(e,h),A=o[0],v=!this.lastViewport||!this.lastViewport.equals(A)||g;for(const a in m){const t=this.collisionFBOs[a],n=m[a];t.resize({width:e.canvas.width/2,height:e.canvas.height/2}),this._render(n,{effects:p,layerFilter:i,onViewportActive:s,views:l,viewport:A,viewportChanged:v})}}_render(e,t){let{effects:n,layerFilter:r,onViewportActive:i,views:o,viewport:a,viewportChanged:l}=t;const{collisionGroup:c}=e,h=this.channels[c];if(!h)return;const f=l||e===h||!(0,d.v)(h.layers,e.layers,1)||e.layerBounds.some(((e,t)=>!(0,u.fS)(e,h.layerBounds[t])))||e.allLayersLoaded!==h.allLayersLoaded||e.layers.some((e=>e.props.transitions));if(this.channels[c]=e,f){this.lastViewport=a;const t=this.collisionFBOs[c];this.collisionFilterPass.renderCollisionMap(t,{pass:"collision-filter",isPicking:!0,layers:e.layers,effects:n,layerFilter:r,viewports:a?[a]:[],onViewportActive:i,views:o,moduleParameters:{dummyCollisionMap:this.dummyCollisionMap,devicePixelRatio:(0,s.w)(t.gl)/2}})}}_groupByCollisionGroup(e,t){const n={};for(const r of t){const{collisionGroup:e}=r.props;let t=n[e];t||(t={collisionGroup:e,layers:[],layerBounds:[],allLayersLoaded:!0},n[e]=t),t.layers.push(r),t.layerBounds.push(r.getBounds()),r.isLoaded||(t.allLayersLoaded=!1)}for(const r of Object.keys(n))this.collisionFBOs[r]||this.createFBO(e,r),this.channels[r]||(this.channels[r]=n[r]);for(const r of Object.keys(this.collisionFBOs))n[r]||this.destroyFBO(r);return n}getModuleParameters(e){const{collisionGroup:t}=e.props,{collisionFBOs:n,dummyCollisionMap:r}=this;return{collisionFBO:n[t],dummyCollisionMap:r}}cleanup(){this.dummyCollisionMap&&(this.dummyCollisionMap.delete(),this.dummyCollisionMap=void 0),this.channels={};for(const e of Object.keys(this.collisionFBOs))this.destroyFBO(e);this.collisionFBOs={},this.lastViewport=void 0}createFBO(e,t){const{width:n,height:r}=e.canvas,i=new a.Z(e,{width:n,height:r,parameters:{10241:9728,10240:9728,10242:33071,10243:33071}}),o=new l.Z(e,{format:33189,width:n,height:r});this.collisionFBOs[t]=new c.Z(e,{id:"Collision-".concat(t),width:n,height:r,attachments:{36064:i,36096:o}})}destroyFBO(e){const t=this.collisionFBOs[e];for(const n of Object.values(t.attachments))n.delete();t.delete(),delete this.collisionFBOs[e]}}class P extends i.Z{getShaders(){return{modules:[o]}}draw(e){let{uniforms:t,context:n,moduleParameters:r}=e;const{collisionEnabled:i}=this.props,{collisionFBO:o,drawToCollisionMap:a}=r,s=i&&Boolean(o);t.collision_enabled=s,a&&(this.props=this.clone(this.props.collisionTestProps).props)}initializeState(e,t){var n;if(null===this.getAttributeManager())return;null===(n=this.context.deck)||void 0===n||n._addDefaultEffect(new C);this.getAttributeManager().add({collisionPriorities:{size:1,accessor:"getCollisionPriority",shaderAttributes:{collisionPriorities:{divisor:0},instanceCollisionPriorities:{divisor:1}}}})}getNeedsPickingBuffer(){return this.props.collisionEnabled}}(0,r.Z)(P,"defaultProps",{getCollisionPriority:{type:"accessor",value:0},collisionEnabled:!0,collisionGroup:{type:"string",value:"default"},collisionTestProps:{}}),(0,r.Z)(P,"extensionName","CollisionFilterExtension")},24099:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var r=n(68185),i=n(44602);const o="\nuniform DATAFILTER_TYPE filter_min;\nuniform DATAFILTER_TYPE filter_softMin;\nuniform DATAFILTER_TYPE filter_softMax;\nuniform DATAFILTER_TYPE filter_max;\nuniform bool filter_useSoftMargin;\nuniform bool filter_enabled;\nuniform bool filter_transformSize;\n\n#ifdef NON_INSTANCED_MODEL\n #define DATAFILTER_ATTRIB filterValues\n #define DATAFILTER_ATTRIB_64LOW filterValues64Low\n#else\n #define DATAFILTER_ATTRIB instanceFilterValues\n #define DATAFILTER_ATTRIB_64LOW instanceFilterValues64Low\n#endif\n\nattribute DATAFILTER_TYPE DATAFILTER_ATTRIB;\n#ifdef DATAFILTER_DOUBLE\n attribute DATAFILTER_TYPE DATAFILTER_ATTRIB_64LOW;\n\n uniform DATAFILTER_TYPE filter_min64High;\n uniform DATAFILTER_TYPE filter_max64High;\n#endif\n\nvarying float dataFilter_value;\n\nfloat dataFilter_reduceValue(float value) {\n return value;\n}\nfloat dataFilter_reduceValue(vec2 value) {\n return min(value.x, value.y);\n}\nfloat dataFilter_reduceValue(vec3 value) {\n return min(min(value.x, value.y), value.z);\n}\nfloat dataFilter_reduceValue(vec4 value) {\n return min(min(value.x, value.y), min(value.z, value.w));\n}\nvoid dataFilter_setValue(DATAFILTER_TYPE valueFromMin, DATAFILTER_TYPE valueFromMax) {\n if (filter_enabled) {\n if (filter_useSoftMargin) {\n dataFilter_value = dataFilter_reduceValue(\n smoothstep(filter_min, filter_softMin, valueFromMin) *\n (1.0 - smoothstep(filter_softMax, filter_max, valueFromMax))\n );\n } else {\n dataFilter_value = dataFilter_reduceValue(\n step(filter_min, valueFromMin) * step(valueFromMax, filter_max)\n );\n }\n } else {\n dataFilter_value = 1.0;\n }\n}\n",a="\nuniform bool filter_transformColor;\nvarying float dataFilter_value;\n";function s(e){if(!e||!("extensions"in e))return{};const{filterRange:t=[-1,1],filterEnabled:n=!0,filterTransformSize:r=!0,filterTransformColor:i=!0}=e,o=e.filterSoftRange||t;return{...Number.isFinite(t[0])?{filter_min:t[0],filter_softMin:o[0],filter_softMax:o[1],filter_max:t[1]}:{filter_min:t.map((e=>e[0])),filter_softMin:o.map((e=>e[0])),filter_softMax:o.map((e=>e[1])),filter_max:t.map((e=>e[1]))},filter_enabled:n,filter_useSoftMargin:Boolean(e.filterSoftRange),filter_transformSize:n&&r,filter_transformColor:n&&i}}const l={"vs:#main-start":"\n #ifdef DATAFILTER_DOUBLE\n dataFilter_setValue(\n DATAFILTER_ATTRIB - filter_min64High + DATAFILTER_ATTRIB_64LOW,\n DATAFILTER_ATTRIB - filter_max64High + DATAFILTER_ATTRIB_64LOW\n );\n #else\n dataFilter_setValue(DATAFILTER_ATTRIB, DATAFILTER_ATTRIB);\n #endif\n ","vs:#main-end":"\n if (dataFilter_value == 0.0) {\n gl_Position = vec4(0.);\n }\n ","vs:DECKGL_FILTER_SIZE":"\n if (filter_transformSize) {\n size = size * dataFilter_value;\n }\n ","fs:DECKGL_FILTER_COLOR":"\n if (dataFilter_value == 0.0) discard;\n if (filter_transformColor) {\n color.a *= dataFilter_value;\n }\n "},c={name:"data-filter",vs:o,fs:a,inject:l,getUniforms:s},u={name:"data-filter-fp64",vs:o,fs:a,inject:l,getUniforms:function(e){if(!e||!("extensions"in e))return{};const t=s(e);if(Number.isFinite(t.filter_min)){const e=Math.fround(t.filter_min);t.filter_min-=e,t.filter_softMin-=e,t.filter_min64High=e;const n=Math.fround(t.filter_max);t.filter_max-=n,t.filter_softMax-=n,t.filter_max64High=n}else{const e=t.filter_min.map(Math.fround);t.filter_min=t.filter_min.map(((t,n)=>t-e[n])),t.filter_softMin=t.filter_softMin.map(((t,n)=>t-e[n])),t.filter_min64High=e;const n=t.filter_max.map(Math.fround);t.filter_max=t.filter_max.map(((e,t)=>e-n[t])),t.filter_softMax=t.filter_softMax.map(((e,t)=>e-n[t])),t.filter_max64High=n}return t}};var d=n(64282),h=n(81786),f=n(76195),p=n(44548);const g={blend:!0,blendFunc:[1,1,1,1],blendEquation:[32774,32774],depthTest:!1};var m=n(36708),A=n(77378);const v={1:"float",2:"vec2",3:"vec3",4:"vec4"};class y extends i.Z{constructor(){let{filterSize:e=1,fp64:t=!1,countItems:n=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!v[e])throw new Error("filterSize out of range");super({filterSize:e,fp64:t,countItems:n})}getShaders(e){const{filterSize:t,fp64:n}=e.opts;return{modules:[n?u:c],defines:{DATAFILTER_TYPE:v[t],DATAFILTER_DOUBLE:Boolean(n)}}}initializeState(e,t){const n=this.getAttributeManager();n&&n.add({filterValues:{size:t.opts.filterSize,type:t.opts.fp64?5130:5126,accessor:"getFilterValue",shaderAttributes:{filterValues:{divisor:0},instanceFilterValues:{divisor:1}}}});const{gl:r}=this.context;if(n&&t.opts.countItems){const e=function(e){return Boolean(e.getExtension("EXT_float_blend")&&(e.getExtension("EXT_color_buffer_float")||e.getExtension("WEBGL_color_buffer_float")))}(r);n.add({filterIndices:{size:e?1:2,vertexOffset:1,type:5121,normalized:!0,accessor:(t,n)=>{let{index:r}=n;const i=t&&t.__source?t.__source.index:r;return e?(i+1)%255:[(i+1)%255,Math.floor(i/255)%255]},shaderAttributes:{filterPrevIndices:{vertexOffset:0},filterIndices:{vertexOffset:1}}}});const i=function(e,t){return t?new d.Z(e,{width:1,height:1,attachments:{36064:new h.Z(e,{format:(0,f.D0)(e)?34836:6408,type:5126,mipmaps:!1})}}):new d.Z(e,{width:256,height:64,depth:!1})}(r,e),o=function(e,t,n){return t.defines.NON_INSTANCED_MODEL=1,n&&(t.defines.FLOAT_TARGET=1),new p.Z(e,{id:"data-filter-aggregation-model",vertexCount:1,isInstanced:!1,drawMode:0,vs:"#define SHADER_NAME data-filter-vertex-shader\n\n#ifdef FLOAT_TARGET\n attribute float filterIndices;\n attribute float filterPrevIndices;\n#else\n attribute vec2 filterIndices;\n attribute vec2 filterPrevIndices;\n#endif\n\nvarying vec4 vColor;\nconst float component = 1.0 / 255.0;\n\nvoid main() {\n #ifdef FLOAT_TARGET\n dataFilter_value *= float(filterIndices != filterPrevIndices);\n gl_Position = vec4(0.0, 0.0, 0.0, 1.0);\n vColor = vec4(0.0, 0.0, 0.0, 1.0);\n #else\n // Float texture is not supported: pack result into 4 channels x 256 px x 64px\n dataFilter_value *= float(filterIndices.x != filterPrevIndices.x);\n float col = filterIndices.x;\n float row = filterIndices.y * 4.0;\n float channel = floor(row);\n row = fract(row);\n vColor = component * vec4(bvec4(channel == 0.0, channel == 1.0, channel == 2.0, channel == 3.0));\n gl_Position = vec4(col * 2.0 - 1.0, row * 2.0 - 1.0, 0.0, 1.0);\n #endif\n gl_PointSize = 1.0;\n}\n",fs:"#define SHADER_NAME data-filter-fragment-shader\nprecision highp float;\n\nvarying vec4 vColor;\n\nvoid main() {\n if (dataFilter_value < 0.5) {\n discard;\n }\n gl_FragColor = vColor;\n}\n",...t})}(r,t.getShaders.call(this,t),e);this.setState({filterFBO:i,filterModel:o})}}updateState(e){let{props:t,oldProps:n}=e;if(this.state.filterModel){const e=this.getAttributeManager().attributes.filterValues.needsUpdate()||t.filterEnabled!==n.filterEnabled||t.filterRange!==n.filterRange||t.filterSoftRange!==n.filterSoftRange;e&&this.setState({filterNeedsUpdate:e})}}draw(e,t){const{filterFBO:n,filterModel:r,filterNeedsUpdate:i}=this.state,{onFilteredItemsChange:o}=this.props;if(i&&o&&r){const{attributes:{filterValues:t,filterIndices:i}}=this.getAttributeManager();r.setVertexCount(this.getNumInstances());const{gl:a}=this.context;(0,m.Z)(a,{framebuffer:n,color:[0,0,0,0]}),r.updateModuleSettings(e.moduleParameters).setAttributes({...t.getShaderAttributes(),...i&&i.getShaderAttributes()}).draw({framebuffer:n,parameters:{...g,viewport:[0,0,n.width,n.height]}});const s=(0,A.z6)(n);let l=0;for(let e=0;e{"use strict";n.d(t,{Z:()=>d});var r=n(68185),i=n(84444),o=n(39179),a=n(64359),s=n(32603),l=n(88264);const c={...l.Z.defaultProps};class u extends s.Z{indexToBounds(){return null}renderLayers(){const{elevationScale:e,extruded:t,wireframe:n,filled:r,stroked:i,lineWidthUnits:o,lineWidthScale:a,lineWidthMinPixels:s,lineWidthMaxPixels:c,lineJointRounded:u,lineMiterLimit:d,lineDashJustified:h,getElevation:f,getFillColor:p,getLineColor:g,getLineWidth:m}=this.props,{updateTriggers:A,material:v,transitions:y}=this.props;return new(this.getSubLayerClass("cell",l.Z))({filled:r,wireframe:n,extruded:t,elevationScale:e,stroked:i,lineWidthUnits:o,lineWidthScale:a,lineWidthMinPixels:s,lineWidthMaxPixels:c,lineJointRounded:u,lineMiterLimit:d,lineDashJustified:h,material:v,transitions:y,getElevation:f,getFillColor:p,getLineColor:g,getLineWidth:m},this.getSubLayerProps({id:"cell",updateTriggers:A&&{getElevation:A.getElevation,getFillColor:A.getFillColor,getLineColor:A.getLineColor,getLineWidth:A.getLineWidth}}),this.indexToBounds())}}(0,r.Z)(u,"layerName","GeoCellLayer"),(0,r.Z)(u,"defaultProps",c);class d extends u{initializeState(){a.ZP._checkH3Lib()}updateState(e){let{props:t,changeFlags:n}=e;if(n.dataChanged||n.updateTriggersChanged&&n.updateTriggersChanged.getHexagons){const{data:e,getHexagons:n}=t,r=[],{iterable:a,objectInfo:s}=(0,o.jB)(e);for(const t of a){s.index++;const e=n(t,s),o=(0,i.kU)(e,!0);for(const n of o)r.push(this.getSubLayerRow({polygon:n},t,s.index))}this.setState({polygons:r})}}indexToBounds(){const{getElevation:e,getFillColor:t,getLineColor:n,getLineWidth:r}=this.props;return{data:this.state.polygons,getPolygon:e=>e.polygon,getElevation:this.getSubLayerAccessor(e),getFillColor:this.getSubLayerAccessor(t),getLineColor:this.getSubLayerAccessor(n),getLineWidth:this.getSubLayerAccessor(r)}}}(0,r.Z)(d,"layerName","H3ClusterLayer"),(0,r.Z)(d,"defaultProps",{getHexagons:{type:"accessor",value:e=>e.hexagons}})},64359:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>p});var r=n(68185),i=n(84444),o=n(30373),a=n(32603),s=n(39179),l=n(88264),c=n(13091);function u(e,t){t=void 0===t?e[0][0]:t;for(const n of e){const e=n[0]-t;e>180?n[0]-=360:e<-180&&(n[0]+=360)}}function d(e,t,n){const r=e(t,n),[o,a]=(0,i.VP)(r);return[a,o]}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=(0,i.Lg)(e,!0);return 1!==t?function(e,t,n){const[r,a]=(0,i.VP)(e),s=t.length;u(t,a);const l=t[0]===t[s-1]?s-1:s;for(let i=0;ie.hexagon},extruded:!0};class p extends a.Z{constructor(){super(...arguments),(0,r.Z)(this,"state",void 0)}initializeState(){p._checkH3Lib(),this.state={edgeLengthKM:0,resolution:-1}}shouldUpdateState(e){let{changeFlags:t}=e;return this._shouldUseHighPrecision()?t.propsOrDataChanged:t.somethingChanged}updateState(e){let{props:t,changeFlags:n}=e;if(!0!==t.highPrecision&&(n.dataChanged||n.updateTriggersChanged&&n.updateTriggersChanged.getHexagon)){const e=this._calculateH3DataProps();this.setState(e)}this._updateVertices(this.context.viewport)}_calculateH3DataProps(){let e=-1,t=!1,n=!1;const{iterable:r,objectInfo:o}=(0,s.jB)(this.props.data);for(const a of r){o.index++;const r=this.props.getHexagon(a,o),s=(0,i.AI)(r);if(e<0){if(e=s,!this.props.highPrecision)break}else if(e!==s){n=!0;break}if((0,i.v8)(r)){t=!0;break}}return{resolution:e,edgeLengthKM:e>=0?(0,i.U7)(e,"km"):0,hasMultipleRes:n,hasPentagon:t}}_shouldUseHighPrecision(){if("auto"===this.props.highPrecision){const{resolution:e,hasPentagon:t,hasMultipleRes:n}=this.state,{viewport:r}=this.context;return Boolean(null===r||void 0===r?void 0:r.resolution)||n||t||e>=0&&e<=5}return this.props.highPrecision}_updateVertices(e){if(this._shouldUseHighPrecision())return;const{resolution:t,edgeLengthKM:n,centerHex:r}=this.state;if(t<0)return;const o=this.props.centerHexagon||(0,i.Cx)(e.latitude,e.longitude,t);if(r===o)return;if(r){const e=(0,i.Ji)(r,o);if(e>=0&&e*n<10)return}const{unitsPerMeter:a}=e.distanceScales;let s=h(o);const[l,c]=(0,i.VP)(o),[u,d]=e.projectFlat([c,l]);s=s.map((t=>{const n=e.projectFlat(t);return[(n[0]-u)/a[0],(n[1]-d)/a[1]]})),this.setState({centerHex:o,vertices:s})}renderLayers(){return this._shouldUseHighPrecision()?this._renderPolygonLayer():this._renderColumnLayer()}_getForwardProps(){const{elevationScale:e,material:t,coverage:n,extruded:r,wireframe:i,stroked:o,filled:a,lineWidthUnits:s,lineWidthScale:l,lineWidthMinPixels:c,lineWidthMaxPixels:u,getFillColor:d,getElevation:h,getLineColor:f,getLineWidth:p,transitions:g,updateTriggers:m}=this.props;return{elevationScale:e,extruded:r,coverage:n,wireframe:i,stroked:o,filled:a,lineWidthUnits:s,lineWidthScale:l,lineWidthMinPixels:c,lineWidthMaxPixels:u,material:t,getElevation:h,getFillColor:d,getLineColor:f,getLineWidth:p,transitions:g,updateTriggers:{getFillColor:m.getFillColor,getElevation:m.getElevation,getLineColor:m.getLineColor,getLineWidth:m.getLineWidth}}}_renderPolygonLayer(){const{data:e,getHexagon:t,updateTriggers:n,coverage:r}=this.props,i=this.getSubLayerClass("hexagon-cell-hifi",l.Z),o=this._getForwardProps();return o.updateTriggers.getPolygon=function(e,t){let n;return n=void 0===e||null===e?t:"object"===typeof e?{...e,coverage:t}:{getHexagon:e,coverage:t},n}(n.getHexagon,r),new i(o,this.getSubLayerProps({id:"hexagon-cell-hifi",updateTriggers:o.updateTriggers}),{data:e,_normalize:!1,_windingOrder:"CCW",positionFormat:"XY",getPolygon:(e,n)=>function(e){const t=new Float64Array(2*e.length);let n=0;for(const r of e)t[n++]=r[0],t[n++]=r[1];return t}(h(t(e,n),r))})}_renderColumnLayer(){const{data:e,getHexagon:t,updateTriggers:n}=this.props,r=this.getSubLayerClass("hexagon-cell",c.Z),i=this._getForwardProps();return i.updateTriggers.getPosition=n.getHexagon,new r(i,this.getSubLayerProps({id:"hexagon-cell",flatShading:!0,updateTriggers:i.updateTriggers}),{data:e,diskResolution:6,radius:1,vertices:this.state.vertices,getPosition:d.bind(null,t)})}}(0,r.Z)(p,"defaultProps",f),(0,r.Z)(p,"layerName","H3HexagonLayer"),(0,r.Z)(p,"_checkH3Lib",(()=>{}))},98173:(e,t,n)=>{"use strict";n.d(t,{Z:()=>le});var r=n(68185),i=n(98029),o=n(65148),a=n(36741),s=n(44602);const l={clipBounds:[0,0,1,1],clipByInstance:void 0},c="\nuniform vec4 clip_bounds;\n\nbool clip_isInBounds(vec2 position) {\n return position.x >= clip_bounds[0] && position.y >= clip_bounds[1] && position.x < clip_bounds[2] && position.y < clip_bounds[3];\n}\n",u={name:"clip-vs",vs:c},d={"vs:#decl":"\nvarying float clip_isVisible;\n","vs:DECKGL_FILTER_GL_POSITION":"\n clip_isVisible = float(clip_isInBounds(geometry.worldPosition.xy));\n","fs:#decl":"\nvarying float clip_isVisible;\n","fs:DECKGL_FILTER_COLOR":"\n if (clip_isVisible < 0.5) discard;\n"},h={name:"clip-fs",fs:c},f={"vs:#decl":"\nvarying vec2 clip_commonPosition;\n","vs:DECKGL_FILTER_GL_POSITION":"\n clip_commonPosition = geometry.position.xy;\n","fs:#decl":"\nvarying vec2 clip_commonPosition;\n","fs:DECKGL_FILTER_COLOR":"\n if (!clip_isInBounds(clip_commonPosition)) discard;\n"};class p extends s.Z{getShaders(){let e="instancePositions"in this.getAttributeManager().attributes;return void 0!==this.props.clipByInstance&&(e=Boolean(this.props.clipByInstance)),this.state.clipByInstance=e,e?{modules:[u],inject:d}:{modules:[h],inject:f}}draw(e){let{uniforms:t}=e;const{clipBounds:n}=this.props;if(this.state.clipByInstance)t.clip_bounds=n;else{const e=this.projectPosition([n[0],n[1],0]),r=this.projectPosition([n[2],n[3],0]);t.clip_bounds=[Math.min(e[0],r[0]),Math.min(e[1],r[1]),Math.max(e[0],r[0]),Math.max(e[1],r[1])]}}}(0,r.Z)(p,"defaultProps",l),(0,r.Z)(p,"extensionName","ClipExtension");var g=n(39944),m=n(23140),A=n(30576),v=n.n(A);function y(e){let t=0;for(let n,r,i=0,o=e.length-1;i>3}if(r--,1===n||2===n)i+=e.readSVarint(),o+=e.readSVarint(),1===n&&(s&&a.push(s),s=[]),s&&s.push([i,o]);else{if(7!==n)throw new Error("unknown command ".concat(n));s&&s.push(s[0].slice())}}return s&&a.push(s),a}bbox(){const e=this._pbf;e.pos=this._geometry;const t=e.readVarint()+e.pos;let n=1,r=0,i=0,o=0,a=1/0,s=-1/0,l=1/0,c=-1/0;for(;e.pos>3}if(r--,1===n||2===n)i+=e.readSVarint(),o+=e.readSVarint(),is&&(s=i),oc&&(c=o);else if(7!==n)throw new Error("unknown command ".concat(n))}return[a,l,s,c]}_toGeoJSON(e){let t,n,r=this.loadGeometry(),i=_.types[this.type];switch(this.type){case 1:const i=[];for(t=0;t=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[e];const t=this._pbf.readVarint()+this._pbf.pos;return new _(this._pbf,t,this.extent,this._keys,this._values)}}function x(e,t,n){t&&n&&(15===e?t.version=n.readVarint():1===e?t.name=n.readString():5===e?t.extent=n.readVarint():2===e?t._features.push(n.pos):3===e?t._keys.push(n.readString()):4===e&&t._values.push(function(e){let t=null;const n=e.readVarint()+e.pos;for(;e.pos>3;t=1===n?e.readString():2===n?e.readFloat():3===n?e.readDouble():4===n?e.readVarint64():5===n?e.readVarint():6===n?e.readSVarint():7===n?e.readBoolean():null}return t}(n)))}class E{constructor(e,t){(0,r.Z)(this,"layers",void 0),this.layers=e.readFields(S,{},t)}}function S(e,t,n){if(3===e&&n){const e=new w(n,n.readVarint()+n.pos);e.length&&t&&(t[e.name]=e)}}var C=n(8766);function P(e){const t=e.indices.length,n="Polygon";if(t<=1)return{type:n,data:e.data,areas:[[(0,C.getPolygonSignedArea)(e.data)]],indices:[e.indices]};const r=[],i=[];let o,a=[],s=[],l=0;for(let c,u,d=0;d>3),O--,1===k||2===k)I+=e.readSVarint(),L+=e.readSVarint(),1===k&&t.push(D),n.push(I,L),D+=2;else{if(7!==k)throw new Error("unknown command ".concat(k));if(D>0){const e=t[t.length-1];n.push(n[e],n[e+1]),D+=2}}return{data:n,indices:t}}_toBinaryCoordinates(e){const t=this.loadGeometry();let n;e(t.data,this);switch(this.type){case 1:this._geometryInfo.pointFeaturesCount++,this._geometryInfo.pointPositionsCount+=t.indices.length,n={type:"Point",...t};break;case 2:this._geometryInfo.lineFeaturesCount++,this._geometryInfo.linePathsCount+=t.indices.length,this._geometryInfo.linePositionsCount+=t.data.length/2,n={type:"LineString",...t};break;case 3:n=P(t),this._geometryInfo.polygonFeaturesCount++,this._geometryInfo.polygonObjectsCount+=n.indices.length;for(const e of n.indices)this._geometryInfo.polygonRingsCount+=e.length;this._geometryInfo.polygonPositionsCount+=n.data.length/2;break;default:throw new Error("Invalid geometry type: ".concat(this.type))}const r={type:"Feature",geometry:n,properties:this.properties};return null!==this.id&&(r.id=this.id),r}toBinaryCoordinates(e){if("function"===typeof e)return this._toBinaryCoordinates(e);const{x:t,y:n,z:r}=e,i=this.extent*Math.pow(2,r),o=this.extent*t,a=this.extent*n;return this._toBinaryCoordinates((e=>function(e,t,n,r){for(let i=0,o=e.length;i=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[e];const n=this._pbf.readVarint()+this._pbf.pos;return new N(this._pbf,n,this.extent,this._keys,this._values,t)}}function j(e,t,n){t&&n&&(15===e?t.version=n.readVarint():1===e?t.name=n.readString():5===e?t.extent=n.readVarint():2===e?t._features.push(n.pos):3===e?t._keys.push(n.readString()):4===e&&t._values.push(function(e){let t=null;const n=e.readVarint()+e.pos;for(;e.pos>3;t=1===n?e.readString():2===n?e.readFloat():3===n?e.readDouble():4===n?e.readVarint64():5===n?e.readVarint():6===n?e.readSVarint():7===n?e.readBoolean():null}return t}(n)))}class B{constructor(e,t){(0,r.Z)(this,"layers",void 0),this.layers=e.readFields(z,{},t)}}function z(e,t,n){if(3===e&&n){const e=new F(n,n.readVarint()+n.pos);e.length&&t&&(t[e.name]=e)}}function Z(e,t){var n,r;const i=function(e){var t;if(null===e||void 0===e||!e.mvt)throw new Error("mvt options required");const n="wgs84"===(null===(t=e.mvt)||void 0===t?void 0:t.coordinates),{tileIndex:r}=e.mvt,i=r&&Number.isFinite(r.x)&&Number.isFinite(r.y)&&Number.isFinite(r.z);if(n&&!i)throw new Error("MVT Loader: WGS84 coordinates need tileIndex property");return e.mvt}(t),o=(null===t||void 0===t||null===(n=t.gis)||void 0===n?void 0:n.format)||(null===t||void 0===t||null===(r=t.mvt)||void 0===r?void 0:r.shape);switch(o){case"columnar-table":return{shape:"columnar-table",data:U(e,i)};case"geojson-row-table":return{shape:"geojson-row-table",data:H(e,i)};case"geojson":return H(e,i);case"binary-geometry":case"binary":return U(e,i);default:throw new Error(o)}}function U(e,t){const[n,r]=function(e,t){const n=[],r={coordLength:2,pointPositionsCount:0,pointFeaturesCount:0,linePositionsCount:0,linePathsCount:0,lineFeaturesCount:0,polygonPositionsCount:0,polygonObjectsCount:0,polygonRingsCount:0,polygonFeaturesCount:0};if(e.byteLength<=0)return[n,r];const i=new B(new(v())(e)),o=t&&Array.isArray(t.layers)?t.layers:Object.keys(i.layers);return o.forEach((e=>{const o=i.layers[e];if(o)for(let i=0;i{const i=r.layers[e];if(i)for(let r=0;ree(e,t,n)))},Polygon:te,MultiPolygon:function(e,t,n){return e.map((e=>te(e,t,n)))}};function $(e,t,n){let[r,i]=e,[o,a]=t;const s=(0,K.t7)(o[0],a[0],r),l=(0,K.t7)(o[1],a[1],i);return n.unprojectFlat([s,l])}function J(e,t,n){return e.map((e=>$(e,t,n)))}function ee(e,t,n){return J(e,t,n)}function te(e,t,n){return e.map((e=>J(e,t,n)))}const ne=["points","lines","polygons"];function re(e,t,n,r){const i=e.featureIds.value;if(!i.length)return-1;let o=0,a=i[i.length-1]+1;if(r){const t=function(e,t){if(!e.__layers){const t={},{properties:n}=e;for(let e=0;ee===n&&i[t]>=o&&i[t]=0?e.globalFeatureIds.value[r]:-1}return t?s=ie(e.properties,(e=>e[t]===n),o,a):e.fields&&(s=ie(e.fields,(e=>e.id===n),o,a)),s>=0?function(e,t){if(!e.__ids){const t=[],n=e.featureIds.value,r=e.globalFeatureIds.value;for(let e=0;en&&(e.minZoom=t.minzoom),Number.isFinite(t.maxzoom)&&(!Number.isFinite(r)||t.maxzoom{const t=ce(e,i)===l,r=s||ue(e)===n;return t&&r})):a&&r?function(e,t,n,r){for(const i of ne){const o=e[i]&&re(e[i],t,n,r);if(o>=0)return o}return-1}(a,i,l,s?"":n):-1}_pickObjects(e){const{deck:t,viewport:n}=this.context,r=n.width,i=n.height,o=n.x,a=n.y,s=[this.id];return t.pickObjects({x:o,y:a,width:r,height:i,layerIds:s,maxObjects:e})}getRenderedFeatures(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=this._pickObjects(e),n=new Set,r=[];for(const i of t){const e=ce(i.object,this.props.uniqueIdProperty);void 0===e?r.push(i.object):n.has(e)||(n.add(e),r.push(i.object))}return r}_setWGS84PropertyForTiles(){const e="dataInWGS84";this.state.tileset.selectedTiles.forEach((t=>{t.hasOwnProperty(e)||Object.defineProperty(t,e,{get:()=>{if(!t.content)return null;if(this.state.binary&&Array.isArray(t.content)&&!t.content.length)return[];const{bbox:e}=t;if(void 0===t._contentWGS84&&(0,ae.ob)(e)){const n=this.state.binary?(0,X.F_)(t.content):t.content;t._contentWGS84=n.map((t=>he(t,e,this.context.viewport)))}return t._contentWGS84}})}))}}function ce(e,t){return e.properties&&t?e.properties[t]:"id"in e?e.id:void 0}function ue(e){var t;return(null===(t=e.properties)||void 0===t?void 0:t.layerName)||null}function de(e){return void 0!==e&&null!==e&&""!==e}function he(e,t,n){const r={...e,geometry:{type:e.geometry.type}};return Object.defineProperty(r.geometry,"coordinates",{get:()=>{const r=function(e,t,n){const r=[n.projectFlat([t.west,t.north]),n.projectFlat([t.east,t.south])];return{...e,coordinates:Q[e.type](e.coordinates,r,n)}}(e.geometry,t,n);return r.coordinates}}),r}(0,r.Z)(le,"layerName","MVTLayer"),(0,r.Z)(le,"defaultProps",se)},17096:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var r=n(68185),i=n(32603),o=n(35395),a=n(36741),s=n(89069);const l={id:"request-scheduler",throttleRequests:!0,maxRequests:6};class c{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,r.Z)(this,"props",void 0),(0,r.Z)(this,"stats",void 0),(0,r.Z)(this,"activeRequestCount",0),(0,r.Z)(this,"requestQueue",[]),(0,r.Z)(this,"requestMap",new Map),(0,r.Z)(this,"deferredUpdate",null),this.props={...l,...e},this.stats=new s.Z({id:this.props.id}),this.stats.get("Queued Requests"),this.stats.get("Active Requests"),this.stats.get("Cancelled Requests"),this.stats.get("Queued Requests Ever"),this.stats.get("Active Requests Ever")}scheduleRequest(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>0;if(!this.props.throttleRequests)return Promise.resolve({done:()=>{}});if(this.requestMap.has(e))return this.requestMap.get(e);const n={handle:e,priority:0,getPriority:t},r=new Promise((e=>(n.resolve=e,n)));return this.requestQueue.push(n),this.requestMap.set(e,r),this._issueNewRequests(),r}_issueRequest(e){const{handle:t,resolve:n}=e;let r=!1;const i=()=>{r||(r=!0,this.requestMap.delete(t),this.activeRequestCount--,this._issueNewRequests())};return this.activeRequestCount++,n?n({done:i}):Promise.resolve({done:i})}_issueNewRequests(){this.deferredUpdate||(this.deferredUpdate=setTimeout((()=>this._issueNewRequestsAsync()),0))}_issueNewRequestsAsync(){this.deferredUpdate=null;const e=Math.max(this.props.maxRequests-this.activeRequestCount,0);if(0!==e){this._updateAllRequests();for(let t=0;te.priority-t.priority))}_updateRequest(e){return e.priority=e.getPriority(e.handle),!(e.priority<0)||(e.resolve(null),!1)}}var u=n(39944),d=n(30373);class h{constructor(e){(0,r.Z)(this,"index",void 0),(0,r.Z)(this,"isVisible",void 0),(0,r.Z)(this,"isSelected",void 0),(0,r.Z)(this,"parent",void 0),(0,r.Z)(this,"children",void 0),(0,r.Z)(this,"content",void 0),(0,r.Z)(this,"state",void 0),(0,r.Z)(this,"layers",void 0),(0,r.Z)(this,"id",void 0),(0,r.Z)(this,"bbox",void 0),(0,r.Z)(this,"zoom",void 0),(0,r.Z)(this,"userData",void 0),(0,r.Z)(this,"_abortController",void 0),(0,r.Z)(this,"_loader",void 0),(0,r.Z)(this,"_loaderId",void 0),(0,r.Z)(this,"_isLoaded",void 0),(0,r.Z)(this,"_isCancelled",void 0),(0,r.Z)(this,"_needsReload",void 0),this.index=e,this.isVisible=!1,this.isSelected=!1,this.parent=null,this.children=[],this.content=null,this._loader=void 0,this._abortController=null,this._loaderId=0,this._isLoaded=!1,this._isCancelled=!1,this._needsReload=!1}get data(){return this.isLoading&&this._loader?this._loader.then((()=>this.data)):this.content}get isLoaded(){return this._isLoaded&&!this._needsReload}get isLoading(){return Boolean(this._loader)&&!this._isCancelled}get needsReload(){return this._needsReload||this._isCancelled}get byteLength(){const e=this.content?this.content.byteLength:0;return Number.isFinite(e)||console.error("byteLength not defined in tile data"),e}async _loadData(e){let{getData:t,requestScheduler:n,onLoad:r,onError:i}=e;const{index:o,id:a,bbox:s,userData:l,zoom:c}=this,u=this._loaderId;this._abortController=new AbortController;const{signal:d}=this._abortController,h=await n.scheduleRequest(this,(e=>e.isSelected?1:-1));if(!h)return void(this._isCancelled=!0);if(this._isCancelled)return void h.done();let f,p=null;try{p=await t({index:o,id:a,bbox:s,userData:l,zoom:c,signal:d})}catch(g){f=g||!0}finally{h.done()}u===this._loaderId&&(this._loader=void 0,this.content=p,!this._isCancelled||p?(this._isLoaded=!0,this._isCancelled=!1,f?i(f,this):r(this)):this._isLoaded=!1)}loadData(e){return this._isLoaded=!1,this._isCancelled=!1,this._needsReload=!1,this._loaderId++,this._loader=this._loadData(e),this._loader}setNeedsReload(){this.isLoading&&(this.abort(),this._loader=void 0),this._needsReload=!0}abort(){var e;this.isLoaded||(this._isCancelled=!0,null===(e=this._abortController)||void 0===e||e.abort())}}var f=n(25625);function p(e,t){if(e===t)return!0;if(Array.isArray(e)){const n=e.length;if(!t||t.length!==n)return!1;for(let r=0;re.zoom-t.zoom));for(const n of t)if(n.isVisible=Boolean(n.state&g),n.children&&(n.isVisible||1&n.state))for(const e of n.children)e.state=1;else n.isSelected&&b(n)},never:()=>{}},v={extent:null,tileSize:512,maxZoom:null,minZoom:null,maxCacheSize:null,maxCacheByteSize:null,refinementStrategy:"best-available",zRange:null,maxRequests:6,zoomOffset:0,onTileLoad:()=>{},onTileUnload:()=>{},onTileError:()=>{}};function y(e){let t=e;for(;t;){if(t.isLoaded||t.content)return t.state|=g,!0;t=t.parent}return!1}function b(e){for(const t of e.children)t.isLoaded||t.content?t.state|=g:b(t)}const _={TilesetClass:class{constructor(e){(0,r.Z)(this,"opts",void 0),(0,r.Z)(this,"_requestScheduler",void 0),(0,r.Z)(this,"_cache",void 0),(0,r.Z)(this,"_dirty",void 0),(0,r.Z)(this,"_tiles",void 0),(0,r.Z)(this,"_cacheByteSize",void 0),(0,r.Z)(this,"_viewport",void 0),(0,r.Z)(this,"_zRange",void 0),(0,r.Z)(this,"_selectedTiles",void 0),(0,r.Z)(this,"_frameNumber",void 0),(0,r.Z)(this,"_modelMatrix",void 0),(0,r.Z)(this,"_modelMatrixInverse",void 0),(0,r.Z)(this,"_maxZoom",void 0),(0,r.Z)(this,"_minZoom",void 0),(0,r.Z)(this,"onTileLoad",void 0),(0,r.Z)(this,"_getCullBounds",function(e){let t,n={};return r=>{for(const i in r)if(!p(r[i],n[i])){t=e(r),n=r;break}return t}}(f.XT)),this.opts={...v,...e},this.onTileLoad=e=>{var t,n;null===(t=(n=this.opts).onTileLoad)||void 0===t||t.call(n,e),this.opts.maxCacheByteSize&&(this._cacheByteSize+=e.byteLength,this._resizeCache())},this._requestScheduler=new c({maxRequests:e.maxRequests,throttleRequests:Boolean(e.maxRequests&&e.maxRequests>0)}),this._cache=new Map,this._tiles=[],this._dirty=!1,this._cacheByteSize=0,this._viewport=null,this._selectedTiles=null,this._frameNumber=0,this._modelMatrix=new u.Z,this._modelMatrixInverse=new u.Z,this.setOptions(e)}get tiles(){return this._tiles}get selectedTiles(){return this._selectedTiles}get isLoaded(){return null!==this._selectedTiles&&this._selectedTiles.every((e=>e.isLoaded))}get needsReload(){return null!==this._selectedTiles&&this._selectedTiles.some((e=>e.needsReload))}setOptions(e){Object.assign(this.opts,e),Number.isFinite(e.maxZoom)&&(this._maxZoom=Math.floor(e.maxZoom)),Number.isFinite(e.minZoom)&&(this._minZoom=Math.ceil(e.minZoom))}finalize(){for(const e of this._cache.values())e.isLoading&&e.abort();this._cache.clear(),this._tiles=[],this._selectedTiles=null}reloadAll(){for(const e of this._cache.keys()){const t=this._cache.get(e);this._selectedTiles&&this._selectedTiles.includes(t)?t.setNeedsReload():this._cache.delete(e)}}update(e){let{zRange:t,modelMatrix:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=new u.Z(n),i=!r.equals(this._modelMatrix);if(this._viewport&&e.equals(this._viewport)&&(0,d.fS)(this._zRange,t)&&!i)this.needsReload&&(this._selectedTiles=this._selectedTiles.map((e=>this._getTile(e.index,!0))));else{i&&(this._modelMatrixInverse=r.clone().invert(),this._modelMatrix=r),this._viewport=e,this._zRange=t;const n=this.getTileIndices({viewport:e,maxZoom:this._maxZoom,minZoom:this._minZoom,zRange:t,modelMatrix:this._modelMatrix,modelMatrixInverse:this._modelMatrixInverse});this._selectedTiles=n.map((e=>this._getTile(e,!0))),this._dirty&&this._rebuildTree()}const o=this.updateTileStates();return this._pruneRequests(),this._dirty&&this._resizeCache(),o&&this._frameNumber++,this._frameNumber}isTileVisible(e,t){if(!e.isVisible)return!1;if(t&&this._viewport){const n=this._getCullBounds({viewport:this._viewport,z:this._zRange,cullRect:t}),{bbox:r}=e;for(const[e,t,i,o]of n){let n;if("west"in r)n=r.weste&&r.southt;else{const a=Math.min(r.top,r.bottom),s=Math.max(r.top,r.bottom);n=r.lefte&&at}if(n)return!0}return!1}return!0}getTileIndices(e){let{viewport:t,maxZoom:n,minZoom:r,zRange:i,modelMatrix:o,modelMatrixInverse:a}=e;const{tileSize:s,extent:l,zoomOffset:c}=this.opts;return(0,f.rJ)({viewport:t,maxZoom:n,minZoom:r,zRange:i,tileSize:s,extent:l,modelMatrix:o,modelMatrixInverse:a,zoomOffset:c})}getTileId(e){return"".concat(e.x,"-").concat(e.y,"-").concat(e.z)}getTileZoom(e){return e.z}getTileMetadata(e){const{tileSize:t}=this.opts;return{bbox:(0,f.z_)(this._viewport,e.x,e.y,e.z,t)}}getParentIndex(e){return{x:Math.floor(e.x/2),y:Math.floor(e.y/2),z:e.z-1}}updateTileStates(){const e=this.opts.refinementStrategy||m,t=new Array(this._cache.size);let n=0;for(const r of this._cache.values())t[n++]=r.isVisible,r.isSelected=!1,r.isVisible=!1;for(const r of this._selectedTiles)r.isSelected=!0,r.isVisible=!0;("function"===typeof e?e:A[e])(Array.from(this._cache.values())),n=0;for(const r of this._cache.values())if(t[n++]!==r.isVisible)return!0;return!1}_pruneRequests(){const{maxRequests:e=0}=this.opts,t=[];let n=0;for(const r of this._cache.values())r.isLoading&&(n++,r.isSelected||r.isVisible||t.push(r));for(;e>0&&n>e&&t.length>0;){t.shift().abort(),n--}}_rebuildTree(){const{_cache:e}=this;for(const t of e.values())t.parent=null,t.children&&(t.children.length=0);for(const t of e.values()){const e=this._getNearestAncestor(t);t.parent=e,null!==e&&void 0!==e&&e.children&&e.children.push(t)}}_resizeCache(){const{_cache:e,opts:t}=this,n=t.maxCacheSize||(t.maxCacheByteSize?1/0:5*this.selectedTiles.length),r=t.maxCacheByteSize||1/0;if(e.size>n||this._cacheByteSize>r){for(const[a,s]of e){var i,o;if(!s.isVisible&&!s.isSelected)this._cacheByteSize-=t.maxCacheByteSize?s.byteLength:0,e.delete(a),null===(i=(o=this.opts).onTileUnload)||void 0===i||i.call(o,s);if(e.size<=n&&this._cacheByteSize<=r)break}this._rebuildTree(),this._dirty=!0}this._dirty&&(this._tiles=Array.from(this._cache.values()).sort(((e,t)=>e.zoom-t.zoom)),this._dirty=!1)}_getTile(e,t){const n=this.getTileId(e);let r=this._cache.get(n),i=!1;return!r&&t?(r=new h(e),Object.assign(r,this.getTileMetadata(r.index)),Object.assign(r,{id:n,zoom:this.getTileZoom(r.index)}),i=!0,this._cache.set(n,r),this._dirty=!0):r&&r.needsReload&&(i=!0),r&&i&&r.loadData({getData:this.opts.getTileData,requestScheduler:this._requestScheduler,onLoad:this.onTileLoad,onError:this.opts.onTileError}),r}_getNearestAncestor(e){const{_minZoom:t=0}=this;let n=e.index;for(;this.getTileZoom(n)>t;){n=this.getParentIndex(n);const e=this._getTile(n);if(e)return e}return null}},data:{type:"data",value:[]},dataComparator:f.zc.equal,renderSubLayers:{type:"function",value:e=>new a.Z(e)},getTileData:{type:"function",optional:!0,value:null},onViewportLoad:{type:"function",optional:!0,value:null},onTileLoad:{type:"function",value:e=>{}},onTileUnload:{type:"function",value:e=>{}},onTileError:{type:"function",value:e=>console.error(e)},extent:{type:"array",optional:!0,value:null,compare:!0},tileSize:512,maxZoom:null,minZoom:0,maxCacheSize:null,maxCacheByteSize:null,refinementStrategy:m,zRange:null,maxRequests:6,zoomOffset:0};class w extends i.Z{initializeState(){this.state={tileset:null,isLoaded:!1}}finalizeState(){var e,t;null===(e=this.state)||void 0===e||null===(t=e.tileset)||void 0===t||t.finalize()}get isLoaded(){var e,t;return null===(e=this.state)||void 0===e||null===(t=e.tileset)||void 0===t?void 0:t.selectedTiles.every((e=>e.isLoaded&&e.layers&&e.layers.every((e=>e.isLoaded))))}shouldUpdateState(e){let{changeFlags:t}=e;return t.somethingChanged}updateState(e){let{changeFlags:t}=e,{tileset:n}=this.state;const r=t.propsOrDataChanged||t.updateTriggersChanged,i=t.dataChanged||t.updateTriggersChanged&&(t.updateTriggersChanged.all||t.updateTriggersChanged.getTileData);n?r&&(n.setOptions(this._getTilesetOptions()),i?n.reloadAll():this.state.tileset.tiles.forEach((e=>{e.layers=null}))):(n=new this.props.TilesetClass(this._getTilesetOptions()),this.setState({tileset:n})),this._updateTileset()}_getTilesetOptions(){const{tileSize:e,maxCacheSize:t,maxCacheByteSize:n,refinementStrategy:r,extent:i,maxZoom:o,minZoom:a,maxRequests:s,zoomOffset:l}=this.props;return{maxCacheSize:t,maxCacheByteSize:n,maxZoom:o,minZoom:a,tileSize:e,refinementStrategy:r,extent:i,maxRequests:s,zoomOffset:l,getTileData:this.getTileData.bind(this),onTileLoad:this._onTileLoad.bind(this),onTileError:this._onTileError.bind(this),onTileUnload:this._onTileUnload.bind(this)}}_updateTileset(){const{tileset:e}=this.state,{zRange:t,modelMatrix:n}=this.props,r=e.update(this.context.viewport,{zRange:t,modelMatrix:n}),{isLoaded:i}=e,o=this.state.isLoaded!==i,a=this.state.frameNumber!==r;i&&(o||a)&&this._onViewportLoad(),a&&this.setState({frameNumber:r}),this.state.isLoaded=i}_onViewportLoad(){const{tileset:e}=this.state,{onViewportLoad:t}=this.props;t&&t(e.selectedTiles)}_onTileLoad(e){this.props.onTileLoad(e),e.layers=null,this.setNeedsUpdate()}_onTileError(e,t){this.props.onTileError(e),t.layers=null,this.setNeedsUpdate()}_onTileUnload(e){this.props.onTileUnload(e)}getTileData(e){const{data:t,getTileData:n,fetch:r}=this.props,{signal:i}=e;return e.url="string"===typeof t||Array.isArray(t)?(0,f.z0)(t,e):null,n?n(e):r&&e.url?r(e.url,{propName:"data",layer:this,signal:i}):null}renderSubLayers(e){return this.props.renderSubLayers(e)}getSubLayerPropsByTile(e){return null}getPickingInfo(e){let{info:t,sourceLayer:n}=e;const r=n.props.tile;return t.picked&&(t.tile=r),t.sourceTile=r,t}_updateAutoHighlight(e){const t=e.sourceTile;if(t&&t.layers)for(const n of t.layers)n.updateAutoHighlight(e)}renderLayers(){return this.state.tileset.tiles.map((e=>{const t=this.getSubLayerPropsByTile(e);if(e.isLoaded||e.content)if(e.layers)t&&e.layers[0]&&Object.keys(t).some((n=>e.layers[0].props[n]!==t[n]))&&(e.layers=e.layers.map((e=>e.clone(t))));else{const n=this.renderSubLayers({...this.props,id:"".concat(this.id,"-").concat(e.id),data:e.content,_offset:0,tile:e});e.layers=(0,o.x)(n,Boolean).map((n=>n.clone({tile:e,...t})))}else;return e.layers}))}filterSubLayer(e){let{layer:t,cullRect:n}=e;const{tile:r}=t.props;return this.state.tileset.isTileVisible(r,n)}}(0,r.Z)(w,"defaultProps",_),(0,r.Z)(w,"layerName","TileLayer")},25625:(e,t,n)=>{"use strict";n.d(t,{XT:()=>st,rJ:()=>pt,z0:()=>at,ob:()=>mt,Xj:()=>gt,hG:()=>ut,z_:()=>ht,zc:()=>it});var r=n(68185),i=n(39944),o=n(43809),a=n(98029),s=n(58034),l=n(81723);const c=Math.PI/180,u=180/Math.PI,d=6370972,h=256;function f(){const e=4018225162502676e-20,t=Math.PI/180*h;return{unitsPerMeter:[e,e,e],unitsPerMeter2:[0,0,0],metersPerUnit:[24886.609375,24886.609375,24886.609375],unitsPerDegree:[t,t,e],unitsPerDegree2:[0,0,0],degreesPerUnit:[1/t,1/t,24886.609375]}}class p extends o.Z{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{latitude:t=0,longitude:n=0,zoom:o=0,nearZMultiplier:a=.1,farZMultiplier:s=2,resolution:l=10}=e;let{height:u,altitude:d=1.5}=e;u=u||1,d=Math.max(.75,d);const h=(new i.Z).lookAt({eye:[0,-d,0],up:[0,0,1]}),p=Math.pow(2,o);h.rotateX(t*c),h.rotateZ(-n*c),h.scale(p/u);const g=Math.atan(.5/d),m=512*p/u;super({...e,height:u,viewMatrix:h,longitude:n,latitude:t,zoom:o,distanceScales:f(),fovyRadians:2*g,focalDistance:d,near:a,far:Math.min(2,1/m+1)*d*s}),(0,r.Z)(this,"longitude",void 0),(0,r.Z)(this,"latitude",void 0),(0,r.Z)(this,"resolution",void 0),this.latitude=t,this.longitude=n,this.resolution=l}get projectionMode(){return a.zG.GLOBE}getDistanceScales(){return this.distanceScales}getBounds(){const e={targetZ:(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).z||0},t=this.unproject([0,this.height/2],e),n=this.unproject([this.width/2,0],e),r=this.unproject([this.width,this.height/2],e),i=this.unproject([this.width/2,this.height],e);return r[0]this.longitude&&(t[0]-=360),[Math.min(t[0],r[0],n[0],i[0]),Math.min(t[1],r[1],n[1],i[1]),Math.max(t[0],r[0],n[0],i[0]),Math.max(t[1],r[1],n[1],i[1])]}unproject(e){let{topLeft:t=!0,targetZ:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const[r,i,o]=e,a=t?i:this.height-i,{pixelUnprojectionMatrix:l}=this;let c;if(Number.isFinite(o))c=g(l,[r,a,o,1]);else{const e=g(l,[r,a,-1,1]),t=g(l,[r,a,1,1]),i=((n||0)/d+1)*h,o=s.x9(s.lu([],e,t)),u=s.x9(e),f=s.x9(t),p=4*((4*u*f-(o-u-f)**2)/16)/o,m=(Math.sqrt(u-p)-Math.sqrt(Math.max(0,i*i-p)))/Math.sqrt(o);c=s.t7([],e,t,m)}const[u,f,p]=this.unprojectPosition(c);return Number.isFinite(o)?[u,f,p]:Number.isFinite(n)?[u,f,n]:[u,f]}projectPosition(e){const[t,n,r=0]=e,i=t*c,o=n*c,a=Math.cos(o),s=(r/d+1)*h;return[Math.sin(i)*a*s,-Math.cos(i)*a*s,Math.sin(o)*s]}unprojectPosition(e){const[t,n,r]=e,i=s.Zh(e),o=Math.asin(r/i);return[Math.atan2(t,-n)*u,o*u,(i/h-1)*d]}projectFlat(e){return e}unprojectFlat(e){return e}panByPosition(e,t){const n=this.unproject(t);return{longitude:e[0]-n[0]+this.longitude,latitude:e[1]-n[1]+this.latitude}}}function g(e,t){const n=l.fF([],t,e);return l.bA(n,n,1/n[3]),n}var m=n(5550);const A=-1,v=0,y=1;var b=n(31549);const _=new b.Z,w=new b.Z;class x{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[0,0,0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0,0,0],n=arguments.length>2?arguments[2]:void 0;(0,r.Z)(this,"center",void 0),(0,r.Z)(this,"halfDiagonal",void 0),(0,r.Z)(this,"minimum",void 0),(0,r.Z)(this,"maximum",void 0),n=n||_.copy(e).add(t).scale(.5),this.center=new b.Z(n),this.halfDiagonal=new b.Z(t).subtract(this.center),this.minimum=new b.Z(e),this.maximum=new b.Z(t)}clone(){return new x(this.minimum,this.maximum,this.center)}equals(e){return this===e||Boolean(e)&&this.minimum.equals(e.minimum)&&this.maximum.equals(e.maximum)}transform(e){return this.center.transformAsPoint(e),this.halfDiagonal.transform(e),this.minimum.transform(e),this.maximum.transform(e),this}intersectPlane(e){const{halfDiagonal:t}=this,n=w.from(e.normal),r=t.x*Math.abs(n.x)+t.y*Math.abs(n.y)+t.z*Math.abs(n.z),i=this.center.dot(n)+e.distance;return i-r>0?y:i+r<0?A:v}distanceTo(e){return Math.sqrt(this.distanceSquaredTo(e))}distanceSquaredTo(e){const t=_.from(e).subtract(this.center),{halfDiagonal:n}=this;let r,i=0;return r=Math.abs(t.x)-n.x,r>0&&(i+=r*r),r=Math.abs(t.y)-n.y,r>0&&(i+=r*r),r=Math.abs(t.z)-n.z,r>0&&(i+=r*r),i}}var E=n(44649);const S=new b.Z,C=new b.Z;class P{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[0,0,0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(0,r.Z)(this,"center",void 0),(0,r.Z)(this,"radius",void 0),this.radius=-0,this.center=new b.Z,this.fromCenterRadius(e,t)}fromCenterRadius(e,t){return this.center.from(e),this.radius=t,this}fromCornerPoints(e,t){return t=S.from(t),this.center=(new b.Z).from(e).add(t).scale(.5),this.radius=this.center.distance(t),this}equals(e){return this===e||Boolean(e)&&this.center.equals(e.center)&&this.radius===e.radius}clone(){return new P(this.center,this.radius)}union(e){const t=this.center,n=this.radius,r=e.center,i=e.radius,o=S.copy(r).subtract(t),a=o.magnitude();if(n>=a+i)return this.clone();if(i>=a+n)return e.clone();const s=.5*(n+a+i);return C.copy(o).scale((-n+s)/a).add(t),this.center.copy(C),this.radius=s,this}expand(e){const t=S.from(e).subtract(this.center).magnitude();return t>this.radius&&(this.radius=t),this}transform(e){this.center.transform(e);const t=E.Q$(S,e);return this.radius=Math.max(t[0],Math.max(t[1],t[2]))*this.radius,this}distanceSquaredTo(e){const t=this.distanceTo(e);return t*t}distanceTo(e){const t=S.from(e).subtract(this.center);return Math.max(0,t.len()-this.radius)}intersectPlane(e){const t=this.center,n=this.radius,r=e.normal.dot(t)+e.distance;return r<-n?A:r1?t-1:0),r=1;r0?this.copy([e,...n]):this.identity()}copy(e){return this[0]=e[0],this[1]=e[1],this[2]=e[2],this[3]=e[3],this[4]=e[4],this[5]=e[5],this[6]=e[6],this[7]=e[7],this[8]=e[8],this.check()}identity(){return this.copy(N)}fromObject(e){return this.check()}fromQuaternion(e){return function(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=n+n,s=r+r,l=i+i,c=n*a,u=r*a,d=r*s,h=i*a,f=i*s,p=i*l,g=o*a,m=o*s,A=o*l;e[0]=1-d-p,e[3]=u-A,e[6]=h+m,e[1]=u+A,e[4]=1-c-p,e[7]=f-g,e[2]=h-m,e[5]=f+g,e[8]=1-c-d}(this,e),this.check()}set(e,t,n,r,i,o,a,s,l){return this[0]=e,this[1]=t,this[2]=n,this[3]=r,this[4]=i,this[5]=o,this[6]=a,this[7]=s,this[8]=l,this.check()}setRowMajor(e,t,n,r,i,o,a,s,l){return this[0]=e,this[1]=r,this[2]=a,this[3]=t,this[4]=i,this[5]=s,this[6]=n,this[7]=o,this[8]=l,this.check()}determinant(){return function(e){var t=e[0],n=e[1],r=e[2],i=e[3],o=e[4],a=e[5],s=e[6],l=e[7],c=e[8];return t*(c*o-a*l)+n*(-c*i+a*s)+r*(l*i-o*s)}(this)}transpose(){return function(e,t){if(e===t){var n=t[1],r=t[2],i=t[5];e[1]=t[3],e[2]=t[6],e[3]=n,e[5]=t[7],e[6]=r,e[7]=i}else e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8]}(this,this),this.check()}invert(){return function(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],s=t[5],l=t[6],c=t[7],u=t[8],d=u*a-s*c,h=-u*o+s*l,f=c*o-a*l,p=n*d+r*h+i*f;p&&(p=1/p,e[0]=d*p,e[1]=(-u*r+i*c)*p,e[2]=(s*r-i*a)*p,e[3]=h*p,e[4]=(u*n-i*l)*p,e[5]=(-s*n+i*o)*p,e[6]=f*p,e[7]=(-c*n+r*l)*p,e[8]=(a*n-r*o)*p)}(this,this),this.check()}multiplyLeft(e){return O(this,e,this),this.check()}multiplyRight(e){return O(this,this,e),this.check()}rotate(e){return function(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],l=t[5],c=t[6],u=t[7],d=t[8],h=Math.sin(n),f=Math.cos(n);e[0]=f*r+h*a,e[1]=f*i+h*s,e[2]=f*o+h*l,e[3]=f*a-h*r,e[4]=f*s-h*i,e[5]=f*l-h*o,e[6]=c,e[7]=u,e[8]=d}(this,this,e),this.check()}scale(e){return Array.isArray(e)?I(this,this,e):I(this,this,[e,e]),this.check()}translate(e){return function(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=t[4],l=t[5],c=t[6],u=t[7],d=t[8],h=n[0],f=n[1];e[0]=r,e[1]=i,e[2]=o,e[3]=a,e[4]=s,e[5]=l,e[6]=h*r+f*a+c,e[7]=h*i+f*s+u,e[8]=h*o+f*l+d}(this,this,e),this.check()}transform(e,t){let n;switch(e.length){case 2:n=D.kK(t||[-0,-0],e,this);break;case 3:n=s.kK(t||[-0,-0,-0],e,this);break;case 4:n=(0,k._x)(t||[-0,-0,-0,-0],e,this);break;default:throw new Error("Illegal vector")}return(0,M.IL)(n,e.length),n}transformVector(e,t){return this.transform(e,t)}transformVector2(e,t){return this.transform(e,t)}transformVector3(e,t){return this.transform(e,t)}}let j,B;var z=n(76624),Z=n(22070),U=n(30373);let H;class V extends Z.Z{static get ZERO(){return H||(H=new V(0,0,0,0),Object.freeze(H)),H}constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;super(-0,-0,-0,-0),(0,U.kJ)(e)&&1===arguments.length?this.copy(e):(U.vc.debug&&((0,M.u5)(e),(0,M.u5)(t),(0,M.u5)(n),(0,M.u5)(r)),this[0]=e,this[1]=t,this[2]=n,this[3]=r)}set(e,t,n,r){return this[0]=e,this[1]=t,this[2]=n,this[3]=r,this.check()}copy(e){return this[0]=e[0],this[1]=e[1],this[2]=e[2],this[3]=e[3],this.check()}fromObject(e){return U.vc.debug&&((0,M.u5)(e.x),(0,M.u5)(e.y),(0,M.u5)(e.z),(0,M.u5)(e.w)),this[0]=e.x,this[1]=e.y,this[2]=e.z,this[3]=e.w,this}toObject(e){return e.x=this[0],e.y=this[1],e.z=this[2],e.w=this[3],e}get ELEMENTS(){return 4}get z(){return this[2]}set z(e){this[2]=(0,M.u5)(e)}get w(){return this[3]}set w(e){this[3]=(0,M.u5)(e)}transform(e){return s.fF(this,this,e),this.check()}transformByMatrix3(e){return(0,k._x)(this,this,e),this.check()}transformByMatrix2(e){return(0,k.G7)(this,this,e),this.check()}transformByQuaternion(e){return s.VC(this,this,e),this.check()}applyMatrix4(e){return e.transform(this,this),this}}function G(){var e=new R.WT(4);return R.WT!=Float32Array&&(e[0]=0,e[1]=0,e[2]=0),e[3]=1,e}function W(e,t,n){n*=.5;var r=Math.sin(n);return e[0]=r*t[0],e[1]=r*t[1],e[2]=r*t[2],e[3]=Math.cos(n),e}function q(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3],s=n[0],l=n[1],c=n[2],u=n[3];return e[0]=r*u+a*s+i*c-o*l,e[1]=i*u+a*l+o*s-r*c,e[2]=o*u+a*c+r*l-i*s,e[3]=a*u-r*s-i*l-o*c,e}function Y(e,t,n,r){var i,o,a,s,l,c=t[0],u=t[1],d=t[2],h=t[3],f=n[0],p=n[1],g=n[2],m=n[3];return(o=c*f+u*p+d*g+h*m)<0&&(o=-o,f=-f,p=-p,g=-g,m=-m),1-o>R.Ib?(i=Math.acos(o),a=Math.sin(i),s=Math.sin((1-r)*i)/a,l=Math.sin(r*i)/a):(s=1-r,l=r),e[0]=s*c+l*f,e[1]=s*u+l*p,e[2]=s*d+l*g,e[3]=s*h+l*m,e}function X(e,t){var n,r=t[0]+t[4]+t[8];if(r>0)n=Math.sqrt(r+1),e[3]=.5*n,n=.5/n,e[0]=(t[5]-t[7])*n,e[1]=(t[6]-t[2])*n,e[2]=(t[1]-t[3])*n;else{var i=0;t[4]>t[0]&&(i=1),t[8]>t[3*i+i]&&(i=2);var o=(i+1)%3,a=(i+2)%3;n=Math.sqrt(t[3*i+i]-t[3*o+o]-t[3*a+a]+1),e[i]=.5*n,n=.5/n,e[3]=(t[3*o+a]-t[3*a+o])*n,e[o]=(t[3*o+i]+t[3*i+o])*n,e[a]=(t[3*a+i]+t[3*i+a])*n}return e}l.d9,l.al,l.JG,l.t8;var K=l.IH,Q=l.bA,$=l.AK,J=l.t7,ee=l.kE,te=l.we,ne=l.Fv,re=(l.I6,l.fS,function(){var e=s.Ue(),t=s.al(1,0,0),n=s.al(0,1,0);return function(r,i,o){var a=s.AK(i,o);return a<-.999999?(s.kC(e,t,i),s.Zh(e)<1e-6&&s.kC(e,n,i),s.Fv(e,e),W(r,e,Math.PI),r):a>.999999?(r[0]=0,r[1]=0,r[2]=0,r[3]=1,r):(s.kC(e,i,o),r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=1+a,ne(r,r))}}());(function(){var e=G(),t=G()})(),function(){var e=function(){var e=new R.WT(9);return R.WT!=Float32Array&&(e[1]=0,e[2]=0,e[3]=0,e[5]=0,e[6]=0,e[7]=0),e[0]=1,e[4]=1,e[8]=1,e}()}();const ie=[0,0,0,1];class oe extends z.Z{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;super(-0,-0,-0,-0),Array.isArray(e)&&1===arguments.length?this.copy(e):this.set(e,t,n,r)}copy(e){return this[0]=e[0],this[1]=e[1],this[2]=e[2],this[3]=e[3],this.check()}set(e,t,n,r){return this[0]=e,this[1]=t,this[2]=n,this[3]=r,this.check()}fromObject(e){return this[0]=e.x,this[1]=e.y,this[2]=e.z,this[3]=e.w,this.check()}fromMatrix3(e){return X(this,e),this.check()}fromAxisRotation(e,t){return W(this,e,t),this.check()}identity(){var e;return(e=this)[0]=0,e[1]=0,e[2]=0,e[3]=1,this.check()}setAxisAngle(e,t){return this.fromAxisRotation(e,t)}get ELEMENTS(){return 4}get x(){return this[0]}set x(e){this[0]=(0,M.u5)(e)}get y(){return this[1]}set y(e){this[1]=(0,M.u5)(e)}get z(){return this[2]}set z(e){this[2]=(0,M.u5)(e)}get w(){return this[3]}set w(e){this[3]=(0,M.u5)(e)}len(){return ee(this)}lengthSquared(){return te(this)}dot(e){return $(this,e)}rotationTo(e,t){return re(this,e,t),this.check()}add(e){return K(this,this,e),this.check()}calculateW(){return function(e,t){var n=t[0],r=t[1],i=t[2];e[0]=n,e[1]=r,e[2]=i,e[3]=Math.sqrt(Math.abs(1-n*n-r*r-i*i))}(this,this),this.check()}conjugate(){var e,t;return t=this,(e=this)[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=t[3],this.check()}invert(){return function(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=n*n+r*r+i*i+o*o,s=a?1/a:0;e[0]=-n*s,e[1]=-r*s,e[2]=-i*s,e[3]=o*s}(this,this),this.check()}lerp(e,t,n){return void 0===n?this.lerp(this,e,t):(J(this,e,t,n),this.check())}multiplyRight(e){return q(this,this,e),this.check()}multiplyLeft(e){return q(this,e,this),this.check()}normalize(){const e=this.len(),t=e>0?1/e:0;return this[0]=this[0]*t,this[1]=this[1]*t,this[2]=this[2]*t,this[3]=this[3]*t,0===e&&(this[3]=1),this.check()}rotateX(e){return function(e,t,n){n*=.5;var r=t[0],i=t[1],o=t[2],a=t[3],s=Math.sin(n),l=Math.cos(n);e[0]=r*l+a*s,e[1]=i*l+o*s,e[2]=o*l-i*s,e[3]=a*l-r*s}(this,this,e),this.check()}rotateY(e){return function(e,t,n){n*=.5;var r=t[0],i=t[1],o=t[2],a=t[3],s=Math.sin(n),l=Math.cos(n);e[0]=r*l-o*s,e[1]=i*l+a*s,e[2]=o*l+r*s,e[3]=a*l-i*s}(this,this,e),this.check()}rotateZ(e){return function(e,t,n){n*=.5;var r=t[0],i=t[1],o=t[2],a=t[3],s=Math.sin(n),l=Math.cos(n);e[0]=r*l+i*s,e[1]=i*l-r*s,e[2]=o*l+a*s,e[3]=a*l-o*s}(this,this,e),this.check()}scale(e){return Q(this,this,e),this.check()}slerp(e,t,n){let r,i,o;switch(arguments.length){case 1:({start:r=ie,target:i,ratio:o}=e);break;case 2:r=this,i=e,o=t;break;default:r=e,i=t,o=n}return Y(this,r,i,o),this.check()}transformVector4(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new V;return l.VC(t,e,this),(0,M.IL)(t,4)}lengthSq(){return this.lengthSquared()}setFromAxisAngle(e,t){return this.setAxisAngle(e,t)}premultiply(e){return this.multiplyLeft(e)}multiply(e){return this.multiplyRight(e)}}const ae=new b.Z,se=new b.Z,le=new b.Z,ce=new b.Z,ue=new b.Z,de=new b.Z,he=new b.Z,fe=0,pe=1,ge=2,me=3,Ae=4,ve=5,ye=6,be=7,_e=8;class we{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[0,0,0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0,0,0,0,0,0,0,0,0];(0,r.Z)(this,"center",void 0),(0,r.Z)(this,"halfAxes",void 0),this.center=(new b.Z).from(e),this.halfAxes=new F(t)}get halfSize(){const e=this.halfAxes.getColumn(0),t=this.halfAxes.getColumn(1),n=this.halfAxes.getColumn(2);return[new b.Z(e).len(),new b.Z(t).len(),new b.Z(n).len()]}get quaternion(){const e=this.halfAxes.getColumn(0),t=this.halfAxes.getColumn(1),n=this.halfAxes.getColumn(2),r=new b.Z(e).normalize(),i=new b.Z(t).normalize(),o=new b.Z(n).normalize();return(new oe).fromMatrix3(new F([...r,...i,...o]))}fromCenterHalfSizeQuaternion(e,t,n){const r=new oe(n),i=(new F).fromQuaternion(r);return i[0]=i[0]*t[0],i[1]=i[1]*t[0],i[2]=i[2]*t[0],i[3]=i[3]*t[1],i[4]=i[4]*t[1],i[5]=i[5]*t[1],i[6]=i[6]*t[2],i[7]=i[7]*t[2],i[8]=i[8]*t[2],this.center=(new b.Z).from(e),this.halfAxes=i,this}clone(){return new we(this.center,this.halfAxes)}equals(e){return this===e||Boolean(e)&&this.center.equals(e.center)&&this.halfAxes.equals(e.halfAxes)}getBoundingSphere(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new P;const t=this.halfAxes,n=t.getColumn(0,le),r=t.getColumn(1,ce),i=t.getColumn(2,ue),o=ae.copy(n).add(r).add(i);return e.center.copy(this.center),e.radius=o.magnitude(),e}intersectPlane(e){const t=this.center,n=e.normal,r=this.halfAxes,i=n.x,o=n.y,a=n.z,s=Math.abs(i*r[fe]+o*r[pe]+a*r[ge])+Math.abs(i*r[me]+o*r[Ae]+a*r[ve])+Math.abs(i*r[ye]+o*r[be]+a*r[_e]),l=n.dot(t)+e.distance;return l<=-s?A:l>=s?y:v}distanceTo(e){return Math.sqrt(this.distanceSquaredTo(e))}distanceSquaredTo(e){const t=se.from(e).subtract(this.center),n=this.halfAxes,r=n.getColumn(0,le),i=n.getColumn(1,ce),o=n.getColumn(2,ue),a=r.magnitude(),s=i.magnitude(),l=o.magnitude();r.normalize(),i.normalize(),o.normalize();let c,u=0;return c=Math.abs(t.dot(r))-a,c>0&&(u+=c*c),c=Math.abs(t.dot(i))-s,c>0&&(u+=c*c),c=Math.abs(t.dot(o))-l,c>0&&(u+=c*c),u}computePlaneDistances(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[-0,-0],r=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;const o=this.center,a=this.halfAxes,s=a.getColumn(0,le),l=a.getColumn(1,ce),c=a.getColumn(2,ue),u=de.copy(s).add(l).add(c).add(o),d=he.copy(u).subtract(e);let h=t.dot(d);return r=Math.min(h,r),i=Math.max(h,i),u.copy(o).add(s).add(l).subtract(c),d.copy(u).subtract(e),h=t.dot(d),r=Math.min(h,r),i=Math.max(h,i),u.copy(o).add(s).subtract(l).add(c),d.copy(u).subtract(e),h=t.dot(d),r=Math.min(h,r),i=Math.max(h,i),u.copy(o).add(s).subtract(l).subtract(c),d.copy(u).subtract(e),h=t.dot(d),r=Math.min(h,r),i=Math.max(h,i),o.copy(u).subtract(s).add(l).add(c),d.copy(u).subtract(e),h=t.dot(d),r=Math.min(h,r),i=Math.max(h,i),o.copy(u).subtract(s).add(l).subtract(c),d.copy(u).subtract(e),h=t.dot(d),r=Math.min(h,r),i=Math.max(h,i),o.copy(u).subtract(s).subtract(l).add(c),d.copy(u).subtract(e),h=t.dot(d),r=Math.min(h,r),i=Math.max(h,i),o.copy(u).subtract(s).subtract(l).subtract(c),d.copy(u).subtract(e),h=t.dot(d),r=Math.min(h,r),i=Math.max(h,i),n[0]=r,n[1]=i,n}transform(e){this.center.transformAsPoint(e);const t=this.halfAxes.getColumn(0,le);t.transformAsPoint(e);const n=this.halfAxes.getColumn(1,ce);n.transformAsPoint(e);const r=this.halfAxes.getColumn(2,ue);return r.transformAsPoint(e),this.halfAxes=new F([...t,...n,...r]),this}getTransform(){throw new Error("not implemented")}}var xe=n(83006);const Ee=new b.Z,Se=new b.Z;class Ce{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[0,0,1],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(0,r.Z)(this,"normal",void 0),(0,r.Z)(this,"distance",void 0),this.normal=new b.Z,this.distance=-0,this.fromNormalDistance(e,t)}fromNormalDistance(e,t){return(0,xe.Z)(Number.isFinite(t)),this.normal.from(e).normalize(),this.distance=t,this}fromPointNormal(e,t){e=Ee.from(e),this.normal.from(t).normalize();const n=-this.normal.dot(e);return this.distance=n,this}fromCoefficients(e,t,n,r){return this.normal.set(e,t,n),(0,xe.Z)((0,U.fS)(this.normal.len(),1)),this.distance=r,this}clone(){return new Ce(this.normal,this.distance)}equals(e){return(0,U.fS)(this.distance,e.distance)&&(0,U.fS)(this.normal,e.normal)}getPointDistance(e){return this.normal.dot(e)+this.distance}transform(e){const t=Se.copy(this.normal).transformAsVector(e).normalize(),n=this.normal.scale(-this.distance).transform(e);return this.fromPointNormal(n,t)}projectPointOntoPlane(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0,0,0];e=Ee.from(e);const n=this.getPointDistance(e),r=Se.copy(this.normal).scale(n);return e.subtract(r).to(t)}}const Pe=[new b.Z([1,0,0]),new b.Z([0,1,0]),new b.Z([0,0,1])],Te=new b.Z,Me=new b.Z;new Ce(new b.Z(1,0,0),0);class ke{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];(0,r.Z)(this,"planes",void 0),this.planes=e}fromBoundingSphere(e){this.planes.length=2*Pe.length;const t=e.center,n=e.radius;let r=0;for(const i of Pe){let e=this.planes[r],o=this.planes[r+1];e||(e=this.planes[r]=new Ce),o||(o=this.planes[r+1]=new Ce);const a=Te.copy(i).scale(-n).add(t);i.dot(a);e.fromPointNormal(a,i);const s=Te.copy(i).scale(n).add(t),l=Me.copy(i).negate();l.dot(s);o.fromPointNormal(s,l),r+=2}return this}computeVisibility(e){let t=y;for(const n of this.planes){switch(e.intersectPlane(n)){case A:return A;case v:t=v}}return t}computeVisibilityWithPlaneMask(e,t){if((0,xe.Z)(Number.isFinite(t),"parentPlaneMask is required."),t===ke.MASK_OUTSIDE||t===ke.MASK_INSIDE)return t;let n=ke.MASK_INSIDE;const r=this.planes;for(let i=0;i1&&void 0!==arguments[1]?arguments[1]:{};const n=Re.EPSILON20;let r=0,i=0;const o=Ie,a=Le;o.identity(),a.copy(e);const s=n*function(e){let t=0;for(let n=0;n<9;++n){const r=e[n];t+=r*r}return Math.sqrt(t)}(a);for(;i<10&&ze(a)>s;)Ze(a,De),Ne.copy(De).transpose(),a.multiplyRight(De),a.multiplyLeft(Ne),o.multiplyRight(De),++r>2&&(++i,r=0);return t.unitary=o.toTarget(t.unitary),t.diagonal=a.toTarget(t.diagonal),t}const je=[1,0,0],Be=[2,2,1];function ze(e){let t=0;for(let n=0;n<3;++n){const r=e[Oe.getElementIndex(Be[n],je[n])];t+=2*r*r}return Math.sqrt(t)}function Ze(e,t){const n=Re.EPSILON15;let r=0,i=1;for(let c=0;c<3;++c){const t=Math.abs(e[Oe.getElementIndex(Be[c],je[c])]);t>r&&(i=c,r=t)}const o=je[i],a=Be[i];let s=1,l=0;if(Math.abs(e[Oe.getElementIndex(a,o)])>n){const t=(e[Oe.getElementIndex(a,a)]-e[Oe.getElementIndex(o,o)])/2/e[Oe.getElementIndex(a,o)];let n;n=t<0?-1/(-t+Math.sqrt(1+t*t)):1/(t+Math.sqrt(1+t*t)),s=1/Math.sqrt(1+n*n),l=n*s}return F.IDENTITY.to(t),t[Oe.getElementIndex(o,o)]=t[Oe.getElementIndex(a,a)]=s,t[Oe.getElementIndex(a,o)]=l,t[Oe.getElementIndex(o,a)]=-l,t}const Ue=new b.Z,He=new b.Z,Ve=new b.Z,Ge=new b.Z,We=new b.Z,qe=new F,Ye={diagonal:new F,unitary:new F};var Xe=n(1384);const Ke=512,Qe=3,$e=[[.5,.5],[0,0],[0,1],[1,0],[1,1]],Je=$e.concat([[0,.5],[.5,0],[1,.5],[.5,1]]),et=Je.concat([[.25,.5],[.75,.5]]);class tt{constructor(e,t,n){(0,r.Z)(this,"x",void 0),(0,r.Z)(this,"y",void 0),(0,r.Z)(this,"z",void 0),(0,r.Z)(this,"childVisible",void 0),(0,r.Z)(this,"selected",void 0),(0,r.Z)(this,"_children",void 0),this.x=e,this.y=t,this.z=n}get children(){if(!this._children){const e=2*this.x,t=2*this.y,n=this.z+1;this._children=[new tt(e,t,n),new tt(e,t+1,n),new tt(e+1,t,n),new tt(e+1,t+1,n)]}return this._children}update(e){const{viewport:t,cullingVolume:n,elevationBounds:r,minZ:i,maxZ:o,bounds:a,offset:s,project:l}=e,c=this.getBoundingVolume(r,s,l);if(a&&!this.insideBounds(a))return!1;if(n.computeVisibility(c)<0)return!1;if(!this.childVisible){let{z:e}=this;if(e=i){const n=c.distanceTo(t.cameraPosition)*t.scale/t.height;e+=Math.floor(Math.log2(n))}if(e>=o)return this.selected=!0,!0}this.selected=!1,this.childVisible=!0;for(const u of this.children)u.update(e);return!0}getSelected(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(this.selected&&e.push(this),this._children)for(const t of this._children)t.getSelected(e);return e}insideBounds(e){let[t,n,r,i]=e;const o=Math.pow(2,this.z),a=Ke/o;return this.x*at&&(this.y+1)*a>n}getBoundingVolume(e,t,n){if(n){const t=this.z<1?et:this.z<2?Je:$e,r=[];for(const i of t){const t=ut(this.x+i[0],this.y+i[1],this.z);t[2]=e[0],r.push(n(t)),e[0]!==e[1]&&(t[2]=e[1],r.push(n(t)))}return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new we;if(!e||0===e.length)return t.halfAxes=new F([0,0,0,0,0,0,0,0,0]),t.center=new b.Z,t;const n=e.length,r=new b.Z(0,0,0);for(const b of e)r.add(b);const i=1/n;r.multiplyByScalar(i);let o=0,a=0,s=0,l=0,c=0,u=0;for(const b of e){const e=Ue.copy(b).subtract(r);o+=e.x*e.x,a+=e.x*e.y,s+=e.x*e.z,l+=e.y*e.y,c+=e.y*e.z,u+=e.z*e.z}o*=i,a*=i,s*=i,l*=i,c*=i,u*=i;const d=qe;d[0]=o,d[1]=a,d[2]=s,d[3]=a,d[4]=l,d[5]=c,d[6]=s,d[7]=c,d[8]=u;const{unitary:h}=Fe(d,Ye),f=t.halfAxes.copy(h);let p=f.getColumn(0,Ve),g=f.getColumn(1,Ge),m=f.getColumn(2,We),A=-Number.MAX_VALUE,v=-Number.MAX_VALUE,y=-Number.MAX_VALUE,_=Number.MAX_VALUE,w=Number.MAX_VALUE,x=Number.MAX_VALUE;for(const b of e)Ue.copy(b),A=Math.max(Ue.dot(p),A),v=Math.max(Ue.dot(g),v),y=Math.max(Ue.dot(m),y),_=Math.min(Ue.dot(p),_),w=Math.min(Ue.dot(g),w),x=Math.min(Ue.dot(m),x);p=p.multiplyByScalar(.5*(_+A)),g=g.multiplyByScalar(.5*(w+v)),m=m.multiplyByScalar(.5*(x+y)),t.center.copy(p).add(g).add(m);const E=He.set(A-_,v-w,y-x).multiplyByScalar(.5),S=new F([E[0],0,0,0,E[1],0,0,0,E[2]]);return t.halfAxes.multiplyRight(S),t}(r)}const r=Math.pow(2,this.z),i=Ke/r,o=this.x*i+t*Ke,a=Ke-(this.y+1)*i;return new x([o,a,e[0]],[o+i,a+i,e[1]])}}const nt=512,rt=[-1/0,-1/0,1/0,1/0],it={type:"object",value:null,validate:(e,t)=>t.optional&&null===e||"string"===typeof e||Array.isArray(e)&&e.every((e=>"string"===typeof e)),equal:(e,t)=>{if(e===t)return!0;if(!Array.isArray(e)||!Array.isArray(t))return!1;const n=e.length;if(n!==t.length)return!1;for(let r=0;re[0]))),Math.min(...n.map((e=>e[1]))),Math.max(...n.map((e=>e[0]))),Math.max(...n.map((e=>e[1])))]}function at(e,t){if(!e||!e.length)return null;const{index:n,id:r}=t;if(Array.isArray(e)){e=e[(i=r,Math.abs(i.split("").reduce(((e,t)=>(e<<5)-e+t.charCodeAt(0)|0),0))%e.length)]}var i;let o=e;for(const a of Object.keys(n)){const e=new RegExp("{".concat(a,"}"),"g");o=o.replace(e,String(n[a]))}return Number.isInteger(n.y)&&Number.isInteger(n.z)&&(o=o.replace(/\{-y\}/g,String(Math.pow(2,n.z)-n.y-1))),o}function st(e){let{viewport:t,z:n=0,cullRect:r}=e;return(t.subViewports||[t]).map((e=>lt(e,n,r)))}function lt(e,t,n){if(!Array.isArray(t)){const r=n.x-e.x,i=n.y-e.y,{width:o,height:a}=n,s={targetZ:t},l=e.unproject([r,i],s),c=e.unproject([r+o,i],s),u=e.unproject([r,i+a],s),d=e.unproject([r+o,i+a],s);return[Math.min(l[0],c[0],u[0],d[0]),Math.min(l[1],c[1],u[1],d[1]),Math.max(l[0],c[0],u[0],d[0]),Math.max(l[1],c[1],u[1],d[1])]}const r=lt(e,t[0],n),i=lt(e,t[1],n);return[Math.min(r[0],i[0]),Math.min(r[1],i[1]),Math.max(r[2],i[2]),Math.max(r[3],i[3])]}function ct(e,t){return Math.pow(2,e)*nt/t}function ut(e,t,n){const r=ct(n,nt),i=e/r*360-180,o=Math.PI-2*Math.PI*t/r;return[i,180/Math.PI*Math.atan(.5*(Math.exp(o)-Math.exp(-o)))]}function dt(e,t,n,r){const i=ct(n,r);return[e/i*nt,t/i*nt]}function ht(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:nt;if(e.isGeospatial){const[e,i]=ut(t,n,r),[o,a]=ut(t+1,n+1,r);return{west:e,north:i,east:o,south:a}}const[o,a]=dt(t,n,r,i),[s,l]=dt(t+1,n+1,r,i);return{left:o,top:a,right:s,bottom:l}}function ft(e,t,n,r,i){const o=function(e,t,n){let r;if(t&&2===t.length){const[n,i]=t,o=e.getBounds({z:n}),a=e.getBounds({z:i});r=[Math.min(o[0],a[0]),Math.min(o[1],a[1]),Math.max(o[2],a[2]),Math.max(o[3],a[3])]}else r=e.getBounds();return e.isGeospatial?[Math.max(r[0],n[0]),Math.max(r[1],n[1]),Math.min(r[2],n[2]),Math.min(r[3],n[3])]:[Math.max(Math.min(r[0],n[2]),n[0]),Math.max(Math.min(r[1],n[3]),n[1]),Math.min(Math.max(r[2],n[0]),n[2]),Math.min(Math.max(r[3],n[1]),n[3])]}(e,null,r),a=ct(t,n),[s,l,c,u]=function(e,t,n){if(n)return ot(e,n).map((e=>e*t/nt));return e.map((e=>e*t/nt))}(o,a,i),d=[];for(let h=Math.floor(s);hn&&(u=n);let d=o;return s&&l&&o&&!t.isGeospatial&&(d=ot(o,s)),t.isGeospatial?function(e,t,n,r){const i=e instanceof p&&e.resolution?e.projectPosition:null,o=Object.values(e.getFrustumPlanes()).map((e=>{let{normal:t,distance:n}=e;return new Ce(t.clone().negate(),n)})),a=new ke(o),s=e.distanceScales.unitsPerMeter[2],l=n&&n[0]*s||0,c=n&&n[1]*s||0,u=e instanceof m.Z&&e.pitch<=60?t:0;if(r){const[e,t,n,i]=r,o=(0,Xe.w5)([e,i]),a=(0,Xe.w5)([n,t]);r=[o[0],Ke-o[1],a[0],Ke-a[1]]}const d=new tt(0,0,0),h={viewport:e,project:i,cullingVolume:a,elevationBounds:[l,c],minZ:u,maxZ:t,bounds:r,offset:0};if(d.update(h),e instanceof m.Z&&e.subViewports&&e.subViewports.length>1){for(h.offset=-1;d.update(h)&&!(--h.offset<-Qe););for(h.offset=1;d.update(h)&&!(++h.offset>Qe););}return d.getSelected()}(t,u,i,o):ft(t,u,a,d||rt,l)}function gt(e){return/(?=.*{z})(?=.*{x})(?=.*({y}|{-y}))/.test(e)}function mt(e){return Number.isFinite(e.west)&&Number.isFinite(e.north)&&Number.isFinite(e.east)&&Number.isFinite(e.south)}},39723:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(68185),i=n(27469);class o extends i.Z{getShaders(){const e=super.getShaders();return e.inject={"vs:#decl":"uniform float trailLength;\nattribute float instanceTimestamps;\nattribute float instanceNextTimestamps;\nvarying float vTime;\n","vs:#main-end":"vTime = instanceTimestamps + (instanceNextTimestamps - instanceTimestamps) * vPathPosition.y / vPathLength;\n","fs:#decl":"uniform bool fadeTrail;\nuniform float trailLength;\nuniform float currentTime;\nvarying float vTime;\n","fs:#main-start":"if(vTime > currentTime || (fadeTrail && (vTime < currentTime - trailLength))) {\n discard;\n}\n","fs:DECKGL_FILTER_COLOR":"if(fadeTrail) {\n color.a *= 1.0 - (currentTime - vTime) / trailLength;\n}\n"},e}initializeState(){super.initializeState();this.getAttributeManager().addInstanced({timestamps:{size:1,accessor:"getTimestamps",shaderAttributes:{instanceTimestamps:{vertexOffset:0},instanceNextTimestamps:{vertexOffset:1}}}})}draw(e){const{fadeTrail:t,trailLength:n,currentTime:r}=this.props;e.uniforms={...e.uniforms,fadeTrail:t,trailLength:n,currentTime:r},super.draw(e)}}(0,r.Z)(o,"layerName","TripsLayer"),(0,r.Z)(o,"defaultProps",{fadeTrail:!0,trailLength:{type:"number",value:120,min:0},currentTime:{type:"number",value:0,min:0},getTimestamps:{type:"accessor",value:e=>e.timestamps}})},4105:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(68185),i=n(53104),o=n(58521),a=n(79463),s=n(98029),l=n(44548),c=n(16621);const u=[0,0,0,255],d={getSourcePosition:{type:"accessor",value:e=>e.sourcePosition},getTargetPosition:{type:"accessor",value:e=>e.targetPosition},getSourceColor:{type:"accessor",value:u},getTargetColor:{type:"accessor",value:u},getWidth:{type:"accessor",value:1},getHeight:{type:"accessor",value:1},getTilt:{type:"accessor",value:0},greatCircle:!1,widthUnits:"pixels",widthScale:{type:"number",value:1,min:0},widthMinPixels:{type:"number",value:0,min:0},widthMaxPixels:{type:"number",value:Number.MAX_SAFE_INTEGER,min:0}};class h extends i.Z{constructor(){super(...arguments),(0,r.Z)(this,"state",void 0)}getBounds(){var e;return null===(e=this.getAttributeManager())||void 0===e?void 0:e.getBounds(["instanceSourcePositions","instanceTargetPositions"])}getShaders(){return super.getShaders({vs:"#define SHADER_NAME arc-layer-vertex-shader\n\nattribute vec3 positions;\nattribute vec4 instanceSourceColors;\nattribute vec4 instanceTargetColors;\nattribute vec3 instanceSourcePositions;\nattribute vec3 instanceSourcePositions64Low;\nattribute vec3 instanceTargetPositions;\nattribute vec3 instanceTargetPositions64Low;\nattribute vec3 instancePickingColors;\nattribute float instanceWidths;\nattribute float instanceHeights;\nattribute float instanceTilts;\n\nuniform bool greatCircle;\nuniform bool useShortestPath;\nuniform float numSegments;\nuniform float opacity;\nuniform float widthScale;\nuniform float widthMinPixels;\nuniform float widthMaxPixels;\nuniform int widthUnits;\n\nvarying vec4 vColor;\nvarying vec2 uv;\nvarying float isValid;\n\nfloat paraboloid(float distance, float sourceZ, float targetZ, float ratio) {\n\n float deltaZ = targetZ - sourceZ;\n float dh = distance * instanceHeights;\n if (dh == 0.0) {\n return sourceZ + deltaZ * ratio;\n }\n float unitZ = deltaZ / dh;\n float p2 = unitZ * unitZ + 1.0;\n float dir = step(deltaZ, 0.0);\n float z0 = mix(sourceZ, targetZ, dir);\n float r = mix(ratio, 1.0 - ratio, dir);\n return sqrt(r * (p2 - r)) * dh + z0;\n}\nvec2 getExtrusionOffset(vec2 line_clipspace, float offset_direction, float width) {\n vec2 dir_screenspace = normalize(line_clipspace * project_uViewportSize);\n dir_screenspace = vec2(-dir_screenspace.y, dir_screenspace.x);\n\n return dir_screenspace * offset_direction * width / 2.0;\n}\n\nfloat getSegmentRatio(float index) {\n return smoothstep(0.0, 1.0, index / (numSegments - 1.0));\n}\n\nvec3 interpolateFlat(vec3 source, vec3 target, float segmentRatio) {\n float distance = length(source.xy - target.xy);\n float z = paraboloid(distance, source.z, target.z, segmentRatio);\n\n float tiltAngle = radians(instanceTilts);\n vec2 tiltDirection = normalize(target.xy - source.xy);\n vec2 tilt = vec2(-tiltDirection.y, tiltDirection.x) * z * sin(tiltAngle);\n\n return vec3(\n mix(source.xy, target.xy, segmentRatio) + tilt,\n z * cos(tiltAngle)\n );\n}\nfloat getAngularDist (vec2 source, vec2 target) {\n vec2 sourceRadians = radians(source);\n vec2 targetRadians = radians(target);\n vec2 sin_half_delta = sin((sourceRadians - targetRadians) / 2.0);\n vec2 shd_sq = sin_half_delta * sin_half_delta;\n\n float a = shd_sq.y + cos(sourceRadians.y) * cos(targetRadians.y) * shd_sq.x;\n return 2.0 * asin(sqrt(a));\n}\n\nvec3 interpolateGreatCircle(vec3 source, vec3 target, vec3 source3D, vec3 target3D, float angularDist, float t) {\n vec2 lngLat;\n if(abs(angularDist - PI) < 0.001) {\n lngLat = (1.0 - t) * source.xy + t * target.xy;\n } else {\n float a = sin((1.0 - t) * angularDist);\n float b = sin(t * angularDist);\n vec3 p = source3D.yxz * a + target3D.yxz * b;\n lngLat = degrees(vec2(atan(p.y, -p.x), atan(p.z, length(p.xy))));\n }\n\n float z = paraboloid(angularDist * EARTH_RADIUS, source.z, target.z, t);\n\n return vec3(lngLat, z);\n}\n\nvoid main(void) {\n geometry.worldPosition = instanceSourcePositions;\n geometry.worldPositionAlt = instanceTargetPositions;\n\n float segmentIndex = positions.x;\n float segmentRatio = getSegmentRatio(segmentIndex);\n float prevSegmentRatio = getSegmentRatio(max(0.0, segmentIndex - 1.0));\n float nextSegmentRatio = getSegmentRatio(min(numSegments - 1.0, segmentIndex + 1.0));\n float indexDir = mix(-1.0, 1.0, step(segmentIndex, 0.0));\n isValid = 1.0;\n\n uv = vec2(segmentRatio, positions.y);\n geometry.uv = uv;\n geometry.pickingColor = instancePickingColors;\n\n vec4 curr;\n vec4 next;\n vec3 source;\n vec3 target;\n\n if ((greatCircle || project_uProjectionMode == PROJECTION_MODE_GLOBE) && project_uCoordinateSystem == COORDINATE_SYSTEM_LNGLAT) {\n source = project_globe_(vec3(instanceSourcePositions.xy, 0.0));\n target = project_globe_(vec3(instanceTargetPositions.xy, 0.0));\n float angularDist = getAngularDist(instanceSourcePositions.xy, instanceTargetPositions.xy);\n\n vec3 prevPos = interpolateGreatCircle(instanceSourcePositions, instanceTargetPositions, source, target, angularDist, prevSegmentRatio);\n vec3 currPos = interpolateGreatCircle(instanceSourcePositions, instanceTargetPositions, source, target, angularDist, segmentRatio);\n vec3 nextPos = interpolateGreatCircle(instanceSourcePositions, instanceTargetPositions, source, target, angularDist, nextSegmentRatio);\n\n if (abs(currPos.x - prevPos.x) > 180.0) {\n indexDir = -1.0;\n isValid = 0.0;\n } else if (abs(currPos.x - nextPos.x) > 180.0) {\n indexDir = 1.0;\n isValid = 0.0;\n }\n nextPos = indexDir < 0.0 ? prevPos : nextPos;\n nextSegmentRatio = indexDir < 0.0 ? prevSegmentRatio : nextSegmentRatio;\n\n if (isValid == 0.0) {\n nextPos.x += nextPos.x > 0.0 ? -360.0 : 360.0;\n float t = ((currPos.x > 0.0 ? 180.0 : -180.0) - currPos.x) / (nextPos.x - currPos.x);\n currPos = mix(currPos, nextPos, t);\n segmentRatio = mix(segmentRatio, nextSegmentRatio, t);\n }\n\n vec3 currPos64Low = mix(instanceSourcePositions64Low, instanceTargetPositions64Low, segmentRatio);\n vec3 nextPos64Low = mix(instanceSourcePositions64Low, instanceTargetPositions64Low, nextSegmentRatio);\n \n curr = project_position_to_clipspace(currPos, currPos64Low, vec3(0.0), geometry.position);\n next = project_position_to_clipspace(nextPos, nextPos64Low, vec3(0.0));\n \n } else {\n vec3 source_world = instanceSourcePositions;\n vec3 target_world = instanceTargetPositions;\n if (useShortestPath) {\n source_world.x = mod(source_world.x + 180., 360.0) - 180.;\n target_world.x = mod(target_world.x + 180., 360.0) - 180.;\n\n float deltaLng = target_world.x - source_world.x;\n if (deltaLng > 180.) target_world.x -= 360.;\n if (deltaLng < -180.) source_world.x -= 360.;\n }\n source = project_position(source_world, instanceSourcePositions64Low);\n target = project_position(target_world, instanceTargetPositions64Low);\n float antiMeridianX = 0.0;\n\n if (useShortestPath) {\n if (project_uProjectionMode == PROJECTION_MODE_WEB_MERCATOR_AUTO_OFFSET) {\n antiMeridianX = -(project_uCoordinateOrigin.x + 180.) / 360. * TILE_SIZE;\n }\n float thresholdRatio = (antiMeridianX - source.x) / (target.x - source.x);\n\n if (prevSegmentRatio <= thresholdRatio && nextSegmentRatio > thresholdRatio) {\n isValid = 0.0;\n indexDir = sign(segmentRatio - thresholdRatio);\n segmentRatio = thresholdRatio;\n }\n }\n\n nextSegmentRatio = indexDir < 0.0 ? prevSegmentRatio : nextSegmentRatio;\n vec3 currPos = interpolateFlat(source, target, segmentRatio);\n vec3 nextPos = interpolateFlat(source, target, nextSegmentRatio);\n\n if (useShortestPath) {\n if (nextPos.x < antiMeridianX) {\n currPos.x += TILE_SIZE;\n nextPos.x += TILE_SIZE;\n }\n }\n\n curr = project_common_position_to_clipspace(vec4(currPos, 1.0));\n next = project_common_position_to_clipspace(vec4(nextPos, 1.0));\n geometry.position = vec4(currPos, 1.0);\n }\n float widthPixels = clamp(\n project_size_to_pixel(instanceWidths * widthScale, widthUnits),\n widthMinPixels, widthMaxPixels\n );\n vec3 offset = vec3(\n getExtrusionOffset((next.xy - curr.xy) * indexDir, positions.y, widthPixels),\n 0.0);\n DECKGL_FILTER_SIZE(offset, geometry);\n DECKGL_FILTER_GL_POSITION(curr, geometry);\n gl_Position = curr + vec4(project_pixel_size_to_clipspace(offset.xy), 0.0, 0.0);\n\n vec4 color = mix(instanceSourceColors, instanceTargetColors, segmentRatio);\n vColor = vec4(color.rgb, color.a * opacity);\n DECKGL_FILTER_COLOR(vColor, geometry);\n}\n",fs:"#define SHADER_NAME arc-layer-fragment-shader\n\nprecision highp float;\n\nvarying vec4 vColor;\nvarying vec2 uv;\nvarying float isValid;\n\nvoid main(void) {\n if (isValid == 0.0) {\n discard;\n }\n\n gl_FragColor = vColor;\n geometry.uv = uv;\n\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n",modules:[o.Z,a.Z]})}get wrapLongitude(){return!1}initializeState(){this.getAttributeManager().addInstanced({instanceSourcePositions:{size:3,type:5130,fp64:this.use64bitPositions(),transition:!0,accessor:"getSourcePosition"},instanceTargetPositions:{size:3,type:5130,fp64:this.use64bitPositions(),transition:!0,accessor:"getTargetPosition"},instanceSourceColors:{size:this.props.colorFormat.length,type:5121,normalized:!0,transition:!0,accessor:"getSourceColor",defaultValue:u},instanceTargetColors:{size:this.props.colorFormat.length,type:5121,normalized:!0,transition:!0,accessor:"getTargetColor",defaultValue:u},instanceWidths:{size:1,transition:!0,accessor:"getWidth",defaultValue:1},instanceHeights:{size:1,transition:!0,accessor:"getHeight",defaultValue:1},instanceTilts:{size:1,transition:!0,accessor:"getTilt",defaultValue:0}})}updateState(e){if(super.updateState(e),e.changeFlags.extensionsChanged){var t;const{gl:e}=this.context;null===(t=this.state.model)||void 0===t||t.delete(),this.state.model=this._getModel(e),this.getAttributeManager().invalidateAll()}}draw(e){let{uniforms:t}=e;const{widthUnits:n,widthScale:r,widthMinPixels:i,widthMaxPixels:o,greatCircle:a,wrapLongitude:l}=this.props;this.state.model.setUniforms(t).setUniforms({greatCircle:a,widthUnits:s.iI[n],widthScale:r,widthMinPixels:i,widthMaxPixels:o,useShortestPath:l}).draw()}_getModel(e){let t=[];for(let r=0;r<50;r++)t=t.concat([r,1,0,r,-1,0]);const n=new l.Z(e,{...this.getShaders(),id:this.props.id,geometry:new c.Z({drawMode:5,attributes:{positions:new Float32Array(t)}}),isInstanced:!0});return n.setUniforms({numSegments:50}),n}}(0,r.Z)(h,"layerName","ArcLayer"),(0,r.Z)(h,"defaultProps",d)},13091:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var r=n(68185),i=n(53104),o=n(58521),a=n(48424),s=n(79463),l=n(98029),c=n(76195),u=n(6509),d=n(87966),h=n(44548),f=n(65148),p=n(16621),g=n(39042),m=n(8766);class A extends p.Z{constructor(e){const{id:t=(0,g.hQ)("column-geometry")}=e,{indices:n,attributes:r}=function(e){const{radius:t,height:n=1,nradial:r=10}=e;let{vertices:i}=e;i&&(f.Z.assert(i.length>=r),i=i.flatMap((e=>[e[0],e[1]])),(0,m.modifyPolygonWindingDirection)(i,m.WINDING.COUNTER_CLOCKWISE));const o=n>0,a=r+1,s=o?3*a+1:r,l=2*Math.PI/r,c=new Uint16Array(o?3*r*2:0),u=new Float32Array(3*s),d=new Float32Array(3*s);let h=0;if(o){for(let e=0;ee.position},getFillColor:{type:"accessor",value:v},getLineColor:{type:"accessor",value:v},getLineWidth:{type:"accessor",value:1},getElevation:{type:"accessor",value:1e3},material:!0,getColor:{deprecatedFor:["getFillColor","getLineColor"]}};class b extends i.Z{getShaders(){const{gl:e}=this.context,t=!(0,c.D0)(e),n={},r=this.props.flatShading&&(0,u.U6)(e,d.h.GLSL_DERIVATIVES);return r&&(n.FLAT_SHADING=1),super.getShaders({vs:"#version 300 es\n\n#define SHADER_NAME column-layer-vertex-shader\n\nin vec3 positions;\nin vec3 normals;\n\nin vec3 instancePositions;\nin float instanceElevations;\nin vec3 instancePositions64Low;\nin vec4 instanceFillColors;\nin vec4 instanceLineColors;\nin float instanceStrokeWidths;\n\nin vec3 instancePickingColors;\nuniform float opacity;\nuniform float radius;\nuniform float angle;\nuniform vec2 offset;\nuniform bool extruded;\nuniform bool stroked;\nuniform bool isStroke;\nuniform float coverage;\nuniform float elevationScale;\nuniform float edgeDistance;\nuniform float widthScale;\nuniform float widthMinPixels;\nuniform float widthMaxPixels;\nuniform int radiusUnits;\nuniform int widthUnits;\nout vec4 vColor;\n#ifdef FLAT_SHADING\nout vec4 position_commonspace;\n#endif\n\nvoid main(void) {\n geometry.worldPosition = instancePositions;\n\n vec4 color = isStroke ? instanceLineColors : instanceFillColors;\n mat2 rotationMatrix = mat2(cos(angle), sin(angle), -sin(angle), cos(angle));\n float elevation = 0.0;\n float strokeOffsetRatio = 1.0;\n\n if (extruded) {\n elevation = instanceElevations * (positions.z + 1.0) / 2.0 * elevationScale;\n } else if (stroked) {\n float widthPixels = clamp(\n project_size_to_pixel(instanceStrokeWidths * widthScale, widthUnits),\n widthMinPixels, widthMaxPixels) / 2.0;\n float halfOffset = project_pixel_size(widthPixels) / project_size(edgeDistance * coverage * radius);\n if (isStroke) {\n strokeOffsetRatio -= sign(positions.z) * halfOffset;\n } else {\n strokeOffsetRatio -= halfOffset;\n }\n }\n float shouldRender = float(color.a > 0.0 && instanceElevations >= 0.0);\n float dotRadius = radius * coverage * shouldRender;\n\n geometry.pickingColor = instancePickingColors;\n vec3 centroidPosition = vec3(instancePositions.xy, instancePositions.z + elevation);\n vec3 centroidPosition64Low = instancePositions64Low;\n vec2 offset = (rotationMatrix * positions.xy * strokeOffsetRatio + offset) * dotRadius;\n if (radiusUnits == UNIT_METERS) {\n offset = project_size(offset);\n }\n vec3 pos = vec3(offset, 0.);\n DECKGL_FILTER_SIZE(pos, geometry);\n\n gl_Position = project_position_to_clipspace(centroidPosition, centroidPosition64Low, pos, geometry.position);\n geometry.normal = project_normal(vec3(rotationMatrix * normals.xy, normals.z));\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n if (extruded && !isStroke) {\n#ifdef FLAT_SHADING\n position_commonspace = geometry.position;\n vColor = vec4(color.rgb, color.a * opacity);\n#else\n vec3 lightColor = lighting_getLightColor(color.rgb, project_uCameraPosition, geometry.position.xyz, geometry.normal);\n vColor = vec4(lightColor, color.a * opacity);\n#endif\n } else {\n vColor = vec4(color.rgb, color.a * opacity);\n }\n DECKGL_FILTER_COLOR(vColor, geometry);\n}\n",fs:"#version 300 es\n#define SHADER_NAME column-layer-fragment-shader\n\nprecision highp float;\n\nuniform vec3 project_uCameraPosition;\nuniform bool extruded;\nuniform bool isStroke;\n\nout vec4 fragColor;\n\nin vec4 vColor;\n#ifdef FLAT_SHADING\nin vec4 position_commonspace;\n#endif\n\nvoid main(void) {\n fragColor = vColor;\n#ifdef FLAT_SHADING\n if (extruded && !isStroke && !picking_uActive) {\n vec3 normal = normalize(cross(dFdx(position_commonspace.xyz), dFdy(position_commonspace.xyz)));\n fragColor.rgb = lighting_getLightColor(vColor.rgb, project_uCameraPosition, position_commonspace.xyz, normal);\n }\n#endif\n DECKGL_FILTER_COLOR(fragColor, geometry);\n}\n",defines:n,transpileToGLSL100:t,modules:[o.Z,r?a.s:a.N,s.Z]})}initializeState(){this.getAttributeManager().addInstanced({instancePositions:{size:3,type:5130,fp64:this.use64bitPositions(),transition:!0,accessor:"getPosition"},instanceElevations:{size:1,transition:!0,accessor:"getElevation"},instanceFillColors:{size:this.props.colorFormat.length,type:5121,normalized:!0,transition:!0,accessor:"getFillColor",defaultValue:v},instanceLineColors:{size:this.props.colorFormat.length,type:5121,normalized:!0,transition:!0,accessor:"getLineColor",defaultValue:v},instanceStrokeWidths:{size:1,accessor:"getLineWidth",transition:!0}})}updateState(e){super.updateState(e);const{props:t,oldProps:n,changeFlags:r}=e,i=r.extensionsChanged||t.flatShading!==n.flatShading;if(i){var o;const{gl:e}=this.context;null===(o=this.state.model)||void 0===o||o.delete(),this.state.model=this._getModel(e),this.getAttributeManager().invalidateAll()}(i||t.diskResolution!==n.diskResolution||t.vertices!==n.vertices||(t.extruded||t.stroked)!==(n.extruded||n.stroked))&&this._updateGeometry(t)}getGeometry(e,t,n){const r=new A({radius:1,height:n?2:0,vertices:t,nradial:e});let i=0;if(t)for(let o=0;o{"use strict";n.d(t,{Z:()=>E});var r=n(68185),i=n(32603),o=n(63962);var a=n(90286),s=n(99259),l=n(34929),c=n(27469),u=n(816);const d={circle:{type:s.Z,props:{filled:"filled",stroked:"stroked",lineWidthMaxPixels:"lineWidthMaxPixels",lineWidthMinPixels:"lineWidthMinPixels",lineWidthScale:"lineWidthScale",lineWidthUnits:"lineWidthUnits",pointRadiusMaxPixels:"radiusMaxPixels",pointRadiusMinPixels:"radiusMinPixels",pointRadiusScale:"radiusScale",pointRadiusUnits:"radiusUnits",pointAntialiasing:"antialiasing",pointBillboard:"billboard",getFillColor:"getFillColor",getLineColor:"getLineColor",getLineWidth:"getLineWidth",getPointRadius:"getRadius"}},icon:{type:a.Z,props:{iconAtlas:"iconAtlas",iconMapping:"iconMapping",iconSizeMaxPixels:"sizeMaxPixels",iconSizeMinPixels:"sizeMinPixels",iconSizeScale:"sizeScale",iconSizeUnits:"sizeUnits",iconAlphaCutoff:"alphaCutoff",iconBillboard:"billboard",getIcon:"getIcon",getIconAngle:"getAngle",getIconColor:"getColor",getIconPixelOffset:"getPixelOffset",getIconSize:"getSize"}},text:{type:l.Z,props:{textSizeMaxPixels:"sizeMaxPixels",textSizeMinPixels:"sizeMinPixels",textSizeScale:"sizeScale",textSizeUnits:"sizeUnits",textBackground:"background",textBackgroundPadding:"backgroundPadding",textFontFamily:"fontFamily",textFontWeight:"fontWeight",textLineHeight:"lineHeight",textMaxWidth:"maxWidth",textOutlineColor:"outlineColor",textOutlineWidth:"outlineWidth",textWordBreak:"wordBreak",textCharacterSet:"characterSet",textBillboard:"billboard",textFontSettings:"fontSettings",getText:"getText",getTextAngle:"getAngle",getTextColor:"getColor",getTextPixelOffset:"getPixelOffset",getTextSize:"getSize",getTextAnchor:"getTextAnchor",getTextAlignmentBaseline:"getAlignmentBaseline",getTextBackgroundColor:"getBackgroundColor",getTextBorderColor:"getBorderColor",getTextBorderWidth:"getBorderWidth"}}},h={type:c.Z,props:{lineWidthUnits:"widthUnits",lineWidthScale:"widthScale",lineWidthMinPixels:"widthMinPixels",lineWidthMaxPixels:"widthMaxPixels",lineJointRounded:"jointRounded",lineCapRounded:"capRounded",lineMiterLimit:"miterLimit",lineBillboard:"billboard",getLineColor:"getColor",getLineWidth:"getWidth"}},f={type:u.Z,props:{extruded:"extruded",filled:"filled",wireframe:"wireframe",elevationScale:"elevationScale",material:"material",_full3d:"_full3d",getElevation:"getElevation",getFillColor:"getFillColor",getLineColor:"getLineColor"}};function p(e){let{type:t,props:n}=e;const r={};for(const i in n)r[i]=t.defaultProps[n[i]];return r}function g(e,t){const{transitions:n,updateTriggers:r}=e.props,i={updateTriggers:{},transitions:n&&{getPosition:n.geometry}};for(const o in t){const a=t[o];let s=e.props[o];o.startsWith("get")&&(s=e.getSubLayerAccessor(s),i.updateTriggers[a]=r[o],n&&(i.transitions[a]=n[o])),i[a]=s}return i}var m=n(65148);function A(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r={pointFeatures:[],lineFeatures:[],polygonFeatures:[],polygonOutlineFeatures:[]},{startRow:i=0,endRow:o=e.length}=n;for(let a=i;a0;)t=t[0];return t&&Number.isFinite(t[0])}(o,a))switch(o){case"Point":s.push(n({geometry:e},r,i));break;case"MultiPoint":a.forEach((e=>{s.push(n({geometry:{type:"Point",coordinates:e}},r,i))}));break;case"LineString":l.push(n({geometry:e},r,i));break;case"MultiLineString":a.forEach((e=>{l.push(n({geometry:{type:"LineString",coordinates:e}},r,i))}));break;case"Polygon":c.push(n({geometry:e},r,i)),a.forEach((e=>{u.push(n({geometry:{type:"LineString",coordinates:e}},r,i))}));break;case"MultiPolygon":a.forEach((e=>{c.push(n({geometry:{type:"Polygon",coordinates:e}},r,i)),e.forEach((e=>{u.push(n({geometry:{type:"LineString",coordinates:e}},r,i))}))}))}else m.Z.warn("".concat(o," coordinates are malformed"))()}const y={Point:1,MultiPoint:2,LineString:2,MultiLineString:3,Polygon:3,MultiPolygon:4};function b(e){return e.geometry.coordinates}function _(e,t){const n={points:{},lines:{},polygons:{},polygonsOutline:{}},{points:r,lines:i,polygons:o}=e,a=function(e,t){const n={points:null,lines:null,polygons:null};for(const r in n){const i=e[r].globalFeatureIds.value;n[r]=new Uint8ClampedArray(3*i.length);const o=[];for(let e=0;ee.properties.icon},getText:{type:"accessor",value:e=>e.properties.text},pointType:"circle",getRadius:{deprecatedFor:"getPointRadius"}};class E extends i.Z{initializeState(){this.state={layerProps:{},features:{}}}updateState(e){let{props:t,changeFlags:n}=e;if(!n.dataChanged)return;const{data:r}=this.props,i=r&&"points"in r&&"polygons"in r&&"lines"in r;this.setState({binary:i}),i?this._updateStateBinary({props:t,changeFlags:n}):this._updateStateJSON({props:t,changeFlags:n})}_updateStateBinary(e){let{props:t,changeFlags:n}=e;const r=_(t.data,this.encodePickingColor);this.setState({layerProps:r})}_updateStateJSON(e){let{props:t,changeFlags:n}=e;const r=function(e){if(Array.isArray(e))return e;switch(m.Z.assert(e.type,"GeoJSON does not have type"),e.type){case"Feature":return[e];case"FeatureCollection":return m.Z.assert(Array.isArray(e.features),"GeoJSON does not have features array"),e.features;default:return[{geometry:e}]}}(t.data),i=this.getSubLayerRow.bind(this);let a={};const s={};if(Array.isArray(n.dataChanged)){const e=this.state.features;for(const t in e)a[t]=e[t].slice(),s[t]=[];for(const t of n.dataChanged){const n=A(r,i,t);for(const r in e)s[r].push((0,o.b)({data:a[r],getIndex:e=>e.__source.index,dataRange:t,replace:n[r]}))}}else a=A(r,i);const l=function(e,t){const n={points:{},lines:{},polygons:{},polygonsOutline:{}},{pointFeatures:r,lineFeatures:i,polygonFeatures:o,polygonOutlineFeatures:a}=e;return n.points.data=r,n.points._dataDiff=t.pointFeatures&&(()=>t.pointFeatures),n.points.getPosition=b,n.lines.data=i,n.lines._dataDiff=t.lineFeatures&&(()=>t.lineFeatures),n.lines.getPath=b,n.polygons.data=o,n.polygons._dataDiff=t.polygonFeatures&&(()=>t.polygonFeatures),n.polygons.getPolygon=b,n.polygonsOutline.data=a,n.polygonsOutline._dataDiff=t.polygonOutlineFeatures&&(()=>t.polygonOutlineFeatures),n.polygonsOutline.getPath=b,n}(a,s);this.setState({features:a,featuresDiff:s,layerProps:l})}getPickingInfo(e){const t=super.getPickingInfo(e),{index:n,sourceLayer:r}=t;return t.featureType=w.find((e=>r.id.startsWith("".concat(this.id,"-").concat(e,"-")))),n>=0&&r.id.startsWith("".concat(this.id,"-points-text"))&&this.state.binary&&(t.index=this.props.data.points.globalFeatureIds.value[n]),t}_updateAutoHighlight(e){const t="".concat(this.id,"-points-"),n="points"===e.featureType;for(const r of this.getSubLayers())r.id.startsWith(t)===n&&r.updateAutoHighlight(e)}_renderPolygonLayer(){const{extruded:e,wireframe:t}=this.props,{layerProps:n}=this.state,r="polygons-fill",i=this.shouldRenderSubLayer(r,n.polygons.data)&&this.getSubLayerClass(r,f.type);if(i){const o=g(this,f.props),a=e&&t;return a||delete o.getLineColor,o.updateTriggers.lineColors=a,new i(o,this.getSubLayerProps({id:r,updateTriggers:o.updateTriggers}),n.polygons)}return null}_renderLineLayers(){const{extruded:e,stroked:t}=this.props,{layerProps:n}=this.state,r="polygons-stroke",i="linestrings",o=!e&&t&&this.shouldRenderSubLayer(r,n.polygonsOutline.data)&&this.getSubLayerClass(r,h.type),a=this.shouldRenderSubLayer(i,n.lines.data)&&this.getSubLayerClass(i,h.type);if(o||a){const e=g(this,h.props);return[o&&new o(e,this.getSubLayerProps({id:r,updateTriggers:e.updateTriggers}),n.polygonsOutline),a&&new a(e,this.getSubLayerProps({id:i,updateTriggers:e.updateTriggers}),n.lines)]}return null}_renderPointLayers(){const{pointType:e}=this.props,{layerProps:t,binary:n}=this.state;let{highlightedObjectIndex:r}=this.props;!n&&Number.isFinite(r)&&(r=t.points.data.findIndex((e=>e.__source.index===r)));const i=new Set(e.split("+")),o=[];for(const a of i){const e="points-".concat(a),i=d[a],s=i&&this.shouldRenderSubLayer(e,t.points.data)&&this.getSubLayerClass(e,i.type);if(s){const l=g(this,i.props);let c=t.points;if("text"===a&&n){const{instancePickingColors:e,...t}=c.data.attributes;c={...c,data:{...c.data,attributes:t}}}o.push(new s(l,this.getSubLayerProps({id:e,updateTriggers:l.updateTriggers,highlightedObjectIndex:r}),c))}}return o}renderLayers(){const{extruded:e}=this.props,t=this._renderPolygonLayer();return[!e&&t,this._renderLineLayers(),this._renderPointLayers(),e&&t]}getSubLayerAccessor(e){const{binary:t}=this.state;return t&&"function"===typeof e?(t,n)=>{const{data:r,index:i}=n,o=function(e,t){if(!e)return null;const n="startIndices"in e?e.startIndices[t]:t,r=e.featureIds.value[n];return-1!==n?function(e,t,n){const r={properties:{...e.properties[t]}};for(const i in e.numericProps)r.properties[i]=e.numericProps[i].value[n];return r}(e,r,n):null}(r,i);return e(o,n)}:super.getSubLayerAccessor(e)}}(0,r.Z)(E,"layerName","GeoJsonLayer"),(0,r.Z)(E,"defaultProps",x)},90286:(e,t,n)=>{"use strict";n.d(t,{Z:()=>E});var r=n(68185),i=n(53104),o=n(58521),a=n(79463),s=n(98029),l=n(65148),c=n(44548),u=n(16621);var d=n(81786),h=n(77378),f=n(63734),p=n(39179);const g=()=>{},m={10241:9987,10240:9729,10242:33071,10243:33071};function A(e){return Math.pow(2,Math.ceil(Math.log2(e)))}function v(e,t,n,r){const i=Math.min(n/t.width,r/t.height),o=Math.floor(t.width*i),a=Math.floor(t.height*i);return 1===i?{data:t,width:o,height:a}:(e.canvas.height=a,e.canvas.width=o,e.clearRect(0,0,o,a),e.drawImage(t,0,0,t.width,t.height,0,0,o,a),{data:e.canvas,width:o,height:a})}function y(e){return e&&(e.id||e.url)}function b(e,t,n){for(let r=0;r0){const{mapping:e,xOffset:t,yOffset:r,rowHeight:i,canvasHeight:o}=function(e){let{icons:t,buffer:n,mapping:r={},xOffset:i=0,yOffset:o=0,rowHeight:a=0,canvasWidth:s}=e,l=[];for(let c=0;cs&&(b(r,l,o),i=0,o=a+o+n,a=0,l=[]),l.push({icon:e,xOffset:i}),i=i+c+n,a=Math.max(a,t)}}return l.length>0&&b(r,l,o),{mapping:r,rowHeight:a,xOffset:i,yOffset:o,canvasWidth:s,canvasHeight:A(a+o+n)}}({icons:n,buffer:this._buffer,canvasWidth:this._canvasWidth,mapping:this._mapping,rowHeight:this._rowHeight,xOffset:this._xOffset,yOffset:this._yOffset});this._rowHeight=i,this._mapping=e,this._xOffset=t,this._yOffset=r,this._canvasHeight=o,this._texture||(this._texture=new d.Z(this.gl,{width:this._canvasWidth,height:this._canvasHeight,parameters:this._textureParameters||m})),this._texture.height!==this._canvasHeight&&(this._texture=function(e,t,n,r){const i=e.width,o=e.height,a=new d.Z(e.gl,{width:t,height:n,parameters:r});return(0,h.Lv)(e,a,{targetY:0,width:i,height:o}),e.delete(),a}(this._texture,this._canvasWidth,this._canvasHeight,this._textureParameters||m)),this.onUpdate(),this._canvas=this._canvas||document.createElement("canvas"),this._loadIcons(n)}}_loadIcons(e){const t=this._canvas.getContext("2d",{willReadFrequently:!0});for(const n of e)this._pendingCount++,(0,f.z)(n.url,this._loadOptions).then((e=>{const r=y(n),i=this._mapping[r],{x:o,y:a,width:s,height:l}=i,{data:c,width:u,height:d}=v(t,e,s,l);this._texture.setSubImageData({data:c,x:o+(s-u)/2,y:a+(l-d)/2,width:u,height:d}),i.width=u,i.height=d,this._texture.generateMipmap(),this.onUpdate()})).catch((e=>{this.onError({url:n.url,source:n.source,sourceIndex:n.sourceIndex,loadOptions:this._loadOptions,error:e})})).finally((()=>{this._pendingCount--}))}}const w=[0,0,0,255],x={iconAtlas:{type:"image",value:null,async:!0},iconMapping:{type:"object",value:{},async:!0},sizeScale:{type:"number",value:1,min:0},billboard:!0,sizeUnits:"pixels",sizeMinPixels:{type:"number",min:0,value:0},sizeMaxPixels:{type:"number",min:0,value:Number.MAX_SAFE_INTEGER},alphaCutoff:{type:"number",value:.05,min:0,max:1},getPosition:{type:"accessor",value:e=>e.position},getIcon:{type:"accessor",value:e=>e.icon},getColor:{type:"accessor",value:w},getSize:{type:"accessor",value:1},getAngle:{type:"accessor",value:0},getPixelOffset:{type:"accessor",value:[0,0]},onIconError:{type:"function",value:null,optional:!0},textureParameters:{type:"object",ignore:!0}};class E extends i.Z{constructor(){super(...arguments),(0,r.Z)(this,"state",void 0)}getShaders(){return super.getShaders({vs:"#define SHADER_NAME icon-layer-vertex-shader\n\nattribute vec2 positions;\n\nattribute vec3 instancePositions;\nattribute vec3 instancePositions64Low;\nattribute float instanceSizes;\nattribute float instanceAngles;\nattribute vec4 instanceColors;\nattribute vec3 instancePickingColors;\nattribute vec4 instanceIconFrames;\nattribute float instanceColorModes;\nattribute vec2 instanceOffsets;\nattribute vec2 instancePixelOffset;\n\nuniform float sizeScale;\nuniform vec2 iconsTextureDim;\nuniform float sizeMinPixels;\nuniform float sizeMaxPixels;\nuniform bool billboard;\nuniform int sizeUnits;\n\nvarying float vColorMode;\nvarying vec4 vColor;\nvarying vec2 vTextureCoords;\nvarying vec2 uv;\n\nvec2 rotate_by_angle(vec2 vertex, float angle) {\n float angle_radian = angle * PI / 180.0;\n float cos_angle = cos(angle_radian);\n float sin_angle = sin(angle_radian);\n mat2 rotationMatrix = mat2(cos_angle, -sin_angle, sin_angle, cos_angle);\n return rotationMatrix * vertex;\n}\n\nvoid main(void) {\n geometry.worldPosition = instancePositions;\n geometry.uv = positions;\n geometry.pickingColor = instancePickingColors;\n uv = positions;\n\n vec2 iconSize = instanceIconFrames.zw;\n float sizePixels = clamp(\n project_size_to_pixel(instanceSizes * sizeScale, sizeUnits), \n sizeMinPixels, sizeMaxPixels\n );\n float instanceScale = iconSize.y == 0.0 ? 0.0 : sizePixels / iconSize.y;\n vec2 pixelOffset = positions / 2.0 * iconSize + instanceOffsets;\n pixelOffset = rotate_by_angle(pixelOffset, instanceAngles) * instanceScale;\n pixelOffset += instancePixelOffset;\n pixelOffset.y *= -1.0;\n\n if (billboard) {\n gl_Position = project_position_to_clipspace(instancePositions, instancePositions64Low, vec3(0.0), geometry.position);\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n vec3 offset = vec3(pixelOffset, 0.0);\n DECKGL_FILTER_SIZE(offset, geometry);\n gl_Position.xy += project_pixel_size_to_clipspace(offset.xy);\n\n } else {\n vec3 offset_common = vec3(project_pixel_size(pixelOffset), 0.0);\n DECKGL_FILTER_SIZE(offset_common, geometry);\n gl_Position = project_position_to_clipspace(instancePositions, instancePositions64Low, offset_common, geometry.position); \n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n }\n\n vTextureCoords = mix(\n instanceIconFrames.xy,\n instanceIconFrames.xy + iconSize,\n (positions.xy + 1.0) / 2.0\n ) / iconsTextureDim;\n\n vColor = instanceColors;\n DECKGL_FILTER_COLOR(vColor, geometry);\n\n vColorMode = instanceColorModes;\n}\n",fs:"#define SHADER_NAME icon-layer-fragment-shader\n\nprecision highp float;\n\nuniform float opacity;\nuniform sampler2D iconsTexture;\nuniform float alphaCutoff;\n\nvarying float vColorMode;\nvarying vec4 vColor;\nvarying vec2 vTextureCoords;\nvarying vec2 uv;\n\nvoid main(void) {\n geometry.uv = uv;\n\n vec4 texColor = texture2D(iconsTexture, vTextureCoords);\n vec3 color = mix(texColor.rgb, vColor.rgb, vColorMode);\n float a = texColor.a * opacity * vColor.a;\n\n if (a < alphaCutoff) {\n discard;\n }\n\n gl_FragColor = vec4(color, a);\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n",modules:[o.Z,a.Z]})}initializeState(){this.state={iconManager:new _(this.context.gl,{onUpdate:this._onUpdate.bind(this),onError:this._onError.bind(this)})};this.getAttributeManager().addInstanced({instancePositions:{size:3,type:5130,fp64:this.use64bitPositions(),transition:!0,accessor:"getPosition"},instanceSizes:{size:1,transition:!0,accessor:"getSize",defaultValue:1},instanceOffsets:{size:2,accessor:"getIcon",transform:this.getInstanceOffset},instanceIconFrames:{size:4,accessor:"getIcon",transform:this.getInstanceIconFrame},instanceColorModes:{size:1,type:5121,accessor:"getIcon",transform:this.getInstanceColorMode},instanceColors:{size:this.props.colorFormat.length,type:5121,normalized:!0,transition:!0,accessor:"getColor",defaultValue:w},instanceAngles:{size:1,transition:!0,accessor:"getAngle"},instancePixelOffset:{size:2,transition:!0,accessor:"getPixelOffset"}})}updateState(e){super.updateState(e);const{props:t,oldProps:n,changeFlags:r}=e,i=this.getAttributeManager(),{iconAtlas:o,iconMapping:a,data:s,getIcon:l,textureParameters:c}=t,{iconManager:u}=this.state,d=o||this.internalState.isAsyncPropLoading("iconAtlas");if(u.setProps({loadOptions:t.loadOptions,autoPacking:!d,iconAtlas:o,iconMapping:d?a:null,textureParameters:c}),d?n.iconMapping!==t.iconMapping&&i.invalidate("getIcon"):(r.dataChanged||r.updateTriggersChanged&&(r.updateTriggersChanged.all||r.updateTriggersChanged.getIcon))&&u.packIcons(s,l),r.extensionsChanged){var h;const{gl:e}=this.context;null===(h=this.state.model)||void 0===h||h.delete(),this.state.model=this._getModel(e),i.invalidateAll()}}get isLoaded(){return super.isLoaded&&this.state.iconManager.isLoaded}finalizeState(e){super.finalizeState(e),this.state.iconManager.finalize()}draw(e){let{uniforms:t}=e;const{sizeScale:n,sizeMinPixels:r,sizeMaxPixels:i,sizeUnits:o,billboard:a,alphaCutoff:l}=this.props,{iconManager:c}=this.state,u=c.getTexture();u&&this.state.model.setUniforms(t).setUniforms({iconsTexture:u,iconsTextureDim:[u.width,u.height],sizeUnits:s.iI[o],sizeScale:n,sizeMinPixels:r,sizeMaxPixels:i,billboard:a,alphaCutoff:l}).draw()}_getModel(e){return new c.Z(e,{...this.getShaders(),id:this.props.id,geometry:new u.Z({drawMode:6,attributes:{positions:{size:2,value:new Float32Array([-1,-1,-1,1,1,1,1,-1])}}}),isInstanced:!0})}_onUpdate(){this.setNeedsRedraw()}_onError(e){var t;const n=null===(t=this.getCurrentLayer())||void 0===t?void 0:t.props.onIconError;n?n(e):l.Z.error(e.error.message)()}getInstanceOffset(e){const{width:t,height:n,anchorX:r=t/2,anchorY:i=n/2}=this.state.iconManager.getIconMapping(e);return[t/2-r,n/2-i]}getInstanceColorMode(e){return this.state.iconManager.getIconMapping(e).mask?1:0}getInstanceIconFrame(e){const{x:t,y:n,width:r,height:i}=this.state.iconManager.getIconMapping(e);return[t,n,r,i]}}(0,r.Z)(E,"defaultProps",x),(0,r.Z)(E,"layerName","IconLayer")},39986:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(68185),i=n(53104),o=n(58521),a=n(79463),s=n(98029),l=n(44548),c=n(16621);const u={getSourcePosition:{type:"accessor",value:e=>e.sourcePosition},getTargetPosition:{type:"accessor",value:e=>e.targetPosition},getColor:{type:"accessor",value:[0,0,0,255]},getWidth:{type:"accessor",value:1},widthUnits:"pixels",widthScale:{type:"number",value:1,min:0},widthMinPixels:{type:"number",value:0,min:0},widthMaxPixels:{type:"number",value:Number.MAX_SAFE_INTEGER,min:0}};class d extends i.Z{getBounds(){var e;return null===(e=this.getAttributeManager())||void 0===e?void 0:e.getBounds(["instanceSourcePositions","instanceTargetPositions"])}getShaders(){return super.getShaders({vs:"#define SHADER_NAME line-layer-vertex-shader\n\nattribute vec3 positions;\nattribute vec3 instanceSourcePositions;\nattribute vec3 instanceTargetPositions;\nattribute vec3 instanceSourcePositions64Low;\nattribute vec3 instanceTargetPositions64Low;\nattribute vec4 instanceColors;\nattribute vec3 instancePickingColors;\nattribute float instanceWidths;\n\nuniform float opacity;\nuniform float widthScale;\nuniform float widthMinPixels;\nuniform float widthMaxPixels;\nuniform float useShortestPath;\nuniform int widthUnits;\n\nvarying vec4 vColor;\nvarying vec2 uv;\nvec2 getExtrusionOffset(vec2 line_clipspace, float offset_direction, float width) {\n vec2 dir_screenspace = normalize(line_clipspace * project_uViewportSize);\n dir_screenspace = vec2(-dir_screenspace.y, dir_screenspace.x);\n\n return dir_screenspace * offset_direction * width / 2.0;\n}\n\nvec3 splitLine(vec3 a, vec3 b, float x) {\n float t = (x - a.x) / (b.x - a.x);\n return vec3(x, mix(a.yz, b.yz, t));\n}\n\nvoid main(void) {\n geometry.worldPosition = instanceSourcePositions;\n geometry.worldPositionAlt = instanceTargetPositions;\n\n vec3 source_world = instanceSourcePositions;\n vec3 target_world = instanceTargetPositions;\n vec3 source_world_64low = instanceSourcePositions64Low;\n vec3 target_world_64low = instanceTargetPositions64Low;\n\n if (useShortestPath > 0.5 || useShortestPath < -0.5) {\n source_world.x = mod(source_world.x + 180., 360.0) - 180.;\n target_world.x = mod(target_world.x + 180., 360.0) - 180.;\n float deltaLng = target_world.x - source_world.x;\n\n if (deltaLng * useShortestPath > 180.) {\n source_world.x += 360. * useShortestPath;\n source_world = splitLine(source_world, target_world, 180. * useShortestPath);\n source_world_64low = vec3(0.0);\n } else if (deltaLng * useShortestPath < -180.) {\n target_world.x += 360. * useShortestPath;\n target_world = splitLine(source_world, target_world, 180. * useShortestPath);\n target_world_64low = vec3(0.0);\n } else if (useShortestPath < 0.) {\n gl_Position = vec4(0.);\n return;\n }\n }\n vec4 source_commonspace;\n vec4 target_commonspace;\n vec4 source = project_position_to_clipspace(source_world, source_world_64low, vec3(0.), source_commonspace);\n vec4 target = project_position_to_clipspace(target_world, target_world_64low, vec3(0.), target_commonspace);\n float segmentIndex = positions.x;\n vec4 p = mix(source, target, segmentIndex);\n geometry.position = mix(source_commonspace, target_commonspace, segmentIndex);\n uv = positions.xy;\n geometry.uv = uv;\n geometry.pickingColor = instancePickingColors;\n float widthPixels = clamp(\n project_size_to_pixel(instanceWidths * widthScale, widthUnits),\n widthMinPixels, widthMaxPixels\n );\n vec3 offset = vec3(\n getExtrusionOffset(target.xy - source.xy, positions.y, widthPixels),\n 0.0);\n DECKGL_FILTER_SIZE(offset, geometry);\n DECKGL_FILTER_GL_POSITION(p, geometry);\n gl_Position = p + vec4(project_pixel_size_to_clipspace(offset.xy), 0.0, 0.0);\n vColor = vec4(instanceColors.rgb, instanceColors.a * opacity);\n DECKGL_FILTER_COLOR(vColor, geometry);\n}\n",fs:"#define SHADER_NAME line-layer-fragment-shader\n\nprecision highp float;\n\nvarying vec4 vColor;\nvarying vec2 uv;\n\nvoid main(void) {\n geometry.uv = uv;\n\n gl_FragColor = vColor;\n\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n",modules:[o.Z,a.Z]})}get wrapLongitude(){return!1}initializeState(){this.getAttributeManager().addInstanced({instanceSourcePositions:{size:3,type:5130,fp64:this.use64bitPositions(),transition:!0,accessor:"getSourcePosition"},instanceTargetPositions:{size:3,type:5130,fp64:this.use64bitPositions(),transition:!0,accessor:"getTargetPosition"},instanceColors:{size:this.props.colorFormat.length,type:5121,normalized:!0,transition:!0,accessor:"getColor",defaultValue:[0,0,0,255]},instanceWidths:{size:1,transition:!0,accessor:"getWidth",defaultValue:1}})}updateState(e){if(super.updateState(e),e.changeFlags.extensionsChanged){var t;const{gl:e}=this.context;null===(t=this.state.model)||void 0===t||t.delete(),this.state.model=this._getModel(e),this.getAttributeManager().invalidateAll()}}draw(e){let{uniforms:t}=e;const{widthUnits:n,widthScale:r,widthMinPixels:i,widthMaxPixels:o,wrapLongitude:a}=this.props;this.state.model.setUniforms(t).setUniforms({widthUnits:s.iI[n],widthScale:r,widthMinPixels:i,widthMaxPixels:o,useShortestPath:a?1:0}).draw(),a&&this.state.model.setUniforms({useShortestPath:-1}).draw()}_getModel(e){return new l.Z(e,{...this.getShaders(),id:this.props.id,geometry:new c.Z({drawMode:5,attributes:{positions:new Float32Array([0,-1,0,0,1,0,1,-1,0,1,1,0])}}),isInstanced:!0})}}(0,r.Z)(d,"layerName","LineLayer"),(0,r.Z)(d,"defaultProps",u)},27469:(e,t,n)=>{"use strict";n.d(t,{Z:()=>A});var r=n(68185),i=n(53104),o=n(58521),a=n(79463),s=n(98029),l=n(44548),c=n(16621),u=n(3943),d=n(8766);class h extends u.Z{constructor(e){super({...e,attributes:{positions:{size:3,padding:18,initialize:!0,type:e.fp64?Float64Array:Float32Array},segmentTypes:{size:1,type:Uint8ClampedArray}}})}get(e){return this.attributes[e]}getGeometryFromBuffer(e){return this.normalize?super.getGeometryFromBuffer(e):null}normalizeGeometry(e){return this.normalize?function(e,t,n,r){let i;if(Array.isArray(e[0])){const n=e.length*t;i=new Array(n);for(let r=0;r2&&void 0!==arguments[2]?arguments[2]:[];const{positionSize:r}=this;t*r>=e.length&&(t+=1-e.length/r);const i=t*r;return n[0]=e[i],n[1]=e[i+1],n[2]=3===r&&e[i+2]||0,n}isClosed(e){if(!this.normalize)return Boolean(this.opts.loop);const{positionSize:t}=this,n=e.length-t;return e[0]===e[n]&&e[1]===e[n+1]&&(2===t||e[2]===e[n+2])}}function f(e){return Array.isArray(e[0])}const p=[0,0,0,255],g={widthUnits:"meters",widthScale:{type:"number",min:0,value:1},widthMinPixels:{type:"number",min:0,value:0},widthMaxPixels:{type:"number",min:0,value:Number.MAX_SAFE_INTEGER},jointRounded:!1,capRounded:!1,miterLimit:{type:"number",min:0,value:4},billboard:!1,_pathType:null,getPath:{type:"accessor",value:e=>e.path},getColor:{type:"accessor",value:p},getWidth:{type:"accessor",value:1},rounded:{deprecatedFor:["jointRounded","capRounded"]}},m={enter:(e,t)=>t.length?t.subarray(t.length-e.length):e};class A extends i.Z{constructor(){super(...arguments),(0,r.Z)(this,"state",void 0)}getShaders(){return super.getShaders({vs:"#define SHADER_NAME path-layer-vertex-shader\n\nattribute vec2 positions;\n\nattribute float instanceTypes;\nattribute vec3 instanceStartPositions;\nattribute vec3 instanceEndPositions;\nattribute vec3 instanceLeftPositions;\nattribute vec3 instanceRightPositions;\nattribute vec3 instanceLeftPositions64Low;\nattribute vec3 instanceStartPositions64Low;\nattribute vec3 instanceEndPositions64Low;\nattribute vec3 instanceRightPositions64Low;\nattribute float instanceStrokeWidths;\nattribute vec4 instanceColors;\nattribute vec3 instancePickingColors;\n\nuniform float widthScale;\nuniform float widthMinPixels;\nuniform float widthMaxPixels;\nuniform float jointType;\nuniform float capType;\nuniform float miterLimit;\nuniform bool billboard;\nuniform int widthUnits;\n\nuniform float opacity;\n\nvarying vec4 vColor;\nvarying vec2 vCornerOffset;\nvarying float vMiterLength;\nvarying vec2 vPathPosition;\nvarying float vPathLength;\nvarying float vJointType;\n\nconst float EPSILON = 0.001;\nconst vec3 ZERO_OFFSET = vec3(0.0);\n\nfloat flipIfTrue(bool flag) {\n return -(float(flag) * 2. - 1.);\n}\nvec3 getLineJoinOffset(\n vec3 prevPoint, vec3 currPoint, vec3 nextPoint,\n vec2 width\n) {\n bool isEnd = positions.x > 0.0;\n float sideOfPath = positions.y;\n float isJoint = float(sideOfPath == 0.0);\n\n vec3 deltaA3 = (currPoint - prevPoint);\n vec3 deltaB3 = (nextPoint - currPoint);\n\n mat3 rotationMatrix;\n bool needsRotation = !billboard && project_needs_rotation(currPoint, rotationMatrix);\n if (needsRotation) {\n deltaA3 = deltaA3 * rotationMatrix;\n deltaB3 = deltaB3 * rotationMatrix;\n }\n vec2 deltaA = deltaA3.xy / width;\n vec2 deltaB = deltaB3.xy / width;\n\n float lenA = length(deltaA);\n float lenB = length(deltaB);\n\n vec2 dirA = lenA > 0. ? normalize(deltaA) : vec2(0.0, 0.0);\n vec2 dirB = lenB > 0. ? normalize(deltaB) : vec2(0.0, 0.0);\n\n vec2 perpA = vec2(-dirA.y, dirA.x);\n vec2 perpB = vec2(-dirB.y, dirB.x);\n vec2 tangent = dirA + dirB;\n tangent = length(tangent) > 0. ? normalize(tangent) : perpA;\n vec2 miterVec = vec2(-tangent.y, tangent.x);\n vec2 dir = isEnd ? dirA : dirB;\n vec2 perp = isEnd ? perpA : perpB;\n float L = isEnd ? lenA : lenB;\n float sinHalfA = abs(dot(miterVec, perp));\n float cosHalfA = abs(dot(dirA, miterVec));\n float turnDirection = flipIfTrue(dirA.x * dirB.y >= dirA.y * dirB.x);\n float cornerPosition = sideOfPath * turnDirection;\n\n float miterSize = 1.0 / max(sinHalfA, EPSILON);\n miterSize = mix(\n min(miterSize, max(lenA, lenB) / max(cosHalfA, EPSILON)),\n miterSize,\n step(0.0, cornerPosition)\n );\n\n vec2 offsetVec = mix(miterVec * miterSize, perp, step(0.5, cornerPosition))\n * (sideOfPath + isJoint * turnDirection);\n bool isStartCap = lenA == 0.0 || (!isEnd && (instanceTypes == 1.0 || instanceTypes == 3.0));\n bool isEndCap = lenB == 0.0 || (isEnd && (instanceTypes == 2.0 || instanceTypes == 3.0));\n bool isCap = isStartCap || isEndCap;\n if (isCap) {\n offsetVec = mix(perp * sideOfPath, dir * capType * 4.0 * flipIfTrue(isStartCap), isJoint);\n vJointType = capType;\n } else {\n vJointType = jointType;\n }\n vPathLength = L;\n vCornerOffset = offsetVec;\n vMiterLength = dot(vCornerOffset, miterVec * turnDirection);\n vMiterLength = isCap ? isJoint : vMiterLength;\n\n vec2 offsetFromStartOfPath = vCornerOffset + deltaA * float(isEnd);\n vPathPosition = vec2(\n dot(offsetFromStartOfPath, perp),\n dot(offsetFromStartOfPath, dir)\n );\n geometry.uv = vPathPosition;\n\n float isValid = step(instanceTypes, 3.5);\n vec3 offset = vec3(offsetVec * width * isValid, 0.0);\n\n if (needsRotation) {\n offset = rotationMatrix * offset;\n }\n return offset;\n}\nvoid clipLine(inout vec4 position, vec4 refPosition) {\n if (position.w < EPSILON) {\n float r = (EPSILON - refPosition.w) / (position.w - refPosition.w);\n position = refPosition + (position - refPosition) * r;\n }\n}\n\nvoid main() {\n geometry.pickingColor = instancePickingColors;\n\n vColor = vec4(instanceColors.rgb, instanceColors.a * opacity);\n\n float isEnd = positions.x;\n\n vec3 prevPosition = mix(instanceLeftPositions, instanceStartPositions, isEnd);\n vec3 prevPosition64Low = mix(instanceLeftPositions64Low, instanceStartPositions64Low, isEnd);\n\n vec3 currPosition = mix(instanceStartPositions, instanceEndPositions, isEnd);\n vec3 currPosition64Low = mix(instanceStartPositions64Low, instanceEndPositions64Low, isEnd);\n\n vec3 nextPosition = mix(instanceEndPositions, instanceRightPositions, isEnd);\n vec3 nextPosition64Low = mix(instanceEndPositions64Low, instanceRightPositions64Low, isEnd);\n\n geometry.worldPosition = currPosition;\n vec2 widthPixels = vec2(clamp(\n project_size_to_pixel(instanceStrokeWidths * widthScale, widthUnits),\n widthMinPixels, widthMaxPixels) / 2.0);\n vec3 width;\n\n if (billboard) {\n vec4 prevPositionScreen = project_position_to_clipspace(prevPosition, prevPosition64Low, ZERO_OFFSET);\n vec4 currPositionScreen = project_position_to_clipspace(currPosition, currPosition64Low, ZERO_OFFSET, geometry.position);\n vec4 nextPositionScreen = project_position_to_clipspace(nextPosition, nextPosition64Low, ZERO_OFFSET);\n\n clipLine(prevPositionScreen, currPositionScreen);\n clipLine(nextPositionScreen, currPositionScreen);\n clipLine(currPositionScreen, mix(nextPositionScreen, prevPositionScreen, isEnd));\n\n width = vec3(widthPixels, 0.0);\n DECKGL_FILTER_SIZE(width, geometry);\n\n vec3 offset = getLineJoinOffset(\n prevPositionScreen.xyz / prevPositionScreen.w,\n currPositionScreen.xyz / currPositionScreen.w,\n nextPositionScreen.xyz / nextPositionScreen.w,\n project_pixel_size_to_clipspace(width.xy)\n );\n\n DECKGL_FILTER_GL_POSITION(currPositionScreen, geometry);\n gl_Position = vec4(currPositionScreen.xyz + offset * currPositionScreen.w, currPositionScreen.w);\n } else {\n prevPosition = project_position(prevPosition, prevPosition64Low);\n currPosition = project_position(currPosition, currPosition64Low);\n nextPosition = project_position(nextPosition, nextPosition64Low);\n\n width = vec3(project_pixel_size(widthPixels), 0.0);\n DECKGL_FILTER_SIZE(width, geometry);\n\n vec3 offset = getLineJoinOffset(prevPosition, currPosition, nextPosition, width.xy);\n geometry.position = vec4(currPosition + offset, 1.0);\n gl_Position = project_common_position_to_clipspace(geometry.position);\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n }\n DECKGL_FILTER_COLOR(vColor, geometry);\n}\n",fs:"#define SHADER_NAME path-layer-fragment-shader\n\nprecision highp float;\n\nuniform float miterLimit;\n\nvarying vec4 vColor;\nvarying vec2 vCornerOffset;\nvarying float vMiterLength;\nvarying vec2 vPathPosition;\nvarying float vPathLength;\nvarying float vJointType;\n\nvoid main(void) {\n geometry.uv = vPathPosition;\n\n if (vPathPosition.y < 0.0 || vPathPosition.y > vPathLength) {\n if (vJointType > 0.5 && length(vCornerOffset) > 1.0) {\n discard;\n }\n if (vJointType < 0.5 && vMiterLength > miterLimit + 1.0) {\n discard;\n }\n }\n gl_FragColor = vColor;\n\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n",modules:[o.Z,a.Z]})}get wrapLongitude(){return!1}initializeState(){this.getAttributeManager().addInstanced({positions:{size:3,vertexOffset:1,type:5130,fp64:this.use64bitPositions(),transition:m,accessor:"getPath",update:this.calculatePositions,noAlloc:true,shaderAttributes:{instanceLeftPositions:{vertexOffset:0},instanceStartPositions:{vertexOffset:1},instanceEndPositions:{vertexOffset:2},instanceRightPositions:{vertexOffset:3}}},instanceTypes:{size:1,type:5121,update:this.calculateSegmentTypes,noAlloc:true},instanceStrokeWidths:{size:1,accessor:"getWidth",transition:m,defaultValue:1},instanceColors:{size:this.props.colorFormat.length,type:5121,normalized:!0,accessor:"getColor",transition:m,defaultValue:p},instancePickingColors:{size:3,type:5121,accessor:(e,t)=>{let{index:n,target:r}=t;return this.encodePickingColor(e&&e.__source?e.__source.index:n,r)}}}),this.setState({pathTesselator:new h({fp64:this.use64bitPositions()})})}updateState(e){super.updateState(e);const{props:t,changeFlags:n}=e,r=this.getAttributeManager();if(n.dataChanged||n.updateTriggersChanged&&(n.updateTriggersChanged.all||n.updateTriggersChanged.getPath)){const{pathTesselator:e}=this.state,i=t.data.attributes||{};e.updateGeometry({data:t.data,geometryBuffer:i.getPath,buffers:i,normalize:!t._pathType,loop:"loop"===t._pathType,getGeometry:t.getPath,positionFormat:t.positionFormat,wrapLongitude:t.wrapLongitude,resolution:this.context.viewport.resolution,dataChanged:n.dataChanged}),this.setState({numInstances:e.instanceCount,startIndices:e.vertexStarts}),n.dataChanged||r.invalidateAll()}if(n.extensionsChanged){var i;const{gl:e}=this.context;null===(i=this.state.model)||void 0===i||i.delete(),this.state.model=this._getModel(e),r.invalidateAll()}}getPickingInfo(e){const t=super.getPickingInfo(e),{index:n}=t,{data:r}=this.props;return r[0]&&r[0].__source&&(t.object=r.find((e=>e.__source.index===n))),t}disablePickingIndex(e){const{data:t}=this.props;if(t[0]&&t[0].__source)for(let n=0;n{"use strict";n.d(t,{Z:()=>f});var r=n(68185),i=n(32603),o=n(65148),a=n(39179),s=n(816),l=n(27469),c=n(66784),u=n(63962);const d=[0,0,0,255],h={stroked:!0,filled:!0,extruded:!1,elevationScale:1,wireframe:!1,_normalize:!0,_windingOrder:"CW",lineWidthUnits:"meters",lineWidthScale:1,lineWidthMinPixels:0,lineWidthMaxPixels:Number.MAX_SAFE_INTEGER,lineJointRounded:!1,lineMiterLimit:4,getPolygon:{type:"accessor",value:e=>e.polygon},getFillColor:{type:"accessor",value:[0,0,0,255]},getLineColor:{type:"accessor",value:d},getLineWidth:{type:"accessor",value:1},getElevation:{type:"accessor",value:1e3},material:!0};class f extends i.Z{initializeState(){this.state={paths:[]},this.props.getLineDashArray&&o.Z.removed("getLineDashArray","PathStyleExtension")()}updateState(e){let{changeFlags:t}=e;const n=t.dataChanged||t.updateTriggersChanged&&(t.updateTriggersChanged.all||t.updateTriggersChanged.getPolygon);if(n&&Array.isArray(t.dataChanged)){const e=this.state.paths.slice(),n=t.dataChanged.map((t=>(0,u.b)({data:e,getIndex:e=>e.__source.index,dataRange:t,replace:this._getPaths(t)})));this.setState({paths:e,pathsDiff:n})}else n&&this.setState({paths:this._getPaths(),pathsDiff:null})}_getPaths(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{data:t,getPolygon:n,positionFormat:r,_normalize:i}=this.props,o=[],s="XY"===r?2:3,{startRow:l,endRow:u}=e,{iterable:d,objectInfo:h}=(0,a.jB)(t,l,u);for(const a of d){h.index++;let e=n(a,h);i&&(e=c.Fv(e,s));const{holeIndices:t}=e,r=e.positions||e;if(t)for(let n=0;n<=t.length;n++){const e=r.slice(t[n-1]||0,t[n]||r.length);o.push(this.getSubLayerRow({path:e},a,h.index))}else o.push(this.getSubLayerRow({path:r},a,h.index))}return o}renderLayers(){const{data:e,_dataDiff:t,stroked:n,filled:r,extruded:i,wireframe:o,_normalize:a,_windingOrder:c,elevationScale:u,transitions:h,positionFormat:f}=this.props,{lineWidthUnits:p,lineWidthScale:g,lineWidthMinPixels:m,lineWidthMaxPixels:A,lineJointRounded:v,lineMiterLimit:y,lineDashJustified:b}=this.props,{getFillColor:_,getLineColor:w,getLineWidth:x,getLineDashArray:E,getElevation:S,getPolygon:C,updateTriggers:P,material:T}=this.props,{paths:M,pathsDiff:k}=this.state,R=this.getSubLayerClass("fill",s.Z),O=this.getSubLayerClass("stroke",l.Z),I=this.shouldRenderSubLayer("fill",M)&&new R({_dataDiff:t,extruded:i,elevationScale:u,filled:r,wireframe:o,_normalize:a,_windingOrder:c,getElevation:S,getFillColor:_,getLineColor:i&&o?w:d,material:T,transitions:h},this.getSubLayerProps({id:"fill",updateTriggers:P&&{getPolygon:P.getPolygon,getElevation:P.getElevation,getFillColor:P.getFillColor,lineColors:i&&o,getLineColor:P.getLineColor}}),{data:e,positionFormat:f,getPolygon:C});return[!i&&I,!i&&n&&this.shouldRenderSubLayer("stroke",M)&&new O({_dataDiff:k&&(()=>k),widthUnits:p,widthScale:g,widthMinPixels:m,widthMaxPixels:A,jointRounded:v,miterLimit:y,dashJustified:b,_pathType:"loop",transitions:h&&{getWidth:h.getLineWidth,getColor:h.getLineColor,getPath:h.getPolygon},getColor:this.getSubLayerAccessor(w),getWidth:this.getSubLayerAccessor(x),getDashArray:this.getSubLayerAccessor(E)},this.getSubLayerProps({id:"stroke",updateTriggers:P&&{getWidth:P.getLineWidth,getColor:P.getLineColor,getDashArray:P.getLineDashArray}}),{data:M,positionFormat:f,getPath:e=>e.path}),i&&I]}}(0,r.Z)(f,"layerName","PolygonLayer"),(0,r.Z)(f,"defaultProps",h)},99259:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(68185),i=n(53104),o=n(58521),a=n(79463),s=n(98029),l=n(44548),c=n(16621);const u=[0,0,0,255],d={radiusUnits:"meters",radiusScale:{type:"number",min:0,value:1},radiusMinPixels:{type:"number",min:0,value:0},radiusMaxPixels:{type:"number",min:0,value:Number.MAX_SAFE_INTEGER},lineWidthUnits:"meters",lineWidthScale:{type:"number",min:0,value:1},lineWidthMinPixels:{type:"number",min:0,value:0},lineWidthMaxPixels:{type:"number",min:0,value:Number.MAX_SAFE_INTEGER},stroked:!1,filled:!0,billboard:!1,antialiasing:!0,getPosition:{type:"accessor",value:e=>e.position},getRadius:{type:"accessor",value:1},getFillColor:{type:"accessor",value:u},getLineColor:{type:"accessor",value:u},getLineWidth:{type:"accessor",value:1},strokeWidth:{deprecatedFor:"getLineWidth"},outline:{deprecatedFor:"stroked"},getColor:{deprecatedFor:["getFillColor","getLineColor"]}};class h extends i.Z{getShaders(){return super.getShaders({vs:"#define SHADER_NAME scatterplot-layer-vertex-shader\n\nattribute vec3 positions;\n\nattribute vec3 instancePositions;\nattribute vec3 instancePositions64Low;\nattribute float instanceRadius;\nattribute float instanceLineWidths;\nattribute vec4 instanceFillColors;\nattribute vec4 instanceLineColors;\nattribute vec3 instancePickingColors;\n\nuniform float opacity;\nuniform float radiusScale;\nuniform float radiusMinPixels;\nuniform float radiusMaxPixels;\nuniform float lineWidthScale;\nuniform float lineWidthMinPixels;\nuniform float lineWidthMaxPixels;\nuniform float stroked;\nuniform bool filled;\nuniform bool antialiasing;\nuniform bool billboard;\nuniform int radiusUnits;\nuniform int lineWidthUnits;\n\nvarying vec4 vFillColor;\nvarying vec4 vLineColor;\nvarying vec2 unitPosition;\nvarying float innerUnitRadius;\nvarying float outerRadiusPixels;\n\n\nvoid main(void) {\n geometry.worldPosition = instancePositions;\n outerRadiusPixels = clamp(\n project_size_to_pixel(radiusScale * instanceRadius, radiusUnits),\n radiusMinPixels, radiusMaxPixels\n );\n float lineWidthPixels = clamp(\n project_size_to_pixel(lineWidthScale * instanceLineWidths, lineWidthUnits),\n lineWidthMinPixels, lineWidthMaxPixels\n );\n outerRadiusPixels += stroked * lineWidthPixels / 2.0;\n float edgePadding = antialiasing ? (outerRadiusPixels + SMOOTH_EDGE_RADIUS) / outerRadiusPixels : 1.0;\n unitPosition = edgePadding * positions.xy;\n geometry.uv = unitPosition;\n geometry.pickingColor = instancePickingColors;\n\n innerUnitRadius = 1.0 - stroked * lineWidthPixels / outerRadiusPixels;\n \n if (billboard) {\n gl_Position = project_position_to_clipspace(instancePositions, instancePositions64Low, vec3(0.0), geometry.position);\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n vec3 offset = edgePadding * positions * outerRadiusPixels;\n DECKGL_FILTER_SIZE(offset, geometry);\n gl_Position.xy += project_pixel_size_to_clipspace(offset.xy);\n } else {\n vec3 offset = edgePadding * positions * project_pixel_size(outerRadiusPixels);\n DECKGL_FILTER_SIZE(offset, geometry);\n gl_Position = project_position_to_clipspace(instancePositions, instancePositions64Low, offset, geometry.position);\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n }\n vFillColor = vec4(instanceFillColors.rgb, instanceFillColors.a * opacity);\n DECKGL_FILTER_COLOR(vFillColor, geometry);\n vLineColor = vec4(instanceLineColors.rgb, instanceLineColors.a * opacity);\n DECKGL_FILTER_COLOR(vLineColor, geometry);\n}\n",fs:"#define SHADER_NAME scatterplot-layer-fragment-shader\n\nprecision highp float;\n\nuniform bool filled;\nuniform float stroked;\nuniform bool antialiasing;\n\nvarying vec4 vFillColor;\nvarying vec4 vLineColor;\nvarying vec2 unitPosition;\nvarying float innerUnitRadius;\nvarying float outerRadiusPixels;\n\nvoid main(void) {\n geometry.uv = unitPosition;\n\n float distToCenter = length(unitPosition) * outerRadiusPixels;\n float inCircle = antialiasing ? \n smoothedge(distToCenter, outerRadiusPixels) : \n step(distToCenter, outerRadiusPixels);\n\n if (inCircle == 0.0) {\n discard;\n }\n\n if (stroked > 0.5) {\n float isLine = antialiasing ? \n smoothedge(innerUnitRadius * outerRadiusPixels, distToCenter) :\n step(innerUnitRadius * outerRadiusPixels, distToCenter);\n\n if (filled) {\n gl_FragColor = mix(vFillColor, vLineColor, isLine);\n } else {\n if (isLine == 0.0) {\n discard;\n }\n gl_FragColor = vec4(vLineColor.rgb, vLineColor.a * isLine);\n }\n } else if (filled) {\n gl_FragColor = vFillColor;\n } else {\n discard;\n }\n\n gl_FragColor.a *= inCircle;\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n",modules:[o.Z,a.Z]})}initializeState(){this.getAttributeManager().addInstanced({instancePositions:{size:3,type:5130,fp64:this.use64bitPositions(),transition:!0,accessor:"getPosition"},instanceRadius:{size:1,transition:!0,accessor:"getRadius",defaultValue:1},instanceFillColors:{size:this.props.colorFormat.length,transition:!0,normalized:!0,type:5121,accessor:"getFillColor",defaultValue:[0,0,0,255]},instanceLineColors:{size:this.props.colorFormat.length,transition:!0,normalized:!0,type:5121,accessor:"getLineColor",defaultValue:[0,0,0,255]},instanceLineWidths:{size:1,transition:!0,accessor:"getLineWidth",defaultValue:1}})}updateState(e){if(super.updateState(e),e.changeFlags.extensionsChanged){var t;const{gl:e}=this.context;null===(t=this.state.model)||void 0===t||t.delete(),this.state.model=this._getModel(e),this.getAttributeManager().invalidateAll()}}draw(e){let{uniforms:t}=e;const{radiusUnits:n,radiusScale:r,radiusMinPixels:i,radiusMaxPixels:o,stroked:a,filled:l,billboard:c,antialiasing:u,lineWidthUnits:d,lineWidthScale:h,lineWidthMinPixels:f,lineWidthMaxPixels:p}=this.props;this.state.model.setUniforms(t).setUniforms({stroked:a?1:0,filled:l,billboard:c,antialiasing:u,radiusUnits:s.iI[n],radiusScale:r,radiusMinPixels:i,radiusMaxPixels:o,lineWidthUnits:s.iI[d],lineWidthScale:h,lineWidthMinPixels:f,lineWidthMaxPixels:p}).draw()}_getModel(e){return new l.Z(e,{...this.getShaders(),id:this.props.id,geometry:new c.Z({drawMode:6,vertexCount:4,attributes:{positions:{size:3,value:new Float32Array([-1,-1,0,1,-1,0,1,1,0,-1,1,0])}}}),isInstanced:!0})}}(0,r.Z)(h,"defaultProps",d),(0,r.Z)(h,"layerName","ScatterplotLayer")},66784:(e,t,n)=>{"use strict";n.d(t,{Fv:()=>f,Gd:()=>u,k8:()=>c,mD:()=>m});var r=n(49236),i=n.n(r),o=n(8766);const a=o.WINDING.CLOCKWISE,s=o.WINDING.COUNTER_CLOCKWISE,l={isClosed:!0};function c(e){return"positions"in e?e.positions:e}function u(e){return"holeIndices"in e?e.holeIndices:null}function d(e,t,n,r,i){let a=t;const s=n.length;for(let o=0;o4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5?arguments[5]:void 0,s=arguments.length>6?arguments[6]:void 0;a=a||n.length;const c=a-i;if(c<=0)return t;let u=t;for(let o=0;o=1&&e[0].length>=2&&Number.isFinite(e[0][0])}(e)){let i=0;for(const[o,l]of e.entries())i=d(n,i,l,t,0===o?a:s),r.push(i);return r.pop(),{positions:n,holeIndices:r}}return d(n,0,e,t,a),n}function p(e,t,n){const r=e.length/3;let i=0;for(let o=0;oe/t)));let a=c(e);const s=r&&3===t;if(n){const e=a.length;a=a.slice();const r=[];for(let i=0;it&&e>r||(t>r?(n||(a=a.slice()),g(a,0,2,1)):(n||(a=a.slice()),g(a,1,2,0)))}return i()(a,o,t)}},816:(e,t,n)=>{"use strict";n.d(t,{Z:()=>E});var r=n(68185),i=n(53104),o=n(58521),a=n(48424),s=n(79463),l=n(98029),c=n(6509),u=n(87966),d=n(44548),h=n(16621),f=n(66784),p=n(3943),g=n(8766);class m extends p.Z{constructor(e){const{fp64:t,IndexType:n=Uint32Array}=e;super({...e,attributes:{positions:{size:3,type:t?Float64Array:Float32Array},vertexValid:{type:Uint8ClampedArray,size:1},indices:{type:n,size:1}}})}get(e){const{attributes:t}=this;return"indices"===e?t.indices&&t.indices.subarray(0,this.vertexCount):t[e]}updateGeometry(e){super.updateGeometry(e);const t=this.buffers.indices;if(t)this.vertexCount=(t.value||t).length;else if(this.data&&!this.getGeometry)throw new Error("missing indices buffer")}normalizeGeometry(e){if(this.normalize){const t=f.Fv(e,this.positionSize);return this.opts.resolution?(0,g.cutPolygonByGrid)(f.k8(t),f.Gd(t),{size:this.positionSize,gridResolution:this.opts.resolution,edgeTypes:!0}):this.opts.wrapLongitude?(0,g.cutPolygonByMercatorBounds)(f.k8(t),f.Gd(t),{size:this.positionSize,maxLatitude:86,edgeTypes:!0}):t}return e}getGeometrySize(e){if(A(e)){let t=0;for(const n of e)t+=this.getGeometrySize(n);return t}return f.k8(e).length/this.positionSize}getGeometryFromBuffer(e){return this.normalize||!this.buffers.indices?super.getGeometryFromBuffer(e):null}updateGeometryAttributes(e,t){if(e&&A(e))for(const n of e){const e=this.getGeometrySize(n);t.geometrySize=e,this.updateGeometryAttributes(n,t),t.vertexStart+=e,t.indexStart=this.indexStarts[t.geometryIndex+1]}else this._updateIndices(e,t),this._updatePositions(e,t),this._updateVertexValid(e,t)}_updateIndices(e,t){let{geometryIndex:n,vertexStart:r,indexStart:i}=t;const{attributes:o,indexStarts:a,typedArrayManager:s}=this;let l=o.indices;if(!l||!e)return;let c=i;const u=f.mD(e,this.positionSize,this.opts.preproject,this.opts.full3d);l=s.allocate(l,i+u.length,{copy:!0});for(let d=0;d2?a[l*o+2]:0;i[3*s]=e,i[3*s+1]=t,i[3*s+2]=n}}_updateVertexValid(e,t){let{vertexStart:n,geometrySize:r}=t;const{positionSize:i}=this,o=this.attributes.vertexValid,a=e&&f.Gd(e);if(e&&e.edgeTypes?o.set(e.edgeTypes,n):o.fill(1,n,n+r),a)for(let s=0;s0&&!Number.isFinite(e[0])}const v="\nattribute vec2 vertexPositions;\nattribute float vertexValid;\n\nuniform bool extruded;\nuniform bool isWireframe;\nuniform float elevationScale;\nuniform float opacity;\n\nvarying vec4 vColor;\n\nstruct PolygonProps {\n vec4 fillColors;\n vec4 lineColors;\n vec3 positions;\n vec3 nextPositions;\n vec3 pickingColors;\n vec3 positions64Low;\n vec3 nextPositions64Low;\n float elevations;\n};\n\nvec3 project_offset_normal(vec3 vector) {\n if (project_uCoordinateSystem == COORDINATE_SYSTEM_LNGLAT ||\n project_uCoordinateSystem == COORDINATE_SYSTEM_LNGLAT_OFFSETS) {\n return normalize(vector * project_uCommonUnitsPerWorldUnit);\n }\n return project_normal(vector);\n}\n\nvoid calculatePosition(PolygonProps props) {\n#ifdef IS_SIDE_VERTEX\n if(vertexValid < 0.5){\n gl_Position = vec4(0.);\n return;\n }\n#endif\n\n vec3 pos;\n vec3 pos64Low;\n vec3 normal;\n vec4 colors = isWireframe ? props.lineColors : props.fillColors;\n\n geometry.worldPosition = props.positions;\n geometry.worldPositionAlt = props.nextPositions;\n geometry.pickingColor = props.pickingColors;\n\n#ifdef IS_SIDE_VERTEX\n pos = mix(props.positions, props.nextPositions, vertexPositions.x);\n pos64Low = mix(props.positions64Low, props.nextPositions64Low, vertexPositions.x);\n#else\n pos = props.positions;\n pos64Low = props.positions64Low;\n#endif\n\n if (extruded) {\n pos.z += props.elevations * vertexPositions.y * elevationScale;\n }\n gl_Position = project_position_to_clipspace(pos, pos64Low, vec3(0.), geometry.position);\n\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n\n if (extruded) {\n #ifdef IS_SIDE_VERTEX\n normal = vec3(\n props.positions.y - props.nextPositions.y + (props.positions64Low.y - props.nextPositions64Low.y),\n props.nextPositions.x - props.positions.x + (props.nextPositions64Low.x - props.positions64Low.x),\n 0.0);\n normal = project_offset_normal(normal);\n #else\n normal = project_normal(vec3(0.0, 0.0, 1.0));\n #endif\n geometry.normal = normal;\n vec3 lightColor = lighting_getLightColor(colors.rgb, project_uCameraPosition, geometry.position.xyz, normal);\n vColor = vec4(lightColor, colors.a * opacity);\n } else {\n vColor = vec4(colors.rgb, colors.a * opacity);\n }\n DECKGL_FILTER_COLOR(vColor, geometry);\n}\n",y="#define SHADER_NAME solid-polygon-layer-vertex-shader\n\nattribute vec3 positions;\nattribute vec3 positions64Low;\nattribute float elevations;\nattribute vec4 fillColors;\nattribute vec4 lineColors;\nattribute vec3 pickingColors;\n\n".concat(v,"\n\nvoid main(void) {\n PolygonProps props;\n\n props.positions = positions;\n props.positions64Low = positions64Low;\n props.elevations = elevations;\n props.fillColors = fillColors;\n props.lineColors = lineColors;\n props.pickingColors = pickingColors;\n\n calculatePosition(props);\n}\n"),b="#define SHADER_NAME solid-polygon-layer-vertex-shader-side\n#define IS_SIDE_VERTEX\n\n\nattribute vec3 instancePositions;\nattribute vec3 nextPositions;\nattribute vec3 instancePositions64Low;\nattribute vec3 nextPositions64Low;\nattribute float instanceElevations;\nattribute vec4 instanceFillColors;\nattribute vec4 instanceLineColors;\nattribute vec3 instancePickingColors;\n\n".concat(v,"\n\nvoid main(void) {\n PolygonProps props;\n\n #if RING_WINDING_ORDER_CW == 1\n props.positions = instancePositions;\n props.positions64Low = instancePositions64Low;\n props.nextPositions = nextPositions;\n props.nextPositions64Low = nextPositions64Low;\n #else\n props.positions = nextPositions;\n props.positions64Low = nextPositions64Low;\n props.nextPositions = instancePositions;\n props.nextPositions64Low = instancePositions64Low;\n #endif\n props.elevations = instanceElevations;\n props.fillColors = instanceFillColors;\n props.lineColors = instanceLineColors;\n props.pickingColors = instancePickingColors;\n\n calculatePosition(props);\n}\n"),_=[0,0,0,255],w={filled:!0,extruded:!1,wireframe:!1,_normalize:!0,_windingOrder:"CW",_full3d:!1,elevationScale:{type:"number",min:0,value:1},getPolygon:{type:"accessor",value:e=>e.polygon},getElevation:{type:"accessor",value:1e3},getFillColor:{type:"accessor",value:_},getLineColor:{type:"accessor",value:_},material:!0},x={enter:(e,t)=>t.length?t.subarray(t.length-e.length):e};class E extends i.Z{constructor(){super(...arguments),(0,r.Z)(this,"state",void 0)}getShaders(e){return super.getShaders({vs:"top"===e?y:b,fs:"#define SHADER_NAME solid-polygon-layer-fragment-shader\n\nprecision highp float;\n\nvarying vec4 vColor;\n\nvoid main(void) {\n gl_FragColor = vColor;\n\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n",defines:{RING_WINDING_ORDER_CW:this.props._normalize||"CCW"!==this.props._windingOrder?1:0},modules:[o.Z,a.N,s.Z]})}get wrapLongitude(){return!1}initializeState(){const{gl:e,viewport:t}=this.context;let{coordinateSystem:n}=this.props;const{_full3d:r}=this.props;let i;t.isGeospatial&&n===l.Df.DEFAULT&&(n=l.Df.LNGLAT),n===l.Df.LNGLAT&&(i=r?t.projectPosition.bind(t):t.projectFlat.bind(t)),this.setState({numInstances:0,polygonTesselator:new m({preproject:i,fp64:this.use64bitPositions(),IndexType:!e||(0,c.ag)(e,u.h.ELEMENT_INDEX_UINT32)?Uint32Array:Uint16Array})});const o=this.getAttributeManager(),a=!0;o.remove(["instancePickingColors"]),o.add({indices:{size:1,isIndexed:!0,update:this.calculateIndices,noAlloc:a},positions:{size:3,type:5130,fp64:this.use64bitPositions(),transition:x,accessor:"getPolygon",update:this.calculatePositions,noAlloc:a,shaderAttributes:{positions:{vertexOffset:0,divisor:0},instancePositions:{vertexOffset:0,divisor:1},nextPositions:{vertexOffset:1,divisor:1}}},vertexValid:{size:1,divisor:1,type:5121,update:this.calculateVertexValid,noAlloc:a},elevations:{size:1,transition:x,accessor:"getElevation",shaderAttributes:{elevations:{divisor:0},instanceElevations:{divisor:1}}},fillColors:{size:this.props.colorFormat.length,type:5121,normalized:!0,transition:x,accessor:"getFillColor",defaultValue:_,shaderAttributes:{fillColors:{divisor:0},instanceFillColors:{divisor:1}}},lineColors:{size:this.props.colorFormat.length,type:5121,normalized:!0,transition:x,accessor:"getLineColor",defaultValue:_,shaderAttributes:{lineColors:{divisor:0},instanceLineColors:{divisor:1}}},pickingColors:{size:3,type:5121,accessor:(e,t)=>{let{index:n,target:r}=t;return this.encodePickingColor(e&&e.__source?e.__source.index:n,r)},shaderAttributes:{pickingColors:{divisor:0},instancePickingColors:{divisor:1}}}})}getPickingInfo(e){const t=super.getPickingInfo(e),{index:n}=t,{data:r}=this.props;return r[0]&&r[0].__source&&(t.object=r.find((e=>e.__source.index===n))),t}disablePickingIndex(e){const{data:t}=this.props;if(t[0]&&t[0].__source)for(let n=0;ne.delete())),this.setState(this._getModels(this.context.gl)),i.invalidateAll())}updateGeometry(e){let{props:t,oldProps:n,changeFlags:r}=e;if(r.dataChanged||r.updateTriggersChanged&&(r.updateTriggersChanged.all||r.updateTriggersChanged.getPolygon)){const{polygonTesselator:e}=this.state,n=t.data.attributes||{};e.updateGeometry({data:t.data,normalize:t._normalize,geometryBuffer:n.getPolygon,buffers:n,getGeometry:t.getPolygon,positionFormat:t.positionFormat,wrapLongitude:t.wrapLongitude,resolution:this.context.viewport.resolution,fp64:this.use64bitPositions(),dataChanged:r.dataChanged,full3d:t._full3d}),this.setState({numInstances:e.instanceCount,startIndices:e.vertexStarts}),r.dataChanged||this.getAttributeManager().invalidateAll()}}_getModels(e){const{id:t,filled:n,extruded:r}=this.props;let i,o;if(n){const n=this.getShaders("top");n.defines.NON_INSTANCED_MODEL=1,i=new d.Z(e,{...n,id:"".concat(t,"-top"),drawMode:4,attributes:{vertexPositions:new Float32Array([0,1])},uniforms:{isWireframe:!1,isSideVertex:!1},vertexCount:0,isIndexed:!0})}return r&&(o=new d.Z(e,{...this.getShaders("side"),id:"".concat(t,"-side"),geometry:new h.Z({drawMode:1,vertexCount:4,attributes:{vertexPositions:{size:2,value:new Float32Array([1,0,0,0,0,1,1,1])}}}),instanceCount:0,isInstanced:1}),o.userData.excludeAttributes={indices:!0}),{models:[o,i].filter(Boolean),topModel:i,sideModel:o}}calculateIndices(e){const{polygonTesselator:t}=this.state;e.startIndices=t.indexStarts,e.value=t.get("indices")}calculatePositions(e){const{polygonTesselator:t}=this.state;e.startIndices=t.vertexStarts,e.value=t.get("positions")}calculateVertexValid(e){e.value=this.state.polygonTesselator.get("vertexValid")}}(0,r.Z)(E,"defaultProps",w),(0,r.Z)(E,"layerName","SolidPolygonLayer")},55788:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(68185),i=n(53104),o=n(58521),a=n(79463),s=n(98029),l=n(44548),c=n(16621);const u={billboard:!0,sizeScale:1,sizeUnits:"pixels",sizeMinPixels:0,sizeMaxPixels:Number.MAX_SAFE_INTEGER,padding:{type:"array",value:[0,0,0,0]},getPosition:{type:"accessor",value:e=>e.position},getSize:{type:"accessor",value:1},getAngle:{type:"accessor",value:0},getPixelOffset:{type:"accessor",value:[0,0]},getBoundingRect:{type:"accessor",value:[0,0,0,0]},getFillColor:{type:"accessor",value:[0,0,0,255]},getLineColor:{type:"accessor",value:[0,0,0,255]},getLineWidth:{type:"accessor",value:1}};class d extends i.Z{constructor(){super(...arguments),(0,r.Z)(this,"state",void 0)}getShaders(){return super.getShaders({vs:"#define SHADER_NAME text-background-layer-vertex-shader\n\nattribute vec2 positions;\n\nattribute vec3 instancePositions;\nattribute vec3 instancePositions64Low;\nattribute vec4 instanceRects;\nattribute float instanceSizes;\nattribute float instanceAngles;\nattribute vec2 instancePixelOffsets;\nattribute float instanceLineWidths;\nattribute vec4 instanceFillColors;\nattribute vec4 instanceLineColors;\nattribute vec3 instancePickingColors;\n\nuniform bool billboard;\nuniform float opacity;\nuniform float sizeScale;\nuniform float sizeMinPixels;\nuniform float sizeMaxPixels;\nuniform vec4 padding;\nuniform int sizeUnits;\n\nvarying vec4 vFillColor;\nvarying vec4 vLineColor;\nvarying float vLineWidth;\nvarying vec2 uv;\nvarying vec2 dimensions;\n\nvec2 rotate_by_angle(vec2 vertex, float angle) {\n float angle_radian = radians(angle);\n float cos_angle = cos(angle_radian);\n float sin_angle = sin(angle_radian);\n mat2 rotationMatrix = mat2(cos_angle, -sin_angle, sin_angle, cos_angle);\n return rotationMatrix * vertex;\n}\n\nvoid main(void) {\n geometry.worldPosition = instancePositions;\n geometry.uv = positions;\n geometry.pickingColor = instancePickingColors;\n uv = positions;\n vLineWidth = instanceLineWidths;\n float sizePixels = clamp(\n project_size_to_pixel(instanceSizes * sizeScale, sizeUnits),\n sizeMinPixels, sizeMaxPixels\n );\n\n dimensions = instanceRects.zw * sizePixels + padding.xy + padding.zw;\n\n vec2 pixelOffset = (positions * instanceRects.zw + instanceRects.xy) * sizePixels + mix(-padding.xy, padding.zw, positions);\n pixelOffset = rotate_by_angle(pixelOffset, instanceAngles);\n pixelOffset += instancePixelOffsets;\n pixelOffset.y *= -1.0;\n\n if (billboard) {\n gl_Position = project_position_to_clipspace(instancePositions, instancePositions64Low, vec3(0.0), geometry.position);\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n vec3 offset = vec3(pixelOffset, 0.0);\n DECKGL_FILTER_SIZE(offset, geometry);\n gl_Position.xy += project_pixel_size_to_clipspace(offset.xy);\n } else {\n vec3 offset_common = vec3(project_pixel_size(pixelOffset), 0.0);\n DECKGL_FILTER_SIZE(offset_common, geometry);\n gl_Position = project_position_to_clipspace(instancePositions, instancePositions64Low, offset_common, geometry.position);\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n }\n vFillColor = vec4(instanceFillColors.rgb, instanceFillColors.a * opacity);\n DECKGL_FILTER_COLOR(vFillColor, geometry);\n vLineColor = vec4(instanceLineColors.rgb, instanceLineColors.a * opacity);\n DECKGL_FILTER_COLOR(vLineColor, geometry);\n}\n",fs:"#define SHADER_NAME text-background-layer-fragment-shader\n\nprecision highp float;\n\nuniform bool stroked;\n\nvarying vec4 vFillColor;\nvarying vec4 vLineColor;\nvarying float vLineWidth;\nvarying vec2 uv;\nvarying vec2 dimensions;\n\nvoid main(void) {\n geometry.uv = uv;\n\n vec2 pixelPosition = uv * dimensions;\n if (stroked) {\n float distToEdge = min(\n min(pixelPosition.x, dimensions.x - pixelPosition.x),\n min(pixelPosition.y, dimensions.y - pixelPosition.y)\n );\n float isBorder = smoothedge(distToEdge, vLineWidth);\n gl_FragColor = mix(vFillColor, vLineColor, isBorder);\n } else {\n gl_FragColor = vFillColor;\n }\n\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n",modules:[o.Z,a.Z]})}initializeState(){this.getAttributeManager().addInstanced({instancePositions:{size:3,type:5130,fp64:this.use64bitPositions(),transition:!0,accessor:"getPosition"},instanceSizes:{size:1,transition:!0,accessor:"getSize",defaultValue:1},instanceAngles:{size:1,transition:!0,accessor:"getAngle"},instanceRects:{size:4,accessor:"getBoundingRect"},instancePixelOffsets:{size:2,transition:!0,accessor:"getPixelOffset"},instanceFillColors:{size:4,transition:!0,normalized:!0,type:5121,accessor:"getFillColor",defaultValue:[0,0,0,255]},instanceLineColors:{size:4,transition:!0,normalized:!0,type:5121,accessor:"getLineColor",defaultValue:[0,0,0,255]},instanceLineWidths:{size:1,transition:!0,accessor:"getLineWidth",defaultValue:1}})}updateState(e){super.updateState(e);const{changeFlags:t}=e;if(t.extensionsChanged){var n;const{gl:e}=this.context;null===(n=this.state.model)||void 0===n||n.delete(),this.state.model=this._getModel(e),this.getAttributeManager().invalidateAll()}}draw(e){let{uniforms:t}=e;const{billboard:n,sizeScale:r,sizeUnits:i,sizeMinPixels:o,sizeMaxPixels:a,getLineWidth:l}=this.props;let{padding:c}=this.props;c.length<4&&(c=[c[0],c[1],c[0],c[1]]),this.state.model.setUniforms(t).setUniforms({billboard:n,stroked:Boolean(l),padding:c,sizeUnits:s.iI[i],sizeScale:r,sizeMinPixels:o,sizeMaxPixels:a}).draw()}_getModel(e){return new l.Z(e,{...this.getShaders(),id:this.props.id,geometry:new c.Z({drawMode:6,vertexCount:4,attributes:{positions:{size:2,value:new Float32Array([0,0,1,0,1,1,0,1])}}}),isInstanced:!0})}}(0,r.Z)(d,"defaultProps",u),(0,r.Z)(d,"layerName","TextBackgroundLayer")},34929:(e,t,n)=>{"use strict";n.d(t,{Z:()=>I});var r=n(68185),i=n(32603),o=n(65148),a=n(39179),s=n(90286);const l=.75,c=[];class u extends s.Z{constructor(){super(...arguments),(0,r.Z)(this,"state",void 0)}getShaders(){return{...super.getShaders(),fs:"#define SHADER_NAME multi-icon-layer-fragment-shader\n\nprecision highp float;\n\nuniform float opacity;\nuniform sampler2D iconsTexture;\nuniform float gamma;\nuniform bool sdf;\nuniform float alphaCutoff;\nuniform float sdfBuffer;\nuniform float outlineBuffer;\nuniform vec4 outlineColor;\n\nvarying vec4 vColor;\nvarying vec2 vTextureCoords;\nvarying vec2 uv;\n\nvoid main(void) {\n geometry.uv = uv;\n\n if (!picking_uActive) {\n float alpha = texture2D(iconsTexture, vTextureCoords).a;\n vec4 color = vColor;\n if (sdf) {\n float distance = alpha;\n alpha = smoothstep(sdfBuffer - gamma, sdfBuffer + gamma, distance);\n\n if (outlineBuffer > 0.0) {\n float inFill = alpha;\n float inBorder = smoothstep(outlineBuffer - gamma, outlineBuffer + gamma, distance);\n color = mix(outlineColor, vColor, inFill);\n alpha = inBorder;\n }\n }\n float a = alpha * color.a;\n \n if (a < alphaCutoff) {\n discard;\n }\n\n gl_FragColor = vec4(color.rgb, a * opacity);\n }\n\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n"}}initializeState(){super.initializeState();this.getAttributeManager().addInstanced({instanceOffsets:{size:2,accessor:"getIconOffsets"},instancePickingColors:{type:5121,size:3,accessor:(e,t)=>{let{index:n,target:r}=t;return this.encodePickingColor(n,r)}}})}updateState(e){super.updateState(e);const{props:t,oldProps:n}=e;let{outlineColor:r}=t;r!==n.outlineColor&&(r=r.map((e=>e/255)),r[3]=Number.isFinite(r[3])?r[3]:1,this.setState({outlineColor:r})),!t.sdf&&t.outlineWidth&&o.Z.warn("".concat(this.id,": fontSettings.sdf is required to render outline"))()}draw(e){const{sdf:t,smoothing:n,outlineWidth:r}=this.props,{outlineColor:i}=this.state,o=r?Math.max(n,l*(1-r)):-1;if(e.uniforms={...e.uniforms,sdfBuffer:l,outlineBuffer:o,gamma:n,sdf:Boolean(t),outlineColor:i},super.draw(e),t&&r){const{iconManager:e}=this.state;e.getTexture()&&this.state.model.draw({uniforms:{outlineBuffer:l}})}}getInstanceOffset(e){return e?Array.from(e).flatMap((e=>super.getInstanceOffset(e))):c}getInstanceColorMode(e){return 1}getInstanceIconFrame(e){return e?Array.from(e).flatMap((e=>super.getInstanceIconFrame(e))):c}}(0,r.Z)(u,"defaultProps",{getIconOffsets:{type:"accessor",value:e=>e.offsets},alphaCutoff:.001,smoothing:.1,outlineWidth:0,outlineColor:{type:"color",value:[0,0,0,255]}}),(0,r.Z)(u,"layerName","MultiIconLayer");const d=1e20;class h{constructor(){let{fontSize:e=24,buffer:t=3,radius:n=8,cutoff:r=.25,fontFamily:i="sans-serif",fontWeight:o="normal",fontStyle:a="normal"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.buffer=t,this.cutoff=r,this.radius=n;const s=this.size=e+4*t,l=this._createCanvas(s),c=this.ctx=l.getContext("2d",{willReadFrequently:!0});c.font="".concat(a," ").concat(o," ").concat(e,"px ").concat(i),c.textBaseline="alphabetic",c.textAlign="left",c.fillStyle="black",this.gridOuter=new Float64Array(s*s),this.gridInner=new Float64Array(s*s),this.f=new Float64Array(s),this.z=new Float64Array(s+1),this.v=new Uint16Array(s)}_createCanvas(e){const t=document.createElement("canvas");return t.width=t.height=e,t}draw(e){const{width:t,actualBoundingBoxAscent:n,actualBoundingBoxDescent:r,actualBoundingBoxLeft:i,actualBoundingBoxRight:o}=this.ctx.measureText(e),a=Math.ceil(n),s=Math.max(0,Math.min(this.size-this.buffer,Math.ceil(o-i))),l=Math.min(this.size-this.buffer,a+Math.ceil(r)),c=s+2*this.buffer,u=l+2*this.buffer,h=Math.max(c*u,0),p=new Uint8ClampedArray(h),g={data:p,width:c,height:u,glyphWidth:s,glyphHeight:l,glyphTop:a,glyphLeft:0,glyphAdvance:t};if(0===s||0===l)return g;const{ctx:m,buffer:A,gridInner:v,gridOuter:y}=this;m.clearRect(A,A,s,l),m.fillText(e,A,A+a);const b=m.getImageData(A,A,s,l);y.fill(d,0,h),v.fill(0,0,h);for(let f=0;f0?e*e:0,v[n]=e<0?e*e:0}}f(y,0,0,c,u,c,this.f,this.v,this.z),f(v,A,A,s,l,c,this.f,this.v,this.z);for(let d=0;d-1);l++,o[l]=s,a[l]=c,a[l+1]=d}for(let s=0,l=0;sr&&(a4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5?arguments[5]:void 0;void 0===o&&(o=e.length);const a=[];return"break-all"===t?y(e,i,o,n,r,a):function(e,t,n,r,i,o){let a=t,s=t,l=t,c=0;for(let u=t;us){let t=v(e,s,l,i);c+t>r&&(ar&&(t=y(e,s,l,r,i,o),a=o[o.length-1])),s=l,c+=t}}(e,i,o,n,r,a),a}function _(e,t,n,r,i,a){let s=0,l=0;for(let c=t;c0&&void 0!==arguments[0]?arguments[0]:5;(0,r.Z)(this,"limit",void 0),(0,r.Z)(this,"_cache",{}),(0,r.Z)(this,"_order",[]),this.limit=e}get(e){const t=this._cache[e];return t&&(this._deleteOrder(e),this._appendOrder(e)),t}set(e,t){this._cache[e]?(this.delete(e),this._cache[e]=t,this._appendOrder(e)):(Object.keys(this._cache).length===this.limit&&this.delete(this._order[0]),this._cache[e]=t,this._appendOrder(e))}delete(e){this._cache[e]&&(delete this._cache[e],this._deleteOrder(e))}_deleteOrder(e){const t=this._order.indexOf(e);t>=0&&this._order.splice(t,1)}_appendOrder(e){this._order.push(e)}}const x={fontFamily:"Monaco, monospace",fontWeight:"normal",characterSet:function(){const e=[];for(let t=32;t<128;t++)e.push(String.fromCharCode(t));return e}(),fontSize:64,buffer:4,sdf:!1,cutoff:.25,radius:12,smoothing:.1};let E=new w(3);function S(e,t){for(let n=0;n0&&void 0!==arguments[0]?arguments[0]:{};Object.assign(this.props,e),this._key=this._getKey();const t=function(e,t){let n;n="string"===typeof t?new Set(Array.from(t)):new Set(t);const r=E.get(e);if(!r)return n;for(const i in r.mapping)n.has(i)&&n.delete(i);return n}(this._key,this.props.characterSet),n=E.get(this._key);if(n&&0===t.size)return void(this._atlas!==n&&(this._atlas=n));const r=this._generateFontAtlas(t,n);this._atlas=r,E.set(this._key,r)}_generateFontAtlas(e,t){const{fontFamily:n,fontWeight:r,fontSize:i,buffer:o,sdf:a,radius:s,cutoff:l}=this.props;let c=t&&t.data;c||(c=document.createElement("canvas"),c.width=1024);const u=c.getContext("2d",{willReadFrequently:!0});C(u,n,i,r);const{mapping:d,canvasHeight:f,xOffset:p,yOffset:g}=function(e){let{characterSet:t,getFontWidth:n,fontHeight:r,buffer:i,maxCanvasWidth:o,mapping:a={},xOffset:s=0,yOffset:l=0}=e,c=0,u=s;const d=r+2*i;for(const h of t)if(!a[h]){const e=n(h);u+e+2*i>o&&(u=0,c++),a[h]={x:u+i,y:l+c*d+i,width:e,height:d,layoutWidth:e,layoutHeight:r},u+=e+2*i}return{mapping:a,xOffset:u,yOffset:l+c*d,canvasHeight:A(l+(c+1)*d)}}({getFontWidth:e=>u.measureText(e).width,fontHeight:1.2*i,buffer:o,characterSet:e,maxCanvasWidth:1024,...t&&{mapping:t.mapping,xOffset:t.xOffset,yOffset:t.yOffset}});if(c.height!==f){const e=u.getImageData(0,0,c.width,c.height);c.height=f,u.putImageData(e,0,0)}if(C(u,n,i,r),a){const t=new h({fontSize:i,buffer:o,radius:s,cutoff:l,fontFamily:n,fontWeight:"".concat(r)});for(const n of e){const{data:e,width:r,height:o,glyphTop:a}=t.draw(n);d[n].width=r,d[n].layoutOffsetY=.9*i-a;const s=u.createImageData(r,o);S(e,s),u.putImageData(s,d[n].x,d[n].y)}}else for(const h of e)u.fillText(h,d[h].x,d[h].y+o+.9*i);return{xOffset:p,yOffset:g,mapping:d,data:c,width:c.width,height:c.height}}_getKey(){const{fontFamily:e,fontWeight:t,fontSize:n,buffer:r,sdf:i,radius:o,cutoff:a}=this.props;return i?"".concat(e," ").concat(t," ").concat(n," ").concat(r," ").concat(o," ").concat(a):"".concat(e," ").concat(t," ").concat(n," ").concat(r)}}var T=n(55788);const M={start:1,middle:0,end:-1},k={top:1,center:0,bottom:-1},R=[0,0,0,255],O={billboard:!0,sizeScale:1,sizeUnits:"pixels",sizeMinPixels:0,sizeMaxPixels:Number.MAX_SAFE_INTEGER,background:!1,getBackgroundColor:{type:"accessor",value:[255,255,255,255]},getBorderColor:{type:"accessor",value:R},getBorderWidth:{type:"accessor",value:0},backgroundPadding:{type:"array",value:[0,0,0,0]},characterSet:{type:"object",value:x.characterSet},fontFamily:x.fontFamily,fontWeight:x.fontWeight,lineHeight:1,outlineWidth:{type:"number",value:0,min:0},outlineColor:{type:"color",value:R},fontSettings:{type:"object",value:{},compare:1},wordBreak:"break-word",maxWidth:{type:"number",value:-1},getText:{type:"accessor",value:e=>e.text},getPosition:{type:"accessor",value:e=>e.position},getColor:{type:"accessor",value:R},getSize:{type:"accessor",value:32},getAngle:{type:"accessor",value:0},getTextAnchor:{type:"accessor",value:"middle"},getAlignmentBaseline:{type:"accessor",value:"center"},getPixelOffset:{type:"accessor",value:[0,0]},backgroundColor:{deprecatedFor:["background","getBackgroundColor"]}};class I extends i.Z{constructor(){super(...arguments),(0,r.Z)(this,"state",void 0),(0,r.Z)(this,"getBoundingRect",((e,t)=>{let{size:[n,r]}=this.transformParagraph(e,t);const{fontSize:i}=this.state.fontAtlasManager.props;n/=i,r/=i;const{getTextAnchor:o,getAlignmentBaseline:a}=this.props;return[(M["function"===typeof o?o(e,t):o]-1)*n/2,(k["function"===typeof a?a(e,t):a]-1)*r/2,n,r]})),(0,r.Z)(this,"getIconOffsets",((e,t)=>{const{getTextAnchor:n,getAlignmentBaseline:r}=this.props,{x:i,y:o,rowWidth:a,size:[s,l]}=this.transformParagraph(e,t),c=M["function"===typeof n?n(e,t):n],u=k["function"===typeof r?r(e,t):r],d=i.length,h=new Array(2*d);let f=0;for(let p=0;p0&&o.Z.warn("v8.9 breaking change: TextLayer maxWidth is now relative to text size")()}updateState(e){const{props:t,oldProps:n,changeFlags:r}=e;(r.dataChanged||r.updateTriggersChanged&&(r.updateTriggersChanged.all||r.updateTriggersChanged.getText))&&this._updateText();(this._updateFontAtlas()||t.lineHeight!==n.lineHeight||t.wordBreak!==n.wordBreak||t.maxWidth!==n.maxWidth)&&this.setState({styleVersion:this.state.styleVersion+1})}getPickingInfo(e){let{info:t}=e;return t.object=t.index>=0?this.props.data[t.index]:null,t}_updateFontAtlas(){const{fontSettings:e,fontFamily:t,fontWeight:n}=this.props,{fontAtlasManager:r,characterSet:i}=this.state,o={...e,characterSet:i,fontFamily:t,fontWeight:n};if(!r.mapping)return r.setProps(o),!0;for(const a in o)if(o[a]!==r.props[a])return r.setProps(o),!0;return!1}_updateText(){var e;const{data:t,characterSet:n}=this.props,r=null===(e=t.attributes)||void 0===e?void 0:e.getText;let i,{getText:o}=this.props,s=t.startIndices;const l="auto"===n&&new Set;if(r&&s){const{texts:e,characterCount:n}=function(e){let{value:t,length:n,stride:r,offset:i,startIndices:o,characterSet:a}=e;const s=t.BYTES_PER_ELEMENT,l=r?r/s:1,c=i?i/s:0,u=o[n]||Math.ceil((t.length-c)/l),d=a&&new Set,h=new Array(n);let f=t;if(l>1||c>0){f=new(0,t.constructor)(u);for(let e=0;e{let{index:r}=n;return e[r]}}else{const{iterable:e,objectInfo:n}=(0,a.jB)(t);s=[0],i=0;for(const t of e){n.index++;const e=Array.from(o(t,n)||"");l&&e.forEach(l.add,l),i+=e.length,s.push(i)}}this.setState({getText:o,startIndices:s,numInstances:i,characterSet:l||n})}transformParagraph(e,t){const{fontAtlasManager:n}=this.state,r=n.mapping,i=this.state.getText,{wordBreak:o,lineHeight:a,maxWidth:s}=this.props;return function(e,t,n,r,i){const o=Array.from(e),a=o.length,s=new Array(a),l=new Array(a),c=new Array(a),u=("break-word"===n||"break-all"===n)&&isFinite(r)&&r>0,d=[0,0],h=[0,0];let f=0,p=0,g=0;for(let v=0;v<=a;v++){const e=o[v];if("\n"!==e&&v!==a||(g=v),g>p){const e=u?b(o,n,r,i,p,g):m;for(let n=0;n<=e.length;n++){const r=0===n?p:e[n-1],a=n=3,"Invalid cache limit"),E=new w(e)}(e)}}(0,r.Z)(I,"defaultProps",O),(0,r.Z)(I,"layerName","TextLayer")},63962:(e,t,n)=>{"use strict";function r(e){let{data:t,getIndex:n,dataRange:r,replace:i}=e;const{startRow:o=0,endRow:a=1/0}=r,s=t.length;let l=s,c=s;for(let h=0;hh&&e>=o&&(l=h),e>=a){c=h;break}}let u=l;const d=c-l!==i.length?t.slice(c):void 0;for(let h=0;hr})},91986:(e,t,n)=>{"use strict";n.d(t,{$G:()=>yo});var r=n(53104),i=n(58521),o=n(79463),a=n(21503),s=n(44548),l=n(16621);class c extends r.Z{constructor(e){super(e)}getShaders(){return super.getShaders({vs:"#define SHADER_NAME animated-flow-lines-layer-vertex-shader\n#define SPEED 0.015\n#define NUM_PARTS 5.0\n\nattribute vec3 positions;\nattribute vec3 instanceSourcePositions;\nattribute vec3 instanceTargetPositions;\nattribute vec3 instanceSourcePositions64Low;\nattribute vec3 instanceTargetPositions64Low;\nattribute vec4 instanceColors;\nattribute vec3 instancePickingColors;\nattribute float instanceWidths;\nattribute float instancePickable;\nattribute float instanceStaggering;\n\nuniform float opacity;\nuniform float currentTime;\nuniform float thicknessUnit;\n \nvarying vec4 vColor;\nvarying float sourceToTarget;\nvarying vec2 uv;\n\n// offset vector by strokeWidth pixels\n// offset_direction is -1 (left) or 1 (right)\nvec2 getExtrusionOffset(vec2 line_clipspace, float offset_direction, float width) {\n // normalized direction of the line\n vec2 dir_screenspace = normalize(line_clipspace * project_uViewportSize);\n // rotate by 90 degrees\n dir_screenspace = vec2(-dir_screenspace.y, dir_screenspace.x);\n\n return dir_screenspace * offset_direction * width / 2.0;\n}\n\nvoid main(void) {\n geometry.worldPosition = instanceSourcePositions;\n geometry.worldPositionAlt = instanceTargetPositions;\n\n // Position\n vec4 source_commonspace;\n vec4 target_commonspace;\n vec4 source = project_position_to_clipspace(instanceSourcePositions, instanceSourcePositions64Low, vec3(0.), source_commonspace);\n vec4 target = project_position_to_clipspace(instanceTargetPositions, instanceTargetPositions64Low, vec3(0.), target_commonspace);\n\n float widthPixels = instanceWidths * thicknessUnit;\n \n \n // linear interpolation of source & target to pick right coord\n float segmentIndex = positions.x;\n vec4 p = mix(source, target, segmentIndex);\n geometry.position = mix(source_commonspace, target_commonspace, segmentIndex);\n uv = positions.xy;\n geometry.uv = uv;\n if (instancePickable > 0.5) {\n geometry.pickingColor = instancePickingColors;\n }\n \n // extrude\n vec3 offset = vec3(\n getExtrusionOffset(target.xy - source.xy, positions.y, widthPixels),\n 0.0);\n DECKGL_FILTER_SIZE(offset, geometry);\n gl_Position = p + vec4(project_pixel_size_to_clipspace(offset.xy), 0.0, 0.0);\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n\n // Color\n vColor = vec4(instanceColors.rgb, instanceColors.a * opacity) / 255.;\n DECKGL_FILTER_COLOR(vColor, geometry);\n\n sourceToTarget = positions.x * length(source - target) * NUM_PARTS - currentTime * SPEED + instanceStaggering; \n}\n",fs:"#define SHADER_NAME animated-flow-lines-layer-fragment-shader\n\nprecision highp float;\n\nuniform float animationTailLength;\n\nvarying vec4 vColor;\nvarying float sourceToTarget;\nvarying vec2 uv;\n \nvoid main(void) {\n geometry.uv = uv;\n\n gl_FragColor = vec4(vColor.xyz, vColor.w * smoothstep(1.0 - animationTailLength, 1.0, fract(sourceToTarget)));\n\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n",modules:[i.Z,o.Z],shaderCache:this.context.shaderCache})}initializeState(){this.getAttributeManager().addInstanced({instanceSourcePositions:{size:3,type:a.Z.DOUBLE,transition:!0,accessor:"getSourcePosition"},instanceTargetPositions:{size:3,type:a.Z.DOUBLE,transition:!0,accessor:"getTargetPosition"},instanceColors:{size:4,type:a.Z.UNSIGNED_BYTE,transition:!0,accessor:"getColor",defaultValue:[0,0,0,255]},instanceWidths:{size:1,transition:!0,accessor:"getThickness",defaultValue:1},instanceStaggering:{accessor:"getStaggering",size:1,transition:!1},instancePickable:{accessor:"getPickable",size:1,transition:!1}})}getNeedsRedraw(){return!0}updateState(e){let{props:t,oldProps:n,changeFlags:r}=e;var i;if(super.updateState({props:t,oldProps:n,changeFlags:r}),r.extensionsChanged){const{gl:e}=this.context;null===(i=this.state.model)||void 0===i||i.delete(),this.state.model=this._getModel(e),this.getAttributeManager().invalidateAll()}}draw(e){let{uniforms:t}=e;const{thicknessUnit:n,animationTailLength:r}=this.props,i=Date.now()/1e3%90/90*1800;this.state.model.setUniforms(Object.assign(Object.assign({},t),{thicknessUnit:4*n,animationTailLength:r,currentTime:i})).draw()}_getModel(e){return new s.Z(e,Object.assign({},this.getShaders(),{id:this.props.id,geometry:new l.Z({drawMode:a.Z.TRIANGLE_STRIP,attributes:{positions:new Float32Array([0,-1,0,0,1,0,1,-1,0,1,1,0])}}),isInstanced:!0}))}}c.defaultProps={currentTime:0,animationTailLength:.7,getSourcePosition:{type:"accessor",value:e=>[0,0]},getTargetPosition:{type:"accessor",value:e=>[0,0]},getPickable:{type:"accessor",value:e=>1},getStaggering:{type:"accessor",value:(e,t)=>{let{index:n}=t;return Math.random()}},getColor:{type:"accessor",value:[0,132,193,255]},getThickness:{type:"accessor",value:1},thicknessUnit:30,parameters:{depthTest:!1}};const u=c,d=[1,0,0,1,2,-3,1,1,-3,1,0,0,1,1,-3,0,1,0,1,0,0,0,1,0,0,0,0];const h=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];class f extends r.Z{constructor(e){super(e)}getShaders(){return super.getShaders({vs:"#define SHADER_NAME flow-line-layer-vertex-shader\n\nattribute vec3 positions;\nattribute vec3 normals;\nattribute vec4 instanceColors;\nattribute float instanceThickness; // 0..0.5\nattribute vec3 instanceSourcePositions;\nattribute vec3 instanceTargetPositions;\nattribute vec3 instanceSourcePositions64Low;\nattribute vec3 instanceTargetPositions64Low;\nattribute vec3 instancePickingColors;\nattribute vec2 instanceEndpointOffsets;\nattribute float instancePickable;\n\nuniform vec4 outlineColor;\nuniform float thicknessUnit;\nuniform float gap;\nuniform float opacity;\n\nvarying vec4 vColor;\nvarying vec2 uv;\n\nvoid main(void) {\n geometry.worldPosition = instanceSourcePositions;\n geometry.worldPositionAlt = instanceTargetPositions;\n \n // Position\n vec4 source_commonspace; \n vec4 target_commonspace;\n vec4 source = project_position_to_clipspace(instanceSourcePositions, instanceSourcePositions64Low, vec3(0.), source_commonspace);\n vec4 target = project_position_to_clipspace(instanceTargetPositions, instanceTargetPositions64Low, vec3(0.), target_commonspace);\n\n // linear interpolation of source & target to pick right coord\n float sourceOrTarget = positions.x;\n geometry.position = mix(source_commonspace, target_commonspace, sourceOrTarget);\n uv = positions.xy;\n geometry.uv = uv;\n if (instancePickable > 0.5) {\n geometry.pickingColor = instancePickingColors;\n }\n \n // set the clamp limits in pixel size \n float lengthCommon = length(target_commonspace - source_commonspace); \n vec2 offsetDistances = project_pixel_size(positions.yz) * thicknessUnit;\n \n vec2 limitedOffsetDistances = clamp( \n project_pixel_size(positions.yz) * thicknessUnit,\n -lengthCommon*.8, lengthCommon*.8\n );\n float startOffsetCommon = project_pixel_size(instanceEndpointOffsets[0]);\n float endOffsetCommon = project_pixel_size(instanceEndpointOffsets[1]);\n float endpointOffset = mix(\n clamp(startOffsetCommon, 0.0, lengthCommon*.2),\n -clamp(endOffsetCommon, 0.0, lengthCommon*.2),\n positions.x\n );\n\n vec2 flowlineDir = normalize(target_commonspace.xy - source_commonspace.xy);\n vec2 perpendicularDir = vec2(-flowlineDir.y, flowlineDir.x);\n vec2 normalsCommon = project_pixel_size(normals.xy);\n float gapCommon = project_pixel_size(gap);\n vec3 offsetCommon = vec3(\n flowlineDir * (instanceThickness * limitedOffsetDistances[1] + normalsCommon.y + endpointOffset * 1.05) -\n perpendicularDir * (instanceThickness * limitedOffsetDistances[0] + gapCommon + normalsCommon.x),\n 0.0\n );\n \n DECKGL_FILTER_SIZE(offsetCommon, geometry);\n vec4 position_commonspace = mix(source_commonspace, target_commonspace, sourceOrTarget);\n vec4 offset_commonspace = vec4(offsetCommon, 0.0);\n gl_Position = project_common_position_to_clipspace(position_commonspace + offset_commonspace);\n \n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n \n vec4 fillColor = vec4(instanceColors.rgb, instanceColors.a * opacity) / 255.;\n vColor = mix(fillColor, vec4(outlineColor.xyz, outlineColor.w * fillColor.w), normals.z);\n DECKGL_FILTER_COLOR(vColor, geometry);\n}\n",fs:"#define SHADER_NAME flow-line-layer-fragment-shader\n\nprecision highp float;\n\nvarying vec4 vColor;\nvarying vec2 uv;\n\nvoid main(void) {\n if (vColor.a == 0.0) {\n discard;\n }\n\n geometry.uv = uv;\n gl_FragColor = vColor;\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n",modules:[i.Z,o.Z],shaderCache:this.context.shaderCache})}initializeState(){const{attributeManager:e}=this.state;e.addInstanced({instanceSourcePositions:{accessor:"getSourcePosition",size:3,transition:!1,type:a.Z.DOUBLE},instanceTargetPositions:{accessor:"getTargetPosition",size:3,transition:!1,type:a.Z.DOUBLE},instanceThickness:{accessor:"getThickness",size:1,transition:!1},instanceEndpointOffsets:{accessor:"getEndpointOffsets",size:2,transition:!1},instanceColors:{accessor:"getColor",size:4,type:a.Z.UNSIGNED_BYTE,transition:!1},instancePickable:{accessor:"getPickable",size:1,transition:!1}})}updateState(e){let{props:t,oldProps:n,changeFlags:r}=e;if(super.updateState({props:t,oldProps:n,changeFlags:r}),r.extensionsChanged){const{gl:e}=this.context;this.state.model&&this.state.model.delete(),this.setState({model:this._getModel(e)}),this.getAttributeManager().invalidateAll()}}draw(e){let{uniforms:t}=e;const{gl:n}=this.context,{outlineColor:r,thicknessUnit:i}=this.props;n.lineWidth(1),this.state.model.setUniforms(Object.assign(Object.assign({},t),{outlineColor:r.map((e=>e/255)),thicknessUnit:2*i,gap:.5})).draw()}_getModel(e){let t=[],n=[];const{drawOutline:r,outlineThickness:i}=this.props;if(r){t=t.concat(d);const e=i,r=1;n=n.concat(function(e,t){return[-t,2*e,1,2*e,-e,1,e,-e,1,-t,2*e,1,e,-e,1,e,-e,1,-t,2*e,1,e,-e,1,-t,-e,1]}(e,r))}return t=t.concat(d),n=n.concat(h),new s.Z(e,Object.assign(Object.assign({id:this.props.id},this.getShaders()),{geometry:new l.Z({drawMode:a.Z.TRIANGLES,attributes:{positions:new Float32Array(t),normals:new Float32Array(n)}}),isInstanced:!0,shaderCache:this.context.shaderCache}))}}f.layerName="FlowLinesLayer",f.defaultProps={getSourcePosition:{type:"accessor",value:e=>[0,0]},getTargetPosition:{type:"accessor",value:e=>[0,0]},getColor:{type:"accessor",value:[0,132,193,255]},getThickness:{type:"accessor",value:e=>e.count},getPickable:{type:"accessor",value:e=>1},drawOutline:!0,thicknessUnit:12,outlineThickness:1,outlineColor:[255,255,255,255],parameters:{depthTest:!1}};const p=f,g=[0,0,0,255];class m extends r.Z{constructor(e){super(e)}getShaders(){return super.getShaders({vs:"#define SHADER_NAME flow-circles-layer-vertex-shader\n#define radiusScale 100\n\nattribute vec3 positions;\n\nattribute vec3 instancePositions;\nattribute vec3 instancePositions64Low;\nattribute float instanceInRadius;\nattribute float instanceOutRadius;\nattribute vec4 instanceColors;\nattribute vec3 instancePickingColors;\n\nuniform float opacity;\nuniform vec4 emptyColor;\nuniform float outlineEmptyMix;\n\nvarying vec4 vColor;\nvarying vec2 unitPosition;\nvarying float unitInRadius;\nvarying float unitOutRadius;\n\nvoid main(void) {\n geometry.worldPosition = instancePositions;\n\n float outerRadiusPixels = max(instanceInRadius, instanceOutRadius);\n unitInRadius = instanceInRadius / outerRadiusPixels; \n unitOutRadius = instanceOutRadius / outerRadiusPixels; \n\n // position on the containing square in [-1, 1] space\n unitPosition = positions.xy;\n geometry.uv = unitPosition;\n geometry.pickingColor = instancePickingColors;\n \n // Find the center of the point and add the current vertex\n vec3 offset = positions * project_pixel_size(outerRadiusPixels);\n DECKGL_FILTER_SIZE(offset, geometry);\n gl_Position = project_position_to_clipspace(instancePositions, instancePositions64Low, offset, geometry.position);\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n \n // Apply opacity to instance color, or return instance picking color\n vColor = vec4(instanceColors.rgb / 255., instanceColors.a / 255. * opacity);\n DECKGL_FILTER_COLOR(vColor, geometry);\n}\n",fs:"#define SHADER_NAME flow-circles-layer-fragment-shader\n#define SOFT_OUTLINE 0.05\n#define EPS 0.05\nprecision highp float;\n\nuniform vec4 emptyColor;\nuniform float outlineEmptyMix;\n\nvarying vec4 vColor;\nvarying vec2 unitPosition;\nvarying float unitInRadius;\nvarying float unitOutRadius;\n\nfloat when_gt(float x, float y) {\n return max(sign(x - y), 0.0);\n}\n\nvoid main(void) {\n geometry.uv = unitPosition;\n float distToCenter = length(unitPosition);\n if (distToCenter > 1.0) {\n discard;\n }\n\n // See https://stackoverflow.com/questions/47285778\n vec4 ringColor = mix(\n emptyColor / 255., vColor,\n when_gt(unitInRadius, unitOutRadius)\n );\n vec4 outlineColor = mix(\n mix(vColor, emptyColor / 255., outlineEmptyMix),\n vColor,\n when_gt(unitInRadius, unitOutRadius)\n );\n \n float innerR = min(unitInRadius, unitOutRadius) * (1.0 - SOFT_OUTLINE);\n \n // Inner circle\n float step2 = innerR - 2.0 * EPS; \n float step3 = innerR - EPS;\n \n // Ring\n float step4 = innerR;\n // float step5 = 1.0 - SOFT_OUTLINE - EPS;\n // float step6 = 1.0 - SOFT_OUTLINE;\n float step5 = 1.0 - 5.0 * EPS;\n float step6 = 1.0;\n \n gl_FragColor = vColor;\n gl_FragColor = mix(gl_FragColor, emptyColor / 255., smoothstep(step2, step3, distToCenter));\n gl_FragColor = mix(gl_FragColor, ringColor, smoothstep(step3, step4, distToCenter));\n gl_FragColor = mix(gl_FragColor, outlineColor, smoothstep(step5, step6, distToCenter));\n // gl_FragColor = mix(gl_FragColor, emptyColor / 255., smoothstep(step6, 1.0, distToCenter));\n gl_FragColor.a = vColor.a;\n gl_FragColor.a *= smoothstep(0.0, SOFT_OUTLINE, 1.0 - distToCenter);\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n",modules:[i.Z,o.Z]})}initializeState(){this.getAttributeManager().addInstanced({instancePositions:{size:3,type:a.Z.DOUBLE,fp64:this.use64bitPositions(),transition:!0,accessor:"getPosition"},instanceInRadius:{size:1,transition:!0,accessor:"getInRadius",defaultValue:1},instanceOutRadius:{size:1,transition:!0,accessor:"getOutRadius",defaultValue:1},instanceColors:{size:4,transition:!0,type:a.Z.UNSIGNED_BYTE,accessor:"getColor",defaultValue:g}})}updateState(e){let{props:t,oldProps:n,changeFlags:r}=e;if(super.updateState({props:t,oldProps:n,changeFlags:r}),r.extensionsChanged){const{gl:e}=this.context;this.state.model&&this.state.model.delete(),this.setState({model:this._getModel(e)}),this.getAttributeManager().invalidateAll()}}draw(e){let{uniforms:t}=e;const{emptyColor:n,outlineEmptyMix:r}=this.props;this.state.model.setUniforms(Object.assign(Object.assign({},t),{emptyColor:n,outlineEmptyMix:r})).draw()}_getModel(e){return new s.Z(e,Object.assign(this.getShaders(),{id:this.props.id,geometry:new l.Z({drawMode:a.Z.TRIANGLE_FAN,vertexCount:4,attributes:{positions:{size:3,value:new Float32Array([-1,-1,0,1,-1,0,1,1,0,-1,1,0])}}}),isInstanced:!0}))}}m.layerName="FlowCirclesLayer",m.defaultProps={getColor:{type:"accessor",value:g},emptyColor:{type:"accessor",value:[255,255,255,255]},outlineEmptyMix:{type:"accessor",value:.4},getPosition:{type:"accessor",value:e=>e.position},getInRadius:{type:"accessor",value:1},getOutRadius:{type:"accessor",value:1},parameters:{depthTest:!1}};const A=m;var v,y=n(32603),b=n(99259),_=n(34929);function w(e){const{children:t}=e;return t&&t.length>0}function x(e){const{zoom:t}=e;return void 0!==t}function E(e){return e&&!!e.aggregate}function S(e){for(var t=e.length/6|0,n=new Array(t),r=0;r(0,C.hD)(e[e.length-1]);var T=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(S);P(T);var M=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(S);P(M);var k=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(S);P(k);var R=n(15917),O=n(22732),I=n(96153),L=-.14861,D=1.78277,N=-.29227,F=-.90649,j=1.97294,B=j*F,z=j*D,Z=D*N-F*L;function U(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof H)return new H(e.h,e.s,e.l,e.opacity);e instanceof O.Ss||(e=(0,O.SU)(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(Z*r+B*t-z*n)/(Z+B-z),o=r-i,a=(j*(n-i)-N*o)/F,s=Math.sqrt(a*a+o*o)/(j*i*(1-i)),l=s?Math.atan2(a,o)*I.R-120:NaN;return new H(l<0?l+360:l,s,i,e.opacity)}(e):new H(e,t,n,null==r?1:r)}function H(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}(0,R.Z)(H,U,(0,R.l)(O.Il,{brighter(e){return e=null==e?O.J5:Math.pow(O.J5,e),new H(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?O.xV:Math.pow(O.xV,e),new H(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*I.u,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new O.Ss(255*(t+n*(L*r+D*i)),255*(t+n*(N*r+F*i)),255*(t+n*(j*r)),this.opacity)}}));var V=n(60265);function G(e){return function t(n){function r(t,r){var i=e((t=U(t)).h,(r=U(r)).h),o=(0,V.ZP)(t.s,r.s),a=(0,V.ZP)(t.l,r.l),s=(0,V.ZP)(t.opacity,r.opacity);return function(e){return t.h=i(e),t.s=o(e),t.l=a(Math.pow(e,n)),t.opacity=s(e),t+""}}return n=+n,r.gamma=t,r}(1)}G(V.wx);var W=G(V.ZP),q=W(U(-100,.75,.35),U(80,1.5,.8)),Y=W(U(260,.75,.35),U(80,1.5,.8));U();var X=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(S);P(X);var K=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(S);P(K);var Q=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(S);P(Q);function $(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}const J=$(S("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));var ee=$(S("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),te=$(S("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),ne=$(S("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),re=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(S);P(re);var ie=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(S);P(ie);var oe=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(S);P(oe);var ae=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(S);P(ae);var se=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(S);P(se);var le=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(S);P(le);var ce=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(S);P(ce);var ue=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(S);P(ue);var de=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(S);P(de);var he=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(S);P(he);var fe=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(S);P(fe);var pe=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(S);P(pe);var ge=n(88406),me=n(92429),Ae=n(28458),ve=n(82620),ye=n(23263),be=n(29449),_e=n(41176);function we(){var e,t,n,r,i,o=0,a=1,s=ve.yR,l=!1;function c(t){return null==t||isNaN(t=+t)?i:s(0===n?.5:(t=(r(t)-e)*n,l?Math.max(0,Math.min(1,t)):t))}function u(e){return function(t){var n,r;return arguments.length?([n,r]=t,s=e(n,r),c):[s(0),s(1)]}}return c.domain=function(i){return arguments.length?([o,a]=i,e=r(o=+o),t=r(a=+a),n=e===t?0:1/(t-e),c):[o,a]},c.clamp=function(e){return arguments.length?(l=!!e,c):l},c.interpolator=function(e){return arguments.length?(s=e,c):s},c.range=u(me.Z),c.rangeRound=u(Ae.Z),c.unknown=function(e){return arguments.length?(i=e,c):i},function(i){return r=i,e=i(o),t=i(a),n=e===t?0:1/(t-e),c}}function xe(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function Ee(){var e=(0,be.Q)(we()(ve.yR));return e.copy=function(){return xe(e,Ee())},ye.O.apply(e,arguments)}function Se(){var e=(0,_e.Hh)(we());return e.copy=function(){return xe(e,Se()).exponent(e.exponent())},ye.O.apply(e,arguments)}var Ce=n(52719),Pe=n(15598);const Te="#fff",Me=.4,ke="rgba(240,240,240,0.5)",Re=[ke,"#137CBD"],Oe="rgba(220,220,220,0.5)",Ie=[ke,"#f6654e"],Le=[ke,"#00a9cc"],De=[255,255,255,255];function Ne(e,t){const n=(0,O.ZP)(e);if(!n)return console.warn("Invalid color: ",e),"rgba(255, 255, 255, ".concat(t,")");const r=n.rgb();return"rgba(".concat(r.r,", ").concat(r.g,", ").concat(r.b,", ").concat(t,")")}function Fe(e){if(Array.isArray(e))return e;const t=(0,O.ZP)(e);if(!t)return console.warn("Invalid color: ",e),De;const n=t.rgb();return[Math.floor(n.r),Math.floor(n.g),Math.floor(n.b),(r=t.opacity,Math.round(255*r))];var r}function je(e,t){return e?Fe(e):"string"===typeof t?Fe(t):t}const Be=e=>e[e.length-1];var ze;!function(e){e.primary="#162d3c"}(ze||(ze={}));const Ze=e=>(0,ge.Z)(0,21).map((t=>e(t/20))).reverse(),Ue="rgba(240,240,240,0.5)",He=[Ue,ze.primary],Ve=["#d1eeea","#a8dbd9","#85c4c9","#68abb8","#4f90a6","#3b738f","#2a5674"],Ge=Ve,We={Blues:Be(T),BluGrn:["#c4e6c3","#96d2a4","#6dbc90","#4da284","#36877a","#266b6e","#1d4f60"],BluYl:["#f7feae","#b7e6a5","#7ccba2","#46aea0","#089099","#00718b","#045275"],BrwnYl:["#ede5cf","#e0c2a2","#d39c83","#c1766f","#a65461","#813753","#541f3f"],BuGn:Be(M),BuPu:Be(k),Burg:["#ffc6c4","#f4a3a8","#e38191","#cc607d","#ad466c","#8b3058","#672044"],BurgYl:["#fbe6c5","#f5ba98","#ee8a82","#dc7176","#c8586c","#9c3f5d","#70284a"],Cool:Ze(Y),DarkMint:["#d2fbd4","#a5dbc2","#7bbcb0","#559c9e","#3a7c89","#235d72","#123f5a"],Emrld:["#d3f2a3","#97e196","#6cc08b","#4c9b82","#217a79","#105965","#074050"],GnBu:Be(X),Grayish:He,Greens:Be(K),Greys:Be(Q),Inferno:Ze(te),Magenta:["#f3cbd3","#eaa9bd","#dd88ac","#ca699d","#b14d8e","#91357d","#6c2167"],Magma:Ze(ee),Mint:["#e4f1e1","#b4d9cc","#89c0b6","#63a6a0","#448c8a","#287274","#0d585f"],Oranges:Be(re),OrRd:Be(ie),OrYel:["#ecda9a","#efc47e","#f3ad6a","#f7945d","#f97b57","#f66356","#ee4d5a"],Peach:["#fde0c5","#facba6","#f8b58b","#f59e72","#f2855d","#ef6a4c","#eb4a40"],Plasma:Ze(ne),PinkYl:["#fef6b5","#ffdd9a","#ffc285","#ffa679","#fa8a76","#f16d7a","#e15383"],PuBu:Be(oe),PuBuGn:Be(ae),PuRd:Be(se),Purp:["#f3e0f7","#e4c7f1","#d1afe8","#b998dd","#9f82ce","#826dba","#63589f"],Purples:Be(le),PurpOr:["#f9ddda","#f2b9c4","#e597b9","#ce78b3","#ad5fad","#834ba0","#573b88"],RdPu:Be(ce),RedOr:["#f6d2a9","#f5b78e","#f19c7c","#ea8171","#dd686c","#ca5268","#b13f64"],Reds:Be(ue),Sunset:["#f3e79b","#fac484","#f8a07e","#eb7f86","#ce6693","#a059a0","#5c53a5"],SunsetDark:["#fcde9c","#faa476","#f0746e","#e34f6f","#dc3977","#b9257a","#7c1d6f"],Teal:Ve,TealGrn:["#b0f2bc","#89e8ac","#67dba5","#4cc8a3","#38b2a3","#2c98a0","#257d98"],Viridis:Ze(J),Warm:Ze(q),YlGn:Be(de),YlGnBu:Be(he),YlOrBr:Be(fe),YlOrRd:Be(pe)},qe=(Object.keys(We),{negative:{flows:{scheme:[Ue,"#17a5be"]}},positive:{flows:{scheme:[Ue,"#f52020"]}},locationAreas:{outline:"rgba(92,112,128,0.5)",normal:"rgba(220,220,220,0.5)"},outlineColor:"rgb(230,233,237)"});function Ye(e,t,n,r,i,o,a){if(e)return qe;let s;Array.isArray(t)?s=t:(s=t&&We[t]||Ge,n&&(s=s.slice().reverse()));{const e=(0,ge.Z)(0,Math.max(10,s.length)),t=e.length-1,a=Ee((0,C.hD)(s)).domain([0,t]);if(r&&0!==o){const r=(0,_e.ZP)().exponent(1.5).domain([t,0]).range([0,2*o/100]);s=e.map(((e,t)=>{const o=a(t),s=r(t);if(null==o||null==s)return"#000";const l=(0,Pe.Uc)(o);return l.l=n?l.l-l.l*s:l.l+(100-l.l)*s,l.c=l.c-l.c*(s/4),i&&(l.opacity=l.opacity*(1-s)),l.toString()}))}else s=e.map(((e,t)=>a(t)))}return{darkMode:n,flows:{scheme:s},locationCircles:{outgoing:n?"#000":"#fff"},outlineColor:n?"#000":"rgba(255, 255, 255, 0.5)"}}function Xe(e,t,n){const r=Se(function(e){const t=Ce.Z,n=e.length;let r,i,o=new Array(n),a=new Array(n),s=new Array(n),l=new Array(n);for(r=0;rFe(r(e))}function Ke(e){return void 0!==e.positive}function Qe(e,t){const n=e&&e.normal||Oe,r=(0,Pe.Uc)(n),i=Fe(n);return{normal:i,connected:je(e&&e.connected,i),highlighted:je(e&&e.highlighted,Ne(r[t?"brighter":"darker"](1).toString(),.5)),selected:je(e&&e.selected,Ne(r[t?"brighter":"darker"](2).toString(),.8)),outline:je(e&&e.outline,Fe(r[t?"brighter":"darker"](4).toString()))}}function $e(e,t,n){var r,i,o;const a=e&&e.flows&&e.flows.scheme||t,s=(0,Pe.Uc)(a[a.length-1]),l=je(e&&e.flows&&e.flows.highlighted,Fe(s[n?"brighter":"darker"](.7).toString())),c=je(null===(r=null===e||void 0===e?void 0:e.locationCircles)||void 0===r?void 0:r.empty,n?"#000":"#fff");return{flows:{scheme:a,highlighted:l},locationCircles:{inner:je(e&&e.locationCircles&&e.locationCircles.inner,s.toString()),outgoing:je(e&&e.locationCircles&&e.locationCircles.outgoing,n?"#000":"#fff"),incoming:je(e&&e.locationCircles&&e.locationCircles.incoming,s[n?"brighter":"darker"](1.25).toString()),highlighted:je(e&&e.locationCircles&&e.locationCircles.highlighted,l),empty:c,outlineEmptyMix:null!==(o=null===(i=null===e||void 0===e?void 0:e.locationCircles)||void 0===i?void 0:i.outlineEmptyMix)&&void 0!==o?o:.4}}}function Je(e){const t=!(!e||!e.darkMode);return{darkMode:t,locationAreas:Qe(e&&e.locationAreas,t),outlineColor:Fe(e&&e.outlineColor||Te),dimmedOpacity:e&&null!=e.dimmedOpacity?e.dimmedOpacity:Me}}const et=Ye;var tt=n(52593),nt=n(42514);function rt(e,t){let n,r;if(void 0===t)for(const i of e)null!=i&&(void 0===n?i>=i&&(n=r=i):(n>i&&(n=i),r=o&&(n=r=o):(n>o&&(n=o),r2?n-2:0),i=2;i=r.length)return n(i);const a=new ot.L,s=r[o++];let l=-1;for(const t of i){const e=s(t,++l,i),n=a.get(e);n?n.push(t):a.set(e,[t])}for(const[t,n]of a)a.set(t,e(n,o));return t(a)}(e,0)}function ct(e,t,n,r,i,o){if(i-r<=n)return;const a=r+i>>1;ut(e,t,a,r,i,o%2),ct(e,t,n,r,a-1,o+1),ct(e,t,n,a+1,i,o+1)}function ut(e,t,n,r,i,o){for(;i>r;){if(i-r>600){const a=i-r+1,s=n-r+1,l=Math.log(a),c=.5*Math.exp(2*l/3),u=.5*Math.sqrt(l*c*(a-c)/a)*(s-a/2<0?-1:1);ut(e,t,n,Math.max(r,Math.floor(n-s*c/a+u)),Math.min(i,Math.floor(n+(a-s)*c/a+u)),o)}const a=t[2*n+o];let s=r,l=i;for(dt(e,t,r,n),t[2*i+o]>a&&dt(e,t,r,i);sa;)l--}t[2*r+o]===a?dt(e,t,r,l):(l++,dt(e,t,l,i)),l<=n&&(r=l+1),n<=l&&(i=l-1)}}function dt(e,t,n,r){ht(e,n,r),ht(t,2*n,2*r),ht(t,2*n+1,2*r+1)}function ht(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function ft(e,t,n,r){const i=e-n,o=t-r;return i*i+o*o}const pt=e=>e[0],gt=e=>e[1];class mt{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pt,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:gt,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:64,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Float64Array;this.nodeSize=r,this.points=e;const o=e.length<65536?Uint16Array:Uint32Array,a=this.ids=new o(e.length),s=this.coords=new i(2*e.length);for(let l=0;l=n&&c<=i&&u>=r&&u<=o&&l.push(e[a]);continue}const p=Math.floor((f+h)/2);c=t[2*p],u=t[2*p+1],c>=n&&c<=i&&u>=r&&u<=o&&l.push(e[p]);const g=(d+1)%2;(0===d?n<=c:r<=u)&&(s.push(f),s.push(p-1),s.push(g)),(0===d?i>=c:o>=u)&&(s.push(p+1),s.push(h),s.push(g))}return l}(this.ids,this.coords,e,t,n,r,this.nodeSize)}within(e,t,n){return function(e,t,n,r,i,o){const a=[0,e.length-1,0],s=[],l=i*i;for(;a.length;){const c=a.pop(),u=a.pop(),d=a.pop();if(u-d<=o){for(let i=d;i<=u;i++)ft(t[2*i],t[2*i+1],n,r)<=l&&s.push(e[i]);continue}const h=Math.floor((d+u)/2),f=t[2*h],p=t[2*h+1];ft(f,p,n,r)<=l&&s.push(e[h]);const g=(c+1)%2;(0===c?n-i<=f:r-i<=p)&&(a.push(d),a.push(h-1),a.push(g)),(0===c?n+i>=f:r+i>=p)&&(a.push(h+1),a.push(u),a.push(g))}return s}(this.ids,this.coords,e,t,n,this.nodeSize)}}var At="NOT_FOUND";var vt=function(e,t){return e===t};function yt(e,t){var n="object"===typeof t?t:{equalityCheck:t},r=n.equalityCheck,i=void 0===r?vt:r,o=n.maxSize,a=void 0===o?1:o,s=n.resultEqualityCheck,l=function(e){return function(t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,i=0;i-1){var i=n[r];return r>0&&(n.splice(r,1),n.unshift(i)),i.value}return At}return{get:r,put:function(t,i){r(t)===At&&(n.unshift({key:t,value:i}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(a,l);function u(){var t=c.get(arguments);if(t===At){if(t=e.apply(null,arguments),s){var n=c.getEntries().find((function(e){return s(e.value,t)}));n&&(t=n.value)}c.put(arguments,t)}return t}return u.clearCache=function(){return c.clear()},u}function bt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{},makeClusterId:e=>"{[".concat(e,"]}")};function Et(e){const{index:t}=e;return null!=t}function St(e){const{id:t}=e;return null!=t}function Ct(e,t,n,r){const{getLocationLon:i,getLocationLat:o,getLocationId:a}=t,s=Object.assign(Object.assign({},xt),r),{minZoom:l,maxZoom:c,nodeSize:u,makeClusterName:d,makeClusterId:h}=s,f=new Array(c+1);let p=new Array,g=0;for(const E of e){const e=i(E),t=o(E);p.push({x:(m=e,m/360+.5),y:Rt(t),weight:n(a(E)),zoom:1/0,index:g,parentId:-1,location:E}),g++}var m;f[c+1]=new mt(p,Ot,It,u,Float32Array);let A=c+1;for(let E=c;E>=l;E--){const e=Tt(p,E,f[A],s);e.length===p.length?(f[E]=f[A],f[A]=void 0,A=E,p=e):(A=E,p=e,f[E]=new mt(p,Ot,It,u,Float32Array))}if(0===f.length)return[];const v=f.map((e=>null===e||void 0===e?void 0:e.points.length)),y=(0,nt.Z)(v.filter((e=>e>0))),b=function(e,t){const{getLocationLon:n,getLocationLat:r}=t,i=new Map;let o=0;for(const s of e){const e=n(s),t=r(s),a="".concat(e,",").concat(t),l=i.get(a);i.set(a,l?l+1:1),o++}let a=0;for(const[s,l]of i)l>1&&a++;return o-a}(e,t);let _=v.indexOf(b);b=w;E--){let e;const t=f[E];if(!t)continue;E<_&&(e=st(f[A].points,(e=>e.map((e=>e.id?h(e.id):a(e.location)))),(e=>e.parentId)));const n=[];for(const r of t.points){const{x:t,y:s,numPoints:l,location:c}=r;if(Et(r))n.push({id:a(c),zoom:E,lat:o(c),lon:i(c)});else if(St(r)){const{id:i}=r,o=e&&e.get(i);if(!o)throw new Error("Cluster ".concat(i," doesn't have children"));n.push({id:h(i),name:d(i,l),zoom:E,lat:kt(s),lon:Mt(t),children:o})}}x.push({zoom:E,nodes:n}),A=E}return x}function Pt(e,t,n,r,i){return{x:e,y:t,zoom:1/0,id:n,parentId:-1,numPoints:r,weight:i}}function Tt(e,t,n,r){const i=[],{radius:o,extent:a}=r,s=o/(a*Math.pow(2,t));for(let l=0;l1?1:n}function Ot(e){return e.x}function It(e){return e.y}var Lt=n(62145);class Dt{constructor(e){this.getLocationId=e=>x(e)?e.id:this.accessors.getLocationId(e),this.getLocationName=e=>{let t;return x(e)&&w(e)?t=e.name:this.accessors.getLocationName&&(t=this.accessors.getLocationName(e)),t||(t="".concat(this.getLocationId(e))),t},this.getLocationLat=e=>x(e)?e.lat:this.accessors.getLocationLat(e),this.getLocationLon=e=>x(e)?e.lon:this.accessors.getLocationLon(e),this.getFlowOriginId=e=>E(e)?e.origin:this.accessors.getFlowOriginId(e),this.getFlowDestId=e=>E(e)?e.dest:this.accessors.getFlowDestId(e),this.getFlowMagnitude=e=>E(e)?e.count:this.accessors.getFlowMagnitude(e),this.getFlowTime=e=>{const{getFlowTime:t}=this.accessors;return t?t(e):void 0},this.accessors=e}setAccessors(e){this.accessors=e}getFlowmapDataAccessors(){return this.accessors}}var Nt=n(1384);const Ft=function(e){const t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=new Nt.DW(Object.assign(Object.assign({},e),{width:e.width+2*t,height:e.height+2*t})).getBounds();return[n[0][0],n[0][1],n[1][0],n[1][1]]},jt=e=>{if(e)return(0,be.Z)().range([.025,.5]).domain([0,Math.max.apply(null,e.map((e=>Math.abs(e||0))))])};var Bt=new Date,zt=new Date;function Zt(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t0))return s;do{s.push(a=new Date(+n)),t(n,o),e(n)}while(a=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(i.count=function(t,r){return Bt.setTime(+t),zt.setTime(+r),e(Bt),e(zt),Math.floor(n(Bt,zt))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?function(t){return r(t)%e===0}:function(t){return i.count(0,t)%e===0}):i:null}),i}const Ut=1e3,Ht=6e4,Vt=36e5,Gt=864e5,Wt=6048e5;function qt(e){return Zt((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/Wt}))}var Yt=qt(0),Xt=qt(1),Kt=qt(2),Qt=qt(3),$t=qt(4),Jt=qt(5),en=qt(6),tn=(Yt.range,Xt.range,Kt.range,Qt.range,$t.range,Jt.range,en.range,Zt((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/Gt}),(function(e){return e.getUTCDate()-1})));const nn=tn;tn.range;function rn(e){return Zt((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Ht)/Wt}))}var on=rn(0),an=rn(1),sn=rn(2),ln=rn(3),cn=rn(4),un=rn(5),dn=rn(6),hn=(on.range,an.range,sn.range,ln.range,cn.range,un.range,dn.range,Zt((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Ht)/Gt),(e=>e.getDate()-1)));const fn=hn;hn.range;var pn=Zt((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));pn.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Zt((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null};const gn=pn;pn.range;var mn=Zt((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}));mn.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Zt((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null};const An=mn;mn.range;function vn(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function yn(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function bn(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var _n,wn,xn,En={"-":"",_:" ",0:"0"},Sn=/^\s*\d+/,Cn=/^%/,Pn=/[\\^$*+?|[\]().{}]/g;function Tn(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o[e.toLowerCase(),t])))}function On(e,t,n){var r=Sn.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function In(e,t,n){var r=Sn.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Ln(e,t,n){var r=Sn.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Dn(e,t,n){var r=Sn.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Nn(e,t,n){var r=Sn.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Fn(e,t,n){var r=Sn.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function jn(e,t,n){var r=Sn.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Bn(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function zn(e,t,n){var r=Sn.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function Zn(e,t,n){var r=Sn.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Un(e,t,n){var r=Sn.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Hn(e,t,n){var r=Sn.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Vn(e,t,n){var r=Sn.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Gn(e,t,n){var r=Sn.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Wn(e,t,n){var r=Sn.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function qn(e,t,n){var r=Sn.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Yn(e,t,n){var r=Sn.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Xn(e,t,n){var r=Cn.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Kn(e,t,n){var r=Sn.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Qn(e,t,n){var r=Sn.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function $n(e,t){return Tn(e.getDate(),t,2)}function Jn(e,t){return Tn(e.getHours(),t,2)}function er(e,t){return Tn(e.getHours()%12||12,t,2)}function tr(e,t){return Tn(1+fn.count(gn(e),e),t,3)}function nr(e,t){return Tn(e.getMilliseconds(),t,3)}function rr(e,t){return nr(e,t)+"000"}function ir(e,t){return Tn(e.getMonth()+1,t,2)}function or(e,t){return Tn(e.getMinutes(),t,2)}function ar(e,t){return Tn(e.getSeconds(),t,2)}function sr(e){var t=e.getDay();return 0===t?7:t}function lr(e,t){return Tn(on.count(gn(e)-1,e),t,2)}function cr(e){var t=e.getDay();return t>=4||0===t?cn(e):cn.ceil(e)}function ur(e,t){return e=cr(e),Tn(cn.count(gn(e),e)+(4===gn(e).getDay()),t,2)}function dr(e){return e.getDay()}function hr(e,t){return Tn(an.count(gn(e)-1,e),t,2)}function fr(e,t){return Tn(e.getFullYear()%100,t,2)}function pr(e,t){return Tn((e=cr(e)).getFullYear()%100,t,2)}function gr(e,t){return Tn(e.getFullYear()%1e4,t,4)}function mr(e,t){var n=e.getDay();return Tn((e=n>=4||0===n?cn(e):cn.ceil(e)).getFullYear()%1e4,t,4)}function Ar(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Tn(t/60|0,"0",2)+Tn(t%60,"0",2)}function vr(e,t){return Tn(e.getUTCDate(),t,2)}function yr(e,t){return Tn(e.getUTCHours(),t,2)}function br(e,t){return Tn(e.getUTCHours()%12||12,t,2)}function _r(e,t){return Tn(1+nn.count(An(e),e),t,3)}function wr(e,t){return Tn(e.getUTCMilliseconds(),t,3)}function xr(e,t){return wr(e,t)+"000"}function Er(e,t){return Tn(e.getUTCMonth()+1,t,2)}function Sr(e,t){return Tn(e.getUTCMinutes(),t,2)}function Cr(e,t){return Tn(e.getUTCSeconds(),t,2)}function Pr(e){var t=e.getUTCDay();return 0===t?7:t}function Tr(e,t){return Tn(Yt.count(An(e)-1,e),t,2)}function Mr(e){var t=e.getUTCDay();return t>=4||0===t?$t(e):$t.ceil(e)}function kr(e,t){return e=Mr(e),Tn($t.count(An(e),e)+(4===An(e).getUTCDay()),t,2)}function Rr(e){return e.getUTCDay()}function Or(e,t){return Tn(Xt.count(An(e)-1,e),t,2)}function Ir(e,t){return Tn(e.getUTCFullYear()%100,t,2)}function Lr(e,t){return Tn((e=Mr(e)).getUTCFullYear()%100,t,2)}function Dr(e,t){return Tn(e.getUTCFullYear()%1e4,t,4)}function Nr(e,t){var n=e.getUTCDay();return Tn((e=n>=4||0===n?$t(e):$t.ceil(e)).getUTCFullYear()%1e4,t,4)}function Fr(){return"+0000"}function jr(){return"%"}function Br(e){return+e}function zr(e){return Math.floor(+e/1e3)}_n=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,o=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,c=kn(i),u=Rn(i),d=kn(o),h=Rn(o),f=kn(a),p=Rn(a),g=kn(s),m=Rn(s),A=kn(l),v=Rn(l),y={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:$n,e:$n,f:rr,g:pr,G:mr,H:Jn,I:er,j:tr,L:nr,m:ir,M:or,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Br,s:zr,S:ar,u:sr,U:lr,V:ur,w:dr,W:hr,x:null,X:null,y:fr,Y:gr,Z:Ar,"%":jr},b={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:vr,e:vr,f:xr,g:Lr,G:Nr,H:yr,I:br,j:_r,L:wr,m:Er,M:Sr,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Br,s:zr,S:Cr,u:Pr,U:Tr,V:kr,w:Rr,W:Or,x:null,X:null,y:Ir,Y:Dr,Z:Fr,"%":jr},_={a:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=A.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return E(e,t,n,r)},d:Un,e:Un,f:Yn,g:jn,G:Fn,H:Vn,I:Vn,j:Hn,L:qn,m:Zn,M:Gn,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:zn,Q:Kn,s:Qn,S:Wn,u:In,U:Ln,V:Dn,w:On,W:Nn,x:function(e,t,r){return E(e,n,t,r)},X:function(e,t,n){return E(e,r,t,n)},y:jn,Y:Fn,Z:Bn,"%":Xn};function w(e,t){return function(n){var r,i,o,a=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=yn(bn(o.y,0,1))).getUTCDay(),r=i>4||0===i?Xt.ceil(r):Xt(r),r=nn.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=vn(bn(o.y,0,1))).getDay(),r=i>4||0===i?an.ceil(r):an(r),r=fn.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?yn(bn(o.y,0,1)).getUTCDay():vn(bn(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,yn(o)):vn(o)}}function E(e,t,n,r){for(var i,o,a=0,s=t.length,l=n.length;a=l)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=_[i in En?t.charAt(a++):i])||(r=o(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return y.x=w(n,y),y.X=w(r,y),y.c=w(t,y),b.x=w(n,b),b.X=w(r,b),b.c=w(t,b),{format:function(e){var t=w(e+="",y);return t.toString=function(){return e},t},parse:function(e){var t=x(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=w(e+="",b);return t.toString=function(){return e},t},utcParse:function(e){var t=x(e+="",!0);return t.toString=function(){return e},t}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),wn=_n.format,xn=_n.parse,_n.utcFormat,_n.utcParse;var Zr=Zt((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*Ut)}),(function(e,t){return(t-e)/Ut}),(function(e){return e.getUTCSeconds()}));const Ur=Zr;Zr.range;var Hr=Zt((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Ut)}),(function(e,t){e.setTime(+e+t*Ht)}),(function(e,t){return(t-e)/Ht}),(function(e){return e.getMinutes()}));const Vr=Hr;Hr.range;var Gr=Zt((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Ut-e.getMinutes()*Ht)}),(function(e,t){e.setTime(+e+t*Vt)}),(function(e,t){return(t-e)/Vt}),(function(e){return e.getHours()}));const Wr=Gr;Gr.range;var qr=Zt((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}));const Yr=qr;qr.range;xn("%Y-%m-%d"),xn("%Y-%m-%d %H:%M"),xn("%Y-%m-%d %H:%M:%S"),xn("%Y"),xn("%Y-%m");var Xr;!function(e){e.SECOND="SECOND",e.MINUTE="MINUTE",e.HOUR="HOUR",e.DAY="DAY",e.MONTH="MONTH",e.YEAR="YEAR"}(Xr||(Xr={}));wn(".%L");const Kr=wn(":%S"),Qr=wn("%I:%M"),$r=wn("%I %p"),Jr=wn("%a %d"),ei=(wn("%b %d"),wn("%b")),ti=wn("%Y");const ni=[{order:0,key:Xr.SECOND,interval:Ur,format:Kr,formatFull:wn("%Y-%m-%d %H:%M:%S")},{order:1,key:Xr.MINUTE,interval:Vr,format:Qr,formatFull:wn("%Y-%m-%d %H:%M")},{order:2,key:Xr.HOUR,interval:Wr,format:$r,formatFull:wn("%a %d %b %Y, %I %p")},{order:3,key:Xr.DAY,interval:fn,format:Jr,formatFull:wn("%a %d %b %Y")},{order:4,key:Xr.MONTH,interval:Yr,format:ei,formatFull:wn("%b %Y")},{order:5,key:Xr.YEAR,interval:gn,format:ti,formatFull:wn("%Y")}];function ri(e){return ni.find((t=>t.key===e))}class ii{constructor(e){this.getFlowsFromProps=(e,t)=>t.flows,this.getLocationsFromProps=(e,t)=>t.locations,this.getClusterLevelsFromProps=(e,t)=>t.clusterLevels,this.getMaxTopFlowsDisplayNum=(e,t)=>e.settings.maxTopFlowsDisplayNum,this.getSelectedLocations=(e,t)=>{var n;return null===(n=e.filter)||void 0===n?void 0:n.selectedLocations},this.getLocationFilterMode=(e,t)=>{var n;return null===(n=e.filter)||void 0===n?void 0:n.locationFilterMode},this.getClusteringEnabled=(e,t)=>e.settings.clusteringEnabled,this.getLocationTotalsEnabled=(e,t)=>e.settings.locationTotalsEnabled,this.getLocationLabelsEnabled=(e,t)=>e.settings.locationLabelsEnabled,this.getZoom=(e,t)=>e.viewport.zoom,this.getViewport=(e,t)=>e.viewport,this.getSelectedTimeRange=(e,t)=>{var n;return null===(n=e.filter)||void 0===n?void 0:n.selectedTimeRange},this.getColorScheme=(e,t)=>e.settings.colorScheme,this.getDarkMode=(e,t)=>e.settings.darkMode,this.getFadeEnabled=(e,t)=>e.settings.fadeEnabled,this.getFadeOpacityEnabled=(e,t)=>e.settings.fadeOpacityEnabled,this.getFadeAmount=(e,t)=>e.settings.fadeAmount,this.getAnimate=(e,t)=>e.settings.animationEnabled,this.getInvalidLocationIds=_t(this.getLocationsFromProps,(e=>{if(!e)return;const t=[];for(const n of e){const e=this.accessors.getLocationId(n),r=this.accessors.getLocationLon(n),i=this.accessors.getLocationLat(n);-90<=i&&i<=90&&-180<=r&&r<=180||t.push(e)}return t.length>0?t:void 0})),this.getLocations=_t(this.getLocationsFromProps,this.getInvalidLocationIds,((e,t)=>{if(!e)return;if(!t||0===t.length)return e;const n=new Set(t),r=[];for(const i of e){const e=this.accessors.getLocationId(i);n.has(e)||r.push(i)}return r})),this.getLocationIds=_t(this.getLocations,(e=>{if(!e)return;const t=new Set;for(const n of e)t.add(this.accessors.getLocationId(n));return t})),this.getSelectedLocationsSet=_t(this.getSelectedLocations,(e=>e&&e.length>0?new Set(e):void 0)),this.getSortedFlowsForKnownLocations=_t(this.getFlowsFromProps,this.getLocationIds,((e,t)=>{if(!t||!e)return;const n=[];for(const r of e){const e=this.accessors.getFlowOriginId(r),i=this.accessors.getFlowDestId(r);t.has(e)&&t.has(i)&&n.push(r)}return n.sort(((e,t)=>(0,tt.Z)(Math.abs(this.accessors.getFlowMagnitude(e)),Math.abs(this.accessors.getFlowMagnitude(t)))))})),this.getActualTimeExtent=_t(this.getSortedFlowsForKnownLocations,(e=>{if(!e)return;let t=null,n=null;for(const r of e){const e=this.accessors.getFlowTime(r);e&&((null==t||t>e)&&(t=e),(null==n||n{if(!e||!t)return;const n=(0,nt.Z)(e,(e=>{const t=this.accessors.getFlowTime(e);return t?function(e){let t;for(const n of ni){const{interval:r}=n;if(r(e)e.order===i)));var i;return r?r.key:void 0})),this.getTimeExtent=_t(this.getActualTimeExtent,this.getTimeGranularityKey,((e,t)=>{const n=t?ri(t):void 0;if(!e||!(null===n||void 0===n?void 0:n.interval))return;const{interval:r}=n;return[e[0],r.offset(r.floor(e[1]),1)]})),this.getSortedFlowsForKnownLocationsFilteredByTime=_t(this.getSortedFlowsForKnownLocations,this.getTimeExtent,this.getSelectedTimeRange,((e,t,n)=>{if(e)return!t||!n||t[0]===n[0]&&t[1]===n[1]?e:e.filter((e=>{const t=this.accessors.getFlowTime(e);return t&&n[0]<=t&&t{if(!t||!e)return t;const n=new Set;for(const i of e)n.add(this.accessors.getFlowOriginId(i)),n.add(this.accessors.getFlowDestId(i));const r=[];for(const i of t)n.has(this.accessors.getLocationId(i))&&r.push(i);return r})),this.getLocationsById=_t(this.getLocationsHavingFlows,(e=>{if(!e)return;const t=new Map;for(const n of e)t.set(this.accessors.getLocationId(n),n);return t})),this.getLocationWeightGetter=_t(this.getSortedFlowsForKnownLocations,(e=>{if(!e)return;const t=function(e,t){let{getFlowOriginId:n,getFlowDestId:r,getFlowMagnitude:i}=t;const o={incoming:new Map,outgoing:new Map};for(const a of e){const e=n(a),t=r(a),s=i(a);o.incoming.set(t,(o.incoming.get(t)||0)+s),o.outgoing.set(e,(o.outgoing.get(e)||0)+s)}return e=>Math.max(Math.abs(o.incoming.get(e)||0),Math.abs(o.outgoing.get(e)||0))}(e,this.accessors.getFlowmapDataAccessors());return t})),this.getClusterLevels=_t(this.getClusterLevelsFromProps,this.getLocationsHavingFlows,this.getLocationWeightGetter,((e,t,n)=>{if(e)return e;if(!t||!n)return;return Ct(t,this.accessors.getFlowmapDataAccessors(),n,{maxZoom:20})})),this.getClusterIndex=_t(this.getLocationsById,this.getLocationWeightGetter,this.getClusterLevels,((e,t,n)=>{if(!e||!t||!n)return;const r=function(e){const t=new Map,n=new Map,r=new Map;for(const{zoom:c,nodes:u}of e){t.set(c,u);for(const e of u)if(w(e))n.set(e.id,e);else{const{id:t}=e,n=r.get(t);(null==n||n>c)&&r.set(t,c)}}const[i,o]=rt(e,(e=>e.zoom));if(null==i||null==o)throw new Error("Could not determine minZoom or maxZoom");const a=new Map;for(const c of n.values()){const{zoom:e}=c;let t=a.get(e);t||(t=new Map,a.set(e,t)),s(c,(e=>{null===t||void 0===t||t.set(e,c)}))}function s(e,t){for(const r of e.children){const e=n.get(r);e?s(e,t):t(r)}}function l(e,t){const n=a.get(t);if(!n)return;const r=n.get(e);return r?r.id:void 0}return{availableZoomLevels:e.map((e=>+e.zoom)).sort(((e,t)=>(0,it.Z)(e,t))),getClusterNodesFor:e=>{if(void 0!==e)return t.get(e)},getClusterById:e=>n.get(e),getMinZoomForLocation:e=>r.get(e)||i,expandCluster:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;const r=[],i=(e,r)=>{if(t>e.zoom)for(const t of e.children){const e=n.get(t);e?i(e,r):r.push(t)}else r.push(e.id)};return i(e,r),r},findClusterFor:l,aggregateFlows:function(e,t,n){let{getFlowOriginId:r,getFlowDestId:i,getFlowMagnitude:a}=n,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(t>o)return e;const c=[],u=new Map,d=(e,t)=>"".concat(e,":").concat(t),{flowCountsMapReduce:h={map:a,reduce:(e,t)=>(e||0)+t}}=s;for(const o of e){const e=r(o),n=i(o),a=l(e,t)||e,s=l(n,t)||n,f=d(a,s);if(a===e&&s===n)c.push(o);else{let e=u.get(f);e?e.count=h.reduce(e.count,h.map(o)):(e={origin:a,dest:s,count:h.map(o),aggregate:!0},c.push(e),u.set(f,e))}}return c}}}(n);return function(e,t,n,r,i){const{getLocationId:o,getLocationName:a,getLocationClusterName:s}=r,l=e=>{const t=n.get(e);return t?a?a(t):o(t)||e:'"'.concat(e,'"')};for(const c of t)for(const t of c.nodes)if(w(t)){const n=e.expandCluster(t);if(n.sort(((e,t)=>(0,tt.Z)(i(e),i(t)))),s)t.name=s(n);else{const e=n[0],r=2===n.length?n[1]:void 0;t.name='"'.concat(l(e),'" and ').concat(r?'"'.concat(l(r),'"'):"".concat(n.length-1," others"))}}else t.name=l(t.id)}(r,n,e,this.accessors.getFlowmapDataAccessors(),t),r})),this.getAvailableClusterZoomLevels=_t(this.getClusterIndex,this.getSelectedLocations,((e,t)=>{if(!e)return;let n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;const i=t=>{const i=e.getClusterById(t);if(i)r=Math.max(r,i.zoom),n=Math.min(n,i.zoom);else{const n=e.getMinZoomForLocation(t);r=Math.max(r,n)}};if(t)for(const o of t)i(o);return e.availableZoomLevels.filter((e=>r<=e&&e<=n))})),this._getClusterZoom=_t(this.getClusterIndex,this.getZoom,this.getAvailableClusterZoomLevels,((e,t,n)=>{if(!e)return;if(!n||null==t)return;return function(e,t){if(!e.length)throw new Error("No available zoom levels");return e[Math.min((0,Lt.Nw)(e,Math.floor(t)),e.length-1)]}(n,t)})),this.getClusterZoom=(e,t)=>{const{settings:n}=e;if(n.clusteringEnabled)return n.clusteringAuto||null==n.clusteringLevel?this._getClusterZoom(e,t):n.clusteringLevel},this.getLocationsForSearchBox=_t(this.getClusteringEnabled,this.getLocationsHavingFlows,this.getSelectedLocations,this.getClusterZoom,this.getClusterIndex,((e,t,n,r,i)=>{if(!t)return;let o=Array.from(t);if(i&&n){const e=[];for(const t of n){const n=i.getClusterById(t);n&&!o.find((e=>(x(e)?e.id:this.accessors.getLocationId(e))===t))&&e.push(n)}e.length>0&&(o=o.concat(e))}return o})),this.getDiffMode=_t(this.getFlowsFromProps,(e=>{if(e)for(const t of e)if(this.accessors.getFlowMagnitude(t)<0)return!0;return!1})),this._getFlowmapColors=_t(this.getDiffMode,this.getColorScheme,this.getDarkMode,this.getFadeEnabled,this.getFadeOpacityEnabled,this.getFadeAmount,this.getAnimate,et),this.getFlowmapColorsRGBA=_t(this._getFlowmapColors,(e=>function(e){return void 0!==e.positive}(e)?function(e){const t=Je(e);return Object.assign(Object.assign({},t),{positive:$e(e&&e.positive,Ie,t.darkMode),negative:$e(e&&e.negative,Le,t.darkMode)})}(e):function(e){const t=Je(e);return Object.assign(Object.assign({},t),$e(e,Re,t.darkMode))}(e))),this.getUnknownLocations=_t(this.getLocationIds,this.getFlowsFromProps,this.getSortedFlowsForKnownLocations,((e,t,n)=>{if(!e||!t)return;if(n)return;const r=new Set;for(const i of t)e.has(this.accessors.getFlowOriginId(i))||r.add(this.accessors.getFlowOriginId(i)),e.has(this.accessors.getFlowDestId(i))||r.add(this.accessors.getFlowDestId(i));return r})),this.getSortedAggregatedFilteredFlows=_t(this.getClusterIndex,this.getClusteringEnabled,this.getSortedFlowsForKnownLocationsFilteredByTime,this.getClusterZoom,this.getTimeExtent,((e,t,n,r,i)=>{if(!n)return;let o;return o=t&&e&&null!=r?e.aggregateFlows(n,r,this.accessors.getFlowmapDataAccessors()):function(e,t){const n=st(e,(e=>({aggregate:!0,origin:t.getFlowOriginId(e[0]),dest:t.getFlowDestId(e[0]),count:e.reduce(((e,n)=>{const r=t.getFlowMagnitude(n);return r&&!isNaN(r)&&isFinite(r)?e+r:e}),0)})),t.getFlowOriginId,t.getFlowDestId),r=[];for(const i of n.values())for(const e of i.values())r.push(e);return r}(n,this.accessors.getFlowmapDataAccessors()),o.sort(((e,t)=>(0,tt.Z)(Math.abs(this.accessors.getFlowMagnitude(e)),Math.abs(this.accessors.getFlowMagnitude(t))))),o})),this.getExpandedSelectedLocationsSet=_t(this.getClusteringEnabled,this.getSelectedLocationsSet,this.getClusterIndex,((e,t,n)=>{if(!t||!n)return t;const r=new Set;for(const i of t){const e=n.getClusterById(i);if(e){const t=n.expandCluster(e);for(const e of t)r.add(e)}else r.add(i)}return r})),this.getTotalCountsByTime=_t(this.getSortedFlowsForKnownLocations,this.getTimeGranularityKey,this.getTimeExtent,this.getExpandedSelectedLocationsSet,this.getLocationFilterMode,((e,t,n,r,i)=>{const o=t?ri(t):void 0;if(!e||!o||!n)return;const a=e.reduce(((e,t)=>{var n;if(this.isFlowInSelection(t,r,i)){const r=o.interval(this.accessors.getFlowTime(t)).getTime();e.set(r,(null!==(n=e.get(r))&&void 0!==n?n:0)+this.accessors.getFlowMagnitude(t))}return e}),new Map);return Array.from(a.entries()).map((e=>{let[t,n]=e;return{time:new Date(t),count:n}}))})),this.getMaxLocationCircleSize=_t(this.getLocationTotalsEnabled,(e=>e?17:1)),this.getViewportBoundingBox=_t(this.getViewport,this.getMaxLocationCircleSize,Ft),this.getLocationsForZoom=_t(this.getClusteringEnabled,this.getLocationsHavingFlows,this.getClusterIndex,this.getClusterZoom,((e,t,n,r)=>e&&n?n.getClusterNodesFor(r):t)),this.getLocationTotals=_t(this.getLocationsForZoom,this.getSortedAggregatedFilteredFlows,this.getSelectedLocationsSet,this.getLocationFilterMode,((e,t,n,r)=>{if(!t)return;const i=new Map,o=(e,t)=>{var n;const r=null!==(n=i.get(e))&&void 0!==n?n:{incomingCount:0,outgoingCount:0,internalCount:0};return null!=t.incomingCount&&(r.incomingCount+=t.incomingCount),null!=t.outgoingCount&&(r.outgoingCount+=t.outgoingCount),null!=t.internalCount&&(r.internalCount+=t.internalCount),r};for(const a of t)if(this.isFlowInSelection(a,n,r)){const e=this.accessors.getFlowOriginId(a),t=this.accessors.getFlowDestId(a),n=this.accessors.getFlowMagnitude(a);e===t?i.set(e,o(e,{internalCount:n})):(i.set(e,o(e,{outgoingCount:n})),i.set(t,o(t,{incomingCount:n})))}return i})),this.getLocationsTree=_t(this.getLocationsForZoom,(e=>{if(e)return new mt(e,(e=>ai(this.accessors.getLocationLon(e))),(e=>si(this.accessors.getLocationLat(e))))})),this._getLocationIdsInViewport=_t(this.getLocationsTree,this.getViewportBoundingBox,((e,t)=>{const n=this._getLocationsInBboxIndices(e,t);if(n)return new Set(n.map((t=>e.points[t].id)))})),this.getLocationIdsInViewport=bt(yt,((e,t,n)=>{if(e===t)return!0;if(null==e||null==t)return!1;if(e.size!==t.size)return!1;for(const r of e)if(!t.has(r))return!1;return!0}))(this._getLocationIdsInViewport,(e=>{if(e)return e})),this.getTotalUnfilteredCount=_t(this.getSortedFlowsForKnownLocations,(e=>{if(e)return e.reduce(((e,t)=>e+this.accessors.getFlowMagnitude(t)),0)})),this.getTotalFilteredCount=_t(this.getSortedAggregatedFilteredFlows,this.getSelectedLocationsSet,this.getLocationFilterMode,((e,t,n)=>{if(!e)return;return e.reduce(((e,r)=>this.isFlowInSelection(r,t,n)?e+this.accessors.getFlowMagnitude(r):e),0)})),this._getLocationTotalsExtent=_t(this.getLocationTotals,(e=>oi(e,void 0))),this._getLocationTotalsForViewportExtent=_t(this.getLocationTotals,this.getLocationIdsInViewport,((e,t)=>oi(e,t))),this.getLocationTotalsExtent=(e,t)=>e.settings.adaptiveScalesEnabled?this._getLocationTotalsForViewportExtent(e,t):this._getLocationTotalsExtent(e,t),this.getFlowsForFlowmapLayer=_t(this.getSortedAggregatedFilteredFlows,this.getLocationIdsInViewport,this.getSelectedLocationsSet,this.getLocationFilterMode,this.getMaxTopFlowsDisplayNum,((e,t,n,r,i)=>{if(!e||!t)return;const o=[];let a=0;for(const s of e){const e=this.accessors.getFlowOriginId(s),l=this.accessors.getFlowDestId(s);if((t.has(e)||t.has(l))&&this.isFlowInSelection(s,n,r)&&e!==l&&(o.push(s),a++),a>i)break}return o.reverse()})),this._getFlowMagnitudeExtent=_t(this.getSortedAggregatedFilteredFlows,this.getSelectedLocationsSet,this.getLocationFilterMode,((e,t,n)=>{if(!e)return;let r;for(const i of e)if(this.accessors.getFlowOriginId(i)!==this.accessors.getFlowDestId(i)&&this.isFlowInSelection(i,t,n)){const e=this.accessors.getFlowMagnitude(i);null==r?r=[e,e]:(er[1]&&(r[1]=e))}return r})),this._getAdaptiveFlowMagnitudeExtent=_t(this.getFlowsForFlowmapLayer,(e=>{if(!e)return;const t=rt(e,this.accessors.getFlowMagnitude);return void 0!==t[0]&&void 0!==t[1]?t:void 0})),this.getFlowMagnitudeExtent=(e,t)=>e.settings.adaptiveScalesEnabled?this._getAdaptiveFlowMagnitudeExtent(e,t):this._getFlowMagnitudeExtent(e,t),this.getLocationMaxAbsTotalGetter=_t(this.getLocationTotals,(e=>t=>{const n=null===e||void 0===e?void 0:e.get(t);if(n)return Math.max(Math.abs(n.incomingCount+n.internalCount),Math.abs(n.outgoingCount+n.internalCount))})),this.getFlowThicknessScale=_t(this.getFlowMagnitudeExtent,jt),this.getCircleSizeScale=_t(this.getMaxLocationCircleSize,this.getLocationTotalsEnabled,this.getLocationTotalsExtent,((e,t,n)=>t?n?(0,_e._b)().range([0,e]).domain([0,Math.max.apply(null,n.map((e=>Math.abs(e||0))))]):void 0:()=>e)),this.getInCircleSizeGetter=_t(this.getCircleSizeScale,this.getLocationTotals,((e,t)=>n=>{const r=null===t||void 0===t?void 0:t.get(n);return r&&e&&e(Math.abs(r.incomingCount+r.internalCount))||0})),this.getOutCircleSizeGetter=_t(this.getCircleSizeScale,this.getLocationTotals,((e,t)=>n=>{const r=null===t||void 0===t?void 0:t.get(n);return r&&e&&e(Math.abs(r.outgoingCount+r.internalCount))||0})),this.getSortedLocationsForZoom=_t(this.getLocationsForZoom,this.getInCircleSizeGetter,this.getOutCircleSizeGetter,((e,t,n)=>{if(!e)return;return[...e].sort(((e,r)=>{const i=this.accessors.getLocationId(e),o=this.accessors.getLocationId(r);return(0,it.Z)(Math.max(t(i),n(i)),Math.max(t(o),n(o)))}))})),this.getLocationsForFlowmapLayer=_t(this.getSortedLocationsForZoom,(e=>e)),this.getLocationsForFlowmapLayerById=_t(this.getLocationsForFlowmapLayer,(e=>{if(e)return e.reduce(((e,t)=>(e.set(this.accessors.getLocationId(t),t),e)),new Map)})),this.getLocationOrClusterByIdGetter=_t(this.getClusterIndex,this.getLocationsById,((e,t)=>n=>{var r;return null!==(r=null===e||void 0===e?void 0:e.getClusterById(n))&&void 0!==r?r:null===t||void 0===t?void 0:t.get(n)})),this.getLayersData=_t(this.getLocationsForFlowmapLayer,this.getFlowsForFlowmapLayer,this.getFlowmapColorsRGBA,this.getLocationsForFlowmapLayerById,this.getLocationIdsInViewport,this.getInCircleSizeGetter,this.getOutCircleSizeGetter,this.getFlowThicknessScale,this.getAnimate,this.getLocationLabelsEnabled,((e,t,n,r,i,o,a,s,l,c)=>this._prepareLayersData(e,t,n,r,i,o,a,s,l,c))),this.accessors=new Dt(e),this.setAccessors(e)}setAccessors(e){this.accessors=new Dt(e)}getAggregateAccessors(){return this.accessors}prepareLayersData(e,t){const n=this.getLocationsForFlowmapLayer(e,t)||[],r=this.getFlowsForFlowmapLayer(e,t)||[],i=this.getFlowmapColorsRGBA(e,t),o=this.getLocationsForFlowmapLayerById(e,t),a=this.getLocationIdsInViewport(e,t),s=this.getInCircleSizeGetter(e,t),l=this.getOutCircleSizeGetter(e,t),c=this.getFlowThicknessScale(e,t),u=this.getLocationLabelsEnabled(e,t);return this._prepareLayersData(n,r,i,o,a,s,l,c,e.settings.animationEnabled,u)}_prepareLayersData(e,t,n,r,i,o,a,s,l,c){e||(e=[]),t||(t=[]);const{getFlowOriginId:u,getFlowDestId:d,getFlowMagnitude:h,getLocationId:f,getLocationLon:p,getLocationLat:g,getLocationName:m}=this.accessors,A=function(e,t,n){const r=t?t[0]:0,i=t?t[1]:0;if(Ke(e)){const t=Xe([0,i],e.positive.flows.scheme,n),o=Xe([0,r],e.negative.flows.scheme,n);return e=>e>=0?t(e):o(e)}const o=Xe([0,i||0],e.flows.scheme,n);return e=>o(e)}(n,rt(t,(e=>h(e))),!1),v=Float32Array.from(function*(){for(const t of e)yield p(t),yield g(t)}()),y=Ke(n)?n.positive.locationCircles.inner:n.locationCircles.inner,b=Uint8Array.from(function*(){for(const t of e)yield*y}()),_=Float32Array.from(function*(){for(const t of e){const e=f(t);yield(null===i||void 0===i?void 0:i.has(e))?o(e):1}}()),w=Float32Array.from(function*(){for(const t of e){const e=f(t);yield(null===i||void 0===i?void 0:i.has(e))?a(e):1}}()),x=Float32Array.from(function*(){for(const e of t){const t=null===r||void 0===r?void 0:r.get(u(e));yield t?p(t):0,yield t?g(t):0}}()),E=Float32Array.from(function*(){for(const e of t){const t=null===r||void 0===r?void 0:r.get(d(e));yield t?p(t):0,yield t?g(t):0}}()),S=Float32Array.from(function*(){for(const e of t)yield s&&s(h(e))||0}()),C=Float32Array.from(function*(){for(const e of t){const t=u(e),n=d(e);yield Math.max(o(t),a(t)),yield Math.max(o(n),a(n))}}()),P=Uint8Array.from(function*(){for(const e of t)yield*A(h(e))}()),T=l?Float32Array.from(function*(){for(const e of t)yield new wt.alea("".concat(u(e),"-").concat(d(e)))()}()):void 0;return Object.assign({circleAttributes:{length:e.length,attributes:{getPosition:{value:v,size:2},getColor:{value:b,size:4},getInRadius:{value:_,size:1},getOutRadius:{value:w,size:1}}},lineAttributes:{length:t.length,attributes:Object.assign({getSourcePosition:{value:x,size:2},getTargetPosition:{value:E,size:2},getThickness:{value:S,size:1},getColor:{value:P,size:4},getEndpointOffsets:{value:C,size:2}},T?{getStaggering:{value:T,size:1}}:{})}},c?{locationLabels:e.map(m)}:void 0)}getLocationsInBbox(e,t){if(e)return this._getLocationsInBboxIndices(e,t).map((t=>e.points[t]))}_getLocationsInBboxIndices(e,t){if(!e)return;const[n,r,i,o]=t,[a,s,l,c]=[ai(n),si(r),ai(i),si(o)];return e.range(Math.min(a,l),Math.min(s,c),Math.max(a,l),Math.max(s,c))}isFlowInSelection(e,t,n){const r=this.accessors.getFlowOriginId(e),i=this.accessors.getFlowDestId(e);if(t)switch(n){case v.ALL:return t.has(r)||t.has(i);case v.BETWEEN:return t.has(r)&&t.has(i);case v.INCOMING:return t.has(i);case v.OUTGOING:return t.has(r)}return!0}}function oi(e,t){if(!e)return;let n;for(const[r,{incomingCount:i,outgoingCount:o,internalCount:a}]of e.entries())if(null==t||t.has(r)){const e=Math.min(i+a,o+a,a),t=Math.max(i+a,o+a,a);n?(en[1]&&(n[1]=t)):n=[e,t]}return n}function ai(e){return e/360+.5}function si(e){const t=Math.sin(e*Math.PI/180),n=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return n<0?0:n>1?1:n}function li(e,t){const{getInRadius:n,getOutRadius:r}=e.attributes;return Math.max(n.value[t],r.value[t])}function ci(e,t){const{getPosition:n}=e.attributes;return[n.value[2*t],n.value[2*t+1]]}class ui{constructor(){this._partials=new Float64Array(32),this._n=0}add(e){const t=this._partials;let n=0;for(let r=0;r0){for(o=e[--i];i>0&&(t=o,n=e[--i],o=t+n,r=n-(o-t),!r););i>0&&(r<0&&e[i-1]<0||r>0&&e[i-1]>0)&&(n=2*r,t=o+n,n==t-o&&(o=t))}return o}}var di=1e-6,hi=Math.PI,fi=hi/2,pi=hi/4,gi=2*hi,mi=180/hi,Ai=hi/180,vi=Math.abs,yi=(Math.atan,Math.atan2),bi=Math.cos,_i=(Math.ceil,Math.exp,Math.floor,Math.hypot,Math.log,Math.pow,Math.sin),wi=(Math.sign,Math.sqrt);Math.tan;function xi(){}var Ei,Si,Ci,Pi,Ti,Mi=new ui,ki=new ui,Ri={point:xi,lineStart:xi,lineEnd:xi,polygonStart:function(){Mi=new ui,Ri.lineStart=Oi,Ri.lineEnd=Ii},polygonEnd:function(){var e=+Mi;ki.add(e<0?gi+e:e),this.lineStart=this.lineEnd=this.point=xi},sphere:function(){ki.add(gi)}};function Oi(){Ri.point=Li}function Ii(){Di(Ei,Si)}function Li(e,t){Ri.point=Di,Ei=e,Si=t,Ci=e*=Ai,Pi=bi(t=(t*=Ai)/2+pi),Ti=_i(t)}function Di(e,t){var n=(e*=Ai)-Ci,r=n>=0?1:-1,i=r*n,o=bi(t=(t*=Ai)/2+pi),a=_i(t),s=Ti*a,l=Pi*o+s*bi(i),c=s*r*_i(i);Mi.add(yi(c,l)),Ci=e,Pi=o,Ti=a}function Ni(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function Fi(e,t){e&&Ki.hasOwnProperty(e.type)&&Ki[e.type](e,t)}var ji,Bi,zi,Zi,Ui,Hi,Vi,Gi,Wi,qi,Yi,Xi={Feature:function(e,t){Fi(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,i=n.length;++rdi?Zi=90:Wi<-di&&(Bi=-90),Yi[0]=ji,Yi[1]=zi},sphere:function(){ji=-(zi=180),Bi=-(Zi=90)}};function eo(e,t){qi.push(Yi=[ji=e,zi=e]),tZi&&(Zi=t)}function to(e,t){var n=function(e){var t=e[0],n=e[1],r=bi(n);return[r*bi(t),r*_i(t),_i(n)]}([e*Ai,t*Ai]);if(Gi){var r=Ni(Gi,n),i=Ni([r[1],-r[0],0],r);!function(e){var t=wi(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}(i),i=function(e){return[yi(e[1],e[0]),(t=e[2],t>1?fi:t<-1?-fi:Math.asin(t))];var t}(i);var o,a=e-Ui,s=a>0?1:-1,l=i[0]*mi*s,c=vi(a)>180;c^(s*UiZi&&(Zi=o):c^(s*Ui<(l=(l+360)%360-180)&&lZi&&(Zi=t)),c?eso(ji,zi)&&(zi=e):so(e,zi)>so(ji,zi)&&(ji=e):zi>=ji?(ezi&&(zi=e)):e>Ui?so(ji,e)>so(ji,zi)&&(zi=e):so(e,zi)>so(ji,zi)&&(ji=e)}else qi.push(Yi=[ji=e,zi=e]);tZi&&(Zi=t),Gi=n,Ui=e}function no(){Ji.point=to}function ro(){Yi[0]=ji,Yi[1]=zi,Ji.point=eo,Gi=null}function io(e,t){if(Gi){var n=e-Ui;Wi.add(vi(n)>180?n+(n>0?360:-360):n)}else Hi=e,Vi=t;Ri.point(e,t),to(e,t)}function oo(){Ri.lineStart()}function ao(){io(Hi,Vi),Ri.lineEnd(),vi(Wi)>di&&(ji=-(zi=180)),Yi[0]=ji,Yi[1]=zi,Gi=null}function so(e,t){return(t-=e)<0?t+360:t}function lo(e,t){return e[0]-t[0]}function co(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:tso(r[0],r[1])&&(r[1]=i[1]),so(i[0],r[1])>so(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-1/0,t=0,r=o[n=o.length-1];t<=n;r=i,++t)i=o[t],(s=so(r[1],i[0]))>a&&(a=s,ji=i[0],zi=r[1])}return qi=Yi=null,ji===1/0||Bi===1/0?[[NaN,NaN],[NaN,NaN]]:[[ji,Bi],[zi,Zi]]}function ho(e,t,n,r){const i=e=>({type:"Point",coordinates:t(e)});let o;if(Array.isArray(e))o=e.map(i);else{o=[];for(const t of e)o.push(i(t))}return function(e,t,n){const{pad:r=.05,maxZoom:i=100}=n||{},o=uo(e),[[a,s],[l,c]]=o,u=r?[[a-r*(l-a),s-r*(c-s)],[l+r*(l-a),c+r*(c-s)]]:o,[d,h]=t;return Object.assign(Object.assign({},(0,Nt.Xg)({width:d,height:h,bounds:u,padding:null===n||void 0===n?void 0:n.padding,maxZoom:i})),{width:d,height:h,bearing:0,pitch:0})}({type:"GeometryCollection",geometries:o},n,r)}var fo,po=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))};class go{constructor(e){this.selectors=new ii(e),this.flowmapData=void 0,this.flowmapState=void 0}setAccessors(e){this.selectors.setAccessors(e)}setFlowmapData(e){this.flowmapData=e}getSelectors(){return this.selectors}getFlowmapData(){return this.flowmapData}setFlowmapState(e){return po(this,void 0,void 0,(function*(){this.flowmapState=e}))}getFlowmapState(){return this.flowmapState}getFlowByIndex(e){return po(this,void 0,void 0,(function*(){if(!this.flowmapState||!this.flowmapData)return;const t=this.selectors.getFlowsForFlowmapLayer(this.flowmapState,this.flowmapData);return null===t||void 0===t?void 0:t[e]}))}getLocationByIndex(e){return po(this,void 0,void 0,(function*(){if(!this.flowmapState||!this.flowmapData)return;const t=this.selectors.getLocationsForFlowmapLayer(this.flowmapState,this.flowmapData);return null===t||void 0===t?void 0:t[e]}))}getLayersData(){return po(this,void 0,void 0,(function*(){if(this.flowmapState&&this.flowmapData)return this.selectors.getLayersData(this.flowmapState,this.flowmapData)}))}getLocationById(e){return po(this,void 0,void 0,(function*(){if(!this.flowmapState||!this.flowmapData)return;const t=this.selectors.getClusterIndex(this.flowmapState,this.flowmapData);if(t){const n=t.getClusterById(e);if(n)return n}const n=this.selectors.getLocationsById(this.flowmapState,this.flowmapData);return null===n||void 0===n?void 0:n.get(e)}))}getTotalsForLocation(e){var t;return po(this,void 0,void 0,(function*(){if(this.flowmapState&&this.flowmapData)return null===(t=this.selectors.getLocationTotals(this.flowmapState,this.flowmapData))||void 0===t?void 0:t.get(e)}))}getViewportForLocations(e,t){var n;return po(this,void 0,void 0,(function*(){if(null===(n=this.flowmapData)||void 0===n?void 0:n.locations)return ho(this.flowmapData.locations,(e=>[this.selectors.accessors.getLocationLon(e),this.selectors.accessors.getLocationLat(e)]),e,t)}))}updateLayersData(e){return po(this,void 0,void 0,(function*(){e(yield this.getLayersData())}))}getClusterZoom(){return this.flowmapState&&this.flowmapData?this.selectors.getClusterZoom(this.flowmapState,this.flowmapData):void 0}getClusterIndex(){return this.flowmapState&&this.flowmapData?this.selectors.getClusterIndex(this.flowmapState,this.flowmapData):void 0}getLocationsById(){return this.flowmapState&&this.flowmapData?this.selectors.getLocationsById(this.flowmapState,this.flowmapData):void 0}getLocationTotals(){return this.flowmapState&&this.flowmapData?this.selectors.getLocationTotals(this.flowmapState,this.flowmapData):void 0}getFlowsForFlowmapLayer(){return this.flowmapState&&this.flowmapData?this.selectors.getFlowsForFlowmapLayer(this.flowmapState,this.flowmapData):void 0}}!function(e){e.LOCATION="location",e.FLOW="flow"}(fo||(fo={}));var mo=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))};const Ao=["filter","locationTotalsEnabled","locationLabelsEnabled","adaptiveScalesEnabled","animationEnabled","clusteringEnabled","clusteringLevel","fadeEnabled","fadeOpacityEnabled","clusteringAuto","darkMode","fadeAmount","colorScheme","highlightColor","maxTopFlowsDisplayNum"];var vo;!function(e){e.LOCATION="location",e.FLOW="flow"}(vo||(vo={}));class yo extends y.Z{constructor(e){super(Object.assign(Object.assign({},e),{onHover:(t,n)=>{const r=Date.now();this.setState({highlightedObject:this._getHighlightedObject(t),lastHoverTime:r});const{onHover:i}=e;i&&this._getFlowmapLayerPickingInfo(t).then((e=>{var t,o;(null!==(o=null===(t=this.state)||void 0===t?void 0:t.lastHoverTime)&&void 0!==o?o:0)<=r&&(this.setState({pickingInfo:e}),i(e,n))}))},onClick:(t,n)=>{const{onClick:r}=e,i=Date.now();this.setState({lastClickTime:i}),r&&this._getFlowmapLayerPickingInfo(t).then((e=>{var t,o;(null!==(o=null===(t=this.state)||void 0===t?void 0:t.lastClickTime)&&void 0!==o?o:0)<=i&&(this.setState({pickingInfo:e}),e&&r(e,n))}))}}))}initializeState(){this.state={accessors:new Dt(this.props),dataProvider:this._getOrMakeDataProvider(),layersData:void 0,highlightedObject:void 0,pickingInfo:void 0,lastHoverTime:void 0,lastClickTime:void 0}}getPickingInfo(e){let{info:t}=e;var n,r;if(!t.object){const e=null===(r=null===(n=this.state)||void 0===n?void 0:n.pickingInfo)||void 0===r?void 0:r.object;if(e)return Object.assign(Object.assign({},t),{object:e,picked:!0})}return t}_getOrMakeDataProvider(){const{data:e,dataProvider:t}=this.props;if(function(e){return e&&"function"===typeof e.setFlowmapState&&"function"===typeof e.getViewportForLocations&&"function"===typeof e.getFlowByIndex&&"function"===typeof e.getLocationById&&"function"===typeof e.getLocationByIndex&&"function"===typeof e.getLayersData}(t))return t;if(function(e){return e&&e.locations&&e.flows}(e)){const t=new go(this.props);return t.setFlowmapData(e),t}throw new Error("FlowmapLayer: data must be a FlowmapDataProvider or FlowmapData")}_updateDataProvider(){this.setState({dataProvider:this._getOrMakeDataProvider()})}shouldUpdateState(e){const{changeFlags:t}=e;return!!t.viewportChanged||super.shouldUpdateState(e)}updateState(e){let{oldProps:t,props:n,changeFlags:r}=e;if(r.propsChanged,r.dataChanged&&this._updateDataProvider(),(r.viewportChanged||r.dataChanged)&&this.setState({highlightedObject:void 0}),r.viewportChanged||r.dataChanged||r.propsChanged&&Ao.some((e=>t[e]!==n[e]))){const{dataProvider:e}=this.state||{};e&&(e.setFlowmapState(this._getFlowmapState()),e.updateLayersData((e=>{this.setState({layersData:e,highlightedObject:void 0})}),r))}}_getSettingsState(){const{locationTotalsEnabled:e,locationLabelsEnabled:t,adaptiveScalesEnabled:n,animationEnabled:r,clusteringEnabled:i,clusteringLevel:o,fadeEnabled:a,fadeOpacityEnabled:s,clusteringAuto:l,darkMode:c,fadeAmount:u,colorScheme:d,highlightColor:h,maxTopFlowsDisplayNum:f}=this.props;return{locationTotalsEnabled:e,locationLabelsEnabled:t,adaptiveScalesEnabled:n,animationEnabled:r,clusteringEnabled:i,clusteringLevel:o,fadeEnabled:a,fadeOpacityEnabled:s,clusteringAuto:l,darkMode:c,fadeAmount:u,colorScheme:d,highlightColor:h,maxTopFlowsDisplayNum:f}}_getFlowmapState(){return{viewport:bo(this.context.viewport),filter:this.props.filter,settings:this._getSettingsState()}}_getFlowmapLayerPickingInfo(e){var t;return mo(this,void 0,void 0,(function*(){const{index:n,sourceLayer:r}=e,{dataProvider:i,accessors:o}=this.state||{};if(!i||!o)return;const a=Object.assign(Object.assign({},e),{picked:e.picked,layer:e.layer,index:e.index,x:e.x,y:e.y,coordinate:e.coordinate,event:e.event});if(r instanceof p||r instanceof u){const e=-1===n?void 0:yield i.getFlowByIndex(n);if(e){const t=yield i.getLocationById(o.getFlowOriginId(e)),n=yield i.getLocationById(o.getFlowDestId(e));if(t&&n)return Object.assign(Object.assign({},a),{object:{type:fo.FLOW,flow:e,origin:t,dest:n,count:o.getFlowMagnitude(e)}})}}else if(r instanceof A){const r=-1===n?void 0:yield i.getLocationByIndex(n);if(r){const n=o.getLocationId(r),s=o.getLocationName(r),l=yield i.getTotalsForLocation(n),{circleAttributes:c}=(null===(t=this.state)||void 0===t?void 0:t.layersData)||{};if(l&&c){const t=li(c,e.index);return Object.assign(Object.assign({},a),{object:{type:fo.LOCATION,location:r,id:n,name:s,totals:l,circleRadius:t}})}}}}))}_getHighlightedObject(e){var t,n;const{index:r,sourceLayer:i}=e;if(!(r<0))if(i instanceof p||i instanceof u){const{lineAttributes:e}=(null===(t=this.state)||void 0===t?void 0:t.layersData)||{};if(e){let t=function(e,t){const{getColor:n,getEndpointOffsets:r,getSourcePosition:i,getTargetPosition:o,getThickness:a,getStaggering:s}=e.attributes;return{length:1,attributes:Object.assign({getColor:{value:n.value.subarray(4*t,4*(t+1)),size:4},getEndpointOffsets:{value:r.value.subarray(2*t,2*(t+1)),size:2},getSourcePosition:{value:i.value.subarray(2*t,2*(t+1)),size:2},getTargetPosition:{value:o.value.subarray(2*t,2*(t+1)),size:2},getThickness:{value:a.value.subarray(t,t+1),size:1}},s?{getStaggering:{value:s.value.subarray(t,t+1),size:1}}:void 0)}}(e,r);return this.props.fadeOpacityEnabled&&(t=Object.assign(Object.assign({},t),{attributes:Object.assign(Object.assign({},t.attributes),{getColor:Object.assign(Object.assign({},t.attributes.getColor),{value:new Uint8Array([...t.attributes.getColor.value.slice(0,3),255])})})})),{type:vo.FLOW,lineAttributes:t}}}else if(i instanceof A){const{circleAttributes:e}=(null===(n=this.state)||void 0===n?void 0:n.layersData)||{};if(e)return{type:vo.LOCATION,coords:ci(e,r),radius:li(e,r)}}}renderLayers(){var e;const t=[];if(null===(e=this.state)||void 0===e?void 0:e.layersData){const{layersData:e,highlightedObject:r}=this.state,{circleAttributes:i,lineAttributes:o,locationLabels:a}=e||{};if(i&&o){const e=Fe(Ye(!1,(n=this._getSettingsState()).colorScheme,n.darkMode,n.fadeEnabled,n.fadeOpacityEnabled,n.fadeAmount,n.animationEnabled).outlineColor||(this.props.darkMode?"#000":"#fff")),a={data:o,parameters:Object.assign(Object.assign({},this.props.parameters),{depthTest:!1})};if(this.props.animationEnabled?t.push(new u(Object.assign({},this.getSubLayerProps(Object.assign(Object.assign({},a),{id:"animated-flow-lines",drawOutline:!1,thicknessUnit:20}))))):t.push(new p(Object.assign({},this.getSubLayerProps(Object.assign(Object.assign({},a),{id:"flow-lines",drawOutline:!0,outlineColor:e}))))),t.push(new A(this.getSubLayerProps({id:"circles",data:i,emptyColor:this.props.darkMode?[0,0,0,255]:[255,255,255,255],outlineEmptyMix:.4}))),r)switch(r.type){case vo.LOCATION:t.push(new b.Z(Object.assign({},this.getSubLayerProps({id:"location-highlight",data:[r],pickable:!1,antialiasing:!0,stroked:!0,filled:!1,lineWidthUnits:"pixels",getLineWidth:2,radiusUnits:"pixels",getRadius:e=>e.radius,getLineColor:Fe(this.props.highlightColor),getPosition:e=>e.coords}))));break;case vo.FLOW:t.push(new p(Object.assign({},this.getSubLayerProps({id:"flow-highlight",data:r.lineAttributes,drawOutline:!0,pickable:!1,outlineColor:Fe(this.props.highlightColor),outlineThickness:1,parameters:{depthTest:!1}}))))}}a&&t.push(new _.Z(this.getSubLayerProps({id:"location-labels",data:a,maxWidth:1e3,pickable:!1,fontFamily:"Helvetica",getPixelOffset:(e,t)=>{let{index:n}=t;return[0,li(i,n)+5]},getPosition:(e,t)=>{let{index:n}=t;return ci(i,n)},getText:e=>e,getSize:10,getColor:[255,255,255,255],getAngle:0,getTextAnchor:"middle",getAlignmentBaseline:"top"})))}var n;return t}}function bo(e){const{width:t,height:n,longitude:r,latitude:i,zoom:o,pitch:a,bearing:s}=e;return{width:t,height:n,longitude:r,latitude:i,zoom:o,pitch:a,bearing:s}}yo.defaultProps={darkMode:!0,fadeAmount:50,locationTotalsEnabled:!0,locationLabelsEnabled:!1,animationEnabled:!1,clusteringEnabled:!0,fadeEnabled:!0,fadeOpacityEnabled:!1,clusteringAuto:!0,clusteringLevel:void 0,adaptiveScalesEnabled:!0,colorScheme:"Teal",highlightColor:"orange",maxTopFlowsDisplayNum:5e3}},24420:(e,t,n)=>{"use strict";function r(e,t){var n=t&&t.cache?t.cache:u,r=t&&t.serializer?t.serializer:l;return(t&&t.strategy?t.strategy:s)(e,{cache:n,serializer:r})}function i(e,t,n,r){var i,o=null==(i=r)||"number"===typeof i||"boolean"===typeof i?r:n(r),a=t.get(o);return"undefined"===typeof a&&(a=e.call(this,r),t.set(o,a)),a}function o(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return"undefined"===typeof o&&(o=e.apply(this,r),t.set(i,o)),o}function a(e,t,n,r,i){return n.bind(t,e,r,i)}function s(e,t){return a(e,this,1===e.length?i:o,t.cache.create(),t.serializer)}n.d(t,{A:()=>d,H:()=>r});var l=function(){return JSON.stringify(arguments)};function c(){this.cache=Object.create(null)}c.prototype.get=function(e){return this.cache[e]},c.prototype.set=function(e,t){this.cache[e]=t};var u={create:function(){return new c}},d={variadic:function(e,t){return a(e,this,o,t.cache.create(),t.serializer)},monadic:function(e,t){return a(e,this,i,t.cache.create(),t.serializer)}}},37152:(e,t,n)=>{"use strict";n.d(t,{wD:()=>i,VG:()=>l,rp:()=>u,Ii:()=>A,O4:()=>s,uf:()=>c,Wh:()=>m,Jo:()=>f,yx:()=>p,Wi:()=>h,HI:()=>g,pe:()=>d,Qc:()=>oe});var r,i,o,a=n(43815);function s(e){return e.type===i.literal}function l(e){return e.type===i.argument}function c(e){return e.type===i.number}function u(e){return e.type===i.date}function d(e){return e.type===i.time}function h(e){return e.type===i.select}function f(e){return e.type===i.plural}function p(e){return e.type===i.pound}function g(e){return e.type===i.tag}function m(e){return!(!e||"object"!==typeof e||e.type!==o.number)}function A(e){return!(!e||"object"!==typeof e||e.type!==o.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(r||(r={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(i||(i={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(o||(o={}));var v=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,y=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function b(e){var t={};return e.replace(y,(function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"long":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var _=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var w=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,x=/^(@+)?(\+|#+)?[rs]?$/g,E=/(\*)(0+)|(#+)(0+)|(0+)/g,S=/^(0+)$/;function C(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(x,(function(e,n,r){return"string"!==typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"===typeof r?r.length:0)),""})),t}function P(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function T(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!S.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function M(e){var t=P(e);return t||{}}function k(e){for(var t={},n=0,r=e;n1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(E,(function(e,n,r,i,o,a){if(n)t.minimumIntegerDigits=r.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(S.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(w.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(w,(function(e,n,r,i,o,a){return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&a?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+a.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var o=i.options[0];"w"===o?t=(0,a.pi)((0,a.pi)({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=(0,a.pi)((0,a.pi)({},t),C(o)))}else if(x.test(i.stem))t=(0,a.pi)((0,a.pi)({},t),C(i.stem));else{var s=P(i.stem);s&&(t=(0,a.pi)((0,a.pi)({},t),s));var l=T(i.stem);l&&(t=(0,a.pi)((0,a.pi)({},t),l))}}return t}var R,O={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function I(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(O[n||""]||O[r||""]||O["".concat(r,"-001")]||O["001"])[0]}var L=new RegExp("^".concat(v.source,"*")),D=new RegExp("".concat(v.source,"*$"));function N(e,t){return{start:e,end:t}}var F=!!String.prototype.startsWith&&"_a".startsWith("a",1),j=!!String.fromCodePoint,B=!!Object.fromEntries,z=!!String.prototype.codePointAt,Z=!!String.prototype.trimStart,U=!!String.prototype.trimEnd,H=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"===typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},V=!0;try{V="a"===(null===(R=$("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===R?void 0:R[0])}catch(ae){V=!1}var G,W=F?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},q=j?String.fromCodePoint:function(){for(var e=[],t=0;to;){if((n=e[o++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Y=B?Object.fromEntries:function(e){for(var t={},n=0,r=e;n=n)){var r,i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:r-56320+(i-55296<<10)+65536}},K=Z?function(e){return e.trimStart()}:function(e){return e.replace(L,"")},Q=U?function(e){return e.trimEnd()}:function(e){return e.replace(D,"")};function $(e,t){return new RegExp(e,t)}if(V){var J=$("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");G=function(e,t){var n;return J.lastIndex=t,null!==(n=J.exec(e)[1])&&void 0!==n?n:""}}else G=function(e,t){for(var n=[];;){var r=X(e,t);if(void 0===r||ne(r)||re(r))break;n.push(r),t+=r>=65536?2:1}return q.apply(void 0,n)};var ee=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var o=[];!this.isEOF();){var a=this.char();if(123===a){if((s=this.parseArgument(e,n)).err)return s;o.push(s.val)}else{if(125===a&&e>0)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(r.UNMATCHED_CLOSING_TAG,N(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&te(this.peek()||0)){if((s=this.parseTag(e,t)).err)return s;o.push(s.val)}else{var s;if((s=this.parseLiteral(e,t)).err)return s;o.push(s.val)}}else{var l=this.clonePosition();this.bump(),o.push({type:i.pound,location:N(l,this.clonePosition())})}}}return{val:o,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:i.literal,value:"<".concat(o,"/>"),location:N(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(e+1,t,!0);if(a.err)return a;var s=a.val,l=this.clonePosition();if(this.bumpIf("")?{val:{type:i.tag,value:o,children:s,location:N(n,this.clonePosition())},err:null}:this.error(r.INVALID_TAG,N(l,this.clonePosition())))}return this.error(r.UNCLOSED_TAG,N(n,this.clonePosition()))}return this.error(r.INVALID_TAG,N(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var o=this.tryParseQuote(t);if(o)r+=o;else{var a=this.tryParseUnquoted(e,t);if(a)r+=a;else{var s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var l=N(n,this.clonePosition());return{val:{type:i.literal,value:r,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(te(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return q.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),q(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(r.EXPECT_ARGUMENT_CLOSING_BRACE,N(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(r.EMPTY_ARGUMENT,N(n,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(r.MALFORMED_ARGUMENT,N(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(r.EXPECT_ARGUMENT_CLOSING_BRACE,N(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:i.argument,value:o,location:N(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(r.EXPECT_ARGUMENT_CLOSING_BRACE,N(n,this.clonePosition())):this.parseArgumentOptions(e,t,o,n);default:return this.error(r.MALFORMED_ARGUMENT,N(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=G(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:N(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,s){var l,c=this.clonePosition(),u=this.parseIdentifierIfPossible().value,d=this.clonePosition();switch(u){case"":return this.error(r.EXPECT_ARGUMENT_TYPE,N(c,d));case"number":case"date":case"time":this.bumpSpace();var h=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition();if((w=this.parseSimpleArgStyleIfPossible()).err)return w;if(0===(A=Q(w.val)).length)return this.error(r.EXPECT_ARGUMENT_STYLE,N(this.clonePosition(),this.clonePosition()));h={style:A,styleLocation:N(f,this.clonePosition())}}if((x=this.tryParseArgumentClose(s)).err)return x;var p=N(s,this.clonePosition());if(h&&W(null===h||void 0===h?void 0:h.style,"::",0)){var g=K(h.style.slice(2));if("number"===u)return(w=this.parseNumberSkeletonFromString(g,h.styleLocation)).err?w:{val:{type:i.number,value:n,location:p,style:w.val},err:null};if(0===g.length)return this.error(r.EXPECT_DATE_TIME_SKELETON,p);var m=g;this.locale&&(m=function(e,t){for(var n="",r=0;r>1),l=I(t);for("H"!=l&&"k"!=l||(s=0);s-- >0;)n+="a";for(;a-- >0;)n=l+n}else n+="J"===i?"H":i}return n}(g,this.locale));var A={type:o.dateTime,pattern:m,location:h.styleLocation,parsedOptions:this.shouldParseSkeletons?b(m):{}};return{val:{type:"date"===u?i.date:i.time,value:n,location:p,style:A},err:null}}return{val:{type:"number"===u?i.number:"date"===u?i.date:i.time,value:n,location:p,style:null!==(l=null===h||void 0===h?void 0:h.style)&&void 0!==l?l:null},err:null};case"plural":case"selectordinal":case"select":var v=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(r.EXPECT_SELECT_ARGUMENT_OPTIONS,N(v,(0,a.pi)({},v)));this.bumpSpace();var y=this.parseIdentifierIfPossible(),_=0;if("select"!==u&&"offset"===y.value){if(!this.bumpIf(":"))return this.error(r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,N(this.clonePosition(),this.clonePosition()));var w;if(this.bumpSpace(),(w=this.tryParseDecimalInteger(r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,r.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return w;this.bumpSpace(),y=this.parseIdentifierIfPossible(),_=w.val}var x,E=this.tryParsePluralOrSelectOptions(e,u,t,y);if(E.err)return E;if((x=this.tryParseArgumentClose(s)).err)return x;var S=N(s,this.clonePosition());return"select"===u?{val:{type:i.select,value:n,options:Y(E.val),location:S},err:null}:{val:{type:i.plural,value:n,options:Y(E.val),offset:_,pluralType:"plural"===u?"cardinal":"ordinal",location:S},err:null};default:return this.error(r.INVALID_ARGUMENT_TYPE,N(c,d))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(r.EXPECT_ARGUMENT_CLOSING_BRACE,N(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(r.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,N(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(_).filter((function(e){return e.length>0}));n=48&&a<=57))break;i=!0,o=10*o+(a-48),this.bump()}var s=N(r,this.clonePosition());return i?H(o*=n)?{val:o,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=X(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(W(this.message,e,this.offset())){for(var t=0;t=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ne(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!==n&&void 0!==n?n:null},e}();function te(e){return e>=97&&e<=122||e>=65&&e<=90}function ne(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function re(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function ie(e){e.forEach((function(e){if(delete e.location,h(e)||f(e))for(var t in e.options)delete e.options[t].location,ie(e.options[t].value);else c(e)&&m(e.style)||(u(e)||d(e))&&A(e.style)?delete e.style.location:g(e)&&ie(e.children)}))}function oe(e,t){void 0===t&&(t={}),t=(0,a.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new ee(e,t).parse();if(n.err){var i=SyntaxError(r[n.err.kind]);throw i.location=n.err.location,i.originalMessage=n.err.message,i}return(null===t||void 0===t?void 0:t.captureLocation)||ie(n.val),n.val}},19588:(e,t,n)=>{"use strict";n.d(t,{d:()=>k});var r=n(43815),i=n(40089),o=n(84293),a=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function s(e,t,n){var r=e.locale,o=e.formats,s=e.onError;void 0===n&&(n={});var l=n.format,c=l&&(0,i.TB)(o,"number",l,s)||{};return t(r,(0,i.L6)(n,a,c))}function l(e,t,n,r){void 0===r&&(r={});try{return s(e,t,r).format(n)}catch(i){e.onError(new o.Qe("Error formatting number.",e.locale,i))}return String(n)}function c(e,t,n,r){void 0===r&&(r={});try{return s(e,t,r).formatToParts(n)}catch(i){e.onError(new o.Qe("Error formatting number.",e.locale,i))}return[]}var u=n(49503),d=["numeric","style"];function h(e,t,n,r,a){void 0===a&&(a={}),r||(r="second"),Intl.RelativeTimeFormat||e.onError(new u.u_('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',u.jK.MISSING_INTL_API));try{return function(e,t,n){var r=e.locale,o=e.formats,a=e.onError;void 0===n&&(n={});var s=n.format,l=!!s&&(0,i.TB)(o,"relative",s,a)||{};return t(r,(0,i.L6)(n,d,l))}(e,t,a).format(n,r)}catch(s){e.onError(new o.Qe("Error formatting relative time.",e.locale,s))}return String(n)}var f=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function p(e,t,n,o){var a=e.locale,s=e.formats,l=e.onError,c=e.timeZone;void 0===o&&(o={});var u=o.format,d=(0,r.pi)((0,r.pi)({},c&&{timeZone:c}),u&&(0,i.TB)(s,t,u,l)),h=(0,i.L6)(o,f,d);return"time"!==t||h.hour||h.minute||h.second||h.timeStyle||h.dateStyle||(h=(0,r.pi)((0,r.pi)({},h),{hour:"numeric",minute:"numeric"})),n(a,h)}function g(e,t){for(var n=[],r=2;r{"use strict";n.d(t,{$6:()=>d,OV:()=>s,Qe:()=>c,X9:()=>u,gb:()=>l,wI:()=>a});var r,i=n(43815);!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(r||(r={}));var o=function(e){function t(n,r,i){var o=this,a=i?i instanceof Error?i:new Error(String(i)):void 0;return(o=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(r,"\n").concat(a?"\n".concat(a.message,"\n").concat(a.stack):""))||this).code=n,"function"===typeof Error.captureStackTrace&&Error.captureStackTrace(o,t),o}return(0,i.ZT)(t,e),t}(Error),a=function(e){function t(t,n){return e.call(this,r.UNSUPPORTED_FORMATTER,t,n)||this}return(0,i.ZT)(t,e),t}(o),s=function(e){function t(t,n){return e.call(this,r.INVALID_CONFIG,t,n)||this}return(0,i.ZT)(t,e),t}(o),l=function(e){function t(t,n){return e.call(this,r.MISSING_DATA,t,n)||this}return(0,i.ZT)(t,e),t}(o),c=function(e){function t(t,n,i){var o=e.call(this,r.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(n,"\n"),i)||this;return o.locale=n,o}return(0,i.ZT)(t,e),t}(o),u=function(e){function t(t,n,r,i){var o=e.call(this,"".concat(t,"\nMessageID: ").concat(null===r||void 0===r?void 0:r.id,"\nDefault Message: ").concat(null===r||void 0===r?void 0:r.defaultMessage,"\nDescription: ").concat(null===r||void 0===r?void 0:r.description,"\n"),n,i)||this;return o.descriptor=r,o.locale=n,o}return(0,i.ZT)(t,e),t}(c),d=function(e){function t(t,n){var i=e.call(this,r.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(n,'", using ').concat(t.defaultMessage?"default message (".concat("string"===typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map((function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)})).join(),")"):"id"," as fallback."))||this;return i.descriptor=t,i}return(0,i.ZT)(t,e),t}(o)},79184:(e,t,n)=>{"use strict";n.d(t,{w:()=>d});var r=n(43815),i=n(32411),o=n(64185),a=n(84293),s=n(37152);function l(e,t){return Object.keys(e).reduce((function(n,i){return n[i]=(0,r.pi)({timeZone:t},e[i]),n}),{})}function c(e,t){return Object.keys((0,r.pi)((0,r.pi)({},e),t)).reduce((function(n,i){return n[i]=(0,r.pi)((0,r.pi)({},e[i]||{}),t[i]||{}),n}),{})}function u(e,t){if(!t)return e;var n=o.C.formats;return(0,r.pi)((0,r.pi)((0,r.pi)({},n),e),{date:c(l(n.date,t),l(e.date||{},t)),time:c(l(n.time,t),l(e.time||{},t))})}var d=function(e,t,n,o,l){var c=e.locale,d=e.formats,h=e.messages,f=e.defaultLocale,p=e.defaultFormats,g=e.fallbackOnEmptyString,m=e.onError,A=e.timeZone,v=e.defaultRichTextElements;void 0===n&&(n={id:""});var y=n.id,b=n.defaultMessage;(0,i.kG)(!!y,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var _=String(y),w=h&&Object.prototype.hasOwnProperty.call(h,_)&&h[_];if(Array.isArray(w)&&1===w.length&&w[0].type===s.wD.literal)return w[0].value;if(!o&&w&&"string"===typeof w&&!v)return w.replace(/'\{(.*?)\}'/gi,"{$1}");if(o=(0,r.pi)((0,r.pi)({},v),o||{}),d=u(d,A),p=u(p,A),!w){if(!1===g&&""===w)return w;if((!b||c&&c.toLowerCase()!==f.toLowerCase())&&m(new a.$6(n,c)),b)try{return t.getMessageFormat(b,f,p,l).format(o)}catch(x){return m(new a.X9('Error formatting default message for: "'.concat(_,'", rendering default message verbatim'),c,n,x)),"string"===typeof b?b:_}return _}try{return t.getMessageFormat(w,c,d,(0,r.pi)({formatters:t},l||{})).format(o)}catch(x){m(new a.X9('Error formatting message: "'.concat(_,'", using ').concat(b?"default message":"id"," as fallback."),c,n,x))}if(b)try{return t.getMessageFormat(b,f,p,l).format(o)}catch(x){m(new a.X9('Error formatting the default message for: "'.concat(_,'", rendering message verbatim'),c,n,x))}return"string"===typeof w?w:"string"===typeof b?b:_}},40089:(e,t,n)=>{"use strict";n.d(t,{L6:()=>s,Sn:()=>c,TB:()=>h,Z0:()=>l,ax:()=>d});var r=n(43815),i=n(64185),o=n(24420),a=n(84293);function s(e,t,n){return void 0===n&&(n={}),t.reduce((function(t,r){return r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t}),{})}var l={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){0},onWarn:function(e){0}};function c(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function u(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function d(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,a=Intl.DisplayNames,s=(0,o.H)((function(){for(var e,t=[],n=0;n{"use strict";n.d(t,{aN:()=>a});var r=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!==i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!==i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!==i--;){var a=o[i];if(!e(t[a],n[a]))return!1}return!0}return t!==t&&n!==n};const i="__googleMapsScriptId";var o;!function(e){e[e.INITIALIZED=0]="INITIALIZED",e[e.LOADING=1]="LOADING",e[e.SUCCESS=2]="SUCCESS",e[e.FAILURE=3]="FAILURE"}(o||(o={}));class a{constructor(e){let{apiKey:t,authReferrerPolicy:n,channel:o,client:s,id:l=i,language:c,libraries:u=[],mapIds:d,nonce:h,region:f,retries:p=3,url:g="https://maps.googleapis.com/maps/api/js",version:m}=e;if(this.CALLBACK="__googleMapsCallback",this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=t,this.authReferrerPolicy=n,this.channel=o,this.client=s,this.id=l||i,this.language=c,this.libraries=u,this.mapIds=d,this.nonce=h,this.region=f,this.retries=p,this.url=g,this.version=m,a.instance){if(!r(this.options,a.instance.options))throw new Error("Loader must not be called again with different options. ".concat(JSON.stringify(this.options)," !== ").concat(JSON.stringify(a.instance.options)));return a.instance}a.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?o.FAILURE:this.done?o.SUCCESS:this.loading?o.LOADING:o.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let e=this.url;return e+="?callback=".concat(this.CALLBACK),this.apiKey&&(e+="&key=".concat(this.apiKey)),this.channel&&(e+="&channel=".concat(this.channel)),this.client&&(e+="&client=".concat(this.client)),this.libraries.length>0&&(e+="&libraries=".concat(this.libraries.join(","))),this.language&&(e+="&language=".concat(this.language)),this.region&&(e+="®ion=".concat(this.region)),this.version&&(e+="&v=".concat(this.version)),this.mapIds&&(e+="&map_ids=".concat(this.mapIds.join(","))),this.authReferrerPolicy&&(e+="&auth_referrer_policy=".concat(this.authReferrerPolicy)),e}deleteScript(){const e=document.getElementById(this.id);e&&e.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise(((e,t)=>{this.loadCallback((n=>{n?t(n.error):e(window.google)}))}))}loadCallback(e){this.callbacks.push(e),this.execute()}setScript(){if(document.getElementById(this.id))return void this.callback();const e=this.createUrl(),t=document.createElement("script");t.id=this.id,t.type="text/javascript",t.src=e,t.onerror=this.loadErrorCallback.bind(this),t.defer=!0,t.async=!0,this.nonce&&(t.nonce=this.nonce),document.head.appendChild(t)}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(e){if(this.errors.push(e),this.errors.length<=this.retries){const e=this.errors.length*Math.pow(2,this.errors.length);console.log("Failed to load Google Maps script, retrying in ".concat(e," ms.")),setTimeout((()=>{this.deleteScript(),this.setScript()}),e)}else this.onerrorEvent=e,this.callback()}setCallback(){window.__googleMapsCallback=this.callback.bind(this)}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach((e=>{e(this.onerrorEvent)})),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version)return console.warn("Google Maps already loaded outside @googlemaps/js-api-loader.This may result in undesirable behavior as options and script parameters may not match."),void this.callback();this.loading||(this.loading=!0,this.setCallback(),this.setScript())}}}},16332:(e,t,n)=>{"use strict";var r,i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",i({viewBox:"0 0 24 24",style:i({fill:n,width:o,height:l},u)},d),a.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},77229:(e,t,n)=>{"use strict";var r,i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",i({viewBox:"0 0 24 24",style:i({fill:n,width:o,height:l},u)},d),a.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},34375:(e,t,n)=>{"use strict";n.d(t,{D0:()=>l,Ew:()=>c,Kn:()=>o,Lj:()=>u,Os:()=>h,Ss:()=>a,TW:()=>s,zH:()=>d});const r=e=>"boolean"===typeof e,i=e=>"function"===typeof e,o=e=>null!==e&&"object"===typeof e,a=e=>o(e)&&e.constructor==={}.constructor,s=e=>e&&"function"===typeof e[Symbol.iterator],l=e=>e&&"function"===typeof e[Symbol.asyncIterator],c=e=>"undefined"!==typeof Response&&e instanceof Response||e&&e.arrayBuffer&&e.text&&e.json,u=e=>"undefined"!==typeof Blob&&e instanceof Blob,d=e=>e&&"object"===typeof e&&e.isBuffer,h=e=>(e=>"undefined"!==typeof ReadableStream&&e instanceof ReadableStream||o(e)&&i(e.tee)&&i(e.cancel)&&i(e.getReader))(e)||(e=>o(e)&&i(e.read)&&i(e.pipe)&&r(e.readable))(e)},63734:(e,t,n)=>{"use strict";n.d(t,{z:()=>$});var r=n(34375),i=n(13759),o=n(68863);function a(e,t){if(!e)throw new Error(t||"loaders.gl assertion failed.")}const s="3.3.3";"undefined"!==typeof self&&self,"undefined"!==typeof window&&window,"undefined"!==typeof n.g&&n.g,"undefined"!==typeof document&&document;const l="object"!==typeof process||"[object process]"!==String(process)||process.browser,c="undefined"!==typeof window&&"undefined"!==typeof window.orientation,u="undefined"!==typeof process&&process.version&&/v([0-9]*)/.exec(process.version);u&&parseFloat(u[1]);var d=n(68185);class h{terminate(){}}const f=new Map;function p(e){a(e.source&&!e.url||!e.source&&e.url);let t=f.get(e.source||e.url);return t||(e.url&&(t=function(e){if(!e.startsWith("http"))return e;return g((t=e,"try {\n importScripts('".concat(t,"');\n} catch (error) {\n console.error(error);\n throw error;\n}")));var t}(e.url),f.set(e.url,t)),e.source&&(t=g(e.source),f.set(e.source,t))),a(t),t}function g(e){const t=new Blob([e],{type:"application/javascript"});return URL.createObjectURL(t)}function m(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0;const r=n||new Set;if(e){if(A(e))r.add(e);else if(A(e.buffer))r.add(e.buffer);else if(ArrayBuffer.isView(e));else if(t&&"object"===typeof e)for(const i in e)m(e[i],t,r)}else;return void 0===n?Array.from(r):[]}function A(e){return!!e&&(e instanceof ArrayBuffer||("undefined"!==typeof MessagePort&&e instanceof MessagePort||("undefined"!==typeof ImageBitmap&&e instanceof ImageBitmap||"undefined"!==typeof OffscreenCanvas&&e instanceof OffscreenCanvas)))}const v=()=>{};class y{static isSupported(){return"undefined"!==typeof Worker&&l||"undefined"!==typeof h&&!l}constructor(e){(0,d.Z)(this,"name",void 0),(0,d.Z)(this,"source",void 0),(0,d.Z)(this,"url",void 0),(0,d.Z)(this,"terminated",!1),(0,d.Z)(this,"worker",void 0),(0,d.Z)(this,"onMessage",void 0),(0,d.Z)(this,"onError",void 0),(0,d.Z)(this,"_loadableURL","");const{name:t,source:n,url:r}=e;a(n||r),this.name=t,this.source=n,this.url=r,this.onMessage=v,this.onError=e=>console.log(e),this.worker=l?this._createBrowserWorker():this._createNodeWorker()}destroy(){this.onMessage=v,this.onError=v,this.worker.terminate(),this.terminated=!0}get isRunning(){return Boolean(this.onMessage)}postMessage(e,t){t=t||m(e),this.worker.postMessage(e,t)}_getErrorFromErrorEvent(e){let t="Failed to load ";return t+="worker ".concat(this.name," from ").concat(this.url,". "),e.message&&(t+="".concat(e.message," in ")),e.lineno&&(t+=":".concat(e.lineno,":").concat(e.colno)),new Error(t)}_createBrowserWorker(){this._loadableURL=p({source:this.source,url:this.url});const e=new Worker(this._loadableURL,{name:this.name});return e.onmessage=e=>{e.data?this.onMessage(e.data):this.onError(new Error("No data received"))},e.onerror=e=>{this.onError(this._getErrorFromErrorEvent(e)),this.terminated=!0},e.onmessageerror=e=>console.error(e),e}_createNodeWorker(){let e;if(this.url){const t=this.url.includes(":/")||this.url.startsWith("/")?this.url:"./".concat(this.url);e=new h(t,{eval:!1})}else{if(!this.source)throw new Error("no worker");e=new h(this.source,{eval:!0})}return e.on("message",(e=>{this.onMessage(e)})),e.on("error",(e=>{this.onError(e)})),e.on("exit",(e=>{})),e}}class b{constructor(e,t){(0,d.Z)(this,"name",void 0),(0,d.Z)(this,"workerThread",void 0),(0,d.Z)(this,"isRunning",!0),(0,d.Z)(this,"result",void 0),(0,d.Z)(this,"_resolve",(()=>{})),(0,d.Z)(this,"_reject",(()=>{})),this.name=e,this.workerThread=t,this.result=new Promise(((e,t)=>{this._resolve=e,this._reject=t}))}postMessage(e,t){this.workerThread.postMessage({source:"loaders.gl",type:e,payload:t})}done(e){a(this.isRunning),this.isRunning=!1,this._resolve(e)}error(e){a(this.isRunning),this.isRunning=!1,this._reject(e)}}class _{static isSupported(){return y.isSupported()}constructor(e){(0,d.Z)(this,"name","unnamed"),(0,d.Z)(this,"source",void 0),(0,d.Z)(this,"url",void 0),(0,d.Z)(this,"maxConcurrency",1),(0,d.Z)(this,"maxMobileConcurrency",1),(0,d.Z)(this,"onDebug",(()=>{})),(0,d.Z)(this,"reuseWorkers",!0),(0,d.Z)(this,"props",{}),(0,d.Z)(this,"jobQueue",[]),(0,d.Z)(this,"idleQueue",[]),(0,d.Z)(this,"count",0),(0,d.Z)(this,"isDestroyed",!1),this.source=e.source,this.url=e.url,this.setProps(e)}destroy(){this.idleQueue.forEach((e=>e.destroy())),this.isDestroyed=!0}setProps(e){this.props={...this.props,...e},void 0!==e.name&&(this.name=e.name),void 0!==e.maxConcurrency&&(this.maxConcurrency=e.maxConcurrency),void 0!==e.maxMobileConcurrency&&(this.maxMobileConcurrency=e.maxMobileConcurrency),void 0!==e.reuseWorkers&&(this.reuseWorkers=e.reuseWorkers),void 0!==e.onDebug&&(this.onDebug=e.onDebug)}async startJob(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e,t,n)=>e.done(n),n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(e,t)=>e.error(t);const r=new Promise((r=>(this.jobQueue.push({name:e,onMessage:t,onError:n,onStart:r}),this)));return this._startQueuedJob(),await r}async _startQueuedJob(){if(!this.jobQueue.length)return;const e=this._getAvailableWorker();if(!e)return;const t=this.jobQueue.shift();if(t){this.onDebug({message:"Starting job",name:t.name,workerThread:e,backlog:this.jobQueue.length});const n=new b(t.name,e);e.onMessage=e=>t.onMessage(n,e.type,e.payload),e.onError=e=>t.onError(n,e),t.onStart(n);try{await n.result}finally{this.returnWorkerToQueue(e)}}}returnWorkerToQueue(e){this.isDestroyed||!this.reuseWorkers||this.count>this._getMaxConcurrency()?(e.destroy(),this.count--):this.idleQueue.push(e),this.isDestroyed||this._startQueuedJob()}_getAvailableWorker(){if(this.idleQueue.length>0)return this.idleQueue.shift()||null;if(this.count{}};class x{static isSupported(){return y.isSupported()}static getWorkerFarm(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return x._workerFarm=x._workerFarm||new x({}),x._workerFarm.setProps(e),x._workerFarm}constructor(e){(0,d.Z)(this,"props",void 0),(0,d.Z)(this,"workerPools",new Map),this.props={...w},this.setProps(e),this.workerPools=new Map}destroy(){for(const e of this.workerPools.values())e.destroy();this.workerPools=new Map}setProps(e){this.props={...this.props,...e};for(const t of this.workerPools.values())t.setProps(this._getWorkerPoolProps())}getWorkerPool(e){const{name:t,source:n,url:r}=e;let i=this.workerPools.get(t);return i||(i=new _({name:t,source:n,url:r}),i.setProps(this._getWorkerPoolProps()),this.workerPools.set(t,i)),i}_getWorkerPoolProps(){return{maxConcurrency:this.props.maxConcurrency,maxMobileConcurrency:this.props.maxMobileConcurrency,reuseWorkers:this.props.reuseWorkers,onDebug:this.props.onDebug}}}(0,d.Z)(x,"_workerFarm",void 0);const E="latest";async function S(e,t,n,r,i){const o=e.id,s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=t[e.id]||{},r="".concat(e.id,"-worker.js");let i=n.workerUrl;if(i||"compression"!==e.id||(i=t.workerUrl),"test"===t._workerType&&(i="modules/".concat(e.module,"/dist/").concat(r)),!i){let t=e.version;"latest"===t&&(t=E);const n=t?"@".concat(t):"";i="https://unpkg.com/@loaders.gl/".concat(e.module).concat(n,"/dist/").concat(r)}return a(i),i}(e,n),l=x.getWorkerFarm(n).getWorkerPool({name:o,url:s});n=JSON.parse(JSON.stringify(n)),r=JSON.parse(JSON.stringify(r||{}));const c=await l.startJob("process-on-worker",C.bind(null,i));c.postMessage("process",{input:t,options:n,context:r});const u=await c.result;return await u.result}async function C(e,t,n,r){switch(n){case"done":t.done(r);break;case"error":t.error(new Error(r.error));break;case"process":const{id:o,input:a,options:s}=r;try{const n=await e(a,s);t.postMessage("done",{id:o,result:n})}catch(i){const e=i instanceof Error?i.message:"unknown error";t.postMessage("error",{id:o,error:e})}break;default:console.warn("parse-with-worker unknown message ".concat(n))}}async function P(e){const t=[];for await(const n of e)t.push(n);return function(){for(var e=arguments.length,t=new Array(e),n=0;ne instanceof ArrayBuffer?new Uint8Array(e):e)),i=r.reduce(((e,t)=>e+t.byteLength),0),o=new Uint8Array(i);let a=0;for(const s of r)o.set(s,a),a+=s.byteLength;return o.buffer}(...t)}const T=262144;const M=262144;const k=1048576;var R=n(69113),O=n(62945);function I(e){if((t=e)&&"object"===typeof t&&t.isBuffer)return O.toArrayBuffer(e);var t;if(e instanceof ArrayBuffer)return e;if(ArrayBuffer.isView(e))return 0===e.byteOffset&&e.byteLength===e.buffer.byteLength?e.buffer:e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength);if("string"===typeof e){const t=e;return(new TextEncoder).encode(t).buffer}if(e&&"object"===typeof e&&e._toArrayBuffer)return e._toArrayBuffer();throw new Error("toArrayBuffer")}function L(e,t){return R.jU?async function*(e,t){const n=e.getReader();let r;try{for(;;){const e=r||n.read();null!==t&&void 0!==t&&t._streamReadAhead&&(r=n.read());const{done:i,value:o}=await e;if(i)return;yield I(o)}}catch(i){n.releaseLock()}}(e,t):async function*(e,t){for await(const n of e)yield I(n)}(e)}function D(e,t){if("string"===typeof e)return function*(e,t){const n=(null===t||void 0===t?void 0:t.chunkSize)||T;let r=0;const i=new TextEncoder;for(;r1&&void 0!==arguments[1]?arguments[1]:{};const{chunkSize:n=M}=t;let r=0;for(;r1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if(!V(e))return null;if(t&&!Array.isArray(t))return(0,i.T)(t);let o=[];t&&(o=o.concat(t)),null!==n&&void 0!==n&&n.ignoreRegisteredLoaders||o.push(...(0,Z.kO)()),function(e){for(const t of e)(0,i.T)(t)}(o);const a=function(e,t,n,r){const{url:i,type:o}=(0,B.l)(e),a=i||(null===r||void 0===r?void 0:r.url);let s=null,l="";null!==n&&void 0!==n&&n.mimeType&&(s=W(t,null===n||void 0===n?void 0:n.mimeType),l="match forced by supplied MIME type ".concat(null===n||void 0===n?void 0:n.mimeType));var c;s=s||function(e,t){const n=t&&U.exec(t),r=n&&n[1];return r?function(e,t){t=t.toLowerCase();for(const n of e)for(const e of n.extensions)if(e.toLowerCase()===t)return n;return null}(e,r):null}(t,a),l=l||(s?"matched url ".concat(a):""),s=s||W(t,o),l=l||(s?"matched MIME type ".concat(o):""),s=s||function(e,t){if(!t)return null;for(const n of e)if("string"===typeof t){if(q(t,n))return n}else if(ArrayBuffer.isView(t)){if(Y(t.buffer,t.byteOffset,n))return n}else if(t instanceof ArrayBuffer){if(Y(t,0,n))return n}return null}(t,e),l=l||(s?"matched initial data ".concat(X(e)):""),s=s||W(t,null===n||void 0===n?void 0:n.fallbackMimeType),l=l||(s?"matched fallback MIME type ".concat(o):""),l&&z.log(1,"selectLoader selected ".concat(null===(c=s)||void 0===c?void 0:c.name,": ").concat(l,"."));return s}(e,o,n,r);if(!a&&(null===n||void 0===n||!n.nothrow))throw new Error(G(e));return a}function V(e){return!(e instanceof Response&&204===e.status)}function G(e){const{url:t,type:n}=(0,B.l)(e);let r="No valid loader found (";r+=t?"".concat(function(e){const t=e&&e.lastIndexOf("/");return t>=0?e.substr(t+1):""}(t),", "):"no url provided, ",r+="MIME type: ".concat(n?'"'.concat(n,'"'):"not provided",", ");const i=e?X(e):"";return r+=i?' first bytes: "'.concat(i,'"'):"first bytes: not available",r+=")",r}function W(e,t){for(const n of e){if(n.mimeTypes&&n.mimeTypes.includes(t))return n;if(t==="application/x.".concat(n.id))return n}return null}function q(e,t){if(t.testText)return t.testText(e);return(Array.isArray(t.tests)?t.tests:[t.tests]).some((t=>e.startsWith(t)))}function Y(e,t,n){return(Array.isArray(n.tests)?n.tests:[n.tests]).some((r=>function(e,t,n,r){if(r instanceof ArrayBuffer)return function(e,t,n){if(n=n||e.byteLength,e.byteLength1&&void 0!==arguments[1]?arguments[1]:5;if("string"===typeof e)return e.slice(0,t);if(ArrayBuffer.isView(e))return K(e.buffer,e.byteOffset,t);if(e instanceof ArrayBuffer){return K(e,0,t)}return""}function K(e,t,n){if(e.byteLength1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;if(!V(e))return null;let o=H(e,t,{...n,nothrow:!0},i);if(o)return o;if((0,r.Lj)(e)&&(o=H(e=await e.slice(0,10).arrayBuffer(),t,n,i)),!o&&(null===n||void 0===n||!n.nothrow))throw new Error(G(e));return o}(e,d,n);return h?(c=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(n)return n;const r={fetch:(0,o.bV)(t,e),...e};return Array.isArray(r.loaders)||(r.loaders=null),r}({url:u,parse:Q,loaders:d},n=(0,o.GR)(n,h,d,u),c),await async function(e,t,n,i){if(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;a(e,"no worker provided");const n=e.version}(e),(0,r.Ew)(t)){const e=t,{ok:n,redirected:r,status:o,statusText:a,type:s,url:l}=e,c=Object.fromEntries(e.headers.entries());i.response={headers:c,ok:n,redirected:r,status:o,statusText:a,type:s,url:l}}if(t=await j(t,e,n),e.parseTextSync&&"string"===typeof t)return n.dataType="text",e.parseTextSync(t,n,i,e);if(function(e,t){return!!x.isSupported()&&!!(l||null!==t&&void 0!==t&&t._nodeWorkers)&&e.worker&&(null===t||void 0===t?void 0:t.worker)}(e,n))return await S(e,t,n,i,Q);if(e.parseText&&"string"===typeof t)return await e.parseText(t,n,i,e);if(e.parse)return await e.parse(t,n,i,e);throw a(!e.parseSync),new Error("".concat(e.id," loader - no parser found and worker is disabled"))}(h,e,n,c)):null}async function $(e,t,n,a){Array.isArray(t)||(0,i.C)(t)||(void 0,n=t,t=void 0);const s=(0,o.bV)(n);let l=e;return"string"===typeof e&&(l=await s(e)),(0,r.Lj)(e)&&(l=await s(e)),await Q(l,t,n)}},44219:(e,t,n)=>{"use strict";n.d(t,{fh:()=>a,kO:()=>s});var r=n(13759),i=n(68863);const o=()=>{const e=(0,i.rx)();return e.loaderRegistry=e.loaderRegistry||[],e.loaderRegistry};function a(e){const t=o();e=Array.isArray(e)?e:[e];for(const n of e){const e=(0,r.T)(n);t.find((t=>e===t))||t.unshift(e)}}function s(){return o()}},13759:(e,t,n)=>{"use strict";n.d(t,{C:()=>i,T:()=>o});var r=n(69088);function i(e){var t;if(!e)return!1;Array.isArray(e)&&(e=e[0]);return Array.isArray(null===(t=e)||void 0===t?void 0:t.extensions)}function o(e){var t,n;let o;return(0,r.h)(e,"null loader"),(0,r.h)(i(e),"invalid loader"),Array.isArray(e)&&(o=e[1],e=e[0],e={...e,options:{...e.options,...o}}),(null!==(t=e)&&void 0!==t&&t.parseTextSync||null!==(n=e)&&void 0!==n&&n.parseText)&&(e.text=!0),e.text||(e.binary=!0),e}},68863:(e,t,n)=>{"use strict";n.d(t,{bV:()=>A,rx:()=>p,GR:()=>m});var r=n(34375);let i="";const o={};var a=n(33441);async function s(e,t){if("string"===typeof e){e=function(e){for(const t in o)if(e.startsWith(t)){const n=o[t];e=e.replace(t,n)}return e.startsWith("http://")||e.startsWith("https://")||(e="".concat(i).concat(e)),e}(e);let n=t;return null!==t&&void 0!==t&&t.fetch&&"function"!==typeof(null===t||void 0===t?void 0:t.fetch)&&(n=t.fetch),await fetch(e,n)}return await(0,a.L1)(e)}var l=n(68185);const c=new(n(20251).Z)({id:"loaders.gl"});class u{log(){return()=>{}}info(){return()=>{}}warn(){return()=>{}}error(){return()=>{}}}var d=n(69113);const h={fetch:null,mimeType:void 0,nothrow:!1,log:new class{constructor(){(0,l.Z)(this,"console",void 0),this.console=console}log(){for(var e=arguments.length,t=new Array(e),n=0;n{const e=p();return e.globalOptions=e.globalOptions||{...h},e.globalOptions};function m(e,t,n,r){return n=n||[],function(e,t){v(e,null,h,f,t);for(const n of t){const r=e&&e[n.id]||{},i=n.options&&n.options[n.id]||{},o=n.deprecatedOptions&&n.deprecatedOptions[n.id]||{};v(r,n.id,i,o,t)}}(e,n=Array.isArray(n)?n:[n]),b(t,e,r)}function A(e,t){const n=g(),i=e||n;return"function"===typeof i.fetch?i.fetch:(0,r.Kn)(i.fetch)?e=>s(e,i):null!==t&&void 0!==t&&t.fetch?null===t||void 0===t?void 0:t.fetch:s}function v(e,t,n,i,o){const a=t||"Top level",s=t?"".concat(t,"."):"";for(const l in e){const u=!t&&(0,r.Kn)(e[l]);if(!(l in n)&&!("baseUri"===l&&!t)&&!("workerUrl"===l&&t))if(l in i)c.warn("".concat(a," loader option '").concat(s).concat(l,"' no longer supported, use '").concat(i[l],"'"))();else if(!u){const e=y(l,o);c.warn("".concat(a," loader option '").concat(s).concat(l,"' not recognized. ").concat(e))()}}}function y(e,t){const n=e.toLowerCase();let r="";for(const i of t)for(const t in i.options){if(e===t)return"Did you mean '".concat(i.id,".").concat(t,"'?");const o=t.toLowerCase();(n.startsWith(o)||o.startsWith(n))&&(r=r||"Did you mean '".concat(i.id,".").concat(t,"'?"))}return r}function b(e,t,n){const r={...e.options||{}};return function(e,t){t&&!("baseUri"in e)&&(e.baseUri=t)}(r,n),null===r.log&&(r.log=new u),_(r,g()),_(r,t),r}function _(e,t){for(const n in t)if(n in t){const i=t[n];(0,r.Ss)(i)&&(0,r.Ss)(e[n])?e[n]={...e[n],...t[n]}:e[n]=t[n]}}},51379:(e,t,n)=>{"use strict";n.d(t,{C:()=>u,l:()=>c});var r=n(34375);const i=/^data:([-\w.]+\/[-\w.+]+)(;|,)/,o=/^([-\w.]+\/[-\w.+]+)/;function a(e){const t=o.exec(e);return t?t[1]:e}function s(e){const t=i.exec(e);return t?t[1]:""}const l=/\?.*/;function c(e){if((0,r.Ew)(e)){const t=d(e.url||"");return{url:t,type:a(e.headers.get("content-type")||"")||s(t)}}return(0,r.Lj)(e)?{url:d(e.name||""),type:e.type||""}:"string"===typeof e?{url:d(e),type:s(e)}:{url:"",type:""}}function u(e){return(0,r.Ew)(e)?e.headers["content-length"]||-1:(0,r.Lj)(e)?e.size:"string"===typeof e?e.length:e instanceof ArrayBuffer||ArrayBuffer.isView(e)?e.byteLength:-1}function d(e){return e.replace(l,"")}},33441:(e,t,n)=>{"use strict";n.d(t,{L1:()=>o,mm:()=>a});var r=n(34375),i=n(51379);async function o(e){if((0,r.Ew)(e))return e;const t={},n=(0,i.C)(e);n>=0&&(t["content-length"]=String(n));const{url:o,type:a}=(0,i.l)(e);a&&(t["content-type"]=a);const s=await async function(e){const t=5;if("string"===typeof e)return"data:,".concat(e.slice(0,t));if(e instanceof Blob){const t=e.slice(0,5);return await new Promise((e=>{const n=new FileReader;n.onload=t=>{var n;return e(null===t||void 0===t||null===(n=t.target)||void 0===n?void 0:n.result)},n.readAsDataURL(t)}))}if(e instanceof ArrayBuffer){const n=function(e){let t="";const n=new Uint8Array(e);for(let r=0;r60?"".concat(t.slice(0,60),"..."):t}catch(n){}return t}(e);throw new Error(t)}}},68072:(e,t,n)=>{"use strict";n.r(t),n.d(t,{binaryToGeoJson:()=>u.cN,binaryToGeojson:()=>u.F_,binaryToGeometry:()=>u.fb,flatGeojsonToBinary:()=>r.E,geojsonToBinary:()=>c,geojsonToFlatGeojson:()=>o,transformBinaryCoords:()=>d,transformGeoJsonCoords:()=>f});var r=n(23140);var i=n(8766);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{coordLength:2,fixRingWinding:!0};return e.map((e=>function(e,t){const{geometry:n}=e;if("GeometryCollection"===n.type)throw new Error("GeometryCollection type not supported");const r=[],i=[];let o,c;switch(n.type){case"Point":c="Point",a(n.coordinates,r,i,t);break;case"MultiPoint":c="Point",n.coordinates.map((e=>a(e,r,i,t)));break;case"LineString":c="LineString",s(n.coordinates,r,i,t);break;case"MultiLineString":c="LineString",n.coordinates.map((e=>s(e,r,i,t)));break;case"Polygon":c="Polygon",o=[],l(n.coordinates,r,i,o,t);break;case"MultiPolygon":c="Polygon",o=[],n.coordinates.map((e=>l(e,r,i,o,t)));break;default:throw new Error("Unknown type: ".concat(c))}return{...e,geometry:{type:c,indices:i,data:r,areas:o}}}(e,t)))}function a(e,t,n,r){n.push(t.length),t.push(...e);for(let i=e.length;ie.slice(0,2)));let n=(0,i.getPolygonSignedArea)(e.flat());const r=n<0;o.fixRingWinding&&(0===a&&!r||a>0&&r)&&(u.reverse(),n=-n),l.push(n),s(u,t,c,o),a++}a>0&&(r.push(l),n.push(c))}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{fixRingWinding:!0};const n=function(e){let t=0,n=0,r=0,i=0,o=0,a=0,s=0,l=0,c=0;const u=new Set;for(const d of e){const e=d.geometry;switch(e.type){case"Point":n++,t++,u.add(e.coordinates.length);break;case"MultiPoint":n++,t+=e.coordinates.length;for(const t of e.coordinates)u.add(t.length);break;case"LineString":o++,r+=e.coordinates.length,i++;for(const t of e.coordinates)u.add(t.length);break;case"MultiLineString":o++;for(const t of e.coordinates){r+=t.length,i++;for(const e of t)u.add(e.length)}break;case"Polygon":c++,s++,l+=e.coordinates.length;const d=e.coordinates.flat();a+=d.length;for(const e of d)u.add(e.length);break;case"MultiPolygon":c++;for(const t of e.coordinates){s++,l+=t.length;const e=t.flat();a+=e.length;for(const t of e)u.add(t.length)}break;default:throw new Error("Unsupported geometry type: ".concat(e.type))}}return{coordLength:u.size>0?Math.max(...u):2,pointPositionsCount:t,pointFeaturesCount:n,linePositionsCount:r,linePathsCount:i,lineFeaturesCount:o,polygonPositionsCount:a,polygonObjectsCount:s,polygonRingsCount:l,polygonFeaturesCount:c}}(e),i=n.coordLength,{fixRingWinding:a}=t,s=o(e,{coordLength:i,fixRingWinding:a});return(0,r.E)(s,n,{numericPropKeys:t.numericPropKeys,PositionDataType:t.PositionDataType||Float32Array})}var u=n(60501);function d(e,t){return e.points&&h(e.points,t),e.lines&&h(e.lines,t),e.polygons&&h(e.polygons,t),e}function h(e,t){const{positions:n}=e;for(let r=0;rp(e,t)))}},60501:(e,t,n)=>{"use strict";function r(e,t){const n=null===t||void 0===t?void 0:t.globalFeatureId;return void 0!==n?function(e,t){const n=s(e);for(const r of n){let e=0,n=r.featureIds.value[0];for(let i=0;i2&&void 0!==arguments[2]?arguments[2]:"feature";switch(n){case"feature":return o(e,t);case"geometry":return a(e);default:throw new Error(n)}}function o(e,t){return function(e){const t=[];for(const n of e){if(0===n.featureIds.value.length)continue;let e=0,r=n.featureIds.value[0];for(let i=0;i1)return{type:"MultiPoint",coordinates:i};return{type:"Point",coordinates:i[0]}}(e,t,n);case"LineString":return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1/0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;const{positions:r}=e,i=e.pathIndices.value.filter((e=>e>=t&&e<=n));if(!(i.length>2)){return{type:"LineString",coordinates:u(r,i[0],i[1])}}const o=[];for(let a=0;a1&&void 0!==arguments[1]?arguments[1]:0;const n=Object.assign({},e.properties[e.featureIds.value[t]]);for(const r in e.numericProps)n[r]=e.numericProps[r].value[t];return n}(e,t,n),o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.fields&&e.fields[e.featureIds.value[t]]}(e,t,n);return{type:"Feature",geometry:r,properties:i,...o}}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1/0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;const{positions:r}=e,i=e.polygonIndices.value.filter((e=>e>=t&&e<=n)),o=e.primitivePolygonIndices.value.filter((e=>e>=t&&e<=n));if(!(i.length>2)){const e=[];for(let t=0;tr,cN:()=>i,fb:()=>a})},23140:(e,t,n)=>{"use strict";n.d(t,{E:()=>i});var r=n(8766);function i(e,t,n){const r=o(e),i=Object.keys(r).filter((e=>r[e]!==Array));return function(e,t,n){const{pointPositionsCount:r,pointFeaturesCount:i,linePositionsCount:o,linePathsCount:c,lineFeaturesCount:d,polygonPositionsCount:f,polygonObjectsCount:p,polygonRingsCount:g,polygonFeaturesCount:m,propArrayTypes:A,coordLength:v}=t,{numericPropKeys:y=[],PositionDataType:b=Float32Array}=n,_=e[0]&&"id"in e[0],w=e.length>65535?Uint32Array:Uint16Array,x={type:"Point",positions:new b(r*v),globalFeatureIds:new w(r),featureIds:i>65535?new Uint32Array(r):new Uint16Array(r),numericProps:{},properties:[],fields:[]},E={type:"LineString",pathIndices:o>65535?new Uint32Array(c+1):new Uint16Array(c+1),positions:new b(o*v),globalFeatureIds:new w(o),featureIds:d>65535?new Uint32Array(o):new Uint16Array(o),numericProps:{},properties:[],fields:[]},S={type:"Polygon",polygonIndices:f>65535?new Uint32Array(p+1):new Uint16Array(p+1),primitivePolygonIndices:f>65535?new Uint32Array(g+1):new Uint16Array(g+1),positions:new b(f*v),triangles:[],globalFeatureIds:new w(f),featureIds:m>65535?new Uint32Array(f):new Uint16Array(f),numericProps:{},properties:[],fields:[]};for(const a of[x,E,S])for(const e of y){const t=A[e];a.numericProps[e]=new t(a.positions.length/v)}E.pathIndices[c]=o,S.polygonIndices[p]=f,S.primitivePolygonIndices[g]=f;const C={pointPosition:0,pointFeature:0,linePosition:0,linePath:0,lineFeature:0,polygonPosition:0,polygonObject:0,polygonRing:0,polygonFeature:0,feature:0};for(const u of e){const e=u.geometry,t=u.properties||{};switch(e.type){case"Point":a(e,x,C,v,t),x.properties.push(h(t,y)),_&&x.fields.push({id:u.id}),C.pointFeature++;break;case"LineString":s(e,E,C,v,t),E.properties.push(h(t,y)),_&&E.fields.push({id:u.id}),C.lineFeature++;break;case"Polygon":l(e,S,C,v,t),S.properties.push(h(t,y)),_&&S.fields.push({id:u.id}),C.polygonFeature++;break;default:throw new Error("Invalid geometry type")}C.feature++}return function(e,t,n,r){return{points:{...e,positions:{value:e.positions,size:r},globalFeatureIds:{value:e.globalFeatureIds,size:1},featureIds:{value:e.featureIds,size:1},numericProps:u(e.numericProps,1)},lines:{...t,positions:{value:t.positions,size:r},pathIndices:{value:t.pathIndices,size:1},globalFeatureIds:{value:t.globalFeatureIds,size:1},featureIds:{value:t.featureIds,size:1},numericProps:u(t.numericProps,1)},polygons:{...n,positions:{value:n.positions,size:r},polygonIndices:{value:n.polygonIndices,size:1},primitivePolygonIndices:{value:n.primitivePolygonIndices,size:1},triangles:{value:new Uint32Array(n.triangles),size:1},globalFeatureIds:{value:n.globalFeatureIds,size:1},featureIds:{value:n.featureIds,size:1},numericProps:u(n.numericProps,1)}}}(x,E,S,v)}(e,{propArrayTypes:r,...t},{numericPropKeys:n&&n.numericPropKeys||i,PositionDataType:n?n.PositionDataType:Float32Array})}function o(e){const t={};for(const n of e)if(n.properties)for(const e in n.properties){const r=n.properties[e];t[e]=f(r,t[e])}return t}function a(e,t,n,r,i){t.positions.set(e.data,n.pointPosition*r);const o=e.data.length/r;d(t,i,n.pointPosition,o),t.globalFeatureIds.fill(n.feature,n.pointPosition,n.pointPosition+o),t.featureIds.fill(n.pointFeature,n.pointPosition,n.pointPosition+o),n.pointPosition+=o}function s(e,t,n,r,i){t.positions.set(e.data,n.linePosition*r);const o=e.data.length/r;d(t,i,n.linePosition,o),t.globalFeatureIds.fill(n.feature,n.linePosition,n.linePosition+o),t.featureIds.fill(n.lineFeature,n.linePosition,n.linePosition+o);for(let a=0,s=e.indices.length;a(e-d)/s)),f=(0,r.earcut)(u,h,s,t);for(let r=0,p=f.length;r{"use strict";function r(e,t){if(!e)throw new Error(t||"loader assertion failed.")}n.d(t,{h:()=>r})},69113:(e,t,n)=>{"use strict";n.d(t,{jU:()=>r});"undefined"!==typeof self&&self,"undefined"!==typeof window&&window,"undefined"!==typeof n.g&&n.g,"undefined"!==typeof document&&document;const r=Boolean("object"!==typeof process||"[object process]"!==String(process)||process.browser),i="undefined"!==typeof process&&process.version&&/v([0-9]*)/.exec(process.version);i&&parseFloat(i[1])},45802:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readTag=t.readFeature=t.project=t.classifyRings=void 0;const r=n(8766);function i(e,t){const n=e.readVarint()+e.pos;for(;e.pos{"use strict";function n(e){let t=0;for(let n,r,i=0,o=e.length-1;i{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TEST_EXPORTS=void 0;const r=n(45802);let i,o,a,s,l,c,u;t.TEST_EXPORTS={classifyRings:r.classifyRings};t.default=class{constructor(e,t,n,i,o,a){this.properties={},this.extent=n,this.type=0,this.id=null,this._pbf=e,this._geometry=-1,this._keys=i,this._values=o,this._geometryInfo=a,e.readFields(r.readFeature,this,t)}loadGeometry(){const e=this._pbf;e.pos=this._geometry,i=e.readVarint()+e.pos,o=1,s=0,l=0,c=0,u=0;const t=[],n=[];for(;e.pos>3),s--,1===o||2===o)l+=e.readSVarint(),c+=e.readSVarint(),1===o&&t.push(u),n.push(l,c),u+=2;else{if(7!==o)throw new Error("unknown command ".concat(o));if(u>0){const e=t[t.length-1];n.push(n[e],n[e+1]),u+=2}}return{data:n,indices:t}}_toBinaryCoordinates(e){const t=this.loadGeometry();let n;e(t.data,this);switch(this.type){case 1:this._geometryInfo.pointFeaturesCount++,this._geometryInfo.pointPositionsCount+=t.indices.length,n={type:"Point",...t};break;case 2:this._geometryInfo.lineFeaturesCount++,this._geometryInfo.linePathsCount+=t.indices.length,this._geometryInfo.linePositionsCount+=t.data.length/2,n={type:"LineString",...t};break;case 3:n=(0,r.classifyRings)(t),this._geometryInfo.polygonFeaturesCount++,this._geometryInfo.polygonObjectsCount+=n.indices.length;for(const e of n.indices)this._geometryInfo.polygonRingsCount+=e.length;this._geometryInfo.polygonPositionsCount+=n.data.length/2;break;default:throw new Error("Invalid geometry type: ".concat(this.type))}const i={type:"Feature",geometry:n,properties:this.properties};return null!==this.id&&(i.id=this.id),i}toBinaryCoordinates(e){if("function"===typeof e)return this._toBinaryCoordinates(e);const{x:t,y:n,z:i}=e,o=this.extent*Math.pow(2,i),a=this.extent*t,s=this.extent*n;return this._toBinaryCoordinates((e=>(0,r.project)(e,a,s,o)))}}},29243:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=r(n(30500));function o(e,t,n){t&&n&&(15===e?t.version=n.readVarint():1===e?t.name=n.readString():5===e?t.extent=n.readVarint():2===e?t._features.push(n.pos):3===e?t._keys.push(n.readString()):4===e&&t._values.push(function(e){let t=null;const n=e.readVarint()+e.pos;for(;e.pos>3;t=1===n?e.readString():2===n?e.readFloat():3===n?e.readDouble():4===n?e.readVarint64():5===n?e.readVarint():6===n?e.readSVarint():7===n?e.readBoolean():null}return t}(n)))}t.default=class{constructor(e,t){this.version=1,this.name="",this.extent=4096,this.length=0,this._pbf=e,this._keys=[],this._values=[],this._features=[],e.readFields(o,this,t),this.length=this._features.length}feature(e,t){if(e<0||e>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[e];const n=this._pbf.readVarint()+this._pbf.pos;return new i.default(this._pbf,n,this.extent,this._keys,this._values,t)}}},27615:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=r(n(29243));function o(e,t,n){if(3===e&&n){const e=new i.default(n,n.readVarint()+n.pos);e.length&&t&&(t[e.name]=e)}}t.default=class{constructor(e,t){this.layers=e.readFields(o,{},t)}}},85847:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(69209);class i{static get types(){return["Unknown","Point","LineString","Polygon"]}constructor(e,t,n,i,o){this.properties={},this.extent=n,this.type=0,this.id=null,this._pbf=e,this._geometry=-1,this._keys=i,this._values=o,e.readFields(r.readFeature,this,t)}loadGeometry(){const e=this._pbf;e.pos=this._geometry;const t=e.readVarint()+e.pos;let n=1,r=0,i=0,o=0;const a=[];let s;for(;e.pos>3}if(r--,1===n||2===n)i+=e.readSVarint(),o+=e.readSVarint(),1===n&&(s&&a.push(s),s=[]),s&&s.push([i,o]);else{if(7!==n)throw new Error("unknown command ".concat(n));s&&s.push(s[0].slice())}}return s&&a.push(s),a}bbox(){const e=this._pbf;e.pos=this._geometry;const t=e.readVarint()+e.pos;let n=1,r=0,i=0,o=0,a=1/0,s=-1/0,l=1/0,c=-1/0;for(;e.pos>3}if(r--,1===n||2===n)i+=e.readSVarint(),o+=e.readSVarint(),is&&(s=i),oc&&(c=o);else if(7!==n)throw new Error("unknown command ".concat(n))}return[a,l,s,c]}_toGeoJSON(e){let t,n,o=this.loadGeometry(),a=i.types[this.type];switch(this.type){case 1:const i=[];for(t=0;t>3;t=1===n?e.readString():2===n?e.readFloat():3===n?e.readDouble():4===n?e.readVarint64():5===n?e.readVarint():6===n?e.readSVarint():7===n?e.readBoolean():null}return t}(n)))}t.default=class{constructor(e,t){this.version=1,this.name="",this.extent=4096,this.length=0,this._pbf=e,this._keys=[],this._values=[],this._features=[],e.readFields(o,this,t),this.length=this._features.length}feature(e){if(e<0||e>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[e];const t=this._pbf.readVarint()+this._pbf.pos;return new i.default(this._pbf,t,this.extent,this._keys,this._values)}}},36452:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=r(n(34925));function o(e,t,n){if(3===e&&n){const e=new i.default(n,n.readVarint()+n.pos);e.length&&t&&(t[e.name]=e)}}t.default=class{constructor(e,t){this.layers=e.readFields(o,{},t)}}},64274:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(68072),o=r(n(30576)),a=r(n(36452)),s=r(n(27615));function l(e,t){const[n,r]=function(e,t){const n=[],r={coordLength:2,pointPositionsCount:0,pointFeaturesCount:0,linePositionsCount:0,linePathsCount:0,lineFeaturesCount:0,polygonPositionsCount:0,polygonObjectsCount:0,polygonRingsCount:0,polygonFeaturesCount:0};if(e.byteLength<=0)return[n,r];const i=new s.default(new o.default(e)),a=t&&Array.isArray(t.layers)?t.layers:Object.keys(i.layers);return a.forEach((e=>{const o=i.layers[e];if(o)for(let i=0;i{const i=r.layers[e];if(i)for(let r=0;r{"use strict";n.d(t,{Z:()=>r});const r={DEPTH_BUFFER_BIT:256,STENCIL_BUFFER_BIT:1024,COLOR_BUFFER_BIT:16384,POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6,ZERO:0,ONE:1,SRC_COLOR:768,ONE_MINUS_SRC_COLOR:769,SRC_ALPHA:770,ONE_MINUS_SRC_ALPHA:771,DST_ALPHA:772,ONE_MINUS_DST_ALPHA:773,DST_COLOR:774,ONE_MINUS_DST_COLOR:775,SRC_ALPHA_SATURATE:776,CONSTANT_COLOR:32769,ONE_MINUS_CONSTANT_COLOR:32770,CONSTANT_ALPHA:32771,ONE_MINUS_CONSTANT_ALPHA:32772,FUNC_ADD:32774,FUNC_SUBTRACT:32778,FUNC_REVERSE_SUBTRACT:32779,BLEND_EQUATION:32777,BLEND_EQUATION_RGB:32777,BLEND_EQUATION_ALPHA:34877,BLEND_DST_RGB:32968,BLEND_SRC_RGB:32969,BLEND_DST_ALPHA:32970,BLEND_SRC_ALPHA:32971,BLEND_COLOR:32773,ARRAY_BUFFER_BINDING:34964,ELEMENT_ARRAY_BUFFER_BINDING:34965,LINE_WIDTH:2849,ALIASED_POINT_SIZE_RANGE:33901,ALIASED_LINE_WIDTH_RANGE:33902,CULL_FACE_MODE:2885,FRONT_FACE:2886,DEPTH_RANGE:2928,DEPTH_WRITEMASK:2930,DEPTH_CLEAR_VALUE:2931,DEPTH_FUNC:2932,STENCIL_CLEAR_VALUE:2961,STENCIL_FUNC:2962,STENCIL_FAIL:2964,STENCIL_PASS_DEPTH_FAIL:2965,STENCIL_PASS_DEPTH_PASS:2966,STENCIL_REF:2967,STENCIL_VALUE_MASK:2963,STENCIL_WRITEMASK:2968,STENCIL_BACK_FUNC:34816,STENCIL_BACK_FAIL:34817,STENCIL_BACK_PASS_DEPTH_FAIL:34818,STENCIL_BACK_PASS_DEPTH_PASS:34819,STENCIL_BACK_REF:36003,STENCIL_BACK_VALUE_MASK:36004,STENCIL_BACK_WRITEMASK:36005,VIEWPORT:2978,SCISSOR_BOX:3088,COLOR_CLEAR_VALUE:3106,COLOR_WRITEMASK:3107,UNPACK_ALIGNMENT:3317,PACK_ALIGNMENT:3333,MAX_TEXTURE_SIZE:3379,MAX_VIEWPORT_DIMS:3386,SUBPIXEL_BITS:3408,RED_BITS:3410,GREEN_BITS:3411,BLUE_BITS:3412,ALPHA_BITS:3413,DEPTH_BITS:3414,STENCIL_BITS:3415,POLYGON_OFFSET_UNITS:10752,POLYGON_OFFSET_FACTOR:32824,TEXTURE_BINDING_2D:32873,SAMPLE_BUFFERS:32936,SAMPLES:32937,SAMPLE_COVERAGE_VALUE:32938,SAMPLE_COVERAGE_INVERT:32939,COMPRESSED_TEXTURE_FORMATS:34467,VENDOR:7936,RENDERER:7937,VERSION:7938,IMPLEMENTATION_COLOR_READ_TYPE:35738,IMPLEMENTATION_COLOR_READ_FORMAT:35739,BROWSER_DEFAULT_WEBGL:37444,STATIC_DRAW:35044,STREAM_DRAW:35040,DYNAMIC_DRAW:35048,ARRAY_BUFFER:34962,ELEMENT_ARRAY_BUFFER:34963,BUFFER_SIZE:34660,BUFFER_USAGE:34661,CURRENT_VERTEX_ATTRIB:34342,VERTEX_ATTRIB_ARRAY_ENABLED:34338,VERTEX_ATTRIB_ARRAY_SIZE:34339,VERTEX_ATTRIB_ARRAY_STRIDE:34340,VERTEX_ATTRIB_ARRAY_TYPE:34341,VERTEX_ATTRIB_ARRAY_NORMALIZED:34922,VERTEX_ATTRIB_ARRAY_POINTER:34373,VERTEX_ATTRIB_ARRAY_BUFFER_BINDING:34975,CULL_FACE:2884,FRONT:1028,BACK:1029,FRONT_AND_BACK:1032,BLEND:3042,DEPTH_TEST:2929,DITHER:3024,POLYGON_OFFSET_FILL:32823,SAMPLE_ALPHA_TO_COVERAGE:32926,SAMPLE_COVERAGE:32928,SCISSOR_TEST:3089,STENCIL_TEST:2960,NO_ERROR:0,INVALID_ENUM:1280,INVALID_VALUE:1281,INVALID_OPERATION:1282,OUT_OF_MEMORY:1285,CONTEXT_LOST_WEBGL:37442,CW:2304,CCW:2305,DONT_CARE:4352,FASTEST:4353,NICEST:4354,GENERATE_MIPMAP_HINT:33170,BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,DOUBLE:5130,DEPTH_COMPONENT:6402,ALPHA:6406,RGB:6407,RGBA:6408,LUMINANCE:6409,LUMINANCE_ALPHA:6410,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,FRAGMENT_SHADER:35632,VERTEX_SHADER:35633,COMPILE_STATUS:35713,DELETE_STATUS:35712,LINK_STATUS:35714,VALIDATE_STATUS:35715,ATTACHED_SHADERS:35717,ACTIVE_ATTRIBUTES:35721,ACTIVE_UNIFORMS:35718,MAX_VERTEX_ATTRIBS:34921,MAX_VERTEX_UNIFORM_VECTORS:36347,MAX_VARYING_VECTORS:36348,MAX_COMBINED_TEXTURE_IMAGE_UNITS:35661,MAX_VERTEX_TEXTURE_IMAGE_UNITS:35660,MAX_TEXTURE_IMAGE_UNITS:34930,MAX_FRAGMENT_UNIFORM_VECTORS:36349,SHADER_TYPE:35663,SHADING_LANGUAGE_VERSION:35724,CURRENT_PROGRAM:35725,NEVER:512,ALWAYS:519,LESS:513,EQUAL:514,LEQUAL:515,GREATER:516,GEQUAL:518,NOTEQUAL:517,KEEP:7680,REPLACE:7681,INCR:7682,DECR:7683,INVERT:5386,INCR_WRAP:34055,DECR_WRAP:34056,NEAREST:9728,LINEAR:9729,NEAREST_MIPMAP_NEAREST:9984,LINEAR_MIPMAP_NEAREST:9985,NEAREST_MIPMAP_LINEAR:9986,LINEAR_MIPMAP_LINEAR:9987,TEXTURE_MAG_FILTER:10240,TEXTURE_MIN_FILTER:10241,TEXTURE_WRAP_S:10242,TEXTURE_WRAP_T:10243,TEXTURE_2D:3553,TEXTURE:5890,TEXTURE_CUBE_MAP:34067,TEXTURE_BINDING_CUBE_MAP:34068,TEXTURE_CUBE_MAP_POSITIVE_X:34069,TEXTURE_CUBE_MAP_NEGATIVE_X:34070,TEXTURE_CUBE_MAP_POSITIVE_Y:34071,TEXTURE_CUBE_MAP_NEGATIVE_Y:34072,TEXTURE_CUBE_MAP_POSITIVE_Z:34073,TEXTURE_CUBE_MAP_NEGATIVE_Z:34074,MAX_CUBE_MAP_TEXTURE_SIZE:34076,TEXTURE0:33984,ACTIVE_TEXTURE:34016,REPEAT:10497,CLAMP_TO_EDGE:33071,MIRRORED_REPEAT:33648,TEXTURE_WIDTH:4096,TEXTURE_HEIGHT:4097,FLOAT_VEC2:35664,FLOAT_VEC3:35665,FLOAT_VEC4:35666,INT_VEC2:35667,INT_VEC3:35668,INT_VEC4:35669,BOOL:35670,BOOL_VEC2:35671,BOOL_VEC3:35672,BOOL_VEC4:35673,FLOAT_MAT2:35674,FLOAT_MAT3:35675,FLOAT_MAT4:35676,SAMPLER_2D:35678,SAMPLER_CUBE:35680,LOW_FLOAT:36336,MEDIUM_FLOAT:36337,HIGH_FLOAT:36338,LOW_INT:36339,MEDIUM_INT:36340,HIGH_INT:36341,FRAMEBUFFER:36160,RENDERBUFFER:36161,RGBA4:32854,RGB5_A1:32855,RGB565:36194,DEPTH_COMPONENT16:33189,STENCIL_INDEX:6401,STENCIL_INDEX8:36168,DEPTH_STENCIL:34041,RENDERBUFFER_WIDTH:36162,RENDERBUFFER_HEIGHT:36163,RENDERBUFFER_INTERNAL_FORMAT:36164,RENDERBUFFER_RED_SIZE:36176,RENDERBUFFER_GREEN_SIZE:36177,RENDERBUFFER_BLUE_SIZE:36178,RENDERBUFFER_ALPHA_SIZE:36179,RENDERBUFFER_DEPTH_SIZE:36180,RENDERBUFFER_STENCIL_SIZE:36181,FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE:36048,FRAMEBUFFER_ATTACHMENT_OBJECT_NAME:36049,FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL:36050,FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE:36051,COLOR_ATTACHMENT0:36064,DEPTH_ATTACHMENT:36096,STENCIL_ATTACHMENT:36128,DEPTH_STENCIL_ATTACHMENT:33306,NONE:0,FRAMEBUFFER_COMPLETE:36053,FRAMEBUFFER_INCOMPLETE_ATTACHMENT:36054,FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT:36055,FRAMEBUFFER_INCOMPLETE_DIMENSIONS:36057,FRAMEBUFFER_UNSUPPORTED:36061,FRAMEBUFFER_BINDING:36006,RENDERBUFFER_BINDING:36007,READ_FRAMEBUFFER:36008,DRAW_FRAMEBUFFER:36009,MAX_RENDERBUFFER_SIZE:34024,INVALID_FRAMEBUFFER_OPERATION:1286,UNPACK_FLIP_Y_WEBGL:37440,UNPACK_PREMULTIPLY_ALPHA_WEBGL:37441,UNPACK_COLORSPACE_CONVERSION_WEBGL:37443,READ_BUFFER:3074,UNPACK_ROW_LENGTH:3314,UNPACK_SKIP_ROWS:3315,UNPACK_SKIP_PIXELS:3316,PACK_ROW_LENGTH:3330,PACK_SKIP_ROWS:3331,PACK_SKIP_PIXELS:3332,TEXTURE_BINDING_3D:32874,UNPACK_SKIP_IMAGES:32877,UNPACK_IMAGE_HEIGHT:32878,MAX_3D_TEXTURE_SIZE:32883,MAX_ELEMENTS_VERTICES:33e3,MAX_ELEMENTS_INDICES:33001,MAX_TEXTURE_LOD_BIAS:34045,MAX_FRAGMENT_UNIFORM_COMPONENTS:35657,MAX_VERTEX_UNIFORM_COMPONENTS:35658,MAX_ARRAY_TEXTURE_LAYERS:35071,MIN_PROGRAM_TEXEL_OFFSET:35076,MAX_PROGRAM_TEXEL_OFFSET:35077,MAX_VARYING_COMPONENTS:35659,FRAGMENT_SHADER_DERIVATIVE_HINT:35723,RASTERIZER_DISCARD:35977,VERTEX_ARRAY_BINDING:34229,MAX_VERTEX_OUTPUT_COMPONENTS:37154,MAX_FRAGMENT_INPUT_COMPONENTS:37157,MAX_SERVER_WAIT_TIMEOUT:37137,MAX_ELEMENT_INDEX:36203,RED:6403,RGB8:32849,RGBA8:32856,RGB10_A2:32857,TEXTURE_3D:32879,TEXTURE_WRAP_R:32882,TEXTURE_MIN_LOD:33082,TEXTURE_MAX_LOD:33083,TEXTURE_BASE_LEVEL:33084,TEXTURE_MAX_LEVEL:33085,TEXTURE_COMPARE_MODE:34892,TEXTURE_COMPARE_FUNC:34893,SRGB:35904,SRGB8:35905,SRGB8_ALPHA8:35907,COMPARE_REF_TO_TEXTURE:34894,RGBA32F:34836,RGB32F:34837,RGBA16F:34842,RGB16F:34843,TEXTURE_2D_ARRAY:35866,TEXTURE_BINDING_2D_ARRAY:35869,R11F_G11F_B10F:35898,RGB9_E5:35901,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,RED_INTEGER:36244,RGB_INTEGER:36248,RGBA_INTEGER:36249,R8:33321,RG8:33323,R16F:33325,R32F:33326,RG16F:33327,RG32F:33328,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2UI:36975,TEXTURE_IMMUTABLE_FORMAT:37167,TEXTURE_IMMUTABLE_LEVELS:33503,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269,UNSIGNED_INT_24_8:34042,HALF_FLOAT:5131,RG:33319,RG_INTEGER:33320,INT_2_10_10_10_REV:36255,CURRENT_QUERY:34917,QUERY_RESULT:34918,QUERY_RESULT_AVAILABLE:34919,ANY_SAMPLES_PASSED:35887,ANY_SAMPLES_PASSED_CONSERVATIVE:36202,MAX_DRAW_BUFFERS:34852,DRAW_BUFFER0:34853,DRAW_BUFFER1:34854,DRAW_BUFFER2:34855,DRAW_BUFFER3:34856,DRAW_BUFFER4:34857,DRAW_BUFFER5:34858,DRAW_BUFFER6:34859,DRAW_BUFFER7:34860,DRAW_BUFFER8:34861,DRAW_BUFFER9:34862,DRAW_BUFFER10:34863,DRAW_BUFFER11:34864,DRAW_BUFFER12:34865,DRAW_BUFFER13:34866,DRAW_BUFFER14:34867,DRAW_BUFFER15:34868,MAX_COLOR_ATTACHMENTS:36063,COLOR_ATTACHMENT1:36065,COLOR_ATTACHMENT2:36066,COLOR_ATTACHMENT3:36067,COLOR_ATTACHMENT4:36068,COLOR_ATTACHMENT5:36069,COLOR_ATTACHMENT6:36070,COLOR_ATTACHMENT7:36071,COLOR_ATTACHMENT8:36072,COLOR_ATTACHMENT9:36073,COLOR_ATTACHMENT10:36074,COLOR_ATTACHMENT11:36075,COLOR_ATTACHMENT12:36076,COLOR_ATTACHMENT13:36077,COLOR_ATTACHMENT14:36078,COLOR_ATTACHMENT15:36079,SAMPLER_3D:35679,SAMPLER_2D_SHADOW:35682,SAMPLER_2D_ARRAY:36289,SAMPLER_2D_ARRAY_SHADOW:36292,SAMPLER_CUBE_SHADOW:36293,INT_SAMPLER_2D:36298,INT_SAMPLER_3D:36299,INT_SAMPLER_CUBE:36300,INT_SAMPLER_2D_ARRAY:36303,UNSIGNED_INT_SAMPLER_2D:36306,UNSIGNED_INT_SAMPLER_3D:36307,UNSIGNED_INT_SAMPLER_CUBE:36308,UNSIGNED_INT_SAMPLER_2D_ARRAY:36311,MAX_SAMPLES:36183,SAMPLER_BINDING:35097,PIXEL_PACK_BUFFER:35051,PIXEL_UNPACK_BUFFER:35052,PIXEL_PACK_BUFFER_BINDING:35053,PIXEL_UNPACK_BUFFER_BINDING:35055,COPY_READ_BUFFER:36662,COPY_WRITE_BUFFER:36663,COPY_READ_BUFFER_BINDING:36662,COPY_WRITE_BUFFER_BINDING:36663,FLOAT_MAT2x3:35685,FLOAT_MAT2x4:35686,FLOAT_MAT3x2:35687,FLOAT_MAT3x4:35688,FLOAT_MAT4x2:35689,FLOAT_MAT4x3:35690,UNSIGNED_INT_VEC2:36294,UNSIGNED_INT_VEC3:36295,UNSIGNED_INT_VEC4:36296,UNSIGNED_NORMALIZED:35863,SIGNED_NORMALIZED:36764,VERTEX_ATTRIB_ARRAY_INTEGER:35069,VERTEX_ATTRIB_ARRAY_DIVISOR:35070,TRANSFORM_FEEDBACK_BUFFER_MODE:35967,MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS:35968,TRANSFORM_FEEDBACK_VARYINGS:35971,TRANSFORM_FEEDBACK_BUFFER_START:35972,TRANSFORM_FEEDBACK_BUFFER_SIZE:35973,TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN:35976,MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS:35978,MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS:35979,INTERLEAVED_ATTRIBS:35980,SEPARATE_ATTRIBS:35981,TRANSFORM_FEEDBACK_BUFFER:35982,TRANSFORM_FEEDBACK_BUFFER_BINDING:35983,TRANSFORM_FEEDBACK:36386,TRANSFORM_FEEDBACK_PAUSED:36387,TRANSFORM_FEEDBACK_ACTIVE:36388,TRANSFORM_FEEDBACK_BINDING:36389,FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING:33296,FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE:33297,FRAMEBUFFER_ATTACHMENT_RED_SIZE:33298,FRAMEBUFFER_ATTACHMENT_GREEN_SIZE:33299,FRAMEBUFFER_ATTACHMENT_BLUE_SIZE:33300,FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE:33301,FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE:33302,FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE:33303,FRAMEBUFFER_DEFAULT:33304,DEPTH24_STENCIL8:35056,DRAW_FRAMEBUFFER_BINDING:36006,READ_FRAMEBUFFER_BINDING:36010,RENDERBUFFER_SAMPLES:36011,FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER:36052,FRAMEBUFFER_INCOMPLETE_MULTISAMPLE:36182,UNIFORM_BUFFER:35345,UNIFORM_BUFFER_BINDING:35368,UNIFORM_BUFFER_START:35369,UNIFORM_BUFFER_SIZE:35370,MAX_VERTEX_UNIFORM_BLOCKS:35371,MAX_FRAGMENT_UNIFORM_BLOCKS:35373,MAX_COMBINED_UNIFORM_BLOCKS:35374,MAX_UNIFORM_BUFFER_BINDINGS:35375,MAX_UNIFORM_BLOCK_SIZE:35376,MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS:35377,MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS:35379,UNIFORM_BUFFER_OFFSET_ALIGNMENT:35380,ACTIVE_UNIFORM_BLOCKS:35382,UNIFORM_TYPE:35383,UNIFORM_SIZE:35384,UNIFORM_BLOCK_INDEX:35386,UNIFORM_OFFSET:35387,UNIFORM_ARRAY_STRIDE:35388,UNIFORM_MATRIX_STRIDE:35389,UNIFORM_IS_ROW_MAJOR:35390,UNIFORM_BLOCK_BINDING:35391,UNIFORM_BLOCK_DATA_SIZE:35392,UNIFORM_BLOCK_ACTIVE_UNIFORMS:35394,UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES:35395,UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER:35396,UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER:35398,OBJECT_TYPE:37138,SYNC_CONDITION:37139,SYNC_STATUS:37140,SYNC_FLAGS:37141,SYNC_FENCE:37142,SYNC_GPU_COMMANDS_COMPLETE:37143,UNSIGNALED:37144,SIGNALED:37145,ALREADY_SIGNALED:37146,TIMEOUT_EXPIRED:37147,CONDITION_SATISFIED:37148,WAIT_FAILED:37149,SYNC_FLUSH_COMMANDS_BIT:1,COLOR:6144,DEPTH:6145,STENCIL:6146,MIN:32775,MAX:32776,DEPTH_COMPONENT24:33190,STREAM_READ:35041,STREAM_COPY:35042,STATIC_READ:35045,STATIC_COPY:35046,DYNAMIC_READ:35049,DYNAMIC_COPY:35050,DEPTH_COMPONENT32F:36012,DEPTH32F_STENCIL8:36013,INVALID_INDEX:4294967295,TIMEOUT_IGNORED:-1,MAX_CLIENT_WAIT_TIMEOUT_WEBGL:37447,VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE:35070,UNMASKED_VENDOR_WEBGL:37445,UNMASKED_RENDERER_WEBGL:37446,MAX_TEXTURE_MAX_ANISOTROPY_EXT:34047,TEXTURE_MAX_ANISOTROPY_EXT:34046,COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_RGBA8_ETC2_EAC:37493,COMPRESSED_SRGB8_ETC2:37494,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37495,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37496,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37497,COMPRESSED_RGB_PVRTC_4BPPV1_IMG:35840,COMPRESSED_RGBA_PVRTC_4BPPV1_IMG:35842,COMPRESSED_RGB_PVRTC_2BPPV1_IMG:35841,COMPRESSED_RGBA_PVRTC_2BPPV1_IMG:35843,COMPRESSED_RGB_ETC1_WEBGL:36196,COMPRESSED_RGB_ATC_WEBGL:35986,COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL:35986,COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL:34798,UNSIGNED_INT_24_8_WEBGL:34042,HALF_FLOAT_OES:36193,RGBA32F_EXT:34836,RGB32F_EXT:34837,FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT:33297,UNSIGNED_NORMALIZED_EXT:35863,MIN_EXT:32775,MAX_EXT:32776,SRGB_EXT:35904,SRGB_ALPHA_EXT:35906,SRGB8_ALPHA8_EXT:35907,FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT:33296,FRAGMENT_SHADER_DERIVATIVE_HINT_OES:35723,COLOR_ATTACHMENT0_WEBGL:36064,COLOR_ATTACHMENT1_WEBGL:36065,COLOR_ATTACHMENT2_WEBGL:36066,COLOR_ATTACHMENT3_WEBGL:36067,COLOR_ATTACHMENT4_WEBGL:36068,COLOR_ATTACHMENT5_WEBGL:36069,COLOR_ATTACHMENT6_WEBGL:36070,COLOR_ATTACHMENT7_WEBGL:36071,COLOR_ATTACHMENT8_WEBGL:36072,COLOR_ATTACHMENT9_WEBGL:36073,COLOR_ATTACHMENT10_WEBGL:36074,COLOR_ATTACHMENT11_WEBGL:36075,COLOR_ATTACHMENT12_WEBGL:36076,COLOR_ATTACHMENT13_WEBGL:36077,COLOR_ATTACHMENT14_WEBGL:36078,COLOR_ATTACHMENT15_WEBGL:36079,DRAW_BUFFER0_WEBGL:34853,DRAW_BUFFER1_WEBGL:34854,DRAW_BUFFER2_WEBGL:34855,DRAW_BUFFER3_WEBGL:34856,DRAW_BUFFER4_WEBGL:34857,DRAW_BUFFER5_WEBGL:34858,DRAW_BUFFER6_WEBGL:34859,DRAW_BUFFER7_WEBGL:34860,DRAW_BUFFER8_WEBGL:34861,DRAW_BUFFER9_WEBGL:34862,DRAW_BUFFER10_WEBGL:34863,DRAW_BUFFER11_WEBGL:34864,DRAW_BUFFER12_WEBGL:34865,DRAW_BUFFER13_WEBGL:34866,DRAW_BUFFER14_WEBGL:34867,DRAW_BUFFER15_WEBGL:34868,MAX_COLOR_ATTACHMENTS_WEBGL:36063,MAX_DRAW_BUFFERS_WEBGL:34852,VERTEX_ARRAY_BINDING_OES:34229,QUERY_COUNTER_BITS_EXT:34916,CURRENT_QUERY_EXT:34917,QUERY_RESULT_EXT:34918,QUERY_RESULT_AVAILABLE_EXT:34919,TIME_ELAPSED_EXT:35007,TIMESTAMP_EXT:36392,GPU_DISJOINT_EXT:36795}},16621:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(39042),i=n(59661);const o={POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6};class a{static get DRAW_MODE(){return o}constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{id:t=(0,r.hQ)("geometry"),drawMode:n=o.TRIANGLES,attributes:i={},indices:a=null,vertexCount:s=null}=e;this.id=t,this.drawMode=0|n,this.attributes={},this.userData={},this._setAttributes(i,a),this.vertexCount=s||this._calculateVertexCount(this.attributes,this.indices)}get mode(){return this.drawMode}getVertexCount(){return this.vertexCount}getAttributes(){return this.indices?{indices:this.indices,...this.attributes}:this.attributes}_print(e){return"Geometry ".concat(this.id," attribute ").concat(e)}_setAttributes(e,t){t&&(this.indices=ArrayBuffer.isView(t)?{value:t,size:1}:t);for(const n in e){let t=e[n];t=ArrayBuffer.isView(t)?{value:t}:t,(0,i.h)(ArrayBuffer.isView(t.value),"".concat(this._print(n),": must be typed array or object with value as typed array")),"POSITION"!==n&&"positions"!==n||t.size||(t.size=3),"indices"===n?((0,i.h)(!this.indices),this.indices=t):this.attributes[n]=t}return this.indices&&void 0!==this.indices.isIndexed&&(this.indices=Object.assign({},this.indices),delete this.indices.isIndexed),this}_calculateVertexCount(e,t){if(t)return t.value.length;let n=1/0;for(const r in e){const t=e[r],{value:i,size:o,constant:a}=t;!a&&i&&o>=1&&(n=Math.min(n,i.length/o))}return(0,i.h)(Number.isFinite(n)),n}}},44548:(e,t,n)=>{"use strict";n.d(t,{Z:()=>L});var r=n(76195),i=n(68833),o=n(39042),a=n(59661),s=n(36708),l=n(32073),c=n(71254),u=n(64180),d=n(1112);let h=null;function f(e,t){var n;return new e((n=e.BYTES_PER_ELEMENT*t,(!h||h.byteLength1&&void 0!==arguments[1]?arguments[1]:{}).constantAttributeZero||((0,r.D0)(e)||"Chrome"===(0,p.Z)())}static getDefaultArray(e){return e.luma=e.luma||{},e.luma.defaultVertexArray||(e.luma.defaultVertexArray=new g(e,{handle:null,isDefaultArray:!0})),e.luma.defaultVertexArray}static getMaxAttributes(e){return g.MAX_ATTRIBUTES=g.MAX_ATTRIBUTES||e.getParameter(34921),g.MAX_ATTRIBUTES}static setConstant(e,t,n){switch(n.constructor){case Float32Array:g._setConstantFloatArray(e,t,n);break;case Int32Array:g._setConstantIntArray(e,t,n);break;case Uint32Array:g._setConstantUintArray(e,t,n);break;default:(0,a.h)(!1)}}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=t.id||t.program&&t.program.id;super(e,Object.assign({},t,{id:n})),this.buffer=null,this.bufferValue=null,this.isDefaultArray=t.isDefaultArray||!1,this.gl2=e,this.initialize(t),Object.seal(this)}delete(){return super.delete(),this.buffer&&this.buffer.delete(),this}get MAX_ATTRIBUTES(){return g.getMaxAttributes(this.gl)}initialize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.setProps(e)}setProps(e){return this}setElementBuffer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return(0,a.h)(!e||34963===e.target,"elements must be GL.ELEMENT_ARRAY_BUFFER"),this.bind((()=>{this.gl.bindBuffer(34963,e?e.handle:null)})),this}setBuffer(e,t,n){if(34963===t.target)return this.setElementBuffer(t,n);const{size:i,type:o,stride:s,offset:l,normalized:c,integer:u,divisor:d}=n,{gl:h,gl2:f}=this;return e=Number(e),this.bind((()=>{h.bindBuffer(34962,t.handle),u?((0,a.h)((0,r.D0)(h)),f.vertexAttribIPointer(e,i,o,s,l)):h.vertexAttribPointer(e,i,o,c,s,l),h.enableVertexAttribArray(e),f.vertexAttribDivisor(e,d||0)})),this}enable(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!t&&0===e&&!g.isSupported(this.gl,{constantAttributeZero:!0})||(e=Number(e),this.bind((()=>t?this.gl.enableVertexAttribArray(e):this.gl.disableVertexAttribArray(e)))),this}getConstantBuffer(e,t){const n=this._normalizeConstantArrayValue(t),r=n.byteLength*e,i=n.length*e;let o=!this.buffer;if(this.buffer=this.buffer||new u.Z(this.gl,r),o=o||this.buffer.reallocate(r),o=o||!this._compareConstantArrayValues(n,this.bufferValue),o){const e=f(t.constructor,i);!function(e){let{target:t,source:n,start:r=0,count:i=1}=e;const o=n.length,a=i*o;let s=0;for(let l=r;s34373===e?this.gl.getVertexAttribOffset(n,e):this.gl.getVertexAttrib(n,e)))}}var m=n(43331);const A=/^(.+)__LOCATION_([0-9]+)$/,v=["setBuffers","setGeneric","clearBindings","setLocations","setGenericValues","setDivisor","enable","disable"];class y{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=t.id||t.program&&t.program.id;this.id=n,this.gl=e,this.configuration=null,this.elements=null,this.elementsAccessor=null,this.values=null,this.accessors=null,this.unused=null,this.drawParams=null,this.buffer=null,this.attributes={},this.vertexArrayObject=new g(e),(0,m.F)(this,"VertexArray","v6.0",v),this.initialize(t),Object.seal(this)}delete(){this.buffer&&this.buffer.delete(),this.vertexArrayObject.delete()}initialize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.reset(),this.configuration=null,this.bindOnUse=!1,this.setProps(e)}reset(){this.elements=null,this.elementsAccessor=null;const{MAX_ATTRIBUTES:e}=this.vertexArrayObject;return this.values=new Array(e).fill(null),this.accessors=new Array(e).fill(null),this.unused={},this.drawParams=null,this}setProps(e){return"program"in e&&(this.configuration=e.program&&e.program.configuration),"configuration"in e&&(this.configuration=e.configuration),"attributes"in e&&this.setAttributes(e.attributes),"elements"in e&&this.setElementBuffer(e.elements),"bindOnUse"in e&&(e=e.bindOnUse),this}clearDrawParams(){this.drawParams=null}getDrawParams(){return this.drawParams=this.drawParams||this._updateDrawParams(),this.drawParams}setAttributes(e){return Object.assign(this.attributes,e),this.vertexArrayObject.bind((()=>{for(const t in e){const n=e[t];this._setAttribute(t,n)}this.gl.bindBuffer(34962,null)})),this}setElementBuffer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.elements=e,this.elementsAccessor=t,this.clearDrawParams(),this.vertexArrayObject.setElementBuffer(e,t),this}setBuffer(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(34963===t.target)return this.setElementBuffer(t,n);const{location:r,accessor:i}=this._resolveLocationAndAccessor(e,t,t.accessor,n);return r>=0&&(this.values[r]=t,this.accessors[r]=i,this.clearDrawParams(),this.vertexArrayObject.setBuffer(r,t,i)),this}setConstant(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{location:r,accessor:i}=this._resolveLocationAndAccessor(e,t,Object.assign({size:t.length},n));return r>=0&&(t=this.vertexArrayObject._normalizeConstantArrayValue(t),this.values[r]=t,this.accessors[r]=i,this.clearDrawParams(),this.vertexArrayObject.enable(r,!1)),this}unbindBuffers(){return this.vertexArrayObject.bind((()=>{this.elements&&this.vertexArrayObject.setElementBuffer(null),this.buffer=this.buffer||new u.Z(this.gl,{accessor:{size:4}});for(let e=0;e{this.elements&&this.setElementBuffer(this.elements);for(let e=0;e{this._setConstantAttributes(e,t),r=n()})),r}_resolveLocationAndAccessor(e,t,n,i){const o={location:-1,accessor:null},{location:s,name:l}=this._getAttributeIndex(e);if(!Number.isFinite(s)||s<0)return this.unused[e]=t,r.cM.once(3,(()=>"unused value ".concat(e," in ").concat(this.id)))(),o;const u=this._getAttributeInfo(l||s);if(!u)return o;const d=this.accessors[s]||{},h=c.Z.resolve(u.accessor,d,n,i),{size:f,type:p}=h;return(0,a.h)(Number.isFinite(f)&&Number.isFinite(p)),{location:s,accessor:h}}_getAttributeInfo(e){return this.configuration&&this.configuration.getAttributeInfo(e)}_getAttributeIndex(e){const t=Number(e);if(Number.isFinite(t))return{location:t};const n=A.exec(e),r=n?n[1]:e,i=n?Number(n[2]):0;return this.configuration?{location:this.configuration.getAttributeLocation(r)+i,name:r}:{location:-1}}_setAttribute(e,t){if(t instanceof u.Z)this.setBuffer(e,t);else if(Array.isArray(t)&&t.length&&t[0]instanceof u.Z){const n=t[0],r=t[1];this.setBuffer(e,n,r)}else if(ArrayBuffer.isView(t)||Array.isArray(t)){const n=t;this.setConstant(e,n)}else{if(!(t.buffer instanceof u.Z))throw new Error("VertexArray: attributes must be Buffers or constants (i.e. typed array)");{const n=t;this.setBuffer(e,n.buffer,n)}}}_setConstantAttributes(e,t){const n=Math.max(0|e,0|t);let r=this.values[0];ArrayBuffer.isView(r)&&this._setConstantAttributeZero(r,n);for(let i=1;i0;if(e.isInstanced=e.isInstanced||o,n instanceof u.Z){const t=n;if(o){const n=t.getVertexCount(r);e.instanceCount=Math.min(e.instanceCount,n)}else{const n=t.getVertexCount(r);e.vertexCount=Math.min(e.vertexCount,n)}}}setElements(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r.cM.deprecated("setElements","setElementBuffer")(),this.setElementBuffer(e,t)}}var b=n(73011),_=n(55562),w=n(2187);function x(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{isInteger:n=!1}=t;if(Array.isArray(e)||ArrayBuffer.isView(e))return function(e,t){const{maxElts:n=16,size:r=1}=t;let i="[";for(let a=0;a0&&(i+=",".concat(a%r===0?" ":"")),i+=x(e[a],t);const o=e.length>n?"...":"]";return"".concat(i).concat(o)}(e,t);if(!Number.isFinite(e))return String(e);if(Math.abs(e)<1e-16)return n?"0":"0.";if(n)return e.toFixed(0);if(Math.abs(e)>100&&Math.abs(e)<1e4)return e.toFixed(0);const r=e.toPrecision(2);return r.indexOf(".0")===r.length-2?r.slice(0,-1):r}function E(e,t,n,r){const{gl:i}=e;if(!t)return{[r]:"null","Format ":"N/A"};let o,a,s,l="NOT PROVIDED",c=1,d=0,h=0;if(n&&(l=n.type,c=n.size,l=String(l).replace("Array",""),o=-1!==l.indexOf("nt")),t instanceof u.Z){const e=t,{data:u,changed:f}=e.getDebugData();let p;if(a=f?"*":"",s=u,h=e.byteLength,d=h/u.BYTES_PER_ELEMENT/c,n){const e=n.divisor>0;p="".concat(e?"I ":"P "," ").concat(d," (x").concat(c,"=").concat(h," bytes ").concat((0,_.km)(i,l),")")}else o=!0,p="".concat(h," bytes");return{[r]:"".concat(a).concat(x(s,{size:c,isInteger:o})),"Format ":p}}return s=t,c=t.length,l=String(t.constructor.name).replace("Array",""),o=-1!==l.indexOf("nt"),{[r]:"".concat(x(s,{size:c,isInteger:o})," (constant)"),"Format ":"".concat(c,"x").concat(l," (constant)")}}function S(e,t){const{type:n,size:r}=t,i=(0,w.jG)(n,r);return i?"".concat(e," (").concat(i.name,")"):e}function C(e){let{header:t="Uniforms",program:n,uniforms:r,undefinedOnly:i=!1}=e;(0,a.h)(n);const o=".*Matrix",s=n._uniformSetters,l={},c=Object.keys(s).sort();let u=0;for(const a of c)a.match(".*_.*")||a.match(o)||P({table:l,header:t,uniforms:r,uniformName:a,undefinedOnly:i})&&u++;for(const a of c)a.match(o)&&P({table:l,header:t,uniforms:r,uniformName:a,undefinedOnly:i})&&u++;for(const a of c)l[a]||P({table:l,header:t,uniforms:r,uniformName:a,undefinedOnly:i})&&u++;let d=0;const h={};if(!i)for(const a in r){const e=r[a];l[a]||(d++,h[a]={Type:"NOT USED: ".concat(e),[t]:x(e)})}return{table:l,count:u,unusedTable:h,unusedCount:d}}function P(e){let{table:t,header:n,uniforms:r,uniformName:i,undefinedOnly:o}=e;const a=r[i],s=function(e){return void 0!==e&&null!==e}(a);return(!o||!s)&&(t[i]={[n]:s?x(a):"N/A","Uniform Type":s?a:"NOT PROVIDED"},!0)}function T(e){const{type:t,size:n}=e.accessor,r=(0,w.jG)(t,n);return r?"".concat(r.name," ").concat(e.name):e.name}const M={POSITION:"positions",NORMAL:"normals",COLOR_0:"colors",TEXCOORD_0:"texCoords",TEXCOORD_1:"texCoords1",TEXCOORD_2:"texCoords2"};function k(e,t){const{attributeMap:n=M}=t||{};return n&&n[e]||e}function R(e,t){let n;switch(e){case"texCoords":case"texCoord1":case"texCoord2":case"texCoord3":n="uvs";break;case"vertices":case"positions":case"normals":case"pickingColors":n="vectors"}switch(n){case"vectors":t.size=t.size||3;break;case"uvs":t.size=t.size||2}(0,a.h)(Number.isFinite(t.size),"attribute ".concat(e," needs size"))}const O=()=>{},I={};class L{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{id:n=(0,o.hQ)("model")}=t;(0,a.h)((0,r.UF)(e)),this.id=n,this.gl=e,this.id=t.id||(0,o.hQ)("Model"),this.lastLogTime=0,this.animated=!1,this.initialize(t)}initialize(e){this.props={},this.programManager=e.programManager||i.Z.getDefaultProgramManager(this.gl),this._programManagerState=-1,this._managedProgram=!1;const{program:t=null,vs:n,fs:r,modules:o,defines:s,inject:l,varyings:c,bufferMode:u,transpileToGLSL100:d}=e;this.programProps={program:t,vs:n,fs:r,modules:o,defines:s,inject:l,varyings:c,bufferMode:u,transpileToGLSL100:d},this.program=null,this.vertexArray=null,this._programDirty=!0,this.userData={},this.needsRedraw=!0,this._attributes={},this.attributes={},this.uniforms={},this.pickable=!0,this._checkProgram(),this.setUniforms(Object.assign({},this.getModuleUniforms(e.moduleSettings))),this.drawMode=void 0!==e.drawMode?e.drawMode:4,this.vertexCount=e.vertexCount||0,this.geometryBuffers={},this.isInstanced=e.isInstanced||e.instanced||e.instanceCount>0,this._setModelProps(e),this.geometry={},(0,a.h)(void 0!==this.drawMode&&Number.isFinite(this.vertexCount),"Model needs drawMode and vertexCount")}setProps(e){this._setModelProps(e)}delete(){for(const e in this._attributes)this._attributes[e]!==this.attributes[e]&&this._attributes[e].delete();this._managedProgram&&(this.programManager.release(this.program),this._managedProgram=!1),this.vertexArray.delete(),this._deleteGeometryBuffers()}getDrawMode(){return this.drawMode}getVertexCount(){return this.vertexCount}getInstanceCount(){return this.instanceCount}getAttributes(){return this.attributes}getProgram(){return this.program}setProgram(e){const{program:t,vs:n,fs:r,modules:i,defines:o,inject:a,varyings:s,bufferMode:l,transpileToGLSL100:c}=e;this.programProps={program:t,vs:n,fs:r,modules:i,defines:o,inject:a,varyings:s,bufferMode:l,transpileToGLSL100:c},this._programDirty=!0}getUniforms(){return this.uniforms}setDrawMode(e){return this.drawMode=e,this}setVertexCount(e){return(0,a.h)(Number.isFinite(e)),this.vertexCount=e,this}setInstanceCount(e){return(0,a.h)(Number.isFinite(e)),this.instanceCount=e,this}setGeometry(e){return this.drawMode=e.drawMode,this.vertexCount=e.getVertexCount(),this._deleteGeometryBuffers(),this.geometryBuffers=function(e,t,n){const r={};let i=t.indices;for(const o in t.attributes){const a=t.attributes[o],s=k(o,n);if("indices"===o)i=a;else if(a.constant)r[s]=a.value;else{const t=a.value,n={...a};delete n.value,r[s]=[new u.Z(e,t),n],R(o,n)}}if(i){const t=i.value||i;(0,a.h)(t instanceof Uint16Array||t instanceof Uint32Array,'attribute array for "indices" must be of integer type');const n={size:1,isIndexed:void 0===i.isIndexed||i.isIndexed};r.indices=[new u.Z(e,{data:t,target:34963}),n]}return r}(this.gl,e),this.vertexArray.setAttributes(this.geometryBuffers),this}setAttributes(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if((0,o.nK)(e))return this;const t={};for(const n in e){const r=e[n];t[n]=r.getValue?r.getValue():r}return this.vertexArray.setAttributes(t),this}setUniforms(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign(this.uniforms,e),this}getModuleUniforms(e){this._checkProgram();const t=this.programManager.getUniforms(this.program);return t?t(e):{}}updateModuleSettings(e){const t=this.getModuleUniforms(e||{});return this.setUniforms(t)}clear(e){return(0,s.Z)(this.program.gl,e),this}draw(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._checkProgram();const{moduleSettings:t=null,framebuffer:n,uniforms:i={},attributes:o={},transformFeedback:a=this.transformFeedback,parameters:s={},vertexArray:l=this.vertexArray}=e;let c;this.setAttributes(o),this.updateModuleSettings(t),this.setUniforms(i),r.cM.priority>=2&&(c=this._logDrawCallStart(2));const u=this.vertexArray.getDrawParams(),{isIndexed:d=u.isIndexed,indexType:h=u.indexType,indexOffset:f=u.indexOffset,vertexArrayInstanced:p=u.isInstanced}=this.props;p&&!this.isInstanced&&r.cM.warn("Found instanced attributes on non-instanced model",this.id)();const{isInstanced:g,instanceCount:m}=this,{onBeforeRender:A=O,onAfterRender:v=O}=this.props;A(),this.program.setUniforms(this.uniforms);const y=this.program.draw(Object.assign(I,e,{logPriority:c,uniforms:null,framebuffer:n,parameters:s,drawMode:this.getDrawMode(),vertexCount:this.getVertexCount(),vertexArray:l,transformFeedback:a,isIndexed:d,indexType:h,isInstanced:g,instanceCount:m,offset:d?f:0}));return v(),r.cM.priority>=2&&this._logDrawCallEnd(c,l,n),y}transform(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{discard:t=!0,feedbackBuffers:n,unbindModels:r=[]}=e;let{parameters:i}=e;n&&this._setFeedbackBuffers(n),t&&(i=Object.assign({},i,{35977:t})),r.forEach((e=>e.vertexArray.unbindBuffers()));try{this.draw(Object.assign({},e,{parameters:i}))}finally{r.forEach((e=>e.vertexArray.bindBuffers()))}return this}render(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r.cM.warn("Model.render() is deprecated. Use Model.setUniforms() and Model.draw()")(),this.setUniforms(e).draw()}_setModelProps(e){Object.assign(this.props,e),"uniforms"in e&&this.setUniforms(e.uniforms),"pickable"in e&&(this.pickable=e.pickable),"instanceCount"in e&&(this.instanceCount=e.instanceCount),"geometry"in e&&this.setGeometry(e.geometry),"attributes"in e&&this.setAttributes(e.attributes),"_feedbackBuffers"in e&&this._setFeedbackBuffers(e._feedbackBuffers)}_checkProgram(){if(!(this._programDirty||this.programManager.stateHash!==this._programManagerState))return;let{program:e}=this.programProps;if(e)this._managedProgram=!1;else{const{vs:t,fs:n,modules:r,inject:i,defines:o,varyings:a,bufferMode:s,transpileToGLSL100:l}=this.programProps;e=this.programManager.get({vs:t,fs:n,modules:r,inject:i,defines:o,varyings:a,bufferMode:s,transpileToGLSL100:l}),this.program&&this._managedProgram&&this.programManager.release(this.program),this._programManagerState=this.programManager.stateHash,this._managedProgram=!0}(0,a.h)(e instanceof l.Z,"Model needs a program"),this._programDirty=!1,e!==this.program&&(this.program=e,this.vertexArray?this.vertexArray.setProps({program:this.program,attributes:this.vertexArray.attributes}):this.vertexArray=new y(this.gl,{program:this.program}),this.setUniforms(Object.assign({},this.getModuleUniforms())))}_deleteGeometryBuffers(){for(const e in this.geometryBuffers){const t=this.geometryBuffers[e][0]||this.geometryBuffers[e];t instanceof u.Z&&t.delete()}}_setAnimationProps(e){this.animated&&(0,a.h)(e,"Model.draw(): animated uniforms but no animationProps")}_setFeedbackBuffers(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if((0,o.nK)(e))return this;const{gl:t}=this.program;return this.transformFeedback=this.transformFeedback||new b.Z(t,{program:this.program}),this.transformFeedback.setBuffers(e),this}_logDrawCallStart(e){const t=e>3?0:1e4;if(!(Date.now()-this.lastLogTime>> DRAWING MODEL ".concat(this.id),{collapsed:r.cM.level<=2})(),e}_logDrawCallEnd(e,t,n,i){if(void 0===e)return;const o=function(e){let{vertexArray:t,header:n="Attributes"}=e;if(!t.configuration)return{};const r={};t.elements&&(r.ELEMENT_ARRAY_BUFFER=E(t,t.elements,null,n));const i=t.values;for(const o in i){const e=t._getAttributeInfo(o);if(e){let a="".concat(o,": ").concat(e.name);const s=t.accessors[e.location];s&&(a="".concat(o,": ").concat(S(e.name,s))),r[a]=E(t,i[o],s,n)}}return r}({vertexArray:t,header:"".concat(this.id," attributes"),attributes:this._attributes}),{table:a,unusedTable:s,unusedCount:l}=C({header:"".concat(this.id," uniforms"),program:this.program,uniforms:Object.assign({},this.program.uniforms,n)}),{table:c,count:u}=C({header:"".concat(this.id," uniforms"),program:this.program,uniforms:Object.assign({},this.program.uniforms,n),undefinedOnly:!0});u>0&&r.cM.log("MISSING UNIFORMS",Object.keys(c))(),l>0&&r.cM.log("UNUSED UNIFORMS",Object.keys(s))();const d=function(e){const t={},n="Accessors for ".concat(e.id);for(const r of e.attributeInfos)if(r){const e=T(r);t["in ".concat(e)]={[n]:JSON.stringify(r.accessor)}}for(const r of e.varyingInfos)if(r){const e=T(r);t["out ".concat(e)]={[n]:JSON.stringify(r.accessor)}}return t}(this.vertexArray.configuration);r.cM.table(e,o)(),r.cM.table(e,a)(),r.cM.table(e+1,d)(),i&&i.log({logLevel:2,message:"Rendered to ".concat(i.id)}),r.cM.groupEnd(2)()}}},68833:(e,t,n)=>{"use strict";n.d(t,{Z:()=>H});var r=n(91203),i=n(7064);const o={number:{validate:(e,t)=>Number.isFinite(e)&&(!("max"in t)||e<=t.max)&&(!("min"in t)||e>=t.min)},array:{validate:(e,t)=>Array.isArray(e)||ArrayBuffer.isView(e)}};function a(e){let t=s(e);return"object"===t?e?"type"in e?Object.assign({},e,o[e.type]):"value"in e?(t=s(e.value),Object.assign({type:t},e,o[t])):{type:"object",value:e}:{type:"object",value:null}:Object.assign({type:t,value:e},o[t])}function s(e){return Array.isArray(e)||ArrayBuffer.isView(e)?"array":typeof e}class l{constructor(e){let{name:t,vs:n,fs:r,dependencies:o=[],uniforms:s,getUniforms:l,deprecations:c=[],defines:u={},inject:d={},vertexShader:h,fragmentShader:f}=e;(0,i.Z)("string"===typeof t),this.name=t,this.vs=n||h,this.fs=r||f,this.getModuleUniforms=l,this.dependencies=o,this.deprecations=this._parseDeprecationDefinitions(c),this.defines=u,this.injections=function(e){const t={vs:{},fs:{}};for(const n in e){let r=e[n];"string"===typeof r&&(r={order:0,injection:r}),t[n.slice(0,2)][n]=r}return t}(d),s&&(this.uniforms=function(e){const t={};for(const n in e){const r=a(e[n]);t[n]=r}return t}(s))}getModuleSource(e){let t;switch(e){case"vs":t=this.vs||"";break;case"fs":t=this.fs||"";break;default:(0,i.Z)(!1)}return"#define MODULE_".concat(this.name.toUpperCase().replace(/[^0-9a-z]/gi,"_"),"\n").concat(t,"// END MODULE_").concat(this.name,"\n\n")}getUniforms(e,t){return this.getModuleUniforms?this.getModuleUniforms(e,t):this.uniforms?this._defaultGetUniforms(e):{}}getDefines(){return this.defines}checkDeprecations(e,t){this.deprecations.forEach((n=>{n.regex.test(e)&&(n.deprecated?t.deprecated(n.old,n.new)():t.removed(n.old,n.new)())}))}_parseDeprecationDefinitions(e){return e.forEach((e=>{if("function"===e.type)e.regex=new RegExp("\\b".concat(e.old,"\\("));else e.regex=new RegExp("".concat(e.type," ").concat(e.old,";"))})),e}_defaultGetUniforms(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t={},n=this.uniforms;for(const r in n){const o=n[r];r in e&&!o.private?(o.validate&&(0,i.Z)(o.validate(e[r],o),"".concat(this.name,": invalid ").concat(r)),t[r]=e[r]):t[r]=o.value}return t}}function c(e){return u(h(e))}function u(e){const t={},n={};return d({modules:e,level:0,moduleMap:t,moduleDepth:n}),Object.keys(n).sort(((e,t)=>n[t]-n[e])).map((e=>t[e]))}function d(e){let{modules:t,level:n,moduleMap:r,moduleDepth:i}=e;if(n>=5)throw new Error("Possible loop in shader dependency graph");for(const o of t)r[o.name]=o,(void 0===i[o.name]||i[o.name](e instanceof l||((0,i.Z)("string"!==typeof e,"Shader module use by name is deprecated. Import shader module '".concat(e,"' and use it directly.")),(0,i.Z)(e.name,"shader module has no name"),(e=new l(e)).dependencies=h(e.dependencies)),e)))}const f=7936,p=7937,g=7938,m=35724,A={GLSL_FRAG_DATA:["WEBGL_draw_buffers",!0],GLSL_FRAG_DEPTH:["EXT_frag_depth",!0],GLSL_DERIVATIVES:["OES_standard_derivatives",!0],GLSL_TEXTURE_LOD:["EXT_shader_texture_lod",!0]},v={};Object.keys(A).forEach((e=>{v[e]=e}));const y={};function b(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=A[t];if((0,i.Z)(r,t),!function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t="undefined"!==typeof window&&window.navigator||{},n=e.userAgent||t.userAgent||"",r=-1!==n.indexOf("MSIE "),i=-1!==n.indexOf("Trident/");return r||i}(n))return!0;if(t in y)return y[t];const o=r[0],a=n.behavior||"enable",s="#extension GL_".concat(o," : ").concat(a,"\nvoid main(void) {}"),l=e.createShader(35633);e.shaderSource(l,s),e.compileShader(l);const c=e.getShaderParameter(l,35713);return e.deleteShader(l),y[t]=c,c}function _(e,t){const n=A[t];(0,i.Z)(n,t);const r=function(e){return"undefined"!==typeof WebGL2RenderingContext&&e instanceof WebGL2RenderingContext||Boolean(e&&2===e._version)}(e)&&n[1]||n[0],o="string"===typeof r?Boolean(e.getExtension(r)):r;return(0,i.Z)(!1===o||!0===o),o}function w(e,t){return(t=Array.isArray(t)?t:[t]).every((t=>_(e,t)))}function x(e){const t=function(e){const t=e.getExtension("WEBGL_debug_renderer_info"),n=e.getParameter(t&&t.UNMASKED_VENDOR_WEBGL||f),r=e.getParameter(t&&t.UNMASKED_RENDERER_WEBGL||p);return{gpuVendor:function(e,t){return e.match(/NVIDIA/i)||t.match(/NVIDIA/i)?"NVIDIA":e.match(/INTEL/i)||t.match(/INTEL/i)?"INTEL":e.match(/AMD/i)||t.match(/AMD/i)||e.match(/ATI/i)||t.match(/ATI/i)?"AMD":"UNKNOWN GPU"}(n,r),vendor:n,renderer:r,version:e.getParameter(g),shadingLanguageVersion:e.getParameter(m)}}(e);switch(t.gpuVendor.toLowerCase()){case"nvidia":return"#define NVIDIA_GPU\n// Nvidia optimizes away the calculation necessary for emulated fp64\n#define LUMA_FP64_CODE_ELIMINATION_WORKAROUND 1\n";case"intel":return"#define INTEL_GPU\n// Intel optimizes away the calculation necessary for emulated fp64\n#define LUMA_FP64_CODE_ELIMINATION_WORKAROUND 1\n// Intel's built-in 'tan' function doesn't have acceptable precision\n#define LUMA_FP32_TAN_PRECISION_WORKAROUND 1\n// Intel GPU doesn't have full 32 bits precision in same cases, causes overflow\n#define LUMA_FP64_HIGH_BITS_OVERFLOW_WORKAROUND 1\n";case"amd":return"#define AMD_GPU\n";default:return"#define DEFAULT_GPU\n// Prevent driver from optimizing away the calculation necessary for emulated fp64\n#define LUMA_FP64_CODE_ELIMINATION_WORKAROUND 1\n// Intel's built-in 'tan' function doesn't have acceptable precision\n#define LUMA_FP32_TAN_PRECISION_WORKAROUND 1\n// Intel GPU doesn't have full 32 bits precision in same cases, causes overflow\n#define LUMA_FP64_HIGH_BITS_OVERFLOW_WORKAROUND 1\n"}}var E=n(11558);function S(e){return new RegExp("\\b".concat(e,"[ \\t]+(\\w+[ \\t]+\\w+(\\[\\w+\\])?;)"),"g")}const C=[[/^(#version[ \t]+(100|300[ \t]+es))?[ \t]*\n/,"#version 300 es\n"],[/\btexture(2D|2DProj|Cube)Lod(EXT)?\(/g,"textureLod("],[/\btexture(2D|2DProj|Cube)(EXT)?\(/g,"texture("]],P=[...C,[S("attribute"),"in $1"],[S("varying"),"out $1"]],T=[...C,[S("varying"),"in $1"]],M=[[/^#version[ \t]+300[ \t]+es/,"#version 100"],[/\btexture(2D|2DProj|Cube)Lod\(/g,"texture$1LodEXT("],[/\btexture\(/g,"texture2D("],[/\btextureLod\(/g,"texture2DLodEXT("]],k=[...M,[S("in"),"attribute $1"],[S("out"),"varying $1"]],R=[...M,[S("in"),"varying $1"]],O="gl_FragColor",I=/\bout[ \t]+vec4[ \t]+(\w+)[ \t]*;\n?/,L=/void\s+main\s*\([^)]*\)\s*\{\n?/;function D(e,t,n){switch(t){case 300:return n?N(e,P):function(e){e=N(e,T);const t=e.match(I);if(t){const n=t[1];e=e.replace(new RegExp("\\b".concat(O,"\\b"),"g"),n)}else{const t="fragmentColor";e=e.replace(L,(e=>"out vec4 ".concat(t,";\n").concat(e))).replace(new RegExp("\\b".concat(O,"\\b"),"g"),t)}return e}(e);case 100:return n?N(e,k):function(e){e=N(e,R);const t=e.match(I);if(t){const n=t[1];e=e.replace(I,"").replace(new RegExp("\\b".concat(n,"\\b"),"g"),O)}return e}(e);default:throw new Error("unknown GLSL version ".concat(t))}}function N(e,t){for(const[n,r]of t)e=e.replace(n,r);return e}const F="\n\n".concat(E.O_,"\n\n"),j={[r.H]:"vertex",[r.Y]:"fragment"},B="precision highp float;\n\n";function z(e,t){let{id:n,source:o,type:a,modules:s,defines:l={},hookFunctions:c=[],inject:u={},transpileToGLSL100:d=!1,prologue:h=!0,log:f}=t;(0,i.Z)("string"===typeof o,"shader source must be a string");const p=a===r.H,g=o.split("\n");let m=100,A="",y=o;0===g[0].indexOf("#version ")?(m=300,A=g[0],y=g.slice(1).join("\n")):A="#version ".concat(m);const _={};s.forEach((e=>{Object.assign(_,e.getDefines())})),Object.assign(_,l);let S=h?"".concat(A,"\n").concat(function(e){let{id:t,source:n,type:r}=e;const i=t&&"string"===typeof t&&-1===n.indexOf("SHADER_NAME");return i?"\n#define SHADER_NAME ".concat(t,"_").concat(j[r],"\n\n"):""}({id:n,source:o,type:a}),"\n").concat(function(e){let{type:t}=e;return"\n#define SHADER_TYPE_".concat(j[t].toUpperCase(),"\n")}({type:a}),"\n").concat(x(e),"\n").concat(function(e,t,n){let r="#if (__VERSION__ > 120)\n\n# define FEATURE_GLSL_DERIVATIVES\n# define FEATURE_GLSL_DRAW_BUFFERS\n# define FEATURE_GLSL_FRAG_DEPTH\n# define FEATURE_GLSL_TEXTURE_LOD\n\n// DEPRECATED FLAGS, remove in v9\n# define FRAG_DEPTH\n# define DERIVATIVES\n# define DRAW_BUFFERS\n# define TEXTURE_LOD\n\n#endif // __VERSION\n";return w(e,v.GLSL_FRAG_DEPTH)&&(r+="\n// FRAG_DEPTH => gl_FragDepth is available\n#ifdef GL_EXT_frag_depth\n#extension GL_EXT_frag_depth : enable\n# define FEATURE_GLSL_FRAG_DEPTH\n# define FRAG_DEPTH\n# define gl_FragDepth gl_FragDepthEXT\n#endif\n"),w(e,v.GLSL_DERIVATIVES)&&b(e,v.GLSL_DERIVATIVES)&&(r+="\n// DERIVATIVES => dxdF, dxdY and fwidth are available\n#ifdef GL_OES_standard_derivatives\n#extension GL_OES_standard_derivatives : enable\n# define FEATURE_GLSL_DERIVATIVES\n# define DERIVATIVES\n#endif\n"),w(e,v.GLSL_FRAG_DATA)&&b(e,v.GLSL_FRAG_DATA,{behavior:"require"})&&(r+="\n// DRAW_BUFFERS => gl_FragData[] is available\n#ifdef GL_EXT_draw_buffers\n#extension GL_EXT_draw_buffers : require\n#define FEATURE_GLSL_DRAW_BUFFERS\n#define DRAW_BUFFERS\n#endif\n"),w(e,v.GLSL_TEXTURE_LOD)&&(r+="// TEXTURE_LOD => texture2DLod etc are available\n#ifdef GL_EXT_shader_texture_lod\n#extension GL_EXT_shader_texture_lod : enable\n\n# define FEATURE_GLSL_TEXTURE_LOD\n# define TEXTURE_LOD\n\n#endif\n"),r}(e),"\n").concat(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=0,n="";for(const r in e){0===t&&(n+="\n// APPLICATION DEFINES\n"),t++;const i=e[r];(i||Number.isFinite(i))&&(n+="#define ".concat(r.toUpperCase()," ").concat(e[r],"\n"))}0===t&&(n+="\n");return n}(_),"\n").concat(p?"":B,"\n"):"".concat(A,"\n");const C=function(e){const t={vs:{},fs:{}};return e.forEach((e=>{let n;"string"!==typeof e?(n=e,e=n.hook):n={},e=e.trim();const[r,i]=e.split(":"),o=e.replace(/\(.+/,"");t[r][o]=Object.assign(n,{signature:i})})),t}(c),P={},T={},M={};for(const r in u){const e="string"===typeof u[r]?{injection:u[r],order:0}:u[r],t=r.match(/^(v|f)s:(#)?([\w-]+)$/);if(t){const n=t[2],i=t[3];n?"decl"===i?T[r]=[e]:M[r]=[e]:P[r]=[e]}else M[r]=[e]}for(const r of s){f&&r.checkDeprecations(y,f);S+=r.getModuleSource(a,m);const e=r.injections[a];for(const t in e){const n=t.match(/^(v|f)s:#([\w-]+)$/);if(n){const r="decl"===n[2]?T:M;r[t]=r[t]||[],r[t].push(e[t])}else P[t]=P[t]||[],P[t].push(e[t])}}return S+=F,S=(0,E.ZP)(S,a,T),S+=function(e,t){let n="";for(const r in e){const i=e[r];if(n+="void ".concat(i.signature," {\n"),i.header&&(n+=" ".concat(i.header)),t[r]){const e=t[r];e.sort(((e,t)=>e.order-t.order));for(const t of e)n+=" ".concat(t.injection,"\n")}i.footer&&(n+=" ".concat(i.footer)),n+="}\n"}return n}(C[a],P),S+=y,S=(0,E.ZP)(S,a,M),S=D(S,d?100:m,p),S}function Z(e){return function(t){const n={};for(const r of e){const e=r.getUniforms(t,n);Object.assign(n,e)}return n}}var U=n(32073);class H{static getDefaultProgramManager(e){return e.luma=e.luma||{},e.luma.defaultProgramManager=e.luma.defaultProgramManager||new H(e),e.luma.defaultProgramManager}constructor(e){this.gl=e,this._programCache={},this._getUniforms={},this._registeredModules={},this._hookFunctions=[],this._defaultModules=[],this._hashes={},this._hashCounter=0,this.stateHash=0,this._useCounts={}}addDefaultModule(e){this._defaultModules.find((t=>t.name===e.name))||this._defaultModules.push(e),this.stateHash++}removeDefaultModule(e){const t="string"===typeof e?e:e.name;this._defaultModules=this._defaultModules.filter((e=>e.name!==t)),this.stateHash++}addShaderHook(e,t){t&&(e=Object.assign(t,{hook:e})),this._hookFunctions.push(e),this.stateHash++}get(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{vs:t="",fs:n="",defines:i={},inject:o={},varyings:a=[],bufferMode:s=35981,transpileToGLSL100:l=!1}=e,u=this._getModuleList(e.modules),d=this._getHash(t),h=this._getHash(n),f=u.map((e=>this._getHash(e.name))).sort(),p=a.map((e=>this._getHash(e))),g=Object.keys(i).sort(),m=Object.keys(o).sort(),A=[],v=[];for(const r of g)A.push(this._getHash(r)),A.push(this._getHash(i[r]));for(const r of m)v.push(this._getHash(r)),v.push(this._getHash(o[r]));const y="".concat(d,"/").concat(h,"D").concat(A.join("/"),"M").concat(f.join("/"),"I").concat(v.join("/"),"V").concat(p.join("/"),"H").concat(this.stateHash,"B").concat(s).concat(l?"T":"");if(!this._programCache[y]){const e=function(e,t){const{vs:n,fs:i}=t,o=c(t.modules||[]);return{gl:e,vs:z(e,Object.assign({},t,{source:n,type:r.H,modules:o})),fs:z(e,Object.assign({},t,{source:i,type:r.Y,modules:o})),getUniforms:Z(o)}}(this.gl,{vs:t,fs:n,modules:u,inject:o,defines:i,hookFunctions:this._hookFunctions,transpileToGLSL100:l});this._programCache[y]=new U.Z(this.gl,{hash:y,vs:e.vs,fs:e.fs,varyings:a,bufferMode:s}),this._getUniforms[y]=e.getUniforms||(e=>{}),this._useCounts[y]=0}return this._useCounts[y]++,this._programCache[y]}getUniforms(e){return this._getUniforms[e.hash]||null}release(e){const t=e.hash;this._useCounts[t]--,0===this._useCounts[t]&&(this._programCache[t].delete(),delete this._programCache[t],delete this._getUniforms[t],delete this._useCounts[t])}_getHash(e){return void 0===this._hashes[e]&&(this._hashes[e]=this._hashCounter++),this._hashes[e]}_getModuleList(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const t=new Array(this._defaultModules.length+e.length),n={};let r=0;for(let i=0,o=this._defaultModules.length;i{"use strict";n.d(t,{Z:()=>T});var r=n(7064);const i="out vec4 transform_output;\nvoid main() {\n transform_output = vec4(0);\n}",o="#version 300 es\n".concat(i);function a(e,t){t=Array.isArray(t)?t:[t];const n=e.replace(/^\s+/,"").split(/\s+/),[r,i,o]=n;if(!t.includes(r)||!i||!o)return null;return{qualifier:r,type:i,name:o.split(";")[0]}}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{version:t=100,input:n,inputType:a,output:s}=e;if(!n)return 300===t?o:t>300?"#version ".concat(t,"\n").concat(i):"void main() {gl_FragColor = vec4(0);}";const l=function(e,t){switch(t){case"float":return"vec4(".concat(e,", 0.0, 0.0, 1.0)");case"vec2":return"vec4(".concat(e,", 0.0, 1.0)");case"vec3":return"vec4(".concat(e,", 1.0)");case"vec4":return e;default:return(0,r.Z)(!1),null}}(n,a);return t>=300?"#version ".concat(t," ").concat(300===t?"es":"","\nin ").concat(a," ").concat(n,";\nout vec4 ").concat(s,";\nvoid main() {\n ").concat(s," = ").concat(l,";\n}"):"varying ".concat(a," ").concat(n,";\nvoid main() {\n gl_FragColor = ").concat(l,";\n}")}var l=n(76195),c=n(64180),u=n(73011),d=n(59661);class h{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.gl=e,this.currentIndex=0,this.feedbackMap={},this.varyings=null,this.bindings=[],this.resources={},this._initialize(t),Object.seal(this)}setupResources(e){for(const t of this.bindings)this._setupTransformFeedback(t,e)}updateModelProps(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{varyings:t}=this;return t.length>0&&(e=Object.assign({},e,{varyings:t})),e}getDrawOptions(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=this.bindings[this.currentIndex],{sourceBuffers:n,transformFeedback:r}=t;return{attributes:Object.assign({},n,e.attributes),transformFeedback:r}}swap(){return!!this.feedbackMap&&(this.currentIndex=this._getNextIndex(),!0)}update(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setupBuffers(e)}getBuffer(e){const{feedbackBuffers:t}=this.bindings[this.currentIndex],n=e?t[e]:null;return n?n instanceof c.Z?n:n.buffer:null}getData(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{varyingName:t}=e,n=this.getBuffer(t);return n?n.getData():null}delete(){for(const e in this.resources)this.resources[e].delete()}_initialize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setupBuffers(e),this.varyings=e.varyings||Object.keys(this.bindings[this.currentIndex].feedbackBuffers),this.varyings.length>0&&(0,d.h)((0,l.D0)(this.gl))}_getFeedbackBuffers(e){const{sourceBuffers:t={}}=e,n={};if(this.bindings[this.currentIndex]&&Object.assign(n,this.bindings[this.currentIndex].feedbackBuffers),this.feedbackMap)for(const r in this.feedbackMap){const e=this.feedbackMap[r];r in t&&(n[e]=r)}Object.assign(n,e.feedbackBuffers);for(const r in n){const e=n[r];if("string"===typeof e){const i=t[e],{byteLength:o,usage:a,accessor:s}=i;n[r]=this._createNewBuffer(r,{byteLength:o,usage:a,accessor:s})}}return n}_setupBuffers(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{sourceBuffers:t=null}=e;Object.assign(this.feedbackMap,e.feedbackMap);const n=this._getFeedbackBuffers(e);this._updateBindings({sourceBuffers:t,feedbackBuffers:n})}_setupTransformFeedback(e,t){let{model:n}=t;const{program:r}=n;e.transformFeedback=new u.Z(this.gl,{program:r,buffers:e.feedbackBuffers})}_updateBindings(e){if(this.bindings[this.currentIndex]=this._updateBinding(this.bindings[this.currentIndex],e),this.feedbackMap){const{sourceBuffers:e,feedbackBuffers:t}=this._swapBuffers(this.bindings[this.currentIndex]),n=this._getNextIndex();this.bindings[n]=this._updateBinding(this.bindings[n],{sourceBuffers:e,feedbackBuffers:t})}}_updateBinding(e,t){return e?(Object.assign(e.sourceBuffers,t.sourceBuffers),Object.assign(e.feedbackBuffers,t.feedbackBuffers),e.transformFeedback&&e.transformFeedback.setBuffers(e.feedbackBuffers),e):{sourceBuffers:Object.assign({},t.sourceBuffers),feedbackBuffers:Object.assign({},t.feedbackBuffers)}}_swapBuffers(e){if(!this.feedbackMap)return null;const t=Object.assign({},e.sourceBuffers),n=Object.assign({},e.feedbackBuffers);for(const r in this.feedbackMap){const i=this.feedbackMap[r];t[r]=e.feedbackBuffers[i],n[i]=e.sourceBuffers[r],(0,d.h)(n[i]instanceof c.Z)}return{sourceBuffers:t,feedbackBuffers:n}}_createNewBuffer(e,t){const n=new c.Z(this.gl,t);return this.resources[e]&&this.resources[e].delete(),this.resources[e]=n,n}_getNextIndex(){return(this.currentIndex+1)%2}}var f=n(77378),p=n(81786),g=n(64282),m=n(15671);function A(e){let t=100;const n=e.match(/[^\s]+/g);if(n.length>=2&&"#version"===n[0]){const e=parseInt(n[1],10);Number.isFinite(e)&&(t=e)}return t}var v=n(11558);const y={name:"transform",vs:"attribute float transform_elementID;\nvec2 transform_getPixelSizeHalf(vec2 size) {\n return vec2(1.) / (2. * size);\n}\n\nvec2 transform_getPixelIndices(vec2 texSize, vec2 pixelSizeHalf) {\n float yIndex = floor((transform_elementID / texSize[0]) + pixelSizeHalf[1]);\n float xIndex = transform_elementID - (yIndex * texSize[0]);\n return vec2(xIndex, yIndex);\n}\nvec2 transform_getTexCoord(vec2 size) {\n vec2 pixelSizeHalf = transform_getPixelSizeHalf(size);\n vec2 indices = transform_getPixelIndices(size, pixelSizeHalf);\n vec2 coord = indices / size + pixelSizeHalf;\n return coord;\n}\nvec2 transform_getPos(vec2 size) {\n vec2 texCoord = transform_getTexCoord(size);\n vec2 pos = (texCoord * (2.0, 2.0)) - (1., 1.);\n return pos;\n}\nvec4 transform_getInput(sampler2D texSampler, vec2 size) {\n vec2 texCoord = transform_getTexCoord(size);\n vec4 textureColor = texture2D(texSampler, texCoord);\n return textureColor;\n}\n",fs:null},b="transform_uSampler_",_="transform_uSize_",w="transform_position";function x(e){let{vs:t,sourceTextureMap:n,targetTextureVarying:i,targetTexture:o}=e;let s=Object.keys(n).length,l=null;const c={};let u=t,h={};if(s>0||i){const e=u.split("\n"),t=e.slice();if(e.forEach(((e,o,u)=>{if(s>0){const i=function(e,t){const n={},i=function(e){return a(e,["attribute","in"])}(e);if(!i)return null;const{type:o,name:s}=i;if(s&&t[s]){const t="// ".concat(e," => Replaced by Transform with a sampler"),{samplerName:i,sizeName:a,uniformDeclerations:l}=function(e){const t="".concat(b).concat(e),n="".concat(_).concat(e),r=" uniform sampler2D ".concat(t,";\n uniform vec2 ").concat(n,";");return{samplerName:t,sizeName:n,uniformDeclerations:r}}(s),c=function(e){switch(e){case"float":return"x";case"vec2":return"xy";case"vec3":return"xyz";case"vec4":return"xyzw";default:return(0,r.Z)(!1),null}}(o),u=" ".concat(o," ").concat(s," = transform_getInput(").concat(i,", ").concat(a,").").concat(c,";\n");n[i]=s;return{updatedLine:t,inject:{"vs:#decl":l,"vs:#main-start":u},samplerTextureMap:n}}return null}(e,n);if(i){const{updatedLine:e,inject:n}=i;t[o]=e,h=(0,v.Lm)([h,n]),Object.assign(c,i.samplerTextureMap),s--}}i&&!l&&(l=function(e,t){const n=a(e,["varying","out"]);if(!n)return null;return n.name===t?n.type:null}(e,i))})),i){(0,d.h)(o);const e="".concat(_).concat(i),t={"vs:#decl":"uniform vec2 ".concat(e,";\n"),"vs:#main-start":" vec2 ".concat(w," = transform_getPos(").concat(e,");\n gl_Position = vec4(").concat(w,", 0, 1.);\n")};h=(0,v.Lm)([h,t])}u=t.join("\n")}return{vs:u,targetTextureType:l,inject:h,samplerTextureMap:c}}const E={10241:9728,10240:9728,10242:33071,10243:33071};class S{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.gl=e,this.id=this.currentIndex=0,this._swapTexture=null,this.targetTextureVarying=null,this.targetTextureType=null,this.samplerTextureMap=null,this.bindings=[],this.resources={},this._initialize(t),Object.seal(this)}updateModelProps(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=this._processVertexShader(e);return Object.assign({},e,t)}getDrawOptions(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{sourceBuffers:t,sourceTextures:n,framebuffer:r,targetTexture:i}=this.bindings[this.currentIndex],o=Object.assign({},t,e.attributes),a=Object.assign({},e.uniforms),s=Object.assign({},e.parameters);let l=e.discard;if(this.hasSourceTextures||this.hasTargetTexture){o.transform_elementID=this.elementIDBuffer;for(const t in this.samplerTextureMap){const e=this.samplerTextureMap[t];a[t]=n[e]}this._setSourceTextureParameters();const e=function(e){let{sourceTextureMap:t,targetTextureVarying:n,targetTexture:r}=e;const i={};let o,a;n&&(({width:o,height:a}=r),i["".concat(_).concat(n)]=[o,a]);for(const s in t)({width:o,height:a}=t[s]),i["".concat(_).concat(s)]=[o,a];return i}({sourceTextureMap:n,targetTextureVarying:this.targetTextureVarying,targetTexture:i});Object.assign(a,e)}return this.hasTargetTexture&&(l=!1,s.viewport=[0,0,r.width,r.height]),{attributes:o,framebuffer:r,uniforms:a,discard:l,parameters:s}}swap(){return!!this._swapTexture&&(this.currentIndex=this._getNextIndex(),!0)}update(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setupTextures(e)}getTargetTexture(){const{targetTexture:e}=this.bindings[this.currentIndex];return e}getData(){let{packed:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{framebuffer:t}=this.bindings[this.currentIndex],n=(0,f.z6)(t);if(!e)return n;const i=n.constructor,o=function(e){switch(e){case"float":return 1;case"vec2":return 2;case"vec3":return 3;case"vec4":return 4;default:return(0,r.Z)(!1),null}}(this.targetTextureType),a=new i(n.length*o/4);let s=0;for(let r=0;r0&&void 0!==arguments[0]?arguments[0]:{};const{_targetTextureVarying:t,_swapTexture:n}=e;this._swapTexture=n,this.targetTextureVarying=t,this.hasTargetTexture=t,this._setupTextures(e)}_createTargetTexture(e){const{sourceTextures:t,textureOrReference:n}=e;if(n instanceof p.Z)return n;const r=t[n];return r?(this._targetRefTexName=n,this._createNewTexture(r)):null}_setupTextures(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{sourceBuffers:t,_sourceTextures:n={},_targetTexture:r}=e,i=this._createTargetTexture({sourceTextures:n,textureOrReference:r});this.hasSourceTextures=this.hasSourceTextures||n&&Object.keys(n).length>0,this._updateBindings({sourceBuffers:t,sourceTextures:n,targetTexture:i}),"elementCount"in e&&this._updateElementIDBuffer(e.elementCount)}_updateElementIDBuffer(e){if("number"!==typeof e||this.elementCount>=e)return;const t=new Float32Array(e);t.forEach(((e,t,n)=>{n[t]=t})),this.elementIDBuffer?this.elementIDBuffer.setData({data:t}):this.elementIDBuffer=new c.Z(this.gl,{data:t,accessor:{size:1}}),this.elementCount=e}_updateBindings(e){if(this.bindings[this.currentIndex]=this._updateBinding(this.bindings[this.currentIndex],e),this._swapTexture){const{sourceTextures:e,targetTexture:t}=this._swapTextures(this.bindings[this.currentIndex]),n=this._getNextIndex();this.bindings[n]=this._updateBinding(this.bindings[n],{sourceTextures:e,targetTexture:t})}}_updateBinding(e,t){const{sourceBuffers:n,sourceTextures:r,targetTexture:i}=t;if(e||(e={sourceBuffers:{},sourceTextures:{},targetTexture:null}),Object.assign(e.sourceTextures,r),Object.assign(e.sourceBuffers,n),i){e.targetTexture=i;const{width:t,height:n}=i,{framebuffer:r}=e;r?(r.update({attachments:{36064:i},resizeAttachments:!1}),r.resize({width:t,height:n})):e.framebuffer=new g.Z(this.gl,{id:"transform-framebuffer",width:t,height:n,attachments:{36064:i}})}return e}_setSourceTextureParameters(){const e=this.currentIndex,{sourceTextures:t}=this.bindings[e];for(const n in t)t[n].setParameters(E)}_swapTextures(e){if(!this._swapTexture)return null;const t=Object.assign({},e.sourceTextures);t[this._swapTexture]=e.targetTexture;return{sourceTextures:t,targetTexture:e.sourceTextures[this._swapTexture]}}_createNewTexture(e){const t=(0,m.h)(e,{parameters:{10241:9728,10240:9728,10242:33071,10243:33071},pixelStore:{37440:!1}});return this.ownTexture&&this.ownTexture.delete(),this.ownTexture=t,t}_getNextIndex(){return(this.currentIndex+1)%2}_processVertexShader(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{sourceTextures:t,targetTexture:n}=this.bindings[this.currentIndex],{vs:r,uniforms:i,targetTextureType:o,inject:a,samplerTextureMap:l}=x({vs:e.vs,sourceTextureMap:t,targetTextureVarying:this.targetTextureVarying,targetTexture:n}),c=(0,v.Lm)([e.inject||{},a]);this.targetTextureType=o,this.samplerTextureMap=l;return{vs:r,fs:e._fs||s({version:A(r),input:this.targetTextureVarying,inputType:o,output:"transform_output"}),modules:this.hasSourceTextures||this.targetTextureVarying?[y].concat(e.modules||[]):e.modules,uniforms:i,inject:c}}}var C=n(39042),P=n(44548);class T{static isSupported(e){return(0,l.D0)(e)}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.gl=e,this.model=null,this.elementCount=0,this.bufferTransform=null,this.textureTransform=null,this.elementIDBuffer=null,this._initialize(t),Object.seal(this)}delete(){const{model:e,bufferTransform:t,textureTransform:n}=this;e&&e.delete(),t&&t.delete(),n&&n.delete()}run(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{clearRenderTarget:t=!0}=e,n=this._updateDrawOptions(e);t&&n.framebuffer&&n.framebuffer.clear({color:!0}),this.model.transform(n)}swap(){let e=!1;const t=[this.bufferTransform,this.textureTransform].filter(Boolean);for(const n of t)e=e||n.swap();(0,d.h)(e,"Nothing to swap")}getBuffer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.bufferTransform&&this.bufferTransform.getBuffer(e)}getData(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=[this.bufferTransform,this.textureTransform].filter(Boolean);for(const n of t){const t=n.getData(e);if(t)return t}return null}getFramebuffer(){return this.textureTransform&&this.textureTransform.getFramebuffer()}update(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};"elementCount"in e&&this.model.setVertexCount(e.elementCount);const t=[this.bufferTransform,this.textureTransform].filter(Boolean);for(const n of t)n.update(e)}_initialize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{gl:t}=this;this._buildResourceTransforms(t,e),e=this._updateModelProps(e),this.model=new P.Z(t,Object.assign({},e,{fs:e.fs||s({version:A(e.vs)}),id:e.id||"transform-model",drawMode:e.drawMode||0,vertexCount:e.elementCount})),this.bufferTransform&&this.bufferTransform.setupResources({model:this.model})}_updateModelProps(e){let t=Object.assign({},e);const n=[this.bufferTransform,this.textureTransform].filter(Boolean);for(const r of n)t=r.updateModelProps(t);return t}_buildResourceTransforms(e,t){(function(e){if(!(0,C.nK)(e.feedbackBuffers)||!(0,C.nK)(e.feedbackMap)||e.varyings&&e.varyings.length>0)return!0;return!1})(t)&&(this.bufferTransform=new h(e,t)),function(e){if(!(0,C.nK)(e._sourceTextures)||e._targetTexture||e._targetTextureVarying)return!0;return!1}(t)&&(this.textureTransform=new S(e,t)),(0,d.h)(this.bufferTransform||this.textureTransform,"must provide source/feedback buffers or source/target textures")}_updateDrawOptions(e){let t=Object.assign({},e);const n=[this.bufferTransform,this.textureTransform].filter(Boolean);for(const r of n)t=Object.assign(t,r.getDrawOptions(t));return t}}},76195:(e,t,n)=>{"use strict";n.d(t,{KQ:()=>d,JD:()=>u,s9:()=>ee,JY:()=>Y,w:()=>q,ZS:()=>V,vd:()=>c,yW:()=>te,UF:()=>s,D0:()=>l,cM:()=>r,kL:()=>G,aQ:()=>ne,dR:()=>H,s8:()=>W});const r=new(n(20251).Z)({id:"luma.gl"});function i(e,t){if(!e)throw new Error(t||"luma.gl: assertion failed.")}const o="Invalid WebGLRenderingContext",a="Requires WebGL2";function s(e){return"undefined"!==typeof WebGLRenderingContext&&e instanceof WebGLRenderingContext||("undefined"!==typeof WebGL2RenderingContext&&e instanceof WebGL2RenderingContext||Boolean(e&&Number.isFinite(e._version)))}function l(e){return"undefined"!==typeof WebGL2RenderingContext&&e instanceof WebGL2RenderingContext||Boolean(e&&2===e._version)}function c(e){return l(e)?e:null}function u(e){return i(s(e),o),e}function d(e){return i(l(e),a),e}const h={};function f(e,t){var n;h[e]=!0,void 0!==t&&(n=t,globalThis.console&&globalThis.console.error&&globalThis.console.error(n))}const p=function e(t){const n=t.gl;this.ext=t,this.isAlive=!0,this.hasBeenBound=!1,this.elementArrayBuffer=null,this.attribs=new Array(t.maxVertexAttribs);for(let r=0;r{var e;e="OESVertexArrayObject emulation library context restored",globalThis.console&&globalThis.console.log&&globalThis.console.log(e),t.reset_()}),!0),this.reset_()};g.prototype.VERTEX_ARRAY_BINDING_OES=34229,g.prototype.reset_=function(){if(void 0!==this.vertexArrayObjects)for(let t=0;tl(e)?void 0:0,b={3074:e=>l(e)?void 0:36064,35723:e=>l(e)?void 0:4352,35977:y,32937:y,36795:(e,t)=>{const n=l(e)?e.getExtension("EXT_disjoint_timer_query_webgl2"):e.getExtension("EXT_disjoint_timer_query");return n&&n.GPU_DISJOINT_EXT?t(n.GPU_DISJOINT_EXT):0},37445:(e,t)=>{const n=e.getExtension(v);return t(n&&n.UNMASKED_VENDOR_WEBGL||7936)},37446:(e,t)=>{const n=e.getExtension(v);return t(n&&n.UNMASKED_RENDERER_WEBGL||7937)},34047:(e,t)=>{const n=e.luma.extensions.EXT_texture_filter_anisotropic;return n?t(n.MAX_TEXTURE_MAX_ANISOTROPY_EXT):1},32883:y,35071:y,37447:y,36063:(e,t)=>{if(!l(e)){const n=e.getExtension(A);return n?t(n.MAX_COLOR_ATTACHMENTS_WEBGL):0}},35379:y,35374:y,35377:y,34852:e=>{if(!l(e)){const t=e.getExtension(A);return t?t.MAX_DRAW_BUFFERS_WEBGL:0}},36203:e=>e.getExtension(m)?2147483647:65535,33001:e=>e.getExtension(m)?16777216:65535,33e3:e=>16777216,37157:y,35373:y,35657:y,36183:y,37137:y,34045:y,35978:y,35979:y,35968:y,35376:y,35375:y,35659:y,37154:y,35371:y,35658:y,35076:y,35077:y,35380:y};const _="ANGLE_instanced_arrays";const w={OES_vertex_array_object:{meta:{suffix:"OES"},createVertexArray:()=>{i(!1,"VertexArray requires WebGL2 or OES_vertex_array_object extension")},deleteVertexArray:()=>{},bindVertexArray:()=>{},isVertexArray:()=>!1},[_]:{meta:{suffix:"ANGLE"},vertexAttribDivisor(e,t){i(0===t,"WebGL instanced rendering not supported")},drawElementsInstanced:()=>{},drawArraysInstanced:()=>{}},WEBGL_draw_buffers:{meta:{suffix:"WEBGL"},drawBuffers:()=>{i(!1)}},EXT_disjoint_timer_query:{meta:{suffix:"EXT"},createQuery:()=>{i(!1)},deleteQuery:()=>{i(!1)},beginQuery:()=>{i(!1)},endQuery:()=>{},getQuery(e,t){return this.getQueryObject(e,t)},getQueryParameter(e,t){return this.getQueryObject(e,t)},getQueryObject:()=>{}}},x={readBuffer:(e,t,n)=>{l(e)&&t(n)},getVertexAttrib:(e,t,n,r)=>{const{webgl2:i,ext:o}=function(e,t){return{webgl2:l(e),ext:e.getExtension(t)}}(e,_);let a;switch(r){case 35069:a=!!i&&void 0;break;case 35070:a=i||o?void 0:0}return void 0!==a?a:t(n,r)},getProgramParameter:(e,t,n,r)=>{if(!l(e))switch(r){case 35967:return 35981;case 35971:case 35382:return 0}return t(n,r)},getInternalformatParameter:(e,t,n,r,i)=>l(e)||32937!==i?e.getInternalformatParameter(n,r,i):new Int32Array([0]),getTexParameter(e,t,n,r){if(34046===r){const{extensions:t}=e.luma,n=t.EXT_texture_filter_anisotropic;r=n&&n.TEXTURE_MAX_ANISOTROPY_EXT||34046}return t(n,r)},getParameter:function(e,t,n){const r=b[n],i="function"===typeof r?r(e,t,n):r;return void 0!==i?i:t(n)},hint:(e,t,n,r)=>t(n,r)};function E(e,t){let{extension:n,target:r,target2:o}=t;const a=w[n];i(a);const{meta:s={}}=a,{suffix:l=""}=s,c=e.getExtension(n);for(const i of Object.keys(a)){const t="".concat(i).concat(l);let n=null;"meta"===i||"function"===typeof e[i]||(c&&"function"===typeof c[t]?n=function(){return c[t](...arguments)}:"function"===typeof a[i]&&(n=a[i].bind(r))),n&&(r[i]=n,o[i]=n)}}globalThis.polyfillContext=function(e){e.luma=e.luma||{};const{luma:t}=e;return t.polyfilled||(!function(e){if("function"===typeof e.createVertexArray)return;const t=e.getSupportedExtensions;e.getSupportedExtensions=function(){const e=t.call(this)||[];return e.indexOf("OES_vertex_array_object")<0&&e.push("OES_vertex_array_object"),e};const n=e.getExtension;e.getExtension=function(t){return n.call(this,t)||("OES_vertex_array_object"!==t?null:(e.__OESVertexArrayObject||(this.__OESVertexArrayObject=new g(this)),this.__OESVertexArrayObject))}}(e),function(e){e.luma.extensions={};const t=e.getSupportedExtensions()||[];for(const n of t)e.luma[n]=e.getExtension(n)}(e),function(e,t){for(const n of Object.getOwnPropertyNames(t))"overrides"!==n&&E(e,{extension:n,target:e.luma,target2:e})}(e,w),function(e,t){let{target:n,target2:r}=t;Object.keys(x).forEach((t=>{if("function"===typeof x[t]){const i=e[t]?e[t].bind(e):()=>{},o=x[t].bind(null,e,i);n[t]=o,r[t]=o}}))}(e,{target:t,target2:e}),t.polyfilled=!0),e};const S={3042:!1,32773:new Float32Array([0,0,0,0]),32777:32774,34877:32774,32969:1,32968:0,32971:1,32970:0,3106:new Float32Array([0,0,0,0]),3107:[!0,!0,!0,!0],2884:!1,2885:1029,2929:!1,2931:1,2932:513,2928:new Float32Array([0,1]),2930:!0,3024:!0,36006:null,2886:2305,33170:4352,2849:1,32823:!1,32824:0,10752:0,32938:1,32939:!1,3089:!1,3088:new Int32Array([0,0,1024,1024]),2960:!1,2961:0,2968:4294967295,36005:4294967295,2962:519,2967:0,2963:4294967295,34816:519,36003:0,36004:4294967295,2964:7680,2965:7680,2966:7680,34817:7680,34818:7680,34819:7680,2978:[0,0,1024,1024],3333:4,3317:4,37440:!1,37441:!1,37443:37444,35723:4352,36010:null,35977:!1,3330:0,3332:0,3331:0,3314:0,32878:0,3316:0,3315:0,32877:0},C=(e,t,n)=>t?e.enable(n):e.disable(n),P=(e,t,n)=>e.hint(n,t),T=(e,t,n)=>e.pixelStorei(n,t);function M(e){return Array.isArray(e)||ArrayBuffer.isView(e)}const k={3042:C,32773:(e,t)=>e.blendColor(...t),32777:"blendEquation",34877:"blendEquation",32969:"blendFunc",32968:"blendFunc",32971:"blendFunc",32970:"blendFunc",3106:(e,t)=>e.clearColor(...t),3107:(e,t)=>e.colorMask(...t),2884:C,2885:(e,t)=>e.cullFace(t),2929:C,2931:(e,t)=>e.clearDepth(t),2932:(e,t)=>e.depthFunc(t),2928:(e,t)=>e.depthRange(...t),2930:(e,t)=>e.depthMask(t),3024:C,35723:P,36006:(e,t)=>{const n=l(e)?36009:36160;return e.bindFramebuffer(n,t)},2886:(e,t)=>e.frontFace(t),33170:P,2849:(e,t)=>e.lineWidth(t),32823:C,32824:"polygonOffset",10752:"polygonOffset",35977:C,32938:"sampleCoverage",32939:"sampleCoverage",3089:C,3088:(e,t)=>e.scissor(...t),2960:C,2961:(e,t)=>e.clearStencil(t),2968:(e,t)=>e.stencilMaskSeparate(1028,t),36005:(e,t)=>e.stencilMaskSeparate(1029,t),2962:"stencilFuncFront",2967:"stencilFuncFront",2963:"stencilFuncFront",34816:"stencilFuncBack",36003:"stencilFuncBack",36004:"stencilFuncBack",2964:"stencilOpFront",2965:"stencilOpFront",2966:"stencilOpFront",34817:"stencilOpBack",34818:"stencilOpBack",34819:"stencilOpBack",2978:(e,t)=>e.viewport(...t),3333:T,3317:T,37440:T,37441:T,37443:T,3330:T,3332:T,3331:T,36010:(e,t)=>e.bindFramebuffer(36008,t),3314:T,32878:T,3316:T,3315:T,32877:T,framebuffer:(e,t)=>{const n=t&&"handle"in t?t.handle:t;return e.bindFramebuffer(36160,n)},blend:(e,t)=>t?e.enable(3042):e.disable(3042),blendColor:(e,t)=>e.blendColor(...t),blendEquation:(e,t)=>{t=M(t)?t:[t,t],e.blendEquationSeparate(...t)},blendFunc:(e,t)=>{t=M(t)&&2===t.length?[...t,...t]:t,e.blendFuncSeparate(...t)},clearColor:(e,t)=>e.clearColor(...t),clearDepth:(e,t)=>e.clearDepth(t),clearStencil:(e,t)=>e.clearStencil(t),colorMask:(e,t)=>e.colorMask(...t),cull:(e,t)=>t?e.enable(2884):e.disable(2884),cullFace:(e,t)=>e.cullFace(t),depthTest:(e,t)=>t?e.enable(2929):e.disable(2929),depthFunc:(e,t)=>e.depthFunc(t),depthMask:(e,t)=>e.depthMask(t),depthRange:(e,t)=>e.depthRange(...t),dither:(e,t)=>t?e.enable(3024):e.disable(3024),derivativeHint:(e,t)=>{e.hint(35723,t)},frontFace:(e,t)=>e.frontFace(t),mipmapHint:(e,t)=>e.hint(33170,t),lineWidth:(e,t)=>e.lineWidth(t),polygonOffsetFill:(e,t)=>t?e.enable(32823):e.disable(32823),polygonOffset:(e,t)=>e.polygonOffset(...t),sampleCoverage:(e,t)=>e.sampleCoverage(...t),scissorTest:(e,t)=>t?e.enable(3089):e.disable(3089),scissor:(e,t)=>e.scissor(...t),stencilTest:(e,t)=>t?e.enable(2960):e.disable(2960),stencilMask:(e,t)=>{t=M(t)?t:[t,t];const[n,r]=t;e.stencilMaskSeparate(1028,n),e.stencilMaskSeparate(1029,r)},stencilFunc:(e,t)=>{t=M(t)&&3===t.length?[...t,...t]:t;const[n,r,i,o,a,s]=t;e.stencilFuncSeparate(1028,n,r,i),e.stencilFuncSeparate(1029,o,a,s)},stencilOp:(e,t)=>{t=M(t)&&3===t.length?[...t,...t]:t;const[n,r,i,o,a,s]=t;e.stencilOpSeparate(1028,n,r,i),e.stencilOpSeparate(1029,o,a,s)},viewport:(e,t)=>e.viewport(...t)};function R(e,t,n){return void 0!==t[e]?t[e]:n[e]}const O={blendEquation:(e,t,n)=>e.blendEquationSeparate(R(32777,t,n),R(34877,t,n)),blendFunc:(e,t,n)=>e.blendFuncSeparate(R(32969,t,n),R(32968,t,n),R(32971,t,n),R(32970,t,n)),polygonOffset:(e,t,n)=>e.polygonOffset(R(32824,t,n),R(10752,t,n)),sampleCoverage:(e,t,n)=>e.sampleCoverage(R(32938,t,n),R(32939,t,n)),stencilFuncFront:(e,t,n)=>e.stencilFuncSeparate(1028,R(2962,t,n),R(2967,t,n),R(2963,t,n)),stencilFuncBack:(e,t,n)=>e.stencilFuncSeparate(1029,R(34816,t,n),R(36003,t,n),R(36004,t,n)),stencilOpFront:(e,t,n)=>e.stencilOpSeparate(1028,R(2964,t,n),R(2965,t,n),R(2966,t,n)),stencilOpBack:(e,t,n)=>e.stencilOpSeparate(1029,R(34817,t,n),R(34818,t,n),R(34819,t,n))},I={enable:(e,t)=>e({[t]:!0}),disable:(e,t)=>e({[t]:!1}),pixelStorei:(e,t,n)=>e({[t]:n}),hint:(e,t,n)=>e({[t]:n}),bindFramebuffer:(e,t,n)=>{switch(t){case 36160:return e({36006:n,36010:n});case 36009:return e({36006:n});case 36008:return e({36010:n});default:return null}},blendColor:(e,t,n,r,i)=>e({32773:new Float32Array([t,n,r,i])}),blendEquation:(e,t)=>e({32777:t,34877:t}),blendEquationSeparate:(e,t,n)=>e({32777:t,34877:n}),blendFunc:(e,t,n)=>e({32969:t,32968:n,32971:t,32970:n}),blendFuncSeparate:(e,t,n,r,i)=>e({32969:t,32968:n,32971:r,32970:i}),clearColor:(e,t,n,r,i)=>e({3106:new Float32Array([t,n,r,i])}),clearDepth:(e,t)=>e({2931:t}),clearStencil:(e,t)=>e({2961:t}),colorMask:(e,t,n,r,i)=>e({3107:[t,n,r,i]}),cullFace:(e,t)=>e({2885:t}),depthFunc:(e,t)=>e({2932:t}),depthRange:(e,t,n)=>e({2928:new Float32Array([t,n])}),depthMask:(e,t)=>e({2930:t}),frontFace:(e,t)=>e({2886:t}),lineWidth:(e,t)=>e({2849:t}),polygonOffset:(e,t,n)=>e({32824:t,10752:n}),sampleCoverage:(e,t,n)=>e({32938:t,32939:n}),scissor:(e,t,n,r,i)=>e({3088:new Int32Array([t,n,r,i])}),stencilMask:(e,t)=>e({2968:t,36005:t}),stencilMaskSeparate:(e,t,n)=>e({[1028===t?2968:36005]:n}),stencilFunc:(e,t,n,r)=>e({2962:t,2967:n,2963:r,34816:t,36003:n,36004:r}),stencilFuncSeparate:(e,t,n,r,i)=>e({[1028===t?2962:34816]:n,[1028===t?2967:36003]:r,[1028===t?2963:36004]:i}),stencilOp:(e,t,n,r)=>e({2964:t,2965:n,2966:r,34817:t,34818:n,34819:r}),stencilOpSeparate:(e,t,n,r,i)=>e({[1028===t?2964:34817]:n,[1028===t?2965:34818]:r,[1028===t?2966:34819]:i}),viewport:(e,t,n,r,i)=>e({2978:[t,n,r,i]})},L=(e,t)=>e.isEnabled(t),D={3042:L,2884:L,2929:L,3024:L,32823:L,32926:L,32928:L,3089:L,2960:L,35977:L};function N(e){for(const t in e)return!1;return!0}function F(e,t){if(e===t)return!0;const n=Array.isArray(e)||ArrayBuffer.isView(e),r=Array.isArray(t)||ArrayBuffer.isView(t);if(n&&r&&e.length===t.length){for(let n=0;n{})}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.gl=e,this.program=null,this.stateStack=[],this.enable=!0,this.cache=t?V(e):Object.assign({},S),this.log=n,this._updateCache=this._updateCache.bind(this),Object.seal(this)}push(){this.stateStack.push({})}pop(){i(this.stateStack.length>0);const e=this.stateStack[this.stateStack.length-1];H(this.gl,e),this.stateStack.pop()}_updateCache(e){let t,n=!1;const r=this.stateStack.length>0&&this.stateStack[this.stateStack.length-1];for(const o in e){i(void 0!==o);const a=e[o],s=this.cache[o];F(a,s)||(n=!0,t=s,r&&!(o in r)&&(r[o]=s),this.cache[o]=a)}return{valueChanged:n,oldValue:t}}}function Z(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{enable:n=!0,copyState:r}=t;if(i(void 0!==r),!e.state){const{polyfillContext:t}=globalThis;t&&t(e),e.state=new z(e,{copyState:r}),function(e){const t=e.useProgram.bind(e);e.useProgram=function(n){e.state.program!==n&&(t(n),e.state.program=n)}}(e);for(const n in I){B(e,n,I[n])}j(e,"getParameter"),j(e,"isEnabled")}return e.state.enable=n,e}function U(e){i(e.state),e.state.pop()}function H(e,t){if(i(s(e),"setParameters requires a WebGL context"),N(t))return;const n={};for(const i in t){const r=Number(i),o=k[i];o&&("string"===typeof o?n[o]=!0:o(e,t[i],r))}const r=e.state&&e.state.cache;if(r)for(const i in n){(0,O[i])(e,t,r)}}function V(e,t){if("number"===typeof(t=t||S)){const n=t,r=D[n];return r?r(e,n):e.getParameter(n)}const n=Array.isArray(t)?t:Object.keys(t),r={};for(const i of n){const t=D[i];r[i]=t?t(e,Number(i)):e.getParameter(Number(i))}return r}function G(e){H(e,S)}function W(e,t,n){if(N(t))return n(e);const{nocatch:r=!0}=t;let i;if(function(e){e.state||Z(e,{copyState:!1}),e.state.push()}(e),H(e,t),r)i=n(e),U(e);else try{i=n(e)}finally{U(e)}return i}function q(e){const{luma:t}=e;if(e.canvas&&t){const{clientWidth:n}=t.canvasSizeInfo;return n?e.drawingBufferWidth/n:1}return 1}function Y(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(e,t,n,r,i){const o=X(e[0],t,n);let a=K(e[1],t,r,i),s=X(e[0]+1,t,n);const l=s===n-1?s:s-1;let c;s=K(e[1]+1,t,r,i),i?(s=0===s?s:s+1,c=a,a=s):c=s===r-1?s:s-1;return{x:o,y:a,width:Math.max(l-o+1,1),height:Math.max(c-a+1,1)}}(t,q(e),e.drawingBufferWidth,e.drawingBufferHeight,n)}function X(e,t,n){return Math.min(Math.round(e*t),n-1)}function K(e,t,n,r){return r?Math.max(0,n-1-Math.round(e*t)):Math.min(Math.round(e*t),n-1)}const Q=(0,n(89258).Z)(),$=Q&&"undefined"!==typeof document,J={webgl2:!0,webgl1:!0,throwOnError:!0,manageState:!0,canvas:null,debug:!1,width:800,height:600};function ee(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(Q,"createGLContext only available in the browser.\nCreate your own headless context or use 'createHeadlessContext' from @luma.gl/test-utils"),e=Object.assign({},J,e);const{width:t,height:n}=e;function o(t){if(e.throwOnError)throw new Error(t);return console.error(t),null}let a;e.onError=o;const{canvas:s}=e,c=function(e){let t,{canvas:n,width:r=800,height:i=600,onError:o}=e;if("string"===typeof n){$&&"complete"===document.readyState||o("createGLContext called on canvas '".concat(n,"' before page was loaded")),t=document.getElementById(n)}else n?t=n:(t=document.createElement("canvas"),t.id="lumagl-canvas",t.style.width=Number.isFinite(r)?"".concat(r,"px"):"100%",t.style.height=Number.isFinite(i)?"".concat(i,"px"):"100%",document.body.insertBefore(t,document.body.firstChild));return t}({canvas:s,width:t,height:n,onError:o});return a=function(e,t){const{onError:n}=t;let r=null;const i=e=>r=e.statusMessage||r;e.addEventListener("webglcontextcreationerror",i,!1);const{webgl1:o=!0,webgl2:a=!0}=t;let s=null;a&&(s=s||e.getContext("webgl2",t),s=s||e.getContext("experimental-webgl2",t));o&&(s=s||e.getContext("webgl",t),s=s||e.getContext("experimental-webgl",t));if(e.removeEventListener("webglcontextcreationerror",i,!1),!s)return n("Failed to create ".concat(a&&!o?"WebGL2":"WebGL"," context: ").concat(r||"Unknown error"));t.onContextLost&&e.addEventListener("webglcontextlost",t.onContextLost,!1);t.onContextRestored&&e.addEventListener("webglcontextrestored",t.onContextRestored,!1);return s}(c,e),a?(a=te(a,e),function(e){const t=l(e)?"WebGL2":"WebGL1",n=function(e){const t=e.getParameter(7936),n=e.getParameter(7937),r=e.getExtension("WEBGL_debug_renderer_info"),i=r&&e.getParameter(r.UNMASKED_VENDOR_WEBGL||7936),o=r&&e.getParameter(r.UNMASKED_RENDERER_WEBGL||7937);return{vendor:i||t,renderer:o||n,vendorMasked:t,rendererMasked:n,version:e.getParameter(7938),shadingLanguageVersion:e.getParameter(35724)}}(e),i=n?"(".concat(n.vendor,",").concat(n.renderer,")"):"",o=e.debug?" debug":"";r.info(1,"".concat(t).concat(o," context ").concat(i))()}(a),a):null}function te(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e||e._instrumented)return e;e._version=e._version||function(e){if("undefined"!==typeof WebGL2RenderingContext&&e instanceof WebGL2RenderingContext)return 2;return 1}(e),e.luma=e.luma||{},e.luma.canvasSizeInfo=e.luma.canvasSizeInfo||{},t=Object.assign({},J,t);const{manageState:n,debug:i}=t;return n&&Z(e,{copyState:!1,log:function(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(e.canvas){return void function(e,t,n){let i="width"in n?n.width:e.canvas.clientWidth,o="height"in n?n.height:e.canvas.clientHeight;i&&o||(r.log(1,"Canvas clientWidth/clientHeight is 0")(),t=1,i=e.canvas.width||1,o=e.canvas.height||1);e.luma=e.luma||{},e.luma.canvasSizeInfo=e.luma.canvasSizeInfo||{};const a=e.luma.canvasSizeInfo;if(a.clientWidth!==i||a.clientHeight!==o||a.devicePixelRatio!==t){let n=t;const a=Math.floor(i*n),s=Math.floor(o*n);e.canvas.width=a,e.canvas.height=s,e.drawingBufferWidth===a&&e.drawingBufferHeight===s||(r.warn("Device pixel ratio clamped")(),n=Math.min(e.drawingBufferWidth/i,e.drawingBufferHeight/o),e.canvas.width=Math.floor(i*n),e.canvas.height=Math.floor(o*n)),Object.assign(e.luma.canvasSizeInfo,{clientWidth:i,clientHeight:o,devicePixelRatio:t})}}(e,function(e){const t="undefined"===typeof window?1:window.devicePixelRatio||1;return Number.isFinite(e)?e<=0?1:e:e?t:1}(t.useDevicePixels),t)}const n=e.getExtension("STACKGL_resize_drawingbuffer");n&&"width"in t&&"height"in t&&n.resize(t.width,t.height)}},91203:(e,t,n)=>{"use strict";n.d(t,{H:()=>r,Y:()=>i});const r="vs",i="fs"},11558:(e,t,n)=>{"use strict";n.d(t,{O_:()=>a,Lm:()=>d,ZP:()=>u});var r=n(91203),i=n(7064);const o={[r.H]:"#ifdef MODULE_LOGDEPTH\n logdepth_adjustPosition(gl_Position);\n#endif\n",[r.Y]:"#ifdef MODULE_MATERIAL\n gl_FragColor = material_filterColor(gl_FragColor);\n#endif\n\n#ifdef MODULE_LIGHTING\n gl_FragColor = lighting_filterColor(gl_FragColor);\n#endif\n\n#ifdef MODULE_FOG\n gl_FragColor = fog_filterColor(gl_FragColor);\n#endif\n\n#ifdef MODULE_PICKING\n gl_FragColor = picking_filterHighlightColor(gl_FragColor);\n gl_FragColor = picking_filterPickingColor(gl_FragColor);\n#endif\n\n#ifdef MODULE_LOGDEPTH\n logdepth_setFragDepth();\n#endif\n"},a="__LUMA_INJECT_DECLARATIONS__",s=/void\s+main\s*\([^)]*\)\s*\{\n?/,l=/}\n?[^{}]*$/,c=[];function u(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const u=t===r.H;for(const r in n){const t=n[r];t.sort(((e,t)=>e.order-t.order)),c.length=t.length;for(let e=0,n=t.length;ee+i)));break;case"vs:#main-end":u&&(e=e.replace(l,(e=>i+e)));break;case"fs:#decl":u||(e=e.replace(a,i));break;case"fs:#main-start":u||(e=e.replace(s,(e=>e+i)));break;case"fs:#main-end":u||(e=e.replace(l,(e=>i+e)));break;default:e=e.replace(r,(e=>e+i))}}return e=e.replace(a,""),i&&(e=e.replace(/\}\s*$/,(e=>e+o[t]))),e}function d(e){const t={};return(0,i.Z)(Array.isArray(e)&&e.length>1),e.forEach((e=>{for(const n in e)t[n]=t[n]?"".concat(t[n],"\n").concat(e[n]):e[n]})),t}},48424:(e,t,n)=>{"use strict";n.d(t,{N:()=>u,s:()=>d});const r="#if (defined(SHADER_TYPE_FRAGMENT) && defined(LIGHTING_FRAGMENT)) || (defined(SHADER_TYPE_VERTEX) && defined(LIGHTING_VERTEX))\n\nstruct AmbientLight {\n vec3 color;\n};\n\nstruct PointLight {\n vec3 color;\n vec3 position;\n vec3 attenuation;\n};\n\nstruct DirectionalLight {\n vec3 color;\n vec3 direction;\n};\n\nuniform AmbientLight lighting_uAmbientLight;\nuniform PointLight lighting_uPointLight[MAX_LIGHTS];\nuniform DirectionalLight lighting_uDirectionalLight[MAX_LIGHTS];\nuniform int lighting_uPointLightCount;\nuniform int lighting_uDirectionalLightCount;\n\nuniform bool lighting_uEnabled;\n\nfloat getPointLightAttenuation(PointLight pointLight, float distance) {\n return pointLight.attenuation.x\n + pointLight.attenuation.y * distance\n + pointLight.attenuation.z * distance * distance;\n}\n\n#endif\n",i={lightSources:{}};function o(){let{color:e=[0,0,0],intensity:t=1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.map((e=>e*t/255))}const a={name:"lights",vs:r,fs:r,getUniforms:function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;if("lightSources"in t){const{ambientLight:e,pointLights:n,directionalLights:r}=t.lightSources||{};return e||n&&n.length>0||r&&r.length>0?Object.assign({},function(e){let{ambientLight:t,pointLights:n=[],directionalLights:r=[]}=e;const i={};return i["lighting_uAmbientLight.color"]=t?o(t):[0,0,0],n.forEach(((e,t)=>{i["lighting_uPointLight[".concat(t,"].color")]=o(e),i["lighting_uPointLight[".concat(t,"].position")]=e.position,i["lighting_uPointLight[".concat(t,"].attenuation")]=e.attenuation||[1,0,0]})),i.lighting_uPointLightCount=n.length,r.forEach(((e,t)=>{i["lighting_uDirectionalLight[".concat(t,"].color")]=o(e),i["lighting_uDirectionalLight[".concat(t,"].direction")]=e.direction})),i.lighting_uDirectionalLightCount=r.length,i}({ambientLight:e,pointLights:n,directionalLights:r}),{lighting_uEnabled:!0}):{lighting_uEnabled:!1}}if("lights"in t){const n={pointLights:[],directionalLights:[]};for(const e of t.lights||[])switch(e.type){case"ambient":n.ambientLight=e;break;case"directional":n.directionalLights.push(e);break;case"point":n.pointLights.push(e)}return e({lightSources:n})}return{}},defines:{MAX_LIGHTS:3}},s="\nuniform float lighting_uAmbient;\nuniform float lighting_uDiffuse;\nuniform float lighting_uShininess;\nuniform vec3 lighting_uSpecularColor;\n\nvec3 lighting_getLightColor(vec3 surfaceColor, vec3 light_direction, vec3 view_direction, vec3 normal_worldspace, vec3 color) {\n vec3 halfway_direction = normalize(light_direction + view_direction);\n float lambertian = dot(light_direction, normal_worldspace);\n float specular = 0.0;\n if (lambertian > 0.0) {\n float specular_angle = max(dot(normal_worldspace, halfway_direction), 0.0);\n specular = pow(specular_angle, lighting_uShininess);\n }\n lambertian = max(lambertian, 0.0);\n return (lambertian * lighting_uDiffuse * surfaceColor + specular * lighting_uSpecularColor) * color;\n}\n\nvec3 lighting_getLightColor(vec3 surfaceColor, vec3 cameraPosition, vec3 position_worldspace, vec3 normal_worldspace) {\n vec3 lightColor = surfaceColor;\n\n if (lighting_uEnabled) {\n vec3 view_direction = normalize(cameraPosition - position_worldspace);\n lightColor = lighting_uAmbient * surfaceColor * lighting_uAmbientLight.color;\n\n for (int i = 0; i < MAX_LIGHTS; i++) {\n if (i >= lighting_uPointLightCount) {\n break;\n }\n PointLight pointLight = lighting_uPointLight[i];\n vec3 light_position_worldspace = pointLight.position;\n vec3 light_direction = normalize(light_position_worldspace - position_worldspace);\n lightColor += lighting_getLightColor(surfaceColor, light_direction, view_direction, normal_worldspace, pointLight.color);\n }\n\n for (int i = 0; i < MAX_LIGHTS; i++) {\n if (i >= lighting_uDirectionalLightCount) {\n break;\n }\n DirectionalLight directionalLight = lighting_uDirectionalLight[i];\n lightColor += lighting_getLightColor(surfaceColor, -directionalLight.direction, view_direction, normal_worldspace, directionalLight.color);\n }\n }\n return lightColor;\n}\n\nvec3 lighting_getSpecularLightColor(vec3 cameraPosition, vec3 position_worldspace, vec3 normal_worldspace) {\n vec3 lightColor = vec3(0, 0, 0);\n vec3 surfaceColor = vec3(0, 0, 0);\n\n if (lighting_uEnabled) {\n vec3 view_direction = normalize(cameraPosition - position_worldspace);\n\n for (int i = 0; i < MAX_LIGHTS; i++) {\n if (i >= lighting_uPointLightCount) {\n break;\n }\n PointLight pointLight = lighting_uPointLight[i];\n vec3 light_position_worldspace = pointLight.position;\n vec3 light_direction = normalize(light_position_worldspace - position_worldspace);\n lightColor += lighting_getLightColor(surfaceColor, light_direction, view_direction, normal_worldspace, pointLight.color);\n }\n\n for (int i = 0; i < MAX_LIGHTS; i++) {\n if (i >= lighting_uDirectionalLightCount) {\n break;\n }\n DirectionalLight directionalLight = lighting_uDirectionalLight[i];\n lightColor += lighting_getLightColor(surfaceColor, -directionalLight.direction, view_direction, normal_worldspace, directionalLight.color);\n }\n }\n return lightColor;\n}\n",l={};function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l;if(!("material"in e))return{};const{material:t}=e;return t?function(e){const{ambient:t=.35,diffuse:n=.6,shininess:r=32,specularColor:i=[30,30,30]}=e;return{lighting_uAmbient:t,lighting_uDiffuse:n,lighting_uShininess:r,lighting_uSpecularColor:i.map((e=>e/255))}}(t):{lighting_uEnabled:!1}}const u={name:"gouraud-lighting",dependencies:[a],vs:s,defines:{LIGHTING_VERTEX:1},getUniforms:c},d={name:"phong-lighting",dependencies:[a],fs:s,defines:{LIGHTING_FRAGMENT:1},getUniforms:c}},7064:(e,t,n)=>{"use strict";function r(e,t){if(!e)throw new Error(t||"shadertools: assertion failed.")}n.d(t,{Z:()=>r})},71254:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(78501),i=n(59661),o=n(13413);const a={offset:0,stride:0,type:5126,size:1,divisor:0,normalized:!1,integer:!1},s={deprecatedProps:{instanced:"divisor",isInstanced:"divisor"}};class l{static getBytesPerElement(e){return(0,r.vN)(e.type||5126).BYTES_PER_ELEMENT}static getBytesPerVertex(e){(0,i.h)(e.size);return(0,r.vN)(e.type||5126).BYTES_PER_ELEMENT*e.size}static resolve(){for(var e=arguments.length,t=new Array(e),n=0;nthis._assign(e))),Object.freeze(this)}toString(){return JSON.stringify(this)}get BYTES_PER_ELEMENT(){return l.getBytesPerElement(this)}get BYTES_PER_VERTEX(){return l.getBytesPerVertex(this)}_assign(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e=(0,o.k)("Accessor",e,s),void 0!==e.type&&(this.type=e.type,5124!==e.type&&5125!==e.type||(this.integer=!0)),void 0!==e.size&&(this.size=e.size),void 0!==e.offset&&(this.offset=e.offset),void 0!==e.stride&&(this.stride=e.stride),void 0!==e.normalized&&(this.normalized=e.normalized),void 0!==e.integer&&(this.integer=e.integer),void 0!==e.divisor&&(this.divisor=e.divisor),void 0!==e.buffer&&(this.buffer=e.buffer),void 0!==e.index&&("boolean"===typeof e.index?this.index=e.index?1:0:this.index=e.index),void 0!==e.instanced&&(this.divisor=e.instanced?1:0),void 0!==e.isInstanced&&(this.divisor=e.isInstanced?1:0),this}}},64180:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(1112),i=n(71254),o=n(78501),a=n(76195),s=n(59661),l=n(13413);const c={offset:"accessor.offset",stride:"accessor.stride",type:"accessor.type",size:"accessor.size",divisor:"accessor.divisor",normalized:"accessor.normalized",integer:"accessor.integer",instanced:"accessor.divisor",isInstanced:"accessor.divisor"},u={removedProps:{},replacedProps:{bytes:"byteLength"},deprecatedProps:c},d={removedProps:c};class h extends r.Z{get[Symbol.toStringTag](){return"Buffer"}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(e,t),this.stubRemovedMethods("Buffer","v6.0",["layout","setLayout","getIndexedParameter"]),this.target=t.target||(this.gl.webgl2?36662:34962),this.initialize(t),Object.seal(this)}getElementCount(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.accessor;return Math.round(this.byteLength/i.Z.getBytesPerElement(e))}getVertexCount(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.accessor;return Math.round(this.byteLength/i.Z.getBytesPerVertex(e))}initialize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ArrayBuffer.isView(e)&&(e={data:e}),Number.isFinite(e)&&(e={byteLength:e}),e=(0,l.k)("Buffer",e,u),this.usage=e.usage||35044,this.debugData=null,this.setAccessor(Object.assign({},e,e.accessor)),e.data?this._setData(e.data,e.offset,e.byteLength):this._setByteLength(e.byteLength||0),this}setProps(e){return"accessor"in(e=(0,l.k)("Buffer",e,d))&&this.setAccessor(e.accessor),this}setAccessor(e){return delete(e=Object.assign({},e)).buffer,this.accessor=new i.Z(e),this}reallocate(e){return e>this.byteLength?(this._setByteLength(e),!0):(this.bytesUsed=e,!1)}setData(e){return this.initialize(e)}subData(e){ArrayBuffer.isView(e)&&(e={data:e});const{data:t,offset:n=0,srcOffset:r=0}=e,i=e.byteLength||e.length;(0,s.h)(t);const o=this.gl.webgl2?36663:this.target;return this.gl.bindBuffer(o,this.handle),0!==r||void 0!==i?((0,a.KQ)(this.gl),this.gl.bufferSubData(this.target,n,t,r,i)):this.gl.bufferSubData(o,n,t),this.gl.bindBuffer(o,null),this.debugData=null,this._inferType(t),this}copyData(e){let{sourceBuffer:t,readOffset:n=0,writeOffset:r=0,size:i}=e;const{gl:o}=this;return(0,a.KQ)(o),o.bindBuffer(36662,t.handle),o.bindBuffer(36663,this.handle),o.copyBufferSubData(36662,36663,n,r,i),o.bindBuffer(36662,null),o.bindBuffer(36663,null),this.debugData=null,this}getData(){let{dstData:e=null,srcByteOffset:t=0,dstOffset:n=0,length:r=0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,a.KQ)(this.gl);const i=(0,o.vN)(this.accessor.type||5126,{clamped:!1}),l=this._getAvailableElementCount(t),c=n;let u,d;e?(d=e.length,u=d-c):(u=Math.min(l,r||l),d=c+u);const h=Math.min(l,u);return r=r||h,(0,s.h)(r<=h),e=e||new i(d),this.gl.bindBuffer(36662,this.handle),this.gl.getBufferSubData(36662,t,e,n,r),this.gl.bindBuffer(36662,null),e}bind(){let{target:e=this.target,index:t=this.accessor&&this.accessor.index,offset:n=0,size:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return 35345===e||35982===e?void 0!==r?this.gl.bindBufferRange(e,t,this.handle,n,r):((0,s.h)(0===n),this.gl.bindBufferBase(e,t,this.handle)):this.gl.bindBuffer(e,this.handle),this}unbind(){let{target:e=this.target,index:t=this.accessor&&this.accessor.index}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return 35345===e||35982===e?this.gl.bindBufferBase(e,t,null):this.gl.bindBuffer(e,null),this}getDebugData(){return this.debugData?{data:this.debugData,changed:!1}:(this.debugData=this.getData({length:Math.min(10,this.byteLength)}),{data:this.debugData,changed:!0})}invalidateDebugData(){this.debugData=null}_setData(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.byteLength+t;(0,s.h)(ArrayBuffer.isView(e)),this._trackDeallocatedMemory();const r=this._getTarget();this.gl.bindBuffer(r,this.handle),this.gl.bufferData(r,n,this.usage),this.gl.bufferSubData(r,t,e),this.gl.bindBuffer(r,null),this.debugData=e.slice(0,10),this.bytesUsed=n,this._trackAllocatedMemory(n);const a=(0,o.O)(e);return(0,s.h)(a),this.setAccessor(new i.Z(this.accessor,{type:a})),this}_setByteLength(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.usage;(0,s.h)(e>=0),this._trackDeallocatedMemory();let n=e;0===e&&(n=new Float32Array(0));const r=this._getTarget();return this.gl.bindBuffer(r,this.handle),this.gl.bufferData(r,n,t),this.gl.bindBuffer(r,null),this.usage=t,this.debugData=null,this.bytesUsed=e,this._trackAllocatedMemory(e),this}_getTarget(){return this.gl.webgl2?36663:this.target}_getAvailableElementCount(e){const t=e/(0,o.vN)(this.accessor.type||5126,{clamped:!1}).BYTES_PER_ELEMENT;return this.getElementCount()-t}_inferType(e){this.accessor.type||this.setAccessor(new i.Z(this.accessor,{type:(0,o.O)(e)}))}_createHandle(){return this.gl.createBuffer()}_deleteHandle(){this.gl.deleteBuffer(this.handle),this._trackDeallocatedMemory()}_getParameter(e){this.gl.bindBuffer(this.target,this.handle);const t=this.gl.getBufferParameter(this.target,e);return this.gl.bindBuffer(this.target,null),t}get type(){return a.cM.deprecated("Buffer.type","Buffer.accessor.type")(),this.accessor.type}get bytes(){return a.cM.deprecated("Buffer.bytes","Buffer.byteLength")(),this.byteLength}setByteLength(e){return a.cM.deprecated("setByteLength","reallocate")(),this.reallocate(e)}updateAccessor(e){return a.cM.deprecated("updateAccessor(...)","setAccessor(new Accessor(buffer.accessor, ...)")(),this.accessor=new i.Z(this.accessor,e),this}}},36708:(e,t,n)=>{"use strict";n.d(t,{$:()=>p,Z:()=>f});var r=n(76195),i=n(59661);const o=256,a=1024,s=16384,l=6144,c=6145,u=6146,d=34041,h="clear: bad arguments";function f(e){let{framebuffer:t=null,color:n=null,depth:l=null,stencil:c=null}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const u={};t&&(u.framebuffer=t);let d=0;n&&(d|=s,!0!==n&&(u.clearColor=n)),l&&(d|=o,!0!==l&&(u.clearDepth=l)),c&&(d|=a,!0!==l&&(u.clearStencil=l)),(0,i.h)(0!==d,h),(0,r.s8)(e,u,(()=>{e.clear(d)}))}function p(e){let{framebuffer:t=null,buffer:n=l,drawBuffer:o=0,value:a=[0,0,0,0]}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,r.KQ)(e),(0,r.s8)(e,{framebuffer:t},(()=>{switch(n){case l:switch(a.constructor){case Int32Array:e.clearBufferiv(n,o,a);break;case Uint32Array:e.clearBufferuiv(n,o,a);break;case Float32Array:default:e.clearBufferfv(n,o,a)}break;case c:e.clearBufferfv(c,0,[a]);break;case u:e.clearBufferiv(u,0,[a]);break;case d:const[t,r]=a;e.clearBufferfi(d,0,t,r);break;default:(0,i.h)(!1,h)}}))}},77378:(e,t,n)=>{"use strict";n.d(t,{Km:()=>u,Lv:()=>d,z6:()=>c});var r=n(64282),i=n(46773),o=n(76195),a=n(78501),s=n(59661);var l=n(15671);function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{sourceX:n=0,sourceY:r=0,sourceFormat:i=6408}=t;let{sourceAttachment:o=36064,target:l=null,sourceWidth:c,sourceHeight:u,sourceType:d}=t;const{framebuffer:f,deleteFramebuffer:p}=h(e);(0,s.h)(f);const{gl:g,handle:m,attachments:A}=f;c=c||f.width,u=u||f.height,36064===o&&null===m&&(o=1028),(0,s.h)(A[o]),d=d||A[o].type,l=function(e,t,n,r,i){if(e)return e;t=t||5121;const o=(0,a.vN)(t,{clamped:!1}),l=function(e){switch(e){case 6406:case 33326:case 6403:return 1;case 33328:case 33319:return 2;case 6407:case 34837:return 3;case 6408:case 34836:return 4;default:return(0,s.h)(!1),0}}(n);return new o(r*i*l)}(l,d,i,c,u),d=d||(0,a.O)(l);const v=g.bindFramebuffer(36160,m);return g.readPixels(n,r,c,u,i,d,l),g.bindFramebuffer(36160,v||null),p&&f.delete(),l}function u(e){let{sourceAttachment:t=36064,targetMaxHeight:n=Number.MAX_SAFE_INTEGER}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=c(e,{sourceAttachment:t}),{width:i,height:o}=e;for(;o>n;)({data:r,width:i,height:o}=(0,a.KS)({data:r,width:i,height:o}));(0,a.c$)({data:r,width:i,height:o});const s=document.createElement("canvas");s.width=i,s.height=o;const l=s.getContext("2d"),u=l.createImageData(i,o);return u.data.set(r),l.putImageData(u,0,0),s.toDataURL()}function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{sourceX:r=0,sourceY:a=0,targetMipmaplevel:l=0,targetInternalFormat:c=6408}=n;let{targetX:u,targetY:d,targetZ:f,width:p,height:g}=n;const{framebuffer:m,deleteFramebuffer:A}=h(e);(0,s.h)(m);const{gl:v,handle:y}=m,b="undefined"!==typeof u||"undefined"!==typeof d||"undefined"!==typeof f;u=u||0,d=d||0,f=f||0;const _=v.bindFramebuffer(36160,y);(0,s.h)(t);let w=null;if(t instanceof i.Z&&(w=t,p=Number.isFinite(p)?p:w.width,g=Number.isFinite(g)?g:w.height,w.bind(0),t=w.target),b)switch(t){case 3553:case 34067:v.copyTexSubImage2D(t,l,u,d,r,a,p,g);break;case 35866:case 32879:(0,o.KQ)(v).copyTexSubImage3D(t,l,u,d,f,r,a,p,g)}else v.copyTexImage2D(t,l,c,r,a,p,g,0);return w&&w.unbind(),v.bindFramebuffer(36160,_||null),A&&m.delete(),w}function h(e){return e instanceof r.Z?{framebuffer:e,deleteFramebuffer:!1}:{framebuffer:(0,l.Y)(e),deleteFramebuffer:!0}}},64282:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(76195),i=n(1112),o=n(81786),a=n(26277),s=n(36708),l=n(77378),c=n(6509),u=n(55562),d=n(59661);const h="Multiple render targets not supported";class f extends i.Z{get[Symbol.toStringTag](){return"Framebuffer"}static isSupported(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{colorBufferFloat:n,colorBufferHalfFloat:r}=t;let i=!0;return n&&(i=Boolean(e.getExtension("EXT_color_buffer_float")||e.getExtension("WEBGL_color_buffer_float")||e.getExtension("OES_texture_float"))),r&&(i=i&&Boolean(e.getExtension("EXT_color_buffer_float")||e.getExtension("EXT_color_buffer_half_float"))),i}static getDefaultFramebuffer(e){return e.luma=e.luma||{},e.luma.defaultFramebuffer=e.luma.defaultFramebuffer||new f(e,{id:"default-framebuffer",handle:null,attachments:{}}),e.luma.defaultFramebuffer}get MAX_COLOR_ATTACHMENTS(){const e=(0,r.KQ)(this.gl);return e.getParameter(e.MAX_COLOR_ATTACHMENTS)}get MAX_DRAW_BUFFERS(){const e=(0,r.KQ)(this.gl);return e.getParameter(e.MAX_DRAW_BUFFERS)}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(e,t),this.width=null,this.height=null,this.attachments={},this.readBuffer=36064,this.drawBuffers=[36064],this.ownResources=[],this.initialize(t),Object.seal(this)}get color(){return this.attachments[36064]||null}get texture(){return this.attachments[36064]||null}get depth(){return this.attachments[36096]||this.attachments[33306]||null}get stencil(){return this.attachments[36128]||this.attachments[33306]||null}initialize(e){let{width:t=1,height:n=1,attachments:r=null,color:i=!0,depth:o=!0,stencil:a=!1,check:s=!0,readBuffer:l,drawBuffers:c}=e;if((0,d.h)(t>=0&&n>=0,"Width and height need to be integers"),this.width=t,this.height=n,r)for(const u in r){const e=r[u];(Array.isArray(e)?e[0]:e).resize({width:t,height:n})}else r=this._createDefaultAttachments(i,o,a,t,n);this.update({clearAttachments:!0,attachments:r,readBuffer:l,drawBuffers:c}),r&&s&&this.checkStatus()}delete(){for(const e of this.ownResources)e.delete();return super.delete(),this}update(e){let{attachments:t={},readBuffer:n,drawBuffers:r,clearAttachments:i=!1,resizeAttachments:o=!0}=e;this.attach(t,{clearAttachments:i,resizeAttachments:o});const{gl:a}=this,s=a.bindFramebuffer(36160,this.handle);return n&&this._setReadBuffer(n),r&&this._setDrawBuffers(r),a.bindFramebuffer(36160,s||null),this}resize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{width:t,height:n}=e;if(null===this.handle)return(0,d.h)(void 0===t&&void 0===n),this.width=this.gl.drawingBufferWidth,this.height=this.gl.drawingBufferHeight,this;void 0===t&&(t=this.gl.drawingBufferWidth),void 0===n&&(n=this.gl.drawingBufferHeight),t!==this.width&&n!==this.height&&r.cM.log(2,"Resizing framebuffer ".concat(this.id," to ").concat(t,"x").concat(n))();for(const r in this.attachments)this.attachments[r].resize({width:t,height:n});return this.width=t,this.height=n,this}attach(e){let{clearAttachments:t=!1,resizeAttachments:n=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r={};t&&Object.keys(this.attachments).forEach((e=>{r[e]=null})),Object.assign(r,e);const i=this.gl.bindFramebuffer(36160,this.handle);for(const o in r){(0,d.h)(void 0!==o,"Misspelled framebuffer binding point?");const e=Number(o),t=r[e];let i=t;if(i)if(i instanceof a.Z)this._attachRenderbuffer({attachment:e,renderbuffer:i});else if(Array.isArray(t)){const[n,r=0,o=0]=t;i=n,this._attachTexture({attachment:e,texture:n,layer:r,level:o})}else this._attachTexture({attachment:e,texture:i,layer:0,level:0});else this._unattach(e);n&&i&&i.resize({width:this.width,height:this.height})}this.gl.bindFramebuffer(36160,i||null),Object.assign(this.attachments,e),Object.keys(this.attachments).filter((e=>!this.attachments[e])).forEach((e=>{delete this.attachments[e]}))}checkStatus(){const{gl:e}=this,t=this.getStatus();if(36053!==t)throw new Error(function(e){return(f.STATUS||{})[e]||"Framebuffer error ".concat(e)}(t));return this}getStatus(){const{gl:e}=this,t=e.bindFramebuffer(36160,this.handle),n=e.checkFramebufferStatus(36160);return e.bindFramebuffer(36160,t||null),n}clear(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{color:t,depth:n,stencil:r,drawBuffers:i=[]}=e,o=this.gl.bindFramebuffer(36160,this.handle);return(t||n||r)&&(0,s.Z)(this.gl,{color:t,depth:n,stencil:r}),i.forEach(((e,t)=>{(0,s.$)(this.gl,{drawBuffer:t,value:e})})),this.gl.bindFramebuffer(36160,o||null),this}readPixels(){return r.cM.error("Framebuffer.readPixels() is no logner supported, use readPixelsToArray(framebuffer)")(),null}readPixelsToBuffer(){return r.cM.error("Framebuffer.readPixelsToBuffer()is no logner supported, use readPixelsToBuffer(framebuffer)")(),null}copyToDataUrl(){return r.cM.error("Framebuffer.copyToDataUrl() is no logner supported, use copyToDataUrl(framebuffer)")(),null}copyToImage(){return r.cM.error("Framebuffer.copyToImage() is no logner supported, use copyToImage(framebuffer)")(),null}copyToTexture(){return r.cM.error("Framebuffer.copyToTexture({...}) is no logner supported, use copyToTexture(source, target, opts})")(),null}blit(){return r.cM.error("Framebuffer.blit({...}) is no logner supported, use blit(source, target, opts)")(),null}invalidate(e){let{attachments:t=[],x:n=0,y:i=0,width:o,height:a}=e;const s=(0,r.KQ)(this.gl),l=s.bindFramebuffer(36008,this.handle);return 0===n&&0===i&&void 0===o&&void 0===a?s.invalidateFramebuffer(36008,t):s.invalidateFramebuffer(36008,t,n,i,o,a),s.bindFramebuffer(36008,l),this}getAttachmentParameter(e,t,n){let r=this._getAttachmentParameterFallback(t);return null===r&&(this.gl.bindFramebuffer(36160,this.handle),r=this.gl.getFramebufferAttachmentParameter(36160,e,t),this.gl.bindFramebuffer(36160,null)),n&&r>1e3&&(r=(0,u.km)(this.gl,r)),r}getAttachmentParameters(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:36064,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.constructor.ATTACHMENT_PARAMETERS||[];const r={};for(const i of n){r[t?(0,u.km)(this.gl,i):i]=this.getAttachmentParameter(e,i,t)}return r}getParameters(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const t=Object.keys(this.attachments),n={};for(const r of t){const t=Number(r);n[e?(0,u.km)(this.gl,t):t]=this.getAttachmentParameters(t,e)}return n}show(){return"undefined"!==typeof window&&window.open((0,l.Km)(this),"luma-debug-texture"),this}log(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(e>r.cM.level||"undefined"===typeof window)return this;t=t||"Framebuffer ".concat(this.id);const n=(0,l.Km)(this,{targetMaxHeight:100});return r.cM.image({logLevel:e,message:t,image:n},t)(),this}bind(){let{target:e=36160}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.gl.bindFramebuffer(e,this.handle),this}unbind(){let{target:e=36160}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.gl.bindFramebuffer(e,null),this}_createDefaultAttachments(e,t,n,r,i){let s=null;return e&&(s=s||{},s[36064]=new o.Z(this.gl,{id:"".concat(this.id,"-color0"),pixels:null,format:6408,type:5121,width:r,height:i,mipmaps:!1,parameters:{10241:9729,10240:9729,10242:33071,10243:33071}}),this.ownResources.push(s[36064])),t&&n?(s=s||{},s[33306]=new a.Z(this.gl,{id:"".concat(this.id,"-depth-stencil"),format:35056,width:r,height:111}),this.ownResources.push(s[33306])):t?(s=s||{},s[36096]=new a.Z(this.gl,{id:"".concat(this.id,"-depth"),format:33189,width:r,height:i}),this.ownResources.push(s[36096])):n&&(0,d.h)(!1),s}_unattach(e){const t=this.attachments[e];t&&(t instanceof a.Z?this.gl.framebufferRenderbuffer(36160,e,36161,null):this.gl.framebufferTexture2D(36160,e,3553,null,0),delete this.attachments[e])}_attachRenderbuffer(e){let{attachment:t=36064,renderbuffer:n}=e;const{gl:r}=this;r.framebufferRenderbuffer(36160,t,36161,n.handle),this.attachments[t]=n}_attachTexture(e){let{attachment:t=36064,texture:n,layer:i,level:o}=e;const{gl:a}=this;switch(a.bindTexture(n.target,n.handle),n.target){case 35866:case 32879:(0,r.KQ)(a).framebufferTextureLayer(36160,t,n.target,o,i);break;case 34067:const e=function(e){return e<34069?e+34069:e}(i);a.framebufferTexture2D(36160,t,e,n.handle,o);break;case 3553:a.framebufferTexture2D(36160,t,3553,n.handle,o);break;default:(0,d.h)(!1,"Illegal texture type")}a.bindTexture(n.target,null),this.attachments[t]=n}_setReadBuffer(e){const t=(0,r.vd)(this.gl);t?t.readBuffer(e):(0,d.h)(36064===e||1029===e,h),this.readBuffer=e}_setDrawBuffers(e){const{gl:t}=this,n=(0,r.KQ)(t);if(n)n.drawBuffers(e);else{const n=t.getExtension("WEBGL_draw_buffers");n?n.drawBuffersWEBGL(e):(0,d.h)(1===e.length&&(36064===e[0]||1029===e[0]),h)}this.drawBuffers=e}_getAttachmentParameterFallback(e){const t=(0,c.N$)(this.gl);switch(e){case 36052:return t.WEBGL2?null:0;case 33298:case 33299:case 33300:case 33301:case 33302:case 33303:return t.WEBGL2?null:8;case 33297:return t.WEBGL2?null:5125;case 33296:return t.WEBGL2||t.EXT_sRGB?null:9729;default:return null}}_createHandle(){return this.gl.createFramebuffer()}_deleteHandle(){this.gl.deleteFramebuffer(this.handle)}_bindHandle(e){return this.gl.bindFramebuffer(36160,e)}}f.ATTACHMENT_PARAMETERS=[36049,36048,33296,33298,33299,33300,33301,33302,33303]},32073:(e,t,n)=>{"use strict";n.d(t,{Z:()=>U});var r=n(1112),i=n(46773),o=n(64282),a=n(76195),s=n(26277),l=n(59661);const c={5126:x.bind(null,"uniform1fv",g,1,E),35664:x.bind(null,"uniform2fv",g,2,E),35665:x.bind(null,"uniform3fv",g,3,E),35666:x.bind(null,"uniform4fv",g,4,E),5124:x.bind(null,"uniform1iv",m,1,E),35667:x.bind(null,"uniform2iv",m,2,E),35668:x.bind(null,"uniform3iv",m,3,E),35669:x.bind(null,"uniform4iv",m,4,E),35670:x.bind(null,"uniform1iv",m,1,E),35671:x.bind(null,"uniform2iv",m,2,E),35672:x.bind(null,"uniform3iv",m,3,E),35673:x.bind(null,"uniform4iv",m,4,E),35674:x.bind(null,"uniformMatrix2fv",g,4,S),35675:x.bind(null,"uniformMatrix3fv",g,9,S),35676:x.bind(null,"uniformMatrix4fv",g,16,S),35678:w,35680:w,5125:x.bind(null,"uniform1uiv",A,1,E),36294:x.bind(null,"uniform2uiv",A,2,E),36295:x.bind(null,"uniform3uiv",A,3,E),36296:x.bind(null,"uniform4uiv",A,4,E),35685:x.bind(null,"uniformMatrix2x3fv",g,6,S),35686:x.bind(null,"uniformMatrix2x4fv",g,8,S),35687:x.bind(null,"uniformMatrix3x2fv",g,6,S),35688:x.bind(null,"uniformMatrix3x4fv",g,12,S),35689:x.bind(null,"uniformMatrix4x2fv",g,8,S),35690:x.bind(null,"uniformMatrix4x3fv",g,12,S),35678:w,35680:w,35679:w,35682:w,36289:w,36292:w,36293:w,36298:w,36299:w,36300:w,36303:w,36306:w,36307:w,36308:w,36311:w},u={},d={},h={},f=[0];function p(e,t,n,r){1===t&&"boolean"===typeof e&&(e=e?1:0),Number.isFinite(e)&&(f[0]=e,e=f);const i=e.length;if(i%t&&a.cM.warn("Uniform size should be multiples of ".concat(t),e)(),e instanceof n)return e;let o=r[i];o||(o=new n(i),r[i]=o);for(let a=0;a{const i=e!==r;return i&&(t.uniform1i(n,r),e=r),i}}function x(e,t,n,r){let i=null,o=null;return(a,s,c)=>{const u=t(c,n),d=u.length;let h=!1;if(null===i)i=new Float32Array(d),o=d,h=!0;else{(0,l.h)(o===d,"Uniform length cannot change.");for(let e=0;e1&&void 0!==arguments[1]?arguments[1]:"unnamed";const n=e.match(/#define[\s*]SHADER_NAME[\s*]([A-Za-z0-9_-]+)[\s*]/);return n?n[1]:t}const P=35632,T=35633;function M(e,t,n,r){const i=e.split(/\r?\n/),o={},a={},s=r||C(t)||"(unnamed)",l="".concat(function(e){switch(e){case P:return"fragment";case T:return"vertex";default:return"unknown type"}}(n)," shader ").concat(s);for(let u=0;u1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:": ";const r=e.split(/\r?\n/),i=String(r.length+t-1).length;return r.map(((e,r)=>{const o=String(r+t),a=o.length;return R(o,i-a)+n+e}))}(t);return{shaderName:l,errors:k(o,c),warnings:k(a,c)}}function k(e,t){let n="";for(let r=0;r0&&void 0!==arguments[0]?arguments[0]:this.source;e.startsWith("#version ")||(e="#version 100\n".concat(e)),this.source=e,this.gl.shaderSource(this.handle,this.source),this.gl.compileShader(this.handle);if(!this.getParameter(35713)){const e=this.gl.getShaderInfoLog(this.handle),{shaderName:t,errors:n,warnings:r}=M(e,this.source,this.shaderType,this.id);throw a.cM.error("GLSL compilation errors in ".concat(t,"\n").concat(n))(),a.cM.warn("GLSL compilation warnings in ".concat(t,"\n").concat(r))(),new Error("GLSL compilation errors in ".concat(t))}}_deleteHandle(){this.gl.deleteShader(this.handle)}_getOptsFromHandle(){return{type:this.getParameter(35663),source:this.getSource()}}}class L extends I{get[Symbol.toStringTag](){return"VertexShader"}constructor(e,t){"string"===typeof t&&(t={source:t}),super(e,Object.assign({},t,{shaderType:35633}))}_createHandle(){return this.gl.createShader(35633)}}class D extends I{get[Symbol.toStringTag](){return"FragmentShader"}constructor(e,t){"string"===typeof t&&(t={source:t}),super(e,Object.assign({},t,{shaderType:35632}))}_createHandle(){return this.gl.createShader(35632)}}var N=n(71254),F=n(2187);class j{constructor(e){this.id=e.id,this.attributeInfos=[],this.attributeInfosByName={},this.attributeInfosByLocation=[],this.varyingInfos=[],this.varyingInfosByName={},Object.seal(this),this._readAttributesFromProgram(e),this._readVaryingsFromProgram(e)}getAttributeInfo(e){const t=Number(e);return Number.isFinite(t)?this.attributeInfosByLocation[t]:this.attributeInfosByName[e]||null}getAttributeLocation(e){const t=this.getAttributeInfo(e);return t?t.location:-1}getAttributeAccessor(e){const t=this.getAttributeInfo(e);return t?t.accessor:null}getVaryingInfo(e){const t=Number(e);return Number.isFinite(t)?this.varyingInfos[t]:this.varyingInfosByName[e]||null}getVaryingIndex(e){const t=this.getVaryingInfo();return t?t.location:-1}getVaryingAccessor(e){const t=this.getVaryingInfo();return t?t.accessor:null}_readAttributesFromProgram(e){const{gl:t}=e,n=t.getProgramParameter(e.handle,35721);for(let r=0;r=0&&this._addAttribute(a,n,i,o)}this.attributeInfos.sort(((e,t)=>e.location-t.location))}_readVaryingsFromProgram(e){const{gl:t}=e;if(!(0,a.D0)(t))return;const n=t.getProgramParameter(e.handle,35971);for(let r=0;re.location-t.location))}_addAttribute(e,t,n,r){const{type:i,components:o}=(0,F.hJ)(n),a={type:i,size:r*o};this._inferProperties(e,t,a);const s={location:e,name:t,accessor:new N.Z(a)};this.attributeInfos.push(s),this.attributeInfosByLocation[e]=s,this.attributeInfosByName[s.name]=s}_inferProperties(e,t,n){/instance/i.test(t)&&(n.divisor=1)}_addVarying(e,t,n,r){const{type:i,components:o}=(0,F.hJ)(n),a={location:e,name:t,accessor:new N.Z({type:i,size:r*o})};this.varyingInfos.push(a),this.varyingInfosByName[a.name]=a}}var B=n(55562);const z=35981,Z=["setVertexArray","setAttributes","setBuffers","unsetBuffers","use","getUniformCount","getUniformInfo","getUniformLocation","getUniformValue","getVarying","getFragDataLocation","getAttachedShaders","getAttributeCount","getAttributeLocation","getAttributeInfo"];class U extends r.Z{get[Symbol.toStringTag](){return"Program"}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(e,t),this.stubRemovedMethods("Program","v6.0",Z),this._isCached=!1,this.initialize(t),Object.seal(this),this._setId(t.id)}initialize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{hash:t,vs:n,fs:r,varyings:i,bufferMode:o=z}=e;return this.hash=t||"",this.vs="string"===typeof n?new L(this.gl,{id:"".concat(e.id,"-vs"),source:n}):n,this.fs="string"===typeof r?new D(this.gl,{id:"".concat(e.id,"-fs"),source:r}):r,(0,l.h)(this.vs instanceof L),(0,l.h)(this.fs instanceof D),this.uniforms={},this._textureUniforms={},i&&i.length>0&&((0,a.KQ)(this.gl),this.varyings=i,this.gl2.transformFeedbackVaryings(this.handle,i,o)),this._compileAndLink(),this._readUniformLocationsFromLinkedProgram(),this.configuration=new j(this),this.setProps(e)}delete(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._isCached?this:super.delete(e)}setProps(e){return"uniforms"in e&&this.setUniforms(e.uniforms),this}draw(e){let{logPriority:t,drawMode:n=4,vertexCount:r,offset:i=0,start:o,end:s,isIndexed:c=!1,indexType:u=5123,instanceCount:d=0,isInstanced:h=d>0,vertexArray:f=null,transformFeedback:p,framebuffer:g,parameters:m={},uniforms:A,samplers:v}=e;if((A||v)&&(a.cM.deprecated("Program.draw({uniforms})","Program.setUniforms(uniforms)")(),this.setUniforms(A||{})),a.cM.priority>=t){const e=g?g.id:"default",i="mode=".concat((0,B.km)(this.gl,n)," verts=").concat(r," ")+"instances=".concat(d," indexType=").concat((0,B.km)(this.gl,u)," ")+"isInstanced=".concat(h," isIndexed=").concat(c," ")+"Framebuffer=".concat(e);a.cM.log(t,i)()}return(0,l.h)(f),this.gl.useProgram(this.handle),!(!this._areTexturesRenderable()||0===r||h&&0===d)&&(f.bindForDraw(r,d,(()=>{if(void 0!==g&&(m=Object.assign({},m,{framebuffer:g})),p){const e=(0,F.$Z)(n);p.begin(e)}this._bindTextures(),(0,a.s8)(this.gl,m,(()=>{c&&h?this.gl2.drawElementsInstanced(n,r,u,i,d):c&&(0,a.D0)(this.gl)&&!isNaN(o)&&!isNaN(s)?this.gl2.drawRangeElements(n,o,s,r,u,i):c?this.gl.drawElements(n,r,u,i):h?this.gl2.drawArraysInstanced(n,i,r,d):this.gl.drawArrays(n,i,r)})),p&&p.end()})),!0)}setUniforms(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a.cM.priority>=2&&function(e,t,n){for(const r in e){const i=e[r];if((!n||Boolean(n[r]))&&!b(i))throw t=t?"".concat(t," "):"",console.error("".concat(t," Bad uniform ").concat(r),i),new Error("".concat(t," Bad uniform ").concat(r))}}(e,this.id,this._uniformSetters),this.gl.useProgram(this.handle);for(const t in e){const n=e[t],r=this._uniformSetters[t];if(r){let e=n,a=!1;if(e instanceof o.Z&&(e=e.texture),e instanceof i.Z)if(a=this.uniforms[t]!==n,a){void 0===r.textureIndex&&(r.textureIndex=this._textureIndexCounter++);const n=e,{textureIndex:i}=r;n.bind(i),e=i,this._textureUniforms[t]=n}else e=r.textureIndex;else this._textureUniforms[t]&&delete this._textureUniforms[t];(r(e)||a)&&_(this.uniforms,t,n)}}return this}_areTexturesRenderable(){let e=!0;for(const t in this._textureUniforms){const n=this._textureUniforms[t];n.update(),e=e&&n.loaded}return e}_bindTextures(){for(const e in this._textureUniforms){const t=this._uniformSetters[e].textureIndex;this._textureUniforms[e].bind(t)}}_createHandle(){return this.gl.createProgram()}_deleteHandle(){this.gl.deleteProgram(this.handle)}_getOptionsFromHandle(e){const t=this.gl.getAttachedShaders(e),n={};for(const r of t){switch(this.gl.getShaderParameter(this.handle,35663)){case 35633:n.vs=new L({handle:r});break;case 35632:n.fs=new D({handle:r})}}return n}_getParameter(e){return this.gl.getProgramParameter(this.handle,e)}_setId(e){if(!e){const e=this._getName();this.id=(0,O.hQ)(e)}}_getName(){let e=this.vs.getName()||this.fs.getName();return e=e.replace(/shader/i,""),e=e?"".concat(e,"-program"):"program",e}_compileAndLink(){const{gl:e}=this;if(e.attachShader(this.handle,this.vs.handle),e.attachShader(this.handle,this.fs.handle),a.cM.time(4,"linkProgram for ".concat(this._getName()))(),e.linkProgram(this.handle),a.cM.timeEnd(4,"linkProgram for ".concat(this._getName()))(),e.debug||a.cM.level>0){if(!e.getProgramParameter(this.handle,35714))throw new Error("Error linking: ".concat(e.getProgramInfoLog(this.handle)));e.validateProgram(this.handle);if(!e.getProgramParameter(this.handle,35715))throw new Error("Error validating: ".concat(e.getProgramInfoLog(this.handle)))}}_readUniformLocationsFromLinkedProgram(){const{gl:e}=this;this._uniformSetters={},this._uniformCount=this._getParameter(35718);for(let t=0;t1)for(let t=0;t{"use strict";n.d(t,{Z:()=>l});var r=n(1112);const i="EXT_color_buffer_float",o={33189:{bpp:2},33190:{gl2:!0,bpp:3},36012:{gl2:!0,bpp:4},36168:{bpp:1},34041:{bpp:4},35056:{gl2:!0,bpp:4},36013:{gl2:!0,bpp:5},32854:{bpp:2},36194:{bpp:2},32855:{bpp:2},33321:{gl2:!0,bpp:1},33330:{gl2:!0,bpp:1},33329:{gl2:!0,bpp:1},33332:{gl2:!0,bpp:2},33331:{gl2:!0,bpp:2},33334:{gl2:!0,bpp:4},33333:{gl2:!0,bpp:4},33323:{gl2:!0,bpp:2},33336:{gl2:!0,bpp:2},33335:{gl2:!0,bpp:2},33338:{gl2:!0,bpp:4},33337:{gl2:!0,bpp:4},33340:{gl2:!0,bpp:8},33339:{gl2:!0,bpp:8},32849:{gl2:!0,bpp:3},32856:{gl2:!0,bpp:4},32857:{gl2:!0,bpp:4},36220:{gl2:!0,bpp:4},36238:{gl2:!0,bpp:4},36975:{gl2:!0,bpp:4},36214:{gl2:!0,bpp:8},36232:{gl2:!0,bpp:8},36226:{gl2:!0,bpp:16},36208:{gl2:!0,bpp:16},33325:{gl2:i,bpp:2},33327:{gl2:i,bpp:4},34842:{gl2:i,bpp:8},33326:{gl2:i,bpp:4},33328:{gl2:i,bpp:8},34836:{gl2:i,bpp:16},35898:{gl2:i,bpp:4}};var a=n(76195),s=n(59661);class l extends r.Z{get[Symbol.toStringTag](){return"Renderbuffer"}static isSupported(e){let{format:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{format:null};return!t||function(e,t,n){const r=n[t];if(!r)return!1;const i=(0,a.D0)(e)&&r.gl2||r.gl1;return"string"===typeof i?e.getExtension(i):i}(e,t,o)}static getSamplesForFormat(e,t){let{format:n}=t;return e.getInternalformatParameter(36161,n,32937)}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(e,t),this.initialize(t),Object.seal(this)}initialize(e){let{format:t,width:n=1,height:r=1,samples:i=0}=e;return(0,s.h)(t,"Needs format"),this._trackDeallocatedMemory(),this.gl.bindRenderbuffer(36161,this.handle),0!==i&&(0,a.D0)(this.gl)?this.gl.renderbufferStorageMultisample(36161,i,t,n,r):this.gl.renderbufferStorage(36161,t,n,r),this.format=t,this.width=n,this.height=r,this.samples=i,this._trackAllocatedMemory(this.width*this.height*(this.samples||1)*o[this.format].bpp),this}resize(e){let{width:t,height:n}=e;return t!==this.width||n!==this.height?this.initialize({width:t,height:n,format:this.format,samples:this.samples}):this}_createHandle(){return this.gl.createRenderbuffer()}_deleteHandle(){this.gl.deleteRenderbuffer(this.handle),this._trackDeallocatedMemory()}_bindHandle(e){this.gl.bindRenderbuffer(36161,e)}_syncHandle(e){this.format=this.getParameter(36164),this.width=this.getParameter(36162),this.height=this.getParameter(36163),this.samples=this.getParameter(36011)}_getParameter(e){this.gl.bindRenderbuffer(36161,this.handle);return this.gl.getRenderbufferParameter(36161,e)}}},1112:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(76195),i=n(53886),o=n(55562),a=n(59661),s=n(39042),l=n(43331);const c="Resource subclass must define virtual methods";class u{get[Symbol.toStringTag](){return"Resource"}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,r.JD)(e);const{id:n,userData:i={}}=t;this.gl=e,this.gl2=e,this.id=n||(0,s.hQ)(this[Symbol.toStringTag]),this.userData=i,this._bound=!1,this._handle=t.handle,void 0===this._handle&&(this._handle=this._createHandle()),this.byteLength=0,this._addStats()}toString(){return"".concat(this[Symbol.toStringTag]||this.constructor.name,"(").concat(this.id,")")}get handle(){return this._handle}delete(){let{deleteChildren:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=this._handle&&this._deleteHandle(this._handle);return this._handle&&this._removeStats(),this._handle=null,t&&e&&t.filter(Boolean).forEach((e=>e.delete())),this}bind(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.handle;return"function"!==typeof t?(this._bindHandle(t),this):(this._bound?e=t():(this._bindHandle(this.handle),this._bound=!0,e=t(),this._bound=!1,this._bindHandle(null)),e)}unbind(){this.bind(null)}getParameter(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=(0,o.sF)(this.gl,e),(0,a.h)(e);const n=(this.constructor.PARAMETERS||{})[e];if(n){const e=(0,r.D0)(this.gl);if(!((!("webgl2"in n)||e)&&(!("extension"in n)||this.gl.getExtension(n.extension)))){const t=n.webgl1,r="webgl2"in n?n.webgl2:n.webgl1;return e?r:t}}return this._getParameter(e,t)}getParameters(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{parameters:t,keys:n}=e,i=this.constructor.PARAMETERS||{},a=(0,r.D0)(this.gl),s={},l=t||Object.keys(i);for(const r of l){const t=i[r];if(t&&(!("webgl2"in t)||a)&&(!("extension"in t)||this.gl.getExtension(t.extension))){const i=n?(0,o.km)(this.gl,r):r;s[i]=this.getParameter(r,e),n&&"GLenum"===t.type&&(s[i]=(0,o.km)(this.gl,s[i]))}}return s}setParameter(e,t){e=(0,o.sF)(this.gl,e),(0,a.h)(e);const n=(this.constructor.PARAMETERS||{})[e];if(n){const e=(0,r.D0)(this.gl);if(!((!("webgl2"in n)||e)&&(!("extension"in n)||this.gl.getExtension(n.extension))))throw new Error("Parameter not available on this platform");"GLenum"===n.type&&(t=(0,o.sF)(t))}return this._setParameter(e,t),this}setParameters(e){for(const t in e)this.setParameter(t,e[t]);return this}stubRemovedMethods(e,t,n){return(0,l.F)(this,e,t,n)}initialize(e){}_createHandle(){throw new Error(c)}_deleteHandle(){throw new Error(c)}_bindHandle(e){throw new Error(c)}_getOptsFromHandle(){throw new Error(c)}_getParameter(e,t){throw new Error(c)}_setParameter(e,t){throw new Error(c)}_context(){return this.gl.luma=this.gl.luma||{},this.gl.luma}_addStats(){const e=this[Symbol.toStringTag],t=i.lR.get("Resource Counts");t.get("Resources Created").incrementCount(),t.get("".concat(e,"s Created")).incrementCount(),t.get("".concat(e,"s Active")).incrementCount()}_removeStats(){const e=this[Symbol.toStringTag];i.lR.get("Resource Counts").get("".concat(e,"s Active")).decrementCount()}_trackAllocatedMemory(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this[Symbol.toStringTag];this._trackAllocatedMemoryForContext(e,t),this._trackAllocatedMemoryForContext(e,t,this.gl.canvas&&this.gl.canvas.id),this.byteLength=e}_trackAllocatedMemoryForContext(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this[Symbol.toStringTag],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const r=i.lR.get("Memory Usage".concat(n));r.get("GPU Memory").addCount(e),r.get("".concat(t," Memory")).addCount(e)}_trackDeallocatedMemory(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this[Symbol.toStringTag];this._trackDeallocatedMemoryForContext(e),this._trackDeallocatedMemoryForContext(e,this.gl.canvas&&this.gl.canvas.id),this.byteLength=0}_trackDeallocatedMemoryForContext(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this[Symbol.toStringTag],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=i.lR.get("Memory Usage".concat(t));n.get("GPU Memory").subtractCount(this.byteLength),n.get("".concat(e," Memory")).subtractCount(this.byteLength)}}},81786:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(76195),i=n(46773),o=n(59661);let a="";class s extends i.Z{get[Symbol.toStringTag](){return"Texture2D"}static isSupported(e,t){return i.Z.isSupported(e,t)}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var n,i;(0,r.JD)(e),(t instanceof Promise||"string"===typeof t)&&(t={data:t}),"string"===typeof t.data&&(t=Object.assign({},t,{data:(n=t.data,(0,o.h)("string"===typeof n),n=a+n,new Promise(((e,t)=>{try{const r=new Image;r.onload=()=>e(r),r.onerror=()=>t(new Error("Could not load image ".concat(n,"."))),r.crossOrigin=i&&i.crossOrigin||"anonymous",r.src=n}catch(r){t(r)}})))})),super(e,Object.assign({},t,{target:3553})),this.initialize(t),Object.seal(this)}}},50844:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,KR:()=>l,ae:()=>i,br:()=>s,pH:()=>a});var r=n(76195);const i={6407:{dataFormat:6407,types:[5121,33635]},6408:{dataFormat:6408,types:[5121,32819,32820]},6406:{dataFormat:6406,types:[5121]},6409:{dataFormat:6409,types:[5121]},6410:{dataFormat:6410,types:[5121]},33326:{dataFormat:6403,types:[5126],gl2:!0},33328:{dataFormat:33319,types:[5126],gl2:!0},34837:{dataFormat:6407,types:[5126],gl2:!0},34836:{dataFormat:6408,types:[5126],gl2:!0}},o={6403:1,36244:1,33319:2,33320:2,6407:3,36248:3,6408:4,36249:4,6402:1,34041:1,6406:1,6409:1,6410:2},a={5126:4,5125:4,5124:4,5123:2,5122:2,5131:2,5120:1,5121:1};function s(e,t){const n=i[t];if(!n)return!1;if(void 0===n.gl1&&void 0===n.gl2)return!0;const o=(0,r.D0)(e)&&n.gl2||n.gl1;return"string"===typeof o?e.getExtension(o):o}function l(e,t){const n=i[t];switch(n&&n.types[0]){case 5126:return e.getExtension("OES_texture_float_linear");case 5131:return e.getExtension("OES_texture_half_float_linear");default:return!0}}},46773:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(76195),i=n(1112),o=n(64180),a=n(50844),s=n(59661),l=n(39042);const c=[9729,9728],u=globalThis.WebGLBuffer||function(){};class d extends i.Z{get[Symbol.toStringTag](){return"Texture"}static isSupported(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{format:n,linearFiltering:r}=t;let i=!0;return n&&(i=i&&(0,a.br)(e,n),i=i&&(!r||(0,a.KR)(e,n))),i}constructor(e,t){const{id:n=(0,l.hQ)("texture"),handle:r,target:i}=t;super(e,{id:n,handle:r}),this.target=i,this.textureUnit=void 0,this.loaded=!1,this.width=void 0,this.height=void 0,this.depth=void 0,this.format=void 0,this.type=void 0,this.dataFormat=void 0,this.border=void 0,this.textureUnit=void 0,this.mipmaps=void 0}toString(){return"Texture(".concat(this.id,",").concat(this.width,"x").concat(this.height,")")}initialize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.data;if(t instanceof Promise)return t.then((t=>this.initialize(Object.assign({},e,{pixels:t,data:t})))),this;const n="undefined"!==typeof HTMLVideoElement&&t instanceof HTMLVideoElement;if(n&&t.readyStatethis.initialize(e))),this;const{pixels:i=null,format:o=6408,border:a=0,recreate:s=!1,parameters:l={},pixelStore:c={},textureUnit:u}=e;t||(t=i);let{width:d,height:h,dataFormat:f,type:p,compressed:g=!1,mipmaps:m=!0}=e;const{depth:A=0}=e;return({width:d,height:h,compressed:g,dataFormat:f,type:p}=this._deduceParameters({format:o,type:p,dataFormat:f,compressed:g,data:t,width:d,height:h})),this.width=d,this.height=h,this.depth=A,this.format=o,this.type=p,this.dataFormat=f,this.border=a,this.textureUnit=u,Number.isFinite(this.textureUnit)&&(this.gl.activeTexture(33984+this.textureUnit),this.gl.bindTexture(this.target,this.handle)),m&&this._isNPOT()&&(r.cM.warn("texture: ".concat(this," is Non-Power-Of-Two, disabling mipmaping"))(),m=!1,this._updateForNPOT(l)),this.mipmaps=m,this.setImageData({data:t,width:d,height:h,depth:A,format:o,type:p,dataFormat:f,border:a,mipmaps:m,parameters:c,compressed:g}),m&&this.generateMipmap(),this.setParameters(l),s&&(this.data=t),n&&(this._video={video:t,parameters:l,lastTime:t.readyState>=HTMLVideoElement.HAVE_CURRENT_DATA?t.currentTime:-1}),this}update(){if(this._video){const{video:e,parameters:t,lastTime:n}=this._video;if(n===e.currentTime||e.readyState0&&void 0!==arguments[0]?arguments[0]:{};return this._isNPOT()?(r.cM.warn("texture: ".concat(this," is Non-Power-Of-Two, disabling mipmaping"))(),this):(this.mipmaps=!0,this.gl.bindTexture(this.target,this.handle),(0,r.s8)(this.gl,e,(()=>{this.gl.generateMipmap(this.target)})),this.gl.bindTexture(this.target,null),this)}setImageData(e){this._trackDeallocatedMemory("Texture");const{target:t=this.target,pixels:n=null,level:i=0,format:o=this.format,border:l=this.border,offset:c=0,parameters:u={}}=e;let{data:d=null,type:h=this.type,width:f=this.width,height:p=this.height,dataFormat:g=this.dataFormat,compressed:m=!1}=e;d||(d=n),({type:h,dataFormat:g,compressed:m,width:f,height:p}=this._deduceParameters({format:o,type:h,dataFormat:g,compressed:m,data:d,width:f,height:p}));const{gl:A}=this;A.bindTexture(this.target,this.handle);let v,y=null;({data:d,dataType:y}=this._getDataType({data:d,compressed:m}));let b=0;if((0,r.s8)(this.gl,u,(()=>{switch(y){case"null":A.texImage2D(t,i,o,f,p,l,g,h,d);break;case"typed-array":A.texImage2D(t,i,o,f,p,l,g,h,d,c);break;case"buffer":v=(0,r.KQ)(A),v.bindBuffer(35052,d.handle||d),v.texImage2D(t,i,o,f,p,l,g,h,c),v.bindBuffer(35052,null);break;case"browser-object":(0,r.D0)(A)?A.texImage2D(t,i,o,f,p,l,g,h,d):A.texImage2D(t,i,o,g,h,d);break;case"compressed":for(const[e,n]of d.entries())A.compressedTexImage2D(t,e,n.format,n.width,n.height,l,n.data),b+=n.levelSize;break;default:(0,s.h)(!1,"Unknown image data type")}})),"compressed"===y)this._trackAllocatedMemory(b,"Texture");else if(d&&d.byteLength)this._trackAllocatedMemory(d.byteLength,"Texture");else{const e=a.C[this.dataFormat]||4,t=a.pH[this.type]||1;this._trackAllocatedMemory(this.width*this.height*e*t,"Texture")}return this.loaded=!0,this}setSubImageData(e){let{target:t=this.target,pixels:n=null,data:i=null,x:a=0,y:l=0,width:c=this.width,height:d=this.height,level:h=0,format:f=this.format,type:p=this.type,dataFormat:g=this.dataFormat,compressed:m=!1,offset:A=0,border:v=this.border,parameters:y={}}=e;if(({type:p,dataFormat:g,compressed:m,width:c,height:d}=this._deduceParameters({format:f,type:p,dataFormat:g,compressed:m,data:i,width:c,height:d})),(0,s.h)(0===this.depth,"texSubImage not supported for 3D textures"),i||(i=n),i&&i.data){const e=i;i=e.data,c=e.shape[0],d=e.shape[1]}i instanceof o.Z&&(i=i.handle),this.gl.bindTexture(this.target,this.handle),(0,r.s8)(this.gl,y,(()=>{if(m)this.gl.compressedTexSubImage2D(t,h,a,l,c,d,f,i);else if(null===i)this.gl.texSubImage2D(t,h,a,l,c,d,g,p,null);else if(ArrayBuffer.isView(i))this.gl.texSubImage2D(t,h,a,l,c,d,g,p,i,A);else if(i instanceof u){const e=(0,r.KQ)(this.gl);e.bindBuffer(35052,i),e.texSubImage2D(t,h,a,l,c,d,g,p,A),e.bindBuffer(35052,null)}else if((0,r.D0)(this.gl)){(0,r.KQ)(this.gl).texSubImage2D(t,h,a,l,c,d,g,p,i)}else this.gl.texSubImage2D(t,h,a,l,g,p,i)})),this.gl.bindTexture(this.target,null)}copyFramebuffer(){return r.cM.error("Texture.copyFramebuffer({...}) is no logner supported, use copyToTexture(source, target, opts})")(),null}getActiveUnit(){return this.gl.getParameter(34016)-33984}bind(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.textureUnit;const{gl:t}=this;return void 0!==e&&(this.textureUnit=e,t.activeTexture(33984+e)),t.bindTexture(this.target,this.handle),e}unbind(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.textureUnit;const{gl:t}=this;return void 0!==e&&(this.textureUnit=e,t.activeTexture(33984+e)),t.bindTexture(this.target,null),e}_getDataType(e){let{data:t,compressed:n=!1}=e;return n?{data:t,dataType:"compressed"}:null===t?{data:t,dataType:"null"}:ArrayBuffer.isView(t)?{data:t,dataType:"typed-array"}:t instanceof o.Z?{data:t.handle,dataType:"buffer"}:t instanceof u?{data:t,dataType:"buffer"}:{data:t,dataType:"browser-object"}}_deduceParameters(e){const{format:t,data:n}=e;let{width:r,height:i,dataFormat:o,type:s,compressed:l}=e;const c=a.ae[t];return o=o||c&&c.dataFormat,s=s||c&&c.types[0],l=l||c&&c.compressed,({width:r,height:i}=this._deduceImageSize(n,r,i)),{dataFormat:o,type:s,compressed:l,width:r,height:i,format:t,data:n}}_deduceImageSize(e,t,n){let r;return r="undefined"!==typeof ImageData&&e instanceof ImageData?{width:e.width,height:e.height}:"undefined"!==typeof HTMLImageElement&&e instanceof HTMLImageElement?{width:e.naturalWidth,height:e.naturalHeight}:"undefined"!==typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"undefined"!==typeof ImageBitmap&&e instanceof ImageBitmap?{width:e.width,height:e.height}:"undefined"!==typeof HTMLVideoElement&&e instanceof HTMLVideoElement?{width:e.videoWidth,height:e.videoHeight}:e?{width:t,height:n}:{width:t>=0?t:1,height:n>=0?n:1},(0,s.h)(r,"Could not deduced texture size"),(0,s.h)(void 0===t||r.width===t,"Deduced texture width does not match supplied width"),(0,s.h)(void 0===n||r.height===n,"Deduced texture height does not match supplied height"),r}_createHandle(){return this.gl.createTexture()}_deleteHandle(){this.gl.deleteTexture(this.handle),this._trackDeallocatedMemory("Texture")}_getParameter(e){switch(e){case 4096:return this.width;case 4097:return this.height;default:this.gl.bindTexture(this.target,this.handle);const t=this.gl.getTexParameter(this.target,e);return this.gl.bindTexture(this.target,null),t}}_setParameter(e,t){switch(this.gl.bindTexture(this.target,this.handle),t=this._getNPOTParam(e,t),e){case 33082:case 33083:this.gl.texParameterf(this.handle,e,t);break;case 4096:case 4097:(0,s.h)(!1);break;default:this.gl.texParameteri(this.target,e,t)}return this.gl.bindTexture(this.target,null),this}_isNPOT(){return!(0,r.D0)(this.gl)&&(!(!this.width||!this.height)&&(!(0,l.wt)(this.width)||!(0,l.wt)(this.height)))}_updateForNPOT(e){void 0===e[this.gl.TEXTURE_MIN_FILTER]&&(e[this.gl.TEXTURE_MIN_FILTER]=this.gl.LINEAR),void 0===e[this.gl.TEXTURE_WRAP_S]&&(e[this.gl.TEXTURE_WRAP_S]=this.gl.CLAMP_TO_EDGE),void 0===e[this.gl.TEXTURE_WRAP_T]&&(e[this.gl.TEXTURE_WRAP_T]=this.gl.CLAMP_TO_EDGE)}_getNPOTParam(e,t){if(this._isNPOT())switch(e){case 10241:-1===c.indexOf(t)&&(t=9729);break;case 10242:case 10243:33071!==t&&(t=33071)}return t}}},73011:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(76195),i=n(1112),o=n(64180),a=n(39042);class s extends i.Z{get[Symbol.toStringTag](){return"TransformFeedback"}static isSupported(e){return(0,r.D0)(e)}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,r.KQ)(e),super(e,t),this.initialize(t),this.stubRemovedMethods("TransformFeedback","v6.0",["pause","resume"]),Object.seal(this)}initialize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.buffers={},this.unused={},this.configuration=null,this.bindOnUse=!0,(0,a.nK)(this.buffers)||this.bind((()=>this._unbindBuffers())),this.setProps(e),this}setProps(e){"program"in e&&(this.configuration=e.program&&e.program.configuration),"configuration"in e&&(this.configuration=e.configuration),"bindOnUse"in e&&(e=e.bindOnUse),"buffers"in e&&this.setBuffers(e.buffers)}setBuffers(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.bind((()=>{for(const t in e)this.setBuffer(t,e[t])})),this}setBuffer(e,t){const n=this._getVaryingIndex(e),{buffer:i,byteSize:o,byteOffset:a}=this._getBufferParams(t);return n<0?(this.unused[e]=i,r.cM.warn("".concat(this.id," unused varying buffer ").concat(e))(),this):(this.buffers[n]=t,this.bindOnUse||this._bindBuffer(n,i,a,o),this)}begin(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.gl.bindTransformFeedback(36386,this.handle),this._bindBuffers(),this.gl.beginTransformFeedback(e),this}end(){return this.gl.endTransformFeedback(),this._unbindBuffers(),this.gl.bindTransformFeedback(36386,null),this}_getBufferParams(e){let t,n,r;return e instanceof o.Z===!1?(r=e.buffer,n=e.byteSize,t=e.byteOffset):r=e,void 0===t&&void 0===n||(t=t||0,n=n||r.byteLength-t),{buffer:r,byteOffset:t,byteSize:n}}_getVaryingInfo(e){return this.configuration&&this.configuration.getVaryingInfo(e)}_getVaryingIndex(e){if(this.configuration)return this.configuration.getVaryingInfo(e).location;const t=Number(e);return Number.isFinite(t)?t:-1}_bindBuffers(){if(this.bindOnUse)for(const e in this.buffers){const{buffer:t,byteSize:n,byteOffset:r}=this._getBufferParams(this.buffers[e]);this._bindBuffer(e,t,r,n)}}_unbindBuffers(){if(this.bindOnUse)for(const e in this.buffers)this._bindBuffer(e,null)}_bindBuffer(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3?arguments[3]:void 0;const i=t&&t.handle;return i&&void 0!==r?this.gl.bindBufferRange(35982,e,i,n,r):this.gl.bindBufferBase(35982,e,i),this}_createHandle(){return this.gl.createTransformFeedback()}_deleteHandle(){this.gl.deleteTransformFeedback(this.handle)}_bindHandle(e){this.gl.bindTransformFeedback(36386,this.handle)}}},6509:(e,t,n)=>{"use strict";n.d(t,{N$:()=>c,U6:()=>s,ag:()=>l});var r=n(87966),i=n(76195),o=n(59661);const a=2;function s(e,t){return l(e,t)}function l(e,t){return(t=Array.isArray(t)?t:[t]).every((t=>u(e,t)))}function c(e){e.luma=e.luma||{},e.luma.caps=e.luma.caps||{};for(const t in r.Z)void 0===e.luma.caps[t]&&(e.luma.caps[t]=u(e,t));return e.luma.caps}function u(e,t){return e.luma=e.luma||{},e.luma.caps=e.luma.caps||{},void 0===e.luma.caps[t]&&(e.luma.caps[t]=function(e,t){const n=r.Z[t];let a;(0,o.h)(n,t);const s=(0,i.D0)(e)&&n[1]||n[0];if("function"===typeof s)a=s(e);else if(Array.isArray(s)){a=!0;for(const t of s)a=a&&Boolean(e.getExtension(t))}else"string"===typeof s?a=Boolean(e.getExtension(s)):"boolean"===typeof s?a=s:(0,o.h)(!1);return a}(e,t)),e.luma.caps[t]||i.cM.log(a,"Feature: ".concat(t," not supported"))(),e.luma.caps[t]}},87966:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,h:()=>o});var r=n(64282),i=n(81786);const o={WEBGL2:"WEBGL2",VERTEX_ARRAY_OBJECT:"VERTEX_ARRAY_OBJECT",TIMER_QUERY:"TIMER_QUERY",INSTANCED_RENDERING:"INSTANCED_RENDERING",MULTIPLE_RENDER_TARGETS:"MULTIPLE_RENDER_TARGETS",ELEMENT_INDEX_UINT32:"ELEMENT_INDEX_UINT32",BLEND_EQUATION_MINMAX:"BLEND_EQUATION_MINMAX",FLOAT_BLEND:"FLOAT_BLEND",COLOR_ENCODING_SRGB:"COLOR_ENCODING_SRGB",TEXTURE_DEPTH:"TEXTURE_DEPTH",TEXTURE_FLOAT:"TEXTURE_FLOAT",TEXTURE_HALF_FLOAT:"TEXTURE_HALF_FLOAT",TEXTURE_FILTER_LINEAR_FLOAT:"TEXTURE_FILTER_LINEAR_FLOAT",TEXTURE_FILTER_LINEAR_HALF_FLOAT:"TEXTURE_FILTER_LINEAR_HALF_FLOAT",TEXTURE_FILTER_ANISOTROPIC:"TEXTURE_FILTER_ANISOTROPIC",COLOR_ATTACHMENT_RGBA32F:"COLOR_ATTACHMENT_RGBA32F",COLOR_ATTACHMENT_FLOAT:"COLOR_ATTACHMENT_FLOAT",COLOR_ATTACHMENT_HALF_FLOAT:"COLOR_ATTACHMENT_HALF_FLOAT",GLSL_FRAG_DATA:"GLSL_FRAG_DATA",GLSL_FRAG_DEPTH:"GLSL_FRAG_DEPTH",GLSL_DERIVATIVES:"GLSL_DERIVATIVES",GLSL_TEXTURE_LOD:"GLSL_TEXTURE_LOD"};const a={[o.WEBGL2]:[!1,!0],[o.VERTEX_ARRAY_OBJECT]:["OES_vertex_array_object",!0],[o.TIMER_QUERY]:["EXT_disjoint_timer_query","EXT_disjoint_timer_query_webgl2"],[o.INSTANCED_RENDERING]:["ANGLE_instanced_arrays",!0],[o.MULTIPLE_RENDER_TARGETS]:["WEBGL_draw_buffers",!0],[o.ELEMENT_INDEX_UINT32]:["OES_element_index_uint",!0],[o.BLEND_EQUATION_MINMAX]:["EXT_blend_minmax",!0],[o.FLOAT_BLEND]:["EXT_float_blend"],[o.COLOR_ENCODING_SRGB]:["EXT_sRGB",!0],[o.TEXTURE_DEPTH]:["WEBGL_depth_texture",!0],[o.TEXTURE_FLOAT]:["OES_texture_float",!0],[o.TEXTURE_HALF_FLOAT]:["OES_texture_half_float",!0],[o.TEXTURE_FILTER_LINEAR_FLOAT]:["OES_texture_float_linear"],[o.TEXTURE_FILTER_LINEAR_HALF_FLOAT]:["OES_texture_half_float_linear"],[o.TEXTURE_FILTER_ANISOTROPIC]:["EXT_texture_filter_anisotropic"],[o.COLOR_ATTACHMENT_RGBA32F]:[function(e){const t=new i.Z(e,{format:6408,type:5126,dataFormat:6408}),n=new r.Z(e,{id:"test-framebuffer",check:!1,attachments:{36064:t}}),o=n.getStatus();return t.delete(),n.delete(),36053===o},"EXT_color_buffer_float"],[o.COLOR_ATTACHMENT_FLOAT]:[!1,"EXT_color_buffer_float"],[o.COLOR_ATTACHMENT_HALF_FLOAT]:["EXT_color_buffer_half_float"],[o.GLSL_FRAG_DATA]:["WEBGL_draw_buffers",!0],[o.GLSL_FRAG_DEPTH]:["EXT_frag_depth",!0],[o.GLSL_DERIVATIVES]:["OES_standard_derivatives",!0],[o.GLSL_TEXTURE_LOD]:["EXT_shader_texture_lod",!0]}},53886:(e,t,n)=>{"use strict";n.d(t,{lR:()=>s});var r=n(76195),i=n(89069),o=n(89258);const a="8.5.19";const s=new class{constructor(){this.stats=new Map}get(e){return this.stats.has(e)||this.stats.set(e,new i.Z({id:e})),this.stats.get(e)}};if(globalThis.luma&&globalThis.luma.VERSION!==a)throw new Error("luma.gl - multiple VERSIONs detected: ".concat(globalThis.luma.VERSION," vs ").concat(a));globalThis.luma||((0,o.Z)()&&r.cM.log(1,"luma.gl ".concat(a," - ").concat("set luma.log.level=1 (or higher) to trace rendering"))(),globalThis.luma=globalThis.luma||{VERSION:a,version:a,log:r.cM,stats:s,globals:{modules:{},nodeIO:{}}});globalThis.luma},59661:(e,t,n)=>{"use strict";function r(e,t){if(!e)throw new Error(t||"luma.gl: assertion failed.")}n.d(t,{h:()=>r})},13413:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});var r=n(76195);function i(e,t,n){const{removedProps:i={},deprecatedProps:o={},replacedProps:a={}}=n;for(const l in i)if(l in t){const t=i[l]?"".concat(e,".").concat(i[l]):"N/A";r.cM.removed("".concat(e,".").concat(l),t)()}for(const l in o)if(l in t){const t=o[l];r.cM.deprecated("".concat(e,".").concat(l),"".concat(e,".").concat(t))()}let s=null;for(const l in a)if(l in t){const n=a[l];r.cM.deprecated("".concat(e,".").concat(l),"".concat(e,".").concat(n))(),s=s||Object.assign({},t),s[n]=t[l],delete s[l]}return s||t}},43331:(e,t,n)=>{"use strict";n.d(t,{F:()=>i});var r=n(76195);function i(e,t,n,i){const o="See luma.gl ".concat(n," Upgrade Guide at https://luma.gl/docs/upgrade-guide"),a=Object.getPrototypeOf(e);i.forEach((e=>{a.methodName||(a[e]=()=>{throw r.cM.removed("Calling removed method ".concat(t,".").concat(e,": "),o)(),new Error(e)})}))}},39042:(e,t,n)=>{"use strict";n.d(t,{hQ:()=>o,nK:()=>s,wt:()=>a});var r=n(59661);const i={};function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"id";i[e]=i[e]||1;const t=i[e]++;return"".concat(e,"-").concat(t)}function a(e){return(0,r.h)("number"===typeof e,"Input must be a number"),e&&0===(e&e-1)}function s(e){let t=!0;for(const n in e){t=!1;break}return t}},2187:(e,t,n)=>{"use strict";n.d(t,{$Z:()=>y,hJ:()=>b,jG:()=>_});var r=n(59661);const i=5120,o=5121,a=5122,s=5123,l=0,c=1,u=2,d=3,h=4,f=5,p=6,g=5126,m=5124,A=5125,v={[g]:[g,1,"float"],35664:[g,2,"vec2"],35665:[g,3,"vec3"],35666:[g,4,"vec4"],[m]:[m,1,"int"],35667:[m,2,"ivec2"],35668:[m,3,"ivec3"],35669:[m,4,"ivec4"],[A]:[A,1,"uint"],36294:[A,2,"uvec2"],36295:[A,3,"uvec3"],36296:[A,4,"uvec4"],35670:[g,1,"bool"],35671:[g,2,"bvec2"],35672:[g,3,"bvec3"],35673:[g,4,"bvec4"],35674:[g,8,"mat2"],35685:[g,8,"mat2x3"],35686:[g,8,"mat2x4"],35675:[g,12,"mat3"],35687:[g,12,"mat3x2"],35688:[g,12,"mat3x4"],35676:[g,16,"mat4"],35689:[g,16,"mat4x2"],35690:[g,16,"mat4x3"]};function y(e){switch(e){case l:return l;case c:case d:case u:return c;case h:case f:case p:return h;default:return(0,r.h)(!1),0}}function b(e){const t=v[e];if(!t)return null;const[n,r]=t;return{type:n,components:r}}function _(e,t){switch(e){case i:case o:case a:case s:e=g}for(const n in v){const[r,i,o]=v[n];if(r===e&&i===t)return{glType:n,name:o}}return null}},55562:(e,t,n)=>{"use strict";n.d(t,{km:()=>o,sF:()=>i});var r=n(59661);function i(e,t){if("string"!==typeof t)return t;const n=Number(t);if(!isNaN(n))return n;const i=e[t=t.replace(/^.*\./,"")];return(0,r.h)(void 0!==i,"Accessing undefined constant GL.".concat(t)),i}function o(e,t){t=Number(t);for(const n in e)if(e[n]===t)return"GL.".concat(n);return String(t)}},15671:(e,t,n)=>{"use strict";n.d(t,{h:()=>f,Y:()=>p});var r=n(81786),i=n(76195),o=n(46773);const a=[34069,34070,34071,34072,34073,34074];class s extends o.Z{get[Symbol.toStringTag](){return"TextureCube"}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.JD)(e),super(e,Object.assign({},t,{target:34067})),this.initialize(t),Object.seal(this)}initialize(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{mipmaps:t=!0,parameters:n={}}=e;return this.opts=e,this.setCubeMapImageData(e).then((()=>{this.loaded=!0,t&&this.generateMipmap(e),this.setParameters(n)})),this}subImage(e){let{face:t,data:n,x:r=0,y:i=0,mipmapLevel:o=0}=e;return this._subImage({target:t,data:n,x:r,y:i,mipmapLevel:o})}async setCubeMapImageData(e){let{width:t,height:n,pixels:r,data:o,border:s=0,format:l=6408,type:c=5121}=e;const{gl:u}=this,d=r||o,h=await Promise.all(a.map((e=>{const t=d[e];return Promise.all(Array.isArray(t)?t:[t])})));this.bind(),a.forEach(((e,r)=>{h[r].length>1&&!1!==this.opts.mipmaps&&i.cM.warn("".concat(this.id," has mipmap and multiple LODs."))(),h[r].forEach(((r,i)=>{t&&n?u.texImage2D(e,i,l,t,n,s,l,c,r):u.texImage2D(e,i,l,l,c,r)}))})),this.unbind()}setImageDataForFace(e){const{face:t,width:n,height:r,pixels:i,data:o,border:a=0,format:s=6408,type:l=5121}=e,{gl:c}=this,u=i||o;return this.bind(),u instanceof Promise?u.then((n=>this.setImageDataForFace(Object.assign({},e,{face:t,data:n,pixels:n})))):this.width||this.height?c.texImage2D(t,0,s,n,r,a,s,l,u):c.texImage2D(t,0,s,s,l,u),this}}s.FACES=a;var l=n(50844),c=n(64180);class u extends o.Z{get[Symbol.toStringTag](){return"Texture3D"}static isSupported(e){return(0,i.D0)(e)}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.KQ)(e),t=Object.assign({depth:1},t,{target:32879,unpackFlipY:!1}),super(e,t),this.initialize(t),Object.seal(this)}setImageData(e){let{level:t=0,dataFormat:n=6408,width:r,height:o,depth:a=1,border:s=0,format:u,type:d=5121,offset:h=0,data:f,parameters:p={}}=e;if(this._trackDeallocatedMemory("Texture"),this.gl.bindTexture(this.target,this.handle),(0,i.s8)(this.gl,p,(()=>{ArrayBuffer.isView(f)&&this.gl.texImage3D(this.target,t,n,r,o,a,s,u,d,f),f instanceof c.Z&&(this.gl.bindBuffer(35052,f.handle),this.gl.texImage3D(this.target,t,n,r,o,a,s,u,d,h))})),f&&f.byteLength)this._trackAllocatedMemory(f.byteLength,"Texture");else{const e=l.C[this.dataFormat]||4,t=l.pH[this.type]||1;this._trackAllocatedMemory(this.width*this.height*this.depth*e*t,"Texture")}return this.loaded=!0,this}}var d=n(64282),h=n(59661);function f(e,t){(0,h.h)(e instanceof r.Z||e instanceof s||e instanceof u);const n=e.constructor,{gl:i,width:o,height:a,format:l,type:c,dataFormat:d,border:f,mipmaps:p}=e;return new n(i,Object.assign({width:o,height:a,format:l,type:c,dataFormat:d,border:f,mipmaps:p},t))}function p(e,t){const{gl:n,width:r,height:i,id:o}=e;return new d.Z(n,Object.assign({},t,{id:"framebuffer-for-".concat(o),width:r,height:i,attachments:{36064:e}}))}},78501:(e,t,n)=>{"use strict";n.d(t,{KS:()=>s,O:()=>i,c$:()=>a,vN:()=>o});const r="Failed to deduce GL constant from typed array";function i(e){switch(ArrayBuffer.isView(e)?e.constructor:e){case Float32Array:return 5126;case Uint16Array:return 5123;case Uint32Array:return 5125;case Uint8Array:case Uint8ClampedArray:return 5121;case Int8Array:return 5120;case Int16Array:return 5122;case Int32Array:return 5124;default:throw new Error(r)}}function o(e){let{clamped:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(e){case 5126:return Float32Array;case 5123:case 33635:case 32819:case 32820:return Uint16Array;case 5125:return Uint32Array;case 5121:return t?Uint8ClampedArray:Uint8Array;case 5120:return Int8Array;case 5122:return Int16Array;case 5124:return Int32Array;default:throw new Error("Failed to deduce typed array type from GL constant")}}function a(e){let{data:t,width:n,height:r,bytesPerPixel:i=4,temp:o}=e;const a=n*i;o=o||new Uint8Array(a);for(let s=0;s{function t(e){if(e=Object.assign({},e),!(this instanceof t))throw new Error("MapboxLanguage needs to be called with the new keyword");this.setLanguage=this.setLanguage.bind(this),this._initialStyleUpdate=this._initialStyleUpdate.bind(this),this._defaultLanguage=e.defaultLanguage,this._isLanguageField=e.languageField||/^name_/,this._getLanguageField=e.getLanguageField||function(e){return"mul"===e?"name":"name_".concat(e)},this._languageSource=e.languageSource||null,this._languageTransform=e.languageTransform,this._excludedLayerIds=e.excludedLayerIds||[],this.supportedLanguages=e.supportedLanguages||["ar","de","en","es","fr","it","ja","ko","mul","pt","ru","vi","zh-Hans","zh-Hant"]}const n=/^\{name/;function r(e,t){const r=Array.isArray(t)&&"get"===t[0];return r&&n.test(t[1])&&console.warn("This plugin no longer supports the use of token syntax (e.g. {name}). Please use a get expression. See https://docs.mapbox.com/mapbox-gl-js/style-spec/expressions/ for more details."),r&&e.test(t[1])}function i(e,t,n){if(Array.isArray(t))for(let o=1;o{const n=e.sources[t].url;return n&&n.indexOf("mapbox.mapbox-streets-v8")>-1||/mapbox-streets-v[1-9][1-9]/.test(n)}));if(!t.length)throw new Error('If using MapboxLanguage with a Mapbox style, the style must be based on vector tile version 8, e.g. "streets-v11"');return t[0]}(e);if(!n)return e;const r=this._getLanguageField(t),i=this._isLanguageField,a=this._excludedLayerIds,s=e.layers.map((e=>e.source===n?function(e,t,n,r){return t.layout&&t.layout["text-field"]&&-1===r.indexOf(t.id)?Object.assign({},t,{layout:Object.assign({},t.layout,{"text-field":o(e,t.layout["text-field"],n)})}):t}(i,e,r,a):e)),l=Object.assign({},e,{layers:s});return this._languageTransform?this._languageTransform(l,t):l},t.prototype._initialStyleUpdate=function(){const e=this._map.getStyle(),t=this._defaultLanguage||function(e){const t=navigator.languages?navigator.languages[0]:navigator.language||navigator.userLanguage,n=t&&t.split("-");let r=t;n.length>1&&(r=n[0]);if(e.indexOf(r)>-1)return r;return null}(this.supportedLanguages);this._map.setStyle(this.setLanguage(e,t))},t.prototype.onAdd=function(e){return this._map=e,this._map.on("style.load",this._initialStyleUpdate),this._container=document.createElement("div"),this._container},t.prototype.onRemove=function(){this._map.off("style.load",this._initialStyleUpdate),this._map=void 0},"undefined"!==typeof e.exports?e.exports=t:window.MapboxLanguage=t},76624:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(30373);class i extends(function(e){function t(){var t=Reflect.construct(e,Array.from(arguments));return Object.setPrototypeOf(t,Object.getPrototypeOf(this)),t}return t.prototype=Object.create(e.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e,t}(Array)){clone(){return(new this.constructor).copy(this)}fromArray(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;for(let n=0;n0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;for(let n=0;n0?", ":"")+(0,r.Bw)(this[n],e);return"".concat(e.printTypes?this.constructor.name:"","[").concat(t,"]")}equals(e){if(!e||this.length!==e.length)return!1;for(let t=0;t{"use strict";n.d(t,{Z:()=>a});var r=n(76624),i=n(6859),o=n(30373);class a extends r.Z{toString(){let e="[";if(o.vc.printRowMajor){e+="row-major:";for(let t=0;t1&&void 0!==arguments[1]?arguments[1]:new Array(this.RANK).fill(-0);const n=e*this.RANK;for(let r=0;r{"use strict";n.d(t,{Z:()=>a});var r=n(76624),i=n(6859),o=n(83006);class a extends r.Z{get x(){return this[0]}set x(e){this[0]=(0,i.u5)(e)}get y(){return this[1]}set y(e){this[1]=(0,i.u5)(e)}len(){return Math.sqrt(this.lengthSquared())}magnitude(){return this.len()}lengthSquared(){let e=0;for(let t=0;t=0&&e=0&&e{"use strict";n.d(t,{Z:()=>m});var r,i=n(74310),o=n(6859),a=n(96420),s=n(44649),l=n(69291),c=n(58034),u=n(81723);!function(e){e[e.COL0ROW0=0]="COL0ROW0",e[e.COL0ROW1=1]="COL0ROW1",e[e.COL0ROW2=2]="COL0ROW2",e[e.COL0ROW3=3]="COL0ROW3",e[e.COL1ROW0=4]="COL1ROW0",e[e.COL1ROW1=5]="COL1ROW1",e[e.COL1ROW2=6]="COL1ROW2",e[e.COL1ROW3=7]="COL1ROW3",e[e.COL2ROW0=8]="COL2ROW0",e[e.COL2ROW1=9]="COL2ROW1",e[e.COL2ROW2=10]="COL2ROW2",e[e.COL2ROW3=11]="COL2ROW3",e[e.COL3ROW0=12]="COL3ROW0",e[e.COL3ROW1=13]="COL3ROW1",e[e.COL3ROW2=14]="COL3ROW2",e[e.COL3ROW3=15]="COL3ROW3"}(r||(r={}));const d=45*Math.PI/180,h=1,f=.1,p=500,g=Object.freeze([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]);class m extends i.Z{static get IDENTITY(){return function(){v||(v=new m,Object.freeze(v));return v}()}static get ZERO(){return function(){A||(A=new m([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),Object.freeze(A));return A}()}get ELEMENTS(){return 16}get RANK(){return 4}get INDICES(){return r}constructor(e){super(-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0),1===arguments.length&&Array.isArray(e)?this.copy(e):this.identity()}copy(e){return this[0]=e[0],this[1]=e[1],this[2]=e[2],this[3]=e[3],this[4]=e[4],this[5]=e[5],this[6]=e[6],this[7]=e[7],this[8]=e[8],this[9]=e[9],this[10]=e[10],this[11]=e[11],this[12]=e[12],this[13]=e[13],this[14]=e[14],this[15]=e[15],this.check()}set(e,t,n,r,i,o,a,s,l,c,u,d,h,f,p,g){return this[0]=e,this[1]=t,this[2]=n,this[3]=r,this[4]=i,this[5]=o,this[6]=a,this[7]=s,this[8]=l,this[9]=c,this[10]=u,this[11]=d,this[12]=h,this[13]=f,this[14]=p,this[15]=g,this.check()}setRowMajor(e,t,n,r,i,o,a,s,l,c,u,d,h,f,p,g){return this[0]=e,this[1]=i,this[2]=l,this[3]=h,this[4]=t,this[5]=o,this[6]=c,this[7]=f,this[8]=n,this[9]=a,this[10]=u,this[11]=p,this[12]=r,this[13]=s,this[14]=d,this[15]=g,this.check()}toRowMajor(e){return e[0]=this[0],e[1]=this[4],e[2]=this[8],e[3]=this[12],e[4]=this[1],e[5]=this[5],e[6]=this[9],e[7]=this[13],e[8]=this[2],e[9]=this[6],e[10]=this[10],e[11]=this[14],e[12]=this[3],e[13]=this[7],e[14]=this[11],e[15]=this[15],e}identity(){return this.copy(g)}fromObject(e){return this.check()}fromQuaternion(e){return s.en(this,e),this.check()}frustum(e){const{left:t,right:n,bottom:r,top:i,near:o=f,far:a=p}=e;return a===1/0?function(e,t,n,r,i,o){const a=2*o/(n-t),s=2*o/(i-r),l=(n+t)/(n-t),c=(i+r)/(i-r),u=-1,d=-1,h=-2*o;e[0]=a,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=s,e[6]=0,e[7]=0,e[8]=l,e[9]=c,e[10]=u,e[11]=d,e[12]=0,e[13]=0,e[14]=h,e[15]=0}(this,t,n,r,i,o):s.oy(this,t,n,r,i,o,a),this.check()}lookAt(e){const{eye:t,center:n=[0,0,0],up:r=[0,1,0]}=e;return s.zB(this,t,n,r),this.check()}ortho(e){const{left:t,right:n,bottom:r,top:i,near:o=f,far:a=p}=e;return s.M5(this,t,n,r,i,o,a),this.check()}orthographic(e){const{fovy:t=d,aspect:n=h,focalDistance:r=1,near:i=f,far:o=p}=e;y(t);const a=t/2,s=r*Math.tan(a),l=s*n;return this.ortho({left:-l,right:l,bottom:-s,top:s,near:i,far:o})}perspective(e){const{fovy:t=45*Math.PI/180,aspect:n=1,near:r=.1,far:i=500}=e;return y(t),s.G3(this,t,n,r,i),this.check()}determinant(){return s.GH(this)}getScale(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[-0,-0,-0];return e[0]=Math.sqrt(this[0]*this[0]+this[1]*this[1]+this[2]*this[2]),e[1]=Math.sqrt(this[4]*this[4]+this[5]*this[5]+this[6]*this[6]),e[2]=Math.sqrt(this[8]*this[8]+this[9]*this[9]+this[10]*this[10]),e}getTranslation(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[-0,-0,-0];return e[0]=this[12],e[1]=this[13],e[2]=this[14],e}getRotation(e,t){e=e||[-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0,-0],t=t||[-0,-0,-0];const n=this.getScale(t),r=1/n[0],i=1/n[1],o=1/n[2];return e[0]=this[0]*r,e[1]=this[1]*i,e[2]=this[2]*o,e[3]=0,e[4]=this[4]*r,e[5]=this[5]*i,e[6]=this[6]*o,e[7]=0,e[8]=this[8]*r,e[9]=this[9]*i,e[10]=this[10]*o,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}getRotationMatrix3(e,t){e=e||[-0,-0,-0,-0,-0,-0,-0,-0,-0],t=t||[-0,-0,-0];const n=this.getScale(t),r=1/n[0],i=1/n[1],o=1/n[2];return e[0]=this[0]*r,e[1]=this[1]*i,e[2]=this[2]*o,e[3]=this[4]*r,e[4]=this[5]*i,e[5]=this[6]*o,e[6]=this[8]*r,e[7]=this[9]*i,e[8]=this[10]*o,e}transpose(){return s.p4(this,this),this.check()}invert(){return s.U_(this,this),this.check()}multiplyLeft(e){return s.Jp(this,e,this),this.check()}multiplyRight(e){return s.Jp(this,this,e),this.check()}rotateX(e){return s.lM(this,this,e),this.check()}rotateY(e){return s.uD(this,this,e),this.check()}rotateZ(e){return s.jI(this,this,e),this.check()}rotateXYZ(e){return this.rotateX(e[0]).rotateY(e[1]).rotateZ(e[2])}rotateAxis(e,t){return s.U1(this,this,e,t),this.check()}scale(e){return s.bA(this,this,Array.isArray(e)?e:[e,e,e]),this.check()}translate(e){return s.Iu(this,this,e),this.check()}transform(e,t){return 4===e.length?(t=u.fF(t||[-0,-0,-0,-0],e,this),(0,o.IL)(t,4),t):this.transformAsPoint(e,t)}transformAsPoint(e,t){const{length:n}=e;let r;switch(n){case 2:r=l.fF(t||[-0,-0],e,this);break;case 3:r=c.fF(t||[-0,-0,-0],e,this);break;default:throw new Error("Illegal vector")}return(0,o.IL)(r,e.length),r}transformAsVector(e,t){let n;switch(e.length){case 2:n=(0,a.pb)(t||[-0,-0],e,this);break;case 3:n=(0,a.pL)(t||[-0,-0,-0],e,this);break;default:throw new Error("Illegal vector")}return(0,o.IL)(n,e.length),n}transformPoint(e,t){return this.transformAsPoint(e,t)}transformVector(e,t){return this.transformAsPoint(e,t)}transformDirection(e,t){return this.transformAsVector(e,t)}makeRotationX(e){return this.identity().rotateX(e)}makeTranslation(e,t,n){return this.identity().translate([e,t,n])}}let A,v;function y(e){if(e>2*Math.PI)throw Error("expected radians")}},31549:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(22070),i=n(30373),o=n(6859),a=n(58034),s=n(96420);const l=[0,0,0];let c;class u extends r.Z{static get ZERO(){return c||(c=new u(0,0,0),Object.freeze(c)),c}constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;super(-0,-0,-0),1===arguments.length&&(0,i.kJ)(e)?this.copy(e):(i.vc.debug&&((0,o.u5)(e),(0,o.u5)(t),(0,o.u5)(n)),this[0]=e,this[1]=t,this[2]=n)}set(e,t,n){return this[0]=e,this[1]=t,this[2]=n,this.check()}copy(e){return this[0]=e[0],this[1]=e[1],this[2]=e[2],this.check()}fromObject(e){return i.vc.debug&&((0,o.u5)(e.x),(0,o.u5)(e.y),(0,o.u5)(e.z)),this[0]=e.x,this[1]=e.y,this[2]=e.z,this.check()}toObject(e){return e.x=this[0],e.y=this[1],e.z=this[2],e}get ELEMENTS(){return 3}get z(){return this[2]}set z(e){this[2]=(0,o.u5)(e)}angle(e){return a.EU(this,e)}cross(e){return a.kC(this,this,e),this.check()}rotateX(e){let{radians:t,origin:n=l}=e;return a.lM(this,this,n,t),this.check()}rotateY(e){let{radians:t,origin:n=l}=e;return a.uD(this,this,n,t),this.check()}rotateZ(e){let{radians:t,origin:n=l}=e;return a.jI(this,this,n,t),this.check()}transform(e){return this.transformAsPoint(e)}transformAsPoint(e){return a.fF(this,this,e),this.check()}transformAsVector(e){return(0,s.pL)(this,this,e),this.check()}transformByMatrix3(e){return a.kK(this,this,e),this.check()}transformByMatrix2(e){return(0,s.eQ)(this,this,e),this.check()}transformByQuaternion(e){return a.VC(this,this,e),this.check()}}},83006:(e,t,n)=>{"use strict";function r(e,t){if(!e)throw new Error("math.gl assertion ".concat(t))}n.d(t,{Z:()=>r})},30373:(e,t,n)=>{"use strict";n.d(t,{Bw:()=>i,fS:()=>l,kJ:()=>o,t7:()=>s,uZ:()=>a,vc:()=>r});Math.PI,Math.PI;const r={EPSILON:1e-12,debug:!1,precision:4,printTypes:!1,printDegrees:!1,printRowMajor:!0};function i(e){let{precision:t=r.precision}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e=function(e){return Math.round(e/r.EPSILON)*r.EPSILON}(e),"".concat(parseFloat(e.toPrecision(t)))}function o(e){return Array.isArray(e)||ArrayBuffer.isView(e)&&!(e instanceof DataView)}function a(e,t,n){return c(e,(e=>Math.max(t,Math.min(n,e))))}function s(e,t,n){return o(e)?e.map(((e,r)=>s(e,t[r],n))):n*t+(1-n)*e}function l(e,t,n){const i=r.EPSILON;n&&(r.EPSILON=n);try{if(e===t)return!0;if(o(e)&&o(t)){if(e.length!==t.length)return!1;for(let n=0;n{"use strict";function r(e,t,n){const r=t[0],i=t[1],o=n[3]*r+n[7]*i||1;return e[0]=(n[0]*r+n[4]*i)/o,e[1]=(n[1]*r+n[5]*i)/o,e}function i(e,t,n){const r=t[0],i=t[1],o=t[2],a=n[3]*r+n[7]*i+n[11]*o||1;return e[0]=(n[0]*r+n[4]*i+n[8]*o)/a,e[1]=(n[1]*r+n[5]*i+n[9]*o)/a,e[2]=(n[2]*r+n[6]*i+n[10]*o)/a,e}function o(e,t,n){const r=t[0],i=t[1];return e[0]=n[0]*r+n[2]*i,e[1]=n[1]*r+n[3]*i,e[2]=t[2],e}function a(e,t,n){const r=t[0],i=t[1];return e[0]=n[0]*r+n[2]*i,e[1]=n[1]*r+n[3]*i,e[2]=t[2],e[3]=t[3],e}function s(e,t,n){const r=t[0],i=t[1],o=t[2];return e[0]=n[0]*r+n[3]*i+n[6]*o,e[1]=n[1]*r+n[4]*i+n[7]*o,e[2]=n[2]*r+n[5]*i+n[8]*o,e[3]=t[3],e}n.d(t,{G7:()=>a,_x:()=>s,eQ:()=>o,pL:()=>i,pb:()=>r})},6859:(e,t,n)=>{"use strict";n.d(t,{IL:()=>o,u5:()=>i});var r=n(30373);function i(e){if(!Number.isFinite(e))throw new Error("Invalid number ".concat(e));return e}function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(r.vc.debug&&!function(e,t){if(e.length!==t)return!1;for(let n=0;n{"use strict";n.r(t),n.d(t,{Polygon:()=>h,WINDING:()=>o,_Polygon:()=>h,clipPolygon:()=>U,clipPolyline:()=>Z,cutPolygonByGrid:()=>X,cutPolygonByMercatorBounds:()=>ne,cutPolylineByGrid:()=>G,cutPolylineByMercatorBounds:()=>te,earcut:()=>f,forEachSegmentInPolygon:()=>c,getPolygonSignedArea:()=>l,getPolygonWindingDirection:()=>s,modifyPolygonWindingDirection:()=>a});var r=n(68185),i=n(30373);const o={CLOCKWISE:1,COUNTER_CLOCKWISE:-1};function a(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return s(e,n)!==t&&(function(e,t){const{start:n=0,end:r=e.length,size:i=2}=t,o=(r-n)/i,a=Math.floor(o/2);for(let s=0;s1&&void 0!==arguments[1]?arguments[1]:{};return Math.sign(l(e,t))}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{start:n=0,end:r=e.length}=t,i=t.size||2;let o=0;for(let a=n,s=r-i;a2&&void 0!==arguments[2]?arguments[2]:{};const{start:r=0,end:o=e.length,size:a=2,isClosed:s}=n,l=(o-r)/a;for(let i=0;i1&&void 0!==arguments[1]?arguments[1]:{};return Math.sign(d(e,t))}(e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{});return n!==t&&(e.reverse(),!0)}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{start:n=0,end:r=e.length}=t;let i=0;for(let o=n,a=r-1;o1&&void 0!==arguments[1]?arguments[1]:{};(0,r.Z)(this,"points",void 0),(0,r.Z)(this,"isFlatArray",void 0),(0,r.Z)(this,"options",void 0),this.points=e,this.isFlatArray=!(0,i.kJ)(e[0]),this.options={start:t.start||0,end:t.end||e.length,size:t.size||2,isClosed:t.isClosed},Object.freeze(this)}getSignedArea(){return this.isFlatArray?l(this.points,this.options):d(this.points,this.options)}getArea(){return Math.abs(this.getSignedArea())}getWindingDirection(){return Math.sign(this.getSignedArea())}forEachSegment(e){this.isFlatArray?c(this.points,((t,n,r,i,o,a)=>{e([t,n],[r,i],o,a)}),this.options):function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{start:r=0,end:o=e.length,isClosed:a}=n;for(let i=r;i2&&void 0!==arguments[2]?arguments[2]:2,r=arguments.length>3?arguments[3]:void 0;const i=t&&t.length,o=i?t[0]*n:e.length;let a=p(e,0,o,n,!0,r&&r[0]);const s=[];if(!a||a.next===a.prev)return s;let l,c,u,d,h,f,A;if(i&&(a=function(e,t,n,r,i){const o=[];let a,s,l,c,u;for(a=0,s=t.length;a80*n){d=c=e[0],h=u=e[1];for(let t=n;tc&&(c=f),A>u&&(u=A);l=Math.max(c-d,u-h),l=0!==l?1/l:0}return m(a,s,n,d,h,l),s}function p(e,t,n,r,i,o){let a,s;if(void 0===o&&(o=l(e,{start:t,end:n,size:r})),i===o<0)for(a=t;a=t;a-=r)s=D(a,e[a],e[a+1],s);return s&&M(s,s.next)&&(N(s),s=s.next),s}function g(e,t){if(!e)return e;t||(t=e);let n,r=e;do{if(n=!1,r.steiner||!M(r,r.next)&&0!==T(r.prev,r,r.next))r=r.next;else{if(N(r),r=t=r.prev,r===r.next)break;n=!0}}while(n||r!==t);return t}function m(e,t,n,r,i,o,a){if(!e)return;!a&&o&&function(e,t,n,r){let i=e;do{null===i.z&&(i.z=E(i.x,i.y,t,n,r)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==e);i.prevZ.nextZ=null,i.prevZ=null,function(e){let t,n,r,i,o,a,s,l,c=1;do{for(i=e,e=null,l=null,r=0;i;){for(r++,a=i,o=0,n=0;n0||s>0&&a;)0!==o&&(0===s||!a||i.z<=a.z)?(t=i,i=i.nextZ,o--):(t=a,a=a.nextZ,s--),l?l.nextZ=t:e=t,t.prevZ=l,l=t;i=a}l.nextZ=null,c*=2}while(r>1)}(i)}(e,r,i,o);let s,l,c=e;for(;e.prev!==e.next;)if(s=e.prev,l=e.next,o?v(e,r,i,o):A(e))t.push(s.i/n),t.push(e.i/n),t.push(l.i/n),N(e),e=l.next,c=l.next;else if((e=l)===c){a?1===a?m(e=y(g(e),t,n),t,n,r,i,o,2):2===a&&b(e,t,n,r,i,o):m(g(e),t,n,r,i,o,1);break}}function A(e){const t=e.prev,n=e,r=e.next;if(T(t,n,r)>=0)return!1;let i=e.next.next;for(;i!==e.prev;){if(C(t.x,t.y,n.x,n.y,r.x,r.y,i.x,i.y)&&T(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}function v(e,t,n,r){const i=e.prev,o=e,a=e.next;if(T(i,o,a)>=0)return!1;const s=i.xo.x?i.x>a.x?i.x:a.x:o.x>a.x?o.x:a.x,u=i.y>o.y?i.y>a.y?i.y:a.y:o.y>a.y?o.y:a.y,d=E(s,l,t,n,r),h=E(c,u,t,n,r);let f=e.prevZ,p=e.nextZ;for(;f&&f.z>=d&&p&&p.z<=h;){if(f!==e.prev&&f!==e.next&&C(i.x,i.y,o.x,o.y,a.x,a.y,f.x,f.y)&&T(f.prev,f,f.next)>=0)return!1;if(f=f.prevZ,p!==e.prev&&p!==e.next&&C(i.x,i.y,o.x,o.y,a.x,a.y,p.x,p.y)&&T(p.prev,p,p.next)>=0)return!1;p=p.nextZ}for(;f&&f.z>=d;){if(f!==e.prev&&f!==e.next&&C(i.x,i.y,o.x,o.y,a.x,a.y,f.x,f.y)&&T(f.prev,f,f.next)>=0)return!1;f=f.prevZ}for(;p&&p.z<=h;){if(p!==e.prev&&p!==e.next&&C(i.x,i.y,o.x,o.y,a.x,a.y,p.x,p.y)&&T(p.prev,p,p.next)>=0)return!1;p=p.nextZ}return!0}function y(e,t,n){let r=e;do{const i=r.prev,o=r.next.next;!M(i,o)&&k(i,r,r.next,o)&&I(i,o)&&I(o,i)&&(t.push(i.i/n),t.push(r.i/n),t.push(o.i/n),N(r),N(r.next),r=e=o),r=r.next}while(r!==e);return g(r)}function b(e,t,n,r,i,o){let a=e;do{let e=a.next.next;for(;e!==a.prev;){if(a.i!==e.i&&P(a,e)){let s=L(a,e);return a=g(a,a.next),s=g(s,s.next),m(a,t,n,r,i,o),void m(s,t,n,r,i,o)}e=e.next}a=a.next}while(a!==e)}function _(e,t){return e.x-t.x}function w(e,t){if(t=function(e,t){let n=t;const r=e.x,i=e.y;let o,a=-1/0;do{if(i<=n.y&&i>=n.next.y&&n.next.y!==n.y){const e=n.x+(i-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(e<=r&&e>a){if(a=e,e===r){if(i===n.y)return n;if(i===n.next.y)return n.next}o=n.x=n.x&&n.x>=l&&r!==n.x&&C(io.x||n.x===o.x&&x(o,n)))&&(o=n,d=u)),n=n.next}while(n!==s);return o}(e,t),t){const n=L(t,e);g(t,t.next),g(n,n.next)}}function x(e,t){return T(e.prev,e,t.prev)<0&&T(t.next,e,e.next)<0}function E(e,t,n,r,i){return(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-n)*i)|e<<8))|e<<4))|e<<2))|e<<1))|(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-r)*i)|t<<8))|t<<4))|t<<2))|t<<1))<<1}function S(e){let t=e,n=e;do{(t.x=0&&(e-a)*(r-s)-(n-a)*(t-s)>=0&&(n-a)*(o-s)-(i-a)*(r-s)>=0}function P(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!function(e,t){let n=e;do{if(n.i!==e.i&&n.next.i!==e.i&&n.i!==t.i&&n.next.i!==t.i&&k(n,n.next,e,t))return!0;n=n.next}while(n!==e);return!1}(e,t)&&(I(e,t)&&I(t,e)&&function(e,t){let n=e,r=!1;const i=(e.x+t.x)/2,o=(e.y+t.y)/2;do{n.y>o!==n.next.y>o&&n.next.y!==n.y&&i<(n.next.x-n.x)*(o-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next}while(n!==e);return r}(e,t)&&(T(e.prev,e,t.prev)||T(e,t.prev,t))||M(e,t)&&T(e.prev,e,e.next)>0&&T(t.prev,t,t.next)>0)}function T(e,t,n){return(t.y-e.y)*(n.x-t.x)-(t.x-e.x)*(n.y-t.y)}function M(e,t){return e.x===t.x&&e.y===t.y}function k(e,t,n,r){const i=O(T(e,t,n)),o=O(T(e,t,r)),a=O(T(n,r,e)),s=O(T(n,r,t));return i!==o&&a!==s||(!(0!==i||!R(e,n,t))||(!(0!==o||!R(e,r,t))||(!(0!==a||!R(n,e,r))||!(0!==s||!R(n,t,r)))))}function R(e,t,n){return t.x<=Math.max(e.x,n.x)&&t.x>=Math.min(e.x,n.x)&&t.y<=Math.max(e.y,n.y)&&t.y>=Math.min(e.y,n.y)}function O(e){return e>0?1:e<0?-1:0}function I(e,t){return T(e.prev,e,e.next)<0?T(e,t,e.next)>=0&&T(e,e.prev,t)>=0:T(e,t,e.prev)<0||T(e,e.next,t)<0}function L(e,t){const n=new F(e.i,e.x,e.y),r=new F(t.i,t.x,t.y),i=e.next,o=t.prev;return e.next=t,t.prev=e,n.next=i,i.prev=n,r.next=n,n.prev=r,o.next=r,r.prev=o,r}function D(e,t,n,r){const i=new F(e,t,n);return r?(i.next=r.next,i.prev=r,r.next.prev=i,r.next=i):(i.prev=i,i.next=i),i}function N(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function F(e,t,n){this.i=e,this.x=t,this.y=n,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function j(e,t){const n=t.length,r=e.length;if(r>0){let i=!0;for(let o=0;o4&&void 0!==arguments[4]?arguments[4]:[];const o=r+t*n;for(let a=0;a4&&void 0!==arguments[4]?arguments[4]:[];if(8&n)i=(r[3]-e[1])/(t[1]-e[1]),o=3;else if(4&n)i=(r[1]-e[1])/(t[1]-e[1]),o=1;else if(2&n)i=(r[2]-e[0])/(t[0]-e[0]),o=2;else{if(!(1&n))return null;i=(r[0]-e[0])/(t[0]-e[0]),o=0}for(let s=0;st[2]&&(n|=2),e[1]t[3]&&(n|=8),n}function G(e,t){const{size:n=2,broken:r=!1,gridResolution:i=10,gridOffset:o=[0,0],startIndex:a=0,endIndex:s=e.length}=t||{},l=(s-a)/n;let c=[];const u=[c],d=z(e,0,n,a);let h,f;const p=Q(d,i,o,[]),g=[];j(c,d);for(let m=1;mn&&(c=[],u.push(c),j(c,d)),f=V(h,p)}j(c,h),B(d,h)}return r?u:u[0]}const W=0,q=1;function Y(e,t){for(let n=0;n1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;if(!e.length)return[];const{size:r=2,gridResolution:i=10,gridOffset:o=[0,0],edgeTypes:a=!1}=n||{},s=[],l=[{pos:e,types:a?new Array(e.length/r).fill(q):null,holes:t||[]}],c=[[],[]];let u=[];for(;l.length;){const{pos:e,types:t,holes:n}=l.shift();J(e,r,n[0]||e.length,c),u=Q(c[0],i,o,u);const d=V(c[1],u);if(d){let i=K(e,t,r,0,n[0]||e.length,u,d);const o={pos:i[0].pos,types:i[0].types,holes:[]},s={pos:i[1].pos,types:i[1].types,holes:[]};l.push(o,s);for(let l=0;l=0?(j(c,f)&&d.push(g),b+=p):d.length&&(d[d.length-1]=W),B(m,f),A=p,v=g;return[y?{pos:l,types:t&&u}:null,b?{pos:c,types:t&&d}:null]}function Q(e,t,n,r){const i=Math.floor((e[0]-n[0])/t)*t+n[0],o=Math.floor((e[1]-n[1])/t)*t+n[1];return r[0]=i,r[1]=o,r[2]=i+t,r[3]=o+t,r}function $(e,t,n){8&n?(e[1]+=t,e[3]+=t):4&n?(e[1]-=t,e[3]-=t):2&n?(e[0]+=t,e[2]+=t):1&n&&(e[0]-=t,e[2]-=t)}function J(e,t,n,r){let i=1/0,o=-1/0,a=1/0,s=-1/0;for(let l=0;lo?t:o,a=ns?n:s}return r[0][0]=i,r[0][1]=a,r[1][0]=o,r[1][1]=s,r}const ee=85.051129;function te(e,t){const{size:n=2,startIndex:r=0,endIndex:i=e.length,normalize:o=!0}=t||{},a=e.slice(r,i);oe(a,n,0,i-r);const s=G(a,{size:n,broken:!0,gridResolution:360,gridOffset:[-180,-180]});if(o)for(const l of s)ae(l,n);return s}function ne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;const{size:r=2,normalize:i=!0,edgeTypes:o=!1}=n||{};t=t||[];const a=[],s=[];let l=0,c=0;for(let d=0;d<=t.length;d++){const i=t[d]||e.length,o=c,u=re(e,r,l,i);for(let t=u;ti&&(i=t,o=a-1)}return o}function ie(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:ee;const o=e[n],a=e[r-t];if(Math.abs(o-a)>180){const r=z(e,0,t,n);r[0]+=360*Math.round((a-o)/360),j(e,r),r[1]=Math.sign(r[1])*i,j(e,r),r[0]=o,j(e,r)}}function oe(e,t,n,r){let i,o=e[0];for(let a=n;a180||t<-180)&&(i-=360*Math.round(t/360)),e[a]=o=i}}function ae(e,t){let n;const r=e.length/t;for(let o=0;o{"use strict";n.d(t,{DW:()=>F,eG:()=>C,Lu:()=>M,Xg:()=>I,sj:()=>k,zX:()=>D,ro:()=>S,Bf:()=>x,wl:()=>T,lf:()=>P,w5:()=>_,QA:()=>B,CT:()=>O,NC:()=>E,es:()=>w,aW:()=>R});var r=n(68185),i=n(81723);function o(e,t){const n=(0,i.fF)([],t,e);return(0,i.bA)(n,n,1/n[3]),n}function a(e,t){const n=e%t;return n<0?t+n:n}function s(e,t,n){return en?n:e}const l=Math.log2||function(e){return Math.log(e)*Math.LOG2E};var c=n(44649),u=n(69291),d=n(58034);function h(e,t){if(!e)throw new Error(t||"@math.gl/web-mercator: assertion failed.")}const f=Math.PI,p=f/4,g=f/180,m=180/f,A=512,v=4003e4,y=85.051129,b=1.5;function _(e){const[t,n]=e;h(Number.isFinite(t)),h(Number.isFinite(n)&&n>=-90&&n<=90,"invalid latitude");const r=n*g;return[A*(t*g+f)/(2*f),A*(f+Math.log(Math.tan(p+.5*r)))/(2*f)]}function w(e){const[t,n]=e,r=t/A*(2*f)-f,i=2*(Math.atan(Math.exp(n/A*(2*f)-f))-p);return[r*m,i*m]}function x(e){const{latitude:t}=e;h(Number.isFinite(t));const n=Math.cos(t*g);return l(v*n)-9}function E(e){const t=Math.cos(e*g);return A/v/t}function S(e){const{latitude:t,longitude:n,highPrecision:r=!1}=e;h(Number.isFinite(t)&&Number.isFinite(n));const i=A,o=Math.cos(t*g),a=i/360,s=a/o,l=i/v/o,c={unitsPerMeter:[l,l,l],metersPerUnit:[1/l,1/l,1/l],unitsPerDegree:[a,s,l],degreesPerUnit:[1/a,1/s,1/l]};if(r){const e=g*Math.tan(t*g)/o,n=a*e/2,r=i/v*e,u=r/s*l;c.unitsPerDegree2=[0,n,r],c.unitsPerMeter2=[u,0,u]}return c}function C(e,t){const[n,r,i]=e,[o,a,s]=t,{unitsPerMeter:l,unitsPerMeter2:c}=S({longitude:n,latitude:r,highPrecision:!0}),u=_(e);u[0]+=o*(l[0]+c[0]*a),u[1]+=a*(l[1]+c[1]*a);const d=w(u),h=(i||0)+(s||0);return Number.isFinite(i)||Number.isFinite(s)?[d[0],d[1],h]:d}function P(e){const{height:t,pitch:n,bearing:r,altitude:i,scale:o,center:a}=e,s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];c.Iu(s,s,[0,0,-i]),c.lM(s,s,-n*g),c.jI(s,s,r*g);const l=o/t;return c.bA(s,s,[l,l,l]),a&&c.Iu(s,s,d.tk([],a)),s}function T(e){const{width:t,height:n,altitude:r,pitch:i=0,offset:o,center:a,scale:l,nearZMultiplier:c=1,farZMultiplier:u=1}=e;let{fovy:d=M(b)}=e;void 0!==r&&(d=M(r));const h=d*g,f=i*g,p=k(d);let m=p;a&&(m+=a[2]*l/Math.cos(f)/n);const A=h*(.5+(o?o[1]:0)/n),v=Math.sin(A)*m/Math.sin(s(Math.PI/2-f-A,.01,Math.PI-.01)),y=Math.sin(f)*v+m,_=10*m;return{fov:h,aspect:t/n,focalDistance:p,near:c,far:Math.min(y*u,_)}}function M(e){return 2*Math.atan(.5/e)*m}function k(e){return.5/Math.tan(.5*e*g)}function R(e,t){const[n,r,i=0]=e;return h(Number.isFinite(n)&&Number.isFinite(r)&&Number.isFinite(i)),o(t,[n,r,i,1])}function O(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const[r,i,a]=e;if(h(Number.isFinite(r)&&Number.isFinite(i),"invalid pixel coordinate"),Number.isFinite(a)){return o(t,[r,i,a,1])}const s=o(t,[r,i,0,1]),l=o(t,[r,i,1,1]),c=s[2],d=l[2],f=c===d?0:((n||0)-c)/(d-c);return u.t7([],s,l,f)}function I(e){const{width:t,height:n,bounds:r,minExtent:i=0,maxZoom:o=24,offset:a=[0,0]}=e,[[c,u],[d,f]]=r,p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if("number"===typeof e)return{top:e,bottom:e,left:e,right:e};return h(Number.isFinite(e.top)&&Number.isFinite(e.bottom)&&Number.isFinite(e.left)&&Number.isFinite(e.right)),e}(e.padding),g=_([c,s(f,-y,y)]),m=_([d,s(u,-y,y)]),A=[Math.max(Math.abs(m[0]-g[0]),i),Math.max(Math.abs(m[1]-g[1]),i)],v=[t-p.left-p.right-2*Math.abs(a[0]),n-p.top-p.bottom-2*Math.abs(a[1])];h(v[0]>0&&v[1]>0);const b=v[0]/A[0],x=v[1]/A[1],E=(p.right-p.left)/2/b,S=(p.top-p.bottom)/2/x,C=w([(m[0]+g[0])/2+E,(m[1]+g[1])/2+S]),P=Math.min(o,l(Math.abs(Math.min(b,x))));return h(Number.isFinite(P)),{longitude:C[0],latitude:C[1],zoom:P}}const L=Math.PI/180;function D(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const{width:n,height:r,unproject:i}=e,o={targetZ:t},a=i([0,r],o),s=i([n,r],o);let l,c;return(e.fovy?.5*e.fovy*L:Math.atan(.5/e.altitude))>(90-e.pitch)*L-.01?(l=N(e,0,t),c=N(e,n,t)):(l=i([0,0],o),c=i([n,0],o)),[a,s,c,l]}function N(e,t,n){const{pixelUnprojectionMatrix:r}=e,i=o(r,[t,0,1,1]),a=o(r,[t,e.height,1,1]),s=(n*e.distanceScales.unitsPerMeter[2]-i[2])/(a[2]-i[2]),l=w(u.t7([],i,a,s));return l.push(n),l}class F{constructor(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{width:1,height:1};(0,r.Z)(this,"latitude",void 0),(0,r.Z)(this,"longitude",void 0),(0,r.Z)(this,"zoom",void 0),(0,r.Z)(this,"pitch",void 0),(0,r.Z)(this,"bearing",void 0),(0,r.Z)(this,"altitude",void 0),(0,r.Z)(this,"fovy",void 0),(0,r.Z)(this,"meterOffset",void 0),(0,r.Z)(this,"center",void 0),(0,r.Z)(this,"width",void 0),(0,r.Z)(this,"height",void 0),(0,r.Z)(this,"scale",void 0),(0,r.Z)(this,"distanceScales",void 0),(0,r.Z)(this,"viewMatrix",void 0),(0,r.Z)(this,"projectionMatrix",void 0),(0,r.Z)(this,"viewProjectionMatrix",void 0),(0,r.Z)(this,"pixelProjectionMatrix",void 0),(0,r.Z)(this,"pixelUnprojectionMatrix",void 0),(0,r.Z)(this,"equals",(e=>e instanceof F&&(e.width===this.width&&e.height===this.height&&c.fS(e.projectionMatrix,this.projectionMatrix)&&c.fS(e.viewMatrix,this.viewMatrix)))),(0,r.Z)(this,"project",(function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{topLeft:r=!0}=n,i=R(e.projectPosition(t),e.pixelProjectionMatrix),[o,a]=i,s=r?a:e.height-a;return 2===t.length?[o,s]:[o,s,i[2]]})),(0,r.Z)(this,"unproject",(function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{topLeft:r=!0,targetZ:i}=n,[o,a,s]=t,l=r?a:e.height-a,c=i&&i*e.distanceScales.unitsPerMeter[2],u=O([o,l,s],e.pixelUnprojectionMatrix,c),[d,h,f]=e.unprojectPosition(u);return Number.isFinite(s)?[d,h,f]:Number.isFinite(i)?[d,h,i]:[d,h]})),(0,r.Z)(this,"projectPosition",(e=>{const[t,n]=_(e);return[t,n,(e[2]||0)*this.distanceScales.unitsPerMeter[2]]})),(0,r.Z)(this,"unprojectPosition",(e=>{const[t,n]=w(e);return[t,n,(e[2]||0)*this.distanceScales.metersPerUnit[2]]}));let{width:n,height:i,altitude:o=null,fovy:a=null}=t;const{latitude:s=0,longitude:l=0,zoom:u=0,pitch:h=0,bearing:f=0,position:p=null,nearZMultiplier:g=.02,farZMultiplier:m=1.01}=t;n=n||1,i=i||1,null===a&&null===o?(o=b,a=M(o)):null===a?a=M(o):null===o&&(o=k(a));const A=function(e){return Math.pow(2,e)}(u);o=Math.max(.75,o);const v=S({longitude:l,latitude:s}),y=_([l,s]);y.push(0),p&&d.IH(y,y,d.dC([],p,v.unitsPerMeter)),this.projectionMatrix=function(e){const{fov:t,aspect:n,near:r,far:i}=T(e);return c.G3([],t,n,r,i)}({width:n,height:i,scale:A,center:y,pitch:h,fovy:a,nearZMultiplier:g,farZMultiplier:m}),this.viewMatrix=P({height:i,scale:A,center:y,pitch:h,bearing:f,altitude:o}),this.width=n,this.height=i,this.scale=A,this.latitude=s,this.longitude=l,this.zoom=u,this.pitch=h,this.bearing=f,this.altitude=o,this.fovy=a,this.center=y,this.meterOffset=p||[0,0,0],this.distanceScales=v,this._initMatrices(),Object.freeze(this)}_initMatrices(){const{width:e,height:t,projectionMatrix:n,viewMatrix:r}=this,i=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];c.Jp(i,i,n),c.Jp(i,i,r),this.viewProjectionMatrix=i;const o=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];c.bA(o,o,[e/2,-t/2,1]),c.Iu(o,o,[1,-1,0]),c.Jp(o,o,i);const a=c.U_([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],o);if(!a)throw new Error("Pixel project matrix not invertible");this.pixelProjectionMatrix=o,this.pixelUnprojectionMatrix=a}projectFlat(e){return _(e)}unprojectFlat(e){return w(e)}getMapCenterByLngLatPosition(e){let{lngLat:t,pos:n}=e;const r=O(n,this.pixelUnprojectionMatrix),i=_(t),o=u.IH([],i,u.tk([],r));return w(u.IH([],this.center,o))}fitBounds(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{width:n,height:r}=this,{longitude:i,latitude:o,zoom:a}=I(Object.assign({width:n,height:r,bounds:e},t));return new F({width:n,height:r,longitude:i,latitude:o,zoom:a})}getBounds(e){const t=this.getBoundingRegion(e),n=Math.min(...t.map((e=>e[0]))),r=Math.max(...t.map((e=>e[0])));return[[n,Math.min(...t.map((e=>e[1])))],[r,Math.max(...t.map((e=>e[1])))]]}getBoundingRegion(){return D(this,(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).z||0)}getLocationAtPoint(e){let{lngLat:t,pos:n}=e;return this.getMapCenterByLngLatPosition({lngLat:t,pos:n})}}const j=512;function B(e){const{width:t,height:n,pitch:r=0}=e;let{longitude:i,latitude:o,zoom:s,bearing:c=0}=e;(i<-180||i>180)&&(i=a(i+180,360)-180),(c<-180||c>180)&&(c=a(c+180,360)-180);const u=l(n/j);if(s<=u)s=u,o=0;else{const e=n/2/Math.pow(2,s),t=w([0,e])[1];if(ot&&(o=t)}}return{width:t,height:n,longitude:i,latitude:o,zoom:s,pitch:r,bearing:c}}},21748:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(89258),i=n(16246);const o=globalThis;function a(e){if(!e&&!(0,r.Z)())return"Node";if((0,i.Z)(e))return"Electron";const t="undefined"!==typeof navigator?navigator:{},n=e||t.userAgent||"";if(n.indexOf("Edge")>-1)return"Edge";const a=-1!==n.indexOf("MSIE "),s=-1!==n.indexOf("Trident/");return a||s?"IE":o.chrome?"Chrome":o.safari?"Safari":o.mozInnerScreenX?"Firefox":"Unknown"}},89258:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(16246);function i(){return!("object"===typeof process&&"[object process]"===String(process)&&!process.browser)||(0,r.Z)()}},16246:(e,t,n)=>{"use strict";function r(e){if("undefined"!==typeof window&&"object"===typeof window.process&&"renderer"===window.process.type)return!0;if("undefined"!==typeof process&&"object"===typeof process.versions&&Boolean(process.versions.electron))return!0;const t="object"===typeof navigator&&"string"===typeof navigator.userAgent&&navigator.userAgent,n=e||t;return!!(n&&n.indexOf("Electron")>=0)}n.d(t,{Z:()=>r})},20251:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b});var r=n(68185),i=n(89258);const o="undefined"!==typeof __VERSION__?__VERSION__:"untranspiled source";(0,i.Z)();class a{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"sessionStorage";(0,r.Z)(this,"storage",void 0),(0,r.Z)(this,"id",void 0),(0,r.Z)(this,"config",{}),this.storage=function(e){try{const t=window[e],n="__storage_test__";return t.setItem(n,n),t.removeItem(n),t}catch(t){return null}}(n),this.id=e,this.config={},Object.assign(this.config,t),this._loadConfiguration()}getConfiguration(){return this.config}setConfiguration(e){return this.config={},this.updateConfiguration(e)}updateConfiguration(e){if(Object.assign(this.config,e),this.storage){const e=JSON.stringify(this.config);this.storage.setItem(this.id,e)}return this}_loadConfiguration(){let e={};if(this.storage){const t=this.storage.getItem(this.id);e=t?JSON.parse(t):{}}return Object.assign(this.config,e),this}}function s(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:600;const i=e.src.replace(/\(/g,"%28").replace(/\)/g,"%29");e.width>r&&(n=Math.min(n,r/e.width));const o=e.width*n,a=e.height*n,s=["font-size:1px;","padding:".concat(Math.floor(a/2),"px ").concat(Math.floor(o/2),"px;"),"line-height:".concat(a,"px;"),"background:url(".concat(i,");"),"background-size:".concat(o,"px ").concat(a,"px;"),"color:transparent;"].join("");return["".concat(t," %c+"),s]}let l;function c(e){return"string"===typeof e?l[e.toUpperCase()]||l.WHITE:e}function u(e,t){if(!e)throw new Error(t||"Assertion failed")}!function(e){e[e.BLACK=30]="BLACK",e[e.RED=31]="RED",e[e.GREEN=32]="GREEN",e[e.YELLOW=33]="YELLOW",e[e.BLUE=34]="BLUE",e[e.MAGENTA=35]="MAGENTA",e[e.CYAN=36]="CYAN",e[e.WHITE=37]="WHITE",e[e.BRIGHT_BLACK=90]="BRIGHT_BLACK",e[e.BRIGHT_RED=91]="BRIGHT_RED",e[e.BRIGHT_GREEN=92]="BRIGHT_GREEN",e[e.BRIGHT_YELLOW=93]="BRIGHT_YELLOW",e[e.BRIGHT_BLUE=94]="BRIGHT_BLUE",e[e.BRIGHT_MAGENTA=95]="BRIGHT_MAGENTA",e[e.BRIGHT_CYAN=96]="BRIGHT_CYAN",e[e.BRIGHT_WHITE=97]="BRIGHT_WHITE"}(l||(l={}));const d={self:"undefined"!==typeof self&&self,window:"undefined"!==typeof window&&window,global:"undefined"!==typeof n.g&&n.g,document:"undefined"!==typeof document&&document,process:"object"===typeof process&&process},h=d.window||d.self||d.global,f=d.process||{};function p(){let e;var t,n;if(i.Z&&"performance"in h)e=null===h||void 0===h||null===(t=h.performance)||void 0===t||null===(n=t.now)||void 0===n?void 0:n.call(t);else if("hrtime"in f){var r;const t=null===f||void 0===f||null===(r=f.hrtime)||void 0===r?void 0:r.call(f);e=1e3*t[0]+t[1]/1e6}else e=Date.now();return e}const g={debug:i.Z&&console.debug||console.log,log:console.log,info:console.info,warn:console.warn,error:console.error},m={enabled:!0,level:0};function A(){}const v={},y={once:!0};class b{constructor(){let{id:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{id:""};(0,r.Z)(this,"id",void 0),(0,r.Z)(this,"VERSION",o),(0,r.Z)(this,"_startTs",p()),(0,r.Z)(this,"_deltaTs",p()),(0,r.Z)(this,"_storage",void 0),(0,r.Z)(this,"userData",{}),(0,r.Z)(this,"LOG_THROTTLE_TIMEOUT",0),this.id=e,this._storage=new a("__probe-".concat(this.id,"__"),m),this.userData={},this.timeStamp("".concat(this.id," started")),function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["constructor"];const n=Object.getPrototypeOf(e),r=Object.getOwnPropertyNames(n);for(const i of r)"function"===typeof e[i]&&(t.find((e=>i===e))||(e[i]=e[i].bind(e)))}(this),Object.seal(this)}set level(e){this.setLevel(e)}get level(){return this.getLevel()}isEnabled(){return this._storage.config.enabled}getLevel(){return this._storage.config.level}getTotal(){return Number((p()-this._startTs).toPrecision(10))}getDelta(){return Number((p()-this._deltaTs).toPrecision(10))}set priority(e){this.level=e}get priority(){return this.level}getPriority(){return this.level}enable(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._storage.updateConfiguration({enabled:e}),this}setLevel(e){return this._storage.updateConfiguration({level:e}),this}get(e){return this._storage.config[e]}set(e,t){this._storage.updateConfiguration({[e]:t})}settings(){console.table?console.table(this._storage.config):console.log(this._storage.config)}assert(e,t){u(e,t)}warn(e){return this._getLogFunction(0,e,g.warn,arguments,y)}error(e){return this._getLogFunction(0,e,g.error,arguments)}deprecated(e,t){return this.warn("`".concat(e,"` is deprecated and will be removed in a later version. Use `").concat(t,"` instead"))}removed(e,t){return this.error("`".concat(e,"` has been removed. Use `").concat(t,"` instead"))}probe(e,t){return this._getLogFunction(e,t,g.log,arguments,{time:!0,once:!0})}log(e,t){return this._getLogFunction(e,t,g.debug,arguments)}info(e,t){return this._getLogFunction(e,t,console.info,arguments)}once(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i{const t=s(e,n,r);console.log(...t)},e.src=t,A}const i=t.nodeName||"";if("img"===i.toLowerCase())return console.log(...s(t,n,r)),A;if("canvas"===i.toLowerCase()){const e=new Image;return e.onload=()=>console.log(...s(e,n,r)),e.src=t.toDataURL(),A}return A}({image:o,message:a,scale:l}):function(e){let{image:t,message:r="",scale:i=1}=e,o=null;try{o=n(80758)}catch(a){}if(o)return()=>o(t,{fit:"box",width:"".concat(Math.round(80*i),"%")}).then((e=>console.log(e)));return A}({image:o,message:a,scale:l}):A}time(e,t){return this._getLogFunction(e,t,console.time?console.time:console.info)}timeEnd(e,t){return this._getLogFunction(e,t,console.timeEnd?console.timeEnd:console.info)}timeStamp(e,t){return this._getLogFunction(e,t,console.timeStamp||A)}group(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{collapsed:!1};const r=w({logLevel:e,message:t,opts:n}),{collapsed:i}=n;return r.method=(i?console.groupCollapsed:console.group)||console.info,this._getLogFunction(r)}groupCollapsed(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.group(e,t,Object.assign({},n,{collapsed:!0}))}groupEnd(e){return this._getLogFunction(e,"",console.groupEnd||A)}withGroup(e,t,n){this.group(e,t)();try{n()}finally{this.groupEnd(e)()}}trace(){console.trace&&console.trace()}_shouldLog(e){return this.isEnabled()&&this.getLevel()>=_(e)}_getLogFunction(e,t,n,r,o){if(this._shouldLog(e)){o=w({logLevel:e,message:t,args:r,opts:o}),u(n=n||o.method),o.total=this.getTotal(),o.delta=this.getDelta(),this._deltaTs=p();const a=o.tag||o.message;if(o.once){if(v[a])return A;v[a]=p()}return t=function(e,t,n){if("string"===typeof t){const s=n.time?function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8;const n=Math.max(t-e.length,0);return"".concat(" ".repeat(n)).concat(e)}(function(e){let t;return t=e<10?"".concat(e.toFixed(2),"ms"):e<100?"".concat(e.toFixed(1),"ms"):e<1e3?"".concat(e.toFixed(0),"ms"):"".concat((e/1e3).toFixed(2),"s"),t}(n.total)):"";t=n.time?"".concat(e,": ").concat(s," ").concat(t):"".concat(e,": ").concat(t),r=t,o=n.color,a=n.background,i.Z||"string"!==typeof r||(o&&(o=c(o),r="\x1b[".concat(o,"m").concat(r,"\x1b[39m")),a&&(o=c(a),r="\x1b[".concat(a+10,"m").concat(r,"\x1b[49m"))),t=r}var r,o,a;return t}(this.id,o.message,o),n.bind(console,t,...o.args)}return A}}function _(e){if(!e)return 0;let t;switch(typeof e){case"number":t=e;break;case"object":t=e.logLevel||e.priority||0;break;default:return 0}return u(Number.isFinite(t)&&t>=0),t}function w(e){const{logLevel:t,message:n}=e;e.logLevel=_(t);const r=e.args?Array.from(e.args):[];for(;r.length&&r.shift()!==n;);switch(typeof t){case"string":case"function":void 0!==n&&r.unshift(n),e.message=t;break;case"object":Object.assign(e,t)}"function"===typeof e.message&&(e.message=e.message());const i=typeof e.message;return u("string"===i||"object"===i),Object.assign(e,{args:r},e.opts)}function x(e){for(const t in e)for(const n in e[t])return n||"untitled";return"empty"}(0,r.Z)(b,"VERSION",o)},89069:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(68185);function i(){let e;if("undefined"!==typeof window&&window.performance)e=window.performance.now();else if("undefined"!==typeof process&&process.hrtime){const t=process.hrtime();e=1e3*t[0]+t[1]/1e6}else e=Date.now();return e}class o{constructor(e,t){(0,r.Z)(this,"name",void 0),(0,r.Z)(this,"type",void 0),(0,r.Z)(this,"sampleSize",1),(0,r.Z)(this,"time",void 0),(0,r.Z)(this,"count",void 0),(0,r.Z)(this,"samples",void 0),(0,r.Z)(this,"lastTiming",void 0),(0,r.Z)(this,"lastSampleTime",void 0),(0,r.Z)(this,"lastSampleCount",void 0),(0,r.Z)(this,"_count",0),(0,r.Z)(this,"_time",0),(0,r.Z)(this,"_samples",0),(0,r.Z)(this,"_startTime",0),(0,r.Z)(this,"_timerPending",!1),this.name=e,this.type=t,this.reset()}setSampleSize(e){return this.sampleSize=e,this}incrementCount(){return this.addCount(1),this}decrementCount(){return this.subtractCount(1),this}addCount(e){return this._count+=e,this._samples++,this._checkSampling(),this}subtractCount(e){return this._count-=e,this._samples++,this._checkSampling(),this}addTime(e){return this._time+=e,this.lastTiming=e,this._samples++,this._checkSampling(),this}timeStart(){return this._startTime=i(),this._timerPending=!0,this}timeEnd(){return this._timerPending?(this.addTime(i()-this._startTime),this._timerPending=!1,this._checkSampling(),this):this}getSampleAverageCount(){return this.sampleSize>0?this.lastSampleCount/this.sampleSize:0}getSampleAverageTime(){return this.sampleSize>0?this.lastSampleTime/this.sampleSize:0}getSampleHz(){return this.lastSampleTime>0?this.sampleSize/(this.lastSampleTime/1e3):0}getAverageCount(){return this.samples>0?this.count/this.samples:0}getAverageTime(){return this.samples>0?this.time/this.samples:0}getHz(){return this.time>0?this.samples/(this.time/1e3):0}reset(){return this.time=0,this.count=0,this.samples=0,this.lastTiming=0,this.lastSampleTime=0,this.lastSampleCount=0,this._count=0,this._time=0,this._samples=0,this._startTime=0,this._timerPending=!1,this}_checkSampling(){this._samples===this.sampleSize&&(this.lastSampleTime=this._time,this.lastSampleCount=this._count,this.count+=this._count,this.time+=this._time,this.samples+=this._samples,this._time=0,this._count=0,this._samples=0)}}class a{constructor(e){(0,r.Z)(this,"id",void 0),(0,r.Z)(this,"stats",{}),this.id=e.id,this.stats={},this._initializeStats(e.stats),Object.seal(this)}get(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"count";return this._getOrCreate({name:e,type:t})}get size(){return Object.keys(this.stats).length}reset(){for(const e in this.stats)this.stats[e].reset();return this}forEach(e){for(const t in this.stats)e(this.stats[t])}getTable(){const e={};return this.forEach((t=>{e[t.name]={time:t.time||0,count:t.count||0,average:t.getAverageTime()||0,hz:t.getHz()||0}})),e}_initializeStats(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((e=>this._getOrCreate(e)))}_getOrCreate(e){if(!e||!e.name)return null;const{name:t,type:n}=e;return this.stats[t]||(this.stats[t]=e instanceof o?e:new o(t,n)),this.stats[t]}}},34282:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var r=n(13747),i=n(57435),o=n(33882),a=n(20749),s=(n(98162),n(43903));const l=i.createContext(null);var c=n(22368),u=n(12750),d=[];var h=n(86263),f=n(53047);var p="rc-util-locker-".concat(Date.now()),g=0;function m(e){var t=!!e,n=i.useState((function(){return g+=1,"".concat(p,"_").concat(g)})),o=(0,r.Z)(n,1)[0];(0,u.Z)((function(){if(t){var e=(0,f.o)(document.body).width,n=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,h.hq)("\nhtml body {\n overflow-y: hidden;\n ".concat(n?"width: calc(100% - ".concat(e,"px);"):"","\n}"),o)}else(0,h.jL)(o);return function(){(0,h.jL)(o)}}),[t,o])}var A=!1;var v=function(e){return!1!==e&&((0,a.Z)()&&e?"string"===typeof e?document.querySelector(e):"function"===typeof e?e():e:null)};const y=i.forwardRef((function(e,t){var n=e.open,h=e.autoLock,f=e.getContainer,p=(e.debug,e.autoDestroy),g=void 0===p||p,y=e.children,b=i.useState(n),_=(0,r.Z)(b,2),w=_[0],x=_[1],E=w||n;i.useEffect((function(){(g||n)&&x(n)}),[n,g]);var S=i.useState((function(){return v(f)})),C=(0,r.Z)(S,2),P=C[0],T=C[1];i.useEffect((function(){var e=v(f);T(null!==e&&void 0!==e?e:null)}));var M=function(e,t){var n=i.useState((function(){return(0,a.Z)()?document.createElement("div"):null})),o=(0,r.Z)(n,1)[0],s=i.useRef(!1),h=i.useContext(l),f=i.useState(d),p=(0,r.Z)(f,2),g=p[0],m=p[1],A=h||(s.current?void 0:function(e){m((function(t){return[e].concat((0,c.Z)(t))}))});function v(){o.parentElement||document.body.appendChild(o),s.current=!0}function y(){var e;null===(e=o.parentElement)||void 0===e||e.removeChild(o),s.current=!1}return(0,u.Z)((function(){return e?h?h(v):v():y(),y}),[e]),(0,u.Z)((function(){g.length&&(g.forEach((function(e){return e()})),m(d))}),[g]),[o,A]}(E&&!P),k=(0,r.Z)(M,2),R=k[0],O=k[1],I=null!==P&&void 0!==P?P:R;m(h&&n&&(0,a.Z)()&&(I===R||I===document.body));var L=null;y&&(0,s.Yr)(y)&&t&&(L=y.ref);var D=(0,s.x1)(L,t);if(!E||!(0,a.Z)()||void 0===P)return null;var N,F=!1===I||("boolean"===typeof N&&(A=N),A),j=y;return t&&(j=i.cloneElement(y,{ref:D})),i.createElement(l.Provider,{value:O},F?j:(0,o.createPortal)(j,I))}))},91084:(e,t,n)=>{"use strict";n.d(t,{Z:()=>U});var r=n(35194),i=n(13747),o=n(99309),a=n(34282),s=n(12356),l=n.n(s),c=n(61236),u=n(48541),d=n(13834),h=n(73165),f=n(71589),p=n(12750),g=n(90479),m=n(57435),A=n(91010),v=n(9817),y=n(43903);function b(e){var t=e.prefixCls,n=e.align,r=e.arrow,i=e.arrowPos,o=r||{},a=o.className,s=o.content,c=i.x,u=void 0===c?0:c,d=i.y,h=void 0===d?0:d,f=m.useRef();if(!n||!n.points)return null;var p={position:"absolute"};if(!1!==n.autoArrow){var g=n.points[0],A=n.points[1],v=g[0],y=g[1],b=A[0],_=A[1];v!==b&&["t","b"].includes(v)?"t"===v?p.top=0:p.bottom=0:p.top=h,y!==_&&["l","r"].includes(y)?"l"===y?p.left=0:p.right=0:p.left=u}return m.createElement("div",{ref:f,className:l()("".concat(t,"-arrow"),a),style:p},s)}function _(e){var t=e.prefixCls,n=e.open,r=e.zIndex,i=e.mask,o=e.motion;return i?m.createElement(v.ZP,(0,A.Z)({},o,{motionAppear:!0,visible:n,removeOnLeave:!0}),(function(e){var n=e.className;return m.createElement("div",{style:{zIndex:r},className:l()("".concat(t,"-mask"),n)})})):null}const w=m.memo((function(e){return e.children}),(function(e,t){return t.cache}));const x=m.forwardRef((function(e,t){var n=e.popup,o=e.className,a=e.prefixCls,s=e.style,u=e.target,d=e.onVisibleChanged,h=e.open,f=e.keepDom,g=e.fresh,x=e.onClick,E=e.mask,S=e.arrow,C=e.arrowPos,P=e.align,T=e.motion,M=e.maskMotion,k=e.forceRender,R=e.getPopupContainer,O=e.autoDestroy,I=e.portal,L=e.zIndex,D=e.onMouseEnter,N=e.onMouseLeave,F=e.onPointerEnter,j=e.ready,B=e.offsetX,z=e.offsetY,Z=e.offsetR,U=e.offsetB,H=e.onAlign,V=e.onPrepare,G=e.stretch,W=e.targetWidth,q=e.targetHeight,Y="function"===typeof n?n():n,X=h||f,K=(null===R||void 0===R?void 0:R.length)>0,Q=m.useState(!R||!K),$=(0,i.Z)(Q,2),J=$[0],ee=$[1];if((0,p.Z)((function(){!J&&K&&u&&ee(!0)}),[J,K,u]),!J)return null;var te="auto",ne={left:"-1000vw",top:"-1000vh",right:te,bottom:te};if(j||!h){var re,ie=P.points,oe=P.dynamicInset||(null===(re=P._experimental)||void 0===re?void 0:re.dynamicInset),ae=oe&&"r"===ie[0][1],se=oe&&"b"===ie[0][0];ae?(ne.right=Z,ne.left=te):(ne.left=B,ne.right=te),se?(ne.bottom=U,ne.top=te):(ne.top=z,ne.bottom=te)}var le={};return G&&(G.includes("height")&&q?le.height=q:G.includes("minHeight")&&q&&(le.minHeight=q),G.includes("width")&&W?le.width=W:G.includes("minWidth")&&W&&(le.minWidth=W)),h||(le.pointerEvents="none"),m.createElement(I,{open:k||X,getContainer:R&&function(){return R(u)},autoDestroy:O},m.createElement(_,{prefixCls:a,open:h,zIndex:L,mask:E,motion:M}),m.createElement(c.Z,{onResize:H,disabled:!h},(function(e){return m.createElement(v.ZP,(0,A.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:k,leavedClassName:"".concat(a,"-hidden")},T,{onAppearPrepare:V,onEnterPrepare:V,visible:h,onVisibleChanged:function(e){var t;null===T||void 0===T||null===(t=T.onVisibleChanged)||void 0===t||t.call(T,e),d(e)}}),(function(n,i){var c=n.className,u=n.style,d=l()(a,c,o);return m.createElement("div",{ref:(0,y.sQ)(e,t,i),className:d,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(C.x||0,"px"),"--arrow-y":"".concat(C.y||0,"px")},ne),le),u),{},{boxSizing:"border-box",zIndex:L},s),onMouseEnter:D,onMouseLeave:N,onPointerEnter:F,onClick:x},S&&m.createElement(b,{prefixCls:a,arrow:S,arrowPos:C,align:P}),m.createElement(w,{cache:!h&&!g},Y))}))})))}));const E=m.forwardRef((function(e,t){var n=e.children,r=e.getTriggerDOMNode,i=(0,y.Yr)(n),o=m.useCallback((function(e){(0,y.mH)(t,r?r(e):e)}),[r]),a=(0,y.x1)(o,n.ref);return i?m.cloneElement(n,{ref:a}):n}));const S=m.createContext(null);function C(e){return e?Array.isArray(e)?e:[e]:[]}var P=n(26842);function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(arguments.length>2?arguments[2]:void 0)?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function M(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function k(e){return e.ownerDocument.defaultView}function R(e){for(var t=[],n=null===e||void 0===e?void 0:e.parentElement,r=["hidden","scroll","clip","auto"];n;){var i=k(n).getComputedStyle(n);[i.overflowX,i.overflowY,i.overflow].some((function(e){return r.includes(e)}))&&t.push(n),n=n.parentElement}return t}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function I(e){return O(parseFloat(e),0)}function L(e,t){var n=(0,r.Z)({},e);return(t||[]).forEach((function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=k(e).getComputedStyle(e),r=t.overflow,i=t.overflowClipMargin,o=t.borderTopWidth,a=t.borderBottomWidth,s=t.borderLeftWidth,l=t.borderRightWidth,c=e.getBoundingClientRect(),u=e.offsetHeight,d=e.clientHeight,h=e.offsetWidth,f=e.clientWidth,p=I(o),g=I(a),m=I(s),A=I(l),v=O(Math.round(c.width/h*1e3)/1e3),y=O(Math.round(c.height/u*1e3)/1e3),b=(h-f-m-A)*v,_=(u-d-p-g)*y,w=p*y,x=g*y,E=m*v,S=A*v,C=0,P=0;if("clip"===r){var T=I(i);C=T*v,P=T*y}var M=c.x+E-C,R=c.y+w-P,L=M+c.width+2*C-E-S-b,D=R+c.height+2*P-w-x-_;n.left=Math.max(n.left,M),n.top=Math.max(n.top,R),n.right=Math.min(n.right,L),n.bottom=Math.min(n.bottom,D)}})),n}function D(e){var t="".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),n=t.match(/^(.*)\%$/);return n?e*(parseFloat(n[1])/100):parseFloat(t)}function N(e,t){var n=t||[],r=(0,i.Z)(n,2),o=r[0],a=r[1];return[D(e.width,o),D(e.height,a)]}function F(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function j(e,t){var n,r=t[0],i=t[1];return n="t"===r?e.y:"b"===r?e.y+e.height:e.y+e.height/2,{x:"l"===i?e.x:"r"===i?e.x+e.width:e.x+e.width/2,y:n}}function B(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map((function(e,r){return r===t?n[e]||"c":e})).join("")}var z=n(22368);n(98162);var Z=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];const U=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.Z;return m.forwardRef((function(t,n){var a=t.prefixCls,s=void 0===a?"rc-trigger-popup":a,A=t.children,v=t.action,y=void 0===v?"hover":v,b=t.showAction,_=t.hideAction,w=t.popupVisible,I=t.defaultPopupVisible,D=t.onPopupVisibleChange,U=t.afterPopupVisibleChange,H=t.mouseEnterDelay,V=t.mouseLeaveDelay,G=void 0===V?.1:V,W=t.focusDelay,q=t.blurDelay,Y=t.mask,X=t.maskClosable,K=void 0===X||X,Q=t.getPopupContainer,$=t.forceRender,J=t.autoDestroy,ee=t.destroyPopupOnHide,te=t.popup,ne=t.popupClassName,re=t.popupStyle,ie=t.popupPlacement,oe=t.builtinPlacements,ae=void 0===oe?{}:oe,se=t.popupAlign,le=t.zIndex,ce=t.stretch,ue=t.getPopupClassNameFromAlign,de=t.fresh,he=t.alignPoint,fe=t.onPopupClick,pe=t.onPopupAlign,ge=t.arrow,me=t.popupMotion,Ae=t.maskMotion,ve=t.popupTransitionName,ye=t.popupAnimation,be=t.maskTransitionName,_e=t.maskAnimation,we=t.className,xe=t.getTriggerDOMNode,Ee=(0,o.Z)(t,Z),Se=J||ee||!1,Ce=m.useState(!1),Pe=(0,i.Z)(Ce,2),Te=Pe[0],Me=Pe[1];(0,p.Z)((function(){Me((0,g.Z)())}),[]);var ke=m.useRef({}),Re=m.useContext(S),Oe=m.useMemo((function(){return{registerSubPopup:function(e,t){ke.current[e]=t,null===Re||void 0===Re||Re.registerSubPopup(e,t)}}}),[Re]),Ie=(0,f.Z)(),Le=m.useState(null),De=(0,i.Z)(Le,2),Ne=De[0],Fe=De[1],je=(0,h.Z)((function(e){(0,u.S)(e)&&Ne!==e&&Fe(e),null===Re||void 0===Re||Re.registerSubPopup(Ie,e)})),Be=m.useState(null),ze=(0,i.Z)(Be,2),Ze=ze[0],Ue=ze[1],He=m.useRef(null),Ve=(0,h.Z)((function(e){(0,u.S)(e)&&Ze!==e&&(Ue(e),He.current=e)})),Ge=m.Children.only(A),We=(null===Ge||void 0===Ge?void 0:Ge.props)||{},qe={},Ye=(0,h.Z)((function(e){var t,n,r=Ze;return(null===r||void 0===r?void 0:r.contains(e))||(null===(t=(0,d.A)(r))||void 0===t?void 0:t.host)===e||e===r||(null===Ne||void 0===Ne?void 0:Ne.contains(e))||(null===(n=(0,d.A)(Ne))||void 0===n?void 0:n.host)===e||e===Ne||Object.values(ke.current).some((function(t){return(null===t||void 0===t?void 0:t.contains(e))||e===t}))})),Xe=M(s,me,ye,ve),Ke=M(s,Ae,_e,be),Qe=m.useState(I||!1),$e=(0,i.Z)(Qe,2),Je=$e[0],et=$e[1],tt=null!==w&&void 0!==w?w:Je,nt=(0,h.Z)((function(e){void 0===w&&et(e)}));(0,p.Z)((function(){et(w||!1)}),[w]);var rt=m.useRef(tt);rt.current=tt;var it=m.useRef([]);it.current=[];var ot=(0,h.Z)((function(e){var t;nt(e),(null!==(t=it.current[it.current.length-1])&&void 0!==t?t:tt)!==e&&(it.current.push(e),null===D||void 0===D||D(e))})),at=m.useRef(),st=function(){clearTimeout(at.current)},lt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;st(),0===t?ot(e):at.current=setTimeout((function(){ot(e)}),1e3*t)};m.useEffect((function(){return st}),[]);var ct=m.useState(!1),ut=(0,i.Z)(ct,2),dt=ut[0],ht=ut[1];(0,p.Z)((function(e){e&&!tt||ht(!0)}),[tt]);var ft=m.useState(null),pt=(0,i.Z)(ft,2),gt=pt[0],mt=pt[1],At=m.useState([0,0]),vt=(0,i.Z)(At,2),yt=vt[0],bt=vt[1],_t=function(e){bt([e.clientX,e.clientY])},wt=function(e,t,n,o,a,s,l){var c=m.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:a[o]||{}}),d=(0,i.Z)(c,2),f=d[0],g=d[1],A=m.useRef(0),v=m.useMemo((function(){return t?R(t):[]}),[t]),y=m.useRef({});e||(y.current={});var b=(0,h.Z)((function(){if(t&&n&&e){var c,d,h,f=t,p=f.ownerDocument,m=k(f).getComputedStyle(f),A=m.width,b=m.height,_=m.position,w=f.style.left,x=f.style.top,E=f.style.right,S=f.style.bottom,C=f.style.overflow,T=(0,r.Z)((0,r.Z)({},a[o]),s),M=p.createElement("div");if(null===(c=f.parentElement)||void 0===c||c.appendChild(M),M.style.left="".concat(f.offsetLeft,"px"),M.style.top="".concat(f.offsetTop,"px"),M.style.position=_,M.style.height="".concat(f.offsetHeight,"px"),M.style.width="".concat(f.offsetWidth,"px"),f.style.left="0",f.style.top="0",f.style.right="auto",f.style.bottom="auto",f.style.overflow="hidden",Array.isArray(n))h={x:n[0],y:n[1],width:0,height:0};else{var R=n.getBoundingClientRect();h={x:R.x,y:R.y,width:R.width,height:R.height}}var I=f.getBoundingClientRect(),D=p.documentElement,z=D.clientWidth,Z=D.clientHeight,U=D.scrollWidth,H=D.scrollHeight,V=D.scrollTop,G=D.scrollLeft,W=I.height,q=I.width,Y=h.height,X=h.width,K={left:0,top:0,right:z,bottom:Z},Q={left:-G,top:-V,right:U-G,bottom:H-V},$=T.htmlRegion,J="visible",ee="visibleFirst";"scroll"!==$&&$!==ee&&($=J);var te=$===ee,ne=L(Q,v),re=L(K,v),ie=$===J?re:ne,oe=te?re:ie;f.style.left="auto",f.style.top="auto",f.style.right="0",f.style.bottom="0";var ae=f.getBoundingClientRect();f.style.left=w,f.style.top=x,f.style.right=E,f.style.bottom=S,f.style.overflow=C,null===(d=f.parentElement)||void 0===d||d.removeChild(M);var se=O(Math.round(q/parseFloat(A)*1e3)/1e3),le=O(Math.round(W/parseFloat(b)*1e3)/1e3);if(0===se||0===le||(0,u.S)(n)&&!(0,P.Z)(n))return;var ce=T.offset,ue=T.targetOffset,de=N(I,ce),he=(0,i.Z)(de,2),fe=he[0],pe=he[1],ge=N(h,ue),me=(0,i.Z)(ge,2),Ae=me[0],ve=me[1];h.x-=Ae,h.y-=ve;var ye=T.points||[],be=(0,i.Z)(ye,2),_e=be[0],we=F(be[1]),xe=F(_e),Ee=j(h,we),Se=j(I,xe),Ce=(0,r.Z)({},T),Pe=Ee.x-Se.x+fe,Te=Ee.y-Se.y+pe;function _t(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ie,r=I.x+e,i=I.y+t,o=r+q,a=i+W,s=Math.max(r,n.left),l=Math.max(i,n.top),c=Math.min(o,n.right),u=Math.min(a,n.bottom);return Math.max(0,(c-s)*(u-l))}var Me,ke,Re,Oe,Ie=_t(Pe,Te),Le=_t(Pe,Te,re),De=j(h,["t","l"]),Ne=j(I,["t","l"]),Fe=j(h,["b","r"]),je=j(I,["b","r"]),Be=T.overflow||{},ze=Be.adjustX,Ze=Be.adjustY,Ue=Be.shiftX,He=Be.shiftY,Ve=function(e){return"boolean"===typeof e?e:e>=0};function wt(){Me=I.y+Te,ke=Me+W,Re=I.x+Pe,Oe=Re+q}wt();var Ge=Ve(Ze),We=xe[0]===we[0];if(Ge&&"t"===xe[0]&&(ke>oe.bottom||y.current.bt)){var qe=Te;We?qe-=W-Y:qe=De.y-je.y-pe;var Ye=_t(Pe,qe),Xe=_t(Pe,qe,re);Ye>Ie||Ye===Ie&&(!te||Xe>=Le)?(y.current.bt=!0,Te=qe,pe=-pe,Ce.points=[B(xe,0),B(we,0)]):y.current.bt=!1}if(Ge&&"b"===xe[0]&&(MeIe||Qe===Ie&&(!te||$e>=Le)?(y.current.tb=!0,Te=Ke,pe=-pe,Ce.points=[B(xe,0),B(we,0)]):y.current.tb=!1}var Je=Ve(ze),et=xe[1]===we[1];if(Je&&"l"===xe[1]&&(Oe>oe.right||y.current.rl)){var tt=Pe;et?tt-=q-X:tt=De.x-je.x-fe;var nt=_t(tt,Te),rt=_t(tt,Te,re);nt>Ie||nt===Ie&&(!te||rt>=Le)?(y.current.rl=!0,Pe=tt,fe=-fe,Ce.points=[B(xe,1),B(we,1)]):y.current.rl=!1}if(Je&&"r"===xe[1]&&(ReIe||ot===Ie&&(!te||at>=Le)?(y.current.lr=!0,Pe=it,fe=-fe,Ce.points=[B(xe,1),B(we,1)]):y.current.lr=!1}wt();var st=!0===Ue?0:Ue;"number"===typeof st&&(Rere.right&&(Pe-=Oe-re.right-fe,h.x>re.right-st&&(Pe+=h.x-re.right+st)));var lt=!0===He?0:He;"number"===typeof lt&&(Mere.bottom&&(Te-=ke-re.bottom-pe,h.y>re.bottom-lt&&(Te+=h.y-re.bottom+lt)));var ct=I.x+Pe,ut=ct+q,dt=I.y+Te,ht=dt+W,ft=h.x,pt=ft+X,gt=h.y,mt=gt+Y,At=(Math.max(ct,ft)+Math.min(ut,pt))/2-ct,vt=(Math.max(dt,gt)+Math.min(ht,mt))/2-dt;null===l||void 0===l||l(t,Ce);var yt=ae.right-I.x-(Pe+I.width),bt=ae.bottom-I.y-(Te+I.height);g({ready:!0,offsetX:Pe/se,offsetY:Te/le,offsetR:yt/se,offsetB:bt/le,arrowX:At/se,arrowY:vt/le,scaleX:se,scaleY:le,align:Ce})}})),_=function(){g((function(e){return(0,r.Z)((0,r.Z)({},e),{},{ready:!1})}))};return(0,p.Z)(_,[o]),(0,p.Z)((function(){e||_()}),[e]),[f.ready,f.offsetX,f.offsetY,f.offsetR,f.offsetB,f.arrowX,f.arrowY,f.scaleX,f.scaleY,f.align,function(){A.current+=1;var e=A.current;Promise.resolve().then((function(){A.current===e&&b()}))}]}(tt,Ne,he?yt:Ze,ie,ae,se,pe),xt=(0,i.Z)(wt,11),Et=xt[0],St=xt[1],Ct=xt[2],Pt=xt[3],Tt=xt[4],Mt=xt[5],kt=xt[6],Rt=xt[7],Ot=xt[8],It=xt[9],Lt=xt[10],Dt=function(e,t,n,r){return m.useMemo((function(){var i=C(null!==n&&void 0!==n?n:t),o=C(null!==r&&void 0!==r?r:t),a=new Set(i),s=new Set(o);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),s.has("hover")&&(s.delete("hover"),s.add("click"))),[a,s]}),[e,t,n,r])}(Te,y,b,_),Nt=(0,i.Z)(Dt,2),Ft=Nt[0],jt=Nt[1],Bt=Ft.has("click"),zt=jt.has("click")||jt.has("contextMenu"),Zt=(0,h.Z)((function(){dt||Lt()}));!function(e,t,n,r,i){(0,p.Z)((function(){if(e&&t&&n){var o=n,a=R(t),s=R(o),l=k(o),c=new Set([l].concat((0,z.Z)(a),(0,z.Z)(s)));function u(){r(),i()}return c.forEach((function(e){e.addEventListener("scroll",u,{passive:!0})})),l.addEventListener("resize",u,{passive:!0}),r(),function(){c.forEach((function(e){e.removeEventListener("scroll",u),l.removeEventListener("resize",u)}))}}}),[e,t,n])}(tt,Ze,Ne,Zt,(function(){rt.current&&he&&zt&<(!1)})),(0,p.Z)((function(){Zt()}),[yt,ie]),(0,p.Z)((function(){!tt||null!==ae&&void 0!==ae&&ae[ie]||Zt()}),[JSON.stringify(se)]);var Ut=m.useMemo((function(){var e=function(e,t,n,r){for(var i=n.points,o=Object.keys(e),a=0;a1?a-1:0),l=1;l1?n-1:0),i=1;i1?n-1:0),i=1;i{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;tP,J0:()=>s,LX:()=>T,RQ:()=>D,WK:()=>z,X3:()=>B,Zn:()=>k,aU:()=>i,cP:()=>h,cm:()=>I,fp:()=>g,pC:()=>L,q_:()=>a}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(i||(i={}));const o="popstate";function a(e){return void 0===e&&(e={}),f((function(e,t){let{pathname:n="/",search:r="",hash:i=""}=h(e.location.hash.substr(1));return n.startsWith("/")||n.startsWith(".")||(n="/"+n),u("",{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"===typeof t?t:d(t))}),(function(e,t){l("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),e)}function s(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function l(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function c(e,t){return{usr:e.state,key:e.key,idx:t}}function u(e,t,n,i){return void 0===n&&(n=null),r({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?h(t):t,{state:n,key:t&&t.key||i||Math.random().toString(36).substr(2,8)})}function d(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function h(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function f(e,t,n,a){void 0===a&&(a={});let{window:l=document.defaultView,v5Compat:h=!1}=a,f=l.history,p=i.Pop,g=null,m=A();function A(){return(f.state||{idx:null}).idx}function v(){p=i.Pop;let e=A(),t=null==e?null:e-m;m=e,g&&g({action:p,location:b.location,delta:t})}function y(e){let t="null"!==l.location.origin?l.location.origin:l.location.href,n="string"===typeof e?e:d(e);return n=n.replace(/ $/,"%20"),s(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==m&&(m=0,f.replaceState(r({},f.state,{idx:m}),""));let b={get action(){return p},get location(){return e(l,f)},listen(e){if(g)throw new Error("A history only accepts one active listener");return l.addEventListener(o,v),g=e,()=>{l.removeEventListener(o,v),g=null}},createHref:e=>t(l,e),createURL:y,encodeLocation(e){let t=y(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){p=i.Push;let r=u(b.location,e,t);n&&n(r,e),m=A()+1;let o=c(r,m),a=b.createHref(r);try{f.pushState(o,"",a)}catch(s){if(s instanceof DOMException&&"DataCloneError"===s.name)throw s;l.location.assign(a)}h&&g&&g({action:p,location:b.location,delta:1})},replace:function(e,t){p=i.Replace;let r=u(b.location,e,t);n&&n(r,e),m=A();let o=c(r,m),a=b.createHref(r);f.replaceState(o,"",a),h&&g&&g({action:p,location:b.location,delta:0})},go:e=>f.go(e)};return b}var p;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(p||(p={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function g(e,t,n){void 0===n&&(n="/");let r=k(("string"===typeof t?h(t):t).pathname||"/",n);if(null==r)return null;let i=m(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(i);let o=null;for(let a=0;null==o&&a{let a={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:i,route:e};a.relativePath.startsWith("/")&&(s(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));let l=D([r,a.relativePath]),c=n.concat(a);e.children&&e.children.length>0&&(s(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+l+'".'),m(e.children,t,c,l)),(null!=e.path||e.index)&&t.push({path:l,score:S(l,e.index),routesMeta:c})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let r of A(e.path))i(e,t,r);else i(e,t)})),t}function A(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(0===r.length)return i?[o,""]:[o];let a=A(r.join("/")),s=[];return s.push(...a.map((e=>""===e?o:[o,e].join("/")))),i&&s.push(...a),s.map((t=>e.startsWith("/")&&""===t?"/":t))}const v=/^:[\w-]+$/,y=3,b=2,_=1,w=10,x=-2,E=e=>"*"===e;function S(e,t){let n=e.split("/"),r=n.length;return n.some(E)&&(r+=x),t&&(r+=b),n.filter((e=>!E(e))).reduce(((e,t)=>e+(v.test(t)?y:""===t?_:w)),r)}function C(e,t){let{routesMeta:n}=e,r={},i="/",o=[];for(let a=0;anull==e?"":"string"===typeof e?e:String(e);return r+n.split(/\/+/).map(((e,n,r)=>{if(n===r.length-1&&"*"===e){return i(t["*"])}const o=e.match(/^:([\w-]+)(\??)$/);if(o){const[,e,n]=o;let r=t[e];return s("?"===n||null!=r,'Missing ":'+e+'" param'),i(r)}return e.replace(/\?$/g,"")})).filter((e=>!!e)).join("/")}function T(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);l("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(r.push({paramName:"*"}),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":""!==e&&"/"!==e&&(i+="(?:(?=\\/|$))");let o=new RegExp(i,t?void 0:"i");return[o,r]}(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let o=i[0],a=o.replace(/(.)\/+$/,"$1"),s=i.slice(1);return{params:r.reduce(((e,t,n)=>{let{paramName:r,isOptional:i}=t;if("*"===r){let e=s[n]||"";a=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const l=s[n];return e[r]=i&&!l?void 0:(l||"").replace(/%2F/g,"/"),e}),{}),pathname:o,pathnameBase:a,pattern:e}}function M(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return l(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function k(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function R(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function O(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function I(e,t){let n=O(e);return t?n.map(((t,n)=>n===e.length-1?t.pathname:t.pathnameBase)):n.map((e=>e.pathnameBase))}function L(e,t,n,i){let o;void 0===i&&(i=!1),"string"===typeof e?o=h(e):(o=r({},e),s(!o.pathname||!o.pathname.includes("?"),R("?","pathname","search",o)),s(!o.pathname||!o.pathname.includes("#"),R("#","pathname","hash",o)),s(!o.search||!o.search.includes("#"),R("#","search","hash",o)));let a,l=""===e||""===o.pathname,c=l?"/":o.pathname;if(null==c)a=n;else{let e=t.length-1;if(!i&&c.startsWith("..")){let t=c.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}a=e>=0?t[e]:"/"}let u=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:i=""}="string"===typeof e?h(e):e,o=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:o,search:F(r),hash:j(i)}}(o,a),d=c&&"/"!==c&&c.endsWith("/"),f=(l||"."===c)&&n.endsWith("/");return u.pathname.endsWith("/")||!d&&!f||(u.pathname+="/"),u}const D=e=>e.join("/").replace(/\/\/+/g,"/"),N=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),F=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",j=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class B extends Error{}function z(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}const Z=["post","put","patch","delete"],U=(new Set(Z),["get",...Z]);new Set(U),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred")},36694:(e,t,n)=>{"use strict";n.d(t,{e:()=>D});var r=n(1050);function i(){var e=(0,r.R)(),t=e.crypto||e.msCrypto;if(void 0!==t&&t.getRandomValues){var n=new Uint16Array(8);t.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;var i=e=>{let t=e.toString(16);for(;t.length<4;)t="0".concat(t);return t};return i(n[0])+i(n[1])+i(n[2])+i(n[3])+i(n[4])+i(n[5])+i(n[6])+i(n[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(e=>{var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}var o=n(42898),a="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,s=(0,r.R)(),l=["debug","info","warn","error","log","assert"];function c(e){var t=(0,r.R)();if(!("console"in t))return e();var n=t.console,i={};l.forEach((e=>{var r=n[e]&&n[e].__sentry_original__;e in t.console&&r&&(i[e]=n[e],n[e]=r)}));try{return e()}finally{Object.keys(i).forEach((e=>{n[e]=i[e]}))}}function u(){let e=!1;var t={enable:()=>{e=!0},disable:()=>{e=!1}};return a?l.forEach((n=>{t[n]=function(){for(var t=arguments.length,r=new Array(t),i=0;i{s.console[n]("".concat("Sentry Logger ","[").concat(n,"]:"),...r)}))}})):l.forEach((e=>{t[e]=()=>{}})),t}let d;d=a?(0,r.Y)("logger",u):u();var h,f=n(6920),p="undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,g=Object.prototype.toString;function m(e,t){return g.call(e)==="[object ".concat(t,"]")}function A(e){return m(e,"Object")}function v(e){return Boolean(e&&e.then&&"function"===typeof e.then)}!function(e){e[e.PENDING=0]="PENDING";e[e.RESOLVED=1]="RESOLVED";e[e.REJECTED=2]="REJECTED"}(h||(h={}));class y{__init(){this._state=h.PENDING}__init2(){this._handlers=[]}constructor(e){y.prototype.__init.call(this),y.prototype.__init2.call(this),y.prototype.__init3.call(this),y.prototype.__init4.call(this),y.prototype.__init5.call(this),y.prototype.__init6.call(this);try{e(this._resolve,this._reject)}catch(t){this._reject(t)}}then(e,t){return new y(((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(i){r(i)}else n(t)},e=>{if(t)try{n(t(e))}catch(i){r(i)}else r(e)}]),this._executeHandlers()}))}catch(e){return this.then((e=>e),e)}finally(e){return new y(((t,n)=>{let r,i;return this.then((t=>{i=!1,r=t,e&&e()}),(t=>{i=!0,r=t,e&&e()})).then((()=>{i?n(r):t(r)}))}))}__init3(){this._resolve=e=>{this._setResult(h.RESOLVED,e)}}__init4(){this._reject=e=>{this._setResult(h.REJECTED,e)}}__init5(){this._setResult=(e,t)=>{this._state===h.PENDING&&(v(t)?t.then(this._resolve,this._reject):(this._state=e,this._value=t,this._executeHandlers()))}}__init6(){this._executeHandlers=()=>{if(this._state!==h.PENDING){var e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(this._state===h.RESOLVED&&e[1](this._value),this._state===h.REJECTED&&e[2](this._value),e[0]=!0)}))}}}}function b(e){return _(e,function(){var e="function"===typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e_(e,t))):e}function w(e){var t=(0,o.ph)(),n={sid:i(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return b({sid:"".concat(e.sid),init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"===typeof e.did||"string"===typeof e.did?"".concat(e.did):void 0,duration:e.duration,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)};return e&&x(n,e),n}function x(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,o.ph)(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:i()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did="".concat(t.did)),"number"===typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"===typeof t.duration)e.duration=t.duration;else{var n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"===typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}class E{constructor(){E.prototype.__init.call(this),E.prototype.__init2.call(this),E.prototype.__init3.call(this),E.prototype.__init4.call(this),E.prototype.__init5.call(this),E.prototype.__init6.call(this),E.prototype.__init7.call(this),E.prototype.__init8.call(this),E.prototype.__init9.call(this),E.prototype.__init10.call(this)}__init(){this._notifyingListeners=!1}__init2(){this._scopeListeners=[]}__init3(){this._eventProcessors=[]}__init4(){this._breadcrumbs=[]}__init5(){this._user={}}__init6(){this._tags={}}__init7(){this._extra={}}__init8(){this._contexts={}}__init9(){this._attachments=[]}__init10(){this._sdkProcessingMetadata={}}static clone(e){var t=new E;return e&&(t._breadcrumbs=[...e._breadcrumbs],t._tags={...e._tags},t._extra={...e._extra},t._contexts={...e._contexts},t._user=e._user,t._level=e._level,t._span=e._span,t._session=e._session,t._transactionName=e._transactionName,t._fingerprint=e._fingerprint,t._eventProcessors=[...e._eventProcessors],t._requestSession=e._requestSession,t._attachments=[...e._attachments]),t}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{},this._session&&x(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts={...this._contexts,[e]:t},this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){var e=this.getSpan();return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;if("function"===typeof e){var t=e(this);return t instanceof E?t:this}return e instanceof E?(this._tags={...this._tags,...e._tags},this._extra={...this._extra,...e._extra},this._contexts={...this._contexts,...e._contexts},e._user&&Object.keys(e._user).length&&(this._user=e._user),e._level&&(this._level=e._level),e._fingerprint&&(this._fingerprint=e._fingerprint),e._requestSession&&(this._requestSession=e._requestSession)):A(e)&&(this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(e,t){var n="number"===typeof t?Math.min(t,100):100;if(n<=0)return this;var r={timestamp:(0,o.yW)(),...e};return this._breadcrumbs=[...this._breadcrumbs,r].slice(-n),this._notifyScopeListeners(),this}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._extra&&Object.keys(this._extra).length&&(e.extra={...this._extra,...e.extra}),this._tags&&Object.keys(this._tags).length&&(e.tags={...this._tags,...e.tags}),this._user&&Object.keys(this._user).length&&(e.user={...this._user,...e.user}),this._contexts&&Object.keys(this._contexts).length&&(e.contexts={...this._contexts,...e.contexts}),this._level&&(e.level=this._level),this._transactionName&&(e.transaction=this._transactionName),this._span){e.contexts={trace:this._span.getTraceContext(),...e.contexts};var n=this._span.transaction&&this._span.transaction.name;n&&(e.tags={transaction:n,...e.tags})}return this._applyFingerprint(e),e.breadcrumbs=[...e.breadcrumbs||[],...this._breadcrumbs],e.breadcrumbs=e.breadcrumbs.length>0?e.breadcrumbs:void 0,e.sdkProcessingMetadata=this._sdkProcessingMetadata,this._notifyEventProcessors([...S(),...this._eventProcessors],e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}_notifyEventProcessors(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return new y(((i,o)=>{var a=e[r];if(null===t||"function"!==typeof a)i(t);else{var s=a({...t},n);p&&a.id&&null===s&&d.log('Event processor "'.concat(a.id,'" dropped event')),v(s)?s.then((t=>this._notifyEventProcessors(e,t,n,r+1).then(i))).then(null,o):this._notifyEventProcessors(e,s,n,r+1).then(i).then(null,o)}}))}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}_applyFingerprint(e){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],this._fingerprint&&(e.fingerprint=e.fingerprint.concat(this._fingerprint)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}}function S(){return(0,r.Y)("globalEventProcessors",(()=>[]))}var C=4,P=100;class T{__init(){this._stack=[{}]}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new E,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C;this._version=n,T.prototype.__init.call(this),this.getStackTop().scope=t,e&&this.bindClient(e)}isOlderThan(e){return this._version{i.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},o)})),n}captureMessage(e,t,n){var r=this._lastEventId=n&&n.event_id?n.event_id:i(),o=new Error(e);return this._withClient(((i,a)=>{i.captureMessage(e,t,{originalException:e,syntheticException:o,...n,event_id:r},a)})),r}captureEvent(e,t){var n=t&&t.event_id?t.event_id:i();return"transaction"!==e.type&&(this._lastEventId=n),this._withClient(((r,i)=>{r.captureEvent(e,{...t,event_id:n},i)})),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){const{scope:n,client:r}=this.getStackTop();if(!n||!r)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:a=P}=r.getOptions&&r.getOptions()||{};if(!(a<=0)){var s={timestamp:(0,o.yW)(),...e},l=i?c((()=>i(s,t))):s;null!==l&&n.addBreadcrumb(l,a)}}setUser(e){var t=this.getScope();t&&t.setUser(e)}setTags(e){var t=this.getScope();t&&t.setTags(e)}setExtras(e){var t=this.getScope();t&&t.setExtras(e)}setTag(e,t){var n=this.getScope();n&&n.setTag(e,t)}setExtra(e,t){var n=this.getScope();n&&n.setExtra(e,t)}setContext(e,t){var n=this.getScope();n&&n.setContext(e,t)}configureScope(e){const{scope:t,client:n}=this.getStackTop();t&&n&&e(t)}run(e){var t=k(this);try{e(this)}finally{k(t)}}getIntegration(e){var t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(n){return p&&d.warn("Cannot retrieve integration ".concat(e.id," from the current Hub")),null}}startTransaction(e,t){return this._callExtensionMethod("startTransaction",e,t)}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0])return this.endSession();this._sendSessionUpdate()}endSession(){var e=this.getStackTop(),t=e&&e.scope,n=t&&t.getSession();n&&function(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),x(e,n)}(n),this._sendSessionUpdate(),t&&t.setSession()}startSession(e){const{scope:t,client:n}=this.getStackTop(),{release:i,environment:o}=n&&n.getOptions()||{};var a=(0,r.R)();const{userAgent:s}=a.navigator||{};var l=w({release:i,environment:o,...t&&{user:t.getUser()},...s&&{userAgent:s},...e});if(t){var c=t.getSession&&t.getSession();c&&"ok"===c.status&&x(c,{status:"exited"}),this.endSession(),t.setSession(l)}return l}_sendSessionUpdate(){const{scope:e,client:t}=this.getStackTop();if(e){var n=e.getSession();n&&t&&t.captureSession&&t.captureSession(n)}}_withClient(e){const{scope:t,client:n}=this.getStackTop();n&&e(n,t)}_callExtensionMethod(e){var t=M().__SENTRY__;if(t&&t.extensions&&"function"===typeof t.extensions[e]){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;inew T),e)}function L(e,t){return!!e&&((e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0)}function D(e){R().configureScope(e)}},1050:(e,t,n)=>{"use strict";n.d(t,{R:()=>o,Y:()=>a});var r=n(6920),i={};function o(){return(0,r.KV)()?n.g:"undefined"!==typeof window?window:"undefined"!==typeof self?self:i}function a(e,t,n){var r=n||o(),i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}},6920:(e,t,n)=>{"use strict";function r(){return!("undefined"!==typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call("undefined"!==typeof process?process:0)}function i(e,t){return e.require(t)}n.d(t,{l$:()=>i,KV:()=>r}),e=n.hmd(e)},42898:(e,t,n)=>{"use strict";n.d(t,{ph:()=>c,yW:()=>l});var r=n(1050),i=n(6920);e=n.hmd(e);var o={nowSeconds:()=>Date.now()/1e3};var a=(0,i.KV)()?function(){try{return(0,i.l$)(e,"perf_hooks").performance}catch(t){return}}():function(){const{performance:e}=(0,r.R)();if(e&&e.now)return{now:()=>e.now(),timeOrigin:Date.now()-e.now()}}(),s=void 0===a?o:{nowSeconds:()=>(a.timeOrigin+a.now())/1e3},l=o.nowSeconds.bind(o),c=s.nowSeconds.bind(s);let u;(()=>{const{performance:e}=(0,r.R)();if(e&&e.now){var t=36e5,n=e.now(),i=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+n-i):t,a=o{"use strict";var r=n(55611);function i(e){var t=[1/0,1/0,-1/0,-1/0];return r.coordEach(e,(function(e){t[0]>e[0]&&(t[0]=e[0]),t[1]>e[1]&&(t[1]=e[1]),t[2]{"use strict";function n(e,t,n){void 0===n&&(n={});var r={type:"Feature"};return(0===n.id||n.id)&&(r.id=n.id),n.bbox&&(r.bbox=n.bbox),r.properties=t||{},r.geometry=e,r}function r(e,t,r){if(void 0===r&&(r={}),!e)throw new Error("coordinates is required");if(!Array.isArray(e))throw new Error("coordinates must be an Array");if(e.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!f(e[0])||!f(e[1]))throw new Error("coordinates must contain numbers");return n({type:"Point",coordinates:e},t,r)}function i(e,t,r){void 0===r&&(r={});for(var i=0,o=e;i=0))throw new Error("precision must be a positive number");var n=Math.pow(10,t||0);return Math.round(e*n)/n},t.radiansToLength=u,t.lengthToRadians=d,t.lengthToDegrees=function(e,t){return h(d(e,t))},t.bearingToAzimuth=function(e){var t=e%360;return t<0&&(t+=360),t},t.radiansToDegrees=h,t.degreesToRadians=function(e){return e%360*Math.PI/180},t.convertLength=function(e,t,n){if(void 0===t&&(t="kilometers"),void 0===n&&(n="kilometers"),!(e>=0))throw new Error("length must be a positive number");return u(d(e,t),n)},t.convertArea=function(e,n,r){if(void 0===n&&(n="meters"),void 0===r&&(r="kilometers"),!(e>=0))throw new Error("area must be a positive number");var i=t.areaFactors[n];if(!i)throw new Error("invalid original units");var o=t.areaFactors[r];if(!o)throw new Error("invalid final units");return e/i*o},t.isNumber=f,t.isObject=function(e){return!!e&&e.constructor===Object},t.validateBBox=function(e){if(!e)throw new Error("bbox is required");if(!Array.isArray(e))throw new Error("bbox must be an Array");if(4!==e.length&&6!==e.length)throw new Error("bbox must be an Array of 4 or 6 numbers");e.forEach((function(e){if(!f(e))throw new Error("bbox must only contain numbers")}))},t.validateId=function(e){if(!e)throw new Error("id is required");if(-1===["string","number"].indexOf(typeof e))throw new Error("id must be a number or a string")}},55611:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(24052);function i(e,t,n){if(null!==e)for(var r,o,a,s,l,c,u,d,h=0,f=0,p=e.type,g="FeatureCollection"===p,m="Feature"===p,A=g?e.features.length:1,v=0;vc||f>u||p>d)return l=i,c=n,u=f,d=p,void(a=0);var g=r.lineString([l,i],e.properties);if(!1===t(g,n,o,p,a))return!1;a++,l=i}))&&void 0}}}))}function u(e,t){if(!e)throw new Error("geojson is required");l(e,(function(e,n,i){if(null!==e.geometry){var o=e.geometry.type,a=e.geometry.coordinates;switch(o){case"LineString":if(!1===t(e,n,i,0,0))return!1;break;case"Polygon":for(var s=0;s{e.exports=n(73919)},73715:(e,t,n)=>{"use strict";var r=n(60018),i=n(65732),o=n(50630),a=n(66639),s=n(55929),l=n(18825),c=n(82881),u=n(24941),d=n(14613),h=n(68629);e.exports=function(e){return new Promise((function(t,n){var f,p=e.data,g=e.headers,m=e.responseType;function A(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}r.isFormData(p)&&delete g["Content-Type"];var v=new XMLHttpRequest;if(e.auth){var y=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(y+":"+b)}var _=s(e.baseURL,e.url);function w(){if(v){var r="getAllResponseHeaders"in v?l(v.getAllResponseHeaders()):null,o={data:m&&"text"!==m&&"json"!==m?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:r,config:e,request:v};i((function(e){t(e),A()}),(function(e){n(e),A()}),o),v=null}}if(v.open(e.method.toUpperCase(),a(_,e.params,e.paramsSerializer),!0),v.timeout=e.timeout,"onloadend"in v?v.onloadend=w:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(w)},v.onabort=function(){v&&(n(u("Request aborted",e,"ECONNABORTED",v)),v=null)},v.onerror=function(){n(u("Network Error",e,null,v)),v=null},v.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||d.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",v)),v=null},r.isStandardBrowserEnv()){var x=(e.withCredentials||c(_))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;x&&(g[e.xsrfHeaderName]=x)}"setRequestHeader"in v&&r.forEach(g,(function(e,t){"undefined"===typeof p&&"content-type"===t.toLowerCase()?delete g[t]:v.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(v.withCredentials=!!e.withCredentials),m&&"json"!==m&&(v.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&v.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&v.upload&&v.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(f=function(e){v&&(n(!e||e&&e.type?new h("canceled"):e),v.abort(),v=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f))),p||(p=null),v.send(p)}))}},73919:(e,t,n)=>{"use strict";var r=n(60018),i=n(55278),o=n(78131),a=n(31380);var s=function e(t){var n=new o(t),s=i(o.prototype.request,n);return r.extend(s,o.prototype,n),r.extend(s,n),s.create=function(n){return e(a(t,n))},s}(n(14613));s.Axios=o,s.Cancel=n(68629),s.CancelToken=n(91211),s.isCancel=n(16318),s.VERSION=n(49540).version,s.all=function(e){return Promise.all(e)},s.spread=n(8608),s.isAxiosError=n(23712),e.exports=s,e.exports.default=s},68629:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},91211:(e,t,n)=>{"use strict";var r=n(68629);function i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},78131:(e,t,n)=>{"use strict";var r=n(60018),i=n(66639),o=n(30106),a=n(19900),s=n(31380),l=n(90014),c=l.validators;function u(e){this.defaults=e,this.interceptors={request:new o,response:new o}}u.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&l.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var i,o=[];if(this.interceptors.response.forEach((function(e){o.push(e.fulfilled,e.rejected)})),!r){var u=[a,void 0];for(Array.prototype.unshift.apply(u,n),u=u.concat(o),i=Promise.resolve(e);u.length;)i=i.then(u.shift(),u.shift());return i}for(var d=e;n.length;){var h=n.shift(),f=n.shift();try{d=h(d)}catch(p){f(p);break}}try{i=a(d)}catch(p){return Promise.reject(p)}for(;o.length;)i=i.then(o.shift(),o.shift());return i},u.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=u},30106:(e,t,n)=>{"use strict";var r=n(60018);function i(){this.handlers=[]}i.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},55929:(e,t,n)=>{"use strict";var r=n(85342),i=n(30356);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},24941:(e,t,n)=>{"use strict";var r=n(25483);e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},19900:(e,t,n)=>{"use strict";var r=n(60018),i=n(98519),o=n(16318),a=n(14613),s=n(68629);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return l(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(l(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},25483:e=>{"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},31380:(e,t,n)=>{"use strict";var r=n(60018);e.exports=function(e,t){t=t||{};var n={};function i(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function o(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:i(void 0,e[n]):i(e[n],t[n])}function a(e){if(!r.isUndefined(t[e]))return i(void 0,t[e])}function s(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:i(void 0,e[n]):i(void 0,t[n])}function l(n){return n in t?i(e[n],t[n]):n in e?i(void 0,e[n]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||o,i=t(e);r.isUndefined(i)&&t!==l||(n[e]=i)})),n}},65732:(e,t,n)=>{"use strict";var r=n(24941);e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},98519:(e,t,n)=>{"use strict";var r=n(60018),i=n(14613);e.exports=function(e,t,n){var o=this||i;return r.forEach(n,(function(n){e=n.call(o,e,t)})),e}},14613:(e,t,n)=>{"use strict";var r=n(60018),i=n(40019),o=n(25483),a={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:function(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(e=n(73715)),e}(),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(i){if("SyntaxError"!==i.name)throw i}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||l.transitional,n=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||i&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(s){if(a){if("SyntaxError"===s.name)throw o(s,this,"E_JSON_PARSE");throw s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){l.headers[e]=r.merge(a)})),e.exports=l},49540:e=>{e.exports={version:"0.24.0"}},55278:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r{"use strict";var r=n(60018);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))})))})),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},30356:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},50630:(e,t,n)=>{"use strict";var r=n(60018);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},85342:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},23712:e=>{"use strict";e.exports=function(e){return"object"===typeof e&&!0===e.isAxiosError}},82881:(e,t,n)=>{"use strict";var r=n(60018);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},40019:(e,t,n)=>{"use strict";var r=n(60018);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},18825:(e,t,n)=>{"use strict";var r=n(60018),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},8608:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},90014:(e,t,n)=>{"use strict";var r=n(49540).version,i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var o={};i.transitional=function(e,t,n){function i(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,a){if(!1===e)throw new Error(i(r," has been removed"+(t?" in "+t:"")));return t&&!o[r]&&(o[r]=!0,console.warn(i(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,a)}},e.exports={assertOptions:function(e,t,n){if("object"!==typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var o=r[i],a=t[o];if(a){var s=e[o],l=void 0===s||a(s,o,e);if(!0!==l)throw new TypeError("option "+o+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:i}},60018:(e,t,n)=>{"use strict";var r=n(55278),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function a(e){return"undefined"===typeof e}function s(e){return null!==e&&"object"===typeof e}function l(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===i.call(e)}function u(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n{"use strict";var r=n(78559),i=n(34151),o=i(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"===typeof n&&o(e,".prototype.")>-1?i(n):n}},34151:(e,t,n)=>{"use strict";var r=n(91989),i=n(78559),o=n(34770),a=i("%TypeError%"),s=i("%Function.prototype.apply%"),l=i("%Function.prototype.call%"),c=i("%Reflect.apply%",!0)||r.call(l,s),u=i("%Object.defineProperty%",!0),d=i("%Math.max%");if(u)try{u({},"a",{value:1})}catch(f){u=null}e.exports=function(e){if("function"!==typeof e)throw new a("a function is required");var t=c(r,l,arguments);return o(t,1+d(0,e.length-(arguments.length-1)),!0)};var h=function(){return c(r,s,arguments)};u?u(e.exports,"apply",{value:h}):e.exports.apply=h},33718:(e,t,n)=>{"use strict";function r(e){var t,n,i="";if("string"===typeof e||"number"===typeof e)i+=e;else if("object"===typeof e)if(Array.isArray(e))for(t=0;ti})},11181:(e,t,n)=>{"use strict";function r(e,t,n){return{r:255*n(e.r/255,t.r/255),g:255*n(e.g/255,t.g/255),b:255*n(e.b/255,t.b/255)}}function i(e,t){return e*t}function o(e,t,n){return Math.min(Math.max(e||0,t),n)}function a(e){return{r:o(e.r,0,255),g:o(e.g,0,255),b:o(e.b,0,255),a:o(e.a,0,1)}}function s(e){return{r:255*e.r,g:255*e.g,b:255*e.b,a:e.a}}function l(e){return{r:e.r/255,g:e.g/255,b:e.b/255,a:e.a}}function c(e,t){void 0===t&&(t=0);var n=Math.pow(10,t);return{r:Math.round(e.r*n)/n,g:Math.round(e.g*n)/n,b:Math.round(e.b*n)/n,a:e.a}}function u(e,t,n,r,i,o){return(1-t/n)*r+t/n*Math.round((1-e)*i+e*o)}function d(e,t,n,r,i){void 0===i&&(i={unitInput:!1,unitOutput:!1,roundOutput:!0}),i.unitInput&&(e=s(e),t=s(t)),e=a(e);var o=(t=a(t)).a+e.a-t.a*e.a,d=n(e,t,r),h=a({r:u(e.a,t.a,o,e.r,t.r,d.r),g:u(e.a,t.a,o,e.g,t.g,d.g),b:u(e.a,t.a,o,e.b,t.b,d.b),a:o});return h=i.unitOutput?l(h):i.roundOutput?c(h):function(e){return c(e,9)}(h),h}function h(e,t){return d(e,t,r,i)}n.d(t,{Jp:()=>h})},92626:function(e,t){var n,r,i;r=[],n=function(){"use strict";var e=["|","^"],t=[",",";","\t","|","^"],n=["\r\n","\r","\n"];function r(e){var t=typeof e;return"function"===t||"object"===t&&!!e}var i=Array.isArray||function(e){return"[object Array]"===toString.call(e)};function o(e){return"string"===typeof e}function a(e){return!isNaN(Number(e))}function s(e){return 0==e||1==e}function l(e){return null==e}function c(e){return null!=e}function u(e,t){return c(e)?e:t}function d(e,t){for(var n=0,r=e.length;ni&&(i=o.length,r=n)})),r||n[0]}var A=function(){function e(e,r){if(r||(r={}),i(e))this.mode="encode";else{if(!o(e))throw new Error("Incompatible format!");this.mode="parse"}this.data=e,this.options={header:u(r.header,!1),cast:u(r.cast,!0)};var a=r.lineDelimiter||r.line,l=r.cellDelimiter||r.delimiter;this.isParser()?(this.options.lineDelimiter=a||m(this.data,n),this.options.cellDelimiter=l||m(this.data,t),this.data=s(this.data,this.options.lineDelimiter)):this.isEncoder()&&(this.options.lineDelimiter=a||"\r\n",this.options.cellDelimiter=l||",")}function a(e,t,n,r,i){e(new t(n,r,i))}function s(e,t){return e.slice(-t.length)!=t&&(e+=t),e}function c(e){return i(e)?"array":r(e)?"object":o(e)?"string":l(e)?"null":"primitive"}return e.prototype.set=function(e,t){return this.options[e]=t},e.prototype.isParser=function(){return"parse"==this.mode},e.prototype.isEncoder=function(){return"encode"==this.mode},e.prototype.parse=function(e){if("parse"==this.mode){if(0===this.data.trim().length)return[];var t,n,r,o=this.data,s=this.options,l=s.header,c={cell:"",line:[]},u=this.deserialize;e||(r=[],e=function(e){r.push(e)}),1==s.lineDelimiter.length&&(w=_);var d,h,f,p=o.length,m=s.cellDelimiter.charCodeAt(0),A=s.lineDelimiter.charCodeAt(s.lineDelimiter.length-1);for(v(),d=0,h=0;d1||""!==c.line[0])&&x(),b()));return r||this}function v(){t={escaped:!1,quote:!1,cell:!0}}function y(){c.cell=""}function b(){c.line=[]}function _(e){c.line.push(t.escaped?e.slice(1,-1).replace(/""/g,'"'):e),y(),v()}function w(e){_(e.slice(0,1-s.lineDelimiter.length))}function x(){l?i(l)?(n=g(u,s.cast,c.line,l),(x=function(){a(e,n,c.line,u,s.cast)})()):l=c.line:(n||(n=g(u,s.cast,c.line)),(x=function(){a(e,n,c.line,u,s.cast)})())}},e.prototype.deserialize={string:function(e){return String(e)},number:function(e){return Number(e)},boolean:function(e){return Boolean(e)}},e.prototype.serialize={object:function(e){var t=this,n=Object.keys(e),r=Array(n.length);return d(n,(function(n,i){r[i]=t[c(e[n])](e[n])})),r},array:function(e){var t=this,n=Array(e.length);return d(e,(function(e,r){n[r]=t[c(e)](e)})),n},string:function(e){return'"'+String(e).replace(/"/g,'""')+'"'},null:function(e){return""},primitive:function(e){return e}},e.prototype.encode=function(e){if("encode"==this.mode){if(0==this.data.length)return"";var t,n,r=this.data,a=this.options,s=a.header,l=r[0],u=this.serialize,h=0;e||(n=Array(r.length),e=function(e,t){n[t+h]=e}),s&&(i(s)||(s=t=Object.keys(l)),e(g(u.array(s)),0),h=1);var f,p=c(l);return"array"==p?(i(a.cast)?(f=Array(a.cast.length),d(a.cast,(function(e,t){o(e)?f[t]=e.toLowerCase():(f[t]=e,u[e]=e)}))):(f=Array(l.length),d(l,(function(e,t){f[t]=c(e)}))),d(r,(function(t,n){var r=Array(f.length);d(t,(function(e,t){r[t]=u[f[t]](e)})),e(g(r),n)}))):"object"==p&&(t=Object.keys(l),i(a.cast)?(f=Array(a.cast.length),d(a.cast,(function(e,t){o(e)?f[t]=e.toLowerCase():(f[t]=e,u[e]=e)}))):(f=Array(t.length),d(t,(function(e,t){f[t]=c(l[e])}))),d(r,(function(n,r){var i=Array(t.length);d(t,(function(e,t){i[t]=u[f[t]](n[e])})),e(g(i),r)}))),n?n.join(a.lineDelimiter):this}function g(e){return e.join(a.cellDelimiter)}},e.prototype.forEach=function(e){return this[this.mode](e)},e}();return A.parse=function(e,t){return new A(e,t).parse()},A.encode=function(e,t){return new A(e,t).encode()},A.forEach=function(e,t,n){return 2==arguments.length&&(n=t),new A(e,t).forEach(n)},A},void 0===(i="function"===typeof n?n.apply(t,r):n)||(e.exports=i)},44831:(e,t,n)=>{"use strict";var r=n(13924),i={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,o,a,s,l,c,u=!1;t||(t={}),n=t.debug||!1;try{if(a=r(),s=document.createRange(),l=document.getSelection(),(c=document.createElement("span")).textContent=e,c.ariaHidden="true",c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),"undefined"===typeof r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=i[t.format]||i.default;window.clipboardData.setData(o,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(c),s.selectNodeContents(c),l.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(d){n&&console.error("unable to copy using execCommand: ",d),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(d){n&&console.error("unable to copy using clipboardData: ",d),n&&console.error("falling back to prompt"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(o,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),c&&document.body.removeChild(c),a()}return u}},57649:function(e,t){!function(e){"use strict";var t,n=function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function s(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i Promise))`.","See if using `DarkReader.setFetchMethod(window.fetch)`","before `DarkReader.enable()` works."].join(" ")))]}))}))},S=E;function C(e){S=e||E}function P(e){return r(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return[4,S(e)];case 1:return[2,t.sent()]}}))}))}window.chrome||(window.chrome={}),chrome.runtime||(chrome.runtime={});var T,M,k=new Set;function R(){for(var e=[],n=0;n=r){if(f-coe)return!0;for(var t=0,n=0;noe)return!0;return!1}function se(e){var t=new Set,n=new Set,r=new Set;e.forEach((function(e){j(e.addedNodes,(function(e){e instanceof Element&&e.isConnected&&t.add(e)})),j(e.removedNodes,(function(e){e instanceof Element&&(e.isConnected?(r.add(e),t.delete(e)):n.add(e))}))}));var i=[],o=[];return t.forEach((function(e){t.has(e.parentElement)&&i.push(e)})),n.forEach((function(e){n.has(e.parentElement)&&o.push(e)})),i.forEach((function(e){return t.delete(e)})),o.forEach((function(e){return n.delete(e)})),{additions:t,moves:r,deletions:n}}var le,ce=new Map,ue=new WeakMap;function de(e,t){var n,r,i;if(ce.has(e))n=ce.get(e),r=ue.get(n);else{var o=!1,a=!1;(n=new MutationObserver((function(t){if(ae(t))!o||X()?r.forEach((function(t){return(0,t.onHugeMutations)(e)})):a||($(i=function(){return r.forEach((function(t){return(0,t.onHugeMutations)(e)}))}),a=!0),o=!0;else{var n=se(t);r.forEach((function(e){return(0,e.onMinorMutations)(n)}))}}))).observe(e,{childList:!0,subtree:!0}),ce.set(e,n),r=new Set,ue.set(n,r)}return r.add(t),{disconnect:function(){r.delete(t),i&&J(i),0===r.size&&(n.disconnect(),ue.delete(n),ce.delete(e))}}}var he=new Map;function fe(e){return le||(le=document.createElement("a")),le.href=e,le.href}function pe(e,t){void 0===t&&(t=null);var n="".concat(e).concat(t?";".concat(t):"");if(he.has(n))return he.get(n);if(t){var r=new URL(e,fe(t));return he.set(n,r),r}var i=new URL(fe(e));return he.set(e,i),i}function ge(e,t){if(t.match(/^data\\?\:/))return t;if(/^\/\//.test(t))return"".concat(location.protocol).concat(t);var n=pe(e);return pe(t,n.href).href}function me(e){if(e.startsWith("data:"))return!0;var t=pe(e);return t.protocol===location.protocol&&t.hostname===location.hostname&&t.port===location.port&&t.pathname===location.pathname}function Ae(e,t,n){j(e,(function(e){if(e.selectorText)t(e);else if(e.href)try{Ae(e.styleSheet.cssRules,t,n)}catch(a){Z("Found a non-loaded link."),n&&n()}else if(e.media){var r=Array.from(e.media),i=r.some((function(e){return e.startsWith("screen")||e.startsWith("all")||e.startsWith("(")})),o=r.some((function(e){return e.startsWith("print")||e.startsWith("speech")}));!i&&o||Ae(e.cssRules,t,n)}else e.conditionText?CSS.supports(e.conditionText)&&Ae(e.cssRules,t,n):U("CSSRule type not supported",e)}))}var ve=["background","border","border-color","border-bottom","border-left","border-right","border-top","outline","outline-color"],ye=p?ve.map((function(e){return[e,new RegExp("".concat(e,":\\s*(.*?)\\s*;"))]})):null;function be(e,t){j(e,(function(n){var r=e.getPropertyValue(n).trim();r&&t(n,r)}));var n=e.cssText;n.includes("var(")&&(p?ye.forEach((function(e){var r=a(e,2),i=r[0],o=r[1],s=n.match(o);if(s&&s[1]){var l=s[1].trim();t(i,l)}})):ve.forEach((function(n){var r=e.getPropertyValue(n);r&&r.includes("var(")&&t(n,r)})))}var _e=/url\((('.*?')|(".*?")|([^\)]*?))\)/g,we=/@import\s*(url\()?(('.+?')|(".+?")|([^\)]*?))\)? ?(screen)?;?/gi;function xe(e){return e.trim().replace(/[\n\r\\]+/g,"").replace(/^url\((.*)\)$/,"$1").trim().replace(/^"(.*)"$/,"$1").replace(/^'(.*)'$/,"$1").replace(/(?:\\(.))/g,"$1")}function Ee(e){var t=pe(e);return"".concat(t.origin).concat(t.pathname.replace(/\?.*$/,"").replace(/(\/)([^\/]+)$/i,"$1"))}function Se(e,t){return e.replace(_e,(function(e){var n=xe(e);try{return"url('".concat(ge(t,n),"')")}catch(r){return e}}))}var Ce=/\/\*[\s\S]*?\*\//g;function Pe(e){return e.replace(Ce,"")}var Te=/@font-face\s*{[^}]*}/g;function Me(e){return e.replace(Te,"")}function ke(e){for(var t,n=[],r=[],i=0,o=e.length;i=0){var i=n.match(/0+$/);if(i)return i.index===r+1?n.substring(0,r):n.substring(0,i.index)}return n}function Ve(e){var t=e.r,n=e.g,r=e.b,i=e.a;return null!=i&&i<1?"rgba(".concat(He(t),", ").concat(He(n),", ").concat(He(r),", ").concat(He(i,2),")"):"rgb(".concat(He(t),", ").concat(He(n),", ").concat(He(r),")")}function Ge(e){var t=e.r,n=e.g,r=e.b,i=e.a;return"#".concat((null!=i&&i<1?[t,n,r,Math.round(255*i)]:[t,n,r]).map((function(e){return"".concat(e<16?"0":"").concat(e.toString(16))})).join(""))}function We(e){var t=e.h,n=e.s,r=e.l,i=e.a;return null!=i&&i<1?"hsla(".concat(He(t),", ").concat(He(100*n),"%, ").concat(He(100*r),"%, ").concat(He(i,2),")"):"hsl(".concat(He(t),", ").concat(He(100*n),"%, ").concat(He(100*r),"%)")}var qe=/^rgba?\([^\(\)]+\)$/,Ye=/^hsla?\([^\(\)]+\)$/,Xe=/^#[0-9a-f]+$/i;function Ke(e){var t=e.trim().toLowerCase();return t.match(qe)?tt(t):t.match(Ye)?it(t):t.match(Xe)?ot(t):ct.has(t)?at(t):ut.has(t)?st(t):"transparent"===e?{r:0,g:0,b:0,a:0}:null}function Qe(e){var t=[],n=0,r=!1,i=e.indexOf("(");e=e.substring(i+1,e.length-1);for(var o=0;o="0"&&a<="9"||"."===a||"+"===a||"-"===a?r=!0:!r||" "!==a&&","!==a?r||(n=o+1):(t.push(e.substring(n,o)),r=!1,n=o+1)}return r&&t.push(e.substring(n,e.length)),t}function $e(e,t,n){var r=Qe(e),i=Object.entries(n);return r.map((function(e){return e.trim()})).map((function(e,n){var r,o=i.find((function(t){var n=a(t,1)[0];return e.endsWith(n)}));return r=o?parseFloat(e.substring(0,e.length-o[0].length))/o[1]*t[n]:parseFloat(e),t[n]>1?Math.round(r):r}))}var Je=[255,255,255,1],et={"%":100};function tt(e){var t=a($e(e,Je,et),4),n=t[0],r=t[1],i=t[2],o=t[3];return{r:n,g:r,b:i,a:void 0===o?1:o}}var nt=[360,1,1,1],rt={"%":100,deg:360,rad:2*Math.PI,turn:1};function it(e){var t=a($e(e,nt,rt),4),n=t[0],r=t[1],i=t[2],o=t[3];return Ze({h:n,s:r,l:i,a:void 0===o?1:o})}function ot(e){var t=e.substring(1);switch(t.length){case 3:case 4:var n=a([0,1,2].map((function(e){return parseInt("".concat(t[e]).concat(t[e]),16)})),3);return{r:n[0],g:n[1],b:n[2],a:3===t.length?1:parseInt("".concat(t[3]).concat(t[3]),16)/255};case 6:case 8:var r=a([0,2,4].map((function(e){return parseInt(t.substring(e,e+2),16)})),3);return{r:r[0],g:r[1],b:r[2],a:6===t.length?1:parseInt(t.substring(6,8),16)/255}}return null}function at(e){var t=ct.get(e);return{r:t>>16&255,g:t>>8&255,b:t>>0&255,a:1}}function st(e){var t=ut.get(e);return{r:t>>16&255,g:t>>8&255,b:t>>0&255,a:1}}function lt(e){for(var t=0,n=function(t,n,r){e=e.substring(0,t)+r+e.substring(n)};-1!==(t=e.indexOf("calc("));){var r=De(e,t);if(!r)break;var i=e.slice(r.start+1,r.end-1),o=i.includes("%");i=i.split("%").join("");var a=Math.round(ke(i));n(r.start-4,r.end,a+(o?"%":""))}return e}var ct=new Map(Object.entries({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgrey:11119017,darkgreen:25600,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,grey:8421504,green:32768,greenyellow:11403055,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgrey:13882323,lightgreen:9498256,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074})),ut=new Map(Object.entries({ActiveBorder:3906044,ActiveCaption:0,AppWorkspace:11184810,Background:6513614,ButtonFace:16777215,ButtonHighlight:15329769,ButtonShadow:10461343,ButtonText:0,CaptionText:0,GrayText:8355711,Highlight:11720703,HighlightText:0,InactiveBorder:16777215,InactiveCaption:16777215,InactiveCaptionText:0,InfoBackground:16514245,InfoText:0,Menu:16185078,MenuText:16777215,Scrollbar:11184810,ThreeDDarkShadow:0,ThreeDFace:12632256,ThreeDHighlight:16777215,ThreeDLightShadow:16777215,ThreeDShadow:0,Window:15527148,WindowFrame:11184810,WindowText:0,"-webkit-focus-ring-color":15046400}).map((function(e){var t=a(e,2),n=t[0],r=t[1];return[n.toLowerCase(),r]})));function dt(e,t,n){return(.2126*e+.7152*t+.0722*n)/255}function ht(e,t,n,r,i){return(e-t)*(i-r)/(n-t)+r}function ft(e,t,n){return Math.min(n,Math.max(t,e))}function pt(e,t){for(var n=[],r=0,i=e.length;r.8&&r>200&&r<280)&&(s?(l=t.h,c=t.s):(l=n.h,c=n.s)),{h:l,s:c,l:ht(o,0,1,t.l,n.l),a:a}}var kt=.4;function Rt(e,t){var n=e.h,r=e.s,i=e.l,o=e.a,a=r<.12||i>.8&&n>200&&n<280;if(i<.5){var s=ht(i,0,.5,0,kt);return a?{h:t.h,s:t.s,l:s,a:o}:{h:n,s:r,l:s,a:o}}var l=ht(i,.5,1,kt,t.l);if(a)return{h:t.h,s:t.s,l:l,a:o};var c=n;return n>60&&n<180&&(c=n>120?ht(n,120,180,135,180):ht(n,60,120,60,105)),c>40&&c<80&&(l*=.75),{h:c,s:r,l:l,a:o}}function Ot(e,t){if(0===t.mode)return Tt(e,t);var r=vt(t);return St(e,n(n({},t),{mode:0}),Rt,r)}var It,Lt=.55;function Dt(e){return ht(e,205,245,205,220)}function Nt(e,t){var n=e.h,r=e.s,i=e.l,o=e.a,a=i<.2||r<.24,s=!a&&n>205&&n<245;if(i>.5){var l=ht(i,.5,1,Lt,t.l);if(a)return{h:t.h,s:t.s,l:l,a:o};var c=n;return s&&(c=Dt(n)),{h:c,s:r,l:l,a:o}}if(a)return{h:t.h,s:t.s,l:ht(i,0,.5,t.l,Lt),a:o};var u,d=n;return s?(d=Dt(n),u=ht(i,0,.5,t.l,Math.min(1,Lt+.05))):u=ht(i,0,.5,t.l,Lt),{h:d,s:r,l:u,a:o}}function Ft(e,t){if(0===t.mode)return Tt(e,t);var r=yt(t);return St(e,n(n({},t),{mode:0}),Nt,r)}function jt(e,t,n){var r=e.h,i=e.s,o=e.l,a=e.a,s=r,l=i;return(o<.2||i<.24)&&(o<.5?(s=t.h,l=t.s):(s=n.h,l=n.s)),{h:s,s:l,l:ht(o,0,1,.5,.2),a:a}}function Bt(e,t){if(0===t.mode)return Tt(e,t);var r=yt(t),i=vt(t);return St(e,n(n({},t),{mode:0}),jt,r,i)}function zt(e,t){return Ot(e,t)}function Zt(e,t){return Ot(e,t)}function Ut(e){var t=[];return t.push('*:not(pre, pre *, code, .far, .fa, .glyphicon, [class*="vjs-"], .fab, .fa-github, .fas, .material-icons, .icofont, .typcn, mu, [class*="mu-"], .glyphicon, .icon) {'),e.useFont&&e.fontFamily&&t.push(" font-family: ".concat(e.fontFamily," !important;")),e.textStroke>0&&(t.push(" -webkit-text-stroke: ".concat(e.textStroke,"px !important;")),t.push(" text-stroke: ".concat(e.textStroke,"px !important;"))),t.push("}"),t.join("\n")}function Ht(e){var t=[];return e.mode===It.dark&&t.push("invert(100%) hue-rotate(180deg)"),100!==e.brightness&&t.push("brightness(".concat(e.brightness,"%)")),100!==e.contrast&&t.push("contrast(".concat(e.contrast,"%)")),0!==e.grayscale&&t.push("grayscale(".concat(e.grayscale,"%)")),0!==e.sepia&&t.push("sepia(".concat(e.sepia,"%)")),0===t.length?null:t.join(" ")}function Vt(e){return e.slice(0,4).map((function(e){return e.map((function(e){return e.toFixed(3)})).join(" ")})).join(" ")}function Gt(e){return Vt(gt(e))}!function(e){e[e.light=0]="light",e[e.dark=1]="dark"}(It||(It={}));var Wt=0,qt=new Map,Yt=new Map;function Xt(e){return r(this,void 0,void 0,(function(){return i(this,(function(n){return[2,new Promise((function(n,r){var i=++Wt;qt.set(i,n),Yt.set(i,r),chrome.runtime.sendMessage({type:t.CS_FETCH,data:e,id:i})}))]}))}))}chrome.runtime.onMessage.addListener((function(e){var n=e.type,r=e.data,i=e.error,o=e.id;if(n===t.BG_FETCH_RESPONSE){var a=qt.get(o),s=Yt.get(o);qt.delete(o),Yt.delete(o),i?s&&s(i):a&&a(r)}}));var Kt=new(function(){function e(){this.queue=[],this.timerId=null,this.frameDuration=1e3/60}return e.prototype.addToQueue=function(e){this.queue.push(e),this.startQueue()},e.prototype.stopQueue=function(){null!==this.timerId&&(cancelAnimationFrame(this.timerId),this.timerId=null),this.queue=[]},e.prototype.startQueue=function(){var e=this;this.timerId||(this.timerId=requestAnimationFrame((function(){e.timerId=null;for(var t,n=Date.now();t=e.queue.shift();)if(t(),Date.now()-n>=e.frameDuration){e.startQueue();break}})))},e}());function Qt(e){return r(this,void 0,void 0,(function(){var t=this;return i(this,(function(o){return[2,new Promise((function(o,a){return r(t,void 0,void 0,(function(){var t,r,s,l;return i(this,(function(i){switch(i.label){case 0:return e.startsWith("data:")?(t=e,[3,4]):[3,1];case 1:return i.trys.push([1,3,,4]),[4,$t(e)];case 2:return t=i.sent(),[3,4];case 3:return r=i.sent(),a(r),[2];case 4:return i.trys.push([4,6,,7]),[4,Jt(t)];case 5:return s=i.sent(),Kt.addToQueue((function(){o(n({src:e,dataURL:t,width:s.naturalWidth,height:s.naturalHeight},sn(s)))})),[3,7];case 6:return l=i.sent(),a(l),[3,7];case 7:return[2]}}))}))}))]}))}))}function $t(e){return r(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return new URL(e).origin!==location.origin?[3,2]:[4,w(e)];case 1:case 3:return[2,t.sent()];case 2:return[4,Xt({url:e,responseType:"data-url"})]}}))}))}function Jt(e){return r(this,void 0,void 0,(function(){return i(this,(function(t){return[2,new Promise((function(t,n){var r=new Image;r.onload=function(){return t(r)},r.onerror=function(){return n("Unable to load image ".concat(e))},r.src=e}))]}))}))}var en,tn,nn=1024;function rn(){var e=nn,t=nn;(en=document.createElement("canvas")).width=e,en.height=t,(tn=en.getContext("2d")).imageSmoothingEnabled=!1}function on(){en=null,tn=null}var an=5242880;function sn(e){en||rn();var t=e.naturalWidth,n=e.naturalHeight;if(0===n||0===t)return U("logWarn(Image is empty ".concat(e.currentSrc,")")),null;if(t*n*4>an)return{isDark:!1,isLight:!1,isTransparent:!1,isLarge:!1,isTooLarge:!0};var r=t*n,i=Math.min(1,Math.sqrt(nn/r)),o=Math.ceil(t*i),a=Math.ceil(n*i);tn.clearRect(0,0,o,a),tn.drawImage(e,0,0,t,n,0,0,o,a);var s,l,c,u,d,h,f,p=tn.getImageData(0,0,o,a).data,g=.05,m=.4,A=.7,v=0,y=0,b=0;for(c=0;cA&&b++);var _=o*a,w=_-v;return{isDark:y/w>=.7,isLight:b/w>=.7,isTransparent:v/_>=.1,isLarge:r>=48e4,isTooLarge:!1}}function ln(e,t){var n=e.dataURL,r=e.width,i=e.height,o=Gt(t),a=[''),"",'',''),"","",''),""].join("");return"data:image/svg+xml;base64,".concat(btoa(a))}function cn(){Kt&&Kt.stopQueue(),on()}var un=8,dn="conic-",hn=dn.length,fn="radial-",pn="linear-";function gn(e){for(var t=[],n=0,r=dn.length,i=function(){var i;if([pn,fn,dn].find((function(t){if(n-t.length>=0&&e.substring(n-t.length,n)===t)return"repeating"===e.slice(n-t.length-10,n-t.length-1)?(i="repeating-".concat(t,"gradient"),!0):"-webkit"===e.slice(n-t.length-8,n-t.length-1)?(i="-webkit-".concat(t,"gradient"),!0):(i="".concat(t,"gradient"),!0)})),!i)return"break";var o=De(e,n+un),a=o.start,s=o.end,l=e.substring(a+1,s-1);r=s+1+hn,t.push({typeGradient:i,match:l,offset:i.length+2,index:n-i.length+un,hasComma:!0})};-1!==(n=e.indexOf("gradient",r))&&"break"!==i(););return t.length&&(t[t.length-1].hasComma=!1),t}function mn(e,t){return Boolean(e&&e.getPropertyPriority(t))}function An(e,t,n,r,i,o){if(e.startsWith("--")){if(a=On(r,e,t,n,i,o))return{property:e,value:a,important:mn(n.style,e),sourceValue:t}}else if(t.includes("var(")){if(a=In(r,e,t))return{property:e,value:a,important:mn(n.style,e),sourceValue:t}}else{if("color-scheme"===e)return null;if(e.includes("color")&&"-webkit-print-color-adjust"!==e||"fill"===e||"stroke"===e||"stop-color"===e){if(a=Sn(e,t,n))return{property:e,value:a,important:mn(n.style,e),sourceValue:t}}else if("background-image"===e||"list-style-image"===e){if(a=Mn(t,n,i,o))return{property:e,value:a,important:mn(n.style,e),sourceValue:t}}else if(e.includes("shadow")){var a;if(a=Rn(t))return{property:e,value:a,important:mn(n.style,e),sourceValue:t}}}return null}function vn(){for(var e=[],t=0;t.5,d=function(e){return n(n({},c),{l:ft(c.l+e,0,1)})},h=function(e){return n(n({},c),{l:ft(c.l-e,0,1)})};t=We(h(.4)),r=We(u?h(.4):d(.4)),i=We(c),o=We(d(.1)),a=We(d(.2))}return l.push("::-webkit-scrollbar {"),l.push(" background-color: ".concat(t,";")),l.push(" color: ".concat(r,";")),l.push("}"),l.push("::-webkit-scrollbar-thumb {"),l.push(" background-color: ".concat(i,";")),l.push("}"),l.push("::-webkit-scrollbar-thumb:hover {"),l.push(" background-color: ".concat(o,";")),l.push("}"),l.push("::-webkit-scrollbar-thumb:active {"),l.push(" background-color: ".concat(a,";")),l.push("}"),l.push("::-webkit-scrollbar-corner {"),l.push(" background-color: ".concat(s,";")),l.push("}"),f&&(l.push("* {"),l.push(" scrollbar-color: ".concat(i," ").concat(t,";")),l.push("}")),l.join("\n")}function xn(e,t){var n=t.strict,r=[],i=["microsoft.com","docs.microsoft.com"].includes(location.hostname);return r.push("html, body, ".concat(n?"body :not(iframe)".concat(i?':not(div[style^="position:absolute;top:0;left:-"]':""):"body > :not(iframe)"," {")),r.push(" background-color: ".concat(Ot({r:255,g:255,b:255},e)," !important;")),r.push(" border-color: ".concat(Bt({r:64,g:64,b:64},e)," !important;")),r.push(" color: ".concat(Ft({r:0,g:0,b:0},e)," !important;")),r.push("}"),r.join("\n")}var En=new Set(["inherit","transparent","initial","currentcolor","none","unset"]);function Sn(e,t,n){if(En.has(t.toLowerCase()))return t;var r=je(t);return r?e.includes("background")?n.style.webkitMaskImage&&"none"!==n.style.webkitMaskImage||n.style.webkitMask&&!n.style.webkitMask.startsWith("none")||n.style.mask&&"none"!==n.style.mask||n.style.getPropertyValue("mask-image")&&"none"!==n.style.getPropertyValue("mask-image")?function(e){return Ft(r,e)}:function(e){return Ot(r,e)}:e.includes("border")||e.includes("outline")?function(e){return Bt(r,e)}:function(e){return Ft(r,e)}:null}var Cn=new Map,Pn=new Map;function Tn(e,t){if(!e||0===t.length)return!1;if(t.some((function(e){return"*"===e})))return!0;for(var n=e.split(/,\s*/g),r=function(e){var r=t[e];if(n.some((function(e){return e===r})))return{value:!0}},i=0;it.index?1:-1})),h=function(e){var t=e.typeGradient,n=e.match,r=e.hasComma,i=/^(from|color-stop|to)\(([^\(\)]*?,\s*)?(.*?)\)$/,o=Ie(/([^\(\),]+(\([^\(\)]*(\([^\(\)]*\)*[^\(\)]*)?\))?([^\(\), ]|( (?!calc)))*),?/g,n,1).map((function(e){var t=je(e=e.trim());if(t)return function(e){return Zt(t,e)};var n=e.lastIndexOf(" ");if(t=je(e.substring(0,n)))return function(r){return"".concat(Zt(t,r)," ").concat(e.substring(n+1))};var r=e.match(i);return r&&(t=je(r[3]))?function(e){return"".concat(r[1],"(").concat(r[2]?"".concat(r[2],", "):"").concat(Zt(t,e),")")}:function(){return e}}));return function(e){return"".concat(t,"(").concat(o.map((function(t){return t(e)})).join(", "),")").concat(r?", ":"")}},f=function(e){var n;if(Tn(t.selectorText,o))return null;var l=xe(e),c=0===l.length,u=t.parentStyleSheet,d=u&&u.href?Ee(u.href):(null===(n=u.ownerNode)||void 0===n?void 0:n.baseURI)||location.origin;l=ge(d,l);var h='url("'.concat(l,'")');return function(e){return r(s,void 0,void 0,(function(){var t,n;return i(this,(function(r){switch(r.label){case 0:return c?[2,"url('')"]:Cn.has(l)?(t=Cn.get(l),[3,7]):[3,1];case 1:return r.trys.push([1,6,,7]),Pn.has(l)?(n=Pn.get(l),[4,new Promise((function(e){return n.push(e)}))]):[3,3];case 2:return(t=r.sent())?[3,5]:[2,null];case 3:return Pn.set(l,[]),[4,Qt(l)];case 4:t=r.sent(),Cn.set(l,t),Pn.get(l).forEach((function(e){return e(t)})),Pn.delete(l),r.label=5;case 5:return a()?[2,null]:[3,7];case 6:return U(r.sent()),Pn.has(l)&&(Pn.get(l).forEach((function(e){return e(null)})),Pn.delete(l)),[2,h];case 7:return[2,p(t,e)||h]}}))}))}},p=function(e,t){var r,i=e.isDark,o=e.isLight,a=e.isTransparent,s=e.isLarge,l=e.isTooLarge,c=e.width;if(l)r='url("'.concat(e.src,'")');else if(i&&a&&1===t.mode&&!s&&c>2){Z("Inverting dark image ".concat(e.src));var u=ln(e,n(n({},t),{sepia:ft(t.sepia+10,0,100)}));r='url("'.concat(u,'")')}else if(o&&!a&&1===t.mode)if(s)r="none";else{Z("Dimming light image ".concat(e.src));var d=ln(e,t);r='url("'.concat(d,'")')}else if(0===t.mode&&o&&!s){Z("Applying filter to image ".concat(e.src));var h=ln(e,n(n({},t),{brightness:ft(t.brightness-10,5,200),sepia:ft(t.sepia+10,0,100)}));r='url("'.concat(h,'")')}else r=null;return r},g=[],m=0,A=!1;return d.forEach((function(t,n){var r=t.type,i=t.match,o=t.index,a=t.typeGradient,s=t.hasComma,l=t.offset,c=o,u=m,p=c+i.length+l;m=p,u!==c&&(A?g.push((function(){var t=e.substring(u,c);return","===t[0]&&(t=t.substring(1)),t})):g.push((function(){return e.substring(u,c)}))),A=s||!1,"url"===r?g.push(f(i)):"gradient"===r&&g.push(h({match:i,index:o,typeGradient:a,hasComma:s,offset:l})),n===d.length-1&&g.push((function(){return e.substring(p)}))})),function(e){var t=g.filter(Boolean).map((function(t){return t(e)}));if(t.some((function(e){return e instanceof Promise})))return Promise.all(t).then((function(e){return e.filter(Boolean).join("")}));var n=t.join("");return n.endsWith(", initial")?n.slice(0,-9):n}}catch(v){return null}}function kn(e){try{var t=0,n=Ie(/(^|\s)(?!calc)([a-z]+\(.+?\)|#[0-9a-f]+|[a-z]+)(.*?(inset|outset)?($|,))/gi,e,2),r=0,i=n.map((function(i,o){var a=t,s=e.indexOf(i,t),l=s+i.length;t=l;var c=je(i);return c?function(t){return"".concat(e.substring(a,s)).concat(zt(c,t)).concat(o===n.length-1?e.substring(l):"")}:(r++,function(){return e.substring(a,l)})}));return function(e){var t=i.map((function(t){return t(e)})).join("");return{matchesLength:n.length,unparseableMatchesLength:r,result:t}}}catch(o){return null}}function Rn(e){var t=kn(e);return t?function(e){return t(e).result}:null}function On(e,t,n,r,i,o){return e.getModifierForVariable({varName:t,sourceValue:n,rule:r,ignoredImgSelectors:i,isCancelled:o})}function In(e,t,n){return e.getModifierForVarDependant(t,n)}function Ln(){_t(),Cn.clear(),cn(),Pn.clear()}var Dn=1,Nn=2,Fn=4,jn=8,Bn=new(function(){function e(){this.varTypes=new Map,this.rulesQueue=[],this.definedVars=new Set,this.varRefs=new Map,this.unknownColorVars=new Set,this.unknownBgVars=new Set,this.undefinedVars=new Set,this.initialVarTypes=new Map,this.changedTypeVars=new Set,this.typeChangeSubscriptions=new Map,this.unstableVarValues=new Map}return e.prototype.clear=function(){this.varTypes.clear(),this.rulesQueue.splice(0),this.definedVars.clear(),this.varRefs.clear(),this.unknownColorVars.clear(),this.unknownBgVars.clear(),this.undefinedVars.clear(),this.initialVarTypes.clear(),this.changedTypeVars.clear(),this.typeChangeSubscriptions.clear(),this.unstableVarValues.clear()},e.prototype.isVarType=function(e,t){return this.varTypes.has(e)&&(this.varTypes.get(e)&t)>0},e.prototype.addRulesForMatching=function(e){this.rulesQueue.push(e)},e.prototype.matchVariablesAndDependants=function(){var e=this;this.changedTypeVars.clear(),this.initialVarTypes=new Map(this.varTypes),this.collectRootVariables(),this.collectVariablesAndVarDep(this.rulesQueue),this.rulesQueue.splice(0),this.collectRootVarDependants(),this.varRefs.forEach((function(t,n){t.forEach((function(t){e.varTypes.has(n)&&e.resolveVariableType(t,e.varTypes.get(n))}))})),this.unknownColorVars.forEach((function(t){e.unknownBgVars.has(t)?(e.unknownColorVars.delete(t),e.unknownBgVars.delete(t),e.resolveVariableType(t,Dn)):e.isVarType(t,Dn|Nn|Fn)?e.unknownColorVars.delete(t):e.undefinedVars.add(t)})),this.unknownBgVars.forEach((function(t){null!=e.findVarRef(t,(function(t){return e.unknownColorVars.has(t)||e.isVarType(t,Nn|Fn)}))?e.itarateVarRefs(t,(function(t){e.resolveVariableType(t,Dn)})):e.isVarType(t,Dn|jn)?e.unknownBgVars.delete(t):e.undefinedVars.add(t)})),this.changedTypeVars.forEach((function(t){e.typeChangeSubscriptions.has(t)&&e.typeChangeSubscriptions.get(t).forEach((function(e){e()}))})),this.changedTypeVars.clear()},e.prototype.getModifierForVariable=function(e){var t=this;return function(n){var r=e.varName,i=e.sourceValue,o=e.rule,a=e.ignoredImgSelectors,s=e.isCancelled,l=function(){var e=[],l=function(o,a,s){if(t.isVarType(r,o)){var l,c=a(r);if(Qn(i))if($n(i)){var u=ar(i,t.unstableVarValues);u||(u=o===Dn?"#ffffff":"#000000"),l=s(u,n)}else l=Vn(i,(function(e){return a(e)}),(function(e){return s(e,n)}));else l=s(i,n);e.push({property:c,value:l})}};if(l(Dn,Wn,rr),l(Nn,qn,ir),l(Fn,Yn,or),t.isVarType(r,jn)){var c=Xn(r),u=i;Qn(i)&&(u=Vn(i,(function(e){return Wn(e)}),(function(e){return rr(e,n)})));var d=Mn(u,o,a,s);u="function"===typeof d?d(n):d,e.push({property:c,value:u})}return e},c=new Set,u=function(e){var n=function(){var t=l();e(t)};c.add(n),t.subscribeForVarTypeChange(r,n)},d=function(){c.forEach((function(e){t.unsubscribeFromVariableTypeChanges(r,e)}))};return{declarations:l(),onTypeChange:{addListener:u,removeListeners:d}}}},e.prototype.getModifierForVarDependant=function(e,t){var n=this;if(t.match(/^\s*(rgb|hsl)a?\(/)){var r=e.startsWith("background"),i=Jn(e);return function(e){var o=ar(t,n.unstableVarValues);return o||(o=r?"#ffffff":"#000000"),(r?rr:i?ir:or)(o,e)}}return"background-color"===e?function(e){return Vn(t,(function(e){return Wn(e)}),(function(t){return rr(t,e)}))}:Jn(e)?function(e){return Vn(t,(function(e){return qn(e)}),(function(t){return ir(t,e)}))}:"background"===e||"background-image"===e||"box-shadow"===e?function(r){var i=new Set,o=function(){var o=Vn(t,(function(e){return n.isVarType(e,Dn)?Wn(e):n.isVarType(e,jn)?Xn(e):(i.add(e),e)}),(function(e){return rr(e,r)}));if("box-shadow"===e){var a=kn(o)(r);if(a.unparseableMatchesLength!==a.matchesLength)return a.result}return o},a=o();return i.size>0?new Promise((function(e){var t=i.values().next().value,r=function(){n.unsubscribeFromVariableTypeChanges(t,r);var i=o();e(i)};n.subscribeForVarTypeChange(t,r)})):a}:e.startsWith("border")||e.startsWith("outline")?function(e){return Vn(t,(function(e){return Yn(e)}),(function(t){return or(t,e)}))}:null},e.prototype.subscribeForVarTypeChange=function(e,t){this.typeChangeSubscriptions.has(e)||this.typeChangeSubscriptions.set(e,new Set);var n=this.typeChangeSubscriptions.get(e);n.has(t)||n.add(t)},e.prototype.unsubscribeFromVariableTypeChanges=function(e,t){this.typeChangeSubscriptions.has(e)&&this.typeChangeSubscriptions.get(e).delete(t)},e.prototype.collectVariablesAndVarDep=function(e){var t=this;e.forEach((function(e){Ae(e,(function(e){e.style&&be(e.style,(function(e,n){Kn(e)&&t.inspectVariable(e,n),Qn(n)&&t.inspectVarDependant(e,n)}))}))}))},e.prototype.collectRootVariables=function(){var e=this;be(document.documentElement.style,(function(t,n){Kn(t)&&e.inspectVariable(t,n)}))},e.prototype.inspectVariable=function(e,t){this.unstableVarValues.set(e,t),Qn(t)&&$n(t)&&(this.unknownColorVars.add(e),this.definedVars.add(e)),this.definedVars.has(e)||(this.definedVars.add(e),je(t)?this.unknownColorVars.add(e):(t.includes("url(")||t.includes("linear-gradient(")||t.includes("radial-gradient("))&&this.resolveVariableType(e,jn))},e.prototype.resolveVariableType=function(e,t){var n=this.initialVarTypes.get(e)||0,r=(this.varTypes.get(e)||0)|t;this.varTypes.set(e,r),(r!==n||this.undefinedVars.has(e))&&(this.changedTypeVars.add(e),this.undefinedVars.delete(e)),this.unknownColorVars.delete(e),this.unknownBgVars.delete(e)},e.prototype.collectRootVarDependants=function(){var e=this;be(document.documentElement.style,(function(t,n){Qn(n)&&e.inspectVarDependant(t,n)}))},e.prototype.inspectVarDependant=function(e,t){var n=this;Kn(e)?this.iterateVarDeps(t,(function(t){n.varRefs.has(e)||n.varRefs.set(e,new Set),n.varRefs.get(e).add(t)})):"background-color"===e||"box-shadow"===e?this.iterateVarDeps(t,(function(e){return n.resolveVariableType(e,Dn)})):Jn(e)?this.iterateVarDeps(t,(function(e){return n.resolveVariableType(e,Nn)})):e.startsWith("border")||e.startsWith("outline")?this.iterateVarDeps(t,(function(e){return n.resolveVariableType(e,Fn)})):"background"!==e&&"background-image"!==e||this.iterateVarDeps(t,(function(e){if(!n.isVarType(e,Dn|jn)){var t=null!=n.findVarRef(e,(function(e){return n.unknownColorVars.has(e)||n.isVarType(e,Nn|Fn)}));n.itarateVarRefs(e,(function(e){t?n.resolveVariableType(e,Dn):n.unknownBgVars.add(e)}))}}))},e.prototype.iterateVarDeps=function(e,t){var n=new Set;Gn(e,(function(e){return n.add(e)})),n.forEach((function(e){return t(e)}))},e.prototype.findVarRef=function(e,t,n){var r,i;if(void 0===n&&(n=new Set),n.has(e))return null;if(n.add(e),t(e))return e;var a=this.varRefs.get(e);if(!a||0===a.size)return null;try{for(var s=o(a),l=s.next();!l.done;l=s.next()){var c=l.value,u=this.findVarRef(c,t,n);if(u)return u}}catch(d){r={error:d}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return null},e.prototype.itarateVarRefs=function(e,t){this.findVarRef(e,(function(e){return t(e),!1}))},e.prototype.setOnRootVariableChange=function(e){this.onRootVariableDefined=e},e.prototype.putRootVars=function(e,t){var n,r,i=this,s=e.sheet;s.cssRules.length>0&&s.deleteRule(0);var l=new Map;be(document.documentElement.style,(function(e,n){Kn(e)&&(i.isVarType(e,Dn)&&l.set(Wn(e),rr(n,t)),i.isVarType(e,Nn)&&l.set(qn(e),ir(n,t)),i.isVarType(e,Fn)&&l.set(Yn(e),or(n,t)),i.subscribeForVarTypeChange(e,i.onRootVariableDefined))}));var c=[];c.push(":root {");try{for(var u=o(l),d=u.next();!d.done;d=u.next()){var h=a(d.value,2),f=h[0],p=h[1];c.push(" ".concat(f,": ").concat(p,";"))}}catch(m){n={error:m}}finally{try{d&&!d.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}c.push("}");var g=c.join("\n");s.insertRule(g)},e}());function zn(e,t){void 0===t&&(t=0);var n=e.indexOf("var(",t);if(n>=0){var r=De(e,n+3);return r?{start:n,end:r.end}:null}}function Zn(e){for(var t,n=[],r=0;t=zn(e,r);){var i=t.start,o=t.end;n.push({start:i,end:o,value:e.substring(i,o)}),r=t.end+1}return n}function Un(e,t){var n=Zn(e),r=n.length;if(0===r)return e;var i=e.length,o=n.map((function(e){return t(e.value)})),a=[];a.push(e.substring(0,n[0].start));for(var s=0;s=0?(t=e.substring(4,r).trim(),n=e.substring(r+1,e.length-1).trim()):(t=e.substring(4,e.length-1).trim(),n=""),{name:t,fallback:n}}function Vn(e,t,n){return Un(e,(function(e){var r,i=Hn(e),o=i.name,a=i.fallback,s=t(o);return a?(r=Qn(a)?Vn(a,t,n):n?n(a):a,"var(".concat(s,", ").concat(r,")")):"var(".concat(s,")")}))}function Gn(e,t){Vn(e,(function(e){return t(e),e}))}function Wn(e){return"--darkreader-bg".concat(e)}function qn(e){return"--darkreader-text".concat(e)}function Yn(e){return"--darkreader-border".concat(e)}function Xn(e){return"--darkreader-bgimg".concat(e)}function Kn(e){return e.startsWith("--")}function Qn(e){return e.includes("var(")}function $n(e){return e.match(/^\s*(rgb|hsl)a?\(/)}function Jn(e){return"color"===e||"caret-color"===e||"-webkit-text-fill-color"===e}var er=/^\d{1,3}, ?\d{1,3}, ?\d{1,3}$/;function tr(e){if(er.test(e)){var t=e.split(","),n="rgb(";return t.forEach((function(e){n+="".concat(e.trim(),", ")})),n=n.substring(0,n.length-2),{isRaw:!0,color:n+=")"}}return{isRaw:!1,color:e}}function nr(e,t,n){var r=tr(e),i=r.isRaw,o=r.color,a=je(o);if(a){var s=n(a,t);if(i){var l=je(s);return l?"".concat(l.r,", ").concat(l.g,", ").concat(l.b):s}return s}return o}function rr(e,t){return nr(e,t,Ot)}function ir(e,t){return nr(e,t,Ft)}function or(e,t){return nr(e,t,Bt)}function ar(e,t,n){void 0===n&&(n=new Set);var r=!1,i=Un(e,(function(e){var i=Hn(e),o=i.name,a=i.fallback;if(n.has(o))return r=!0,null;n.add(o);var s=t.get(o)||a,l=null;return s&&(l=Qn(s)?ar(s,t,n):s),l||(r=!0,null)}));return r?null:i}var sr={"background-color":{customProp:"--darkreader-inline-bgcolor",cssProp:"background-color",dataAttr:"data-darkreader-inline-bgcolor"},"background-image":{customProp:"--darkreader-inline-bgimage",cssProp:"background-image",dataAttr:"data-darkreader-inline-bgimage"},"border-color":{customProp:"--darkreader-inline-border",cssProp:"border-color",dataAttr:"data-darkreader-inline-border"},"border-bottom-color":{customProp:"--darkreader-inline-border-bottom",cssProp:"border-bottom-color",dataAttr:"data-darkreader-inline-border-bottom"},"border-left-color":{customProp:"--darkreader-inline-border-left",cssProp:"border-left-color",dataAttr:"data-darkreader-inline-border-left"},"border-right-color":{customProp:"--darkreader-inline-border-right",cssProp:"border-right-color",dataAttr:"data-darkreader-inline-border-right"},"border-top-color":{customProp:"--darkreader-inline-border-top",cssProp:"border-top-color",dataAttr:"data-darkreader-inline-border-top"},"box-shadow":{customProp:"--darkreader-inline-boxshadow",cssProp:"box-shadow",dataAttr:"data-darkreader-inline-boxshadow"},color:{customProp:"--darkreader-inline-color",cssProp:"color",dataAttr:"data-darkreader-inline-color"},fill:{customProp:"--darkreader-inline-fill",cssProp:"fill",dataAttr:"data-darkreader-inline-fill"},stroke:{customProp:"--darkreader-inline-stroke",cssProp:"stroke",dataAttr:"data-darkreader-inline-stroke"},"outline-color":{customProp:"--darkreader-inline-outline",cssProp:"outline-color",dataAttr:"data-darkreader-inline-outline"},"stop-color":{customProp:"--darkreader-inline-stopcolor",cssProp:"stop-color",dataAttr:"data-darkreader-inline-stopcolor"}},lr=Object.values(sr),cr={};lr.forEach((function(e){var t=e.cssProp,n=e.customProp;return cr[n]=t}));var ur=["style","fill","stop-color","stroke","bgcolor","color"],dr=ur.map((function(e){return"[".concat(e,"]")})).join(", ");function hr(){return lr.map((function(e){var t=e.dataAttr,n=e.customProp,r=e.cssProp;return["[".concat(t,"] {")," ".concat(r,": var(").concat(n,") !important;"),"}"].join("\n")})).join("\n")}function fr(e){var t=[];return e instanceof Element&&e.matches(dr)&&t.push(e),(e instanceof Element||A&&e instanceof ShadowRoot||e instanceof Document)&&B(t,e.querySelectorAll(dr)),t}var pr=new Map,gr=new Map;function mr(e,t){Ar(document,e,t),Y(document.documentElement,(function(n){Ar(n.shadowRoot,e,t)}))}function Ar(e,t,n){pr.has(e)&&(pr.get(e).disconnect(),gr.get(e).disconnect());var r=new WeakSet;function i(e){fr(e).forEach((function(e){r.has(e)||(r.add(e),t(e))})),Y(e,(function(i){r.has(e)||(r.add(e),n(i.shadowRoot),Ar(i.shadowRoot,t,n))}))}var o=de(e,{onMinorMutations:function(e){e.additions.forEach((function(e){return i(e)}))},onHugeMutations:function(){i(e)}});pr.set(e,o);var l=0,c=null,u=G({seconds:10}),d=G({seconds:2}),h=50,f=[],p=null,g=H((function(e){e.forEach((function(e){ur.includes(e.attributeName)&&t(e.target)}))})),m=new MutationObserver((function(e){if(p)f.push.apply(f,s([],a(e),!1));else{l++;var t=Date.now();if(null==c)c=t;else if(l>=h){if(t-c0&&wr(e,n))i.forEach((function(t){e.removeAttribute(sr[t].dataAttr)}));else{if(e.hasAttribute("bgcolor")&&(((l=e.getAttribute("bgcolor")).match(/^[0-9a-f]{3}$/i)||l.match(/^[0-9a-f]{6}$/i))&&(l="#".concat(l)),c("background-color","background-color",l)),e.hasAttribute("color")&&"mask-icon"!==e.rel&&(((l=e.getAttribute("color")).match(/^[0-9a-f]{3}$/i)||l.match(/^[0-9a-f]{6}$/i))&&(l="#".concat(l)),c("color","color",l)),e instanceof SVGElement){if(e.hasAttribute("fill")){var o=32,a=e.getAttribute("fill");if("none"!==a)if(e instanceof SVGTextElement)c("fill","color",a);else{var s=function(){var t=e.getBoundingClientRect(),n=t.width,r=t.height;c("fill",n>o||r>o?"background-color":"color",a)};ee()?s():ne(s)}}e.hasAttribute("stop-color")&&c("stop-color","background-color",e.getAttribute("stop-color"))}if(e.hasAttribute("stroke")){var l=e.getAttribute("stroke");c("stroke",e instanceof SVGLineElement||e instanceof SVGTextElement?"border-color":"color",l)}e.style&&be(e.style,(function(t,n){if("background-image"!==t||!n.includes("url"))if(sr.hasOwnProperty(t)||t.startsWith("--")&&!cr[t])c(t,t,n);else{var r=cr[t];if(r&&!e.style.getPropertyValue(r)&&!e.hasAttribute(r)){if("background-color"===r&&e.hasAttribute("bgcolor"))return;e.style.setProperty(t,"")}}})),e.style&&e instanceof SVGTextElement&&e.style.fill&&c("fill","color",e.style.getPropertyValue("fill")),j(i,(function(t){e.removeAttribute(sr[t].dataAttr)})),yr.set(e,_r(e,t))}}function c(n,o,a){var s=n.startsWith("--"),l=s?{}:sr[n],c=l.customProp,u=l.dataAttr,d=An(o,a,{style:e.style},Bn,r,null);if(d){var h=d.value;"function"===typeof h&&(h=h(t)),s&&"object"===typeof h?h.declarations.forEach((function(t){var n=t.property,r=t.value;!(r instanceof Promise)&&e.style.setProperty(n,r)})):(e.style.setProperty(c,h),e.hasAttribute(u)||e.setAttribute(u,""),i.delete(n))}}}var Er="theme-color",Sr='meta[name="'.concat(Er,'"]'),Cr=null,Pr=null;function Tr(e,t){var n=je(Cr=Cr||e.content);n&&(e.content=Ot(n,t))}function Mr(e){var t=document.querySelector(Sr);t?Tr(t,e):(Pr&&Pr.disconnect(),(Pr=new MutationObserver((function(t){e:for(var n=0;n0){var s=e.parentRule;a={selector:e.selectorText,declarations:o,parentRule:s},b.push(a)}n.set(r,a)}else b.push(n.get(r))}),(function(){o=!0})),A.forEach((function(e){t.delete(e),n.delete(e)})),i=v,f||m||y){e++;var _=new Map,w=new Map,x=0,E=0,S={rule:null,rules:[],isGroup:!0},C=new WeakMap;r.forEach((function(e){return e()})),r.clear(),b.filter((function(e){return e})).forEach((function(t){var n=t.selector,i=t.declarations,o=M(t.parentRule),l={selector:n,declarations:[],isGroup:!1},c=l.declarations;function u(t,n,r,i){var o=++x,a={property:t,value:null,important:r,asyncKey:o,sourceValue:i};c.push(a);var s=e;n.then((function(t){t&&!g()&&s===e&&(a.value=t,Ir.add((function(){g()||s!==e||R(o)})))}))}function h(t,n,i,o){var l=n,d=l.declarations,h=l.onTypeChange,f=++E,p=e,m=c.length,A=[];if(0===d.length){var v={property:t,value:o,important:i,sourceValue:o,varKey:f};c.push(v),A=[v]}d.forEach((function(e){if(e.value instanceof Promise)u(e.property,e.value,i,o);else{var t={property:e.property,value:e.value,important:i,sourceValue:o,varKey:f};c.push(t),A.push(t)}})),h.addListener((function(t){if(!g()&&p===e){var n=t.map((function(e){return{property:e.property,value:e.value,important:i,sourceValue:o,varKey:f}})),r=c.indexOf(A[0],m);c.splice.apply(c,s([r,A.length],a(n),!1)),A=n,O(f)}})),r.add((function(){return h.removeListeners()}))}o.rules.push(l),i.forEach((function(e){var t=e.property,n=e.value,r=e.important,i=e.sourceValue;if("function"===typeof n){var o=n(d);o instanceof Promise?u(t,o,r,i):t.startsWith("--")?h(t,o,r,i):c.push({property:t,value:o,important:r,sourceValue:i})}else c.push({property:t,value:n,important:r,sourceValue:i})}))}));var P=p();k()}function T(e,t,n){var r=n.selector,i=n.declarations,o=function(e){var t=e.property,n=e.value,r=e.important,i=e.sourceValue;return"".concat(t,": ").concat(null==n?i:n).concat(r?" !important":"",";")},a="";i.forEach((function(e){a+="".concat(o(e)," ")}));var s="".concat(r," { ").concat(a," }");e.insertRule(s,t)}function M(e){if(null==e)return S;if(C.has(e))return C.get(e);var t={rule:e,rules:[],isGroup:!0};return C.set(e,t),M(e.parentRule).rules.push(t),t}function k(){function e(e,t){var n=e.rule;if(n instanceof CSSMediaRule){var r=n.media,i=t.cssRules.length;return t.insertRule("@media ".concat(r.mediaText," {}"),i),t.cssRules[i]}return t}function t(n,r,i){n.rules.forEach((function(n){n.isGroup?t(n,e(n,r),i):i(n,r)}))}t(S,P,(function(e,t){var n=t.cssRules.length;e.declarations.forEach((function(r){var i=r.asyncKey,o=r.varKey;null!=i&&_.set(i,{rule:e,target:t,index:n}),null!=o&&w.set(o,{rule:e,target:t,index:n})})),T(t,n,e)}))}function R(e){var t=_.get(e),n=t.rule,r=t.target,i=t.index;r.deleteRule(i),T(r,i,n),_.delete(e)}function O(e){var t=w.get(e),n=t.rule,r=t.target,i=t.index;r.deleteRule(i),T(r,i,n)}}return{modifySheet:u,shouldRebuildStyle:c}}var Dr='style, link[rel*="stylesheet" i]:not([disabled])';function Nr(e){if(!e.href)return!1;try{return"fonts.googleapis.com"===new URL(e.href).hostname}catch(t){return Z("Couldn't construct ".concat(e.href," as URL")),!1}}function Fr(e){return(e instanceof HTMLStyleElement||e instanceof SVGStyleElement||e instanceof HTMLLinkElement&&e.rel&&e.rel.toLowerCase().includes("stylesheet")&&e.href&&!e.disabled&&(!f||!e.href.startsWith("moz-extension://"))&&!Nr(e))&&!e.classList.contains("darkreader")&&"print"!==e.media.toLowerCase()&&!e.classList.contains("stylus")}function jr(e,t,n){return void 0===t&&(t=[]),void 0===n&&(n=!0),Fr(e)?t.push(e):(e instanceof Element||A&&e instanceof ShadowRoot||e===document)&&(j(e.querySelectorAll(Dr),(function(e){return jr(e,t,!1)})),n&&Y(e,(function(e){return jr(e.shadowRoot,t,!1)}))),t}var Br=new WeakSet,zr=new WeakSet,Zr=!1;document.addEventListener("__darkreader__inlineScriptsAllowed",(function(){Zr=!0}));var Ur=0,Hr=new Map;function Vr(){Hr.clear()}function Gr(e,t){for(var n=t.update,o=t.loadingStart,s=t.loadingEnd,l=[],c=e;(c=c.nextElementSibling)&&c.matches(".darkreader");)l.push(c);var u=l.find((function(e){return e.matches(".darkreader--cors")&&!zr.has(e)}))||null,d=l.find((function(e){return e.matches(".darkreader--sync")&&!Br.has(e)}))||null,h=null,f=null,g=!1,m=!0,A=Lr(),v=new MutationObserver((function(){n()})),y={attributes:!0,childList:!0,subtree:!0,characterData:!0};function b(){return e instanceof HTMLStyleElement&&e.textContent.trim().match(we)}function _(e,t){var n=!1;if(e){var r=void 0;e:for(var i=0,o=e.length;i=0;t--)e.deleteRule(t)}function o(){return d||E(),f&&f.stop(),x(),null==d.sheet&&(d.textContent=""),i(d.sheet),f?f.run():f=q(d,"prev-sibling",(function(){k=!0,a()})),d.sheet}function a(){var i=k;k=!1,A.modifySheet({prepareSheet:o,sourceCSSRules:r,theme:e,ignoreImageAnalysis:t,force:i,isAsyncCancelled:function(){return g}}),m=0===d.sheet.cssRules.length,A.shouldRebuildStyle()&&ne((function(){return n()}))}r&&(g=!1,a())}function O(){try{return null==e.sheet?[null,null]:[e.sheet.cssRules,null]}catch(t){return[null,t]}}function I(e){return e&&e.message&&e.message.includes("loading")}function L(){var e=a(O(),2),t=e[0];return e[1]?null:t}function D(){V(),Zr&&e.sheet||z()}var N=null,F=null;function j(){var e=L();return e?e.length:null}function B(){return j()!==N}function z(){N=j(),Z();var t=function(){B()&&(N=j(),n()),Zr&&e.sheet?Z():F=requestAnimationFrame(t)};t()}function Z(){cancelAnimationFrame(F)}var U=!1;function H(){function e(){U=!1,g||n()}Zr=!0,Z(),U||(U=!0,"function"===typeof queueMicrotask?queueMicrotask(e):requestAnimationFrame(e))}function V(){e.addEventListener("__darkreader__updateSheet",H)}function G(){e.removeEventListener("__darkreader__updateSheet",H)}function Y(){G(),Z()}function X(){v.disconnect(),g=!0,h&&h.stop(),f&&f.stop(),Y()}function K(){if(X(),W(u),W(d),s(),Hr.has(P)){var e=Hr.get(P);Hr.delete(P),e&&e()}}function Q(){v.observe(e,y),e instanceof HTMLStyleElement&&D()}var $=10,J=0;function ee(){d&&(++J>$||(x(),h&&h.skip(),f&&f.skip(),m||(k=!0,n())))}return{details:M,render:R,pause:X,destroy:K,watch:Q,restore:ee}}function Wr(e,t){return r(this,void 0,void 0,(function(){return i(this,(function(n){return[2,new Promise((function(n,r){var i=function(){e.removeEventListener("load",o),e.removeEventListener("error",a),Hr.delete(t)},o=function(){i(),n()},a=function(){i(),r("Linkelement ".concat(t," couldn't be loaded. ").concat(e.href))};Hr.set(t,(function(){i(),r()})),e.addEventListener("load",o),e.addEventListener("error",a),e.href||a()}))]}))}))}function qr(e){return xe(e.substring(7).trim().replace(/;$/,"").replace(/screen$/,""))}function Yr(e){return r(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return e.startsWith("data:")?[4,fetch(e)]:[3,3];case 1:return[4,t.sent().text()];case 2:case 4:return[2,t.sent()];case 3:return[4,Xt({url:e,responseType:"text",mimeType:"text/css",origin:window.location.origin})]}}))}))}function Xr(e,t,n){return void 0===n&&(n=new Map),r(this,void 0,void 0,(function(){var r,a,s,l,c,u,d,h,f,p;return i(this,(function(i){switch(i.label){case 0:e=Se(e=Me(e=Pe(e)),t),r=Ie(we,e),i.label=1;case 1:i.trys.push([1,10,11,12]),a=o(r),s=a.next(),i.label=2;case 2:return s.done?[3,9]:(l=s.value,c=qr(l),u=ge(t,c),d=void 0,n.has(u)?(d=n.get(u),[3,7]):[3,3]);case 3:return i.trys.push([3,6,,7]),[4,Yr(u)];case 4:return d=i.sent(),n.set(u,d),[4,Xr(d,Ee(u),n)];case 5:return d=i.sent(),[3,7];case 6:return i.sent(),d="",[3,7];case 7:e=e.split(l).join(d),i.label=8;case 8:return s=a.next(),[3,2];case 9:return[3,12];case 10:return h=i.sent(),f={error:h},[3,12];case 11:try{s&&!s.done&&(p=a.return)&&p.call(a)}finally{if(f)throw f.error}return[7];case 12:return[2,e=e.trim()]}}))}))}function Kr(e,t){if(!t)return null;var n=document.createElement("style");return n.classList.add("darkreader"),n.classList.add("darkreader--cors"),n.media="screen",n.textContent=t,e.parentNode.insertBefore(n,e.nextSibling),n.sheet.disabled=!0,zr.add(n),n}var Qr,$r,Jr=[],ei=new Map;function ti(e){y&&j(e.querySelectorAll(":not(:defined)"),(function(e){var t=e.tagName.toLowerCase();if(!t.includes("-")){var n=e.getAttribute("is");if(!n)return;t=n}ei.has(t)||(ei.set(t,new Set),oi(t).then((function(){if($r){var e=ei.get(t);ei.delete(t),$r(Array.from(e))}}))),ei.get(t).add(e)}))}var ni=!1;document.addEventListener("__darkreader__inlineScriptsAllowed",(function(){ni=!0}));var ri=new Map;function ii(e){ni=!0,ri.has(e.detail.tag)&&ri.get(e.detail.tag)()}function oi(e){return r(this,void 0,void 0,(function(){return i(this,(function(t){return[2,new Promise((function(t){if(window.customElements&&"function"===typeof customElements.whenDefined)customElements.whenDefined(e).then((function(){return t()}));else if(ni)ri.set(e,t),document.dispatchEvent(new CustomEvent("__darkreader__addUndefinedResolver",{detail:{tag:e}}));else{var n=function(){var r=ei.get(e);r&&r.size>0&&(r.values().next().value.matches(":defined")?t():requestAnimationFrame(n))};requestAnimationFrame(n)}}))]}))}))}function ai(e){$r=e}function si(){$r=null,ei.clear(),document.removeEventListener("__darkreader__isDefined",ii)}function li(e,t,n){ui();var r=new Set(e),i=new WeakMap,o=new WeakMap;function a(e){i.set(e,e.previousElementSibling),o.set(e,e.nextElementSibling)}function s(e){i.delete(e),o.delete(e)}function l(e){return e.previousElementSibling!==i.get(e)||e.nextElementSibling!==o.get(e)}function c(e){var n=e.createdStyles,i=e.removedStyles,o=e.movedStyles;n.forEach((function(e){return a(e)})),o.forEach((function(e){return a(e)})),i.forEach((function(e){return s(e)})),n.forEach((function(e){return r.add(e)})),i.forEach((function(e){return r.delete(e)})),n.size+i.size+o.size>0&&t({created:Array.from(n),removed:Array.from(i),moved:Array.from(o),updated:[]})}function u(e){var t=e.additions,n=e.moves,r=e.deletions,i=new Set,o=new Set,a=new Set;t.forEach((function(e){return jr(e).forEach((function(e){return i.add(e)}))})),r.forEach((function(e){return jr(e).forEach((function(e){return o.add(e)}))})),n.forEach((function(e){return jr(e).forEach((function(e){return a.add(e)}))})),c({createdStyles:i,removedStyles:o,movedStyles:a}),t.forEach((function(e){Y(e,p),ti(e)}))}function d(e){var t=new Set(jr(e)),n=new Set,i=new Set,o=new Set;t.forEach((function(e){r.has(e)||n.add(e)})),r.forEach((function(e){t.has(e)||i.add(e)})),t.forEach((function(e){n.has(e)||i.has(e)||!l(e)||o.add(e)})),c({createdStyles:n,removedStyles:i,movedStyles:o}),Y(e,p),ti(e)}function h(e){var n=new Set,r=new Set;e.forEach((function(e){var t=e.target;t.isConnected&&(Fr(t)?n.add(t):t instanceof HTMLLinkElement&&t.disabled&&r.add(t))})),n.size+r.size>0&&t({updated:Array.from(n),created:[],removed:Array.from(r),moved:[]})}function f(e){var t=de(e,{onMinorMutations:u,onHugeMutations:d}),n=new MutationObserver(h);n.observe(e,{attributes:!0,attributeFilter:["rel","disabled","media","href"],subtree:!0}),Jr.push(t,n),Qr.add(e)}function p(e){var t=e.shadowRoot;null==t||Qr.has(t)||(f(t),n(t))}e.forEach(a),f(document),Y(document.documentElement,p),ai((function(e){var n=[];e.forEach((function(e){return B(n,jr(e.shadowRoot))})),t({created:n,updated:[],removed:[],moved:[]}),e.forEach((function(e){var t=e.shadowRoot;null!=t&&(p(e),Y(t,p),ti(t))}))})),document.addEventListener("__darkreader__isDefined",ii),ti(document)}function ci(){Jr.forEach((function(e){return e.disconnect()})),Jr.splice(0,Jr.length),Qr=new WeakSet}function ui(){ci(),si()}function di(e){return(e<16?"0":"")+e.toString(16)}function hi(){if("randomUUID"in crypto){var e=crypto.randomUUID();return e.substring(0,8)+e.substring(9,13)+e.substring(14,18)+e.substring(19,23)+e.substring(24)}return Array.from(crypto.getRandomValues(new Uint8Array(16))).map((function(e){return di(e)})).join("")}var fi=new WeakMap,pi=new WeakSet;function gi(e){var t=!1;function n(t,n){var r=s([],a(e.adoptedStyleSheets),!1),i=r.indexOf(t),o=r.indexOf(n);i!==o-1&&(o>=0&&r.splice(o,1),r.splice(i+1,0,n),e.adoptedStyleSheets=r)}function r(){t=!0;var n=s([],a(e.adoptedStyleSheets),!1);e.adoptedStyleSheets.forEach((function(e){if(pi.has(e)){var t=n.indexOf(e);t>=0&&n.splice(t,1),fi.delete(e),pi.delete(e)}})),e.adoptedStyleSheets=n}function i(r,i){e.adoptedStyleSheets.forEach((function(e){if(!pi.has(e)){var o=e.rules,a=new CSSStyleSheet;Lr().modifySheet({prepareSheet:s,sourceCSSRules:o,theme:r,ignoreImageAnalysis:i,force:!1,isAsyncCancelled:function(){return t}})}function s(){for(var t=a.cssRules.length-1;t>=0;t--)a.deleteRule(t);return n(e,a),fi.set(e,a),pi.add(a),a}}))}return{render:i,destroy:r}}function mi(e){document.dispatchEvent(new CustomEvent("__darkreader__inlineScriptsAllowed"));var t=Object.getOwnPropertyDescriptor(CSSStyleSheet.prototype,"addRule"),n=Object.getOwnPropertyDescriptor(CSSStyleSheet.prototype,"insertRule"),r=Object.getOwnPropertyDescriptor(CSSStyleSheet.prototype,"deleteRule"),i=Object.getOwnPropertyDescriptor(CSSStyleSheet.prototype,"removeRule"),o=e?Object.getOwnPropertyDescriptor(Document.prototype,"styleSheets"):null,l=["baidu.com","baike.baidu.com","ditu.baidu.com","map.baidu.com","maps.baidu.com","haokan.baidu.com","pan.baidu.com","passport.baidu.com","tieba.baidu.com","www.baidu.com"].includes(location.hostname),c=l?Object.getOwnPropertyDescriptor(Element.prototype,"getElementsByTagName"):null,u=function(){Object.defineProperty(CSSStyleSheet.prototype,"addRule",t),Object.defineProperty(CSSStyleSheet.prototype,"insertRule",n),Object.defineProperty(CSSStyleSheet.prototype,"deleteRule",r),Object.defineProperty(CSSStyleSheet.prototype,"removeRule",i),document.removeEventListener("__darkreader__cleanUp",u),document.removeEventListener("__darkreader__addUndefinedResolver",d),e&&Object.defineProperty(Document.prototype,"styleSheets",o),l&&Object.defineProperty(Element.prototype,"getElementsByTagName",c)},d=function(e){customElements.whenDefined(e.detail.tag).then((function(){document.dispatchEvent(new CustomEvent("__darkreader__isDefined",{detail:{tag:e.detail.tag}}))}))};document.addEventListener("__darkreader__cleanUp",u),document.addEventListener("__darkreader__addUndefinedResolver",d);var h=new Event("__darkreader__updateSheet");function f(e,n,r){return t.value.call(this,e,n,r),this.ownerNode&&!this.ownerNode.classList.contains("darkreader")&&this.ownerNode.dispatchEvent(h),-1}function p(e,t){var r=n.value.call(this,e,t);return this.ownerNode&&!this.ownerNode.classList.contains("darkreader")&&this.ownerNode.dispatchEvent(h),r}function g(e){r.value.call(this,e),this.ownerNode&&!this.ownerNode.classList.contains("darkreader")&&this.ownerNode.dispatchEvent(h)}function m(e){i.value.call(this,e),this.ownerNode&&!this.ownerNode.classList.contains("darkreader")&&this.ownerNode.dispatchEvent(h)}function A(){var e=this,t=function(){var t=s([],a(o.get.call(e)),!1).filter((function(e){return!e.ownerNode.classList.contains("darkreader")}));return t.item=function(e){return t[e]},Object.setPrototypeOf(t,StyleSheetList.prototype)},n=t();return n=new Proxy(n,{get:function(e,n){return t()[n]}})}function v(e){var t=this;if("style"!==e)return c.value.call(this,e);var n=function(){var n=c.value.call(t,e);return Object.setPrototypeOf(s([],a(n),!1).filter((function(e){return!e.classList.contains("darkreader")})),NodeList.prototype)},r=n();return r=new Proxy(r,{get:function(e,t){return n()[Number(t)||t]}})}Object.defineProperty(CSSStyleSheet.prototype,"addRule",Object.assign({},t,{value:f})),Object.defineProperty(CSSStyleSheet.prototype,"insertRule",Object.assign({},n,{value:p})),Object.defineProperty(CSSStyleSheet.prototype,"deleteRule",Object.assign({},r,{value:g})),Object.defineProperty(CSSStyleSheet.prototype,"removeRule",Object.assign({},i,{value:m})),e&&Object.defineProperty(Document.prototype,"styleSheets",Object.assign({},o,{get:A})),l&&Object.defineProperty(Element.prototype,"getElementsByTagName",Object.assign({},c,{value:v}))}var Ai=hi(),vi=new Map,yi=[],bi=null,_i=null,wi=null,xi=null,Ei=null;function Si(e,t){void 0===t&&(t=document.head||document);var n=t.querySelector(".".concat(e));return n||((n=document.createElement("style")).classList.add("darkreader"),n.classList.add(e),n.media="screen",n.textContent=""),n}function Ci(e,t){void 0===t&&(t=document.head||document);var n=t.querySelector(".".concat(e));return n||((n=document.createElement("script")).classList.add("darkreader"),n.classList.add(e)),n}var Pi=new Map;function Ti(e,t){Pi.has(t)&&Pi.get(t).stop(),Pi.set(t,q(e,"parent"))}function Mi(){j(Pi.values(),(function(e){return e.stop()})),Pi.clear()}function ki(){var e=Si("darkreader--fallback",document);e.textContent=xn(bi,{strict:!0}),document.head.insertBefore(e,document.head.firstChild),Ti(e,"fallback");var t=Si("darkreader--user-agent");t.textContent=yn(bi,wi,bi.styleSystemControls),document.head.insertBefore(t,e.nextSibling),Ti(t,"user-agent");var r=Si("darkreader--text");bi.useFont||bi.textStroke>0?r.textContent=Ut(bi):r.textContent="",document.head.insertBefore(r,e.nextSibling),Ti(r,"text");var i=Si("darkreader--invert");_i&&Array.isArray(_i.invert)&&_i.invert.length>0?i.textContent=["".concat(_i.invert.join(", ")," {")," filter: ".concat(Ht(n(n({},bi),{contrast:0===bi.mode?bi.contrast:ft(bi.contrast-10,0,100)}))," !important;"),"}"].join("\n"):i.textContent="",document.head.insertBefore(i,r.nextSibling),Ti(i,"invert");var o=Si("darkreader--inline");o.textContent=hr(),document.head.insertBefore(o,i.nextSibling),Ti(o,"inline");var a=Si("darkreader--override");a.textContent=_i&&_i.css?Ii(_i.css):"",document.head.appendChild(a),Ti(a,"override");var s=Si("darkreader--variables"),l=bn(bi),c=bi.darkSchemeBackgroundColor,u=bi.darkSchemeTextColor,d=bi.lightSchemeBackgroundColor,h=bi.lightSchemeTextColor,f=bi.mode,p=0===f?d:c,g=0===f?h:u;p=Ot(je(p),bi),g=Ft(je(g),bi),s.textContent=[":root {"," --darkreader-neutral-background: ".concat(p,";")," --darkreader-neutral-text: ".concat(g,";")," --darkreader-selection-background: ".concat(l.backgroundColorSelection,";")," --darkreader-selection-text: ".concat(l.foregroundColorSelection,";"),"}"].join("\n"),document.head.insertBefore(s,o.nextSibling),Ti(s,"variables");var m=Si("darkreader--root-vars");document.head.insertBefore(m,s.nextSibling);var A=!(_i&&_i.disableStyleSheetsProxy),v=Ci("darkreader--proxy");v.append("(".concat(mi,")(").concat(A,")")),document.head.insertBefore(v,m.nextSibling),v.remove()}var Ri=new Set;function Oi(e){var t=Si("darkreader--inline",e);t.textContent=hr(),e.insertBefore(t,e.firstChild);var r=Si("darkreader--override",e);r.textContent=_i&&_i.css?Ii(_i.css):"",e.insertBefore(r,t.nextSibling);var i=Si("darkreader--invert",e);_i&&Array.isArray(_i.invert)&&_i.invert.length>0?i.textContent=["".concat(_i.invert.join(", ")," {")," filter: ".concat(Ht(n(n({},bi),{contrast:0===bi.mode?bi.contrast:ft(bi.contrast-10,0,100)}))," !important;"),"}"].join("\n"):i.textContent="",e.insertBefore(i,r.nextSibling),Ri.add(e)}function Ii(e){return e.replace(/\${(.+?)}/g,(function(e,t){var n=je(t);return n?Pt(n,bi):t}))}function Li(){var e=document.querySelector(".darkreader--fallback");e&&(e.textContent="")}function Di(){Zi();var e=jr(document).filter((function(e){return!vi.has(e)})).map((function(e){return ji(e)}));e.map((function(e){return e.details({secondRound:!1})})).filter((function(e){return e&&e.rules.length>0})).forEach((function(e){Bn.addRulesForMatching(e.rules)})),Bn.matchVariablesAndDependants(),Bn.setOnRootVariableChange((function(){Bn.putRootVars(document.head.querySelector(".darkreader--root-vars"),bi)})),Bn.putRootVars(document.head.querySelector(".darkreader--root-vars"),bi),vi.forEach((function(e){return e.render(bi,xi)})),0===Fi.size&&Li(),e.forEach((function(e){return e.watch()}));var t=z(document.querySelectorAll(dr));Y(document.documentElement,(function(e){Oi(e.shadowRoot);var n=e.shadowRoot.querySelectorAll(dr);n.length>0&&B(t,n)})),t.forEach((function(e){return xr(e,bi,Ei,xi)})),Xi(document)}var Ni=0,Fi=new Set;function ji(e){var t=++Ni;function n(){if(!X()||!Gi){Fi.add(t),Z("Current amount of styles loading: ".concat(Fi.size));var e=document.querySelector(".darkreader--fallback");e.textContent||(e.textContent=xn(bi,{strict:!1}))}}function r(){Fi.delete(t),Z("Removed loadingStyle ".concat(t,", now awaiting: ").concat(Fi.size)),0===Fi.size&&X()&&Li()}function i(){var e=o.details({secondRound:!0});e&&(Bn.addRulesForMatching(e.rules),Bn.matchVariablesAndDependants(),o.render(bi,xi))}var o=Gr(e,{update:i,loadingStart:n,loadingEnd:r});return vi.set(e,o),o}function Bi(e){var t=vi.get(e);t&&(t.destroy(),vi.delete(e))}var zi=H((function(e){vi.forEach((function(e){return e.render(bi,xi)})),yi.forEach((function(e){return e.render(bi,xi)})),e&&e()})),Zi=function(){zi.cancel()};function Ui(){0!==Fi.size||Li()}var Hi,Vi=null,Gi=!document.hidden;function Wi(e){var t=Boolean(Vi);Vi=function(){document.hidden||(qi(),e(),Gi=!0)},t||document.addEventListener("visibilitychange",Vi)}function qi(){document.removeEventListener("visibilitychange",Vi),Vi=null}function Yi(){function e(){Di(),Ki()}ki(),document.hidden&&!bi.immediateModify?Wi(e):e(),Mr(bi)}function Xi(e){try{if(Array.isArray(e.adoptedStyleSheets)&&e.adoptedStyleSheets.length>0){var t=gi(e);yi.push(t),t.render(bi,xi)}}catch(n){}}function Ki(){li(Array.from(vi.keys()),(function(e){var t=e.created,n=e.updated,r=e.removed,i=e.moved,o=r,a=t.concat(n).concat(i).filter((function(e){return!vi.has(e)})),s=i.filter((function(e){return vi.has(e)}));o.forEach((function(e){return Bi(e)}));var l=a.map((function(e){return ji(e)}));l.map((function(e){return e.details({secondRound:!1})})).filter((function(e){return e&&e.rules.length>0})).forEach((function(e){Bn.addRulesForMatching(e.rules)})),Bn.matchVariablesAndDependants(),l.forEach((function(e){return e.render(bi,xi)})),l.forEach((function(e){return e.watch()})),s.forEach((function(e){return vi.get(e).restore()}))}),(function(e){Oi(e),Xi(e)})),mr((function(e){xr(e,bi,Ei,xi),e===document.documentElement&&(e.getAttribute("style")||"").includes("--")&&(Bn.matchVariablesAndDependants(),Bn.putRootVars(document.head.querySelector(".darkreader--root-vars"),bi))}),(function(e){Oi(e);var t=e.querySelectorAll(dr);t.length>0&&j(t,(function(e){return xr(e,bi,Ei,xi)}))})),$(Ui)}function Qi(){vi.forEach((function(e){return e.pause()})),Mi(),ui(),vr(),J(Ui),re()}function $i(){(Hi=new MutationObserver((function(){document.querySelector('meta[name="darkreader-lock"]')&&(Hi.disconnect(),ro())}))).observe(document.head,{childList:!0,subtree:!0})}function Ji(){var e=document.createElement("meta");e.name="darkreader",e.content=Ai,document.head.appendChild(e)}function eo(){if(document.querySelector('meta[name="darkreader-lock"]'))return!0;var e=document.querySelector('meta[name="darkreader"]');return e?e.content!==Ai:(Ji(),$i(),!1)}function to(e,t,n){if(bi=e,(_i=t)?(xi=Array.isArray(_i.ignoreImageAnalysis)?_i.ignoreImageAnalysis:[],Ei=Array.isArray(_i.ignoreInlineStyle)?_i.ignoreInlineStyle:[]):(xi=[],Ei=[]),bi.immediateModify&&K((function(){return!0})),wi=n,document.head){if(eo())return;document.documentElement.setAttribute("data-darkreader-mode","dynamic"),document.documentElement.setAttribute("data-darkreader-scheme",bi.mode?"dark":"dimmed"),Yi()}else{if(!f){var r=Si("darkreader--fallback");document.documentElement.appendChild(r),r.textContent=xn(bi,{strict:!0})}var i=new MutationObserver((function(){if(document.head){if(i.disconnect(),eo())return void ro();Yi()}}));i.observe(document,{childList:!0,subtree:!0})}}function no(){document.dispatchEvent(new CustomEvent("__darkreader__cleanUp")),W(document.head.querySelector(".darkreader--proxy"))}function ro(){document.documentElement.removeAttribute("data-darkreader-mode"),document.documentElement.removeAttribute("data-darkreader-scheme"),io(),W(document.querySelector(".darkreader--fallback")),document.head&&(kr(),W(document.head.querySelector(".darkreader--user-agent")),W(document.head.querySelector(".darkreader--text")),W(document.head.querySelector(".darkreader--invert")),W(document.head.querySelector(".darkreader--inline")),W(document.head.querySelector(".darkreader--override")),W(document.head.querySelector(".darkreader--variables")),W(document.head.querySelector(".darkreader--root-vars")),W(document.head.querySelector('meta[name="darkreader"]')),no()),Ri.forEach((function(e){W(e.querySelector(".darkreader--inline")),W(e.querySelector(".darkreader--override"))})),Ri.clear(),j(vi.keys(),(function(e){return Bi(e)})),Fi.clear(),Vr(),j(document.querySelectorAll(".darkreader"),W),yi.forEach((function(e){e.destroy()})),yi.splice(0),Hi&&Hi.disconnect()}function io(){Bn.clear(),he.clear(),qi(),Zi(),Qi(),Ln(),ze()}var oo=/url\(\"(blob\:.*?)\"\)/g;function ao(e){return r(this,void 0,void 0,(function(){var t,n;return i(this,(function(r){switch(r.label){case 0:return t=[],Ie(oo,e,1).forEach((function(e){var n=w(e);t.push(n)})),[4,Promise.all(t)];case 1:return n=r.sent(),[2,e.replace(oo,(function(){return'url("'.concat(n.shift(),'")')}))]}}))}))}var so='/*\n _______\n / \\\n .==. .==.\n (( ))==(( ))\n / "==" "=="\\\n /____|| || ||___\\\n ________ ____ ________ ___ ___\n | ___ \\ / \\ | ___ \\ | | / /\n | | \\ \\ / /\\ \\ | | \\ \\| |_/ /\n | | ) / /__\\ \\ | |__/ /| ___ \\\n | |__/ / ______ \\| ____ \\| | \\ \\\n_______|_______/__/ ____ \\__\\__|___\\__\\__|___\\__\\____\n| ___ \\ | ____/ / \\ | ___ \\ | ____| ___ \\\n| | \\ \\| |___ / /\\ \\ | | \\ \\| |___| | \\ \\\n| |__/ /| ____/ /__\\ \\ | | ) | ____| |__/ /\n| ____ \\| |__/ ______ \\| |__/ /| |___| ____ \\\n|__| \\__\\____/__/ \\__\\_______/ |______|__| \\__\\\n https://darkreader.org\n*/\n\n/*! Dark reader generated CSS | Licensed under MIT https://github.com/darkreader/darkreader/blob/main/LICENSE */\n';function lo(){return r(this,void 0,void 0,(function(){function e(e,n){var r=document.querySelector(e);r&&r.textContent&&(t.push("/* ".concat(n," */")),t.push(r.textContent),t.push(""))}var t,n,r,o,a;return i(this,(function(i){switch(i.label){case 0:return t=[so],e(".darkreader--fallback","Fallback Style"),e(".darkreader--user-agent","User-Agent Style"),e(".darkreader--text","Text Style"),e(".darkreader--invert","Invert Style"),e(".darkreader--variables","Variables Style"),n=[],document.querySelectorAll(".darkreader--sync").forEach((function(e){j(e.sheet.cssRules,(function(e){e&&e.cssText&&n.push(e.cssText)}))})),n.length?(r=Le(n.join("\n")),t.push("/* Modified CSS */"),a=(o=t).push,[4,ao(r)]):[3,2];case 1:a.apply(o,[i.sent()]),t.push(""),i.label=2;case 2:return e(".darkreader--override","Override Style"),[2,t.join("\n")]}}))}))}var co=!1,uo=function(){try{return window.self!==window.top}catch(e){return console.warn(e),!0}}();function ho(e,t){void 0===e&&(e={}),void 0===t&&(t=null);var r=n(n({},N),e);if(r.engine!==T.dynamicTheme)throw new Error("Theme engine is not supported.");to(r,t,uo),co=!0}function fo(){return co}function po(){ro(),co=!1}var go=matchMedia("(prefers-color-scheme: dark)"),mo={themeOptions:null,fixes:null};function Ao(){go.matches?ho(mo.themeOptions,mo.fixes):po()}function vo(e,t){void 0===e&&(e={}),void 0===t&&(t=null),e?(mo={themeOptions:e,fixes:t},Ao(),v?go.addEventListener("change",Ao):go.addListener(Ao)):(v?go.removeEventListener("change",Ao):go.removeListener(Ao),po())}function yo(){return r(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return[4,lo()];case 1:return[2,e.sent()]}}))}))}var bo=C;e.auto=vo,e.disable=po,e.enable=ho,e.exportGeneratedCSS=yo,e.isEnabled=fo,e.setFetchMethod=bo,Object.defineProperty(e,"__esModule",{value:!0})}(t)},90869:function(e,t,n){e.exports=function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),r={name:"zh-cn",weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(e,t){return"W"===t?e+"\u5468":e+"\u65e5"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},relativeTime:{future:"%s\u5185",past:"%s\u524d",s:"\u51e0\u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},meridiem:function(e,t){var n=100*e+t;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1100?"\u4e0a\u5348":n<1300?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"}};return n.default.locale(r,null,!0),r}(n(65235))},26746:(e,t,n)=>{function r(){var e;try{e=t.storage.debug}catch(n){}return!e&&"undefined"!==typeof process&&"env"in process&&(e={NODE_ENV:"production",PUBLIC_URL:"",BUILD_VERSION:"0bc1d7243",THIRD_PARTY:"feishu-dashboard",REACT_APP_SERVER_ENV:"production",REACT_APP_BASE_API_URL:"https://orangedragonli.com/api",REACT_APP_WS_URL:"wss://bluedragonli.com/websocketd",REACT_APP_COLLABORATOR_WS_URL:"wss://orangedragonli.com/websocketd",REACT_APP_CORS_DISABLE_TOKEN:"5cnww43jwd8v5x86q2e24ahsxau97b3a",REACT_APP_AG_GRID_LICENSE_KEY:"For_Trialing_ag-Grid_Only-Not_For_Real_Development_Or_Production_Projects-Valid_Until-30_January_2021_[v2]_MTYxMTk2NDgwMDAwMA==865d36f3a1b8d04d3b1a1405229f6e2b",REACT_APP_GD_TOKEN:"e8ed63325c8e2ad2fceae1c785fad6bd",REACT_APP_DX_APPID:"66fe3ddc3a615b55143d2e02f0044b62",REACT_APP_MAPBOX_TOKEN:"pk.eyJ1IjoiZG9uZ2xlaSIsImEiOiJja3A2amE1cTMwbGQzMnBxZXF4MDEwMnRpIn0.v4ZdsImv9hprcA32ocydgw",REACT_APP_WECHAT_REDIRECT_URI:"https://bluedragonli.com/auth/wechat",REACT_APP_UPGRADE_FORM_URL:"https://bluedragonli.com/s/f/bhk7bmuhjpc0",REACT_APP_DATA_MARKET_FORM_URL:"https://bluedragonli.com/s/f/bhk7twgl7itc",REACT_APP_RECAPTCHA_TOKEN:"6Ldnoo0gAAAAAFbKnr4TtTZn9QUwz5IMsWytqYY4",REACT_APP_USE_RECAPTCHA:"true",REACT_APP_BILL_FORM_URL:"https://bluedragonli.com/s/f/bpup87rqe3nk",REACT_APP_GOOGLE_OAUTH_CLIENT_ID:"461798037408-6c78f94fg3at6soo6q7itm606hged3qf.apps.googleusercontent.com",REACT_APP_STRIPE_PUB_KEY:"pk_live_51L8b87HyKdWcfiHZBeLLIIUQKKf9Ec6UohLlnv0ZIjFfugGPZtfrGnfeQJ5yHXFeZNPya7ii4MTB5hQqXvf0CHhn004g4JMOOO",REACT_APP_OSS_URL:"https://hk-maptable-public.oss-cn-hongkong.aliyuncs.com",REACT_APP_SENTRY_DSN:"https://acfc50569f8b40ecbe6069885697f93a@o1161772.ingest.sentry.io/6248226",REACT_APP_STRIPE_RETURN_URL:"https://maptable.com/api/cb/stripe_payment/",REACT_APP_MAINTAIN_FILE_URI:"https://maptable-prod-public.oss-cn-hangzhou.aliyuncs.com/prodfiles/broadcast/maintain.json",REACT_APP_CRISP_WEBSITE_ID:"e3f43195-3a5a-4bcb-bf1d-7e3d13d0376d"}.DEBUG),e}(t=e.exports=n(52734)).log=function(){return"object"===typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var i=0,o=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(i++,"%c"===e&&(o=i))})),e.splice(o,0,r)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(n){}},t.load=r,t.useColors=function(){if("undefined"!==typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!==typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!==typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},t.enable(r())},52734:(e,t,n)=>{var r;function i(e){function n(){if(n.enabled){var e=n,i=+new Date,o=i-(r||i);e.diff=o,e.prev=r,e.curr=i,r=i;for(var a=new Array(arguments.length),s=0;s{"use strict";var r=n(37604)(),i=n(78559),o=r&&i("%Object.defineProperty%",!0);if(o)try{o({},"a",{value:1})}catch(c){o=!1}var a=i("%SyntaxError%"),s=i("%TypeError%"),l=n(95770);e.exports=function(e,t,n){if(!e||"object"!==typeof e&&"function"!==typeof e)throw new s("`obj` must be an object or a function`");if("string"!==typeof t&&"symbol"!==typeof t)throw new s("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!==typeof arguments[3]&&null!==arguments[3])throw new s("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!==typeof arguments[4]&&null!==arguments[4])throw new s("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!==typeof arguments[5]&&null!==arguments[5])throw new s("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!==typeof arguments[6])throw new s("`loose`, if provided, must be a boolean");var r=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],d=!!l&&l(e,t);if(o)o(e,t,{configurable:null===c&&d?d.configurable:!c,enumerable:null===r&&d?d.enumerable:!r,value:n,writable:null===i&&d?d.writable:!i});else{if(!u&&(r||i||c))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},39698:function(e){!function(t){"use strict";var n=function(){return{escape:function(e){return e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1")},parseExtension:e,mimeType:function(t){var n=e(t).toLowerCase();return function(){var e="application/font-woff",t="image/jpeg";return{woff:e,woff2:e,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:t,jpeg:t,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml"}}()[n]||""},dataAsUrl:function(e,t){return"data:"+t+";base64,"+e},isDataUrl:function(e){return-1!==e.search(/^(data:)/)},canvasToBlob:function(e){return e.toBlob?new Promise((function(t){e.toBlob(t)})):function(e){return new Promise((function(t){for(var n=window.atob(e.toDataURL().split(",")[1]),r=n.length,i=new Uint8Array(r),o=0;o'+e+""})).then((function(e){return''+e+""})).then((function(e){return"data:image/svg+xml;charset=utf-8,"+e}))}(r,t.width||n.width(e),t.height||n.height(e))}))}function c(e,t){return l(e,t).then(n.makeImage).then(n.delay(100)).then((function(r){var i=function(e){var r=document.createElement("canvas");if(r.width=t.width||n.width(e),r.height=t.height||n.height(e),t.bgcolor){var i=r.getContext("2d");i.fillStyle=t.bgcolor,i.fillRect(0,0,r.width,r.height)}return r}(e);return i.getContext("2d").drawImage(r,0,0),i}))}function u(e,t,r){return r||!t||t(e)?Promise.resolve(e).then((function(e){return e instanceof HTMLCanvasElement?n.makeImage(e.toDataURL()):e.cloneNode(!1)})).then((function(r){return function(e,t,r){var i=e.childNodes;return 0===i.length?Promise.resolve(t):o(t,n.asArray(i),r).then((function(){return t}));function o(e,t,n){var r=Promise.resolve();return t.forEach((function(t){r=r.then((function(){return u(t,n)})).then((function(t){t&&e.appendChild(t)}))})),r}}(e,r,t)})).then((function(t){return function(e,t){return t instanceof Element?Promise.resolve().then(r).then(i).then(o).then(a).then((function(){return t})):t;function r(){function r(e,t){function r(e,t){n.asArray(e).forEach((function(n){t.setProperty(n,e.getPropertyValue(n),e.getPropertyPriority(n))}))}e.cssText?t.cssText=e.cssText:r(e,t)}r(window.getComputedStyle(e),t.style)}function i(){function r(r){var i=window.getComputedStyle(e,r),o=i.getPropertyValue("content");if(""!==o&&"none"!==o){var a=n.uid();t.className=t.className+" "+a;var s=document.createElement("style");s.appendChild(l(a,r,i)),t.appendChild(s)}function l(e,t,r){var i="."+e+":"+t,o=r.cssText?a(r):s(r);return document.createTextNode(i+"{"+o+"}");function a(e){var t=e.getPropertyValue("content");return e.cssText+" content: "+t+";"}function s(e){return n.asArray(e).map(t).join("; ")+";";function t(t){return t+": "+e.getPropertyValue(t)+(e.getPropertyPriority(t)?" !important":"")}}}}[":before",":after"].forEach((function(e){r(e)}))}function o(){e instanceof HTMLTextAreaElement&&(t.innerHTML=e.value),e instanceof HTMLInputElement&&t.setAttribute("value",e.value)}function a(){t instanceof SVGElement&&(t.setAttribute("xmlns","http://www.w3.org/2000/svg"),t instanceof SVGRectElement&&["width","height"].forEach((function(e){var n=t.getAttribute(e);n&&t.style.setProperty(e,n)})))}}(e,t)})):Promise.resolve()}function d(e){return i.resolveAll().then((function(t){var n=document.createElement("style");return e.appendChild(n),n.appendChild(document.createTextNode(t)),e}))}function h(e){return o.inlineAll(e).then((function(){return e}))}e.exports=s}()},51752:function(e){e.exports=function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,n){return t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(e,n)}function n(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function r(e,i,o){return r=n()?Reflect.construct:function(e,n,r){var i=[null];i.push.apply(i,n);var o=new(Function.bind.apply(e,i));return r&&t(o,r.prototype),o},r.apply(null,arguments)}function i(e){return o(e)||a(e)||s(e)||c()}function o(e){if(Array.isArray(e))return l(e)}function a(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function s(e,t){if(e){if("string"===typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?n-1:0),i=1;i/gm),X=m(/^data-[\-\w.\u00B7-\uFFFF]/),K=m(/^aria-[\-\w]+$/),Q=m(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$=m(/^(?:\w+script|data):/i),J=m(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ee=m(/^html$/i),te=function(){return"undefined"===typeof window?null:window},ne=function(t,n){if("object"!==e(t)||"function"!==typeof t.createPolicy)return null;var r=null,i="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(i)&&(r=n.currentScript.getAttribute(i));var o="dompurify"+(r?"#"+r:"");try{return t.createPolicy(o,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(a){return console.warn("TrustedTypes policy "+o+" could not be created."),null}};function re(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te(),n=function(e){return re(e)};if(n.version="2.3.10",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,o=t.document,a=t.DocumentFragment,s=t.HTMLTemplateElement,l=t.Node,c=t.Element,u=t.NodeFilter,d=t.NamedNodeMap,h=void 0===d?t.NamedNodeMap||t.MozNamedAttrMap:d,f=t.HTMLFormElement,p=t.DOMParser,m=t.trustedTypes,A=c.prototype,v=D(A,"cloneNode"),y=D(A,"nextSibling"),b=D(A,"childNodes"),R=D(A,"parentNode");if("function"===typeof s){var O=o.createElement("template");O.content&&O.content.ownerDocument&&(o=O.content.ownerDocument)}var ie=ne(m,r),oe=ie?ie.createHTML(""):"",ae=o,se=ae.implementation,le=ae.createNodeIterator,ce=ae.createDocumentFragment,ue=ae.getElementsByTagName,de=r.importNode,he={};try{he=L(o).documentMode?o.documentMode:{}}catch(St){}var fe={};n.isSupported="function"===typeof R&&se&&"undefined"!==typeof se.createHTMLDocument&&9!==he;var pe,ge,me=q,Ae=Y,ve=X,ye=K,be=$,_e=J,we=Q,xe=null,Ee=I({},[].concat(i(N),i(F),i(j),i(z),i(U))),Se=null,Ce=I({},[].concat(i(H),i(V),i(G),i(W))),Pe=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Te=null,Me=null,ke=!0,Re=!0,Oe=!1,Ie=!1,Le=!1,De=!1,Ne=!1,Fe=!1,je=!1,Be=!1,ze=!0,Ze=!0,Ue=!1,He={},Ve=null,Ge=I({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),We=null,qe=I({},["audio","video","img","source","image","track"]),Ye=null,Xe=I({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ke="http://www.w3.org/1998/Math/MathML",Qe="http://www.w3.org/2000/svg",$e="http://www.w3.org/1999/xhtml",Je=$e,et=!1,tt=["application/xhtml+xml","text/html"],nt="text/html",rt=null,it=o.createElement("form"),ot=function(e){return e instanceof RegExp||e instanceof Function},at=function(t){rt&&rt===t||(t&&"object"===e(t)||(t={}),t=L(t),pe=pe=-1===tt.indexOf(t.PARSER_MEDIA_TYPE)?nt:t.PARSER_MEDIA_TYPE,ge="application/xhtml+xml"===pe?function(e){return e}:E,xe="ALLOWED_TAGS"in t?I({},t.ALLOWED_TAGS,ge):Ee,Se="ALLOWED_ATTR"in t?I({},t.ALLOWED_ATTR,ge):Ce,Ye="ADD_URI_SAFE_ATTR"in t?I(L(Xe),t.ADD_URI_SAFE_ATTR,ge):Xe,We="ADD_DATA_URI_TAGS"in t?I(L(qe),t.ADD_DATA_URI_TAGS,ge):qe,Ve="FORBID_CONTENTS"in t?I({},t.FORBID_CONTENTS,ge):Ge,Te="FORBID_TAGS"in t?I({},t.FORBID_TAGS,ge):{},Me="FORBID_ATTR"in t?I({},t.FORBID_ATTR,ge):{},He="USE_PROFILES"in t&&t.USE_PROFILES,ke=!1!==t.ALLOW_ARIA_ATTR,Re=!1!==t.ALLOW_DATA_ATTR,Oe=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ie=t.SAFE_FOR_TEMPLATES||!1,Le=t.WHOLE_DOCUMENT||!1,Fe=t.RETURN_DOM||!1,je=t.RETURN_DOM_FRAGMENT||!1,Be=t.RETURN_TRUSTED_TYPE||!1,Ne=t.FORCE_BODY||!1,ze=!1!==t.SANITIZE_DOM,Ze=!1!==t.KEEP_CONTENT,Ue=t.IN_PLACE||!1,we=t.ALLOWED_URI_REGEXP||we,Je=t.NAMESPACE||$e,t.CUSTOM_ELEMENT_HANDLING&&ot(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Pe.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ot(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Pe.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"===typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Pe.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ie&&(Re=!1),je&&(Fe=!0),He&&(xe=I({},i(U)),Se=[],!0===He.html&&(I(xe,N),I(Se,H)),!0===He.svg&&(I(xe,F),I(Se,V),I(Se,W)),!0===He.svgFilters&&(I(xe,j),I(Se,V),I(Se,W)),!0===He.mathMl&&(I(xe,z),I(Se,G),I(Se,W))),t.ADD_TAGS&&(xe===Ee&&(xe=L(xe)),I(xe,t.ADD_TAGS,ge)),t.ADD_ATTR&&(Se===Ce&&(Se=L(Se)),I(Se,t.ADD_ATTR,ge)),t.ADD_URI_SAFE_ATTR&&I(Ye,t.ADD_URI_SAFE_ATTR,ge),t.FORBID_CONTENTS&&(Ve===Ge&&(Ve=L(Ve)),I(Ve,t.FORBID_CONTENTS,ge)),Ze&&(xe["#text"]=!0),Le&&I(xe,["html","head","body"]),xe.table&&(I(xe,["tbody"]),delete Te.tbody),g&&g(t),rt=t)},st=I({},["mi","mo","mn","ms","mtext"]),lt=I({},["foreignobject","desc","title","annotation-xml"]),ct=I({},["title","style","font","a","script"]),ut=I({},F);I(ut,j),I(ut,B);var dt=I({},z);I(dt,Z);var ht=function(e){var t=R(e);t&&t.tagName||(t={namespaceURI:$e,tagName:"template"});var n=E(e.tagName),r=E(t.tagName);return e.namespaceURI===Qe?t.namespaceURI===$e?"svg"===n:t.namespaceURI===Ke?"svg"===n&&("annotation-xml"===r||st[r]):Boolean(ut[n]):e.namespaceURI===Ke?t.namespaceURI===$e?"math"===n:t.namespaceURI===Qe?"math"===n&<[r]:Boolean(dt[n]):e.namespaceURI===$e&&!(t.namespaceURI===Qe&&!lt[r])&&!(t.namespaceURI===Ke&&!st[r])&&!dt[n]&&(ct[n]||!ut[n])},ft=function(e){x(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(St){try{e.outerHTML=oe}catch(St){e.remove()}}},pt=function(e,t){try{x(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(St){x(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Se[e])if(Fe||je)try{ft(t)}catch(St){}else try{t.setAttribute(e,"")}catch(St){}},gt=function(e){var t,n;if(Ne)e=""+e;else{var r=S(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===pe&&(e=''+e+"");var i=ie?ie.createHTML(e):e;if(Je===$e)try{t=(new p).parseFromString(i,pe)}catch(St){}if(!t||!t.documentElement){t=se.createDocument(Je,"template",null);try{t.documentElement.innerHTML=et?"":i}catch(St){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(o.createTextNode(n),a.childNodes[0]||null),Je===$e?ue.call(t,Le?"html":"body")[0]:Le?t.documentElement:a},mt=function(e){return le.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null,!1)},At=function(e){return e instanceof f&&("string"!==typeof e.nodeName||"string"!==typeof e.textContent||"function"!==typeof e.removeChild||!(e.attributes instanceof h)||"function"!==typeof e.removeAttribute||"function"!==typeof e.setAttribute||"string"!==typeof e.namespaceURI||"function"!==typeof e.insertBefore)},vt=function(t){return"object"===e(l)?t instanceof l:t&&"object"===e(t)&&"number"===typeof t.nodeType&&"string"===typeof t.nodeName},yt=function(e,t,r){fe[e]&&_(fe[e],(function(e){e.call(n,t,r,rt)}))},bt=function(e){var t;if(yt("beforeSanitizeElements",e,null),At(e))return ft(e),!0;if(M(/[\u0080-\uFFFF]/,e.nodeName))return ft(e),!0;var r=ge(e.nodeName);if(yt("uponSanitizeElement",e,{tagName:r,allowedTags:xe}),e.hasChildNodes()&&!vt(e.firstElementChild)&&(!vt(e.content)||!vt(e.content.firstElementChild))&&M(/<[/\w]/g,e.innerHTML)&&M(/<[/\w]/g,e.textContent))return ft(e),!0;if("select"===r&&M(/