@tmf_ciclica/ciclicastorybook 1.1.114 → 1.1.115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +5 -5
- package/dist/index.es.js +301 -300
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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)}})();
|
|
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_1gn40_2{display:grid;width:100%}._rankingSliderContainer_1gn40_2 ._labelContainer_1gn40_6{margin-bottom:25px;color:#605b56}._rankingSliderContainer_1gn40_2 ._inputContainer_1gn40_10{width:100%;position:relative}._rankingSliderContainer_1gn40_2 ._inputContainer_1gn40_10 ._slider_1gn40_14{height:6px;background:#efefef;border-radius:3px;position:relative}._rankingSliderContainer_1gn40_2 ._inputContainer_1gn40_10 ._thumb_1gn40_20{height:10px;width:10px;border-radius:50%;cursor:grab;top:-50%;transform:translateY(10%);outline:none}._rankingSliderContainer_1gn40_2 ._inputContainer_1gn40_10 ._trackLeft_1gn40_30,._rankingSliderContainer_1gn40_2 ._inputContainer_1gn40_10 ._trackRight_1gn40_35{height:6px;border-radius:9999px}._rankingSliderContainer_1gn40_2 ._inputContainer_1gn40_10 ._labels_1gn40_39{display:flex;justify-content:space-between;margin-top:8px;font-size:14px;color:#444}._rankingSliderContainer_1gn40_2 ._inputContainer_1gn40_10 ._labels_1gn40_39 span{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:10px}._rankingSliderContainer_1gn40_2 ._inputContainer_1gn40_10 ._labels_1gn40_39 ._labelsText_1gn40_55{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
2
|
import { jsxs as p, jsx as s, Fragment as Fe } from "react/jsx-runtime";
|
|
3
3
|
import * as le from "react";
|
|
4
|
-
import $, { useState as
|
|
4
|
+
import $, { useState as T, useEffect as M, useMemo as he, useLayoutEffect as kt, useRef as te } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
|
-
import { useTranslation as
|
|
6
|
+
import { useTranslation as k, Trans as qe } from "react-i18next";
|
|
7
7
|
import { motion as Ee } from "framer-motion";
|
|
8
8
|
import { create as Bt } from "zustand";
|
|
9
9
|
import * as Ze from "d3";
|
|
@@ -27,7 +27,7 @@ const Ut = "_ambitSelector_mcunf_2", Gt = "_header_mcunf_13", Wt = "_nameDateCon
|
|
|
27
27
|
buttonsContainer: Xt,
|
|
28
28
|
ambitListContainer: Jt,
|
|
29
29
|
newAmbitButtonContainer: e2
|
|
30
|
-
}, t2 = "_ambitItem_1qa6u_2", n2 = "_ambitNameDate_1qa6u_16", i2 = "_ambitName_1qa6u_16", o2 = "_ambitDate_1qa6u_35", s2 = "_ambitButtons_1qa6u_38",
|
|
30
|
+
}, t2 = "_ambitItem_1qa6u_2", n2 = "_ambitNameDate_1qa6u_16", i2 = "_ambitName_1qa6u_16", o2 = "_ambitDate_1qa6u_35", s2 = "_ambitButtons_1qa6u_38", de = {
|
|
31
31
|
ambitItem: t2,
|
|
32
32
|
ambitNameDate: n2,
|
|
33
33
|
ambitName: i2,
|
|
@@ -48,11 +48,11 @@ const Ut = "_ambitSelector_mcunf_2", Gt = "_header_mcunf_13", Wt = "_nameDateCon
|
|
|
48
48
|
return /* @__PURE__ */ p(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
51
|
-
className:
|
|
51
|
+
className: de.ambitItem,
|
|
52
52
|
style: { borderBottom: `1px solid ${l}` },
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */ p("div", { className:
|
|
55
|
-
/* @__PURE__ */ p("div", { className:
|
|
54
|
+
/* @__PURE__ */ p("div", { className: de.ambitNameDate, onClick: () => t(g), children: [
|
|
55
|
+
/* @__PURE__ */ p("div", { className: de.ambitName, children: [
|
|
56
56
|
/* @__PURE__ */ s(
|
|
57
57
|
"img",
|
|
58
58
|
{
|
|
@@ -62,9 +62,9 @@ const Ut = "_ambitSelector_mcunf_2", Gt = "_header_mcunf_13", Wt = "_nameDateCon
|
|
|
62
62
|
),
|
|
63
63
|
/* @__PURE__ */ s("span", { style: { color: r ? a : l }, children: u })
|
|
64
64
|
] }),
|
|
65
|
-
/* @__PURE__ */ s("div", { className:
|
|
65
|
+
/* @__PURE__ */ s("div", { className: de.ambitDate, children: h ? new Date(h).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
67
|
-
/* @__PURE__ */ p("div", { className:
|
|
67
|
+
/* @__PURE__ */ p("div", { className: de.ambitButtons, children: [
|
|
68
68
|
_ && /* @__PURE__ */ s("img", { src: c2 }),
|
|
69
69
|
/* @__PURE__ */ s("button", { onClick: () => o(g), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: l2 }) }),
|
|
70
70
|
/* @__PURE__ */ s("button", { onClick: () => d(g), children: /* @__PURE__ */ s("img", { src: a2 }) }),
|
|
@@ -94,7 +94,7 @@ ot.propTypes = {
|
|
|
94
94
|
};
|
|
95
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
96
|
generalButton: p2
|
|
97
|
-
},
|
|
97
|
+
}, ve = ({
|
|
98
98
|
children: n,
|
|
99
99
|
onClick: d,
|
|
100
100
|
fontColor: i = "#605B56",
|
|
@@ -132,8 +132,8 @@ const Ke = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
132
132
|
onClickFilters: _ = (m) => console.log(`Filters clicked: ${m}`),
|
|
133
133
|
onClickAmbit: v = (m) => console.log(`OnCLickAmbit: ${m}`)
|
|
134
134
|
}) => {
|
|
135
|
-
const { t: m } =
|
|
136
|
-
|
|
135
|
+
const { t: m } = k(), [f, C] = T(n);
|
|
136
|
+
M(() => {
|
|
137
137
|
n && C(n);
|
|
138
138
|
}, [n]);
|
|
139
139
|
const b = (y) => {
|
|
@@ -183,7 +183,7 @@ const Ke = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
183
183
|
`ambitKey${y.id}`
|
|
184
184
|
)) }),
|
|
185
185
|
/* @__PURE__ */ s("div", { className: U.newAmbitButtonContainer, children: /* @__PURE__ */ s(
|
|
186
|
-
|
|
186
|
+
ve,
|
|
187
187
|
{
|
|
188
188
|
style: { ...l },
|
|
189
189
|
onClick: u,
|
|
@@ -230,7 +230,7 @@ const g2 = "_buttonsContainer_1audx_2", C2 = "_vertical_1audx_6", f2 = "_horizon
|
|
|
230
230
|
bottom: w2,
|
|
231
231
|
right: N2
|
|
232
232
|
}, ee = ({ text: n, position: d, styleCustom: i = null }) => {
|
|
233
|
-
const { t: o } =
|
|
233
|
+
const { t: o } = k();
|
|
234
234
|
return /* @__PURE__ */ s("div", { className: `tooltip ${k2[d]}`, style: i, children: o(n) });
|
|
235
235
|
};
|
|
236
236
|
ee.propTypes = {
|
|
@@ -246,7 +246,7 @@ const B2 = ({
|
|
|
246
246
|
useTooltip: t = !1,
|
|
247
247
|
tooltipPosition: r = "top"
|
|
248
248
|
}) => {
|
|
249
|
-
const { t: a } =
|
|
249
|
+
const { t: a } = k();
|
|
250
250
|
return /* @__PURE__ */ s(
|
|
251
251
|
"div",
|
|
252
252
|
{
|
|
@@ -314,7 +314,7 @@ const S2 = "_indicatorsCategory_1cu33_2", $2 = "_title_1cu33_5", Ne = {
|
|
|
314
314
|
showBottomBar: c = !0,
|
|
315
315
|
titleMarginChildren: u = 25
|
|
316
316
|
}) => {
|
|
317
|
-
const { t: h } =
|
|
317
|
+
const { t: h } = k();
|
|
318
318
|
return /* @__PURE__ */ p(
|
|
319
319
|
Ee.div,
|
|
320
320
|
{
|
|
@@ -362,7 +362,7 @@ ne.propTypes = {
|
|
|
362
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
363
|
AppliedFiltersContainer: M2,
|
|
364
364
|
AppliedFilterContent: L2
|
|
365
|
-
},
|
|
365
|
+
}, A = Bt((n) => ({
|
|
366
366
|
activeCategory: "",
|
|
367
367
|
activeSubCategory: "",
|
|
368
368
|
selectedIndicator: "",
|
|
@@ -370,8 +370,8 @@ const Ii = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), D2 = "data
|
|
|
370
370
|
fontColor: "#605B56",
|
|
371
371
|
inputsColor: "#605B56"
|
|
372
372
|
})), st = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
373
|
-
const { t: a } =
|
|
374
|
-
|
|
373
|
+
const { t: a } = k(), { tematicalFiltersSelected: l } = A((u) => u), c = (u) => {
|
|
374
|
+
A.setState((h) => ({
|
|
375
375
|
tematicalFiltersSelected: h.tematicalFiltersSelected.filter(
|
|
376
376
|
(g) => g.code !== u
|
|
377
377
|
)
|
|
@@ -406,7 +406,7 @@ st.propTypes = {
|
|
|
406
406
|
activeColor: e.string
|
|
407
407
|
};
|
|
408
408
|
const rt = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
409
|
-
const { t: a } =
|
|
409
|
+
const { t: a } = k(), { tematicalFiltersSelected: l } = A((c) => c);
|
|
410
410
|
return /* @__PURE__ */ s(
|
|
411
411
|
ne,
|
|
412
412
|
{
|
|
@@ -435,7 +435,7 @@ const T2 = "_checkboxContainer_zld97_2", F2 = {
|
|
|
435
435
|
indicator: o,
|
|
436
436
|
value: t
|
|
437
437
|
}) => {
|
|
438
|
-
const { t: r } =
|
|
438
|
+
const { t: r } = k(), { title: a } = o || {}, { fontColor: l, inputsColor: c } = A((u) => u);
|
|
439
439
|
return /* @__PURE__ */ p(
|
|
440
440
|
"div",
|
|
441
441
|
{
|
|
@@ -487,10 +487,10 @@ function ke(n) {
|
|
|
487
487
|
function Be(n) {
|
|
488
488
|
return n == null ? [] : Array.isArray(n) ? n.slice() : [n];
|
|
489
489
|
}
|
|
490
|
-
function
|
|
490
|
+
function fe(n) {
|
|
491
491
|
return n !== null && n.length === 1 ? n[0] : n.slice();
|
|
492
492
|
}
|
|
493
|
-
function
|
|
493
|
+
function be(n) {
|
|
494
494
|
Object.keys(n).forEach((d) => {
|
|
495
495
|
typeof document < "u" && document.addEventListener(d, n[d], !1);
|
|
496
496
|
});
|
|
@@ -563,7 +563,7 @@ let Ie = function(n) {
|
|
|
563
563
|
if (t.setState({ pending: !0 }), !t.props.snapDragDisabled) {
|
|
564
564
|
const c = t.getMousePosition(l);
|
|
565
565
|
t.forceValueFromPosition(c[0], (u) => {
|
|
566
|
-
t.start(u, c[0]),
|
|
566
|
+
t.start(u, c[0]), be(t.getMouseEventMap());
|
|
567
567
|
});
|
|
568
568
|
}
|
|
569
569
|
ke(l);
|
|
@@ -574,17 +574,17 @@ let Ie = function(n) {
|
|
|
574
574
|
t.props.onSliderClick(u);
|
|
575
575
|
}
|
|
576
576
|
}, t.createOnKeyDown = (l) => (c) => {
|
|
577
|
-
t.props.disabled || (t.start(l),
|
|
577
|
+
t.props.disabled || (t.start(l), be(t.getKeyDownEventMap()), ke(c));
|
|
578
578
|
}, t.createOnMouseDown = (l) => (c) => {
|
|
579
579
|
if (t.props.disabled || c.button === 2) return;
|
|
580
580
|
t.setState({ pending: !0 });
|
|
581
581
|
const u = t.getMousePosition(c);
|
|
582
|
-
t.start(l, u[0]),
|
|
582
|
+
t.start(l, u[0]), be(t.getMouseEventMap()), ke(c);
|
|
583
583
|
}, t.createOnTouchStart = (l) => (c) => {
|
|
584
584
|
if (t.props.disabled || c.touches.length > 1) return;
|
|
585
585
|
t.setState({ pending: !0 });
|
|
586
586
|
const u = t.getTouchPosition(c);
|
|
587
|
-
t.startPosition = u, t.isScrolling = void 0, t.start(l, u[0]),
|
|
587
|
+
t.startPosition = u, t.isScrolling = void 0, t.start(l, u[0]), be(t.getTouchEventMap()), function(h) {
|
|
588
588
|
h.stopPropagation && h.stopPropagation();
|
|
589
589
|
}(c);
|
|
590
590
|
}, t.handleResize = () => {
|
|
@@ -595,10 +595,10 @@ let Ie = function(n) {
|
|
|
595
595
|
}, t.renderThumb = (l, c) => {
|
|
596
596
|
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), h = { ref: (_) => {
|
|
597
597
|
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:
|
|
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: fe(t.state.value), valueNow: t.state.value[c] };
|
|
599
599
|
return t.props.ariaValuetext && (h["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(g)), t.props.renderThumb(h, g);
|
|
600
600
|
}, t.renderTrack = (l, c, u) => {
|
|
601
|
-
const h = { 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:
|
|
601
|
+
const h = { 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: fe(t.state.value) };
|
|
602
602
|
return t.props.renderTrack(h, g);
|
|
603
603
|
};
|
|
604
604
|
let r = Be(o.value);
|
|
@@ -625,7 +625,7 @@ let Ie = function(n) {
|
|
|
625
625
|
});
|
|
626
626
|
}(o), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
|
|
627
627
|
}, i.getValue = function() {
|
|
628
|
-
return
|
|
628
|
+
return fe(this.state.value);
|
|
629
629
|
}, i.getClosestIndex = function(o) {
|
|
630
630
|
let t = Number.MAX_VALUE, r = -1;
|
|
631
631
|
const { value: a } = this.state, l = a.length;
|
|
@@ -732,7 +732,7 @@ let Ie = function(n) {
|
|
|
732
732
|
}, i.sizeKey = function() {
|
|
733
733
|
return this.props.orientation === "vertical" ? "clientHeight" : "clientWidth";
|
|
734
734
|
}, i.fireChangeEvent = function(o) {
|
|
735
|
-
this.props[o] && this.props[o](
|
|
735
|
+
this.props[o] && this.props[o](fe(this.state.value), this.state.index);
|
|
736
736
|
}, i.buildThumbStyle = function(o, t) {
|
|
737
737
|
const r = { position: "absolute", touchAction: "none", willChange: this.state.index >= 0 ? this.posMinKey() : void 0, zIndex: this.state.zIndices.indexOf(t) + 1 };
|
|
738
738
|
return r[this.posMinKey()] = o + "px", r;
|
|
@@ -788,10 +788,10 @@ const A2 = "_container_15vgv_2", I2 = "_unitLabel_15vgv_9", O2 = "_slider_15vgv_
|
|
|
788
788
|
fontColor: a = "#605B56",
|
|
789
789
|
defaultValue: l
|
|
790
790
|
}) => {
|
|
791
|
-
const { t: c } =
|
|
791
|
+
const { t: c } = k(), [u, h] = T([n, d]), g = (_) => {
|
|
792
792
|
h(_), o == null || o({ min: _[0], max: _[1] });
|
|
793
793
|
};
|
|
794
|
-
return
|
|
794
|
+
return M(() => {
|
|
795
795
|
l || h([n, d]);
|
|
796
796
|
}, [l]), /* @__PURE__ */ p(
|
|
797
797
|
"div",
|
|
@@ -836,7 +836,7 @@ ct.propTypes = {
|
|
|
836
836
|
fontColor: e.string,
|
|
837
837
|
value: e.arrayOf(e.number)
|
|
838
838
|
};
|
|
839
|
-
const P2 = "_tematicalFiltersInputContainer_1vm1r_2", j2 = "_inputTypeContainer_1vm1r_2", z2 = "_checkboxContainer_1vm1r_28", Z2 = "_absoluteSliderContainer_1vm1r_37",
|
|
839
|
+
const P2 = "_tematicalFiltersInputContainer_1vm1r_2", j2 = "_inputTypeContainer_1vm1r_2", z2 = "_checkboxContainer_1vm1r_28", Z2 = "_absoluteSliderContainer_1vm1r_37", _e = {
|
|
840
840
|
tematicalFiltersInputContainer: P2,
|
|
841
841
|
inputTypeContainer: j2,
|
|
842
842
|
checkboxContainer: z2,
|
|
@@ -846,7 +846,7 @@ const P2 = "_tematicalFiltersInputContainer_1vm1r_2", j2 = "_inputTypeContainer_
|
|
|
846
846
|
//onChangeBothType
|
|
847
847
|
activeColor: d
|
|
848
848
|
}) => {
|
|
849
|
-
const [i, o] =
|
|
849
|
+
const [i, o] = T(), {
|
|
850
850
|
type: t,
|
|
851
851
|
name: r,
|
|
852
852
|
values: a,
|
|
@@ -855,10 +855,10 @@ const P2 = "_tematicalFiltersInputContainer_1vm1r_2", j2 = "_inputTypeContainer_
|
|
|
855
855
|
unit: u,
|
|
856
856
|
step: h,
|
|
857
857
|
disabled: g
|
|
858
|
-
} = n || {}, _ =
|
|
858
|
+
} = n || {}, _ = he(
|
|
859
859
|
() => t == "cat" || i == "cat",
|
|
860
860
|
[i, t]
|
|
861
|
-
), v =
|
|
861
|
+
), v = he(
|
|
862
862
|
() => t == "abs" || i == "abs",
|
|
863
863
|
[i, t]
|
|
864
864
|
), {
|
|
@@ -866,76 +866,76 @@ const P2 = "_tematicalFiltersInputContainer_1vm1r_2", j2 = "_inputTypeContainer_
|
|
|
866
866
|
selectedIndicator: f,
|
|
867
867
|
fontColor: C,
|
|
868
868
|
inputsColor: b
|
|
869
|
-
} =
|
|
869
|
+
} = A((x) => x), y = (x) => {
|
|
870
870
|
if (console.log("onChangInput", x), x) {
|
|
871
|
-
const { min: w, max:
|
|
872
|
-
console.log("type: ",
|
|
873
|
-
let
|
|
874
|
-
|
|
875
|
-
let H =
|
|
876
|
-
(
|
|
871
|
+
const { min: w, max: B, valueClicked: S, allValues: D } = x || {}, { code: P, type: ce } = n || {}, j = v ? "abs" : _ ? "cat" : ce == "glb" ? "glb" : "both";
|
|
872
|
+
console.log("type: ", j);
|
|
873
|
+
let q = P[0];
|
|
874
|
+
ce == "both" && (q = j == "cat" ? P[1] : P[0]), j == "cat" ? A.setState((z) => {
|
|
875
|
+
let H = z.tematicalFiltersSelected.find(
|
|
876
|
+
(V) => V.code === q
|
|
877
877
|
);
|
|
878
878
|
if (H) {
|
|
879
|
-
let
|
|
880
|
-
return H.values.includes(
|
|
881
|
-
(
|
|
882
|
-
) :
|
|
883
|
-
tematicalFiltersSelected:
|
|
884
|
-
(
|
|
879
|
+
let V = [H.values];
|
|
880
|
+
return H.values.includes(S) ? V = H.values.filter(
|
|
881
|
+
(O) => O !== S
|
|
882
|
+
) : V = [...H.values, S], V.length == D.length ? {
|
|
883
|
+
tematicalFiltersSelected: z.tematicalFiltersSelected.filter(
|
|
884
|
+
(O) => O.code !== q
|
|
885
885
|
)
|
|
886
886
|
} : {
|
|
887
|
-
tematicalFiltersSelected:
|
|
888
|
-
(
|
|
887
|
+
tematicalFiltersSelected: z.tematicalFiltersSelected.map(
|
|
888
|
+
(O) => O.code === q ? { ...O, values: V } : O
|
|
889
889
|
)
|
|
890
890
|
};
|
|
891
891
|
} else {
|
|
892
|
-
let
|
|
892
|
+
let V = D.map((O, Nt) => Nt);
|
|
893
893
|
return {
|
|
894
894
|
tematicalFiltersSelected: [
|
|
895
895
|
...m,
|
|
896
896
|
{
|
|
897
897
|
type: "cat",
|
|
898
|
-
code:
|
|
899
|
-
values:
|
|
898
|
+
code: q,
|
|
899
|
+
values: V.filter((O) => O !== S),
|
|
900
900
|
name: n.name
|
|
901
901
|
}
|
|
902
902
|
]
|
|
903
903
|
};
|
|
904
904
|
}
|
|
905
|
-
}) : (
|
|
906
|
-
let H =
|
|
907
|
-
(
|
|
905
|
+
}) : (j == "abs" || j == "glb") && A.setState((z) => {
|
|
906
|
+
let H = z.tematicalFiltersSelected.find(
|
|
907
|
+
(V) => V.code === q
|
|
908
908
|
);
|
|
909
|
-
if (w == n.minValue &&
|
|
909
|
+
if (w == n.minValue && B == n.maxValue)
|
|
910
910
|
return {
|
|
911
|
-
tematicalFiltersSelected:
|
|
912
|
-
(
|
|
911
|
+
tematicalFiltersSelected: z.tematicalFiltersSelected.filter(
|
|
912
|
+
(V) => V.code !== q
|
|
913
913
|
)
|
|
914
914
|
};
|
|
915
915
|
if (H) {
|
|
916
|
-
let
|
|
917
|
-
return
|
|
918
|
-
tematicalFiltersSelected:
|
|
919
|
-
(
|
|
916
|
+
let V = { ...H };
|
|
917
|
+
return V.min = w, V.max = B, V.type = j, {
|
|
918
|
+
tematicalFiltersSelected: z.tematicalFiltersSelected.map(
|
|
919
|
+
(O) => O.code === q ? V : O
|
|
920
920
|
)
|
|
921
921
|
};
|
|
922
922
|
} else
|
|
923
923
|
return {
|
|
924
924
|
tematicalFiltersSelected: [
|
|
925
925
|
...m,
|
|
926
|
-
{ type:
|
|
926
|
+
{ type: j, code: q, min: w, max: B, name: n.name }
|
|
927
927
|
]
|
|
928
928
|
};
|
|
929
929
|
});
|
|
930
930
|
}
|
|
931
|
-
}, N =
|
|
931
|
+
}, N = he(() => {
|
|
932
932
|
const x = {};
|
|
933
933
|
if ((m == null ? void 0 : m.length) > 0)
|
|
934
934
|
for (const w of m)
|
|
935
935
|
w.type === "cat" ? x[w.code] = new Set(w.values) : x[w.code] = [w.min, w.max];
|
|
936
936
|
return x;
|
|
937
937
|
}, [m]);
|
|
938
|
-
return /* @__PURE__ */ s("div", { className:
|
|
938
|
+
return /* @__PURE__ */ s("div", { className: _e.tematicalFiltersInputContainer, children: /* @__PURE__ */ p(
|
|
939
939
|
ne,
|
|
940
940
|
{
|
|
941
941
|
titleFontStyles: {
|
|
@@ -946,7 +946,7 @@ const P2 = "_tematicalFiltersInputContainer_1vm1r_2", j2 = "_inputTypeContainer_
|
|
|
946
946
|
title: r,
|
|
947
947
|
isOpen: f == `id${r}`,
|
|
948
948
|
onClick: () => {
|
|
949
|
-
g ||
|
|
949
|
+
g || A.setState(() => ({
|
|
950
950
|
selectedIndicator: f == `id${r}` ? "" : `id${r}`
|
|
951
951
|
}));
|
|
952
952
|
},
|
|
@@ -960,7 +960,7 @@ const P2 = "_tematicalFiltersInputContainer_1vm1r_2", j2 = "_inputTypeContainer_
|
|
|
960
960
|
t == "both" && /* @__PURE__ */ p(
|
|
961
961
|
"div",
|
|
962
962
|
{
|
|
963
|
-
className:
|
|
963
|
+
className: _e.inputTypeContainer,
|
|
964
964
|
style: { color: C },
|
|
965
965
|
children: [
|
|
966
966
|
/* @__PURE__ */ p("label", { children: [
|
|
@@ -1004,19 +1004,19 @@ const P2 = "_tematicalFiltersInputContainer_1vm1r_2", j2 = "_inputTypeContainer_
|
|
|
1004
1004
|
]
|
|
1005
1005
|
}
|
|
1006
1006
|
),
|
|
1007
|
-
_ && /* @__PURE__ */ s("div", { className:
|
|
1008
|
-
var
|
|
1007
|
+
_ && /* @__PURE__ */ s("div", { className: _e.checkboxContainer, children: a.map((x, w) => {
|
|
1008
|
+
var B;
|
|
1009
1009
|
return /* @__PURE__ */ s(
|
|
1010
1010
|
at,
|
|
1011
1011
|
{
|
|
1012
1012
|
onClick: () => y({ valueClicked: w, allValues: a }),
|
|
1013
1013
|
indicator: x,
|
|
1014
|
-
value: ((
|
|
1014
|
+
value: ((B = N[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : B.has(w)) || !N[n.code[t == "both" ? 1 : 0]]
|
|
1015
1015
|
},
|
|
1016
1016
|
`checkbox-${w}`
|
|
1017
1017
|
);
|
|
1018
1018
|
}) }),
|
|
1019
|
-
(v || t == "glb") && /* @__PURE__ */ s("div", { className:
|
|
1019
|
+
(v || t == "glb") && /* @__PURE__ */ s("div", { className: _e.absoluteSliderContainer, children: /* @__PURE__ */ s(
|
|
1020
1020
|
ct,
|
|
1021
1021
|
{
|
|
1022
1022
|
onChange: y,
|
|
@@ -1052,14 +1052,14 @@ const dt = ({
|
|
|
1052
1052
|
activeColor: i
|
|
1053
1053
|
//onChangeBothType,
|
|
1054
1054
|
}) => {
|
|
1055
|
-
const { activeSubcategory: o } =
|
|
1055
|
+
const { activeSubcategory: o } = A((a) => a), { name: t, indicators: r } = n || {};
|
|
1056
1056
|
return /* @__PURE__ */ s(
|
|
1057
1057
|
ne,
|
|
1058
1058
|
{
|
|
1059
1059
|
title: t,
|
|
1060
1060
|
isOpen: o == `id${t}`,
|
|
1061
1061
|
onClick: () => {
|
|
1062
|
-
|
|
1062
|
+
A.setState((a) => ({
|
|
1063
1063
|
activeSubcategory: a.activeSubcategory === `id${t}` ? "" : `id${t}`
|
|
1064
1064
|
}));
|
|
1065
1065
|
},
|
|
@@ -1099,12 +1099,12 @@ const ut = ({
|
|
|
1099
1099
|
// onChangeBothType,
|
|
1100
1100
|
activeColor: d
|
|
1101
1101
|
}) => {
|
|
1102
|
-
const { name: i, subcategories: o, indicators: t } = n || {}, { activeCategory: r, fontColor: a } =
|
|
1102
|
+
const { name: i, subcategories: o, indicators: t } = n || {}, { activeCategory: r, fontColor: a } = A((l) => l);
|
|
1103
1103
|
return n && /* @__PURE__ */ s(
|
|
1104
1104
|
ne,
|
|
1105
1105
|
{
|
|
1106
1106
|
onClick: () => {
|
|
1107
|
-
|
|
1107
|
+
A.setState((l) => ({
|
|
1108
1108
|
activeCategory: r === `id${i}` ? "" : `id${i}`
|
|
1109
1109
|
}));
|
|
1110
1110
|
},
|
|
@@ -1152,11 +1152,11 @@ const pt = ({
|
|
|
1152
1152
|
inputsColor: t = "#605B56",
|
|
1153
1153
|
activeColor: r
|
|
1154
1154
|
}) => {
|
|
1155
|
-
const { tematicalFiltersSelected: a } =
|
|
1156
|
-
return
|
|
1157
|
-
o &&
|
|
1158
|
-
}, [o]),
|
|
1159
|
-
t &&
|
|
1155
|
+
const { tematicalFiltersSelected: a } = A((c) => c), { t: l } = k();
|
|
1156
|
+
return M(() => {
|
|
1157
|
+
o && A.setState(() => ({ fontColor: o }));
|
|
1158
|
+
}, [o]), M(() => {
|
|
1159
|
+
t && A.setState(() => ({ inputsColor: t }));
|
|
1160
1160
|
}, [t]), /* @__PURE__ */ s(
|
|
1161
1161
|
ne,
|
|
1162
1162
|
{
|
|
@@ -1209,15 +1209,15 @@ const K2 = "_FiltersAmbitContainer_1g9xx_2", H2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1209
1209
|
onlyFilters: v = !1
|
|
1210
1210
|
//usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
|
|
1211
1211
|
}) => {
|
|
1212
|
-
const { t: m } =
|
|
1213
|
-
|
|
1214
|
-
i && i.length > 0 &&
|
|
1212
|
+
const { t: m } = k(), { tematicalFiltersSelected: f } = A((S) => S), [C, b] = T(n || null), [y, N] = T(d || null), [x, w] = T(!1);
|
|
1213
|
+
M(() => {
|
|
1214
|
+
i && i.length > 0 && A.setState((S) => ({
|
|
1215
1215
|
tematicalFiltersSelected: i
|
|
1216
1216
|
}));
|
|
1217
|
-
}, [i]),
|
|
1217
|
+
}, [i]), M(() => {
|
|
1218
1218
|
console.log("filtersSelected changed: ", f), l(f);
|
|
1219
1219
|
}, [f]);
|
|
1220
|
-
const
|
|
1220
|
+
const B = () => {
|
|
1221
1221
|
C ? c({ name: C, description: y }) : w(!0);
|
|
1222
1222
|
};
|
|
1223
1223
|
return /* @__PURE__ */ p("div", { className: oe.FiltersAmbitContainer, children: [
|
|
@@ -1226,8 +1226,8 @@ const K2 = "_FiltersAmbitContainer_1g9xx_2", H2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1226
1226
|
"input",
|
|
1227
1227
|
{
|
|
1228
1228
|
type: "text",
|
|
1229
|
-
onChange: (
|
|
1230
|
-
w(!1), b(
|
|
1229
|
+
onChange: (S) => {
|
|
1230
|
+
w(!1), b(S.target.value);
|
|
1231
1231
|
},
|
|
1232
1232
|
value: C,
|
|
1233
1233
|
placeholder: m(u)
|
|
@@ -1237,7 +1237,7 @@ const K2 = "_FiltersAmbitContainer_1g9xx_2", H2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1237
1237
|
"textarea",
|
|
1238
1238
|
{
|
|
1239
1239
|
value: y,
|
|
1240
|
-
onChange: (
|
|
1240
|
+
onChange: (S) => N(S.target.value),
|
|
1241
1241
|
placeholder: m(h)
|
|
1242
1242
|
}
|
|
1243
1243
|
) }) })
|
|
@@ -1264,7 +1264,7 @@ const K2 = "_FiltersAmbitContainer_1g9xx_2", H2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1264
1264
|
}
|
|
1265
1265
|
),
|
|
1266
1266
|
x && /* @__PURE__ */ s("div", { className: oe.warning, children: m(_) }),
|
|
1267
|
-
!v && /* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(
|
|
1267
|
+
!v && /* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(ve, { onClick: () => B(), children: m("save_ambit") }) })
|
|
1268
1268
|
] });
|
|
1269
1269
|
};
|
|
1270
1270
|
Q2.propTypes = {
|
|
@@ -1296,7 +1296,7 @@ const X2 = "_barChartContainer_d2f1z_2", J2 = {
|
|
|
1296
1296
|
numberOfDivisions: c = 7,
|
|
1297
1297
|
maxValue: u = null
|
|
1298
1298
|
}) => {
|
|
1299
|
-
const { t: h } =
|
|
1299
|
+
const { t: h } = k(), { xScale: g, ticks: _, height: v } = he(() => {
|
|
1300
1300
|
if (n && n.length > 0) {
|
|
1301
1301
|
const m = (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, N) => u ? u / c * N : f / c * N);
|
|
1302
1302
|
return {
|
|
@@ -1406,7 +1406,7 @@ const e0 = "_graphicContainer_c9zrg_2", t0 = "_titleContainer_c9zrg_14", Ue = {
|
|
|
1406
1406
|
numberOfDivisions: l = 7,
|
|
1407
1407
|
leftPadding: c = 200
|
|
1408
1408
|
}) => {
|
|
1409
|
-
const { t: u } =
|
|
1409
|
+
const { t: u } = k();
|
|
1410
1410
|
return /* @__PURE__ */ p(
|
|
1411
1411
|
"div",
|
|
1412
1412
|
{
|
|
@@ -1453,7 +1453,7 @@ const i0 = "_indicatorsCategory_1cu33_2", o0 = "_title_1cu33_5", s0 = "_list_1cu
|
|
|
1453
1453
|
indicatorsCategory: i0,
|
|
1454
1454
|
title: o0,
|
|
1455
1455
|
list: s0
|
|
1456
|
-
}, 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",
|
|
1456
|
+
}, 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", F = {
|
|
1457
1457
|
indicatorContainer: r0,
|
|
1458
1458
|
indicatorNameContainer: a0,
|
|
1459
1459
|
dot: l0,
|
|
@@ -1475,25 +1475,25 @@ const i0 = "_indicatorsCategory_1cu33_2", o0 = "_title_1cu33_5", s0 = "_list_1cu
|
|
|
1475
1475
|
multiple: l = !1,
|
|
1476
1476
|
onChangeType: c
|
|
1477
1477
|
}) => {
|
|
1478
|
-
const { t: u } =
|
|
1479
|
-
|
|
1478
|
+
const { t: u } = k(), { name: h, type: g, disabled: _ } = n, [v, m] = T(!1);
|
|
1479
|
+
M(() => {
|
|
1480
1480
|
t && m(
|
|
1481
1481
|
l ? t.some(
|
|
1482
1482
|
(b) => b.name == String(h)
|
|
1483
1483
|
) : t.name == h
|
|
1484
1484
|
);
|
|
1485
1485
|
}, [t]);
|
|
1486
|
-
const f = () => /* @__PURE__ */ s("div", { className:
|
|
1486
|
+
const f = () => /* @__PURE__ */ s("div", { className: F.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: F.switchType, children: /* @__PURE__ */ p("div", { className: F.switchTypeOptions, children: [
|
|
1487
1487
|
/* @__PURE__ */ p(
|
|
1488
1488
|
"div",
|
|
1489
1489
|
{
|
|
1490
|
-
className:
|
|
1490
|
+
className: F.optionContainer,
|
|
1491
1491
|
onClick: () => c("cat"),
|
|
1492
1492
|
children: [
|
|
1493
1493
|
/* @__PURE__ */ s(
|
|
1494
1494
|
"span",
|
|
1495
1495
|
{
|
|
1496
|
-
className: `${
|
|
1496
|
+
className: `${F.customRadious}`,
|
|
1497
1497
|
style: {
|
|
1498
1498
|
backgroundColor: r === "cat" ? i : "transparent",
|
|
1499
1499
|
borderColor: r === "cat" ? i : o
|
|
@@ -1503,7 +1503,7 @@ const i0 = "_indicatorsCategory_1cu33_2", o0 = "_title_1cu33_5", s0 = "_list_1cu
|
|
|
1503
1503
|
/* @__PURE__ */ s(
|
|
1504
1504
|
"h4",
|
|
1505
1505
|
{
|
|
1506
|
-
className:
|
|
1506
|
+
className: F.optionText,
|
|
1507
1507
|
style: {
|
|
1508
1508
|
color: r === "cat" ? i : o
|
|
1509
1509
|
},
|
|
@@ -1516,13 +1516,13 @@ const i0 = "_indicatorsCategory_1cu33_2", o0 = "_title_1cu33_5", s0 = "_list_1cu
|
|
|
1516
1516
|
/* @__PURE__ */ p(
|
|
1517
1517
|
"div",
|
|
1518
1518
|
{
|
|
1519
|
-
className:
|
|
1519
|
+
className: F.optionContainer,
|
|
1520
1520
|
onClick: () => c("abs"),
|
|
1521
1521
|
children: [
|
|
1522
1522
|
/* @__PURE__ */ s(
|
|
1523
1523
|
"span",
|
|
1524
1524
|
{
|
|
1525
|
-
className: `${
|
|
1525
|
+
className: `${F.customRadious}`,
|
|
1526
1526
|
style: {
|
|
1527
1527
|
backgroundColor: r === "abs" ? i : "transparent",
|
|
1528
1528
|
borderColor: r === "abs" ? i : o
|
|
@@ -1532,7 +1532,7 @@ const i0 = "_indicatorsCategory_1cu33_2", o0 = "_title_1cu33_5", s0 = "_list_1cu
|
|
|
1532
1532
|
/* @__PURE__ */ s(
|
|
1533
1533
|
"h4",
|
|
1534
1534
|
{
|
|
1535
|
-
className:
|
|
1535
|
+
className: F.optionText,
|
|
1536
1536
|
style: {
|
|
1537
1537
|
color: r === "abs" ? i : o
|
|
1538
1538
|
},
|
|
@@ -1542,15 +1542,15 @@ const i0 = "_indicatorsCategory_1cu33_2", o0 = "_title_1cu33_5", s0 = "_list_1cu
|
|
|
1542
1542
|
]
|
|
1543
1543
|
}
|
|
1544
1544
|
)
|
|
1545
|
-
] }) }) }), C = () => /* @__PURE__ */ s("div", { className:
|
|
1545
|
+
] }) }) }), C = () => /* @__PURE__ */ s("div", { className: F.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: F.switchType, children: /* @__PURE__ */ s("div", { className: F.switchTypeOptions, children: d.map((b, y) => /* @__PURE__ */ p(
|
|
1546
1546
|
"div",
|
|
1547
1547
|
{
|
|
1548
|
-
className:
|
|
1548
|
+
className: F.optionContainer,
|
|
1549
1549
|
children: [
|
|
1550
1550
|
/* @__PURE__ */ s(
|
|
1551
1551
|
"span",
|
|
1552
1552
|
{
|
|
1553
|
-
className:
|
|
1553
|
+
className: F.customRadious
|
|
1554
1554
|
}
|
|
1555
1555
|
),
|
|
1556
1556
|
/* @__PURE__ */ s("h4", { children: u(b.unit) })
|
|
@@ -1558,11 +1558,11 @@ const i0 = "_indicatorsCategory_1cu33_2", o0 = "_title_1cu33_5", s0 = "_list_1cu
|
|
|
1558
1558
|
},
|
|
1559
1559
|
y
|
|
1560
1560
|
)) }) }) });
|
|
1561
|
-
return /* @__PURE__ */ p("div", { className:
|
|
1561
|
+
return /* @__PURE__ */ p("div", { className: F.indicatorContainer, children: [
|
|
1562
1562
|
/* @__PURE__ */ p(
|
|
1563
1563
|
"div",
|
|
1564
1564
|
{
|
|
1565
|
-
className:
|
|
1565
|
+
className: F.indicatorNameContainer,
|
|
1566
1566
|
onClick: () => !_ && a({ indicator: n }),
|
|
1567
1567
|
children: [
|
|
1568
1568
|
/* @__PURE__ */ s(
|
|
@@ -1572,13 +1572,13 @@ const i0 = "_indicatorsCategory_1cu33_2", o0 = "_title_1cu33_5", s0 = "_list_1cu
|
|
|
1572
1572
|
border: v ? `1px solid ${i}` : `1px solid ${o}`,
|
|
1573
1573
|
opacity: _ ? 0.5 : 1
|
|
1574
1574
|
},
|
|
1575
|
-
className:
|
|
1575
|
+
className: F.dot
|
|
1576
1576
|
}
|
|
1577
1577
|
),
|
|
1578
1578
|
/* @__PURE__ */ s(
|
|
1579
1579
|
"h4",
|
|
1580
1580
|
{
|
|
1581
|
-
className:
|
|
1581
|
+
className: F.indicatorName,
|
|
1582
1582
|
style: {
|
|
1583
1583
|
color: v ? i : o,
|
|
1584
1584
|
opacity: _ ? 0.5 : 1
|
|
@@ -1629,8 +1629,8 @@ const C0 = "_indicatorsSubCategory_1dzsi_2", f0 = "_list_1dzsi_8", Ge = {
|
|
|
1629
1629
|
activeIndicatorType: h,
|
|
1630
1630
|
onChangeType: g
|
|
1631
1631
|
}) => {
|
|
1632
|
-
const { t: _ } =
|
|
1633
|
-
return
|
|
1632
|
+
const { t: _ } = k(), [v, m] = T(!1);
|
|
1633
|
+
return M(() => {
|
|
1634
1634
|
m(t == a);
|
|
1635
1635
|
}, [t, a]), /* @__PURE__ */ p(
|
|
1636
1636
|
Ee.div,
|
|
@@ -1696,8 +1696,8 @@ const gt = ({
|
|
|
1696
1696
|
onChangeType: _
|
|
1697
1697
|
}) => {
|
|
1698
1698
|
var C;
|
|
1699
|
-
const { t: v } =
|
|
1700
|
-
return
|
|
1699
|
+
const { t: v } = k(), [m, f] = T(!1);
|
|
1700
|
+
return M(() => {
|
|
1701
1701
|
f(r === d);
|
|
1702
1702
|
}, [r, d]), /* @__PURE__ */ p(
|
|
1703
1703
|
Ee.div,
|
|
@@ -1791,7 +1791,7 @@ const b0 = "_indicatorsList_fklyu_2", _0 = "_title_fklyu_6", We = {
|
|
|
1791
1791
|
changeIndType: a,
|
|
1792
1792
|
activeIndicatorType: l
|
|
1793
1793
|
}) => {
|
|
1794
|
-
const { t: c } =
|
|
1794
|
+
const { t: c } = k(), [u, h] = T(), [g, _] = T(), [v, m] = T(), f = (x) => {
|
|
1795
1795
|
h(u == x ? null : x);
|
|
1796
1796
|
}, C = (x) => {
|
|
1797
1797
|
_(g == x ? null : x);
|
|
@@ -1806,14 +1806,14 @@ const b0 = "_indicatorsList_fklyu_2", _0 = "_title_fklyu_6", We = {
|
|
|
1806
1806
|
let w = v && v.length > 0 ? [...v] : [];
|
|
1807
1807
|
m(
|
|
1808
1808
|
w != null && w.some(
|
|
1809
|
-
(
|
|
1809
|
+
(B) => B.name == x.name
|
|
1810
1810
|
) ? w.filter(
|
|
1811
|
-
(
|
|
1811
|
+
(B) => B.name != String(x.name)
|
|
1812
1812
|
) : [...w, x]
|
|
1813
1813
|
), x.type == "both" && a("cat");
|
|
1814
1814
|
}
|
|
1815
1815
|
};
|
|
1816
|
-
|
|
1816
|
+
M(() => {
|
|
1817
1817
|
console.log("activeindicator changed to: ", v), o && typeof o == "function" && v && o({ activeIndicator: v });
|
|
1818
1818
|
}, [v]), kt(() => {
|
|
1819
1819
|
if (r && !v)
|
|
@@ -1824,15 +1824,15 @@ const b0 = "_indicatorsList_fklyu_2", _0 = "_title_fklyu_6", We = {
|
|
|
1824
1824
|
y(r), N(r.name);
|
|
1825
1825
|
}, []);
|
|
1826
1826
|
const N = (x) => {
|
|
1827
|
-
const w = n.find((
|
|
1828
|
-
if (
|
|
1829
|
-
let
|
|
1830
|
-
(
|
|
1827
|
+
const w = n.find((B) => {
|
|
1828
|
+
if (B.subcategories) {
|
|
1829
|
+
let S = B.subcategories.find(
|
|
1830
|
+
(D) => D.indicators.find((P) => P.name == x)
|
|
1831
1831
|
);
|
|
1832
|
-
if (
|
|
1833
|
-
return _(
|
|
1832
|
+
if (S)
|
|
1833
|
+
return _(S.subcategory), S;
|
|
1834
1834
|
} else
|
|
1835
|
-
return
|
|
1835
|
+
return B.indicators.some((S) => S.name == x);
|
|
1836
1836
|
});
|
|
1837
1837
|
w && h(w.category);
|
|
1838
1838
|
};
|
|
@@ -1878,7 +1878,7 @@ const v0 = "_langSelector_o9enq_2", x0 = "_currentLang_o9enq_14", w0 = "_arrow_o
|
|
|
1878
1878
|
prevImg: N0,
|
|
1879
1879
|
langMenu: k0
|
|
1880
1880
|
}, B0 = ({ langs: n, arrow: d, imgPrev: i }) => {
|
|
1881
|
-
const [o, t] =
|
|
1881
|
+
const [o, t] = T(!1), { i18n: r } = k(), a = n.find((c) => c.code == r.language), l = (c) => {
|
|
1882
1882
|
r.changeLanguage(c), t(!1);
|
|
1883
1883
|
};
|
|
1884
1884
|
return /* @__PURE__ */ p("div", { className: se.langSelector, children: [
|
|
@@ -1921,7 +1921,7 @@ B0.propTypes = {
|
|
|
1921
1921
|
arrow: e.object,
|
|
1922
1922
|
imgPrev: e.object
|
|
1923
1923
|
};
|
|
1924
|
-
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",
|
|
1924
|
+
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 = {
|
|
1925
1925
|
legendContainer: S0,
|
|
1926
1926
|
closeButton: $0,
|
|
1927
1927
|
titleContainer: D0,
|
|
@@ -1960,35 +1960,35 @@ const S0 = "_legendContainer_qs4x9_3", $0 = "_closeButton_qs4x9_31", D0 = "_titl
|
|
|
1960
1960
|
buttonTitle: l,
|
|
1961
1961
|
onClickClose: c
|
|
1962
1962
|
}) => {
|
|
1963
|
-
const { t: u } =
|
|
1963
|
+
const { t: u } = k();
|
|
1964
1964
|
return /* @__PURE__ */ p(
|
|
1965
1965
|
"div",
|
|
1966
1966
|
{
|
|
1967
1967
|
style: n ? { ...n } : {},
|
|
1968
|
-
className: `${
|
|
1968
|
+
className: `${L.legendContainer}`,
|
|
1969
1969
|
children: [
|
|
1970
|
-
/* @__PURE__ */ s("button", { className:
|
|
1971
|
-
d && /* @__PURE__ */ s("div", { className:
|
|
1972
|
-
i && i.length > 0 && /* @__PURE__ */ s("div", { className:
|
|
1973
|
-
/* @__PURE__ */ s("h3", { className:
|
|
1974
|
-
/* @__PURE__ */ p("span", { className:
|
|
1970
|
+
/* @__PURE__ */ s("button", { className: L.closeButton, onClick: c }),
|
|
1971
|
+
d && /* @__PURE__ */ s("div", { className: L.titleContainer, style: { marginBottom: (!i || i.length == 0) && "15px" }, children: /* @__PURE__ */ s("h2", { children: d }) }),
|
|
1972
|
+
i && i.length > 0 && /* @__PURE__ */ s("div", { className: L.infoContainer, children: /* @__PURE__ */ s("ul", { children: i.map(({ title: h, value: g }) => /* @__PURE__ */ p("li", { children: [
|
|
1973
|
+
/* @__PURE__ */ s("h3", { className: L.title, children: `${h}:` }),
|
|
1974
|
+
/* @__PURE__ */ p("span", { className: L.value, children: [
|
|
1975
1975
|
" ",
|
|
1976
1976
|
g
|
|
1977
1977
|
] })
|
|
1978
1978
|
] }, d)) }) }),
|
|
1979
|
-
/* @__PURE__ */ s("h3", { className:
|
|
1980
|
-
/* @__PURE__ */ p("div", { className:
|
|
1981
|
-
r ? /* @__PURE__ */ p("div", { className:
|
|
1979
|
+
/* @__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 }) }),
|
|
1980
|
+
/* @__PURE__ */ p("div", { className: L.legendListContainer, children: [
|
|
1981
|
+
r ? /* @__PURE__ */ p("div", { className: L.absoluteValueContainer, children: [
|
|
1982
1982
|
/* @__PURE__ */ s(
|
|
1983
1983
|
"div",
|
|
1984
1984
|
{
|
|
1985
|
-
className:
|
|
1985
|
+
className: L.absoluteValueColor,
|
|
1986
1986
|
style: {
|
|
1987
1987
|
background: `linear-gradient(to bottom, ${r.maxColor} 0%, ${r.midColor ? `${r.midColor} 50%,` : ""} ${r.minColor} 100%)`
|
|
1988
1988
|
}
|
|
1989
1989
|
}
|
|
1990
1990
|
),
|
|
1991
|
-
/* @__PURE__ */ p("div", { className:
|
|
1991
|
+
/* @__PURE__ */ p("div", { className: L.absoluteValueText, children: [
|
|
1992
1992
|
/* @__PURE__ */ p("span", { children: [
|
|
1993
1993
|
r.maxValue,
|
|
1994
1994
|
" ",
|
|
@@ -2005,35 +2005,35 @@ const S0 = "_legendContainer_qs4x9_3", $0 = "_closeButton_qs4x9_31", D0 = "_titl
|
|
|
2005
2005
|
u(r.unit)
|
|
2006
2006
|
] })
|
|
2007
2007
|
] })
|
|
2008
|
-
] }) : o && o.length > 0 && /* @__PURE__ */ s("div", { className:
|
|
2009
|
-
({ title: h, color: g }) => /* @__PURE__ */ p("div", { className:
|
|
2008
|
+
] }) : o && o.length > 0 && /* @__PURE__ */ s("div", { className: L.gridContainer, children: o.map(
|
|
2009
|
+
({ title: h, color: g }) => /* @__PURE__ */ p("div", { className: L.elementLegendContainer, children: [
|
|
2010
2010
|
/* @__PURE__ */ s(
|
|
2011
2011
|
"div",
|
|
2012
2012
|
{
|
|
2013
|
-
className:
|
|
2013
|
+
className: L.colorDot,
|
|
2014
2014
|
style: { backgroundColor: g }
|
|
2015
2015
|
}
|
|
2016
2016
|
),
|
|
2017
|
-
/* @__PURE__ */ p("div", { className:
|
|
2017
|
+
/* @__PURE__ */ p("div", { className: L.titleLegendElement, children: [
|
|
2018
2018
|
u(h),
|
|
2019
2019
|
" "
|
|
2020
2020
|
] })
|
|
2021
2021
|
] }, d)
|
|
2022
2022
|
) }),
|
|
2023
|
-
r.noDataColor && /* @__PURE__ */ p("div", { className:
|
|
2023
|
+
r.noDataColor && /* @__PURE__ */ p("div", { className: L.noDataContainer, children: [
|
|
2024
2024
|
/* @__PURE__ */ s(
|
|
2025
2025
|
"div",
|
|
2026
2026
|
{
|
|
2027
|
-
className:
|
|
2027
|
+
className: L.noData,
|
|
2028
2028
|
style: {
|
|
2029
2029
|
background: r.noDataColor
|
|
2030
2030
|
}
|
|
2031
2031
|
}
|
|
2032
2032
|
),
|
|
2033
|
-
/* @__PURE__ */ s("div", { className:
|
|
2033
|
+
/* @__PURE__ */ s("div", { className: L.absoluteValueText, children: /* @__PURE__ */ s("span", { children: u(r.noDataText) }) })
|
|
2034
2034
|
] })
|
|
2035
2035
|
] }),
|
|
2036
|
-
a && /* @__PURE__ */ s("button", { className:
|
|
2036
|
+
a && /* @__PURE__ */ s("button", { className: L.moreInfoContainer, onClick: a, children: l || u("moreInformation") })
|
|
2037
2037
|
]
|
|
2038
2038
|
}
|
|
2039
2039
|
);
|
|
@@ -2068,7 +2068,7 @@ j0.propTypes = {
|
|
|
2068
2068
|
const z0 = "_logo_1ewa6_2", Ye = {
|
|
2069
2069
|
logo: z0
|
|
2070
2070
|
}, Z0 = ({ src: n, alt: d, href: i }) => {
|
|
2071
|
-
const { t: o } =
|
|
2071
|
+
const { t: o } = k(), t = /* @__PURE__ */ s("img", { src: n, alt: o(d) });
|
|
2072
2072
|
return i ? /* @__PURE__ */ s("div", { className: Ye.logo, children: /* @__PURE__ */ s("a", { href: i, children: t }) }) : /* @__PURE__ */ s("div", { className: Ye.logo, children: t });
|
|
2073
2073
|
};
|
|
2074
2074
|
Z0.propTypes = {
|
|
@@ -2094,8 +2094,8 @@ const U0 = ({
|
|
|
2094
2094
|
sources: u = [],
|
|
2095
2095
|
layers: h = []
|
|
2096
2096
|
}) => {
|
|
2097
|
-
const g = te(), [_, v] =
|
|
2098
|
-
return
|
|
2097
|
+
const g = te(), [_, v] = T(null), m = $t((f) => f.mapState.showTexts);
|
|
2098
|
+
return M(() => {
|
|
2099
2099
|
if (g.current) {
|
|
2100
2100
|
const f = g.current.getMap();
|
|
2101
2101
|
f.getStyle().layers.map((b) => {
|
|
@@ -2197,7 +2197,7 @@ const G0 = "_mapContainer_b0pyr_3", W0 = {
|
|
|
2197
2197
|
FeaturePopUp: Y0,
|
|
2198
2198
|
title: Q0
|
|
2199
2199
|
}, X0 = ({ props: n }) => {
|
|
2200
|
-
const { t: d } =
|
|
2200
|
+
const { t: d } = k();
|
|
2201
2201
|
return /* @__PURE__ */ s("div", { className: Qe.FeaturePopUp, children: n.map((i) => /* @__PURE__ */ p("p", { children: [
|
|
2202
2202
|
/* @__PURE__ */ p("span", { className: Qe.title, children: [
|
|
2203
2203
|
/* @__PURE__ */ s(qe, { i18nKey: i.name, components: { sup: /* @__PURE__ */ s("sup", {}) }, shouldUnescape: !0 }),
|
|
@@ -2227,14 +2227,14 @@ const G0 = "_mapContainer_b0pyr_3", W0 = {
|
|
|
2227
2227
|
}) => {
|
|
2228
2228
|
console.log(h);
|
|
2229
2229
|
const m = te();
|
|
2230
|
-
return
|
|
2230
|
+
return M(() => {
|
|
2231
2231
|
if (m.current) {
|
|
2232
2232
|
const f = m.current.getMap();
|
|
2233
2233
|
f.getStyle().layers.map((b) => {
|
|
2234
2234
|
b.type == "symbol" && b.id != "professionals" && (v ? f.setLayoutProperty(b.id, "visibility", "visible") : f.setLayoutProperty(b.id, "visibility", "none"));
|
|
2235
2235
|
});
|
|
2236
2236
|
}
|
|
2237
|
-
}, [v]),
|
|
2237
|
+
}, [v]), M(() => {
|
|
2238
2238
|
let f = new At();
|
|
2239
2239
|
return we.addProtocol("pmtiles", f.tile), () => {
|
|
2240
2240
|
we.removeProtocol("pmtiles");
|
|
@@ -2342,7 +2342,7 @@ const en = "_sectionBar_1egwc_2", tn = "_leftContent_1egwc_14", nn = "_textConta
|
|
|
2342
2342
|
mainColor: t,
|
|
2343
2343
|
width: r
|
|
2344
2344
|
}) => {
|
|
2345
|
-
const { t: a } =
|
|
2345
|
+
const { t: a } = k();
|
|
2346
2346
|
return /* @__PURE__ */ p("div", { className: Q.sectionBar, style: { width: r && r }, children: [
|
|
2347
2347
|
/* @__PURE__ */ p("div", { className: Q.leftContent, children: [
|
|
2348
2348
|
n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className: Q.icon }),
|
|
@@ -2379,24 +2379,24 @@ const en = "_sectionBar_1egwc_2", tn = "_leftContent_1egwc_14", nn = "_textConta
|
|
|
2379
2379
|
n.activeIndicatorUnit = d.payload;
|
|
2380
2380
|
}
|
|
2381
2381
|
}
|
|
2382
|
-
}), { 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",
|
|
2382
|
+
}), { 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 = {
|
|
2383
2383
|
slider: dn,
|
|
2384
2384
|
playButton: un,
|
|
2385
2385
|
sliderOpen: pn,
|
|
2386
2386
|
sliderResults: mn
|
|
2387
2387
|
}, hn = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: i = 2025, lastYear: o = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
|
|
2388
|
-
const [a, l] =
|
|
2388
|
+
const [a, l] = T(d), c = Dt(), u = (b, y) => {
|
|
2389
2389
|
l(y), c($e(y - 2e3));
|
|
2390
|
-
}, [h, g] =
|
|
2390
|
+
}, [h, g] = T(!1), _ = () => {
|
|
2391
2391
|
g(!0);
|
|
2392
2392
|
}, v = () => {
|
|
2393
2393
|
g(!1);
|
|
2394
2394
|
};
|
|
2395
2395
|
((b, y) => {
|
|
2396
2396
|
const N = te();
|
|
2397
|
-
|
|
2397
|
+
M(() => {
|
|
2398
2398
|
N.current = b;
|
|
2399
|
-
}, [b]),
|
|
2399
|
+
}, [b]), M(() => {
|
|
2400
2400
|
function x() {
|
|
2401
2401
|
N.current();
|
|
2402
2402
|
}
|
|
@@ -2440,7 +2440,7 @@ const en = "_sectionBar_1egwc_2", tn = "_leftContent_1egwc_14", nn = "_textConta
|
|
|
2440
2440
|
Zt,
|
|
2441
2441
|
{
|
|
2442
2442
|
sx: { width: 400 },
|
|
2443
|
-
className: `${n ?
|
|
2443
|
+
className: `${n ? ue.sliderResults : ue.slider} ${r ? ue.sliderOpen : ""}`,
|
|
2444
2444
|
style: { zIndex: t },
|
|
2445
2445
|
children: [
|
|
2446
2446
|
i,
|
|
@@ -2460,8 +2460,8 @@ const en = "_sectionBar_1egwc_2", tn = "_leftContent_1egwc_14", nn = "_textConta
|
|
|
2460
2460
|
}
|
|
2461
2461
|
),
|
|
2462
2462
|
o,
|
|
2463
|
-
!h && /* @__PURE__ */ s("button", { className:
|
|
2464
|
-
h && /* @__PURE__ */ s("button", { className:
|
|
2463
|
+
!h && /* @__PURE__ */ s("button", { className: ue.playButton, onClick: _, children: /* @__PURE__ */ s("img", { src: ln, alt: "Play" }) }),
|
|
2464
|
+
h && /* @__PURE__ */ s("button", { className: ue.playButton, onClick: v, children: /* @__PURE__ */ s("img", { src: cn, alt: "Pause" }) })
|
|
2465
2465
|
]
|
|
2466
2466
|
}
|
|
2467
2467
|
) });
|
|
@@ -2487,7 +2487,7 @@ const gn = "_TopNavMenuContainer_12mp4_2", Cn = "_topNavOptions_12mp4_13", fn =
|
|
|
2487
2487
|
console.log("Changed NavLink", r);
|
|
2488
2488
|
}
|
|
2489
2489
|
}) => {
|
|
2490
|
-
const { t: r } =
|
|
2490
|
+
const { t: r } = k();
|
|
2491
2491
|
return /* @__PURE__ */ s("div", { className: De.TopNavMenuContainer, style: { ...d }, children: n.map((a, l) => /* @__PURE__ */ s(
|
|
2492
2492
|
Ht,
|
|
2493
2493
|
{
|
|
@@ -2529,7 +2529,7 @@ const _n = "_LogInButton_1vxj5_2", yn = {
|
|
|
2529
2529
|
console.log("Logout clicked");
|
|
2530
2530
|
}
|
|
2531
2531
|
}) => {
|
|
2532
|
-
const { t: c } =
|
|
2532
|
+
const { t: c } = k();
|
|
2533
2533
|
return /* @__PURE__ */ s(
|
|
2534
2534
|
"div",
|
|
2535
2535
|
{
|
|
@@ -2548,7 +2548,7 @@ vn.propTypes = {
|
|
|
2548
2548
|
userName: e.string,
|
|
2549
2549
|
isLoggedIn: e.bool
|
|
2550
2550
|
};
|
|
2551
|
-
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",
|
|
2551
|
+
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 = {
|
|
2552
2552
|
elementSelector: xn,
|
|
2553
2553
|
header: wn,
|
|
2554
2554
|
nameDateContainer: Nn,
|
|
@@ -2605,7 +2605,7 @@ const Zn = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2605
2605
|
defaultTooltip: u,
|
|
2606
2606
|
showEye: h = !0
|
|
2607
2607
|
}) => {
|
|
2608
|
-
const { nom: g, created_at: _, id: v, isBeingProcessed: m } = n, [f, C] =
|
|
2608
|
+
const { nom: g, created_at: _, id: v, isBeingProcessed: m } = n, [f, C] = T(!1), { t: b } = k();
|
|
2609
2609
|
return /* @__PURE__ */ p(
|
|
2610
2610
|
"div",
|
|
2611
2611
|
{
|
|
@@ -2715,8 +2715,8 @@ const Je = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2715
2715
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
2716
2716
|
showEye: v = !0
|
|
2717
2717
|
}) => {
|
|
2718
|
-
const { t: m } =
|
|
2719
|
-
|
|
2718
|
+
const { t: m } = k(), [f, C] = T(n);
|
|
2719
|
+
M(() => {
|
|
2720
2720
|
n && C(n);
|
|
2721
2721
|
}, [n]);
|
|
2722
2722
|
const b = (y) => {
|
|
@@ -2728,27 +2728,27 @@ const Je = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2728
2728
|
return /* @__PURE__ */ p(
|
|
2729
2729
|
"div",
|
|
2730
2730
|
{
|
|
2731
|
-
className:
|
|
2731
|
+
className: Z.elementSelector,
|
|
2732
2732
|
style: { color: i, ...r },
|
|
2733
2733
|
children: [
|
|
2734
2734
|
/* @__PURE__ */ p(
|
|
2735
2735
|
"div",
|
|
2736
2736
|
{
|
|
2737
|
-
className:
|
|
2737
|
+
className: Z.header,
|
|
2738
2738
|
style: { borderBottom: `1px solid ${i}` },
|
|
2739
2739
|
children: [
|
|
2740
|
-
/* @__PURE__ */ s("div", { className:
|
|
2740
|
+
/* @__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: [
|
|
2741
2741
|
/* @__PURE__ */ s("span", { children: m(c.nom) }),
|
|
2742
2742
|
/* @__PURE__ */ s("img", { src: Je, alt: "order arrow" })
|
|
2743
|
-
] }) }, y) : y === "data" ? /* @__PURE__ */ s("div", { className:
|
|
2743
|
+
] }) }, y) : y === "data" ? /* @__PURE__ */ s("div", { className: Z.elementDate, children: /* @__PURE__ */ p("button", { onClick: () => b("date"), children: [
|
|
2744
2744
|
/* @__PURE__ */ s("span", { children: m(c.data) }),
|
|
2745
2745
|
/* @__PURE__ */ s("img", { src: Je, alt: "order arrow" })
|
|
2746
|
-
] }) }, y) : /* @__PURE__ */ s("div", { className:
|
|
2747
|
-
/* @__PURE__ */ s("div", { className:
|
|
2746
|
+
] }) }, y) : /* @__PURE__ */ s("div", { className: Z.elementDate, children: /* @__PURE__ */ s("span", { children: m(c[y]) }) }, y)) }),
|
|
2747
|
+
/* @__PURE__ */ s("div", { className: Z.buttonsContainer })
|
|
2748
2748
|
]
|
|
2749
2749
|
}
|
|
2750
2750
|
),
|
|
2751
|
-
/* @__PURE__ */ s("div", { className:
|
|
2751
|
+
/* @__PURE__ */ s("div", { className: Z.elementListContainer, children: f && f.length > 0 && f.map((y) => /* @__PURE__ */ s(
|
|
2752
2752
|
Ct,
|
|
2753
2753
|
{
|
|
2754
2754
|
isActive: d == y.id,
|
|
@@ -2765,8 +2765,8 @@ const Je = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2765
2765
|
},
|
|
2766
2766
|
`elementKey${y.id}`
|
|
2767
2767
|
)) }),
|
|
2768
|
-
a && /* @__PURE__ */ s("div", { className:
|
|
2769
|
-
|
|
2768
|
+
a && /* @__PURE__ */ s("div", { className: Z.newElementButtonContainer, children: /* @__PURE__ */ s(
|
|
2769
|
+
ve,
|
|
2770
2770
|
{
|
|
2771
2771
|
style: { ...t },
|
|
2772
2772
|
onClick: a.onClick,
|
|
@@ -2826,12 +2826,12 @@ Kn.propTypes = {
|
|
|
2826
2826
|
defaultTooltip: e.string,
|
|
2827
2827
|
showEye: e.bool
|
|
2828
2828
|
};
|
|
2829
|
-
const
|
|
2829
|
+
const pe = {
|
|
2830
2830
|
text: "text",
|
|
2831
2831
|
password: "password",
|
|
2832
2832
|
radioList: "radioList",
|
|
2833
2833
|
select: "select"
|
|
2834
|
-
}, Hn = "_textInputContainer_1o3iy_2", Un = "_labelContainer_1o3iy_5", Gn = "_inputContainer_1o3iy_8", Wn = "_showPasswordButton_1o3iy_14", Yn = "_forgotPassButton_1o3iy_26",
|
|
2834
|
+
}, Hn = "_textInputContainer_1o3iy_2", Un = "_labelContainer_1o3iy_5", Gn = "_inputContainer_1o3iy_8", Wn = "_showPasswordButton_1o3iy_14", Yn = "_forgotPassButton_1o3iy_26", me = {
|
|
2835
2835
|
textInputContainer: Hn,
|
|
2836
2836
|
labelContainer: Un,
|
|
2837
2837
|
inputContainer: Gn,
|
|
@@ -2840,16 +2840,16 @@ const ue = {
|
|
|
2840
2840
|
};
|
|
2841
2841
|
var Qn = (n) => n.type === "checkbox", Xn = (n) => n instanceof Date, ft = (n) => n == null;
|
|
2842
2842
|
const Jn = (n) => typeof n == "object";
|
|
2843
|
-
var
|
|
2843
|
+
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) => {
|
|
2844
2844
|
const d = n.constructor && n.constructor.prototype;
|
|
2845
|
-
return
|
|
2845
|
+
return ge(d) && d.hasOwnProperty("isPrototypeOf");
|
|
2846
2846
|
}, o1 = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
2847
2847
|
function bt(n) {
|
|
2848
2848
|
let d;
|
|
2849
2849
|
const i = Array.isArray(n), o = typeof FileList < "u" ? n instanceof FileList : !1;
|
|
2850
2850
|
if (n instanceof Date)
|
|
2851
2851
|
d = new Date(n);
|
|
2852
|
-
else if (!(o1 && (n instanceof Blob || o)) && (i ||
|
|
2852
|
+
else if (!(o1 && (n instanceof Blob || o)) && (i || ge(n)))
|
|
2853
2853
|
if (d = i ? [] : {}, !i && !i1(n))
|
|
2854
2854
|
d = n;
|
|
2855
2855
|
else
|
|
@@ -2859,8 +2859,8 @@ function bt(n) {
|
|
|
2859
2859
|
return n;
|
|
2860
2860
|
return d;
|
|
2861
2861
|
}
|
|
2862
|
-
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(/\.|\[/)),
|
|
2863
|
-
if (!d || !
|
|
2862
|
+
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) => {
|
|
2863
|
+
if (!d || !ge(n))
|
|
2864
2864
|
return i;
|
|
2865
2865
|
const o = (_t(d) ? [d] : yt(d)).reduce((t, r) => ft(t) ? t : t[r], n);
|
|
2866
2866
|
return Re(o) || o === n ? Re(n[d]) ? i : n[d] : o;
|
|
@@ -2872,7 +2872,7 @@ var _t = (n) => /^\w*$/.test(n), Re = (n) => n === void 0, s1 = (n) => Array.isA
|
|
|
2872
2872
|
let c = i;
|
|
2873
2873
|
if (o !== a) {
|
|
2874
2874
|
const u = n[l];
|
|
2875
|
-
c =
|
|
2875
|
+
c = ge(u) || Array.isArray(u) ? u : isNaN(+t[o + 1]) ? {} : [];
|
|
2876
2876
|
}
|
|
2877
2877
|
if (l === "__proto__" || l === "constructor" || l === "prototype")
|
|
2878
2878
|
return;
|
|
@@ -2926,7 +2926,7 @@ function a1(n) {
|
|
|
2926
2926
|
c.current.isValid && i._setValid(!0);
|
|
2927
2927
|
}, [i]), $.useMemo(() => r1(a, i, c.current, !1), [a, i]);
|
|
2928
2928
|
}
|
|
2929
|
-
var l1 = (n) => typeof n == "string", c1 = (n, d, i, o, t) => l1(n) ?
|
|
2929
|
+
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;
|
|
2930
2930
|
function d1(n) {
|
|
2931
2931
|
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));
|
|
2932
2932
|
return xt(() => i._subscribe({
|
|
@@ -2942,7 +2942,7 @@ function u1(n) {
|
|
|
2942
2942
|
const d = ze(), { name: i, disabled: o, control: t = d.control, shouldUnregister: r } = n, a = n1(t._names.array, i), l = d1({
|
|
2943
2943
|
control: t,
|
|
2944
2944
|
name: i,
|
|
2945
|
-
defaultValue:
|
|
2945
|
+
defaultValue: I(t._formValues, i, I(t._defaultValues, i, n.defaultValue)),
|
|
2946
2946
|
exact: !0
|
|
2947
2947
|
}), c = a1({
|
|
2948
2948
|
control: t,
|
|
@@ -2955,23 +2955,23 @@ function u1(n) {
|
|
|
2955
2955
|
})), g = $.useMemo(() => Object.defineProperties({}, {
|
|
2956
2956
|
invalid: {
|
|
2957
2957
|
enumerable: !0,
|
|
2958
|
-
get: () => !!
|
|
2958
|
+
get: () => !!I(c.errors, i)
|
|
2959
2959
|
},
|
|
2960
2960
|
isDirty: {
|
|
2961
2961
|
enumerable: !0,
|
|
2962
|
-
get: () => !!
|
|
2962
|
+
get: () => !!I(c.dirtyFields, i)
|
|
2963
2963
|
},
|
|
2964
2964
|
isTouched: {
|
|
2965
2965
|
enumerable: !0,
|
|
2966
|
-
get: () => !!
|
|
2966
|
+
get: () => !!I(c.touchedFields, i)
|
|
2967
2967
|
},
|
|
2968
2968
|
isValidating: {
|
|
2969
2969
|
enumerable: !0,
|
|
2970
|
-
get: () => !!
|
|
2970
|
+
get: () => !!I(c.validatingFields, i)
|
|
2971
2971
|
},
|
|
2972
2972
|
error: {
|
|
2973
2973
|
enumerable: !0,
|
|
2974
|
-
get: () =>
|
|
2974
|
+
get: () => I(c.errors, i)
|
|
2975
2975
|
}
|
|
2976
2976
|
}), [c, i]), _ = $.useCallback((C) => h.current.onChange({
|
|
2977
2977
|
target: {
|
|
@@ -2981,12 +2981,12 @@ function u1(n) {
|
|
|
2981
2981
|
type: tt.CHANGE
|
|
2982
2982
|
}), [i]), v = $.useCallback(() => h.current.onBlur({
|
|
2983
2983
|
target: {
|
|
2984
|
-
value:
|
|
2984
|
+
value: I(t._formValues, i),
|
|
2985
2985
|
name: i
|
|
2986
2986
|
},
|
|
2987
2987
|
type: tt.BLUR
|
|
2988
2988
|
}), [i, t._formValues]), m = $.useCallback((C) => {
|
|
2989
|
-
const b =
|
|
2989
|
+
const b = I(t._fields, i);
|
|
2990
2990
|
b && C && (b._f.ref = {
|
|
2991
2991
|
focus: () => C.focus && C.focus(),
|
|
2992
2992
|
select: () => C.select && C.select(),
|
|
@@ -3008,12 +3008,12 @@ function u1(n) {
|
|
|
3008
3008
|
...Me(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
3009
3009
|
});
|
|
3010
3010
|
const b = (y, N) => {
|
|
3011
|
-
const x =
|
|
3011
|
+
const x = I(t._fields, y);
|
|
3012
3012
|
x && x._f && (x._f.mount = N);
|
|
3013
3013
|
};
|
|
3014
3014
|
if (b(i, !0), C) {
|
|
3015
|
-
const y = bt(
|
|
3016
|
-
et(t._defaultValues, i, y), Re(
|
|
3015
|
+
const y = bt(I(t._options.defaultValues, i));
|
|
3016
|
+
et(t._defaultValues, i, y), Re(I(t._formValues, i)) && et(t._formValues, i, y);
|
|
3017
3017
|
}
|
|
3018
3018
|
return !a && t.register(i), () => {
|
|
3019
3019
|
(a ? C && !t._state.action : C) ? t.unregister(i) : b(i, !1);
|
|
@@ -3029,14 +3029,14 @@ function u1(n) {
|
|
|
3029
3029
|
fieldState: g
|
|
3030
3030
|
}), [f, c, g]);
|
|
3031
3031
|
}
|
|
3032
|
-
const
|
|
3032
|
+
const xe = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
3033
3033
|
errorMessage: p1
|
|
3034
|
-
},
|
|
3034
|
+
}, Ce = ({
|
|
3035
3035
|
errorMessage: n,
|
|
3036
3036
|
errorColor: d = "red",
|
|
3037
3037
|
containerStyles: i
|
|
3038
3038
|
}) => {
|
|
3039
|
-
const { t: o } =
|
|
3039
|
+
const { t: o } = k();
|
|
3040
3040
|
return /* @__PURE__ */ s(
|
|
3041
3041
|
"div",
|
|
3042
3042
|
{
|
|
@@ -3060,13 +3060,13 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3060
3060
|
console.log("Click on forgot password");
|
|
3061
3061
|
},
|
|
3062
3062
|
forgotPassLabel: _ = "forgot-password"
|
|
3063
|
-
} = n, { t: v } =
|
|
3064
|
-
|
|
3063
|
+
} = n, { t: v } = k(), { control: m, trigger: f, clearErrors: C } = d, [b, y] = T(!1), N = te(a);
|
|
3064
|
+
M(() => {
|
|
3065
3065
|
N.current !== a && (a ? f(i) : C(i), N.current = a);
|
|
3066
3066
|
}, [a, i, f, C]);
|
|
3067
3067
|
const x = () => o ? o === "password" && b ? "text" : o : "text";
|
|
3068
3068
|
return /* @__PURE__ */ s(
|
|
3069
|
-
|
|
3069
|
+
xe,
|
|
3070
3070
|
{
|
|
3071
3071
|
name: i,
|
|
3072
3072
|
control: m,
|
|
@@ -3075,19 +3075,19 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3075
3075
|
maxLength: r || void 0,
|
|
3076
3076
|
validate: l || void 0
|
|
3077
3077
|
},
|
|
3078
|
-
render: ({ field: w, fieldState:
|
|
3079
|
-
var
|
|
3080
|
-
return /* @__PURE__ */ p("div", { className:
|
|
3081
|
-
/* @__PURE__ */ p("h3", { className:
|
|
3078
|
+
render: ({ field: w, fieldState: B }) => {
|
|
3079
|
+
var S;
|
|
3080
|
+
return /* @__PURE__ */ p("div", { className: me.textInputContainer, children: [
|
|
3081
|
+
/* @__PURE__ */ p("h3", { className: me.labelContainer, children: [
|
|
3082
3082
|
v(t),
|
|
3083
3083
|
" ",
|
|
3084
|
-
a && /* @__PURE__ */ s("label", { style: { color:
|
|
3084
|
+
a && /* @__PURE__ */ s("label", { style: { color: B.error ? u : "" }, children: "*" })
|
|
3085
3085
|
] }),
|
|
3086
3086
|
/* @__PURE__ */ p(
|
|
3087
3087
|
"div",
|
|
3088
3088
|
{
|
|
3089
3089
|
style: { position: "relative", width: h },
|
|
3090
|
-
className:
|
|
3090
|
+
className: me.inputContainer,
|
|
3091
3091
|
children: [
|
|
3092
3092
|
/* @__PURE__ */ s(
|
|
3093
3093
|
"input",
|
|
@@ -3103,18 +3103,18 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3103
3103
|
{
|
|
3104
3104
|
onClick: () => y(!b),
|
|
3105
3105
|
type: "button",
|
|
3106
|
-
className:
|
|
3106
|
+
className: me.showPasswordButton,
|
|
3107
3107
|
children: b ? "🙈" : "👁️"
|
|
3108
3108
|
}
|
|
3109
3109
|
)
|
|
3110
3110
|
]
|
|
3111
3111
|
}
|
|
3112
3112
|
),
|
|
3113
|
-
o == "password" && /* @__PURE__ */ s("div", { className:
|
|
3113
|
+
o == "password" && /* @__PURE__ */ s("div", { className: me.forgotPassButton, children: /* @__PURE__ */ s("button", { onClick: g, children: v(_) }) }),
|
|
3114
3114
|
/* @__PURE__ */ s(
|
|
3115
|
-
|
|
3115
|
+
Ce,
|
|
3116
3116
|
{
|
|
3117
|
-
errorMessage: (
|
|
3117
|
+
errorMessage: (S = B.error) == null ? void 0 : S.message,
|
|
3118
3118
|
errorColor: u
|
|
3119
3119
|
}
|
|
3120
3120
|
)
|
|
@@ -3147,11 +3147,11 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3147
3147
|
errorColor: u = "red",
|
|
3148
3148
|
width: h = 325,
|
|
3149
3149
|
options: g = []
|
|
3150
|
-
} = n, { t: _ } =
|
|
3151
|
-
return
|
|
3150
|
+
} = n, { t: _ } = k(), { control: v, trigger: m, clearErrors: f } = d, C = te(a);
|
|
3151
|
+
return M(() => {
|
|
3152
3152
|
C.current !== a && (a ? m(i) : f(i), C.current = a);
|
|
3153
3153
|
}, [a, i, m, f]), /* @__PURE__ */ s(
|
|
3154
|
-
|
|
3154
|
+
xe,
|
|
3155
3155
|
{
|
|
3156
3156
|
name: i,
|
|
3157
3157
|
control: v,
|
|
@@ -3173,8 +3173,8 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3173
3173
|
{
|
|
3174
3174
|
...b,
|
|
3175
3175
|
onChange: (x) => {
|
|
3176
|
-
const w = x.target.value,
|
|
3177
|
-
b.onChange(
|
|
3176
|
+
const w = x.target.value, B = g.every((S) => typeof S.value == "number") ? Number(w) : w;
|
|
3177
|
+
b.onChange(B);
|
|
3178
3178
|
},
|
|
3179
3179
|
className: ae.selectInput,
|
|
3180
3180
|
children: [
|
|
@@ -3201,7 +3201,7 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3201
3201
|
)
|
|
3202
3202
|
] }),
|
|
3203
3203
|
/* @__PURE__ */ s(
|
|
3204
|
-
|
|
3204
|
+
Ce,
|
|
3205
3205
|
{
|
|
3206
3206
|
errorMessage: (N = y.error) == null ? void 0 : N.message,
|
|
3207
3207
|
errorColor: u
|
|
@@ -3227,7 +3227,7 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3227
3227
|
errorColor: a = "red",
|
|
3228
3228
|
options: l = [],
|
|
3229
3229
|
multi: c = !1
|
|
3230
|
-
} = n, { t: u } =
|
|
3230
|
+
} = n, { t: u } = k(), { control: h, trigger: g, clearErrors: _ } = d, v = ({ options: C, onChange: b, actualValue: y }) => {
|
|
3231
3231
|
if (c && y && y.length > 0) {
|
|
3232
3232
|
let N = y.filter((x) => x !== C);
|
|
3233
3233
|
b(N);
|
|
@@ -3235,10 +3235,10 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3235
3235
|
}, m = ({ options: C, onChange: b, actualValue: y }) => {
|
|
3236
3236
|
c ? y && y.length > 0 ? b([...y, C]) : b([C]) : b(C);
|
|
3237
3237
|
}, f = te(t);
|
|
3238
|
-
return
|
|
3238
|
+
return M(() => {
|
|
3239
3239
|
f.current !== t && (t ? g(i) : _(i), f.current = t);
|
|
3240
3240
|
}, [t, i, g, _]), /* @__PURE__ */ s(
|
|
3241
|
-
|
|
3241
|
+
xe,
|
|
3242
3242
|
{
|
|
3243
3243
|
control: h,
|
|
3244
3244
|
name: i,
|
|
@@ -3250,7 +3250,7 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3250
3250
|
field: { onChange: b, onBlur: y, value: N, ref: x },
|
|
3251
3251
|
fieldState: w
|
|
3252
3252
|
}) => {
|
|
3253
|
-
var
|
|
3253
|
+
var B;
|
|
3254
3254
|
return /* @__PURE__ */ s("div", { id: i + "id", className: X.radioButtonContainer, children: /* @__PURE__ */ p("div", { className: X.wholeInputContainer, children: [
|
|
3255
3255
|
o && /* @__PURE__ */ s("div", { className: X.questionContainer, children: /* @__PURE__ */ p(
|
|
3256
3256
|
"h3",
|
|
@@ -3273,20 +3273,20 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3273
3273
|
/* @__PURE__ */ p("div", { className: X.inputContainer, children: [
|
|
3274
3274
|
l.map(
|
|
3275
3275
|
({
|
|
3276
|
-
label:
|
|
3277
|
-
value:
|
|
3278
|
-
disabled:
|
|
3279
|
-
italicLabel:
|
|
3280
|
-
},
|
|
3281
|
-
const
|
|
3276
|
+
label: S,
|
|
3277
|
+
value: D,
|
|
3278
|
+
disabled: P = !1,
|
|
3279
|
+
italicLabel: ce
|
|
3280
|
+
}, j) => {
|
|
3281
|
+
const q = N && c ? N.isArray && (N == null ? void 0 : N.length) > 0 && N.some((z) => z === D) : N === D;
|
|
3282
3282
|
return /* @__PURE__ */ p("label", { children: [
|
|
3283
3283
|
/* @__PURE__ */ s(
|
|
3284
3284
|
"input",
|
|
3285
3285
|
{
|
|
3286
3286
|
type: "radio",
|
|
3287
|
-
checked:
|
|
3287
|
+
checked: q,
|
|
3288
3288
|
onChange: () => {
|
|
3289
|
-
c ?
|
|
3289
|
+
c ? q ? v({
|
|
3290
3290
|
actualValue: N,
|
|
3291
3291
|
options: l,
|
|
3292
3292
|
onChange: b
|
|
@@ -3294,20 +3294,20 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3294
3294
|
actualValue: N,
|
|
3295
3295
|
options: l,
|
|
3296
3296
|
onChange: b
|
|
3297
|
-
}) : b(
|
|
3297
|
+
}) : b(D);
|
|
3298
3298
|
},
|
|
3299
3299
|
className: X.radioInput
|
|
3300
3300
|
}
|
|
3301
3301
|
),
|
|
3302
3302
|
/* @__PURE__ */ s("span", { className: "radio-custom" }),
|
|
3303
|
-
u(
|
|
3304
|
-
] }, `inputRadio ${
|
|
3303
|
+
u(S)
|
|
3304
|
+
] }, `inputRadio ${j}`);
|
|
3305
3305
|
}
|
|
3306
3306
|
),
|
|
3307
3307
|
/* @__PURE__ */ s(
|
|
3308
|
-
|
|
3308
|
+
Ce,
|
|
3309
3309
|
{
|
|
3310
|
-
errorMessage: (
|
|
3310
|
+
errorMessage: (B = w.error) == null ? void 0 : B.message,
|
|
3311
3311
|
errorColor: a
|
|
3312
3312
|
}
|
|
3313
3313
|
)
|
|
@@ -3316,7 +3316,7 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3316
3316
|
}
|
|
3317
3317
|
}
|
|
3318
3318
|
);
|
|
3319
|
-
}, F1 = "
|
|
3319
|
+
}, F1 = "_rankingSliderContainer_1gn40_2", V1 = "_labelContainer_1gn40_6", A1 = "_inputContainer_1gn40_10", I1 = "_slider_1gn40_14", O1 = "_thumb_1gn40_20", R1 = "_trackLeft_1gn40_30", q1 = "_trackRight_1gn40_35", E1 = "_labels_1gn40_39", P1 = "_labelsText_1gn40_55", R = {
|
|
3320
3320
|
rankingSliderContainer: F1,
|
|
3321
3321
|
labelContainer: V1,
|
|
3322
3322
|
inputContainer: A1,
|
|
@@ -3338,83 +3338,84 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3338
3338
|
// [ LEFT, RIGHT ],
|
|
3339
3339
|
required: u,
|
|
3340
3340
|
errorColor: h = "red",
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3341
|
+
labelWidth: g = "300px",
|
|
3342
|
+
sliderWidth: _ = "250px",
|
|
3343
|
+
minText: v,
|
|
3344
|
+
maxText: m
|
|
3345
|
+
} = n, { t: f } = k(), { control: C, trigger: b, clearErrors: y } = d, N = te(u);
|
|
3346
|
+
M(() => {
|
|
3347
|
+
N.current !== u && (u ? b(i) : y(i), N.current = u);
|
|
3348
|
+
}, [u, i, b, y]);
|
|
3349
|
+
const x = Array.from(
|
|
3349
3350
|
{ length: r - t + 1 },
|
|
3350
|
-
(
|
|
3351
|
+
(w, B) => t + B
|
|
3351
3352
|
);
|
|
3352
3353
|
return /* @__PURE__ */ s(
|
|
3353
|
-
|
|
3354
|
+
xe,
|
|
3354
3355
|
{
|
|
3355
3356
|
name: i,
|
|
3356
|
-
control:
|
|
3357
|
+
control: C,
|
|
3357
3358
|
defaultValue: a,
|
|
3358
3359
|
rules: {
|
|
3359
|
-
required: u ? `${
|
|
3360
|
+
required: u ? `${f(o)} ${f("errorMessages.required")}` : !1
|
|
3360
3361
|
},
|
|
3361
|
-
render: ({ field:
|
|
3362
|
+
render: ({ field: w, fieldState: B }) => {
|
|
3362
3363
|
var S;
|
|
3363
|
-
return /* @__PURE__ */ p("div", { className:
|
|
3364
|
-
/* @__PURE__ */ p("p", { className:
|
|
3365
|
-
|
|
3364
|
+
return /* @__PURE__ */ p("div", { className: R.rankingSliderContainer, style: { gridTemplateColumns: `${g} ${_}` }, children: [
|
|
3365
|
+
/* @__PURE__ */ p("p", { className: R.labelContainer, children: [
|
|
3366
|
+
f(o),
|
|
3366
3367
|
" "
|
|
3367
3368
|
] }),
|
|
3368
|
-
/* @__PURE__ */ p("div", { className:
|
|
3369
|
+
/* @__PURE__ */ p("div", { className: R.inputContainer, children: [
|
|
3369
3370
|
/* @__PURE__ */ s(
|
|
3370
3371
|
lt,
|
|
3371
3372
|
{
|
|
3372
3373
|
min: t,
|
|
3373
3374
|
max: r,
|
|
3374
3375
|
step: 1,
|
|
3375
|
-
value:
|
|
3376
|
-
onChange: (
|
|
3376
|
+
value: w.value ?? a,
|
|
3377
|
+
onChange: (D) => w.onChange(D),
|
|
3377
3378
|
marks: !0,
|
|
3378
|
-
className:
|
|
3379
|
-
thumbClassName:
|
|
3380
|
-
renderThumb: (
|
|
3379
|
+
className: R.slider,
|
|
3380
|
+
thumbClassName: R.thumb,
|
|
3381
|
+
renderThumb: (D) => /* @__PURE__ */ s(
|
|
3381
3382
|
"div",
|
|
3382
3383
|
{
|
|
3383
|
-
...
|
|
3384
|
+
...D,
|
|
3384
3385
|
style: {
|
|
3385
|
-
...
|
|
3386
|
+
...D.style,
|
|
3386
3387
|
backgroundColor: l
|
|
3387
3388
|
}
|
|
3388
3389
|
}
|
|
3389
3390
|
),
|
|
3390
|
-
renderTrack: (
|
|
3391
|
-
const
|
|
3391
|
+
renderTrack: (D, P) => {
|
|
3392
|
+
const ce = `${D.className || ""} ${P.index === 0 ? R.trackLeft : R.trackRight}`;
|
|
3392
3393
|
return /* @__PURE__ */ s(
|
|
3393
3394
|
"div",
|
|
3394
3395
|
{
|
|
3395
|
-
...
|
|
3396
|
-
className:
|
|
3396
|
+
...D,
|
|
3397
|
+
className: ce,
|
|
3397
3398
|
style: {
|
|
3398
|
-
...
|
|
3399
|
-
backgroundColor: c[
|
|
3399
|
+
...D.style,
|
|
3400
|
+
backgroundColor: c[P.index] || "#000"
|
|
3400
3401
|
}
|
|
3401
3402
|
}
|
|
3402
3403
|
);
|
|
3403
3404
|
},
|
|
3404
|
-
trackClassName:
|
|
3405
|
-
markClassName:
|
|
3405
|
+
trackClassName: R.track,
|
|
3406
|
+
markClassName: R.mark
|
|
3406
3407
|
}
|
|
3407
3408
|
),
|
|
3408
|
-
/* @__PURE__ */ s("div", { className:
|
|
3409
|
-
/* @__PURE__ */ p("div", { className:
|
|
3410
|
-
/* @__PURE__ */ s("span", { className:
|
|
3411
|
-
/* @__PURE__ */ s("span", { className:
|
|
3409
|
+
/* @__PURE__ */ s("div", { className: R.labels, children: x.map((D) => /* @__PURE__ */ s("span", { children: D }, D)) }),
|
|
3410
|
+
/* @__PURE__ */ p("div", { className: R.labels, children: [
|
|
3411
|
+
/* @__PURE__ */ s("span", { className: R.labelsText, children: f(v) }),
|
|
3412
|
+
/* @__PURE__ */ s("span", { className: R.labelsText, children: f(m) })
|
|
3412
3413
|
] })
|
|
3413
3414
|
] }),
|
|
3414
3415
|
/* @__PURE__ */ s(
|
|
3415
|
-
|
|
3416
|
+
Ce,
|
|
3416
3417
|
{
|
|
3417
|
-
errorMessage: (S =
|
|
3418
|
+
errorMessage: (S = B.error) == null ? void 0 : S.message,
|
|
3418
3419
|
errorColor: h
|
|
3419
3420
|
}
|
|
3420
3421
|
)
|
|
@@ -3427,7 +3428,7 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3427
3428
|
inputContainerStyles: d,
|
|
3428
3429
|
reactHookFormInstance: i
|
|
3429
3430
|
}) => {
|
|
3430
|
-
const { watch: o } = i, t = o(), r =
|
|
3431
|
+
const { watch: o } = i, t = o(), r = he(() => n.map((a) => {
|
|
3431
3432
|
const l = typeof a.required == "function" ? a.required(t) : a.required;
|
|
3432
3433
|
return {
|
|
3433
3434
|
...a,
|
|
@@ -3437,7 +3438,7 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3437
3438
|
return /* @__PURE__ */ s("div", { className: re.inputsContainer, children: r == null ? void 0 : r.map((a, l) => {
|
|
3438
3439
|
const { inputType: c } = a;
|
|
3439
3440
|
switch (c) {
|
|
3440
|
-
case
|
|
3441
|
+
case pe.text:
|
|
3441
3442
|
return /* @__PURE__ */ s(
|
|
3442
3443
|
"div",
|
|
3443
3444
|
{
|
|
@@ -3453,7 +3454,7 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3453
3454
|
},
|
|
3454
3455
|
`${a.code}${l}`
|
|
3455
3456
|
);
|
|
3456
|
-
case
|
|
3457
|
+
case pe.password:
|
|
3457
3458
|
return /* @__PURE__ */ s(
|
|
3458
3459
|
"div",
|
|
3459
3460
|
{
|
|
@@ -3469,7 +3470,7 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3469
3470
|
},
|
|
3470
3471
|
`${a.code}${l}`
|
|
3471
3472
|
);
|
|
3472
|
-
case
|
|
3473
|
+
case pe.select:
|
|
3473
3474
|
return /* @__PURE__ */ s(
|
|
3474
3475
|
"div",
|
|
3475
3476
|
{
|
|
@@ -3485,7 +3486,7 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3485
3486
|
},
|
|
3486
3487
|
`${a.code}${l}`
|
|
3487
3488
|
);
|
|
3488
|
-
case
|
|
3489
|
+
case pe.radioList:
|
|
3489
3490
|
return /* @__PURE__ */ s(
|
|
3490
3491
|
"div",
|
|
3491
3492
|
{
|
|
@@ -3501,7 +3502,7 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3501
3502
|
},
|
|
3502
3503
|
`${a.code}${l}`
|
|
3503
3504
|
);
|
|
3504
|
-
case
|
|
3505
|
+
case pe.rankingSlider:
|
|
3505
3506
|
return /* @__PURE__ */ s(
|
|
3506
3507
|
"div",
|
|
3507
3508
|
{
|
|
@@ -3541,7 +3542,7 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3541
3542
|
handleSubmit: h,
|
|
3542
3543
|
control: g,
|
|
3543
3544
|
formState: { errors: _ }
|
|
3544
|
-
} = n, { t: v } =
|
|
3545
|
+
} = n, { t: v } = k();
|
|
3545
3546
|
return /* @__PURE__ */ p("form", { className: Le.formContainer, onSubmit: h(u), children: [
|
|
3546
3547
|
/* @__PURE__ */ s("div", { className: Le.formObjectContainer, children: d && d.map((m, f) => {
|
|
3547
3548
|
const { inputs: C } = m;
|
|
@@ -3605,8 +3606,8 @@ const ve = (n) => n.render(u1(n)), p1 = "_errorMessage_1xiyb_2", m1 = {
|
|
|
3605
3606
|
) }, `inputKey${f}`);
|
|
3606
3607
|
}) }),
|
|
3607
3608
|
/* @__PURE__ */ p("div", { className: Le.buttonContainer, children: [
|
|
3608
|
-
/* @__PURE__ */ s(
|
|
3609
|
-
/* @__PURE__ */ s(
|
|
3609
|
+
/* @__PURE__ */ s(ve, { containerStyles: l, type: "submit", children: v(a) }),
|
|
3610
|
+
/* @__PURE__ */ s(Ce, { errorMessage: t, errorColor: r })
|
|
3610
3611
|
] })
|
|
3611
3612
|
] });
|
|
3612
3613
|
}, 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", G = {
|
|
@@ -3656,7 +3657,7 @@ Q1.propTypes = {
|
|
|
3656
3657
|
/** Anchura máxima del modal (por defecto 400px) */
|
|
3657
3658
|
maxWidth: e.string
|
|
3658
3659
|
};
|
|
3659
|
-
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",
|
|
3660
|
+
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", K = {
|
|
3660
3661
|
stepsContainer: X1,
|
|
3661
3662
|
stepWrapper: J1,
|
|
3662
3663
|
circleContainer: ei,
|
|
@@ -3666,27 +3667,27 @@ const X1 = "_stepsContainer_1cyua_3", J1 = "_stepWrapper_1cyua_9", ei = "_circle
|
|
|
3666
3667
|
label: oi,
|
|
3667
3668
|
labelActive: si,
|
|
3668
3669
|
connector: ri
|
|
3669
|
-
}, wt = ({ steps: n, activeColor: d }) => /* @__PURE__ */ s("div", { className:
|
|
3670
|
+
}, wt = ({ steps: n, activeColor: d }) => /* @__PURE__ */ s("div", { className: K.stepsContainer, children: n.map((i, o) => {
|
|
3670
3671
|
const t = i.status === "active", r = i.status === "completed";
|
|
3671
|
-
return /* @__PURE__ */ p("div", { className:
|
|
3672
|
-
/* @__PURE__ */ p("div", { className:
|
|
3672
|
+
return /* @__PURE__ */ p("div", { className: K.stepWrapper, children: [
|
|
3673
|
+
/* @__PURE__ */ p("div", { className: K.circleContainer, children: [
|
|
3673
3674
|
/* @__PURE__ */ s(
|
|
3674
3675
|
"div",
|
|
3675
3676
|
{
|
|
3676
|
-
className: `${
|
|
3677
|
-
${t ?
|
|
3678
|
-
${r ?
|
|
3677
|
+
className: `${K.circle}
|
|
3678
|
+
${t ? K.active : ""}
|
|
3679
|
+
${r ? K.completed : ""}`,
|
|
3679
3680
|
style: t ? { backgroundColor: d } : {},
|
|
3680
3681
|
onClick: i.onClick,
|
|
3681
3682
|
children: o + 1
|
|
3682
3683
|
}
|
|
3683
3684
|
),
|
|
3684
|
-
o < n.length - 1 && /* @__PURE__ */ s("div", { className:
|
|
3685
|
+
o < n.length - 1 && /* @__PURE__ */ s("div", { className: K.connector })
|
|
3685
3686
|
] }),
|
|
3686
3687
|
/* @__PURE__ */ s(
|
|
3687
3688
|
"div",
|
|
3688
3689
|
{
|
|
3689
|
-
className: `${
|
|
3690
|
+
className: `${K.label} ${t ? K.labelActive : ""}`,
|
|
3690
3691
|
children: i.name
|
|
3691
3692
|
}
|
|
3692
3693
|
)
|
|
@@ -3751,7 +3752,7 @@ pi.propTypes = {
|
|
|
3751
3752
|
backgroundColor: e.string,
|
|
3752
3753
|
isFooter: e.bool
|
|
3753
3754
|
};
|
|
3754
|
-
const mi = "_sidebar_1fmjn_2", hi = "_open_1fmjn_16", gi = "_content_1fmjn_20", Ci = "_closeButton_1fmjn_26",
|
|
3755
|
+
const mi = "_sidebar_1fmjn_2", hi = "_open_1fmjn_16", gi = "_content_1fmjn_20", Ci = "_closeButton_1fmjn_26", ye = {
|
|
3755
3756
|
sidebar: mi,
|
|
3756
3757
|
open: hi,
|
|
3757
3758
|
content: gi,
|
|
@@ -3768,10 +3769,10 @@ const mi = "_sidebar_1fmjn_2", hi = "_open_1fmjn_16", gi = "_content_1fmjn_20",
|
|
|
3768
3769
|
return /* @__PURE__ */ s(
|
|
3769
3770
|
"div",
|
|
3770
3771
|
{
|
|
3771
|
-
className: `${
|
|
3772
|
+
className: `${ye.sidebar} ${i ? ye.open : ""}`,
|
|
3772
3773
|
style: { width: i ? n : 0 },
|
|
3773
|
-
children: i && /* @__PURE__ */ p("div", { className:
|
|
3774
|
-
/* @__PURE__ */ s("button", { className:
|
|
3774
|
+
children: i && /* @__PURE__ */ p("div", { className: ye.content, children: [
|
|
3775
|
+
/* @__PURE__ */ s("button", { className: ye.closeButton, onClick: t, children: /* @__PURE__ */ s("img", { src: fi, alt: "Close Sidebar" }) }),
|
|
3775
3776
|
d
|
|
3776
3777
|
] })
|
|
3777
3778
|
}
|
|
@@ -3788,10 +3789,10 @@ export {
|
|
|
3788
3789
|
B2 as ButtonsList,
|
|
3789
3790
|
ne as DropdownList,
|
|
3790
3791
|
Ii as EditAmbit,
|
|
3791
|
-
|
|
3792
|
+
Ce as ErrorMessage,
|
|
3792
3793
|
Q2 as FiltersAmbit,
|
|
3793
3794
|
ji as Form,
|
|
3794
|
-
|
|
3795
|
+
ve as GeneralButton,
|
|
3795
3796
|
n0 as Graphic,
|
|
3796
3797
|
pi as HeaderSection,
|
|
3797
3798
|
y0 as IndicatorsList,
|