@tmf_ciclica/ciclicastorybook 1.2.12 → 1.2.14
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 +7 -7
- package/dist/index.es.js +714 -707
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
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_1ks7x_2{display:flex;gap:8px}._buttonsContainer_1ks7x_2._vertical_1ks7x_6{flex-direction:column}._buttonsContainer_1ks7x_2._horizontal_1ks7x_9{flex-direction:row}._button_1ks7x_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1ks7x_2:hover{opacity:.8}._button_1ks7x_2._active_1ks7x_25{font-weight:700}._button_1ks7x_2 ._buttonName_1ks7x_28{margin:0 4px}._button_1ks7x_2:disabled{opacity:.5!important;cursor:auto}._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}._indicatorsCategory_11gdl_2{overflow:hidden;min-height:50px}._indicatorsCategory_11gdl_2 ._title_11gdl_6{align-items:center;gap:10px;cursor:pointer;display:grid;height:50px;grid-template-columns:12px auto}._indicatorsCategory_11gdl_2 ._title_11gdl_6._mainTitle_11gdl_14{border-bottom:1px solid;height:70px}._indicatorsCategory_11gdl_2 ._list_11gdl_18{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._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}._GeographicalFilters_cn837_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start}._GeographicalFilters_cn837_2 ._AppliedFilterContent_cn837_10{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:20px;border-radius:100px}._layersList_cn837_25{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:column;align-items:flex-start}._layerName_cn837_34{padding-left:25px;cursor:pointer}._checkboxContainer_1nxra_2{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_1nxra_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_4u41i_2,._container_4u41i_2 span{font-size:14px}._container_4u41i_2 ._unitLabel_4u41i_8{height:40px}._container_4u41i_2 ._slider_4u41i_11{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_4u41i_2 ._thumb_4u41i_17{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_4u41i_2 ._track_4u41i_26{top:0;bottom:0;background:#605b56;border-radius:3px}._container_4u41i_2 ._labels_4u41i_32{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_bp6cj_2{width:100%;height:100%;padding-left:24px;position:relative;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:start;gap:20px}._FiltersAmbitContainer_bp6cj_2 ._FiltersAmbitHeader_bp6cj_15{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_bp6cj_2 ._FiltersAmbitHeader_bp6cj_15 ._FiltersAmbitTitle_bp6cj_23{font-size:18px;font-weight:600;border-bottom:1.5px solid #605B56;width:100%;height:70px;display:flex;align-items:center}._FiltersAmbitContainer_bp6cj_2 ._FiltersAmbitHeader_bp6cj_15 ._FiltersAmbitDescription_bp6cj_32{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_bp6cj_2 ._FiltersAmbitHeader_bp6cj_15 ._FiltersAmbitDescription_bp6cj_32 ._FiltersAmbitDescriptionTitle_bp6cj_43{font-size:18px;font-weight:600}._FiltersAmbitContainer_bp6cj_2 ._warning_bp6cj_47{color:red}._FiltersAmbitContainer_bp6cj_2 ._buttonContainer_bp6cj_50{width:100%;margin-left:-24px;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:column;align-items:center;margin-bottom:20px;height:60px}._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_arwy3_2{overflow:hidden}._indicatorsCategory_arwy3_2 ._title_arwy3_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px;display:grid;grid-template-columns:12px auto}._indicatorsCategory_arwy3_2 ._list_arwy3_13{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_17b40_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_17b40_2 ._indicatorNameContainer_17b40_11{gap:8px;display:grid;grid-template-columns:15px auto;align-items:center}._indicatorContainer_17b40_2 ._dot_17b40_17{border-radius:100px;width:13px;height:13px;display:flex;align-items:center;justify-content:center}._indicatorContainer_17b40_2 ._indicatorName_17b40_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_17b40_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start}._switchExternalContainer_17b40_31 ._switchType_17b40_39{margin:0;width:100%}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:9px;cursor:pointer}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54 ._customRadious_17b40_64{width:13px;height:13px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54 ._optionText_17b40_71{font-weight:400}._indicatorsSubCategory_1nuug_2{overflow:hidden}._indicatorsSubCategory_1nuug_2 h3{text-align:left;display:grid;gap:10px;grid-template-columns:12px auto}._indicatorsSubCategory_1nuug_2 ._list_1nuug_11{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_13b3m_2{width:100%;padding-left:30px}._indicatorsList_13b3m_2 ._title_13b3m_6{border-bottom:1px solid;height:70px;display:flex;align-items:center;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_1prh1_2{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}._slider_1prh1_2 ._playButton_1prh1_14,._slider_1prh1_2 ._playButton_1prh1_14._hover_1prh1_17{background-color:transparent!important}._slider_1prh1_2 ._playButton_1prh1_14 img{height:30px;width:30px}._sliderOpen_1prh1_25{right:490px}._sliderResults_1prh1_29{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_1prh1_29 ._playButton_1prh1_14,._sliderResults_1prh1_29 ._playButton_1prh1_14._hover_1prh1_17{background-color:transparent!important}._sliderResults_1prh1_29 ._playButton_1prh1_14 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_1ox68_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;padding-left:24px;min-height:100%;flex:1}._elementSelector_1ox68_2 ._header_1ox68_14{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;height:70px}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24{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_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementName_1ox68_40{font-size:18px;font-weight:600;flex:1}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementName_1ox68_40 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementDate_1ox68_54{font-size:18px;font-weight:600;flex:.5}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementDate_1ox68_54 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1ox68_2 ._header_1ox68_14 ._buttonsContainer_1ox68_68{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_1ox68_2 ._elementListContainer_1ox68_77{flex:1;width:100%}._elementSelector_1ox68_2 ._newElementButtonContainer_1ox68_81{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px;padding-top:50px}._listElement_1evjl_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;padding-right:15px}._listElement_1evjl_2 ._elementNameDate_1evjl_18{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._listElement_1evjl_2 ._elementNameDate_1evjl_18 ._elementNameContainer_1evjl_28{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative}._listElement_1evjl_2 ._elementNameDate_1evjl_18 ._elementName_1evjl_18{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_1evjl_2 ._elementNameDate_1evjl_18 ._elementDate_1evjl_43{flex:.5}._listElement_1evjl_2 ._elementButtons_1evjl_46{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_1evjl_2 ._elementButtons_1evjl_46 button:disabled{opacity:.5;cursor:default}._listElement_1evjl_2 ._elementButtons_1evjl_46 img{display:inline}._break_1evjl_64{flex-basis:100%;height:0}._moreInfoContainer_1evjl_69 ._moreInfo_1evjl_69{display:flex;gap:5px;cursor:pointer}._formContainer_asv64_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_asv64_2 ._categorySelectorContainer_asv64_11{margin-bottom:5px;width:100%}._formContainer_asv64_2 ._formObjectContainer_asv64_15{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:center;flex:1;width:100%;gap:80px}._formContainer_asv64_2 ._buttonContainer_asv64_26{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._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}._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_1lekm_2{display:grid;width:100%}._rankingSliderContainer_1lekm_2 ._labelContainer_1lekm_6{margin-bottom:25px;color:#605b56}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10{width:100%;position:relative;display:flex;gap:14px;align-items:center;flex-wrap:nowrap;justify-content:center;height:48px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._slider_1lekm_20{height:3px;background:#efefef;border-radius:3px;position:relative;min-width:250px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._thumb_1lekm_27{height:15px;width:15px;border-radius:50%;cursor:grab;top:-100%;transform:translateY(-20%);outline:none}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37{display:flex;justify-content:space-between;margin-top:8px;font-size:14px;color:#444}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 span{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:10px;height:20px;position:relative}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 span:before{content:"";background:#efefef;width:10px;height:10px;position:absolute;top:-14.5px;border-radius:50%}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 ._labelsText_1lekm_64{color:#605b56}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._minLabel_1lekm_67,._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._maxLabel_1lekm_67{align-self:baseline;padding-top:10px;color:#605b56;font-size:12px;white-space:nowrap;margin-top:-7px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._minLabel_1lekm_67{text-align:right}._categorySelector_1t164_2{min-height:50px;width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:10px;background-color:#efefef;border-radius:10px;padding:5px}._categorySelector_1t164_2 ._sectionItemActive_1t164_16{color:#fff}._categorySelector_1t164_2 ._sectionItem_1t164_16{border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;padding:5px;min-width:120px;height:100%}._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}._statusTextContainer_ch14r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:128px;height:31px;border-radius:200px}._statusTextContainer_ch14r_2 span{font-size:16px;color:#605b56}._buttonsContainer_1c7dw_2{padding:5px 7px;background-color:#efefef;border-radius:10px;display:flex;gap:8px}._buttonsContainer_1c7dw_2 ._button_1c7dw_2{border-radius:10px;display:flex;align-items:center;cursor:pointer;padding:4px;color:#605b56}._buttonsContainer_1c7dw_2 ._button_1c7dw_2:hover{opacity:.8}._buttonsContainer_1c7dw_2 ._button_1c7dw_2._active_1c7dw_20{background:#b32f5d;color:#efefef}._switchContainer_194wl_2{display:flex;align-items:center;gap:10px;font-size:12px;justify-content:center}._switchContainer_194wl_2 ._labelRight_194wl_9,._switchContainer_194wl_2 ._labelLeft_194wl_9{white-space:nowrap;color:#605b56}._switchContainer_194wl_2 ._labelLeft_194wl_9{text-align:right}._switch_194wl_2{position:relative;display:inline-block;width:44px;height:24px}._switch_194wl_2 input{opacity:0;width:0;height:0}._switch_194wl_2 ._slider_194wl_28{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#fff;border-radius:24px;transition:background-color .3s;border:2px solid #605b56}._switch_194wl_2 ._slider_194wl_28:before{position:absolute;content:"";height:16px;width:16px;left:3px;bottom:2.5px;background-color:var(--switch-thumb-color, #ccc);border-radius:50%;transition:transform .3s,background-color .3s}._switch_194wl_2 input:checked+._slider_194wl_28:before{transform:translate(20px)}._switch_194wl_2._disabled_194wl_54{opacity:.5;pointer-events:none}._overlay_1xyw2_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999}._popup_1xyw2_15{background:#fff;padding:2rem;border-radius:12px;display:flex;flex-direction:column;align-items:center;box-shadow:0 4px 20px #0003}._gif_1xyw2_25{width:120px;height:auto;margin-bottom:1rem}._message_1xyw2_31{font-size:1.1rem;text-align:center}._container_gnwec_2{position:relative}._burger_gnwec_6{position:fixed;top:1rem;right:1rem;width:32px;height:32px;display:flex;flex-direction:column;justify-content:space-between;background:none;border:none;padding:0;cursor:pointer;z-index:1000}._burger_gnwec_6 span{display:block;height:4px;border-radius:2px;transition:.3s ease}._open_gnwec_29 span:nth-child(1){transform:translateY(18px) rotate(45deg)}._open_gnwec_29 span:nth-child(2){opacity:0}._open_gnwec_29 span:nth-child(3){transform:translateY(-10px) rotate(-45deg)}._menu_gnwec_41{position:fixed;top:0;right:0;width:250px;height:100vh;padding:1.5rem;display:flex;flex-direction:column;box-shadow:-2px 0 8px #00000026;animation:_slideIn_gnwec_1 .3s ease forwards;z-index:999}@keyframes _slideIn_gnwec_1{0%{transform:translate(100%)}to{transform:translate(0)}}._close_gnwec_63{align-self:flex-end;background:none;border:none;font-size:24px;cursor:pointer}._list_gnwec_71{list-style:none;padding:0;margin-top:50px;display:flex;flex-direction:column;gap:1rem}._link_gnwec_80,._button_gnwec_81{text-decoration:none;color:inherit;font-size:18px;border:none;background:none;cursor:pointer}._active_gnwec_90{font-weight:700;border-bottom:3px solid}._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_1kaqu_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_1kaqu_16{border-left:1px solid #ddd}._content_1kaqu_20{position:relative;height:100%}._closeButton_1kaqu_25{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease;z-index:10}._closeButton_1kaqu_25: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_1ks7x_2{display:flex;gap:8px}._buttonsContainer_1ks7x_2._vertical_1ks7x_6{flex-direction:column}._buttonsContainer_1ks7x_2._horizontal_1ks7x_9{flex-direction:row}._button_1ks7x_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1ks7x_2:hover{opacity:.8}._button_1ks7x_2._active_1ks7x_25{font-weight:700}._button_1ks7x_2 ._buttonName_1ks7x_28{margin:0 4px}._button_1ks7x_2:disabled{opacity:.5!important;cursor:auto}._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}._indicatorsCategory_11gdl_2{overflow:hidden;min-height:50px}._indicatorsCategory_11gdl_2 ._title_11gdl_6{align-items:center;gap:10px;cursor:pointer;display:grid;height:50px;grid-template-columns:12px auto}._indicatorsCategory_11gdl_2 ._title_11gdl_6._mainTitle_11gdl_14{border-bottom:1px solid;height:70px}._indicatorsCategory_11gdl_2 ._list_11gdl_18{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._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}._GeographicalFilters_cn837_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start}._GeographicalFilters_cn837_2 ._AppliedFilterContent_cn837_10{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:20px;border-radius:100px}._layersList_cn837_25{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:column;align-items:flex-start}._layerName_cn837_34{padding-left:25px;cursor:pointer}._checkboxContainer_1nxra_2{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_1nxra_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_4u41i_2,._container_4u41i_2 span{font-size:14px}._container_4u41i_2 ._unitLabel_4u41i_8{height:40px}._container_4u41i_2 ._slider_4u41i_11{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_4u41i_2 ._thumb_4u41i_17{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_4u41i_2 ._track_4u41i_26{top:0;bottom:0;background:#605b56;border-radius:3px}._container_4u41i_2 ._labels_4u41i_32{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_bp6cj_2{width:100%;height:100%;padding-left:24px;position:relative;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:start;gap:20px}._FiltersAmbitContainer_bp6cj_2 ._FiltersAmbitHeader_bp6cj_15{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_bp6cj_2 ._FiltersAmbitHeader_bp6cj_15 ._FiltersAmbitTitle_bp6cj_23{font-size:18px;font-weight:600;border-bottom:1.5px solid #605B56;width:100%;height:70px;display:flex;align-items:center}._FiltersAmbitContainer_bp6cj_2 ._FiltersAmbitHeader_bp6cj_15 ._FiltersAmbitDescription_bp6cj_32{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_bp6cj_2 ._FiltersAmbitHeader_bp6cj_15 ._FiltersAmbitDescription_bp6cj_32 ._FiltersAmbitDescriptionTitle_bp6cj_43{font-size:18px;font-weight:600}._FiltersAmbitContainer_bp6cj_2 ._warning_bp6cj_47{color:red}._FiltersAmbitContainer_bp6cj_2 ._buttonContainer_bp6cj_50{width:100%;margin-left:-24px;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:column;align-items:center;margin-bottom:20px;height:60px}._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_arwy3_2{overflow:hidden}._indicatorsCategory_arwy3_2 ._title_arwy3_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px;display:grid;grid-template-columns:12px auto}._indicatorsCategory_arwy3_2 ._list_arwy3_13{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_17b40_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_17b40_2 ._indicatorNameContainer_17b40_11{gap:8px;display:grid;grid-template-columns:15px auto;align-items:center}._indicatorContainer_17b40_2 ._dot_17b40_17{border-radius:100px;width:13px;height:13px;display:flex;align-items:center;justify-content:center}._indicatorContainer_17b40_2 ._indicatorName_17b40_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_17b40_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start}._switchExternalContainer_17b40_31 ._switchType_17b40_39{margin:0;width:100%}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:9px;cursor:pointer}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54 ._customRadious_17b40_64{width:13px;height:13px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54 ._optionText_17b40_71{font-weight:400}._indicatorsSubCategory_1nuug_2{overflow:hidden}._indicatorsSubCategory_1nuug_2 h3{text-align:left;display:grid;gap:10px;grid-template-columns:12px auto}._indicatorsSubCategory_1nuug_2 ._list_1nuug_11{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_13b3m_2{width:100%;padding-left:30px}._indicatorsList_13b3m_2 ._title_13b3m_6{border-bottom:1px solid;height:70px;display:flex;align-items:center;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_1prh1_2{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}._slider_1prh1_2 ._playButton_1prh1_14,._slider_1prh1_2 ._playButton_1prh1_14._hover_1prh1_17{background-color:transparent!important}._slider_1prh1_2 ._playButton_1prh1_14 img{height:30px;width:30px}._sliderOpen_1prh1_25{right:490px}._sliderResults_1prh1_29{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_1prh1_29 ._playButton_1prh1_14,._sliderResults_1prh1_29 ._playButton_1prh1_14._hover_1prh1_17{background-color:transparent!important}._sliderResults_1prh1_29 ._playButton_1prh1_14 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_1ox68_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;padding-left:24px;min-height:100%;flex:1}._elementSelector_1ox68_2 ._header_1ox68_14{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;height:70px}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24{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_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementName_1ox68_40{font-size:18px;font-weight:600;flex:1}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementName_1ox68_40 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementDate_1ox68_54{font-size:18px;font-weight:600;flex:.5}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementDate_1ox68_54 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1ox68_2 ._header_1ox68_14 ._buttonsContainer_1ox68_68{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_1ox68_2 ._elementListContainer_1ox68_77{flex:1;width:100%}._elementSelector_1ox68_2 ._newElementButtonContainer_1ox68_81{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px;padding-top:50px}._listElement_1evjl_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;padding-right:15px}._listElement_1evjl_2 ._elementNameDate_1evjl_18{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._listElement_1evjl_2 ._elementNameDate_1evjl_18 ._elementNameContainer_1evjl_28{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative}._listElement_1evjl_2 ._elementNameDate_1evjl_18 ._elementName_1evjl_18{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_1evjl_2 ._elementNameDate_1evjl_18 ._elementDate_1evjl_43{flex:.5}._listElement_1evjl_2 ._elementButtons_1evjl_46{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_1evjl_2 ._elementButtons_1evjl_46 button:disabled{opacity:.5;cursor:default}._listElement_1evjl_2 ._elementButtons_1evjl_46 img{display:inline}._break_1evjl_64{flex-basis:100%;height:0}._moreInfoContainer_1evjl_69 ._moreInfo_1evjl_69{display:flex;gap:5px;cursor:pointer}._formContainer_asv64_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_asv64_2 ._categorySelectorContainer_asv64_11{margin-bottom:5px;width:100%}._formContainer_asv64_2 ._formObjectContainer_asv64_15{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:center;flex:1;width:100%;gap:80px}._formContainer_asv64_2 ._buttonContainer_asv64_26{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._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}._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_1lekm_2{display:grid;width:100%}._rankingSliderContainer_1lekm_2 ._labelContainer_1lekm_6{margin-bottom:25px;color:#605b56}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10{width:100%;position:relative;display:flex;gap:14px;align-items:center;flex-wrap:nowrap;justify-content:center;height:48px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._slider_1lekm_20{height:3px;background:#efefef;border-radius:3px;position:relative;min-width:250px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._thumb_1lekm_27{height:15px;width:15px;border-radius:50%;cursor:grab;top:-100%;transform:translateY(-20%);outline:none}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37{display:flex;justify-content:space-between;margin-top:8px;font-size:14px;color:#444}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 span{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:10px;height:20px;position:relative}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 span:before{content:"";background:#efefef;width:10px;height:10px;position:absolute;top:-14.5px;border-radius:50%}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 ._labelsText_1lekm_64{color:#605b56}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._minLabel_1lekm_67,._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._maxLabel_1lekm_67{align-self:baseline;padding-top:10px;color:#605b56;font-size:12px;white-space:nowrap;margin-top:-7px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._minLabel_1lekm_67{text-align:right}._categorySelector_1t164_2{min-height:50px;width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:10px;background-color:#efefef;border-radius:10px;padding:5px}._categorySelector_1t164_2 ._sectionItemActive_1t164_16{color:#fff}._categorySelector_1t164_2 ._sectionItem_1t164_16{border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;padding:5px;min-width:120px;height:100%}._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}._statusTextContainer_ch14r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:128px;height:31px;border-radius:200px}._statusTextContainer_ch14r_2 span{font-size:16px;color:#605b56}._buttonsContainer_1c7dw_2{padding:5px 7px;background-color:#efefef;border-radius:10px;display:flex;gap:8px}._buttonsContainer_1c7dw_2 ._button_1c7dw_2{border-radius:10px;display:flex;align-items:center;cursor:pointer;padding:4px;color:#605b56}._buttonsContainer_1c7dw_2 ._button_1c7dw_2:hover{opacity:.8}._buttonsContainer_1c7dw_2 ._button_1c7dw_2._active_1c7dw_20{background:#b32f5d;color:#efefef}._switchContainer_194wl_2{display:flex;align-items:center;gap:10px;font-size:12px;justify-content:center}._switchContainer_194wl_2 ._labelRight_194wl_9,._switchContainer_194wl_2 ._labelLeft_194wl_9{white-space:nowrap;color:#605b56}._switchContainer_194wl_2 ._labelLeft_194wl_9{text-align:right}._switch_194wl_2{position:relative;display:inline-block;width:44px;height:24px}._switch_194wl_2 input{opacity:0;width:0;height:0}._switch_194wl_2 ._slider_194wl_28{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#fff;border-radius:24px;transition:background-color .3s;border:2px solid #605b56}._switch_194wl_2 ._slider_194wl_28:before{position:absolute;content:"";height:16px;width:16px;left:3px;bottom:2.5px;background-color:var(--switch-thumb-color, #ccc);border-radius:50%;transition:transform .3s,background-color .3s}._switch_194wl_2 input:checked+._slider_194wl_28:before{transform:translate(20px)}._switch_194wl_2._disabled_194wl_54{opacity:.5;pointer-events:none}._overlay_1xyw2_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999}._popup_1xyw2_15{background:#fff;padding:2rem;border-radius:12px;display:flex;flex-direction:column;align-items:center;box-shadow:0 4px 20px #0003}._gif_1xyw2_25{width:120px;height:auto;margin-bottom:1rem}._message_1xyw2_31{font-size:1.1rem;text-align:center}._container_1lj4l_3{position:relative}._burger_1lj4l_8{position:fixed;top:1rem;right:1rem;background:none;border:none;cursor:pointer;z-index:1000}._menu_1lj4l_19{position:fixed;top:0;right:0;width:250px;height:100vh;padding:1.5rem;box-shadow:-2px 0 8px #00000026;z-index:999;transform:translate(100%);transition:transform .35s cubic-bezier(.4,0,.2,1)}._menuOpen_1lj4l_33{transform:translate(0)}._menuClose_1lj4l_38{transform:translate(100%);pointer-events:none}._list_1lj4l_44{list-style:none;padding:0;margin-top:50px;display:flex;flex-direction:column;gap:1rem}._item_1lj4l_54{opacity:0;transform:translate(20px);transition:opacity .3s ease,transform .3s ease;font-size:16px!important}._menuOpen_1lj4l_33 ._item_1lj4l_54{opacity:1;transform:translate(0)}._menuOpen_1lj4l_33 ._item_1lj4l_54:nth-child(1){transition-delay:.05s}._menuOpen_1lj4l_33 ._item_1lj4l_54:nth-child(2){transition-delay:.1s}._menuOpen_1lj4l_33 ._item_1lj4l_54:nth-child(3){transition-delay:.15s}._menuOpen_1lj4l_33 ._item_1lj4l_54:nth-child(4){transition-delay:.2s}._menuOpen_1lj4l_33 ._item_1lj4l_54:nth-child(5){transition-delay:.25s}._button_1lj4l_89{background:none;border:none;color:inherit;font-size:18px;cursor:pointer;padding: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_1kaqu_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_1kaqu_16{border-left:1px solid #ddd}._content_1kaqu_20{position:relative;height:100%}._closeButton_1kaqu_25{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease;z-index:10}._closeButton_1kaqu_25: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 n, Fragment as Ee } from "react/jsx-runtime";
|
|
3
3
|
import * as me from "react";
|
|
4
|
-
import D, { useState as A, useEffect as F, useMemo as he, useLayoutEffect as
|
|
4
|
+
import D, { useState as A, useEffect as F, useMemo as he, useLayoutEffect as Pt, useRef as ae } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
|
-
import { useTranslation as
|
|
6
|
+
import { useTranslation as B, Trans as We } from "react-i18next";
|
|
7
7
|
import { motion as Ge } from "framer-motion";
|
|
8
8
|
import { create as Ct } from "zustand";
|
|
9
9
|
import * as Ae from "d3";
|
|
10
|
-
import
|
|
11
|
-
import { useSelector as
|
|
12
|
-
import
|
|
10
|
+
import Et from "mapbox-gl";
|
|
11
|
+
import { useSelector as jt } from "react-redux";
|
|
12
|
+
import Zt, { Source as zt, Layer as Ht, NavigationControl as Kt, Popup as Ut } from "react-map-gl/mapbox";
|
|
13
13
|
import Ie from "maplibre-gl";
|
|
14
|
-
import { Protocol as
|
|
15
|
-
import
|
|
16
|
-
import { createSlice as
|
|
17
|
-
import
|
|
18
|
-
import { createTheme as
|
|
19
|
-
import { ThemeProvider as
|
|
20
|
-
import { NavLink as
|
|
21
|
-
const r2 = "_ambitSelector_mcunf_2", a2 = "_header_mcunf_13", l2 = "_nameDateContainer_mcunf_23", c2 = "_ambitName_mcunf_39", d2 = "_ambitDate_mcunf_53", u2 = "_buttonsContainer_mcunf_67", p2 = "_ambitListContainer_mcunf_76", m2 = "_newAmbitButtonContainer_mcunf_80",
|
|
14
|
+
import { Protocol as Wt } from "pmtiles";
|
|
15
|
+
import Gt, { Source as Yt, Layer as Xt, NavigationControl as Qt, Popup as Jt } from "react-map-gl/maplibre";
|
|
16
|
+
import { createSlice as e2 } from "@reduxjs/toolkit";
|
|
17
|
+
import t2 from "@mui/material/Slider";
|
|
18
|
+
import { createTheme as n2, Box as i2 } from "@mui/material";
|
|
19
|
+
import { ThemeProvider as s2 } from "@emotion/react";
|
|
20
|
+
import { NavLink as o2 } from "react-router-dom";
|
|
21
|
+
const r2 = "_ambitSelector_mcunf_2", a2 = "_header_mcunf_13", l2 = "_nameDateContainer_mcunf_23", c2 = "_ambitName_mcunf_39", d2 = "_ambitDate_mcunf_53", u2 = "_buttonsContainer_mcunf_67", p2 = "_ambitListContainer_mcunf_76", m2 = "_newAmbitButtonContainer_mcunf_80", X = {
|
|
22
22
|
ambitSelector: r2,
|
|
23
23
|
header: a2,
|
|
24
24
|
nameDateContainer: l2,
|
|
@@ -33,7 +33,7 @@ const r2 = "_ambitSelector_mcunf_2", a2 = "_header_mcunf_13", l2 = "_nameDateCon
|
|
|
33
33
|
ambitName: C2,
|
|
34
34
|
ambitDate: f2,
|
|
35
35
|
ambitButtons: b2
|
|
36
|
-
}, y2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", _2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", v2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", w2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", x2 = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205138'%3e%3cpath%20id='Vector'%20d='M12.95%200.408447C7.659%200.408447%202.84899%202.77185%200.0832465%206.72621C-0.0277488%206.88808%20-0.0277488%207.09621%200.0832465%207.25807C2.84439%2011.2125%207.65437%2013.5712%2012.95%2013.5712C18.2456%2013.5712%2023.0556%2011.2125%2025.8168%207.25807C25.9278%207.0962%2025.9278%206.88807%2025.8168%206.72621C23.051%202.77184%2018.241%200.408447%2012.95%200.408447ZM12.95%2011.2217C10.619%2011.2217%208.71812%209.32083%208.71812%206.98984C8.71812%204.65885%2010.619%202.75796%2012.95%202.75796C15.281%202.75796%2017.1819%204.65883%2017.1819%206.98984C17.1819%209.32085%2015.281%2011.2217%2012.95%2011.2217Z'%20fill='%23B32F5D'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%2010.2966C14.7777%2010.2966%2016.2583%208.81607%2016.2583%206.98974C16.2583%205.1634%2014.7777%203.68286%2012.9514%203.68286C11.1251%203.68286%209.64453%205.1634%209.64453%206.98974C9.64453%208.81607%2011.1251%2010.2966%2012.9514%2010.2966Z'%20fill='%23B32F5D'/%3e%3c/g%3e%3c/svg%3e", N2 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", bt = ({
|
|
36
|
+
}, y2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", _2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", v2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", w2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", x2 = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205138'%3e%3cpath%20id='Vector'%20d='M12.95%200.408447C7.659%200.408447%202.84899%202.77185%200.0832465%206.72621C-0.0277488%206.88808%20-0.0277488%207.09621%200.0832465%207.25807C2.84439%2011.2125%207.65437%2013.5712%2012.95%2013.5712C18.2456%2013.5712%2023.0556%2011.2125%2025.8168%207.25807C25.9278%207.0962%2025.9278%206.88807%2025.8168%206.72621C23.051%202.77184%2018.241%200.408447%2012.95%200.408447ZM12.95%2011.2217C10.619%2011.2217%208.71812%209.32083%208.71812%206.98984C8.71812%204.65885%2010.619%202.75796%2012.95%202.75796C15.281%202.75796%2017.1819%204.65883%2017.1819%206.98984C17.1819%209.32085%2015.281%2011.2217%2012.95%2011.2217Z'%20fill='%23B32F5D'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%2010.2966C14.7777%2010.2966%2016.2583%208.81607%2016.2583%206.98974C16.2583%205.1634%2014.7777%203.68286%2012.9514%203.68286C11.1251%203.68286%209.64453%205.1634%209.64453%206.98974C9.64453%208.81607%2011.1251%2010.2966%2012.9514%2010.2966Z'%20fill='%23B32F5D'/%3e%3c/g%3e%3c/svg%3e", N2 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", ft = ({
|
|
37
37
|
ambit: i,
|
|
38
38
|
onClickCopy: d,
|
|
39
39
|
onClickDelete: s,
|
|
@@ -44,7 +44,7 @@ const r2 = "_ambitSelector_mcunf_2", a2 = "_header_mcunf_13", l2 = "_nameDateCon
|
|
|
44
44
|
fontColor: a,
|
|
45
45
|
moreInfo: c
|
|
46
46
|
}) => {
|
|
47
|
-
const { name: u, created_at:
|
|
47
|
+
const { name: u, created_at: h, id: m, isBeingProcessed: y } = i;
|
|
48
48
|
return /* @__PURE__ */ p(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
@@ -62,10 +62,10 @@ const r2 = "_ambitSelector_mcunf_2", a2 = "_header_mcunf_13", l2 = "_nameDateCon
|
|
|
62
62
|
),
|
|
63
63
|
/* @__PURE__ */ n("span", { style: { color: r ? l : a }, children: u })
|
|
64
64
|
] }),
|
|
65
|
-
/* @__PURE__ */ n("div", { className: ge.ambitDate, children:
|
|
65
|
+
/* @__PURE__ */ n("div", { className: ge.ambitDate, children: h ? new Date(h).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
67
67
|
/* @__PURE__ */ p("div", { className: ge.ambitButtons, children: [
|
|
68
|
-
|
|
68
|
+
y && /* @__PURE__ */ n("img", { src: w2 }),
|
|
69
69
|
/* @__PURE__ */ n("button", { onClick: () => o(m), disabled: i.is_default, children: /* @__PURE__ */ n("img", { src: v2 }) }),
|
|
70
70
|
/* @__PURE__ */ n("button", { onClick: () => d(m), children: /* @__PURE__ */ n("img", { src: _2 }) }),
|
|
71
71
|
/* @__PURE__ */ n("button", { onClick: () => s(m), disabled: i.is_default, children: /* @__PURE__ */ n("img", { src: y2 }) })
|
|
@@ -74,7 +74,7 @@ const r2 = "_ambitSelector_mcunf_2", a2 = "_header_mcunf_13", l2 = "_nameDateCon
|
|
|
74
74
|
}
|
|
75
75
|
);
|
|
76
76
|
};
|
|
77
|
-
|
|
77
|
+
ft.propTypes = {
|
|
78
78
|
ambit: e.shape({
|
|
79
79
|
name: e.string.isRequired,
|
|
80
80
|
created_at: e.string,
|
|
@@ -92,7 +92,7 @@ bt.propTypes = {
|
|
|
92
92
|
moreInfo: e.object
|
|
93
93
|
// Optional, can be used for additional info
|
|
94
94
|
};
|
|
95
|
-
const Je = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", k2 = "_generalButton_phq4n_2",
|
|
95
|
+
const Je = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", k2 = "_generalButton_phq4n_2", $2 = {
|
|
96
96
|
generalButton: k2
|
|
97
97
|
}, Fe = ({
|
|
98
98
|
children: i,
|
|
@@ -106,7 +106,7 @@ const Je = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
106
106
|
}) => /* @__PURE__ */ n(
|
|
107
107
|
"button",
|
|
108
108
|
{
|
|
109
|
-
className:
|
|
109
|
+
className: $2.generalButton,
|
|
110
110
|
style: {
|
|
111
111
|
color: s,
|
|
112
112
|
border: `1.5px solid ${o}`,
|
|
@@ -118,7 +118,7 @@ const Je = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
118
118
|
disabled: a,
|
|
119
119
|
children: i
|
|
120
120
|
}
|
|
121
|
-
),
|
|
121
|
+
), S2 = ({
|
|
122
122
|
ambitList: i,
|
|
123
123
|
activeAmbitId: d,
|
|
124
124
|
fontColor: s = "#605B56",
|
|
@@ -129,75 +129,75 @@ const Je = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
129
129
|
buttonContainerStyles: a = {},
|
|
130
130
|
containerStyles: c = {},
|
|
131
131
|
onCLickNewAmbit: u = () => console.log("New ambit clicked"),
|
|
132
|
-
onClickCopy:
|
|
133
|
-
onCLickDelete: m = (
|
|
134
|
-
onClickFilters:
|
|
135
|
-
onClickAmbit:
|
|
132
|
+
onClickCopy: h = (b) => console.log(`Copy ambit: ${b}`),
|
|
133
|
+
onCLickDelete: m = (b) => console.log(`Delete ambit: ${b}`),
|
|
134
|
+
onClickFilters: y = (b) => console.log(`Filters clicked: ${b}`),
|
|
135
|
+
onClickAmbit: g = (b) => console.log(`OnCLickAmbit: ${b}`)
|
|
136
136
|
}) => {
|
|
137
|
-
const { t:
|
|
137
|
+
const { t: b } = B(), [v, _] = A(i);
|
|
138
138
|
F(() => {
|
|
139
|
-
i &&
|
|
139
|
+
i && _(i);
|
|
140
140
|
}, [i]);
|
|
141
141
|
const f = (C) => {
|
|
142
142
|
if (v && v.length > 0) {
|
|
143
143
|
let N = [...v];
|
|
144
|
-
N.sort((w, x) => w[C].localeCompare(x[C])),
|
|
144
|
+
N.sort((w, x) => w[C].localeCompare(x[C])), _(N);
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
147
|
return /* @__PURE__ */ p(
|
|
148
148
|
"div",
|
|
149
149
|
{
|
|
150
|
-
className:
|
|
150
|
+
className: X.ambitSelector,
|
|
151
151
|
style: { color: s, ...c },
|
|
152
152
|
children: [
|
|
153
153
|
/* @__PURE__ */ p(
|
|
154
154
|
"div",
|
|
155
155
|
{
|
|
156
|
-
className:
|
|
156
|
+
className: X.header,
|
|
157
157
|
style: { borderBottom: `1px solid ${s}` },
|
|
158
158
|
children: [
|
|
159
|
-
/* @__PURE__ */ p("div", { className:
|
|
160
|
-
/* @__PURE__ */ n("div", { className:
|
|
161
|
-
/* @__PURE__ */ n("span", { children:
|
|
159
|
+
/* @__PURE__ */ p("div", { className: X.nameDateContainer, children: [
|
|
160
|
+
/* @__PURE__ */ n("div", { className: X.ambitName, children: /* @__PURE__ */ p("button", { onClick: () => f("name"), children: [
|
|
161
|
+
/* @__PURE__ */ n("span", { children: b(t) }),
|
|
162
162
|
/* @__PURE__ */ n("img", { src: Je })
|
|
163
163
|
] }) }),
|
|
164
|
-
/* @__PURE__ */ n("div", { className:
|
|
165
|
-
/* @__PURE__ */ n("span", { children:
|
|
164
|
+
/* @__PURE__ */ n("div", { className: X.ambitDate, children: /* @__PURE__ */ p("button", { onClick: () => f("date"), children: [
|
|
165
|
+
/* @__PURE__ */ n("span", { children: b(r) }),
|
|
166
166
|
/* @__PURE__ */ n("img", { src: Je })
|
|
167
167
|
] }) })
|
|
168
168
|
] }),
|
|
169
|
-
/* @__PURE__ */ n("div", { className:
|
|
169
|
+
/* @__PURE__ */ n("div", { className: X.buttonsContainer })
|
|
170
170
|
]
|
|
171
171
|
}
|
|
172
172
|
),
|
|
173
|
-
/* @__PURE__ */ n("div", { className:
|
|
174
|
-
|
|
173
|
+
/* @__PURE__ */ n("div", { className: X.ambitListContainer, children: v && v.length > 0 && v.map((C) => /* @__PURE__ */ n(
|
|
174
|
+
ft,
|
|
175
175
|
{
|
|
176
176
|
isActive: d == C.id,
|
|
177
177
|
ambit: C,
|
|
178
178
|
fontColor: s,
|
|
179
179
|
activeColor: o,
|
|
180
|
-
onClickCopy:
|
|
180
|
+
onClickCopy: h,
|
|
181
181
|
onClickDelete: m,
|
|
182
|
-
onClickFilters:
|
|
183
|
-
onClickAmbit:
|
|
182
|
+
onClickFilters: y,
|
|
183
|
+
onClickAmbit: g
|
|
184
184
|
},
|
|
185
185
|
`ambitKey${C.id}`
|
|
186
186
|
)) }),
|
|
187
|
-
/* @__PURE__ */ n("div", { className:
|
|
187
|
+
/* @__PURE__ */ n("div", { className: X.newAmbitButtonContainer, children: /* @__PURE__ */ n(
|
|
188
188
|
Fe,
|
|
189
189
|
{
|
|
190
190
|
style: { ...a },
|
|
191
191
|
onClick: u,
|
|
192
192
|
borderColor: "grey",
|
|
193
|
-
children:
|
|
193
|
+
children: b(l)
|
|
194
194
|
}
|
|
195
195
|
) })
|
|
196
196
|
]
|
|
197
197
|
}
|
|
198
198
|
);
|
|
199
199
|
};
|
|
200
|
-
|
|
200
|
+
S2.propTypes = {
|
|
201
201
|
ambitList: e.arrayOf(
|
|
202
202
|
e.shape({
|
|
203
203
|
name: e.string.isRequired,
|
|
@@ -219,9 +219,9 @@ $2.propTypes = {
|
|
|
219
219
|
containerStyles: e.object,
|
|
220
220
|
onCLickNewAmbit: e.func
|
|
221
221
|
};
|
|
222
|
-
const
|
|
223
|
-
buttonsContainer:
|
|
224
|
-
vertical:
|
|
222
|
+
const L2 = "_buttonsContainer_1ks7x_2", B2 = "_vertical_1ks7x_6", T2 = "_horizontal_1ks7x_9", M2 = "_button_1ks7x_2", V2 = "_active_1ks7x_25", D2 = "_buttonName_1ks7x_28", ee = {
|
|
223
|
+
buttonsContainer: L2,
|
|
224
|
+
vertical: B2,
|
|
225
225
|
horizontal: T2,
|
|
226
226
|
button: M2,
|
|
227
227
|
active: V2,
|
|
@@ -232,7 +232,7 @@ const B2 = "_buttonsContainer_1ks7x_2", L2 = "_vertical_1ks7x_6", T2 = "_horizon
|
|
|
232
232
|
bottom: I2,
|
|
233
233
|
right: O2
|
|
234
234
|
}, re = ({ text: i, position: d, styleCustom: s = null }) => {
|
|
235
|
-
const { t: o } =
|
|
235
|
+
const { t: o } = B();
|
|
236
236
|
return /* @__PURE__ */ n("div", { className: `tooltip ${R2[d]}`, style: s, children: o(i) });
|
|
237
237
|
};
|
|
238
238
|
re.propTypes = {
|
|
@@ -248,7 +248,7 @@ const q2 = ({
|
|
|
248
248
|
useTooltip: t = !1,
|
|
249
249
|
tooltipPosition: r = "top"
|
|
250
250
|
}) => {
|
|
251
|
-
const { t: l } =
|
|
251
|
+
const { t: l } = B();
|
|
252
252
|
return /* @__PURE__ */ n(
|
|
253
253
|
"div",
|
|
254
254
|
{
|
|
@@ -257,28 +257,28 @@ const q2 = ({
|
|
|
257
257
|
children: i.map((a, c) => {
|
|
258
258
|
const {
|
|
259
259
|
icon: u,
|
|
260
|
-
activeIcon:
|
|
260
|
+
activeIcon: h,
|
|
261
261
|
isActive: m,
|
|
262
|
-
name:
|
|
263
|
-
onClick:
|
|
264
|
-
disabled:
|
|
262
|
+
name: y,
|
|
263
|
+
onClick: g,
|
|
264
|
+
disabled: b
|
|
265
265
|
} = a, v = /* @__PURE__ */ p(Ee, { children: [
|
|
266
|
-
s && o === "left" && /* @__PURE__ */ n("span", { className: ee.buttonName, children: l(
|
|
267
|
-
/* @__PURE__ */ n("img", { src: m ?
|
|
268
|
-
s && o === "right" && /* @__PURE__ */ n("span", { className: ee.buttonName, children: l(
|
|
266
|
+
s && o === "left" && /* @__PURE__ */ n("span", { className: ee.buttonName, children: l(y) }),
|
|
267
|
+
/* @__PURE__ */ n("img", { src: m ? h : u, alt: l(y) }),
|
|
268
|
+
s && o === "right" && /* @__PURE__ */ n("span", { className: ee.buttonName, children: l(y) })
|
|
269
269
|
] });
|
|
270
270
|
return /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
271
271
|
/* @__PURE__ */ n(
|
|
272
272
|
"button",
|
|
273
273
|
{
|
|
274
|
-
onClick:
|
|
274
|
+
onClick: g,
|
|
275
275
|
className: `${ee.button}
|
|
276
276
|
${m && ee.active}`,
|
|
277
|
-
disabled:
|
|
277
|
+
disabled: b,
|
|
278
278
|
children: v
|
|
279
279
|
}
|
|
280
280
|
),
|
|
281
|
-
t && /* @__PURE__ */ n(re, { text:
|
|
281
|
+
t && /* @__PURE__ */ n(re, { text: y, position: r })
|
|
282
282
|
] }, c);
|
|
283
283
|
})
|
|
284
284
|
}
|
|
@@ -319,9 +319,9 @@ const P2 = "_indicatorsCategory_11gdl_2", E2 = "_title_11gdl_6", j2 = "_mainTitl
|
|
|
319
319
|
titleFontStyles: a,
|
|
320
320
|
showBottomBar: c = !0,
|
|
321
321
|
titleMarginChildren: u = 15,
|
|
322
|
-
mainTitle:
|
|
322
|
+
mainTitle: h = !1
|
|
323
323
|
}) => {
|
|
324
|
-
const { t: m } =
|
|
324
|
+
const { t: m } = B();
|
|
325
325
|
return /* @__PURE__ */ p(
|
|
326
326
|
Ge.div,
|
|
327
327
|
{
|
|
@@ -332,7 +332,7 @@ const P2 = "_indicatorsCategory_11gdl_2", E2 = "_title_11gdl_6", j2 = "_mainTitl
|
|
|
332
332
|
style: {
|
|
333
333
|
backgroundColor: "white",
|
|
334
334
|
borderBottom: i && c ? `1px solid ${t}` : "0px",
|
|
335
|
-
minHeight:
|
|
335
|
+
minHeight: h ? "70px" : "50px"
|
|
336
336
|
},
|
|
337
337
|
children: [
|
|
338
338
|
/* @__PURE__ */ p(
|
|
@@ -342,7 +342,7 @@ const P2 = "_indicatorsCategory_11gdl_2", E2 = "_title_11gdl_6", j2 = "_mainTitl
|
|
|
342
342
|
...a
|
|
343
343
|
//marginBottom: titleMarginChildren ? titleMarginChildren : "auto",
|
|
344
344
|
},
|
|
345
|
-
className: `${ke.title} ${
|
|
345
|
+
className: `${ke.title} ${h && ke.mainTitle}`,
|
|
346
346
|
onClick: d,
|
|
347
347
|
children: [
|
|
348
348
|
/* @__PURE__ */ n("span", { style: { color: i ? t : o }, children: i ? "-" : "+" }),
|
|
@@ -350,7 +350,7 @@ const P2 = "_indicatorsCategory_11gdl_2", E2 = "_title_11gdl_6", j2 = "_mainTitl
|
|
|
350
350
|
]
|
|
351
351
|
}
|
|
352
352
|
),
|
|
353
|
-
/* @__PURE__ */ n("div", { className: ke.content, style: { padding:
|
|
353
|
+
/* @__PURE__ */ n("div", { className: ke.content, style: { padding: h ? "20px 0px" : "0px" }, children: s })
|
|
354
354
|
]
|
|
355
355
|
}
|
|
356
356
|
);
|
|
@@ -378,11 +378,11 @@ const Ss = () => /* @__PURE__ */ n("div", { children: "EditAmbit" }), Z2 = "data
|
|
|
378
378
|
inputsColor: "#605B56",
|
|
379
379
|
activeFiltersType: null,
|
|
380
380
|
geoLayers: []
|
|
381
|
-
})),
|
|
382
|
-
const { t: a } =
|
|
383
|
-
M.setState((
|
|
384
|
-
tematicalFiltersSelected:
|
|
385
|
-
(
|
|
381
|
+
})), bt = ({ title: i, onClick: d, isOpen: s = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r, fontColor: l = "#605B56" }) => {
|
|
382
|
+
const { t: a } = B(), { tematicalFiltersSelected: c, activeFiltersType: u } = M((y) => y), h = (y) => {
|
|
383
|
+
M.setState((g) => ({
|
|
384
|
+
tematicalFiltersSelected: g.tematicalFiltersSelected.filter(
|
|
385
|
+
(b) => b.code !== y
|
|
386
386
|
)
|
|
387
387
|
}));
|
|
388
388
|
};
|
|
@@ -397,14 +397,14 @@ const Ss = () => /* @__PURE__ */ n("div", { children: "EditAmbit" }), Z2 = "data
|
|
|
397
397
|
activeColor: r,
|
|
398
398
|
mainTitle: !0,
|
|
399
399
|
color: l,
|
|
400
|
-
children: /* @__PURE__ */ n("div", { className: et.AppliedFiltersContainer, children: c == null ? void 0 : c.map((
|
|
401
|
-
a(
|
|
402
|
-
/* @__PURE__ */ n("img", { src: Z2, alt: "CloseIcon", onClick: () =>
|
|
403
|
-
] },
|
|
400
|
+
children: /* @__PURE__ */ n("div", { className: et.AppliedFiltersContainer, children: c == null ? void 0 : c.map((y, g) => /* @__PURE__ */ p("div", { className: et.AppliedFilterContent, style: { color: o, background: t }, children: [
|
|
401
|
+
a(y.name),
|
|
402
|
+
/* @__PURE__ */ n("img", { src: Z2, alt: "CloseIcon", onClick: () => h(y.code), style: { cursor: "pointer" } })
|
|
403
|
+
] }, g)) })
|
|
404
404
|
}
|
|
405
405
|
);
|
|
406
406
|
};
|
|
407
|
-
|
|
407
|
+
bt.propTypes = {
|
|
408
408
|
isOpen: e.bool,
|
|
409
409
|
onClick: e.func,
|
|
410
410
|
title: e.string,
|
|
@@ -421,7 +421,7 @@ yt.propTypes = {
|
|
|
421
421
|
const K2 = "_layersList_cn837_25", U2 = "_layerName_cn837_34", tt = {
|
|
422
422
|
layersList: K2,
|
|
423
423
|
layerName: U2
|
|
424
|
-
},
|
|
424
|
+
}, yt = ({
|
|
425
425
|
title: i,
|
|
426
426
|
isOpen: d = !0,
|
|
427
427
|
fontColor: s = "#605B56",
|
|
@@ -429,13 +429,13 @@ const K2 = "_layersList_cn837_25", U2 = "_layerName_cn837_34", tt = {
|
|
|
429
429
|
activeColor: t,
|
|
430
430
|
onGeoLayersChange: r
|
|
431
431
|
}) => {
|
|
432
|
-
const { t: l } =
|
|
432
|
+
const { t: l } = B(), { activeFiltersType: a, geoLayers: c } = M((m) => m), u = () => {
|
|
433
433
|
a == "geographical" ? M.setState(() => ({ activeFiltersType: null })) : M.setState(() => ({ activeFiltersType: "geographical" }));
|
|
434
|
-
},
|
|
435
|
-
M.setState((
|
|
436
|
-
geoLayers:
|
|
437
|
-
...
|
|
438
|
-
active:
|
|
434
|
+
}, h = (m) => {
|
|
435
|
+
M.setState((y) => ({
|
|
436
|
+
geoLayers: y.geoLayers.map((g) => ({
|
|
437
|
+
...g,
|
|
438
|
+
active: g.name === m.name
|
|
439
439
|
}))
|
|
440
440
|
})), r(c);
|
|
441
441
|
};
|
|
@@ -455,7 +455,7 @@ const K2 = "_layersList_cn837_25", U2 = "_layerName_cn837_34", tt = {
|
|
|
455
455
|
{
|
|
456
456
|
className: `${tt.layerName}`,
|
|
457
457
|
style: { color: m.active ? t : s, fontWeight: m.active ? "bold" : "normal" },
|
|
458
|
-
onClick: () =>
|
|
458
|
+
onClick: () => h(m),
|
|
459
459
|
children: [
|
|
460
460
|
l(m.name),
|
|
461
461
|
m.active
|
|
@@ -465,7 +465,7 @@ const K2 = "_layersList_cn837_25", U2 = "_layerName_cn837_34", tt = {
|
|
|
465
465
|
}
|
|
466
466
|
);
|
|
467
467
|
};
|
|
468
|
-
|
|
468
|
+
yt.propTypes = {
|
|
469
469
|
isOpen: e.bool,
|
|
470
470
|
onClick: e.func,
|
|
471
471
|
title: e.string,
|
|
@@ -475,14 +475,14 @@ _t.propTypes = {
|
|
|
475
475
|
};
|
|
476
476
|
const W2 = "_checkboxContainer_1nxra_2", G2 = {
|
|
477
477
|
checkboxContainer: W2
|
|
478
|
-
},
|
|
478
|
+
}, _t = ({
|
|
479
479
|
onClick: i,
|
|
480
480
|
containerStyles: d,
|
|
481
481
|
color: s = "#605B56",
|
|
482
482
|
indicator: o,
|
|
483
483
|
value: t
|
|
484
484
|
}) => {
|
|
485
|
-
const { t: r } =
|
|
485
|
+
const { t: r } = B(), { title: l } = o || {}, { fontColor: a, inputsColor: c } = M((u) => u);
|
|
486
486
|
return /* @__PURE__ */ p(
|
|
487
487
|
"div",
|
|
488
488
|
{
|
|
@@ -509,7 +509,7 @@ const W2 = "_checkboxContainer_1nxra_2", G2 = {
|
|
|
509
509
|
}
|
|
510
510
|
);
|
|
511
511
|
};
|
|
512
|
-
|
|
512
|
+
_t.propTypes = {
|
|
513
513
|
onClick: e.func,
|
|
514
514
|
value: e.bool,
|
|
515
515
|
containerStyles: e.object,
|
|
@@ -534,10 +534,10 @@ function Oe(i) {
|
|
|
534
534
|
function Re(i) {
|
|
535
535
|
return i == null ? [] : Array.isArray(i) ? i.slice() : [i];
|
|
536
536
|
}
|
|
537
|
-
function
|
|
537
|
+
function $e(i) {
|
|
538
538
|
return i !== null && i.length === 1 ? i[0] : i.slice();
|
|
539
539
|
}
|
|
540
|
-
function
|
|
540
|
+
function Se(i) {
|
|
541
541
|
Object.keys(i).forEach((d) => {
|
|
542
542
|
typeof document < "u" && document.addEventListener(d, i[d], !1);
|
|
543
543
|
});
|
|
@@ -566,19 +566,19 @@ let ze = function(i) {
|
|
|
566
566
|
t.setState({ index: -1 }, t.onEnd(t.getKeyDownEventMap()));
|
|
567
567
|
}, t.onMouseMove = (a) => {
|
|
568
568
|
t.setState({ pending: !0 });
|
|
569
|
-
const c = t.getMousePosition(a), u = t.getDiffPosition(c[0]),
|
|
570
|
-
t.move(
|
|
569
|
+
const c = t.getMousePosition(a), u = t.getDiffPosition(c[0]), h = t.getValueFromPosition(u);
|
|
570
|
+
t.move(h);
|
|
571
571
|
}, t.onTouchMove = (a) => {
|
|
572
572
|
if (a.touches.length > 1) return;
|
|
573
573
|
t.setState({ pending: !0 });
|
|
574
574
|
const c = t.getTouchPosition(a);
|
|
575
575
|
if (t.isScrolling === void 0) {
|
|
576
|
-
const m = c[0] - t.startPosition[0],
|
|
577
|
-
t.isScrolling = Math.abs(
|
|
576
|
+
const m = c[0] - t.startPosition[0], y = c[1] - t.startPosition[1];
|
|
577
|
+
t.isScrolling = Math.abs(y) > Math.abs(m);
|
|
578
578
|
}
|
|
579
579
|
if (t.isScrolling) return void t.setState({ index: -1 });
|
|
580
|
-
const u = t.getDiffPosition(c[0]),
|
|
581
|
-
t.move(
|
|
580
|
+
const u = t.getDiffPosition(c[0]), h = t.getValueFromPosition(u);
|
|
581
|
+
t.move(h);
|
|
582
582
|
}, t.onKeyDown = (a) => {
|
|
583
583
|
if (!(a.ctrlKey || a.shiftKey || a.altKey || a.metaKey)) switch (t.setState({ pending: !0 }), a.key) {
|
|
584
584
|
case "ArrowLeft":
|
|
@@ -610,7 +610,7 @@ let ze = function(i) {
|
|
|
610
610
|
if (t.setState({ pending: !0 }), !t.props.snapDragDisabled) {
|
|
611
611
|
const c = t.getMousePosition(a);
|
|
612
612
|
t.forceValueFromPosition(c[0], (u) => {
|
|
613
|
-
t.start(u, c[0]),
|
|
613
|
+
t.start(u, c[0]), Se(t.getMouseEventMap());
|
|
614
614
|
});
|
|
615
615
|
}
|
|
616
616
|
Oe(a);
|
|
@@ -621,18 +621,18 @@ let ze = function(i) {
|
|
|
621
621
|
t.props.onSliderClick(u);
|
|
622
622
|
}
|
|
623
623
|
}, t.createOnKeyDown = (a) => (c) => {
|
|
624
|
-
t.props.disabled || (t.start(a),
|
|
624
|
+
t.props.disabled || (t.start(a), Se(t.getKeyDownEventMap()), Oe(c));
|
|
625
625
|
}, t.createOnMouseDown = (a) => (c) => {
|
|
626
626
|
if (t.props.disabled || c.button === 2) return;
|
|
627
627
|
t.setState({ pending: !0 });
|
|
628
628
|
const u = t.getMousePosition(c);
|
|
629
|
-
t.start(a, u[0]),
|
|
629
|
+
t.start(a, u[0]), Se(t.getMouseEventMap()), Oe(c);
|
|
630
630
|
}, t.createOnTouchStart = (a) => (c) => {
|
|
631
631
|
if (t.props.disabled || c.touches.length > 1) return;
|
|
632
632
|
t.setState({ pending: !0 });
|
|
633
633
|
const u = t.getTouchPosition(c);
|
|
634
|
-
t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]),
|
|
635
|
-
|
|
634
|
+
t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]), Se(t.getTouchEventMap()), function(h) {
|
|
635
|
+
h.stopPropagation && h.stopPropagation();
|
|
636
636
|
}(c);
|
|
637
637
|
}, t.handleResize = () => {
|
|
638
638
|
const a = window.setTimeout(() => {
|
|
@@ -640,13 +640,13 @@ let ze = function(i) {
|
|
|
640
640
|
}, 0);
|
|
641
641
|
t.pendingResizeTimeouts.push(a);
|
|
642
642
|
}, t.renderThumb = (a, c) => {
|
|
643
|
-
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""),
|
|
644
|
-
t["thumb" + c] =
|
|
645
|
-
}, key: t.props.thumbClassName + "-" + c, className: u, style: a, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, m = { index: c, value:
|
|
646
|
-
return t.props.ariaValuetext && (
|
|
643
|
+
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), h = { ref: (y) => {
|
|
644
|
+
t["thumb" + c] = y;
|
|
645
|
+
}, key: t.props.thumbClassName + "-" + c, className: u, style: a, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, m = { index: c, value: $e(t.state.value), valueNow: t.state.value[c] };
|
|
646
|
+
return t.props.ariaValuetext && (h["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(m)), t.props.renderThumb(h, m);
|
|
647
647
|
}, t.renderTrack = (a, c, u) => {
|
|
648
|
-
const
|
|
649
|
-
return t.props.renderTrack(
|
|
648
|
+
const h = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(c, t.state.upperBound - u) }, m = { index: a, value: $e(t.state.value) };
|
|
649
|
+
return t.props.renderTrack(h, m);
|
|
650
650
|
};
|
|
651
651
|
let r = Re(o.value);
|
|
652
652
|
r.length || (r = Re(o.defaultValue)), t.pendingResizeTimeouts = [];
|
|
@@ -672,13 +672,13 @@ let ze = function(i) {
|
|
|
672
672
|
});
|
|
673
673
|
}(o), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
|
|
674
674
|
}, s.getValue = function() {
|
|
675
|
-
return
|
|
675
|
+
return $e(this.state.value);
|
|
676
676
|
}, s.getClosestIndex = function(o) {
|
|
677
677
|
let t = Number.MAX_VALUE, r = -1;
|
|
678
678
|
const { value: l } = this.state, a = l.length;
|
|
679
679
|
for (let c = 0; c < a; c += 1) {
|
|
680
|
-
const u = this.calcOffset(l[c]),
|
|
681
|
-
|
|
680
|
+
const u = this.calcOffset(l[c]), h = Math.abs(o - u);
|
|
681
|
+
h < t && (t = h, r = c);
|
|
682
682
|
}
|
|
683
683
|
return r;
|
|
684
684
|
}, s.getMousePosition = function(o) {
|
|
@@ -701,8 +701,8 @@ let ze = function(i) {
|
|
|
701
701
|
}, s.resize = function() {
|
|
702
702
|
const { slider: o, thumb0: t } = this;
|
|
703
703
|
if (!o || !t) return;
|
|
704
|
-
const r = this.sizeKey(), l = o.getBoundingClientRect(), a = o[r], c = l[this.posMaxKey()], u = l[this.posMinKey()],
|
|
705
|
-
this.state.upperBound === m && this.state.sliderLength ===
|
|
704
|
+
const r = this.sizeKey(), l = o.getBoundingClientRect(), a = o[r], c = l[this.posMaxKey()], u = l[this.posMinKey()], h = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], m = a - h, y = Math.abs(c - u);
|
|
705
|
+
this.state.upperBound === m && this.state.sliderLength === y && this.state.thumbSize === h || this.setState({ upperBound: m, sliderLength: y, thumbSize: h });
|
|
706
706
|
}, s.calcOffset = function(o) {
|
|
707
707
|
const t = this.props.max - this.props.min;
|
|
708
708
|
return t === 0 ? 0 : (o - this.props.min) / t * this.state.upperBound;
|
|
@@ -741,28 +741,28 @@ let ze = function(i) {
|
|
|
741
741
|
const t = this.state.value.slice(), { index: r } = this.state, { length: l } = t, a = t[r];
|
|
742
742
|
if (o === a) return;
|
|
743
743
|
this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
|
|
744
|
-
const { pearling: c, max: u, min:
|
|
744
|
+
const { pearling: c, max: u, min: h, minDistance: m } = this.props;
|
|
745
745
|
if (!c) {
|
|
746
746
|
if (r > 0) {
|
|
747
|
-
const
|
|
748
|
-
o <
|
|
747
|
+
const y = t[r - 1];
|
|
748
|
+
o < y + m && (o = y + m);
|
|
749
749
|
}
|
|
750
750
|
if (r < l - 1) {
|
|
751
|
-
const
|
|
752
|
-
o >
|
|
751
|
+
const y = t[r + 1];
|
|
752
|
+
o > y - m && (o = y - m);
|
|
753
753
|
}
|
|
754
754
|
}
|
|
755
|
-
t[r] = o, c && l > 1 && (o > a ? (this.pushSucceeding(t, m, r), function(
|
|
756
|
-
for (let
|
|
757
|
-
const f = v -
|
|
758
|
-
|
|
755
|
+
t[r] = o, c && l > 1 && (o > a ? (this.pushSucceeding(t, m, r), function(y, g, b, v) {
|
|
756
|
+
for (let _ = 0; _ < y; _ += 1) {
|
|
757
|
+
const f = v - _ * b;
|
|
758
|
+
g[y - 1 - _] > f && (g[y - 1 - _] = f);
|
|
759
759
|
}
|
|
760
|
-
}(l, t, m, u)) : o < a && (this.pushPreceding(t, m, r), function(
|
|
761
|
-
for (let
|
|
762
|
-
const f = v +
|
|
763
|
-
|
|
760
|
+
}(l, t, m, u)) : o < a && (this.pushPreceding(t, m, r), function(y, g, b, v) {
|
|
761
|
+
for (let _ = 0; _ < y; _ += 1) {
|
|
762
|
+
const f = v + _ * b;
|
|
763
|
+
g[_] < f && (g[_] = f);
|
|
764
764
|
}
|
|
765
|
-
}(l, t, m,
|
|
765
|
+
}(l, t, m, h))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
766
766
|
}, s.pushSucceeding = function(o, t, r) {
|
|
767
767
|
let l, a;
|
|
768
768
|
for (l = r, a = o[l] + t; o[l + 1] !== null && a > o[l + 1]; l += 1, a = o[l] + t) o[l + 1] = Ze(a, this.props);
|
|
@@ -779,7 +779,7 @@ let ze = function(i) {
|
|
|
779
779
|
}, s.sizeKey = function() {
|
|
780
780
|
return this.props.orientation === "vertical" ? "clientHeight" : "clientWidth";
|
|
781
781
|
}, s.fireChangeEvent = function(o) {
|
|
782
|
-
this.props[o] && this.props[o](
|
|
782
|
+
this.props[o] && this.props[o]($e(this.state.value), this.state.index);
|
|
783
783
|
}, s.buildThumbStyle = function(o, t) {
|
|
784
784
|
const r = { position: "absolute", touchAction: "none", willChange: this.state.index >= 0 ? this.posMinKey() : void 0, zIndex: this.state.zIndices.indexOf(t) + 1 };
|
|
785
785
|
return r[this.posMinKey()] = o + "px", r;
|
|
@@ -825,7 +825,7 @@ const X2 = "_container_4u41i_2", Q2 = "_unitLabel_4u41i_8", J2 = "_slider_4u41i_
|
|
|
825
825
|
thumb: e0,
|
|
826
826
|
track: t0,
|
|
827
827
|
labels: n0
|
|
828
|
-
},
|
|
828
|
+
}, vt = ({
|
|
829
829
|
min: i = 0,
|
|
830
830
|
max: d = 100,
|
|
831
831
|
step: s = 1,
|
|
@@ -836,11 +836,11 @@ const X2 = "_container_4u41i_2", Q2 = "_unitLabel_4u41i_8", J2 = "_slider_4u41i_
|
|
|
836
836
|
defaultValue: a,
|
|
837
837
|
isDate: c
|
|
838
838
|
}) => {
|
|
839
|
-
const { t: u } =
|
|
840
|
-
|
|
839
|
+
const { t: u } = B(), h = c ? new Date(i).getTime() : null, m = c ? new Date(d).getTime() : null, [y, g] = A(c ? [h, m] : [i, d]), b = (v) => {
|
|
840
|
+
g(v), o == null || o({ min: v[0], max: v[1] });
|
|
841
841
|
};
|
|
842
842
|
return F(() => {
|
|
843
|
-
a ||
|
|
843
|
+
a || g(c ? [h, m] : [i, d]);
|
|
844
844
|
}, [a, c]), /* @__PURE__ */ p(
|
|
845
845
|
"div",
|
|
846
846
|
{
|
|
@@ -854,33 +854,33 @@ const X2 = "_container_4u41i_2", Q2 = "_unitLabel_4u41i_8", J2 = "_slider_4u41i_
|
|
|
854
854
|
className: ce.slider,
|
|
855
855
|
thumbClassName: ce.thumb,
|
|
856
856
|
trackClassName: ce.track,
|
|
857
|
-
min: c ?
|
|
857
|
+
min: c ? h : i,
|
|
858
858
|
max: c ? m : d,
|
|
859
|
-
step: c ? (m -
|
|
860
|
-
value:
|
|
861
|
-
onAfterChange:
|
|
859
|
+
step: c ? (m - h) / 30 : s,
|
|
860
|
+
value: y,
|
|
861
|
+
onAfterChange: b,
|
|
862
862
|
withTracks: !0,
|
|
863
863
|
pearling: !c,
|
|
864
864
|
minDistance: c ? 0 : 0.1
|
|
865
865
|
}
|
|
866
866
|
),
|
|
867
867
|
/* @__PURE__ */ p("div", { className: ce.labels, children: [
|
|
868
|
-
/* @__PURE__ */ n("span", { children: c ? new Date(
|
|
868
|
+
/* @__PURE__ */ n("span", { children: c ? new Date(y[0]).toLocaleDateString("en-EN", {
|
|
869
869
|
day: "2-digit",
|
|
870
870
|
month: "short",
|
|
871
871
|
year: "numeric"
|
|
872
|
-
}) :
|
|
873
|
-
/* @__PURE__ */ n("span", { children: c ? new Date(
|
|
872
|
+
}) : y[0] }),
|
|
873
|
+
/* @__PURE__ */ n("span", { children: c ? new Date(y[1]).toLocaleDateString("en-EN", {
|
|
874
874
|
day: "2-digit",
|
|
875
875
|
month: "short",
|
|
876
876
|
year: "numeric"
|
|
877
|
-
}) :
|
|
877
|
+
}) : y[1] })
|
|
878
878
|
] })
|
|
879
879
|
]
|
|
880
880
|
}
|
|
881
881
|
);
|
|
882
882
|
};
|
|
883
|
-
|
|
883
|
+
vt.propTypes = {
|
|
884
884
|
min: e.number,
|
|
885
885
|
max: e.number,
|
|
886
886
|
step: e.number,
|
|
@@ -892,7 +892,7 @@ wt.propTypes = {
|
|
|
892
892
|
fontColor: e.string,
|
|
893
893
|
value: e.arrayOf(e.number)
|
|
894
894
|
};
|
|
895
|
-
const i0 = "_tematicalFiltersInputContainer_1vm1r_2", s0 = "_inputTypeContainer_1vm1r_2", o0 = "_checkboxContainer_1vm1r_28", r0 = "_absoluteSliderContainer_1vm1r_37",
|
|
895
|
+
const i0 = "_tematicalFiltersInputContainer_1vm1r_2", s0 = "_inputTypeContainer_1vm1r_2", o0 = "_checkboxContainer_1vm1r_28", r0 = "_absoluteSliderContainer_1vm1r_37", Le = {
|
|
896
896
|
tematicalFiltersInputContainer: i0,
|
|
897
897
|
inputTypeContainer: s0,
|
|
898
898
|
checkboxContainer: o0,
|
|
@@ -909,33 +909,33 @@ const i0 = "_tematicalFiltersInputContainer_1vm1r_2", s0 = "_inputTypeContainer_
|
|
|
909
909
|
minValue: a,
|
|
910
910
|
maxValue: c,
|
|
911
911
|
unit: u,
|
|
912
|
-
step:
|
|
912
|
+
step: h,
|
|
913
913
|
disabled: m,
|
|
914
|
-
isDate:
|
|
915
|
-
} = i || {},
|
|
914
|
+
isDate: y
|
|
915
|
+
} = i || {}, g = he(
|
|
916
916
|
() => t == "cat" || s == "cat",
|
|
917
917
|
[s, t]
|
|
918
|
-
),
|
|
918
|
+
), b = he(
|
|
919
919
|
() => t == "abs" || s == "abs",
|
|
920
920
|
[s, t]
|
|
921
921
|
), {
|
|
922
922
|
tematicalFiltersSelected: v,
|
|
923
|
-
selectedIndicator:
|
|
923
|
+
selectedIndicator: _,
|
|
924
924
|
fontColor: f,
|
|
925
925
|
inputsColor: C
|
|
926
926
|
} = M((x) => x), N = (x) => {
|
|
927
927
|
if (x) {
|
|
928
|
-
const { min:
|
|
928
|
+
const { min: $, max: S, valueClicked: k, allValues: L } = x || {}, { code: V, type: H, source: T } = i || {}, j = b ? "abs" : g ? "cat" : "both";
|
|
929
929
|
let Z = V[0];
|
|
930
930
|
H == "both" && (Z = j == "cat" ? V[1] : V[0]), j == "cat" ? M.setState((J) => {
|
|
931
|
-
let
|
|
931
|
+
let Y = J.tematicalFiltersSelected.find(
|
|
932
932
|
(q) => q.code === Z
|
|
933
933
|
);
|
|
934
|
-
if (
|
|
935
|
-
let q = [
|
|
936
|
-
return
|
|
934
|
+
if (Y) {
|
|
935
|
+
let q = [Y.values];
|
|
936
|
+
return Y.values.includes(k) ? q = Y.values.filter(
|
|
937
937
|
(E) => E !== k
|
|
938
|
-
) : q = [...
|
|
938
|
+
) : q = [...Y.values, k], q.length == L.length ? {
|
|
939
939
|
tematicalFiltersSelected: J.tematicalFiltersSelected.filter(
|
|
940
940
|
(E) => E.code !== Z
|
|
941
941
|
)
|
|
@@ -945,7 +945,7 @@ const i0 = "_tematicalFiltersInputContainer_1vm1r_2", s0 = "_inputTypeContainer_
|
|
|
945
945
|
)
|
|
946
946
|
};
|
|
947
947
|
} else {
|
|
948
|
-
let q =
|
|
948
|
+
let q = L.map((E, qt) => qt);
|
|
949
949
|
return {
|
|
950
950
|
tematicalFiltersSelected: [
|
|
951
951
|
...v,
|
|
@@ -955,23 +955,23 @@ const i0 = "_tematicalFiltersInputContainer_1vm1r_2", s0 = "_inputTypeContainer_
|
|
|
955
955
|
values: q.filter((E) => E !== k),
|
|
956
956
|
name: i.name,
|
|
957
957
|
source: T,
|
|
958
|
-
isDate:
|
|
958
|
+
isDate: y
|
|
959
959
|
}
|
|
960
960
|
]
|
|
961
961
|
};
|
|
962
962
|
}
|
|
963
963
|
}) : j == "abs" && M.setState((J) => {
|
|
964
|
-
let
|
|
964
|
+
let Y = J.tematicalFiltersSelected.find(
|
|
965
965
|
(q) => q.code === Z
|
|
966
966
|
);
|
|
967
|
-
if (
|
|
967
|
+
if ($ == i.minValue && S == i.maxValue)
|
|
968
968
|
return {
|
|
969
969
|
tematicalFiltersSelected: J.tematicalFiltersSelected.filter(
|
|
970
970
|
(q) => q.code !== Z
|
|
971
971
|
)
|
|
972
972
|
};
|
|
973
|
-
if (
|
|
974
|
-
let q = { ...
|
|
973
|
+
if (Y) {
|
|
974
|
+
let q = { ...Y, min: $, max: S, type: j, isDate: y };
|
|
975
975
|
return {
|
|
976
976
|
tematicalFiltersSelected: J.tematicalFiltersSelected.map(
|
|
977
977
|
(E) => E.code === Z ? q : E
|
|
@@ -984,8 +984,8 @@ const i0 = "_tematicalFiltersInputContainer_1vm1r_2", s0 = "_inputTypeContainer_
|
|
|
984
984
|
{
|
|
985
985
|
type: j,
|
|
986
986
|
code: Z,
|
|
987
|
-
min:
|
|
988
|
-
max:
|
|
987
|
+
min: $,
|
|
988
|
+
max: S,
|
|
989
989
|
name: i.name,
|
|
990
990
|
source: i.source
|
|
991
991
|
}
|
|
@@ -996,11 +996,11 @@ const i0 = "_tematicalFiltersInputContainer_1vm1r_2", s0 = "_inputTypeContainer_
|
|
|
996
996
|
}, w = he(() => {
|
|
997
997
|
const x = {};
|
|
998
998
|
if ((v == null ? void 0 : v.length) > 0)
|
|
999
|
-
for (const
|
|
1000
|
-
|
|
999
|
+
for (const $ of v)
|
|
1000
|
+
$.type === "cat" ? x[$.code] = new Set($.values) : x[$.code] = [$.min, $.max];
|
|
1001
1001
|
return x;
|
|
1002
1002
|
}, [v]);
|
|
1003
|
-
return /* @__PURE__ */ n("div", { className:
|
|
1003
|
+
return /* @__PURE__ */ n("div", { className: Le.tematicalFiltersInputContainer, children: /* @__PURE__ */ p(
|
|
1004
1004
|
le,
|
|
1005
1005
|
{
|
|
1006
1006
|
titleFontStyles: {
|
|
@@ -1009,10 +1009,10 @@ const i0 = "_tematicalFiltersInputContainer_1vm1r_2", s0 = "_inputTypeContainer_
|
|
|
1009
1009
|
opacity: m ? 0.5 : 1
|
|
1010
1010
|
},
|
|
1011
1011
|
title: r,
|
|
1012
|
-
isOpen:
|
|
1012
|
+
isOpen: _ == `id${r}`,
|
|
1013
1013
|
onClick: () => {
|
|
1014
1014
|
m || M.setState(() => ({
|
|
1015
|
-
selectedIndicator:
|
|
1015
|
+
selectedIndicator: _ == `id${r}` ? "" : `id${r}`
|
|
1016
1016
|
}));
|
|
1017
1017
|
},
|
|
1018
1018
|
showBottomBar: !1,
|
|
@@ -1025,7 +1025,7 @@ const i0 = "_tematicalFiltersInputContainer_1vm1r_2", s0 = "_inputTypeContainer_
|
|
|
1025
1025
|
t == "both" && /* @__PURE__ */ p(
|
|
1026
1026
|
"div",
|
|
1027
1027
|
{
|
|
1028
|
-
className:
|
|
1028
|
+
className: Le.inputTypeContainer,
|
|
1029
1029
|
style: { color: f },
|
|
1030
1030
|
children: [
|
|
1031
1031
|
/* @__PURE__ */ p("label", { children: [
|
|
@@ -1069,28 +1069,28 @@ const i0 = "_tematicalFiltersInputContainer_1vm1r_2", s0 = "_inputTypeContainer_
|
|
|
1069
1069
|
]
|
|
1070
1070
|
}
|
|
1071
1071
|
),
|
|
1072
|
-
|
|
1073
|
-
var
|
|
1072
|
+
g && /* @__PURE__ */ n("div", { className: Le.checkboxContainer, children: l.map((x, $) => {
|
|
1073
|
+
var S;
|
|
1074
1074
|
return /* @__PURE__ */ n(
|
|
1075
|
-
|
|
1075
|
+
_t,
|
|
1076
1076
|
{
|
|
1077
|
-
onClick: () => N({ valueClicked:
|
|
1077
|
+
onClick: () => N({ valueClicked: $, allValues: l }),
|
|
1078
1078
|
indicator: x,
|
|
1079
|
-
value: ((
|
|
1079
|
+
value: ((S = w[i.code[t == "both" ? 1 : 0]]) == null ? void 0 : S.has($)) || !w[i.code[t == "both" ? 1 : 0]]
|
|
1080
1080
|
},
|
|
1081
|
-
`checkbox-${
|
|
1081
|
+
`checkbox-${$}`
|
|
1082
1082
|
);
|
|
1083
1083
|
}) }),
|
|
1084
|
-
(
|
|
1085
|
-
|
|
1084
|
+
(b || t == "glb") && /* @__PURE__ */ n("div", { className: Le.absoluteSliderContainer, children: /* @__PURE__ */ n(
|
|
1085
|
+
vt,
|
|
1086
1086
|
{
|
|
1087
1087
|
onChange: N,
|
|
1088
1088
|
min: a,
|
|
1089
1089
|
max: c,
|
|
1090
1090
|
unit: u,
|
|
1091
1091
|
defaultValue: w[i.code[0]] ? w[i.code[0]] : "",
|
|
1092
|
-
isDate:
|
|
1093
|
-
step:
|
|
1092
|
+
isDate: y,
|
|
1093
|
+
step: h
|
|
1094
1094
|
}
|
|
1095
1095
|
) })
|
|
1096
1096
|
]
|
|
@@ -1112,7 +1112,7 @@ Ye.propTypes = {
|
|
|
1112
1112
|
activeColor: e.string
|
|
1113
1113
|
//onChangeBothType: PropTypes.func,
|
|
1114
1114
|
};
|
|
1115
|
-
const
|
|
1115
|
+
const wt = ({
|
|
1116
1116
|
subcategory: i,
|
|
1117
1117
|
fontColor: d,
|
|
1118
1118
|
activeColor: s
|
|
@@ -1147,7 +1147,7 @@ const xt = ({
|
|
|
1147
1147
|
}
|
|
1148
1148
|
);
|
|
1149
1149
|
};
|
|
1150
|
-
|
|
1150
|
+
wt.propTypes = {
|
|
1151
1151
|
subcategory: e.shape({
|
|
1152
1152
|
name: e.string,
|
|
1153
1153
|
indicators: e.arrayOf(
|
|
@@ -1160,7 +1160,7 @@ xt.propTypes = {
|
|
|
1160
1160
|
activeColor: e.string
|
|
1161
1161
|
//onChangeBothType: PropTypes.func,
|
|
1162
1162
|
};
|
|
1163
|
-
const
|
|
1163
|
+
const xt = ({
|
|
1164
1164
|
category: i,
|
|
1165
1165
|
// onChangeBothType,
|
|
1166
1166
|
activeColor: d
|
|
@@ -1181,7 +1181,7 @@ const Nt = ({
|
|
|
1181
1181
|
color: l,
|
|
1182
1182
|
activeColor: d,
|
|
1183
1183
|
children: o ? o.map((a, c) => /* @__PURE__ */ n(
|
|
1184
|
-
|
|
1184
|
+
wt,
|
|
1185
1185
|
{
|
|
1186
1186
|
subcategory: a,
|
|
1187
1187
|
fontColor: l,
|
|
@@ -1200,7 +1200,7 @@ const Nt = ({
|
|
|
1200
1200
|
}
|
|
1201
1201
|
);
|
|
1202
1202
|
};
|
|
1203
|
-
|
|
1203
|
+
xt.propTypes = {
|
|
1204
1204
|
category: e.shape({
|
|
1205
1205
|
name: e.string.isRequired,
|
|
1206
1206
|
subcategories: e.array,
|
|
@@ -1209,7 +1209,7 @@ Nt.propTypes = {
|
|
|
1209
1209
|
activeColor: e.string
|
|
1210
1210
|
//onChangeBothType: PropTypes.func,
|
|
1211
1211
|
};
|
|
1212
|
-
const
|
|
1212
|
+
const Nt = ({
|
|
1213
1213
|
indicators: i,
|
|
1214
1214
|
isOpen: d = !0,
|
|
1215
1215
|
title: s,
|
|
@@ -1218,7 +1218,7 @@ const kt = ({
|
|
|
1218
1218
|
inputsColor: t = "#605B56",
|
|
1219
1219
|
activeColor: r
|
|
1220
1220
|
}) => {
|
|
1221
|
-
const { tematicalFiltersSelected: l, activeFiltersType: a } = M((
|
|
1221
|
+
const { tematicalFiltersSelected: l, activeFiltersType: a } = M((h) => h), { t: c } = B();
|
|
1222
1222
|
F(() => {
|
|
1223
1223
|
}, [l]), F(() => {
|
|
1224
1224
|
o && M.setState(() => ({ fontColor: o }));
|
|
@@ -1237,10 +1237,10 @@ const kt = ({
|
|
|
1237
1237
|
activeColor: r,
|
|
1238
1238
|
onClick: u,
|
|
1239
1239
|
mainTitle: !0,
|
|
1240
|
-
children: i == null ? void 0 : i.map((
|
|
1241
|
-
|
|
1240
|
+
children: i == null ? void 0 : i.map((h, m) => /* @__PURE__ */ n(
|
|
1241
|
+
xt,
|
|
1242
1242
|
{
|
|
1243
|
-
category:
|
|
1243
|
+
category: h,
|
|
1244
1244
|
fontColor: o,
|
|
1245
1245
|
activeColor: r
|
|
1246
1246
|
},
|
|
@@ -1249,7 +1249,7 @@ const kt = ({
|
|
|
1249
1249
|
}
|
|
1250
1250
|
);
|
|
1251
1251
|
};
|
|
1252
|
-
|
|
1252
|
+
Nt.propTypes = {
|
|
1253
1253
|
isOpen: e.bool,
|
|
1254
1254
|
title: e.string,
|
|
1255
1255
|
indicators: e.arrayOf(e.object),
|
|
@@ -1277,28 +1277,28 @@ const a0 = "_FiltersAmbitContainer_bp6cj_2", l0 = "_FiltersAmbitHeader_bp6cj_15"
|
|
|
1277
1277
|
onChangeAppliedFilters: a,
|
|
1278
1278
|
saveAmbit: c,
|
|
1279
1279
|
namePlaceholder: u,
|
|
1280
|
-
descPlaceholder:
|
|
1280
|
+
descPlaceholder: h,
|
|
1281
1281
|
filtersTypes: m = ["geographical", "tematical"],
|
|
1282
|
-
nameRequiredText:
|
|
1283
|
-
geoFilterLayers:
|
|
1284
|
-
onGeoLayersChange:
|
|
1282
|
+
nameRequiredText: y,
|
|
1283
|
+
geoFilterLayers: g = [],
|
|
1284
|
+
onGeoLayersChange: b,
|
|
1285
1285
|
onlyFilters: v = !1,
|
|
1286
1286
|
//usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
|
|
1287
|
-
descriptionRequired:
|
|
1287
|
+
descriptionRequired: _ = !1
|
|
1288
1288
|
//campo descripción required
|
|
1289
1289
|
}) => {
|
|
1290
|
-
const { t: f } =
|
|
1290
|
+
const { t: f } = B(), { tematicalFiltersSelected: C, activeFiltersType: N, geoLayers: w } = M((T) => T), [x, $] = A(i || null), [S, k] = A(d || null), [L, V] = A(!1);
|
|
1291
1291
|
F(() => {
|
|
1292
1292
|
s && s.length > 0 && M.setState((T) => ({
|
|
1293
1293
|
tematicalFiltersSelected: s
|
|
1294
1294
|
}));
|
|
1295
1295
|
}, [s]), F(() => {
|
|
1296
|
-
m.includes("geographical") && w !=
|
|
1297
|
-
}, [
|
|
1296
|
+
m.includes("geographical") && w != g && M.setState({ geoLayers: g });
|
|
1297
|
+
}, [g]), F(() => {
|
|
1298
1298
|
a(C);
|
|
1299
1299
|
}, [C]);
|
|
1300
1300
|
const H = () => {
|
|
1301
|
-
|
|
1301
|
+
_ ? x && S ? c({ name: x, description: S }) : V(!0) : x ? c({ name: x, description: S }) : V(!0);
|
|
1302
1302
|
};
|
|
1303
1303
|
return F(() => {
|
|
1304
1304
|
m.includes("geographical") && N != "geographical" && w.length > 0 && M.setState((T) => ({
|
|
@@ -1315,7 +1315,7 @@ const a0 = "_FiltersAmbitContainer_bp6cj_2", l0 = "_FiltersAmbitHeader_bp6cj_15"
|
|
|
1315
1315
|
{
|
|
1316
1316
|
type: "text",
|
|
1317
1317
|
onChange: (T) => {
|
|
1318
|
-
V(!1),
|
|
1318
|
+
V(!1), $(T.target.value);
|
|
1319
1319
|
},
|
|
1320
1320
|
value: x,
|
|
1321
1321
|
placeholder: f(u)
|
|
@@ -1324,16 +1324,16 @@ const a0 = "_FiltersAmbitContainer_bp6cj_2", l0 = "_FiltersAmbitHeader_bp6cj_15"
|
|
|
1324
1324
|
/* @__PURE__ */ n("div", { className: ne.FiltersAmbitDescription, children: /* @__PURE__ */ n("div", { className: ne.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ n(
|
|
1325
1325
|
"textarea",
|
|
1326
1326
|
{
|
|
1327
|
-
value:
|
|
1327
|
+
value: S,
|
|
1328
1328
|
onChange: (T) => {
|
|
1329
|
-
|
|
1329
|
+
_ && V(!1), k(T.target.value);
|
|
1330
1330
|
},
|
|
1331
|
-
placeholder: f(
|
|
1331
|
+
placeholder: f(h)
|
|
1332
1332
|
}
|
|
1333
1333
|
) }) })
|
|
1334
1334
|
] }),
|
|
1335
1335
|
/* @__PURE__ */ n(
|
|
1336
|
-
|
|
1336
|
+
bt,
|
|
1337
1337
|
{
|
|
1338
1338
|
title: f("applied_filters"),
|
|
1339
1339
|
isOpen: N == "applied",
|
|
@@ -1343,15 +1343,15 @@ const a0 = "_FiltersAmbitContainer_bp6cj_2", l0 = "_FiltersAmbitHeader_bp6cj_15"
|
|
|
1343
1343
|
}
|
|
1344
1344
|
),
|
|
1345
1345
|
m.includes("geographical") && /* @__PURE__ */ n(
|
|
1346
|
-
|
|
1346
|
+
yt,
|
|
1347
1347
|
{
|
|
1348
1348
|
title: "geo_filters",
|
|
1349
1349
|
activeColor: t,
|
|
1350
|
-
onGeoLayersChange:
|
|
1350
|
+
onGeoLayersChange: b
|
|
1351
1351
|
}
|
|
1352
1352
|
),
|
|
1353
1353
|
m.includes("tematical") && /* @__PURE__ */ n(
|
|
1354
|
-
|
|
1354
|
+
Nt,
|
|
1355
1355
|
{
|
|
1356
1356
|
indicators: o,
|
|
1357
1357
|
inputsColor: t,
|
|
@@ -1362,7 +1362,7 @@ const a0 = "_FiltersAmbitContainer_bp6cj_2", l0 = "_FiltersAmbitHeader_bp6cj_15"
|
|
|
1362
1362
|
)
|
|
1363
1363
|
] }),
|
|
1364
1364
|
!v && /* @__PURE__ */ p("div", { className: ne.buttonContainer, children: [
|
|
1365
|
-
|
|
1365
|
+
L && /* @__PURE__ */ n("div", { className: ne.warning, children: f(y) }),
|
|
1366
1366
|
/* @__PURE__ */ n(Fe, { onClick: () => H(), children: f("save_ambit") })
|
|
1367
1367
|
] })
|
|
1368
1368
|
] });
|
|
@@ -1382,7 +1382,7 @@ h0.propTypes = {
|
|
|
1382
1382
|
filtersTypes: e.arrayOf(e.string).isRequired,
|
|
1383
1383
|
nameRequiredText: e.string
|
|
1384
1384
|
};
|
|
1385
|
-
const
|
|
1385
|
+
const kt = ({
|
|
1386
1386
|
data: i,
|
|
1387
1387
|
//If horientation is vertical, length is height
|
|
1388
1388
|
//If horientation is horizontal, length is width
|
|
@@ -1396,32 +1396,32 @@ const St = ({
|
|
|
1396
1396
|
orientation: c = "horizontal",
|
|
1397
1397
|
// "horizontal" or "vertical"
|
|
1398
1398
|
horizontalPadding: u = c == "vertical" ? 50 : 20,
|
|
1399
|
-
verticalPadding:
|
|
1399
|
+
verticalPadding: h = 10,
|
|
1400
1400
|
xLabelPadding: m = c == "vertical" ? 50 : 40
|
|
1401
1401
|
}) => {
|
|
1402
|
-
const { xScale:
|
|
1402
|
+
const { xScale: g, yScale: b, ticks: v, height: _, chartWidth: f } = he(() => {
|
|
1403
1403
|
if (i && i.length > 0) {
|
|
1404
1404
|
console.log("data");
|
|
1405
1405
|
const C = Ae.max(i, (w) => w.value) || 1, N = a || C;
|
|
1406
1406
|
if (c === "vertical") {
|
|
1407
|
-
const w = i.length * (s + o) + u * 2, x = d,
|
|
1407
|
+
const w = i.length * (s + o) + u * 2, x = d, S = Ae.scaleLinear().domain([0, N]).range([x - 100, h]), k = Array.from(
|
|
1408
1408
|
{ length: l + 1 },
|
|
1409
|
-
(
|
|
1409
|
+
(L, V) => N / l * V
|
|
1410
1410
|
);
|
|
1411
1411
|
return {
|
|
1412
|
-
yScale:
|
|
1412
|
+
yScale: S,
|
|
1413
1413
|
ticks: k,
|
|
1414
1414
|
height: x,
|
|
1415
1415
|
chartWidth: w
|
|
1416
1416
|
};
|
|
1417
1417
|
} else {
|
|
1418
|
-
const w = i.length * (s + o) +
|
|
1418
|
+
const w = i.length * (s + o) + h * 2 + 50, x = Ae.scaleLinear().domain([0, N]).range([0, d - r]), $ = Array.from(
|
|
1419
1419
|
{ length: l + 1 },
|
|
1420
|
-
(
|
|
1420
|
+
(S, k) => N / l * k
|
|
1421
1421
|
);
|
|
1422
1422
|
return {
|
|
1423
1423
|
xScale: x,
|
|
1424
|
-
ticks:
|
|
1424
|
+
ticks: $,
|
|
1425
1425
|
height: w,
|
|
1426
1426
|
chartWidth: d
|
|
1427
1427
|
};
|
|
@@ -1441,13 +1441,13 @@ const St = ({
|
|
|
1441
1441
|
s,
|
|
1442
1442
|
o,
|
|
1443
1443
|
u,
|
|
1444
|
-
|
|
1444
|
+
h,
|
|
1445
1445
|
a,
|
|
1446
1446
|
c
|
|
1447
1447
|
]);
|
|
1448
|
-
return c === "vertical" ? /* @__PURE__ */ n("div", { style: { overflow: "auto" }, children: /* @__PURE__ */ n("svg", { width: f, height:
|
|
1448
|
+
return c === "vertical" ? /* @__PURE__ */ n("div", { style: { overflow: "auto" }, children: /* @__PURE__ */ n("svg", { width: f, height: _, children: /* @__PURE__ */ p("g", { transform: `translate(${u}, 0)`, children: [
|
|
1449
1449
|
/* @__PURE__ */ n("g", { children: v.map((C, N) => {
|
|
1450
|
-
const w =
|
|
1450
|
+
const w = b(C);
|
|
1451
1451
|
return /* @__PURE__ */ p("g", { children: [
|
|
1452
1452
|
/* @__PURE__ */ n(
|
|
1453
1453
|
"line",
|
|
@@ -1473,13 +1473,13 @@ const St = ({
|
|
|
1473
1473
|
] }, N);
|
|
1474
1474
|
}) }),
|
|
1475
1475
|
i && i.length > 0 && i.map((C, N) => {
|
|
1476
|
-
const w =
|
|
1476
|
+
const w = b(0) - b(C.value), x = N * (s + o), $ = b(C.value);
|
|
1477
1477
|
return /* @__PURE__ */ p("g", { children: [
|
|
1478
1478
|
/* @__PURE__ */ n(
|
|
1479
1479
|
"rect",
|
|
1480
1480
|
{
|
|
1481
1481
|
x,
|
|
1482
|
-
y:
|
|
1482
|
+
y: $,
|
|
1483
1483
|
width: s,
|
|
1484
1484
|
height: w,
|
|
1485
1485
|
fill: C.color,
|
|
@@ -1490,32 +1490,32 @@ const St = ({
|
|
|
1490
1490
|
"text",
|
|
1491
1491
|
{
|
|
1492
1492
|
x: x + s / 2,
|
|
1493
|
-
y:
|
|
1493
|
+
y: _ - m,
|
|
1494
1494
|
textAnchor: "start",
|
|
1495
1495
|
fill: t,
|
|
1496
1496
|
fontSize: 12,
|
|
1497
|
-
transform: `rotate(-90, ${x + s / 2}, ${
|
|
1497
|
+
transform: `rotate(-90, ${x + s / 2}, ${_ - m})`,
|
|
1498
1498
|
children: C.title
|
|
1499
1499
|
}
|
|
1500
1500
|
)
|
|
1501
1501
|
] }, N);
|
|
1502
1502
|
})
|
|
1503
|
-
] }) }) }) : /* @__PURE__ */ n("div", { style: { overflow: "auto" }, children: /* @__PURE__ */ n("svg", { width: f + u * 2, height:
|
|
1503
|
+
] }) }) }) : /* @__PURE__ */ n("div", { style: { overflow: "auto" }, children: /* @__PURE__ */ n("svg", { width: f + u * 2, height: _, children: /* @__PURE__ */ p("g", { transform: `translate(0,${o})`, children: [
|
|
1504
1504
|
/* @__PURE__ */ n("g", { transform: `translate(${r + u}, 0)`, children: v.map((C, N) => {
|
|
1505
|
-
const w =
|
|
1505
|
+
const w = g(C);
|
|
1506
1506
|
return /* @__PURE__ */ p("g", { transform: `translate(${w}, 0)`, children: [
|
|
1507
1507
|
/* @__PURE__ */ n(
|
|
1508
1508
|
"line",
|
|
1509
1509
|
{
|
|
1510
1510
|
y1: 0,
|
|
1511
|
-
y2:
|
|
1511
|
+
y2: _ - 50 - o * 2,
|
|
1512
1512
|
stroke: "#ccc"
|
|
1513
1513
|
}
|
|
1514
1514
|
),
|
|
1515
1515
|
/* @__PURE__ */ n(
|
|
1516
1516
|
"text",
|
|
1517
1517
|
{
|
|
1518
|
-
y:
|
|
1518
|
+
y: _ - m - o,
|
|
1519
1519
|
textAnchor: "middle",
|
|
1520
1520
|
fontSize: 10,
|
|
1521
1521
|
fill: t,
|
|
@@ -1525,7 +1525,7 @@ const St = ({
|
|
|
1525
1525
|
] }, N);
|
|
1526
1526
|
}) }),
|
|
1527
1527
|
i && i.length > 0 && i.map((C, N) => {
|
|
1528
|
-
const w =
|
|
1528
|
+
const w = g(C.value), x = N * (s + o);
|
|
1529
1529
|
return /* @__PURE__ */ p(
|
|
1530
1530
|
"g",
|
|
1531
1531
|
{
|
|
@@ -1557,7 +1557,7 @@ const St = ({
|
|
|
1557
1557
|
})
|
|
1558
1558
|
] }) }) });
|
|
1559
1559
|
};
|
|
1560
|
-
|
|
1560
|
+
kt.propTypes = {
|
|
1561
1561
|
data: e.arrayOf(
|
|
1562
1562
|
e.shape({
|
|
1563
1563
|
title: e.string,
|
|
@@ -1591,9 +1591,9 @@ const g0 = "_graphicContainer_c9zrg_2", C0 = "_titleContainer_c9zrg_14", nt = {
|
|
|
1591
1591
|
numberOfDivisions: a = 7,
|
|
1592
1592
|
leftPadding: c = -200,
|
|
1593
1593
|
orientation: u = "horizontal",
|
|
1594
|
-
xLabelPadding:
|
|
1594
|
+
xLabelPadding: h = 0
|
|
1595
1595
|
}) => {
|
|
1596
|
-
const { t: m } =
|
|
1596
|
+
const { t: m } = B();
|
|
1597
1597
|
return /* @__PURE__ */ p(
|
|
1598
1598
|
"div",
|
|
1599
1599
|
{
|
|
@@ -1606,7 +1606,7 @@ const g0 = "_graphicContainer_c9zrg_2", C0 = "_titleContainer_c9zrg_14", nt = {
|
|
|
1606
1606
|
children: [
|
|
1607
1607
|
/* @__PURE__ */ n("div", { className: nt.titleContainer, children: /* @__PURE__ */ n("h2", { children: m(t) }) }),
|
|
1608
1608
|
/* @__PURE__ */ n(
|
|
1609
|
-
|
|
1609
|
+
kt,
|
|
1610
1610
|
{
|
|
1611
1611
|
data: i,
|
|
1612
1612
|
length: d,
|
|
@@ -1615,7 +1615,7 @@ const g0 = "_graphicContainer_c9zrg_2", C0 = "_titleContainer_c9zrg_14", nt = {
|
|
|
1615
1615
|
numberOfDivisions: a,
|
|
1616
1616
|
leftPadding: c,
|
|
1617
1617
|
orientation: u,
|
|
1618
|
-
xLabelPadding:
|
|
1618
|
+
xLabelPadding: h
|
|
1619
1619
|
}
|
|
1620
1620
|
)
|
|
1621
1621
|
]
|
|
@@ -1640,19 +1640,19 @@ f0.propTypes = {
|
|
|
1640
1640
|
leftPadding: e.number,
|
|
1641
1641
|
xLabelPadding: e.number
|
|
1642
1642
|
};
|
|
1643
|
-
const b0 = "_indicatorsCategory_arwy3_2", y0 = "_title_arwy3_5", _0 = "_list_arwy3_13",
|
|
1643
|
+
const b0 = "_indicatorsCategory_arwy3_2", y0 = "_title_arwy3_5", _0 = "_list_arwy3_13", Be = {
|
|
1644
1644
|
indicatorsCategory: b0,
|
|
1645
1645
|
title: y0,
|
|
1646
1646
|
list: _0
|
|
1647
|
-
}, it = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.32549%200H4.65882V3.40392H8V4.61176H4.65882V8H3.32549V4.61176H0V3.40392H3.32549V0Z'%20fill='%23605B56'/%3e%3c/svg%3e", v0 = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.32549%200H4.65882V3.40392H8V4.61176H4.65882V8H3.32549V4.61176H0V3.40392H3.32549V0Z'%20fill='%23ffffff'/%3e%3c/svg%3e", w0 = "_indicatorContainer_17b40_2", x0 = "_indicatorNameContainer_17b40_11", N0 = "_dot_17b40_17", k0 = "_indicatorName_17b40_11",
|
|
1647
|
+
}, it = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.32549%200H4.65882V3.40392H8V4.61176H4.65882V8H3.32549V4.61176H0V3.40392H3.32549V0Z'%20fill='%23605B56'/%3e%3c/svg%3e", v0 = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.32549%200H4.65882V3.40392H8V4.61176H4.65882V8H3.32549V4.61176H0V3.40392H3.32549V0Z'%20fill='%23ffffff'/%3e%3c/svg%3e", w0 = "_indicatorContainer_17b40_2", x0 = "_indicatorNameContainer_17b40_11", N0 = "_dot_17b40_17", k0 = "_indicatorName_17b40_11", $0 = "_switchExternalContainer_17b40_31", S0 = "_switchType_17b40_39", L0 = "_switchTypeOptions_17b40_43", B0 = "_optionContainer_17b40_54", T0 = "_customRadious_17b40_64", M0 = "_optionText_17b40_71", R = {
|
|
1648
1648
|
indicatorContainer: w0,
|
|
1649
1649
|
indicatorNameContainer: x0,
|
|
1650
1650
|
dot: N0,
|
|
1651
1651
|
indicatorName: k0,
|
|
1652
|
-
switchExternalContainer:
|
|
1653
|
-
switchType:
|
|
1654
|
-
switchTypeOptions:
|
|
1655
|
-
optionContainer:
|
|
1652
|
+
switchExternalContainer: $0,
|
|
1653
|
+
switchType: S0,
|
|
1654
|
+
switchTypeOptions: L0,
|
|
1655
|
+
optionContainer: B0,
|
|
1656
1656
|
customRadious: T0,
|
|
1657
1657
|
optionText: M0
|
|
1658
1658
|
}, Xe = ({
|
|
@@ -1666,14 +1666,14 @@ const b0 = "_indicatorsCategory_arwy3_2", y0 = "_title_arwy3_5", _0 = "_list_arw
|
|
|
1666
1666
|
multiple: a = !1,
|
|
1667
1667
|
onChangeType: c
|
|
1668
1668
|
}) => {
|
|
1669
|
-
const { t: u } =
|
|
1669
|
+
const { t: u } = B(), { name: h, type: m, disabled: y } = i;
|
|
1670
1670
|
console.log(it);
|
|
1671
|
-
const [
|
|
1671
|
+
const [g, b] = A(!1);
|
|
1672
1672
|
F(() => {
|
|
1673
|
-
t &&
|
|
1673
|
+
t && b(
|
|
1674
1674
|
a ? t.some(
|
|
1675
|
-
(f) => f.name == String(
|
|
1676
|
-
) : t.name ==
|
|
1675
|
+
(f) => f.name == String(h)
|
|
1676
|
+
) : t.name == h
|
|
1677
1677
|
);
|
|
1678
1678
|
}, [t]);
|
|
1679
1679
|
const v = () => /* @__PURE__ */ n("div", { className: R.switchExternalContainer, children: /* @__PURE__ */ n("div", { className: R.switchType, children: /* @__PURE__ */ p("div", { className: R.switchTypeOptions, children: [
|
|
@@ -1735,7 +1735,7 @@ const b0 = "_indicatorsCategory_arwy3_2", y0 = "_title_arwy3_5", _0 = "_list_arw
|
|
|
1735
1735
|
]
|
|
1736
1736
|
}
|
|
1737
1737
|
)
|
|
1738
|
-
] }) }) }),
|
|
1738
|
+
] }) }) }), _ = () => /* @__PURE__ */ n("div", { className: R.switchExternalContainer, children: /* @__PURE__ */ n("div", { className: R.switchType, children: /* @__PURE__ */ n("div", { className: R.switchTypeOptions, children: d.map((f, C) => /* @__PURE__ */ p(
|
|
1739
1739
|
"div",
|
|
1740
1740
|
{
|
|
1741
1741
|
className: R.optionContainer,
|
|
@@ -1756,18 +1756,18 @@ const b0 = "_indicatorsCategory_arwy3_2", y0 = "_title_arwy3_5", _0 = "_list_arw
|
|
|
1756
1756
|
"div",
|
|
1757
1757
|
{
|
|
1758
1758
|
className: R.indicatorNameContainer,
|
|
1759
|
-
onClick: () => !
|
|
1759
|
+
onClick: () => !y && l({ indicator: i }),
|
|
1760
1760
|
children: [
|
|
1761
1761
|
/* @__PURE__ */ n(
|
|
1762
1762
|
"div",
|
|
1763
1763
|
{
|
|
1764
1764
|
style: {
|
|
1765
|
-
border:
|
|
1766
|
-
opacity:
|
|
1767
|
-
backgroundColor:
|
|
1765
|
+
border: g ? `1px solid ${s}` : `1px solid ${o}`,
|
|
1766
|
+
opacity: y ? 0.5 : 1,
|
|
1767
|
+
backgroundColor: g ? s : "transparent"
|
|
1768
1768
|
},
|
|
1769
1769
|
className: R.dot,
|
|
1770
|
-
children: a && /* @__PURE__ */ n("img", { src:
|
|
1770
|
+
children: a && /* @__PURE__ */ n("img", { src: g ? v0 : it, alt: "" })
|
|
1771
1771
|
}
|
|
1772
1772
|
),
|
|
1773
1773
|
/* @__PURE__ */ n(
|
|
@@ -1775,13 +1775,13 @@ const b0 = "_indicatorsCategory_arwy3_2", y0 = "_title_arwy3_5", _0 = "_list_arw
|
|
|
1775
1775
|
{
|
|
1776
1776
|
className: R.indicatorName,
|
|
1777
1777
|
style: {
|
|
1778
|
-
color:
|
|
1779
|
-
opacity:
|
|
1778
|
+
color: g ? s : o,
|
|
1779
|
+
opacity: y ? 0.5 : 1
|
|
1780
1780
|
},
|
|
1781
1781
|
children: /* @__PURE__ */ n(
|
|
1782
1782
|
We,
|
|
1783
1783
|
{
|
|
1784
|
-
i18nKey:
|
|
1784
|
+
i18nKey: h,
|
|
1785
1785
|
components: { sup: /* @__PURE__ */ n("sup", {}) },
|
|
1786
1786
|
shouldUnescape: !0
|
|
1787
1787
|
}
|
|
@@ -1791,8 +1791,8 @@ const b0 = "_indicatorsCategory_arwy3_2", y0 = "_title_arwy3_5", _0 = "_list_arw
|
|
|
1791
1791
|
]
|
|
1792
1792
|
}
|
|
1793
1793
|
),
|
|
1794
|
-
(t == null ? void 0 : t.name) ===
|
|
1795
|
-
(t == null ? void 0 : t.name) ===
|
|
1794
|
+
(t == null ? void 0 : t.name) === h && m === "both" && /* @__PURE__ */ n("div", { children: v() }),
|
|
1795
|
+
(t == null ? void 0 : t.name) === h && m === "twoUnits" && /* @__PURE__ */ n("div", { children: _() })
|
|
1796
1796
|
] });
|
|
1797
1797
|
};
|
|
1798
1798
|
Xe.propTypes = {
|
|
@@ -1821,31 +1821,31 @@ const V0 = "_indicatorsSubCategory_1nuug_2", D0 = "_list_1nuug_11", st = {
|
|
|
1821
1821
|
activeIndicator: a,
|
|
1822
1822
|
onClickIndicator: c,
|
|
1823
1823
|
multiple: u,
|
|
1824
|
-
activeIndicatorType:
|
|
1824
|
+
activeIndicatorType: h,
|
|
1825
1825
|
onChangeType: m
|
|
1826
1826
|
}) => {
|
|
1827
|
-
const { t:
|
|
1827
|
+
const { t: y } = B(), [g, b] = A(!1);
|
|
1828
1828
|
return F(() => {
|
|
1829
|
-
|
|
1829
|
+
b(t == l);
|
|
1830
1830
|
}, [t, l]), /* @__PURE__ */ p(
|
|
1831
1831
|
Ge.div,
|
|
1832
1832
|
{
|
|
1833
1833
|
className: st.indicatorsSubCategory,
|
|
1834
1834
|
initial: { height: "43px" },
|
|
1835
|
-
animate: { height:
|
|
1835
|
+
animate: { height: g ? "auto" : "43px" },
|
|
1836
1836
|
transition: { duration: 0.4 },
|
|
1837
1837
|
children: [
|
|
1838
|
-
/* @__PURE__ */ n("button", { onClick: () => r(l), children: /* @__PURE__ */ p("h3", { style: { color:
|
|
1839
|
-
/* @__PURE__ */ n("span", { style: { color:
|
|
1838
|
+
/* @__PURE__ */ n("button", { onClick: () => r(l), children: /* @__PURE__ */ p("h3", { style: { color: g ? o : s }, children: [
|
|
1839
|
+
/* @__PURE__ */ n("span", { style: { color: g ? o : s }, children: g ? "-" : "+" }),
|
|
1840
1840
|
/* @__PURE__ */ n(
|
|
1841
1841
|
"span",
|
|
1842
1842
|
{
|
|
1843
|
-
style: { color:
|
|
1844
|
-
children:
|
|
1843
|
+
style: { color: g ? o : s },
|
|
1844
|
+
children: y(i)
|
|
1845
1845
|
}
|
|
1846
1846
|
)
|
|
1847
1847
|
] }) }),
|
|
1848
|
-
d && /* @__PURE__ */ n("div", { className: st.list, children: d == null ? void 0 : d.map((v,
|
|
1848
|
+
d && /* @__PURE__ */ n("div", { className: st.list, children: d == null ? void 0 : d.map((v, _) => /* @__PURE__ */ n(
|
|
1849
1849
|
Xe,
|
|
1850
1850
|
{
|
|
1851
1851
|
indicator: v,
|
|
@@ -1854,10 +1854,10 @@ const V0 = "_indicatorsSubCategory_1nuug_2", D0 = "_list_1nuug_11", st = {
|
|
|
1854
1854
|
activeIndicator: a,
|
|
1855
1855
|
onClickIndicator: c,
|
|
1856
1856
|
multiple: u,
|
|
1857
|
-
activeIndicatorType:
|
|
1857
|
+
activeIndicatorType: h,
|
|
1858
1858
|
onChangeType: m
|
|
1859
1859
|
},
|
|
1860
|
-
"indicator" +
|
|
1860
|
+
"indicator" + _
|
|
1861
1861
|
)) })
|
|
1862
1862
|
]
|
|
1863
1863
|
}
|
|
@@ -1875,7 +1875,7 @@ $t.propTypes = {
|
|
|
1875
1875
|
onClickSubCategory: e.func,
|
|
1876
1876
|
onClickIndicator: e.func
|
|
1877
1877
|
};
|
|
1878
|
-
const
|
|
1878
|
+
const St = ({
|
|
1879
1879
|
cat: i,
|
|
1880
1880
|
id: d,
|
|
1881
1881
|
activeColor: s,
|
|
@@ -1886,34 +1886,34 @@ const Bt = ({
|
|
|
1886
1886
|
onClickSubCategory: a,
|
|
1887
1887
|
activeIndicator: c,
|
|
1888
1888
|
onClickIndicator: u,
|
|
1889
|
-
multiple:
|
|
1889
|
+
multiple: h,
|
|
1890
1890
|
activeIndicatorType: m,
|
|
1891
|
-
onChangeType:
|
|
1891
|
+
onChangeType: y
|
|
1892
1892
|
}) => {
|
|
1893
|
-
var
|
|
1894
|
-
const { t:
|
|
1893
|
+
var _;
|
|
1894
|
+
const { t: g } = B(), [b, v] = A(!1);
|
|
1895
1895
|
return F(() => {
|
|
1896
1896
|
v(r === d);
|
|
1897
1897
|
}, [r, d]), /* @__PURE__ */ p(
|
|
1898
1898
|
Ge.div,
|
|
1899
1899
|
{
|
|
1900
|
-
className:
|
|
1900
|
+
className: Be.indicatorsCategory,
|
|
1901
1901
|
initial: { height: "53px" },
|
|
1902
|
-
animate: { height:
|
|
1902
|
+
animate: { height: b ? "auto" : "53px" },
|
|
1903
1903
|
transition: { duration: 0.4 },
|
|
1904
1904
|
style: {
|
|
1905
1905
|
backgroundColor: "white",
|
|
1906
|
-
borderBottom:
|
|
1907
|
-
marginBottom:
|
|
1906
|
+
borderBottom: b ? `1px solid ${s}` : "0px",
|
|
1907
|
+
marginBottom: b ? "20px" : "0px"
|
|
1908
1908
|
},
|
|
1909
1909
|
children: [
|
|
1910
|
-
/* @__PURE__ */ p("h2", { className: `${
|
|
1911
|
-
/* @__PURE__ */ n("span", { className:
|
|
1910
|
+
/* @__PURE__ */ p("h2", { className: `${Be.title}`, onClick: () => t(d), children: [
|
|
1911
|
+
/* @__PURE__ */ n("span", { className: Be.plus, style: { color: b ? s : o }, children: b ? "-" : "+" }),
|
|
1912
1912
|
/* @__PURE__ */ n(
|
|
1913
1913
|
"span",
|
|
1914
1914
|
{
|
|
1915
|
-
style: { color:
|
|
1916
|
-
children:
|
|
1915
|
+
style: { color: b ? s : o },
|
|
1916
|
+
children: g(i.name)
|
|
1917
1917
|
}
|
|
1918
1918
|
)
|
|
1919
1919
|
] }),
|
|
@@ -1927,16 +1927,16 @@ const Bt = ({
|
|
|
1927
1927
|
onClickSubCategory: a,
|
|
1928
1928
|
activeIndicator: c,
|
|
1929
1929
|
onClickIndicator: u,
|
|
1930
|
-
multiple:
|
|
1930
|
+
multiple: h,
|
|
1931
1931
|
activeColor: s,
|
|
1932
1932
|
defaultColor: o,
|
|
1933
1933
|
indicators: N,
|
|
1934
1934
|
activeIndicatorType: m,
|
|
1935
|
-
onChangeType:
|
|
1935
|
+
onChangeType: y
|
|
1936
1936
|
},
|
|
1937
1937
|
`subcKey ${w}`
|
|
1938
1938
|
)
|
|
1939
|
-
) : /* @__PURE__ */ n("div", { className:
|
|
1939
|
+
) : /* @__PURE__ */ n("div", { className: Be.list, children: (_ = i.indicators) == null ? void 0 : _.map((f, C) => /* @__PURE__ */ n(
|
|
1940
1940
|
Xe,
|
|
1941
1941
|
{
|
|
1942
1942
|
indicator: f,
|
|
@@ -1945,9 +1945,9 @@ const Bt = ({
|
|
|
1945
1945
|
defaultColor: o,
|
|
1946
1946
|
activeIndicator: c,
|
|
1947
1947
|
onClickIndicator: u,
|
|
1948
|
-
multiple:
|
|
1948
|
+
multiple: h,
|
|
1949
1949
|
activeIndicatorType: m,
|
|
1950
|
-
onChangeType:
|
|
1950
|
+
onChangeType: y
|
|
1951
1951
|
},
|
|
1952
1952
|
`indicator${C}`
|
|
1953
1953
|
)) })
|
|
@@ -1955,7 +1955,7 @@ const Bt = ({
|
|
|
1955
1955
|
}
|
|
1956
1956
|
);
|
|
1957
1957
|
};
|
|
1958
|
-
|
|
1958
|
+
St.propTypes = {
|
|
1959
1959
|
cat: e.object,
|
|
1960
1960
|
id: e.string,
|
|
1961
1961
|
onChange: e.func,
|
|
@@ -1986,71 +1986,71 @@ const F0 = "_indicatorsList_13b3m_2", A0 = "_title_13b3m_6", ot = {
|
|
|
1986
1986
|
changeIndType: l,
|
|
1987
1987
|
activeIndicatorType: a
|
|
1988
1988
|
}) => {
|
|
1989
|
-
const { t: c } =
|
|
1990
|
-
|
|
1991
|
-
},
|
|
1992
|
-
|
|
1989
|
+
const { t: c } = B(), [u, h] = A(), [m, y] = A(), [g, b] = A(), v = (w) => {
|
|
1990
|
+
h(u == w ? null : w);
|
|
1991
|
+
}, _ = (w) => {
|
|
1992
|
+
y(m == w ? null : w);
|
|
1993
1993
|
}, f = ({ indicator: w }) => {
|
|
1994
1994
|
C(w);
|
|
1995
1995
|
}, C = (w) => {
|
|
1996
1996
|
if (!t)
|
|
1997
|
-
|
|
1998
|
-
(
|
|
1997
|
+
b(
|
|
1998
|
+
(g == null ? void 0 : g.name) == w.name ? null : w
|
|
1999
1999
|
);
|
|
2000
2000
|
else {
|
|
2001
|
-
let x =
|
|
2002
|
-
|
|
2001
|
+
let x = g && g.length > 0 ? [...g] : [];
|
|
2002
|
+
b(
|
|
2003
2003
|
x != null && x.some(
|
|
2004
|
-
(
|
|
2004
|
+
($) => $.name == w.name
|
|
2005
2005
|
) ? x.filter(
|
|
2006
|
-
(
|
|
2006
|
+
($) => $.name != String(w.name)
|
|
2007
2007
|
) : [...x, w]
|
|
2008
2008
|
), w.type == "both" && l("cat");
|
|
2009
2009
|
}
|
|
2010
2010
|
};
|
|
2011
2011
|
F(() => {
|
|
2012
|
-
o && typeof o == "function" &&
|
|
2013
|
-
}, [
|
|
2014
|
-
if (r && !
|
|
2012
|
+
o && typeof o == "function" && g && o({ activeIndicator: g });
|
|
2013
|
+
}, [g]), Pt(() => {
|
|
2014
|
+
if (r && !g)
|
|
2015
2015
|
if (t && r && Array.isArray(r)) {
|
|
2016
|
-
let w =
|
|
2017
|
-
|
|
2016
|
+
let w = g && g.length > 0 ? [...g] : [];
|
|
2017
|
+
b([...w, ...r]), N(r[0].name);
|
|
2018
2018
|
} else
|
|
2019
2019
|
C(r), N(r.name);
|
|
2020
2020
|
}, []), F(() => {
|
|
2021
|
-
if (r !=
|
|
2021
|
+
if (r != g)
|
|
2022
2022
|
if (t && r && Array.isArray(r)) {
|
|
2023
|
-
let w =
|
|
2024
|
-
|
|
2023
|
+
let w = g && g.length > 0 ? [...g] : [];
|
|
2024
|
+
b([...w, ...r]), N(r[0].name);
|
|
2025
2025
|
} else
|
|
2026
2026
|
C(r), N(r.name);
|
|
2027
2027
|
}, [r]);
|
|
2028
2028
|
const N = (w) => {
|
|
2029
|
-
const x = i.find((
|
|
2030
|
-
if (
|
|
2031
|
-
let
|
|
2032
|
-
(k) => k.indicators.find((
|
|
2029
|
+
const x = i.find(($) => {
|
|
2030
|
+
if ($.subcategories) {
|
|
2031
|
+
let S = $.subcategories.find(
|
|
2032
|
+
(k) => k.indicators.find((L) => L.name == w)
|
|
2033
2033
|
);
|
|
2034
|
-
if (
|
|
2035
|
-
return
|
|
2034
|
+
if (S)
|
|
2035
|
+
return y(S.subcategory), S;
|
|
2036
2036
|
} else
|
|
2037
|
-
return
|
|
2037
|
+
return $.indicators.some((S) => S.name == w);
|
|
2038
2038
|
});
|
|
2039
|
-
x &&
|
|
2039
|
+
x && h(x.category);
|
|
2040
2040
|
};
|
|
2041
2041
|
return /* @__PURE__ */ p("div", { className: ot.indicatorsList, children: [
|
|
2042
2042
|
/* @__PURE__ */ n("h2", { className: ot.title, style: { color: s }, children: c("indicators.indicators") }),
|
|
2043
2043
|
i.map((w, x) => /* @__PURE__ */ n(
|
|
2044
|
-
|
|
2044
|
+
St,
|
|
2045
2045
|
{
|
|
2046
2046
|
id: w.category,
|
|
2047
2047
|
cat: w,
|
|
2048
2048
|
onClickCategory: v,
|
|
2049
2049
|
activeCategory: u,
|
|
2050
|
-
onClickSubCategory:
|
|
2050
|
+
onClickSubCategory: _,
|
|
2051
2051
|
activeSubCategory: m,
|
|
2052
2052
|
onClickIndicator: f,
|
|
2053
|
-
activeIndicator:
|
|
2053
|
+
activeIndicator: g,
|
|
2054
2054
|
activeColor: d,
|
|
2055
2055
|
defaultColor: s,
|
|
2056
2056
|
multiple: t,
|
|
@@ -2080,7 +2080,7 @@ const O0 = "_langSelector_o9enq_2", R0 = "_currentLang_o9enq_14", q0 = "_arrow_o
|
|
|
2080
2080
|
prevImg: P0,
|
|
2081
2081
|
langMenu: E0
|
|
2082
2082
|
}, j0 = ({ langs: i, arrow: d, imgPrev: s }) => {
|
|
2083
|
-
const [o, t] = A(!1), { i18n: r } =
|
|
2083
|
+
const [o, t] = A(!1), { i18n: r } = B(), l = i.find((c) => c.code == r.language), a = (c) => {
|
|
2084
2084
|
r.changeLanguage(c), t(!1);
|
|
2085
2085
|
};
|
|
2086
2086
|
return /* @__PURE__ */ p("div", { className: de.langSelector, children: [
|
|
@@ -2162,7 +2162,7 @@ const Z0 = "_legendContainer_qs4x9_3", z0 = "_closeButton_qs4x9_31", H0 = "_titl
|
|
|
2162
2162
|
buttonTitle: a,
|
|
2163
2163
|
onClickClose: c
|
|
2164
2164
|
}) => {
|
|
2165
|
-
const { t: u } =
|
|
2165
|
+
const { t: u } = B();
|
|
2166
2166
|
return /* @__PURE__ */ p(
|
|
2167
2167
|
"div",
|
|
2168
2168
|
{
|
|
@@ -2171,8 +2171,8 @@ const Z0 = "_legendContainer_qs4x9_3", z0 = "_closeButton_qs4x9_31", H0 = "_titl
|
|
|
2171
2171
|
children: [
|
|
2172
2172
|
/* @__PURE__ */ n("button", { className: O.closeButton, onClick: c }),
|
|
2173
2173
|
d && /* @__PURE__ */ n("div", { className: O.titleContainer, style: { marginBottom: (!s || s.length == 0) && "15px" }, children: /* @__PURE__ */ n("h2", { children: d }) }),
|
|
2174
|
-
s && s.length > 0 && /* @__PURE__ */ n("div", { className: O.infoContainer, children: /* @__PURE__ */ n("ul", { children: s.map(({ title:
|
|
2175
|
-
/* @__PURE__ */ n("h3", { className: O.title, children: `${
|
|
2174
|
+
s && s.length > 0 && /* @__PURE__ */ n("div", { className: O.infoContainer, children: /* @__PURE__ */ n("ul", { children: s.map(({ title: h, value: m }) => /* @__PURE__ */ p("li", { children: [
|
|
2175
|
+
/* @__PURE__ */ n("h3", { className: O.title, children: `${h}:` }),
|
|
2176
2176
|
/* @__PURE__ */ p("span", { className: O.value, children: [
|
|
2177
2177
|
" ",
|
|
2178
2178
|
m
|
|
@@ -2208,7 +2208,7 @@ const Z0 = "_legendContainer_qs4x9_3", z0 = "_closeButton_qs4x9_31", H0 = "_titl
|
|
|
2208
2208
|
] })
|
|
2209
2209
|
] })
|
|
2210
2210
|
] }) : o && o.length > 0 && /* @__PURE__ */ n("div", { className: O.gridContainer, children: o.map(
|
|
2211
|
-
({ title:
|
|
2211
|
+
({ title: h, color: m }) => /* @__PURE__ */ p("div", { className: O.elementLegendContainer, children: [
|
|
2212
2212
|
/* @__PURE__ */ n(
|
|
2213
2213
|
"div",
|
|
2214
2214
|
{
|
|
@@ -2217,7 +2217,7 @@ const Z0 = "_legendContainer_qs4x9_3", z0 = "_closeButton_qs4x9_31", H0 = "_titl
|
|
|
2217
2217
|
}
|
|
2218
2218
|
),
|
|
2219
2219
|
/* @__PURE__ */ p("div", { className: O.titleLegendElement, children: [
|
|
2220
|
-
u(
|
|
2220
|
+
u(h),
|
|
2221
2221
|
" "
|
|
2222
2222
|
] })
|
|
2223
2223
|
] }, d)
|
|
@@ -2270,7 +2270,7 @@ on.propTypes = {
|
|
|
2270
2270
|
const rn = "_logo_1ewa6_2", rt = {
|
|
2271
2271
|
logo: rn
|
|
2272
2272
|
}, an = ({ src: i, alt: d, href: s }) => {
|
|
2273
|
-
const { t: o } =
|
|
2273
|
+
const { t: o } = B(), t = /* @__PURE__ */ n("img", { src: i, alt: o(d) });
|
|
2274
2274
|
return s ? /* @__PURE__ */ n("div", { className: rt.logo, children: /* @__PURE__ */ n("a", { href: s, children: t }) }) : /* @__PURE__ */ n("div", { className: rt.logo, children: t });
|
|
2275
2275
|
};
|
|
2276
2276
|
an.propTypes = {
|
|
@@ -2282,7 +2282,7 @@ an.propTypes = {
|
|
|
2282
2282
|
const ln = "_mapContainer_84pkf_2", cn = {
|
|
2283
2283
|
mapContainer: ln
|
|
2284
2284
|
};
|
|
2285
|
-
|
|
2285
|
+
Et.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
|
|
2286
2286
|
const dn = ({
|
|
2287
2287
|
initialView: i = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2288
2288
|
maxZoom: d = 17,
|
|
@@ -2294,18 +2294,18 @@ const dn = ({
|
|
|
2294
2294
|
interactiveLayers: a = [],
|
|
2295
2295
|
popUp: c = !1,
|
|
2296
2296
|
sources: u = [],
|
|
2297
|
-
layers:
|
|
2297
|
+
layers: h = []
|
|
2298
2298
|
}) => {
|
|
2299
|
-
const m = ae(), [
|
|
2299
|
+
const m = ae(), [y, g] = A(null), b = jt((v) => v.mapState.showTexts);
|
|
2300
2300
|
return F(() => {
|
|
2301
2301
|
if (m.current) {
|
|
2302
2302
|
const v = m.current.getMap();
|
|
2303
2303
|
v.getStyle().layers.map((f) => {
|
|
2304
|
-
f.type == "symbol" && f.id != "professionals" && (
|
|
2304
|
+
f.type == "symbol" && f.id != "professionals" && (b ? v.setLayoutProperty(f.id, "visibility", "visible") : v.setLayoutProperty(f.id, "visibility", "none"));
|
|
2305
2305
|
});
|
|
2306
2306
|
}
|
|
2307
|
-
}, [
|
|
2308
|
-
|
|
2307
|
+
}, [b]), /* @__PURE__ */ n("div", { className: `${cn.mapContainer}`, style: r, children: /* @__PURE__ */ p(
|
|
2308
|
+
Zt,
|
|
2309
2309
|
{
|
|
2310
2310
|
initialViewState: i,
|
|
2311
2311
|
ref: m,
|
|
@@ -2316,13 +2316,13 @@ const dn = ({
|
|
|
2316
2316
|
onClick: l,
|
|
2317
2317
|
interactiveLayerIds: a,
|
|
2318
2318
|
children: [
|
|
2319
|
-
u.length && u.map((v,
|
|
2320
|
-
|
|
2319
|
+
u.length && u.map((v, _) => /* @__PURE__ */ n(
|
|
2320
|
+
zt,
|
|
2321
2321
|
{
|
|
2322
2322
|
...v,
|
|
2323
|
-
children:
|
|
2323
|
+
children: h.length && h.map((f, C) => {
|
|
2324
2324
|
if (f.sourceId == v.id) return /* @__PURE__ */ n(
|
|
2325
|
-
|
|
2325
|
+
Ht,
|
|
2326
2326
|
{
|
|
2327
2327
|
...f.layer,
|
|
2328
2328
|
beforeId: t
|
|
@@ -2331,16 +2331,16 @@ const dn = ({
|
|
|
2331
2331
|
);
|
|
2332
2332
|
})
|
|
2333
2333
|
},
|
|
2334
|
-
|
|
2334
|
+
_
|
|
2335
2335
|
)),
|
|
2336
|
-
/* @__PURE__ */ n(
|
|
2337
|
-
c &&
|
|
2338
|
-
|
|
2336
|
+
/* @__PURE__ */ n(Kt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2337
|
+
c && y && /* @__PURE__ */ n(
|
|
2338
|
+
Ut,
|
|
2339
2339
|
{
|
|
2340
2340
|
longitude: c.longitude,
|
|
2341
2341
|
latitude: c.latitude,
|
|
2342
2342
|
anchor: c.anchor,
|
|
2343
|
-
onClose: () =>
|
|
2343
|
+
onClose: () => g(null),
|
|
2344
2344
|
children: c.content
|
|
2345
2345
|
}
|
|
2346
2346
|
)
|
|
@@ -2399,7 +2399,7 @@ const un = "_mapContainer_b0pyr_3", pn = {
|
|
|
2399
2399
|
FeaturePopUp: mn,
|
|
2400
2400
|
title: hn
|
|
2401
2401
|
}, gn = ({ props: i }) => {
|
|
2402
|
-
const { t: d } =
|
|
2402
|
+
const { t: d } = B();
|
|
2403
2403
|
return /* @__PURE__ */ n("div", { className: at.FeaturePopUp, children: i.map((s) => /* @__PURE__ */ p("p", { children: [
|
|
2404
2404
|
/* @__PURE__ */ p("span", { className: at.title, children: [
|
|
2405
2405
|
/* @__PURE__ */ n(We, { i18nKey: s.name, components: { sup: /* @__PURE__ */ n("sup", {}) }, shouldUnescape: !0 }),
|
|
@@ -2422,44 +2422,44 @@ const un = "_mapContainer_b0pyr_3", pn = {
|
|
|
2422
2422
|
interactiveLayers: a = [],
|
|
2423
2423
|
sources: c = [],
|
|
2424
2424
|
layers: u = [],
|
|
2425
|
-
popUpParams:
|
|
2425
|
+
popUpParams: h,
|
|
2426
2426
|
onClosePopUp: m,
|
|
2427
|
-
showTexts:
|
|
2428
|
-
hash:
|
|
2427
|
+
showTexts: y,
|
|
2428
|
+
hash: g = !1
|
|
2429
2429
|
}) => {
|
|
2430
|
-
const
|
|
2430
|
+
const b = ae();
|
|
2431
2431
|
return F(() => {
|
|
2432
|
-
if (
|
|
2433
|
-
const v =
|
|
2432
|
+
if (b.current) {
|
|
2433
|
+
const v = b.current.getMap();
|
|
2434
2434
|
v.getStyle().layers.map((f) => {
|
|
2435
|
-
f.type == "symbol" && f.id != "professionals" && (
|
|
2435
|
+
f.type == "symbol" && f.id != "professionals" && (y ? v.setLayoutProperty(f.id, "visibility", "visible") : v.setLayoutProperty(f.id, "visibility", "none"));
|
|
2436
2436
|
});
|
|
2437
2437
|
}
|
|
2438
|
-
}, [
|
|
2439
|
-
let v = new
|
|
2438
|
+
}, [y]), F(() => {
|
|
2439
|
+
let v = new Wt();
|
|
2440
2440
|
return Ie.addProtocol("pmtiles", v.tile), () => {
|
|
2441
2441
|
Ie.removeProtocol("pmtiles");
|
|
2442
2442
|
};
|
|
2443
2443
|
}, []), /* @__PURE__ */ n("div", { className: `${pn.mapContainer}`, style: r && r, children: /* @__PURE__ */ p(
|
|
2444
|
-
|
|
2444
|
+
Gt,
|
|
2445
2445
|
{
|
|
2446
2446
|
mapLib: Ie,
|
|
2447
2447
|
initialViewState: i,
|
|
2448
|
-
ref:
|
|
2449
|
-
hash:
|
|
2448
|
+
ref: b,
|
|
2449
|
+
hash: g,
|
|
2450
2450
|
maxZoom: d,
|
|
2451
2451
|
minZoom: s,
|
|
2452
2452
|
mapStyle: o,
|
|
2453
2453
|
onClick: l,
|
|
2454
2454
|
interactiveLayerIds: a,
|
|
2455
2455
|
children: [
|
|
2456
|
-
c.length && c.map((v,
|
|
2457
|
-
|
|
2456
|
+
c.length && c.map((v, _) => /* @__PURE__ */ n(
|
|
2457
|
+
Yt,
|
|
2458
2458
|
{
|
|
2459
2459
|
...v,
|
|
2460
2460
|
children: u.length && u.map((f, C) => {
|
|
2461
2461
|
if (f.sourceId == v.id) return /* @__PURE__ */ n(
|
|
2462
|
-
|
|
2462
|
+
Xt,
|
|
2463
2463
|
{
|
|
2464
2464
|
...f.layer,
|
|
2465
2465
|
beforeId: t,
|
|
@@ -2472,16 +2472,16 @@ const un = "_mapContainer_b0pyr_3", pn = {
|
|
|
2472
2472
|
);
|
|
2473
2473
|
})
|
|
2474
2474
|
},
|
|
2475
|
-
|
|
2475
|
+
_
|
|
2476
2476
|
)),
|
|
2477
|
-
/* @__PURE__ */ n(
|
|
2478
|
-
|
|
2479
|
-
|
|
2477
|
+
/* @__PURE__ */ n(Qt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2478
|
+
h && /* @__PURE__ */ n(
|
|
2479
|
+
Jt,
|
|
2480
2480
|
{
|
|
2481
|
-
longitude:
|
|
2482
|
-
latitude:
|
|
2481
|
+
longitude: h.lng,
|
|
2482
|
+
latitude: h.lat,
|
|
2483
2483
|
onClose: m,
|
|
2484
|
-
children: /* @__PURE__ */ n(gn, { props:
|
|
2484
|
+
children: /* @__PURE__ */ n(gn, { props: h.props })
|
|
2485
2485
|
}
|
|
2486
2486
|
)
|
|
2487
2487
|
]
|
|
@@ -2548,7 +2548,7 @@ const fn = "_sectionBar_1egwc_2", bn = "_leftContent_1egwc_14", yn = "_textConta
|
|
|
2548
2548
|
width: r,
|
|
2549
2549
|
borderTop: l = !1
|
|
2550
2550
|
}) => {
|
|
2551
|
-
const { t: a } =
|
|
2551
|
+
const { t: a } = B();
|
|
2552
2552
|
return /* @__PURE__ */ p("div", { className: ie.sectionBar, style: { width: r && r, borderTop: l ? "1px solid #000" : "0px" }, children: [
|
|
2553
2553
|
/* @__PURE__ */ p("div", { className: ie.leftContent, children: [
|
|
2554
2554
|
i && /* @__PURE__ */ n("img", { src: i, alt: "Icono", className: ie.icon }),
|
|
@@ -2575,7 +2575,7 @@ xn.propTypes = {
|
|
|
2575
2575
|
// ancho de la barra
|
|
2576
2576
|
borderTop: e.bool
|
|
2577
2577
|
};
|
|
2578
|
-
const Nn =
|
|
2578
|
+
const Nn = e2({
|
|
2579
2579
|
name: "mapSlice",
|
|
2580
2580
|
initialState: {
|
|
2581
2581
|
showTexts: !0,
|
|
@@ -2601,10 +2601,10 @@ const Nn = t2({
|
|
|
2601
2601
|
i.activeIndicatorUnit = d.payload;
|
|
2602
2602
|
}
|
|
2603
2603
|
}
|
|
2604
|
-
}), { setShowTexts:
|
|
2605
|
-
slider:
|
|
2606
|
-
playButton:
|
|
2607
|
-
sliderOpen:
|
|
2604
|
+
}), { setShowTexts: Ls, setYear: Bs, setActiveIndicatorKey: Ts, setActiveIndicatorType: Ms, setActiveIndicatorUnit: Vs } = Nn.actions, kn = "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", $n = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3crect%20x='15'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3crect%20x='23'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3c/svg%3e", Sn = "_slider_1prh1_2", Ln = "_playButton_1prh1_14", Bn = "_sliderOpen_1prh1_25", Tn = "_sliderResults_1prh1_29", Ce = {
|
|
2605
|
+
slider: Sn,
|
|
2606
|
+
playButton: Ln,
|
|
2607
|
+
sliderOpen: Bn,
|
|
2608
2608
|
sliderResults: Tn
|
|
2609
2609
|
}, Mn = ({
|
|
2610
2610
|
onResults: i = !1,
|
|
@@ -2619,9 +2619,9 @@ const Nn = t2({
|
|
|
2619
2619
|
}) => {
|
|
2620
2620
|
const [a, c] = A(d), u = (f, C) => {
|
|
2621
2621
|
c(C), l(C);
|
|
2622
|
-
}, [
|
|
2622
|
+
}, [h, m] = A(!1), y = () => {
|
|
2623
2623
|
m(!0);
|
|
2624
|
-
},
|
|
2624
|
+
}, g = () => {
|
|
2625
2625
|
m(!1);
|
|
2626
2626
|
};
|
|
2627
2627
|
((f, C) => {
|
|
@@ -2638,9 +2638,9 @@ const Nn = t2({
|
|
|
2638
2638
|
}
|
|
2639
2639
|
}, [C]);
|
|
2640
2640
|
})(() => {
|
|
2641
|
-
|
|
2641
|
+
h && (a != 2050 ? (c(a + 1), l(a + 1)) : (c(2025), l(2025)));
|
|
2642
2642
|
}, 1e3);
|
|
2643
|
-
const v =
|
|
2643
|
+
const v = n2({
|
|
2644
2644
|
palette: {
|
|
2645
2645
|
primary: {
|
|
2646
2646
|
main: "#605b56"
|
|
@@ -2662,14 +2662,14 @@ const Nn = t2({
|
|
|
2662
2662
|
}
|
|
2663
2663
|
}
|
|
2664
2664
|
}
|
|
2665
|
-
}),
|
|
2665
|
+
}), _ = [
|
|
2666
2666
|
{ label: "", value: 2025 },
|
|
2667
2667
|
{ label: "", value: 2032 },
|
|
2668
2668
|
{ label: "", value: 2041 },
|
|
2669
2669
|
{ label: "", value: 2050 }
|
|
2670
2670
|
];
|
|
2671
|
-
return /* @__PURE__ */ n(
|
|
2672
|
-
|
|
2671
|
+
return /* @__PURE__ */ n(s2, { theme: v, children: /* @__PURE__ */ p(
|
|
2672
|
+
i2,
|
|
2673
2673
|
{
|
|
2674
2674
|
sx: { width: 400 },
|
|
2675
2675
|
className: `${i ? Ce.sliderResults : Ce.slider} ${r ? Ce.sliderOpen : ""}`,
|
|
@@ -2677,13 +2677,13 @@ const Nn = t2({
|
|
|
2677
2677
|
children: [
|
|
2678
2678
|
s,
|
|
2679
2679
|
/* @__PURE__ */ n(
|
|
2680
|
-
|
|
2680
|
+
t2,
|
|
2681
2681
|
{
|
|
2682
2682
|
"aria-label": "TimeSlider",
|
|
2683
2683
|
value: a,
|
|
2684
2684
|
valueLabelDisplay: "on",
|
|
2685
2685
|
step: 1,
|
|
2686
|
-
marks:
|
|
2686
|
+
marks: _,
|
|
2687
2687
|
min: s,
|
|
2688
2688
|
max: o,
|
|
2689
2689
|
onChange: u,
|
|
@@ -2692,8 +2692,8 @@ const Nn = t2({
|
|
|
2692
2692
|
}
|
|
2693
2693
|
),
|
|
2694
2694
|
o,
|
|
2695
|
-
!
|
|
2696
|
-
|
|
2695
|
+
!h && /* @__PURE__ */ n("button", { className: Ce.playButton, onClick: y, children: /* @__PURE__ */ n("img", { src: kn, alt: "Play" }) }),
|
|
2696
|
+
h && /* @__PURE__ */ n("button", { className: Ce.playButton, onClick: g, children: /* @__PURE__ */ n("img", { src: $n, alt: "Pause" }) })
|
|
2697
2697
|
]
|
|
2698
2698
|
}
|
|
2699
2699
|
) });
|
|
@@ -2720,9 +2720,9 @@ const Vn = "_TopNavMenuContainer_12mp4_2", Dn = "_topNavOptions_12mp4_13", Fn =
|
|
|
2720
2720
|
console.log("Changed NavLink", r);
|
|
2721
2721
|
}
|
|
2722
2722
|
}) => {
|
|
2723
|
-
const { t: r } =
|
|
2723
|
+
const { t: r } = B();
|
|
2724
2724
|
return /* @__PURE__ */ n("div", { className: qe.TopNavMenuContainer, style: { ...d }, children: i.map((l, a) => /* @__PURE__ */ n(
|
|
2725
|
-
|
|
2725
|
+
o2,
|
|
2726
2726
|
{
|
|
2727
2727
|
to: l.url,
|
|
2728
2728
|
className: ({ isActive: c }) => `${qe.topNavOptions} ${c ? qe.active : ""} `,
|
|
@@ -2762,7 +2762,7 @@ const In = "_LogInButton_1vxj5_2", On = {
|
|
|
2762
2762
|
console.log("Logout clicked");
|
|
2763
2763
|
}
|
|
2764
2764
|
}) => {
|
|
2765
|
-
const { t: c } =
|
|
2765
|
+
const { t: c } = B();
|
|
2766
2766
|
return /* @__PURE__ */ n(
|
|
2767
2767
|
"div",
|
|
2768
2768
|
{
|
|
@@ -2781,7 +2781,7 @@ Rn.propTypes = {
|
|
|
2781
2781
|
userName: e.string,
|
|
2782
2782
|
isLoggedIn: e.bool
|
|
2783
2783
|
};
|
|
2784
|
-
const qn = "_elementSelector_1ox68_2", Pn = "_header_1ox68_14", En = "_nameDateContainer_1ox68_24", jn = "_elementName_1ox68_40", Zn = "_elementDate_1ox68_54", zn = "_buttonsContainer_1ox68_68", Hn = "_elementListContainer_1ox68_77", Kn = "_newElementButtonContainer_1ox68_81",
|
|
2784
|
+
const qn = "_elementSelector_1ox68_2", Pn = "_header_1ox68_14", En = "_nameDateContainer_1ox68_24", jn = "_elementName_1ox68_40", Zn = "_elementDate_1ox68_54", zn = "_buttonsContainer_1ox68_68", Hn = "_elementListContainer_1ox68_77", Kn = "_newElementButtonContainer_1ox68_81", W = {
|
|
2785
2785
|
elementSelector: qn,
|
|
2786
2786
|
header: Pn,
|
|
2787
2787
|
nameDateContainer: En,
|
|
@@ -2836,17 +2836,17 @@ const ai = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2836
2836
|
elementButtons: a,
|
|
2837
2837
|
processTooltip: c,
|
|
2838
2838
|
defaultTooltip: u,
|
|
2839
|
-
showEye:
|
|
2839
|
+
showEye: h = !0
|
|
2840
2840
|
}) => {
|
|
2841
|
-
const { name: m, created_at:
|
|
2841
|
+
const { name: m, created_at: y, id: g, isBeingProcessed: b } = i, [v, _] = A(!1), { t: f } = B();
|
|
2842
2842
|
return /* @__PURE__ */ p(
|
|
2843
2843
|
"div",
|
|
2844
2844
|
{
|
|
2845
2845
|
className: K.listElement,
|
|
2846
2846
|
style: { borderBottom: `1px solid ${t}` },
|
|
2847
2847
|
children: [
|
|
2848
|
-
/* @__PURE__ */ n("div", { className: K.elementNameDate, onClick: () => d(
|
|
2849
|
-
|
|
2848
|
+
/* @__PURE__ */ n("div", { className: K.elementNameDate, onClick: () => d(g), children: Object.keys(l).map((C) => C === "name" ? /* @__PURE__ */ n("div", { className: K.elementNameContainer, children: /* @__PURE__ */ p("div", { className: K.elementName, children: [
|
|
2849
|
+
h && (s ? /* @__PURE__ */ n(ri, { style: { color: o, marginRight: 9 } }) : /* @__PURE__ */ n(
|
|
2850
2850
|
"img",
|
|
2851
2851
|
{
|
|
2852
2852
|
style: { marginRight: 9 },
|
|
@@ -2855,7 +2855,7 @@ const ai = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2855
2855
|
}
|
|
2856
2856
|
)),
|
|
2857
2857
|
/* @__PURE__ */ n("span", { style: { color: s ? o : t }, children: m })
|
|
2858
|
-
] }) }) : C == "data" ? /* @__PURE__ */ n("div", { className: K.elementDate, children:
|
|
2858
|
+
] }) }) : C == "data" ? /* @__PURE__ */ n("div", { className: K.elementDate, children: y ? new Date(y).toLocaleDateString() : "" }) : /* @__PURE__ */ n("div", { className: K.elementDate, children: i[C] })) }),
|
|
2859
2859
|
/* @__PURE__ */ p("div", { className: K.elementButtons, children: [
|
|
2860
2860
|
i.processing && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2861
2861
|
/* @__PURE__ */ n("img", { src: si }),
|
|
@@ -2880,7 +2880,7 @@ const ai = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2880
2880
|
] }),
|
|
2881
2881
|
r && /* @__PURE__ */ n("div", { className: K.break }),
|
|
2882
2882
|
r && /* @__PURE__ */ p("div", { className: K.moreInfoContainer, children: [
|
|
2883
|
-
/* @__PURE__ */ p("div", { className: K.moreInfo, onClick: () =>
|
|
2883
|
+
/* @__PURE__ */ p("div", { className: K.moreInfo, onClick: () => _(!v), children: [
|
|
2884
2884
|
/* @__PURE__ */ n("span", { children: v ? "-" : "+" }),
|
|
2885
2885
|
f(r.label)
|
|
2886
2886
|
] }),
|
|
@@ -2935,53 +2935,53 @@ const ct = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2935
2935
|
containerStyles: r = {},
|
|
2936
2936
|
newElementButton: l,
|
|
2937
2937
|
//{label: 'text', onClick: function(), disabled}/null
|
|
2938
|
-
onClickElement: a = (
|
|
2938
|
+
onClickElement: a = (b) => console.log(`OnCLickElement: ${b}`),
|
|
2939
2939
|
columns: c,
|
|
2940
2940
|
// {'name': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
|
|
2941
2941
|
elementButtons: u,
|
|
2942
2942
|
//{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
|
|
2943
|
-
moreInfo:
|
|
2943
|
+
moreInfo: h = !1,
|
|
2944
2944
|
//{label: 'x'}
|
|
2945
2945
|
processTooltip: m,
|
|
2946
2946
|
//texto para el tooltip del simbolo "En proceso"
|
|
2947
|
-
defaultTooltip:
|
|
2947
|
+
defaultTooltip: y,
|
|
2948
2948
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
2949
|
-
showEye:
|
|
2949
|
+
showEye: g = !0
|
|
2950
2950
|
}) => {
|
|
2951
|
-
const { t:
|
|
2951
|
+
const { t: b } = B(), [v, _] = A(i);
|
|
2952
2952
|
F(() => {
|
|
2953
|
-
i &&
|
|
2953
|
+
i && _(i);
|
|
2954
2954
|
}, [i]);
|
|
2955
2955
|
const f = (C) => {
|
|
2956
2956
|
if (v && v.length > 0) {
|
|
2957
2957
|
let N = [...v];
|
|
2958
|
-
N.sort((w, x) => w[C].localeCompare(x[C])),
|
|
2958
|
+
N.sort((w, x) => w[C].localeCompare(x[C])), _(N);
|
|
2959
2959
|
}
|
|
2960
2960
|
};
|
|
2961
2961
|
return /* @__PURE__ */ p(
|
|
2962
2962
|
"div",
|
|
2963
2963
|
{
|
|
2964
|
-
className:
|
|
2964
|
+
className: W.elementSelector,
|
|
2965
2965
|
style: { color: s, ...r },
|
|
2966
2966
|
children: [
|
|
2967
2967
|
/* @__PURE__ */ p(
|
|
2968
2968
|
"div",
|
|
2969
2969
|
{
|
|
2970
|
-
className:
|
|
2970
|
+
className: W.header,
|
|
2971
2971
|
style: { borderBottom: `1px solid ${s}` },
|
|
2972
2972
|
children: [
|
|
2973
|
-
/* @__PURE__ */ n("div", { className:
|
|
2974
|
-
/* @__PURE__ */ n("span", { children:
|
|
2973
|
+
/* @__PURE__ */ n("div", { className: W.nameDateContainer, children: Object.keys(c).map((C) => C === "name" ? /* @__PURE__ */ n("div", { className: W.elementName, children: /* @__PURE__ */ p("button", { onClick: () => f("name"), children: [
|
|
2974
|
+
/* @__PURE__ */ n("span", { children: b(c.name) }),
|
|
2975
2975
|
/* @__PURE__ */ n("img", { src: ct, alt: "order arrow" })
|
|
2976
|
-
] }) }, C) : C === "data" ? /* @__PURE__ */ n("div", { className:
|
|
2977
|
-
/* @__PURE__ */ n("span", { children:
|
|
2976
|
+
] }) }, C) : C === "data" ? /* @__PURE__ */ n("div", { className: W.elementDate, children: /* @__PURE__ */ p("button", { onClick: () => f("date"), children: [
|
|
2977
|
+
/* @__PURE__ */ n("span", { children: b(c.data) }),
|
|
2978
2978
|
/* @__PURE__ */ n("img", { src: ct, alt: "order arrow" })
|
|
2979
|
-
] }) }, C) : /* @__PURE__ */ n("div", { className:
|
|
2980
|
-
/* @__PURE__ */ n("div", { className:
|
|
2979
|
+
] }) }, C) : /* @__PURE__ */ n("div", { className: W.elementDate, children: /* @__PURE__ */ n("span", { children: b(c[C]) }) }, C)) }),
|
|
2980
|
+
/* @__PURE__ */ n("div", { className: W.buttonsContainer })
|
|
2981
2981
|
]
|
|
2982
2982
|
}
|
|
2983
2983
|
),
|
|
2984
|
-
/* @__PURE__ */ n("div", { className:
|
|
2984
|
+
/* @__PURE__ */ n("div", { className: W.elementListContainer, children: v && v.length > 0 && v.map((C) => /* @__PURE__ */ n(
|
|
2985
2985
|
Lt,
|
|
2986
2986
|
{
|
|
2987
2987
|
isActive: d == C.id,
|
|
@@ -2991,21 +2991,21 @@ const ct = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2991
2991
|
onClickElement: a,
|
|
2992
2992
|
columns: c,
|
|
2993
2993
|
elementButtons: u,
|
|
2994
|
-
moreInfo:
|
|
2994
|
+
moreInfo: h,
|
|
2995
2995
|
processTooltip: m,
|
|
2996
|
-
defaultTooltip:
|
|
2997
|
-
showEye:
|
|
2996
|
+
defaultTooltip: y,
|
|
2997
|
+
showEye: g
|
|
2998
2998
|
},
|
|
2999
2999
|
`elementKey${C.id}`
|
|
3000
3000
|
)) }),
|
|
3001
|
-
l && /* @__PURE__ */ n("div", { className:
|
|
3001
|
+
l && /* @__PURE__ */ n("div", { className: W.newElementButtonContainer, children: /* @__PURE__ */ n(
|
|
3002
3002
|
Fe,
|
|
3003
3003
|
{
|
|
3004
3004
|
style: { ...t },
|
|
3005
3005
|
onClick: l.onClick,
|
|
3006
3006
|
borderColor: "grey",
|
|
3007
3007
|
disabled: l.disabled || !1,
|
|
3008
|
-
children:
|
|
3008
|
+
children: b(l.label)
|
|
3009
3009
|
}
|
|
3010
3010
|
) })
|
|
3011
3011
|
]
|
|
@@ -3070,13 +3070,13 @@ const ci = "_formContainer_asv64_2", di = "_categorySelectorContainer_asv64_11",
|
|
|
3070
3070
|
radioList: "radioList",
|
|
3071
3071
|
select: "select"
|
|
3072
3072
|
};
|
|
3073
|
-
var mi = (i) => i.type === "checkbox", hi = (i) => i instanceof Date,
|
|
3073
|
+
var mi = (i) => i.type === "checkbox", hi = (i) => i instanceof Date, Bt = (i) => i == null;
|
|
3074
3074
|
const gi = (i) => typeof i == "object";
|
|
3075
|
-
var ve = (i) => !
|
|
3075
|
+
var ve = (i) => !Bt(i) && !Array.isArray(i) && gi(i) && !hi(i), Ci = (i) => ve(i) && i.target ? mi(i.target) ? i.target.checked : i.target.value : i, fi = (i) => i.substring(0, i.search(/\.\d+(\.|$)/)) || i, bi = (i, d) => i.has(fi(d)), yi = (i) => {
|
|
3076
3076
|
const d = i.constructor && i.constructor.prototype;
|
|
3077
3077
|
return ve(d) && d.hasOwnProperty("isPrototypeOf");
|
|
3078
3078
|
}, _i = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
3079
|
-
function
|
|
3079
|
+
function Tt(i) {
|
|
3080
3080
|
let d;
|
|
3081
3081
|
const s = Array.isArray(i), o = typeof FileList < "u" ? i instanceof FileList : !1;
|
|
3082
3082
|
if (i instanceof Date)
|
|
@@ -3086,19 +3086,19 @@ function Mt(i) {
|
|
|
3086
3086
|
d = i;
|
|
3087
3087
|
else
|
|
3088
3088
|
for (const t in i)
|
|
3089
|
-
i.hasOwnProperty(t) && (d[t] =
|
|
3089
|
+
i.hasOwnProperty(t) && (d[t] = Tt(i[t]));
|
|
3090
3090
|
else
|
|
3091
3091
|
return i;
|
|
3092
3092
|
return d;
|
|
3093
3093
|
}
|
|
3094
|
-
var
|
|
3094
|
+
var Mt = (i) => /^\w*$/.test(i), Ue = (i) => i === void 0, vi = (i) => Array.isArray(i) ? i.filter(Boolean) : [], Vt = (i) => vi(i.replace(/["|']|\]/g, "").split(/\.|\[/)), P = (i, d, s) => {
|
|
3095
3095
|
if (!d || !ve(i))
|
|
3096
3096
|
return s;
|
|
3097
|
-
const o = (
|
|
3097
|
+
const o = (Mt(d) ? [d] : Vt(d)).reduce((t, r) => Bt(t) ? t : t[r], i);
|
|
3098
3098
|
return Ue(o) || o === i ? Ue(i[d]) ? s : i[d] : o;
|
|
3099
3099
|
}, Pe = (i) => typeof i == "boolean", dt = (i, d, s) => {
|
|
3100
3100
|
let o = -1;
|
|
3101
|
-
const t =
|
|
3101
|
+
const t = Mt(d) ? [d] : Vt(d), r = t.length, l = r - 1;
|
|
3102
3102
|
for (; ++o < r; ) {
|
|
3103
3103
|
const a = t[o];
|
|
3104
3104
|
let c = s;
|
|
@@ -3116,9 +3116,9 @@ const ut = {
|
|
|
3116
3116
|
CHANGE: "change"
|
|
3117
3117
|
}, pt = {
|
|
3118
3118
|
all: "all"
|
|
3119
|
-
},
|
|
3120
|
-
|
|
3121
|
-
const Qe = () => D.useContext(
|
|
3119
|
+
}, Dt = D.createContext(null);
|
|
3120
|
+
Dt.displayName = "HookFormContext";
|
|
3121
|
+
const Qe = () => D.useContext(Dt);
|
|
3122
3122
|
var wi = (i, d, s, o = !0) => {
|
|
3123
3123
|
const t = {
|
|
3124
3124
|
defaultValues: d._defaultValues
|
|
@@ -3132,7 +3132,7 @@ var wi = (i, d, s, o = !0) => {
|
|
|
3132
3132
|
});
|
|
3133
3133
|
return t;
|
|
3134
3134
|
};
|
|
3135
|
-
const
|
|
3135
|
+
const Ft = typeof window < "u" ? me.useLayoutEffect : me.useEffect;
|
|
3136
3136
|
function xi(i) {
|
|
3137
3137
|
const d = Qe(), { control: s = d.control, disabled: o, name: t, exact: r } = i || {}, [l, a] = D.useState(s._formState), c = D.useRef({
|
|
3138
3138
|
isDirty: !1,
|
|
@@ -3144,7 +3144,7 @@ function xi(i) {
|
|
|
3144
3144
|
isValid: !1,
|
|
3145
3145
|
errors: !1
|
|
3146
3146
|
});
|
|
3147
|
-
return
|
|
3147
|
+
return Ft(() => s._subscribe({
|
|
3148
3148
|
name: t,
|
|
3149
3149
|
formState: c.current,
|
|
3150
3150
|
exact: r,
|
|
@@ -3159,19 +3159,19 @@ function xi(i) {
|
|
|
3159
3159
|
}, [s]), D.useMemo(() => wi(l, s, c.current, !1), [l, s]);
|
|
3160
3160
|
}
|
|
3161
3161
|
var Ni = (i) => typeof i == "string", ki = (i, d, s, o, t) => Ni(i) ? P(s, i, t) : Array.isArray(i) ? i.map((r) => P(s, r)) : s;
|
|
3162
|
-
function
|
|
3162
|
+
function $i(i) {
|
|
3163
3163
|
const d = Qe(), { control: s = d.control, name: o, defaultValue: t, disabled: r, exact: l } = i || {}, a = D.useRef(t), [c, u] = D.useState(s._getWatch(o, a.current));
|
|
3164
|
-
return
|
|
3164
|
+
return Ft(() => s._subscribe({
|
|
3165
3165
|
name: o,
|
|
3166
3166
|
formState: {
|
|
3167
3167
|
values: !0
|
|
3168
3168
|
},
|
|
3169
3169
|
exact: l,
|
|
3170
|
-
callback: (
|
|
3170
|
+
callback: (h) => !r && u(ki(o, s._names, h.values || s._formValues, !1, a.current))
|
|
3171
3171
|
}), [o, s, r, l]), D.useEffect(() => s._removeUnmounted()), c;
|
|
3172
3172
|
}
|
|
3173
|
-
function
|
|
3174
|
-
const d = Qe(), { name: s, disabled: o, control: t = d.control, shouldUnregister: r } = i, l = bi(t._names.array, s), a =
|
|
3173
|
+
function Si(i) {
|
|
3174
|
+
const d = Qe(), { name: s, disabled: o, control: t = d.control, shouldUnregister: r } = i, l = bi(t._names.array, s), a = $i({
|
|
3175
3175
|
control: t,
|
|
3176
3176
|
name: s,
|
|
3177
3177
|
defaultValue: P(t._formValues, s, P(t._defaultValues, s, i.defaultValue)),
|
|
@@ -3180,7 +3180,7 @@ function $i(i) {
|
|
|
3180
3180
|
control: t,
|
|
3181
3181
|
name: s,
|
|
3182
3182
|
exact: !0
|
|
3183
|
-
}), u = D.useRef(i),
|
|
3183
|
+
}), u = D.useRef(i), h = D.useRef(t.register(s, {
|
|
3184
3184
|
...i.rules,
|
|
3185
3185
|
value: a,
|
|
3186
3186
|
...Pe(i.disabled) ? { disabled: i.disabled } : {}
|
|
@@ -3205,36 +3205,36 @@ function $i(i) {
|
|
|
3205
3205
|
enumerable: !0,
|
|
3206
3206
|
get: () => P(c.errors, s)
|
|
3207
3207
|
}
|
|
3208
|
-
}), [c, s]),
|
|
3208
|
+
}), [c, s]), y = D.useCallback((_) => h.current.onChange({
|
|
3209
3209
|
target: {
|
|
3210
|
-
value: Ci(
|
|
3210
|
+
value: Ci(_),
|
|
3211
3211
|
name: s
|
|
3212
3212
|
},
|
|
3213
3213
|
type: ut.CHANGE
|
|
3214
|
-
}), [s]),
|
|
3214
|
+
}), [s]), g = D.useCallback(() => h.current.onBlur({
|
|
3215
3215
|
target: {
|
|
3216
3216
|
value: P(t._formValues, s),
|
|
3217
3217
|
name: s
|
|
3218
3218
|
},
|
|
3219
3219
|
type: ut.BLUR
|
|
3220
|
-
}), [s, t._formValues]),
|
|
3220
|
+
}), [s, t._formValues]), b = D.useCallback((_) => {
|
|
3221
3221
|
const f = P(t._fields, s);
|
|
3222
|
-
f &&
|
|
3223
|
-
focus: () =>
|
|
3224
|
-
select: () =>
|
|
3225
|
-
setCustomValidity: (C) =>
|
|
3226
|
-
reportValidity: () =>
|
|
3222
|
+
f && _ && (f._f.ref = {
|
|
3223
|
+
focus: () => _.focus && _.focus(),
|
|
3224
|
+
select: () => _.select && _.select(),
|
|
3225
|
+
setCustomValidity: (C) => _.setCustomValidity(C),
|
|
3226
|
+
reportValidity: () => _.reportValidity()
|
|
3227
3227
|
});
|
|
3228
3228
|
}, [t._fields, s]), v = D.useMemo(() => ({
|
|
3229
3229
|
name: s,
|
|
3230
3230
|
value: a,
|
|
3231
3231
|
...Pe(o) || c.disabled ? { disabled: c.disabled || o } : {},
|
|
3232
|
-
onChange:
|
|
3233
|
-
onBlur:
|
|
3234
|
-
ref:
|
|
3235
|
-
}), [s, o, c.disabled,
|
|
3232
|
+
onChange: y,
|
|
3233
|
+
onBlur: g,
|
|
3234
|
+
ref: b
|
|
3235
|
+
}), [s, o, c.disabled, y, g, b, a]);
|
|
3236
3236
|
return D.useEffect(() => {
|
|
3237
|
-
const
|
|
3237
|
+
const _ = t._options.shouldUnregister || r;
|
|
3238
3238
|
t.register(s, {
|
|
3239
3239
|
...u.current.rules,
|
|
3240
3240
|
...Pe(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
@@ -3243,12 +3243,12 @@ function $i(i) {
|
|
|
3243
3243
|
const w = P(t._fields, C);
|
|
3244
3244
|
w && w._f && (w._f.mount = N);
|
|
3245
3245
|
};
|
|
3246
|
-
if (f(s, !0),
|
|
3247
|
-
const C =
|
|
3246
|
+
if (f(s, !0), _) {
|
|
3247
|
+
const C = Tt(P(t._options.defaultValues, s));
|
|
3248
3248
|
dt(t._defaultValues, s, C), Ue(P(t._formValues, s)) && dt(t._formValues, s, C);
|
|
3249
3249
|
}
|
|
3250
3250
|
return !l && t.register(s), () => {
|
|
3251
|
-
(l ?
|
|
3251
|
+
(l ? _ && !t._state.action : _) ? t.unregister(s) : f(s, !1);
|
|
3252
3252
|
};
|
|
3253
3253
|
}, [s, t, l, r]), D.useEffect(() => {
|
|
3254
3254
|
t._setDisabledField({
|
|
@@ -3261,9 +3261,9 @@ function $i(i) {
|
|
|
3261
3261
|
fieldState: m
|
|
3262
3262
|
}), [v, c, m]);
|
|
3263
3263
|
}
|
|
3264
|
-
const we = (i) => i.render(
|
|
3265
|
-
textInputContainer:
|
|
3266
|
-
labelContainer:
|
|
3264
|
+
const we = (i) => i.render(Si(i)), Li = "_textInputContainer_1o3iy_2", Bi = "_labelContainer_1o3iy_5", Ti = "_inputContainer_1o3iy_8", Mi = "_showPasswordButton_1o3iy_14", Vi = "_forgotPassButton_1o3iy_26", ye = {
|
|
3265
|
+
textInputContainer: Li,
|
|
3266
|
+
labelContainer: Bi,
|
|
3267
3267
|
inputContainer: Ti,
|
|
3268
3268
|
showPasswordButton: Mi,
|
|
3269
3269
|
forgotPassButton: Vi
|
|
@@ -3274,7 +3274,7 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3274
3274
|
errorColor: d = "red",
|
|
3275
3275
|
containerStyles: s
|
|
3276
3276
|
}) => {
|
|
3277
|
-
const { t: o } =
|
|
3277
|
+
const { t: o } = B();
|
|
3278
3278
|
return /* @__PURE__ */ n(
|
|
3279
3279
|
"div",
|
|
3280
3280
|
{
|
|
@@ -3295,36 +3295,36 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3295
3295
|
validateFunction: a,
|
|
3296
3296
|
placeholder: c,
|
|
3297
3297
|
errorColor: u = "red",
|
|
3298
|
-
width:
|
|
3298
|
+
width: h = 325,
|
|
3299
3299
|
onClickForgotPass: m = () => {
|
|
3300
3300
|
console.log("Click on forgot password");
|
|
3301
3301
|
},
|
|
3302
|
-
forgotPassLabel:
|
|
3303
|
-
} = i, { t:
|
|
3302
|
+
forgotPassLabel: y = "forgot-password"
|
|
3303
|
+
} = i, { t: g } = B(), { control: b, trigger: v, clearErrors: _ } = d, { errorColor: f } = Ne((x) => x), [C, N] = A(!1);
|
|
3304
3304
|
ae(l);
|
|
3305
3305
|
const w = () => o ? o === "password" && C ? "text" : o : "text";
|
|
3306
3306
|
return /* @__PURE__ */ n(
|
|
3307
3307
|
we,
|
|
3308
3308
|
{
|
|
3309
3309
|
name: s,
|
|
3310
|
-
control:
|
|
3310
|
+
control: b,
|
|
3311
3311
|
rules: {
|
|
3312
|
-
required: l ? `${
|
|
3312
|
+
required: l ? `${g(t)} ${g("errorMessages.required")}` : !1,
|
|
3313
3313
|
maxLength: r || void 0,
|
|
3314
3314
|
validate: a || void 0
|
|
3315
3315
|
},
|
|
3316
|
-
render: ({ field: x, fieldState:
|
|
3317
|
-
var
|
|
3316
|
+
render: ({ field: x, fieldState: $ }) => {
|
|
3317
|
+
var S;
|
|
3318
3318
|
return /* @__PURE__ */ p("div", { className: ye.textInputContainer, children: [
|
|
3319
3319
|
/* @__PURE__ */ p("h3", { className: ye.labelContainer, children: [
|
|
3320
|
-
|
|
3320
|
+
g(t),
|
|
3321
3321
|
" ",
|
|
3322
|
-
l && /* @__PURE__ */ n("label", { style: { color:
|
|
3322
|
+
l && /* @__PURE__ */ n("label", { style: { color: $.error ? u : "" }, children: "*" })
|
|
3323
3323
|
] }),
|
|
3324
3324
|
/* @__PURE__ */ p(
|
|
3325
3325
|
"div",
|
|
3326
3326
|
{
|
|
3327
|
-
style: { position: "relative", width:
|
|
3327
|
+
style: { position: "relative", width: h },
|
|
3328
3328
|
className: ye.inputContainer,
|
|
3329
3329
|
children: [
|
|
3330
3330
|
/* @__PURE__ */ n(
|
|
@@ -3332,7 +3332,7 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3332
3332
|
{
|
|
3333
3333
|
type: w(),
|
|
3334
3334
|
...x,
|
|
3335
|
-
placeholder: c ?
|
|
3335
|
+
placeholder: c ? g(c) : "",
|
|
3336
3336
|
maxLength: r || void 0
|
|
3337
3337
|
}
|
|
3338
3338
|
),
|
|
@@ -3346,7 +3346,7 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3346
3346
|
"img",
|
|
3347
3347
|
{
|
|
3348
3348
|
src: C ? Ii : Ai,
|
|
3349
|
-
alt:
|
|
3349
|
+
alt: g("show-password")
|
|
3350
3350
|
}
|
|
3351
3351
|
)
|
|
3352
3352
|
}
|
|
@@ -3354,11 +3354,11 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3354
3354
|
]
|
|
3355
3355
|
}
|
|
3356
3356
|
),
|
|
3357
|
-
o == "password" && /* @__PURE__ */ n("div", { className: ye.forgotPassButton, children: /* @__PURE__ */ n("button", { onClick: m, children:
|
|
3357
|
+
o == "password" && /* @__PURE__ */ n("div", { className: ye.forgotPassButton, children: /* @__PURE__ */ n("button", { onClick: m, children: g(y) }) }),
|
|
3358
3358
|
/* @__PURE__ */ n(
|
|
3359
3359
|
xe,
|
|
3360
3360
|
{
|
|
3361
|
-
errorMessage: (
|
|
3361
|
+
errorMessage: (S = $.error) == null ? void 0 : S.message,
|
|
3362
3362
|
errorColor: f || u
|
|
3363
3363
|
}
|
|
3364
3364
|
)
|
|
@@ -3384,11 +3384,11 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3384
3384
|
required: a,
|
|
3385
3385
|
validateFunction: c,
|
|
3386
3386
|
placeholder: u,
|
|
3387
|
-
errorColor:
|
|
3387
|
+
errorColor: h = "red",
|
|
3388
3388
|
width: m = 325,
|
|
3389
|
-
options:
|
|
3389
|
+
options: y = []
|
|
3390
3390
|
//Used if we dont use react hook form
|
|
3391
|
-
} = i, { t:
|
|
3391
|
+
} = i, { t: g } = B(), { control: b, trigger: v, clearErrors: _ } = d || {}, { errorColor: f } = Ne((w) => w);
|
|
3392
3392
|
ae(a);
|
|
3393
3393
|
const [C, N] = A(null);
|
|
3394
3394
|
return F(() => {
|
|
@@ -3397,40 +3397,40 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3397
3397
|
we,
|
|
3398
3398
|
{
|
|
3399
3399
|
name: o,
|
|
3400
|
-
control:
|
|
3400
|
+
control: b,
|
|
3401
3401
|
rules: {
|
|
3402
|
-
required: a ? `${
|
|
3402
|
+
required: a ? `${g(r)} ${g("errorMessages.required")}` : !1,
|
|
3403
3403
|
validate: c ? (w) => {
|
|
3404
3404
|
let x = d.getValues();
|
|
3405
3405
|
return c(w, x);
|
|
3406
3406
|
} : void 0
|
|
3407
3407
|
},
|
|
3408
3408
|
render: ({ field: w, fieldState: x }) => {
|
|
3409
|
-
var
|
|
3409
|
+
var $;
|
|
3410
3410
|
return /* @__PURE__ */ p("div", { className: z.selectInputContainer, children: [
|
|
3411
3411
|
r && /* @__PURE__ */ p("h3", { className: z.labelContainer, children: [
|
|
3412
|
-
|
|
3412
|
+
g(r),
|
|
3413
3413
|
" ",
|
|
3414
|
-
a && /* @__PURE__ */ n("label", { style: { color: x.error ?
|
|
3414
|
+
a && /* @__PURE__ */ n("label", { style: { color: x.error ? h : "" }, children: "*" })
|
|
3415
3415
|
] }),
|
|
3416
3416
|
/* @__PURE__ */ p("div", { className: z.inputContainer, style: { width: m }, children: [
|
|
3417
3417
|
/* @__PURE__ */ p(
|
|
3418
3418
|
"select",
|
|
3419
3419
|
{
|
|
3420
3420
|
...w,
|
|
3421
|
-
onChange: (
|
|
3422
|
-
const k =
|
|
3423
|
-
w.onChange(
|
|
3421
|
+
onChange: (S) => {
|
|
3422
|
+
const k = S.target.value, L = y.every((V) => typeof V.value == "number") ? Number(k) : k;
|
|
3423
|
+
w.onChange(L);
|
|
3424
3424
|
},
|
|
3425
3425
|
className: z.selectInput,
|
|
3426
3426
|
children: [
|
|
3427
|
-
/* @__PURE__ */ n("option", { value: "", disabled: !0, hidden: !0, children:
|
|
3428
|
-
|
|
3427
|
+
/* @__PURE__ */ n("option", { value: "", disabled: !0, hidden: !0, children: g(u || "selectOption") }),
|
|
3428
|
+
y.map((S, k) => /* @__PURE__ */ n(
|
|
3429
3429
|
"option",
|
|
3430
3430
|
{
|
|
3431
|
-
value:
|
|
3431
|
+
value: S.value,
|
|
3432
3432
|
className: z.option,
|
|
3433
|
-
children:
|
|
3433
|
+
children: g(S.label)
|
|
3434
3434
|
},
|
|
3435
3435
|
k
|
|
3436
3436
|
))
|
|
@@ -3449,8 +3449,8 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3449
3449
|
/* @__PURE__ */ n(
|
|
3450
3450
|
xe,
|
|
3451
3451
|
{
|
|
3452
|
-
errorMessage: (
|
|
3453
|
-
errorColor: f ||
|
|
3452
|
+
errorMessage: ($ = x.error) == null ? void 0 : $.message,
|
|
3453
|
+
errorColor: f || h
|
|
3454
3454
|
}
|
|
3455
3455
|
)
|
|
3456
3456
|
] });
|
|
@@ -3458,7 +3458,7 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3458
3458
|
}
|
|
3459
3459
|
) : /* @__PURE__ */ p("div", { className: z.selectInputContainer, children: [
|
|
3460
3460
|
r && /* @__PURE__ */ p("h3", { className: z.labelContainer, children: [
|
|
3461
|
-
|
|
3461
|
+
g(r),
|
|
3462
3462
|
" ",
|
|
3463
3463
|
a && /* @__PURE__ */ n("label", { children: "*" })
|
|
3464
3464
|
] }),
|
|
@@ -3468,18 +3468,18 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3468
3468
|
{
|
|
3469
3469
|
value: C || "",
|
|
3470
3470
|
onChange: (w) => {
|
|
3471
|
-
const x = w.target.value,
|
|
3472
|
-
N(
|
|
3471
|
+
const x = w.target.value, $ = y.every((S) => typeof S.value == "number") ? Number(x) : x;
|
|
3472
|
+
N($);
|
|
3473
3473
|
},
|
|
3474
3474
|
className: z.selectInput,
|
|
3475
3475
|
children: [
|
|
3476
|
-
/* @__PURE__ */ n("option", { value: "", disabled: !0, hidden: !0, children:
|
|
3477
|
-
|
|
3476
|
+
/* @__PURE__ */ n("option", { value: "", disabled: !0, hidden: !0, children: g(u || "selectOption") }),
|
|
3477
|
+
y.map((w, x) => /* @__PURE__ */ n(
|
|
3478
3478
|
"option",
|
|
3479
3479
|
{
|
|
3480
3480
|
value: w.value,
|
|
3481
3481
|
className: z.option,
|
|
3482
|
-
children:
|
|
3482
|
+
children: g(w.label)
|
|
3483
3483
|
},
|
|
3484
3484
|
x
|
|
3485
3485
|
))
|
|
@@ -3505,28 +3505,28 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3505
3505
|
errorColor: l = "red",
|
|
3506
3506
|
options: a = [],
|
|
3507
3507
|
multi: c = !1
|
|
3508
|
-
} = i, { t: u } =
|
|
3508
|
+
} = i, { t: u } = B(), { control: h, trigger: m, clearErrors: y } = d, { errorColor: g } = Ne((_) => _), b = ({ options: _, onChange: f, actualValue: C }) => {
|
|
3509
3509
|
if (c && C && C.length > 0) {
|
|
3510
|
-
let N = C.filter((w) => w !==
|
|
3510
|
+
let N = C.filter((w) => w !== _);
|
|
3511
3511
|
f(N);
|
|
3512
3512
|
}
|
|
3513
|
-
}, v = ({ options:
|
|
3514
|
-
c ? C && C.length > 0 ? f([...C,
|
|
3513
|
+
}, v = ({ options: _, onChange: f, actualValue: C }) => {
|
|
3514
|
+
c ? C && C.length > 0 ? f([...C, _]) : f([_]) : f(_);
|
|
3515
3515
|
};
|
|
3516
3516
|
return ae(t), /* @__PURE__ */ n(
|
|
3517
3517
|
we,
|
|
3518
3518
|
{
|
|
3519
|
-
control:
|
|
3519
|
+
control: h,
|
|
3520
3520
|
name: s,
|
|
3521
3521
|
rules: {
|
|
3522
|
-
validate: (
|
|
3522
|
+
validate: (_) => t && (_ == null || _ === "") ? `${u(o)} ${u("errorMessages.required")}` : null
|
|
3523
3523
|
},
|
|
3524
3524
|
render: ({
|
|
3525
|
-
formState: { errors:
|
|
3525
|
+
formState: { errors: _ },
|
|
3526
3526
|
field: { onChange: f, onBlur: C, value: N, ref: w },
|
|
3527
3527
|
fieldState: x
|
|
3528
3528
|
}) => {
|
|
3529
|
-
var
|
|
3529
|
+
var $;
|
|
3530
3530
|
return /* @__PURE__ */ n("div", { id: s + "id", className: se.radioButtonContainer, children: /* @__PURE__ */ p("div", { className: se.wholeInputContainer, children: [
|
|
3531
3531
|
o && /* @__PURE__ */ n("div", { className: se.questionContainer, children: /* @__PURE__ */ p(
|
|
3532
3532
|
"h3",
|
|
@@ -3549,9 +3549,9 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3549
3549
|
/* @__PURE__ */ p("div", { className: se.inputContainer, children: [
|
|
3550
3550
|
a.map(
|
|
3551
3551
|
({
|
|
3552
|
-
label:
|
|
3552
|
+
label: S,
|
|
3553
3553
|
value: k,
|
|
3554
|
-
disabled:
|
|
3554
|
+
disabled: L = !1,
|
|
3555
3555
|
italicLabel: V
|
|
3556
3556
|
}, H) => {
|
|
3557
3557
|
const T = N && c ? N.isArray && (N == null ? void 0 : N.length) > 0 && N.some((j) => j === k) : N === k;
|
|
@@ -3562,7 +3562,7 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3562
3562
|
type: "radio",
|
|
3563
3563
|
checked: T,
|
|
3564
3564
|
onChange: () => {
|
|
3565
|
-
c ? T ?
|
|
3565
|
+
c ? T ? b({
|
|
3566
3566
|
actualValue: N,
|
|
3567
3567
|
options: a,
|
|
3568
3568
|
onChange: f
|
|
@@ -3576,15 +3576,15 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3576
3576
|
}
|
|
3577
3577
|
),
|
|
3578
3578
|
/* @__PURE__ */ n("span", { className: "radio-custom" }),
|
|
3579
|
-
u(
|
|
3579
|
+
u(S)
|
|
3580
3580
|
] }, `inputRadio ${H}`);
|
|
3581
3581
|
}
|
|
3582
3582
|
),
|
|
3583
3583
|
/* @__PURE__ */ n(
|
|
3584
3584
|
xe,
|
|
3585
3585
|
{
|
|
3586
|
-
errorMessage: (
|
|
3587
|
-
errorColor:
|
|
3586
|
+
errorMessage: ($ = x.error) == null ? void 0 : $.message,
|
|
3587
|
+
errorColor: g || l
|
|
3588
3588
|
}
|
|
3589
3589
|
)
|
|
3590
3590
|
] })
|
|
@@ -3601,7 +3601,7 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3601
3601
|
labels: i1,
|
|
3602
3602
|
minLabel: s1,
|
|
3603
3603
|
maxLabel: o1
|
|
3604
|
-
},
|
|
3604
|
+
}, At = ({ input: i, reactHookFormInstance: d, onChange: s }) => {
|
|
3605
3605
|
const {
|
|
3606
3606
|
code: o,
|
|
3607
3607
|
label: t,
|
|
@@ -3611,20 +3611,20 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3611
3611
|
thumbColor: c = "#B32F5D",
|
|
3612
3612
|
//trackColors = ["#B32F5D", "#EFEFEF"],
|
|
3613
3613
|
required: u,
|
|
3614
|
-
errorColor:
|
|
3614
|
+
errorColor: h = "red",
|
|
3615
3615
|
labelWidth: m = "300px",
|
|
3616
|
-
sliderWidth:
|
|
3617
|
-
minText:
|
|
3618
|
-
maxText:
|
|
3616
|
+
sliderWidth: y = "300px",
|
|
3617
|
+
minText: g,
|
|
3618
|
+
maxText: b,
|
|
3619
3619
|
disabled: v = !1,
|
|
3620
|
-
marks:
|
|
3620
|
+
marks: _ = Array.from(
|
|
3621
3621
|
{ length: l - r + 1 },
|
|
3622
|
-
(
|
|
3622
|
+
(L, V) => r + V
|
|
3623
3623
|
),
|
|
3624
3624
|
showMarksNumber: f = !0
|
|
3625
|
-
} = i, { t: C } =
|
|
3625
|
+
} = i, { t: C } = B(), { control: N, trigger: w, clearErrors: x } = d || {};
|
|
3626
3626
|
ae(u);
|
|
3627
|
-
const { errorColorForm:
|
|
3627
|
+
const { errorColorForm: $ } = Ne((L) => L), [S, k] = A(a);
|
|
3628
3628
|
return d ? /* @__PURE__ */ n(
|
|
3629
3629
|
we,
|
|
3630
3630
|
{
|
|
@@ -3634,19 +3634,19 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3634
3634
|
rules: {
|
|
3635
3635
|
required: u ? `${C(t)} ${C("errorMessages.required")}` : !1
|
|
3636
3636
|
},
|
|
3637
|
-
render: ({ field:
|
|
3637
|
+
render: ({ field: L, fieldState: V }) => {
|
|
3638
3638
|
var H;
|
|
3639
3639
|
return /* @__PURE__ */ p(
|
|
3640
3640
|
"div",
|
|
3641
3641
|
{
|
|
3642
3642
|
className: I.rankingSliderContainer,
|
|
3643
3643
|
style: {
|
|
3644
|
-
gridTemplateColumns: `${t && m} ${
|
|
3644
|
+
gridTemplateColumns: `${t && m} ${y}`
|
|
3645
3645
|
},
|
|
3646
3646
|
children: [
|
|
3647
3647
|
t && /* @__PURE__ */ n("p", { className: I.labelContainer, children: C(t) }),
|
|
3648
3648
|
/* @__PURE__ */ p("div", { className: I.inputContainer, children: [
|
|
3649
|
-
|
|
3649
|
+
g && /* @__PURE__ */ n("div", { className: I.minLabel, children: C(g) }),
|
|
3650
3650
|
/* @__PURE__ */ p("div", { children: [
|
|
3651
3651
|
/* @__PURE__ */ n(
|
|
3652
3652
|
He,
|
|
@@ -3654,8 +3654,8 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3654
3654
|
min: r,
|
|
3655
3655
|
max: l,
|
|
3656
3656
|
step: 1,
|
|
3657
|
-
value:
|
|
3658
|
-
onChange: (T) =>
|
|
3657
|
+
value: L.value ?? a,
|
|
3658
|
+
onChange: (T) => L.onChange(T),
|
|
3659
3659
|
marks: !0,
|
|
3660
3660
|
className: I.slider,
|
|
3661
3661
|
thumbClassName: I.thumb,
|
|
@@ -3671,15 +3671,15 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3671
3671
|
disabled: v
|
|
3672
3672
|
}
|
|
3673
3673
|
),
|
|
3674
|
-
|
|
3674
|
+
_ && /* @__PURE__ */ n("div", { className: I.labels, children: _.map((T) => /* @__PURE__ */ n("span", { children: f && T }, T)) })
|
|
3675
3675
|
] }),
|
|
3676
|
-
|
|
3676
|
+
b && /* @__PURE__ */ n("div", { className: I.maxLabel, children: C(b) })
|
|
3677
3677
|
] }),
|
|
3678
3678
|
/* @__PURE__ */ n(
|
|
3679
3679
|
xe,
|
|
3680
3680
|
{
|
|
3681
3681
|
errorMessage: (H = V.error) == null ? void 0 : H.message,
|
|
3682
|
-
errorColor:
|
|
3682
|
+
errorColor: $ || h
|
|
3683
3683
|
}
|
|
3684
3684
|
)
|
|
3685
3685
|
]
|
|
@@ -3691,11 +3691,11 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3691
3691
|
"div",
|
|
3692
3692
|
{
|
|
3693
3693
|
className: I.rankingSliderContainer,
|
|
3694
|
-
style: { gridTemplateColumns: `${t && m} ${
|
|
3694
|
+
style: { gridTemplateColumns: `${t && m} ${y}` },
|
|
3695
3695
|
children: [
|
|
3696
3696
|
t && /* @__PURE__ */ n("p", { className: I.labelContainer, children: C(t) }),
|
|
3697
3697
|
/* @__PURE__ */ p("div", { className: I.inputContainer, children: [
|
|
3698
|
-
|
|
3698
|
+
g && /* @__PURE__ */ n("div", { className: I.minLabel, children: C(g) }),
|
|
3699
3699
|
/* @__PURE__ */ p("div", { children: [
|
|
3700
3700
|
/* @__PURE__ */ n(
|
|
3701
3701
|
He,
|
|
@@ -3703,18 +3703,18 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3703
3703
|
min: r,
|
|
3704
3704
|
max: l,
|
|
3705
3705
|
step: 1,
|
|
3706
|
-
value:
|
|
3707
|
-
onChange: (
|
|
3708
|
-
k(
|
|
3706
|
+
value: S,
|
|
3707
|
+
onChange: (L) => {
|
|
3708
|
+
k(L), s && s(L);
|
|
3709
3709
|
},
|
|
3710
3710
|
marks: !0,
|
|
3711
3711
|
className: I.slider,
|
|
3712
3712
|
thumbClassName: I.thumb,
|
|
3713
|
-
renderThumb: (
|
|
3713
|
+
renderThumb: (L) => /* @__PURE__ */ n(
|
|
3714
3714
|
"div",
|
|
3715
3715
|
{
|
|
3716
|
-
...
|
|
3717
|
-
style: { ...
|
|
3716
|
+
...L,
|
|
3717
|
+
style: { ...L.style, backgroundColor: c }
|
|
3718
3718
|
}
|
|
3719
3719
|
),
|
|
3720
3720
|
trackClassName: I.track,
|
|
@@ -3722,15 +3722,15 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3722
3722
|
disabled: v
|
|
3723
3723
|
}
|
|
3724
3724
|
),
|
|
3725
|
-
|
|
3725
|
+
_ && /* @__PURE__ */ n("div", { className: I.labels, children: _.map((L) => /* @__PURE__ */ n("span", { children: f && L }, L)) })
|
|
3726
3726
|
] }),
|
|
3727
|
-
|
|
3727
|
+
b && /* @__PURE__ */ n("div", { className: I.maxLabel, children: C(b) })
|
|
3728
3728
|
] })
|
|
3729
3729
|
]
|
|
3730
3730
|
}
|
|
3731
3731
|
);
|
|
3732
3732
|
};
|
|
3733
|
-
|
|
3733
|
+
At.propTypes = {
|
|
3734
3734
|
input: e.shape({
|
|
3735
3735
|
code: e.string,
|
|
3736
3736
|
label: e.string,
|
|
@@ -3835,7 +3835,7 @@ const _e = ({
|
|
|
3835
3835
|
className: ue.inputContainer,
|
|
3836
3836
|
style: { ...d },
|
|
3837
3837
|
children: /* @__PURE__ */ n(
|
|
3838
|
-
|
|
3838
|
+
At,
|
|
3839
3839
|
{
|
|
3840
3840
|
input: l,
|
|
3841
3841
|
reactHookFormInstance: s
|
|
@@ -3859,7 +3859,7 @@ const _e = ({
|
|
|
3859
3859
|
activeColor: o,
|
|
3860
3860
|
containerStyles: t = {}
|
|
3861
3861
|
}) => {
|
|
3862
|
-
const { t: r } =
|
|
3862
|
+
const { t: r } = B(), l = (a) => {
|
|
3863
3863
|
d(a);
|
|
3864
3864
|
};
|
|
3865
3865
|
return /* @__PURE__ */ n(
|
|
@@ -3868,7 +3868,7 @@ const _e = ({
|
|
|
3868
3868
|
className: Te.categorySelector,
|
|
3869
3869
|
style: t ? { ...t } : {},
|
|
3870
3870
|
children: i.map((a, c) => {
|
|
3871
|
-
const { id: u, label:
|
|
3871
|
+
const { id: u, label: h } = a, m = s == u;
|
|
3872
3872
|
return /* @__PURE__ */ n(
|
|
3873
3873
|
"button",
|
|
3874
3874
|
{
|
|
@@ -3881,7 +3881,7 @@ const _e = ({
|
|
|
3881
3881
|
{
|
|
3882
3882
|
style: { color: m ? "white" : "inherit" },
|
|
3883
3883
|
className: Te.sectionLabel,
|
|
3884
|
-
children: r(
|
|
3884
|
+
children: r(h)
|
|
3885
3885
|
}
|
|
3886
3886
|
)
|
|
3887
3887
|
},
|
|
@@ -3890,7 +3890,7 @@ const _e = ({
|
|
|
3890
3890
|
})
|
|
3891
3891
|
}
|
|
3892
3892
|
);
|
|
3893
|
-
},
|
|
3893
|
+
}, Ds = ({
|
|
3894
3894
|
reactHookFormInstance: i,
|
|
3895
3895
|
formObject: d,
|
|
3896
3896
|
CategoryComponent: s,
|
|
@@ -3901,35 +3901,35 @@ const _e = ({
|
|
|
3901
3901
|
submitButtonStyles: a = { width: 325 },
|
|
3902
3902
|
showCategorySelector: c = !0,
|
|
3903
3903
|
defaultCategory: u = null,
|
|
3904
|
-
categoryLabel:
|
|
3904
|
+
categoryLabel: h = "Select Category",
|
|
3905
3905
|
activeCategory: m = null,
|
|
3906
|
-
activeCategoryColor:
|
|
3907
|
-
onSubmit:
|
|
3906
|
+
activeCategoryColor: y = "#b32f5d",
|
|
3907
|
+
onSubmit: g = (b) => console.log("Form submitted with: ", b)
|
|
3908
3908
|
}) => {
|
|
3909
|
-
const { t:
|
|
3909
|
+
const { t: b } = B(), { handleSubmit: v, control: _ } = i;
|
|
3910
3910
|
F(() => {
|
|
3911
3911
|
r && Ne.setState(() => ({ errorColor: r }));
|
|
3912
3912
|
}, [r]);
|
|
3913
3913
|
const f = he(() => d ? d.filter((k) => k.category).map((k) => {
|
|
3914
|
-
var
|
|
3914
|
+
var L;
|
|
3915
3915
|
return {
|
|
3916
3916
|
id: k.categoryId,
|
|
3917
3917
|
label: k.category,
|
|
3918
|
-
hasSubcategories: ((
|
|
3918
|
+
hasSubcategories: ((L = k.subcategories) == null ? void 0 : L.length) > 0
|
|
3919
3919
|
};
|
|
3920
3920
|
}) : [], [d]), C = (k) => {
|
|
3921
|
-
const
|
|
3922
|
-
return (
|
|
3921
|
+
const L = d == null ? void 0 : d.find((V) => V.categoryId === k);
|
|
3922
|
+
return (L == null ? void 0 : L.subcategories) || [];
|
|
3923
3923
|
}, [N, w] = A(
|
|
3924
3924
|
m || u || null
|
|
3925
|
-
), [x,
|
|
3925
|
+
), [x, $] = A(null);
|
|
3926
3926
|
F(() => {
|
|
3927
3927
|
!N && f.length > 0 && w(f[0].id);
|
|
3928
3928
|
}, [f, N]), F(() => {
|
|
3929
3929
|
const k = C(N);
|
|
3930
|
-
!x && (k == null ? void 0 : k.length) > 0 &&
|
|
3930
|
+
!x && (k == null ? void 0 : k.length) > 0 && $(k[0].id);
|
|
3931
3931
|
}, [N, x, d]);
|
|
3932
|
-
const
|
|
3932
|
+
const S = (k, L) => {
|
|
3933
3933
|
var V;
|
|
3934
3934
|
if (((V = k.subcategories) == null ? void 0 : V.length) > 0) {
|
|
3935
3935
|
const H = k.subcategories;
|
|
@@ -3943,8 +3943,8 @@ const _e = ({
|
|
|
3943
3943
|
{
|
|
3944
3944
|
activeCategory: x,
|
|
3945
3945
|
categories: H,
|
|
3946
|
-
onChange: (T) =>
|
|
3947
|
-
activeColor:
|
|
3946
|
+
onChange: (T) => $(T),
|
|
3947
|
+
activeColor: y
|
|
3948
3948
|
}
|
|
3949
3949
|
)
|
|
3950
3950
|
},
|
|
@@ -3963,7 +3963,7 @@ const _e = ({
|
|
|
3963
3963
|
_e,
|
|
3964
3964
|
{
|
|
3965
3965
|
inputs: T.inputs,
|
|
3966
|
-
control:
|
|
3966
|
+
control: _,
|
|
3967
3967
|
inputContainerStyles: o,
|
|
3968
3968
|
errorColor: r,
|
|
3969
3969
|
reactHookFormInstance: i
|
|
@@ -3979,12 +3979,12 @@ const _e = ({
|
|
|
3979
3979
|
display: Z ? "block" : "none"
|
|
3980
3980
|
},
|
|
3981
3981
|
children: [
|
|
3982
|
-
/* @__PURE__ */ n("h3", { style: { marginBottom: 15 }, children:
|
|
3982
|
+
/* @__PURE__ */ n("h3", { style: { marginBottom: 15 }, children: b(T.label) }),
|
|
3983
3983
|
/* @__PURE__ */ n(
|
|
3984
3984
|
_e,
|
|
3985
3985
|
{
|
|
3986
3986
|
inputs: T.inputs,
|
|
3987
|
-
control:
|
|
3987
|
+
control: _,
|
|
3988
3988
|
inputContainerStyles: o,
|
|
3989
3989
|
errorColor: r,
|
|
3990
3990
|
reactHookFormInstance: i
|
|
@@ -4001,18 +4001,18 @@ const _e = ({
|
|
|
4001
4001
|
_e,
|
|
4002
4002
|
{
|
|
4003
4003
|
inputs: k.inputs,
|
|
4004
|
-
control:
|
|
4004
|
+
control: _,
|
|
4005
4005
|
inputContainerStyles: o,
|
|
4006
4006
|
errorColor: r,
|
|
4007
4007
|
reactHookFormInstance: i
|
|
4008
4008
|
}
|
|
4009
4009
|
) }, k.categoryId) : /* @__PURE__ */ p("div", { style: { width: "100%" }, children: [
|
|
4010
|
-
/* @__PURE__ */ n("h2", { children:
|
|
4010
|
+
/* @__PURE__ */ n("h2", { children: b(k.category) }),
|
|
4011
4011
|
/* @__PURE__ */ n(
|
|
4012
4012
|
_e,
|
|
4013
4013
|
{
|
|
4014
4014
|
inputs: k.inputs,
|
|
4015
|
-
control:
|
|
4015
|
+
control: _,
|
|
4016
4016
|
inputContainerStyles: o,
|
|
4017
4017
|
errorColor: r,
|
|
4018
4018
|
reactHookFormInstance: i
|
|
@@ -4020,19 +4020,19 @@ const _e = ({
|
|
|
4020
4020
|
)
|
|
4021
4021
|
] }, k.categoryId);
|
|
4022
4022
|
};
|
|
4023
|
-
return /* @__PURE__ */ p("form", { className: fe.formContainer, onSubmit: v(
|
|
4023
|
+
return /* @__PURE__ */ p("form", { className: fe.formContainer, onSubmit: v(g), children: [
|
|
4024
4024
|
c && f.length > 0 && /* @__PURE__ */ n("div", { className: fe.categorySelectorContainer, children: /* @__PURE__ */ n(
|
|
4025
4025
|
gt,
|
|
4026
4026
|
{
|
|
4027
4027
|
activeCategory: N,
|
|
4028
4028
|
categories: f,
|
|
4029
4029
|
onChange: (k) => {
|
|
4030
|
-
w(k),
|
|
4030
|
+
w(k), $(null);
|
|
4031
4031
|
},
|
|
4032
|
-
activeColor:
|
|
4032
|
+
activeColor: y
|
|
4033
4033
|
}
|
|
4034
4034
|
) }),
|
|
4035
|
-
/* @__PURE__ */ n("div", { className: fe.formObjectContainer, children: d == null ? void 0 : d.map((k,
|
|
4035
|
+
/* @__PURE__ */ n("div", { className: fe.formObjectContainer, children: d == null ? void 0 : d.map((k, L) => {
|
|
4036
4036
|
const V = k.categoryId === N;
|
|
4037
4037
|
return k.category && !V ? null : k.category && V ? /* @__PURE__ */ n(
|
|
4038
4038
|
"div",
|
|
@@ -4041,14 +4041,14 @@ const _e = ({
|
|
|
4041
4041
|
// visibility: section.categoryId ? "visible" : "hidden",
|
|
4042
4042
|
width: "100%"
|
|
4043
4043
|
},
|
|
4044
|
-
children:
|
|
4044
|
+
children: S(k)
|
|
4045
4045
|
},
|
|
4046
4046
|
k.categoryId
|
|
4047
4047
|
) : /* @__PURE__ */ n(
|
|
4048
4048
|
_e,
|
|
4049
4049
|
{
|
|
4050
4050
|
inputs: k.inputs,
|
|
4051
|
-
control:
|
|
4051
|
+
control: _,
|
|
4052
4052
|
inputContainerStyles: o,
|
|
4053
4053
|
errorColor: r,
|
|
4054
4054
|
reactHookFormInstance: i
|
|
@@ -4056,11 +4056,11 @@ const _e = ({
|
|
|
4056
4056
|
);
|
|
4057
4057
|
}) }),
|
|
4058
4058
|
/* @__PURE__ */ p("div", { className: fe.buttonContainer, children: [
|
|
4059
|
-
/* @__PURE__ */ n(Fe, { containerStyles: a, type: "submit", children:
|
|
4059
|
+
/* @__PURE__ */ n(Fe, { containerStyles: a, type: "submit", children: b(l) }),
|
|
4060
4060
|
/* @__PURE__ */ n(xe, { errorMessage: t, errorColor: r })
|
|
4061
4061
|
] })
|
|
4062
4062
|
] });
|
|
4063
|
-
}, c1 = "_overlay_mnd4j_2", d1 = "_modal_mnd4j_15", u1 = "_closeButton_mnd4j_29", p1 = "_icon_mnd4j_39", m1 = "_message_mnd4j_45", h1 = "_submessage_mnd4j_51", g1 = "_buttonsContainer_mnd4j_57", C1 = "_buttonWrapper_mnd4j_64",
|
|
4063
|
+
}, c1 = "_overlay_mnd4j_2", d1 = "_modal_mnd4j_15", u1 = "_closeButton_mnd4j_29", p1 = "_icon_mnd4j_39", m1 = "_message_mnd4j_45", h1 = "_submessage_mnd4j_51", g1 = "_buttonsContainer_mnd4j_57", C1 = "_buttonWrapper_mnd4j_64", Q = {
|
|
4064
4064
|
overlay: c1,
|
|
4065
4065
|
modal: d1,
|
|
4066
4066
|
closeButton: u1,
|
|
@@ -4077,17 +4077,17 @@ const _e = ({
|
|
|
4077
4077
|
buttons: t,
|
|
4078
4078
|
maxHeight: r = "450px",
|
|
4079
4079
|
maxWidth: l = "450px"
|
|
4080
|
-
}) => /* @__PURE__ */ n("div", { className:
|
|
4080
|
+
}) => /* @__PURE__ */ n("div", { className: Q.overlay, children: /* @__PURE__ */ p(
|
|
4081
4081
|
"div",
|
|
4082
4082
|
{
|
|
4083
|
-
className:
|
|
4083
|
+
className: Q.modal,
|
|
4084
4084
|
style: { maxHeight: r, maxWidth: l },
|
|
4085
4085
|
children: [
|
|
4086
|
-
/* @__PURE__ */ n("button", { className:
|
|
4087
|
-
d && /* @__PURE__ */ n("img", { src: d, alt: "icon", className:
|
|
4088
|
-
/* @__PURE__ */ n("p", { className:
|
|
4089
|
-
o && /* @__PURE__ */ n("p", { className:
|
|
4090
|
-
t.length > 0 && /* @__PURE__ */ n("div", { className:
|
|
4086
|
+
/* @__PURE__ */ n("button", { className: Q.closeButton, onClick: i, "aria-label": "Close modal", children: "✕" }),
|
|
4087
|
+
d && /* @__PURE__ */ n("img", { src: d, alt: "icon", className: Q.icon }),
|
|
4088
|
+
/* @__PURE__ */ n("p", { className: Q.message, children: s }),
|
|
4089
|
+
o && /* @__PURE__ */ n("p", { className: Q.submessage, children: o }),
|
|
4090
|
+
t.length > 0 && /* @__PURE__ */ n("div", { className: Q.buttonsContainer, children: t.map((a, c) => /* @__PURE__ */ n("div", { className: Q.buttonWrapper, children: a }, c)) })
|
|
4091
4091
|
]
|
|
4092
4092
|
}
|
|
4093
4093
|
) });
|
|
@@ -4107,7 +4107,7 @@ f1.propTypes = {
|
|
|
4107
4107
|
/** Anchura máxima del modal (por defecto 400px) */
|
|
4108
4108
|
maxWidth: e.string
|
|
4109
4109
|
};
|
|
4110
|
-
const b1 = "_stepsContainer_1cyua_3", y1 = "_stepWrapper_1cyua_9", _1 = "_circleContainer_1cyua_19", v1 = "_circle_1cyua_19", w1 = "_active_1cyua_39", x1 = "_completed_1cyua_44", N1 = "_label_1cyua_50", k1 = "_labelActive_1cyua_56",
|
|
4110
|
+
const b1 = "_stepsContainer_1cyua_3", y1 = "_stepWrapper_1cyua_9", _1 = "_circleContainer_1cyua_19", v1 = "_circle_1cyua_19", w1 = "_active_1cyua_39", x1 = "_completed_1cyua_44", N1 = "_label_1cyua_50", k1 = "_labelActive_1cyua_56", $1 = "_connector_1cyua_61", G = {
|
|
4111
4111
|
stepsContainer: b1,
|
|
4112
4112
|
stepWrapper: y1,
|
|
4113
4113
|
circleContainer: _1,
|
|
@@ -4116,34 +4116,34 @@ const b1 = "_stepsContainer_1cyua_3", y1 = "_stepWrapper_1cyua_9", _1 = "_circle
|
|
|
4116
4116
|
completed: x1,
|
|
4117
4117
|
label: N1,
|
|
4118
4118
|
labelActive: k1,
|
|
4119
|
-
connector:
|
|
4120
|
-
},
|
|
4119
|
+
connector: $1
|
|
4120
|
+
}, It = ({ steps: i, activeColor: d }) => /* @__PURE__ */ n("div", { className: G.stepsContainer, children: i.map((s, o) => {
|
|
4121
4121
|
const t = s.status === "active", r = s.status === "completed";
|
|
4122
|
-
return /* @__PURE__ */ p("div", { className:
|
|
4123
|
-
/* @__PURE__ */ p("div", { className:
|
|
4122
|
+
return /* @__PURE__ */ p("div", { className: G.stepWrapper, children: [
|
|
4123
|
+
/* @__PURE__ */ p("div", { className: G.circleContainer, children: [
|
|
4124
4124
|
/* @__PURE__ */ n(
|
|
4125
4125
|
"div",
|
|
4126
4126
|
{
|
|
4127
|
-
className: `${
|
|
4128
|
-
${t ?
|
|
4129
|
-
${r ?
|
|
4127
|
+
className: `${G.circle}
|
|
4128
|
+
${t ? G.active : ""}
|
|
4129
|
+
${r ? G.completed : ""}`,
|
|
4130
4130
|
style: t ? { backgroundColor: d } : {},
|
|
4131
4131
|
onClick: s.onClick,
|
|
4132
4132
|
children: o + 1
|
|
4133
4133
|
}
|
|
4134
4134
|
),
|
|
4135
|
-
o < i.length - 1 && /* @__PURE__ */ n("div", { className:
|
|
4135
|
+
o < i.length - 1 && /* @__PURE__ */ n("div", { className: G.connector })
|
|
4136
4136
|
] }),
|
|
4137
4137
|
/* @__PURE__ */ n(
|
|
4138
4138
|
"div",
|
|
4139
4139
|
{
|
|
4140
|
-
className: `${
|
|
4140
|
+
className: `${G.label} ${t ? G.labelActive : ""}`,
|
|
4141
4141
|
children: s.name
|
|
4142
4142
|
}
|
|
4143
4143
|
)
|
|
4144
4144
|
] }, o);
|
|
4145
4145
|
}) });
|
|
4146
|
-
|
|
4146
|
+
It.propTypes = {
|
|
4147
4147
|
steps: e.arrayOf(
|
|
4148
4148
|
e.shape({
|
|
4149
4149
|
name: e.string.isRequired,
|
|
@@ -4153,29 +4153,29 @@ Ot.propTypes = {
|
|
|
4153
4153
|
).isRequired,
|
|
4154
4154
|
activeColor: e.string
|
|
4155
4155
|
};
|
|
4156
|
-
|
|
4156
|
+
It.defaultProps = {
|
|
4157
4157
|
activeColor: "#C2185B"
|
|
4158
4158
|
// color por defecto
|
|
4159
4159
|
};
|
|
4160
|
-
const
|
|
4161
|
-
statusTextContainer:
|
|
4162
|
-
},
|
|
4163
|
-
|
|
4160
|
+
const S1 = "_statusTextContainer_ch14r_2", L1 = {
|
|
4161
|
+
statusTextContainer: S1
|
|
4162
|
+
}, Ot = ({ text: i, color: d }) => /* @__PURE__ */ n("div", { className: L1.statusTextContainer, style: { background: d }, children: /* @__PURE__ */ n("span", { children: i }) });
|
|
4163
|
+
Ot.propTypes = {
|
|
4164
4164
|
text: e.string,
|
|
4165
4165
|
color: e.string
|
|
4166
4166
|
};
|
|
4167
|
-
|
|
4167
|
+
Ot.defaultProps = {
|
|
4168
4168
|
color: "#C2185B"
|
|
4169
4169
|
// color por defecto
|
|
4170
4170
|
};
|
|
4171
|
-
const
|
|
4172
|
-
buttonsContainer:
|
|
4171
|
+
const B1 = "_buttonsContainer_1c7dw_2", T1 = "_button_1c7dw_2", M1 = "_active_1c7dw_20", Me = {
|
|
4172
|
+
buttonsContainer: B1,
|
|
4173
4173
|
button: T1,
|
|
4174
4174
|
active: M1
|
|
4175
4175
|
}, V1 = ({
|
|
4176
4176
|
buttons: i = []
|
|
4177
4177
|
}) => {
|
|
4178
|
-
const { t: d } =
|
|
4178
|
+
const { t: d } = B();
|
|
4179
4179
|
return /* @__PURE__ */ n("div", { className: `${Me.buttonsContainer}`, children: i.map((s, o) => {
|
|
4180
4180
|
const {
|
|
4181
4181
|
isActive: t,
|
|
@@ -4218,15 +4218,15 @@ const D1 = "_switchContainer_194wl_2", F1 = "_labelRight_194wl_9", A1 = "_labelL
|
|
|
4218
4218
|
defValue: a = !1,
|
|
4219
4219
|
colorOn: c = "#5A514D",
|
|
4220
4220
|
disabled: u = !1,
|
|
4221
|
-
width:
|
|
4222
|
-
} = i, { t: m } =
|
|
4223
|
-
|
|
4224
|
-
},
|
|
4221
|
+
width: h = 240
|
|
4222
|
+
} = i, { t: m } = B(), { control: y } = d || {}, [g, b] = A(a), v = (f) => {
|
|
4223
|
+
b(f), s && s(f);
|
|
4224
|
+
}, _ = (f, C) => /* @__PURE__ */ p("div", { className: pe.switchContainer, style: { width: `${h}px` }, children: [
|
|
4225
4225
|
r && /* @__PURE__ */ n(
|
|
4226
4226
|
"span",
|
|
4227
4227
|
{
|
|
4228
4228
|
className: pe.labelLeft,
|
|
4229
|
-
style: { width: `${(
|
|
4229
|
+
style: { width: `${(h - 74) / 2}px` },
|
|
4230
4230
|
children: m(r)
|
|
4231
4231
|
}
|
|
4232
4232
|
),
|
|
@@ -4250,17 +4250,17 @@ const D1 = "_switchContainer_194wl_2", F1 = "_labelRight_194wl_9", A1 = "_labelL
|
|
|
4250
4250
|
}
|
|
4251
4251
|
)
|
|
4252
4252
|
] }),
|
|
4253
|
-
l && /* @__PURE__ */ n("span", { className: pe.labelRight, style: { width: `${(
|
|
4253
|
+
l && /* @__PURE__ */ n("span", { className: pe.labelRight, style: { width: `${(h - 74) / 2}px` }, children: m(l) })
|
|
4254
4254
|
] });
|
|
4255
4255
|
return d ? /* @__PURE__ */ n(
|
|
4256
4256
|
we,
|
|
4257
4257
|
{
|
|
4258
4258
|
name: t,
|
|
4259
|
-
control:
|
|
4259
|
+
control: y,
|
|
4260
4260
|
defaultValue: a,
|
|
4261
|
-
render: ({ field: f }) =>
|
|
4261
|
+
render: ({ field: f }) => _(f.value, f.onChange)
|
|
4262
4262
|
}
|
|
4263
|
-
) :
|
|
4263
|
+
) : _(g, v);
|
|
4264
4264
|
};
|
|
4265
4265
|
R1.propTypes = {
|
|
4266
4266
|
input: e.shape({
|
|
@@ -4294,134 +4294,141 @@ Z1.propTypes = {
|
|
|
4294
4294
|
gifSrc: e.string,
|
|
4295
4295
|
message: e.string
|
|
4296
4296
|
};
|
|
4297
|
-
const z1 = "
|
|
4297
|
+
const z1 = "_container_1lj4l_3", H1 = "_burger_1lj4l_8", K1 = "_menu_1lj4l_19", U1 = "_menuOpen_1lj4l_33", W1 = "_menuClose_1lj4l_38", G1 = "_list_1lj4l_44", Y1 = "_item_1lj4l_54", X1 = "_button_1lj4l_89", U = {
|
|
4298
4298
|
container: z1,
|
|
4299
4299
|
burger: H1,
|
|
4300
4300
|
menu: K1,
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4301
|
+
menuOpen: U1,
|
|
4302
|
+
menuClose: W1,
|
|
4303
|
+
list: G1,
|
|
4304
|
+
item: Y1,
|
|
4305
|
+
button: X1
|
|
4306
|
+
}, Rt = ({
|
|
4307
|
+
options: i,
|
|
4308
|
+
backgroundColor: d,
|
|
4309
|
+
textColor: s,
|
|
4310
|
+
iconColor: o
|
|
4311
|
+
}) => {
|
|
4312
|
+
const [t, r] = A(!1), l = () => r((b) => !b), a = () => r(!1), c = 7, u = t ? 11 : 0, h = t ? 13 : 0, m = t ? -11.51666 : 0, y = t ? -13 : 0, g = "0.35s";
|
|
4313
|
+
return /* @__PURE__ */ p("div", { className: U.container, children: [
|
|
4314
|
+
/* @__PURE__ */ n("button", { onClick: l, className: U.burger, children: /* @__PURE__ */ p(
|
|
4315
|
+
"svg",
|
|
4316
|
+
{
|
|
4317
|
+
width: "40",
|
|
4318
|
+
height: "40",
|
|
4319
|
+
viewBox: "0 0 40 40",
|
|
4320
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4321
|
+
"aria-hidden": "true",
|
|
4322
|
+
children: [
|
|
4323
|
+
/* @__PURE__ */ n(
|
|
4324
|
+
"g",
|
|
4325
|
+
{
|
|
4326
|
+
style: {
|
|
4327
|
+
transform: `translateY(${u}px)`,
|
|
4328
|
+
transition: `transform ${g} cubic-bezier(0.42, 0, 0.58, 1)`
|
|
4329
|
+
},
|
|
4330
|
+
children: /* @__PURE__ */ n("circle", { cx: "20", cy: "9", r: c, fill: o })
|
|
4331
|
+
}
|
|
4332
|
+
),
|
|
4333
|
+
/* @__PURE__ */ n(
|
|
4334
|
+
"g",
|
|
4335
|
+
{
|
|
4336
|
+
style: {
|
|
4337
|
+
transform: `translate(${h}px, ${m}px)`,
|
|
4338
|
+
transition: `transform ${g} cubic-bezier(0.42, 0, 0.58, 1)`
|
|
4339
|
+
},
|
|
4340
|
+
children: /* @__PURE__ */ n("circle", { cx: "7", cy: "31.51666", r: c, fill: o })
|
|
4341
|
+
}
|
|
4342
|
+
),
|
|
4343
|
+
/* @__PURE__ */ n(
|
|
4344
|
+
"g",
|
|
4345
|
+
{
|
|
4346
|
+
style: {
|
|
4347
|
+
transform: `translate(${y}px, ${m}px)`,
|
|
4348
|
+
transition: `transform ${g} cubic-bezier(0.42, 0, 0.58, 1)`
|
|
4349
|
+
},
|
|
4350
|
+
children: /* @__PURE__ */ n("circle", { cx: "33", cy: "31.51666", r: c, fill: o })
|
|
4351
|
+
}
|
|
4352
|
+
),
|
|
4353
|
+
/* @__PURE__ */ n(
|
|
4354
|
+
"g",
|
|
4355
|
+
{
|
|
4356
|
+
style: {
|
|
4357
|
+
opacity: t ? 1 : 0,
|
|
4358
|
+
transition: `opacity ${g} cubic-bezier(0.42, 0, 0.58, 1)`
|
|
4359
|
+
},
|
|
4360
|
+
children: /* @__PURE__ */ n("circle", { cx: "20", cy: "20", r: "10", fill: o })
|
|
4361
|
+
}
|
|
4362
|
+
),
|
|
4363
|
+
/* @__PURE__ */ p(
|
|
4364
|
+
"g",
|
|
4365
|
+
{
|
|
4366
|
+
stroke: d,
|
|
4367
|
+
strokeWidth: "2",
|
|
4368
|
+
strokeLinecap: "round",
|
|
4369
|
+
style: {
|
|
4370
|
+
opacity: t ? 1 : 0,
|
|
4371
|
+
transition: `opacity ${g} cubic-bezier(0.42, 0, 0.58, 1)`
|
|
4372
|
+
},
|
|
4373
|
+
children: [
|
|
4374
|
+
/* @__PURE__ */ n("line", { x1: "17", y1: "17", x2: "23", y2: "23" }),
|
|
4375
|
+
/* @__PURE__ */ n("line", { x1: "23", y1: "17", x2: "17", y2: "23" })
|
|
4376
|
+
]
|
|
4377
|
+
}
|
|
4378
|
+
)
|
|
4379
|
+
]
|
|
4380
|
+
}
|
|
4381
|
+
) }),
|
|
4382
|
+
/* @__PURE__ */ n(
|
|
4369
4383
|
"div",
|
|
4370
4384
|
{
|
|
4371
|
-
className:
|
|
4385
|
+
className: `${U.menu} ${t ? U.menuOpen : U.menuClose}`,
|
|
4372
4386
|
style: { backgroundColor: d, color: s },
|
|
4373
|
-
children: /* @__PURE__ */ n("ul", { className:
|
|
4374
|
-
|
|
4375
|
-
|
|
4387
|
+
children: /* @__PURE__ */ n("ul", { className: U.list, children: i.map((b, v) => /* @__PURE__ */ p("li", { className: U.item, children: [
|
|
4388
|
+
b.url && /* @__PURE__ */ n(
|
|
4389
|
+
NavLink,
|
|
4376
4390
|
{
|
|
4377
|
-
to:
|
|
4378
|
-
className: ({ isActive:
|
|
4391
|
+
to: b.url,
|
|
4392
|
+
className: ({ isActive: _ }) => `${U.link} ${_ ? U.active : ""}`,
|
|
4379
4393
|
onClick: a,
|
|
4380
4394
|
style: { color: s },
|
|
4381
|
-
children:
|
|
4395
|
+
children: b.name
|
|
4382
4396
|
}
|
|
4383
4397
|
),
|
|
4384
|
-
|
|
4398
|
+
b.onclick && /* @__PURE__ */ n(
|
|
4385
4399
|
"button",
|
|
4386
4400
|
{
|
|
4387
|
-
className:
|
|
4401
|
+
className: U.button,
|
|
4388
4402
|
onClick: () => {
|
|
4389
|
-
|
|
4403
|
+
b.onclick(), a();
|
|
4390
4404
|
},
|
|
4391
|
-
children:
|
|
4405
|
+
children: b.name
|
|
4392
4406
|
}
|
|
4393
4407
|
),
|
|
4394
|
-
|
|
4395
|
-
] },
|
|
4408
|
+
b.component && b.component
|
|
4409
|
+
] }, v)) })
|
|
4396
4410
|
}
|
|
4397
4411
|
)
|
|
4398
4412
|
] });
|
|
4399
4413
|
};
|
|
4400
|
-
|
|
4401
|
-
options: e.
|
|
4402
|
-
e.shape({
|
|
4403
|
-
name: e.string,
|
|
4404
|
-
url: e.string,
|
|
4405
|
-
onclick: e.func,
|
|
4406
|
-
component: e.any
|
|
4407
|
-
})
|
|
4408
|
-
).isRequired,
|
|
4414
|
+
Rt.propTypes = {
|
|
4415
|
+
options: e.array.isRequired,
|
|
4409
4416
|
backgroundColor: e.string,
|
|
4410
4417
|
textColor: e.string,
|
|
4411
4418
|
iconColor: e.string
|
|
4412
4419
|
};
|
|
4413
|
-
|
|
4420
|
+
Rt.defaultProps = {
|
|
4414
4421
|
backgroundColor: "#ffffff",
|
|
4415
4422
|
textColor: "#000000",
|
|
4416
4423
|
iconColor: "#000000"
|
|
4417
4424
|
};
|
|
4418
|
-
const
|
|
4419
|
-
header:
|
|
4420
|
-
leftComponents:
|
|
4421
|
-
centerComponents:
|
|
4422
|
-
rightComponents:
|
|
4423
|
-
componentsContainer:
|
|
4424
|
-
},
|
|
4425
|
+
const Q1 = "_header_13kbt_2", J1 = "_leftComponents_13kbt_13", es = "_centerComponents_13kbt_14", ts = "_rightComponents_13kbt_15", ns = "_componentsContainer_13kbt_32", oe = {
|
|
4426
|
+
header: Q1,
|
|
4427
|
+
leftComponents: J1,
|
|
4428
|
+
centerComponents: es,
|
|
4429
|
+
rightComponents: ts,
|
|
4430
|
+
componentsContainer: ns
|
|
4431
|
+
}, is = ({
|
|
4425
4432
|
cssProps: i,
|
|
4426
4433
|
leftComponents: d = [],
|
|
4427
4434
|
centerComponents: s = [],
|
|
@@ -4450,7 +4457,7 @@ const X1 = "_header_13kbt_2", Q1 = "_leftComponents_13kbt_13", J1 = "_centerComp
|
|
|
4450
4457
|
]
|
|
4451
4458
|
}
|
|
4452
4459
|
);
|
|
4453
|
-
|
|
4460
|
+
is.propTypes = {
|
|
4454
4461
|
leftComponents: e.arrayOf(e.node),
|
|
4455
4462
|
centerComponents: e.arrayOf(e.node),
|
|
4456
4463
|
rightComponents: e.arrayOf(e.node),
|
|
@@ -4460,12 +4467,12 @@ ns.propTypes = {
|
|
|
4460
4467
|
backgroundColor: e.string,
|
|
4461
4468
|
isFooter: e.bool
|
|
4462
4469
|
};
|
|
4463
|
-
const
|
|
4464
|
-
sidebar:
|
|
4465
|
-
open:
|
|
4466
|
-
content:
|
|
4467
|
-
closeButton:
|
|
4468
|
-
},
|
|
4470
|
+
const ss = "_sidebar_1kaqu_2", os = "_open_1kaqu_16", rs = "_content_1kaqu_20", as = "_closeButton_1kaqu_25", De = {
|
|
4471
|
+
sidebar: ss,
|
|
4472
|
+
open: os,
|
|
4473
|
+
content: rs,
|
|
4474
|
+
closeButton: as
|
|
4475
|
+
}, ls = "data:image/svg+xml,%3csvg%20width='19'%20height='19'%20viewBox='0%200%2019%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%203699'%3e%3cpath%20id='Vector%20223'%20d='M1%201L18.1566%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20id='Vector%20224'%20d='M18.1575%201L1.00083%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e", cs = ({
|
|
4469
4476
|
width: i = "300px",
|
|
4470
4477
|
children: d,
|
|
4471
4478
|
showRightBar: s,
|
|
@@ -4480,22 +4487,22 @@ const is = "_sidebar_1kaqu_2", ss = "_open_1kaqu_16", os = "_content_1kaqu_20",
|
|
|
4480
4487
|
className: `${De.sidebar} ${s ? De.open : ""}`,
|
|
4481
4488
|
style: { width: s ? i : 0 },
|
|
4482
4489
|
children: s && /* @__PURE__ */ p("div", { className: De.content, children: [
|
|
4483
|
-
/* @__PURE__ */ n("button", { className: De.closeButton, onClick: t, children: /* @__PURE__ */ n("img", { src:
|
|
4490
|
+
/* @__PURE__ */ n("button", { className: De.closeButton, onClick: t, children: /* @__PURE__ */ n("img", { src: ls, alt: "Close Sidebar" }) }),
|
|
4484
4491
|
d
|
|
4485
4492
|
] })
|
|
4486
4493
|
}
|
|
4487
4494
|
);
|
|
4488
4495
|
};
|
|
4489
|
-
|
|
4496
|
+
cs.propTypes = {
|
|
4490
4497
|
width: e.string,
|
|
4491
4498
|
children: e.node,
|
|
4492
4499
|
showRightBar: e.bool,
|
|
4493
4500
|
onCloseBar: e.func
|
|
4494
4501
|
};
|
|
4495
4502
|
export {
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
|
|
4503
|
+
S2 as AmbitSelector,
|
|
4504
|
+
kt as BarChart,
|
|
4505
|
+
Rt as BurgerMenu,
|
|
4499
4506
|
V1 as ButtonsBar,
|
|
4500
4507
|
q2 as ButtonsList,
|
|
4501
4508
|
gt as CategorySelector,
|
|
@@ -4503,10 +4510,10 @@ export {
|
|
|
4503
4510
|
Ss as EditAmbit,
|
|
4504
4511
|
xe as ErrorMessage,
|
|
4505
4512
|
h0 as FiltersAmbit,
|
|
4506
|
-
|
|
4513
|
+
Ds as Form,
|
|
4507
4514
|
Fe as GeneralButton,
|
|
4508
4515
|
f0 as Graphic,
|
|
4509
|
-
|
|
4516
|
+
is as HeaderSection,
|
|
4510
4517
|
I0 as IndicatorsList,
|
|
4511
4518
|
j0 as LangSelector,
|
|
4512
4519
|
on as Legend,
|
|
@@ -4518,12 +4525,12 @@ export {
|
|
|
4518
4525
|
Cn as MaplibreMap,
|
|
4519
4526
|
f1 as ModalAlert,
|
|
4520
4527
|
Xi as RadioButtonInput,
|
|
4521
|
-
|
|
4522
|
-
|
|
4528
|
+
At as RankingSlider,
|
|
4529
|
+
cs as RightSidebar,
|
|
4523
4530
|
xn as SectionBar,
|
|
4524
4531
|
zi as SelectInput,
|
|
4525
|
-
|
|
4526
|
-
|
|
4532
|
+
Ot as StatusText,
|
|
4533
|
+
It as Steps,
|
|
4527
4534
|
R1 as Switch,
|
|
4528
4535
|
mt as TextInput,
|
|
4529
4536
|
Mn as TimeSlider,
|