@tmf_ciclica/ciclicastorybook 1.1.56 → 1.1.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +4 -4
- package/dist/index.es.js +506 -495
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_8d6ru_2{padding:5px 95px;border-radius:100px}._buttonsContainer_1audx_2{display:flex;gap:8px}._buttonsContainer_1audx_2._vertical_1audx_6{flex-direction:column}._buttonsContainer_1audx_2._horizontal_1audx_9{flex-direction:row}._button_1audx_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1audx_2:hover{opacity:.8}._button_1audx_2._active_1audx_25{font-weight:700}._button_1audx_2 ._buttonName_1audx_28{margin:0 4px}._left_1l4m4_2{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_1l4m4_2:before{content:"";position:absolute;top:50%;left:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent transparent #ccc;z-index:-2}._left_1l4m4_2:after{content:"";position:absolute;top:50%;left:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent transparent #fff;z-index:-1}._top_1l4m4_40{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._top_1l4m4_40:before{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:#ccc transparent transparent transparent;z-index:-2}._top_1l4m4_40:after{content:"";position:absolute;top:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:#fff transparent transparent transparent;z-index:-1}._bottom_1l4m4_79{position:absolute;width:auto;top:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._bottom_1l4m4_79:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent #ccc transparent;z-index:-2}._bottom_1l4m4_79:after{content:"";position:absolute;bottom:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent #fff transparent;z-index:-1}._right_1l4m4_118{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:20px;margin:0;white-space:nowrap;color:#000;z-index:10}._right_1l4m4_118:before{content:"";position:absolute;top:50%;right:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent #ccc transparent transparent;z-index:-2}._right_1l4m4_118:after{content:"";position:absolute;top:50%;right:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent #fff transparent transparent;z-index:-1}._AppliedFiltersContainer_s8ooe_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start}._AppliedFiltersContainer_s8ooe_2 ._AppliedFilterContent_s8ooe_10{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:0 20px;border-radius:100px}._checkboxContainer_zld97_2{display:flex;align-items:center;gap:.5rem;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_zld97_2 input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:1px;background-color:#fff;cursor:pointer}._container_15vgv_2{padding-top:15px;font-size:14px}._container_15vgv_2 span{font-size:14px}._container_15vgv_2 ._unitLabel_15vgv_9{height:40px}._container_15vgv_2 ._slider_15vgv_12{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_15vgv_2 ._thumb_15vgv_18{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_15vgv_2 ._track_15vgv_27{top:0;bottom:0;background:#605b56;border-radius:3px}._container_15vgv_2 ._labels_15vgv_33{display:flex;justify-content:space-between;font-size:14px;margin-top:10px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 label,._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input{cursor:pointer;font-size:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background-color:#fff;transition:background-color .2s ease;cursor:pointer;vertical-align:middle}._tematicalFiltersInputContainer_1vm1r_2 ._checkboxContainer_1vm1r_28{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px}._tematicalFiltersInputContainer_1vm1r_2 ._absoluteSliderContainer_1vm1r_37{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:flex-start}._FiltersAmbitContainer_1g9xx_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitTitle_1g9xx_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 0 26px;font-size:16px;font-weight:400}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22 ._FiltersAmbitDescriptionTitle_1g9xx_33{font-size:18px;font-weight:600}._FiltersAmbitContainer_1g9xx_2 ._warning_1g9xx_37{color:red}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_lw8gx_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._indicatorNameContainer_lw8gx_11{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._dot_lw8gx_20{border-radius:100px;width:16px;height:16px}._indicatorContainer_lw8gx_2 ._indicatorName_lw8gx_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_lw8gx_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40{margin:0;width:100%}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._customRadious_lw8gx_65{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._optionText_lw8gx_72{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_atg3j_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative}._legendContainer_atg3j_3 ._closeButton_atg3j_18{position:absolute;right:20px;top:20px;width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before,._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before{transform:rotate(45deg)}._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{transform:rotate(-45deg)}._legendContainer_atg3j_3 ._titleContainer_atg3j_46{border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._titleContainer_atg3j_46 h2{padding-bottom:16px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52{padding-top:20px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_atg3j_3 ._titleLegendList_atg3j_63{font-size:20px;padding-bottom:20px;margin-bottom:20px;margin-top:30px;border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76 ._colorDot_atg3j_82{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88{position:relative}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueColor_atg3j_91{height:130px;width:22px;border-radius:20px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueText_atg3j_96{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_atg3j_3 ._moreInfoContainer_atg3j_108{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_1gd6w_2 ._title_1gd6w_2{font-weight:600}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_a19yo_2{position:absolute;padding:5px 20px;right:150px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;top:188px;transition:all .5s ease-out}._slider_a19yo_2 ._playButton_a19yo_17,._slider_a19yo_2 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._slider_a19yo_2 ._playButton_a19yo_17 img{height:30px;width:30px}._sliderOpen_a19yo_28{right:490px}._sliderResults_a19yo_32{position:absolute;top:75px;right:430px;padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._sliderResults_a19yo_32 ._playButton_a19yo_17,._sliderResults_a19yo_32 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._sliderResults_a19yo_32 ._playButton_a19yo_17 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._LogInButton_1vxj5_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39{font-size:18px;font-weight:600;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53{font-size:18px;font-weight:600;flex:.5}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._buttonsContainer_fd7az_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._elementListContainer_fd7az_76{flex:1;width:100%}._elementSelector_fd7az_2 ._newElementButtonContainer_fd7az_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._listElement_1s506_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:5px;width:100%;padding-bottom:30px;padding-top:30px;flex-wrap:wrap}._listElement_1s506_2 ._elementNameDate_1s506_17{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementNameContainer_1s506_27{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementName_1s506_17{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementDate_1s506_42{flex:.5}._listElement_1s506_2 ._elementButtons_1s506_45{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_1s506_2 ._elementButtons_1s506_45 button:disabled{opacity:.5;cursor:default}._listElement_1s506_2 ._elementButtons_1s506_45 img{display:inline}._break_1s506_63{flex-basis:100%;height:0}._moreInfoContainer_1s506_68 ._moreInfo_1s506_68{display:flex;gap:5px;cursor:pointer}._textInputContainer_1xbl6_2 ._labelContainer_1xbl6_2{margin-bottom:25px}._textInputContainer_1xbl6_2 ._inputContainer_1xbl6_5{background-color:#605b5620;padding:7px;border-radius:4px;position:relative}._textInputContainer_1xbl6_2 ._inputContainer_1xbl6_5 ._showPasswordButton_1xbl6_11{position:absolute;right:5px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer}._textInputContainer_1xbl6_2 ._inputContainer_1xbl6_5 input{width:100%}._textInputContainer_1xbl6_2 ._forgotPassButton_1xbl6_23{margin-top:10px;cursor:pointer}._textInputContainer_1xbl6_2 ._forgotPassButton_1xbl6_23 button{text-decoration:underline}._errorMessage_1xiyb_2{min-height:25px}._formContainer_fx5a2_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_fx5a2_2 ._formObjectContainer_fx5a2_11{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1;width:100%}._formContainer_fx5a2_2 ._buttonContainer_fx5a2_21{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._inputsContainer_10t9s_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;gap:30px}._header_13kbt_2{width:100%;display:flex;align-items:center;position:absolute;top:0;left:0;padding:0 16px;background-color:#fff;border-bottom:1px solid black}._header_13kbt_2 ._leftComponents_13kbt_13,._header_13kbt_2 ._centerComponents_13kbt_14,._header_13kbt_2 ._rightComponents_13kbt_15{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_13kbt_2 ._leftComponents_13kbt_13{left:16px}._header_13kbt_2 ._centerComponents_13kbt_14{left:50%;transform:translate(-50%)}._header_13kbt_2 ._rightComponents_13kbt_15{right:16px}._header_13kbt_2 ._componentsContainer_13kbt_32{height:100%;width:100%}._sidebar_1jqo2_2{position:fixed;top:0;right:0;height:100%;background-color:#fff;box-shadow:-2px 0 5px #0000001a;overflow-x:hidden;overflow-y:auto;transition:width .3s ease;z-index:1000;width:0}._open_1jqo2_16{border-left:1px solid #ddd}._content_1jqo2_20{position:relative;padding:20px;height:100%}._closeButton_1jqo2_26{position:absolute;top:10px;right:10px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1jqo2_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
import { jsxs as
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_8d6ru_2{padding:5px 95px;border-radius:100px}._buttonsContainer_1audx_2{display:flex;gap:8px}._buttonsContainer_1audx_2._vertical_1audx_6{flex-direction:column}._buttonsContainer_1audx_2._horizontal_1audx_9{flex-direction:row}._button_1audx_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1audx_2:hover{opacity:.8}._button_1audx_2._active_1audx_25{font-weight:700}._button_1audx_2 ._buttonName_1audx_28{margin:0 4px}._left_1l4m4_2{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_1l4m4_2:before{content:"";position:absolute;top:50%;left:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent transparent #ccc;z-index:-2}._left_1l4m4_2:after{content:"";position:absolute;top:50%;left:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent transparent #fff;z-index:-1}._top_1l4m4_40{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._top_1l4m4_40:before{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:#ccc transparent transparent transparent;z-index:-2}._top_1l4m4_40:after{content:"";position:absolute;top:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:#fff transparent transparent transparent;z-index:-1}._bottom_1l4m4_79{position:absolute;width:auto;top:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._bottom_1l4m4_79:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent #ccc transparent;z-index:-2}._bottom_1l4m4_79:after{content:"";position:absolute;bottom:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent #fff transparent;z-index:-1}._right_1l4m4_118{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:20px;margin:0;white-space:nowrap;color:#000;z-index:10}._right_1l4m4_118:before{content:"";position:absolute;top:50%;right:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent #ccc transparent transparent;z-index:-2}._right_1l4m4_118:after{content:"";position:absolute;top:50%;right:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent #fff transparent transparent;z-index:-1}._AppliedFiltersContainer_s8ooe_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start}._AppliedFiltersContainer_s8ooe_2 ._AppliedFilterContent_s8ooe_10{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:0 20px;border-radius:100px}._checkboxContainer_zld97_2{display:flex;align-items:center;gap:.5rem;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_zld97_2 input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:1px;background-color:#fff;cursor:pointer}._container_15vgv_2{padding-top:15px;font-size:14px}._container_15vgv_2 span{font-size:14px}._container_15vgv_2 ._unitLabel_15vgv_9{height:40px}._container_15vgv_2 ._slider_15vgv_12{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_15vgv_2 ._thumb_15vgv_18{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_15vgv_2 ._track_15vgv_27{top:0;bottom:0;background:#605b56;border-radius:3px}._container_15vgv_2 ._labels_15vgv_33{display:flex;justify-content:space-between;font-size:14px;margin-top:10px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 label,._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input{cursor:pointer;font-size:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background-color:#fff;transition:background-color .2s ease;cursor:pointer;vertical-align:middle}._tematicalFiltersInputContainer_1vm1r_2 ._checkboxContainer_1vm1r_28{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px}._tematicalFiltersInputContainer_1vm1r_2 ._absoluteSliderContainer_1vm1r_37{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:flex-start}._FiltersAmbitContainer_1g9xx_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitTitle_1g9xx_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 0 26px;font-size:16px;font-weight:400}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22 ._FiltersAmbitDescriptionTitle_1g9xx_33{font-size:18px;font-weight:600}._FiltersAmbitContainer_1g9xx_2 ._warning_1g9xx_37{color:red}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_lw8gx_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._indicatorNameContainer_lw8gx_11{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._dot_lw8gx_20{border-radius:100px;width:16px;height:16px}._indicatorContainer_lw8gx_2 ._indicatorName_lw8gx_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_lw8gx_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40{margin:0;width:100%}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._customRadious_lw8gx_65{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._optionText_lw8gx_72{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_atg3j_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative}._legendContainer_atg3j_3 ._closeButton_atg3j_18{position:absolute;right:20px;top:20px;width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before,._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before{transform:rotate(45deg)}._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{transform:rotate(-45deg)}._legendContainer_atg3j_3 ._titleContainer_atg3j_46{border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._titleContainer_atg3j_46 h2{padding-bottom:16px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52{padding-top:20px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_atg3j_3 ._titleLegendList_atg3j_63{font-size:20px;padding-bottom:20px;margin-bottom:20px;margin-top:30px;border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76 ._colorDot_atg3j_82{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88{position:relative}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueColor_atg3j_91{height:130px;width:22px;border-radius:20px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueText_atg3j_96{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_atg3j_3 ._moreInfoContainer_atg3j_108{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_1gd6w_2 ._title_1gd6w_2{font-weight:600}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_a19yo_2{position:absolute;padding:5px 20px;right:150px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;top:188px;transition:all .5s ease-out}._slider_a19yo_2 ._playButton_a19yo_17,._slider_a19yo_2 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._slider_a19yo_2 ._playButton_a19yo_17 img{height:30px;width:30px}._sliderOpen_a19yo_28{right:490px}._sliderResults_a19yo_32{position:absolute;top:75px;right:430px;padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._sliderResults_a19yo_32 ._playButton_a19yo_17,._sliderResults_a19yo_32 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._sliderResults_a19yo_32 ._playButton_a19yo_17 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._LogInButton_1vxj5_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39{font-size:18px;font-weight:600;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53{font-size:18px;font-weight:600;flex:.5}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._buttonsContainer_fd7az_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._elementListContainer_fd7az_76{flex:1;width:100%}._elementSelector_fd7az_2 ._newElementButtonContainer_fd7az_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._listElement_1s506_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:5px;width:100%;padding-bottom:30px;padding-top:30px;flex-wrap:wrap}._listElement_1s506_2 ._elementNameDate_1s506_17{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementNameContainer_1s506_27{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementName_1s506_17{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementDate_1s506_42{flex:.5}._listElement_1s506_2 ._elementButtons_1s506_45{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_1s506_2 ._elementButtons_1s506_45 button:disabled{opacity:.5;cursor:default}._listElement_1s506_2 ._elementButtons_1s506_45 img{display:inline}._break_1s506_63{flex-basis:100%;height:0}._moreInfoContainer_1s506_68 ._moreInfo_1s506_68{display:flex;gap:5px;cursor:pointer}._textInputContainer_15gun_2{width:100%}._textInputContainer_15gun_2 ._labelContainer_15gun_5{margin-bottom:25px}._textInputContainer_15gun_2 ._inputContainer_15gun_8{background-color:#605b5620;padding:7px;border-radius:4px;position:relative}._textInputContainer_15gun_2 ._inputContainer_15gun_8 ._showPasswordButton_15gun_14{position:absolute;right:5px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer}._textInputContainer_15gun_2 ._inputContainer_15gun_8 input{width:100%}._textInputContainer_15gun_2 ._forgotPassButton_15gun_26{margin-top:10px;cursor:pointer}._textInputContainer_15gun_2 ._forgotPassButton_15gun_26 button{text-decoration:underline}._errorMessage_1xiyb_2{min-height:25px}._formContainer_fx5a2_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_fx5a2_2 ._formObjectContainer_fx5a2_11{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1;width:100%}._formContainer_fx5a2_2 ._buttonContainer_fx5a2_21{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._inputsContainer_10t9s_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;gap:30px}._header_13kbt_2{width:100%;display:flex;align-items:center;position:absolute;top:0;left:0;padding:0 16px;background-color:#fff;border-bottom:1px solid black}._header_13kbt_2 ._leftComponents_13kbt_13,._header_13kbt_2 ._centerComponents_13kbt_14,._header_13kbt_2 ._rightComponents_13kbt_15{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_13kbt_2 ._leftComponents_13kbt_13{left:16px}._header_13kbt_2 ._centerComponents_13kbt_14{left:50%;transform:translate(-50%)}._header_13kbt_2 ._rightComponents_13kbt_15{right:16px}._header_13kbt_2 ._componentsContainer_13kbt_32{height:100%;width:100%}._sidebar_pt7g1_2{position:fixed;top:0;right:0;height:100%;background-color:#fff;box-shadow:-2px 0 5px #0000001a;overflow-x:hidden;overflow-y:auto;transition:width .3s ease;z-index:1000;width:0}._open_pt7g1_16{border-left:1px solid #ddd}._content_pt7g1_20{position:relative;padding:20px;height:100%}._closeButton_pt7g1_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_pt7g1_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
+
import { jsxs as h, jsx as s, Fragment as gt } from "react/jsx-runtime";
|
|
3
3
|
import * as X from "react";
|
|
4
|
-
import N, { useState as
|
|
4
|
+
import N, { useState as M, useEffect as D, useMemo as le, useLayoutEffect as Ct, useRef as Me } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
|
-
import { useTranslation as k, Trans as
|
|
7
|
-
import { motion as
|
|
6
|
+
import { useTranslation as k, Trans as Fe } from "react-i18next";
|
|
7
|
+
import { motion as Le } from "framer-motion";
|
|
8
8
|
import { create as ft } from "zustand";
|
|
9
9
|
import * as $e from "d3";
|
|
10
10
|
import bt from "mapbox-gl";
|
|
11
11
|
import { useSelector as yt, useDispatch as _t } from "react-redux";
|
|
12
|
-
import vt, { Source as
|
|
12
|
+
import vt, { Source as wt, Layer as xt, NavigationControl as kt, Popup as Nt } from "react-map-gl/mapbox";
|
|
13
13
|
import pe from "maplibre-gl";
|
|
14
14
|
import { Protocol as St } from "pmtiles";
|
|
15
|
-
import Bt, { Source as
|
|
15
|
+
import Bt, { Source as Mt, Layer as Ft, NavigationControl as Lt, Popup as Dt } from "react-map-gl/maplibre";
|
|
16
16
|
import { createSlice as Tt } from "@reduxjs/toolkit";
|
|
17
17
|
import Vt from "@mui/material/Slider";
|
|
18
18
|
import { createTheme as $t, Box as At } from "@mui/material";
|
|
@@ -44,15 +44,15 @@ const Rt = "_ambitSelector_mcunf_2", Et = "_header_mcunf_13", Pt = "_nameDateCon
|
|
|
44
44
|
fontColor: a,
|
|
45
45
|
moreInfo: c
|
|
46
46
|
}) => {
|
|
47
|
-
const { nom: u, created_at: p, id:
|
|
48
|
-
return /* @__PURE__ */
|
|
47
|
+
const { nom: u, created_at: p, id: g, isBeingProcessed: y } = n;
|
|
48
|
+
return /* @__PURE__ */ h(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
51
51
|
className: ee.ambitItem,
|
|
52
52
|
style: { borderBottom: `1px solid ${a}` },
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */
|
|
55
|
-
/* @__PURE__ */
|
|
54
|
+
/* @__PURE__ */ h("div", { className: ee.ambitNameDate, onClick: () => t(g), children: [
|
|
55
|
+
/* @__PURE__ */ h("div", { className: ee.ambitName, children: [
|
|
56
56
|
/* @__PURE__ */ s(
|
|
57
57
|
"img",
|
|
58
58
|
{
|
|
@@ -64,11 +64,11 @@ const Rt = "_ambitSelector_mcunf_2", Et = "_header_mcunf_13", Pt = "_nameDateCon
|
|
|
64
64
|
] }),
|
|
65
65
|
/* @__PURE__ */ s("div", { className: ee.ambitDate, children: p ? new Date(p).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
67
|
-
/* @__PURE__ */
|
|
67
|
+
/* @__PURE__ */ h("div", { className: ee.ambitButtons, children: [
|
|
68
68
|
y && /* @__PURE__ */ s("img", { src: e2 }),
|
|
69
|
-
/* @__PURE__ */ s("button", { onClick: () => i(
|
|
70
|
-
/* @__PURE__ */ s("button", { onClick: () => d(
|
|
71
|
-
/* @__PURE__ */ s("button", { onClick: () => o(
|
|
69
|
+
/* @__PURE__ */ s("button", { onClick: () => i(g), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: Qt }) }),
|
|
70
|
+
/* @__PURE__ */ s("button", { onClick: () => d(g), children: /* @__PURE__ */ s("img", { src: Xt }) }),
|
|
71
|
+
/* @__PURE__ */ s("button", { onClick: () => o(g), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: Jt }) })
|
|
72
72
|
] })
|
|
73
73
|
]
|
|
74
74
|
}
|
|
@@ -99,12 +99,17 @@ const Ae = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
99
99
|
onClick: d,
|
|
100
100
|
fontColor: o = "#605B56",
|
|
101
101
|
borderColor: i = "#605B56",
|
|
102
|
-
type: t = "button"
|
|
102
|
+
type: t = "button",
|
|
103
|
+
containerStyles: r = {}
|
|
103
104
|
}) => /* @__PURE__ */ s(
|
|
104
105
|
"button",
|
|
105
106
|
{
|
|
106
107
|
className: o2.generalButton,
|
|
107
|
-
style: {
|
|
108
|
+
style: {
|
|
109
|
+
color: o,
|
|
110
|
+
border: `1.5px solid ${i}`,
|
|
111
|
+
...r
|
|
112
|
+
},
|
|
108
113
|
onClick: d,
|
|
109
114
|
type: t,
|
|
110
115
|
children: n
|
|
@@ -120,40 +125,40 @@ const Ae = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
120
125
|
buttonContainerStyles: a = {},
|
|
121
126
|
containerStyles: c = {},
|
|
122
127
|
onCLickNewAmbit: u = () => console.log("New ambit clicked"),
|
|
123
|
-
onClickCopy: p = (
|
|
124
|
-
onCLickDelete:
|
|
125
|
-
onClickFilters: y = (
|
|
126
|
-
onClickAmbit:
|
|
128
|
+
onClickCopy: p = (C) => console.log(`Copy ambit: ${C}`),
|
|
129
|
+
onCLickDelete: g = (C) => console.log(`Delete ambit: ${C}`),
|
|
130
|
+
onClickFilters: y = (C) => console.log(`Filters clicked: ${C}`),
|
|
131
|
+
onClickAmbit: m = (C) => console.log(`OnCLickAmbit: ${C}`)
|
|
127
132
|
}) => {
|
|
128
|
-
const { t:
|
|
129
|
-
|
|
130
|
-
n &&
|
|
133
|
+
const { t: C } = k(), [f, b] = M(n);
|
|
134
|
+
D(() => {
|
|
135
|
+
n && b(n);
|
|
131
136
|
}, [n]);
|
|
132
|
-
const _ = (
|
|
133
|
-
if (
|
|
134
|
-
let
|
|
135
|
-
|
|
137
|
+
const _ = (w) => {
|
|
138
|
+
if (f && f.length > 0) {
|
|
139
|
+
let x = [...f];
|
|
140
|
+
x.sort((v, S) => v[w].localeCompare(S[w])), b(x);
|
|
136
141
|
}
|
|
137
142
|
};
|
|
138
|
-
return /* @__PURE__ */
|
|
143
|
+
return /* @__PURE__ */ h(
|
|
139
144
|
"div",
|
|
140
145
|
{
|
|
141
146
|
className: j.ambitSelector,
|
|
142
147
|
style: { color: o, ...c },
|
|
143
148
|
children: [
|
|
144
|
-
/* @__PURE__ */
|
|
149
|
+
/* @__PURE__ */ h(
|
|
145
150
|
"div",
|
|
146
151
|
{
|
|
147
152
|
className: j.header,
|
|
148
153
|
style: { borderBottom: `1px solid ${o}` },
|
|
149
154
|
children: [
|
|
150
|
-
/* @__PURE__ */
|
|
151
|
-
/* @__PURE__ */ s("div", { className: j.ambitName, children: /* @__PURE__ */
|
|
152
|
-
/* @__PURE__ */ s("span", { children:
|
|
155
|
+
/* @__PURE__ */ h("div", { className: j.nameDateContainer, children: [
|
|
156
|
+
/* @__PURE__ */ s("div", { className: j.ambitName, children: /* @__PURE__ */ h("button", { onClick: () => _("name"), children: [
|
|
157
|
+
/* @__PURE__ */ s("span", { children: C(t) }),
|
|
153
158
|
/* @__PURE__ */ s("img", { src: Ae })
|
|
154
159
|
] }) }),
|
|
155
|
-
/* @__PURE__ */ s("div", { className: j.ambitDate, children: /* @__PURE__ */
|
|
156
|
-
/* @__PURE__ */ s("span", { children:
|
|
160
|
+
/* @__PURE__ */ s("div", { className: j.ambitDate, children: /* @__PURE__ */ h("button", { onClick: () => _("date"), children: [
|
|
161
|
+
/* @__PURE__ */ s("span", { children: C(r) }),
|
|
157
162
|
/* @__PURE__ */ s("img", { src: Ae })
|
|
158
163
|
] }) })
|
|
159
164
|
] }),
|
|
@@ -161,19 +166,19 @@ const Ae = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
161
166
|
]
|
|
162
167
|
}
|
|
163
168
|
),
|
|
164
|
-
/* @__PURE__ */ s("div", { className: j.ambitListContainer, children:
|
|
169
|
+
/* @__PURE__ */ s("div", { className: j.ambitListContainer, children: f && f.length > 0 && f.map((w) => /* @__PURE__ */ s(
|
|
165
170
|
Ye,
|
|
166
171
|
{
|
|
167
|
-
isActive: d ==
|
|
168
|
-
ambit:
|
|
172
|
+
isActive: d == w.id,
|
|
173
|
+
ambit: w,
|
|
169
174
|
fontColor: o,
|
|
170
175
|
activeColor: i,
|
|
171
176
|
onClickCopy: p,
|
|
172
|
-
onClickDelete:
|
|
177
|
+
onClickDelete: g,
|
|
173
178
|
onClickFilters: y,
|
|
174
|
-
onClickAmbit:
|
|
179
|
+
onClickAmbit: m
|
|
175
180
|
},
|
|
176
|
-
`ambitKey${
|
|
181
|
+
`ambitKey${w.id}`
|
|
177
182
|
)) }),
|
|
178
183
|
/* @__PURE__ */ s("div", { className: j.newAmbitButtonContainer, children: /* @__PURE__ */ s(
|
|
179
184
|
ce,
|
|
@@ -181,7 +186,7 @@ const Ae = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
181
186
|
style: { ...a },
|
|
182
187
|
onClick: u,
|
|
183
188
|
borderColor: "grey",
|
|
184
|
-
children:
|
|
189
|
+
children: C(l)
|
|
185
190
|
}
|
|
186
191
|
) })
|
|
187
192
|
]
|
|
@@ -249,22 +254,22 @@ const f2 = ({
|
|
|
249
254
|
const {
|
|
250
255
|
icon: u,
|
|
251
256
|
activeIcon: p,
|
|
252
|
-
isActive:
|
|
257
|
+
isActive: g,
|
|
253
258
|
name: y,
|
|
254
|
-
onClick:
|
|
255
|
-
} = a,
|
|
259
|
+
onClick: m
|
|
260
|
+
} = a, C = /* @__PURE__ */ h(gt, { children: [
|
|
256
261
|
o && i === "left" && /* @__PURE__ */ s("span", { className: q.buttonName, children: l(y) }),
|
|
257
|
-
/* @__PURE__ */ s("img", { src:
|
|
262
|
+
/* @__PURE__ */ s("img", { src: g ? p : u, alt: l(y) }),
|
|
258
263
|
o && i === "right" && /* @__PURE__ */ s("span", { className: q.buttonName, children: l(y) })
|
|
259
264
|
] });
|
|
260
|
-
return /* @__PURE__ */
|
|
265
|
+
return /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
261
266
|
/* @__PURE__ */ s(
|
|
262
267
|
"button",
|
|
263
268
|
{
|
|
264
|
-
onClick:
|
|
269
|
+
onClick: m,
|
|
265
270
|
className: `${q.button}
|
|
266
|
-
${
|
|
267
|
-
children:
|
|
271
|
+
${g && q.active}`,
|
|
272
|
+
children: C
|
|
268
273
|
}
|
|
269
274
|
),
|
|
270
275
|
t && /* @__PURE__ */ s(U, { text: y, position: r })
|
|
@@ -308,8 +313,8 @@ const b2 = "_indicatorsCategory_1cu33_2", y2 = "_title_1cu33_5", me = {
|
|
|
308
313
|
titleMarginChildren: u = 25
|
|
309
314
|
}) => {
|
|
310
315
|
const { t: p } = k();
|
|
311
|
-
return /* @__PURE__ */
|
|
312
|
-
|
|
316
|
+
return /* @__PURE__ */ h(
|
|
317
|
+
Le.div,
|
|
313
318
|
{
|
|
314
319
|
className: me.indicatorsCategory,
|
|
315
320
|
initial: { height: `${l}px` },
|
|
@@ -321,7 +326,7 @@ const b2 = "_indicatorsCategory_1cu33_2", y2 = "_title_1cu33_5", me = {
|
|
|
321
326
|
marginBottom: n ? "20px" : "0px"
|
|
322
327
|
},
|
|
323
328
|
children: [
|
|
324
|
-
/* @__PURE__ */
|
|
329
|
+
/* @__PURE__ */ h(
|
|
325
330
|
"h2",
|
|
326
331
|
{
|
|
327
332
|
style: {
|
|
@@ -352,10 +357,10 @@ G.propTypes = {
|
|
|
352
357
|
showBottomBar: e.bool,
|
|
353
358
|
titleFontStyles: e.object
|
|
354
359
|
};
|
|
355
|
-
const
|
|
360
|
+
const Rn = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), _2 = "data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%201L13.9996%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20d='M14%201L1.00044%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", v2 = "_AppliedFiltersContainer_s8ooe_2", w2 = "_AppliedFilterContent_s8ooe_10", Oe = {
|
|
356
361
|
AppliedFiltersContainer: v2,
|
|
357
|
-
AppliedFilterContent:
|
|
358
|
-
},
|
|
362
|
+
AppliedFilterContent: w2
|
|
363
|
+
}, L = ft((n) => ({
|
|
359
364
|
activeCategory: "",
|
|
360
365
|
activeSubCategory: "",
|
|
361
366
|
selectedIndicator: "",
|
|
@@ -363,10 +368,10 @@ const In = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), _2 = "data
|
|
|
363
368
|
fontColor: "#605B56",
|
|
364
369
|
inputsColor: "#605B56"
|
|
365
370
|
})), We = ({ title: n, onClick: d, isOpen: o = !0, textColor: i = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
366
|
-
const { t: l } = k(), { tematicalFiltersSelected: a } =
|
|
367
|
-
|
|
371
|
+
const { t: l } = k(), { tematicalFiltersSelected: a } = L((u) => u), c = (u) => {
|
|
372
|
+
L.setState((p) => ({
|
|
368
373
|
tematicalFiltersSelected: p.tematicalFiltersSelected.filter(
|
|
369
|
-
(
|
|
374
|
+
(g) => g.code !== u
|
|
370
375
|
)
|
|
371
376
|
}));
|
|
372
377
|
};
|
|
@@ -377,7 +382,7 @@ const In = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), _2 = "data
|
|
|
377
382
|
onClick: d,
|
|
378
383
|
title: n ? l(n) : "Applied Filters",
|
|
379
384
|
activeColor: r,
|
|
380
|
-
children: /* @__PURE__ */ s("div", { className: Oe.AppliedFiltersContainer, children: a == null ? void 0 : a.map((u, p) => /* @__PURE__ */
|
|
385
|
+
children: /* @__PURE__ */ s("div", { className: Oe.AppliedFiltersContainer, children: a == null ? void 0 : a.map((u, p) => /* @__PURE__ */ h("div", { className: Oe.AppliedFilterContent, style: { color: i, background: t }, children: [
|
|
381
386
|
l(u.name),
|
|
382
387
|
/* @__PURE__ */ s("img", { src: _2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
|
|
383
388
|
] }, p)) })
|
|
@@ -399,7 +404,7 @@ We.propTypes = {
|
|
|
399
404
|
activeColor: e.string
|
|
400
405
|
};
|
|
401
406
|
const Je = ({ title: n, onClick: d, isOpen: o = !0, textColor: i = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
402
|
-
const { t: l } = k(), { tematicalFiltersSelected: a } =
|
|
407
|
+
const { t: l } = k(), { tematicalFiltersSelected: a } = L((c) => c);
|
|
403
408
|
return /* @__PURE__ */ s(
|
|
404
409
|
G,
|
|
405
410
|
{
|
|
@@ -419,8 +424,8 @@ Je.propTypes = {
|
|
|
419
424
|
backgroundColor: e.string,
|
|
420
425
|
activeColor: e.string
|
|
421
426
|
};
|
|
422
|
-
const
|
|
423
|
-
checkboxContainer:
|
|
427
|
+
const x2 = "_checkboxContainer_zld97_2", k2 = {
|
|
428
|
+
checkboxContainer: x2
|
|
424
429
|
}, Xe = ({
|
|
425
430
|
onClick: n,
|
|
426
431
|
containerStyles: d,
|
|
@@ -428,8 +433,8 @@ const w2 = "_checkboxContainer_zld97_2", k2 = {
|
|
|
428
433
|
indicator: i,
|
|
429
434
|
value: t
|
|
430
435
|
}) => {
|
|
431
|
-
const { t: r } = k(), { title: l } = i || {}, { fontColor: a, inputsColor: c } =
|
|
432
|
-
return /* @__PURE__ */
|
|
436
|
+
const { t: r } = k(), { title: l } = i || {}, { fontColor: a, inputsColor: c } = L((u) => u);
|
|
437
|
+
return /* @__PURE__ */ h(
|
|
433
438
|
"div",
|
|
434
439
|
{
|
|
435
440
|
style: { ...d, color: o },
|
|
@@ -466,13 +471,13 @@ Xe.propTypes = {
|
|
|
466
471
|
}),
|
|
467
472
|
checkedColor: e.string
|
|
468
473
|
};
|
|
469
|
-
function
|
|
470
|
-
return
|
|
474
|
+
function xe(n, d) {
|
|
475
|
+
return xe = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, i) {
|
|
471
476
|
return o.__proto__ = i, o;
|
|
472
|
-
},
|
|
477
|
+
}, xe(n, d);
|
|
473
478
|
}
|
|
474
479
|
function N2(n, d) {
|
|
475
|
-
n.prototype = Object.create(d.prototype), n.prototype.constructor = n,
|
|
480
|
+
n.prototype = Object.create(d.prototype), n.prototype.constructor = n, xe(n, d);
|
|
476
481
|
}
|
|
477
482
|
function he(n) {
|
|
478
483
|
return n && n.stopPropagation && n.stopPropagation(), n && n.preventDefault && n.preventDefault(), !1;
|
|
@@ -519,8 +524,8 @@ let Ne = function(n) {
|
|
|
519
524
|
t.setState({ pending: !0 });
|
|
520
525
|
const c = t.getTouchPosition(a);
|
|
521
526
|
if (t.isScrolling === void 0) {
|
|
522
|
-
const
|
|
523
|
-
t.isScrolling = Math.abs(y) > Math.abs(
|
|
527
|
+
const g = c[0] - t.startPosition[0], y = c[1] - t.startPosition[1];
|
|
528
|
+
t.isScrolling = Math.abs(y) > Math.abs(g);
|
|
524
529
|
}
|
|
525
530
|
if (t.isScrolling) return void t.setState({ index: -1 });
|
|
526
531
|
const u = t.getDiffPosition(c[0]), p = t.getValueFromPosition(u);
|
|
@@ -588,11 +593,11 @@ let Ne = function(n) {
|
|
|
588
593
|
}, t.renderThumb = (a, c) => {
|
|
589
594
|
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), p = { ref: (y) => {
|
|
590
595
|
t["thumb" + c] = y;
|
|
591
|
-
}, key: t.props.thumbClassName + "-" + c, className: u, style: a, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled },
|
|
592
|
-
return t.props.ariaValuetext && (p["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(
|
|
596
|
+
}, key: t.props.thumbClassName + "-" + c, className: u, style: a, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, g = { index: c, value: oe(t.state.value), valueNow: t.state.value[c] };
|
|
597
|
+
return t.props.ariaValuetext && (p["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(g)), t.props.renderThumb(p, g);
|
|
593
598
|
}, t.renderTrack = (a, c, u) => {
|
|
594
|
-
const p = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(c, t.state.upperBound - u) },
|
|
595
|
-
return t.props.renderTrack(p,
|
|
599
|
+
const p = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(c, t.state.upperBound - u) }, g = { index: a, value: oe(t.state.value) };
|
|
600
|
+
return t.props.renderTrack(p, g);
|
|
596
601
|
};
|
|
597
602
|
let r = ge(i.value);
|
|
598
603
|
r.length || (r = ge(i.defaultValue)), t.pendingResizeTimeouts = [];
|
|
@@ -647,8 +652,8 @@ let Ne = function(n) {
|
|
|
647
652
|
}, o.resize = function() {
|
|
648
653
|
const { slider: i, thumb0: t } = this;
|
|
649
654
|
if (!i || !t) return;
|
|
650
|
-
const r = this.sizeKey(), l = i.getBoundingClientRect(), a = i[r], c = l[this.posMaxKey()], u = l[this.posMinKey()], p = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()],
|
|
651
|
-
this.state.upperBound ===
|
|
655
|
+
const r = this.sizeKey(), l = i.getBoundingClientRect(), a = i[r], c = l[this.posMaxKey()], u = l[this.posMinKey()], p = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], g = a - p, y = Math.abs(c - u);
|
|
656
|
+
this.state.upperBound === g && this.state.sliderLength === y && this.state.thumbSize === p || this.setState({ upperBound: g, sliderLength: y, thumbSize: p });
|
|
652
657
|
}, o.calcOffset = function(i) {
|
|
653
658
|
const t = this.props.max - this.props.min;
|
|
654
659
|
return t === 0 ? 0 : (i - this.props.min) / t * this.state.upperBound;
|
|
@@ -687,28 +692,28 @@ let Ne = function(n) {
|
|
|
687
692
|
const t = this.state.value.slice(), { index: r } = this.state, { length: l } = t, a = t[r];
|
|
688
693
|
if (i === a) return;
|
|
689
694
|
this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
|
|
690
|
-
const { pearling: c, max: u, min: p, minDistance:
|
|
695
|
+
const { pearling: c, max: u, min: p, minDistance: g } = this.props;
|
|
691
696
|
if (!c) {
|
|
692
697
|
if (r > 0) {
|
|
693
698
|
const y = t[r - 1];
|
|
694
|
-
i < y +
|
|
699
|
+
i < y + g && (i = y + g);
|
|
695
700
|
}
|
|
696
701
|
if (r < l - 1) {
|
|
697
702
|
const y = t[r + 1];
|
|
698
|
-
i > y -
|
|
703
|
+
i > y - g && (i = y - g);
|
|
699
704
|
}
|
|
700
705
|
}
|
|
701
|
-
t[r] = i, c && l > 1 && (i > a ? (this.pushSucceeding(t,
|
|
702
|
-
for (let
|
|
703
|
-
const _ =
|
|
704
|
-
|
|
706
|
+
t[r] = i, c && l > 1 && (i > a ? (this.pushSucceeding(t, g, r), function(y, m, C, f) {
|
|
707
|
+
for (let b = 0; b < y; b += 1) {
|
|
708
|
+
const _ = f - b * C;
|
|
709
|
+
m[y - 1 - b] > _ && (m[y - 1 - b] = _);
|
|
705
710
|
}
|
|
706
|
-
}(l, t,
|
|
707
|
-
for (let
|
|
708
|
-
const _ =
|
|
709
|
-
|
|
711
|
+
}(l, t, g, u)) : i < a && (this.pushPreceding(t, g, r), function(y, m, C, f) {
|
|
712
|
+
for (let b = 0; b < y; b += 1) {
|
|
713
|
+
const _ = f + b * C;
|
|
714
|
+
m[b] < _ && (m[b] = _);
|
|
710
715
|
}
|
|
711
|
-
}(l, t,
|
|
716
|
+
}(l, t, g, p))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
712
717
|
}, o.pushSucceeding = function(i, t, r) {
|
|
713
718
|
let l, a;
|
|
714
719
|
for (l = r, a = i[l] + t; i[l + 1] !== null && a > i[l + 1]; l += 1, a = i[l] + t) i[l + 1] = ke(a, this.props);
|
|
@@ -764,12 +769,12 @@ let Ne = function(n) {
|
|
|
764
769
|
}(N.Component);
|
|
765
770
|
Ne.displayName = "ReactSlider", Ne.defaultProps = { min: 0, max: 100, step: 1, pageFn: (n) => 10 * n, minDistance: 0, defaultValue: 0, orientation: "horizontal", className: "slider", thumbClassName: "thumb", thumbActiveClassName: "active", trackClassName: "track", markClassName: "mark", withTracks: !0, pearling: !1, disabled: !1, snapDragDisabled: !1, invert: !1, marks: [], renderThumb: (n) => N.createElement("div", n), renderTrack: (n) => N.createElement("div", n), renderMark: (n) => N.createElement("span", n) };
|
|
766
771
|
var S2 = Ne;
|
|
767
|
-
const B2 = "_container_15vgv_2",
|
|
772
|
+
const B2 = "_container_15vgv_2", M2 = "_unitLabel_15vgv_9", F2 = "_slider_15vgv_12", L2 = "_thumb_15vgv_18", D2 = "_track_15vgv_27", T2 = "_labels_15vgv_33", Y = {
|
|
768
773
|
container: B2,
|
|
769
|
-
unitLabel:
|
|
770
|
-
slider:
|
|
771
|
-
thumb:
|
|
772
|
-
track:
|
|
774
|
+
unitLabel: M2,
|
|
775
|
+
slider: F2,
|
|
776
|
+
thumb: L2,
|
|
777
|
+
track: D2,
|
|
773
778
|
labels: T2
|
|
774
779
|
}, Qe = ({
|
|
775
780
|
min: n = 0,
|
|
@@ -781,12 +786,12 @@ const B2 = "_container_15vgv_2", F2 = "_unitLabel_15vgv_9", M2 = "_slider_15vgv_
|
|
|
781
786
|
fontColor: l = "#605B56",
|
|
782
787
|
defaultValue: a
|
|
783
788
|
}) => {
|
|
784
|
-
const { t: c } = k(), [u, p] =
|
|
789
|
+
const { t: c } = k(), [u, p] = M([n, d]), g = (y) => {
|
|
785
790
|
p(y), i == null || i({ min: y[0], max: y[1] });
|
|
786
791
|
};
|
|
787
|
-
return
|
|
792
|
+
return D(() => {
|
|
788
793
|
a && p([a]);
|
|
789
|
-
}, [a]), /* @__PURE__ */
|
|
794
|
+
}, [a]), /* @__PURE__ */ h(
|
|
790
795
|
"div",
|
|
791
796
|
{
|
|
792
797
|
className: Y.container,
|
|
@@ -803,13 +808,13 @@ const B2 = "_container_15vgv_2", F2 = "_unitLabel_15vgv_9", M2 = "_slider_15vgv_
|
|
|
803
808
|
max: d,
|
|
804
809
|
step: o,
|
|
805
810
|
value: u,
|
|
806
|
-
onAfterChange:
|
|
811
|
+
onAfterChange: g,
|
|
807
812
|
withTracks: !0,
|
|
808
813
|
pearling: !0,
|
|
809
814
|
minDistance: 0.1
|
|
810
815
|
}
|
|
811
816
|
),
|
|
812
|
-
/* @__PURE__ */
|
|
817
|
+
/* @__PURE__ */ h("div", { className: Y.labels, children: [
|
|
813
818
|
/* @__PURE__ */ s("span", { children: u[0] }),
|
|
814
819
|
/* @__PURE__ */ s("span", { children: u[1] })
|
|
815
820
|
] })
|
|
@@ -834,12 +839,12 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
834
839
|
inputTypeContainer: $2,
|
|
835
840
|
checkboxContainer: A2,
|
|
836
841
|
absoluteSliderContainer: O2
|
|
837
|
-
},
|
|
842
|
+
}, De = ({
|
|
838
843
|
indicator: n,
|
|
839
844
|
//onChangeBothType
|
|
840
845
|
activeColor: d
|
|
841
846
|
}) => {
|
|
842
|
-
const [o, i] =
|
|
847
|
+
const [o, i] = M(), {
|
|
843
848
|
type: t,
|
|
844
849
|
name: r,
|
|
845
850
|
values: l,
|
|
@@ -847,22 +852,22 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
847
852
|
maxValue: c,
|
|
848
853
|
unit: u,
|
|
849
854
|
step: p
|
|
850
|
-
} = n || {},
|
|
855
|
+
} = n || {}, g = le(
|
|
851
856
|
() => t == "cat" || o == "cat",
|
|
852
857
|
[o, t]
|
|
853
858
|
), y = le(
|
|
854
859
|
() => t == "abs" || o == "abs",
|
|
855
860
|
[o, t]
|
|
856
861
|
), {
|
|
857
|
-
tematicalFiltersSelected:
|
|
858
|
-
selectedIndicator:
|
|
859
|
-
fontColor:
|
|
860
|
-
inputsColor:
|
|
861
|
-
} =
|
|
862
|
-
if (
|
|
863
|
-
const { min: v, max: S, valueClicked: B, allValues: E } =
|
|
862
|
+
tematicalFiltersSelected: m,
|
|
863
|
+
selectedIndicator: C,
|
|
864
|
+
fontColor: f,
|
|
865
|
+
inputsColor: b
|
|
866
|
+
} = L((x) => x), _ = (x) => {
|
|
867
|
+
if (x) {
|
|
868
|
+
const { min: v, max: S, valueClicked: B, allValues: E } = x || {}, { code: Q, type: de } = n || {}, ue = y ? "abs" : g ? "cat" : "both";
|
|
864
869
|
let R = Q[0];
|
|
865
|
-
de == "both" && (R = ue == "cat" ? Q[1] : Q[0]), ue == "cat" ?
|
|
870
|
+
de == "both" && (R = ue == "cat" ? Q[1] : Q[0]), ue == "cat" ? L.setState((z) => {
|
|
866
871
|
let P = z.tematicalFiltersSelected.find(
|
|
867
872
|
(T) => T.code === R
|
|
868
873
|
);
|
|
@@ -883,7 +888,7 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
883
888
|
let T = E.map((A, ht) => ht);
|
|
884
889
|
return {
|
|
885
890
|
tematicalFiltersSelected: [
|
|
886
|
-
...
|
|
891
|
+
...m,
|
|
887
892
|
{
|
|
888
893
|
type: "cat",
|
|
889
894
|
code: R,
|
|
@@ -893,7 +898,7 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
893
898
|
]
|
|
894
899
|
};
|
|
895
900
|
}
|
|
896
|
-
}) : ue == "abs" &&
|
|
901
|
+
}) : ue == "abs" && L.setState((z) => {
|
|
897
902
|
let P = z.tematicalFiltersSelected.find(
|
|
898
903
|
(T) => T.code === R
|
|
899
904
|
);
|
|
@@ -913,42 +918,42 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
913
918
|
} else
|
|
914
919
|
return {
|
|
915
920
|
tematicalFiltersSelected: [
|
|
916
|
-
...
|
|
921
|
+
...m,
|
|
917
922
|
{ type: "abs", code: R, min: v, max: S }
|
|
918
923
|
]
|
|
919
924
|
};
|
|
920
925
|
});
|
|
921
926
|
}
|
|
922
|
-
},
|
|
923
|
-
const
|
|
924
|
-
if ((
|
|
925
|
-
for (const v of
|
|
926
|
-
v.type === "cat" ?
|
|
927
|
-
return
|
|
928
|
-
}, [
|
|
929
|
-
return /* @__PURE__ */ s("div", { className: re.tematicalFiltersInputContainer, children: /* @__PURE__ */
|
|
927
|
+
}, w = le(() => {
|
|
928
|
+
const x = {};
|
|
929
|
+
if ((m == null ? void 0 : m.length) > 0)
|
|
930
|
+
for (const v of m)
|
|
931
|
+
v.type === "cat" ? x[v.code] = new Set(v.values) : x[v.code] = [v.min, v.max];
|
|
932
|
+
return x;
|
|
933
|
+
}, [m]);
|
|
934
|
+
return /* @__PURE__ */ s("div", { className: re.tematicalFiltersInputContainer, children: /* @__PURE__ */ h(
|
|
930
935
|
G,
|
|
931
936
|
{
|
|
932
937
|
titleFontStyles: { fontSize: 16, fontWeight: 400 },
|
|
933
938
|
title: r,
|
|
934
|
-
isOpen:
|
|
935
|
-
onClick: () =>
|
|
936
|
-
selectedIndicator:
|
|
939
|
+
isOpen: C == `id${r}`,
|
|
940
|
+
onClick: () => L.setState(() => ({
|
|
941
|
+
selectedIndicator: C == `id${r}` ? "" : `id${r}`
|
|
937
942
|
})),
|
|
938
943
|
showBottomBar: !1,
|
|
939
944
|
height: 38,
|
|
940
945
|
titleMarginChildren: 14,
|
|
941
946
|
className: "tematicalFiltersInputContainer",
|
|
942
|
-
color:
|
|
947
|
+
color: f,
|
|
943
948
|
activeColor: d,
|
|
944
949
|
children: [
|
|
945
|
-
t == "both" && /* @__PURE__ */
|
|
950
|
+
t == "both" && /* @__PURE__ */ h(
|
|
946
951
|
"div",
|
|
947
952
|
{
|
|
948
953
|
className: re.inputTypeContainer,
|
|
949
|
-
style: { color:
|
|
954
|
+
style: { color: f },
|
|
950
955
|
children: [
|
|
951
|
-
/* @__PURE__ */
|
|
956
|
+
/* @__PURE__ */ h("label", { children: [
|
|
952
957
|
/* @__PURE__ */ s(
|
|
953
958
|
"input",
|
|
954
959
|
{
|
|
@@ -960,14 +965,14 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
960
965
|
},
|
|
961
966
|
style: {
|
|
962
967
|
marginRight: 4,
|
|
963
|
-
backgroundColor: o == "abs" ?
|
|
964
|
-
border: `1.5px solid ${o == "abs" ?
|
|
968
|
+
backgroundColor: o == "abs" ? b : "white",
|
|
969
|
+
border: `1.5px solid ${o == "abs" ? b : f}`
|
|
965
970
|
}
|
|
966
971
|
}
|
|
967
972
|
),
|
|
968
973
|
"Absoluto"
|
|
969
974
|
] }),
|
|
970
|
-
/* @__PURE__ */
|
|
975
|
+
/* @__PURE__ */ h("label", { children: [
|
|
971
976
|
/* @__PURE__ */ s(
|
|
972
977
|
"input",
|
|
973
978
|
{
|
|
@@ -979,8 +984,8 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
979
984
|
},
|
|
980
985
|
style: {
|
|
981
986
|
marginRight: 4,
|
|
982
|
-
backgroundColor: o == "cat" ?
|
|
983
|
-
border: `1.5px solid ${o == "cat" ?
|
|
987
|
+
backgroundColor: o == "cat" ? b : "white",
|
|
988
|
+
border: `1.5px solid ${o == "cat" ? b : f}`
|
|
984
989
|
}
|
|
985
990
|
}
|
|
986
991
|
),
|
|
@@ -989,14 +994,14 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
989
994
|
]
|
|
990
995
|
}
|
|
991
996
|
),
|
|
992
|
-
|
|
997
|
+
g && /* @__PURE__ */ s("div", { className: re.checkboxContainer, children: l.map((x, v) => {
|
|
993
998
|
var S;
|
|
994
999
|
return /* @__PURE__ */ s(
|
|
995
1000
|
Xe,
|
|
996
1001
|
{
|
|
997
1002
|
onClick: () => _({ valueClicked: v, allValues: l }),
|
|
998
|
-
indicator:
|
|
999
|
-
value: ((S =
|
|
1003
|
+
indicator: x,
|
|
1004
|
+
value: ((S = w[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : S.has(v)) || !w[n.code[t == "both" ? 1 : 0]]
|
|
1000
1005
|
},
|
|
1001
1006
|
`checkbox-${v}`
|
|
1002
1007
|
);
|
|
@@ -1008,7 +1013,7 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
1008
1013
|
min: a,
|
|
1009
1014
|
max: c,
|
|
1010
1015
|
unit: u,
|
|
1011
|
-
value:
|
|
1016
|
+
value: w[n.code[0]],
|
|
1012
1017
|
step: p
|
|
1013
1018
|
}
|
|
1014
1019
|
) })
|
|
@@ -1016,7 +1021,7 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
1016
1021
|
}
|
|
1017
1022
|
) });
|
|
1018
1023
|
};
|
|
1019
|
-
|
|
1024
|
+
De.propTypes = {
|
|
1020
1025
|
indicator: e.shape({
|
|
1021
1026
|
name: e.string,
|
|
1022
1027
|
type: e.string,
|
|
@@ -1037,14 +1042,14 @@ const et = ({
|
|
|
1037
1042
|
activeColor: o
|
|
1038
1043
|
//onChangeBothType,
|
|
1039
1044
|
}) => {
|
|
1040
|
-
const { activeSubcategory: i } =
|
|
1045
|
+
const { activeSubcategory: i } = L((l) => l), { name: t, indicators: r } = n || {};
|
|
1041
1046
|
return /* @__PURE__ */ s(
|
|
1042
1047
|
G,
|
|
1043
1048
|
{
|
|
1044
1049
|
title: t,
|
|
1045
1050
|
isOpen: i == `id${t}`,
|
|
1046
1051
|
onClick: () => {
|
|
1047
|
-
|
|
1052
|
+
L.setState((l) => ({
|
|
1048
1053
|
activeSubcategory: l.activeSubcategory === `id${t}` ? "" : `id${t}`
|
|
1049
1054
|
}));
|
|
1050
1055
|
},
|
|
@@ -1055,7 +1060,7 @@ const et = ({
|
|
|
1055
1060
|
color: d,
|
|
1056
1061
|
activeColor: o,
|
|
1057
1062
|
children: r == null ? void 0 : r.map((l, a) => /* @__PURE__ */ s(
|
|
1058
|
-
|
|
1063
|
+
De,
|
|
1059
1064
|
{
|
|
1060
1065
|
indicator: l,
|
|
1061
1066
|
fontColor: d,
|
|
@@ -1084,12 +1089,12 @@ const tt = ({
|
|
|
1084
1089
|
// onChangeBothType,
|
|
1085
1090
|
activeColor: d
|
|
1086
1091
|
}) => {
|
|
1087
|
-
const { name: o, subcategories: i, indicators: t } = n || {}, { activeCategory: r, fontColor: l } =
|
|
1092
|
+
const { name: o, subcategories: i, indicators: t } = n || {}, { activeCategory: r, fontColor: l } = L((a) => a);
|
|
1088
1093
|
return n && /* @__PURE__ */ s(
|
|
1089
1094
|
G,
|
|
1090
1095
|
{
|
|
1091
1096
|
onClick: () => {
|
|
1092
|
-
|
|
1097
|
+
L.setState((a) => ({
|
|
1093
1098
|
activeCategory: r === `id${o}` ? "" : `id${o}`
|
|
1094
1099
|
}));
|
|
1095
1100
|
},
|
|
@@ -1108,7 +1113,7 @@ const tt = ({
|
|
|
1108
1113
|
},
|
|
1109
1114
|
`subcategory-${c}`
|
|
1110
1115
|
)) : t && t.map((a, c) => /* @__PURE__ */ s(
|
|
1111
|
-
|
|
1116
|
+
De,
|
|
1112
1117
|
{
|
|
1113
1118
|
indicator: a,
|
|
1114
1119
|
fontColor: l,
|
|
@@ -1137,11 +1142,11 @@ const nt = ({
|
|
|
1137
1142
|
inputsColor: t = "#605B56",
|
|
1138
1143
|
activeColor: r
|
|
1139
1144
|
}) => {
|
|
1140
|
-
const { tematicalFiltersSelected: l } =
|
|
1141
|
-
return
|
|
1142
|
-
i &&
|
|
1143
|
-
}, [i]),
|
|
1144
|
-
t &&
|
|
1145
|
+
const { tematicalFiltersSelected: l } = L((c) => c), { t: a } = k();
|
|
1146
|
+
return D(() => {
|
|
1147
|
+
i && L.setState(() => ({ fontColor: i }));
|
|
1148
|
+
}, [i]), D(() => {
|
|
1149
|
+
t && L.setState(() => ({ inputsColor: t }));
|
|
1145
1150
|
}, [t]), /* @__PURE__ */ s(
|
|
1146
1151
|
G,
|
|
1147
1152
|
{
|
|
@@ -1189,54 +1194,54 @@ const I2 = "_FiltersAmbitContainer_1g9xx_2", R2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1189
1194
|
saveAmbit: c,
|
|
1190
1195
|
namePlaceholder: u,
|
|
1191
1196
|
descPlaceholder: p,
|
|
1192
|
-
filtersTypes:
|
|
1197
|
+
filtersTypes: g = ["geographical", "tematical"],
|
|
1193
1198
|
nameRequiredText: y
|
|
1194
1199
|
}) => {
|
|
1195
|
-
const { t:
|
|
1196
|
-
|
|
1197
|
-
o && o.length > 0 &&
|
|
1200
|
+
const { t: m } = k(), { tematicalFiltersSelected: C } = L((B) => B), [f, b] = M(n || null), [_, w] = M(d || null), [x, v] = M(!1);
|
|
1201
|
+
D(() => {
|
|
1202
|
+
o && o.length > 0 && L.setState((B) => ({
|
|
1198
1203
|
tematicalFiltersSelected: o
|
|
1199
1204
|
}));
|
|
1200
|
-
}, [o]),
|
|
1201
|
-
console.log("filtersSelected changed: ",
|
|
1202
|
-
}, [
|
|
1205
|
+
}, [o]), D(() => {
|
|
1206
|
+
console.log("filtersSelected changed: ", C), a(C);
|
|
1207
|
+
}, [C]);
|
|
1203
1208
|
const S = () => {
|
|
1204
|
-
|
|
1209
|
+
f ? c({ name: f, description: _ }) : v(!0);
|
|
1205
1210
|
};
|
|
1206
|
-
return /* @__PURE__ */
|
|
1207
|
-
/* @__PURE__ */
|
|
1211
|
+
return /* @__PURE__ */ h("div", { className: W.FiltersAmbitContainer, children: [
|
|
1212
|
+
/* @__PURE__ */ h("div", { className: W.FiltersAmbitHeader, children: [
|
|
1208
1213
|
/* @__PURE__ */ s("div", { className: W.FiltersAmbitTitle, children: /* @__PURE__ */ s(
|
|
1209
1214
|
"input",
|
|
1210
1215
|
{
|
|
1211
1216
|
type: "text",
|
|
1212
1217
|
onChange: (B) => {
|
|
1213
|
-
v(!1),
|
|
1218
|
+
v(!1), b(B.target.value);
|
|
1214
1219
|
},
|
|
1215
|
-
value:
|
|
1216
|
-
placeholder:
|
|
1220
|
+
value: f,
|
|
1221
|
+
placeholder: m(u)
|
|
1217
1222
|
}
|
|
1218
1223
|
) }),
|
|
1219
1224
|
/* @__PURE__ */ s("div", { className: W.FiltersAmbitDescription, children: /* @__PURE__ */ s("div", { className: W.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ s(
|
|
1220
1225
|
"textarea",
|
|
1221
1226
|
{
|
|
1222
1227
|
value: _,
|
|
1223
|
-
onChange: (B) =>
|
|
1224
|
-
placeholder:
|
|
1228
|
+
onChange: (B) => w(B.target.value),
|
|
1229
|
+
placeholder: m(p)
|
|
1225
1230
|
}
|
|
1226
1231
|
) }) })
|
|
1227
1232
|
] }),
|
|
1228
1233
|
/* @__PURE__ */ s(
|
|
1229
1234
|
We,
|
|
1230
1235
|
{
|
|
1231
|
-
title:
|
|
1236
|
+
title: m("applied_filters"),
|
|
1232
1237
|
isOpen: !0,
|
|
1233
1238
|
textColor: r || "#fff",
|
|
1234
1239
|
backgroundColor: l || "#605B5680",
|
|
1235
1240
|
activeColor: t
|
|
1236
1241
|
}
|
|
1237
1242
|
),
|
|
1238
|
-
|
|
1239
|
-
|
|
1243
|
+
g.includes("geographical") && /* @__PURE__ */ s(Je, { activeColor: t }),
|
|
1244
|
+
g.includes("tematical") && /* @__PURE__ */ s(
|
|
1240
1245
|
nt,
|
|
1241
1246
|
{
|
|
1242
1247
|
indicators: i,
|
|
@@ -1246,8 +1251,8 @@ const I2 = "_FiltersAmbitContainer_1g9xx_2", R2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1246
1251
|
activeColor: t
|
|
1247
1252
|
}
|
|
1248
1253
|
),
|
|
1249
|
-
|
|
1250
|
-
/* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(ce, { onClick: () => S(), children:
|
|
1254
|
+
x && /* @__PURE__ */ s("div", { className: W.warning, children: m(y) }),
|
|
1255
|
+
/* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(ce, { onClick: () => S(), children: m("save_ambit") }) })
|
|
1251
1256
|
] });
|
|
1252
1257
|
};
|
|
1253
1258
|
q2.propTypes = {
|
|
@@ -1279,13 +1284,13 @@ const Z2 = "_barChartContainer_d2f1z_2", H2 = {
|
|
|
1279
1284
|
numberOfDivisions: c = 7,
|
|
1280
1285
|
maxValue: u = null
|
|
1281
1286
|
}) => {
|
|
1282
|
-
const { t: p } = k(), { xScale:
|
|
1287
|
+
const { t: p } = k(), { xScale: g, ticks: y, height: m } = le(() => {
|
|
1283
1288
|
if (n && n.length > 0) {
|
|
1284
|
-
const
|
|
1289
|
+
const C = (n == null ? void 0 : n.length) * (o + i) + r * 2, f = $e.max(n, (w) => w.value) || 1, b = $e.scaleLinear().domain([0, u || f]).range([0, d - a]), _ = Array.from({ length: c + 1 }, (w, x) => u ? u / c * x : f / c * x);
|
|
1285
1290
|
return {
|
|
1286
|
-
xScale:
|
|
1291
|
+
xScale: b,
|
|
1287
1292
|
ticks: _,
|
|
1288
|
-
height:
|
|
1293
|
+
height: C,
|
|
1289
1294
|
width: d,
|
|
1290
1295
|
verticalPaddign: r,
|
|
1291
1296
|
horizontalPaddign: l
|
|
@@ -1302,33 +1307,33 @@ const Z2 = "_barChartContainer_d2f1z_2", H2 = {
|
|
|
1302
1307
|
r,
|
|
1303
1308
|
u
|
|
1304
1309
|
]);
|
|
1305
|
-
return /* @__PURE__ */ s("div", { className: H2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + l * 2, height:
|
|
1306
|
-
/* @__PURE__ */ s("g", { transform: `translate(${a + l}, 0)`, children: y.map((
|
|
1307
|
-
const
|
|
1308
|
-
return /* @__PURE__ */
|
|
1310
|
+
return /* @__PURE__ */ s("div", { className: H2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + l * 2, height: m, children: /* @__PURE__ */ h("g", { transform: `translate(0,${i})`, children: [
|
|
1311
|
+
/* @__PURE__ */ s("g", { transform: `translate(${a + l}, 0)`, children: y.map((C, f) => {
|
|
1312
|
+
const b = g(C);
|
|
1313
|
+
return /* @__PURE__ */ h("g", { transform: `translate(${b}, 0)`, children: [
|
|
1309
1314
|
/* @__PURE__ */ s(
|
|
1310
1315
|
"line",
|
|
1311
1316
|
{
|
|
1312
1317
|
y1: 0,
|
|
1313
|
-
y2:
|
|
1318
|
+
y2: m - i * 2,
|
|
1314
1319
|
stroke: "#ccc"
|
|
1315
1320
|
}
|
|
1316
1321
|
),
|
|
1317
1322
|
/* @__PURE__ */ s(
|
|
1318
1323
|
"text",
|
|
1319
1324
|
{
|
|
1320
|
-
y:
|
|
1325
|
+
y: m - i,
|
|
1321
1326
|
textAnchor: "middle",
|
|
1322
1327
|
fontSize: 10,
|
|
1323
1328
|
fill: t,
|
|
1324
|
-
children: parseInt(
|
|
1329
|
+
children: parseInt(C)
|
|
1325
1330
|
}
|
|
1326
1331
|
)
|
|
1327
|
-
] },
|
|
1332
|
+
] }, f);
|
|
1328
1333
|
}) }),
|
|
1329
|
-
n && n.length > 0 && (n == null ? void 0 : n.map((
|
|
1330
|
-
const
|
|
1331
|
-
return /* @__PURE__ */
|
|
1334
|
+
n && n.length > 0 && (n == null ? void 0 : n.map((C, f) => {
|
|
1335
|
+
const b = g(C.value), _ = f * (o + i);
|
|
1336
|
+
return /* @__PURE__ */ h(
|
|
1332
1337
|
"g",
|
|
1333
1338
|
{
|
|
1334
1339
|
transform: `translate(${a + l}, ${_})`,
|
|
@@ -1340,21 +1345,21 @@ const Z2 = "_barChartContainer_d2f1z_2", H2 = {
|
|
|
1340
1345
|
y: o / 2 + 5,
|
|
1341
1346
|
textAnchor: "end",
|
|
1342
1347
|
fill: t,
|
|
1343
|
-
children: p(
|
|
1348
|
+
children: p(C.title)
|
|
1344
1349
|
}
|
|
1345
1350
|
),
|
|
1346
1351
|
/* @__PURE__ */ s(
|
|
1347
1352
|
"rect",
|
|
1348
1353
|
{
|
|
1349
|
-
width:
|
|
1354
|
+
width: b,
|
|
1350
1355
|
height: o,
|
|
1351
|
-
fill:
|
|
1356
|
+
fill: C.color,
|
|
1352
1357
|
rx: 0
|
|
1353
1358
|
}
|
|
1354
1359
|
)
|
|
1355
1360
|
]
|
|
1356
1361
|
},
|
|
1357
|
-
|
|
1362
|
+
f
|
|
1358
1363
|
);
|
|
1359
1364
|
}))
|
|
1360
1365
|
] }) }) });
|
|
@@ -1390,7 +1395,7 @@ const K2 = "_graphicContainer_c9zrg_2", U2 = "_titleContainer_c9zrg_14", Ie = {
|
|
|
1390
1395
|
leftPadding: c = 200
|
|
1391
1396
|
}) => {
|
|
1392
1397
|
const { t: u } = k();
|
|
1393
|
-
return /* @__PURE__ */
|
|
1398
|
+
return /* @__PURE__ */ h(
|
|
1394
1399
|
"div",
|
|
1395
1400
|
{
|
|
1396
1401
|
className: Ie.graphicContainer,
|
|
@@ -1436,7 +1441,7 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1436
1441
|
indicatorsCategory: Y2,
|
|
1437
1442
|
title: W2,
|
|
1438
1443
|
list: J2
|
|
1439
|
-
}, X2 = "_indicatorContainer_lw8gx_2", Q2 = "_indicatorNameContainer_lw8gx_11", e0 = "_dot_lw8gx_20", t0 = "_indicatorName_lw8gx_11", n0 = "_switchExternalContainer_lw8gx_31", i0 = "_switchType_lw8gx_40", o0 = "_switchTypeOptions_lw8gx_44", s0 = "_optionContainer_lw8gx_55", r0 = "_customRadious_lw8gx_65", a0 = "_optionText_lw8gx_72",
|
|
1444
|
+
}, X2 = "_indicatorContainer_lw8gx_2", Q2 = "_indicatorNameContainer_lw8gx_11", e0 = "_dot_lw8gx_20", t0 = "_indicatorName_lw8gx_11", n0 = "_switchExternalContainer_lw8gx_31", i0 = "_switchType_lw8gx_40", o0 = "_switchTypeOptions_lw8gx_44", s0 = "_optionContainer_lw8gx_55", r0 = "_customRadious_lw8gx_65", a0 = "_optionText_lw8gx_72", F = {
|
|
1440
1445
|
indicatorContainer: X2,
|
|
1441
1446
|
indicatorNameContainer: Q2,
|
|
1442
1447
|
dot: e0,
|
|
@@ -1458,25 +1463,25 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1458
1463
|
multiple: a = !1,
|
|
1459
1464
|
onChangeType: c
|
|
1460
1465
|
}) => {
|
|
1461
|
-
const { t: u } = k(), { name: p, type:
|
|
1462
|
-
|
|
1463
|
-
t &&
|
|
1466
|
+
const { t: u } = k(), { name: p, type: g } = n, [y, m] = M(!1);
|
|
1467
|
+
D(() => {
|
|
1468
|
+
t && m(
|
|
1464
1469
|
a ? t.some(
|
|
1465
|
-
(
|
|
1470
|
+
(b) => b.name == String(p)
|
|
1466
1471
|
) : t.name == p
|
|
1467
1472
|
);
|
|
1468
1473
|
}, [t]);
|
|
1469
|
-
const
|
|
1470
|
-
/* @__PURE__ */
|
|
1474
|
+
const C = () => /* @__PURE__ */ s("div", { className: F.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: F.switchType, children: /* @__PURE__ */ h("div", { className: F.switchTypeOptions, children: [
|
|
1475
|
+
/* @__PURE__ */ h(
|
|
1471
1476
|
"div",
|
|
1472
1477
|
{
|
|
1473
|
-
className:
|
|
1478
|
+
className: F.optionContainer,
|
|
1474
1479
|
onClick: () => c("cat"),
|
|
1475
1480
|
children: [
|
|
1476
1481
|
/* @__PURE__ */ s(
|
|
1477
1482
|
"span",
|
|
1478
1483
|
{
|
|
1479
|
-
className: `${
|
|
1484
|
+
className: `${F.customRadious}`,
|
|
1480
1485
|
style: {
|
|
1481
1486
|
backgroundColor: r === "cat" ? o : "transparent",
|
|
1482
1487
|
borderColor: r === "cat" ? o : i
|
|
@@ -1486,7 +1491,7 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1486
1491
|
/* @__PURE__ */ s(
|
|
1487
1492
|
"h4",
|
|
1488
1493
|
{
|
|
1489
|
-
className:
|
|
1494
|
+
className: F.optionText,
|
|
1490
1495
|
style: {
|
|
1491
1496
|
color: r === "cat" ? o : i
|
|
1492
1497
|
},
|
|
@@ -1496,16 +1501,16 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1496
1501
|
]
|
|
1497
1502
|
}
|
|
1498
1503
|
),
|
|
1499
|
-
/* @__PURE__ */
|
|
1504
|
+
/* @__PURE__ */ h(
|
|
1500
1505
|
"div",
|
|
1501
1506
|
{
|
|
1502
|
-
className:
|
|
1507
|
+
className: F.optionContainer,
|
|
1503
1508
|
onClick: () => c("abs"),
|
|
1504
1509
|
children: [
|
|
1505
1510
|
/* @__PURE__ */ s(
|
|
1506
1511
|
"span",
|
|
1507
1512
|
{
|
|
1508
|
-
className: `${
|
|
1513
|
+
className: `${F.customRadious}`,
|
|
1509
1514
|
style: {
|
|
1510
1515
|
backgroundColor: r === "abs" ? o : "transparent",
|
|
1511
1516
|
borderColor: r === "abs" ? o : i
|
|
@@ -1515,7 +1520,7 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1515
1520
|
/* @__PURE__ */ s(
|
|
1516
1521
|
"h4",
|
|
1517
1522
|
{
|
|
1518
|
-
className:
|
|
1523
|
+
className: F.optionText,
|
|
1519
1524
|
style: {
|
|
1520
1525
|
color: r === "abs" ? o : i
|
|
1521
1526
|
},
|
|
@@ -1525,27 +1530,27 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1525
1530
|
]
|
|
1526
1531
|
}
|
|
1527
1532
|
)
|
|
1528
|
-
] }) }) }),
|
|
1533
|
+
] }) }) }), f = () => /* @__PURE__ */ s("div", { className: F.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: F.switchType, children: /* @__PURE__ */ s("div", { className: F.switchTypeOptions, children: d.map((b, _) => /* @__PURE__ */ h(
|
|
1529
1534
|
"div",
|
|
1530
1535
|
{
|
|
1531
|
-
className:
|
|
1536
|
+
className: F.optionContainer,
|
|
1532
1537
|
children: [
|
|
1533
1538
|
/* @__PURE__ */ s(
|
|
1534
1539
|
"span",
|
|
1535
1540
|
{
|
|
1536
|
-
className:
|
|
1541
|
+
className: F.customRadious
|
|
1537
1542
|
}
|
|
1538
1543
|
),
|
|
1539
|
-
/* @__PURE__ */ s("h4", { children: u(
|
|
1544
|
+
/* @__PURE__ */ s("h4", { children: u(b.unit) })
|
|
1540
1545
|
]
|
|
1541
1546
|
},
|
|
1542
1547
|
_
|
|
1543
1548
|
)) }) }) });
|
|
1544
|
-
return /* @__PURE__ */
|
|
1545
|
-
/* @__PURE__ */
|
|
1549
|
+
return /* @__PURE__ */ h("div", { className: F.indicatorContainer, children: [
|
|
1550
|
+
/* @__PURE__ */ h(
|
|
1546
1551
|
"div",
|
|
1547
1552
|
{
|
|
1548
|
-
className:
|
|
1553
|
+
className: F.indicatorNameContainer,
|
|
1549
1554
|
onClick: () => l({ indicator: n }),
|
|
1550
1555
|
children: [
|
|
1551
1556
|
/* @__PURE__ */ s(
|
|
@@ -1554,22 +1559,22 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1554
1559
|
style: {
|
|
1555
1560
|
border: y ? `1px solid ${o}` : `1px solid ${i}`
|
|
1556
1561
|
},
|
|
1557
|
-
className:
|
|
1562
|
+
className: F.dot
|
|
1558
1563
|
}
|
|
1559
1564
|
),
|
|
1560
1565
|
/* @__PURE__ */ s(
|
|
1561
1566
|
"h4",
|
|
1562
1567
|
{
|
|
1563
|
-
className:
|
|
1568
|
+
className: F.indicatorName,
|
|
1564
1569
|
style: { color: y ? o : i },
|
|
1565
|
-
children: /* @__PURE__ */ s(
|
|
1570
|
+
children: /* @__PURE__ */ s(Fe, { i18nKey: p, components: { sup: /* @__PURE__ */ s("sup", {}) } })
|
|
1566
1571
|
}
|
|
1567
1572
|
)
|
|
1568
1573
|
]
|
|
1569
1574
|
}
|
|
1570
1575
|
),
|
|
1571
|
-
(t == null ? void 0 : t.name) === p &&
|
|
1572
|
-
(t == null ? void 0 : t.name) === p &&
|
|
1576
|
+
(t == null ? void 0 : t.name) === p && g === "both" && /* @__PURE__ */ s("div", { children: C() }),
|
|
1577
|
+
(t == null ? void 0 : t.name) === p && g === "twoUnits" && /* @__PURE__ */ s("div", { children: f() })
|
|
1573
1578
|
] });
|
|
1574
1579
|
};
|
|
1575
1580
|
Te.propTypes = {
|
|
@@ -1599,42 +1604,42 @@ const l0 = "_indicatorsSubCategory_1dzsi_2", c0 = "_list_1dzsi_8", Re = {
|
|
|
1599
1604
|
onClickIndicator: c,
|
|
1600
1605
|
multiple: u,
|
|
1601
1606
|
activeIndicatorType: p,
|
|
1602
|
-
onChangeType:
|
|
1607
|
+
onChangeType: g
|
|
1603
1608
|
}) => {
|
|
1604
|
-
const { t: y } = k(), [
|
|
1605
|
-
return
|
|
1606
|
-
|
|
1607
|
-
}, [t, l]), /* @__PURE__ */
|
|
1608
|
-
|
|
1609
|
+
const { t: y } = k(), [m, C] = M(!1);
|
|
1610
|
+
return D(() => {
|
|
1611
|
+
C(t == l);
|
|
1612
|
+
}, [t, l]), /* @__PURE__ */ h(
|
|
1613
|
+
Le.div,
|
|
1609
1614
|
{
|
|
1610
1615
|
className: Re.indicatorsSubCategory,
|
|
1611
1616
|
initial: { height: "43px" },
|
|
1612
|
-
animate: { height:
|
|
1617
|
+
animate: { height: m ? "auto" : "43px" },
|
|
1613
1618
|
transition: { duration: 0.4 },
|
|
1614
1619
|
children: [
|
|
1615
|
-
/* @__PURE__ */ s("button", { onClick: () => r(l), children: /* @__PURE__ */
|
|
1616
|
-
/* @__PURE__ */ s("span", { style: { color:
|
|
1620
|
+
/* @__PURE__ */ s("button", { onClick: () => r(l), children: /* @__PURE__ */ h("h3", { style: { color: m ? i : o }, children: [
|
|
1621
|
+
/* @__PURE__ */ s("span", { style: { color: m ? i : o }, children: m ? "-" : "+" }),
|
|
1617
1622
|
/* @__PURE__ */ s(
|
|
1618
1623
|
"span",
|
|
1619
1624
|
{
|
|
1620
|
-
style: { marginLeft: 12, color:
|
|
1625
|
+
style: { marginLeft: 12, color: m ? i : o },
|
|
1621
1626
|
children: y(n)
|
|
1622
1627
|
}
|
|
1623
1628
|
)
|
|
1624
1629
|
] }) }),
|
|
1625
|
-
d && /* @__PURE__ */ s("div", { className: Re.list, children: d == null ? void 0 : d.map((
|
|
1630
|
+
d && /* @__PURE__ */ s("div", { className: Re.list, children: d == null ? void 0 : d.map((f, b) => /* @__PURE__ */ s(
|
|
1626
1631
|
Te,
|
|
1627
1632
|
{
|
|
1628
|
-
indicator:
|
|
1633
|
+
indicator: f,
|
|
1629
1634
|
defaultColor: o,
|
|
1630
1635
|
activeColor: i,
|
|
1631
1636
|
activeIndicator: a,
|
|
1632
1637
|
onClickIndicator: c,
|
|
1633
1638
|
multiple: u,
|
|
1634
1639
|
activeIndicatorType: p,
|
|
1635
|
-
onChangeType:
|
|
1640
|
+
onChangeType: g
|
|
1636
1641
|
},
|
|
1637
|
-
"indicator" +
|
|
1642
|
+
"indicator" + b
|
|
1638
1643
|
)) })
|
|
1639
1644
|
]
|
|
1640
1645
|
}
|
|
@@ -1664,41 +1669,41 @@ const st = ({
|
|
|
1664
1669
|
activeIndicator: c,
|
|
1665
1670
|
onClickIndicator: u,
|
|
1666
1671
|
multiple: p,
|
|
1667
|
-
activeIndicatorType:
|
|
1672
|
+
activeIndicatorType: g,
|
|
1668
1673
|
onChangeType: y
|
|
1669
1674
|
}) => {
|
|
1670
|
-
var
|
|
1671
|
-
const { t:
|
|
1672
|
-
return
|
|
1673
|
-
|
|
1674
|
-
}, [r, d]), /* @__PURE__ */
|
|
1675
|
-
|
|
1675
|
+
var b;
|
|
1676
|
+
const { t: m } = k(), [C, f] = M(!1);
|
|
1677
|
+
return D(() => {
|
|
1678
|
+
f(r === d);
|
|
1679
|
+
}, [r, d]), /* @__PURE__ */ h(
|
|
1680
|
+
Le.div,
|
|
1676
1681
|
{
|
|
1677
1682
|
className: Ce.indicatorsCategory,
|
|
1678
1683
|
initial: { height: "53px" },
|
|
1679
|
-
animate: { height:
|
|
1684
|
+
animate: { height: C ? "auto" : "53px" },
|
|
1680
1685
|
transition: { duration: 0.4 },
|
|
1681
1686
|
style: {
|
|
1682
1687
|
backgroundColor: "white",
|
|
1683
|
-
borderBottom:
|
|
1684
|
-
marginBottom:
|
|
1688
|
+
borderBottom: C ? `1px solid ${o}` : "0px",
|
|
1689
|
+
marginBottom: C ? "20px" : "0px"
|
|
1685
1690
|
},
|
|
1686
1691
|
children: [
|
|
1687
|
-
/* @__PURE__ */
|
|
1688
|
-
/* @__PURE__ */ s("span", { style: { color:
|
|
1692
|
+
/* @__PURE__ */ h("h2", { className: `${Ce.title}`, onClick: () => t(d), children: [
|
|
1693
|
+
/* @__PURE__ */ s("span", { style: { color: C ? o : i }, children: C ? "-" : "+" }),
|
|
1689
1694
|
/* @__PURE__ */ s(
|
|
1690
1695
|
"span",
|
|
1691
1696
|
{
|
|
1692
|
-
style: { marginLeft: 12, color:
|
|
1693
|
-
children:
|
|
1697
|
+
style: { marginLeft: 12, color: C ? o : i },
|
|
1698
|
+
children: m(n.name)
|
|
1694
1699
|
}
|
|
1695
1700
|
)
|
|
1696
1701
|
] }),
|
|
1697
1702
|
n.subcategories ? n.subcategories.map(
|
|
1698
|
-
({ name: _, subcategory:
|
|
1703
|
+
({ name: _, subcategory: w, indicators: x }, v) => /* @__PURE__ */ s(
|
|
1699
1704
|
ot,
|
|
1700
1705
|
{
|
|
1701
|
-
id:
|
|
1706
|
+
id: w,
|
|
1702
1707
|
activeSubCategory: l,
|
|
1703
1708
|
subcName: _,
|
|
1704
1709
|
onClickSubCategory: a,
|
|
@@ -1707,13 +1712,13 @@ const st = ({
|
|
|
1707
1712
|
multiple: p,
|
|
1708
1713
|
activeColor: o,
|
|
1709
1714
|
defaultColor: i,
|
|
1710
|
-
indicators:
|
|
1711
|
-
activeIndicatorType:
|
|
1715
|
+
indicators: x,
|
|
1716
|
+
activeIndicatorType: g,
|
|
1712
1717
|
onChangeType: y
|
|
1713
1718
|
},
|
|
1714
1719
|
`subcKey ${v}`
|
|
1715
1720
|
)
|
|
1716
|
-
) : /* @__PURE__ */ s("div", { className: Ce.list, children: (
|
|
1721
|
+
) : /* @__PURE__ */ s("div", { className: Ce.list, children: (b = n.indicators) == null ? void 0 : b.map((_, w) => /* @__PURE__ */ s(
|
|
1717
1722
|
Te,
|
|
1718
1723
|
{
|
|
1719
1724
|
indicator: _,
|
|
@@ -1723,10 +1728,10 @@ const st = ({
|
|
|
1723
1728
|
activeIndicator: c,
|
|
1724
1729
|
onClickIndicator: u,
|
|
1725
1730
|
multiple: p,
|
|
1726
|
-
activeIndicatorType:
|
|
1731
|
+
activeIndicatorType: g,
|
|
1727
1732
|
onChangeType: y
|
|
1728
1733
|
},
|
|
1729
|
-
`indicator${
|
|
1734
|
+
`indicator${w}`
|
|
1730
1735
|
)) })
|
|
1731
1736
|
]
|
|
1732
1737
|
}
|
|
@@ -1763,20 +1768,20 @@ const d0 = "_indicatorsList_fklyu_2", u0 = "_title_fklyu_6", Ee = {
|
|
|
1763
1768
|
changeIndType: l,
|
|
1764
1769
|
activeIndicatorType: a
|
|
1765
1770
|
}) => {
|
|
1766
|
-
const { t: c } = k(), [u, p] =
|
|
1771
|
+
const { t: c } = k(), [u, p] = M(), [g, y] = M(), [m, C] = M(), f = (v) => {
|
|
1767
1772
|
p(u == v ? null : v);
|
|
1768
|
-
},
|
|
1769
|
-
y(
|
|
1773
|
+
}, b = (v) => {
|
|
1774
|
+
y(g == v ? null : v);
|
|
1770
1775
|
}, _ = ({ indicator: v }) => {
|
|
1771
|
-
console.log("onClickIndicator: ", v),
|
|
1772
|
-
},
|
|
1776
|
+
console.log("onClickIndicator: ", v), w(v);
|
|
1777
|
+
}, w = (v) => {
|
|
1773
1778
|
if (!t)
|
|
1774
|
-
|
|
1775
|
-
(
|
|
1779
|
+
C(
|
|
1780
|
+
(m == null ? void 0 : m.name) == v.name ? null : v
|
|
1776
1781
|
);
|
|
1777
1782
|
else {
|
|
1778
|
-
let S =
|
|
1779
|
-
|
|
1783
|
+
let S = m && m.length > 0 ? [...m] : [];
|
|
1784
|
+
C(
|
|
1780
1785
|
S != null && S.some(
|
|
1781
1786
|
(B) => B.name == v.name
|
|
1782
1787
|
) ? S.filter(
|
|
@@ -1785,17 +1790,17 @@ const d0 = "_indicatorsList_fklyu_2", u0 = "_title_fklyu_6", Ee = {
|
|
|
1785
1790
|
), v.type == "both" && l("cat");
|
|
1786
1791
|
}
|
|
1787
1792
|
};
|
|
1788
|
-
|
|
1789
|
-
console.log("activeindicator changed to: ",
|
|
1790
|
-
}, [
|
|
1791
|
-
if (r && !
|
|
1793
|
+
D(() => {
|
|
1794
|
+
console.log("activeindicator changed to: ", m), i && typeof i == "function" && m && i({ activeIndicator: m });
|
|
1795
|
+
}, [m]), Ct(() => {
|
|
1796
|
+
if (r && !m)
|
|
1792
1797
|
if (t && r && Array.isArray(r)) {
|
|
1793
|
-
let v =
|
|
1794
|
-
|
|
1798
|
+
let v = m && m.length > 0 ? [...m] : [];
|
|
1799
|
+
C([...v, ...r]), x(r[0].name);
|
|
1795
1800
|
} else
|
|
1796
|
-
|
|
1801
|
+
w(r), x(r.name);
|
|
1797
1802
|
}, []);
|
|
1798
|
-
const
|
|
1803
|
+
const x = (v) => {
|
|
1799
1804
|
const S = n.find((B) => {
|
|
1800
1805
|
if (B.subcategories) {
|
|
1801
1806
|
let E = B.subcategories.find(
|
|
@@ -1808,19 +1813,19 @@ const d0 = "_indicatorsList_fklyu_2", u0 = "_title_fklyu_6", Ee = {
|
|
|
1808
1813
|
});
|
|
1809
1814
|
S && p(S.category);
|
|
1810
1815
|
};
|
|
1811
|
-
return /* @__PURE__ */
|
|
1816
|
+
return /* @__PURE__ */ h("div", { className: Ee.indicatorsList, children: [
|
|
1812
1817
|
/* @__PURE__ */ s("h2", { className: Ee.title, style: { color: o }, children: c("indicators.indicators") }),
|
|
1813
1818
|
n.map((v, S) => /* @__PURE__ */ s(
|
|
1814
1819
|
st,
|
|
1815
1820
|
{
|
|
1816
1821
|
id: v.category,
|
|
1817
1822
|
cat: v,
|
|
1818
|
-
onClickCategory:
|
|
1823
|
+
onClickCategory: f,
|
|
1819
1824
|
activeCategory: u,
|
|
1820
|
-
onClickSubCategory:
|
|
1821
|
-
activeSubCategory:
|
|
1825
|
+
onClickSubCategory: b,
|
|
1826
|
+
activeSubCategory: g,
|
|
1822
1827
|
onClickIndicator: _,
|
|
1823
|
-
activeIndicator:
|
|
1828
|
+
activeIndicator: m,
|
|
1824
1829
|
activeColor: d,
|
|
1825
1830
|
defaultColor: o,
|
|
1826
1831
|
multiple: t,
|
|
@@ -1850,11 +1855,11 @@ const m0 = "_langSelector_o9enq_2", h0 = "_currentLang_o9enq_14", g0 = "_arrow_o
|
|
|
1850
1855
|
prevImg: C0,
|
|
1851
1856
|
langMenu: f0
|
|
1852
1857
|
}, b0 = ({ langs: n, arrow: d, imgPrev: o }) => {
|
|
1853
|
-
const [i, t] =
|
|
1858
|
+
const [i, t] = M(!1), { i18n: r } = k(), l = n.find((c) => c.code == r.language), a = (c) => {
|
|
1854
1859
|
r.changeLanguage(c), t(!1);
|
|
1855
1860
|
};
|
|
1856
|
-
return /* @__PURE__ */
|
|
1857
|
-
/* @__PURE__ */
|
|
1861
|
+
return /* @__PURE__ */ h("div", { className: J.langSelector, children: [
|
|
1862
|
+
/* @__PURE__ */ h(
|
|
1858
1863
|
"div",
|
|
1859
1864
|
{
|
|
1860
1865
|
className: J.currentLang,
|
|
@@ -1893,20 +1898,20 @@ b0.propTypes = {
|
|
|
1893
1898
|
arrow: e.object,
|
|
1894
1899
|
imgPrev: e.object
|
|
1895
1900
|
};
|
|
1896
|
-
const y0 = "_legendContainer_atg3j_3", _0 = "_closeButton_atg3j_18", v0 = "_titleContainer_atg3j_46",
|
|
1901
|
+
const y0 = "_legendContainer_atg3j_3", _0 = "_closeButton_atg3j_18", v0 = "_titleContainer_atg3j_46", w0 = "_infoContainer_atg3j_52", x0 = "_titleLegendList_atg3j_63", k0 = "_legendListContainer_atg3j_70", N0 = "_gridContainer_atg3j_70", S0 = "_elementLegendContainer_atg3j_76", B0 = "_colorDot_atg3j_82", M0 = "_absoluteValueContainer_atg3j_88", F0 = "_absoluteValueColor_atg3j_91", L0 = "_absoluteValueText_atg3j_96", D0 = "_moreInfoContainer_atg3j_108", V = {
|
|
1897
1902
|
legendContainer: y0,
|
|
1898
1903
|
closeButton: _0,
|
|
1899
1904
|
titleContainer: v0,
|
|
1900
|
-
infoContainer:
|
|
1901
|
-
titleLegendList:
|
|
1905
|
+
infoContainer: w0,
|
|
1906
|
+
titleLegendList: x0,
|
|
1902
1907
|
legendListContainer: k0,
|
|
1903
1908
|
gridContainer: N0,
|
|
1904
1909
|
elementLegendContainer: S0,
|
|
1905
1910
|
colorDot: B0,
|
|
1906
|
-
absoluteValueContainer:
|
|
1907
|
-
absoluteValueColor:
|
|
1908
|
-
absoluteValueText:
|
|
1909
|
-
moreInfoContainer:
|
|
1911
|
+
absoluteValueContainer: M0,
|
|
1912
|
+
absoluteValueColor: F0,
|
|
1913
|
+
absoluteValueText: L0,
|
|
1914
|
+
moreInfoContainer: D0
|
|
1910
1915
|
}, T0 = ({
|
|
1911
1916
|
//JSON with the styles of the container (optional)
|
|
1912
1917
|
containerStyles: n,
|
|
@@ -1931,7 +1936,7 @@ const y0 = "_legendContainer_atg3j_3", _0 = "_closeButton_atg3j_18", v0 = "_titl
|
|
|
1931
1936
|
onClickClose: c
|
|
1932
1937
|
}) => {
|
|
1933
1938
|
const { t: u } = k();
|
|
1934
|
-
return /* @__PURE__ */
|
|
1939
|
+
return /* @__PURE__ */ h(
|
|
1935
1940
|
"div",
|
|
1936
1941
|
{
|
|
1937
1942
|
style: n ? { ...n } : {},
|
|
@@ -1939,15 +1944,15 @@ const y0 = "_legendContainer_atg3j_3", _0 = "_closeButton_atg3j_18", v0 = "_titl
|
|
|
1939
1944
|
children: [
|
|
1940
1945
|
/* @__PURE__ */ s("button", { className: V.closeButton, onClick: c }),
|
|
1941
1946
|
d && /* @__PURE__ */ s("div", { className: V.titleContainer, children: /* @__PURE__ */ s("h2", { children: d }) }),
|
|
1942
|
-
o && o.length > 0 && /* @__PURE__ */ s("div", { className: V.infoContainer, children: /* @__PURE__ */ s("ul", { children: o.map(({ title: p, value:
|
|
1947
|
+
o && o.length > 0 && /* @__PURE__ */ s("div", { className: V.infoContainer, children: /* @__PURE__ */ s("ul", { children: o.map(({ title: p, value: g }) => /* @__PURE__ */ h("li", { children: [
|
|
1943
1948
|
/* @__PURE__ */ s("h3", { className: V.title, children: `${p}:` }),
|
|
1944
|
-
/* @__PURE__ */
|
|
1949
|
+
/* @__PURE__ */ h("span", { className: V.value, children: [
|
|
1945
1950
|
" ",
|
|
1946
|
-
|
|
1951
|
+
g
|
|
1947
1952
|
] })
|
|
1948
1953
|
] }, d)) }) }),
|
|
1949
|
-
/* @__PURE__ */ s("h3", { className: V.titleLegendList, children: t ? /* @__PURE__ */ s(
|
|
1950
|
-
/* @__PURE__ */ s("div", { className: V.legendListContainer, children: r ? /* @__PURE__ */
|
|
1954
|
+
/* @__PURE__ */ s("h3", { className: V.titleLegendList, children: t ? /* @__PURE__ */ s(Fe, { i18nKey: t, components: { sup: /* @__PURE__ */ s("sup", {}) } }) : u("mainUse") }),
|
|
1955
|
+
/* @__PURE__ */ s("div", { className: V.legendListContainer, children: r ? /* @__PURE__ */ h("div", { className: V.absoluteValueContainer, children: [
|
|
1951
1956
|
/* @__PURE__ */ s(
|
|
1952
1957
|
"div",
|
|
1953
1958
|
{
|
|
@@ -1957,28 +1962,28 @@ const y0 = "_legendContainer_atg3j_3", _0 = "_closeButton_atg3j_18", v0 = "_titl
|
|
|
1957
1962
|
}
|
|
1958
1963
|
}
|
|
1959
1964
|
),
|
|
1960
|
-
/* @__PURE__ */
|
|
1961
|
-
/* @__PURE__ */
|
|
1965
|
+
/* @__PURE__ */ h("div", { className: V.absoluteValueText, children: [
|
|
1966
|
+
/* @__PURE__ */ h("span", { children: [
|
|
1962
1967
|
r.maxValue,
|
|
1963
1968
|
" ",
|
|
1964
1969
|
u(r.unit)
|
|
1965
1970
|
] }),
|
|
1966
|
-
/* @__PURE__ */
|
|
1971
|
+
/* @__PURE__ */ h("span", { children: [
|
|
1967
1972
|
r.minValue,
|
|
1968
1973
|
" ",
|
|
1969
1974
|
u(r.unit)
|
|
1970
1975
|
] })
|
|
1971
1976
|
] })
|
|
1972
1977
|
] }) : i && i.length > 0 && /* @__PURE__ */ s("div", { className: V.gridContainer, children: i.map(
|
|
1973
|
-
({ title: p, color:
|
|
1978
|
+
({ title: p, color: g }) => /* @__PURE__ */ h("div", { className: V.elementLegendContainer, children: [
|
|
1974
1979
|
/* @__PURE__ */ s(
|
|
1975
1980
|
"div",
|
|
1976
1981
|
{
|
|
1977
1982
|
className: V.colorDot,
|
|
1978
|
-
style: { backgroundColor:
|
|
1983
|
+
style: { backgroundColor: g }
|
|
1979
1984
|
}
|
|
1980
1985
|
),
|
|
1981
|
-
/* @__PURE__ */
|
|
1986
|
+
/* @__PURE__ */ h("div", { className: V.titleLegendElement, children: [
|
|
1982
1987
|
u(p),
|
|
1983
1988
|
" "
|
|
1984
1989
|
] })
|
|
@@ -2044,19 +2049,19 @@ const I0 = ({
|
|
|
2044
2049
|
sources: u = [],
|
|
2045
2050
|
layers: p = []
|
|
2046
2051
|
}) => {
|
|
2047
|
-
const
|
|
2048
|
-
return
|
|
2049
|
-
if (
|
|
2050
|
-
const
|
|
2051
|
-
|
|
2052
|
-
_.type == "symbol" && _.id != "professionals" && (
|
|
2052
|
+
const g = Me(), [y, m] = M(null), C = yt((f) => f.mapState.showTexts);
|
|
2053
|
+
return D(() => {
|
|
2054
|
+
if (g.current) {
|
|
2055
|
+
const f = g.current.getMap();
|
|
2056
|
+
f.getStyle().layers.map((_) => {
|
|
2057
|
+
_.type == "symbol" && _.id != "professionals" && (C ? f.setLayoutProperty(_.id, "visibility", "visible") : f.setLayoutProperty(_.id, "visibility", "none"));
|
|
2053
2058
|
});
|
|
2054
2059
|
}
|
|
2055
|
-
}, [
|
|
2060
|
+
}, [C]), /* @__PURE__ */ s("div", { className: `${O0.mapContainer}`, style: r, children: /* @__PURE__ */ h(
|
|
2056
2061
|
vt,
|
|
2057
2062
|
{
|
|
2058
2063
|
initialViewState: n,
|
|
2059
|
-
ref:
|
|
2064
|
+
ref: g,
|
|
2060
2065
|
hash: !1,
|
|
2061
2066
|
maxZoom: d,
|
|
2062
2067
|
minZoom: o,
|
|
@@ -2064,22 +2069,22 @@ const I0 = ({
|
|
|
2064
2069
|
onClick: l,
|
|
2065
2070
|
interactiveLayerIds: a,
|
|
2066
2071
|
children: [
|
|
2067
|
-
u.length && u.map((
|
|
2068
|
-
|
|
2072
|
+
u.length && u.map((f, b) => /* @__PURE__ */ s(
|
|
2073
|
+
wt,
|
|
2069
2074
|
{
|
|
2070
|
-
...
|
|
2071
|
-
children: p.length && p.map((_,
|
|
2072
|
-
if (_.sourceId ==
|
|
2073
|
-
|
|
2075
|
+
...f,
|
|
2076
|
+
children: p.length && p.map((_, w) => {
|
|
2077
|
+
if (_.sourceId == f.id) return /* @__PURE__ */ s(
|
|
2078
|
+
xt,
|
|
2074
2079
|
{
|
|
2075
2080
|
..._.layer,
|
|
2076
2081
|
beforeId: t
|
|
2077
2082
|
},
|
|
2078
|
-
|
|
2083
|
+
w
|
|
2079
2084
|
);
|
|
2080
2085
|
})
|
|
2081
2086
|
},
|
|
2082
|
-
|
|
2087
|
+
b
|
|
2083
2088
|
)),
|
|
2084
2089
|
/* @__PURE__ */ s(kt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2085
2090
|
c && y && /* @__PURE__ */ s(
|
|
@@ -2088,7 +2093,7 @@ const I0 = ({
|
|
|
2088
2093
|
longitude: c.longitude,
|
|
2089
2094
|
latitude: c.latitude,
|
|
2090
2095
|
anchor: c.anchor,
|
|
2091
|
-
onClose: () =>
|
|
2096
|
+
onClose: () => m(null),
|
|
2092
2097
|
children: c.content
|
|
2093
2098
|
}
|
|
2094
2099
|
)
|
|
@@ -2148,9 +2153,9 @@ const R0 = "_mapContainer_b0pyr_3", E0 = {
|
|
|
2148
2153
|
title: j0
|
|
2149
2154
|
}, z0 = ({ props: n }) => {
|
|
2150
2155
|
const { t: d } = k();
|
|
2151
|
-
return /* @__PURE__ */ s("div", { className: je.FeaturePopUp, children: n.map((o) => /* @__PURE__ */
|
|
2152
|
-
/* @__PURE__ */
|
|
2153
|
-
/* @__PURE__ */ s(
|
|
2156
|
+
return /* @__PURE__ */ s("div", { className: je.FeaturePopUp, children: n.map((o) => /* @__PURE__ */ h("p", { children: [
|
|
2157
|
+
/* @__PURE__ */ h("span", { className: je.title, children: [
|
|
2158
|
+
/* @__PURE__ */ s(Fe, { i18nKey: o.name, components: { sup: /* @__PURE__ */ s("sup", {}) } }),
|
|
2154
2159
|
": "
|
|
2155
2160
|
] }),
|
|
2156
2161
|
o.value.toLocaleString("de", { maximumFractionDigits: 2 }),
|
|
@@ -2169,30 +2174,30 @@ const R0 = "_mapContainer_b0pyr_3", E0 = {
|
|
|
2169
2174
|
sources: c = [],
|
|
2170
2175
|
layers: u = [],
|
|
2171
2176
|
filters: p,
|
|
2172
|
-
popUpParams:
|
|
2177
|
+
popUpParams: g,
|
|
2173
2178
|
onClosePopUp: y,
|
|
2174
|
-
showTexts:
|
|
2179
|
+
showTexts: m
|
|
2175
2180
|
}) => {
|
|
2176
2181
|
console.log(p);
|
|
2177
|
-
const
|
|
2178
|
-
return
|
|
2179
|
-
if (
|
|
2180
|
-
const
|
|
2181
|
-
|
|
2182
|
-
_.type == "symbol" && _.id != "professionals" && (
|
|
2182
|
+
const C = Me();
|
|
2183
|
+
return D(() => {
|
|
2184
|
+
if (C.current) {
|
|
2185
|
+
const f = C.current.getMap();
|
|
2186
|
+
f.getStyle().layers.map((_) => {
|
|
2187
|
+
_.type == "symbol" && _.id != "professionals" && (m ? f.setLayoutProperty(_.id, "visibility", "visible") : f.setLayoutProperty(_.id, "visibility", "none"));
|
|
2183
2188
|
});
|
|
2184
2189
|
}
|
|
2185
|
-
}, [
|
|
2186
|
-
let
|
|
2187
|
-
return pe.addProtocol("pmtiles",
|
|
2190
|
+
}, [m]), D(() => {
|
|
2191
|
+
let f = new St();
|
|
2192
|
+
return pe.addProtocol("pmtiles", f.tile), () => {
|
|
2188
2193
|
pe.removeProtocol("pmtiles");
|
|
2189
2194
|
};
|
|
2190
|
-
}, []), /* @__PURE__ */ s("div", { className: `${E0.mapContainer}`, style: r && r, children: /* @__PURE__ */
|
|
2195
|
+
}, []), /* @__PURE__ */ s("div", { className: `${E0.mapContainer}`, style: r && r, children: /* @__PURE__ */ h(
|
|
2191
2196
|
Bt,
|
|
2192
2197
|
{
|
|
2193
2198
|
mapLib: pe,
|
|
2194
2199
|
initialViewState: n,
|
|
2195
|
-
ref:
|
|
2200
|
+
ref: C,
|
|
2196
2201
|
hash: !1,
|
|
2197
2202
|
maxZoom: d,
|
|
2198
2203
|
minZoom: o,
|
|
@@ -2200,32 +2205,32 @@ const R0 = "_mapContainer_b0pyr_3", E0 = {
|
|
|
2200
2205
|
onClick: l,
|
|
2201
2206
|
interactiveLayerIds: a,
|
|
2202
2207
|
children: [
|
|
2203
|
-
c.length && c.map((
|
|
2204
|
-
|
|
2208
|
+
c.length && c.map((f, b) => /* @__PURE__ */ s(
|
|
2209
|
+
Mt,
|
|
2205
2210
|
{
|
|
2206
|
-
...
|
|
2207
|
-
children: u.length && u.map((_,
|
|
2208
|
-
if (_.sourceId ==
|
|
2209
|
-
|
|
2211
|
+
...f,
|
|
2212
|
+
children: u.length && u.map((_, w) => {
|
|
2213
|
+
if (_.sourceId == f.id) return /* @__PURE__ */ s(
|
|
2214
|
+
Ft,
|
|
2210
2215
|
{
|
|
2211
2216
|
..._.layer,
|
|
2212
2217
|
beforeId: t,
|
|
2213
2218
|
filter: p && p
|
|
2214
2219
|
},
|
|
2215
|
-
|
|
2220
|
+
w
|
|
2216
2221
|
);
|
|
2217
2222
|
})
|
|
2218
2223
|
},
|
|
2219
|
-
|
|
2224
|
+
b
|
|
2220
2225
|
)),
|
|
2221
|
-
/* @__PURE__ */ s(
|
|
2222
|
-
|
|
2223
|
-
|
|
2226
|
+
/* @__PURE__ */ s(Lt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2227
|
+
g && /* @__PURE__ */ s(
|
|
2228
|
+
Dt,
|
|
2224
2229
|
{
|
|
2225
|
-
longitude:
|
|
2226
|
-
latitude:
|
|
2230
|
+
longitude: g.lng,
|
|
2231
|
+
latitude: g.lat,
|
|
2227
2232
|
onClose: y,
|
|
2228
|
-
children: /* @__PURE__ */ s(z0, { props:
|
|
2233
|
+
children: /* @__PURE__ */ s(z0, { props: g.props })
|
|
2229
2234
|
}
|
|
2230
2235
|
)
|
|
2231
2236
|
]
|
|
@@ -2282,7 +2287,7 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
|
|
|
2282
2287
|
title: U0,
|
|
2283
2288
|
subtitle: G0,
|
|
2284
2289
|
rightContent: Y0
|
|
2285
|
-
},
|
|
2290
|
+
}, En = ({
|
|
2286
2291
|
leftIcon: n,
|
|
2287
2292
|
title: d,
|
|
2288
2293
|
subtitle: o,
|
|
@@ -2291,10 +2296,10 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
|
|
|
2291
2296
|
width: r
|
|
2292
2297
|
}) => {
|
|
2293
2298
|
const { t: l } = k();
|
|
2294
|
-
return /* @__PURE__ */
|
|
2295
|
-
/* @__PURE__ */
|
|
2299
|
+
return /* @__PURE__ */ h("div", { className: H.sectionBar, style: { width: r && r }, children: [
|
|
2300
|
+
/* @__PURE__ */ h("div", { className: H.leftContent, children: [
|
|
2296
2301
|
n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className: H.icon }),
|
|
2297
|
-
/* @__PURE__ */
|
|
2302
|
+
/* @__PURE__ */ h("div", { className: H.textContainer, children: [
|
|
2298
2303
|
/* @__PURE__ */ s("div", { className: H.title, children: l(d) }),
|
|
2299
2304
|
o && /* @__PURE__ */ s("div", { className: H.subtitle, children: o })
|
|
2300
2305
|
] })
|
|
@@ -2327,36 +2332,36 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
|
|
|
2327
2332
|
n.activeIndicatorUnit = d.payload;
|
|
2328
2333
|
}
|
|
2329
2334
|
}
|
|
2330
|
-
}), { setShowTexts:
|
|
2335
|
+
}), { setShowTexts: Pn, setYear: fe, setActiveIndicatorKey: jn, setActiveIndicatorType: zn, setActiveIndicatorUnit: qn } = W0.actions, J0 = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20d='M15.2722%2012.6627C15.2722%2011.8929%2016.1055%2011.4118%2016.7722%2011.7967L31.5641%2020.3368C32.2308%2020.7217%2032.2308%2021.684%2031.5641%2022.0689L16.7722%2030.609C16.1055%2030.9939%2015.2722%2030.5128%2015.2722%2029.743L15.2722%2012.6627Z'%20fill='%23605B56'/%3e%3c/svg%3e", X0 = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3crect%20x='15'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3crect%20x='23'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3c/svg%3e", Q0 = "_slider_a19yo_2", e1 = "_playButton_a19yo_17", t1 = "_sliderOpen_a19yo_28", n1 = "_sliderResults_a19yo_32", te = {
|
|
2331
2336
|
slider: Q0,
|
|
2332
2337
|
playButton: e1,
|
|
2333
2338
|
sliderOpen: t1,
|
|
2334
2339
|
sliderResults: n1
|
|
2335
2340
|
}, i1 = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: o = 2025, lastYear: i = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
|
|
2336
|
-
const [l, a] =
|
|
2337
|
-
a(
|
|
2338
|
-
}, [p,
|
|
2339
|
-
|
|
2340
|
-
},
|
|
2341
|
-
|
|
2341
|
+
const [l, a] = M(d), c = _t(), u = (_, w) => {
|
|
2342
|
+
a(w), c(fe(w - 2e3));
|
|
2343
|
+
}, [p, g] = M(!1), y = () => {
|
|
2344
|
+
g(!0);
|
|
2345
|
+
}, m = () => {
|
|
2346
|
+
g(!1);
|
|
2342
2347
|
};
|
|
2343
|
-
((_,
|
|
2344
|
-
const
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
}, [_]),
|
|
2348
|
+
((_, w) => {
|
|
2349
|
+
const x = Me();
|
|
2350
|
+
D(() => {
|
|
2351
|
+
x.current = _;
|
|
2352
|
+
}, [_]), D(() => {
|
|
2348
2353
|
function v() {
|
|
2349
|
-
|
|
2354
|
+
x.current();
|
|
2350
2355
|
}
|
|
2351
2356
|
{
|
|
2352
|
-
let S = setInterval(v,
|
|
2357
|
+
let S = setInterval(v, w);
|
|
2353
2358
|
return () => clearInterval(S);
|
|
2354
2359
|
}
|
|
2355
|
-
}, [
|
|
2360
|
+
}, [w]);
|
|
2356
2361
|
})(() => {
|
|
2357
2362
|
p && (l != 2050 ? (a(l + 1), c(fe(l - 2e3 + 1))) : (a(2025), c(fe(25))));
|
|
2358
2363
|
}, 1e3);
|
|
2359
|
-
const
|
|
2364
|
+
const f = $t({
|
|
2360
2365
|
palette: {
|
|
2361
2366
|
primary: {
|
|
2362
2367
|
main: "#605b56"
|
|
@@ -2378,13 +2383,13 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
|
|
|
2378
2383
|
}
|
|
2379
2384
|
}
|
|
2380
2385
|
}
|
|
2381
|
-
}),
|
|
2386
|
+
}), b = [
|
|
2382
2387
|
{ label: "", value: 2025 },
|
|
2383
2388
|
{ label: "", value: 2032 },
|
|
2384
2389
|
{ label: "", value: 2041 },
|
|
2385
2390
|
{ label: "", value: 2050 }
|
|
2386
2391
|
];
|
|
2387
|
-
return /* @__PURE__ */ s(Ot, { theme:
|
|
2392
|
+
return /* @__PURE__ */ s(Ot, { theme: f, children: /* @__PURE__ */ h(
|
|
2388
2393
|
At,
|
|
2389
2394
|
{
|
|
2390
2395
|
sx: { width: 400 },
|
|
@@ -2399,7 +2404,7 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
|
|
|
2399
2404
|
value: l,
|
|
2400
2405
|
valueLabelDisplay: "on",
|
|
2401
2406
|
step: 1,
|
|
2402
|
-
marks:
|
|
2407
|
+
marks: b,
|
|
2403
2408
|
min: o,
|
|
2404
2409
|
max: i,
|
|
2405
2410
|
onChange: u,
|
|
@@ -2409,7 +2414,7 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
|
|
|
2409
2414
|
),
|
|
2410
2415
|
i,
|
|
2411
2416
|
!p && /* @__PURE__ */ s("button", { className: te.playButton, onClick: y, children: /* @__PURE__ */ s("img", { src: J0, alt: "Play" }) }),
|
|
2412
|
-
p && /* @__PURE__ */ s("button", { className: te.playButton, onClick:
|
|
2417
|
+
p && /* @__PURE__ */ s("button", { className: te.playButton, onClick: m, children: /* @__PURE__ */ s("img", { src: X0, alt: "Pause" }) })
|
|
2413
2418
|
]
|
|
2414
2419
|
}
|
|
2415
2420
|
) });
|
|
@@ -2501,17 +2506,17 @@ const u1 = "_elementSelector_fd7az_2", p1 = "_header_fd7az_13", m1 = "_nameDateC
|
|
|
2501
2506
|
buttonsContainer: C1,
|
|
2502
2507
|
elementListContainer: f1,
|
|
2503
2508
|
newElementButtonContainer: b1
|
|
2504
|
-
}, y1 = "_listElement_1s506_2", _1 = "_elementNameDate_1s506_17", v1 = "_elementNameContainer_1s506_27",
|
|
2509
|
+
}, y1 = "_listElement_1s506_2", _1 = "_elementNameDate_1s506_17", v1 = "_elementNameContainer_1s506_27", w1 = "_elementName_1s506_17", x1 = "_elementDate_1s506_42", k1 = "_elementButtons_1s506_45", N1 = "_moreInfoContainer_1s506_68", S1 = "_moreInfo_1s506_68", O = {
|
|
2505
2510
|
listElement: y1,
|
|
2506
2511
|
elementNameDate: _1,
|
|
2507
2512
|
elementNameContainer: v1,
|
|
2508
|
-
elementName:
|
|
2509
|
-
elementDate:
|
|
2513
|
+
elementName: w1,
|
|
2514
|
+
elementDate: x1,
|
|
2510
2515
|
elementButtons: k1,
|
|
2511
2516
|
break: "_break_1s506_63",
|
|
2512
2517
|
moreInfoContainer: N1,
|
|
2513
2518
|
moreInfo: S1
|
|
2514
|
-
}, B1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", F1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", M1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", D1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", L1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='15.3062'%20cy='15.2144'%20r='14.3521'%20stroke='%2392898A'%20stroke-width='1.5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9898%2012.7234V9.89008C11.9898%208.88815%2012.3811%207.92726%2013.0777%207.21879C13.7743%206.51032%2014.719%206.1123%2015.7041%206.1123C16.6892%206.1123%2017.6339%206.51032%2018.3305%207.21879C19.0271%207.92726%2019.4184%208.88815%2019.4184%209.89008V12.7234H20.347C20.8395%2012.7234%2021.3119%2012.9224%2021.6602%2013.2767C22.0084%2013.6309%2022.2041%2014.1113%2022.2041%2014.6123V21.2234C22.2041%2021.7244%2022.0084%2022.2048%2021.6602%2022.5591C21.3119%2022.9133%2020.8395%2023.1123%2020.347%2023.1123H11.0612C10.5687%2023.1123%2010.0963%2022.9133%209.74805%2022.5591C9.39976%2022.2048%209.2041%2021.7244%209.2041%2021.2234V14.6123C9.2041%2014.1113%209.39976%2013.6309%209.74805%2013.2767C10.0963%2012.9224%2010.5687%2012.7234%2011.0612%2012.7234H11.9898ZM13.847%209.89008C13.847%209.38912%2014.0426%208.90867%2014.3909%208.55444C14.7392%208.2002%2015.2116%208.00119%2015.7041%208.00119C16.1966%208.00119%2016.669%208.2002%2017.0173%208.55444C17.3656%208.90867%2017.5612%209.38912%2017.5612%209.89008V12.7234H13.847V9.89008ZM15.7041%2015.5567C15.9504%2015.5567%2016.1866%2015.6563%2016.3607%2015.8334C16.5348%2016.0105%2016.6327%2016.2507%2016.6327%2016.5012V19.3345C16.6327%2019.585%2016.5348%2019.8252%2016.3607%2020.0023C16.1866%2020.1795%2015.9504%2020.279%2015.7041%2020.279C15.4578%2020.279%2015.2216%2020.1795%2015.0475%2020.0023C14.8734%2019.8252%2014.7755%2019.585%2014.7755%2019.3345V16.5012C14.7755%2016.2507%2014.8734%2016.0105%2015.0475%2015.8334C15.2216%2015.6563%2015.4578%2015.5567%2015.7041%2015.5567Z'%20fill='%2392898A'/%3e%3c/svg%3e";
|
|
2519
|
+
}, B1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", M1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", F1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", L1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", D1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='15.3062'%20cy='15.2144'%20r='14.3521'%20stroke='%2392898A'%20stroke-width='1.5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9898%2012.7234V9.89008C11.9898%208.88815%2012.3811%207.92726%2013.0777%207.21879C13.7743%206.51032%2014.719%206.1123%2015.7041%206.1123C16.6892%206.1123%2017.6339%206.51032%2018.3305%207.21879C19.0271%207.92726%2019.4184%208.88815%2019.4184%209.89008V12.7234H20.347C20.8395%2012.7234%2021.3119%2012.9224%2021.6602%2013.2767C22.0084%2013.6309%2022.2041%2014.1113%2022.2041%2014.6123V21.2234C22.2041%2021.7244%2022.0084%2022.2048%2021.6602%2022.5591C21.3119%2022.9133%2020.8395%2023.1123%2020.347%2023.1123H11.0612C10.5687%2023.1123%2010.0963%2022.9133%209.74805%2022.5591C9.39976%2022.2048%209.2041%2021.7244%209.2041%2021.2234V14.6123C9.2041%2014.1113%209.39976%2013.6309%209.74805%2013.2767C10.0963%2012.9224%2010.5687%2012.7234%2011.0612%2012.7234H11.9898ZM13.847%209.89008C13.847%209.38912%2014.0426%208.90867%2014.3909%208.55444C14.7392%208.2002%2015.2116%208.00119%2015.7041%208.00119C16.1966%208.00119%2016.669%208.2002%2017.0173%208.55444C17.3656%208.90867%2017.5612%209.38912%2017.5612%209.89008V12.7234H13.847V9.89008ZM15.7041%2015.5567C15.9504%2015.5567%2016.1866%2015.6563%2016.3607%2015.8334C16.5348%2016.0105%2016.6327%2016.2507%2016.6327%2016.5012V19.3345C16.6327%2019.585%2016.5348%2019.8252%2016.3607%2020.0023C16.1866%2020.1795%2015.9504%2020.279%2015.7041%2020.279C15.4578%2020.279%2015.2216%2020.1795%2015.0475%2020.0023C14.8734%2019.8252%2014.7755%2019.585%2014.7755%2019.3345V16.5012C14.7755%2016.2507%2014.8734%2016.0105%2015.0475%2015.8334C15.2216%2015.6563%2015.4578%2015.5567%2015.7041%2015.5567Z'%20fill='%2392898A'/%3e%3c/svg%3e";
|
|
2515
2520
|
var ze;
|
|
2516
2521
|
function Se() {
|
|
2517
2522
|
return Se = Object.assign ? Object.assign.bind() : function(n) {
|
|
@@ -2548,15 +2553,15 @@ const V1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2548
2553
|
processTooltip: c,
|
|
2549
2554
|
defaultTooltip: u
|
|
2550
2555
|
}) => {
|
|
2551
|
-
const { nom: p, created_at:
|
|
2552
|
-
return /* @__PURE__ */
|
|
2556
|
+
const { nom: p, created_at: g, id: y, isBeingProcessed: m } = n, [C, f] = M(!1), { t: b } = k();
|
|
2557
|
+
return /* @__PURE__ */ h(
|
|
2553
2558
|
"div",
|
|
2554
2559
|
{
|
|
2555
2560
|
className: O.listElement,
|
|
2556
2561
|
style: { borderBottom: `1px solid ${t}` },
|
|
2557
2562
|
children: [
|
|
2558
|
-
/* @__PURE__ */
|
|
2559
|
-
l.nom && /* @__PURE__ */ s("div", { className: O.elementNameContainer, children: /* @__PURE__ */
|
|
2563
|
+
/* @__PURE__ */ h("div", { className: O.elementNameDate, onClick: () => d(y), children: [
|
|
2564
|
+
l.nom && /* @__PURE__ */ s("div", { className: O.elementNameContainer, children: /* @__PURE__ */ h("div", { className: O.elementName, children: [
|
|
2560
2565
|
o ? /* @__PURE__ */ s(T1, { style: { color: i, marginRight: 9 } }) : /* @__PURE__ */ s(
|
|
2561
2566
|
"img",
|
|
2562
2567
|
{
|
|
@@ -2566,39 +2571,39 @@ const V1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2566
2571
|
),
|
|
2567
2572
|
/* @__PURE__ */ s("span", { style: { color: o ? i : t }, children: p })
|
|
2568
2573
|
] }) }),
|
|
2569
|
-
l.data && /* @__PURE__ */ s("div", { className: O.elementDate, children:
|
|
2574
|
+
l.data && /* @__PURE__ */ s("div", { className: O.elementDate, children: g ? new Date(g).toLocaleDateString() : "" }),
|
|
2570
2575
|
l.ambit && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.ambit }),
|
|
2571
2576
|
l.escenari && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.escenari })
|
|
2572
2577
|
] }),
|
|
2573
|
-
/* @__PURE__ */
|
|
2574
|
-
n.processing && /* @__PURE__ */
|
|
2575
|
-
/* @__PURE__ */ s("img", { src:
|
|
2578
|
+
/* @__PURE__ */ h("div", { className: O.elementButtons, children: [
|
|
2579
|
+
n.processing && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2580
|
+
/* @__PURE__ */ s("img", { src: L1 }),
|
|
2576
2581
|
/* @__PURE__ */ s(U, { text: c, position: "left" })
|
|
2577
2582
|
] }),
|
|
2578
|
-
a.filter && !n.is_default && /* @__PURE__ */
|
|
2579
|
-
/* @__PURE__ */ s("button", { onClick: () => a.filter.onclick(n), children: /* @__PURE__ */ s("img", { src:
|
|
2583
|
+
a.filter && !n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2584
|
+
/* @__PURE__ */ s("button", { onClick: () => a.filter.onclick(n), children: /* @__PURE__ */ s("img", { src: F1 }) }),
|
|
2580
2585
|
/* @__PURE__ */ s(U, { text: a.filter.tooltiptext, position: "left" })
|
|
2581
2586
|
] }),
|
|
2582
|
-
a.copy && /* @__PURE__ */
|
|
2583
|
-
/* @__PURE__ */ s("button", { onClick: () => a.copy.onclick(n), children: /* @__PURE__ */ s("img", { src:
|
|
2587
|
+
a.copy && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2588
|
+
/* @__PURE__ */ s("button", { onClick: () => a.copy.onclick(n), children: /* @__PURE__ */ s("img", { src: M1 }) }),
|
|
2584
2589
|
/* @__PURE__ */ s(U, { text: a.copy.tooltiptext, position: "left" })
|
|
2585
2590
|
] }),
|
|
2586
|
-
a.trash && !n.is_default && /* @__PURE__ */
|
|
2591
|
+
a.trash && !n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2587
2592
|
/* @__PURE__ */ s("button", { onClick: () => a.trash.onclick(n), children: /* @__PURE__ */ s("img", { src: B1 }) }),
|
|
2588
2593
|
/* @__PURE__ */ s(U, { text: a.trash.tooltiptext, position: "left" })
|
|
2589
2594
|
] }),
|
|
2590
|
-
n.is_default && /* @__PURE__ */
|
|
2591
|
-
/* @__PURE__ */ s("img", { src:
|
|
2595
|
+
n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2596
|
+
/* @__PURE__ */ s("img", { src: D1 }),
|
|
2592
2597
|
/* @__PURE__ */ s(U, { text: u, position: "left" })
|
|
2593
2598
|
] })
|
|
2594
2599
|
] }),
|
|
2595
2600
|
r && /* @__PURE__ */ s("div", { className: O.break }),
|
|
2596
|
-
r && /* @__PURE__ */
|
|
2597
|
-
/* @__PURE__ */
|
|
2598
|
-
/* @__PURE__ */ s("span", { children:
|
|
2599
|
-
|
|
2601
|
+
r && /* @__PURE__ */ h("div", { className: O.moreInfoContainer, children: [
|
|
2602
|
+
/* @__PURE__ */ h("div", { className: O.moreInfo, onClick: () => f(!C), children: [
|
|
2603
|
+
/* @__PURE__ */ s("span", { children: C ? "-" : "+" }),
|
|
2604
|
+
b(r.label)
|
|
2600
2605
|
] }),
|
|
2601
|
-
r &&
|
|
2606
|
+
r && C && /* @__PURE__ */ s("div", { className: O.moreInfoInfo, children: n[r.info] })
|
|
2602
2607
|
] })
|
|
2603
2608
|
]
|
|
2604
2609
|
}
|
|
@@ -2648,57 +2653,57 @@ const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2648
2653
|
containerStyles: r = {},
|
|
2649
2654
|
newElementButton: l,
|
|
2650
2655
|
//{label: 'text', onClick: function()}/null
|
|
2651
|
-
onClickElement: a = (
|
|
2656
|
+
onClickElement: a = (m) => console.log(`OnCLickElement: ${m}`),
|
|
2652
2657
|
columns: c,
|
|
2653
2658
|
// {'nom': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
|
|
2654
2659
|
elementButtons: u,
|
|
2655
2660
|
//{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
|
|
2656
2661
|
moreInfo: p = !1,
|
|
2657
2662
|
//{label: 'x'}
|
|
2658
|
-
processTooltip:
|
|
2663
|
+
processTooltip: g,
|
|
2659
2664
|
//texto para el tooltip del simbolo "En proceso"
|
|
2660
2665
|
defaultTooltip: y
|
|
2661
2666
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
2662
2667
|
}) => {
|
|
2663
|
-
const { t:
|
|
2664
|
-
|
|
2665
|
-
n &&
|
|
2668
|
+
const { t: m } = k(), [C, f] = M(n);
|
|
2669
|
+
D(() => {
|
|
2670
|
+
n && f(n);
|
|
2666
2671
|
}, [n]);
|
|
2667
|
-
const
|
|
2668
|
-
if (
|
|
2669
|
-
let
|
|
2670
|
-
|
|
2672
|
+
const b = (_) => {
|
|
2673
|
+
if (C && C.length > 0) {
|
|
2674
|
+
let w = [...C];
|
|
2675
|
+
w.sort((x, v) => x[_].localeCompare(v[_])), f(w);
|
|
2671
2676
|
}
|
|
2672
2677
|
};
|
|
2673
|
-
return /* @__PURE__ */
|
|
2678
|
+
return /* @__PURE__ */ h(
|
|
2674
2679
|
"div",
|
|
2675
2680
|
{
|
|
2676
2681
|
className: I.elementSelector,
|
|
2677
2682
|
style: { color: o, ...r },
|
|
2678
2683
|
children: [
|
|
2679
|
-
/* @__PURE__ */
|
|
2684
|
+
/* @__PURE__ */ h(
|
|
2680
2685
|
"div",
|
|
2681
2686
|
{
|
|
2682
2687
|
className: I.header,
|
|
2683
2688
|
style: { borderBottom: `1px solid ${o}` },
|
|
2684
2689
|
children: [
|
|
2685
|
-
/* @__PURE__ */
|
|
2686
|
-
c.nom && /* @__PURE__ */ s("div", { className: I.elementName, children: /* @__PURE__ */
|
|
2687
|
-
/* @__PURE__ */ s("span", { children:
|
|
2690
|
+
/* @__PURE__ */ h("div", { className: I.nameDateContainer, children: [
|
|
2691
|
+
c.nom && /* @__PURE__ */ s("div", { className: I.elementName, children: /* @__PURE__ */ h("button", { onClick: () => b("name"), children: [
|
|
2692
|
+
/* @__PURE__ */ s("span", { children: m(c.nom) }),
|
|
2688
2693
|
/* @__PURE__ */ s("img", { src: qe })
|
|
2689
2694
|
] }) }),
|
|
2690
|
-
c.data && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */
|
|
2691
|
-
/* @__PURE__ */ s("span", { children:
|
|
2695
|
+
c.data && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ h("button", { onClick: () => b("date"), children: [
|
|
2696
|
+
/* @__PURE__ */ s("span", { children: m(c.data) }),
|
|
2692
2697
|
/* @__PURE__ */ s("img", { src: qe })
|
|
2693
2698
|
] }) }),
|
|
2694
|
-
c.ambit && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ s("span", { children:
|
|
2695
|
-
c.escenari && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ s("span", { children:
|
|
2699
|
+
c.ambit && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ s("span", { children: m(c.ambit) }) }),
|
|
2700
|
+
c.escenari && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ s("span", { children: m(c.escenari) }) })
|
|
2696
2701
|
] }),
|
|
2697
2702
|
/* @__PURE__ */ s("div", { className: I.buttonsContainer })
|
|
2698
2703
|
]
|
|
2699
2704
|
}
|
|
2700
2705
|
),
|
|
2701
|
-
/* @__PURE__ */ s("div", { className: I.elementListContainer, children:
|
|
2706
|
+
/* @__PURE__ */ s("div", { className: I.elementListContainer, children: C && C.length > 0 && C.map((_) => /* @__PURE__ */ s(
|
|
2702
2707
|
rt,
|
|
2703
2708
|
{
|
|
2704
2709
|
isActive: d == _.id,
|
|
@@ -2709,7 +2714,7 @@ const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2709
2714
|
columns: c,
|
|
2710
2715
|
elementButtons: u,
|
|
2711
2716
|
moreInfo: p,
|
|
2712
|
-
processTooltip:
|
|
2717
|
+
processTooltip: g,
|
|
2713
2718
|
defaultTooltip: y
|
|
2714
2719
|
},
|
|
2715
2720
|
`elementKey${_.id}`
|
|
@@ -2720,7 +2725,7 @@ const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2720
2725
|
style: { ...t },
|
|
2721
2726
|
onClick: l.onClick,
|
|
2722
2727
|
borderColor: "grey",
|
|
2723
|
-
children:
|
|
2728
|
+
children: m(l.label)
|
|
2724
2729
|
}
|
|
2725
2730
|
) })
|
|
2726
2731
|
]
|
|
@@ -2776,7 +2781,7 @@ $1.propTypes = {
|
|
|
2776
2781
|
const Ze = {
|
|
2777
2782
|
text: "text",
|
|
2778
2783
|
password: "password"
|
|
2779
|
-
}, A1 = "
|
|
2784
|
+
}, A1 = "_textInputContainer_15gun_2", O1 = "_labelContainer_15gun_5", I1 = "_inputContainer_15gun_8", R1 = "_showPasswordButton_15gun_14", E1 = "_forgotPassButton_15gun_26", ne = {
|
|
2780
2785
|
textInputContainer: A1,
|
|
2781
2786
|
labelContainer: O1,
|
|
2782
2787
|
inputContainer: I1,
|
|
@@ -2897,7 +2902,7 @@ function en(n) {
|
|
|
2897
2902
|
...n.rules,
|
|
2898
2903
|
value: a,
|
|
2899
2904
|
...ye(n.disabled) ? { disabled: n.disabled } : {}
|
|
2900
|
-
})),
|
|
2905
|
+
})), g = N.useMemo(() => Object.defineProperties({}, {
|
|
2901
2906
|
invalid: {
|
|
2902
2907
|
enumerable: !0,
|
|
2903
2908
|
get: () => !!$(c.errors, o)
|
|
@@ -2918,50 +2923,50 @@ function en(n) {
|
|
|
2918
2923
|
enumerable: !0,
|
|
2919
2924
|
get: () => $(c.errors, o)
|
|
2920
2925
|
}
|
|
2921
|
-
}), [c, o]), y = N.useCallback((
|
|
2926
|
+
}), [c, o]), y = N.useCallback((b) => p.current.onChange({
|
|
2922
2927
|
target: {
|
|
2923
|
-
value: q1(
|
|
2928
|
+
value: q1(b),
|
|
2924
2929
|
name: o
|
|
2925
2930
|
},
|
|
2926
2931
|
type: Ke.CHANGE
|
|
2927
|
-
}), [o]),
|
|
2932
|
+
}), [o]), m = N.useCallback(() => p.current.onBlur({
|
|
2928
2933
|
target: {
|
|
2929
2934
|
value: $(t._formValues, o),
|
|
2930
2935
|
name: o
|
|
2931
2936
|
},
|
|
2932
2937
|
type: Ke.BLUR
|
|
2933
|
-
}), [o, t._formValues]),
|
|
2938
|
+
}), [o, t._formValues]), C = N.useCallback((b) => {
|
|
2934
2939
|
const _ = $(t._fields, o);
|
|
2935
|
-
_ &&
|
|
2936
|
-
focus: () =>
|
|
2937
|
-
select: () =>
|
|
2938
|
-
setCustomValidity: (
|
|
2939
|
-
reportValidity: () =>
|
|
2940
|
+
_ && b && (_._f.ref = {
|
|
2941
|
+
focus: () => b.focus && b.focus(),
|
|
2942
|
+
select: () => b.select && b.select(),
|
|
2943
|
+
setCustomValidity: (w) => b.setCustomValidity(w),
|
|
2944
|
+
reportValidity: () => b.reportValidity()
|
|
2940
2945
|
});
|
|
2941
|
-
}, [t._fields, o]),
|
|
2946
|
+
}, [t._fields, o]), f = N.useMemo(() => ({
|
|
2942
2947
|
name: o,
|
|
2943
2948
|
value: a,
|
|
2944
2949
|
...ye(i) || c.disabled ? { disabled: c.disabled || i } : {},
|
|
2945
2950
|
onChange: y,
|
|
2946
|
-
onBlur:
|
|
2947
|
-
ref:
|
|
2948
|
-
}), [o, i, c.disabled, y,
|
|
2951
|
+
onBlur: m,
|
|
2952
|
+
ref: C
|
|
2953
|
+
}), [o, i, c.disabled, y, m, C, a]);
|
|
2949
2954
|
return N.useEffect(() => {
|
|
2950
|
-
const
|
|
2955
|
+
const b = t._options.shouldUnregister || r;
|
|
2951
2956
|
t.register(o, {
|
|
2952
2957
|
...u.current.rules,
|
|
2953
2958
|
...ye(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
2954
2959
|
});
|
|
2955
|
-
const _ = (
|
|
2956
|
-
const v = $(t._fields,
|
|
2957
|
-
v && v._f && (v._f.mount =
|
|
2960
|
+
const _ = (w, x) => {
|
|
2961
|
+
const v = $(t._fields, w);
|
|
2962
|
+
v && v._f && (v._f.mount = x);
|
|
2958
2963
|
};
|
|
2959
|
-
if (_(o, !0),
|
|
2960
|
-
const
|
|
2961
|
-
He(t._defaultValues, o,
|
|
2964
|
+
if (_(o, !0), b) {
|
|
2965
|
+
const w = lt($(t._options.defaultValues, o));
|
|
2966
|
+
He(t._defaultValues, o, w), Be($(t._formValues, o)) && He(t._formValues, o, w);
|
|
2962
2967
|
}
|
|
2963
2968
|
return !l && t.register(o), () => {
|
|
2964
|
-
(l ?
|
|
2969
|
+
(l ? b && !t._state.action : b) ? t.unregister(o) : _(o, !1);
|
|
2965
2970
|
};
|
|
2966
2971
|
}, [o, t, l, r]), N.useEffect(() => {
|
|
2967
2972
|
t._setDisabledField({
|
|
@@ -2969,10 +2974,10 @@ function en(n) {
|
|
|
2969
2974
|
name: o
|
|
2970
2975
|
});
|
|
2971
2976
|
}, [i, o, t]), N.useMemo(() => ({
|
|
2972
|
-
field:
|
|
2977
|
+
field: f,
|
|
2973
2978
|
formState: c,
|
|
2974
|
-
fieldState:
|
|
2975
|
-
}), [
|
|
2979
|
+
fieldState: g
|
|
2980
|
+
}), [f, c, g]);
|
|
2976
2981
|
}
|
|
2977
2982
|
const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
2978
2983
|
errorMessage: nn
|
|
@@ -3001,30 +3006,30 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3001
3006
|
placeholder: c,
|
|
3002
3007
|
errorColor: u = "red",
|
|
3003
3008
|
width: p = 325,
|
|
3004
|
-
onClickForgotPass:
|
|
3009
|
+
onClickForgotPass: g = () => {
|
|
3005
3010
|
console.log("Click on forgot password");
|
|
3006
3011
|
},
|
|
3007
3012
|
forgotPassLabel: y = "forgot-password"
|
|
3008
|
-
} = n, { t:
|
|
3013
|
+
} = n, { t: m } = k(), [C, f] = M(!1), b = () => i ? i === "password" && C ? "text" : i : "text";
|
|
3009
3014
|
return /* @__PURE__ */ s(
|
|
3010
3015
|
tn,
|
|
3011
3016
|
{
|
|
3012
3017
|
name: o,
|
|
3013
3018
|
control: d,
|
|
3014
3019
|
rules: {
|
|
3015
|
-
required: l ? `${
|
|
3020
|
+
required: l ? `${m(t)} ${m("errorMessages.required")}` : !1,
|
|
3016
3021
|
maxLength: r || void 0,
|
|
3017
3022
|
validate: a || void 0
|
|
3018
3023
|
},
|
|
3019
|
-
render: ({ field: _, fieldState:
|
|
3020
|
-
var
|
|
3021
|
-
return /* @__PURE__ */
|
|
3022
|
-
/* @__PURE__ */
|
|
3023
|
-
|
|
3024
|
+
render: ({ field: _, fieldState: w }) => {
|
|
3025
|
+
var x;
|
|
3026
|
+
return /* @__PURE__ */ h("div", { className: ne.textInputContainer, children: [
|
|
3027
|
+
/* @__PURE__ */ h("h3", { className: ne.labelContainer, children: [
|
|
3028
|
+
m(t),
|
|
3024
3029
|
" ",
|
|
3025
|
-
l && /* @__PURE__ */ s("label", { style: { color:
|
|
3030
|
+
l && /* @__PURE__ */ s("label", { style: { color: w.error ? u : "" }, children: "*" })
|
|
3026
3031
|
] }),
|
|
3027
|
-
/* @__PURE__ */
|
|
3032
|
+
/* @__PURE__ */ h(
|
|
3028
3033
|
"div",
|
|
3029
3034
|
{
|
|
3030
3035
|
style: { position: "relative", width: p },
|
|
@@ -3033,29 +3038,29 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3033
3038
|
/* @__PURE__ */ s(
|
|
3034
3039
|
"input",
|
|
3035
3040
|
{
|
|
3036
|
-
type:
|
|
3041
|
+
type: b(),
|
|
3037
3042
|
..._,
|
|
3038
|
-
placeholder: c ?
|
|
3043
|
+
placeholder: c ? m(c) : "",
|
|
3039
3044
|
maxLength: r || void 0
|
|
3040
3045
|
}
|
|
3041
3046
|
),
|
|
3042
3047
|
i == "password" && /* @__PURE__ */ s(
|
|
3043
3048
|
"button",
|
|
3044
3049
|
{
|
|
3045
|
-
onClick: () =>
|
|
3050
|
+
onClick: () => f(!C),
|
|
3046
3051
|
type: "button",
|
|
3047
3052
|
className: ne.showPasswordButton,
|
|
3048
|
-
children:
|
|
3053
|
+
children: C ? "🙈" : "👁️"
|
|
3049
3054
|
}
|
|
3050
3055
|
)
|
|
3051
3056
|
]
|
|
3052
3057
|
}
|
|
3053
3058
|
),
|
|
3054
|
-
i == "password" && /* @__PURE__ */ s("div", { className: ne.forgotPassButton, children: /* @__PURE__ */ s("button", { onClick:
|
|
3059
|
+
i == "password" && /* @__PURE__ */ s("div", { className: ne.forgotPassButton, children: /* @__PURE__ */ s("button", { onClick: g, children: m(y) }) }),
|
|
3055
3060
|
/* @__PURE__ */ s(
|
|
3056
3061
|
mt,
|
|
3057
3062
|
{
|
|
3058
|
-
errorMessage: (
|
|
3063
|
+
errorMessage: (x = w.error) == null ? void 0 : x.message,
|
|
3059
3064
|
errorColor: u
|
|
3060
3065
|
}
|
|
3061
3066
|
)
|
|
@@ -3069,11 +3074,11 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3069
3074
|
buttonContainer: an
|
|
3070
3075
|
}, ln = "_inputsContainer_10t9s_2", ve = {
|
|
3071
3076
|
inputsContainer: ln
|
|
3072
|
-
},
|
|
3077
|
+
}, we = ({ inputs: n, control: d, inputContainerStyles: o }) => /* @__PURE__ */ s("div", { className: ve.inputsContainer, children: n == null ? void 0 : n.map((i, t) => {
|
|
3073
3078
|
const { inputType: r } = i;
|
|
3074
3079
|
switch (r) {
|
|
3075
3080
|
case Ze.text:
|
|
3076
|
-
const { code: l, type: a, label: c, maxLength: u, required: p, validateFunction:
|
|
3081
|
+
const { code: l, type: a, label: c, maxLength: u, required: p, validateFunction: g } = i;
|
|
3077
3082
|
return /* @__PURE__ */ s(
|
|
3078
3083
|
"div",
|
|
3079
3084
|
{
|
|
@@ -3094,7 +3099,7 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3094
3099
|
default:
|
|
3095
3100
|
return /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s("h4", { children: "Default" }) });
|
|
3096
3101
|
}
|
|
3097
|
-
}) }),
|
|
3102
|
+
}) }), Zn = ({
|
|
3098
3103
|
reactHookFormInstance: n,
|
|
3099
3104
|
formObject: d,
|
|
3100
3105
|
//Component with {title, children} as props.
|
|
@@ -3105,63 +3110,64 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3105
3110
|
generalError: t,
|
|
3106
3111
|
errorColor: r = "red",
|
|
3107
3112
|
submitButtonLabel: l = "Submit",
|
|
3108
|
-
|
|
3113
|
+
submitButtonStyles: a = { width: 325 },
|
|
3114
|
+
onSubmit: c = (u) => console.log("Form submitted with data: ", u)
|
|
3109
3115
|
}) => {
|
|
3110
3116
|
const {
|
|
3111
|
-
register:
|
|
3112
|
-
handleSubmit:
|
|
3113
|
-
watch:
|
|
3114
|
-
control:
|
|
3115
|
-
formState: { errors:
|
|
3117
|
+
register: u,
|
|
3118
|
+
handleSubmit: p,
|
|
3119
|
+
watch: g,
|
|
3120
|
+
control: y,
|
|
3121
|
+
formState: { errors: m }
|
|
3116
3122
|
} = n;
|
|
3117
|
-
|
|
3118
|
-
console.log("Errors ",
|
|
3119
|
-
}, [JSON.stringify(
|
|
3120
|
-
const { t:
|
|
3123
|
+
D(() => {
|
|
3124
|
+
console.log("Errors ", m);
|
|
3125
|
+
}, [JSON.stringify(m)]);
|
|
3126
|
+
const { t: C } = k();
|
|
3121
3127
|
return (
|
|
3122
3128
|
/* "handleSubmit" will validate your inputs before invoking "onSubmit" */
|
|
3123
|
-
/* @__PURE__ */
|
|
3124
|
-
/* @__PURE__ */ s("div", { className: _e.formObjectContainer, children: d && d.map((
|
|
3125
|
-
const { inputs:
|
|
3126
|
-
return
|
|
3129
|
+
/* @__PURE__ */ h("form", { className: _e.formContainer, onSubmit: p(c), children: [
|
|
3130
|
+
/* @__PURE__ */ s("div", { className: _e.formObjectContainer, children: d && d.map((f, b) => {
|
|
3131
|
+
const { inputs: _ } = f;
|
|
3132
|
+
return f.category ? o ? /* @__PURE__ */ s(
|
|
3127
3133
|
o,
|
|
3128
3134
|
{
|
|
3129
|
-
title:
|
|
3135
|
+
title: f.category,
|
|
3130
3136
|
children: /* @__PURE__ */ s(
|
|
3131
|
-
|
|
3137
|
+
we,
|
|
3132
3138
|
{
|
|
3133
|
-
inputs:
|
|
3134
|
-
control:
|
|
3139
|
+
inputs: _,
|
|
3140
|
+
control: y,
|
|
3135
3141
|
inputContainerStyles: i,
|
|
3136
3142
|
errorColor: r
|
|
3137
3143
|
}
|
|
3138
3144
|
)
|
|
3139
3145
|
},
|
|
3140
|
-
`${
|
|
3141
|
-
) : /* @__PURE__ */
|
|
3142
|
-
/* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children:
|
|
3146
|
+
`${f.category}${b}`
|
|
3147
|
+
) : /* @__PURE__ */ h("div", { style: { width: "100%" }, children: [
|
|
3148
|
+
/* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children: f.category }),
|
|
3143
3149
|
/* @__PURE__ */ s("p", { children: "This is a category component example." }),
|
|
3144
3150
|
/* @__PURE__ */ s("div", { style: { paddingTop: 50, width: "100%" }, children: /* @__PURE__ */ s(
|
|
3145
|
-
|
|
3151
|
+
we,
|
|
3146
3152
|
{
|
|
3147
|
-
inputs:
|
|
3148
|
-
control:
|
|
3153
|
+
inputs: _,
|
|
3154
|
+
control: y,
|
|
3149
3155
|
inputContainerStyles: i,
|
|
3150
3156
|
errorColor: r
|
|
3151
3157
|
}
|
|
3152
3158
|
) })
|
|
3153
|
-
] }, `${
|
|
3154
|
-
|
|
3159
|
+
] }, `${f.category}${b}`) : /* @__PURE__ */ s("div", { style: { width: "100%" }, children: /* @__PURE__ */ s(
|
|
3160
|
+
we,
|
|
3155
3161
|
{
|
|
3156
3162
|
inputContainerStyles: i,
|
|
3157
|
-
inputs:
|
|
3158
|
-
control:
|
|
3163
|
+
inputs: _,
|
|
3164
|
+
control: y,
|
|
3159
3165
|
errorColor: r
|
|
3160
3166
|
}
|
|
3161
3167
|
) }, `inputKey${b}`);
|
|
3162
3168
|
}) }),
|
|
3163
|
-
/* @__PURE__ */
|
|
3164
|
-
/* @__PURE__ */ s(ce, { type: "submit", children:
|
|
3169
|
+
/* @__PURE__ */ h("div", { className: _e.buttonContainer, children: [
|
|
3170
|
+
/* @__PURE__ */ s(ce, { containerStyles: a, type: "submit", children: C(l) }),
|
|
3165
3171
|
/* @__PURE__ */ s(mt, { errorMessage: t, errorColor: r })
|
|
3166
3172
|
] })
|
|
3167
3173
|
] })
|
|
@@ -3182,7 +3188,7 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3182
3188
|
backgroundColor: l = "#605B56",
|
|
3183
3189
|
isFooter: a = !1
|
|
3184
3190
|
// If true, it will apply footer styles
|
|
3185
|
-
}) => /* @__PURE__ */
|
|
3191
|
+
}) => /* @__PURE__ */ h(
|
|
3186
3192
|
"div",
|
|
3187
3193
|
{
|
|
3188
3194
|
className: K.header,
|
|
@@ -3211,12 +3217,17 @@ hn.propTypes = {
|
|
|
3211
3217
|
backgroundColor: e.string,
|
|
3212
3218
|
isFooter: e.bool
|
|
3213
3219
|
};
|
|
3214
|
-
const gn = "
|
|
3220
|
+
const gn = "_sidebar_pt7g1_2", Cn = "_open_pt7g1_16", fn = "_content_pt7g1_20", bn = "_closeButton_pt7g1_26", ae = {
|
|
3215
3221
|
sidebar: gn,
|
|
3216
3222
|
open: Cn,
|
|
3217
3223
|
content: fn,
|
|
3218
3224
|
closeButton: bn
|
|
3219
|
-
}, yn =
|
|
3225
|
+
}, yn = "data:image/svg+xml,%3csvg%20width='19'%20height='19'%20viewBox='0%200%2019%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%203699'%3e%3cpath%20id='Vector%20223'%20d='M1%201L18.1566%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20id='Vector%20224'%20d='M18.1575%201L1.00083%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e", _n = ({
|
|
3226
|
+
width: n = "300px",
|
|
3227
|
+
children: d,
|
|
3228
|
+
showRightBar: o,
|
|
3229
|
+
onCloseBar: i
|
|
3230
|
+
}) => {
|
|
3220
3231
|
const t = () => {
|
|
3221
3232
|
i();
|
|
3222
3233
|
};
|
|
@@ -3225,14 +3236,14 @@ const gn = "_sidebar_1jqo2_2", Cn = "_open_1jqo2_16", fn = "_content_1jqo2_20",
|
|
|
3225
3236
|
{
|
|
3226
3237
|
className: `${ae.sidebar} ${o ? ae.open : ""}`,
|
|
3227
3238
|
style: { width: o ? n : 0 },
|
|
3228
|
-
children: o && /* @__PURE__ */
|
|
3229
|
-
/* @__PURE__ */ s("button", { className: ae.closeButton, onClick: t, children: "
|
|
3239
|
+
children: o && /* @__PURE__ */ h("div", { className: ae.content, children: [
|
|
3240
|
+
/* @__PURE__ */ s("button", { className: ae.closeButton, onClick: t, children: /* @__PURE__ */ s("img", { src: yn, alt: "Close Sidebar" }) }),
|
|
3230
3241
|
d
|
|
3231
3242
|
] })
|
|
3232
3243
|
}
|
|
3233
3244
|
);
|
|
3234
3245
|
};
|
|
3235
|
-
|
|
3246
|
+
_n.propTypes = {
|
|
3236
3247
|
width: e.string,
|
|
3237
3248
|
children: e.node,
|
|
3238
3249
|
showRightBar: e.bool,
|
|
@@ -3242,9 +3253,9 @@ export {
|
|
|
3242
3253
|
s2 as AmbitSelector,
|
|
3243
3254
|
f2 as ButtonsList,
|
|
3244
3255
|
G as DropdownList,
|
|
3245
|
-
|
|
3256
|
+
Rn as EditAmbit,
|
|
3246
3257
|
q2 as FiltersAmbit,
|
|
3247
|
-
|
|
3258
|
+
Zn as Form,
|
|
3248
3259
|
G2 as Graphic,
|
|
3249
3260
|
hn as HeaderSection,
|
|
3250
3261
|
p0 as IndicatorsList,
|
|
@@ -3255,8 +3266,8 @@ export {
|
|
|
3255
3266
|
$0 as LogoApp,
|
|
3256
3267
|
I0 as MapboxMap,
|
|
3257
3268
|
q0 as MaplibreMap,
|
|
3258
|
-
|
|
3259
|
-
|
|
3269
|
+
_n as RightSidebar,
|
|
3270
|
+
En as SectionBar,
|
|
3260
3271
|
i1 as TimeSlider,
|
|
3261
3272
|
U as Tooltip,
|
|
3262
3273
|
a1 as TopNavMenu
|