@tmf_ciclica/ciclicastorybook 1.1.109 → 1.1.110

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