@redus/georedus-ui 0.20.0 → 0.20.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/main.js +1696 -1450
  3. package/package.json +6 -6
package/dist/main.js CHANGED
@@ -5,7 +5,7 @@ import { __assign, __spreadArray, __awaiter, __generator, __makeTemplateObject }
5
5
  import { schemeTableau10, schemeSet3, schemeSet2, schemeSet1, schemePastel2, schemePastel1, schemePaired, schemeObservable10, schemeDark2, schemeAccent, schemeCategory10, schemeSpectral, schemeRdYlGn, schemeRdYlBu, schemeRdGy, schemeRdBu, schemePuOr, schemePiYG, schemePRGn, schemeBrBG, schemeYlOrRd, schemeYlOrBr, schemeYlGn, schemeYlGnBu, schemeRdPu, schemePuRd, schemePuBu, schemePuBuGn, schemeOrRd, schemeGnBu, schemeBuPu, schemeBuGn, schemeReds, schemePurples, schemeOranges, schemeGreys, schemeGreens, schemeBlues, interpolateSpectral } from 'd3-scale-chromatic';
6
6
  import { get } from '@orioro/get';
7
7
  import { saveAs as saveAs$1 } from 'file-saver';
8
- import { CANCELLED, fileReadAs, Flex, AspectRatio, LoadingIndicator, Box, RichTextOutput, EvenSpacedList, FileOutput, MARKDOWN_DEFAULT_REMARK_PLUGINS, MARKDOWN_DEFAULT_REHYPE_PLUGINS, Markdown as Markdown$1, DropdownMenu, Input, SwitchInput, TextEllipsis, withDefaults, Button, LoadingOverlay, SingleFileInput, InputProvider as InputProvider$1, rendererSpecList, TextInput, withLabeledLayout, INPUTS, useLocalState } from '@orioro/react-ui-core';
8
+ import { CANCELLED, fileReadAs, Flex, AspectRatio, LoadingIndicator, Box, RichTextOutput, EvenSpacedList, FileOutput, MARKDOWN_DEFAULT_REMARK_PLUGINS, MARKDOWN_DEFAULT_REHYPE_PLUGINS, Markdown as Markdown$1, DropdownMenu, Input, SwitchInput, TextEllipsis, withDefaults, Button, LoadingOverlay, SingleFileInput, InputProvider as InputProvider$1, INPUTS, rendererSpecList, TextInput, withLabeledLayout, useLocalState } from '@orioro/react-ui-core';
9
9
  import initGdalJs from 'gdal3.js';
10
10
  import queryString from 'query-string';
11
11
  import { wrap } from 'comlink';
@@ -15,8 +15,9 @@ import { buffer } from '@turf/turf';
15
15
  import { scaleQuantile } from 'd3-scale';
16
16
  import { SVG_PATTERNS, fmtLayerAbsoluteId, waves_1, ControlContainer, LayeredMap, makeSyncedMaps, svgImageGenerator, useMapRegistry, useTilesLoading, HoverTooltip, layeredMapOnClickHandler, DynamicImages, InspectControl, MapWindow, TerrainControl, fitGeometry } from '@orioro/react-maplibre-util';
17
17
  import { cast, strAutoCast } from '@orioro/cast';
18
+ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
18
19
  import { csvParse } from 'd3-dsv';
19
- import React$1, { useState, useMemo, useCallback, useContext, createContext, useRef, useEffect, forwardRef, useImperativeHandle, memo, useReducer } from 'react';
20
+ import { useState, useMemo, useCallback, useContext, createContext, useRef, useEffect, forwardRef, useImperativeHandle, memo, useReducer, createElement } from 'react';
20
21
  import styled, { keyframes } from 'styled-components';
21
22
  import { colord } from 'colord';
22
23
  import { Heading, Portal, Badge, Tabs, Tooltip, IconButton, Theme, Text, Popover, Strong } from '@radix-ui/themes';
@@ -36,7 +37,7 @@ import Highlighter from 'react-highlight-words';
36
37
  import { LinkedinShareButton, LinkedinIcon, EmailShareButton, EmailIcon, FacebookShareButton, FacebookIcon, TwitterShareButton, TwitterIcon, WhatsappShareButton, WhatsappIcon } from 'react-share';
37
38
  import CopyToClipboard from 'react-copy-to-clipboard';
38
39
  import { Legend } from '@orioro/react-chart-util';
39
- import QRCode from 'react-qr-code';
40
+ import { QRCode } from 'react-qr-code';
40
41
  import { useMap, useControl, AttributionControl, ScaleControl, GeolocateControl, FullscreenControl, NavigationControl } from 'react-map-gl/maplibre';
41
42
  import { createPortal } from 'react-dom';
42
43
  import { toBlob } from 'html-to-image';
@@ -138,15 +139,6 @@ function _defineProperty(e, r, t) {
138
139
  writable: true
139
140
  }) : e[r] = t, e;
140
141
  }
141
- function _extends() {
142
- return _extends = Object.assign ? Object.assign.bind() : function (n) {
143
- for (var e = 1; e < arguments.length; e++) {
144
- var t = arguments[e];
145
- for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
146
- }
147
- return n;
148
- }, _extends.apply(null, arguments);
149
- }
150
142
  function _iterableToArray(r) {
151
143
  if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
152
144
  }
@@ -6645,17 +6637,20 @@ function colorSelector(_initialColor) {
6645
6637
  defaultValue: _initialColor,
6646
6638
  options: COLOR_OPTIONS.map(function (opt) {
6647
6639
  return _objectSpread2(_objectSpread2({}, opt), {}, {
6648
- label: /*#__PURE__*/React.createElement(Flex, {
6640
+ label: /*#__PURE__*/jsxs(Flex, {
6649
6641
  direction: "row",
6650
6642
  alignItems: "center",
6651
- gap: "2"
6652
- }, /*#__PURE__*/React.createElement("div", {
6653
- style: {
6654
- width: '15px',
6655
- height: '15px',
6656
- backgroundColor: opt.value
6657
- }
6658
- }), /*#__PURE__*/React.createElement("div", null, opt.label))
6643
+ gap: "2",
6644
+ children: [/*#__PURE__*/jsx("div", {
6645
+ style: {
6646
+ width: '15px',
6647
+ height: '15px',
6648
+ backgroundColor: opt.value
6649
+ }
6650
+ }), /*#__PURE__*/jsx("div", {
6651
+ children: opt.label
6652
+ })]
6653
+ })
6659
6654
  });
6660
6655
  })
6661
6656
  };
@@ -6707,21 +6702,24 @@ function fillPatternSelector() {
6707
6702
  scale: '0.25'
6708
6703
  }));
6709
6704
  return _objectSpread2(_objectSpread2({}, opt), {}, {
6710
- label: /*#__PURE__*/React.createElement(Flex, {
6705
+ label: /*#__PURE__*/jsxs(Flex, {
6711
6706
  direction: "row",
6712
6707
  alignItems: "center",
6713
- gap: "2"
6714
- }, /*#__PURE__*/React.createElement("div", {
6715
- style: _objectSpread2({
6716
- width: 15,
6717
- height: 15,
6718
- border: '1px solid #aaa'
6719
- }, pattern ? {
6720
- backgroundImage: pattern
6721
- } : {
6722
- backgroundColor: '#ccc'
6723
- })
6724
- }), /*#__PURE__*/React.createElement("div", null, " ", opt.label))
6708
+ gap: "2",
6709
+ children: [/*#__PURE__*/jsx("div", {
6710
+ style: _objectSpread2({
6711
+ width: 15,
6712
+ height: 15,
6713
+ border: '1px solid #aaa'
6714
+ }, pattern ? {
6715
+ backgroundImage: pattern
6716
+ } : {
6717
+ backgroundColor: '#ccc'
6718
+ })
6719
+ }), /*#__PURE__*/jsxs("div", {
6720
+ children: [" ", opt.label]
6721
+ })]
6722
+ })
6725
6723
  });
6726
6724
  })
6727
6725
  }, props);
@@ -6848,20 +6846,23 @@ function vector_polygon(_ref, allViewSpecs, context) {
6848
6846
  scale: '0.25'
6849
6847
  }));
6850
6848
  return _objectSpread2(_objectSpread2({}, opt), {}, {
6851
- label: /*#__PURE__*/React.createElement(Flex, {
6849
+ label: /*#__PURE__*/jsxs(Flex, {
6852
6850
  direction: "row",
6853
6851
  alignItems: "center",
6854
- gap: "2"
6855
- }, /*#__PURE__*/React.createElement("div", {
6856
- style: _objectSpread2({
6857
- width: 15,
6858
- height: 15
6859
- }, pattern ? {
6860
- backgroundImage: pattern
6861
- } : {
6862
- backgroundColor: '#ccc'
6863
- })
6864
- }), /*#__PURE__*/React.createElement("div", null, " ", opt.label))
6852
+ gap: "2",
6853
+ children: [/*#__PURE__*/jsx("div", {
6854
+ style: _objectSpread2({
6855
+ width: 15,
6856
+ height: 15
6857
+ }, pattern ? {
6858
+ backgroundImage: pattern
6859
+ } : {
6860
+ backgroundColor: '#ccc'
6861
+ })
6862
+ }), /*#__PURE__*/jsxs("div", {
6863
+ children: [" ", opt.label]
6864
+ })]
6865
+ })
6865
6866
  });
6866
6867
  })
6867
6868
  }
@@ -7344,26 +7345,27 @@ var COLOR_SCHEME_OPTIONS = Object.entries(D3_SCHEMES).map(function (_ref) {
7344
7345
  var colors = getLargestColorArray(scheme);
7345
7346
  return {
7346
7347
  value: name,
7347
- label: /*#__PURE__*/React.createElement(Flex, {
7348
+ label: /*#__PURE__*/jsx(Flex, {
7348
7349
  direction: "row",
7349
7350
  gap: "2",
7350
- alignItems: "center"
7351
- }, /*#__PURE__*/React.createElement("div", {
7352
- style: {
7353
- display: 'flex',
7354
- gap: '2px'
7355
- }
7356
- }, colors.map(function (color, idx) {
7357
- return /*#__PURE__*/React.createElement("div", {
7358
- key: idx,
7351
+ alignItems: "center",
7352
+ children: /*#__PURE__*/jsx("div", {
7359
7353
  style: {
7360
- width: 15,
7361
- height: 15,
7362
- backgroundColor: color,
7363
- border: 'none'
7364
- }
7365
- });
7366
- })))
7354
+ display: 'flex',
7355
+ gap: '2px'
7356
+ },
7357
+ children: colors.map(function (color, idx) {
7358
+ return /*#__PURE__*/jsx("div", {
7359
+ style: {
7360
+ width: 15,
7361
+ height: 15,
7362
+ backgroundColor: color,
7363
+ border: 'none'
7364
+ }
7365
+ }, idx);
7366
+ })
7367
+ })
7368
+ })
7367
7369
  };
7368
7370
  });
7369
7371
  function confSchema$1(viewSpec, allViewSpecs, context) {
@@ -7708,18 +7710,21 @@ function vector_line(_ref, allViewSpecs, context) {
7708
7710
  defaultValue: _initialLinePattern || 'line',
7709
7711
  options: LINE_PATTERN_OPTIONS.map(function (opt) {
7710
7712
  return _objectSpread2(_objectSpread2({}, opt), {}, {
7711
- label: /*#__PURE__*/React.createElement(Flex, {
7713
+ label: /*#__PURE__*/jsxs(Flex, {
7712
7714
  direction: "row",
7713
7715
  alignItems: "center",
7714
- gap: "2"
7715
- }, /*#__PURE__*/React.createElement("div", {
7716
- style: {
7717
- width: 15,
7718
- height: 0,
7719
- borderStyle: opt.value === 'line' ? 'solid' : 'dashed',
7720
- borderWidth: 1
7721
- }
7722
- }), /*#__PURE__*/React.createElement("div", null, " ", opt.label))
7716
+ gap: "2",
7717
+ children: [/*#__PURE__*/jsx("div", {
7718
+ style: {
7719
+ width: 15,
7720
+ height: 0,
7721
+ borderStyle: opt.value === 'line' ? 'solid' : 'dashed',
7722
+ borderWidth: 1
7723
+ }
7724
+ }), /*#__PURE__*/jsxs("div", {
7725
+ children: [" ", opt.label]
7726
+ })]
7727
+ })
7723
7728
  });
7724
7729
  })
7725
7730
  }
@@ -8779,11 +8784,12 @@ var _templateObject$8;
8779
8784
  var StyledIframe = styled.iframe(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteral(["\n border: none;\n width: 100%;\n height: 100%;\n"])));
8780
8785
  function DocumentIframe(_ref) {
8781
8786
  var src = _ref.src;
8782
- return /*#__PURE__*/React.createElement(AspectRatio, {
8783
- ratio: 210 / 297
8784
- }, /*#__PURE__*/React.createElement(StyledIframe, {
8785
- src: src
8786
- }));
8787
+ return /*#__PURE__*/jsx(AspectRatio, {
8788
+ ratio: 210 / 297,
8789
+ children: /*#__PURE__*/jsx(StyledIframe, {
8790
+ src: src
8791
+ })
8792
+ });
8787
8793
  }
8788
8794
 
8789
8795
  var CURVATURA_ID = 'curvatura';
