@tmf_ciclica/ciclicastorybook 1.1.107 → 1.1.108

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.es.js CHANGED
@@ -1,39 +1,39 @@
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_cokx9_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start;flex-wrap:wrap}._AppliedFiltersContainer_cokx9_2 ._AppliedFilterContent_cokx9_11{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_1go6h_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_1go6h_2 ._indicatorNameContainer_1go6h_11{gap:10px;display:grid;grid-template-columns:15px auto;align-items:center}._indicatorContainer_1go6h_2 ._dot_1go6h_17{border-radius:100px;width:16px;height:16px}._indicatorContainer_1go6h_2 ._indicatorName_1go6h_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_1go6h_28{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37{margin:0;width:100%}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._customRadious_1go6h_62{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._optionText_1go6h_69{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_qs4x9_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative;overflow-y:scroll}._legendContainer_qs4x9_3::-webkit-scrollbar{width:8px}._legendContainer_qs4x9_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_qs4x9_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31{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_qs4x9_3 ._closeButton_qs4x9_31:before,._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before{transform:rotate(45deg)}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{transform:rotate(-45deg)}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59{border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59 h2{padding-bottom:16px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65{padding-top:20px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_qs4x9_3 ._titleLegendList_qs4x9_76{font-size:20px;padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88 ._colorDot_qs4x9_94{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100{position:relative}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueColor_qs4x9_103{height:130px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueText_qs4x9_108{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_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120{position:relative;margin-top:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._noData_qs4x9_120{height:22px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._absoluteValueText_qs4x9_108{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_qs4x9_3 ._moreInfoContainer_qs4x9_141{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_mt8l5_2{padding:15px;color:#92898a}._FeaturePopUp_mt8l5_2 p{margin-bottom:10px}._FeaturePopUp_mt8l5_2 ._title_mt8l5_9{font-weight:600;margin-right:5px;color:#92898a}._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_1o3iy_2{width:100%}._textInputContainer_1o3iy_2 ._labelContainer_1o3iy_5{margin-bottom:25px}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8{background-color:#605b5620;padding:7px;border-radius:4px;position:relative}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 ._showPasswordButton_1o3iy_14{position:absolute;right:15px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 input{width:100%}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26{margin-top:10px;cursor:pointer}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26 button{text-decoration:underline}._errorMessage_1xiyb_2{min-height:25px}._formContainer_b071f_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_b071f_2 ._formObjectContainer_b071f_11{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:center;flex:1;width:100%;gap:80px}._formContainer_b071f_2 ._buttonContainer_b071f_22{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}._selectInputContainer_1rj0h_2{width:100%;position:relative}._selectInputContainer_1rj0h_2 ._labelContainer_1rj0h_6{margin-bottom:25px}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9{position:relative}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2{appearance:none;-webkit-appearance:none;-moz-appearance:none;width:100%;padding:9px 40px 9px 9px;border:1.5px solid #605b56;border-radius:4px;cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2 ._option_1rj0h_23{cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._dropdownArrow_1rj0h_26{position:absolute;right:18px;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none}._radioButtonContainer_1e994_2{width:100%}._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;width:100%;flex-wrap:wrap;position:relative;gap:15px}@media (width < 768px){._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start}}._radioButtonContainer_1e994_2 ._questionContainer_1e994_27{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;align-self:flex-start;position:relative}@media (width < 768px){._radioButtonContainer_1e994_2 ._questionContainer_1e994_27{min-width:auto;max-width:215px}}._radioButtonContainer_1e994_2 ._errorContainer_1e994_44{position:absolute;top:-25px;left:0}._radioButtonContainer_1e994_2 ._iconPrivacy_1e994_49{height:100%;padding-right:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._radioButtonContainer_1e994_2 ._radioQuestion_1e994_59{width:100%;flex:1}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;gap:10px;position:relative;height:100%}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label{text-align:left}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label input{margin-right:5px}@media (width < 768px){._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;flex:1}}label,._radioInput_1e994_93{cursor:pointer}._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_1fmjn_2{position:absolute;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_1fmjn_16{border-left:1px solid #ddd}._content_1fmjn_20{position:relative;padding:20px;height:100%}._closeButton_1fmjn_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1fmjn_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import { jsxs as p, jsx as s, Fragment as De } from "react/jsx-runtime";
3
- import * as te from "react";
4
- import B, { useState as L, useEffect as $, useMemo as ae, useLayoutEffect as yt, useRef as ne } from "react";
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.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_phq4n_2{padding:5px 95px;border-radius:100px}._generalButton_phq4n_2:disabled{opacity:.6}._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_cokx9_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start;flex-wrap:wrap}._AppliedFiltersContainer_cokx9_2 ._AppliedFilterContent_cokx9_11{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_1go6h_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_1go6h_2 ._indicatorNameContainer_1go6h_11{gap:10px;display:grid;grid-template-columns:15px auto;align-items:center}._indicatorContainer_1go6h_2 ._dot_1go6h_17{border-radius:100px;width:16px;height:16px}._indicatorContainer_1go6h_2 ._indicatorName_1go6h_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_1go6h_28{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37{margin:0;width:100%}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._customRadious_1go6h_62{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._optionText_1go6h_69{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_qs4x9_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative;overflow-y:scroll}._legendContainer_qs4x9_3::-webkit-scrollbar{width:8px}._legendContainer_qs4x9_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_qs4x9_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31{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_qs4x9_3 ._closeButton_qs4x9_31:before,._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before{transform:rotate(45deg)}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{transform:rotate(-45deg)}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59{border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59 h2{padding-bottom:16px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65{padding-top:20px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_qs4x9_3 ._titleLegendList_qs4x9_76{font-size:20px;padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88 ._colorDot_qs4x9_94{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100{position:relative}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueColor_qs4x9_103{height:130px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueText_qs4x9_108{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_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120{position:relative;margin-top:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._noData_qs4x9_120{height:22px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._absoluteValueText_qs4x9_108{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_qs4x9_3 ._moreInfoContainer_qs4x9_141{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_mt8l5_2{padding:15px;color:#92898a}._FeaturePopUp_mt8l5_2 p{margin-bottom:10px}._FeaturePopUp_mt8l5_2 ._title_mt8l5_9{font-weight:600;margin-right:5px;color:#92898a}._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_1o3iy_2{width:100%}._textInputContainer_1o3iy_2 ._labelContainer_1o3iy_5{margin-bottom:25px}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8{background-color:#605b5620;padding:7px;border-radius:4px;position:relative}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 ._showPasswordButton_1o3iy_14{position:absolute;right:15px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 input{width:100%}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26{margin-top:10px;cursor:pointer}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26 button{text-decoration:underline}._errorMessage_1xiyb_2{min-height:25px}._formContainer_b071f_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_b071f_2 ._formObjectContainer_b071f_11{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:center;flex:1;width:100%;gap:80px}._formContainer_b071f_2 ._buttonContainer_b071f_22{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}._selectInputContainer_1rj0h_2{width:100%;position:relative}._selectInputContainer_1rj0h_2 ._labelContainer_1rj0h_6{margin-bottom:25px}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9{position:relative}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2{appearance:none;-webkit-appearance:none;-moz-appearance:none;width:100%;padding:9px 40px 9px 9px;border:1.5px solid #605b56;border-radius:4px;cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2 ._option_1rj0h_23{cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._dropdownArrow_1rj0h_26{position:absolute;right:18px;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none}._radioButtonContainer_1e994_2{width:100%}._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;width:100%;flex-wrap:wrap;position:relative;gap:15px}@media (width < 768px){._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start}}._radioButtonContainer_1e994_2 ._questionContainer_1e994_27{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;align-self:flex-start;position:relative}@media (width < 768px){._radioButtonContainer_1e994_2 ._questionContainer_1e994_27{min-width:auto;max-width:215px}}._radioButtonContainer_1e994_2 ._errorContainer_1e994_44{position:absolute;top:-25px;left:0}._radioButtonContainer_1e994_2 ._iconPrivacy_1e994_49{height:100%;padding-right:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._radioButtonContainer_1e994_2 ._radioQuestion_1e994_59{width:100%;flex:1}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;gap:10px;position:relative;height:100%}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label{text-align:left}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label input{margin-right:5px}@media (width < 768px){._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;flex:1}}label,._radioInput_1e994_93{cursor:pointer}._rankingSliderContainer_1yj0p_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;width:100%}._rankingSliderContainer_1yj0p_2 ._labelContainer_1yj0p_11{margin-bottom:25px;color:#605b56}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15{width:100%;position:relative}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._slider_1yj0p_19{height:6px;background:#efefef;border-radius:3px;position:relative}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._thumb_1yj0p_25{height:10px;width:10px;border-radius:50%;cursor:grab;top:-50%;transform:translateY(10%);outline:none}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._trackLeft_1yj0p_35,._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._trackRight_1yj0p_40{height:6px;border-radius:9999px}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._labels_1yj0p_44{display:flex;justify-content:space-between;margin-top:8px;font-size:14px;color:#444}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._labels_1yj0p_44 span{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:10px}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._labels_1yj0p_44 ._labelsText_1yj0p_60{color:#605b56}._overlay_mnd4j_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#0009;display:flex;align-items:center;justify-content:center;z-index:9999}._modal_mnd4j_15{background:#fff;border-radius:12px;position:relative;padding:24px 32px;display:flex;flex-direction:column;align-items:center;text-align:center;box-shadow:0 4px 20px #0003;overflow:hidden;min-width:300px}._closeButton_mnd4j_29{position:absolute;top:3px;right:8px;background:transparent;border:none;font-size:20px;cursor:pointer}._icon_mnd4j_39{width:60px;height:60px;margin-bottom:16px}._message_mnd4j_45{font-size:18px;font-weight:700;margin-bottom:8px}._submessage_mnd4j_51{font-size:14px;color:#666;margin-bottom:20px}._buttonsContainer_mnd4j_57{display:flex;gap:12px;justify-content:center;flex-wrap:nowrap}._buttonWrapper_mnd4j_64{display:inline-flex}._stepsContainer_1cyua_3{display:flex;flex-direction:column;position:relative}._stepWrapper_1cyua_9{display:flex;align-items:center;position:relative;margin-bottom:1.5rem}._stepWrapper_1cyua_9:last-child{margin-bottom:0}._circleContainer_1cyua_19{position:relative}._circle_1cyua_19{width:28px;height:28px;border-radius:50%;border:2px solid #ccc;background-color:#fff;color:#aaa;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;cursor:pointer;z-index:1}._active_1cyua_39{color:#fff;border:none}._completed_1cyua_44{background-color:#ccc;color:#fff;border:none}._label_1cyua_50{margin-left:10px;font-size:14px;color:#aaa}._labelActive_1cyua_56{font-weight:700;color:#333}._connector_1cyua_61{position:absolute;left:50%;transform:translate(-50%);top:32px;width:1px;height:calc(100% - 10px);background-color:#ccc;z-index:0}._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_1fmjn_2{position:absolute;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_1fmjn_16{border-left:1px solid #ddd}._content_1fmjn_20{position:relative;padding:20px;height:100%}._closeButton_1fmjn_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1fmjn_26:hover{color:#000}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
+ import { jsxs as p, jsx as s, Fragment as Te } from "react/jsx-runtime";
3
+ import * as le from "react";
4
+ import B, { useState as D, useEffect as M, useMemo as me, useLayoutEffect as Nt, useRef as te } from "react";
5
5
  import e from "prop-types";
6
- import { useTranslation as k, Trans as Ve } from "react-i18next";
7
- import { motion as Ae } from "framer-motion";
8
- import { create as _t } from "zustand";
9
- import * as Ee from "d3";
10
- import vt from "mapbox-gl";
11
- import { useSelector as wt, useDispatch as xt } from "react-redux";
12
- import Nt, { Source as kt, Layer as Bt, NavigationControl as St, Popup as Dt } from "react-map-gl/mapbox";
13
- import be from "maplibre-gl";
14
- import { Protocol as Mt } from "pmtiles";
15
- import Lt, { Source as $t, Layer as Ft, NavigationControl as Tt, Popup as Vt } from "react-map-gl/maplibre";
16
- import { createSlice as At } from "@reduxjs/toolkit";
17
- import It from "@mui/material/Slider";
18
- import { createTheme as Ot, Box as Rt } from "@mui/material";
19
- import { ThemeProvider as qt } from "@emotion/react";
20
- import { NavLink as Et } from "react-router-dom";
21
- const Pt = "_ambitSelector_mcunf_2", zt = "_header_mcunf_13", jt = "_nameDateContainer_mcunf_23", Zt = "_ambitName_mcunf_39", Kt = "_ambitDate_mcunf_53", Ht = "_buttonsContainer_mcunf_67", Ut = "_ambitListContainer_mcunf_76", Gt = "_newAmbitButtonContainer_mcunf_80", j = {
22
- ambitSelector: Pt,
23
- header: zt,
24
- nameDateContainer: jt,
25
- ambitName: Zt,
26
- ambitDate: Kt,
27
- buttonsContainer: Ht,
28
- ambitListContainer: Ut,
29
- newAmbitButtonContainer: Gt
30
- }, Yt = "_ambitItem_1qa6u_2", Wt = "_ambitNameDate_1qa6u_16", Qt = "_ambitName_1qa6u_16", Xt = "_ambitDate_1qa6u_35", Jt = "_ambitButtons_1qa6u_38", ie = {
31
- ambitItem: Yt,
32
- ambitNameDate: Wt,
33
- ambitName: Qt,
34
- ambitDate: Xt,
35
- ambitButtons: Jt
36
- }, e2 = "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", t2 = "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", n2 = "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", i2 = "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", o2 = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205138'%3e%3cpath%20id='Vector'%20d='M12.95%200.408447C7.659%200.408447%202.84899%202.77185%200.0832465%206.72621C-0.0277488%206.88808%20-0.0277488%207.09621%200.0832465%207.25807C2.84439%2011.2125%207.65437%2013.5712%2012.95%2013.5712C18.2456%2013.5712%2023.0556%2011.2125%2025.8168%207.25807C25.9278%207.0962%2025.9278%206.88807%2025.8168%206.72621C23.051%202.77184%2018.241%200.408447%2012.95%200.408447ZM12.95%2011.2217C10.619%2011.2217%208.71812%209.32083%208.71812%206.98984C8.71812%204.65885%2010.619%202.75796%2012.95%202.75796C15.281%202.75796%2017.1819%204.65883%2017.1819%206.98984C17.1819%209.32085%2015.281%2011.2217%2012.95%2011.2217Z'%20fill='%23B32F5D'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%2010.2966C14.7777%2010.2966%2016.2583%208.81607%2016.2583%206.98974C16.2583%205.1634%2014.7777%203.68286%2012.9514%203.68286C11.1251%203.68286%209.64453%205.1634%209.64453%206.98974C9.64453%208.81607%2011.1251%2010.2966%2012.9514%2010.2966Z'%20fill='%23B32F5D'/%3e%3c/g%3e%3c/svg%3e", s2 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", et = ({
6
+ import { useTranslation as k, Trans as Re } from "react-i18next";
7
+ import { motion as qe } from "framer-motion";
8
+ import { create as kt } from "zustand";
9
+ import * as ze from "d3";
10
+ import Bt from "mapbox-gl";
11
+ import { useSelector as St, useDispatch as $t } from "react-redux";
12
+ import Dt, { Source as Mt, Layer as Lt, NavigationControl as Tt, Popup as Ft } from "react-map-gl/mapbox";
13
+ import xe from "maplibre-gl";
14
+ import { Protocol as Vt } from "pmtiles";
15
+ import At, { Source as It, Layer as Ot, NavigationControl as Rt, Popup as qt } from "react-map-gl/maplibre";
16
+ import { createSlice as Et } from "@reduxjs/toolkit";
17
+ import Pt from "@mui/material/Slider";
18
+ import { createTheme as jt, Box as zt } from "@mui/material";
19
+ import { ThemeProvider as Zt } from "@emotion/react";
20
+ import { NavLink as Kt } from "react-router-dom";
21
+ const Ht = "_ambitSelector_mcunf_2", Ut = "_header_mcunf_13", Gt = "_nameDateContainer_mcunf_23", Wt = "_ambitName_mcunf_39", Yt = "_ambitDate_mcunf_53", Qt = "_buttonsContainer_mcunf_67", Xt = "_ambitListContainer_mcunf_76", Jt = "_newAmbitButtonContainer_mcunf_80", U = {
22
+ ambitSelector: Ht,
23
+ header: Ut,
24
+ nameDateContainer: Gt,
25
+ ambitName: Wt,
26
+ ambitDate: Yt,
27
+ buttonsContainer: Qt,
28
+ ambitListContainer: Xt,
29
+ newAmbitButtonContainer: Jt
30
+ }, e2 = "_ambitItem_1qa6u_2", t2 = "_ambitNameDate_1qa6u_16", n2 = "_ambitName_1qa6u_16", i2 = "_ambitDate_1qa6u_35", o2 = "_ambitButtons_1qa6u_38", ce = {
31
+ ambitItem: e2,
32
+ ambitNameDate: t2,
33
+ ambitName: n2,
34
+ ambitDate: i2,
35
+ ambitButtons: o2
36
+ }, s2 = "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", r2 = "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", a2 = "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", l2 = "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", c2 = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205138'%3e%3cpath%20id='Vector'%20d='M12.95%200.408447C7.659%200.408447%202.84899%202.77185%200.0832465%206.72621C-0.0277488%206.88808%20-0.0277488%207.09621%200.0832465%207.25807C2.84439%2011.2125%207.65437%2013.5712%2012.95%2013.5712C18.2456%2013.5712%2023.0556%2011.2125%2025.8168%207.25807C25.9278%207.0962%2025.9278%206.88807%2025.8168%206.72621C23.051%202.77184%2018.241%200.408447%2012.95%200.408447ZM12.95%2011.2217C10.619%2011.2217%208.71812%209.32083%208.71812%206.98984C8.71812%204.65885%2010.619%202.75796%2012.95%202.75796C15.281%202.75796%2017.1819%204.65883%2017.1819%206.98984C17.1819%209.32085%2015.281%2011.2217%2012.95%2011.2217Z'%20fill='%23B32F5D'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%2010.2966C14.7777%2010.2966%2016.2583%208.81607%2016.2583%206.98974C16.2583%205.1634%2014.7777%203.68286%2012.9514%203.68286C11.1251%203.68286%209.64453%205.1634%209.64453%206.98974C9.64453%208.81607%2011.1251%2010.2966%2012.9514%2010.2966Z'%20fill='%23B32F5D'/%3e%3c/g%3e%3c/svg%3e", d2 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", it = ({
37
37
  ambit: n,
38
38
  onClickCopy: d,
39
39
  onClickDelete: i,
@@ -44,37 +44,37 @@ const Pt = "_ambitSelector_mcunf_2", zt = "_header_mcunf_13", jt = "_nameDateCon
44
44
  fontColor: l,
45
45
  moreInfo: c
46
46
  }) => {
47
- const { nom: u, created_at: m, id: h, isBeingProcessed: _ } = n;
47
+ const { nom: u, created_at: m, id: h, isBeingProcessed: y } = n;
48
48
  return /* @__PURE__ */ p(
49
49
  "div",
50
50
  {
51
- className: ie.ambitItem,
51
+ className: ce.ambitItem,
52
52
  style: { borderBottom: `1px solid ${l}` },
53
53
  children: [
54
- /* @__PURE__ */ p("div", { className: ie.ambitNameDate, onClick: () => t(h), children: [
55
- /* @__PURE__ */ p("div", { className: ie.ambitName, children: [
54
+ /* @__PURE__ */ p("div", { className: ce.ambitNameDate, onClick: () => t(h), children: [
55
+ /* @__PURE__ */ p("div", { className: ce.ambitName, children: [
56
56
  /* @__PURE__ */ s(
57
57
  "img",
58
58
  {
59
59
  style: { marginRight: 9 },
60
- src: r ? o2 : s2
60
+ src: r ? c2 : d2
61
61
  }
62
62
  ),
63
63
  /* @__PURE__ */ s("span", { style: { color: r ? a : l }, children: u })
64
64
  ] }),
65
- /* @__PURE__ */ s("div", { className: ie.ambitDate, children: m ? new Date(m).toLocaleDateString() : "" })
65
+ /* @__PURE__ */ s("div", { className: ce.ambitDate, children: m ? new Date(m).toLocaleDateString() : "" })
66
66
  ] }),
67
- /* @__PURE__ */ p("div", { className: ie.ambitButtons, children: [
68
- _ && /* @__PURE__ */ s("img", { src: i2 }),
69
- /* @__PURE__ */ s("button", { onClick: () => o(h), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: n2 }) }),
70
- /* @__PURE__ */ s("button", { onClick: () => d(h), children: /* @__PURE__ */ s("img", { src: t2 }) }),
71
- /* @__PURE__ */ s("button", { onClick: () => i(h), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: e2 }) })
67
+ /* @__PURE__ */ p("div", { className: ce.ambitButtons, children: [
68
+ y && /* @__PURE__ */ s("img", { src: l2 }),
69
+ /* @__PURE__ */ s("button", { onClick: () => o(h), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: a2 }) }),
70
+ /* @__PURE__ */ s("button", { onClick: () => d(h), children: /* @__PURE__ */ s("img", { src: r2 }) }),
71
+ /* @__PURE__ */ s("button", { onClick: () => i(h), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: s2 }) })
72
72
  ] })
73
73
  ]
74
74
  }
75
75
  );
76
76
  };
77
- et.propTypes = {
77
+ it.propTypes = {
78
78
  ambit: e.shape({
79
79
  nom: e.string.isRequired,
80
80
  created_at: e.string,
@@ -92,19 +92,20 @@ et.propTypes = {
92
92
  moreInfo: e.object
93
93
  // Optional, can be used for additional info
94
94
  };
95
- const Pe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", r2 = "_generalButton_8d6ru_2", a2 = {
96
- generalButton: r2
97
- }, Ce = ({
95
+ const Ze = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", u2 = "_generalButton_phq4n_2", p2 = {
96
+ generalButton: u2
97
+ }, _e = ({
98
98
  children: n,
99
99
  onClick: d,
100
100
  fontColor: i = "#605B56",
101
101
  borderColor: o = "#605B56",
102
102
  type: t = "button",
103
- containerStyles: r = {}
103
+ containerStyles: r = {},
104
+ disabled: a = !1
104
105
  }) => /* @__PURE__ */ s(
105
106
  "button",
106
107
  {
107
- className: a2.generalButton,
108
+ className: p2.generalButton,
108
109
  style: {
109
110
  color: i,
110
111
  border: `1.5px solid ${o}`,
@@ -112,9 +113,10 @@ const Pe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
112
113
  },
113
114
  onClick: d,
114
115
  type: t,
116
+ disabled: a,
115
117
  children: n
116
118
  }
117
- ), l2 = ({
119
+ ), m2 = ({
118
120
  ambitList: n,
119
121
  activeAmbitId: d,
120
122
  fontColor: i = "#605B56",
@@ -127,61 +129,61 @@ const Pe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
127
129
  onCLickNewAmbit: u = () => console.log("New ambit clicked"),
128
130
  onClickCopy: m = (g) => console.log(`Copy ambit: ${g}`),
129
131
  onCLickDelete: h = (g) => console.log(`Delete ambit: ${g}`),
130
- onClickFilters: _ = (g) => console.log(`Filters clicked: ${g}`),
131
- onClickAmbit: f = (g) => console.log(`OnCLickAmbit: ${g}`)
132
+ onClickFilters: y = (g) => console.log(`Filters clicked: ${g}`),
133
+ onClickAmbit: b = (g) => console.log(`OnCLickAmbit: ${g}`)
132
134
  }) => {
133
- const { t: g } = k(), [y, C] = L(n);
134
- $(() => {
135
+ const { t: g } = k(), [f, C] = D(n);
136
+ M(() => {
135
137
  n && C(n);
136
138
  }, [n]);
137
- const b = (w) => {
138
- if (y && y.length > 0) {
139
- let x = [...y];
140
- x.sort((v, N) => v[w].localeCompare(N[w])), C(x);
139
+ const _ = (v) => {
140
+ if (f && f.length > 0) {
141
+ let w = [...f];
142
+ w.sort((x, N) => x[v].localeCompare(N[v])), C(w);
141
143
  }
142
144
  };
143
145
  return /* @__PURE__ */ p(
144
146
  "div",
145
147
  {
146
- className: j.ambitSelector,
148
+ className: U.ambitSelector,
147
149
  style: { color: i, ...c },
148
150
  children: [
149
151
  /* @__PURE__ */ p(
150
152
  "div",
151
153
  {
152
- className: j.header,
154
+ className: U.header,
153
155
  style: { borderBottom: `1px solid ${i}` },
154
156
  children: [
155
- /* @__PURE__ */ p("div", { className: j.nameDateContainer, children: [
156
- /* @__PURE__ */ s("div", { className: j.ambitName, children: /* @__PURE__ */ p("button", { onClick: () => b("name"), children: [
157
+ /* @__PURE__ */ p("div", { className: U.nameDateContainer, children: [
158
+ /* @__PURE__ */ s("div", { className: U.ambitName, children: /* @__PURE__ */ p("button", { onClick: () => _("name"), children: [
157
159
  /* @__PURE__ */ s("span", { children: g(t) }),
158
- /* @__PURE__ */ s("img", { src: Pe })
160
+ /* @__PURE__ */ s("img", { src: Ze })
159
161
  ] }) }),
160
- /* @__PURE__ */ s("div", { className: j.ambitDate, children: /* @__PURE__ */ p("button", { onClick: () => b("date"), children: [
162
+ /* @__PURE__ */ s("div", { className: U.ambitDate, children: /* @__PURE__ */ p("button", { onClick: () => _("date"), children: [
161
163
  /* @__PURE__ */ s("span", { children: g(r) }),
162
- /* @__PURE__ */ s("img", { src: Pe })
164
+ /* @__PURE__ */ s("img", { src: Ze })
163
165
  ] }) })
164
166
  ] }),
165
- /* @__PURE__ */ s("div", { className: j.buttonsContainer })
167
+ /* @__PURE__ */ s("div", { className: U.buttonsContainer })
166
168
  ]
167
169
  }
168
170
  ),
169
- /* @__PURE__ */ s("div", { className: j.ambitListContainer, children: y && y.length > 0 && y.map((w) => /* @__PURE__ */ s(
170
- et,
171
+ /* @__PURE__ */ s("div", { className: U.ambitListContainer, children: f && f.length > 0 && f.map((v) => /* @__PURE__ */ s(
172
+ it,
171
173
  {
172
- isActive: d == w.id,
173
- ambit: w,
174
+ isActive: d == v.id,
175
+ ambit: v,
174
176
  fontColor: i,
175
177
  activeColor: o,
176
178
  onClickCopy: m,
177
179
  onClickDelete: h,
178
- onClickFilters: _,
179
- onClickAmbit: f
180
+ onClickFilters: y,
181
+ onClickAmbit: b
180
182
  },
181
- `ambitKey${w.id}`
183
+ `ambitKey${v.id}`
182
184
  )) }),
183
- /* @__PURE__ */ s("div", { className: j.newAmbitButtonContainer, children: /* @__PURE__ */ s(
184
- Ce,
185
+ /* @__PURE__ */ s("div", { className: U.newAmbitButtonContainer, children: /* @__PURE__ */ s(
186
+ _e,
185
187
  {
186
188
  style: { ...l },
187
189
  onClick: u,
@@ -193,7 +195,7 @@ const Pe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
193
195
  }
194
196
  );
195
197
  };
196
- l2.propTypes = {
198
+ m2.propTypes = {
197
199
  ambitList: e.arrayOf(
198
200
  e.shape({
199
201
  name: e.string.isRequired,
@@ -215,28 +217,28 @@ l2.propTypes = {
215
217
  containerStyles: e.object,
216
218
  onCLickNewAmbit: e.func
217
219
  };
218
- const c2 = "_buttonsContainer_1audx_2", d2 = "_vertical_1audx_6", u2 = "_horizontal_1audx_9", p2 = "_button_1audx_2", m2 = "_active_1audx_25", h2 = "_buttonName_1audx_28", Z = {
219
- buttonsContainer: c2,
220
- vertical: d2,
221
- horizontal: u2,
222
- button: p2,
223
- active: m2,
224
- buttonName: h2
225
- }, g2 = "_left_1l4m4_2", C2 = "_top_1l4m4_40", f2 = "_bottom_1l4m4_79", b2 = "_right_1l4m4_118", y2 = {
226
- left: g2,
227
- top: C2,
228
- bottom: f2,
229
- right: b2
230
- }, Y = ({ text: n, position: d, styleCustom: i = null }) => {
220
+ const h2 = "_buttonsContainer_1audx_2", g2 = "_vertical_1audx_6", C2 = "_horizontal_1audx_9", f2 = "_button_1audx_2", b2 = "_active_1audx_25", _2 = "_buttonName_1audx_28", W = {
221
+ buttonsContainer: h2,
222
+ vertical: g2,
223
+ horizontal: C2,
224
+ button: f2,
225
+ active: b2,
226
+ buttonName: _2
227
+ }, y2 = "_left_1l4m4_2", v2 = "_top_1l4m4_40", x2 = "_bottom_1l4m4_79", w2 = "_right_1l4m4_118", N2 = {
228
+ left: y2,
229
+ top: v2,
230
+ bottom: x2,
231
+ right: w2
232
+ }, ee = ({ text: n, position: d, styleCustom: i = null }) => {
231
233
  const { t: o } = k();
232
- return /* @__PURE__ */ s("div", { className: `tooltip ${y2[d]}`, style: i, children: o(n) });
234
+ return /* @__PURE__ */ s("div", { className: `tooltip ${N2[d]}`, style: i, children: o(n) });
233
235
  };
234
- Y.propTypes = {
236
+ ee.propTypes = {
235
237
  text: e.string.isRequired,
236
238
  position: e.oneOf(["top", "bottom", "left", "right"]).isRequired,
237
239
  styleCustom: e.object
238
240
  };
239
- const _2 = ({
241
+ const k2 = ({
240
242
  buttons: n = [],
241
243
  orientation: d = "horizontal",
242
244
  showName: i = !0,
@@ -248,37 +250,37 @@ const _2 = ({
248
250
  return /* @__PURE__ */ s(
249
251
  "div",
250
252
  {
251
- className: `${Z.buttonsContainer} ${d === "vertical" && Z.vertical}
252
- ${d === "horizontal" && Z.horizontal}`,
253
+ className: `${W.buttonsContainer} ${d === "vertical" && W.vertical}
254
+ ${d === "horizontal" && W.horizontal}`,
253
255
  children: n.map((l, c) => {
254
256
  const {
255
257
  icon: u,
256
258
  activeIcon: m,
257
259
  isActive: h,
258
- name: _,
259
- onClick: f
260
- } = l, g = /* @__PURE__ */ p(De, { children: [
261
- i && o === "left" && /* @__PURE__ */ s("span", { className: Z.buttonName, children: a(_) }),
262
- /* @__PURE__ */ s("img", { src: h ? m : u, alt: a(_) }),
263
- i && o === "right" && /* @__PURE__ */ s("span", { className: Z.buttonName, children: a(_) })
260
+ name: y,
261
+ onClick: b
262
+ } = l, g = /* @__PURE__ */ p(Te, { children: [
263
+ i && o === "left" && /* @__PURE__ */ s("span", { className: W.buttonName, children: a(y) }),
264
+ /* @__PURE__ */ s("img", { src: h ? m : u, alt: a(y) }),
265
+ i && o === "right" && /* @__PURE__ */ s("span", { className: W.buttonName, children: a(y) })
264
266
  ] });
265
267
  return /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
266
268
  /* @__PURE__ */ s(
267
269
  "button",
268
270
  {
269
- onClick: f,
270
- className: `${Z.button}
271
- ${h && Z.active}`,
271
+ onClick: b,
272
+ className: `${W.button}
273
+ ${h && W.active}`,
272
274
  children: g
273
275
  }
274
276
  ),
275
- t && /* @__PURE__ */ s(Y, { text: _, position: r })
277
+ t && /* @__PURE__ */ s(ee, { text: y, position: r })
276
278
  ] }, c);
277
279
  })
278
280
  }
279
281
  );
280
282
  };
281
- _2.propTypes = {
283
+ k2.propTypes = {
282
284
  buttons: e.arrayOf(
283
285
  e.shape({
284
286
  icon: e.node.isRequired,
@@ -295,10 +297,10 @@ _2.propTypes = {
295
297
  useTooltip: e.bool,
296
298
  tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
297
299
  };
298
- const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", ye = {
299
- indicatorsCategory: v2,
300
- title: w2
301
- }, W = ({
300
+ const B2 = "_indicatorsCategory_1cu33_2", S2 = "_title_1cu33_5", we = {
301
+ indicatorsCategory: B2,
302
+ title: S2
303
+ }, ne = ({
302
304
  isOpen: n,
303
305
  onClick: d,
304
306
  children: i,
@@ -314,9 +316,9 @@ const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", ye = {
314
316
  }) => {
315
317
  const { t: m } = k();
316
318
  return /* @__PURE__ */ p(
317
- Ae.div,
319
+ qe.div,
318
320
  {
319
- className: ye.indicatorsCategory,
321
+ className: we.indicatorsCategory,
320
322
  initial: { height: `${a}px` },
321
323
  animate: { height: n ? "auto" : `${a}px` },
322
324
  transition: { duration: 0.4 },
@@ -333,7 +335,7 @@ const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", ye = {
333
335
  ...l,
334
336
  marginBottom: u || "auto"
335
337
  },
336
- className: `${ye.title}`,
338
+ className: `${we.title}`,
337
339
  onClick: d,
338
340
  children: [
339
341
  /* @__PURE__ */ s("span", { style: { color: n ? t : o }, children: n ? "-" : "+" }),
@@ -341,12 +343,12 @@ const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", ye = {
341
343
  ]
342
344
  }
343
345
  ),
344
- /* @__PURE__ */ s("div", { className: ye.content, children: i })
346
+ /* @__PURE__ */ s("div", { className: we.content, children: i })
345
347
  ]
346
348
  }
347
349
  );
348
350
  };
349
- W.propTypes = {
351
+ ne.propTypes = {
350
352
  isOpen: e.bool,
351
353
  onClick: e.func,
352
354
  children: e.node,
@@ -357,39 +359,39 @@ W.propTypes = {
357
359
  showBottomBar: e.bool,
358
360
  titleFontStyles: e.object
359
361
  };
360
- const ii = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), x2 = "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", N2 = "_AppliedFiltersContainer_cokx9_2", k2 = "_AppliedFilterContent_cokx9_11", ze = {
361
- AppliedFiltersContainer: N2,
362
- AppliedFilterContent: k2
363
- }, T = _t((n) => ({
362
+ const Ai = () => /* @__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", D2 = "_AppliedFiltersContainer_cokx9_2", M2 = "_AppliedFilterContent_cokx9_11", Ke = {
363
+ AppliedFiltersContainer: D2,
364
+ AppliedFilterContent: M2
365
+ }, F = kt((n) => ({
364
366
  activeCategory: "",
365
367
  activeSubCategory: "",
366
368
  selectedIndicator: "",
367
369
  tematicalFiltersSelected: [],
368
370
  fontColor: "#605B56",
369
371
  inputsColor: "#605B56"
370
- })), tt = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
371
- const { t: a } = k(), { tematicalFiltersSelected: l } = T((u) => u), c = (u) => {
372
- T.setState((m) => ({
372
+ })), ot = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
373
+ const { t: a } = k(), { tematicalFiltersSelected: l } = F((u) => u), c = (u) => {
374
+ F.setState((m) => ({
373
375
  tematicalFiltersSelected: m.tematicalFiltersSelected.filter(
374
376
  (h) => h.code !== u
375
377
  )
376
378
  }));
377
379
  };
378
380
  return /* @__PURE__ */ s(
379
- W,
381
+ ne,
380
382
  {
381
383
  isOpen: i,
382
384
  onClick: d,
383
385
  title: n ? a(n) : "Applied Filters",
384
386
  activeColor: r,
385
- children: /* @__PURE__ */ s("div", { className: ze.AppliedFiltersContainer, children: l == null ? void 0 : l.map((u, m) => /* @__PURE__ */ p("div", { className: ze.AppliedFilterContent, style: { color: o, background: t }, children: [
387
+ children: /* @__PURE__ */ s("div", { className: Ke.AppliedFiltersContainer, children: l == null ? void 0 : l.map((u, m) => /* @__PURE__ */ p("div", { className: Ke.AppliedFilterContent, style: { color: o, background: t }, children: [
386
388
  a(u.name),
387
- /* @__PURE__ */ s("img", { src: x2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
389
+ /* @__PURE__ */ s("img", { src: $2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
388
390
  ] }, m)) })
389
391
  }
390
392
  );
391
393
  };
392
- tt.propTypes = {
394
+ ot.propTypes = {
393
395
  isOpen: e.bool,
394
396
  onClick: e.func,
395
397
  title: e.string,
@@ -403,10 +405,10 @@ tt.propTypes = {
403
405
  ),
404
406
  activeColor: e.string
405
407
  };
406
- const nt = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
407
- const { t: a } = k(), { tematicalFiltersSelected: l } = T((c) => c);
408
+ const st = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
409
+ const { t: a } = k(), { tematicalFiltersSelected: l } = F((c) => c);
408
410
  return /* @__PURE__ */ s(
409
- W,
411
+ ne,
410
412
  {
411
413
  isOpen: i,
412
414
  onClick: d,
@@ -416,7 +418,7 @@ const nt = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", ba
416
418
  }
417
419
  );
418
420
  };
419
- nt.propTypes = {
421
+ st.propTypes = {
420
422
  isOpen: e.bool,
421
423
  onClick: e.func,
422
424
  title: e.string,
@@ -424,22 +426,22 @@ nt.propTypes = {
424
426
  backgroundColor: e.string,
425
427
  activeColor: e.string
426
428
  };
427
- const B2 = "_checkboxContainer_zld97_2", S2 = {
428
- checkboxContainer: B2
429
- }, it = ({
429
+ const L2 = "_checkboxContainer_zld97_2", T2 = {
430
+ checkboxContainer: L2
431
+ }, rt = ({
430
432
  onClick: n,
431
433
  containerStyles: d,
432
434
  color: i = "#605B56",
433
435
  indicator: o,
434
436
  value: t
435
437
  }) => {
436
- const { t: r } = k(), { title: a } = o || {}, { fontColor: l, inputsColor: c } = T((u) => u);
438
+ const { t: r } = k(), { title: a } = o || {}, { fontColor: l, inputsColor: c } = F((u) => u);
437
439
  return /* @__PURE__ */ p(
438
440
  "div",
439
441
  {
440
442
  style: { ...d, color: i },
441
443
  role: "checkbox",
442
- className: S2.checkboxContainer,
444
+ className: T2.checkboxContainer,
443
445
  onClick: n,
444
446
  children: [
445
447
  /* @__PURE__ */ s(
@@ -460,7 +462,7 @@ const B2 = "_checkboxContainer_zld97_2", S2 = {
460
462
  }
461
463
  );
462
464
  };
463
- it.propTypes = {
465
+ rt.propTypes = {
464
466
  onClick: e.func,
465
467
  value: e.bool,
466
468
  containerStyles: e.object,
@@ -471,40 +473,40 @@ it.propTypes = {
471
473
  }),
472
474
  checkedColor: e.string
473
475
  };
474
- function Me(n, d) {
475
- return Me = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(i, o) {
476
+ function Fe(n, d) {
477
+ return Fe = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(i, o) {
476
478
  return i.__proto__ = o, i;
477
- }, Me(n, d);
479
+ }, Fe(n, d);
478
480
  }
479
- function D2(n, d) {
480
- n.prototype = Object.create(d.prototype), n.prototype.constructor = n, Me(n, d);
481
+ function F2(n, d) {
482
+ n.prototype = Object.create(d.prototype), n.prototype.constructor = n, Fe(n, d);
481
483
  }
482
- function _e(n) {
484
+ function Ne(n) {
483
485
  return n && n.stopPropagation && n.stopPropagation(), n && n.preventDefault && n.preventDefault(), !1;
484
486
  }
485
- function ve(n) {
487
+ function ke(n) {
486
488
  return n == null ? [] : Array.isArray(n) ? n.slice() : [n];
487
489
  }
488
- function ue(n) {
490
+ function ge(n) {
489
491
  return n !== null && n.length === 1 ? n[0] : n.slice();
490
492
  }
491
- function pe(n) {
493
+ function Ce(n) {
492
494
  Object.keys(n).forEach((d) => {
493
495
  typeof document < "u" && document.addEventListener(d, n[d], !1);
494
496
  });
495
497
  }
496
- function K(n, d) {
497
- return Le(function(i, o) {
498
+ function Y(n, d) {
499
+ return Ve(function(i, o) {
498
500
  let t = i;
499
501
  return t <= o.min && (t = o.min), t >= o.max && (t = o.max), t;
500
502
  }(n, d), d);
501
503
  }
502
- function Le(n, d) {
504
+ function Ve(n, d) {
503
505
  const i = (n - d.min) % d.step;
504
506
  let o = n - i;
505
507
  return 2 * Math.abs(i) >= d.step && (o += i > 0 ? d.step : -d.step), parseFloat(o.toFixed(5));
506
508
  }
507
- let $e = function(n) {
509
+ let Ae = function(n) {
508
510
  function d(o) {
509
511
  var t;
510
512
  (t = n.call(this, o) || this).onKeyUp = () => {
@@ -524,8 +526,8 @@ let $e = function(n) {
524
526
  t.setState({ pending: !0 });
525
527
  const c = t.getTouchPosition(l);
526
528
  if (t.isScrolling === void 0) {
527
- const h = c[0] - t.startPosition[0], _ = c[1] - t.startPosition[1];
528
- t.isScrolling = Math.abs(_) > Math.abs(h);
529
+ const h = c[0] - t.startPosition[0], y = c[1] - t.startPosition[1];
530
+ t.isScrolling = Math.abs(y) > Math.abs(h);
529
531
  }
530
532
  if (t.isScrolling) return void t.setState({ index: -1 });
531
533
  const u = t.getDiffPosition(c[0]), m = t.getValueFromPosition(u);
@@ -561,28 +563,28 @@ let $e = function(n) {
561
563
  if (t.setState({ pending: !0 }), !t.props.snapDragDisabled) {
562
564
  const c = t.getMousePosition(l);
563
565
  t.forceValueFromPosition(c[0], (u) => {
564
- t.start(u, c[0]), pe(t.getMouseEventMap());
566
+ t.start(u, c[0]), Ce(t.getMouseEventMap());
565
567
  });
566
568
  }
567
- _e(l);
569
+ Ne(l);
568
570
  }
569
571
  }, t.onSliderClick = (l) => {
570
572
  if (!t.props.disabled && t.props.onSliderClick && !t.hasMoved) {
571
- const c = t.getMousePosition(l), u = K(t.calcValue(t.calcOffsetFromPosition(c[0])), t.props);
573
+ const c = t.getMousePosition(l), u = Y(t.calcValue(t.calcOffsetFromPosition(c[0])), t.props);
572
574
  t.props.onSliderClick(u);
573
575
  }
574
576
  }, t.createOnKeyDown = (l) => (c) => {
575
- t.props.disabled || (t.start(l), pe(t.getKeyDownEventMap()), _e(c));
577
+ t.props.disabled || (t.start(l), Ce(t.getKeyDownEventMap()), Ne(c));
576
578
  }, t.createOnMouseDown = (l) => (c) => {
577
579
  if (t.props.disabled || c.button === 2) return;
578
580
  t.setState({ pending: !0 });
579
581
  const u = t.getMousePosition(c);
580
- t.start(l, u[0]), pe(t.getMouseEventMap()), _e(c);
582
+ t.start(l, u[0]), Ce(t.getMouseEventMap()), Ne(c);
581
583
  }, t.createOnTouchStart = (l) => (c) => {
582
584
  if (t.props.disabled || c.touches.length > 1) return;
583
585
  t.setState({ pending: !0 });
584
586
  const u = t.getTouchPosition(c);
585
- t.startPosition = u, t.isScrolling = void 0, t.start(l, u[0]), pe(t.getTouchEventMap()), function(m) {
587
+ t.startPosition = u, t.isScrolling = void 0, t.start(l, u[0]), Ce(t.getTouchEventMap()), function(m) {
586
588
  m.stopPropagation && m.stopPropagation();
587
589
  }(c);
588
590
  }, t.handleResize = () => {
@@ -591,27 +593,27 @@ let $e = function(n) {
591
593
  }, 0);
592
594
  t.pendingResizeTimeouts.push(l);
593
595
  }, t.renderThumb = (l, c) => {
594
- const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), m = { ref: (_) => {
595
- t["thumb" + c] = _;
596
- }, key: t.props.thumbClassName + "-" + c, className: u, style: l, 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 }, h = { index: c, value: ue(t.state.value), valueNow: t.state.value[c] };
596
+ const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), m = { ref: (y) => {
597
+ t["thumb" + c] = y;
598
+ }, key: t.props.thumbClassName + "-" + c, className: u, style: l, 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 }, h = { index: c, value: ge(t.state.value), valueNow: t.state.value[c] };
597
599
  return t.props.ariaValuetext && (m["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(h)), t.props.renderThumb(m, h);
598
600
  }, t.renderTrack = (l, c, u) => {
599
- const m = { key: t.props.trackClassName + "-" + l, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + l, style: t.buildTrackStyle(c, t.state.upperBound - u) }, h = { index: l, value: ue(t.state.value) };
601
+ const m = { key: t.props.trackClassName + "-" + l, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + l, style: t.buildTrackStyle(c, t.state.upperBound - u) }, h = { index: l, value: ge(t.state.value) };
600
602
  return t.props.renderTrack(m, h);
601
603
  };
602
- let r = ve(o.value);
603
- r.length || (r = ve(o.defaultValue)), t.pendingResizeTimeouts = [];
604
+ let r = ke(o.value);
605
+ r.length || (r = ke(o.defaultValue)), t.pendingResizeTimeouts = [];
604
606
  const a = [];
605
- for (let l = 0; l < r.length; l += 1) r[l] = K(r[l], o), a.push(l);
607
+ for (let l = 0; l < r.length; l += 1) r[l] = Y(r[l], o), a.push(l);
606
608
  return t.resizeObserver = null, t.resizeElementRef = B.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices: a }, t;
607
609
  }
608
- D2(d, n);
610
+ F2(d, n);
609
611
  var i = d.prototype;
610
612
  return i.componentDidMount = function() {
611
613
  typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
612
614
  }, d.getDerivedStateFromProps = function(o, t) {
613
- const r = ve(o.value);
614
- return r.length ? t.pending ? null : { value: r.map((a) => K(a, o)) } : null;
615
+ const r = ke(o.value);
616
+ return r.length ? t.pending ? null : { value: r.map((a) => Y(a, o)) } : null;
615
617
  }, i.componentDidUpdate = function() {
616
618
  this.state.upperBound === 0 && this.resize();
617
619
  }, i.componentWillUnmount = function() {
@@ -623,7 +625,7 @@ let $e = function(n) {
623
625
  });
624
626
  }(o), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
625
627
  }, i.getValue = function() {
626
- return ue(this.state.value);
628
+ return ge(this.state.value);
627
629
  }, i.getClosestIndex = function(o) {
628
630
  let t = Number.MAX_VALUE, r = -1;
629
631
  const { value: a } = this.state, l = a.length;
@@ -645,15 +647,15 @@ let $e = function(n) {
645
647
  return { touchmove: this.onTouchMove, touchend: this.onTouchEnd };
646
648
  }, i.getValueFromPosition = function(o) {
647
649
  const t = o / (this.state.sliderLength - this.state.thumbSize) * (this.props.max - this.props.min);
648
- return K(this.state.startValue + t, this.props);
650
+ return Y(this.state.startValue + t, this.props);
649
651
  }, i.getDiffPosition = function(o) {
650
652
  let t = o - this.state.startPosition;
651
653
  return this.props.invert && (t *= -1), t;
652
654
  }, i.resize = function() {
653
655
  const { slider: o, thumb0: t } = this;
654
656
  if (!o || !t) return;
655
- const r = this.sizeKey(), a = o.getBoundingClientRect(), l = o[r], c = a[this.posMaxKey()], u = a[this.posMinKey()], m = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], h = l - m, _ = Math.abs(c - u);
656
- this.state.upperBound === h && this.state.sliderLength === _ && this.state.thumbSize === m || this.setState({ upperBound: h, sliderLength: _, thumbSize: m });
657
+ const r = this.sizeKey(), a = o.getBoundingClientRect(), l = o[r], c = a[this.posMaxKey()], u = a[this.posMinKey()], m = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], h = l - m, y = Math.abs(c - u);
658
+ this.state.upperBound === h && this.state.sliderLength === y && this.state.thumbSize === m || this.setState({ upperBound: h, sliderLength: y, thumbSize: m });
657
659
  }, i.calcOffset = function(o) {
658
660
  const t = this.props.max - this.props.min;
659
661
  return t === 0 ? 0 : (o - this.props.min) / t * this.state.upperBound;
@@ -664,7 +666,7 @@ let $e = function(n) {
664
666
  let c = o - (window["page" + this.axisKey() + "Offset"] + (this.props.invert ? a : l));
665
667
  return this.props.invert && (c = this.state.sliderLength - c), c -= this.state.thumbSize / 2, c;
666
668
  }, i.forceValueFromPosition = function(o, t) {
667
- const r = this.calcOffsetFromPosition(o), a = this.getClosestIndex(r), l = K(this.calcValue(r), this.props), c = this.state.value.slice();
669
+ const r = this.calcOffsetFromPosition(o), a = this.getClosestIndex(r), l = Y(this.calcValue(r), this.props), c = this.state.value.slice();
668
670
  c[a] = l;
669
671
  for (let u = 0; u < c.length - 1; u += 1) if (c[u + 1] - c[u] < this.props.minDistance) return;
670
672
  this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value: c }, () => {
@@ -682,11 +684,11 @@ let $e = function(n) {
682
684
  a.splice(a.indexOf(o), 1), a.push(o), this.setState((l) => ({ startValue: l.value[o], startPosition: t !== void 0 ? t : l.startPosition, index: o, zIndices: a }));
683
685
  }, i.moveUpByStep = function(o) {
684
686
  o === void 0 && (o = this.props.step);
685
- const t = this.state.value[this.state.index], r = K(this.props.invert && this.props.orientation === "horizontal" ? t - o : t + o, this.props);
687
+ const t = this.state.value[this.state.index], r = Y(this.props.invert && this.props.orientation === "horizontal" ? t - o : t + o, this.props);
686
688
  this.move(Math.min(r, this.props.max));
687
689
  }, i.moveDownByStep = function(o) {
688
690
  o === void 0 && (o = this.props.step);
689
- const t = this.state.value[this.state.index], r = K(this.props.invert && this.props.orientation === "horizontal" ? t + o : t - o, this.props);
691
+ const t = this.state.value[this.state.index], r = Y(this.props.invert && this.props.orientation === "horizontal" ? t + o : t - o, this.props);
690
692
  this.move(Math.max(r, this.props.min));
691
693
  }, i.move = function(o) {
692
694
  const t = this.state.value.slice(), { index: r } = this.state, { length: a } = t, l = t[r];
@@ -695,30 +697,30 @@ let $e = function(n) {
695
697
  const { pearling: c, max: u, min: m, minDistance: h } = this.props;
696
698
  if (!c) {
697
699
  if (r > 0) {
698
- const _ = t[r - 1];
699
- o < _ + h && (o = _ + h);
700
+ const y = t[r - 1];
701
+ o < y + h && (o = y + h);
700
702
  }
701
703
  if (r < a - 1) {
702
- const _ = t[r + 1];
703
- o > _ - h && (o = _ - h);
704
+ const y = t[r + 1];
705
+ o > y - h && (o = y - h);
704
706
  }
705
707
  }
706
- t[r] = o, c && a > 1 && (o > l ? (this.pushSucceeding(t, h, r), function(_, f, g, y) {
707
- for (let C = 0; C < _; C += 1) {
708
- const b = y - C * g;
709
- f[_ - 1 - C] > b && (f[_ - 1 - C] = b);
708
+ t[r] = o, c && a > 1 && (o > l ? (this.pushSucceeding(t, h, r), function(y, b, g, f) {
709
+ for (let C = 0; C < y; C += 1) {
710
+ const _ = f - C * g;
711
+ b[y - 1 - C] > _ && (b[y - 1 - C] = _);
710
712
  }
711
- }(a, t, h, u)) : o < l && (this.pushPreceding(t, h, r), function(_, f, g, y) {
712
- for (let C = 0; C < _; C += 1) {
713
- const b = y + C * g;
714
- f[C] < b && (f[C] = b);
713
+ }(a, t, h, u)) : o < l && (this.pushPreceding(t, h, r), function(y, b, g, f) {
714
+ for (let C = 0; C < y; C += 1) {
715
+ const _ = f + C * g;
716
+ b[C] < _ && (b[C] = _);
715
717
  }
716
718
  }(a, t, h, m))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
717
719
  }, i.pushSucceeding = function(o, t, r) {
718
720
  let a, l;
719
- for (a = r, l = o[a] + t; o[a + 1] !== null && l > o[a + 1]; a += 1, l = o[a] + t) o[a + 1] = Le(l, this.props);
721
+ for (a = r, l = o[a] + t; o[a + 1] !== null && l > o[a + 1]; a += 1, l = o[a] + t) o[a + 1] = Ve(l, this.props);
720
722
  }, i.pushPreceding = function(o, t, r) {
721
- for (let a = r, l = o[a] - t; o[a - 1] !== null && l < o[a - 1]; a -= 1, l = o[a] - t) o[a - 1] = Le(l, this.props);
723
+ for (let a = r, l = o[a] - t; o[a - 1] !== null && l < o[a - 1]; a -= 1, l = o[a] - t) o[a - 1] = Ve(l, this.props);
722
724
  }, i.axisKey = function() {
723
725
  return this.props.orientation === "vertical" ? "Y" : "X";
724
726
  }, i.orthogonalAxisKey = function() {
@@ -730,7 +732,7 @@ let $e = function(n) {
730
732
  }, i.sizeKey = function() {
731
733
  return this.props.orientation === "vertical" ? "clientHeight" : "clientWidth";
732
734
  }, i.fireChangeEvent = function(o) {
733
- this.props[o] && this.props[o](ue(this.state.value), this.state.index);
735
+ this.props[o] && this.props[o](ge(this.state.value), this.state.index);
734
736
  }, i.buildThumbStyle = function(o, t) {
735
737
  const r = { position: "absolute", touchAction: "none", willChange: this.state.index >= 0 ? this.posMinKey() : void 0, zIndex: this.state.zIndices.indexOf(t) + 1 };
736
738
  return r[this.posMinKey()] = o + "px", r;
@@ -767,16 +769,16 @@ let $e = function(n) {
767
769
  }, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, a, l, c);
768
770
  }, d;
769
771
  }(B.Component);
770
- $e.displayName = "ReactSlider", $e.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) => B.createElement("div", n), renderTrack: (n) => B.createElement("div", n), renderMark: (n) => B.createElement("span", n) };
771
- var M2 = $e;
772
- const L2 = "_container_15vgv_2", $2 = "_unitLabel_15vgv_9", F2 = "_slider_15vgv_12", T2 = "_thumb_15vgv_18", V2 = "_track_15vgv_27", A2 = "_labels_15vgv_33", Q = {
773
- container: L2,
774
- unitLabel: $2,
775
- slider: F2,
776
- thumb: T2,
777
- track: V2,
778
- labels: A2
779
- }, ot = ({
772
+ Ae.displayName = "ReactSlider", Ae.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) => B.createElement("div", n), renderTrack: (n) => B.createElement("div", n), renderMark: (n) => B.createElement("span", n) };
773
+ var at = Ae;
774
+ const V2 = "_container_15vgv_2", A2 = "_unitLabel_15vgv_9", I2 = "_slider_15vgv_12", O2 = "_thumb_15vgv_18", R2 = "_track_15vgv_27", q2 = "_labels_15vgv_33", ie = {
775
+ container: V2,
776
+ unitLabel: A2,
777
+ slider: I2,
778
+ thumb: O2,
779
+ track: R2,
780
+ labels: q2
781
+ }, lt = ({
780
782
  min: n = 0,
781
783
  max: d = 100,
782
784
  step: i = 1,
@@ -786,24 +788,24 @@ const L2 = "_container_15vgv_2", $2 = "_unitLabel_15vgv_9", F2 = "_slider_15vgv_
786
788
  fontColor: a = "#605B56",
787
789
  defaultValue: l
788
790
  }) => {
789
- const { t: c } = k(), [u, m] = L([n, d]), h = (_) => {
790
- m(_), o == null || o({ min: _[0], max: _[1] });
791
+ const { t: c } = k(), [u, m] = D([n, d]), h = (y) => {
792
+ m(y), o == null || o({ min: y[0], max: y[1] });
791
793
  };
792
- return $(() => {
794
+ return M(() => {
793
795
  l || m([n, d]);
794
796
  }, [l]), /* @__PURE__ */ p(
795
797
  "div",
796
798
  {
797
- className: Q.container,
799
+ className: ie.container,
798
800
  style: { width: `${t}px`, color: `${a}` },
799
801
  children: [
800
- /* @__PURE__ */ s("div", { className: Q.unitLabel, children: /* @__PURE__ */ s("span", { children: c(r) }) }),
802
+ /* @__PURE__ */ s("div", { className: ie.unitLabel, children: /* @__PURE__ */ s("span", { children: c(r) }) }),
801
803
  /* @__PURE__ */ s(
802
- M2,
804
+ at,
803
805
  {
804
- className: Q.slider,
805
- thumbClassName: Q.thumb,
806
- trackClassName: Q.track,
806
+ className: ie.slider,
807
+ thumbClassName: ie.thumb,
808
+ trackClassName: ie.track,
807
809
  min: n,
808
810
  max: d,
809
811
  step: i,
@@ -814,7 +816,7 @@ const L2 = "_container_15vgv_2", $2 = "_unitLabel_15vgv_9", F2 = "_slider_15vgv_
814
816
  minDistance: 0.1
815
817
  }
816
818
  ),
817
- /* @__PURE__ */ p("div", { className: Q.labels, children: [
819
+ /* @__PURE__ */ p("div", { className: ie.labels, children: [
818
820
  /* @__PURE__ */ s("span", { children: u[0] }),
819
821
  /* @__PURE__ */ s("span", { children: u[1] })
820
822
  ] })
@@ -822,7 +824,7 @@ const L2 = "_container_15vgv_2", $2 = "_unitLabel_15vgv_9", F2 = "_slider_15vgv_
822
824
  }
823
825
  );
824
826
  };
825
- ot.propTypes = {
827
+ lt.propTypes = {
826
828
  min: e.number,
827
829
  max: e.number,
828
830
  step: e.number,
@@ -834,17 +836,17 @@ ot.propTypes = {
834
836
  fontColor: e.string,
835
837
  value: e.arrayOf(e.number)
836
838
  };
837
- const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_1vm1r_2", R2 = "_checkboxContainer_1vm1r_28", q2 = "_absoluteSliderContainer_1vm1r_37", me = {
838
- tematicalFiltersInputContainer: I2,
839
- inputTypeContainer: O2,
840
- checkboxContainer: R2,
841
- absoluteSliderContainer: q2
842
- }, Ie = ({
839
+ const E2 = "_tematicalFiltersInputContainer_1vm1r_2", P2 = "_inputTypeContainer_1vm1r_2", j2 = "_checkboxContainer_1vm1r_28", z2 = "_absoluteSliderContainer_1vm1r_37", fe = {
840
+ tematicalFiltersInputContainer: E2,
841
+ inputTypeContainer: P2,
842
+ checkboxContainer: j2,
843
+ absoluteSliderContainer: z2
844
+ }, Ee = ({
843
845
  indicator: n,
844
846
  //onChangeBothType
845
847
  activeColor: d
846
848
  }) => {
847
- const [i, o] = L(), {
849
+ const [i, o] = D(), {
848
850
  type: t,
849
851
  name: r,
850
852
  values: a,
@@ -852,106 +854,106 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
852
854
  maxValue: c,
853
855
  unit: u,
854
856
  step: m
855
- } = n || {}, h = ae(
857
+ } = n || {}, h = me(
856
858
  () => t == "cat" || i == "cat",
857
859
  [i, t]
858
- ), _ = ae(
860
+ ), y = me(
859
861
  () => t == "abs" || i == "abs",
860
862
  [i, t]
861
863
  ), {
862
- tematicalFiltersSelected: f,
864
+ tematicalFiltersSelected: b,
863
865
  selectedIndicator: g,
864
- fontColor: y,
866
+ fontColor: f,
865
867
  inputsColor: C
866
- } = T((x) => x), b = (x) => {
867
- if (x) {
868
- const { min: v, max: N, valueClicked: S, allValues: D } = x || {}, { code: z, type: ce } = n || {}, de = _ ? "abs" : h ? "cat" : "both";
869
- let R = z[0];
870
- ce == "both" && (R = de == "cat" ? z[1] : z[0]), de == "cat" ? T.setState((q) => {
871
- let E = q.tematicalFiltersSelected.find(
872
- (V) => V.code === R
868
+ } = F((w) => w), _ = (w) => {
869
+ if (w) {
870
+ const { min: x, max: N, valueClicked: S, allValues: $ } = w || {}, { code: E, type: A } = n || {}, H = y ? "abs" : h ? "cat" : "both";
871
+ let O = E[0];
872
+ A == "both" && (O = H == "cat" ? E[1] : E[0]), H == "cat" ? F.setState((j) => {
873
+ let z = j.tematicalFiltersSelected.find(
874
+ (V) => V.code === O
873
875
  );
874
- if (E) {
875
- let V = [E.values];
876
- return E.values.includes(S) ? V = E.values.filter(
877
- (I) => I !== S
878
- ) : V = [...E.values, S], V.length == D.length ? {
879
- tematicalFiltersSelected: q.tematicalFiltersSelected.filter(
880
- (I) => I.code !== R
876
+ if (z) {
877
+ let V = [z.values];
878
+ return z.values.includes(S) ? V = z.values.filter(
879
+ (R) => R !== S
880
+ ) : V = [...z.values, S], V.length == $.length ? {
881
+ tematicalFiltersSelected: j.tematicalFiltersSelected.filter(
882
+ (R) => R.code !== O
881
883
  )
882
884
  } : {
883
- tematicalFiltersSelected: q.tematicalFiltersSelected.map(
884
- (I) => I.code === R ? { ...I, values: V } : I
885
+ tematicalFiltersSelected: j.tematicalFiltersSelected.map(
886
+ (R) => R.code === O ? { ...R, values: V } : R
885
887
  )
886
888
  };
887
889
  } else {
888
- let V = D.map((I, bt) => bt);
890
+ let V = $.map((R, wt) => wt);
889
891
  return {
890
892
  tematicalFiltersSelected: [
891
- ...f,
893
+ ...b,
892
894
  {
893
895
  type: "cat",
894
- code: R,
895
- values: V.filter((I) => I !== S),
896
+ code: O,
897
+ values: V.filter((R) => R !== S),
896
898
  name: n.name
897
899
  }
898
900
  ]
899
901
  };
900
902
  }
901
- }) : de == "abs" && T.setState((q) => {
902
- let E = q.tematicalFiltersSelected.find(
903
- (V) => V.code === R
903
+ }) : H == "abs" && F.setState((j) => {
904
+ let z = j.tematicalFiltersSelected.find(
905
+ (V) => V.code === O
904
906
  );
905
- if (v == n.minValue && N == n.maxValue)
907
+ if (x == n.minValue && N == n.maxValue)
906
908
  return {
907
- tematicalFiltersSelected: q.tematicalFiltersSelected.filter(
908
- (V) => V.code !== R
909
+ tematicalFiltersSelected: j.tematicalFiltersSelected.filter(
910
+ (V) => V.code !== O
909
911
  )
910
912
  };
911
- if (E) {
912
- let V = { ...E };
913
- return V.min = v, V.max = N, {
914
- tematicalFiltersSelected: q.tematicalFiltersSelected.map(
915
- (I) => I.code === R ? V : I
913
+ if (z) {
914
+ let V = { ...z };
915
+ return V.min = x, V.max = N, {
916
+ tematicalFiltersSelected: j.tematicalFiltersSelected.map(
917
+ (R) => R.code === O ? V : R
916
918
  )
917
919
  };
918
920
  } else
919
921
  return {
920
922
  tematicalFiltersSelected: [
921
- ...f,
922
- { type: "abs", code: R, min: v, max: N, name: n.name }
923
+ ...b,
924
+ { type: "abs", code: O, min: x, max: N, name: n.name }
923
925
  ]
924
926
  };
925
927
  });
926
928
  }
927
- }, w = ae(() => {
928
- const x = {};
929
- if ((f == null ? void 0 : f.length) > 0)
930
- for (const v of f)
931
- v.type === "cat" ? x[v.code] = new Set(v.values) : x[v.code] = [v.min, v.max];
932
- return console.log("mapfilterSelected", x), x;
933
- }, [f]);
934
- return /* @__PURE__ */ s("div", { className: me.tematicalFiltersInputContainer, children: /* @__PURE__ */ p(
935
- W,
929
+ }, v = me(() => {
930
+ const w = {};
931
+ if ((b == null ? void 0 : b.length) > 0)
932
+ for (const x of b)
933
+ x.type === "cat" ? w[x.code] = new Set(x.values) : w[x.code] = [x.min, x.max];
934
+ return console.log("mapfilterSelected", w), w;
935
+ }, [b]);
936
+ return /* @__PURE__ */ s("div", { className: fe.tematicalFiltersInputContainer, children: /* @__PURE__ */ p(
937
+ ne,
936
938
  {
937
939
  titleFontStyles: { fontSize: 16, fontWeight: 400 },
938
940
  title: r,
939
941
  isOpen: g == `id${r}`,
940
- onClick: () => T.setState(() => ({
942
+ onClick: () => F.setState(() => ({
941
943
  selectedIndicator: g == `id${r}` ? "" : `id${r}`
942
944
  })),
943
945
  showBottomBar: !1,
944
946
  height: 42,
945
947
  titleMarginChildren: 14,
946
948
  className: "tematicalFiltersInputContainer",
947
- color: y,
949
+ color: f,
948
950
  activeColor: d,
949
951
  children: [
950
952
  t == "both" && /* @__PURE__ */ p(
951
953
  "div",
952
954
  {
953
- className: me.inputTypeContainer,
954
- style: { color: y },
955
+ className: fe.inputTypeContainer,
956
+ style: { color: f },
955
957
  children: [
956
958
  /* @__PURE__ */ p("label", { children: [
957
959
  /* @__PURE__ */ s(
@@ -966,7 +968,7 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
966
968
  style: {
967
969
  marginRight: 4,
968
970
  backgroundColor: i == "abs" ? C : "white",
969
- border: `1.5px solid ${i == "abs" ? C : y}`
971
+ border: `1.5px solid ${i == "abs" ? C : f}`
970
972
  }
971
973
  }
972
974
  ),
@@ -985,7 +987,7 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
985
987
  style: {
986
988
  marginRight: 4,
987
989
  backgroundColor: i == "cat" ? C : "white",
988
- border: `1.5px solid ${i == "cat" ? C : y}`
990
+ border: `1.5px solid ${i == "cat" ? C : f}`
989
991
  }
990
992
  }
991
993
  ),
@@ -994,26 +996,26 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
994
996
  ]
995
997
  }
996
998
  ),
997
- h && /* @__PURE__ */ s("div", { className: me.checkboxContainer, children: a.map((x, v) => {
999
+ h && /* @__PURE__ */ s("div", { className: fe.checkboxContainer, children: a.map((w, x) => {
998
1000
  var N;
999
1001
  return /* @__PURE__ */ s(
1000
- it,
1002
+ rt,
1001
1003
  {
1002
- onClick: () => b({ valueClicked: v, allValues: a }),
1003
- indicator: x,
1004
- value: ((N = w[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : N.has(v)) || !w[n.code[t == "both" ? 1 : 0]]
1004
+ onClick: () => _({ valueClicked: x, allValues: a }),
1005
+ indicator: w,
1006
+ value: ((N = v[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : N.has(x)) || !v[n.code[t == "both" ? 1 : 0]]
1005
1007
  },
1006
- `checkbox-${v}`
1008
+ `checkbox-${x}`
1007
1009
  );
1008
1010
  }) }),
1009
- _ && /* @__PURE__ */ s("div", { className: me.absoluteSliderContainer, children: /* @__PURE__ */ s(
1010
- ot,
1011
+ y && /* @__PURE__ */ s("div", { className: fe.absoluteSliderContainer, children: /* @__PURE__ */ s(
1012
+ lt,
1011
1013
  {
1012
- onChange: b,
1014
+ onChange: _,
1013
1015
  min: l,
1014
1016
  max: c,
1015
1017
  unit: u,
1016
- defaultValue: w[n.code[0]] ? w[n.code[0]] : "",
1018
+ defaultValue: v[n.code[0]] ? v[n.code[0]] : "",
1017
1019
  step: m
1018
1020
  }
1019
1021
  ) })
@@ -1021,7 +1023,7 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
1021
1023
  }
1022
1024
  ) });
1023
1025
  };
1024
- Ie.propTypes = {
1026
+ Ee.propTypes = {
1025
1027
  indicator: e.shape({
1026
1028
  name: e.string,
1027
1029
  type: e.string,
@@ -1036,20 +1038,20 @@ Ie.propTypes = {
1036
1038
  activeColor: e.string
1037
1039
  //onChangeBothType: PropTypes.func,
1038
1040
  };
1039
- const st = ({
1041
+ const ct = ({
1040
1042
  subcategory: n,
1041
1043
  fontColor: d,
1042
1044
  activeColor: i
1043
1045
  //onChangeBothType,
1044
1046
  }) => {
1045
- const { activeSubcategory: o } = T((a) => a), { name: t, indicators: r } = n || {};
1047
+ const { activeSubcategory: o } = F((a) => a), { name: t, indicators: r } = n || {};
1046
1048
  return /* @__PURE__ */ s(
1047
- W,
1049
+ ne,
1048
1050
  {
1049
1051
  title: t,
1050
1052
  isOpen: o == `id${t}`,
1051
1053
  onClick: () => {
1052
- T.setState((a) => ({
1054
+ F.setState((a) => ({
1053
1055
  activeSubcategory: a.activeSubcategory === `id${t}` ? "" : `id${t}`
1054
1056
  }));
1055
1057
  },
@@ -1060,7 +1062,7 @@ const st = ({
1060
1062
  color: d,
1061
1063
  activeColor: i,
1062
1064
  children: r == null ? void 0 : r.map((a, l) => /* @__PURE__ */ s(
1063
- Ie,
1065
+ Ee,
1064
1066
  {
1065
1067
  indicator: a,
1066
1068
  fontColor: d,
@@ -1071,7 +1073,7 @@ const st = ({
1071
1073
  }
1072
1074
  );
1073
1075
  };
1074
- st.propTypes = {
1076
+ ct.propTypes = {
1075
1077
  subcategory: e.shape({
1076
1078
  name: e.string,
1077
1079
  indicators: e.arrayOf(
@@ -1084,17 +1086,17 @@ st.propTypes = {
1084
1086
  activeColor: e.string
1085
1087
  //onChangeBothType: PropTypes.func,
1086
1088
  };
1087
- const rt = ({
1089
+ const dt = ({
1088
1090
  category: n,
1089
1091
  // onChangeBothType,
1090
1092
  activeColor: d
1091
1093
  }) => {
1092
- const { name: i, subcategories: o, indicators: t } = n || {}, { activeCategory: r, fontColor: a } = T((l) => l);
1094
+ const { name: i, subcategories: o, indicators: t } = n || {}, { activeCategory: r, fontColor: a } = F((l) => l);
1093
1095
  return n && /* @__PURE__ */ s(
1094
- W,
1096
+ ne,
1095
1097
  {
1096
1098
  onClick: () => {
1097
- T.setState((l) => ({
1099
+ F.setState((l) => ({
1098
1100
  activeCategory: r === `id${i}` ? "" : `id${i}`
1099
1101
  }));
1100
1102
  },
@@ -1105,7 +1107,7 @@ const rt = ({
1105
1107
  color: a,
1106
1108
  activeColor: d,
1107
1109
  children: o ? o.map((l, c) => /* @__PURE__ */ s(
1108
- st,
1110
+ ct,
1109
1111
  {
1110
1112
  subcategory: l,
1111
1113
  fontColor: a,
@@ -1113,7 +1115,7 @@ const rt = ({
1113
1115
  },
1114
1116
  `subcategory-${c}`
1115
1117
  )) : t && t.map((l, c) => /* @__PURE__ */ s(
1116
- Ie,
1118
+ Ee,
1117
1119
  {
1118
1120
  indicator: l,
1119
1121
  fontColor: a,
@@ -1124,7 +1126,7 @@ const rt = ({
1124
1126
  }
1125
1127
  );
1126
1128
  };
1127
- rt.propTypes = {
1129
+ dt.propTypes = {
1128
1130
  category: e.shape({
1129
1131
  name: e.string.isRequired,
1130
1132
  subcategories: e.array,
@@ -1133,7 +1135,7 @@ rt.propTypes = {
1133
1135
  activeColor: e.string
1134
1136
  //onChangeBothType: PropTypes.func,
1135
1137
  };
1136
- const at = ({
1138
+ const ut = ({
1137
1139
  indicators: n,
1138
1140
  isOpen: d = !0,
1139
1141
  title: i,
@@ -1142,20 +1144,20 @@ const at = ({
1142
1144
  inputsColor: t = "#605B56",
1143
1145
  activeColor: r
1144
1146
  }) => {
1145
- const { tematicalFiltersSelected: a } = T((c) => c), { t: l } = k();
1146
- return $(() => {
1147
- o && T.setState(() => ({ fontColor: o }));
1148
- }, [o]), $(() => {
1149
- t && T.setState(() => ({ inputsColor: t }));
1147
+ const { tematicalFiltersSelected: a } = F((c) => c), { t: l } = k();
1148
+ return M(() => {
1149
+ o && F.setState(() => ({ fontColor: o }));
1150
+ }, [o]), M(() => {
1151
+ t && F.setState(() => ({ inputsColor: t }));
1150
1152
  }, [t]), /* @__PURE__ */ s(
1151
- W,
1153
+ ne,
1152
1154
  {
1153
1155
  isOpen: d,
1154
1156
  title: i ? l(i) : "Tematical filters",
1155
1157
  color: o,
1156
1158
  activeColor: r,
1157
1159
  children: n == null ? void 0 : n.map((c, u) => /* @__PURE__ */ s(
1158
- rt,
1160
+ dt,
1159
1161
  {
1160
1162
  category: c,
1161
1163
  fontColor: o,
@@ -1166,7 +1168,7 @@ const at = ({
1166
1168
  }
1167
1169
  );
1168
1170
  };
1169
- at.propTypes = {
1171
+ ut.propTypes = {
1170
1172
  isOpen: e.bool,
1171
1173
  title: e.string,
1172
1174
  indicators: e.arrayOf(e.object),
@@ -1175,14 +1177,14 @@ at.propTypes = {
1175
1177
  inputsColor: e.string,
1176
1178
  activeColor: e.string
1177
1179
  };
1178
- const E2 = "_FiltersAmbitContainer_1g9xx_2", P2 = "_FiltersAmbitHeader_1g9xx_7", z2 = "_FiltersAmbitTitle_1g9xx_15", j2 = "_FiltersAmbitDescription_1g9xx_22", Z2 = "_FiltersAmbitDescriptionTitle_1g9xx_33", K2 = "_warning_1g9xx_37", X = {
1179
- FiltersAmbitContainer: E2,
1180
- FiltersAmbitHeader: P2,
1181
- FiltersAmbitTitle: z2,
1182
- FiltersAmbitDescription: j2,
1183
- FiltersAmbitDescriptionTitle: Z2,
1184
- warning: K2
1185
- }, H2 = ({
1180
+ const Z2 = "_FiltersAmbitContainer_1g9xx_2", K2 = "_FiltersAmbitHeader_1g9xx_7", H2 = "_FiltersAmbitTitle_1g9xx_15", U2 = "_FiltersAmbitDescription_1g9xx_22", G2 = "_FiltersAmbitDescriptionTitle_1g9xx_33", W2 = "_warning_1g9xx_37", oe = {
1181
+ FiltersAmbitContainer: Z2,
1182
+ FiltersAmbitHeader: K2,
1183
+ FiltersAmbitTitle: H2,
1184
+ FiltersAmbitDescription: U2,
1185
+ FiltersAmbitDescriptionTitle: G2,
1186
+ warning: W2
1187
+ }, Y2 = ({
1186
1188
  ambitName: n,
1187
1189
  ambitDescription: d,
1188
1190
  defaultFilters: i,
@@ -1195,45 +1197,45 @@ const E2 = "_FiltersAmbitContainer_1g9xx_2", P2 = "_FiltersAmbitHeader_1g9xx_7",
1195
1197
  namePlaceholder: u,
1196
1198
  descPlaceholder: m,
1197
1199
  filtersTypes: h = ["geographical", "tematical"],
1198
- nameRequiredText: _,
1199
- onlyFilters: f = !1
1200
+ nameRequiredText: y,
1201
+ onlyFilters: b = !1
1200
1202
  //usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
1201
1203
  }) => {
1202
- const { t: g } = k(), { tematicalFiltersSelected: y } = T((D) => D), [C, b] = L(n || null), [w, x] = L(d || null), [v, N] = L(!1);
1203
- $(() => {
1204
- i && i.length > 0 && T.setState((D) => ({
1204
+ const { t: g } = k(), { tematicalFiltersSelected: f } = F(($) => $), [C, _] = D(n || null), [v, w] = D(d || null), [x, N] = D(!1);
1205
+ M(() => {
1206
+ i && i.length > 0 && F.setState(($) => ({
1205
1207
  tematicalFiltersSelected: i
1206
1208
  }));
1207
- }, [i]), $(() => {
1208
- console.log("filtersSelected changed: ", y), l(y);
1209
- }, [y]);
1209
+ }, [i]), M(() => {
1210
+ console.log("filtersSelected changed: ", f), l(f);
1211
+ }, [f]);
1210
1212
  const S = () => {
1211
- C ? c({ name: C, description: w }) : N(!0);
1213
+ C ? c({ name: C, description: v }) : N(!0);
1212
1214
  };
1213
- return /* @__PURE__ */ p("div", { className: X.FiltersAmbitContainer, children: [
1214
- !f && /* @__PURE__ */ p("div", { className: X.FiltersAmbitHeader, children: [
1215
- /* @__PURE__ */ s("div", { className: X.FiltersAmbitTitle, children: /* @__PURE__ */ s(
1215
+ return /* @__PURE__ */ p("div", { className: oe.FiltersAmbitContainer, children: [
1216
+ !b && /* @__PURE__ */ p("div", { className: oe.FiltersAmbitHeader, children: [
1217
+ /* @__PURE__ */ s("div", { className: oe.FiltersAmbitTitle, children: /* @__PURE__ */ s(
1216
1218
  "input",
1217
1219
  {
1218
1220
  type: "text",
1219
- onChange: (D) => {
1220
- N(!1), b(D.target.value);
1221
+ onChange: ($) => {
1222
+ N(!1), _($.target.value);
1221
1223
  },
1222
1224
  value: C,
1223
1225
  placeholder: g(u)
1224
1226
  }
1225
1227
  ) }),
1226
- /* @__PURE__ */ s("div", { className: X.FiltersAmbitDescription, children: /* @__PURE__ */ s("div", { className: X.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ s(
1228
+ /* @__PURE__ */ s("div", { className: oe.FiltersAmbitDescription, children: /* @__PURE__ */ s("div", { className: oe.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ s(
1227
1229
  "textarea",
1228
1230
  {
1229
- value: w,
1230
- onChange: (D) => x(D.target.value),
1231
+ value: v,
1232
+ onChange: ($) => w($.target.value),
1231
1233
  placeholder: g(m)
1232
1234
  }
1233
1235
  ) }) })
1234
1236
  ] }),
1235
1237
  /* @__PURE__ */ s(
1236
- tt,
1238
+ ot,
1237
1239
  {
1238
1240
  title: g("applied_filters"),
1239
1241
  isOpen: !0,
@@ -1242,9 +1244,9 @@ const E2 = "_FiltersAmbitContainer_1g9xx_2", P2 = "_FiltersAmbitHeader_1g9xx_7",
1242
1244
  activeColor: t
1243
1245
  }
1244
1246
  ),
1245
- h.includes("geographical") && /* @__PURE__ */ s(nt, { activeColor: t }),
1247
+ h.includes("geographical") && /* @__PURE__ */ s(st, { activeColor: t }),
1246
1248
  h.includes("tematical") && /* @__PURE__ */ s(
1247
- at,
1249
+ ut,
1248
1250
  {
1249
1251
  indicators: o,
1250
1252
  inputsColor: t,
@@ -1253,11 +1255,11 @@ const E2 = "_FiltersAmbitContainer_1g9xx_2", P2 = "_FiltersAmbitHeader_1g9xx_7",
1253
1255
  activeColor: t
1254
1256
  }
1255
1257
  ),
1256
- v && /* @__PURE__ */ s("div", { className: X.warning, children: g(_) }),
1257
- !f && /* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(Ce, { onClick: () => S(), children: g("save_ambit") }) })
1258
+ x && /* @__PURE__ */ s("div", { className: oe.warning, children: g(y) }),
1259
+ !b && /* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(_e, { onClick: () => S(), children: g("save_ambit") }) })
1258
1260
  ] });
1259
1261
  };
1260
- H2.propTypes = {
1262
+ Y2.propTypes = {
1261
1263
  indicators: e.arrayOf(e.object).isRequired,
1262
1264
  ambitName: e.string,
1263
1265
  ambitDescription: e.string,
@@ -1272,9 +1274,9 @@ H2.propTypes = {
1272
1274
  filtersTypes: e.arrayOf(e.string).isRequired,
1273
1275
  nameRequiredText: e.string
1274
1276
  };
1275
- const U2 = "_barChartContainer_d2f1z_2", G2 = {
1276
- barChartContainer: U2
1277
- }, lt = ({
1277
+ const Q2 = "_barChartContainer_d2f1z_2", X2 = {
1278
+ barChartContainer: Q2
1279
+ }, pt = ({
1278
1280
  data: n,
1279
1281
  width: d = 700,
1280
1282
  barHeight: i = 25,
@@ -1286,12 +1288,12 @@ const U2 = "_barChartContainer_d2f1z_2", G2 = {
1286
1288
  numberOfDivisions: c = 7,
1287
1289
  maxValue: u = null
1288
1290
  }) => {
1289
- const { t: m } = k(), { xScale: h, ticks: _, height: f } = ae(() => {
1291
+ const { t: m } = k(), { xScale: h, ticks: y, height: b } = me(() => {
1290
1292
  if (n && n.length > 0) {
1291
- const g = (n == null ? void 0 : n.length) * (i + o) + r * 2, y = Ee.max(n, (w) => w.value) || 1, C = Ee.scaleLinear().domain([0, u || y]).range([0, d - l]), b = Array.from({ length: c + 1 }, (w, x) => u ? u / c * x : y / c * x);
1293
+ const g = (n == null ? void 0 : n.length) * (i + o) + r * 2, f = ze.max(n, (v) => v.value) || 1, C = ze.scaleLinear().domain([0, u || f]).range([0, d - l]), _ = Array.from({ length: c + 1 }, (v, w) => u ? u / c * w : f / c * w);
1292
1294
  return {
1293
1295
  xScale: C,
1294
- ticks: b,
1296
+ ticks: _,
1295
1297
  height: g,
1296
1298
  width: d,
1297
1299
  verticalPaddign: r,
@@ -1309,36 +1311,36 @@ const U2 = "_barChartContainer_d2f1z_2", G2 = {
1309
1311
  r,
1310
1312
  u
1311
1313
  ]);
1312
- return /* @__PURE__ */ s("div", { className: G2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + a * 2, height: f, children: /* @__PURE__ */ p("g", { transform: `translate(0,${o})`, children: [
1313
- /* @__PURE__ */ s("g", { transform: `translate(${l + a}, 0)`, children: _.map((g, y) => {
1314
+ return /* @__PURE__ */ s("div", { className: X2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + a * 2, height: b, children: /* @__PURE__ */ p("g", { transform: `translate(0,${o})`, children: [
1315
+ /* @__PURE__ */ s("g", { transform: `translate(${l + a}, 0)`, children: y.map((g, f) => {
1314
1316
  const C = h(g);
1315
1317
  return /* @__PURE__ */ p("g", { transform: `translate(${C}, 0)`, children: [
1316
1318
  /* @__PURE__ */ s(
1317
1319
  "line",
1318
1320
  {
1319
1321
  y1: 0,
1320
- y2: f - o * 2,
1322
+ y2: b - o * 2,
1321
1323
  stroke: "#ccc"
1322
1324
  }
1323
1325
  ),
1324
1326
  /* @__PURE__ */ s(
1325
1327
  "text",
1326
1328
  {
1327
- y: f - o,
1329
+ y: b - o,
1328
1330
  textAnchor: "middle",
1329
1331
  fontSize: 10,
1330
1332
  fill: t,
1331
1333
  children: parseInt(g)
1332
1334
  }
1333
1335
  )
1334
- ] }, y);
1336
+ ] }, f);
1335
1337
  }) }),
1336
- n && n.length > 0 && (n == null ? void 0 : n.map((g, y) => {
1337
- const C = h(g.value), b = y * (i + o);
1338
+ n && n.length > 0 && (n == null ? void 0 : n.map((g, f) => {
1339
+ const C = h(g.value), _ = f * (i + o);
1338
1340
  return /* @__PURE__ */ p(
1339
1341
  "g",
1340
1342
  {
1341
- transform: `translate(${l + a}, ${b})`,
1343
+ transform: `translate(${l + a}, ${_})`,
1342
1344
  children: [
1343
1345
  /* @__PURE__ */ s(
1344
1346
  "text",
@@ -1361,12 +1363,12 @@ const U2 = "_barChartContainer_d2f1z_2", G2 = {
1361
1363
  )
1362
1364
  ]
1363
1365
  },
1364
- y
1366
+ f
1365
1367
  );
1366
1368
  }))
1367
1369
  ] }) }) });
1368
1370
  };
1369
- lt.propTypes = {
1371
+ pt.propTypes = {
1370
1372
  data: e.arrayOf(
1371
1373
  e.shape({
1372
1374
  title: e.string,
@@ -1382,10 +1384,10 @@ lt.propTypes = {
1382
1384
  numberOfDivisions: e.number,
1383
1385
  fontColor: e.string
1384
1386
  };
1385
- const Y2 = "_graphicContainer_c9zrg_2", W2 = "_titleContainer_c9zrg_14", je = {
1386
- graphicContainer: Y2,
1387
- titleContainer: W2
1388
- }, Q2 = ({
1387
+ const J2 = "_graphicContainer_c9zrg_2", e0 = "_titleContainer_c9zrg_14", He = {
1388
+ graphicContainer: J2,
1389
+ titleContainer: e0
1390
+ }, t0 = ({
1389
1391
  data: n,
1390
1392
  graphWidth: d = 700,
1391
1393
  containerStyle: i,
@@ -1400,15 +1402,15 @@ const Y2 = "_graphicContainer_c9zrg_2", W2 = "_titleContainer_c9zrg_14", je = {
1400
1402
  return /* @__PURE__ */ p(
1401
1403
  "div",
1402
1404
  {
1403
- className: je.graphicContainer,
1405
+ className: He.graphicContainer,
1404
1406
  style: {
1405
1407
  ...i || {},
1406
1408
  border: `1.5px solid ${o}`
1407
1409
  },
1408
1410
  children: [
1409
- /* @__PURE__ */ s("div", { className: je.titleContainer, children: /* @__PURE__ */ s("h2", { children: u(t) }) }),
1411
+ /* @__PURE__ */ s("div", { className: He.titleContainer, children: /* @__PURE__ */ s("h2", { children: u(t) }) }),
1410
1412
  /* @__PURE__ */ s(
1411
- lt,
1413
+ pt,
1412
1414
  {
1413
1415
  data: n,
1414
1416
  width: d,
@@ -1422,7 +1424,7 @@ const Y2 = "_graphicContainer_c9zrg_2", W2 = "_titleContainer_c9zrg_14", je = {
1422
1424
  }
1423
1425
  );
1424
1426
  };
1425
- Q2.propTypes = {
1427
+ t0.propTypes = {
1426
1428
  data: e.arrayOf(
1427
1429
  e.shape({
1428
1430
  color: e.string.isRequired,
@@ -1439,22 +1441,22 @@ Q2.propTypes = {
1439
1441
  numberOfDivisions: e.number,
1440
1442
  leftPadding: e.number
1441
1443
  };
1442
- const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu33_11", we = {
1443
- indicatorsCategory: X2,
1444
- title: J2,
1445
- list: e0
1446
- }, t0 = "_indicatorContainer_1go6h_2", n0 = "_indicatorNameContainer_1go6h_11", i0 = "_dot_1go6h_17", o0 = "_indicatorName_1go6h_11", s0 = "_switchExternalContainer_1go6h_28", r0 = "_switchType_1go6h_37", a0 = "_switchTypeOptions_1go6h_41", l0 = "_optionContainer_1go6h_52", c0 = "_customRadious_1go6h_62", d0 = "_optionText_1go6h_69", F = {
1447
- indicatorContainer: t0,
1448
- indicatorNameContainer: n0,
1449
- dot: i0,
1450
- indicatorName: o0,
1451
- switchExternalContainer: s0,
1452
- switchType: r0,
1453
- switchTypeOptions: a0,
1454
- optionContainer: l0,
1455
- customRadious: c0,
1456
- optionText: d0
1457
- }, Oe = ({
1444
+ const n0 = "_indicatorsCategory_1cu33_2", i0 = "_title_1cu33_5", o0 = "_list_1cu33_11", Be = {
1445
+ indicatorsCategory: n0,
1446
+ title: i0,
1447
+ list: o0
1448
+ }, s0 = "_indicatorContainer_1go6h_2", r0 = "_indicatorNameContainer_1go6h_11", a0 = "_dot_1go6h_17", l0 = "_indicatorName_1go6h_11", c0 = "_switchExternalContainer_1go6h_28", d0 = "_switchType_1go6h_37", u0 = "_switchTypeOptions_1go6h_41", p0 = "_optionContainer_1go6h_52", m0 = "_customRadious_1go6h_62", h0 = "_optionText_1go6h_69", T = {
1449
+ indicatorContainer: s0,
1450
+ indicatorNameContainer: r0,
1451
+ dot: a0,
1452
+ indicatorName: l0,
1453
+ switchExternalContainer: c0,
1454
+ switchType: d0,
1455
+ switchTypeOptions: u0,
1456
+ optionContainer: p0,
1457
+ customRadious: m0,
1458
+ optionText: h0
1459
+ }, Pe = ({
1458
1460
  indicator: n,
1459
1461
  values: d = [],
1460
1462
  activeColor: i,
@@ -1465,25 +1467,25 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
1465
1467
  multiple: l = !1,
1466
1468
  onChangeType: c
1467
1469
  }) => {
1468
- const { t: u } = k(), { name: m, type: h } = n, [_, f] = L(!1);
1469
- $(() => {
1470
- t && f(
1470
+ const { t: u } = k(), { name: m, type: h, disabled: y } = n, [b, g] = D(!1);
1471
+ M(() => {
1472
+ t && g(
1471
1473
  l ? t.some(
1472
- (C) => C.name == String(m)
1474
+ (_) => _.name == String(m)
1473
1475
  ) : t.name == m
1474
1476
  );
1475
1477
  }, [t]);
1476
- const g = () => /* @__PURE__ */ s("div", { className: F.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: F.switchType, children: /* @__PURE__ */ p("div", { className: F.switchTypeOptions, children: [
1478
+ const f = () => /* @__PURE__ */ s("div", { className: T.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: T.switchType, children: /* @__PURE__ */ p("div", { className: T.switchTypeOptions, children: [
1477
1479
  /* @__PURE__ */ p(
1478
1480
  "div",
1479
1481
  {
1480
- className: F.optionContainer,
1482
+ className: T.optionContainer,
1481
1483
  onClick: () => c("cat"),
1482
1484
  children: [
1483
1485
  /* @__PURE__ */ s(
1484
1486
  "span",
1485
1487
  {
1486
- className: `${F.customRadious}`,
1488
+ className: `${T.customRadious}`,
1487
1489
  style: {
1488
1490
  backgroundColor: r === "cat" ? i : "transparent",
1489
1491
  borderColor: r === "cat" ? i : o
@@ -1493,7 +1495,7 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
1493
1495
  /* @__PURE__ */ s(
1494
1496
  "h4",
1495
1497
  {
1496
- className: F.optionText,
1498
+ className: T.optionText,
1497
1499
  style: {
1498
1500
  color: r === "cat" ? i : o
1499
1501
  },
@@ -1506,13 +1508,13 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
1506
1508
  /* @__PURE__ */ p(
1507
1509
  "div",
1508
1510
  {
1509
- className: F.optionContainer,
1511
+ className: T.optionContainer,
1510
1512
  onClick: () => c("abs"),
1511
1513
  children: [
1512
1514
  /* @__PURE__ */ s(
1513
1515
  "span",
1514
1516
  {
1515
- className: `${F.customRadious}`,
1517
+ className: `${T.customRadious}`,
1516
1518
  style: {
1517
1519
  backgroundColor: r === "abs" ? i : "transparent",
1518
1520
  borderColor: r === "abs" ? i : o
@@ -1522,7 +1524,7 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
1522
1524
  /* @__PURE__ */ s(
1523
1525
  "h4",
1524
1526
  {
1525
- className: F.optionText,
1527
+ className: T.optionText,
1526
1528
  style: {
1527
1529
  color: r === "abs" ? i : o
1528
1530
  },
@@ -1532,54 +1534,65 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
1532
1534
  ]
1533
1535
  }
1534
1536
  )
1535
- ] }) }) }), y = () => /* @__PURE__ */ s("div", { className: F.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: F.switchType, children: /* @__PURE__ */ s("div", { className: F.switchTypeOptions, children: d.map((C, b) => /* @__PURE__ */ p(
1537
+ ] }) }) }), C = () => /* @__PURE__ */ s("div", { className: T.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: T.switchType, children: /* @__PURE__ */ s("div", { className: T.switchTypeOptions, children: d.map((_, v) => /* @__PURE__ */ p(
1536
1538
  "div",
1537
1539
  {
1538
- className: F.optionContainer,
1540
+ className: T.optionContainer,
1539
1541
  children: [
1540
1542
  /* @__PURE__ */ s(
1541
1543
  "span",
1542
1544
  {
1543
- className: F.customRadious
1545
+ className: T.customRadious
1544
1546
  }
1545
1547
  ),
1546
- /* @__PURE__ */ s("h4", { children: u(C.unit) })
1548
+ /* @__PURE__ */ s("h4", { children: u(_.unit) })
1547
1549
  ]
1548
1550
  },
1549
- b
1551
+ v
1550
1552
  )) }) }) });
1551
- return /* @__PURE__ */ p("div", { className: F.indicatorContainer, children: [
1553
+ return /* @__PURE__ */ p("div", { className: T.indicatorContainer, children: [
1552
1554
  /* @__PURE__ */ p(
1553
1555
  "div",
1554
1556
  {
1555
- className: F.indicatorNameContainer,
1556
- onClick: () => a({ indicator: n }),
1557
+ className: T.indicatorNameContainer,
1558
+ onClick: () => !y && a({ indicator: n }),
1557
1559
  children: [
1558
1560
  /* @__PURE__ */ s(
1559
1561
  "div",
1560
1562
  {
1561
1563
  style: {
1562
- border: _ ? `1px solid ${i}` : `1px solid ${o}`
1564
+ border: b ? `1px solid ${i}` : `1px solid ${o}`,
1565
+ opacity: y ? 0.5 : 1
1563
1566
  },
1564
- className: F.dot
1567
+ className: T.dot
1565
1568
  }
1566
1569
  ),
1567
1570
  /* @__PURE__ */ s(
1568
1571
  "h4",
1569
1572
  {
1570
- className: F.indicatorName,
1571
- style: { color: _ ? i : o },
1572
- children: /* @__PURE__ */ s(Ve, { i18nKey: m, components: { sup: /* @__PURE__ */ s("sup", {}) }, shouldUnescape: !0 })
1573
+ className: T.indicatorName,
1574
+ style: {
1575
+ color: b ? i : o,
1576
+ opacity: y ? 0.5 : 1
1577
+ },
1578
+ children: /* @__PURE__ */ s(
1579
+ Re,
1580
+ {
1581
+ i18nKey: m,
1582
+ components: { sup: /* @__PURE__ */ s("sup", {}) },
1583
+ shouldUnescape: !0
1584
+ }
1585
+ )
1573
1586
  }
1574
1587
  )
1575
1588
  ]
1576
1589
  }
1577
1590
  ),
1578
- (t == null ? void 0 : t.name) === m && h === "both" && /* @__PURE__ */ s("div", { children: g() }),
1579
- (t == null ? void 0 : t.name) === m && h === "twoUnits" && /* @__PURE__ */ s("div", { children: y() })
1591
+ (t == null ? void 0 : t.name) === m && h === "both" && /* @__PURE__ */ s("div", { children: f() }),
1592
+ (t == null ? void 0 : t.name) === m && h === "twoUnits" && /* @__PURE__ */ s("div", { children: C() })
1580
1593
  ] });
1581
1594
  };
1582
- Oe.propTypes = {
1595
+ Pe.propTypes = {
1583
1596
  indicator: e.shape({
1584
1597
  name: e.string,
1585
1598
  type: e.string
@@ -1591,10 +1604,10 @@ Oe.propTypes = {
1591
1604
  multiple: e.bool,
1592
1605
  onClickIndicator: e.func
1593
1606
  };
1594
- const u0 = "_indicatorsSubCategory_1dzsi_2", p0 = "_list_1dzsi_8", Ze = {
1595
- indicatorsSubCategory: u0,
1596
- list: p0
1597
- }, ct = ({
1607
+ const g0 = "_indicatorsSubCategory_1dzsi_2", C0 = "_list_1dzsi_8", Ue = {
1608
+ indicatorsSubCategory: g0,
1609
+ list: C0
1610
+ }, mt = ({
1598
1611
  subcName: n,
1599
1612
  indicators: d,
1600
1613
  defaultColor: i,
@@ -1608,31 +1621,31 @@ const u0 = "_indicatorsSubCategory_1dzsi_2", p0 = "_list_1dzsi_8", Ze = {
1608
1621
  activeIndicatorType: m,
1609
1622
  onChangeType: h
1610
1623
  }) => {
1611
- const { t: _ } = k(), [f, g] = L(!1);
1612
- return $(() => {
1624
+ const { t: y } = k(), [b, g] = D(!1);
1625
+ return M(() => {
1613
1626
  g(t == a);
1614
1627
  }, [t, a]), /* @__PURE__ */ p(
1615
- Ae.div,
1628
+ qe.div,
1616
1629
  {
1617
- className: Ze.indicatorsSubCategory,
1630
+ className: Ue.indicatorsSubCategory,
1618
1631
  initial: { height: "43px" },
1619
- animate: { height: f ? "auto" : "43px" },
1632
+ animate: { height: b ? "auto" : "43px" },
1620
1633
  transition: { duration: 0.4 },
1621
1634
  children: [
1622
- /* @__PURE__ */ s("button", { onClick: () => r(a), children: /* @__PURE__ */ p("h3", { style: { color: f ? o : i }, children: [
1623
- /* @__PURE__ */ s("span", { style: { color: f ? o : i }, children: f ? "-" : "+" }),
1635
+ /* @__PURE__ */ s("button", { onClick: () => r(a), children: /* @__PURE__ */ p("h3", { style: { color: b ? o : i }, children: [
1636
+ /* @__PURE__ */ s("span", { style: { color: b ? o : i }, children: b ? "-" : "+" }),
1624
1637
  /* @__PURE__ */ s(
1625
1638
  "span",
1626
1639
  {
1627
- style: { marginLeft: 12, color: f ? o : i },
1628
- children: _(n)
1640
+ style: { marginLeft: 12, color: b ? o : i },
1641
+ children: y(n)
1629
1642
  }
1630
1643
  )
1631
1644
  ] }) }),
1632
- d && /* @__PURE__ */ s("div", { className: Ze.list, children: d == null ? void 0 : d.map((y, C) => /* @__PURE__ */ s(
1633
- Oe,
1645
+ d && /* @__PURE__ */ s("div", { className: Ue.list, children: d == null ? void 0 : d.map((f, C) => /* @__PURE__ */ s(
1646
+ Pe,
1634
1647
  {
1635
- indicator: y,
1648
+ indicator: f,
1636
1649
  defaultColor: i,
1637
1650
  activeColor: o,
1638
1651
  activeIndicator: l,
@@ -1647,7 +1660,7 @@ const u0 = "_indicatorsSubCategory_1dzsi_2", p0 = "_list_1dzsi_8", Ze = {
1647
1660
  }
1648
1661
  );
1649
1662
  };
1650
- ct.propTypes = {
1663
+ mt.propTypes = {
1651
1664
  subcName: e.string,
1652
1665
  indicators: e.array,
1653
1666
  activeColor: e.string,
@@ -1659,7 +1672,7 @@ ct.propTypes = {
1659
1672
  onClickSubCategory: e.func,
1660
1673
  onClickIndicator: e.func
1661
1674
  };
1662
- const dt = ({
1675
+ const ht = ({
1663
1676
  cat: n,
1664
1677
  id: d,
1665
1678
  activeColor: i,
@@ -1672,16 +1685,16 @@ const dt = ({
1672
1685
  onClickIndicator: u,
1673
1686
  multiple: m,
1674
1687
  activeIndicatorType: h,
1675
- onChangeType: _
1688
+ onChangeType: y
1676
1689
  }) => {
1677
1690
  var C;
1678
- const { t: f } = k(), [g, y] = L(!1);
1679
- return $(() => {
1680
- y(r === d);
1691
+ const { t: b } = k(), [g, f] = D(!1);
1692
+ return M(() => {
1693
+ f(r === d);
1681
1694
  }, [r, d]), /* @__PURE__ */ p(
1682
- Ae.div,
1695
+ qe.div,
1683
1696
  {
1684
- className: we.indicatorsCategory,
1697
+ className: Be.indicatorsCategory,
1685
1698
  initial: { height: "53px" },
1686
1699
  animate: { height: g ? "auto" : "53px" },
1687
1700
  transition: { duration: 0.4 },
@@ -1691,55 +1704,55 @@ const dt = ({
1691
1704
  marginBottom: g ? "20px" : "0px"
1692
1705
  },
1693
1706
  children: [
1694
- /* @__PURE__ */ p("h2", { className: `${we.title}`, onClick: () => t(d), children: [
1707
+ /* @__PURE__ */ p("h2", { className: `${Be.title}`, onClick: () => t(d), children: [
1695
1708
  /* @__PURE__ */ s("span", { style: { color: g ? i : o }, children: g ? "-" : "+" }),
1696
1709
  /* @__PURE__ */ s(
1697
1710
  "span",
1698
1711
  {
1699
1712
  style: { marginLeft: 12, color: g ? i : o },
1700
- children: f(n.name)
1713
+ children: b(n.name)
1701
1714
  }
1702
1715
  )
1703
1716
  ] }),
1704
1717
  n.subcategories ? n.subcategories.map(
1705
- ({ name: b, subcategory: w, indicators: x }, v) => /* @__PURE__ */ s(
1706
- ct,
1718
+ ({ name: _, subcategory: v, indicators: w }, x) => /* @__PURE__ */ s(
1719
+ mt,
1707
1720
  {
1708
- id: w,
1721
+ id: v,
1709
1722
  activeSubCategory: a,
1710
- subcName: b,
1723
+ subcName: _,
1711
1724
  onClickSubCategory: l,
1712
1725
  activeIndicator: c,
1713
1726
  onClickIndicator: u,
1714
1727
  multiple: m,
1715
1728
  activeColor: i,
1716
1729
  defaultColor: o,
1717
- indicators: x,
1730
+ indicators: w,
1718
1731
  activeIndicatorType: h,
1719
- onChangeType: _
1732
+ onChangeType: y
1720
1733
  },
1721
- `subcKey ${v}`
1734
+ `subcKey ${x}`
1722
1735
  )
1723
- ) : /* @__PURE__ */ s("div", { className: we.list, children: (C = n.indicators) == null ? void 0 : C.map((b, w) => /* @__PURE__ */ s(
1724
- Oe,
1736
+ ) : /* @__PURE__ */ s("div", { className: Be.list, children: (C = n.indicators) == null ? void 0 : C.map((_, v) => /* @__PURE__ */ s(
1737
+ Pe,
1725
1738
  {
1726
- indicator: b,
1727
- values: b.type == "twoUnits" && b.values,
1739
+ indicator: _,
1740
+ values: _.type == "twoUnits" && _.values,
1728
1741
  activeColor: i,
1729
1742
  defaultColor: o,
1730
1743
  activeIndicator: c,
1731
1744
  onClickIndicator: u,
1732
1745
  multiple: m,
1733
1746
  activeIndicatorType: h,
1734
- onChangeType: _
1747
+ onChangeType: y
1735
1748
  },
1736
- `indicator${w}`
1749
+ `indicator${v}`
1737
1750
  )) })
1738
1751
  ]
1739
1752
  }
1740
1753
  );
1741
1754
  };
1742
- dt.propTypes = {
1755
+ ht.propTypes = {
1743
1756
  cat: e.object,
1744
1757
  id: e.string,
1745
1758
  onChange: e.func,
@@ -1753,10 +1766,10 @@ dt.propTypes = {
1753
1766
  activeColor: e.string,
1754
1767
  defaultColor: e.string
1755
1768
  };
1756
- const m0 = "_indicatorsList_fklyu_2", h0 = "_title_fklyu_6", Ke = {
1757
- indicatorsList: m0,
1758
- title: h0
1759
- }, g0 = ({
1769
+ const f0 = "_indicatorsList_fklyu_2", b0 = "_title_fklyu_6", Ge = {
1770
+ indicatorsList: f0,
1771
+ title: b0
1772
+ }, _0 = ({
1760
1773
  indicators: n,
1761
1774
  activeColor: d,
1762
1775
  defaultColor: i = "#92898A",
@@ -1770,64 +1783,64 @@ const m0 = "_indicatorsList_fklyu_2", h0 = "_title_fklyu_6", Ke = {
1770
1783
  changeIndType: a,
1771
1784
  activeIndicatorType: l
1772
1785
  }) => {
1773
- const { t: c } = k(), [u, m] = L(), [h, _] = L(), [f, g] = L(), y = (v) => {
1774
- m(u == v ? null : v);
1775
- }, C = (v) => {
1776
- _(h == v ? null : v);
1777
- }, b = ({ indicator: v }) => {
1778
- console.log("onClickIndicator: ", v), w(v);
1779
- }, w = (v) => {
1786
+ const { t: c } = k(), [u, m] = D(), [h, y] = D(), [b, g] = D(), f = (x) => {
1787
+ m(u == x ? null : x);
1788
+ }, C = (x) => {
1789
+ y(h == x ? null : x);
1790
+ }, _ = ({ indicator: x }) => {
1791
+ console.log("onClickIndicator: ", x), v(x);
1792
+ }, v = (x) => {
1780
1793
  if (!t)
1781
1794
  g(
1782
- (f == null ? void 0 : f.name) == v.name ? null : v
1795
+ (b == null ? void 0 : b.name) == x.name ? null : x
1783
1796
  );
1784
1797
  else {
1785
- let N = f && f.length > 0 ? [...f] : [];
1798
+ let N = b && b.length > 0 ? [...b] : [];
1786
1799
  g(
1787
1800
  N != null && N.some(
1788
- (S) => S.name == v.name
1801
+ (S) => S.name == x.name
1789
1802
  ) ? N.filter(
1790
- (S) => S.name != String(v.name)
1791
- ) : [...N, v]
1792
- ), v.type == "both" && a("cat");
1803
+ (S) => S.name != String(x.name)
1804
+ ) : [...N, x]
1805
+ ), x.type == "both" && a("cat");
1793
1806
  }
1794
1807
  };
1795
- $(() => {
1796
- console.log("activeindicator changed to: ", f), o && typeof o == "function" && f && o({ activeIndicator: f });
1797
- }, [f]), yt(() => {
1798
- if (r && !f)
1808
+ M(() => {
1809
+ console.log("activeindicator changed to: ", b), o && typeof o == "function" && b && o({ activeIndicator: b });
1810
+ }, [b]), Nt(() => {
1811
+ if (r && !b)
1799
1812
  if (t && r && Array.isArray(r)) {
1800
- let v = f && f.length > 0 ? [...f] : [];
1801
- g([...v, ...r]), x(r[0].name);
1813
+ let x = b && b.length > 0 ? [...b] : [];
1814
+ g([...x, ...r]), w(r[0].name);
1802
1815
  } else
1803
- w(r), x(r.name);
1816
+ v(r), w(r.name);
1804
1817
  }, []);
1805
- const x = (v) => {
1818
+ const w = (x) => {
1806
1819
  const N = n.find((S) => {
1807
1820
  if (S.subcategories) {
1808
- let D = S.subcategories.find(
1809
- (z) => z.indicators.find((ce) => ce.name == v)
1821
+ let $ = S.subcategories.find(
1822
+ (E) => E.indicators.find((A) => A.name == x)
1810
1823
  );
1811
- if (D)
1812
- return _(D.subcategory), D;
1824
+ if ($)
1825
+ return y($.subcategory), $;
1813
1826
  } else
1814
- return S.indicators.some((D) => D.name == v);
1827
+ return S.indicators.some(($) => $.name == x);
1815
1828
  });
1816
1829
  N && m(N.category);
1817
1830
  };
1818
- return /* @__PURE__ */ p("div", { className: Ke.indicatorsList, children: [
1819
- /* @__PURE__ */ s("h2", { className: Ke.title, style: { color: i }, children: c("indicators.indicators") }),
1820
- n.map((v, N) => /* @__PURE__ */ s(
1821
- dt,
1831
+ return /* @__PURE__ */ p("div", { className: Ge.indicatorsList, children: [
1832
+ /* @__PURE__ */ s("h2", { className: Ge.title, style: { color: i }, children: c("indicators.indicators") }),
1833
+ n.map((x, N) => /* @__PURE__ */ s(
1834
+ ht,
1822
1835
  {
1823
- id: v.category,
1824
- cat: v,
1825
- onClickCategory: y,
1836
+ id: x.category,
1837
+ cat: x,
1838
+ onClickCategory: f,
1826
1839
  activeCategory: u,
1827
1840
  onClickSubCategory: C,
1828
1841
  activeSubCategory: h,
1829
- onClickIndicator: b,
1830
- activeIndicator: f,
1842
+ onClickIndicator: _,
1843
+ activeIndicator: b,
1831
1844
  activeColor: d,
1832
1845
  defaultColor: i,
1833
1846
  multiple: t,
@@ -1839,7 +1852,7 @@ const m0 = "_indicatorsList_fklyu_2", h0 = "_title_fklyu_6", Ke = {
1839
1852
  ))
1840
1853
  ] });
1841
1854
  };
1842
- g0.propTypes = {
1855
+ _0.propTypes = {
1843
1856
  indicators: e.arrayOf(e.object),
1844
1857
  activeColor: e.string,
1845
1858
  defaultColor: e.string,
@@ -1850,35 +1863,35 @@ g0.propTypes = {
1850
1863
  defaultValue: e.oneOfType([e.object, e.array]),
1851
1864
  activeIndicatorType: e.string
1852
1865
  };
1853
- const C0 = "_langSelector_o9enq_2", f0 = "_currentLang_o9enq_14", b0 = "_arrow_o9enq_26", y0 = "_prevImg_o9enq_29", _0 = "_langMenu_o9enq_33", J = {
1854
- langSelector: C0,
1855
- currentLang: f0,
1856
- arrow: b0,
1857
- prevImg: y0,
1858
- langMenu: _0
1859
- }, v0 = ({ langs: n, arrow: d, imgPrev: i }) => {
1860
- const [o, t] = L(!1), { i18n: r } = k(), a = n.find((c) => c.code == r.language), l = (c) => {
1866
+ const y0 = "_langSelector_o9enq_2", v0 = "_currentLang_o9enq_14", x0 = "_arrow_o9enq_26", w0 = "_prevImg_o9enq_29", N0 = "_langMenu_o9enq_33", se = {
1867
+ langSelector: y0,
1868
+ currentLang: v0,
1869
+ arrow: x0,
1870
+ prevImg: w0,
1871
+ langMenu: N0
1872
+ }, k0 = ({ langs: n, arrow: d, imgPrev: i }) => {
1873
+ const [o, t] = D(!1), { i18n: r } = k(), a = n.find((c) => c.code == r.language), l = (c) => {
1861
1874
  r.changeLanguage(c), t(!1);
1862
1875
  };
1863
- return /* @__PURE__ */ p("div", { className: J.langSelector, children: [
1876
+ return /* @__PURE__ */ p("div", { className: se.langSelector, children: [
1864
1877
  /* @__PURE__ */ p(
1865
1878
  "div",
1866
1879
  {
1867
- className: J.currentLang,
1880
+ className: se.currentLang,
1868
1881
  onClick: () => {
1869
1882
  t(!o);
1870
1883
  },
1871
1884
  children: [
1872
- i && /* @__PURE__ */ s("img", { className: J.prevImg, src: i }),
1885
+ i && /* @__PURE__ */ s("img", { className: se.prevImg, src: i }),
1873
1886
  (a == null ? void 0 : a.titleSelected) || (a == null ? void 0 : a.title),
1874
- /* @__PURE__ */ s("img", { src: d, className: J.arrow })
1887
+ /* @__PURE__ */ s("img", { src: d, className: se.arrow })
1875
1888
  ]
1876
1889
  }
1877
1890
  ),
1878
- o && /* @__PURE__ */ s("div", { className: J.langMenu, children: n.map((c) => /* @__PURE__ */ s(
1891
+ o && /* @__PURE__ */ s("div", { className: se.langMenu, children: n.map((c) => /* @__PURE__ */ s(
1879
1892
  "button",
1880
1893
  {
1881
- className: (a == null ? void 0 : a.code) == c.code ? J.active : "",
1894
+ className: (a == null ? void 0 : a.code) == c.code ? se.active : "",
1882
1895
  onClick: () => l(c.code),
1883
1896
  children: c.title
1884
1897
  },
@@ -1886,7 +1899,7 @@ const C0 = "_langSelector_o9enq_2", f0 = "_currentLang_o9enq_14", b0 = "_arrow_o
1886
1899
  )) })
1887
1900
  ] });
1888
1901
  };
1889
- v0.propTypes = {
1902
+ k0.propTypes = {
1890
1903
  langs: e.arrayOf(
1891
1904
  e.shape({
1892
1905
  code: e.string,
@@ -1900,23 +1913,23 @@ v0.propTypes = {
1900
1913
  arrow: e.object,
1901
1914
  imgPrev: e.object
1902
1915
  };
1903
- const w0 = "_legendContainer_qs4x9_3", x0 = "_closeButton_qs4x9_31", N0 = "_titleContainer_qs4x9_59", k0 = "_infoContainer_qs4x9_65", B0 = "_titleLegendList_qs4x9_76", S0 = "_legendListContainer_qs4x9_82", D0 = "_gridContainer_qs4x9_82", M0 = "_elementLegendContainer_qs4x9_88", L0 = "_colorDot_qs4x9_94", $0 = "_absoluteValueContainer_qs4x9_100", F0 = "_absoluteValueColor_qs4x9_103", T0 = "_absoluteValueText_qs4x9_108", V0 = "_noDataContainer_qs4x9_120", A0 = "_noData_qs4x9_120", I0 = "_moreInfoContainer_qs4x9_141", M = {
1904
- legendContainer: w0,
1905
- closeButton: x0,
1906
- titleContainer: N0,
1907
- infoContainer: k0,
1908
- titleLegendList: B0,
1909
- legendListContainer: S0,
1910
- gridContainer: D0,
1911
- elementLegendContainer: M0,
1912
- colorDot: L0,
1913
- absoluteValueContainer: $0,
1914
- absoluteValueColor: F0,
1915
- absoluteValueText: T0,
1916
- noDataContainer: V0,
1917
- noData: A0,
1918
- moreInfoContainer: I0
1919
- }, O0 = ({
1916
+ const B0 = "_legendContainer_qs4x9_3", S0 = "_closeButton_qs4x9_31", $0 = "_titleContainer_qs4x9_59", D0 = "_infoContainer_qs4x9_65", M0 = "_titleLegendList_qs4x9_76", L0 = "_legendListContainer_qs4x9_82", T0 = "_gridContainer_qs4x9_82", F0 = "_elementLegendContainer_qs4x9_88", V0 = "_colorDot_qs4x9_94", A0 = "_absoluteValueContainer_qs4x9_100", I0 = "_absoluteValueColor_qs4x9_103", O0 = "_absoluteValueText_qs4x9_108", R0 = "_noDataContainer_qs4x9_120", q0 = "_noData_qs4x9_120", E0 = "_moreInfoContainer_qs4x9_141", L = {
1917
+ legendContainer: B0,
1918
+ closeButton: S0,
1919
+ titleContainer: $0,
1920
+ infoContainer: D0,
1921
+ titleLegendList: M0,
1922
+ legendListContainer: L0,
1923
+ gridContainer: T0,
1924
+ elementLegendContainer: F0,
1925
+ colorDot: V0,
1926
+ absoluteValueContainer: A0,
1927
+ absoluteValueColor: I0,
1928
+ absoluteValueText: O0,
1929
+ noDataContainer: R0,
1930
+ noData: q0,
1931
+ moreInfoContainer: E0
1932
+ }, P0 = ({
1920
1933
  //JSON with the styles of the container (optional)
1921
1934
  containerStyles: n,
1922
1935
  //Title on top of the legend
@@ -1944,30 +1957,30 @@ const w0 = "_legendContainer_qs4x9_3", x0 = "_closeButton_qs4x9_31", N0 = "_titl
1944
1957
  "div",
1945
1958
  {
1946
1959
  style: n ? { ...n } : {},
1947
- className: `${M.legendContainer}`,
1960
+ className: `${L.legendContainer}`,
1948
1961
  children: [
1949
- /* @__PURE__ */ s("button", { className: M.closeButton, onClick: c }),
1950
- d && /* @__PURE__ */ s("div", { className: M.titleContainer, style: { marginBottom: (!i || i.length == 0) && "15px" }, children: /* @__PURE__ */ s("h2", { children: d }) }),
1951
- i && i.length > 0 && /* @__PURE__ */ s("div", { className: M.infoContainer, children: /* @__PURE__ */ s("ul", { children: i.map(({ title: m, value: h }) => /* @__PURE__ */ p("li", { children: [
1952
- /* @__PURE__ */ s("h3", { className: M.title, children: `${m}:` }),
1953
- /* @__PURE__ */ p("span", { className: M.value, children: [
1962
+ /* @__PURE__ */ s("button", { className: L.closeButton, onClick: c }),
1963
+ d && /* @__PURE__ */ s("div", { className: L.titleContainer, style: { marginBottom: (!i || i.length == 0) && "15px" }, children: /* @__PURE__ */ s("h2", { children: d }) }),
1964
+ i && i.length > 0 && /* @__PURE__ */ s("div", { className: L.infoContainer, children: /* @__PURE__ */ s("ul", { children: i.map(({ title: m, value: h }) => /* @__PURE__ */ p("li", { children: [
1965
+ /* @__PURE__ */ s("h3", { className: L.title, children: `${m}:` }),
1966
+ /* @__PURE__ */ p("span", { className: L.value, children: [
1954
1967
  "  ",
1955
1968
  h
1956
1969
  ] })
1957
1970
  ] }, d)) }) }),
1958
- /* @__PURE__ */ s("h3", { className: M.titleLegendList, style: { marginTop: i && i.length > 0 && "30px" }, children: t && /* @__PURE__ */ s(Ve, { i18nKey: t, components: { sup: /* @__PURE__ */ s("sup", {}) }, shouldUnescape: !0 }) }),
1959
- /* @__PURE__ */ p("div", { className: M.legendListContainer, children: [
1960
- r ? /* @__PURE__ */ p("div", { className: M.absoluteValueContainer, children: [
1971
+ /* @__PURE__ */ s("h3", { className: L.titleLegendList, style: { marginTop: i && i.length > 0 && "30px" }, children: t && /* @__PURE__ */ s(Re, { i18nKey: t, components: { sup: /* @__PURE__ */ s("sup", {}) }, shouldUnescape: !0 }) }),
1972
+ /* @__PURE__ */ p("div", { className: L.legendListContainer, children: [
1973
+ r ? /* @__PURE__ */ p("div", { className: L.absoluteValueContainer, children: [
1961
1974
  /* @__PURE__ */ s(
1962
1975
  "div",
1963
1976
  {
1964
- className: M.absoluteValueColor,
1977
+ className: L.absoluteValueColor,
1965
1978
  style: {
1966
1979
  background: `linear-gradient(to bottom, ${r.maxColor} 0%, ${r.midColor ? `${r.midColor} 50%,` : ""} ${r.minColor} 100%)`
1967
1980
  }
1968
1981
  }
1969
1982
  ),
1970
- /* @__PURE__ */ p("div", { className: M.absoluteValueText, children: [
1983
+ /* @__PURE__ */ p("div", { className: L.absoluteValueText, children: [
1971
1984
  /* @__PURE__ */ p("span", { children: [
1972
1985
  r.maxValue,
1973
1986
  " ",
@@ -1984,40 +1997,40 @@ const w0 = "_legendContainer_qs4x9_3", x0 = "_closeButton_qs4x9_31", N0 = "_titl
1984
1997
  u(r.unit)
1985
1998
  ] })
1986
1999
  ] })
1987
- ] }) : o && o.length > 0 && /* @__PURE__ */ s("div", { className: M.gridContainer, children: o.map(
1988
- ({ title: m, color: h }) => /* @__PURE__ */ p("div", { className: M.elementLegendContainer, children: [
2000
+ ] }) : o && o.length > 0 && /* @__PURE__ */ s("div", { className: L.gridContainer, children: o.map(
2001
+ ({ title: m, color: h }) => /* @__PURE__ */ p("div", { className: L.elementLegendContainer, children: [
1989
2002
  /* @__PURE__ */ s(
1990
2003
  "div",
1991
2004
  {
1992
- className: M.colorDot,
2005
+ className: L.colorDot,
1993
2006
  style: { backgroundColor: h }
1994
2007
  }
1995
2008
  ),
1996
- /* @__PURE__ */ p("div", { className: M.titleLegendElement, children: [
2009
+ /* @__PURE__ */ p("div", { className: L.titleLegendElement, children: [
1997
2010
  u(m),
1998
2011
  " "
1999
2012
  ] })
2000
2013
  ] }, d)
2001
2014
  ) }),
2002
- r.noDataColor && /* @__PURE__ */ p("div", { className: M.noDataContainer, children: [
2015
+ r.noDataColor && /* @__PURE__ */ p("div", { className: L.noDataContainer, children: [
2003
2016
  /* @__PURE__ */ s(
2004
2017
  "div",
2005
2018
  {
2006
- className: M.noData,
2019
+ className: L.noData,
2007
2020
  style: {
2008
2021
  background: r.noDataColor
2009
2022
  }
2010
2023
  }
2011
2024
  ),
2012
- /* @__PURE__ */ s("div", { className: M.absoluteValueText, children: /* @__PURE__ */ s("span", { children: u(r.noDataText) }) })
2025
+ /* @__PURE__ */ s("div", { className: L.absoluteValueText, children: /* @__PURE__ */ s("span", { children: u(r.noDataText) }) })
2013
2026
  ] })
2014
2027
  ] }),
2015
- a && /* @__PURE__ */ s("button", { className: M.moreInfoContainer, onClick: a, children: l || u("moreInformation") })
2028
+ a && /* @__PURE__ */ s("button", { className: L.moreInfoContainer, onClick: a, children: l || u("moreInformation") })
2016
2029
  ]
2017
2030
  }
2018
2031
  );
2019
2032
  };
2020
- O0.propTypes = {
2033
+ P0.propTypes = {
2021
2034
  title: e.string,
2022
2035
  containerStyles: e.object,
2023
2036
  infoList: e.arrayOf(
@@ -2044,23 +2057,23 @@ O0.propTypes = {
2044
2057
  onClickClose: e.func,
2045
2058
  noDataColor: e.string
2046
2059
  };
2047
- const R0 = "_logo_1ewa6_2", He = {
2048
- logo: R0
2049
- }, q0 = ({ src: n, alt: d, href: i }) => {
2060
+ const j0 = "_logo_1ewa6_2", We = {
2061
+ logo: j0
2062
+ }, z0 = ({ src: n, alt: d, href: i }) => {
2050
2063
  const { t: o } = k(), t = /* @__PURE__ */ s("img", { src: n, alt: o(d) });
2051
- return i ? /* @__PURE__ */ s("div", { className: He.logo, children: /* @__PURE__ */ s("a", { href: i, children: t }) }) : /* @__PURE__ */ s("div", { className: He.logo, children: t });
2064
+ return i ? /* @__PURE__ */ s("div", { className: We.logo, children: /* @__PURE__ */ s("a", { href: i, children: t }) }) : /* @__PURE__ */ s("div", { className: We.logo, children: t });
2052
2065
  };
2053
- q0.propTypes = {
2066
+ z0.propTypes = {
2054
2067
  src: e.string.isRequired,
2055
2068
  alt: e.string.isRequired,
2056
2069
  href: e.string,
2057
2070
  className: e.string
2058
2071
  };
2059
- const E0 = "_mapContainer_84pkf_2", P0 = {
2060
- mapContainer: E0
2072
+ const Z0 = "_mapContainer_84pkf_2", K0 = {
2073
+ mapContainer: Z0
2061
2074
  };
2062
- vt.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
2063
- const z0 = ({
2075
+ Bt.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
2076
+ const H0 = ({
2064
2077
  initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
2065
2078
  maxZoom: d = 17,
2066
2079
  minZoom: i = 8,
@@ -2073,16 +2086,16 @@ const z0 = ({
2073
2086
  sources: u = [],
2074
2087
  layers: m = []
2075
2088
  }) => {
2076
- const h = ne(), [_, f] = L(null), g = wt((y) => y.mapState.showTexts);
2077
- return $(() => {
2089
+ const h = te(), [y, b] = D(null), g = St((f) => f.mapState.showTexts);
2090
+ return M(() => {
2078
2091
  if (h.current) {
2079
- const y = h.current.getMap();
2080
- y.getStyle().layers.map((b) => {
2081
- b.type == "symbol" && b.id != "professionals" && (g ? y.setLayoutProperty(b.id, "visibility", "visible") : y.setLayoutProperty(b.id, "visibility", "none"));
2092
+ const f = h.current.getMap();
2093
+ f.getStyle().layers.map((_) => {
2094
+ _.type == "symbol" && _.id != "professionals" && (g ? f.setLayoutProperty(_.id, "visibility", "visible") : f.setLayoutProperty(_.id, "visibility", "none"));
2082
2095
  });
2083
2096
  }
2084
- }, [g]), /* @__PURE__ */ s("div", { className: `${P0.mapContainer}`, style: r, children: /* @__PURE__ */ p(
2085
- Nt,
2097
+ }, [g]), /* @__PURE__ */ s("div", { className: `${K0.mapContainer}`, style: r, children: /* @__PURE__ */ p(
2098
+ Dt,
2086
2099
  {
2087
2100
  initialViewState: n,
2088
2101
  ref: h,
@@ -2093,31 +2106,31 @@ const z0 = ({
2093
2106
  onClick: a,
2094
2107
  interactiveLayerIds: l,
2095
2108
  children: [
2096
- u.length && u.map((y, C) => /* @__PURE__ */ s(
2097
- kt,
2109
+ u.length && u.map((f, C) => /* @__PURE__ */ s(
2110
+ Mt,
2098
2111
  {
2099
- ...y,
2100
- children: m.length && m.map((b, w) => {
2101
- if (b.sourceId == y.id) return /* @__PURE__ */ s(
2102
- Bt,
2112
+ ...f,
2113
+ children: m.length && m.map((_, v) => {
2114
+ if (_.sourceId == f.id) return /* @__PURE__ */ s(
2115
+ Lt,
2103
2116
  {
2104
- ...b.layer,
2117
+ ..._.layer,
2105
2118
  beforeId: t
2106
2119
  },
2107
- w
2120
+ v
2108
2121
  );
2109
2122
  })
2110
2123
  },
2111
2124
  C
2112
2125
  )),
2113
- /* @__PURE__ */ s(St, { position: "bottom-right", visualizePitch: !0 }),
2114
- c && _ && /* @__PURE__ */ s(
2115
- Dt,
2126
+ /* @__PURE__ */ s(Tt, { position: "bottom-right", visualizePitch: !0 }),
2127
+ c && y && /* @__PURE__ */ s(
2128
+ Ft,
2116
2129
  {
2117
2130
  longitude: c.longitude,
2118
2131
  latitude: c.latitude,
2119
2132
  anchor: c.anchor,
2120
- onClose: () => f(null),
2133
+ onClose: () => b(null),
2121
2134
  children: c.content
2122
2135
  }
2123
2136
  )
@@ -2125,7 +2138,7 @@ const z0 = ({
2125
2138
  }
2126
2139
  ) });
2127
2140
  };
2128
- z0.propTypes = {
2141
+ H0.propTypes = {
2129
2142
  initialView: e.shape({
2130
2143
  latitude: e.number.isRequired,
2131
2144
  longitude: e.number.isRequired,
@@ -2170,25 +2183,25 @@ z0.propTypes = {
2170
2183
  })
2171
2184
  )
2172
2185
  };
2173
- const j0 = "_mapContainer_b0pyr_3", Z0 = {
2174
- mapContainer: j0
2175
- }, K0 = "_FeaturePopUp_mt8l5_2", H0 = "_title_mt8l5_9", Ue = {
2176
- FeaturePopUp: K0,
2177
- title: H0
2178
- }, U0 = ({ props: n }) => {
2186
+ const U0 = "_mapContainer_b0pyr_3", G0 = {
2187
+ mapContainer: U0
2188
+ }, W0 = "_FeaturePopUp_mt8l5_2", Y0 = "_title_mt8l5_9", Ye = {
2189
+ FeaturePopUp: W0,
2190
+ title: Y0
2191
+ }, Q0 = ({ props: n }) => {
2179
2192
  const { t: d } = k();
2180
- return /* @__PURE__ */ s("div", { className: Ue.FeaturePopUp, children: n.map((i) => /* @__PURE__ */ p("p", { children: [
2181
- /* @__PURE__ */ p("span", { className: Ue.title, children: [
2182
- /* @__PURE__ */ s(Ve, { i18nKey: i.name, components: { sup: /* @__PURE__ */ s("sup", {}) }, shouldUnescape: !0 }),
2193
+ return /* @__PURE__ */ s("div", { className: Ye.FeaturePopUp, children: n.map((i) => /* @__PURE__ */ p("p", { children: [
2194
+ /* @__PURE__ */ p("span", { className: Ye.title, children: [
2195
+ /* @__PURE__ */ s(Re, { i18nKey: i.name, components: { sup: /* @__PURE__ */ s("sup", {}) }, shouldUnescape: !0 }),
2183
2196
  ":"
2184
2197
  ] }),
2185
- isNaN(i.value) ? /* @__PURE__ */ s(De, { children: d(i.value) }) : /* @__PURE__ */ p(De, { children: [
2198
+ isNaN(i.value) ? /* @__PURE__ */ s(Te, { children: d(i.value) }) : /* @__PURE__ */ p(Te, { children: [
2186
2199
  i.value.toLocaleString("de", { maximumFractionDigits: 2 }),
2187
2200
  " ",
2188
2201
  d(i.unit)
2189
2202
  ] })
2190
2203
  ] })) });
2191
- }, G0 = ({
2204
+ }, X0 = ({
2192
2205
  initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
2193
2206
  maxZoom: d = 17,
2194
2207
  minZoom: i = 8,
@@ -2201,27 +2214,27 @@ const j0 = "_mapContainer_b0pyr_3", Z0 = {
2201
2214
  layers: u = [],
2202
2215
  filters: m,
2203
2216
  popUpParams: h,
2204
- onClosePopUp: _,
2205
- showTexts: f
2217
+ onClosePopUp: y,
2218
+ showTexts: b
2206
2219
  }) => {
2207
2220
  console.log(m);
2208
- const g = ne();
2209
- return $(() => {
2221
+ const g = te();
2222
+ return M(() => {
2210
2223
  if (g.current) {
2211
- const y = g.current.getMap();
2212
- y.getStyle().layers.map((b) => {
2213
- b.type == "symbol" && b.id != "professionals" && (f ? y.setLayoutProperty(b.id, "visibility", "visible") : y.setLayoutProperty(b.id, "visibility", "none"));
2224
+ const f = g.current.getMap();
2225
+ f.getStyle().layers.map((_) => {
2226
+ _.type == "symbol" && _.id != "professionals" && (b ? f.setLayoutProperty(_.id, "visibility", "visible") : f.setLayoutProperty(_.id, "visibility", "none"));
2214
2227
  });
2215
2228
  }
2216
- }, [f]), $(() => {
2217
- let y = new Mt();
2218
- return be.addProtocol("pmtiles", y.tile), () => {
2219
- be.removeProtocol("pmtiles");
2229
+ }, [b]), M(() => {
2230
+ let f = new Vt();
2231
+ return xe.addProtocol("pmtiles", f.tile), () => {
2232
+ xe.removeProtocol("pmtiles");
2220
2233
  };
2221
- }, []), /* @__PURE__ */ s("div", { className: `${Z0.mapContainer}`, style: r && r, children: /* @__PURE__ */ p(
2222
- Lt,
2234
+ }, []), /* @__PURE__ */ s("div", { className: `${G0.mapContainer}`, style: r && r, children: /* @__PURE__ */ p(
2235
+ At,
2223
2236
  {
2224
- mapLib: be,
2237
+ mapLib: xe,
2225
2238
  initialViewState: n,
2226
2239
  ref: g,
2227
2240
  hash: !1,
@@ -2231,39 +2244,39 @@ const j0 = "_mapContainer_b0pyr_3", Z0 = {
2231
2244
  onClick: a,
2232
2245
  interactiveLayerIds: l,
2233
2246
  children: [
2234
- c.length && c.map((y, C) => /* @__PURE__ */ s(
2235
- $t,
2247
+ c.length && c.map((f, C) => /* @__PURE__ */ s(
2248
+ It,
2236
2249
  {
2237
- ...y,
2238
- children: u.length && u.map((b, w) => {
2239
- if (b.sourceId == y.id) return /* @__PURE__ */ s(
2240
- Ft,
2250
+ ...f,
2251
+ children: u.length && u.map((_, v) => {
2252
+ if (_.sourceId == f.id) return /* @__PURE__ */ s(
2253
+ Ot,
2241
2254
  {
2242
- ...b.layer,
2255
+ ..._.layer,
2243
2256
  beforeId: t,
2244
2257
  filter: m && m
2245
2258
  },
2246
- w
2259
+ v
2247
2260
  );
2248
2261
  })
2249
2262
  },
2250
2263
  C
2251
2264
  )),
2252
- /* @__PURE__ */ s(Tt, { position: "bottom-right", visualizePitch: !0 }),
2265
+ /* @__PURE__ */ s(Rt, { position: "bottom-right", visualizePitch: !0 }),
2253
2266
  h && /* @__PURE__ */ s(
2254
- Vt,
2267
+ qt,
2255
2268
  {
2256
2269
  longitude: h.lng,
2257
2270
  latitude: h.lat,
2258
- onClose: _,
2259
- children: /* @__PURE__ */ s(U0, { props: h.props })
2271
+ onClose: y,
2272
+ children: /* @__PURE__ */ s(Q0, { props: h.props })
2260
2273
  }
2261
2274
  )
2262
2275
  ]
2263
2276
  }
2264
2277
  ) });
2265
2278
  };
2266
- G0.propTypes = {
2279
+ X0.propTypes = {
2267
2280
  initialView: e.shape({
2268
2281
  latitude: e.number.isRequired,
2269
2282
  longitude: e.number.isRequired,
@@ -2306,14 +2319,14 @@ G0.propTypes = {
2306
2319
  popUpParams: e.object,
2307
2320
  onClosePopUp: e.func
2308
2321
  };
2309
- const Y0 = "_sectionBar_1egwc_2", W0 = "_leftContent_1egwc_14", Q0 = "_textContainer_1egwc_20", X0 = "_title_1egwc_27", J0 = "_subtitle_1egwc_33", en = "_rightContent_1egwc_38", H = {
2310
- sectionBar: Y0,
2311
- leftContent: W0,
2312
- textContainer: Q0,
2313
- title: X0,
2314
- subtitle: J0,
2315
- rightContent: en
2316
- }, oi = ({
2322
+ const J0 = "_sectionBar_1egwc_2", en = "_leftContent_1egwc_14", tn = "_textContainer_1egwc_20", nn = "_title_1egwc_27", on = "_subtitle_1egwc_33", sn = "_rightContent_1egwc_38", Q = {
2323
+ sectionBar: J0,
2324
+ leftContent: en,
2325
+ textContainer: tn,
2326
+ title: nn,
2327
+ subtitle: on,
2328
+ rightContent: sn
2329
+ }, Ii = ({
2317
2330
  leftIcon: n,
2318
2331
  title: d,
2319
2332
  subtitle: i,
@@ -2322,17 +2335,17 @@ const Y0 = "_sectionBar_1egwc_2", W0 = "_leftContent_1egwc_14", Q0 = "_textConta
2322
2335
  width: r
2323
2336
  }) => {
2324
2337
  const { t: a } = k();
2325
- return /* @__PURE__ */ p("div", { className: H.sectionBar, style: { width: r && r }, children: [
2326
- /* @__PURE__ */ p("div", { className: H.leftContent, children: [
2327
- n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className: H.icon }),
2328
- /* @__PURE__ */ p("div", { className: H.textContainer, children: [
2329
- /* @__PURE__ */ s("div", { className: H.title, children: a(d) }),
2330
- i && /* @__PURE__ */ s("div", { className: H.subtitle, children: i })
2338
+ return /* @__PURE__ */ p("div", { className: Q.sectionBar, style: { width: r && r }, children: [
2339
+ /* @__PURE__ */ p("div", { className: Q.leftContent, children: [
2340
+ n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className: Q.icon }),
2341
+ /* @__PURE__ */ p("div", { className: Q.textContainer, children: [
2342
+ /* @__PURE__ */ s("div", { className: Q.title, children: a(d) }),
2343
+ i && /* @__PURE__ */ s("div", { className: Q.subtitle, children: i })
2331
2344
  ] })
2332
2345
  ] }),
2333
- /* @__PURE__ */ s("div", { className: H.rightContent, children: o })
2346
+ /* @__PURE__ */ s("div", { className: Q.rightContent, children: o })
2334
2347
  ] });
2335
- }, tn = At({
2348
+ }, rn = Et({
2336
2349
  name: "mapSlice",
2337
2350
  initialState: {
2338
2351
  showTexts: !0,
@@ -2358,36 +2371,36 @@ const Y0 = "_sectionBar_1egwc_2", W0 = "_leftContent_1egwc_14", Q0 = "_textConta
2358
2371
  n.activeIndicatorUnit = d.payload;
2359
2372
  }
2360
2373
  }
2361
- }), { setShowTexts: si, setYear: xe, setActiveIndicatorKey: ri, setActiveIndicatorType: ai, setActiveIndicatorUnit: li } = tn.actions, nn = "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", on = "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", sn = "_slider_a19yo_2", rn = "_playButton_a19yo_17", an = "_sliderOpen_a19yo_28", ln = "_sliderResults_a19yo_32", oe = {
2362
- slider: sn,
2363
- playButton: rn,
2364
- sliderOpen: an,
2365
- sliderResults: ln
2366
- }, cn = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: i = 2025, lastYear: o = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
2367
- const [a, l] = L(d), c = xt(), u = (b, w) => {
2368
- l(w), c(xe(w - 2e3));
2369
- }, [m, h] = L(!1), _ = () => {
2374
+ }), { setShowTexts: Oi, setYear: Se, setActiveIndicatorKey: Ri, setActiveIndicatorType: qi, setActiveIndicatorUnit: Ei } = rn.actions, an = "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", ln = "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", cn = "_slider_a19yo_2", dn = "_playButton_a19yo_17", un = "_sliderOpen_a19yo_28", pn = "_sliderResults_a19yo_32", de = {
2375
+ slider: cn,
2376
+ playButton: dn,
2377
+ sliderOpen: un,
2378
+ sliderResults: pn
2379
+ }, mn = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: i = 2025, lastYear: o = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
2380
+ const [a, l] = D(d), c = $t(), u = (_, v) => {
2381
+ l(v), c(Se(v - 2e3));
2382
+ }, [m, h] = D(!1), y = () => {
2370
2383
  h(!0);
2371
- }, f = () => {
2384
+ }, b = () => {
2372
2385
  h(!1);
2373
2386
  };
2374
- ((b, w) => {
2375
- const x = ne();
2376
- $(() => {
2377
- x.current = b;
2378
- }, [b]), $(() => {
2379
- function v() {
2380
- x.current();
2387
+ ((_, v) => {
2388
+ const w = te();
2389
+ M(() => {
2390
+ w.current = _;
2391
+ }, [_]), M(() => {
2392
+ function x() {
2393
+ w.current();
2381
2394
  }
2382
2395
  {
2383
- let N = setInterval(v, w);
2396
+ let N = setInterval(x, v);
2384
2397
  return () => clearInterval(N);
2385
2398
  }
2386
- }, [w]);
2399
+ }, [v]);
2387
2400
  })(() => {
2388
- m && (a != 2050 ? (l(a + 1), c(xe(a - 2e3 + 1))) : (l(2025), c(xe(25))));
2401
+ m && (a != 2050 ? (l(a + 1), c(Se(a - 2e3 + 1))) : (l(2025), c(Se(25))));
2389
2402
  }, 1e3);
2390
- const y = Ot({
2403
+ const f = jt({
2391
2404
  palette: {
2392
2405
  primary: {
2393
2406
  main: "#605b56"
@@ -2415,16 +2428,16 @@ const Y0 = "_sectionBar_1egwc_2", W0 = "_leftContent_1egwc_14", Q0 = "_textConta
2415
2428
  { label: "", value: 2041 },
2416
2429
  { label: "", value: 2050 }
2417
2430
  ];
2418
- return /* @__PURE__ */ s(qt, { theme: y, children: /* @__PURE__ */ p(
2419
- Rt,
2431
+ return /* @__PURE__ */ s(Zt, { theme: f, children: /* @__PURE__ */ p(
2432
+ zt,
2420
2433
  {
2421
2434
  sx: { width: 400 },
2422
- className: `${n ? oe.sliderResults : oe.slider} ${r ? oe.sliderOpen : ""}`,
2435
+ className: `${n ? de.sliderResults : de.slider} ${r ? de.sliderOpen : ""}`,
2423
2436
  style: { zIndex: t },
2424
2437
  children: [
2425
2438
  i,
2426
2439
  /* @__PURE__ */ s(
2427
- It,
2440
+ Pt,
2428
2441
  {
2429
2442
  "aria-label": "TimeSlider",
2430
2443
  value: a,
@@ -2439,13 +2452,13 @@ const Y0 = "_sectionBar_1egwc_2", W0 = "_leftContent_1egwc_14", Q0 = "_textConta
2439
2452
  }
2440
2453
  ),
2441
2454
  o,
2442
- !m && /* @__PURE__ */ s("button", { className: oe.playButton, onClick: _, children: /* @__PURE__ */ s("img", { src: nn, alt: "Play" }) }),
2443
- m && /* @__PURE__ */ s("button", { className: oe.playButton, onClick: f, children: /* @__PURE__ */ s("img", { src: on, alt: "Pause" }) })
2455
+ !m && /* @__PURE__ */ s("button", { className: de.playButton, onClick: y, children: /* @__PURE__ */ s("img", { src: an, alt: "Play" }) }),
2456
+ m && /* @__PURE__ */ s("button", { className: de.playButton, onClick: b, children: /* @__PURE__ */ s("img", { src: ln, alt: "Pause" }) })
2444
2457
  ]
2445
2458
  }
2446
2459
  ) });
2447
2460
  };
2448
- cn.propTypes = {
2461
+ mn.propTypes = {
2449
2462
  defaultYear: e.number,
2450
2463
  onResults: e.bool,
2451
2464
  firstYear: e.number,
@@ -2453,11 +2466,11 @@ cn.propTypes = {
2453
2466
  zIndex: e.number,
2454
2467
  rightBarOpen: e.bool
2455
2468
  };
2456
- const dn = "_TopNavMenuContainer_12mp4_2", un = "_topNavOptions_12mp4_13", pn = "_active_12mp4_27", Ne = {
2457
- TopNavMenuContainer: dn,
2458
- topNavOptions: un,
2459
- active: pn
2460
- }, mn = ({
2469
+ const hn = "_TopNavMenuContainer_12mp4_2", gn = "_topNavOptions_12mp4_13", Cn = "_active_12mp4_27", $e = {
2470
+ TopNavMenuContainer: hn,
2471
+ topNavOptions: gn,
2472
+ active: Cn
2473
+ }, fn = ({
2461
2474
  options: n = [],
2462
2475
  containerStyles: d,
2463
2476
  borderColor: i = "red",
@@ -2467,11 +2480,11 @@ const dn = "_TopNavMenuContainer_12mp4_2", un = "_topNavOptions_12mp4_13", pn =
2467
2480
  }
2468
2481
  }) => {
2469
2482
  const { t: r } = k();
2470
- return /* @__PURE__ */ s("div", { className: Ne.TopNavMenuContainer, style: { ...d }, children: n.map((a, l) => /* @__PURE__ */ s(
2471
- Et,
2483
+ return /* @__PURE__ */ s("div", { className: $e.TopNavMenuContainer, style: { ...d }, children: n.map((a, l) => /* @__PURE__ */ s(
2484
+ Kt,
2472
2485
  {
2473
2486
  to: a.url,
2474
- className: ({ isActive: c }) => `${Ne.topNavOptions} ${c ? Ne.active : ""} `,
2487
+ className: ({ isActive: c }) => `${$e.topNavOptions} ${c ? $e.active : ""} `,
2475
2488
  onClick: () => t(a.url),
2476
2489
  style: ({ isActive: c }) => ({
2477
2490
  color: o,
@@ -2482,7 +2495,7 @@ const dn = "_TopNavMenuContainer_12mp4_2", un = "_topNavOptions_12mp4_13", pn =
2482
2495
  l
2483
2496
  )) });
2484
2497
  };
2485
- mn.propTypes = {
2498
+ fn.propTypes = {
2486
2499
  options: e.arrayOf(e.object),
2487
2500
  cssProps: e.shape({
2488
2501
  borderColor: e.string.isRequired,
@@ -2492,9 +2505,9 @@ mn.propTypes = {
2492
2505
  // activeColor: PropTypes.string,
2493
2506
  // defaultColor: PropTypes.string
2494
2507
  };
2495
- const hn = "_LogInButton_1vxj5_2", gn = {
2496
- LogInButton: hn
2497
- }, Cn = ({
2508
+ const bn = "_LogInButton_1vxj5_2", _n = {
2509
+ LogInButton: bn
2510
+ }, yn = ({
2498
2511
  cssClass: n,
2499
2512
  notLoggedInLabel: d = "Log in",
2500
2513
  loggedInLabel: i = "Log out",
@@ -2513,13 +2526,13 @@ const hn = "_LogInButton_1vxj5_2", gn = {
2513
2526
  "div",
2514
2527
  {
2515
2528
  style: { ...o },
2516
- className: `${gn.LogInButton} link ${n}`,
2529
+ className: `${_n.LogInButton} link ${n}`,
2517
2530
  onClick: r ? l : a,
2518
2531
  children: r ? t || c(i) : c(d)
2519
2532
  }
2520
2533
  );
2521
2534
  };
2522
- Cn.propTypes = {
2535
+ yn.propTypes = {
2523
2536
  cssClass: e.string,
2524
2537
  notLoggedInLabel: e.string,
2525
2538
  loggedInLabel: e.string,
@@ -2527,51 +2540,51 @@ Cn.propTypes = {
2527
2540
  userName: e.string,
2528
2541
  isLoggedIn: e.bool
2529
2542
  };
2530
- const fn = "_elementSelector_fd7az_2", bn = "_header_fd7az_13", yn = "_nameDateContainer_fd7az_23", _n = "_elementName_fd7az_39", vn = "_elementDate_fd7az_53", wn = "_buttonsContainer_fd7az_67", xn = "_elementListContainer_fd7az_76", Nn = "_newElementButtonContainer_fd7az_80", P = {
2531
- elementSelector: fn,
2532
- header: bn,
2533
- nameDateContainer: yn,
2534
- elementName: _n,
2535
- elementDate: vn,
2536
- buttonsContainer: wn,
2537
- elementListContainer: xn,
2538
- newElementButtonContainer: Nn
2539
- }, kn = "_listElement_1s506_2", Bn = "_elementNameDate_1s506_17", Sn = "_elementNameContainer_1s506_27", Dn = "_elementName_1s506_17", Mn = "_elementDate_1s506_42", Ln = "_elementButtons_1s506_45", $n = "_moreInfoContainer_1s506_68", Fn = "_moreInfo_1s506_68", O = {
2540
- listElement: kn,
2541
- elementNameDate: Bn,
2542
- elementNameContainer: Sn,
2543
- elementName: Dn,
2544
- elementDate: Mn,
2545
- elementButtons: Ln,
2543
+ const vn = "_elementSelector_fd7az_2", xn = "_header_fd7az_13", wn = "_nameDateContainer_fd7az_23", Nn = "_elementName_fd7az_39", kn = "_elementDate_fd7az_53", Bn = "_buttonsContainer_fd7az_67", Sn = "_elementListContainer_fd7az_76", $n = "_newElementButtonContainer_fd7az_80", Z = {
2544
+ elementSelector: vn,
2545
+ header: xn,
2546
+ nameDateContainer: wn,
2547
+ elementName: Nn,
2548
+ elementDate: kn,
2549
+ buttonsContainer: Bn,
2550
+ elementListContainer: Sn,
2551
+ newElementButtonContainer: $n
2552
+ }, Dn = "_listElement_1s506_2", Mn = "_elementNameDate_1s506_17", Ln = "_elementNameContainer_1s506_27", Tn = "_elementName_1s506_17", Fn = "_elementDate_1s506_42", Vn = "_elementButtons_1s506_45", An = "_moreInfoContainer_1s506_68", In = "_moreInfo_1s506_68", P = {
2553
+ listElement: Dn,
2554
+ elementNameDate: Mn,
2555
+ elementNameContainer: Ln,
2556
+ elementName: Tn,
2557
+ elementDate: Fn,
2558
+ elementButtons: Vn,
2546
2559
  break: "_break_1s506_63",
2547
- moreInfoContainer: $n,
2548
- moreInfo: Fn
2549
- }, Tn = "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", Vn = "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", An = "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", In = "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", On = "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";
2550
- var Ge;
2551
- function Fe() {
2552
- return Fe = Object.assign ? Object.assign.bind() : function(n) {
2560
+ moreInfoContainer: An,
2561
+ moreInfo: In
2562
+ }, On = "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", Rn = "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", qn = "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", En = "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", Pn = "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";
2563
+ var Qe;
2564
+ function Ie() {
2565
+ return Ie = Object.assign ? Object.assign.bind() : function(n) {
2553
2566
  for (var d = 1; d < arguments.length; d++) {
2554
2567
  var i = arguments[d];
2555
2568
  for (var o in i) ({}).hasOwnProperty.call(i, o) && (n[o] = i[o]);
2556
2569
  }
2557
2570
  return n;
2558
- }, Fe.apply(null, arguments);
2571
+ }, Ie.apply(null, arguments);
2559
2572
  }
2560
- var Rn = function(d) {
2561
- return /* @__PURE__ */ te.createElement("svg", Fe({
2573
+ var jn = function(d) {
2574
+ return /* @__PURE__ */ le.createElement("svg", Ie({
2562
2575
  xmlns: "http://www.w3.org/2000/svg",
2563
2576
  width: 26,
2564
2577
  height: 14,
2565
2578
  fill: "none"
2566
- }, d), Ge || (Ge = /* @__PURE__ */ te.createElement("g", {
2579
+ }, d), Qe || (Qe = /* @__PURE__ */ le.createElement("g", {
2567
2580
  fill: "currentColor"
2568
- }, /* @__PURE__ */ te.createElement("path", {
2581
+ }, /* @__PURE__ */ le.createElement("path", {
2569
2582
  d: "M12.95.408C7.659.408 2.849 2.772.083 6.726a.47.47 0 0 0 0 .532c2.761 3.955 7.571 6.313 12.867 6.313s10.106-2.358 12.867-6.313a.47.47 0 0 0 0-.532C23.05 2.772 18.24.408 12.95.408m0 10.814A4.24 4.24 0 0 1 8.718 6.99a4.24 4.24 0 0 1 4.232-4.232 4.24 4.24 0 0 1 4.232 4.232 4.24 4.24 0 0 1-4.232 4.232"
2570
- }), /* @__PURE__ */ te.createElement("path", {
2583
+ }), /* @__PURE__ */ le.createElement("path", {
2571
2584
  d: "M12.951 10.297a3.307 3.307 0 1 0 0-6.614 3.307 3.307 0 0 0 0 6.614"
2572
2585
  }))));
2573
2586
  };
2574
- const qn = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", ut = ({
2587
+ const zn = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", gt = ({
2575
2588
  listelement: n,
2576
2589
  onClickElement: d,
2577
2590
  isActive: i,
@@ -2581,65 +2594,62 @@ const qn = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
2581
2594
  columns: a,
2582
2595
  elementButtons: l,
2583
2596
  processTooltip: c,
2584
- defaultTooltip: u
2597
+ defaultTooltip: u,
2598
+ showEye: m = !0
2585
2599
  }) => {
2586
- const { nom: m, created_at: h, id: _, isBeingProcessed: f } = n, [g, y] = L(!1), { t: C } = k();
2600
+ const { nom: h, created_at: y, id: b, isBeingProcessed: g } = n, [f, C] = D(!1), { t: _ } = k();
2587
2601
  return /* @__PURE__ */ p(
2588
2602
  "div",
2589
2603
  {
2590
- className: O.listElement,
2604
+ className: P.listElement,
2591
2605
  style: { borderBottom: `1px solid ${t}` },
2592
2606
  children: [
2593
- /* @__PURE__ */ p("div", { className: O.elementNameDate, onClick: () => d(_), children: [
2594
- a.nom && /* @__PURE__ */ s("div", { className: O.elementNameContainer, children: /* @__PURE__ */ p("div", { className: O.elementName, children: [
2595
- i ? /* @__PURE__ */ s(Rn, { style: { color: o, marginRight: 9 } }) : /* @__PURE__ */ s(
2596
- "img",
2597
- {
2598
- style: { marginRight: 9 },
2599
- src: qn
2600
- }
2601
- ),
2602
- /* @__PURE__ */ s("span", { style: { color: i ? o : t }, children: m })
2603
- ] }) }),
2604
- a.data && /* @__PURE__ */ s("div", { className: O.elementDate, children: h ? new Date(h).toLocaleDateString() : "" }),
2605
- a.ambit && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.ambit }),
2606
- a.escenari && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.escenari })
2607
- ] }),
2608
- /* @__PURE__ */ p("div", { className: O.elementButtons, children: [
2607
+ /* @__PURE__ */ s("div", { className: P.elementNameDate, onClick: () => d(b), children: Object.keys(a).map((v) => v === "nom" ? /* @__PURE__ */ s("div", { className: P.elementNameContainer, children: /* @__PURE__ */ p("div", { className: P.elementName, children: [
2608
+ m && (i ? /* @__PURE__ */ s(jn, { style: { color: o, marginRight: 9 } }) : /* @__PURE__ */ s(
2609
+ "img",
2610
+ {
2611
+ style: { marginRight: 9 },
2612
+ src: zn,
2613
+ alt: "eye"
2614
+ }
2615
+ )),
2616
+ /* @__PURE__ */ s("span", { style: { color: i ? o : t }, children: h })
2617
+ ] }) }) : v == "data" ? /* @__PURE__ */ s("div", { className: P.elementDate, children: y ? new Date(y).toLocaleDateString() : "" }) : /* @__PURE__ */ s("div", { className: P.elementDate, children: n[v] })) }),
2618
+ /* @__PURE__ */ p("div", { className: P.elementButtons, children: [
2609
2619
  n.processing && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
2610
- /* @__PURE__ */ s("img", { src: In }),
2611
- /* @__PURE__ */ s(Y, { text: c, position: "left" })
2620
+ /* @__PURE__ */ s("img", { src: En }),
2621
+ /* @__PURE__ */ s(ee, { text: c, position: "left" })
2612
2622
  ] }),
2613
2623
  l.filter && !n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
2614
- /* @__PURE__ */ s("button", { onClick: () => l.filter.onclick(n), children: /* @__PURE__ */ s("img", { src: An }) }),
2615
- /* @__PURE__ */ s(Y, { text: l.filter.tooltiptext, position: "left" })
2624
+ /* @__PURE__ */ s("button", { onClick: () => l.filter.onclick(n), children: /* @__PURE__ */ s("img", { src: qn }) }),
2625
+ /* @__PURE__ */ s(ee, { text: l.filter.tooltiptext, position: "left" })
2616
2626
  ] }),
2617
2627
  l.copy && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
2618
- /* @__PURE__ */ s("button", { onClick: () => l.copy.onclick(n), children: /* @__PURE__ */ s("img", { src: Vn }) }),
2619
- /* @__PURE__ */ s(Y, { text: l.copy.tooltiptext, position: "left" })
2628
+ /* @__PURE__ */ s("button", { onClick: () => l.copy.onclick(n), children: /* @__PURE__ */ s("img", { src: Rn }) }),
2629
+ /* @__PURE__ */ s(ee, { text: l.copy.tooltiptext, position: "left" })
2620
2630
  ] }),
2621
2631
  l.trash && !n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
2622
- /* @__PURE__ */ s("button", { onClick: () => l.trash.onclick(n), children: /* @__PURE__ */ s("img", { src: Tn }) }),
2623
- /* @__PURE__ */ s(Y, { text: l.trash.tooltiptext, position: "left" })
2632
+ /* @__PURE__ */ s("button", { onClick: () => l.trash.onclick(n), children: /* @__PURE__ */ s("img", { src: On }) }),
2633
+ /* @__PURE__ */ s(ee, { text: l.trash.tooltiptext, position: "left" })
2624
2634
  ] }),
2625
2635
  n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
2626
- /* @__PURE__ */ s("img", { src: On }),
2627
- /* @__PURE__ */ s(Y, { text: u, position: "left" })
2636
+ /* @__PURE__ */ s("img", { src: Pn }),
2637
+ /* @__PURE__ */ s(ee, { text: u, position: "left" })
2628
2638
  ] })
2629
2639
  ] }),
2630
- r && /* @__PURE__ */ s("div", { className: O.break }),
2631
- r && /* @__PURE__ */ p("div", { className: O.moreInfoContainer, children: [
2632
- /* @__PURE__ */ p("div", { className: O.moreInfo, onClick: () => y(!g), children: [
2633
- /* @__PURE__ */ s("span", { children: g ? "-" : "+" }),
2634
- C(r.label)
2640
+ r && /* @__PURE__ */ s("div", { className: P.break }),
2641
+ r && /* @__PURE__ */ p("div", { className: P.moreInfoContainer, children: [
2642
+ /* @__PURE__ */ p("div", { className: P.moreInfo, onClick: () => C(!f), children: [
2643
+ /* @__PURE__ */ s("span", { children: f ? "-" : "+" }),
2644
+ _(r.label)
2635
2645
  ] }),
2636
- r && g && /* @__PURE__ */ s("div", { className: O.moreInfoInfo, children: n[r.info] })
2646
+ r && f && /* @__PURE__ */ s("div", { className: P.moreInfoInfo, children: n[r.info] })
2637
2647
  ] })
2638
2648
  ]
2639
2649
  }
2640
2650
  );
2641
2651
  };
2642
- ut.propTypes = {
2652
+ gt.propTypes = {
2643
2653
  listelement: e.shape({
2644
2654
  nom: e.string.isRequired,
2645
2655
  created_at: e.string,
@@ -2672,9 +2682,10 @@ ut.propTypes = {
2672
2682
  })
2673
2683
  }),
2674
2684
  processTooltip: e.string,
2675
- defaultTooltip: e.string
2685
+ defaultTooltip: e.string,
2686
+ showEye: e.bool
2676
2687
  };
2677
- const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", En = ({
2688
+ const Xe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Zn = ({
2678
2689
  elementsList: n,
2679
2690
  activeElementId: d,
2680
2691
  fontColor: i = "#605B56",
@@ -2682,8 +2693,8 @@ const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
2682
2693
  buttonContainerStyles: t = {},
2683
2694
  containerStyles: r = {},
2684
2695
  newElementButton: a,
2685
- //{label: 'text', onClick: function()}/null
2686
- onClickElement: l = (f) => console.log(`OnCLickElement: ${f}`),
2696
+ //{label: 'text', onClick: function(), disabled}/null
2697
+ onClickElement: l = (g) => console.log(`OnCLickElement: ${g}`),
2687
2698
  columns: c,
2688
2699
  // {'nom': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
2689
2700
  elementButtons: u,
@@ -2692,52 +2703,48 @@ const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
2692
2703
  //{label: 'x'}
2693
2704
  processTooltip: h,
2694
2705
  //texto para el tooltip del simbolo "En proceso"
2695
- defaultTooltip: _
2706
+ defaultTooltip: y,
2696
2707
  //texto para el tooltip del símbolo de candado para los elementos default
2708
+ showEye: b = !0
2697
2709
  }) => {
2698
- const { t: f } = k(), [g, y] = L(n);
2699
- $(() => {
2700
- n && y(n);
2710
+ const { t: g } = k(), [f, C] = D(n);
2711
+ M(() => {
2712
+ n && C(n);
2701
2713
  }, [n]);
2702
- const C = (b) => {
2703
- if (g && g.length > 0) {
2704
- let w = [...g];
2705
- w.sort((x, v) => x[b].localeCompare(v[b])), y(w);
2714
+ const _ = (v) => {
2715
+ if (f && f.length > 0) {
2716
+ let w = [...f];
2717
+ w.sort((x, N) => x[v].localeCompare(N[v])), C(w);
2706
2718
  }
2707
2719
  };
2708
2720
  return /* @__PURE__ */ p(
2709
2721
  "div",
2710
2722
  {
2711
- className: P.elementSelector,
2723
+ className: Z.elementSelector,
2712
2724
  style: { color: i, ...r },
2713
2725
  children: [
2714
2726
  /* @__PURE__ */ p(
2715
2727
  "div",
2716
2728
  {
2717
- className: P.header,
2729
+ className: Z.header,
2718
2730
  style: { borderBottom: `1px solid ${i}` },
2719
2731
  children: [
2720
- /* @__PURE__ */ p("div", { className: P.nameDateContainer, children: [
2721
- c.nom && /* @__PURE__ */ s("div", { className: P.elementName, children: /* @__PURE__ */ p("button", { onClick: () => C("name"), children: [
2722
- /* @__PURE__ */ s("span", { children: f(c.nom) }),
2723
- /* @__PURE__ */ s("img", { src: Ye })
2724
- ] }) }),
2725
- c.data && /* @__PURE__ */ s("div", { className: P.elementDate, children: /* @__PURE__ */ p("button", { onClick: () => C("date"), children: [
2726
- /* @__PURE__ */ s("span", { children: f(c.data) }),
2727
- /* @__PURE__ */ s("img", { src: Ye })
2728
- ] }) }),
2729
- c.ambit && /* @__PURE__ */ s("div", { className: P.elementDate, children: /* @__PURE__ */ s("span", { children: f(c.ambit) }) }),
2730
- c.escenari && /* @__PURE__ */ s("div", { className: P.elementDate, children: /* @__PURE__ */ s("span", { children: f(c.escenari) }) })
2731
- ] }),
2732
- /* @__PURE__ */ s("div", { className: P.buttonsContainer })
2732
+ /* @__PURE__ */ s("div", { className: Z.nameDateContainer, children: Object.keys(c).map((v) => v === "nom" ? /* @__PURE__ */ s("div", { className: Z.elementName, children: /* @__PURE__ */ p("button", { onClick: () => _("name"), children: [
2733
+ /* @__PURE__ */ s("span", { children: g(c.nom) }),
2734
+ /* @__PURE__ */ s("img", { src: Xe, alt: "order arrow" })
2735
+ ] }) }, v) : v === "data" ? /* @__PURE__ */ s("div", { className: Z.elementDate, children: /* @__PURE__ */ p("button", { onClick: () => _("date"), children: [
2736
+ /* @__PURE__ */ s("span", { children: g(c.data) }),
2737
+ /* @__PURE__ */ s("img", { src: Xe, alt: "order arrow" })
2738
+ ] }) }, v) : /* @__PURE__ */ s("div", { className: Z.elementDate, children: /* @__PURE__ */ s("span", { children: g(c[v]) }) }, v)) }),
2739
+ /* @__PURE__ */ s("div", { className: Z.buttonsContainer })
2733
2740
  ]
2734
2741
  }
2735
2742
  ),
2736
- /* @__PURE__ */ s("div", { className: P.elementListContainer, children: g && g.length > 0 && g.map((b) => /* @__PURE__ */ s(
2737
- ut,
2743
+ /* @__PURE__ */ s("div", { className: Z.elementListContainer, children: f && f.length > 0 && f.map((v) => /* @__PURE__ */ s(
2744
+ gt,
2738
2745
  {
2739
- isActive: d == b.id,
2740
- listelement: b,
2746
+ isActive: d == v.id,
2747
+ listelement: v,
2741
2748
  fontColor: i,
2742
2749
  activeColor: o,
2743
2750
  onClickElement: l,
@@ -2745,24 +2752,26 @@ const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
2745
2752
  elementButtons: u,
2746
2753
  moreInfo: m,
2747
2754
  processTooltip: h,
2748
- defaultTooltip: _
2755
+ defaultTooltip: y,
2756
+ showEye: b
2749
2757
  },
2750
- `elementKey${b.id}`
2758
+ `elementKey${v.id}`
2751
2759
  )) }),
2752
- a && /* @__PURE__ */ s("div", { className: P.newElementButtonContainer, children: /* @__PURE__ */ s(
2753
- Ce,
2760
+ a && /* @__PURE__ */ s("div", { className: Z.newElementButtonContainer, children: /* @__PURE__ */ s(
2761
+ _e,
2754
2762
  {
2755
2763
  style: { ...t },
2756
2764
  onClick: a.onClick,
2757
2765
  borderColor: "grey",
2758
- children: f(a.label)
2766
+ disabled: a.disabled || !1,
2767
+ children: g(a.label)
2759
2768
  }
2760
2769
  ) })
2761
2770
  ]
2762
2771
  }
2763
2772
  );
2764
2773
  };
2765
- En.propTypes = {
2774
+ Zn.propTypes = {
2766
2775
  elementList: e.arrayOf(
2767
2776
  e.shape({
2768
2777
  nom: e.string.isRequired,
@@ -2806,70 +2815,71 @@ En.propTypes = {
2806
2815
  info: e.any
2807
2816
  }),
2808
2817
  processTooltip: e.string,
2809
- defaultTooltip: e.string
2818
+ defaultTooltip: e.string,
2819
+ showEye: e.bool
2810
2820
  };
2811
- const he = {
2821
+ const ue = {
2812
2822
  text: "text",
2813
2823
  password: "password",
2814
2824
  radioList: "radioList",
2815
2825
  select: "select"
2816
- }, Pn = "_textInputContainer_1o3iy_2", zn = "_labelContainer_1o3iy_5", jn = "_inputContainer_1o3iy_8", Zn = "_showPasswordButton_1o3iy_14", Kn = "_forgotPassButton_1o3iy_26", se = {
2817
- textInputContainer: Pn,
2818
- labelContainer: zn,
2819
- inputContainer: jn,
2820
- showPasswordButton: Zn,
2821
- forgotPassButton: Kn
2822
- };
2823
- var Hn = (n) => n.type === "checkbox", Un = (n) => n instanceof Date, pt = (n) => n == null;
2824
- const Gn = (n) => typeof n == "object";
2825
- var le = (n) => !pt(n) && !Array.isArray(n) && Gn(n) && !Un(n), Yn = (n) => le(n) && n.target ? Hn(n.target) ? n.target.checked : n.target.value : n, Wn = (n) => n.substring(0, n.search(/\.\d+(\.|$)/)) || n, Qn = (n, d) => n.has(Wn(d)), Xn = (n) => {
2826
+ }, Kn = "_textInputContainer_1o3iy_2", Hn = "_labelContainer_1o3iy_5", Un = "_inputContainer_1o3iy_8", Gn = "_showPasswordButton_1o3iy_14", Wn = "_forgotPassButton_1o3iy_26", pe = {
2827
+ textInputContainer: Kn,
2828
+ labelContainer: Hn,
2829
+ inputContainer: Un,
2830
+ showPasswordButton: Gn,
2831
+ forgotPassButton: Wn
2832
+ };
2833
+ var Yn = (n) => n.type === "checkbox", Qn = (n) => n instanceof Date, Ct = (n) => n == null;
2834
+ const Xn = (n) => typeof n == "object";
2835
+ var he = (n) => !Ct(n) && !Array.isArray(n) && Xn(n) && !Qn(n), Jn = (n) => he(n) && n.target ? Yn(n.target) ? n.target.checked : n.target.value : n, e1 = (n) => n.substring(0, n.search(/\.\d+(\.|$)/)) || n, t1 = (n, d) => n.has(e1(d)), n1 = (n) => {
2826
2836
  const d = n.constructor && n.constructor.prototype;
2827
- return le(d) && d.hasOwnProperty("isPrototypeOf");
2828
- }, Jn = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
2829
- function mt(n) {
2837
+ return he(d) && d.hasOwnProperty("isPrototypeOf");
2838
+ }, i1 = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
2839
+ function ft(n) {
2830
2840
  let d;
2831
2841
  const i = Array.isArray(n), o = typeof FileList < "u" ? n instanceof FileList : !1;
2832
2842
  if (n instanceof Date)
2833
2843
  d = new Date(n);
2834
- else if (!(Jn && (n instanceof Blob || o)) && (i || le(n)))
2835
- if (d = i ? [] : {}, !i && !Xn(n))
2844
+ else if (!(i1 && (n instanceof Blob || o)) && (i || he(n)))
2845
+ if (d = i ? [] : {}, !i && !n1(n))
2836
2846
  d = n;
2837
2847
  else
2838
2848
  for (const t in n)
2839
- n.hasOwnProperty(t) && (d[t] = mt(n[t]));
2849
+ n.hasOwnProperty(t) && (d[t] = ft(n[t]));
2840
2850
  else
2841
2851
  return n;
2842
2852
  return d;
2843
2853
  }
2844
- var ht = (n) => /^\w*$/.test(n), Te = (n) => n === void 0, e1 = (n) => Array.isArray(n) ? n.filter(Boolean) : [], gt = (n) => e1(n.replace(/["|']|\]/g, "").split(/\.|\[/)), A = (n, d, i) => {
2845
- if (!d || !le(n))
2854
+ var bt = (n) => /^\w*$/.test(n), Oe = (n) => n === void 0, o1 = (n) => Array.isArray(n) ? n.filter(Boolean) : [], _t = (n) => o1(n.replace(/["|']|\]/g, "").split(/\.|\[/)), I = (n, d, i) => {
2855
+ if (!d || !he(n))
2846
2856
  return i;
2847
- const o = (ht(d) ? [d] : gt(d)).reduce((t, r) => pt(t) ? t : t[r], n);
2848
- return Te(o) || o === n ? Te(n[d]) ? i : n[d] : o;
2849
- }, ke = (n) => typeof n == "boolean", We = (n, d, i) => {
2857
+ const o = (bt(d) ? [d] : _t(d)).reduce((t, r) => Ct(t) ? t : t[r], n);
2858
+ return Oe(o) || o === n ? Oe(n[d]) ? i : n[d] : o;
2859
+ }, De = (n) => typeof n == "boolean", Je = (n, d, i) => {
2850
2860
  let o = -1;
2851
- const t = ht(d) ? [d] : gt(d), r = t.length, a = r - 1;
2861
+ const t = bt(d) ? [d] : _t(d), r = t.length, a = r - 1;
2852
2862
  for (; ++o < r; ) {
2853
2863
  const l = t[o];
2854
2864
  let c = i;
2855
2865
  if (o !== a) {
2856
2866
  const u = n[l];
2857
- c = le(u) || Array.isArray(u) ? u : isNaN(+t[o + 1]) ? {} : [];
2867
+ c = he(u) || Array.isArray(u) ? u : isNaN(+t[o + 1]) ? {} : [];
2858
2868
  }
2859
2869
  if (l === "__proto__" || l === "constructor" || l === "prototype")
2860
2870
  return;
2861
2871
  n[l] = c, n = n[l];
2862
2872
  }
2863
2873
  };
2864
- const Qe = {
2874
+ const et = {
2865
2875
  BLUR: "blur",
2866
2876
  CHANGE: "change"
2867
- }, Xe = {
2877
+ }, tt = {
2868
2878
  all: "all"
2869
- }, Ct = B.createContext(null);
2870
- Ct.displayName = "HookFormContext";
2871
- const Re = () => B.useContext(Ct);
2872
- var t1 = (n, d, i, o = !0) => {
2879
+ }, yt = B.createContext(null);
2880
+ yt.displayName = "HookFormContext";
2881
+ const je = () => B.useContext(yt);
2882
+ var s1 = (n, d, i, o = !0) => {
2873
2883
  const t = {
2874
2884
  defaultValues: d._defaultValues
2875
2885
  };
@@ -2877,14 +2887,14 @@ var t1 = (n, d, i, o = !0) => {
2877
2887
  Object.defineProperty(t, r, {
2878
2888
  get: () => {
2879
2889
  const a = r;
2880
- return d._proxyFormState[a] !== Xe.all && (d._proxyFormState[a] = !o || Xe.all), i && (i[a] = !0), n[a];
2890
+ return d._proxyFormState[a] !== tt.all && (d._proxyFormState[a] = !o || tt.all), i && (i[a] = !0), n[a];
2881
2891
  }
2882
2892
  });
2883
2893
  return t;
2884
2894
  };
2885
- const ft = typeof window < "u" ? te.useLayoutEffect : te.useEffect;
2886
- function n1(n) {
2887
- const d = Re(), { control: i = d.control, disabled: o, name: t, exact: r } = n || {}, [a, l] = B.useState(i._formState), c = B.useRef({
2895
+ const vt = typeof window < "u" ? le.useLayoutEffect : le.useEffect;
2896
+ function r1(n) {
2897
+ const d = je(), { control: i = d.control, disabled: o, name: t, exact: r } = n || {}, [a, l] = B.useState(i._formState), c = B.useRef({
2888
2898
  isDirty: !1,
2889
2899
  isLoading: !1,
2890
2900
  dirtyFields: !1,
@@ -2894,7 +2904,7 @@ function n1(n) {
2894
2904
  isValid: !1,
2895
2905
  errors: !1
2896
2906
  });
2897
- return ft(() => i._subscribe({
2907
+ return vt(() => i._subscribe({
2898
2908
  name: t,
2899
2909
  formState: c.current,
2900
2910
  exact: r,
@@ -2906,99 +2916,99 @@ function n1(n) {
2906
2916
  }
2907
2917
  }), [t, o, r]), B.useEffect(() => {
2908
2918
  c.current.isValid && i._setValid(!0);
2909
- }, [i]), B.useMemo(() => t1(a, i, c.current, !1), [a, i]);
2919
+ }, [i]), B.useMemo(() => s1(a, i, c.current, !1), [a, i]);
2910
2920
  }
2911
- var i1 = (n) => typeof n == "string", o1 = (n, d, i, o, t) => i1(n) ? A(i, n, t) : Array.isArray(n) ? n.map((r) => A(i, r)) : i;
2912
- function s1(n) {
2913
- const d = Re(), { control: i = d.control, name: o, defaultValue: t, disabled: r, exact: a } = n || {}, l = B.useRef(t), [c, u] = B.useState(i._getWatch(o, l.current));
2914
- return ft(() => i._subscribe({
2921
+ var a1 = (n) => typeof n == "string", l1 = (n, d, i, o, t) => a1(n) ? I(i, n, t) : Array.isArray(n) ? n.map((r) => I(i, r)) : i;
2922
+ function c1(n) {
2923
+ const d = je(), { control: i = d.control, name: o, defaultValue: t, disabled: r, exact: a } = n || {}, l = B.useRef(t), [c, u] = B.useState(i._getWatch(o, l.current));
2924
+ return vt(() => i._subscribe({
2915
2925
  name: o,
2916
2926
  formState: {
2917
2927
  values: !0
2918
2928
  },
2919
2929
  exact: a,
2920
- callback: (m) => !r && u(o1(o, i._names, m.values || i._formValues, !1, l.current))
2930
+ callback: (m) => !r && u(l1(o, i._names, m.values || i._formValues, !1, l.current))
2921
2931
  }), [o, i, r, a]), B.useEffect(() => i._removeUnmounted()), c;
2922
2932
  }
2923
- function r1(n) {
2924
- const d = Re(), { name: i, disabled: o, control: t = d.control, shouldUnregister: r } = n, a = Qn(t._names.array, i), l = s1({
2933
+ function d1(n) {
2934
+ const d = je(), { name: i, disabled: o, control: t = d.control, shouldUnregister: r } = n, a = t1(t._names.array, i), l = c1({
2925
2935
  control: t,
2926
2936
  name: i,
2927
- defaultValue: A(t._formValues, i, A(t._defaultValues, i, n.defaultValue)),
2937
+ defaultValue: I(t._formValues, i, I(t._defaultValues, i, n.defaultValue)),
2928
2938
  exact: !0
2929
- }), c = n1({
2939
+ }), c = r1({
2930
2940
  control: t,
2931
2941
  name: i,
2932
2942
  exact: !0
2933
2943
  }), u = B.useRef(n), m = B.useRef(t.register(i, {
2934
2944
  ...n.rules,
2935
2945
  value: l,
2936
- ...ke(n.disabled) ? { disabled: n.disabled } : {}
2946
+ ...De(n.disabled) ? { disabled: n.disabled } : {}
2937
2947
  })), h = B.useMemo(() => Object.defineProperties({}, {
2938
2948
  invalid: {
2939
2949
  enumerable: !0,
2940
- get: () => !!A(c.errors, i)
2950
+ get: () => !!I(c.errors, i)
2941
2951
  },
2942
2952
  isDirty: {
2943
2953
  enumerable: !0,
2944
- get: () => !!A(c.dirtyFields, i)
2954
+ get: () => !!I(c.dirtyFields, i)
2945
2955
  },
2946
2956
  isTouched: {
2947
2957
  enumerable: !0,
2948
- get: () => !!A(c.touchedFields, i)
2958
+ get: () => !!I(c.touchedFields, i)
2949
2959
  },
2950
2960
  isValidating: {
2951
2961
  enumerable: !0,
2952
- get: () => !!A(c.validatingFields, i)
2962
+ get: () => !!I(c.validatingFields, i)
2953
2963
  },
2954
2964
  error: {
2955
2965
  enumerable: !0,
2956
- get: () => A(c.errors, i)
2966
+ get: () => I(c.errors, i)
2957
2967
  }
2958
- }), [c, i]), _ = B.useCallback((C) => m.current.onChange({
2968
+ }), [c, i]), y = B.useCallback((C) => m.current.onChange({
2959
2969
  target: {
2960
- value: Yn(C),
2970
+ value: Jn(C),
2961
2971
  name: i
2962
2972
  },
2963
- type: Qe.CHANGE
2964
- }), [i]), f = B.useCallback(() => m.current.onBlur({
2973
+ type: et.CHANGE
2974
+ }), [i]), b = B.useCallback(() => m.current.onBlur({
2965
2975
  target: {
2966
- value: A(t._formValues, i),
2976
+ value: I(t._formValues, i),
2967
2977
  name: i
2968
2978
  },
2969
- type: Qe.BLUR
2979
+ type: et.BLUR
2970
2980
  }), [i, t._formValues]), g = B.useCallback((C) => {
2971
- const b = A(t._fields, i);
2972
- b && C && (b._f.ref = {
2981
+ const _ = I(t._fields, i);
2982
+ _ && C && (_._f.ref = {
2973
2983
  focus: () => C.focus && C.focus(),
2974
2984
  select: () => C.select && C.select(),
2975
- setCustomValidity: (w) => C.setCustomValidity(w),
2985
+ setCustomValidity: (v) => C.setCustomValidity(v),
2976
2986
  reportValidity: () => C.reportValidity()
2977
2987
  });
2978
- }, [t._fields, i]), y = B.useMemo(() => ({
2988
+ }, [t._fields, i]), f = B.useMemo(() => ({
2979
2989
  name: i,
2980
2990
  value: l,
2981
- ...ke(o) || c.disabled ? { disabled: c.disabled || o } : {},
2982
- onChange: _,
2983
- onBlur: f,
2991
+ ...De(o) || c.disabled ? { disabled: c.disabled || o } : {},
2992
+ onChange: y,
2993
+ onBlur: b,
2984
2994
  ref: g
2985
- }), [i, o, c.disabled, _, f, g, l]);
2995
+ }), [i, o, c.disabled, y, b, g, l]);
2986
2996
  return B.useEffect(() => {
2987
2997
  const C = t._options.shouldUnregister || r;
2988
2998
  t.register(i, {
2989
2999
  ...u.current.rules,
2990
- ...ke(u.current.disabled) ? { disabled: u.current.disabled } : {}
3000
+ ...De(u.current.disabled) ? { disabled: u.current.disabled } : {}
2991
3001
  });
2992
- const b = (w, x) => {
2993
- const v = A(t._fields, w);
2994
- v && v._f && (v._f.mount = x);
3002
+ const _ = (v, w) => {
3003
+ const x = I(t._fields, v);
3004
+ x && x._f && (x._f.mount = w);
2995
3005
  };
2996
- if (b(i, !0), C) {
2997
- const w = mt(A(t._options.defaultValues, i));
2998
- We(t._defaultValues, i, w), Te(A(t._formValues, i)) && We(t._formValues, i, w);
3006
+ if (_(i, !0), C) {
3007
+ const v = ft(I(t._options.defaultValues, i));
3008
+ Je(t._defaultValues, i, v), Oe(I(t._formValues, i)) && Je(t._formValues, i, v);
2999
3009
  }
3000
3010
  return !a && t.register(i), () => {
3001
- (a ? C && !t._state.action : C) ? t.unregister(i) : b(i, !1);
3011
+ (a ? C && !t._state.action : C) ? t.unregister(i) : _(i, !1);
3002
3012
  };
3003
3013
  }, [i, t, a, r]), B.useEffect(() => {
3004
3014
  t._setDisabledField({
@@ -3006,14 +3016,14 @@ function r1(n) {
3006
3016
  name: i
3007
3017
  });
3008
3018
  }, [o, i, t]), B.useMemo(() => ({
3009
- field: y,
3019
+ field: f,
3010
3020
  formState: c,
3011
3021
  fieldState: h
3012
- }), [y, c, h]);
3022
+ }), [f, c, h]);
3013
3023
  }
3014
- const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3015
- errorMessage: a1
3016
- }, fe = ({
3024
+ const ye = (n) => n.render(d1(n)), u1 = "_errorMessage_1xiyb_2", p1 = {
3025
+ errorMessage: u1
3026
+ }, ve = ({
3017
3027
  errorMessage: n,
3018
3028
  errorColor: d = "red",
3019
3029
  containerStyles: i
@@ -3022,12 +3032,12 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3022
3032
  return /* @__PURE__ */ s(
3023
3033
  "div",
3024
3034
  {
3025
- className: l1.errorMessage,
3035
+ className: p1.errorMessage,
3026
3036
  style: { color: d, ...i },
3027
3037
  children: n ? o(n) : ""
3028
3038
  }
3029
3039
  );
3030
- }, Je = ({ input: n, reactHookFormInstance: d }) => {
3040
+ }, nt = ({ input: n, reactHookFormInstance: d }) => {
3031
3041
  const {
3032
3042
  code: i,
3033
3043
  type: o,
@@ -3041,27 +3051,27 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3041
3051
  onClickForgotPass: h = () => {
3042
3052
  console.log("Click on forgot password");
3043
3053
  },
3044
- forgotPassLabel: _ = "forgot-password"
3045
- } = n, { t: f } = k(), { control: g, trigger: y, clearErrors: C } = d, [b, w] = L(!1), x = ne(a);
3046
- $(() => {
3047
- x.current !== a && (a ? y(i) : C(i), x.current = a);
3048
- }, [a, i, y, C]);
3049
- const v = () => o ? o === "password" && b ? "text" : o : "text";
3054
+ forgotPassLabel: y = "forgot-password"
3055
+ } = n, { t: b } = k(), { control: g, trigger: f, clearErrors: C } = d, [_, v] = D(!1), w = te(a);
3056
+ M(() => {
3057
+ w.current !== a && (a ? f(i) : C(i), w.current = a);
3058
+ }, [a, i, f, C]);
3059
+ const x = () => o ? o === "password" && _ ? "text" : o : "text";
3050
3060
  return /* @__PURE__ */ s(
3051
- qe,
3061
+ ye,
3052
3062
  {
3053
3063
  name: i,
3054
3064
  control: g,
3055
3065
  rules: {
3056
- required: a ? `${f(t)} ${f("errorMessages.required")}` : !1,
3066
+ required: a ? `${b(t)} ${b("errorMessages.required")}` : !1,
3057
3067
  maxLength: r || void 0,
3058
3068
  validate: l || void 0
3059
3069
  },
3060
3070
  render: ({ field: N, fieldState: S }) => {
3061
- var D;
3062
- return /* @__PURE__ */ p("div", { className: se.textInputContainer, children: [
3063
- /* @__PURE__ */ p("h3", { className: se.labelContainer, children: [
3064
- f(t),
3071
+ var $;
3072
+ return /* @__PURE__ */ p("div", { className: pe.textInputContainer, children: [
3073
+ /* @__PURE__ */ p("h3", { className: pe.labelContainer, children: [
3074
+ b(t),
3065
3075
  " ",
3066
3076
  a && /* @__PURE__ */ s("label", { style: { color: S.error ? u : "" }, children: "*" })
3067
3077
  ] }),
@@ -3069,34 +3079,34 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3069
3079
  "div",
3070
3080
  {
3071
3081
  style: { position: "relative", width: m },
3072
- className: se.inputContainer,
3082
+ className: pe.inputContainer,
3073
3083
  children: [
3074
3084
  /* @__PURE__ */ s(
3075
3085
  "input",
3076
3086
  {
3077
- type: v(),
3087
+ type: x(),
3078
3088
  ...N,
3079
- placeholder: c ? f(c) : "",
3089
+ placeholder: c ? b(c) : "",
3080
3090
  maxLength: r || void 0
3081
3091
  }
3082
3092
  ),
3083
3093
  o == "password" && /* @__PURE__ */ s(
3084
3094
  "button",
3085
3095
  {
3086
- onClick: () => w(!b),
3096
+ onClick: () => v(!_),
3087
3097
  type: "button",
3088
- className: se.showPasswordButton,
3089
- children: b ? "🙈" : "👁️"
3098
+ className: pe.showPasswordButton,
3099
+ children: _ ? "🙈" : "👁️"
3090
3100
  }
3091
3101
  )
3092
3102
  ]
3093
3103
  }
3094
3104
  ),
3095
- o == "password" && /* @__PURE__ */ s("div", { className: se.forgotPassButton, children: /* @__PURE__ */ s("button", { onClick: h, children: f(_) }) }),
3105
+ o == "password" && /* @__PURE__ */ s("div", { className: pe.forgotPassButton, children: /* @__PURE__ */ s("button", { onClick: h, children: b(y) }) }),
3096
3106
  /* @__PURE__ */ s(
3097
- fe,
3107
+ ve,
3098
3108
  {
3099
- errorMessage: (D = S.error) == null ? void 0 : D.message,
3109
+ errorMessage: ($ = S.error) == null ? void 0 : $.message,
3100
3110
  errorColor: u
3101
3111
  }
3102
3112
  )
@@ -3104,20 +3114,20 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3104
3114
  }
3105
3115
  }
3106
3116
  );
3107
- }, c1 = "_formContainer_b071f_2", d1 = "_formObjectContainer_b071f_11", u1 = "_buttonContainer_b071f_22", Be = {
3108
- formContainer: c1,
3109
- formObjectContainer: d1,
3110
- buttonContainer: u1
3111
- }, p1 = "_inputsContainer_10t9s_2", re = {
3112
- inputsContainer: p1
3113
- }, m1 = "_selectInputContainer_1rj0h_2", h1 = "_labelContainer_1rj0h_6", g1 = "_inputContainer_1rj0h_9", C1 = "_selectInput_1rj0h_2", f1 = "_option_1rj0h_23", b1 = "_dropdownArrow_1rj0h_26", ee = {
3114
- selectInputContainer: m1,
3115
- labelContainer: h1,
3116
- inputContainer: g1,
3117
- selectInput: C1,
3118
- option: f1,
3119
- dropdownArrow: b1
3120
- }, y1 = "data:image/svg+xml,%3csvg%20width='19'%20height='10'%20viewBox='0%200%2019%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector%20311'%20d='M1%201.09961L8.79289%208.8925C9.18342%209.28303%209.81658%209.28303%2010.2071%208.8925L18%201.09961'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", _1 = ({ input: n, reactHookFormInstance: d }) => {
3117
+ }, m1 = "_formContainer_b071f_2", h1 = "_formObjectContainer_b071f_11", g1 = "_buttonContainer_b071f_22", Me = {
3118
+ formContainer: m1,
3119
+ formObjectContainer: h1,
3120
+ buttonContainer: g1
3121
+ }, C1 = "_inputsContainer_10t9s_2", re = {
3122
+ inputsContainer: C1
3123
+ }, f1 = "_selectInputContainer_1rj0h_2", b1 = "_labelContainer_1rj0h_6", _1 = "_inputContainer_1rj0h_9", y1 = "_selectInput_1rj0h_2", v1 = "_option_1rj0h_23", x1 = "_dropdownArrow_1rj0h_26", ae = {
3124
+ selectInputContainer: f1,
3125
+ labelContainer: b1,
3126
+ inputContainer: _1,
3127
+ selectInput: y1,
3128
+ option: v1,
3129
+ dropdownArrow: x1
3130
+ }, w1 = "data:image/svg+xml,%3csvg%20width='19'%20height='10'%20viewBox='0%200%2019%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector%20311'%20d='M1%201.09961L8.79289%208.8925C9.18342%209.28303%209.81658%209.28303%2010.2071%208.8925L18%201.09961'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", N1 = ({ input: n, reactHookFormInstance: d }) => {
3121
3131
  const {
3122
3132
  code: i,
3123
3133
  type: o,
@@ -3129,44 +3139,44 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3129
3139
  errorColor: u = "red",
3130
3140
  width: m = 325,
3131
3141
  options: h = []
3132
- } = n, { t: _ } = k(), { control: f, trigger: g, clearErrors: y } = d, C = ne(a);
3133
- return $(() => {
3134
- C.current !== a && (a ? g(i) : y(i), C.current = a);
3135
- }, [a, i, g, y]), /* @__PURE__ */ s(
3136
- qe,
3142
+ } = n, { t: y } = k(), { control: b, trigger: g, clearErrors: f } = d, C = te(a);
3143
+ return M(() => {
3144
+ C.current !== a && (a ? g(i) : f(i), C.current = a);
3145
+ }, [a, i, g, f]), /* @__PURE__ */ s(
3146
+ ye,
3137
3147
  {
3138
3148
  name: i,
3139
- control: f,
3149
+ control: b,
3140
3150
  rules: {
3141
- required: a ? `${_(t)} ${_("errorMessages.required")}` : !1,
3151
+ required: a ? `${y(t)} ${y("errorMessages.required")}` : !1,
3142
3152
  validate: l || void 0
3143
3153
  },
3144
- render: ({ field: b, fieldState: w }) => {
3145
- var x;
3146
- return /* @__PURE__ */ p("div", { className: ee.selectInputContainer, children: [
3147
- /* @__PURE__ */ p("h3", { className: ee.labelContainer, children: [
3148
- _(t),
3154
+ render: ({ field: _, fieldState: v }) => {
3155
+ var w;
3156
+ return /* @__PURE__ */ p("div", { className: ae.selectInputContainer, children: [
3157
+ /* @__PURE__ */ p("h3", { className: ae.labelContainer, children: [
3158
+ y(t),
3149
3159
  " ",
3150
- a && /* @__PURE__ */ s("label", { style: { color: w.error ? u : "" }, children: "*" })
3160
+ a && /* @__PURE__ */ s("label", { style: { color: v.error ? u : "" }, children: "*" })
3151
3161
  ] }),
3152
- /* @__PURE__ */ p("div", { className: ee.inputContainer, style: { width: m }, children: [
3162
+ /* @__PURE__ */ p("div", { className: ae.inputContainer, style: { width: m }, children: [
3153
3163
  /* @__PURE__ */ p(
3154
3164
  "select",
3155
3165
  {
3156
- ...b,
3157
- onChange: (v) => {
3158
- const N = v.target.value, S = h.every((D) => typeof D.value == "number") ? Number(N) : N;
3159
- b.onChange(S);
3166
+ ..._,
3167
+ onChange: (x) => {
3168
+ const N = x.target.value, S = h.every(($) => typeof $.value == "number") ? Number(N) : N;
3169
+ _.onChange(S);
3160
3170
  },
3161
- className: ee.selectInput,
3171
+ className: ae.selectInput,
3162
3172
  children: [
3163
- /* @__PURE__ */ s("option", { value: "", disabled: !0, hidden: !0, children: _(c || "selectOption") }),
3164
- h.map((v, N) => /* @__PURE__ */ s(
3173
+ /* @__PURE__ */ s("option", { value: "", disabled: !0, hidden: !0, children: y(c || "selectOption") }),
3174
+ h.map((x, N) => /* @__PURE__ */ s(
3165
3175
  "option",
3166
3176
  {
3167
- value: v.value,
3168
- className: ee.option,
3169
- children: _(v.label)
3177
+ value: x.value,
3178
+ className: ae.option,
3179
+ children: y(x.label)
3170
3180
  },
3171
3181
  N
3172
3182
  ))
@@ -3176,16 +3186,16 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3176
3186
  /* @__PURE__ */ s(
3177
3187
  "img",
3178
3188
  {
3179
- src: y1,
3189
+ src: w1,
3180
3190
  alt: "Open",
3181
- className: ee.dropdownArrow
3191
+ className: ae.dropdownArrow
3182
3192
  }
3183
3193
  )
3184
3194
  ] }),
3185
3195
  /* @__PURE__ */ s(
3186
- fe,
3196
+ ve,
3187
3197
  {
3188
- errorMessage: (x = w.error) == null ? void 0 : x.message,
3198
+ errorMessage: (w = v.error) == null ? void 0 : w.message,
3189
3199
  errorColor: u
3190
3200
  }
3191
3201
  )
@@ -3193,14 +3203,14 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3193
3203
  }
3194
3204
  }
3195
3205
  );
3196
- }, v1 = "_radioButtonContainer_1e994_2", w1 = "_wholeInputContainer_1e994_5", x1 = "_questionContainer_1e994_27", N1 = "_radioQuestion_1e994_59", k1 = "_inputContainer_1e994_63", B1 = "_radioInput_1e994_93", U = {
3197
- radioButtonContainer: v1,
3198
- wholeInputContainer: w1,
3199
- questionContainer: x1,
3200
- radioQuestion: N1,
3201
- inputContainer: k1,
3202
- radioInput: B1
3203
- }, S1 = ({ input: n, reactHookFormInstance: d }) => {
3206
+ }, k1 = "_radioButtonContainer_1e994_2", B1 = "_wholeInputContainer_1e994_5", S1 = "_questionContainer_1e994_27", $1 = "_radioQuestion_1e994_59", D1 = "_inputContainer_1e994_63", M1 = "_radioInput_1e994_93", X = {
3207
+ radioButtonContainer: k1,
3208
+ wholeInputContainer: B1,
3209
+ questionContainer: S1,
3210
+ radioQuestion: $1,
3211
+ inputContainer: D1,
3212
+ radioInput: M1
3213
+ }, L1 = ({ input: n, reactHookFormInstance: d }) => {
3204
3214
  const {
3205
3215
  code: i,
3206
3216
  label: o,
@@ -3209,18 +3219,18 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3209
3219
  errorColor: a = "red",
3210
3220
  options: l = [],
3211
3221
  multi: c = !1
3212
- } = n, { t: u } = k(), { control: m, trigger: h, clearErrors: _ } = d, f = ({ options: C, onChange: b, actualValue: w }) => {
3213
- if (c && w && w.length > 0) {
3214
- let x = w.filter((v) => v !== C);
3215
- b(x);
3222
+ } = n, { t: u } = k(), { control: m, trigger: h, clearErrors: y } = d, b = ({ options: C, onChange: _, actualValue: v }) => {
3223
+ if (c && v && v.length > 0) {
3224
+ let w = v.filter((x) => x !== C);
3225
+ _(w);
3216
3226
  }
3217
- }, g = ({ options: C, onChange: b, actualValue: w }) => {
3218
- c ? w && w.length > 0 ? b([...w, C]) : b([C]) : b(C);
3219
- }, y = ne(t);
3220
- return $(() => {
3221
- y.current !== t && (t ? h(i) : _(i), y.current = t);
3222
- }, [t, i, h, _]), /* @__PURE__ */ s(
3223
- qe,
3227
+ }, g = ({ options: C, onChange: _, actualValue: v }) => {
3228
+ c ? v && v.length > 0 ? _([...v, C]) : _([C]) : _(C);
3229
+ }, f = te(t);
3230
+ return M(() => {
3231
+ f.current !== t && (t ? h(i) : y(i), f.current = t);
3232
+ }, [t, i, h, y]), /* @__PURE__ */ s(
3233
+ ye,
3224
3234
  {
3225
3235
  control: m,
3226
3236
  name: i,
@@ -3229,16 +3239,16 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3229
3239
  },
3230
3240
  render: ({
3231
3241
  formState: { errors: C },
3232
- field: { onChange: b, onBlur: w, value: x, ref: v },
3242
+ field: { onChange: _, onBlur: v, value: w, ref: x },
3233
3243
  fieldState: N
3234
3244
  }) => {
3235
3245
  var S;
3236
- return /* @__PURE__ */ s("div", { id: i + "id", className: U.radioButtonContainer, children: /* @__PURE__ */ p("div", { className: U.wholeInputContainer, children: [
3237
- o && /* @__PURE__ */ s("div", { className: U.questionContainer, children: /* @__PURE__ */ p(
3246
+ return /* @__PURE__ */ s("div", { id: i + "id", className: X.radioButtonContainer, children: /* @__PURE__ */ p("div", { className: X.wholeInputContainer, children: [
3247
+ o && /* @__PURE__ */ s("div", { className: X.questionContainer, children: /* @__PURE__ */ p(
3238
3248
  "h3",
3239
3249
  {
3240
3250
  htmlFor: i + "id",
3241
- className: `${U.radioQuestion} ${t && U.required}`,
3251
+ className: `${X.radioQuestion} ${t && X.required}`,
3242
3252
  children: [
3243
3253
  u(o),
3244
3254
  " ",
@@ -3252,42 +3262,42 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3252
3262
  ]
3253
3263
  }
3254
3264
  ) }),
3255
- /* @__PURE__ */ p("div", { className: U.inputContainer, children: [
3265
+ /* @__PURE__ */ p("div", { className: X.inputContainer, children: [
3256
3266
  l.map(
3257
3267
  ({
3258
- label: D,
3259
- value: z,
3260
- disabled: ce = !1,
3261
- italicLabel: de
3262
- }, R) => {
3263
- const q = x && c ? x.isArray && (x == null ? void 0 : x.length) > 0 && x.some((E) => E === z) : x === z;
3268
+ label: $,
3269
+ value: E,
3270
+ disabled: A = !1,
3271
+ italicLabel: H
3272
+ }, O) => {
3273
+ const j = w && c ? w.isArray && (w == null ? void 0 : w.length) > 0 && w.some((z) => z === E) : w === E;
3264
3274
  return /* @__PURE__ */ p("label", { children: [
3265
3275
  /* @__PURE__ */ s(
3266
3276
  "input",
3267
3277
  {
3268
3278
  type: "radio",
3269
- checked: q,
3279
+ checked: j,
3270
3280
  onChange: () => {
3271
- c ? q ? f({
3272
- actualValue: x,
3281
+ c ? j ? b({
3282
+ actualValue: w,
3273
3283
  options: l,
3274
- onChange: b
3284
+ onChange: _
3275
3285
  }) : g({
3276
- actualValue: x,
3286
+ actualValue: w,
3277
3287
  options: l,
3278
- onChange: b
3279
- }) : b(z);
3288
+ onChange: _
3289
+ }) : _(E);
3280
3290
  },
3281
- className: U.radioInput
3291
+ className: X.radioInput
3282
3292
  }
3283
3293
  ),
3284
3294
  /* @__PURE__ */ s("span", { className: "radio-custom" }),
3285
- u(D)
3286
- ] }, `inputRadio ${R}`);
3295
+ u($)
3296
+ ] }, `inputRadio ${O}`);
3287
3297
  }
3288
3298
  ),
3289
3299
  /* @__PURE__ */ s(
3290
- fe,
3300
+ ve,
3291
3301
  {
3292
3302
  errorMessage: (S = N.error) == null ? void 0 : S.message,
3293
3303
  errorColor: a
@@ -3298,12 +3308,111 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3298
3308
  }
3299
3309
  }
3300
3310
  );
3301
- }, Se = ({
3311
+ }, T1 = "_rankingSliderContainer_1yj0p_2", F1 = "_labelContainer_1yj0p_11", V1 = "_inputContainer_1yj0p_15", A1 = "_slider_1yj0p_19", I1 = "_thumb_1yj0p_25", O1 = "_trackLeft_1yj0p_35", R1 = "_trackRight_1yj0p_40", q1 = "_labels_1yj0p_44", E1 = "_labelsText_1yj0p_60", q = {
3312
+ rankingSliderContainer: T1,
3313
+ labelContainer: F1,
3314
+ inputContainer: V1,
3315
+ slider: A1,
3316
+ thumb: I1,
3317
+ trackLeft: O1,
3318
+ trackRight: R1,
3319
+ labels: q1,
3320
+ labelsText: E1
3321
+ }, P1 = ({ input: n, reactHookFormInstance: d }) => {
3322
+ const {
3323
+ code: i,
3324
+ type: o,
3325
+ label: t,
3326
+ minValue: r = 1,
3327
+ maxValue: a = 5,
3328
+ defValue: l = 3,
3329
+ thumbColor: c = "#B32F5D",
3330
+ trackColors: u = ["#B32F5D", "#EFEFEF"],
3331
+ // [ LEFT, RIGHT ],
3332
+ required: m,
3333
+ errorColor: h = "red",
3334
+ width: y = 265,
3335
+ minText: b,
3336
+ maxText: g
3337
+ } = n, { t: f } = k(), { control: C, trigger: _, clearErrors: v } = d, w = te(m);
3338
+ M(() => {
3339
+ w.current !== m && (m ? _(i) : v(i), w.current = m);
3340
+ }, [m, i, _, v]);
3341
+ const [x, N] = D(3), S = Array.from({ length: a - r + 1 }, ($, E) => r + E);
3342
+ return /* @__PURE__ */ s(
3343
+ ye,
3344
+ {
3345
+ name: i,
3346
+ control: C,
3347
+ rules: {
3348
+ // required: required
3349
+ // ? `${t(label)} ${t("errorMessages.required")}`
3350
+ // : false,
3351
+ // maxLength: maxLength || undefined,
3352
+ // validate: validateFunction || undefined,
3353
+ },
3354
+ render: ({ field: $, fieldState: E }) => /* @__PURE__ */ p("div", { className: q.rankingSliderContainer, children: [
3355
+ /* @__PURE__ */ p("p", { className: q.labelContainer, children: [
3356
+ f(t),
3357
+ " "
3358
+ ] }),
3359
+ /* @__PURE__ */ p("div", { className: q.inputContainer, style: { width: y }, children: [
3360
+ /* @__PURE__ */ s(
3361
+ at,
3362
+ {
3363
+ min: r,
3364
+ max: a,
3365
+ step: 1,
3366
+ value: x,
3367
+ defaultValue: l,
3368
+ onChange: N,
3369
+ marks: !0,
3370
+ className: q.slider,
3371
+ thumbClassName: q.thumb,
3372
+ renderThumb: (A, H) => /* @__PURE__ */ s(
3373
+ "div",
3374
+ {
3375
+ ...A,
3376
+ style: {
3377
+ ...A.style,
3378
+ backgroundColor: c
3379
+ }
3380
+ }
3381
+ ),
3382
+ renderTrack: (A, H) => {
3383
+ const O = `${A.className || ""} ${H.index === 0 ? q.trackLeft : q.trackRight}`;
3384
+ return /* @__PURE__ */ s(
3385
+ "div",
3386
+ {
3387
+ ...A,
3388
+ className: O,
3389
+ style: {
3390
+ ...A.style,
3391
+ backgroundColor: u[H.index] || "#000"
3392
+ // color según índice
3393
+ }
3394
+ }
3395
+ );
3396
+ },
3397
+ trackClassName: q.track,
3398
+ markClassName: q.mark
3399
+ }
3400
+ ),
3401
+ /* @__PURE__ */ s("div", { className: q.labels, children: S.map((A) => /* @__PURE__ */ s("span", { children: A }, A)) }),
3402
+ /* @__PURE__ */ p("div", { className: q.labels, children: [
3403
+ /* @__PURE__ */ s("span", { className: q.labelsText, children: f(b) }),
3404
+ /* @__PURE__ */ s("span", { className: q.labelsText, children: f(g) })
3405
+ ] })
3406
+ ] })
3407
+ ] })
3408
+ }
3409
+ );
3410
+ }, Le = ({
3302
3411
  inputs: n,
3303
3412
  inputContainerStyles: d,
3304
3413
  reactHookFormInstance: i
3305
3414
  }) => {
3306
- const { watch: o } = i, t = o(), r = ae(() => n.map((a) => {
3415
+ const { watch: o } = i, t = o(), r = me(() => n.map((a) => {
3307
3416
  const l = typeof a.required == "function" ? a.required(t) : a.required;
3308
3417
  return {
3309
3418
  ...a,
@@ -3313,14 +3422,14 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3313
3422
  return /* @__PURE__ */ s("div", { className: re.inputsContainer, children: r == null ? void 0 : r.map((a, l) => {
3314
3423
  const { inputType: c } = a;
3315
3424
  switch (c) {
3316
- case he.text:
3425
+ case ue.text:
3317
3426
  return /* @__PURE__ */ s(
3318
3427
  "div",
3319
3428
  {
3320
3429
  className: re.inputContainer,
3321
3430
  style: { ...d },
3322
3431
  children: /* @__PURE__ */ s(
3323
- Je,
3432
+ nt,
3324
3433
  {
3325
3434
  input: a,
3326
3435
  reactHookFormInstance: i
@@ -3329,14 +3438,14 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3329
3438
  },
3330
3439
  `${a.code}${l}`
3331
3440
  );
3332
- case he.password:
3441
+ case ue.password:
3333
3442
  return /* @__PURE__ */ s(
3334
3443
  "div",
3335
3444
  {
3336
3445
  className: re.inputContainer,
3337
3446
  style: { ...d },
3338
3447
  children: /* @__PURE__ */ s(
3339
- Je,
3448
+ nt,
3340
3449
  {
3341
3450
  input: a,
3342
3451
  reactHookFormInstance: i
@@ -3345,14 +3454,14 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3345
3454
  },
3346
3455
  `${a.code}${l}`
3347
3456
  );
3348
- case he.select:
3457
+ case ue.select:
3349
3458
  return /* @__PURE__ */ s(
3350
3459
  "div",
3351
3460
  {
3352
3461
  className: re.inputContainer,
3353
3462
  style: { ...d },
3354
3463
  children: /* @__PURE__ */ s(
3355
- _1,
3464
+ N1,
3356
3465
  {
3357
3466
  input: a,
3358
3467
  reactHookFormInstance: i
@@ -3361,14 +3470,30 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3361
3470
  },
3362
3471
  `${a.code}${l}`
3363
3472
  );
3364
- case he.radioList:
3473
+ case ue.radioList:
3365
3474
  return /* @__PURE__ */ s(
3366
3475
  "div",
3367
3476
  {
3368
3477
  className: re.inputContainer,
3369
3478
  style: { ...d },
3370
3479
  children: /* @__PURE__ */ s(
3371
- S1,
3480
+ L1,
3481
+ {
3482
+ input: a,
3483
+ reactHookFormInstance: i
3484
+ }
3485
+ )
3486
+ },
3487
+ `${a.code}${l}`
3488
+ );
3489
+ case ue.rankingSlider:
3490
+ return /* @__PURE__ */ s(
3491
+ "div",
3492
+ {
3493
+ className: re.inputContainer,
3494
+ style: { ...d },
3495
+ children: /* @__PURE__ */ s(
3496
+ P1,
3372
3497
  {
3373
3498
  input: a,
3374
3499
  reactHookFormInstance: i
@@ -3381,7 +3506,7 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3381
3506
  return /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s("h4", { children: "Default" }) }, `${a.code}${l}`);
3382
3507
  }
3383
3508
  }) });
3384
- }, ci = ({
3509
+ }, Pi = ({
3385
3510
  reactHookFormInstance: n,
3386
3511
  formObject: d,
3387
3512
  //Component with {title, children} as props.
@@ -3400,12 +3525,12 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3400
3525
  const {
3401
3526
  handleSubmit: m,
3402
3527
  control: h,
3403
- formState: { errors: _ }
3404
- } = n, { t: f } = k();
3528
+ formState: { errors: y }
3529
+ } = n, { t: b } = k();
3405
3530
  return (
3406
3531
  /* "handleSubmit" will validate your inputs before invoking "onSubmit" */
3407
- /* @__PURE__ */ p("form", { className: Be.formContainer, onSubmit: m(u), children: [
3408
- /* @__PURE__ */ s("div", { className: Be.formObjectContainer, children: d && d.map((g, y) => {
3532
+ /* @__PURE__ */ p("form", { className: Me.formContainer, onSubmit: m(u), children: [
3533
+ /* @__PURE__ */ s("div", { className: Me.formObjectContainer, children: d && d.map((g, f) => {
3409
3534
  const { inputs: C } = g;
3410
3535
  return g.category ? i ? /* @__PURE__ */ s(
3411
3536
  "div",
@@ -3419,7 +3544,7 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3419
3544
  {
3420
3545
  title: g.category,
3421
3546
  children: /* @__PURE__ */ s(
3422
- Se,
3547
+ Le,
3423
3548
  {
3424
3549
  inputs: C,
3425
3550
  control: h,
@@ -3429,7 +3554,7 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3429
3554
  }
3430
3555
  )
3431
3556
  },
3432
- `${g.category}${y}`
3557
+ `${g.category}${f}`
3433
3558
  )
3434
3559
  }
3435
3560
  ) : /* @__PURE__ */ p(
@@ -3441,9 +3566,9 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3441
3566
  flexDirection: "column"
3442
3567
  },
3443
3568
  children: [
3444
- /* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children: f(g.category) }),
3569
+ /* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children: b(g.category) }),
3445
3570
  /* @__PURE__ */ s("div", { style: { paddingTop: 50, width: "100%" }, children: /* @__PURE__ */ s(
3446
- Se,
3571
+ Le,
3447
3572
  {
3448
3573
  inputs: C,
3449
3574
  control: h,
@@ -3454,32 +3579,128 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3454
3579
  ) })
3455
3580
  ]
3456
3581
  },
3457
- `${g.category}${y}`
3582
+ `${g.category}${f}`
3458
3583
  ) : /* @__PURE__ */ s("div", { style: { width: "100%" }, children: /* @__PURE__ */ s(
3459
- Se,
3584
+ Le,
3460
3585
  {
3461
3586
  inputContainerStyles: o,
3462
3587
  inputs: C,
3463
3588
  control: h,
3464
3589
  errorColor: r,
3465
- watchedValues,
3466
3590
  reactHookFormInstance: n
3467
3591
  }
3468
- ) }, `inputKey${y}`);
3592
+ ) }, `inputKey${f}`);
3469
3593
  }) }),
3470
- /* @__PURE__ */ p("div", { className: Be.buttonContainer, children: [
3471
- /* @__PURE__ */ s(Ce, { containerStyles: l, type: "submit", children: f(a) }),
3472
- /* @__PURE__ */ s(fe, { errorMessage: t, errorColor: r })
3594
+ /* @__PURE__ */ p("div", { className: Me.buttonContainer, children: [
3595
+ /* @__PURE__ */ s(_e, { containerStyles: l, type: "submit", children: b(a) }),
3596
+ /* @__PURE__ */ s(ve, { errorMessage: t, errorColor: r })
3473
3597
  ] })
3474
3598
  ] })
3475
3599
  );
3476
- }, D1 = "_header_13kbt_2", M1 = "_leftComponents_13kbt_13", L1 = "_centerComponents_13kbt_14", $1 = "_rightComponents_13kbt_15", F1 = "_componentsContainer_13kbt_32", G = {
3477
- header: D1,
3478
- leftComponents: M1,
3479
- centerComponents: L1,
3480
- rightComponents: $1,
3481
- componentsContainer: F1
3482
- }, T1 = ({
3600
+ }, j1 = "_overlay_mnd4j_2", z1 = "_modal_mnd4j_15", Z1 = "_closeButton_mnd4j_29", K1 = "_icon_mnd4j_39", H1 = "_message_mnd4j_45", U1 = "_submessage_mnd4j_51", G1 = "_buttonsContainer_mnd4j_57", W1 = "_buttonWrapper_mnd4j_64", G = {
3601
+ overlay: j1,
3602
+ modal: z1,
3603
+ closeButton: Z1,
3604
+ icon: K1,
3605
+ message: H1,
3606
+ submessage: U1,
3607
+ buttonsContainer: G1,
3608
+ buttonWrapper: W1
3609
+ }, Y1 = ({
3610
+ onClose: n,
3611
+ icon: d,
3612
+ message: i,
3613
+ submessage: o,
3614
+ buttons: t,
3615
+ maxHeight: r = "450px",
3616
+ maxWidth: a = "450px"
3617
+ }) => /* @__PURE__ */ s("div", { className: G.overlay, children: /* @__PURE__ */ p(
3618
+ "div",
3619
+ {
3620
+ className: G.modal,
3621
+ style: { maxHeight: r, maxWidth: a },
3622
+ children: [
3623
+ /* @__PURE__ */ s("button", { className: G.closeButton, onClick: n, "aria-label": "Close modal", children: "✕" }),
3624
+ d && /* @__PURE__ */ s("img", { src: d, alt: "icon", className: G.icon }),
3625
+ /* @__PURE__ */ s("p", { className: G.message, children: i }),
3626
+ o && /* @__PURE__ */ s("p", { className: G.submessage, children: o }),
3627
+ t.length > 0 && /* @__PURE__ */ s("div", { className: G.buttonsContainer, children: t.map((l, c) => /* @__PURE__ */ s("div", { className: G.buttonWrapper, children: l }, c)) })
3628
+ ]
3629
+ }
3630
+ ) });
3631
+ Y1.propTypes = {
3632
+ /** Función que se ejecuta al clicar la "X" de cierre */
3633
+ onClose: e.func.isRequired,
3634
+ /** URL de la imagen opcional que aparece sobre el mensaje */
3635
+ icon: e.string,
3636
+ /** Texto principal del modal */
3637
+ message: e.string.isRequired,
3638
+ /** Texto opcional debajo del mensaje principal */
3639
+ submessage: e.string,
3640
+ /** Array de componentes de botones a renderizar en el modal */
3641
+ buttons: e.arrayOf(e.node),
3642
+ /** Altura máxima del modal (por defecto 400px) */
3643
+ maxHeight: e.string,
3644
+ /** Anchura máxima del modal (por defecto 400px) */
3645
+ maxWidth: e.string
3646
+ };
3647
+ const Q1 = "_stepsContainer_1cyua_3", X1 = "_stepWrapper_1cyua_9", J1 = "_circleContainer_1cyua_19", ei = "_circle_1cyua_19", ti = "_active_1cyua_39", ni = "_completed_1cyua_44", ii = "_label_1cyua_50", oi = "_labelActive_1cyua_56", si = "_connector_1cyua_61", K = {
3648
+ stepsContainer: Q1,
3649
+ stepWrapper: X1,
3650
+ circleContainer: J1,
3651
+ circle: ei,
3652
+ active: ti,
3653
+ completed: ni,
3654
+ label: ii,
3655
+ labelActive: oi,
3656
+ connector: si
3657
+ }, xt = ({ steps: n, activeColor: d }) => /* @__PURE__ */ s("div", { className: K.stepsContainer, children: n.map((i, o) => {
3658
+ const t = i.status === "active", r = i.status === "completed";
3659
+ return /* @__PURE__ */ p("div", { className: K.stepWrapper, children: [
3660
+ /* @__PURE__ */ p("div", { className: K.circleContainer, children: [
3661
+ /* @__PURE__ */ s(
3662
+ "div",
3663
+ {
3664
+ className: `${K.circle}
3665
+ ${t ? K.active : ""}
3666
+ ${r ? K.completed : ""}`,
3667
+ style: t ? { backgroundColor: d } : {},
3668
+ onClick: i.onClick,
3669
+ children: o + 1
3670
+ }
3671
+ ),
3672
+ o < n.length - 1 && /* @__PURE__ */ s("div", { className: K.connector })
3673
+ ] }),
3674
+ /* @__PURE__ */ s(
3675
+ "div",
3676
+ {
3677
+ className: `${K.label} ${t ? K.labelActive : ""}`,
3678
+ children: i.name
3679
+ }
3680
+ )
3681
+ ] }, o);
3682
+ }) });
3683
+ xt.propTypes = {
3684
+ steps: e.arrayOf(
3685
+ e.shape({
3686
+ name: e.string.isRequired,
3687
+ onClick: e.func,
3688
+ status: e.oneOf(["inactive", "active", "completed"]).isRequired
3689
+ })
3690
+ ).isRequired,
3691
+ activeColor: e.string
3692
+ };
3693
+ xt.defaultProps = {
3694
+ activeColor: "#C2185B"
3695
+ // color por defecto
3696
+ };
3697
+ const ri = "_header_13kbt_2", ai = "_leftComponents_13kbt_13", li = "_centerComponents_13kbt_14", ci = "_rightComponents_13kbt_15", di = "_componentsContainer_13kbt_32", J = {
3698
+ header: ri,
3699
+ leftComponents: ai,
3700
+ centerComponents: li,
3701
+ rightComponents: ci,
3702
+ componentsContainer: di
3703
+ }, ui = ({
3483
3704
  cssProps: n,
3484
3705
  leftComponents: d = [],
3485
3706
  centerComponents: i = [],
@@ -3492,7 +3713,7 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3492
3713
  }) => /* @__PURE__ */ p(
3493
3714
  "div",
3494
3715
  {
3495
- className: G.header,
3716
+ className: J.header,
3496
3717
  style: {
3497
3718
  ...n,
3498
3719
  zIndex: t,
@@ -3502,13 +3723,13 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
3502
3723
  bottom: l ? 0 : "auto"
3503
3724
  },
3504
3725
  children: [
3505
- /* @__PURE__ */ s("div", { className: G.leftComponents, children: d.map((c, u) => /* @__PURE__ */ s("div", { className: G.componentsContainer, children: c }, u)) }),
3506
- /* @__PURE__ */ s("div", { className: G.centerComponents, children: i.map((c, u) => /* @__PURE__ */ s("div", { className: G.componentsContainer, children: c }, u)) }),
3507
- /* @__PURE__ */ s("div", { className: G.rightComponents, children: o.map((c, u) => /* @__PURE__ */ s("div", { className: G.componentsContainer, children: c }, u)) })
3726
+ /* @__PURE__ */ s("div", { className: J.leftComponents, children: d.map((c, u) => /* @__PURE__ */ s("div", { className: J.componentsContainer, children: c }, u)) }),
3727
+ /* @__PURE__ */ s("div", { className: J.centerComponents, children: i.map((c, u) => /* @__PURE__ */ s("div", { className: J.componentsContainer, children: c }, u)) }),
3728
+ /* @__PURE__ */ s("div", { className: J.rightComponents, children: o.map((c, u) => /* @__PURE__ */ s("div", { className: J.componentsContainer, children: c }, u)) })
3508
3729
  ]
3509
3730
  }
3510
3731
  );
3511
- T1.propTypes = {
3732
+ ui.propTypes = {
3512
3733
  leftComponents: e.arrayOf(e.node),
3513
3734
  centerComponents: e.arrayOf(e.node),
3514
3735
  rightComponents: e.arrayOf(e.node),
@@ -3518,12 +3739,12 @@ T1.propTypes = {
3518
3739
  backgroundColor: e.string,
3519
3740
  isFooter: e.bool
3520
3741
  };
3521
- const V1 = "_sidebar_1fmjn_2", A1 = "_open_1fmjn_16", I1 = "_content_1fmjn_20", O1 = "_closeButton_1fmjn_26", ge = {
3522
- sidebar: V1,
3523
- open: A1,
3524
- content: I1,
3525
- closeButton: O1
3526
- }, R1 = "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", q1 = ({
3742
+ const pi = "_sidebar_1fmjn_2", mi = "_open_1fmjn_16", hi = "_content_1fmjn_20", gi = "_closeButton_1fmjn_26", be = {
3743
+ sidebar: pi,
3744
+ open: mi,
3745
+ content: hi,
3746
+ closeButton: gi
3747
+ }, Ci = "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", fi = ({
3527
3748
  width: n = "300px",
3528
3749
  children: d,
3529
3750
  showRightBar: i,
@@ -3535,45 +3756,49 @@ const V1 = "_sidebar_1fmjn_2", A1 = "_open_1fmjn_16", I1 = "_content_1fmjn_20",
3535
3756
  return /* @__PURE__ */ s(
3536
3757
  "div",
3537
3758
  {
3538
- className: `${ge.sidebar} ${i ? ge.open : ""}`,
3759
+ className: `${be.sidebar} ${i ? be.open : ""}`,
3539
3760
  style: { width: i ? n : 0 },
3540
- children: i && /* @__PURE__ */ p("div", { className: ge.content, children: [
3541
- /* @__PURE__ */ s("button", { className: ge.closeButton, onClick: t, children: /* @__PURE__ */ s("img", { src: R1, alt: "Close Sidebar" }) }),
3761
+ children: i && /* @__PURE__ */ p("div", { className: be.content, children: [
3762
+ /* @__PURE__ */ s("button", { className: be.closeButton, onClick: t, children: /* @__PURE__ */ s("img", { src: Ci, alt: "Close Sidebar" }) }),
3542
3763
  d
3543
3764
  ] })
3544
3765
  }
3545
3766
  );
3546
3767
  };
3547
- q1.propTypes = {
3768
+ fi.propTypes = {
3548
3769
  width: e.string,
3549
3770
  children: e.node,
3550
3771
  showRightBar: e.bool,
3551
3772
  onCloseBar: e.func
3552
3773
  };
3553
3774
  export {
3554
- l2 as AmbitSelector,
3555
- _2 as ButtonsList,
3556
- W as DropdownList,
3557
- ii as EditAmbit,
3558
- fe as ErrorMessage,
3559
- H2 as FiltersAmbit,
3560
- ci as Form,
3561
- Q2 as Graphic,
3562
- T1 as HeaderSection,
3563
- g0 as IndicatorsList,
3564
- v0 as LangSelector,
3565
- O0 as Legend,
3566
- En as ListSelector,
3567
- Cn as LogInButton,
3568
- q0 as LogoApp,
3569
- z0 as MapboxMap,
3570
- G0 as MaplibreMap,
3571
- S1 as RadioButtonInput,
3572
- q1 as RightSidebar,
3573
- oi as SectionBar,
3574
- _1 as SelectInput,
3575
- Je as TextInput,
3576
- cn as TimeSlider,
3577
- Y as Tooltip,
3578
- mn as TopNavMenu
3775
+ m2 as AmbitSelector,
3776
+ k2 as ButtonsList,
3777
+ ne as DropdownList,
3778
+ Ai as EditAmbit,
3779
+ ve as ErrorMessage,
3780
+ Y2 as FiltersAmbit,
3781
+ Pi as Form,
3782
+ _e as GeneralButton,
3783
+ t0 as Graphic,
3784
+ ui as HeaderSection,
3785
+ _0 as IndicatorsList,
3786
+ k0 as LangSelector,
3787
+ P0 as Legend,
3788
+ Zn as ListSelector,
3789
+ yn as LogInButton,
3790
+ z0 as LogoApp,
3791
+ H0 as MapboxMap,
3792
+ X0 as MaplibreMap,
3793
+ Y1 as ModalAlert,
3794
+ L1 as RadioButtonInput,
3795
+ P1 as RankingSlider,
3796
+ fi as RightSidebar,
3797
+ Ii as SectionBar,
3798
+ N1 as SelectInput,
3799
+ xt as Steps,
3800
+ nt as TextInput,
3801
+ mn as TimeSlider,
3802
+ ee as Tooltip,
3803
+ fn as TopNavMenu
3579
3804
  };