@@ -8828,7 +8834,7 @@ function curvatura(_ref) {
8828
8834
  label: 'Forma da encosta - Em perfil',
8829
8835
  shortDescription: 'Refere-se às formas côncava, convexa e retilínea do terreno, analisada em perfil',
8830
8836
  path: "Emerg\xEAncias clim\xE1ticas / / Suscetibilidade a deslizamentos",
8831
- metodology: /*#__PURE__*/React$1.createElement(DocumentIframe, {
8837
+ metodology: /*#__PURE__*/jsx(DocumentIframe, {
8832
8838
  src: "/georedus/metodologia/perfil-de-curvatura.pdf"
8833
8839
  }),
8834
8840
  confSchema: {
@@ -8957,7 +8963,7 @@ function declividade(_ref) {
8957
8963
  label: 'Declividade',
8958
8964
  shortDescription: 'Ângulo de inclinação da superfície do terreno com relação à horizontal',
8959
8965
  path: "Emerg\xEAncias clim\xE1ticas / / Suscetibilidade a deslizamentos",
8960
- metodology: /*#__PURE__*/React$1.createElement(DocumentIframe, {
8966
+ metodology: /*#__PURE__*/jsx(DocumentIframe, {
8961
8967
  src: "/georedus/metodologia/declividade.pdf"
8962
8968
  }),
8963
8969
  confSchema: {
@@ -9076,7 +9082,7 @@ function hand(_ref7) {
9076
9082
  label: 'Altura acima da drenagem mais próxima',
9077
9083
  shortDescription: 'Áreas suscetíveis à inundação calculadas por meio da distância vertical em relação ao canal de drenagem mais próximo',
9078
9084
  path: "Emerg\xEAncias clim\xE1ticas / / Suscetibilidade \xE0 inunda\xE7\xE3o",
9079
- metodology: /*#__PURE__*/React$1.createElement(DocumentIframe, {
9085
+ metodology: /*#__PURE__*/jsx(DocumentIframe, {
9080
9086
  src: "/georedus/metodologia/inundacao-hand.pdf"
9081
9087
  }),
9082
9088
  confSchema: {
@@ -9254,32 +9260,34 @@ function AsyncImage(_ref) {
9254
9260
  _useState2 = _slicedToArray(_useState, 2),
9255
9261
  loaded = _useState2[0],
9256
9262
  setLoaded = _useState2[1];
9257
- return /*#__PURE__*/React$1.createElement("div", {
9263
+ return /*#__PURE__*/jsxs("div", {
9258
9264
  style: {
9259
9265
  position: 'relative'
9260
- }
9261
- }, /*#__PURE__*/React$1.createElement(AspectRatio, {
9262
- ratio: 16 / 9
9263
- }, /*#__PURE__*/React$1.createElement("img", {
9264
- src: src,
9265
- onLoad: function onLoad() {
9266
- return setLoaded(true);
9267
- },
9268
- onError: function onError() {
9269
- return setLoaded(true);
9270
9266
  },
9271
- style: {
9272
- display: loaded ? 'block' : 'none',
9273
- maxWidth: '100%'
9274
- }
9275
- })), !loaded && /*#__PURE__*/React$1.createElement(LoadingIndicator, {
9276
- style: {
9277
- position: 'absolute',
9278
- top: '50%',
9279
- left: '50%',
9280
- transform: 'translate(-50%, -50%)'
9281
- }
9282
- }));
9267
+ children: [/*#__PURE__*/jsx(AspectRatio, {
9268
+ ratio: 16 / 9,
9269
+ children: /*#__PURE__*/jsx("img", {
9270
+ src: src,
9271
+ onLoad: function onLoad() {
9272
+ return setLoaded(true);
9273
+ },
9274
+ onError: function onError() {
9275
+ return setLoaded(true);
9276
+ },
9277
+ style: {
9278
+ display: loaded ? 'block' : 'none',
9279
+ maxWidth: '100%'
9280
+ }
9281
+ })
9282
+ }), !loaded && /*#__PURE__*/jsx(LoadingIndicator, {
9283
+ style: {
9284
+ position: 'absolute',
9285
+ top: '50%',
9286
+ left: '50%',
9287
+ transform: 'translate(-50%, -50%)'
9288
+ }
9289
+ })]
9290
+ });
9283
9291
  }
9284
9292
  var MITIGACAO = 'Mitigação – energias renováveis, eficiência energética, mobilidade sustentável, construções verdes, redução de emissões';
9285
9293
  var ADAPTACAO = 'Adaptação – resiliência climática, gestão da água, reflorestamento, agricultura sustentável, saúde, nutrição';
@@ -9393,124 +9401,177 @@ function redus_mutirao_cop_2025(conf) {
9393
9401
  case 0:
9394
9402
  properties = feature.properties;
9395
9403
  _context.next = 3;
9396
- return context.dialogs.view(/*#__PURE__*/React$1.createElement(Flex, {
9404
+ return context.dialogs.view(/*#__PURE__*/jsxs(Flex, {
9397
9405
  direction: "column",
9398
- gap: "4"
9399
- }, /*#__PURE__*/React$1.createElement(Flex, {
9400
- direction: "column",
9401
- gap: "2"
9402
- }, /*#__PURE__*/React$1.createElement(Box, {
9403
- pr: "120px",
9404
- style: {
9405
- position: 'relative'
9406
- }
9407
- }, /*#__PURE__*/React$1.createElement(Heading, {
9408
- as: "h1",
9409
- size: "6"
9410
- }, properties.name), /*#__PURE__*/React$1.createElement("img", {
9411
- style: {
9412
- position: 'absolute',
9413
- top: 0,
9414
- right: 0,
9415
- width: '100px',
9416
- height: 'auto'
9417
- },
9418
- alt: "Logo COP30 Bel\xE9m",
9419
- src: "/georedus/mutirao-cop30/COP30_Official_Logo.svg"
9420
- })), /*#__PURE__*/React$1.createElement(Portal, null, /*#__PURE__*/React$1.createElement(Confetti, {
9421
- style: {
9422
- position: 'fixed',
9423
- top: 0,
9424
- left: 0,
9425
- zIndex: 9999,
9426
- width: '100vw'
9427
- },
9428
- recycle: false,
9429
- numberOfPieces: 700,
9430
- tweenDuration: 8000
9431
- })), (properties.eixos_cop_30_text || properties.odus_text) && /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(AutoWrapContainer, null, JSON.parse(properties.eixos_cop_30_text).map(function (eixo, idx) {
9432
- return /*#__PURE__*/React$1.createElement(Badge, {
9433
- color: "green",
9434
- key: idx
9435
- }, _eixoShortLabel(eixo));
9436
- }), JSON.parse(properties.odus_text).map(function (obj, idx) {
9437
- return /*#__PURE__*/React$1.createElement(Badge, {
9438
- key: idx
9439
- }, obj);
9440
- }))), /*#__PURE__*/React$1.createElement(Heading, {
9441
- as: "h3",
9442
- size: "2",
9443
- style: {
9444
- fontWeight: 'normal'
9445
- }
9446
- }, "Organiza\xE7\xE3o respons\xE1vel:", ' ', /*#__PURE__*/React$1.createElement("strong", null, properties.organizacao)), properties.parcerias && /*#__PURE__*/React$1.createElement(Heading, {
9447
- as: "h3",
9448
- size: "2",
9449
- style: {
9450
- fontWeight: 'normal'
9451
- }
9452
- }, "Em parceria com: ", /*#__PURE__*/React$1.createElement("strong", null, properties.parcerias)), /*#__PURE__*/React$1.createElement(Heading, {
9453
- as: "h3",
9454
- size: "2",
9455
- style: {
9456
- fontWeight: 'normal'
9457
- }
9458
- }, "Cidade:", ' ', /*#__PURE__*/React$1.createElement("strong", null, properties.cidade, " - ", properties.estado))), properties.cover_image && /*#__PURE__*/React$1.createElement(Box, null, /*#__PURE__*/React$1.createElement("img", {
9459
- style: {
9460
- maxWidth: '100%'
9461
- },
9462
- src: properties.cover_image
9463
- })), properties.descricao_text && /*#__PURE__*/React$1.createElement(Flex, {
9464
- gap: "2"
9465
- }, /*#__PURE__*/React$1.createElement(Heading, {
9466
- size: "3"
9467
- }, "Descri\xE7\xE3o:"), /*#__PURE__*/React$1.createElement(RichTextOutput, {
9468
- value: JSON.parse(properties.descricao_text)
9469
- })), properties.impacto_text && /*#__PURE__*/React$1.createElement(Flex, {
9470
- gap: "2"
9471
- }, /*#__PURE__*/React$1.createElement(Heading, {
9472
- size: "3"
9473
- }, "Impacto:"), /*#__PURE__*/React$1.createElement(RichTextOutput, {
9474
- value: JSON.parse(properties.impacto_text)
9475
- })), properties.escala_de_atuacao_text && /*#__PURE__*/React$1.createElement(Flex, {
9476
- gap: "2"
9477
- }, /*#__PURE__*/React$1.createElement(Heading, {
9478
- size: "3"
9479
- }, "Escala de atua\xE7\xE3o:"), /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(UnstyledList, null, JSON.parse(properties.escala_de_atuacao_text).map(function (escala, idx) {
9480
- return /*#__PURE__*/React$1.createElement("li", {
9481
- key: idx
9482
- }, escala);
9483
- })))), properties.fase_text && /*#__PURE__*/React$1.createElement(Flex, {
9484
- gap: "2"
9485
- }, /*#__PURE__*/React$1.createElement(Heading, {
9486
- size: "3"
9487
- }, "Fase:"), /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(UnstyledList, null, JSON.parse(properties.fase_text).map(function (fase, idx) {
9488
- return /*#__PURE__*/React$1.createElement("li", {
9489
- key: idx
9490
- }, fase);
9491
- })))), /*#__PURE__*/React$1.createElement(Flex, {
9492
- gap: "2"
9493
- }, /*#__PURE__*/React$1.createElement(Heading, {
9494
- size: "3"
9495
- }, "Informa\xE7\xF5es de contato:"), /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(UnstyledList, null, _ensureUrl(properties.site) && /*#__PURE__*/React$1.createElement("li", null, "Site:", ' ', /*#__PURE__*/React$1.createElement("a", {
9496
- href: _ensureUrl(properties.site),
9497
- target: "_blank",
9498
- rel: "noreferrer noopener"
9499
- }, _ensureUrl(properties.site))), properties.redes_sociais && /*#__PURE__*/React$1.createElement("li", null, "Redes sociais: ", properties.redes_sociais), properties.email && /*#__PURE__*/React$1.createElement("li", null, "E-mail:", ' ', /*#__PURE__*/React$1.createElement("a", {
9500
- href: "mailto:".concat(properties.email)
9501
- }, properties.email))))), properties.other_attachments_text && /*#__PURE__*/React$1.createElement(Flex, {
9502
- gap: "2"
9503
- }, /*#__PURE__*/React$1.createElement(Heading, {
9504
- size: "3"
9505
- }, "Mais informa\xE7\xF5es:"), /*#__PURE__*/React$1.createElement(EvenSpacedList, {
9506
- columns: 2,
9507
- gap: "3"
9508
- }, JSON.parse(properties.other_attachments_text).map(function (fase, idx) {
9509
- return /*#__PURE__*/React$1.createElement(FileOutput, {
9510
- value: fase,
9511
- key: idx
9512
- });
9513
- })))));
9406
+ gap: "4",
9407
+ children: [/*#__PURE__*/jsxs(Flex, {
9408
+ direction: "column",
9409
+ gap: "2",
9410
+ children: [/*#__PURE__*/jsxs(Box, {
9411
+ pr: "120px",
9412
+ style: {
9413
+ position: 'relative'
9414
+ },
9415
+ children: [/*#__PURE__*/jsx(Heading, {
9416
+ as: "h1",
9417
+ size: "6",
9418
+ children: properties.name
9419
+ }), /*#__PURE__*/jsx("img", {
9420
+ style: {
9421
+ position: 'absolute',
9422
+ top: 0,
9423
+ right: 0,
9424
+ width: '100px',
9425
+ height: 'auto'
9426
+ },
9427
+ alt: "Logo COP30 Bel\xE9m",
9428
+ src: "/georedus/mutirao-cop30/COP30_Official_Logo.svg"
9429
+ })]
9430
+ }), /*#__PURE__*/jsx(Portal, {
9431
+ children: /*#__PURE__*/jsx(Confetti, {
9432
+ style: {
9433
+ position: 'fixed',
9434
+ top: 0,
9435
+ left: 0,
9436
+ zIndex: 9999,
9437
+ width: '100vw'
9438
+ },
9439
+ recycle: false,
9440
+ numberOfPieces: 700,
9441
+ tweenDuration: 8000
9442
+ })
9443
+ }), (properties.eixos_cop_30_text || properties.odus_text) && /*#__PURE__*/jsx("div", {
9444
+ children: /*#__PURE__*/jsxs(AutoWrapContainer, {
9445
+ children: [JSON.parse(properties.eixos_cop_30_text).map(function (eixo, idx) {
9446
+ return /*#__PURE__*/jsx(Badge, {
9447
+ color: "green",
9448
+ children: _eixoShortLabel(eixo)
9449
+ }, idx);
9450
+ }), JSON.parse(properties.odus_text).map(function (obj, idx) {
9451
+ return /*#__PURE__*/jsx(Badge, {
9452
+ children: obj
9453
+ }, idx);
9454
+ })]
9455
+ })
9456
+ }), /*#__PURE__*/jsxs(Heading, {
9457
+ as: "h3",
9458
+ size: "2",
9459
+ style: {
9460
+ fontWeight: 'normal'
9461
+ },
9462
+ children: ["Organiza\xE7\xE3o respons\xE1vel:", ' ', /*#__PURE__*/jsx("strong", {
9463
+ children: properties.organizacao
9464
+ })]
9465
+ }), properties.parcerias && /*#__PURE__*/jsxs(Heading, {
9466
+ as: "h3",
9467
+ size: "2",
9468
+ style: {
9469
+ fontWeight: 'normal'
9470
+ },
9471
+ children: ["Em parceria com: ", /*#__PURE__*/jsx("strong", {
9472
+ children: properties.parcerias
9473
+ })]
9474
+ }), /*#__PURE__*/jsxs(Heading, {
9475
+ as: "h3",
9476
+ size: "2",
9477
+ style: {
9478
+ fontWeight: 'normal'
9479
+ },
9480
+ children: ["Cidade:", ' ', /*#__PURE__*/jsxs("strong", {
9481
+ children: [properties.cidade, " - ", properties.estado]
9482
+ })]
9483
+ })]
9484
+ }), properties.cover_image && /*#__PURE__*/jsx(Box, {
9485
+ children: /*#__PURE__*/jsx("img", {
9486
+ style: {
9487
+ maxWidth: '100%'
9488
+ },
9489
+ src: properties.cover_image
9490
+ })
9491
+ }), properties.descricao_text && /*#__PURE__*/jsxs(Flex, {
9492
+ gap: "2",
9493
+ children: [/*#__PURE__*/jsx(Heading, {
9494
+ size: "3",
9495
+ children: "Descri\xE7\xE3o:"
9496
+ }), /*#__PURE__*/jsx(RichTextOutput, {
9497
+ value: JSON.parse(properties.descricao_text)
9498
+ })]
9499
+ }), properties.impacto_text && /*#__PURE__*/jsxs(Flex, {
9500
+ gap: "2",
9501
+ children: [/*#__PURE__*/jsx(Heading, {
9502
+ size: "3",
9503
+ children: "Impacto:"
9504
+ }), /*#__PURE__*/jsx(RichTextOutput, {
9505
+ value: JSON.parse(properties.impacto_text)
9506
+ })]
9507
+ }), properties.escala_de_atuacao_text && /*#__PURE__*/jsxs(Flex, {
9508
+ gap: "2",
9509
+ children: [/*#__PURE__*/jsx(Heading, {
9510
+ size: "3",
9511
+ children: "Escala de atua\xE7\xE3o:"
9512
+ }), /*#__PURE__*/jsx("div", {
9513
+ children: /*#__PURE__*/jsx(UnstyledList, {
9514
+ children: JSON.parse(properties.escala_de_atuacao_text).map(function (escala, idx) {
9515
+ return /*#__PURE__*/jsx("li", {
9516
+ children: escala
9517
+ }, idx);
9518
+ })
9519
+ })
9520
+ })]
9521
+ }), properties.fase_text && /*#__PURE__*/jsxs(Flex, {
9522
+ gap: "2",
9523
+ children: [/*#__PURE__*/jsx(Heading, {
9524
+ size: "3",
9525
+ children: "Fase:"
9526
+ }), /*#__PURE__*/jsx("div", {
9527
+ children: /*#__PURE__*/jsx(UnstyledList, {
9528
+ children: JSON.parse(properties.fase_text).map(function (fase, idx) {
9529
+ return /*#__PURE__*/jsx("li", {
9530
+ children: fase
9531
+ }, idx);
9532
+ })
9533
+ })
9534
+ })]
9535
+ }), /*#__PURE__*/jsxs(Flex, {
9536
+ gap: "2",
9537
+ children: [/*#__PURE__*/jsx(Heading, {
9538
+ size: "3",
9539
+ children: "Informa\xE7\xF5es de contato:"
9540
+ }), /*#__PURE__*/jsx("div", {
9541
+ children: /*#__PURE__*/jsxs(UnstyledList, {
9542
+ children: [_ensureUrl(properties.site) && /*#__PURE__*/jsxs("li", {
9543
+ children: ["Site:", ' ', /*#__PURE__*/jsx("a", {
9544
+ href: _ensureUrl(properties.site),
9545
+ target: "_blank",
9546
+ rel: "noreferrer noopener",
9547
+ children: _ensureUrl(properties.site)
9548
+ })]
9549
+ }), properties.redes_sociais && /*#__PURE__*/jsxs("li", {
9550
+ children: ["Redes sociais: ", properties.redes_sociais]
9551
+ }), properties.email && /*#__PURE__*/jsxs("li", {
9552
+ children: ["E-mail:", ' ', /*#__PURE__*/jsx("a", {
9553
+ href: "mailto:".concat(properties.email),
9554
+ children: properties.email
9555
+ })]
9556
+ })]
9557
+ })
9558
+ })]
9559
+ }), properties.other_attachments_text && /*#__PURE__*/jsxs(Flex, {
9560
+ gap: "2",
9561
+ children: [/*#__PURE__*/jsx(Heading, {
9562
+ size: "3",
9563
+ children: "Mais informa\xE7\xF5es:"
9564
+ }), /*#__PURE__*/jsx(EvenSpacedList, {
9565
+ columns: 2,
9566
+ gap: "3",
9567
+ children: JSON.parse(properties.other_attachments_text).map(function (fase, idx) {
9568
+ return /*#__PURE__*/jsx(FileOutput, {
9569
+ value: fase
9570
+ }, idx);
9571
+ })
9572
+ })]
9573
+ })]
9574
+ }));
9514
9575
  case 3:
9515
9576
  case "end":
9516
9577
  return _context.stop();
@@ -9530,20 +9591,21 @@ function redus_mutirao_cop_2025(conf) {
9530
9591
  var _feature$properties;
9531
9592
  return item.value === (feature === null || feature === void 0 || (_feature$properties = feature.properties) === null || _feature$properties === void 0 ? void 0 : _feature$properties.eixos_cop_30_primeiro);
9532
9593
  }) || null;
9533
- return /*#__PURE__*/React$1.createElement("div", {
9594
+ return /*#__PURE__*/jsxs("div", {
9534
9595
  style: {
9535
9596
  display: 'inline-flex'
9536
- }
9537
- }, eixo && eixo.iconPath && /*#__PURE__*/React$1.createElement(Icon, {
9538
- path: eixo.iconPath,
9539
- size: "18px",
9540
- style: {
9541
- flexGrow: 0,
9542
- flexShrink: 0,
9543
- marginRight: 5
9544
9597
  },
9545
- color: "white"
9546
- }), "".concat(eixo === null || eixo === void 0 ? void 0 : eixo.label, ": ").concat(feature === null || feature === void 0 || (_feature$properties2 = feature.properties) === null || _feature$properties2 === void 0 ? void 0 : _feature$properties2.name));
9598
+ children: [eixo && eixo.iconPath && /*#__PURE__*/jsx(Icon, {
9599
+ path: eixo.iconPath,
9600
+ size: "18px",
9601
+ style: {
9602
+ flexGrow: 0,
9603
+ flexShrink: 0,
9604
+ marginRight: 5
9605
+ },
9606
+ color: "white"
9607
+ }), "".concat(eixo === null || eixo === void 0 ? void 0 : eixo.label, ": ").concat(feature === null || feature === void 0 || (_feature$properties2 = feature.properties) === null || _feature$properties2 === void 0 ? void 0 : _feature$properties2.name)]
9608
+ });
9547
9609
  })),
9548
9610
  // title: ['$literal', ['$get', 'feature.properties.name']],
9549
9611
  entries: [['Organização', ['$literal', ['$get', 'feature.properties.organizacao']]], resolve.literal(resolve.fn(function (_ref3) {
@@ -9552,7 +9614,7 @@ function redus_mutirao_cop_2025(conf) {
9552
9614
  return (_feature$properties3 = feature.properties) !== null && _feature$properties3 !== void 0 && _feature$properties3.parcerias ? ['Parcerias', (_feature$properties4 = feature.properties) === null || _feature$properties4 === void 0 ? void 0 : _feature$properties4.parcerias] : null;
9553
9615
  })), resolve.literal(resolve.fn(function (_ref4) {
9554
9616
  var feature = _ref4.feature;
9555
- return feature.properties.cover_image ? [null, /*#__PURE__*/React$1.createElement(AsyncImage, {
9617
+ return feature.properties.cover_image ? [null, /*#__PURE__*/jsx(AsyncImage, {
9556
9618
  style: {
9557
9619
  maxWidth: '100%'
9558
9620
  },
@@ -9567,7 +9629,7 @@ function redus_mutirao_cop_2025(conf) {
9567
9629
  items: LEGEND_ITEMS.map(function (item) {
9568
9630
  return _objectSpread2(_objectSpread2({}, item), {}, {
9569
9631
  box: {
9570
- children: item.iconPath && /*#__PURE__*/React$1.createElement(Icon, {
9632
+ children: item.iconPath && /*#__PURE__*/jsx(Icon, {
9571
9633
  path: item.iconPath,
9572
9634
  size: "14px",
9573
9635
  color: "white"
@@ -9645,7 +9707,7 @@ function temperatura_superficie(_ref7) {
9645
9707
  id: TEMPERATURA_SUPERFICIE_ID,
9646
9708
  sourceLabel: 'Landsat-8 e Landsat-9',
9647
9709
  shortDescription: 'Refere-se à',
9648
- metodology: /*#__PURE__*/React$1.createElement(DocumentIframe, {
9710
+ metodology: /*#__PURE__*/jsx(DocumentIframe, {
9649
9711
  src: "/georedus/metodologia/maximas-de-temperatura.pdf"
9650
9712
  }),
9651
9713
  label: 'Temperatura máxima de superfície (ºC)'
@@ -9958,7 +10020,7 @@ var templateObject_1, templateObject_2, templateObject_3;
9958
10020
  var REMARK_PLUGINS = [].concat(_toConsumableArray(MARKDOWN_DEFAULT_REMARK_PLUGINS), [remarkMath]);
9959
10021
  var REHYPE_PLUGINS = [].concat(_toConsumableArray(MARKDOWN_DEFAULT_REHYPE_PLUGINS), [rehypeKatex]);
9960
10022
  function Markdown(props) {
9961
- return /*#__PURE__*/React$1.createElement(Markdown$1, _extends({
10023
+ return /*#__PURE__*/jsx(Markdown$1, _objectSpread2({
9962
10024
  remarkPlugins: REMARK_PLUGINS,
9963
10025
  rehypePlugins: REHYPE_PLUGINS
9964
10026
  }, props));
@@ -9988,19 +10050,20 @@ var _createDialogSystem = createDialogSystem({
9988
10050
  useDialogs = _createDialogSystem2[1];
9989
10051
  function DialogsProvider(_ref2) {
9990
10052
  var children = _ref2.children;
9991
- return /*#__PURE__*/React$1.createElement(DialogsProvider_, {
10053
+ return /*#__PURE__*/jsx(DialogsProvider_, {
9992
10054
  prompt: {
9993
10055
  restore: 'Restaurar',
9994
10056
  cancel: 'Cancelar',
9995
10057
  submit: 'Enviar'
9996
- }
9997
- }, children);
10058
+ },
10059
+ children: children
10060
+ });
9998
10061
  }
9999
10062
 
10000
10063
  var CONF_TABS = {
10001
10064
  data: {
10002
10065
  id: 'data',
10003
- icon: /*#__PURE__*/React$1.createElement(Icon, {
10066
+ icon: /*#__PURE__*/jsx(Icon, {
10004
10067
  path: mdiFilterVariant,
10005
10068
  size: "16px"
10006
10069
  }),
@@ -10008,7 +10071,7 @@ var CONF_TABS = {
10008
10071
  },
10009
10072
  style: {
10010
10073
  id: 'style',
10011
- icon: /*#__PURE__*/React$1.createElement(Icon, {
10074
+ icon: /*#__PURE__*/jsx(Icon, {
10012
10075
  path: mdiOpacity,
10013
10076
  size: "16px"
10014
10077
  }),
@@ -10041,149 +10104,166 @@ function ViewConfTabs(_ref) {
10041
10104
  }).filter(Boolean);
10042
10105
  }, [CONF_SCHEMA]);
10043
10106
  var dialogs = useDialogs();
10044
- return /*#__PURE__*/React$1.createElement(Tabs.Root, {
10045
- defaultValue: ((_enabledTabs$ = enabledTabs[0]) === null || _enabledTabs$ === void 0 ? void 0 : _enabledTabs$.id) || null
10046
- }, /*#__PURE__*/React$1.createElement(Flex, {
10047
- direction: "row",
10048
- gap: "0"
10049
- }, /*#__PURE__*/React$1.createElement(Tabs.List, {
10050
- size: "1"
10051
- }, enabledTabs.map(function (tab) {
10052
- return /*#__PURE__*/React$1.createElement(Tabs.Trigger, {
10053
- key: tab.id,
10054
- value: tab.id
10055
- }, /*#__PURE__*/React$1.createElement(Tooltip, {
10056
- content: tab.label
10057
- }, tab.icon));
10058
- })), /*#__PURE__*/React$1.createElement(Flex, {
10059
- direction: "row",
10060
- alignItems: "center",
10061
- gap: "10px",
10062
- pr: "10px",
10063
- pl: "10px",
10064
- height: "var(--space-6)",
10065
- style: {
10066
- flexGrow: 1,
10067
- boxShadow: 'color(display-p3 0.0039 0.251 0.5137 / 0.174) 0px -1px 0px 0px inset'
10068
- }
10069
- }, viewSpec.metodology && /*#__PURE__*/React$1.createElement(IconButton, {
10070
- variant: "ghost",
10071
- size: "1",
10072
- onClick: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
10073
- var contents, metodologyBody;
10074
- return _regeneratorRuntime().wrap(function _callee2$(_context2) {
10075
- while (1) switch (_context2.prev = _context2.next) {
10076
- case 0:
10077
- _context2.next = 2;
10078
- return dialogs.loading(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
10079
- return _regeneratorRuntime().wrap(function _callee$(_context) {
10080
- while (1) switch (_context.prev = _context.next) {
10081
- case 0:
10082
- if (!(typeof viewSpec.metodology === 'function')) {
10083
- _context.next = 4;
10084
- break;
10085
- }
10086
- return _context.abrupt("return", viewSpec.metodology(viewSpec));
10087
- case 4:
10088
- if (!(typeof viewSpec.metodology === 'string')) {
10089
- _context.next = 8;
10090
- break;
10091
- }
10092
- return _context.abrupt("return", viewSpec.metodology.startsWith('https://') ? fetch(viewSpec.metodology).then(function (res) {
10093
- return res.text();
10094
- }) : viewSpec.metodology);
10095
- case 8:
10096
- return _context.abrupt("return", viewSpec.metodology);
10097
- case 9:
10098
- case "end":
10099
- return _context.stop();
10100
- }
10101
- }, _callee);
10102
- })));
10103
- case 2:
10104
- contents = _context2.sent;
10105
- metodologyBody = typeof contents === 'string' ? /*#__PURE__*/React$1.createElement(Markdown, {
10106
- children: contents.trim()
10107
- }) : contents;
10108
- _context2.next = 6;
10109
- return dialogs.view({
10110
- maxHeight: '90vh',
10111
- children: /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(Heading, {
10112
- as: "h1"
10113
- }, viewSpec.label, " - Notas metodol\xF3gicas"), metodologyBody)
10107
+ return /*#__PURE__*/jsxs(Tabs.Root, {
10108
+ defaultValue: ((_enabledTabs$ = enabledTabs[0]) === null || _enabledTabs$ === void 0 ? void 0 : _enabledTabs$.id) || null,
10109
+ children: [/*#__PURE__*/jsxs(Flex, {
10110
+ direction: "row",
10111
+ gap: "0",
10112
+ children: [/*#__PURE__*/jsx(Tabs.List, {
10113
+ size: "1",
10114
+ children: enabledTabs.map(function (tab) {
10115
+ return /*#__PURE__*/jsx(Tabs.Trigger, {
10116
+ value: tab.id,
10117
+ children: /*#__PURE__*/jsx(Tooltip, {
10118
+ content: tab.label,
10119
+ children: tab.icon
10120
+ })
10121
+ }, tab.id);
10122
+ })
10123
+ }), /*#__PURE__*/jsxs(Flex, {
10124
+ direction: "row",
10125
+ alignItems: "center",
10126
+ gap: "10px",
10127
+ pr: "10px",
10128
+ pl: "10px",
10129
+ height: "var(--space-6)",
10130
+ style: {
10131
+ flexGrow: 1,
10132
+ boxShadow: 'color(display-p3 0.0039 0.251 0.5137 / 0.174) 0px -1px 0px 0px inset'
10133
+ },
10134
+ children: [viewSpec.metodology && /*#__PURE__*/jsx(IconButton, {
10135
+ variant: "ghost",
10136
+ size: "1",
10137
+ onClick: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
10138
+ var contents, metodologyBody;
10139
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
10140
+ while (1) switch (_context2.prev = _context2.next) {
10141
+ case 0:
10142
+ _context2.next = 2;
10143
+ return dialogs.loading(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
10144
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
10145
+ while (1) switch (_context.prev = _context.next) {
10146
+ case 0:
10147
+ if (!(typeof viewSpec.metodology === 'function')) {
10148
+ _context.next = 4;
10149
+ break;
10150
+ }
10151
+ return _context.abrupt("return", viewSpec.metodology(viewSpec));
10152
+ case 4:
10153
+ if (!(typeof viewSpec.metodology === 'string')) {
10154
+ _context.next = 8;
10155
+ break;
10156
+ }
10157
+ return _context.abrupt("return", viewSpec.metodology.startsWith('https://') ? fetch(viewSpec.metodology).then(function (res) {
10158
+ return res.text();
10159
+ }) : viewSpec.metodology);
10160
+ case 8:
10161
+ return _context.abrupt("return", viewSpec.metodology);
10162
+ case 9:
10163
+ case "end":
10164
+ return _context.stop();
10165
+ }
10166
+ }, _callee);
10167
+ })));
10168
+ case 2:
10169
+ contents = _context2.sent;
10170
+ metodologyBody = typeof contents === 'string' ? /*#__PURE__*/jsx(Markdown, {
10171
+ children: contents.trim()
10172
+ }) : contents;
10173
+ _context2.next = 6;
10174
+ return dialogs.view({
10175
+ maxHeight: '90vh',
10176
+ children: /*#__PURE__*/jsxs(Fragment, {
10177
+ children: [/*#__PURE__*/jsxs(Heading, {
10178
+ as: "h1",
10179
+ children: [viewSpec.label, " - Notas metodol\xF3gicas"]
10180
+ }), metodologyBody]
10181
+ })
10182
+ });
10183
+ case 6:
10184
+ case "end":
10185
+ return _context2.stop();
10186
+ }
10187
+ }, _callee2);
10188
+ })),
10189
+ children: /*#__PURE__*/jsx(Tooltip, {
10190
+ content: "Notas metodol\xF3gicas",
10191
+ children: /*#__PURE__*/jsx(Icon, {
10192
+ path: mdiHelpCircleOutline,
10193
+ size: "16px"
10194
+ })
10195
+ })
10196
+ }), typeof (resolvedView === null || resolvedView === void 0 ? void 0 : resolvedView.download) === 'function' && /*#__PURE__*/jsx(IconButton, {
10197
+ variant: "ghost",
10198
+ size: "1",
10199
+ onClick: function onClick() {
10200
+ return resolvedView.download({
10201
+ dialogs: dialogs
10114
10202
  });
10115
- case 6:
10116
- case "end":
10117
- return _context2.stop();
10118
- }
10119
- }, _callee2);
10120
- }))
10121
- }, /*#__PURE__*/React$1.createElement(Tooltip, {
10122
- content: "Notas metodol\xF3gicas"
10123
- }, /*#__PURE__*/React$1.createElement(Icon, {
10124
- path: mdiHelpCircleOutline,
10125
- size: "16px"
10126
- }))), typeof (resolvedView === null || resolvedView === void 0 ? void 0 : resolvedView.download) === 'function' && /*#__PURE__*/React$1.createElement(IconButton, {
10127
- variant: "ghost",
10128
- size: "1",
10129
- onClick: function onClick() {
10130
- return resolvedView.download({
10131
- dialogs: dialogs
10132
- });
10133
- }
10134
- }, /*#__PURE__*/React$1.createElement(Tooltip, {
10135
- content: "Baixar dados"
10136
- }, /*#__PURE__*/React$1.createElement(Icon, {
10137
- path: mdiDownload,
10138
- size: "16px"
10139
- }))), /*#__PURE__*/React$1.createElement(DropdownMenu, {
10140
- options: [{
10141
- label: 'Visualizar como mapa comparado',
10142
- onClick: function onClick() {
10143
- return onSetView(viewConf, 1);
10144
- }
10145
- }]
10146
- }, /*#__PURE__*/React$1.createElement(IconButton, {
10147
- variant: "ghost",
10148
- size: "1"
10149
- }, /*#__PURE__*/React$1.createElement(Icon, {
10150
- path: mdiDotsVertical,
10151
- size: "16px"
10152
- }))))), Array.isArray(enabledTabs) && enabledTabs.length > 0 ? enabledTabs.map(function (tab) {
10153
- var tabConfSchema = Object.fromEntries(
10154
- //
10155
- // Omit null confs
10156
- //
10157
- Object.entries(CONF_SCHEMA[tab.id]).filter(function (_ref4) {
10158
- var _ref5 = _slicedToArray(_ref4, 2);
10159
- _ref5[0];
10160
- var value = _ref5[1];
10161
- return Boolean(value);
10162
- }));
10163
- var tabConfValue = immediateViewConf[tab.id];
10164
- return /*#__PURE__*/React$1.createElement(Tabs.Content, {
10165
- key: tab.id,
10166
- value: tab.id
10167
- }, /*#__PURE__*/React$1.createElement(Box, {
10168
- p: "3"
10169
- }, /*#__PURE__*/React$1.createElement(Theme, {
10170
- scaling: "100%"
10171
- }, /*#__PURE__*/React$1.createElement(Input, {
10172
- schema: {
10173
- type: 'object',
10174
- properties: tabConfSchema
10203
+ },
10204
+ children: /*#__PURE__*/jsx(Tooltip, {
10205
+ content: "Baixar dados",
10206
+ children: /*#__PURE__*/jsx(Icon, {
10207
+ path: mdiDownload,
10208
+ size: "16px"
10209
+ })
10210
+ })
10211
+ }), /*#__PURE__*/jsx(DropdownMenu, {
10212
+ options: [{
10213
+ label: 'Visualizar como mapa comparado',
10214
+ onClick: function onClick() {
10215
+ return onSetView(viewConf, 1);
10216
+ }
10217
+ }],
10218
+ children: /*#__PURE__*/jsx(IconButton, {
10219
+ variant: "ghost",
10220
+ size: "1",
10221
+ children: /*#__PURE__*/jsx(Icon, {
10222
+ path: mdiDotsVertical,
10223
+ size: "16px"
10224
+ })
10225
+ })
10226
+ })]
10227
+ })]
10228
+ }), Array.isArray(enabledTabs) && enabledTabs.length > 0 ? enabledTabs.map(function (tab) {
10229
+ var tabConfSchema = Object.fromEntries(
10230
+ //
10231
+ // Omit null confs
10232
+ //
10233
+ Object.entries(CONF_SCHEMA[tab.id]).filter(function (_ref4) {
10234
+ var _ref5 = _slicedToArray(_ref4, 2);
10235
+ _ref5[0];
10236
+ var value = _ref5[1];
10237
+ return Boolean(value);
10238
+ }));
10239
+ var tabConfValue = immediateViewConf[tab.id];
10240
+ return /*#__PURE__*/jsx(Tabs.Content, {
10241
+ value: tab.id,
10242
+ children: /*#__PURE__*/jsx(Box, {
10243
+ p: "3",
10244
+ children: /*#__PURE__*/jsx(Theme, {
10245
+ scaling: "100%",
10246
+ children: /*#__PURE__*/jsx(Input, {
10247
+ schema: {
10248
+ type: 'object',
10249
+ properties: tabConfSchema
10250
+ },
10251
+ value: tabConfValue,
10252
+ onSetValue: function onSetValue(nextValue) {
10253
+ return setImmediateViewConf(_objectSpread2(_objectSpread2({}, viewConf), {}, _defineProperty({}, tab.id, _objectSpread2(_objectSpread2({}, viewConf[tab.id] || {}), nextValue))));
10254
+ }
10255
+ })
10256
+ })
10257
+ })
10258
+ }, tab.id);
10259
+ }) : /*#__PURE__*/jsx(Box, {
10260
+ p: "3",
10261
+ style: {
10262
+ fontSize: '.9rem'
10175
10263
  },
10176
- value: tabConfValue,
10177
- onSetValue: function onSetValue(nextValue) {
10178
- return setImmediateViewConf(_objectSpread2(_objectSpread2({}, viewConf), {}, _defineProperty({}, tab.id, _objectSpread2(_objectSpread2({}, viewConf[tab.id] || {}), nextValue))));
10179
- }
10180
- }))));
10181
- }) : /*#__PURE__*/React$1.createElement(Box, {
10182
- p: "3",
10183
- style: {
10184
- fontSize: '.9rem'
10185
- }
10186
- }, "Visualiza\xE7\xE3o habilitada"));
10264
+ children: "Visualiza\xE7\xE3o habilitada"
10265
+ })]
10266
+ });
10187
10267
  }
10188
10268
 
10189
10269
  var _excluded$4 = ["textSearch", "content", "maxLines"];
@@ -10215,21 +10295,25 @@ function HeadingWithTooltipAndEllipsis(_ref7) {
10215
10295
  _ref7$maxLines = _ref7.maxLines,
10216
10296
  maxLines = _ref7$maxLines === void 0 ? 2 : _ref7$maxLines,
10217
10297
  props = _objectWithoutProperties(_ref7, _excluded$4);
10218
- return /*#__PURE__*/React$1.createElement(Tooltip, {
10219
- content: content
10220
- }, /*#__PURE__*/React$1.createElement(Heading, _extends({
10221
- size: "2",
10222
- as: "h4",
10223
- style: {
10224
- fontWeight: 'normal',
10225
- color: 'var(--accent-9)'
10226
- }
10227
- }, props), /*#__PURE__*/React$1.createElement(TextEllipsis, {
10228
- maxLines: maxLines
10229
- }, /*#__PURE__*/React$1.createElement(Highlighter, {
10230
- searchWords: textSearch && textSearch.length > 3 ? [textSearch] : [],
10231
- textToHighlight: content
10232
- }))));
10298
+ return /*#__PURE__*/jsx(Tooltip, {
10299
+ content: content,
10300
+ children: /*#__PURE__*/jsx(Heading, _objectSpread2(_objectSpread2({
10301
+ size: "2",
10302
+ as: "h4",
10303
+ style: {
10304
+ fontWeight: 'normal',
10305
+ color: 'var(--accent-9)'
10306
+ }
10307
+ }, props), {}, {
10308
+ children: /*#__PURE__*/jsx(TextEllipsis, {
10309
+ maxLines: maxLines,
10310
+ children: /*#__PURE__*/jsx(Highlighter, {
10311
+ searchWords: textSearch && textSearch.length > 3 ? [textSearch] : [],
10312
+ textToHighlight: content
10313
+ })
10314
+ })
10315
+ }))
10316
+ });
10233
10317
  }
10234
10318
  function ViewControl(_ref8) {
10235
10319
  var textSearch = _ref8.textSearch,
@@ -10253,109 +10337,119 @@ function ViewControl(_ref8) {
10253
10337
  var toggleView = useCallback(function () {
10254
10338
  return active ? deactivateView() : setView();
10255
10339
  }, [active, deactivateView, setView]);
10256
- return viewSpec && /*#__PURE__*/React$1.createElement(Collapsible.Root, {
10257
- open: configurable === true && active
10258
- }, /*#__PURE__*/React$1.createElement(Container$1, null, /*#__PURE__*/React$1.createElement(Summary, {
10259
- type: "button",
10260
- role: "button",
10261
- style: style,
10262
- $active: active,
10263
- onClick: configurable ? function () {
10264
- return toggleView();
10265
- } : null
10266
- }, /*#__PURE__*/React$1.createElement(Flex, {
10267
- direction: "row",
10268
- alignItems: "center",
10269
- justifyContent: "space-between",
10270
- p: "3",
10271
- width: "100%"
10272
- }, /*#__PURE__*/React$1.createElement(Flex, {
10273
- direction: "column",
10274
- gap: "1",
10275
- style: {
10276
- flexGrow: '1'
10277
- }
10278
- }, path && /*#__PURE__*/React$1.createElement(HeadingWithTooltipAndEllipsis, {
10279
- size: "1",
10280
- as: "h6",
10281
- content: typeof path === 'string' ? path : viewSpec.path,
10282
- textSearch: textSearch,
10283
- maxLines: 1,
10284
- style: {
10285
- color: 'var(--gray-9)',
10286
- fontWeight: 'normal'
10287
- }
10288
- }), /*#__PURE__*/React$1.createElement(HeadingWithTooltipAndEllipsis, {
10289
- content: viewSpec.label,
10290
- textSearch: textSearch,
10291
- maxLines: 2
10292
- }), /*#__PURE__*/React$1.createElement(Text, {
10293
- color: "gray",
10294
- style: {
10295
- color: 'var(--gray-9)',
10296
- textTransform: 'uppercase'
10297
- },
10298
- size: "1"
10299
- }, viewSpec.sourceLabel), viewSpec.shortDescription && /*#__PURE__*/React$1.createElement(Flex, {
10300
- direction: "row",
10301
- gap: "2"
10302
- }, /*#__PURE__*/React$1.createElement(Icon, {
10303
- style: {
10304
- flexShrink: 0,
10305
- color: 'var(--gray-9)'
10306
- },
10307
- path: mdiBookOpenVariant,
10308
- size: "20px"
10309
- }), /*#__PURE__*/React$1.createElement(Text, {
10310
- color: "gray",
10311
- style: {
10312
- color: 'var(--gray-9)'
10313
- },
10314
- size: "1"
10315
- }, viewSpec.shortDescription))), /*#__PURE__*/React$1.createElement(SwitchInput, {
10316
- radius: "full",
10317
- value: active,
10318
- onSetValue: function onSetValue() {
10319
- return toggleView();
10320
- }
10321
- //
10322
- // TODO: implement onclick over
10323
- //
10324
- ,
10325
- onClick: function onClick(e) {
10326
- return e.stopPropagation();
10327
- }
10328
- }))), /*#__PURE__*/React$1.createElement(CollapsibleContent, {
10329
- style: {
10330
- borderTop: '1px solid var(--gray-8)'
10331
- }
10332
- }, viewConf && /*#__PURE__*/React$1.createElement(ViewConfTabs, {
10333
- viewSpec: viewSpec,
10334
- viewConf: viewConf,
10335
- resolvedView: resolvedView,
10336
- onSetView: onSetView
10337
- }))));
10340
+ return viewSpec && /*#__PURE__*/jsx(Collapsible.Root, {
10341
+ open: configurable === true && active,
10342
+ children: /*#__PURE__*/jsxs(Container$1, {
10343
+ children: [/*#__PURE__*/jsx(Summary, {
10344
+ type: "button",
10345
+ role: "button",
10346
+ style: style,
10347
+ $active: active,
10348
+ onClick: configurable ? function () {
10349
+ return toggleView();
10350
+ } : null,
10351
+ children: /*#__PURE__*/jsxs(Flex, {
10352
+ direction: "row",
10353
+ alignItems: "center",
10354
+ justifyContent: "space-between",
10355
+ p: "3",
10356
+ width: "100%",
10357
+ children: [/*#__PURE__*/jsxs(Flex, {
10358
+ direction: "column",
10359
+ gap: "1",
10360
+ style: {
10361
+ flexGrow: '1'
10362
+ },
10363
+ children: [path && /*#__PURE__*/jsx(HeadingWithTooltipAndEllipsis, {
10364
+ size: "1",
10365
+ as: "h6",
10366
+ content: typeof path === 'string' ? path : viewSpec.path,
10367
+ textSearch: textSearch,
10368
+ maxLines: 1,
10369
+ style: {
10370
+ color: 'var(--gray-9)',
10371
+ fontWeight: 'normal'
10372
+ }
10373
+ }), /*#__PURE__*/jsx(HeadingWithTooltipAndEllipsis, {
10374
+ content: viewSpec.label,
10375
+ textSearch: textSearch,
10376
+ maxLines: 2
10377
+ }), /*#__PURE__*/jsx(Text, {
10378
+ color: "gray",
10379
+ style: {
10380
+ color: 'var(--gray-9)',
10381
+ textTransform: 'uppercase'
10382
+ },
10383
+ size: "1",
10384
+ children: viewSpec.sourceLabel
10385
+ }), viewSpec.shortDescription && /*#__PURE__*/jsxs(Flex, {
10386
+ direction: "row",
10387
+ gap: "2",
10388
+ children: [/*#__PURE__*/jsx(Icon, {
10389
+ style: {
10390
+ flexShrink: 0,
10391
+ color: 'var(--gray-9)'
10392
+ },
10393
+ path: mdiBookOpenVariant,
10394
+ size: "20px"
10395
+ }), /*#__PURE__*/jsx(Text, {
10396
+ color: "gray",
10397
+ style: {
10398
+ color: 'var(--gray-9)'
10399
+ },
10400
+ size: "1",
10401
+ children: viewSpec.shortDescription
10402
+ })]
10403
+ })]
10404
+ }), /*#__PURE__*/jsx(SwitchInput, {
10405
+ radius: "full",
10406
+ value: active,
10407
+ onSetValue: function onSetValue() {
10408
+ return toggleView();
10409
+ }
10410
+ //
10411
+ // TODO: implement onclick over
10412
+ //
10413
+ ,
10414
+ onClick: function onClick(e) {
10415
+ return e.stopPropagation();
10416
+ }
10417
+ })]
10418
+ })
10419
+ }), /*#__PURE__*/jsx(CollapsibleContent, {
10420
+ style: {
10421
+ borderTop: '1px solid var(--gray-8)'
10422
+ },
10423
+ children: viewConf && /*#__PURE__*/jsx(ViewConfTabs, {
10424
+ viewSpec: viewSpec,
10425
+ viewConf: viewConf,
10426
+ resolvedView: resolvedView,
10427
+ onSetView: onSetView
10428
+ })
10429
+ })]
10430
+ })
10431
+ });
10338
10432
  }
10339
10433
 
10340
10434
  var _excluded$3 = ["viewSpecs", "viewConfState", "resolvedViews", "onSetView", "onDeactivateView", "style", "categoryIcons"];
10341
10435
  var _templateObject$5, _templateObject2$1;
10342
10436
  var CATEGORY_ICONS = {
10343
- 'populacao-e-domicilios': /*#__PURE__*/React$1.createElement(Icon, {
10437
+ 'populacao-e-domicilios': /*#__PURE__*/jsx(Icon, {
10344
10438
  path: mdiAccountGroup
10345
10439
  }),
10346
- educacao: /*#__PURE__*/React$1.createElement(Icon, {
10440
+ educacao: /*#__PURE__*/jsx(Icon, {
10347
10441
  path: mdiSchool
10348
10442
  }),
10349
- 'infraestrutura-e-servicos-urbanos': /*#__PURE__*/React$1.createElement(Icon, {
10443
+ 'infraestrutura-e-servicos-urbanos': /*#__PURE__*/jsx(Icon, {
10350
10444
  path: mdiHomeCity
10351
10445
  }),
10352
- saude: /*#__PURE__*/React$1.createElement(Icon, {
10446
+ saude: /*#__PURE__*/jsx(Icon, {
10353
10447
  path: mdiHospitalBox
10354
10448
  }),
10355
- 'emergencias-climaticas': /*#__PURE__*/React$1.createElement(Icon, {
10449
+ 'emergencias-climaticas': /*#__PURE__*/jsx(Icon, {
10356
10450
  path: mdiEarth
10357
10451
  }),
10358
- 'divisoes-territoriais': /*#__PURE__*/React$1.createElement(Icon, {
10452
+ 'divisoes-territoriais': /*#__PURE__*/jsx(Icon, {
10359
10453
  path: mdiMap
10360
10454
  })
10361
10455
  };
@@ -10378,7 +10472,7 @@ function Item(_ref) {
10378
10472
  resolvedViews = _useContext.resolvedViews,
10379
10473
  _onSetView = _useContext.onSetView,
10380
10474
  _onDeactivateView = _useContext.onDeactivateView;
10381
- return /*#__PURE__*/React$1.createElement(ViewControl, {
10475
+ return /*#__PURE__*/jsx(ViewControl, {
10382
10476
  textSearch: textSearch,
10383
10477
  path: Boolean(textSearch) ? node.path : null,
10384
10478
  viewSpec: node,
@@ -10454,7 +10548,7 @@ var DirNav = makeDirNav({
10454
10548
  viewSpecsById: viewSpecsById,
10455
10549
  nodeId: node.id
10456
10550
  });
10457
- return /*#__PURE__*/React$1.createElement("div", {
10551
+ return /*#__PURE__*/jsxs("div", {
10458
10552
  style: {
10459
10553
  flexGrow: 1,
10460
10554
  textAlign: 'left',
@@ -10463,18 +10557,21 @@ var DirNav = makeDirNav({
10463
10557
  flexDirection: 'row',
10464
10558
  alignItems: 'center',
10465
10559
  justifyContent: 'space-between'
10466
- }
10467
- }, /*#__PURE__*/React$1.createElement(TextEllipsis, {
10468
- style: {
10469
- flexShrink: 1
10470
- }
10471
- }, node.label), activeViewsCount > 0 && /*#__PURE__*/React$1.createElement("span", {
10472
- style: {
10473
- marginLeft: 6,
10474
- fontSize: '.8rem',
10475
- fontWeight: 'bold'
10476
- }
10477
- }, "(", activeViewsCount, ")"));
10560
+ },
10561
+ children: [/*#__PURE__*/jsx(TextEllipsis, {
10562
+ style: {
10563
+ flexShrink: 1
10564
+ },
10565
+ children: node.label
10566
+ }), activeViewsCount > 0 && /*#__PURE__*/jsxs("span", {
10567
+ style: {
10568
+ marginLeft: 6,
10569
+ fontSize: '.8rem',
10570
+ fontWeight: 'bold'
10571
+ },
10572
+ children: ["(", activeViewsCount, ")"]
10573
+ })]
10574
+ });
10478
10575
  }
10479
10576
  }
10480
10577
  });
@@ -10493,113 +10590,127 @@ function ViewMenu(_ref4) {
10493
10590
  return [spec.id, spec];
10494
10591
  }));
10495
10592
  }, [viewSpecs]);
10496
- return /*#__PURE__*/React$1.createElement("div", {
10497
- style: style
10498
- }, /*#__PURE__*/React$1.createElement(ViewMenuContext.Provider, {
10499
- value: {
10500
- viewSpecsById: viewSpecsById,
10501
- viewConfState: viewConfState,
10502
- resolvedViews: resolvedViews,
10503
- onSetView: onSetView,
10504
- onDeactivateView: onDeactivateView
10505
- }
10506
- }, /*#__PURE__*/React$1.createElement(DirNav, _extends({
10507
- style: {
10508
- flexGrow: 1,
10509
- overflow: 'hidden'
10510
- },
10511
- items: viewSpecs,
10512
- onSelectItem: function onSelectItem(item) {
10513
- setSelected(item);
10514
- },
10515
- getNodeIcon: function getNodeIcon(node) {
10516
- var activeViewsCount = _countActiveViews({
10517
- viewConfState: viewConfState,
10593
+ return /*#__PURE__*/jsx("div", {
10594
+ style: style,
10595
+ children: /*#__PURE__*/jsx(ViewMenuContext.Provider, {
10596
+ value: {
10518
10597
  viewSpecsById: viewSpecsById,
10519
- nodeId: node.id
10520
- });
10521
- return /*#__PURE__*/React$1.createElement("div", {
10598
+ viewConfState: viewConfState,
10599
+ resolvedViews: resolvedViews,
10600
+ onSetView: onSetView,
10601
+ onDeactivateView: onDeactivateView
10602
+ },
10603
+ children: /*#__PURE__*/jsx(DirNav, _objectSpread2({
10522
10604
  style: {
10523
- position: 'relative'
10605
+ flexGrow: 1,
10606
+ overflow: 'hidden'
10607
+ },
10608
+ items: viewSpecs,
10609
+ onSelectItem: function onSelectItem(item) {
10610
+ setSelected(item);
10611
+ },
10612
+ getNodeIcon: function getNodeIcon(node) {
10613
+ var activeViewsCount = _countActiveViews({
10614
+ viewConfState: viewConfState,
10615
+ viewSpecsById: viewSpecsById,
10616
+ nodeId: node.id
10617
+ });
10618
+ return /*#__PURE__*/jsxs("div", {
10619
+ style: {
10620
+ position: 'relative'
10621
+ },
10622
+ children: [categoryIcons[node.id] || node.id, activeViewsCount > 0 && /*#__PURE__*/jsx(ActiveCounter, {
10623
+ children: activeViewsCount
10624
+ })]
10625
+ });
10524
10626
  }
10525
- }, categoryIcons[node.id] || node.id, activeViewsCount > 0 && /*#__PURE__*/React$1.createElement(ActiveCounter, null, activeViewsCount));
10526
- }
10527
- }, props))));
10627
+ }, props))
10628
+ })
10629
+ });
10528
10630
  }
10529
10631
 
10530
10632
  function GeoReDUSLogo(props) {
10531
10633
  var _props$color = props.color,
10532
10634
  color = _props$color === void 0 ? '#ffffff' : _props$color;
10533
- return /*#__PURE__*/React$1.createElement("svg", {
10635
+ return /*#__PURE__*/jsx("svg", {
10534
10636
  version: "1.1",
10535
10637
  id: "Layer_1",
10536
10638
  xmlns: "http://www.w3.org/2000/svg",
10537
10639
  x: "0px",
10538
10640
  y: "0px",
10539
- viewBox: "0 0 419.41 149.65"
10540
- }, /*#__PURE__*/React$1.createElement("g", null, /*#__PURE__*/React$1.createElement("g", null, /*#__PURE__*/React$1.createElement("path", {
10541
- fill: color,
10542
- d: "M182.02,70.21c-7.67,0-13.57-2.05-17.71-6.14c-4.14-4.09-6.21-10.45-6.21-19.06c0-5.73,0.99-10.45,2.98-14.16 c1.99-3.72,4.87-6.48,8.66-8.31c3.79-1.82,8.33-2.73,13.63-2.73c3.17,0,6.15,0.35,8.95,1.06s5.27,1.8,7.42,3.27 c2.15,1.47,3.83,3.3,5.04,5.5c1.21,2.2,1.81,4.82,1.81,7.85h-10.72c0-1.47-0.32-2.77-0.96-3.91c-0.64-1.14-1.53-2.08-2.66-2.84 c-1.14-0.76-2.44-1.32-3.9-1.7c-1.47-0.38-3.01-0.57-4.62-0.57c-2.46,0-4.61,0.32-6.46,0.96s-3.37,1.61-4.58,2.91 c-1.21,1.3-2.12,2.92-2.73,4.86c-0.62,1.94-0.92,4.19-0.92,6.75v2.13c0,3.55,0.52,6.46,1.56,8.73c1.04,2.27,2.6,3.96,4.69,5.08 c2.08,1.11,4.66,1.67,7.74,1.67c2.56,0,4.82-0.39,6.78-1.17c1.96-0.78,3.5-1.9,4.62-3.37c1.11-1.47,1.67-3.27,1.67-5.4v-0.5 h-14.56v-8.09h25.06v26.34h-6.96l-0.92-5.25c-1.42,1.37-2.95,2.51-4.58,3.41c-1.63,0.9-3.44,1.57-5.43,2.02 C186.7,69.99,184.48,70.21,182.02,70.21z"
10543
- })), /*#__PURE__*/React$1.createElement("g", null, /*#__PURE__*/React$1.createElement("path", {
10544
- fill: color,
10545
- d: "M272.34,70.12c-3.84,0-7.1-0.66-9.78-1.98c-2.68-1.32-4.71-3.35-6.1-6.1c-1.38-2.75-2.08-6.2-2.08-10.35 c0-4.24,0.69-7.72,2.08-10.42c1.38-2.7,3.42-4.71,6.1-6.03c2.68-1.32,5.94-1.98,9.78-1.98c3.93,0,7.22,0.66,9.88,1.98 c2.66,1.32,4.68,3.33,6.06,6.03c1.38,2.7,2.08,6.18,2.08,10.42c0,4.15-0.69,7.6-2.08,10.35c-1.38,2.75-3.41,4.78-6.06,6.1 C279.56,69.46,276.27,70.12,272.34,70.12z M272.34,62.88c2.05,0,3.7-0.38,4.92-1.14c1.23-0.76,2.13-1.92,2.71-3.48 c0.58-1.56,0.87-3.48,0.87-5.76v-1.61c0-2.28-0.29-4.2-0.87-5.76c-0.58-1.56-1.49-2.74-2.71-3.52c-1.23-0.78-2.87-1.17-4.92-1.17 c-2.01,0-3.63,0.39-4.86,1.17c-1.23,0.78-2.13,1.95-2.71,3.52c-0.58,1.56-0.87,3.48-0.87,5.76v1.61c0,2.28,0.29,4.2,0.87,5.76 c0.58,1.56,1.48,2.73,2.71,3.48C268.71,62.5,270.33,62.88,272.34,62.88z"
10546
- })), /*#__PURE__*/React$1.createElement("g", null, /*#__PURE__*/React$1.createElement("path", {
10547
- fill: color,
10548
- d: "M234.74,107.79c0-1.95-0.59-3.58-1.77-4.91c-1.18-1.33-3.02-1.99-5.53-1.99c-2.53,0-4.49,0.71-5.88,2.14 c-1.39,1.42-2.26,3.38-2.63,5.86l15.77-0.15C234.73,108.52,234.74,108.21,234.74,107.79L234.74,107.79z M236.92,95.29 c2.45,1.52,4.25,3.51,5.42,5.97c1.17,2.46,1.75,5.12,1.75,7.99c0,1.95-0.29,3.93-0.88,5.95l-23.98,0.18 c0.61,2.26,1.77,4.02,3.49,5.26c1.72,1.24,3.95,1.86,6.7,1.86c1.63,0,3.36-0.18,5.18-0.55c1.83-0.37,3.65-0.9,5.48-1.61l1.86,7.56 c-1.73,0.73-3.92,1.34-6.57,1.83c-2.65,0.49-5.06,0.73-7.23,0.73c-5.91,0-10.51-1.54-13.78-4.62c-3.27-3.08-4.91-7.82-4.91-14.22 c0-3.99,0.72-7.38,2.17-10.17c1.45-2.79,3.54-4.89,6.28-6.32c2.74-1.42,6.03-2.14,9.87-2.14 C231.42,93.01,234.47,93.77,236.92,95.29L236.92,95.29z"
10549
- }), /*#__PURE__*/React$1.createElement("path", {
10550
- fill: color,
10551
- d: "M239.62,47.35c0-1.95-0.59-3.58-1.77-4.91c-1.18-1.33-3.02-1.99-5.53-1.99c-2.53,0-4.49,0.71-5.88,2.14 c-1.39,1.42-2.26,3.38-2.63,5.86l15.77-0.15C239.61,48.08,239.62,47.76,239.62,47.35L239.62,47.35z M241.8,34.84 c2.45,1.52,4.25,3.51,5.42,5.97c1.17,2.46,1.75,5.12,1.75,7.99c0,1.95-0.29,3.93-0.88,5.95l-23.98,0.18 c0.61,2.26,1.77,4.02,3.49,5.26c1.72,1.24,3.95,1.86,6.7,1.86c1.63,0,3.36-0.18,5.18-0.55c1.83-0.37,3.65-0.9,5.48-1.61l1.86,7.56 c-1.73,0.73-3.92,1.34-6.57,1.83c-2.65,0.49-5.06,0.73-7.23,0.73c-5.91,0-10.51-1.54-13.78-4.62c-3.27-3.08-4.91-7.82-4.91-14.22 c0-3.99,0.72-7.38,2.17-10.17c1.45-2.79,3.54-4.89,6.28-6.32c2.74-1.42,6.03-2.14,9.87-2.14C236.3,32.56,239.35,33.32,241.8,34.84 L241.8,34.84z"
10552
- }), /*#__PURE__*/React$1.createElement("path", {
10553
- fill: color,
10554
- d: "M270.56,121.41c3.65,0,6.77-0.72,9.36-2.15c2.59-1.44,4.56-3.52,5.91-6.26c1.35-2.74,2.03-6.05,2.03-9.95 c0-5.91-1.43-10.33-4.29-13.23c-2.86-2.91-7.09-4.35-12.69-4.33l-8.4,0.07v35.85H270.56L270.56,121.41z M252.82,77.31h18.22 c8.83,0,15.5,2.09,20,6.28c4.5,4.19,6.75,10.6,6.75,19.24c0,5.45-1.13,10.19-3.39,14.22c-2.26,4.03-5.46,7.13-9.58,9.31 c-4.13,2.18-8.9,3.27-14.33,3.27l-17.67,0.07V77.31L252.82,77.31z"
10555
- }), /*#__PURE__*/React$1.createElement("path", {
10556
- fill: color,
10557
- d: "M311.42,125.06c-3.37-3.63-5.06-8.88-5.06-15.77V77.27h9.71v31.36c0,8.81,3.84,13.22,11.54,13.22 c7.3,0,10.95-4.22,10.95-12.67V77.27h9.67v31.18c0,14.7-7.08,22.05-21.25,22.05C319.98,130.5,314.8,128.69,311.42,125.06 L311.42,125.06z"
10558
- }), /*#__PURE__*/React$1.createElement("path", {
10559
- fill: color,
10560
- d: "M365.43,129.29c-2.51-0.66-5.38-1.74-8.62-3.25l3.36-8.62c2.85,1.44,5.24,2.42,7.19,2.96 c1.95,0.54,3.95,0.8,6.02,0.8c3.21,0,5.56-0.6,7.05-1.81c1.48-1.21,2.23-2.82,2.23-4.84c0-1.22-0.41-2.26-1.22-3.14 c-0.82-0.88-1.84-1.61-3.07-2.19c-1.23-0.58-2.96-1.3-5.2-2.15c-3.12-1.17-5.66-2.28-7.63-3.34c-1.97-1.06-3.66-2.55-5.06-4.47 c-1.4-1.92-2.1-4.37-2.1-7.34c0-3.46,0.85-6.34,2.56-8.65c1.7-2.31,3.95-4.01,6.75-5.09c2.8-1.08,5.89-1.62,9.27-1.62 c2.46,0,4.77,0.24,6.94,0.71c2.17,0.47,4.31,1.14,6.42,1.99l-3.1,8.4l-0.91-0.33c-1.51-0.58-2.92-1.03-4.23-1.35 c-1.31-0.32-2.9-0.47-4.75-0.47c-2.39,0-4.42,0.47-6.1,1.42c-1.68,0.95-2.52,2.43-2.52,4.45c0,1.05,0.36,1.96,1.08,2.74 c0.72,0.78,1.63,1.44,2.74,1.99c1.11,0.55,2.66,1.21,4.65,1.99c3.09,1.24,5.63,2.42,7.63,3.54c1.99,1.12,3.71,2.72,5.15,4.8 c1.44,2.08,2.15,4.72,2.15,7.9c0,3.26-0.74,6.09-2.21,8.49c-1.47,2.4-3.61,4.24-6.41,5.53c-2.8,1.29-6.17,1.93-10.11,1.93 C370.59,130.28,367.94,129.95,365.43,129.29L365.43,129.29z"
10561
- }), /*#__PURE__*/React$1.createElement("path", {
10562
- fill: color,
10563
- d: "M191.16,105.78c3.07-1.17,5.48-2.91,7.25-5.24c1.76-2.32,2.66-5.08,2.68-8.27c0-3.21-0.71-5.94-2.12-8.18 c-1.41-2.24-3.41-3.94-6.01-5.09c-2.59-1.16-5.63-1.73-9.11-1.73h-18.47v52.35h9.71l-0.03-12.18l-0.01-32.65l5.99-0.04 c3.19-0.05,5.64,0.62,7.36,1.99c1.72,1.37,2.57,3.43,2.57,6.15c0,2.7-0.94,4.78-2.83,6.22c-1.77,1.36-4.22,2.08-7.32,2.16h-0.14 v5.79l14.52,22.56h11.57L191.16,105.78L191.16,105.78z"
10564
- }), /*#__PURE__*/React$1.createElement("path", {
10565
- fill: color,
10566
- d: "M90.31,32.32l-3.1-0.07c0.06-2.71-0.94-5.28-2.81-7.23c-1.87-1.96-4.39-3.07-7.1-3.13l0.07-3.1 c3.54,0.08,6.83,1.53,9.27,4.08C89.08,25.43,90.38,28.78,90.31,32.32L90.31,32.32z"
10567
- }), /*#__PURE__*/React$1.createElement("path", {
10568
- fill: color,
10569
- d: "M98.65,32.5l-3.1-0.07c0.22-10.18-7.88-18.65-18.07-18.87l0.07-3.1C89.45,10.72,98.91,20.6,98.65,32.5 L98.65,32.5z"
10570
- }), /*#__PURE__*/React$1.createElement("path", {
10571
- fill: color,
10572
- d: "M76.98,35.82c2.47,0.05,4.51-1.9,4.56-4.37c0.05-2.47-1.9-4.51-4.37-4.56c-2.47-0.05-4.51,1.9-4.56,4.37 C72.56,33.73,74.51,35.77,76.98,35.82L76.98,35.82z"
10573
- }), /*#__PURE__*/React$1.createElement("path", {
10574
- fill: color,
10575
- d: "M73.98,118.14c-3.84,0-6.97,3.13-6.97,6.97c0,3.84,3.13,6.97,6.97,6.97l0.23,0.02 c0.03,0.01,4.8,0.42,12.67-6.99c-7.86-7.49-12.62-6.99-12.67-6.98l-0.13,0.02L73.98,118.14L73.98,118.14z M74.44,135.2 c-0.24,0-0.43-0.01-0.55-0.03c-5.51-0.05-9.97-4.55-9.97-10.07c0-5.52,4.46-10.01,9.96-10.07c1.17-0.14,7.18-0.29,16.33,8.98 l1.08,1.1l-1.09,1.09C82.03,134.38,76.38,135.2,74.44,135.2L74.44,135.2z"
10576
- }), /*#__PURE__*/React$1.createElement("path", {
10577
- fill: color,
10578
- d: "M77.22,80.53c3.15,0,5.71-2.56,5.71-5.71c0-3.15-2.56-5.71-5.71-5.71c-3.15,0-5.71,2.56-5.71,5.71 C71.51,77.98,74.06,80.53,77.22,80.53L77.22,80.53z"
10579
- }), /*#__PURE__*/React$1.createElement("path", {
10580
- fill: color,
10581
- d: "M77.8,126.65c-23.03,0-41.76-18.73-41.76-41.76c0-23,18.7-41.71,41.69-41.71c23,0,41.71,18.71,41.71,41.71 h-3.1c0-21.29-17.32-38.61-38.61-38.61c-21.28,0-38.59,17.32-38.59,38.61c0,21.32,17.34,38.66,38.66,38.66V126.65L77.8,126.65z"
10582
- }), /*#__PURE__*/React$1.createElement("path", {
10583
- fill: color,
10584
- d: "M77.71,139.79c-30.28,0-54.92-24.63-54.92-54.9c0-30.28,24.64-54.92,54.92-54.92v3.1 c-28.58,0-51.82,23.25-51.82,51.82c0,28.56,23.25,51.8,51.82,51.8c28.56,0,51.8-23.24,51.8-51.8h3.1 C132.6,115.16,107.98,139.79,77.71,139.79L77.71,139.79z"
10585
- }), /*#__PURE__*/React$1.createElement("path", {
10586
- fill: color,
10587
- d: "M77.65,113.25c-4.64,0-8.27-1.37-10.8-4.07c-3.85-4.1-3.69-9.79-3.66-10.46v-6.47c0-4.73,3.85-8.57,8.57-8.57 h12.71c4.73,0,8.57,3.85,8.57,8.57l0,0.07c-0.01,0.11-0.7,11.23-15.96,11.23v-3.1c11.94,0,12.81-7.59,12.87-8.25 c-0.03-3-2.47-5.42-5.47-5.42H71.76c-3.02,0-5.47,2.46-5.47,5.47l0,6.61c0,0.05-0.25,4.94,2.84,8.22 c1.92,2.04,4.79,3.07,8.53,3.07c13.91,0,25.22-11.33,25.22-25.25c0-13.91-11.31-25.22-25.22-25.22 c-13.88,0-24.76,11.08-24.76,25.22h-3.1c0-15.88,12.24-28.32,27.86-28.32c15.62,0,28.32,12.7,28.32,28.32 C105.97,100.53,93.26,113.25,77.65,113.25L77.65,113.25z"
10588
- }), /*#__PURE__*/React$1.createElement("path", {
10589
- fill: color,
10590
- d: "M131.1,66.21c-2.22,0-4.03-1.8-4.03-4.03c0-2.22,1.8-4.03,4.03-4.03c2.22,0,4.03,1.8,4.03,4.03 C135.12,64.41,133.32,66.21,131.1,66.21L131.1,66.21z M140.73,62.31c0-5.35-4.33-9.68-9.68-9.68c-5.35,0-9.68,4.33-9.68,9.68 c0,0-0.98,6.53,9.68,17.18C141.84,68.84,140.73,62.31,140.73,62.31L140.73,62.31z"
10591
- }), /*#__PURE__*/React$1.createElement("polygon", {
10592
- fill: color,
10593
- points: "120.73,93.6 112.2,93.6 112.2,102.12 120.73,102.12 120.73,93.6 "
10594
- }), /*#__PURE__*/React$1.createElement("polygon", {
10595
- fill: color,
10596
- points: "108.64,110.54 100.11,110.54 100.11,119.06 108.64,119.06 108.64,110.54 "
10597
- }))));
10598
- }
10599
-
10600
- function GeoReDUSLogoSymbol() {
10601
- var color = '#FFFFFF';
10602
- return /*#__PURE__*/React$1.createElement("svg", {
10641
+ viewBox: "0 0 419.41 149.65",
10642
+ children: /*#__PURE__*/jsxs("g", {
10643
+ children: [/*#__PURE__*/jsx("g", {
10644
+ children: /*#__PURE__*/jsx("path", {
10645
+ fill: color,
10646
+ d: "M182.02,70.21c-7.67,0-13.57-2.05-17.71-6.14c-4.14-4.09-6.21-10.45-6.21-19.06c0-5.73,0.99-10.45,2.98-14.16 c1.99-3.72,4.87-6.48,8.66-8.31c3.79-1.82,8.33-2.73,13.63-2.73c3.17,0,6.15,0.35,8.95,1.06s5.27,1.8,7.42,3.27 c2.15,1.47,3.83,3.3,5.04,5.5c1.21,2.2,1.81,4.82,1.81,7.85h-10.72c0-1.47-0.32-2.77-0.96-3.91c-0.64-1.14-1.53-2.08-2.66-2.84 c-1.14-0.76-2.44-1.32-3.9-1.7c-1.47-0.38-3.01-0.57-4.62-0.57c-2.46,0-4.61,0.32-6.46,0.96s-3.37,1.61-4.58,2.91 c-1.21,1.3-2.12,2.92-2.73,4.86c-0.62,1.94-0.92,4.19-0.92,6.75v2.13c0,3.55,0.52,6.46,1.56,8.73c1.04,2.27,2.6,3.96,4.69,5.08 c2.08,1.11,4.66,1.67,7.74,1.67c2.56,0,4.82-0.39,6.78-1.17c1.96-0.78,3.5-1.9,4.62-3.37c1.11-1.47,1.67-3.27,1.67-5.4v-0.5 h-14.56v-8.09h25.06v26.34h-6.96l-0.92-5.25c-1.42,1.37-2.95,2.51-4.58,3.41c-1.63,0.9-3.44,1.57-5.43,2.02 C186.7,69.99,184.48,70.21,182.02,70.21z"
10647
+ })
10648
+ }), /*#__PURE__*/jsx("g", {
10649
+ children: /*#__PURE__*/jsx("path", {
10650
+ fill: color,
10651
+ d: "M272.34,70.12c-3.84,0-7.1-0.66-9.78-1.98c-2.68-1.32-4.71-3.35-6.1-6.1c-1.38-2.75-2.08-6.2-2.08-10.35 c0-4.24,0.69-7.72,2.08-10.42c1.38-2.7,3.42-4.71,6.1-6.03c2.68-1.32,5.94-1.98,9.78-1.98c3.93,0,7.22,0.66,9.88,1.98 c2.66,1.32,4.68,3.33,6.06,6.03c1.38,2.7,2.08,6.18,2.08,10.42c0,4.15-0.69,7.6-2.08,10.35c-1.38,2.75-3.41,4.78-6.06,6.1 C279.56,69.46,276.27,70.12,272.34,70.12z M272.34,62.88c2.05,0,3.7-0.38,4.92-1.14c1.23-0.76,2.13-1.92,2.71-3.48 c0.58-1.56,0.87-3.48,0.87-5.76v-1.61c0-2.28-0.29-4.2-0.87-5.76c-0.58-1.56-1.49-2.74-2.71-3.52c-1.23-0.78-2.87-1.17-4.92-1.17 c-2.01,0-3.63,0.39-4.86,1.17c-1.23,0.78-2.13,1.95-2.71,3.52c-0.58,1.56-0.87,3.48-0.87,5.76v1.61c0,2.28,0.29,4.2,0.87,5.76 c0.58,1.56,1.48,2.73,2.71,3.48C268.71,62.5,270.33,62.88,272.34,62.88z"
10652
+ })
10653
+ }), /*#__PURE__*/jsxs("g", {
10654
+ children: [/*#__PURE__*/jsx("path", {
10655
+ fill: color,
10656
+ d: "M234.74,107.79c0-1.95-0.59-3.58-1.77-4.91c-1.18-1.33-3.02-1.99-5.53-1.99c-2.53,0-4.49,0.71-5.88,2.14 c-1.39,1.42-2.26,3.38-2.63,5.86l15.77-0.15C234.73,108.52,234.74,108.21,234.74,107.79L234.74,107.79z M236.92,95.29 c2.45,1.52,4.25,3.51,5.42,5.97c1.17,2.46,1.75,5.12,1.75,7.99c0,1.95-0.29,3.93-0.88,5.95l-23.98,0.18 c0.61,2.26,1.77,4.02,3.49,5.26c1.72,1.24,3.95,1.86,6.7,1.86c1.63,0,3.36-0.18,5.18-0.55c1.83-0.37,3.65-0.9,5.48-1.61l1.86,7.56 c-1.73,0.73-3.92,1.34-6.57,1.83c-2.65,0.49-5.06,0.73-7.23,0.73c-5.91,0-10.51-1.54-13.78-4.62c-3.27-3.08-4.91-7.82-4.91-14.22 c0-3.99,0.72-7.38,2.17-10.17c1.45-2.79,3.54-4.89,6.28-6.32c2.74-1.42,6.03-2.14,9.87-2.14 C231.42,93.01,234.47,93.77,236.92,95.29L236.92,95.29z"
10657
+ }), /*#__PURE__*/jsx("path", {
10658
+ fill: color,
10659
+ d: "M239.62,47.35c0-1.95-0.59-3.58-1.77-4.91c-1.18-1.33-3.02-1.99-5.53-1.99c-2.53,0-4.49,0.71-5.88,2.14 c-1.39,1.42-2.26,3.38-2.63,5.86l15.77-0.15C239.61,48.08,239.62,47.76,239.62,47.35L239.62,47.35z M241.8,34.84 c2.45,1.52,4.25,3.51,5.42,5.97c1.17,2.46,1.75,5.12,1.75,7.99c0,1.95-0.29,3.93-0.88,5.95l-23.98,0.18 c0.61,2.26,1.77,4.02,3.49,5.26c1.72,1.24,3.95,1.86,6.7,1.86c1.63,0,3.36-0.18,5.18-0.55c1.83-0.37,3.65-0.9,5.48-1.61l1.86,7.56 c-1.73,0.73-3.92,1.34-6.57,1.83c-2.65,0.49-5.06,0.73-7.23,0.73c-5.91,0-10.51-1.54-13.78-4.62c-3.27-3.08-4.91-7.82-4.91-14.22 c0-3.99,0.72-7.38,2.17-10.17c1.45-2.79,3.54-4.89,6.28-6.32c2.74-1.42,6.03-2.14,9.87-2.14C236.3,32.56,239.35,33.32,241.8,34.84 L241.8,34.84z"
10660
+ }), /*#__PURE__*/jsx("path", {
10661
+ fill: color,
10662
+ d: "M270.56,121.41c3.65,0,6.77-0.72,9.36-2.15c2.59-1.44,4.56-3.52,5.91-6.26c1.35-2.74,2.03-6.05,2.03-9.95 c0-5.91-1.43-10.33-4.29-13.23c-2.86-2.91-7.09-4.35-12.69-4.33l-8.4,0.07v35.85H270.56L270.56,121.41z M252.82,77.31h18.22 c8.83,0,15.5,2.09,20,6.28c4.5,4.19,6.75,10.6,6.75,19.24c0,5.45-1.13,10.19-3.39,14.22c-2.26,4.03-5.46,7.13-9.58,9.31 c-4.13,2.18-8.9,3.27-14.33,3.27l-17.67,0.07V77.31L252.82,77.31z"
10663
+ }), /*#__PURE__*/jsx("path", {
10664
+ fill: color,
10665
+ d: "M311.42,125.06c-3.37-3.63-5.06-8.88-5.06-15.77V77.27h9.71v31.36c0,8.81,3.84,13.22,11.54,13.22 c7.3,0,10.95-4.22,10.95-12.67V77.27h9.67v31.18c0,14.7-7.08,22.05-21.25,22.05C319.98,130.5,314.8,128.69,311.42,125.06 L311.42,125.06z"
10666
+ }), /*#__PURE__*/jsx("path", {
10667
+ fill: color,
10668
+ d: "M365.43,129.29c-2.51-0.66-5.38-1.74-8.62-3.25l3.36-8.62c2.85,1.44,5.24,2.42,7.19,2.96 c1.95,0.54,3.95,0.8,6.02,0.8c3.21,0,5.56-0.6,7.05-1.81c1.48-1.21,2.23-2.82,2.23-4.84c0-1.22-0.41-2.26-1.22-3.14 c-0.82-0.88-1.84-1.61-3.07-2.19c-1.23-0.58-2.96-1.3-5.2-2.15c-3.12-1.17-5.66-2.28-7.63-3.34c-1.97-1.06-3.66-2.55-5.06-4.47 c-1.4-1.92-2.1-4.37-2.1-7.34c0-3.46,0.85-6.34,2.56-8.65c1.7-2.31,3.95-4.01,6.75-5.09c2.8-1.08,5.89-1.62,9.27-1.62 c2.46,0,4.77,0.24,6.94,0.71c2.17,0.47,4.31,1.14,6.42,1.99l-3.1,8.4l-0.91-0.33c-1.51-0.58-2.92-1.03-4.23-1.35 c-1.31-0.32-2.9-0.47-4.75-0.47c-2.39,0-4.42,0.47-6.1,1.42c-1.68,0.95-2.52,2.43-2.52,4.45c0,1.05,0.36,1.96,1.08,2.74 c0.72,0.78,1.63,1.44,2.74,1.99c1.11,0.55,2.66,1.21,4.65,1.99c3.09,1.24,5.63,2.42,7.63,3.54c1.99,1.12,3.71,2.72,5.15,4.8 c1.44,2.08,2.15,4.72,2.15,7.9c0,3.26-0.74,6.09-2.21,8.49c-1.47,2.4-3.61,4.24-6.41,5.53c-2.8,1.29-6.17,1.93-10.11,1.93 C370.59,130.28,367.94,129.95,365.43,129.29L365.43,129.29z"
10669
+ }), /*#__PURE__*/jsx("path", {
10670
+ fill: color,
10671
+ d: "M191.16,105.78c3.07-1.17,5.48-2.91,7.25-5.24c1.76-2.32,2.66-5.08,2.68-8.27c0-3.21-0.71-5.94-2.12-8.18 c-1.41-2.24-3.41-3.94-6.01-5.09c-2.59-1.16-5.63-1.73-9.11-1.73h-18.47v52.35h9.71l-0.03-12.18l-0.01-32.65l5.99-0.04 c3.19-0.05,5.64,0.62,7.36,1.99c1.72,1.37,2.57,3.43,2.57,6.15c0,2.7-0.94,4.78-2.83,6.22c-1.77,1.36-4.22,2.08-7.32,2.16h-0.14 v5.79l14.52,22.56h11.57L191.16,105.78L191.16,105.78z"
10672
+ }), /*#__PURE__*/jsx("path", {
10673
+ fill: color,
10674
+ d: "M90.31,32.32l-3.1-0.07c0.06-2.71-0.94-5.28-2.81-7.23c-1.87-1.96-4.39-3.07-7.1-3.13l0.07-3.1 c3.54,0.08,6.83,1.53,9.27,4.08C89.08,25.43,90.38,28.78,90.31,32.32L90.31,32.32z"
10675
+ }), /*#__PURE__*/jsx("path", {
10676
+ fill: color,
10677
+ d: "M98.65,32.5l-3.1-0.07c0.22-10.18-7.88-18.65-18.07-18.87l0.07-3.1C89.45,10.72,98.91,20.6,98.65,32.5 L98.65,32.5z"
10678
+ }), /*#__PURE__*/jsx("path", {
10679
+ fill: color,
10680
+ d: "M76.98,35.82c2.47,0.05,4.51-1.9,4.56-4.37c0.05-2.47-1.9-4.51-4.37-4.56c-2.47-0.05-4.51,1.9-4.56,4.37 C72.56,33.73,74.51,35.77,76.98,35.82L76.98,35.82z"
10681
+ }), /*#__PURE__*/jsx("path", {
10682
+ fill: color,
10683
+ d: "M73.98,118.14c-3.84,0-6.97,3.13-6.97,6.97c0,3.84,3.13,6.97,6.97,6.97l0.23,0.02 c0.03,0.01,4.8,0.42,12.67-6.99c-7.86-7.49-12.62-6.99-12.67-6.98l-0.13,0.02L73.98,118.14L73.98,118.14z M74.44,135.2 c-0.24,0-0.43-0.01-0.55-0.03c-5.51-0.05-9.97-4.55-9.97-10.07c0-5.52,4.46-10.01,9.96-10.07c1.17-0.14,7.18-0.29,16.33,8.98 l1.08,1.1l-1.09,1.09C82.03,134.38,76.38,135.2,74.44,135.2L74.44,135.2z"
10684
+ }), /*#__PURE__*/jsx("path", {
10685
+ fill: color,
10686
+ d: "M77.22,80.53c3.15,0,5.71-2.56,5.71-5.71c0-3.15-2.56-5.71-5.71-5.71c-3.15,0-5.71,2.56-5.71,5.71 C71.51,77.98,74.06,80.53,77.22,80.53L77.22,80.53z"
10687
+ }), /*#__PURE__*/jsx("path", {
10688
+ fill: color,
10689
+ d: "M77.8,126.65c-23.03,0-41.76-18.73-41.76-41.76c0-23,18.7-41.71,41.69-41.71c23,0,41.71,18.71,41.71,41.71 h-3.1c0-21.29-17.32-38.61-38.61-38.61c-21.28,0-38.59,17.32-38.59,38.61c0,21.32,17.34,38.66,38.66,38.66V126.65L77.8,126.65z"
10690
+ }), /*#__PURE__*/jsx("path", {
10691
+ fill: color,
10692
+ d: "M77.71,139.79c-30.28,0-54.92-24.63-54.92-54.9c0-30.28,24.64-54.92,54.92-54.92v3.1 c-28.58,0-51.82,23.25-51.82,51.82c0,28.56,23.25,51.8,51.82,51.8c28.56,0,51.8-23.24,51.8-51.8h3.1 C132.6,115.16,107.98,139.79,77.71,139.79L77.71,139.79z"
10693
+ }), /*#__PURE__*/jsx("path", {
10694
+ fill: color,
10695
+ d: "M77.65,113.25c-4.64,0-8.27-1.37-10.8-4.07c-3.85-4.1-3.69-9.79-3.66-10.46v-6.47c0-4.73,3.85-8.57,8.57-8.57 h12.71c4.73,0,8.57,3.85,8.57,8.57l0,0.07c-0.01,0.11-0.7,11.23-15.96,11.23v-3.1c11.94,0,12.81-7.59,12.87-8.25 c-0.03-3-2.47-5.42-5.47-5.42H71.76c-3.02,0-5.47,2.46-5.47,5.47l0,6.61c0,0.05-0.25,4.94,2.84,8.22 c1.92,2.04,4.79,3.07,8.53,3.07c13.91,0,25.22-11.33,25.22-25.25c0-13.91-11.31-25.22-25.22-25.22 c-13.88,0-24.76,11.08-24.76,25.22h-3.1c0-15.88,12.24-28.32,27.86-28.32c15.62,0,28.32,12.7,28.32,28.32 C105.97,100.53,93.26,113.25,77.65,113.25L77.65,113.25z"
10696
+ }), /*#__PURE__*/jsx("path", {
10697
+ fill: color,
10698
+ d: "M131.1,66.21c-2.22,0-4.03-1.8-4.03-4.03c0-2.22,1.8-4.03,4.03-4.03c2.22,0,4.03,1.8,4.03,4.03 C135.12,64.41,133.32,66.21,131.1,66.21L131.1,66.21z M140.73,62.31c0-5.35-4.33-9.68-9.68-9.68c-5.35,0-9.68,4.33-9.68,9.68 c0,0-0.98,6.53,9.68,17.18C141.84,68.84,140.73,62.31,140.73,62.31L140.73,62.31z"
10699
+ }), /*#__PURE__*/jsx("polygon", {
10700
+ fill: color,
10701
+ points: "120.73,93.6 112.2,93.6 112.2,102.12 120.73,102.12 120.73,93.6 "
10702
+ }), /*#__PURE__*/jsx("polygon", {
10703
+ fill: color,
10704
+ points: "108.64,110.54 100.11,110.54 100.11,119.06 108.64,119.06 108.64,110.54 "
10705
+ })]
10706
+ })]
10707
+ })
10708
+ });
10709
+ }
10710
+
10711
+ function GeoReDUSLogoSymbol() {
10712
+ var color = '#FFFFFF';
10713
+ return /*#__PURE__*/jsxs("svg", {
10603
10714
  version: "1.1",
10604
10715
  id: "Layer_1",
10605
10716
  xmlns: "http://www.w3.org/2000/svg"
@@ -10609,68 +10720,81 @@ function GeoReDUSLogoSymbol() {
10609
10720
  ,
10610
10721
  x: "0px",
10611
10722
  y: "0px",
10612
- viewBox: "0 0 117.98 129.33"
10613
- }, /*#__PURE__*/React$1.createElement("g", null, /*#__PURE__*/React$1.createElement("g", null, /*#__PURE__*/React$1.createElement("g", null, /*#__PURE__*/React$1.createElement("path", {
10614
- d: "M67.52,21.86l-3.1-0.07c0.06-2.71-0.94-5.28-2.81-7.23c-1.87-1.96-4.39-3.07-7.1-3.13l0.07-3.1 c3.54,0.08,6.83,1.53,9.27,4.08C66.29,14.97,67.6,18.32,67.52,21.86L67.52,21.86z"
10615
- }), /*#__PURE__*/React$1.createElement("path", {
10616
- d: "M75.86,22.04l-3.1-0.07C72.99,11.79,64.88,3.32,54.7,3.1L54.77,0C66.66,0.26,76.12,10.15,75.86,22.04L75.86,22.04z"
10617
- }), /*#__PURE__*/React$1.createElement("path", {
10618
- d: "M54.19,25.36c2.47,0.05,4.51-1.9,4.56-4.37c0.05-2.47-1.9-4.51-4.37-4.56c-2.47-0.05-4.51,1.9-4.56,4.37 C49.77,23.27,51.73,25.31,54.19,25.36L54.19,25.36z"
10619
- }), /*#__PURE__*/React$1.createElement("path", {
10620
- d: "M51.2,107.68c-3.84,0-6.97,3.13-6.97,6.97c0,3.84,3.13,6.97,6.97,6.97l0.23,0.02c0.03,0.01,4.8,0.42,12.67-6.99 c-7.86-7.49-12.62-6.99-12.67-6.98l-0.13,0.02L51.2,107.68L51.2,107.68z M51.65,124.74c-0.24,0-0.43-0.01-0.55-0.03 c-5.51-0.05-9.97-4.55-9.97-10.07c0-5.52,4.46-10.01,9.96-10.07c1.17-0.14,7.18-0.29,16.33,8.98l1.08,1.1l-1.09,1.09 C59.24,123.92,53.6,124.74,51.65,124.74L51.65,124.74z"
10621
- }), /*#__PURE__*/React$1.createElement("path", {
10622
- d: "M54.43,70.07c3.15,0,5.71-2.56,5.71-5.71c0-3.15-2.56-5.71-5.71-5.71c-3.15,0-5.71,2.56-5.71,5.71 C48.72,67.52,51.28,70.07,54.43,70.07L54.43,70.07z"
10623
- }), /*#__PURE__*/React$1.createElement("path", {
10624
- d: "M55.01,116.19c-23.03,0-41.76-18.73-41.76-41.76c0-23,18.7-41.71,41.69-41.71c23,0,41.71,18.71,41.71,41.71h-3.1 c0-21.29-17.32-38.61-38.61-38.61c-21.28,0-38.59,17.32-38.59,38.61c0,21.32,17.34,38.66,38.66,38.66V116.19L55.01,116.19z"
10625
- }), /*#__PURE__*/React$1.createElement("path", {
10626
- d: "M54.92,129.33C24.64,129.33,0,104.71,0,74.44c0-30.28,24.64-54.92,54.92-54.92v3.1C26.35,22.61,3.1,45.86,3.1,74.44 c0,28.56,23.25,51.8,51.82,51.8c28.56,0,51.8-23.24,51.8-51.8h3.1C109.82,104.71,85.19,129.33,54.92,129.33L54.92,129.33z"
10627
- }), /*#__PURE__*/React$1.createElement("path", {
10628
- d: "M54.86,102.79c-4.64,0-8.27-1.37-10.8-4.07c-3.85-4.1-3.69-9.79-3.66-10.46v-6.47c0-4.73,3.85-8.57,8.57-8.57h12.71 c4.73,0,8.57,3.85,8.57,8.57l0,0.07c-0.01,0.11-0.7,11.23-15.96,11.23v-3.1c11.94,0,12.81-7.59,12.87-8.25 c-0.03-3-2.47-5.42-5.47-5.42H48.97c-3.02,0-5.47,2.46-5.47,5.47l0,6.61c0,0.05-0.25,4.94,2.84,8.22 c1.92,2.04,4.79,3.07,8.53,3.07c13.91,0,25.22-11.33,25.22-25.25c0-13.91-11.31-25.22-25.22-25.22 c-13.88,0-24.76,11.08-24.76,25.22h-3.1c0-15.88,12.24-28.32,27.86-28.32c15.62,0,28.32,12.7,28.32,28.32 C83.18,90.07,70.48,102.79,54.86,102.79L54.86,102.79z"
10629
- }), /*#__PURE__*/React$1.createElement("path", {
10630
- d: "M108.31,55.76c-2.22,0-4.03-1.8-4.03-4.03c0-2.22,1.8-4.03,4.03-4.03c2.22,0,4.03,1.8,4.03,4.03 C112.34,53.95,110.53,55.76,108.31,55.76L108.31,55.76z M117.95,51.85c0-5.35-4.33-9.68-9.68-9.68c-5.35,0-9.68,4.33-9.68,9.68 c0,0-0.98,6.53,9.68,17.18C119.05,58.38,117.95,51.85,117.95,51.85L117.95,51.85z"
10631
- }), /*#__PURE__*/React$1.createElement("polygon", {
10632
- points: "97.94,83.14 89.42,83.14 89.42,91.66 97.94,91.66 97.94,83.14 "
10633
- }), /*#__PURE__*/React$1.createElement("polygon", {
10634
- points: "85.85,100.08 77.33,100.08 77.33,108.6 85.85,108.6 85.85,100.08 "
10635
- })))), /*#__PURE__*/React$1.createElement("g", null, /*#__PURE__*/React$1.createElement("g", null, /*#__PURE__*/React$1.createElement("g", null, /*#__PURE__*/React$1.createElement("path", {
10636
- fill: color,
10637
- d: "M67.52,21.86l-3.1-0.07c0.06-2.71-0.94-5.28-2.81-7.23c-1.87-1.96-4.39-3.07-7.1-3.13l0.07-3.1 c3.54,0.08,6.83,1.53,9.27,4.08C66.29,14.97,67.6,18.32,67.52,21.86L67.52,21.86z"
10638
- }), /*#__PURE__*/React$1.createElement("path", {
10639
- fill: color,
10640
- d: "M75.86,22.04l-3.1-0.07C72.99,11.79,64.88,3.32,54.7,3.1L54.77,0C66.66,0.26,76.12,10.15,75.86,22.04 L75.86,22.04z"
10641
- }), /*#__PURE__*/React$1.createElement("path", {
10642
- fill: color,
10643
- d: "M54.19,25.36c2.47,0.05,4.51-1.9,4.56-4.37c0.05-2.47-1.9-4.51-4.37-4.56c-2.47-0.05-4.51,1.9-4.56,4.37 C49.77,23.27,51.73,25.31,54.19,25.36L54.19,25.36z"
10644
- }), /*#__PURE__*/React$1.createElement("path", {
10645
- fill: color,
10646
- d: "M51.2,107.68c-3.84,0-6.97,3.13-6.97,6.97c0,3.84,3.13,6.97,6.97,6.97l0.23,0.02 c0.03,0.01,4.8,0.42,12.67-6.99c-7.86-7.49-12.62-6.99-12.67-6.98l-0.13,0.02L51.2,107.68L51.2,107.68z M51.65,124.74 c-0.24,0-0.43-0.01-0.55-0.03c-5.51-0.05-9.97-4.55-9.97-10.07c0-5.52,4.46-10.01,9.96-10.07c1.17-0.14,7.18-0.29,16.33,8.98 l1.08,1.1l-1.09,1.09C59.24,123.92,53.6,124.74,51.65,124.74L51.65,124.74z"
10647
- }), /*#__PURE__*/React$1.createElement("path", {
10648
- fill: color,
10649
- d: "M54.43,70.07c3.15,0,5.71-2.56,5.71-5.71c0-3.15-2.56-5.71-5.71-5.71c-3.15,0-5.71,2.56-5.71,5.71 C48.72,67.52,51.28,70.07,54.43,70.07L54.43,70.07z"
10650
- }), /*#__PURE__*/React$1.createElement("path", {
10651
- fill: color,
10652
- d: "M55.01,116.19c-23.03,0-41.76-18.73-41.76-41.76c0-23,18.7-41.71,41.69-41.71c23,0,41.71,18.71,41.71,41.71 h-3.1c0-21.29-17.32-38.61-38.61-38.61c-21.28,0-38.59,17.32-38.59,38.61c0,21.32,17.34,38.66,38.66,38.66V116.19L55.01,116.19z"
10653
- }), /*#__PURE__*/React$1.createElement("path", {
10654
- fill: color,
10655
- d: "M54.92,129.33C24.64,129.33,0,104.71,0,74.44c0-30.28,24.64-54.92,54.92-54.92v3.1 C26.35,22.61,3.1,45.86,3.1,74.44c0,28.56,23.25,51.8,51.82,51.8c28.56,0,51.8-23.24,51.8-51.8h3.1 C109.82,104.71,85.19,129.33,54.92,129.33L54.92,129.33z"
10656
- }), /*#__PURE__*/React$1.createElement("path", {
10657
- fill: color,
10658
- d: "M54.86,102.79c-4.64,0-8.27-1.37-10.8-4.07c-3.85-4.1-3.69-9.79-3.66-10.46v-6.47 c0-4.73,3.85-8.57,8.57-8.57h12.71c4.73,0,8.57,3.85,8.57,8.57l0,0.07c-0.01,0.11-0.7,11.23-15.96,11.23v-3.1 c11.94,0,12.81-7.59,12.87-8.25c-0.03-3-2.47-5.42-5.47-5.42H48.97c-3.02,0-5.47,2.46-5.47,5.47l0,6.61 c0,0.05-0.25,4.94,2.84,8.22c1.92,2.04,4.79,3.07,8.53,3.07c13.91,0,25.22-11.33,25.22-25.25c0-13.91-11.31-25.22-25.22-25.22 c-13.88,0-24.76,11.08-24.76,25.22h-3.1c0-15.88,12.24-28.32,27.86-28.32c15.62,0,28.32,12.7,28.32,28.32 C83.18,90.07,70.48,102.79,54.86,102.79L54.86,102.79z"
10659
- }), /*#__PURE__*/React$1.createElement("path", {
10660
- fill: color,
10661
- d: "M108.31,55.76c-2.22,0-4.03-1.8-4.03-4.03c0-2.22,1.8-4.03,4.03-4.03c2.22,0,4.03,1.8,4.03,4.03 C112.34,53.95,110.53,55.76,108.31,55.76L108.31,55.76z M117.95,51.85c0-5.35-4.33-9.68-9.68-9.68c-5.35,0-9.68,4.33-9.68,9.68 c0,0-0.98,6.53,9.68,17.18C119.05,58.38,117.95,51.85,117.95,51.85L117.95,51.85z"
10662
- }), /*#__PURE__*/React$1.createElement("polygon", {
10663
- fill: color,
10664
- points: "97.94,83.14 89.42,83.14 89.42,91.66 97.94,91.66 97.94,83.14 "
10665
- }), /*#__PURE__*/React$1.createElement("polygon", {
10666
- fill: color,
10667
- points: "85.85,100.08 77.33,100.08 77.33,108.6 85.85,108.6 85.85,100.08 "
10668
- })))));
10723
+ viewBox: "0 0 117.98 129.33",
10724
+ children: [/*#__PURE__*/jsx("g", {
10725
+ children: /*#__PURE__*/jsx("g", {
10726
+ children: /*#__PURE__*/jsxs("g", {
10727
+ children: [/*#__PURE__*/jsx("path", {
10728
+ d: "M67.52,21.86l-3.1-0.07c0.06-2.71-0.94-5.28-2.81-7.23c-1.87-1.96-4.39-3.07-7.1-3.13l0.07-3.1 c3.54,0.08,6.83,1.53,9.27,4.08C66.29,14.97,67.6,18.32,67.52,21.86L67.52,21.86z"
10729
+ }), /*#__PURE__*/jsx("path", {
10730
+ d: "M75.86,22.04l-3.1-0.07C72.99,11.79,64.88,3.32,54.7,3.1L54.77,0C66.66,0.26,76.12,10.15,75.86,22.04L75.86,22.04z"
10731
+ }), /*#__PURE__*/jsx("path", {
10732
+ d: "M54.19,25.36c2.47,0.05,4.51-1.9,4.56-4.37c0.05-2.47-1.9-4.51-4.37-4.56c-2.47-0.05-4.51,1.9-4.56,4.37 C49.77,23.27,51.73,25.31,54.19,25.36L54.19,25.36z"
10733
+ }), /*#__PURE__*/jsx("path", {
10734
+ d: "M51.2,107.68c-3.84,0-6.97,3.13-6.97,6.97c0,3.84,3.13,6.97,6.97,6.97l0.23,0.02c0.03,0.01,4.8,0.42,12.67-6.99 c-7.86-7.49-12.62-6.99-12.67-6.98l-0.13,0.02L51.2,107.68L51.2,107.68z M51.65,124.74c-0.24,0-0.43-0.01-0.55-0.03 c-5.51-0.05-9.97-4.55-9.97-10.07c0-5.52,4.46-10.01,9.96-10.07c1.17-0.14,7.18-0.29,16.33,8.98l1.08,1.1l-1.09,1.09 C59.24,123.92,53.6,124.74,51.65,124.74L51.65,124.74z"
10735
+ }), /*#__PURE__*/jsx("path", {
10736
+ d: "M54.43,70.07c3.15,0,5.71-2.56,5.71-5.71c0-3.15-2.56-5.71-5.71-5.71c-3.15,0-5.71,2.56-5.71,5.71 C48.72,67.52,51.28,70.07,54.43,70.07L54.43,70.07z"
10737
+ }), /*#__PURE__*/jsx("path", {
10738
+ d: "M55.01,116.19c-23.03,0-41.76-18.73-41.76-41.76c0-23,18.7-41.71,41.69-41.71c23,0,41.71,18.71,41.71,41.71h-3.1 c0-21.29-17.32-38.61-38.61-38.61c-21.28,0-38.59,17.32-38.59,38.61c0,21.32,17.34,38.66,38.66,38.66V116.19L55.01,116.19z"
10739
+ }), /*#__PURE__*/jsx("path", {
10740
+ d: "M54.92,129.33C24.64,129.33,0,104.71,0,74.44c0-30.28,24.64-54.92,54.92-54.92v3.1C26.35,22.61,3.1,45.86,3.1,74.44 c0,28.56,23.25,51.8,51.82,51.8c28.56,0,51.8-23.24,51.8-51.8h3.1C109.82,104.71,85.19,129.33,54.92,129.33L54.92,129.33z"
10741
+ }), /*#__PURE__*/jsx("path", {
10742
+ d: "M54.86,102.79c-4.64,0-8.27-1.37-10.8-4.07c-3.85-4.1-3.69-9.79-3.66-10.46v-6.47c0-4.73,3.85-8.57,8.57-8.57h12.71 c4.73,0,8.57,3.85,8.57,8.57l0,0.07c-0.01,0.11-0.7,11.23-15.96,11.23v-3.1c11.94,0,12.81-7.59,12.87-8.25 c-0.03-3-2.47-5.42-5.47-5.42H48.97c-3.02,0-5.47,2.46-5.47,5.47l0,6.61c0,0.05-0.25,4.94,2.84,8.22 c1.92,2.04,4.79,3.07,8.53,3.07c13.91,0,25.22-11.33,25.22-25.25c0-13.91-11.31-25.22-25.22-25.22 c-13.88,0-24.76,11.08-24.76,25.22h-3.1c0-15.88,12.24-28.32,27.86-28.32c15.62,0,28.32,12.7,28.32,28.32 C83.18,90.07,70.48,102.79,54.86,102.79L54.86,102.79z"
10743
+ }), /*#__PURE__*/jsx("path", {
10744
+ d: "M108.31,55.76c-2.22,0-4.03-1.8-4.03-4.03c0-2.22,1.8-4.03,4.03-4.03c2.22,0,4.03,1.8,4.03,4.03 C112.34,53.95,110.53,55.76,108.31,55.76L108.31,55.76z M117.95,51.85c0-5.35-4.33-9.68-9.68-9.68c-5.35,0-9.68,4.33-9.68,9.68 c0,0-0.98,6.53,9.68,17.18C119.05,58.38,117.95,51.85,117.95,51.85L117.95,51.85z"
10745
+ }), /*#__PURE__*/jsx("polygon", {
10746
+ points: "97.94,83.14 89.42,83.14 89.42,91.66 97.94,91.66 97.94,83.14 "
10747
+ }), /*#__PURE__*/jsx("polygon", {
10748
+ points: "85.85,100.08 77.33,100.08 77.33,108.6 85.85,108.6 85.85,100.08 "
10749
+ })]
10750
+ })
10751
+ })
10752
+ }), /*#__PURE__*/jsx("g", {
10753
+ children: /*#__PURE__*/jsx("g", {
10754
+ children: /*#__PURE__*/jsxs("g", {
10755
+ children: [/*#__PURE__*/jsx("path", {
10756
+ fill: color,
10757
+ d: "M67.52,21.86l-3.1-0.07c0.06-2.71-0.94-5.28-2.81-7.23c-1.87-1.96-4.39-3.07-7.1-3.13l0.07-3.1 c3.54,0.08,6.83,1.53,9.27,4.08C66.29,14.97,67.6,18.32,67.52,21.86L67.52,21.86z"
10758
+ }), /*#__PURE__*/jsx("path", {
10759
+ fill: color,
10760
+ d: "M75.86,22.04l-3.1-0.07C72.99,11.79,64.88,3.32,54.7,3.1L54.77,0C66.66,0.26,76.12,10.15,75.86,22.04 L75.86,22.04z"
10761
+ }), /*#__PURE__*/jsx("path", {
10762
+ fill: color,
10763
+ d: "M54.19,25.36c2.47,0.05,4.51-1.9,4.56-4.37c0.05-2.47-1.9-4.51-4.37-4.56c-2.47-0.05-4.51,1.9-4.56,4.37 C49.77,23.27,51.73,25.31,54.19,25.36L54.19,25.36z"
10764
+ }), /*#__PURE__*/jsx("path", {
10765
+ fill: color,
10766
+ d: "M51.2,107.68c-3.84,0-6.97,3.13-6.97,6.97c0,3.84,3.13,6.97,6.97,6.97l0.23,0.02 c0.03,0.01,4.8,0.42,12.67-6.99c-7.86-7.49-12.62-6.99-12.67-6.98l-0.13,0.02L51.2,107.68L51.2,107.68z M51.65,124.74 c-0.24,0-0.43-0.01-0.55-0.03c-5.51-0.05-9.97-4.55-9.97-10.07c0-5.52,4.46-10.01,9.96-10.07c1.17-0.14,7.18-0.29,16.33,8.98 l1.08,1.1l-1.09,1.09C59.24,123.92,53.6,124.74,51.65,124.74L51.65,124.74z"
10767
+ }), /*#__PURE__*/jsx("path", {
10768
+ fill: color,
10769
+ d: "M54.43,70.07c3.15,0,5.71-2.56,5.71-5.71c0-3.15-2.56-5.71-5.71-5.71c-3.15,0-5.71,2.56-5.71,5.71 C48.72,67.52,51.28,70.07,54.43,70.07L54.43,70.07z"
10770
+ }), /*#__PURE__*/jsx("path", {
10771
+ fill: color,
10772
+ d: "M55.01,116.19c-23.03,0-41.76-18.73-41.76-41.76c0-23,18.7-41.71,41.69-41.71c23,0,41.71,18.71,41.71,41.71 h-3.1c0-21.29-17.32-38.61-38.61-38.61c-21.28,0-38.59,17.32-38.59,38.61c0,21.32,17.34,38.66,38.66,38.66V116.19L55.01,116.19z"
10773
+ }), /*#__PURE__*/jsx("path", {
10774
+ fill: color,
10775
+ d: "M54.92,129.33C24.64,129.33,0,104.71,0,74.44c0-30.28,24.64-54.92,54.92-54.92v3.1 C26.35,22.61,3.1,45.86,3.1,74.44c0,28.56,23.25,51.8,51.82,51.8c28.56,0,51.8-23.24,51.8-51.8h3.1 C109.82,104.71,85.19,129.33,54.92,129.33L54.92,129.33z"
10776
+ }), /*#__PURE__*/jsx("path", {
10777
+ fill: color,
10778
+ d: "M54.86,102.79c-4.64,0-8.27-1.37-10.8-4.07c-3.85-4.1-3.69-9.79-3.66-10.46v-6.47 c0-4.73,3.85-8.57,8.57-8.57h12.71c4.73,0,8.57,3.85,8.57,8.57l0,0.07c-0.01,0.11-0.7,11.23-15.96,11.23v-3.1 c11.94,0,12.81-7.59,12.87-8.25c-0.03-3-2.47-5.42-5.47-5.42H48.97c-3.02,0-5.47,2.46-5.47,5.47l0,6.61 c0,0.05-0.25,4.94,2.84,8.22c1.92,2.04,4.79,3.07,8.53,3.07c13.91,0,25.22-11.33,25.22-25.25c0-13.91-11.31-25.22-25.22-25.22 c-13.88,0-24.76,11.08-24.76,25.22h-3.1c0-15.88,12.24-28.32,27.86-28.32c15.62,0,28.32,12.7,28.32,28.32 C83.18,90.07,70.48,102.79,54.86,102.79L54.86,102.79z"
10779
+ }), /*#__PURE__*/jsx("path", {
10780
+ fill: color,
10781
+ d: "M108.31,55.76c-2.22,0-4.03-1.8-4.03-4.03c0-2.22,1.8-4.03,4.03-4.03c2.22,0,4.03,1.8,4.03,4.03 C112.34,53.95,110.53,55.76,108.31,55.76L108.31,55.76z M117.95,51.85c0-5.35-4.33-9.68-9.68-9.68c-5.35,0-9.68,4.33-9.68,9.68 c0,0-0.98,6.53,9.68,17.18C119.05,58.38,117.95,51.85,117.95,51.85L117.95,51.85z"
10782
+ }), /*#__PURE__*/jsx("polygon", {
10783
+ fill: color,
10784
+ points: "97.94,83.14 89.42,83.14 89.42,91.66 97.94,91.66 97.94,83.14 "
10785
+ }), /*#__PURE__*/jsx("polygon", {
10786
+ fill: color,
10787
+ points: "85.85,100.08 77.33,100.08 77.33,108.6 85.85,108.6 85.85,100.08 "
10788
+ })]
10789
+ })
10790
+ })
10791
+ })]
10792
+ });
10669
10793
  }
10670
10794
 
10671
10795
  function GeoReDUSLogoText() {
10672
10796
  var color = '#FFFFFF';
10673
- return /*#__PURE__*/React$1.createElement("svg", {
10797
+ return /*#__PURE__*/jsx("svg", {
10674
10798
  version: "1.1",
10675
10799
  id: "Layer_1",
10676
10800
  xmlns: "http://www.w3.org/2000/svg"
@@ -10680,36 +10804,45 @@ function GeoReDUSLogoText() {
10680
10804
  ,
10681
10805
  x: "0px",
10682
10806
  y: "0px",
10683
- viewBox: "0 0 215.51 129.33"
10684
- }, /*#__PURE__*/React$1.createElement("g", null, /*#__PURE__*/React$1.createElement("g", null, /*#__PURE__*/React$1.createElement("g", null, /*#__PURE__*/React$1.createElement("path", {
10685
- fill: color,
10686
- d: "M22.83,69.59c-7.32,0-12.95-1.95-16.91-5.86C1.98,59.82,0,53.76,0,45.54c0-5.47,0.95-9.97,2.85-13.52 c1.9-3.55,4.65-6.19,8.27-7.93c3.61-1.74,7.95-2.61,13.01-2.61c3.03,0,5.87,0.34,8.54,1.02c2.67,0.68,5.03,1.72,7.08,3.12 c2.06,1.4,3.66,3.15,4.81,5.25c1.15,2.1,1.73,4.6,1.73,7.49H36.05c0-1.4-0.3-2.64-0.91-3.73c-0.61-1.08-1.46-1.99-2.54-2.71 c-1.08-0.72-2.33-1.26-3.73-1.63c-1.4-0.36-2.87-0.54-4.4-0.54c-2.35,0-4.4,0.3-6.17,0.91c-1.76,0.61-3.22,1.54-4.37,2.78 c-1.15,1.24-2.02,2.79-2.61,4.64c-0.59,1.85-0.88,4-0.88,6.44v2.03c0,3.39,0.5,6.17,1.49,8.33c0.99,2.17,2.48,3.78,4.47,4.85 c1.99,1.06,4.45,1.59,7.39,1.59c2.44,0,4.6-0.37,6.47-1.12c1.87-0.75,3.34-1.82,4.4-3.22c1.06-1.4,1.59-3.12,1.59-5.15v-0.47 H22.36v-7.72h23.92v25.14h-6.64l-0.88-5.01c-1.36,1.31-2.81,2.39-4.37,3.25c-1.56,0.86-3.29,1.5-5.18,1.93 C27.31,69.38,25.18,69.59,22.83,69.59z"
10687
- })), /*#__PURE__*/React$1.createElement("g", null, /*#__PURE__*/React$1.createElement("path", {
10688
- fill: color,
10689
- d: "M109.03,69.5c-3.67,0-6.78-0.63-9.33-1.89c-2.56-1.26-4.5-3.2-5.82-5.82c-1.32-2.62-1.98-5.91-1.98-9.88 c0-4.05,0.66-7.36,1.98-9.94c1.32-2.58,3.26-4.5,5.82-5.75c2.56-1.26,5.67-1.89,9.33-1.89c3.75,0,6.89,0.63,9.43,1.89 c2.54,1.26,4.47,3.18,5.79,5.75c1.32,2.58,1.98,5.89,1.98,9.94c0,3.96-0.66,7.26-1.98,9.88c-1.32,2.62-3.25,4.56-5.79,5.82 C115.93,68.87,112.78,69.5,109.03,69.5z M109.03,62.6c1.96,0,3.53-0.36,4.7-1.09c1.17-0.72,2.04-1.83,2.59-3.33 c0.55-1.49,0.83-3.32,0.83-5.5v-1.53c0-2.17-0.28-4.01-0.83-5.5c-0.55-1.49-1.42-2.61-2.59-3.36c-1.17-0.75-2.74-1.12-4.7-1.12 c-1.92,0-3.46,0.37-4.64,1.12c-1.17,0.75-2.04,1.87-2.59,3.36c-0.55,1.49-0.83,3.32-0.83,5.5v1.53c0,2.17,0.28,4.01,0.83,5.5 c0.55,1.49,1.42,2.6,2.59,3.33C105.57,62.23,107.12,62.6,109.03,62.6z"
10690
- })), /*#__PURE__*/React$1.createElement("path", {
10691
- fill: color,
10692
- d: "M70.76,106.24c0-1.79-0.54-3.3-1.63-4.52c-1.09-1.22-2.78-1.83-5.09-1.83c-2.33,0-4.13,0.65-5.41,1.96 c-1.28,1.31-2.08,3.11-2.42,5.39l14.51-0.13C70.75,106.91,70.76,106.62,70.76,106.24L70.76,106.24z M72.76,94.74 c2.25,1.4,3.91,3.23,4.99,5.49c1.08,2.26,1.61,4.71,1.61,7.35c0,1.79-0.27,3.62-0.81,5.47l-22.06,0.17 c0.56,2.08,1.63,3.69,3.21,4.83c1.58,1.14,3.63,1.71,6.16,1.71c1.5,0,3.09-0.17,4.77-0.5c1.68-0.34,3.36-0.83,5.04-1.48l1.71,6.95 c-1.59,0.67-3.6,1.23-6.04,1.68c-2.44,0.45-4.66,0.67-6.65,0.67c-5.44,0-9.66-1.42-12.68-4.25c-3.01-2.83-4.52-7.19-4.52-13.08 c0-3.67,0.67-6.79,2-9.35c1.33-2.56,3.26-4.5,5.77-5.81c2.52-1.31,5.55-1.96,9.08-1.96C67.7,92.64,70.51,93.34,72.76,94.74 L72.76,94.74z"
10693
- }), /*#__PURE__*/React$1.createElement("path", {
10694
- fill: color,
10695
- d: "M77.81,47.77c0-1.86-0.56-3.42-1.69-4.69c-1.13-1.27-2.89-1.9-5.28-1.9c-2.42,0-4.29,0.68-5.61,2.04 c-1.32,1.36-2.16,3.22-2.51,5.59l15.05-0.14C77.8,48.47,77.81,48.16,77.81,47.77L77.81,47.77z M79.89,35.84 c2.33,1.45,4.06,3.35,5.17,5.7c1.12,2.35,1.67,4.89,1.67,7.63c0,1.86-0.28,3.75-0.84,5.68l-22.89,0.17 c0.58,2.16,1.69,3.83,3.33,5.02c1.64,1.18,3.77,1.78,6.39,1.78c1.56,0,3.21-0.17,4.95-0.52c1.74-0.35,3.48-0.86,5.23-1.53 l1.78,7.21c-1.65,0.7-3.74,1.28-6.27,1.74c-2.53,0.46-4.83,0.7-6.9,0.7c-5.64,0-10.03-1.47-13.15-4.41 c-3.12-2.94-4.69-7.46-4.69-13.57c0-3.81,0.69-7.04,2.07-9.7c1.38-2.66,3.38-4.67,5.99-6.03c2.61-1.36,5.75-2.04,9.42-2.04 C74.64,33.66,77.55,34.39,79.89,35.84L79.89,35.84z"
10696
- }), /*#__PURE__*/React$1.createElement("path", {
10697
- fill: color,
10698
- d: "M103.7,118.77c3.36,0,6.23-0.66,8.61-1.98c2.38-1.32,4.2-3.24,5.44-5.76c1.24-2.52,1.86-5.57,1.86-9.15 c0-5.44-1.32-9.5-3.95-12.17c-2.63-2.67-6.52-4-11.67-3.98l-7.72,0.07v32.97H103.7L103.7,118.77z M87.38,78.2h16.75 c8.13,0,14.26,1.93,18.4,5.78c4.14,3.85,6.21,9.75,6.21,17.69c0,5.01-1.04,9.37-3.12,13.08c-2.08,3.7-5.02,6.56-8.81,8.56 c-3.79,2-8.19,3-13.18,3l-16.25,0.07V78.2L87.38,78.2z"
10699
- }), /*#__PURE__*/React$1.createElement("path", {
10700
- fill: color,
10701
- d: "M141.29,122.12c-3.1-3.34-4.65-8.17-4.65-14.51V78.17h8.93v28.84c0,8.1,3.54,12.16,10.61,12.16 c6.72,0,10.07-3.88,10.07-11.65V78.17h8.9v28.68c0,13.52-6.51,20.28-19.54,20.28C149.16,127.13,144.39,125.46,141.29,122.12 L141.29,122.12z"
10702
- }), /*#__PURE__*/React$1.createElement("path", {
10703
- fill: color,
10704
- d: "M190.97,126.02c-2.31-0.6-4.95-1.6-7.92-2.99l3.09-7.92c2.62,1.32,4.82,2.23,6.61,2.72 c1.79,0.49,3.64,0.74,5.54,0.74c2.95,0,5.11-0.55,6.48-1.66c1.36-1.11,2.05-2.59,2.05-4.45c0-1.12-0.37-2.08-1.12-2.89 c-0.75-0.81-1.69-1.48-2.82-2.01c-1.13-0.54-2.73-1.2-4.79-1.98c-2.87-1.07-5.2-2.1-7.02-3.07c-1.81-0.97-3.36-2.34-4.65-4.11 c-1.29-1.77-1.93-4.02-1.93-6.75c0-3.18,0.78-5.83,2.35-7.96c1.57-2.13,3.64-3.69,6.21-4.68c2.57-1,5.42-1.49,8.53-1.49 c2.26,0,4.39,0.22,6.38,0.65c1.99,0.44,3.96,1.05,5.91,1.83l-2.85,7.72l-0.84-0.3c-1.39-0.54-2.69-0.95-3.89-1.24 c-1.21-0.29-2.66-0.44-4.37-0.44c-2.19,0-4.06,0.44-5.61,1.31c-1.55,0.87-2.32,2.24-2.32,4.1c0,0.96,0.33,1.8,0.99,2.52 c0.66,0.72,1.5,1.33,2.52,1.83s2.45,1.11,4.28,1.83c2.84,1.14,5.18,2.23,7.02,3.26c1.83,1.03,3.41,2.5,4.73,4.42 c1.32,1.91,1.98,4.34,1.98,7.27c0,3-0.68,5.6-2.03,7.81c-1.36,2.21-3.32,3.9-5.89,5.09c-2.57,1.19-5.67,1.78-9.3,1.78 C195.71,126.93,193.27,126.62,190.97,126.02L190.97,126.02z"
10705
- }), /*#__PURE__*/React$1.createElement("path", {
10706
- fill: color,
10707
- d: "M30.67,104.39c2.82-1.08,5.04-2.68,6.66-4.82c1.62-2.14,2.45-4.67,2.47-7.61c0-2.95-0.65-5.46-1.95-7.52 c-1.3-2.06-3.14-3.62-5.52-4.68c-2.38-1.06-5.18-1.6-8.38-1.6H6.96v48.15h8.93l-0.02-11.2l-0.01-30.03l5.51-0.03 c2.93-0.04,5.19,0.57,6.77,1.83c1.58,1.26,2.37,3.15,2.37,5.66c0,2.48-0.87,4.39-2.6,5.73c-1.63,1.25-3.88,1.91-6.73,1.98h-0.13 v5.32l13.36,20.75h10.64L30.67,104.39L30.67,104.39z"
10708
- }))));
10807
+ viewBox: "0 0 215.51 129.33",
10808
+ children: /*#__PURE__*/jsx("g", {
10809
+ children: /*#__PURE__*/jsxs("g", {
10810
+ children: [/*#__PURE__*/jsx("g", {
10811
+ children: /*#__PURE__*/jsx("path", {
10812
+ fill: color,
10813
+ d: "M22.83,69.59c-7.32,0-12.95-1.95-16.91-5.86C1.98,59.82,0,53.76,0,45.54c0-5.47,0.95-9.97,2.85-13.52 c1.9-3.55,4.65-6.19,8.27-7.93c3.61-1.74,7.95-2.61,13.01-2.61c3.03,0,5.87,0.34,8.54,1.02c2.67,0.68,5.03,1.72,7.08,3.12 c2.06,1.4,3.66,3.15,4.81,5.25c1.15,2.1,1.73,4.6,1.73,7.49H36.05c0-1.4-0.3-2.64-0.91-3.73c-0.61-1.08-1.46-1.99-2.54-2.71 c-1.08-0.72-2.33-1.26-3.73-1.63c-1.4-0.36-2.87-0.54-4.4-0.54c-2.35,0-4.4,0.3-6.17,0.91c-1.76,0.61-3.22,1.54-4.37,2.78 c-1.15,1.24-2.02,2.79-2.61,4.64c-0.59,1.85-0.88,4-0.88,6.44v2.03c0,3.39,0.5,6.17,1.49,8.33c0.99,2.17,2.48,3.78,4.47,4.85 c1.99,1.06,4.45,1.59,7.39,1.59c2.44,0,4.6-0.37,6.47-1.12c1.87-0.75,3.34-1.82,4.4-3.22c1.06-1.4,1.59-3.12,1.59-5.15v-0.47 H22.36v-7.72h23.92v25.14h-6.64l-0.88-5.01c-1.36,1.31-2.81,2.39-4.37,3.25c-1.56,0.86-3.29,1.5-5.18,1.93 C27.31,69.38,25.18,69.59,22.83,69.59z"
10814
+ })
10815
+ }), /*#__PURE__*/jsx("g", {
10816
+ children: /*#__PURE__*/jsx("path", {
10817
+ fill: color,
10818
+ d: "M109.03,69.5c-3.67,0-6.78-0.63-9.33-1.89c-2.56-1.26-4.5-3.2-5.82-5.82c-1.32-2.62-1.98-5.91-1.98-9.88 c0-4.05,0.66-7.36,1.98-9.94c1.32-2.58,3.26-4.5,5.82-5.75c2.56-1.26,5.67-1.89,9.33-1.89c3.75,0,6.89,0.63,9.43,1.89 c2.54,1.26,4.47,3.18,5.79,5.75c1.32,2.58,1.98,5.89,1.98,9.94c0,3.96-0.66,7.26-1.98,9.88c-1.32,2.62-3.25,4.56-5.79,5.82 C115.93,68.87,112.78,69.5,109.03,69.5z M109.03,62.6c1.96,0,3.53-0.36,4.7-1.09c1.17-0.72,2.04-1.83,2.59-3.33 c0.55-1.49,0.83-3.32,0.83-5.5v-1.53c0-2.17-0.28-4.01-0.83-5.5c-0.55-1.49-1.42-2.61-2.59-3.36c-1.17-0.75-2.74-1.12-4.7-1.12 c-1.92,0-3.46,0.37-4.64,1.12c-1.17,0.75-2.04,1.87-2.59,3.36c-0.55,1.49-0.83,3.32-0.83,5.5v1.53c0,2.17,0.28,4.01,0.83,5.5 c0.55,1.49,1.42,2.6,2.59,3.33C105.57,62.23,107.12,62.6,109.03,62.6z"
10819
+ })
10820
+ }), /*#__PURE__*/jsx("path", {
10821
+ fill: color,
10822
+ d: "M70.76,106.24c0-1.79-0.54-3.3-1.63-4.52c-1.09-1.22-2.78-1.83-5.09-1.83c-2.33,0-4.13,0.65-5.41,1.96 c-1.28,1.31-2.08,3.11-2.42,5.39l14.51-0.13C70.75,106.91,70.76,106.62,70.76,106.24L70.76,106.24z M72.76,94.74 c2.25,1.4,3.91,3.23,4.99,5.49c1.08,2.26,1.61,4.71,1.61,7.35c0,1.79-0.27,3.62-0.81,5.47l-22.06,0.17 c0.56,2.08,1.63,3.69,3.21,4.83c1.58,1.14,3.63,1.71,6.16,1.71c1.5,0,3.09-0.17,4.77-0.5c1.68-0.34,3.36-0.83,5.04-1.48l1.71,6.95 c-1.59,0.67-3.6,1.23-6.04,1.68c-2.44,0.45-4.66,0.67-6.65,0.67c-5.44,0-9.66-1.42-12.68-4.25c-3.01-2.83-4.52-7.19-4.52-13.08 c0-3.67,0.67-6.79,2-9.35c1.33-2.56,3.26-4.5,5.77-5.81c2.52-1.31,5.55-1.96,9.08-1.96C67.7,92.64,70.51,93.34,72.76,94.74 L72.76,94.74z"
10823
+ }), /*#__PURE__*/jsx("path", {
10824
+ fill: color,
10825
+ d: "M77.81,47.77c0-1.86-0.56-3.42-1.69-4.69c-1.13-1.27-2.89-1.9-5.28-1.9c-2.42,0-4.29,0.68-5.61,2.04 c-1.32,1.36-2.16,3.22-2.51,5.59l15.05-0.14C77.8,48.47,77.81,48.16,77.81,47.77L77.81,47.77z M79.89,35.84 c2.33,1.45,4.06,3.35,5.17,5.7c1.12,2.35,1.67,4.89,1.67,7.63c0,1.86-0.28,3.75-0.84,5.68l-22.89,0.17 c0.58,2.16,1.69,3.83,3.33,5.02c1.64,1.18,3.77,1.78,6.39,1.78c1.56,0,3.21-0.17,4.95-0.52c1.74-0.35,3.48-0.86,5.23-1.53 l1.78,7.21c-1.65,0.7-3.74,1.28-6.27,1.74c-2.53,0.46-4.83,0.7-6.9,0.7c-5.64,0-10.03-1.47-13.15-4.41 c-3.12-2.94-4.69-7.46-4.69-13.57c0-3.81,0.69-7.04,2.07-9.7c1.38-2.66,3.38-4.67,5.99-6.03c2.61-1.36,5.75-2.04,9.42-2.04 C74.64,33.66,77.55,34.39,79.89,35.84L79.89,35.84z"
10826
+ }), /*#__PURE__*/jsx("path", {
10827
+ fill: color,
10828
+ d: "M103.7,118.77c3.36,0,6.23-0.66,8.61-1.98c2.38-1.32,4.2-3.24,5.44-5.76c1.24-2.52,1.86-5.57,1.86-9.15 c0-5.44-1.32-9.5-3.95-12.17c-2.63-2.67-6.52-4-11.67-3.98l-7.72,0.07v32.97H103.7L103.7,118.77z M87.38,78.2h16.75 c8.13,0,14.26,1.93,18.4,5.78c4.14,3.85,6.21,9.75,6.21,17.69c0,5.01-1.04,9.37-3.12,13.08c-2.08,3.7-5.02,6.56-8.81,8.56 c-3.79,2-8.19,3-13.18,3l-16.25,0.07V78.2L87.38,78.2z"
10829
+ }), /*#__PURE__*/jsx("path", {
10830
+ fill: color,
10831
+ d: "M141.29,122.12c-3.1-3.34-4.65-8.17-4.65-14.51V78.17h8.93v28.84c0,8.1,3.54,12.16,10.61,12.16 c6.72,0,10.07-3.88,10.07-11.65V78.17h8.9v28.68c0,13.52-6.51,20.28-19.54,20.28C149.16,127.13,144.39,125.46,141.29,122.12 L141.29,122.12z"
10832
+ }), /*#__PURE__*/jsx("path", {
10833
+ fill: color,
10834
+ d: "M190.97,126.02c-2.31-0.6-4.95-1.6-7.92-2.99l3.09-7.92c2.62,1.32,4.82,2.23,6.61,2.72 c1.79,0.49,3.64,0.74,5.54,0.74c2.95,0,5.11-0.55,6.48-1.66c1.36-1.11,2.05-2.59,2.05-4.45c0-1.12-0.37-2.08-1.12-2.89 c-0.75-0.81-1.69-1.48-2.82-2.01c-1.13-0.54-2.73-1.2-4.79-1.98c-2.87-1.07-5.2-2.1-7.02-3.07c-1.81-0.97-3.36-2.34-4.65-4.11 c-1.29-1.77-1.93-4.02-1.93-6.75c0-3.18,0.78-5.83,2.35-7.96c1.57-2.13,3.64-3.69,6.21-4.68c2.57-1,5.42-1.49,8.53-1.49 c2.26,0,4.39,0.22,6.38,0.65c1.99,0.44,3.96,1.05,5.91,1.83l-2.85,7.72l-0.84-0.3c-1.39-0.54-2.69-0.95-3.89-1.24 c-1.21-0.29-2.66-0.44-4.37-0.44c-2.19,0-4.06,0.44-5.61,1.31c-1.55,0.87-2.32,2.24-2.32,4.1c0,0.96,0.33,1.8,0.99,2.52 c0.66,0.72,1.5,1.33,2.52,1.83s2.45,1.11,4.28,1.83c2.84,1.14,5.18,2.23,7.02,3.26c1.83,1.03,3.41,2.5,4.73,4.42 c1.32,1.91,1.98,4.34,1.98,7.27c0,3-0.68,5.6-2.03,7.81c-1.36,2.21-3.32,3.9-5.89,5.09c-2.57,1.19-5.67,1.78-9.3,1.78 C195.71,126.93,193.27,126.62,190.97,126.02L190.97,126.02z"
10835
+ }), /*#__PURE__*/jsx("path", {
10836
+ fill: color,
10837
+ d: "M30.67,104.39c2.82-1.08,5.04-2.68,6.66-4.82c1.62-2.14,2.45-4.67,2.47-7.61c0-2.95-0.65-5.46-1.95-7.52 c-1.3-2.06-3.14-3.62-5.52-4.68c-2.38-1.06-5.18-1.6-8.38-1.6H6.96v48.15h8.93l-0.02-11.2l-0.01-30.03l5.51-0.03 c2.93-0.04,5.19,0.57,6.77,1.83c1.58,1.26,2.37,3.15,2.37,5.66c0,2.48-0.87,4.39-2.6,5.73c-1.63,1.25-3.88,1.91-6.73,1.98h-0.13 v5.32l13.36,20.75h10.64L30.67,104.39L30.67,104.39z"
10838
+ })]
10839
+ })
10840
+ })
10841
+ });
10709
10842
  }
10710
10843
 
10711
10844
  var _excluded2 = ["text", "label", "children", "copiedMessage"];
10712
- var DEFAULT_ICON = /*#__PURE__*/React$1.createElement(Icon, {
10845
+ var DEFAULT_ICON = /*#__PURE__*/jsx(Icon, {
10713
10846
  path: mdiContentCopy,
10714
10847
  size: "18px"
10715
10848
  });
@@ -10726,34 +10859,45 @@ function CopyToClipboardIconButton(_ref2) {
10726
10859
  _useState4 = _slicedToArray(_useState3, 2),
10727
10860
  copied = _useState4[0],
10728
10861
  setCopied = _useState4[1];
10729
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(Popover.Root, {
10730
- open: copied
10731
- }, /*#__PURE__*/React$1.createElement(CopyToClipboard, {
10732
- text: text
10733
- }, /*#__PURE__*/React$1.createElement(Popover.Trigger, null, /*#__PURE__*/React$1.createElement(IconButton, _extends({
10734
- asChild: true,
10735
- radius: "full"
10736
- }, props), /*#__PURE__*/React$1.createElement("button", {
10737
- onClick: function onClick() {
10738
- setCopied(true);
10739
- setTimeout(function () {
10740
- setCopied(function () {
10741
- return false;
10742
- });
10743
- }, 2500);
10744
- }
10745
- }, /*#__PURE__*/React$1.createElement(Tooltip, {
10746
- content: label,
10747
- sideOffset: 10
10748
- }, children))))), /*#__PURE__*/React$1.createElement(Popover.Content, {
10749
- align: "center",
10750
- size: "1",
10751
- style: {
10752
- fontSize: '.8rem',
10753
- padding: 8
10754
- },
10755
- maxWidth: 60
10756
- }, copiedMessage)));
10862
+ return /*#__PURE__*/jsx(Fragment, {
10863
+ children: /*#__PURE__*/jsxs(Popover.Root, {
10864
+ open: copied,
10865
+ children: [/*#__PURE__*/jsx(CopyToClipboard, {
10866
+ text: text,
10867
+ children: /*#__PURE__*/jsx(Popover.Trigger, {
10868
+ children: /*#__PURE__*/jsx(IconButton, _objectSpread2(_objectSpread2({
10869
+ asChild: true,
10870
+ radius: "full"
10871
+ }, props), {}, {
10872
+ children: /*#__PURE__*/jsx("button", {
10873
+ onClick: function onClick() {
10874
+ setCopied(true);
10875
+ setTimeout(function () {
10876
+ setCopied(function () {
10877
+ return false;
10878
+ });
10879
+ }, 2500);
10880
+ },
10881
+ children: /*#__PURE__*/jsx(Tooltip, {
10882
+ content: label,
10883
+ sideOffset: 10,
10884
+ children: children
10885
+ })
10886
+ })
10887
+ }))
10888
+ })
10889
+ }), /*#__PURE__*/jsx(Popover.Content, {
10890
+ align: "center",
10891
+ size: "1",
10892
+ style: {
10893
+ fontSize: '.8rem',
10894
+ padding: 8
10895
+ },
10896
+ maxWidth: 60,
10897
+ children: copiedMessage
10898
+ })]
10899
+ })
10900
+ });
10757
10901
  }
10758
10902
 
10759
10903
  var _excluded$2 = ["url"];
@@ -10765,44 +10909,55 @@ var ShareButtonBar = function ShareButtonBar(_ref) {
10765
10909
  var _useLocation = useLocation(),
10766
10910
  href = _useLocation.href;
10767
10911
  var shareUrl = url ? url : href;
10768
- return /*#__PURE__*/React$1.createElement(Flex, {
10769
- direction: "column"
10770
- }, /*#__PURE__*/React$1.createElement(Text, null, "Compartilhar"), /*#__PURE__*/React$1.createElement(Container, _extends({
10771
- direction: "row",
10772
- gap: "3"
10773
- }, props), /*#__PURE__*/React$1.createElement(CopyToClipboardIconButton, {
10774
- label: "Copiar link de compartilhamento",
10775
- copiedMessage: "Link copiado para \xE1rea de transfer\xEAncia",
10776
- text: shareUrl
10777
- }, /*#__PURE__*/React$1.createElement(Icon, {
10778
- path: mdiLinkVariant,
10779
- size: "18px"
10780
- })), /*#__PURE__*/React$1.createElement(LinkedinShareButton, {
10781
- url: shareUrl
10782
- }, /*#__PURE__*/React$1.createElement(LinkedinIcon, {
10783
- size: 32,
10784
- round: true
10785
- })), /*#__PURE__*/React$1.createElement(EmailShareButton, {
10786
- url: shareUrl
10787
- }, /*#__PURE__*/React$1.createElement(EmailIcon, {
10788
- size: 32,
10789
- round: true
10790
- })), /*#__PURE__*/React$1.createElement(FacebookShareButton, {
10791
- url: shareUrl
10792
- }, /*#__PURE__*/React$1.createElement(FacebookIcon, {
10793
- size: 32,
10794
- round: true
10795
- })), /*#__PURE__*/React$1.createElement(TwitterShareButton, {
10796
- url: shareUrl
10797
- }, /*#__PURE__*/React$1.createElement(TwitterIcon, {
10798
- size: 32,
10799
- round: true
10800
- })), /*#__PURE__*/React$1.createElement(WhatsappShareButton, {
10801
- url: shareUrl
10802
- }, /*#__PURE__*/React$1.createElement(WhatsappIcon, {
10803
- size: 32,
10804
- round: true
10805
- }))));
10912
+ return /*#__PURE__*/jsxs(Flex, {
10913
+ direction: "column",
10914
+ children: [/*#__PURE__*/jsx(Text, {
10915
+ children: "Compartilhar"
10916
+ }), /*#__PURE__*/jsxs(Container, _objectSpread2(_objectSpread2({
10917
+ direction: "row",
10918
+ gap: "3"
10919
+ }, props), {}, {
10920
+ children: [/*#__PURE__*/jsx(CopyToClipboardIconButton, {
10921
+ label: "Copiar link de compartilhamento",
10922
+ copiedMessage: "Link copiado para \xE1rea de transfer\xEAncia",
10923
+ text: shareUrl,
10924
+ children: /*#__PURE__*/jsx(Icon, {
10925
+ path: mdiLinkVariant,
10926
+ size: "18px"
10927
+ })
10928
+ }), /*#__PURE__*/jsx(LinkedinShareButton, {
10929
+ url: shareUrl,
10930
+ children: /*#__PURE__*/jsx(LinkedinIcon, {
10931
+ size: 32,
10932
+ round: true
10933
+ })
10934
+ }), /*#__PURE__*/jsx(EmailShareButton, {
10935
+ url: shareUrl,
10936
+ children: /*#__PURE__*/jsx(EmailIcon, {
10937
+ size: 32,
10938
+ round: true
10939
+ })
10940
+ }), /*#__PURE__*/jsx(FacebookShareButton, {
10941
+ url: shareUrl,
10942
+ children: /*#__PURE__*/jsx(FacebookIcon, {
10943
+ size: 32,
10944
+ round: true
10945
+ })
10946
+ }), /*#__PURE__*/jsx(TwitterShareButton, {
10947
+ url: shareUrl,
10948
+ children: /*#__PURE__*/jsx(TwitterIcon, {
10949
+ size: 32,
10950
+ round: true
10951
+ })
10952
+ }), /*#__PURE__*/jsx(WhatsappShareButton, {
10953
+ url: shareUrl,
10954
+ children: /*#__PURE__*/jsx(WhatsappIcon, {
10955
+ size: 32,
10956
+ round: true
10957
+ })
10958
+ })]
10959
+ }))]
10960
+ });
10806
10961
  };
10807
10962
 
10808
10963
  var SKY_STYLE = {
@@ -10914,22 +11069,24 @@ function NorthArrow(_ref) {
10914
11069
  });
10915
11070
  }
10916
11071
  };
10917
- return mountPoint ? /*#__PURE__*/createPortal(/*#__PURE__*/React$1.createElement(ControlContainer, {
11072
+ return mountPoint ? /*#__PURE__*/createPortal(/*#__PURE__*/jsx(ControlContainer, {
10918
11073
  onClick: handleClick,
10919
11074
  title: "Click to reset bearing to north",
10920
11075
  style: style,
10921
- position: position
10922
- }, /*#__PURE__*/React$1.createElement("div", {
10923
- style: _objectSpread2(_objectSpread2({}, circleStyle), {}, {
10924
- display: hidden ? 'none' : 'flex'
10925
- }),
10926
- className: className
10927
- }, /*#__PURE__*/React$1.createElement(ArrowIcon, {
10928
- path: mdiNavigation,
10929
- size: "25px",
10930
- bearing: bearing
10931
- // style={{ marginTop: '3px' }}
10932
- }))), mountPoint) : null;
11076
+ position: position,
11077
+ children: /*#__PURE__*/jsx("div", {
11078
+ style: _objectSpread2(_objectSpread2({}, circleStyle), {}, {
11079
+ display: hidden ? 'none' : 'flex'
11080
+ }),
11081
+ className: className,
11082
+ children: /*#__PURE__*/jsx(ArrowIcon, {
11083
+ path: mdiNavigation,
11084
+ size: "25px",
11085
+ bearing: bearing
11086
+ // style={{ marginTop: '3px' }}
11087
+ })
11088
+ })
11089
+ }), mountPoint) : null;
10933
11090
  }
10934
11091
 
10935
11092
  /**
@@ -11281,7 +11438,7 @@ var _getPaperDimensions = getPaperDimensions(PREVIEW_WIDTH_PX),
11281
11438
  MAP_HEIGHT = _getPaperDimensions.MAP_HEIGHT,
11282
11439
  BOTTOM_HEIGHT = _getPaperDimensions.BOTTOM_HEIGHT,
11283
11440
  DESCRIPTION_WIDTH = _getPaperDimensions.DESCRIPTION_WIDTH;
11284
- var ExportImage = /*#__PURE__*/forwardRef(function ExportImage(_ref, ref) {
11441
+ var ExportImage = /*#__PURE__*/forwardRef(function ExportImageInner(_ref, ref) {
11285
11442
  var _resolvedLayout$, _resolvedLayout$2, _layeredMapRef$curren, _resolvedLayout$3;
11286
11443
  var resolvedLayout = _ref.resolvedLayout,
11287
11444
  commitedViewState = _ref.commitedViewState,
@@ -11289,7 +11446,6 @@ var ExportImage = /*#__PURE__*/forwardRef(function ExportImage(_ref, ref) {
11289
11446
  METADATA_API_ENDPOINT = _ref.METADATA_API_ENDPOINT,
11290
11447
  baseMapStyle = _ref.baseMapStyle,
11291
11448
  topViews = _ref.topViews;
11292
- ExportImage.displayName = 'ExportImage';
11293
11449
  var dialogs = useDialogs();
11294
11450
  var rootRef = useRef(null);
11295
11451
  var layeredMapRef = useRef(null);
@@ -11378,133 +11534,156 @@ var ExportImage = /*#__PURE__*/forwardRef(function ExportImage(_ref, ref) {
11378
11534
  };
11379
11535
  }, [createImg]);
11380
11536
  function ImageDescription() {
11381
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Flex, {
11382
- direction: "column",
11383
- width: "".concat(DESCRIPTION_WIDTH, "px"),
11384
- className: IMAGE_DESCRIPTION_CLASS_NAME
11385
- }, /*#__PURE__*/React.createElement(Flex, {
11386
- height: "100%",
11387
- wrap: "wrap",
11388
- gap: "2"
11389
- }, /*#__PURE__*/React.createElement(Heading, {
11390
- size: "4",
11391
- color: "iris"
11392
- }, munName, " - ", ufSigla, " / BR"), /*#__PURE__*/React.createElement(Heading, {
11393
- size: "2",
11394
- color: "iris"
11395
- }, new Date().toLocaleDateString('pt-BR', {
11396
- year: 'numeric',
11397
- month: '2-digit',
11398
- day: '2-digit'
11399
- }).replace(/\//g, '.')), /*#__PURE__*/React.createElement(Text, {
11400
- size: "2"
11401
- }, /*#__PURE__*/React.createElement(Strong, null, "Fonte de dados: "), sourceLabels || ''), /*#__PURE__*/React.createElement(Text, {
11402
- size: "2"
11403
- }, /*#__PURE__*/React.createElement(Strong, null, "Outros dados: "), "\xA9 MapTiler | \xA9 OpenStreetMap contributors")), /*#__PURE__*/React.createElement(Flex, null, /*#__PURE__*/React.createElement("img", {
11404
- style: {
11405
- height: 33,
11406
- width: 'auto'
11407
- },
11408
- src: "/georedus/assets/parcerias.png"
11409
- }))));
11537
+ return /*#__PURE__*/jsx(Fragment, {
11538
+ children: /*#__PURE__*/jsxs(Flex, {
11539
+ direction: "column",
11540
+ width: "".concat(DESCRIPTION_WIDTH, "px"),
11541
+ className: IMAGE_DESCRIPTION_CLASS_NAME,
11542
+ children: [/*#__PURE__*/jsxs(Flex, {
11543
+ height: "100%",
11544
+ wrap: "wrap",
11545
+ gap: "2",
11546
+ children: [/*#__PURE__*/jsxs(Heading, {
11547
+ size: "4",
11548
+ color: "iris",
11549
+ children: [munName, " - ", ufSigla, " / BR"]
11550
+ }), /*#__PURE__*/jsx(Heading, {
11551
+ size: "2",
11552
+ color: "iris",
11553
+ children: new Date().toLocaleDateString('pt-BR', {
11554
+ year: 'numeric',
11555
+ month: '2-digit',
11556
+ day: '2-digit'
11557
+ }).replace(/\//g, '.')
11558
+ }), /*#__PURE__*/jsxs(Text, {
11559
+ size: "2",
11560
+ children: [/*#__PURE__*/jsx(Strong, {
11561
+ children: "Fonte de dados: "
11562
+ }), sourceLabels || '']
11563
+ }), /*#__PURE__*/jsxs(Text, {
11564
+ size: "2",
11565
+ children: [/*#__PURE__*/jsx(Strong, {
11566
+ children: "Outros dados: "
11567
+ }), "\xA9 MapTiler | \xA9 OpenStreetMap contributors"]
11568
+ })]
11569
+ }), /*#__PURE__*/jsx(Flex, {
11570
+ children: /*#__PURE__*/jsx("img", {
11571
+ style: {
11572
+ height: 33,
11573
+ width: 'auto'
11574
+ },
11575
+ src: "/georedus/assets/parcerias.png"
11576
+ })
11577
+ })]
11578
+ })
11579
+ });
11410
11580
  }
11411
- return /*#__PURE__*/React.createElement(Flex, {
11412
- direction: "column",
11413
- ref: rootRef
11414
- }, /*#__PURE__*/React.createElement(LayeredMap, {
11415
- ref: layeredMapRef,
11416
- sky: SKY_STYLE,
11417
- maxPitch: 80,
11418
- pixelRatio: PIXELRATIO,
11419
- attributionControl: false,
11420
- mapStyle: baseMapStyle,
11421
- views: [].concat(_toConsumableArray(((resolvedLayout === null || resolvedLayout === void 0 || (_resolvedLayout$3 = resolvedLayout[0]) === null || _resolvedLayout$3 === void 0 ? void 0 : _resolvedLayout$3.views) || []).reverse()), _toConsumableArray(topViews || [])),
11422
- initialViewState: commitedViewState,
11423
- style: {
11424
- height: "".concat(MAP_HEIGHT, "px"),
11425
- width: "".concat(MAP_WIDTH, "px"),
11426
- marginTop: '0'
11427
- },
11428
- canvasContextAttributes: {
11429
- preserveDrawingBuffer: true
11430
- }
11431
- }, /*#__PURE__*/React.createElement(ControlContainer, {
11432
- position: "bottom-left",
11433
- style: {
11434
- boxShadow: 'none',
11435
- backgroundColor: '#ffffffd9',
11436
- borderRadius: '10px'
11437
- }
11438
- }, /*#__PURE__*/React.createElement(Flex, {
11439
- width: "150",
11440
- p: "2",
11441
- className: LOGO_CLASS_NAME
11442
- }, /*#__PURE__*/React.createElement(GeoReDUSLogo, {
11443
- color: "#384DA0"
11444
- }))), /*#__PURE__*/React.createElement(AttributionControl, {
11445
- position: "bottom-right",
11446
- compact: false
11447
- }), /*#__PURE__*/React.createElement(ControlContainer //tirar north arrow dentro do container
11448
- , {
11449
- position: "bottom-left",
11450
- style: {
11451
- boxShadow: 'none',
11452
- backgroundColor: 'transparent',
11453
- borderRadius: '10px'
11454
- }
11455
- }, /*#__PURE__*/React.createElement(Flex, {
11456
- p: "2",
11457
- className: PROJECTION_CLASS_NAME,
11458
- width: "fit-content"
11459
- }, /*#__PURE__*/React.createElement(Text, {
11460
- weight: "bold"
11461
- }, "Proje\xE7\xE3o universal "), /*#__PURE__*/React.createElement(Text, {
11462
- style: {
11463
- marginTop: 0
11464
- }
11465
- }, "Mercator (EPSG:3857)"))), /*#__PURE__*/React.createElement(NorthArrow, {
11466
- position: "bottom-left",
11467
- animationDuration: 300,
11468
- className: NORTH_ARROW_CLASS_NAME
11469
- }), /*#__PURE__*/React.createElement(ScaleControl, {
11470
- position: "bottom-left",
11471
- className: SCALE_CONTROL_CLASS_NAME
11472
- })), /*#__PURE__*/React.createElement(Flex, null), /*#__PURE__*/React.createElement(Flex, {
11473
- direction: "row",
11474
- width: "".concat(INSIDE_WIDTH, "px"),
11475
- height: "".concat(BOTTOM_HEIGHT, "px"),
11476
- style: {
11477
- justifyContent: 'space-between',
11478
- marginTop: "".concat(MARGIN, "px !important")
11479
- }
11480
- }, /*#__PURE__*/React.createElement(ImageDescription, null), /*#__PURE__*/React.createElement(LegendContainer$1, {
11481
- className: LEGEND_CLASS_NAME,
11581
+ return /*#__PURE__*/jsxs(Flex, {
11482
11582
  direction: "column",
11483
- gap: "3",
11484
- p: "0",
11485
- style: {
11486
- margin: '0 !important'
11487
- }
11488
- }, legends.filter(function (legend) {
11489
- return legend === null || legend === void 0 ? void 0 : legend.type;
11490
- }).map(function (legend, i) {
11491
- return /*#__PURE__*/React.createElement(Legend, _extends({
11492
- key: legend.id || "".concat(legend.type, "-").concat(i)
11493
- }, legend, {
11583
+ ref: rootRef,
11584
+ children: [/*#__PURE__*/jsxs(LayeredMap, {
11585
+ ref: layeredMapRef,
11586
+ sky: SKY_STYLE,
11587
+ maxPitch: 80,
11588
+ pixelRatio: PIXELRATIO,
11589
+ attributionControl: false,
11590
+ mapStyle: baseMapStyle,
11591
+ views: [].concat(_toConsumableArray(((resolvedLayout === null || resolvedLayout === void 0 || (_resolvedLayout$3 = resolvedLayout[0]) === null || _resolvedLayout$3 === void 0 ? void 0 : _resolvedLayout$3.views) || []).reverse()), _toConsumableArray(topViews || [])),
11592
+ initialViewState: commitedViewState,
11494
11593
  style: {
11495
- marginTop: '0 !important',
11496
- marginBottom: '10px',
11497
- fontSize: '8px !important'
11498
- }
11499
- }));
11500
- })), /*#__PURE__*/React.createElement(Flex, {
11501
- style: {
11502
- alignItems: 'end'
11503
- }
11504
- }, /*#__PURE__*/React.createElement(QRCode, {
11505
- value: href,
11506
- className: QR_CODE_CLASS_NAME
11507
- }))));
11594
+ height: "".concat(MAP_HEIGHT, "px"),
11595
+ width: "".concat(MAP_WIDTH, "px"),
11596
+ marginTop: '0'
11597
+ },
11598
+ canvasContextAttributes: {
11599
+ preserveDrawingBuffer: true
11600
+ },
11601
+ children: [/*#__PURE__*/jsx(ControlContainer, {
11602
+ position: "bottom-left",
11603
+ style: {
11604
+ boxShadow: 'none',
11605
+ backgroundColor: '#ffffffd9',
11606
+ borderRadius: '10px'
11607
+ },
11608
+ children: /*#__PURE__*/jsx(Flex, {
11609
+ width: "150",
11610
+ p: "2",
11611
+ className: LOGO_CLASS_NAME,
11612
+ children: /*#__PURE__*/jsx(GeoReDUSLogo, {
11613
+ color: "#384DA0"
11614
+ })
11615
+ })
11616
+ }), /*#__PURE__*/jsx(AttributionControl, {
11617
+ position: "bottom-right",
11618
+ compact: false
11619
+ }), /*#__PURE__*/jsx(ControlContainer //tirar north arrow dentro do container
11620
+ , {
11621
+ position: "bottom-left",
11622
+ style: {
11623
+ boxShadow: 'none',
11624
+ backgroundColor: 'transparent',
11625
+ borderRadius: '10px'
11626
+ },
11627
+ children: /*#__PURE__*/jsxs(Flex, {
11628
+ p: "2",
11629
+ className: PROJECTION_CLASS_NAME,
11630
+ width: "fit-content",
11631
+ children: [/*#__PURE__*/jsx(Text, {
11632
+ weight: "bold",
11633
+ children: "Proje\xE7\xE3o universal "
11634
+ }), /*#__PURE__*/jsx(Text, {
11635
+ style: {
11636
+ marginTop: 0
11637
+ },
11638
+ children: "Mercator (EPSG:3857)"
11639
+ })]
11640
+ })
11641
+ }), /*#__PURE__*/jsx(NorthArrow, {
11642
+ position: "bottom-left",
11643
+ animationDuration: 300,
11644
+ className: NORTH_ARROW_CLASS_NAME
11645
+ }), /*#__PURE__*/jsx(ScaleControl, {
11646
+ position: "bottom-left",
11647
+ className: SCALE_CONTROL_CLASS_NAME
11648
+ })]
11649
+ }), /*#__PURE__*/jsx(Flex, {}), /*#__PURE__*/jsxs(Flex, {
11650
+ direction: "row",
11651
+ width: "".concat(INSIDE_WIDTH, "px"),
11652
+ height: "".concat(BOTTOM_HEIGHT, "px"),
11653
+ style: {
11654
+ justifyContent: 'space-between',
11655
+ marginTop: "".concat(MARGIN, "px !important")
11656
+ },
11657
+ children: [/*#__PURE__*/jsx(ImageDescription, {}), /*#__PURE__*/jsx(LegendContainer$1, {
11658
+ className: LEGEND_CLASS_NAME,
11659
+ direction: "column",
11660
+ gap: "3",
11661
+ p: "0",
11662
+ style: {
11663
+ margin: '0 !important'
11664
+ },
11665
+ children: legends.filter(function (legend) {
11666
+ return legend === null || legend === void 0 ? void 0 : legend.type;
11667
+ }).map(function (legend, i) {
11668
+ return /*#__PURE__*/jsx(Legend, _objectSpread2(_objectSpread2({}, legend), {}, {
11669
+ style: {
11670
+ marginTop: '0 !important',
11671
+ marginBottom: '10px',
11672
+ fontSize: '8px !important'
11673
+ }
11674
+ }), legend.id || "".concat(legend.type, "-").concat(i));
11675
+ })
11676
+ }), /*#__PURE__*/jsx(Flex, {
11677
+ style: {
11678
+ alignItems: 'end'
11679
+ },
11680
+ children: /*#__PURE__*/jsx(QRCode, {
11681
+ value: href,
11682
+ className: QR_CODE_CLASS_NAME
11683
+ })
11684
+ })]
11685
+ })]
11686
+ });
11508
11687
  });
11509
11688
 
11510
11689
  function SharePanel(_ref) {
@@ -11519,34 +11698,39 @@ function SharePanel(_ref) {
11519
11698
  var _exportImageRef$curre;
11520
11699
  (_exportImageRef$curre = exportImageRef.current) === null || _exportImageRef$curre === void 0 || _exportImageRef$curre.createImg();
11521
11700
  };
11522
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(Flex, {
11523
- direction: "column",
11524
- gap: "1",
11525
- alignItems: "center"
11526
- }, /*#__PURE__*/React$1.createElement(ExportImage, {
11527
- ref: exportImageRef,
11528
- resolvedLayout: resolvedLayout,
11529
- commitedViewState: commitedViewState,
11530
- municipioId: municipioId,
11531
- METADATA_API_ENDPOINT: METADATA_API_ENDPOINT,
11532
- baseMapStyle: baseMapStyle,
11533
- topViews: topViews
11534
- }), /*#__PURE__*/React$1.createElement(Flex, {
11535
- direction: "row",
11536
- alignItems: "end",
11537
- justifyContent: "space-between",
11538
- width: "100%",
11539
- pt: "4"
11540
- }, /*#__PURE__*/React$1.createElement(ShareButtonBar, null), /*#__PURE__*/React$1.createElement(Button, {
11541
- onClick: handleExportClick,
11542
- style: {
11543
- marginRight: '30px'
11544
- },
11545
- size: "2"
11546
- }, /*#__PURE__*/React$1.createElement(Icon, {
11547
- path: mdiDownload,
11548
- size: "18px"
11549
- }), "Baixar imagem"))));
11701
+ return /*#__PURE__*/jsx(Fragment, {
11702
+ children: /*#__PURE__*/jsxs(Flex, {
11703
+ direction: "column",
11704
+ gap: "1",
11705
+ alignItems: "center",
11706
+ children: [/*#__PURE__*/jsx(ExportImage, {
11707
+ ref: exportImageRef,
11708
+ resolvedLayout: resolvedLayout,
11709
+ commitedViewState: commitedViewState,
11710
+ municipioId: municipioId,
11711
+ METADATA_API_ENDPOINT: METADATA_API_ENDPOINT,
11712
+ baseMapStyle: baseMapStyle,
11713
+ topViews: topViews
11714
+ }), /*#__PURE__*/jsxs(Flex, {
11715
+ direction: "row",
11716
+ alignItems: "end",
11717
+ justifyContent: "space-between",
11718
+ width: "100%",
11719
+ pt: "4",
11720
+ children: [/*#__PURE__*/jsx(ShareButtonBar, {}), /*#__PURE__*/jsxs(Button, {
11721
+ onClick: handleExportClick,
11722
+ style: {
11723
+ marginRight: '30px'
11724
+ },
11725
+ size: "2",
11726
+ children: [/*#__PURE__*/jsx(Icon, {
11727
+ path: mdiDownload,
11728
+ size: "18px"
11729
+ }), "Baixar imagem"]
11730
+ })]
11731
+ })]
11732
+ })
11733
+ });
11550
11734
  }
11551
11735
 
11552
11736
  var _templateObject$1;
@@ -11577,7 +11761,7 @@ function LeftPanelInner(_ref) {
11577
11761
  _ref$footer = _ref.footer,
11578
11762
  customFooter = _ref$footer === void 0 ? undefined : _ref$footer;
11579
11763
  var dialogs = useDialogs();
11580
- var header = typeof customHeader !== 'undefined' ? customHeader : /*#__PURE__*/React$1.createElement(Flex, {
11764
+ var header = typeof customHeader !== 'undefined' ? customHeader : /*#__PURE__*/jsxs(Flex, {
11581
11765
  px: "12px",
11582
11766
  py: "10px",
11583
11767
  height: HEADER_HEIGHT,
@@ -11589,86 +11773,97 @@ function LeftPanelInner(_ref) {
11589
11773
  whiteSpace: 'nowrap',
11590
11774
  flexShrink: 0,
11591
11775
  flexGrow: 0
11592
- }
11593
- }, /*#__PURE__*/React$1.createElement(LogoContainer, {
11594
- direction: "row",
11595
- gap: "8px"
11596
- }, /*#__PURE__*/React$1.createElement(GeoReDUSLogoSymbol, null), /*#__PURE__*/React$1.createElement("div", {
11597
- style: {
11598
- transition: open ? 'opacity .7s ease-out' : 'opacity .1s ease-out',
11599
- opacity: open ? 1 : 0
11600
- }
11601
- }, /*#__PURE__*/React$1.createElement(GeoReDUSLogoText, null))), /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(IconButton, {
11602
- variant: "soft",
11603
- size: "3",
11604
- asChild: true,
11605
- style: {
11606
- color: 'white'
11607
- }
11608
- }, /*#__PURE__*/React$1.createElement("a", {
11609
- href: "https://www.redus.org.br/georedus-rede-de-dados-urbanos/formularios/cbf766bb-9a74-4bc5-897a-70b9151afbdb",
11610
- target: "_blank",
11611
- rel: "noreferrer nofollow"
11612
- }, /*#__PURE__*/React$1.createElement(Tooltip, {
11613
- content: "D\xFAvidas e sugest\xF5es"
11614
- }, /*#__PURE__*/React$1.createElement(Icon, {
11615
- path: mdiForumOutline,
11616
- size: "24px"
11617
- })))), /*#__PURE__*/React$1.createElement(IconButton, {
11618
- variant: "soft",
11619
- size: "3",
11620
- style: {
11621
- color: 'white'
11622
11776
  },
11623
- onClick: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
11624
- return _regeneratorRuntime().wrap(function _callee$(_context) {
11625
- while (1) switch (_context.prev = _context.next) {
11626
- case 0:
11627
- _context.next = 2;
11628
- return dialogs.view({
11629
- maxWidth: '1500px',
11630
- width: '1200px',
11631
- children: /*#__PURE__*/React$1.createElement(SharePanel, {
11632
- resolvedLayout: resolvedLayout,
11633
- commitedViewState: commitedViewState,
11634
- municipioId: municipioId,
11635
- METADATA_API_ENDPOINT: METADATA_API_ENDPOINT,
11636
- baseMapStyle: baseMapStyle,
11637
- topViews: topViews
11638
- })
11639
- });
11640
- case 2:
11641
- case "end":
11642
- return _context.stop();
11643
- }
11644
- }, _callee);
11645
- }))
11646
- }, /*#__PURE__*/React$1.createElement(Tooltip, {
11647
- content: "Compartilhar"
11648
- }, /*#__PURE__*/React$1.createElement(Icon, {
11649
- path: mdiShareVariantOutline,
11650
- size: "24px"
11651
- })))));
11652
- var footer = typeof customFooter !== 'undefined' ? customFooter : /*#__PURE__*/React$1.createElement(Flex, {
11777
+ children: [/*#__PURE__*/jsxs(LogoContainer, {
11778
+ direction: "row",
11779
+ gap: "8px",
11780
+ children: [/*#__PURE__*/jsx(GeoReDUSLogoSymbol, {}), /*#__PURE__*/jsx("div", {
11781
+ style: {
11782
+ transition: open ? 'opacity .7s ease-out' : 'opacity .1s ease-out',
11783
+ opacity: open ? 1 : 0
11784
+ },
11785
+ children: /*#__PURE__*/jsx(GeoReDUSLogoText, {})
11786
+ })]
11787
+ }), /*#__PURE__*/jsxs("div", {
11788
+ children: [/*#__PURE__*/jsx(IconButton, {
11789
+ variant: "soft",
11790
+ size: "3",
11791
+ asChild: true,
11792
+ style: {
11793
+ color: 'white'
11794
+ },
11795
+ children: /*#__PURE__*/jsx("a", {
11796
+ href: "https://www.redus.org.br/georedus-rede-de-dados-urbanos/formularios/cbf766bb-9a74-4bc5-897a-70b9151afbdb",
11797
+ target: "_blank",
11798
+ rel: "noreferrer nofollow",
11799
+ children: /*#__PURE__*/jsx(Tooltip, {
11800
+ content: "D\xFAvidas e sugest\xF5es",
11801
+ children: /*#__PURE__*/jsx(Icon, {
11802
+ path: mdiForumOutline,
11803
+ size: "24px"
11804
+ })
11805
+ })
11806
+ })
11807
+ }), /*#__PURE__*/jsx(IconButton, {
11808
+ variant: "soft",
11809
+ size: "3",
11810
+ style: {
11811
+ color: 'white'
11812
+ },
11813
+ onClick: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
11814
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
11815
+ while (1) switch (_context.prev = _context.next) {
11816
+ case 0:
11817
+ _context.next = 2;
11818
+ return dialogs.view({
11819
+ maxWidth: '1500px',
11820
+ width: '1200px',
11821
+ children: /*#__PURE__*/jsx(SharePanel, {
11822
+ resolvedLayout: resolvedLayout,
11823
+ commitedViewState: commitedViewState,
11824
+ municipioId: municipioId,
11825
+ METADATA_API_ENDPOINT: METADATA_API_ENDPOINT,
11826
+ baseMapStyle: baseMapStyle,
11827
+ topViews: topViews
11828
+ })
11829
+ });
11830
+ case 2:
11831
+ case "end":
11832
+ return _context.stop();
11833
+ }
11834
+ }, _callee);
11835
+ })),
11836
+ children: /*#__PURE__*/jsx(Tooltip, {
11837
+ content: "Compartilhar",
11838
+ children: /*#__PURE__*/jsx(Icon, {
11839
+ path: mdiShareVariantOutline,
11840
+ size: "24px"
11841
+ })
11842
+ })
11843
+ })]
11844
+ })]
11845
+ });
11846
+ var footer = typeof customFooter !== 'undefined' ? customFooter : /*#__PURE__*/jsx(Flex, {
11653
11847
  p: "2",
11654
11848
  style: {
11655
11849
  backgroundColor: 'white'
11656
11850
  },
11657
11851
  direction: "row",
11658
- justifyContent: "center"
11659
- }, /*#__PURE__*/React$1.createElement("img", {
11660
- style: {
11661
- transition: 'opacity .1s ease-out',
11662
- opacity: open ? 1 : 0,
11663
- height: 48,
11664
- width: 'auto'
11852
+ justifyContent: "center",
11853
+ children: /*#__PURE__*/jsx("img", {
11854
+ style: {
11855
+ transition: 'opacity .1s ease-out',
11856
+ opacity: open ? 1 : 0,
11857
+ height: 48,
11858
+ width: 'auto'
11665
11859
 
11666
- // height: 'auto',
11667
- // width: '100%',
11668
- },
11669
- src: "/georedus/assets/parcerias.png"
11670
- }));
11671
- return /*#__PURE__*/React$1.createElement("div", {
11860
+ // height: 'auto',
11861
+ // width: '100%',
11862
+ },
11863
+ src: "/georedus/assets/parcerias.png"
11864
+ })
11865
+ });
11866
+ return /*#__PURE__*/jsxs("div", {
11672
11867
  style: {
11673
11868
  position: 'fixed',
11674
11869
  zIndex: 2,
@@ -11678,117 +11873,125 @@ function LeftPanelInner(_ref) {
11678
11873
  }
11679
11874
  // onMouseEnter={() => setMouseIsOver(true)}
11680
11875
  // onMouseLeave={() => setMouseIsOver(false)}
11681
- }, /*#__PURE__*/React$1.createElement(Flex
11682
- //
11683
- // Use flex for responsive positioning
11684
- //
11685
- , {
11686
- style: {
11687
- position: 'absolute',
11688
- zIndex: 1000,
11689
- top: {
11690
- xs: "".concat(1.2 * HEADER_HEIGHT, "px"),
11691
- md: "".concat(HEADER_HEIGHT * (2 / 3), "px")
11692
- },
11693
- left: 'calc(100%)',
11694
- transform: 'translate(-50%, -50%)',
11695
- height: {
11696
- xs: '40px',
11697
- md: '20px'
11876
+ ,
11877
+ children: [/*#__PURE__*/jsx(Flex
11878
+ //
11879
+ // Use flex for responsive positioning
11880
+ //
11881
+ , {
11882
+ style: {
11883
+ position: 'absolute',
11884
+ zIndex: 1000,
11885
+ top: {
11886
+ xs: "".concat(1.2 * HEADER_HEIGHT, "px"),
11887
+ md: "".concat(HEADER_HEIGHT * (2 / 3), "px")
11888
+ },
11889
+ left: 'calc(100%)',
11890
+ transform: 'translate(-50%, -50%)',
11891
+ height: {
11892
+ xs: '40px',
11893
+ md: '20px'
11894
+ },
11895
+ width: {
11896
+ xs: '40px',
11897
+ md: '20px'
11898
+ }
11698
11899
  },
11699
- width: {
11700
- xs: '40px',
11701
- md: '20px'
11702
- }
11703
- }
11704
- }, /*#__PURE__*/React$1.createElement(IconButton, {
11705
- size: {
11706
- xs: '3',
11707
- md: '1'
11708
- },
11709
- type: "button",
11710
- style: {
11711
- border: '1px solid white',
11712
- height: '100%',
11713
- width: '100%',
11714
- boxShadow: 'rgba(0, 0, 0, 0.1) 0px 4px 6px -1px,' + 'rgba(0, 0, 0, 0.06) 0px 2px 4px -1px'
11715
- },
11716
- onClick: function onClick() {
11717
- return onSetOpen(!open);
11718
- }
11719
- // variant="surface"
11720
- }, /*#__PURE__*/React$1.createElement(Tooltip, {
11721
- content: open ? 'Fechar painel' : 'Abrir painel'
11722
- }, /*#__PURE__*/React$1.createElement(Icon, {
11723
- style: {
11724
- transition: 'transform .2s ease-out',
11725
- transform: "rotateZ(".concat(open ? '0' : '180', "deg)")
11726
- },
11727
- path: mdiChevronLeft,
11728
- size: "16px"
11729
- })))), /*#__PURE__*/React$1.createElement(Flex, {
11730
- direction: "column",
11731
- gap: "0",
11732
- height: "100vh",
11733
- width: open ? OPEN_WIDTH : CLOSED_WIDTH,
11734
- style: {
11735
- transition: 'width .1s ease-out',
11736
- overflow: 'hidden',
11737
- boxShadow: 'rgba(0, 0, 0, 0.1) 0px 4px 6px -1px,' + 'rgba(0, 0, 0, 0.06) 0px 2px 4px -1px'
11738
- },
11739
- onClick: function onClick(e) {
11740
- return onSetOpen(true);
11741
- }
11742
- }, header, Array.isArray(viewSpecs) ? /*#__PURE__*/React$1.createElement(ViewMenu, {
11743
- style: {
11744
- flexGrow: 1,
11745
- height: '1px'
11746
- },
11747
- categoryIcons: categoryIcons,
11748
- viewSpecs: viewSpecs,
11749
- viewConfState: viewConfState,
11750
- resolvedViews: resolvedViews,
11751
- onActivateView: function onActivateView(viewId, initialConf) {
11752
- return viewConfDispatch({
11753
- type: 'ADD_ENTRY',
11754
- payload: _objectSpread2(_objectSpread2({}, initialConf), {}, {
11755
- id: viewId
11756
- })
11757
- });
11758
- },
11759
- onSetView: function onSetView(viewConf, layoutIndex) {
11760
- viewConfDispatch({
11761
- type: 'SET_VIEW',
11762
- payload: {
11763
- viewConf: viewConf,
11764
- layoutIndex: layoutIndex
11900
+ children: /*#__PURE__*/jsx(IconButton, {
11901
+ size: {
11902
+ xs: '3',
11903
+ md: '1'
11904
+ },
11905
+ type: "button",
11906
+ style: {
11907
+ border: '1px solid white',
11908
+ height: '100%',
11909
+ width: '100%',
11910
+ boxShadow: 'rgba(0, 0, 0, 0.1) 0px 4px 6px -1px,' + 'rgba(0, 0, 0, 0.06) 0px 2px 4px -1px'
11911
+ },
11912
+ onClick: function onClick() {
11913
+ return onSetOpen(!open);
11765
11914
  }
11766
- });
11767
- },
11768
- onDeactivateView: function onDeactivateView(viewId) {
11769
- viewConfDispatch({
11770
- type: 'DEACTIVATE_VIEW',
11771
- payload: viewId
11772
- });
11773
- },
11774
- sideBarBottom: /*#__PURE__*/React$1.createElement(Flex, {
11915
+ // variant="surface"
11916
+ ,
11917
+ children: /*#__PURE__*/jsx(Tooltip, {
11918
+ content: open ? 'Fechar painel' : 'Abrir painel',
11919
+ children: /*#__PURE__*/jsx(Icon, {
11920
+ style: {
11921
+ transition: 'transform .2s ease-out',
11922
+ transform: "rotateZ(".concat(open ? '0' : '180', "deg)")
11923
+ },
11924
+ path: mdiChevronLeft,
11925
+ size: "16px"
11926
+ })
11927
+ })
11928
+ })
11929
+ }), /*#__PURE__*/jsxs(Flex, {
11930
+ direction: "column",
11931
+ gap: "0",
11932
+ height: "100vh",
11933
+ width: open ? OPEN_WIDTH : CLOSED_WIDTH,
11775
11934
  style: {
11776
- flexGrow: 1
11935
+ transition: 'width .1s ease-out',
11936
+ overflow: 'hidden',
11937
+ boxShadow: 'rgba(0, 0, 0, 0.1) 0px 4px 6px -1px,' + 'rgba(0, 0, 0, 0.06) 0px 2px 4px -1px'
11777
11938
  },
11778
- pb: "3",
11779
- direction: "column",
11780
- gap: "3",
11781
- justifyContent: "flex-end",
11782
- alignItems: "center"
11783
- })
11784
- }) : /*#__PURE__*/React$1.createElement("div", {
11785
- style: {
11786
- flexGrow: 1,
11787
- position: 'relative'
11788
- }
11789
- }, /*#__PURE__*/React$1.createElement(LoadingOverlay, {
11790
- message: null
11791
- })), footer));
11939
+ onClick: function onClick(e) {
11940
+ return onSetOpen(true);
11941
+ },
11942
+ children: [header, Array.isArray(viewSpecs) ? /*#__PURE__*/jsx(ViewMenu, {
11943
+ style: {
11944
+ flexGrow: 1,
11945
+ height: '1px'
11946
+ },
11947
+ categoryIcons: categoryIcons,
11948
+ viewSpecs: viewSpecs,
11949
+ viewConfState: viewConfState,
11950
+ resolvedViews: resolvedViews,
11951
+ onActivateView: function onActivateView(viewId, initialConf) {
11952
+ return viewConfDispatch({
11953
+ type: 'ADD_ENTRY',
11954
+ payload: _objectSpread2(_objectSpread2({}, initialConf), {}, {
11955
+ id: viewId
11956
+ })
11957
+ });
11958
+ },
11959
+ onSetView: function onSetView(viewConf, layoutIndex) {
11960
+ viewConfDispatch({
11961
+ type: 'SET_VIEW',
11962
+ payload: {
11963
+ viewConf: viewConf,
11964
+ layoutIndex: layoutIndex
11965
+ }
11966
+ });
11967
+ },
11968
+ onDeactivateView: function onDeactivateView(viewId) {
11969
+ viewConfDispatch({
11970
+ type: 'DEACTIVATE_VIEW',
11971
+ payload: viewId
11972
+ });
11973
+ },
11974
+ sideBarBottom: /*#__PURE__*/jsx(Flex, {
11975
+ style: {
11976
+ flexGrow: 1
11977
+ },
11978
+ pb: "3",
11979
+ direction: "column",
11980
+ gap: "3",
11981
+ justifyContent: "flex-end",
11982
+ alignItems: "center"
11983
+ })
11984
+ }) : /*#__PURE__*/jsx("div", {
11985
+ style: {
11986
+ flexGrow: 1,
11987
+ position: 'relative'
11988
+ },
11989
+ children: /*#__PURE__*/jsx(LoadingOverlay, {
11990
+ message: null
11991
+ })
11992
+ }), footer]
11993
+ })]
11994
+ });
11792
11995
  }
11793
11996
  var LeftPanel = /*#__PURE__*/memo(LeftPanelInner);
11794
11997
 
@@ -11802,7 +12005,11 @@ var ViewLayoutSortable = makeSortableMultiList({
11802
12005
  //
11803
12006
  Portal: function Portal$1(_ref) {
11804
12007
  var children = _ref.children;
11805
- return /*#__PURE__*/React$1.createElement(Portal, null, /*#__PURE__*/React$1.createElement(Theme, null, children));
12008
+ return /*#__PURE__*/jsx(Portal, {
12009
+ children: /*#__PURE__*/jsx(Theme, {
12010
+ children: children
12011
+ })
12012
+ });
11806
12013
  },
11807
12014
  Item: function Item(_ref2) {
11808
12015
  var dragHandleProps = _ref2.dragHandleProps,
@@ -11821,7 +12028,7 @@ var ViewLayoutSortable = makeSortableMultiList({
11821
12028
  // ? 'rgba(0, 0, 0, 0.35) 0px 5px 15px;'
11822
12029
  // : 'none'
11823
12030
 
11824
- return viewSpec && /*#__PURE__*/React$1.createElement(Flex, {
12031
+ return viewSpec && /*#__PURE__*/jsxs(Flex, {
11825
12032
  direction: "row",
11826
12033
  alignItems: "center",
11827
12034
  gap: "0",
@@ -11830,76 +12037,79 @@ var ViewLayoutSortable = makeSortableMultiList({
11830
12037
  opacity: isDragging && !isDragOverlay ? 0.5 : 1,
11831
12038
  transform: isDragOverlay ? 'scale(1.05)' : '',
11832
12039
  zIndex: isDragOverlay ? 999 : 0
11833
- }
11834
- }, /*#__PURE__*/React$1.createElement("div", _extends({}, dragHandleProps, {
11835
- style: {
11836
- cursor: isDragging ? 'grabbing' : 'grab',
11837
- background: 'white',
11838
- display: 'flex',
11839
- flexDirection: 'column',
11840
- justifyContent: 'center',
11841
- borderTopLeftRadius: DRAG_HANDLE_BORDER_RADIUS,
11842
- borderBottomLeftRadius: DRAG_HANDLE_BORDER_RADIUS,
11843
- height: CONTROL_HEIGHT
11844
- }
11845
- }), /*#__PURE__*/React$1.createElement(Icon, {
11846
- path: mdiDragVertical,
11847
- size: "24px"
11848
- })), /*#__PURE__*/React$1.createElement(Flex, {
11849
- direction: "column",
11850
- style: {
11851
- flexGrow: 1
11852
- }
11853
- }, /*#__PURE__*/React$1.createElement(ViewControl, {
11854
- style: {
11855
- height: CONTROL_HEIGHT
11856
12040
  },
11857
- path: true,
11858
- viewSpec: omit(viewSpec, ['shortDescription']),
11859
- viewConf: viewConfState.byId[item.id],
11860
- viewConfState: viewConfState,
11861
- configurable: false,
11862
- onActivateView: function onActivateView(initialConf) {
11863
- return viewConfDispatch({
11864
- type: 'ADD_ENTRY',
11865
- payload: _objectSpread2(_objectSpread2({}, initialConf), {}, {
11866
- id: item.id
11867
- })
11868
- });
11869
- },
11870
- onSetView: function onSetView(viewConf, layoutIndex) {
11871
- viewConfDispatch({
11872
- type: 'SET_VIEW',
11873
- payload: {
11874
- viewConf: viewConf,
11875
- layoutIndex: layoutIndex
12041
+ children: [/*#__PURE__*/jsx("div", _objectSpread2(_objectSpread2({}, dragHandleProps), {}, {
12042
+ style: {
12043
+ cursor: isDragging ? 'grabbing' : 'grab',
12044
+ background: 'white',
12045
+ display: 'flex',
12046
+ flexDirection: 'column',
12047
+ justifyContent: 'center',
12048
+ borderTopLeftRadius: DRAG_HANDLE_BORDER_RADIUS,
12049
+ borderBottomLeftRadius: DRAG_HANDLE_BORDER_RADIUS,
12050
+ height: CONTROL_HEIGHT
12051
+ },
12052
+ children: /*#__PURE__*/jsx(Icon, {
12053
+ path: mdiDragVertical,
12054
+ size: "24px"
12055
+ })
12056
+ })), /*#__PURE__*/jsx(Flex, {
12057
+ direction: "column",
12058
+ style: {
12059
+ flexGrow: 1
12060
+ },
12061
+ children: /*#__PURE__*/jsx(ViewControl, {
12062
+ style: {
12063
+ height: CONTROL_HEIGHT
12064
+ },
12065
+ path: true,
12066
+ viewSpec: omit(viewSpec, ['shortDescription']),
12067
+ viewConf: viewConfState.byId[item.id],
12068
+ viewConfState: viewConfState,
12069
+ configurable: false,
12070
+ onActivateView: function onActivateView(initialConf) {
12071
+ return viewConfDispatch({
12072
+ type: 'ADD_ENTRY',
12073
+ payload: _objectSpread2(_objectSpread2({}, initialConf), {}, {
12074
+ id: item.id
12075
+ })
12076
+ });
12077
+ },
12078
+ onSetView: function onSetView(viewConf, layoutIndex) {
12079
+ viewConfDispatch({
12080
+ type: 'SET_VIEW',
12081
+ payload: {
12082
+ viewConf: viewConf,
12083
+ layoutIndex: layoutIndex
12084
+ }
12085
+ });
12086
+ },
12087
+ onDeactivateView: function onDeactivateView() {
12088
+ viewConfDispatch({
12089
+ type: 'DEACTIVATE_VIEW',
12090
+ payload: item.id
12091
+ });
11876
12092
  }
11877
- });
11878
- },
11879
- onDeactivateView: function onDeactivateView() {
11880
- viewConfDispatch({
11881
- type: 'DEACTIVATE_VIEW',
11882
- payload: item.id
11883
- });
11884
- }
11885
12093
 
11886
- // onDeactivateView={() => onDeactivateView(item.id)}
11887
- // onSetView={(initialConf, layoutIndex) =>
11888
- // onSetView(
11889
- // {
11890
- // ...initialConf,
11891
- // id: node.id,
11892
- // },
11893
- // layoutIndex,
11894
- // )
11895
- // }
11896
- })));
12094
+ // onDeactivateView={() => onDeactivateView(item.id)}
12095
+ // onSetView={(initialConf, layoutIndex) =>
12096
+ // onSetView(
12097
+ // {
12098
+ // ...initialConf,
12099
+ // id: node.id,
12100
+ // },
12101
+ // layoutIndex,
12102
+ // )
12103
+ // }
12104
+ })
12105
+ })]
12106
+ });
11897
12107
  },
11898
12108
  List: function List(_ref3) {
11899
12109
  var children = _ref3.children;
11900
12110
  _ref3.dragHandleProps;
11901
12111
  var item = _ref3.item;
11902
- return /*#__PURE__*/React$1.createElement(Flex, {
12112
+ return /*#__PURE__*/jsx(Flex, {
11903
12113
  direction: "column",
11904
12114
  width: "280px"
11905
12115
  // pb="30px"
@@ -11907,23 +12117,27 @@ var ViewLayoutSortable = makeSortableMultiList({
11907
12117
  style: {
11908
12118
  border: 'dashed 1px var(--accent-6)',
11909
12119
  borderRadius: "".concat(DRAG_HANDLE_BORDER_RADIUS, "px")
11910
- }
11911
- }, /*#__PURE__*/React$1.createElement("div", {
11912
- style: {
11913
- margin: '-1px -1px -1px -1px'
11914
- }
11915
- }, children, item.items.length === 0 && /*#__PURE__*/React$1.createElement(Flex, {
11916
- p: "4",
11917
- style: {
11918
- // border: 'dashed 1px var(--accent-6)',
11919
- textAlign: 'center',
11920
- height: "".concat(CONTROL_HEIGHT, "px")
11921
12120
  },
11922
- justifyContent: "center",
11923
- alignItems: "center"
11924
- }, /*#__PURE__*/React$1.createElement(Text, {
11925
- size: "2"
11926
- }, "Arraste uma camada para visualizar em mapa comparado"))));
12121
+ children: /*#__PURE__*/jsxs("div", {
12122
+ style: {
12123
+ margin: '-1px -1px -1px -1px'
12124
+ },
12125
+ children: [children, item.items.length === 0 && /*#__PURE__*/jsx(Flex, {
12126
+ p: "4",
12127
+ style: {
12128
+ // border: 'dashed 1px var(--accent-6)',
12129
+ textAlign: 'center',
12130
+ height: "".concat(CONTROL_HEIGHT, "px")
12131
+ },
12132
+ justifyContent: "center",
12133
+ alignItems: "center",
12134
+ children: /*#__PURE__*/jsx(Text, {
12135
+ size: "2",
12136
+ children: "Arraste uma camada para visualizar em mapa comparado"
12137
+ })
12138
+ })]
12139
+ })
12140
+ });
11927
12141
  }
11928
12142
  }
11929
12143
  });
@@ -11931,21 +12145,22 @@ function ViewLayoutControl(_ref4) {
11931
12145
  var viewSpecs = _ref4.viewSpecs,
11932
12146
  viewConfState = _ref4.viewConfState,
11933
12147
  viewConfDispatch = _ref4.viewConfDispatch;
11934
- return /*#__PURE__*/React$1.createElement(ViewLayoutControlContext.Provider, {
12148
+ return /*#__PURE__*/jsx(ViewLayoutControlContext.Provider, {
11935
12149
  value: {
11936
12150
  viewSpecs: viewSpecs,
11937
12151
  viewConfState: viewConfState,
11938
12152
  viewConfDispatch: viewConfDispatch
11939
- }
11940
- }, /*#__PURE__*/React$1.createElement(ViewLayoutSortable, {
11941
- lists: viewConfState.layout,
11942
- onSetLists: function onSetLists(nextLayout) {
11943
- return viewConfDispatch({
11944
- type: 'SET_LAYOUT',
11945
- payload: nextLayout
11946
- });
11947
- }
11948
- }));
12153
+ },
12154
+ children: /*#__PURE__*/jsx(ViewLayoutSortable, {
12155
+ lists: viewConfState.layout,
12156
+ onSetLists: function onSetLists(nextLayout) {
12157
+ return viewConfDispatch({
12158
+ type: 'SET_LAYOUT',
12159
+ payload: nextLayout
12160
+ });
12161
+ }
12162
+ })
12163
+ });
11949
12164
  }
11950
12165
 
11951
12166
  var _excluded$1 = ["viewSpecs", "viewConfState", "viewConfDispatch"];
@@ -11957,37 +12172,49 @@ function ViewLayoutPopover(_ref) {
11957
12172
  var activeViewCount = useMemo(function () {
11958
12173
  return Object.keys(viewConfState.byId).length;
11959
12174
  }, [viewConfState.byId]);
11960
- return /*#__PURE__*/React$1.createElement(Popover.Root, null, /*#__PURE__*/React$1.createElement(Popover.Trigger, null, /*#__PURE__*/React$1.createElement(Button, _extends({
11961
- variant: activeViewCount > 0 ? 'solid' : 'soft',
11962
- size: "1"
11963
- }, props), /*#__PURE__*/React$1.createElement(Icon, {
11964
- path: mdiLayers,
11965
- size: "16px"
11966
- }), " Camadas ativas", ' ', activeViewCount ? "(".concat(activeViewCount, ")") : null)), /*#__PURE__*/React$1.createElement(Popover.Content, {
11967
- size: "1",
11968
- align: "center",
11969
- style: {
11970
- background: 'var(--accent-3)',
11971
- overflow: 'hidden',
11972
- position: 'relative'
11973
- },
11974
- maxWidth: "none"
11975
- }, /*#__PURE__*/React$1.createElement(Flex, {
11976
- direction: "row",
11977
- gap: "3"
11978
- }, activeViewCount > 0 ? /*#__PURE__*/React$1.createElement(ViewLayoutControl, {
11979
- viewSpecs: viewSpecs,
11980
- viewConfState: viewConfState,
11981
- viewConfDispatch: viewConfDispatch
11982
- }) : /*#__PURE__*/React$1.createElement(Text, {
11983
- size: "1"
11984
- }, "Nenhuma camada ativa"), /*#__PURE__*/React$1.createElement(Popover.Close, null, /*#__PURE__*/React$1.createElement(IconButton, {
11985
- size: "1",
11986
- variant: "ghost"
11987
- }, /*#__PURE__*/React$1.createElement(Icon, {
11988
- path: mdiClose,
11989
- size: "16px"
11990
- }))))));
12175
+ return /*#__PURE__*/jsxs(Popover.Root, {
12176
+ children: [/*#__PURE__*/jsx(Popover.Trigger, {
12177
+ children: /*#__PURE__*/jsxs(Button, _objectSpread2(_objectSpread2({
12178
+ variant: activeViewCount > 0 ? 'solid' : 'soft',
12179
+ size: "1"
12180
+ }, props), {}, {
12181
+ children: [/*#__PURE__*/jsx(Icon, {
12182
+ path: mdiLayers,
12183
+ size: "16px"
12184
+ }), " Camadas ativas", ' ', activeViewCount ? "(".concat(activeViewCount, ")") : null]
12185
+ }))
12186
+ }), /*#__PURE__*/jsx(Popover.Content, {
12187
+ size: "1",
12188
+ align: "center",
12189
+ style: {
12190
+ background: 'var(--accent-3)',
12191
+ overflow: 'hidden',
12192
+ position: 'relative'
12193
+ },
12194
+ maxWidth: "none",
12195
+ children: /*#__PURE__*/jsxs(Flex, {
12196
+ direction: "row",
12197
+ gap: "3",
12198
+ children: [activeViewCount > 0 ? /*#__PURE__*/jsx(ViewLayoutControl, {
12199
+ viewSpecs: viewSpecs,
12200
+ viewConfState: viewConfState,
12201
+ viewConfDispatch: viewConfDispatch
12202
+ }) : /*#__PURE__*/jsx(Text, {
12203
+ size: "1",
12204
+ children: "Nenhuma camada ativa"
12205
+ }), /*#__PURE__*/jsx(Popover.Close, {
12206
+ children: /*#__PURE__*/jsx(IconButton, {
12207
+ size: "1",
12208
+ variant: "ghost",
12209
+ children: /*#__PURE__*/jsx(Icon, {
12210
+ path: mdiClose,
12211
+ size: "16px"
12212
+ })
12213
+ })
12214
+ })]
12215
+ })
12216
+ })]
12217
+ });
11991
12218
  }
11992
12219
 
11993
12220
  function viewConfReducer(state, action) {
@@ -12203,7 +12430,6 @@ function getSurroundingTilesBbox(lng, lat, zoom) {
12203
12430
  return [minLng, minLat, maxLng, maxLat];
12204
12431
  }
12205
12432
 
12206
- // TODO generalize for allow input types and output types
12207
12433
  function parseGeoFileMetadata(_x) {
12208
12434
  return _parseGeoFileMetadata.apply(this, arguments);
12209
12435
  }
@@ -12235,7 +12461,7 @@ function _parseGeoFileMetadata() {
12235
12461
  }
12236
12462
  function GeoFile(props) {
12237
12463
  var dialogs = useDialogs();
12238
- return /*#__PURE__*/React$1.createElement(SingleFileInput, _extends({}, props, {
12464
+ return /*#__PURE__*/jsx(SingleFileInput, _objectSpread2(_objectSpread2({}, props), {}, {
12239
12465
  middleware: [(/*#__PURE__*/function () {
12240
12466
  var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
12241
12467
  var Gdal, _yield$Gdal$open, datasets, errors, result, fileBytes, blob, outFile;
@@ -12312,13 +12538,13 @@ function GeoFile(props) {
12312
12538
  }
12313
12539
 
12314
12540
  function NumberInput(props) {
12315
- return /*#__PURE__*/React$1.createElement(TextInput, _extends({}, props, {
12541
+ return /*#__PURE__*/jsx(TextInput, _objectSpread2(_objectSpread2({}, props), {}, {
12316
12542
  type: "text",
12317
12543
  mask: Number
12318
12544
  }));
12319
12545
  }
12320
12546
  function InputProvider(props) {
12321
- return /*#__PURE__*/React$1.createElement(InputProvider$1, _extends({
12547
+ return /*#__PURE__*/jsx(InputProvider$1, _objectSpread2({
12322
12548
  renderers: _objectSpread2(_objectSpread2({}, INPUTS), rendererSpecList({
12323
12549
  date: TextInput,
12324
12550
  number: NumberInput,
@@ -14035,10 +14261,6 @@ var satellite = {
14035
14261
 
14036
14262
  var _excluded = ["layerId", "__filterFeaturesForStep"];
14037
14263
  var _templateObject, _templateObject2, _templateObject3, _templateObject4;
14038
-
14039
- //
14040
- // Sets up vtx:// protocol
14041
- //
14042
14264
  vtxSetup();
14043
14265
  var LegendContainer = styled(Flex)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n box-shadow:\n rgba(0, 0, 0, 0.1) 0px 4px 6px -1px,\n rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;\n background-color: white;\n border-radius: 4px;\n"])));
14044
14266
 
@@ -14213,7 +14435,7 @@ function HoverLegend(_ref) {
14213
14435
  onMouseLeaveStep: onMouseLeaveStep
14214
14436
  };
14215
14437
  }, []);
14216
- return /*#__PURE__*/React$1.createElement(Legend, _extends({}, legendProps, legendProps.type === 'SequentialColorLegend' ? SEQUENTIAL_COLOR_LEGEND_PROPS : {}));
14438
+ return /*#__PURE__*/jsx(Legend, _objectSpread2(_objectSpread2({}, legendProps), legendProps.type === 'SequentialColorLegend' ? SEQUENTIAL_COLOR_LEGEND_PROPS : {}));
14217
14439
  }
14218
14440
  var DEFAULT_MAP_PROPS = {};
14219
14441
  var DEFAULT_SVG_IMAGES = {};
@@ -14567,7 +14789,7 @@ function GeoReDUSInner(_ref2) {
14567
14789
  feature: feature
14568
14790
  }) : null;
14569
14791
  }).filter(Boolean);
14570
- return tooltipDataSections.length > 0 && /*#__PURE__*/React$1.createElement(HoverTooltip, {
14792
+ return tooltipDataSections.length > 0 && /*#__PURE__*/jsx(HoverTooltip, {
14571
14793
  position: hoverInfo.point,
14572
14794
  dataSections: tooltipDataSections,
14573
14795
  style: {
@@ -14596,239 +14818,263 @@ function GeoReDUSInner(_ref2) {
14596
14818
  _useState8 = _slicedToArray(_useState7, 2),
14597
14819
  commitedViewState = _useState8[0],
14598
14820
  setCommitedViewState = _useState8[1];
14599
- return /*#__PURE__*/React$1.createElement(Flex, null, /*#__PURE__*/React$1.createElement(LeftPanel, _extends({
14600
- open: leftPanelOpen,
14601
- onSetOpen: setLeftPanelOpen,
14602
- viewSpecs: resolvedViewSpecs,
14603
- viewConfState: viewConfState,
14604
- viewConfDispatch: viewConfDispatch,
14605
- resolvedViews: resolvedViews,
14606
- resolvedLayout: resolvedLayout
14607
-
14608
- // props required for export image
14609
- ,
14610
- commitedViewState: commitedViewState,
14611
- municipioId: municipioId,
14612
- METADATA_API_ENDPOINT: METADATA_API_ENDPOINT,
14613
- baseMapStyle: BASE_MAP_STYLE[baseMapStyle],
14614
- topViews: TOP_VIEWS
14615
- }, leftPanelProps)), /*#__PURE__*/React$1.createElement(Flex, {
14616
- style: {
14617
- position: 'fixed',
14618
- zIndex: 2,
14619
- right: '50px',
14620
- top: '10px'
14621
- },
14622
- direction: "row",
14623
- gap: "4",
14624
- alignItems: "center"
14625
- }, /*#__PURE__*/React$1.createElement(ViewLayoutPopover, {
14626
- viewSpecs: viewSpecsQuery.data,
14627
- viewConfState: viewConfState,
14628
- viewConfDispatch: viewConfDispatch
14629
- }), /*#__PURE__*/React$1.createElement(Flex, {
14630
- alignItems: "strecth",
14631
- width: "400px",
14632
- direction: "column",
14633
- maxWidth: "30vw",
14634
- gap: "3"
14635
- }, /*#__PURE__*/React$1.createElement(HotfixSelectLargeFont, null, /*#__PURE__*/React$1.createElement(Input, {
14636
- schema: MUNICIPIO_ID_SELECTOR_SCHEMA,
14637
- value: municipioId,
14638
- onSetValue: setMunicipioId
14639
- })), /*#__PURE__*/React$1.createElement("div", {
14640
- style: {
14641
- alignSelf: 'flex-end',
14642
- position: 'absolute',
14643
- top: '100%'
14644
- }
14645
- }, /*#__PURE__*/React$1.createElement(Input, {
14646
- schema: {
14647
- type: 'booleanCheckbox',
14648
- description: 'Visualizar dados regionais'
14649
- },
14650
- size: "1",
14651
- value: regional,
14652
- onSetValue: setRegional
14653
- })))), /*#__PURE__*/React$1.createElement(SyncedMaps, _extends({
14654
- maxPitch: 80,
14655
- onZoomEnd: function onZoomEnd(e) {
14656
- var _e$viewState;
14657
- var zoom = (_e$viewState = e.viewState) === null || _e$viewState === void 0 ? void 0 : _e$viewState.zoom;
14658
- var nextZoomLevel = zoom > 8 ? 'intramun' : zoom > 5 ? 'intrauf' : zoom > 3 ? 'intrabr' : null;
14659
- setZoomLevel(nextZoomLevel);
14660
- }
14661
- //
14662
- // TODO: review mapBounds calculation
14663
- //
14664
- ,
14665
- onMoveEnd: function onMoveEnd(e) {
14666
- setCommitedViewState(e.viewState);
14667
- var _e$viewState2 = e.viewState,
14668
- latitude = _e$viewState2.latitude,
14669
- longitude = _e$viewState2.longitude;
14670
- var bounds = e.target.getBounds();
14671
- var minLng = bounds.getWest();
14672
- var maxLng = bounds.getEast();
14673
- var minLat = bounds.getSouth();
14674
- var maxLat = bounds.getNorth();
14675
- var viewBounds = [minLng, minLat, maxLng, maxLat];
14676
- if (!mapBounds || !_bboxContains(mapBounds, viewBounds)) {
14677
- setMapBounds(getSurroundingTilesBbox(longitude, latitude, 7));
14678
- }
14679
- },
14680
- onDrag: function onDrag() {
14681
- if (resolvedLayout.length > 1 && leftPanelOpen) {
14682
- //
14683
- // In case there are two open maps, on drag close
14684
- // left panel
14685
- //
14686
- setLeftPanelOpen(false);
14687
- }
14688
- },
14689
- ref: syncedMapsRef,
14690
- onLoad: function onLoad(evt) {
14691
- _refocus(evt.target);
14692
-
14693
- // For debugging:
14694
- // evt.target.showTileBoundaries = true
14821
+ return /*#__PURE__*/jsxs(Flex, {
14822
+ children: [/*#__PURE__*/jsx(LeftPanel, _objectSpread2({
14823
+ open: leftPanelOpen,
14824
+ onSetOpen: setLeftPanelOpen,
14825
+ viewSpecs: resolvedViewSpecs,
14826
+ viewConfState: viewConfState,
14827
+ viewConfDispatch: viewConfDispatch,
14828
+ resolvedViews: resolvedViews,
14829
+ resolvedLayout: resolvedLayout
14695
14830
 
14696
- mapRegistry.onLoad(evt);
14697
- },
14698
- onRemove: function onRemove(evt) {
14699
- mapRegistry.onRemove(evt);
14700
- },
14701
- onClick: onClick,
14702
- attributionControl: false,
14703
- initialViewState: DEFAULT_INITIAL_VIEW_STATE,
14704
- style: {
14705
- position: 'fixed',
14706
- top: 0,
14707
- bottom: 0,
14708
- left: '60px',
14709
- right: 0
14710
- },
14711
- setPrefetchZoomDelta: 0,
14712
- mapStyle: BASE_MAP_STYLE[baseMapStyle],
14713
- sky: SKY_STYLE,
14714
- tooltip: getTooltip
14715
- }, mapProps, {
14716
- maps: resolvedLayout.map(function (_ref6, index) {
14717
- var id = _ref6.id,
14718
- views = _ref6.views,
14719
- legends = _ref6.legends;
14720
- return {
14721
- id: id,
14722
- views: [].concat(_toConsumableArray(views.concat([]).reverse()), _toConsumableArray(TOP_VIEWS)),
14723
- //
14724
- // Required for exporting map:
14725
- //
14726
- // canvasContextAttributes: {
14727
- // preserveDrawingBuffer: true,
14728
- // },
14729
- children: /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(DynamicImages, {
14730
- onGenerateImage: MAP_SVG_IMAGE_GENERATOR
14731
- }), /*#__PURE__*/React$1.createElement(AttributionControl, {
14732
- position: "bottom-right",
14733
- compact: false
14734
- }), /*#__PURE__*/React$1.createElement(ControlContainer, {
14735
- style: {
14736
- width: 'auto',
14737
- height: 'auto',
14738
- boxShadow: 'none',
14739
- opacity: legends.length > 0 ? 1 : 0
14740
- },
14741
- position: "bottom-right"
14742
- }, legends.length > 0 && /*#__PURE__*/React$1.createElement(LegendContainer, {
14743
- direction: "row",
14744
- gap: "3",
14745
- p: resolvedLayout.length > 1 ? '3' : '4'
14746
- }, resolvedLayout.length > 1 && /*#__PURE__*/React$1.createElement(Tooltip, {
14747
- content: "Fechar visualiza\xE7\xE3o"
14748
- }, /*#__PURE__*/React$1.createElement(IconButton, {
14749
- size: "1",
14750
- variant: "soft",
14751
- onClick: function onClick() {
14752
- return viewConfDispatch({
14753
- type: 'DEACTIVATE_VIEW',
14754
- payload: views[0].id
14755
- });
14756
- }
14757
- }, /*#__PURE__*/React$1.createElement(Icon, {
14758
- path: mdiClose,
14759
- size: "20px"
14760
- }))), /*#__PURE__*/React$1.createElement(EvenSpacedList, {
14761
- columns: legends.length > 1 ? 2 : 1,
14762
- gap: "10px",
14763
- style: {
14764
- maxWidth: '300px'
14765
- }
14766
- }, legends.map(function (legend) {
14767
- return /*#__PURE__*/React$1.createElement(HoverLegend, _extends({}, resolvedLayout.length > 1 ? {
14768
- direction: 'row',
14769
- size: '1'
14770
- } : {
14771
- direction: 'column',
14772
- size: '2'
14773
- }, {
14774
- key: legend.id
14775
- }, legend));
14776
- })))), index === resolvedLayout.length - 1 ? /*#__PURE__*/React$1.createElement(React$1.Fragment, null, process.env.NODE_ENV !== 'production' && /*#__PURE__*/React$1.createElement(InspectControl, null), /*#__PURE__*/React$1.createElement(GeolocateControl, {
14777
- position: "top-right"
14778
- }), /*#__PURE__*/React$1.createElement(FullscreenControl, {
14779
- position: "top-right"
14780
- }), /*#__PURE__*/React$1.createElement(NavigationControl, {
14781
- position: "top-right"
14782
- }), /*#__PURE__*/React$1.createElement(ScaleControl, {
14783
- position: "bottom-right"
14784
- }), /*#__PURE__*/React$1.createElement(ControlContainer, {
14785
- style: {
14786
- width: 100,
14787
- height: 100,
14788
- boxShadow: 'none'
14789
- }
14790
- }, /*#__PURE__*/React$1.createElement(MapStyleToggleCtrl, {
14791
- style: {
14792
- position: 'relative',
14793
- width: 100,
14794
- height: 100
14795
- },
14796
- type: "button",
14797
- onClick: function onClick() {
14798
- return setBaseMapStyle(baseMapStyle === 'dataviz' ? 'satellite' : 'dataviz');
14799
- }
14800
- }, /*#__PURE__*/React$1.createElement(MapWindow, {
14831
+ // props required for export image
14832
+ ,
14833
+ commitedViewState: commitedViewState,
14834
+ municipioId: municipioId,
14835
+ METADATA_API_ENDPOINT: METADATA_API_ENDPOINT,
14836
+ baseMapStyle: BASE_MAP_STYLE[baseMapStyle],
14837
+ topViews: TOP_VIEWS
14838
+ }, leftPanelProps)), /*#__PURE__*/jsxs(Flex, {
14839
+ style: {
14840
+ position: 'fixed',
14841
+ zIndex: 2,
14842
+ right: '50px',
14843
+ top: '10px'
14844
+ },
14845
+ direction: "row",
14846
+ gap: "4",
14847
+ alignItems: "center",
14848
+ children: [/*#__PURE__*/jsx(ViewLayoutPopover, {
14849
+ viewSpecs: viewSpecsQuery.data,
14850
+ viewConfState: viewConfState,
14851
+ viewConfDispatch: viewConfDispatch
14852
+ }), /*#__PURE__*/jsxs(Flex, {
14853
+ alignItems: "strecth",
14854
+ width: "400px",
14855
+ direction: "column",
14856
+ maxWidth: "30vw",
14857
+ gap: "3",
14858
+ children: [/*#__PURE__*/jsx(HotfixSelectLargeFont, {
14859
+ children: /*#__PURE__*/jsx(Input, {
14860
+ schema: MUNICIPIO_ID_SELECTOR_SCHEMA,
14861
+ value: municipioId,
14862
+ onSetValue: setMunicipioId
14863
+ })
14864
+ }), /*#__PURE__*/jsx("div", {
14801
14865
  style: {
14802
- pointerEvents: 'none',
14866
+ alignSelf: 'flex-end',
14803
14867
  position: 'absolute',
14804
- top: 0,
14805
- left: 0,
14806
- height: '100%',
14807
- width: '100%'
14868
+ top: '100%'
14808
14869
  },
14809
- mapStyle: baseMapStyle === 'satellite' ? FULL_MAP_STYLE.dataviz : FULL_MAP_STYLE.satellite,
14810
- maxZoom: 13
14811
- })))) : null, /*#__PURE__*/React$1.createElement(TerrainControl, {
14812
- demSourceUrl: DEM_SOURCE_URL,
14813
- demSourceEncoding: DEM_SOURCE_ENCODING
14814
- }), mapProps.children || null)
14815
- };
14816
- })
14817
- }), (viewsLoading || tilesLoading) && /*#__PURE__*/React$1.createElement(LoadingIndicator, {
14818
- style: {
14819
- position: 'fixed',
14820
- bottom: '40px',
14821
- right: '20px',
14822
- zIndex: 20
14823
- },
14824
- message: null
14825
- })), children);
14870
+ children: /*#__PURE__*/jsx(Input, {
14871
+ schema: {
14872
+ type: 'booleanCheckbox',
14873
+ description: 'Visualizar dados regionais'
14874
+ },
14875
+ size: "1",
14876
+ value: regional,
14877
+ onSetValue: setRegional
14878
+ })
14879
+ })]
14880
+ })]
14881
+ }), /*#__PURE__*/jsx(SyncedMaps, _objectSpread2(_objectSpread2({
14882
+ maxPitch: 80,
14883
+ onZoomEnd: function onZoomEnd(e) {
14884
+ var _e$viewState;
14885
+ var zoom = (_e$viewState = e.viewState) === null || _e$viewState === void 0 ? void 0 : _e$viewState.zoom;
14886
+ var nextZoomLevel = zoom > 8 ? 'intramun' : zoom > 5 ? 'intrauf' : zoom > 3 ? 'intrabr' : null;
14887
+ setZoomLevel(nextZoomLevel);
14888
+ }
14889
+ //
14890
+ // TODO: review mapBounds calculation
14891
+ //
14892
+ ,
14893
+ onMoveEnd: function onMoveEnd(e) {
14894
+ setCommitedViewState(e.viewState);
14895
+ var _e$viewState2 = e.viewState,
14896
+ latitude = _e$viewState2.latitude,
14897
+ longitude = _e$viewState2.longitude;
14898
+ var bounds = e.target.getBounds();
14899
+ var minLng = bounds.getWest();
14900
+ var maxLng = bounds.getEast();
14901
+ var minLat = bounds.getSouth();
14902
+ var maxLat = bounds.getNorth();
14903
+ var viewBounds = [minLng, minLat, maxLng, maxLat];
14904
+ if (!mapBounds || !_bboxContains(mapBounds, viewBounds)) {
14905
+ setMapBounds(getSurroundingTilesBbox(longitude, latitude, 7));
14906
+ }
14907
+ },
14908
+ onDrag: function onDrag() {
14909
+ if (resolvedLayout.length > 1 && leftPanelOpen) {
14910
+ //
14911
+ // In case there are two open maps, on drag close
14912
+ // left panel
14913
+ //
14914
+ setLeftPanelOpen(false);
14915
+ }
14916
+ },
14917
+ ref: syncedMapsRef,
14918
+ onLoad: function onLoad(evt) {
14919
+ _refocus(evt.target);
14920
+
14921
+ // For debugging:
14922
+ // evt.target.showTileBoundaries = true
14923
+
14924
+ mapRegistry.onLoad(evt);
14925
+ },
14926
+ onRemove: function onRemove(evt) {
14927
+ mapRegistry.onRemove(evt);
14928
+ },
14929
+ onClick: onClick,
14930
+ attributionControl: false,
14931
+ initialViewState: DEFAULT_INITIAL_VIEW_STATE,
14932
+ style: {
14933
+ position: 'fixed',
14934
+ top: 0,
14935
+ bottom: 0,
14936
+ left: '60px',
14937
+ right: 0
14938
+ },
14939
+ setPrefetchZoomDelta: 0,
14940
+ mapStyle: BASE_MAP_STYLE[baseMapStyle],
14941
+ sky: SKY_STYLE,
14942
+ tooltip: getTooltip
14943
+ }, mapProps), {}, {
14944
+ maps: resolvedLayout.map(function (_ref6, index) {
14945
+ var id = _ref6.id,
14946
+ views = _ref6.views,
14947
+ legends = _ref6.legends;
14948
+ return {
14949
+ id: id,
14950
+ views: [].concat(_toConsumableArray(views.concat([]).reverse()), _toConsumableArray(TOP_VIEWS)),
14951
+ //
14952
+ // Required for exporting map:
14953
+ //
14954
+ // canvasContextAttributes: {
14955
+ // preserveDrawingBuffer: true,
14956
+ // },
14957
+ children: /*#__PURE__*/jsxs(Fragment, {
14958
+ children: [/*#__PURE__*/jsx(DynamicImages, {
14959
+ onGenerateImage: MAP_SVG_IMAGE_GENERATOR
14960
+ }), /*#__PURE__*/jsx(AttributionControl, {
14961
+ position: "bottom-right",
14962
+ compact: false
14963
+ }), /*#__PURE__*/jsx(ControlContainer, {
14964
+ style: {
14965
+ width: 'auto',
14966
+ height: 'auto',
14967
+ boxShadow: 'none',
14968
+ opacity: legends.length > 0 ? 1 : 0
14969
+ },
14970
+ position: "bottom-right",
14971
+ children: legends.length > 0 && /*#__PURE__*/jsxs(LegendContainer, {
14972
+ direction: "row",
14973
+ gap: "3",
14974
+ p: resolvedLayout.length > 1 ? '3' : '4',
14975
+ children: [resolvedLayout.length > 1 && /*#__PURE__*/jsx(Tooltip, {
14976
+ content: "Fechar visualiza\xE7\xE3o",
14977
+ children: /*#__PURE__*/jsx(IconButton, {
14978
+ size: "1",
14979
+ variant: "soft",
14980
+ onClick: function onClick() {
14981
+ return viewConfDispatch({
14982
+ type: 'DEACTIVATE_VIEW',
14983
+ payload: views[0].id
14984
+ });
14985
+ },
14986
+ children: /*#__PURE__*/jsx(Icon, {
14987
+ path: mdiClose,
14988
+ size: "20px"
14989
+ })
14990
+ })
14991
+ }), /*#__PURE__*/jsx(EvenSpacedList, {
14992
+ columns: legends.length > 1 ? 2 : 1,
14993
+ gap: "10px",
14994
+ style: {
14995
+ maxWidth: '300px'
14996
+ },
14997
+ children: legends.map(function (legend) {
14998
+ return /*#__PURE__*/createElement(HoverLegend, _objectSpread2(_objectSpread2({}, resolvedLayout.length > 1 ? {
14999
+ direction: 'row',
15000
+ size: '1'
15001
+ } : {
15002
+ direction: 'column',
15003
+ size: '2'
15004
+ }), {}, {
15005
+ key: legend.id
15006
+ }, legend));
15007
+ })
15008
+ })]
15009
+ })
15010
+ }), index === resolvedLayout.length - 1 ? /*#__PURE__*/jsxs(Fragment, {
15011
+ children: [process.env.NODE_ENV !== 'production' && /*#__PURE__*/jsx(InspectControl, {}), /*#__PURE__*/jsx(GeolocateControl, {
15012
+ position: "top-right"
15013
+ }), /*#__PURE__*/jsx(FullscreenControl, {
15014
+ position: "top-right"
15015
+ }), /*#__PURE__*/jsx(NavigationControl, {
15016
+ position: "top-right"
15017
+ }), /*#__PURE__*/jsx(ScaleControl, {
15018
+ position: "bottom-right"
15019
+ }), /*#__PURE__*/jsx(ControlContainer, {
15020
+ style: {
15021
+ width: 100,
15022
+ height: 100,
15023
+ boxShadow: 'none'
15024
+ },
15025
+ children: /*#__PURE__*/jsx(MapStyleToggleCtrl, {
15026
+ style: {
15027
+ position: 'relative',
15028
+ width: 100,
15029
+ height: 100
15030
+ },
15031
+ type: "button",
15032
+ onClick: function onClick() {
15033
+ return setBaseMapStyle(baseMapStyle === 'dataviz' ? 'satellite' : 'dataviz');
15034
+ },
15035
+ children: /*#__PURE__*/jsx(MapWindow, {
15036
+ style: {
15037
+ pointerEvents: 'none',
15038
+ position: 'absolute',
15039
+ top: 0,
15040
+ left: 0,
15041
+ height: '100%',
15042
+ width: '100%'
15043
+ },
15044
+ mapStyle: baseMapStyle === 'satellite' ? FULL_MAP_STYLE.dataviz : FULL_MAP_STYLE.satellite,
15045
+ maxZoom: 13
15046
+ })
15047
+ })
15048
+ })]
15049
+ }) : null, /*#__PURE__*/jsx(TerrainControl, {
15050
+ demSourceUrl: DEM_SOURCE_URL,
15051
+ demSourceEncoding: DEM_SOURCE_ENCODING
15052
+ }), mapProps.children || null]
15053
+ })
15054
+ };
15055
+ }),
15056
+ children: (viewsLoading || tilesLoading) && /*#__PURE__*/jsx(LoadingIndicator, {
15057
+ style: {
15058
+ position: 'fixed',
15059
+ bottom: '40px',
15060
+ right: '20px',
15061
+ zIndex: 20
15062
+ },
15063
+ message: null
15064
+ })
15065
+ })), children]
15066
+ });
14826
15067
  }
14827
15068
  var GeoReDUSRootContainer = styled.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n * {\n box-sizing: border-box;\n }\n"])));
14828
15069
  function GeoReDUS(props) {
14829
- return /*#__PURE__*/React$1.createElement(GeoReDUSRootContainer, null, /*#__PURE__*/React$1.createElement(InputProvider, {
14830
- variant: "labeled"
14831
- }, /*#__PURE__*/React$1.createElement(DialogsProvider, null, /*#__PURE__*/React$1.createElement(GeoReDUSInner, props))));
15070
+ return /*#__PURE__*/jsx(GeoReDUSRootContainer, {
15071
+ children: /*#__PURE__*/jsx(InputProvider, {
15072
+ variant: "labeled",
15073
+ children: /*#__PURE__*/jsx(DialogsProvider, {
15074
+ children: /*#__PURE__*/jsx(GeoReDUSInner, _objectSpread2({}, props))
15075
+ })
15076
+ })
15077
+ });
14832
15078
  }
14833
15079
 
14834
15080
  export { GeoReDUS, index as UNSTABLE_VIEW_SPEC, VTX_PROTOCOL, _bboxContains, memoFetchData, vtx, vtxSetup, vtxUrl };