@tmf_ciclica/ciclicastorybook 1.2.80 → 1.2.81
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 +9 -9
- package/dist/index.es.js +632 -629
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
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_1hv16_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_1hv16_2 ._FiltersContainer_1hv16_15{width:100%}._FiltersAmbitContainer_1hv16_2 ._FiltersAmbitHeader_1hv16_18{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1hv16_2 ._FiltersAmbitHeader_1hv16_18 ._FiltersAmbitTitle_1hv16_26{font-size:18px;font-weight:600;border-bottom:1.5px solid #605b56;width:100%;height:70px;display:flex;align-items:center}._FiltersAmbitContainer_1hv16_2 ._FiltersAmbitHeader_1hv16_18 ._FiltersAmbitDescription_1hv16_35{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_1hv16_2 ._FiltersAmbitHeader_1hv16_18 ._FiltersAmbitDescription_1hv16_35 ._FiltersAmbitDescriptionTitle_1hv16_46{font-size:18px;font-weight:600}._FiltersAmbitContainer_1hv16_2 ._warning_1hv16_50{color:red}._FiltersAmbitContainer_1hv16_2 ._buttonContainer_1hv16_53{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}._barChartContainer_18uur_2{position:relative}._barChartContainer_18uur_2::-webkit-scrollbar{display:none}._graphicContainer_1ozwp_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;padding:33px 50px;border-radius:20px}._graphicContainer_1ozwp_2 ._titleContainer_1ozwp_13{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_4ndr8_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}@media (max-width: 500px){._legendContainer_4ndr8_3{width:250px}}._legendContainer_4ndr8_3 ._sectionContainer_4ndr8_25:not(:first-child){margin-top:30px;padding-top:20px;border-top:1px solid #e0e0e0}._legendContainer_4ndr8_3::-webkit-scrollbar{width:8px}._legendContainer_4ndr8_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_4ndr8_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_4ndr8_3 ._closeButton_4ndr8_41{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_4ndr8_3 ._closeButton_4ndr8_41:before,._legendContainer_4ndr8_3 ._closeButton_4ndr8_41:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_4ndr8_3 ._closeButton_4ndr8_41:before{transform:rotate(45deg)}._legendContainer_4ndr8_3 ._closeButton_4ndr8_41:after{transform:rotate(-45deg)}._legendContainer_4ndr8_3 ._titleContainer_4ndr8_69{border-bottom:solid 1.5px #605b56}._legendContainer_4ndr8_3 ._titleContainer_4ndr8_69 h2{padding-bottom:16px}._legendContainer_4ndr8_3 ._infoContainer_4ndr8_75{padding-top:20px}._legendContainer_4ndr8_3 ._infoContainer_4ndr8_75 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_4ndr8_3 ._titleLegendList_4ndr8_86{font-size:20px;padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._gridContainer_4ndr8_92{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._gridContainer_4ndr8_92 ._elementLegendContainer_4ndr8_98{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._gridContainer_4ndr8_92 ._elementLegendContainer_4ndr8_98 ._colorDot_4ndr8_104{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._absoluteValueContainer_4ndr8_110{position:relative}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._absoluteValueContainer_4ndr8_110 ._absoluteValueColor_4ndr8_113{height:130px;width:22px;border-radius:20px}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._absoluteValueContainer_4ndr8_110 ._absoluteValueText_4ndr8_118{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_4ndr8_3 ._legendListContainer_4ndr8_92 ._noDataContainer_4ndr8_130{position:relative;margin-top:10px}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._noDataContainer_4ndr8_130 ._noData_4ndr8_130{height:22px;width:22px;border-radius:20px}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._noDataContainer_4ndr8_130 ._absoluteValueText_4ndr8_118{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_4ndr8_3 ._moreInfoContainer_4ndr8_151{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_yf2vy_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_yf2vy_14{display:flex;align-items:center;gap:12px}._textContainer_yf2vy_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_yf2vy_27{font-size:16px;font-weight:600;color:#605b56}._subtitle_yf2vy_33{font-size:16px;color:#605b56}._rightContent_yf2vy_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_s4s4h_3{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_s4s4h_3 ._elementNameDate_s4s4h_19{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;gap:5px}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19 ._elementNameContainer_s4s4h_30{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative;overflow-wrap:break-word;word-break:break-word}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19 ._elementName_s4s4h_19{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19 ._elementDate_s4s4h_47{flex:.5}._listElement_s4s4h_3 ._nameAndEye_s4s4h_50{display:grid!important;grid-template-columns:26px auto;gap:9px!important}._listElement_s4s4h_3 ._elementButtons_s4s4h_55{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_s4s4h_3 ._elementButtons_s4s4h_55 button:disabled{opacity:.5;cursor:default}._listElement_s4s4h_3 ._elementButtons_s4s4h_55 img{display:inline}._break_s4s4h_73{flex-basis:100%;height:0}._moreInfoContainer_s4s4h_78 ._moreInfo_s4s4h_78{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_zzz6o_2{width:100%;position:relative}._selectInputContainer_zzz6o_2 ._labelContainer_zzz6o_6{margin-bottom:25px}._selectInputContainer_zzz6o_2 ._selectWrapper_zzz6o_9{display:flex;flex-direction:row;gap:15px;align-items:center}._selectInputContainer_zzz6o_2 ._inputContainer_zzz6o_15{position:relative}._selectInputContainer_zzz6o_2 ._inputContainer_zzz6o_15 ._selectInput_zzz6o_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_zzz6o_2 ._inputContainer_zzz6o_15 ._selectInput_zzz6o_2 ._option_zzz6o_29{cursor:pointer}._selectInputContainer_zzz6o_2 ._inputContainer_zzz6o_15 ._dropdownArrow_zzz6o_32{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}._textDescriptionContainer_163pc_2{margin:10px 0}._textDescriptionText_163pc_6{margin:0}._categorySelector_1guuv_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_1guuv_2 ._sectionItemActive_1guuv_16{color:#fff}._categorySelector_1guuv_2 ._sectionItem_1guuv_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%;position:relative}._categorySelector_1guuv_2 ._sectionItemError_1guuv_32{border:1px solid #e74c3c}._categorySelector_1guuv_2 ._errorDot_1guuv_35{width:8px;height:8px;border-radius:50%;background-color:#e74c3c;display:inline-block;margin-right:6px}._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_1pl8d_3{position:relative;display:flex;align-intems:center}._burger_1pl8d_10{position:fixed;top:10px;right:25px;background:none;border:none;cursor:pointer;z-index:1000}._menu_1pl8d_21{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_1pl8d_35{transform:translate(0)}._menuClose_1pl8d_40{transform:translate(100%);pointer-events:none}._list_1pl8d_46{list-style:none;padding:0;margin-top:50px;display:flex;flex-direction:column;gap:1rem}._item_1pl8d_56{opacity:0;transform:translate(20px);transition:opacity .3s ease,transform .3s ease;font-size:16px!important}._menuOpen_1pl8d_35 ._item_1pl8d_56{opacity:1;transform:translate(0)}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(1){transition-delay:.05s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(2){transition-delay:.1s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(3){transition-delay:.15s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(4){transition-delay:.2s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(5){transition-delay:.25s}._button_1pl8d_91{background:none;border:none;color:inherit;font-size:18px;cursor:pointer;padding:0}._svgContainer_1rxoe_2{width:100%;box-sizing:border-box;position:relative}._svgContainer_1rxoe_2 ._svg_1rxoe_2{width:100%;height:100%;overflow:visible;display:block}@media (max-width: 768px){._svgContainer_1rxoe_2{padding:10px}}@media (max-width: 480px){._svgContainer_1rxoe_2{padding:5px}}.bar{transition:opacity .2s ease-in-out}.bar:hover{opacity:.8}.x-axis ._domain_1rxoe_31,.y-axis ._domain_1rxoe_31{stroke:#333;stroke-width:1px}.x-axis ._tick_1rxoe_36 line,.y-axis ._tick_1rxoe_36 line{stroke:#333;stroke-width:1px}.x-axis ._tick_1rxoe_36 text,.y-axis ._tick_1rxoe_36 text{fill:#605b56;font-family:Arial,sans-serif}._svgContainer_7fkic_2{width:100%;box-sizing:border-box;position:relative;overflow-x:auto}._svgContainer_7fkic_2 ._svg_7fkic_2{overflow:visible;display:block;max-width:none}@media (max-width: 768px){._svgContainer_7fkic_2{padding:10px}}@media (max-width: 480px){._svgContainer_7fkic_2{padding:5px}}.layer rect{transition:opacity .2s ease-in-out}.layer rect:hover{opacity:.8}.x-axis ._domain_7fkic_32,.y-axis ._domain_7fkic_32{stroke:#333;stroke-width:1px}.x-axis ._tick_7fkic_37 line,.y-axis ._tick_7fkic_37 line{stroke:#333;stroke-width:1px}.x-axis ._tick_7fkic_37 text,.y-axis ._tick_7fkic_37 text{fill:#605b56;font-family:Arial,sans-serif}.y-ticks ._tick_7fkic_37 line{stroke:#e0e0e0;stroke-width:.5px}.grid{opacity:.5}.chart-tooltip{font-family:Arial,sans-serif;box-shadow:0 2px 4px #0003}._externalContainer_1er0i_2{display:grid;grid-template-columns:170px auto;width:100%;padding:20px;grid-column-gap:5px}._externalContainer_1er0i_2._externalSintetic_1er0i_9{grid-template-columns:250px 80px 1fr;row-gap:20px}._externalContainer_1er0i_2 ._titles_1er0i_13{display:flex;flex-wrap:nowrap;justify-content:end;gap:0;flex-direction:column;align-items:end;padding-right:5px}._externalContainer_1er0i_2 ._titles_1er0i_13 ._titleContainer_1er0i_22{display:flex;flex-wrap:nowrap;justify-content:end;gap:0;flex-direction:row;align-items:center;gap:12px;font-size:12px;font-style:normal;font-weight:400;color:#605b56;height:54px}._externalContainer_1er0i_2 ._yearTitles_1er0i_36{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._externalContainer_1er0i_2 ._yearTitles_1er0i_36 ._yearTitle_1er0i_36{transform:rotate(-90deg);color:#605b56;font-size:13px;flex-shrink:0}._externalContainer_1er0i_2 ._yearDatas_1er0i_50{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._externalContainer_1er0i_2 ._yearDataContainer_1er0i_58{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:center}._externalContainer_1er0i_2 ._yearDataContainer_1er0i_58 ._yearDataContent_1er0i_66{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;border-bottom:1px solid #605b56;font-size:9px;color:#605b56;height:54px}._externalContainer_1er0i_2 ._yearDataContainer_1er0i_58 ._bigNumber_1er0i_79{font-size:8px}._externalContainer_1er0i_2 ._circle_1er0i_82{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:12px;height:12px;border-radius:50%;flex-shrink:0}._externalContainer_1er0i_2::-webkit-scrollbar{display:none}._totalContainer_1er0i_99{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:center;gap:7px;width:100%}._totalContainer_1er0i_99 ._total_1er0i_99{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;font-size:9px;font-weight:700;color:#605b56;height:54px;text-align:center}._totalTitle_1er0i_124{font-size:11px;color:#605b56;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._speedGraphic_d1k72_2{display:flex;justify-content:center;align-items:center;width:100%;height:100%;flex-direction:column}._speedGraphic_d1k72_2 svg{width:100%;height:auto;max-width:244px}._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
|
-
import { jsxs as
|
|
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_1hv16_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_1hv16_2 ._FiltersContainer_1hv16_15{width:100%}._FiltersAmbitContainer_1hv16_2 ._FiltersAmbitHeader_1hv16_18{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1hv16_2 ._FiltersAmbitHeader_1hv16_18 ._FiltersAmbitTitle_1hv16_26{font-size:18px;font-weight:600;border-bottom:1.5px solid #605b56;width:100%;height:70px;display:flex;align-items:center}._FiltersAmbitContainer_1hv16_2 ._FiltersAmbitHeader_1hv16_18 ._FiltersAmbitDescription_1hv16_35{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_1hv16_2 ._FiltersAmbitHeader_1hv16_18 ._FiltersAmbitDescription_1hv16_35 ._FiltersAmbitDescriptionTitle_1hv16_46{font-size:18px;font-weight:600}._FiltersAmbitContainer_1hv16_2 ._warning_1hv16_50{color:red}._FiltersAmbitContainer_1hv16_2 ._buttonContainer_1hv16_53{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}._barChartContainer_10h77_2{position:relative;overflow-x:scroll;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:var(--main-color) transparent}._barChartContainer_10h77_2::-webkit-scrollbar{height:6px}._barChartContainer_10h77_2::-webkit-scrollbar-track{background:transparent}._barChartContainer_10h77_2::-webkit-scrollbar-thumb{background-color:var(--main-color);border-radius:3px}._barChartContainer_10h77_2::-webkit-scrollbar{display:none}._graphicContainer_1ozwp_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;padding:33px 50px;border-radius:20px}._graphicContainer_1ozwp_2 ._titleContainer_1ozwp_13{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_4ndr8_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}@media (max-width: 500px){._legendContainer_4ndr8_3{width:250px}}._legendContainer_4ndr8_3 ._sectionContainer_4ndr8_25:not(:first-child){margin-top:30px;padding-top:20px;border-top:1px solid #e0e0e0}._legendContainer_4ndr8_3::-webkit-scrollbar{width:8px}._legendContainer_4ndr8_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_4ndr8_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_4ndr8_3 ._closeButton_4ndr8_41{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_4ndr8_3 ._closeButton_4ndr8_41:before,._legendContainer_4ndr8_3 ._closeButton_4ndr8_41:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_4ndr8_3 ._closeButton_4ndr8_41:before{transform:rotate(45deg)}._legendContainer_4ndr8_3 ._closeButton_4ndr8_41:after{transform:rotate(-45deg)}._legendContainer_4ndr8_3 ._titleContainer_4ndr8_69{border-bottom:solid 1.5px #605b56}._legendContainer_4ndr8_3 ._titleContainer_4ndr8_69 h2{padding-bottom:16px}._legendContainer_4ndr8_3 ._infoContainer_4ndr8_75{padding-top:20px}._legendContainer_4ndr8_3 ._infoContainer_4ndr8_75 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_4ndr8_3 ._titleLegendList_4ndr8_86{font-size:20px;padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._gridContainer_4ndr8_92{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._gridContainer_4ndr8_92 ._elementLegendContainer_4ndr8_98{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._gridContainer_4ndr8_92 ._elementLegendContainer_4ndr8_98 ._colorDot_4ndr8_104{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._absoluteValueContainer_4ndr8_110{position:relative}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._absoluteValueContainer_4ndr8_110 ._absoluteValueColor_4ndr8_113{height:130px;width:22px;border-radius:20px}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._absoluteValueContainer_4ndr8_110 ._absoluteValueText_4ndr8_118{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_4ndr8_3 ._legendListContainer_4ndr8_92 ._noDataContainer_4ndr8_130{position:relative;margin-top:10px}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._noDataContainer_4ndr8_130 ._noData_4ndr8_130{height:22px;width:22px;border-radius:20px}._legendContainer_4ndr8_3 ._legendListContainer_4ndr8_92 ._noDataContainer_4ndr8_130 ._absoluteValueText_4ndr8_118{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_4ndr8_3 ._moreInfoContainer_4ndr8_151{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_yf2vy_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_yf2vy_14{display:flex;align-items:center;gap:12px}._textContainer_yf2vy_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_yf2vy_27{font-size:16px;font-weight:600;color:#605b56}._subtitle_yf2vy_33{font-size:16px;color:#605b56}._rightContent_yf2vy_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_s4s4h_3{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_s4s4h_3 ._elementNameDate_s4s4h_19{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;gap:5px}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19 ._elementNameContainer_s4s4h_30{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative;overflow-wrap:break-word;word-break:break-word}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19 ._elementName_s4s4h_19{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19 ._elementDate_s4s4h_47{flex:.5}._listElement_s4s4h_3 ._nameAndEye_s4s4h_50{display:grid!important;grid-template-columns:26px auto;gap:9px!important}._listElement_s4s4h_3 ._elementButtons_s4s4h_55{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_s4s4h_3 ._elementButtons_s4s4h_55 button:disabled{opacity:.5;cursor:default}._listElement_s4s4h_3 ._elementButtons_s4s4h_55 img{display:inline}._break_s4s4h_73{flex-basis:100%;height:0}._moreInfoContainer_s4s4h_78 ._moreInfo_s4s4h_78{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_zzz6o_2{width:100%;position:relative}._selectInputContainer_zzz6o_2 ._labelContainer_zzz6o_6{margin-bottom:25px}._selectInputContainer_zzz6o_2 ._selectWrapper_zzz6o_9{display:flex;flex-direction:row;gap:15px;align-items:center}._selectInputContainer_zzz6o_2 ._inputContainer_zzz6o_15{position:relative}._selectInputContainer_zzz6o_2 ._inputContainer_zzz6o_15 ._selectInput_zzz6o_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_zzz6o_2 ._inputContainer_zzz6o_15 ._selectInput_zzz6o_2 ._option_zzz6o_29{cursor:pointer}._selectInputContainer_zzz6o_2 ._inputContainer_zzz6o_15 ._dropdownArrow_zzz6o_32{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}._textDescriptionContainer_163pc_2{margin:10px 0}._textDescriptionText_163pc_6{margin:0}._categorySelector_1guuv_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_1guuv_2 ._sectionItemActive_1guuv_16{color:#fff}._categorySelector_1guuv_2 ._sectionItem_1guuv_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%;position:relative}._categorySelector_1guuv_2 ._sectionItemError_1guuv_32{border:1px solid #e74c3c}._categorySelector_1guuv_2 ._errorDot_1guuv_35{width:8px;height:8px;border-radius:50%;background-color:#e74c3c;display:inline-block;margin-right:6px}._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_1pl8d_3{position:relative;display:flex;align-intems:center}._burger_1pl8d_10{position:fixed;top:10px;right:25px;background:none;border:none;cursor:pointer;z-index:1000}._menu_1pl8d_21{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_1pl8d_35{transform:translate(0)}._menuClose_1pl8d_40{transform:translate(100%);pointer-events:none}._list_1pl8d_46{list-style:none;padding:0;margin-top:50px;display:flex;flex-direction:column;gap:1rem}._item_1pl8d_56{opacity:0;transform:translate(20px);transition:opacity .3s ease,transform .3s ease;font-size:16px!important}._menuOpen_1pl8d_35 ._item_1pl8d_56{opacity:1;transform:translate(0)}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(1){transition-delay:.05s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(2){transition-delay:.1s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(3){transition-delay:.15s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(4){transition-delay:.2s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(5){transition-delay:.25s}._button_1pl8d_91{background:none;border:none;color:inherit;font-size:18px;cursor:pointer;padding:0}._svgContainer_1rxoe_2{width:100%;box-sizing:border-box;position:relative}._svgContainer_1rxoe_2 ._svg_1rxoe_2{width:100%;height:100%;overflow:visible;display:block}@media (max-width: 768px){._svgContainer_1rxoe_2{padding:10px}}@media (max-width: 480px){._svgContainer_1rxoe_2{padding:5px}}.bar{transition:opacity .2s ease-in-out}.bar:hover{opacity:.8}.x-axis ._domain_1rxoe_31,.y-axis ._domain_1rxoe_31{stroke:#333;stroke-width:1px}.x-axis ._tick_1rxoe_36 line,.y-axis ._tick_1rxoe_36 line{stroke:#333;stroke-width:1px}.x-axis ._tick_1rxoe_36 text,.y-axis ._tick_1rxoe_36 text{fill:#605b56;font-family:Arial,sans-serif}._svgContainer_7fkic_2{width:100%;box-sizing:border-box;position:relative;overflow-x:auto}._svgContainer_7fkic_2 ._svg_7fkic_2{overflow:visible;display:block;max-width:none}@media (max-width: 768px){._svgContainer_7fkic_2{padding:10px}}@media (max-width: 480px){._svgContainer_7fkic_2{padding:5px}}.layer rect{transition:opacity .2s ease-in-out}.layer rect:hover{opacity:.8}.x-axis ._domain_7fkic_32,.y-axis ._domain_7fkic_32{stroke:#333;stroke-width:1px}.x-axis ._tick_7fkic_37 line,.y-axis ._tick_7fkic_37 line{stroke:#333;stroke-width:1px}.x-axis ._tick_7fkic_37 text,.y-axis ._tick_7fkic_37 text{fill:#605b56;font-family:Arial,sans-serif}.y-ticks ._tick_7fkic_37 line{stroke:#e0e0e0;stroke-width:.5px}.grid{opacity:.5}.chart-tooltip{font-family:Arial,sans-serif;box-shadow:0 2px 4px #0003}._externalContainer_1er0i_2{display:grid;grid-template-columns:170px auto;width:100%;padding:20px;grid-column-gap:5px}._externalContainer_1er0i_2._externalSintetic_1er0i_9{grid-template-columns:250px 80px 1fr;row-gap:20px}._externalContainer_1er0i_2 ._titles_1er0i_13{display:flex;flex-wrap:nowrap;justify-content:end;gap:0;flex-direction:column;align-items:end;padding-right:5px}._externalContainer_1er0i_2 ._titles_1er0i_13 ._titleContainer_1er0i_22{display:flex;flex-wrap:nowrap;justify-content:end;gap:0;flex-direction:row;align-items:center;gap:12px;font-size:12px;font-style:normal;font-weight:400;color:#605b56;height:54px}._externalContainer_1er0i_2 ._yearTitles_1er0i_36{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._externalContainer_1er0i_2 ._yearTitles_1er0i_36 ._yearTitle_1er0i_36{transform:rotate(-90deg);color:#605b56;font-size:13px;flex-shrink:0}._externalContainer_1er0i_2 ._yearDatas_1er0i_50{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._externalContainer_1er0i_2 ._yearDataContainer_1er0i_58{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:center}._externalContainer_1er0i_2 ._yearDataContainer_1er0i_58 ._yearDataContent_1er0i_66{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;border-bottom:1px solid #605b56;font-size:9px;color:#605b56;height:54px}._externalContainer_1er0i_2 ._yearDataContainer_1er0i_58 ._bigNumber_1er0i_79{font-size:8px}._externalContainer_1er0i_2 ._circle_1er0i_82{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:12px;height:12px;border-radius:50%;flex-shrink:0}._externalContainer_1er0i_2::-webkit-scrollbar{display:none}._totalContainer_1er0i_99{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:center;gap:7px;width:100%}._totalContainer_1er0i_99 ._total_1er0i_99{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;font-size:9px;font-weight:700;color:#605b56;height:54px;text-align:center}._totalTitle_1er0i_124{font-size:11px;color:#605b56;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._speedGraphic_d1k72_2{display:flex;justify-content:center;align-items:center;width:100%;height:100%;flex-direction:column}._speedGraphic_d1k72_2 svg{width:100%;height:auto;max-width:244px}._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
|
+
import { jsxs as m, jsx as i, Fragment as Ge } from "react/jsx-runtime";
|
|
3
3
|
import * as Me from "react";
|
|
4
|
-
import
|
|
4
|
+
import q, { useState as I, useEffect as A, useMemo as De, useRef as ee, useLayoutEffect as v2 } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
6
|
import { useTranslation as F, Trans as vt } from "react-i18next";
|
|
7
7
|
import { motion as xt } from "framer-motion";
|
|
8
|
-
import { create as
|
|
8
|
+
import { create as Wt } from "zustand";
|
|
9
9
|
import * as st from "d3";
|
|
10
|
-
import { select as xe, min as ut, max as pt, scaleBand as ht, scaleLinear as
|
|
10
|
+
import { select as xe, min as ut, max as pt, scaleBand as ht, scaleLinear as Kt, scaleOrdinal as Ut, axisBottom as Gt, axisLeft as mt } from "d3";
|
|
11
11
|
import x2 from "mapbox-gl";
|
|
12
12
|
import { useSelector as w2 } from "react-redux";
|
|
13
13
|
import N2, { Source as k2, Layer as $2, NavigationControl as S2, Popup as L2 } from "react-map-gl/mapbox";
|
|
@@ -19,15 +19,15 @@ import O2 from "@mui/material/Slider";
|
|
|
19
19
|
import { createTheme as R2, Box as I2 } from "@mui/material";
|
|
20
20
|
import { ThemeProvider as E2 } from "@emotion/react";
|
|
21
21
|
import { NavLink as Xt } from "react-router-dom";
|
|
22
|
-
const
|
|
23
|
-
ambitSelector:
|
|
24
|
-
header:
|
|
22
|
+
const q2 = "_ambitSelector_mcunf_2", z2 = "_header_mcunf_13", P2 = "_nameDateContainer_mcunf_23", Z2 = "_ambitName_mcunf_39", j2 = "_ambitDate_mcunf_53", H2 = "_buttonsContainer_mcunf_67", W2 = "_ambitListContainer_mcunf_76", K2 = "_newAmbitButtonContainer_mcunf_80", he = {
|
|
23
|
+
ambitSelector: q2,
|
|
24
|
+
header: z2,
|
|
25
25
|
nameDateContainer: P2,
|
|
26
26
|
ambitName: Z2,
|
|
27
27
|
ambitDate: j2,
|
|
28
28
|
buttonsContainer: H2,
|
|
29
|
-
ambitListContainer:
|
|
30
|
-
newAmbitButtonContainer:
|
|
29
|
+
ambitListContainer: W2,
|
|
30
|
+
newAmbitButtonContainer: K2
|
|
31
31
|
}, U2 = "_ambitItem_1qa6u_2", G2 = "_ambitNameDate_1qa6u_16", X2 = "_ambitName_1qa6u_16", Q2 = "_ambitDate_1qa6u_35", J2 = "_ambitButtons_1qa6u_38", Te = {
|
|
32
32
|
ambitItem: U2,
|
|
33
33
|
ambitNameDate: G2,
|
|
@@ -46,14 +46,14 @@ const z2 = "_ambitSelector_mcunf_2", q2 = "_header_mcunf_13", P2 = "_nameDateCon
|
|
|
46
46
|
moreInfo: l
|
|
47
47
|
}) => {
|
|
48
48
|
const { name: u, created_at: g, id: C, isBeingProcessed: y } = n;
|
|
49
|
-
return /* @__PURE__ */
|
|
49
|
+
return /* @__PURE__ */ m(
|
|
50
50
|
"div",
|
|
51
51
|
{
|
|
52
52
|
className: Te.ambitItem,
|
|
53
53
|
style: { borderBottom: `1px solid ${a}` },
|
|
54
54
|
children: [
|
|
55
|
-
/* @__PURE__ */
|
|
56
|
-
/* @__PURE__ */
|
|
55
|
+
/* @__PURE__ */ m("div", { className: Te.ambitNameDate, onClick: () => t(C), children: [
|
|
56
|
+
/* @__PURE__ */ m("div", { className: Te.ambitName, children: [
|
|
57
57
|
/* @__PURE__ */ i(
|
|
58
58
|
"img",
|
|
59
59
|
{
|
|
@@ -65,7 +65,7 @@ const z2 = "_ambitSelector_mcunf_2", q2 = "_header_mcunf_13", P2 = "_nameDateCon
|
|
|
65
65
|
] }),
|
|
66
66
|
/* @__PURE__ */ i("div", { className: Te.ambitDate, children: g ? new Date(g).toLocaleDateString() : "" })
|
|
67
67
|
] }),
|
|
68
|
-
/* @__PURE__ */
|
|
68
|
+
/* @__PURE__ */ m("div", { className: Te.ambitButtons, children: [
|
|
69
69
|
y && /* @__PURE__ */ i("img", { src: n0 }),
|
|
70
70
|
/* @__PURE__ */ i("button", { onClick: () => r(C), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: t0 }) }),
|
|
71
71
|
/* @__PURE__ */ i("button", { onClick: () => c(C), children: /* @__PURE__ */ i("img", { src: e0 }) }),
|
|
@@ -142,27 +142,27 @@ const $t = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
142
142
|
const _ = (N) => {
|
|
143
143
|
if (b && b.length > 0) {
|
|
144
144
|
let L = [...b];
|
|
145
|
-
L.sort((
|
|
145
|
+
L.sort((h, k) => h[N].localeCompare(k[N])), v(L);
|
|
146
146
|
}
|
|
147
147
|
};
|
|
148
|
-
return /* @__PURE__ */
|
|
148
|
+
return /* @__PURE__ */ m(
|
|
149
149
|
"div",
|
|
150
150
|
{
|
|
151
151
|
className: he.ambitSelector,
|
|
152
152
|
style: { color: s, ...l },
|
|
153
153
|
children: [
|
|
154
|
-
/* @__PURE__ */
|
|
154
|
+
/* @__PURE__ */ m(
|
|
155
155
|
"div",
|
|
156
156
|
{
|
|
157
157
|
className: he.header,
|
|
158
158
|
style: { borderBottom: `1px solid ${s}` },
|
|
159
159
|
children: [
|
|
160
|
-
/* @__PURE__ */
|
|
161
|
-
/* @__PURE__ */ i("div", { className: he.ambitName, children: /* @__PURE__ */
|
|
160
|
+
/* @__PURE__ */ m("div", { className: he.nameDateContainer, children: [
|
|
161
|
+
/* @__PURE__ */ i("div", { className: he.ambitName, children: /* @__PURE__ */ m("button", { onClick: () => _("name"), children: [
|
|
162
162
|
/* @__PURE__ */ i("span", { children: f(t) }),
|
|
163
163
|
/* @__PURE__ */ i("img", { src: $t })
|
|
164
164
|
] }) }),
|
|
165
|
-
/* @__PURE__ */ i("div", { className: he.ambitDate, children: /* @__PURE__ */
|
|
165
|
+
/* @__PURE__ */ i("div", { className: he.ambitDate, children: /* @__PURE__ */ m("button", { onClick: () => _("date"), children: [
|
|
166
166
|
/* @__PURE__ */ i("span", { children: f(o) }),
|
|
167
167
|
/* @__PURE__ */ i("img", { src: $t })
|
|
168
168
|
] }) })
|
|
@@ -263,12 +263,12 @@ const b0 = ({
|
|
|
263
263
|
name: y,
|
|
264
264
|
onClick: p,
|
|
265
265
|
disabled: f
|
|
266
|
-
} = a, b = /* @__PURE__ */
|
|
266
|
+
} = a, b = /* @__PURE__ */ m(Ge, { children: [
|
|
267
267
|
s && r === "left" && /* @__PURE__ */ i("span", { className: fe.buttonName, children: d(y) }),
|
|
268
268
|
/* @__PURE__ */ i("img", { src: C ? g : u, alt: d(y) }),
|
|
269
269
|
s && r === "right" && /* @__PURE__ */ i("span", { className: fe.buttonName, children: d(y) })
|
|
270
270
|
] });
|
|
271
|
-
return /* @__PURE__ */
|
|
271
|
+
return /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
272
272
|
/* @__PURE__ */ i(
|
|
273
273
|
"button",
|
|
274
274
|
{
|
|
@@ -303,7 +303,7 @@ b0.propTypes = {
|
|
|
303
303
|
useTooltip: e.bool,
|
|
304
304
|
tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
|
|
305
305
|
};
|
|
306
|
-
const _0 = "_indicatorsCategory_11gdl_2", v0 = "_title_11gdl_6", x0 = "_mainTitle_11gdl_14",
|
|
306
|
+
const _0 = "_indicatorsCategory_11gdl_2", v0 = "_title_11gdl_6", x0 = "_mainTitle_11gdl_14", ze = {
|
|
307
307
|
indicatorsCategory: _0,
|
|
308
308
|
title: v0,
|
|
309
309
|
mainTitle: x0
|
|
@@ -323,10 +323,10 @@ const _0 = "_indicatorsCategory_11gdl_2", v0 = "_title_11gdl_6", x0 = "_mainTitl
|
|
|
323
323
|
mainTitle: g = !1
|
|
324
324
|
}) => {
|
|
325
325
|
const { t: C } = F();
|
|
326
|
-
return /* @__PURE__ */
|
|
326
|
+
return /* @__PURE__ */ m(
|
|
327
327
|
xt.div,
|
|
328
328
|
{
|
|
329
|
-
className:
|
|
329
|
+
className: ze.indicatorsCategory,
|
|
330
330
|
initial: { height: `${d}px` },
|
|
331
331
|
animate: { height: n ? "auto" : `${d}px` },
|
|
332
332
|
transition: { duration: 0.4 },
|
|
@@ -336,14 +336,14 @@ const _0 = "_indicatorsCategory_11gdl_2", v0 = "_title_11gdl_6", x0 = "_mainTitl
|
|
|
336
336
|
minHeight: g ? "70px" : "50px"
|
|
337
337
|
},
|
|
338
338
|
children: [
|
|
339
|
-
/* @__PURE__ */
|
|
339
|
+
/* @__PURE__ */ m(
|
|
340
340
|
"h2",
|
|
341
341
|
{
|
|
342
342
|
style: {
|
|
343
343
|
...a
|
|
344
344
|
//marginBottom: titleMarginChildren ? titleMarginChildren : "auto",
|
|
345
345
|
},
|
|
346
|
-
className: `${
|
|
346
|
+
className: `${ze.title} ${g && ze.mainTitle}`,
|
|
347
347
|
onClick: c,
|
|
348
348
|
children: [
|
|
349
349
|
/* @__PURE__ */ i("span", { style: { color: n ? t : r }, children: n ? "-" : "+" }),
|
|
@@ -351,7 +351,7 @@ const _0 = "_indicatorsCategory_11gdl_2", v0 = "_title_11gdl_6", x0 = "_mainTitl
|
|
|
351
351
|
]
|
|
352
352
|
}
|
|
353
353
|
),
|
|
354
|
-
/* @__PURE__ */ i("div", { className:
|
|
354
|
+
/* @__PURE__ */ i("div", { className: ze.content, style: { padding: g ? "20px 0px" : "0px" }, children: s })
|
|
355
355
|
]
|
|
356
356
|
}
|
|
357
357
|
);
|
|
@@ -370,7 +370,7 @@ we.propTypes = {
|
|
|
370
370
|
const Zr = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), w0 = "data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%201L13.9996%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20d='M14%201L1.00044%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", N0 = "_AppliedFiltersContainer_cokx9_2", k0 = "_AppliedFilterContent_cokx9_11", St = {
|
|
371
371
|
AppliedFiltersContainer: N0,
|
|
372
372
|
AppliedFilterContent: k0
|
|
373
|
-
},
|
|
373
|
+
}, z = Wt((n) => ({
|
|
374
374
|
activeCategory: "",
|
|
375
375
|
activeSubCategory: "",
|
|
376
376
|
selectedIndicator: "",
|
|
@@ -379,8 +379,8 @@ const Zr = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), w0 = "data
|
|
|
379
379
|
inputsColor: "#605B56",
|
|
380
380
|
activeFiltersType: null
|
|
381
381
|
})), Jt = ({ title: n, onClick: c, isOpen: s = !0, textColor: r = "#ffffff", backgroundColor: t = "#605B5680", activeColor: o, fontColor: d = "#605B56" }) => {
|
|
382
|
-
const { t: a } = F(), { tematicalFiltersSelected: l, activeFiltersType: u } =
|
|
383
|
-
|
|
382
|
+
const { t: a } = F(), { tematicalFiltersSelected: l, activeFiltersType: u } = z((y) => y), g = (y) => {
|
|
383
|
+
z.setState((p) => ({
|
|
384
384
|
tematicalFiltersSelected: p.tematicalFiltersSelected.filter(
|
|
385
385
|
(f) => f.code !== y
|
|
386
386
|
)
|
|
@@ -391,13 +391,13 @@ const Zr = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), w0 = "data
|
|
|
391
391
|
{
|
|
392
392
|
isOpen: s,
|
|
393
393
|
onClick: () => {
|
|
394
|
-
u == "applied" ?
|
|
394
|
+
u == "applied" ? z.setState(() => ({ activeFiltersType: null })) : z.setState(() => ({ activeFiltersType: "applied" }));
|
|
395
395
|
},
|
|
396
396
|
title: n ? a(n) : "Applied Filters",
|
|
397
397
|
activeColor: o,
|
|
398
398
|
mainTitle: !0,
|
|
399
399
|
color: d,
|
|
400
|
-
children: /* @__PURE__ */ i("div", { className: St.AppliedFiltersContainer, children: l == null ? void 0 : l.map((y, p) => /* @__PURE__ */
|
|
400
|
+
children: /* @__PURE__ */ i("div", { className: St.AppliedFiltersContainer, children: l == null ? void 0 : l.map((y, p) => /* @__PURE__ */ m("div", { className: St.AppliedFilterContent, style: { color: r, background: t }, children: [
|
|
401
401
|
a(y.name),
|
|
402
402
|
/* @__PURE__ */ i("img", { src: w0, alt: "CloseIcon", onClick: () => g(y.code), style: { cursor: "pointer" } })
|
|
403
403
|
] }, p)) })
|
|
@@ -430,8 +430,8 @@ const $0 = "_layersList_cn837_25", S0 = "_layerName_cn837_34", Lt = {
|
|
|
430
430
|
geoLayers: o = [],
|
|
431
431
|
onGeoLayersChange: d
|
|
432
432
|
}) => {
|
|
433
|
-
const { t: a } = F(), { activeFiltersType: l } =
|
|
434
|
-
l === "geographical" ?
|
|
433
|
+
const { t: a } = F(), { activeFiltersType: l } = z((C) => C), u = () => {
|
|
434
|
+
l === "geographical" ? z.setState({ activeFiltersType: null }) : z.setState({ activeFiltersType: "geographical" });
|
|
435
435
|
}, g = (C) => {
|
|
436
436
|
const y = o.map((p) => ({
|
|
437
437
|
...p,
|
|
@@ -481,8 +481,8 @@ const L0 = "_checkboxContainer_1nxra_2", M0 = {
|
|
|
481
481
|
indicator: r,
|
|
482
482
|
value: t
|
|
483
483
|
}) => {
|
|
484
|
-
const { t: o } = F(), { title: d } = r || {}, { fontColor: a, inputsColor: l } =
|
|
485
|
-
return /* @__PURE__ */
|
|
484
|
+
const { t: o } = F(), { title: d } = r || {}, { fontColor: a, inputsColor: l } = z((u) => u);
|
|
485
|
+
return /* @__PURE__ */ m(
|
|
486
486
|
"div",
|
|
487
487
|
{
|
|
488
488
|
style: { ...c, color: s },
|
|
@@ -651,7 +651,7 @@ let ft = function(n) {
|
|
|
651
651
|
o.length || (o = at(r.defaultValue)), t.pendingResizeTimeouts = [];
|
|
652
652
|
const d = [];
|
|
653
653
|
for (let a = 0; a < o.length; a += 1) o[a] = ye(o[a], r), d.push(a);
|
|
654
|
-
return t.resizeObserver = null, t.resizeElementRef =
|
|
654
|
+
return t.resizeObserver = null, t.resizeElementRef = q.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: o, zIndices: d }, t;
|
|
655
655
|
}
|
|
656
656
|
D0(c, n);
|
|
657
657
|
var s = c.prototype;
|
|
@@ -810,12 +810,12 @@ let ft = function(n) {
|
|
|
810
810
|
const r = [], { value: t } = this.state, o = t.length;
|
|
811
811
|
for (let u = 0; u < o; u += 1) r[u] = this.calcOffset(t[u], u);
|
|
812
812
|
const d = this.props.withTracks ? this.renderTracks(r) : null, a = this.renderThumbs(r), l = this.props.marks ? this.renderMarks() : null;
|
|
813
|
-
return
|
|
813
|
+
return q.createElement("div", { ref: (u) => {
|
|
814
814
|
this.slider = u, this.resizeElementRef.current = u;
|
|
815
815
|
}, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, d, a, l);
|
|
816
816
|
}, c;
|
|
817
|
-
}(
|
|
818
|
-
ft.displayName = "ReactSlider", ft.defaultProps = { min: 0, max: 100, step: 1, pageFn: (n) => 10 * n, minDistance: 0, defaultValue: 0, orientation: "horizontal", className: "slider", thumbClassName: "thumb", thumbActiveClassName: "active", trackClassName: "track", markClassName: "mark", withTracks: !0, pearling: !1, disabled: !1, snapDragDisabled: !1, invert: !1, marks: [], renderThumb: (n) =>
|
|
817
|
+
}(q.Component);
|
|
818
|
+
ft.displayName = "ReactSlider", ft.defaultProps = { min: 0, max: 100, step: 1, pageFn: (n) => 10 * n, minDistance: 0, defaultValue: 0, orientation: "horizontal", className: "slider", thumbClassName: "thumb", thumbActiveClassName: "active", trackClassName: "track", markClassName: "mark", withTracks: !0, pearling: !1, disabled: !1, snapDragDisabled: !1, invert: !1, marks: [], renderThumb: (n) => q.createElement("div", n), renderTrack: (n) => q.createElement("div", n), renderMark: (n) => q.createElement("span", n) };
|
|
819
819
|
var yt = ft;
|
|
820
820
|
const T0 = "_container_4u41i_2", B0 = "_unitLabel_4u41i_8", V0 = "_slider_4u41i_11", F0 = "_thumb_4u41i_17", A0 = "_track_4u41i_26", O0 = "_labels_4u41i_32", Ne = {
|
|
821
821
|
container: T0,
|
|
@@ -840,7 +840,7 @@ const T0 = "_container_4u41i_2", B0 = "_unitLabel_4u41i_8", V0 = "_slider_4u41i_
|
|
|
840
840
|
};
|
|
841
841
|
return A(() => {
|
|
842
842
|
a || p(l ? [g, C] : [n, c]);
|
|
843
|
-
}, [a, l]), /* @__PURE__ */
|
|
843
|
+
}, [a, l]), /* @__PURE__ */ m(
|
|
844
844
|
"div",
|
|
845
845
|
{
|
|
846
846
|
className: Ne.container,
|
|
@@ -863,7 +863,7 @@ const T0 = "_container_4u41i_2", B0 = "_unitLabel_4u41i_8", V0 = "_slider_4u41i_
|
|
|
863
863
|
minDistance: l ? 0 : 0.1
|
|
864
864
|
}
|
|
865
865
|
),
|
|
866
|
-
/* @__PURE__ */
|
|
866
|
+
/* @__PURE__ */ m("div", { className: Ne.labels, children: [
|
|
867
867
|
/* @__PURE__ */ i("span", { children: l ? new Date(y[0]).toLocaleDateString("en-EN", {
|
|
868
868
|
day: "2-digit",
|
|
869
869
|
month: "short",
|
|
@@ -891,11 +891,11 @@ t2.propTypes = {
|
|
|
891
891
|
fontColor: e.string,
|
|
892
892
|
value: e.arrayOf(e.number)
|
|
893
893
|
};
|
|
894
|
-
const R0 = "_tematicalFiltersInputContainer_1vm1r_2", I0 = "_inputTypeContainer_1vm1r_2", E0 = "_checkboxContainer_1vm1r_28",
|
|
894
|
+
const R0 = "_tematicalFiltersInputContainer_1vm1r_2", I0 = "_inputTypeContainer_1vm1r_2", E0 = "_checkboxContainer_1vm1r_28", q0 = "_absoluteSliderContainer_1vm1r_37", je = {
|
|
895
895
|
tematicalFiltersInputContainer: R0,
|
|
896
896
|
inputTypeContainer: I0,
|
|
897
897
|
checkboxContainer: E0,
|
|
898
|
-
absoluteSliderContainer:
|
|
898
|
+
absoluteSliderContainer: q0
|
|
899
899
|
}, wt = ({
|
|
900
900
|
indicator: n,
|
|
901
901
|
//onChangeBothType
|
|
@@ -922,36 +922,36 @@ const R0 = "_tematicalFiltersInputContainer_1vm1r_2", I0 = "_inputTypeContainer_
|
|
|
922
922
|
selectedIndicator: v,
|
|
923
923
|
fontColor: _,
|
|
924
924
|
inputsColor: N
|
|
925
|
-
} =
|
|
926
|
-
if (
|
|
927
|
-
const { min: x, max:
|
|
928
|
-
let R =
|
|
929
|
-
|
|
930
|
-
let te =
|
|
925
|
+
} = z((k) => k), L = (k) => {
|
|
926
|
+
if (k) {
|
|
927
|
+
const { min: x, max: S, valueClicked: $, allValues: w } = k || {}, { code: T, type: V, source: B } = n || {}, O = f ? "abs" : p ? "cat" : "both";
|
|
928
|
+
let R = T[0];
|
|
929
|
+
V == "both" && (R = O == "cat" ? T[1] : T[0]), O == "cat" ? z.setState((P) => {
|
|
930
|
+
let te = P.tematicalFiltersSelected.find(
|
|
931
931
|
(E) => E.code === R
|
|
932
932
|
);
|
|
933
933
|
if (te) {
|
|
934
934
|
let E = [te.values];
|
|
935
|
-
return te.values.includes(
|
|
936
|
-
(
|
|
937
|
-
) : E = [...te.values,
|
|
938
|
-
tematicalFiltersSelected:
|
|
939
|
-
(
|
|
935
|
+
return te.values.includes($) ? E = te.values.filter(
|
|
936
|
+
(W) => W !== $
|
|
937
|
+
) : E = [...te.values, $], E.length == w.length ? {
|
|
938
|
+
tematicalFiltersSelected: P.tematicalFiltersSelected.filter(
|
|
939
|
+
(W) => W.code !== R
|
|
940
940
|
)
|
|
941
941
|
} : {
|
|
942
|
-
tematicalFiltersSelected:
|
|
943
|
-
(
|
|
942
|
+
tematicalFiltersSelected: P.tematicalFiltersSelected.map(
|
|
943
|
+
(W) => W.code === R ? { ...W, values: E } : W
|
|
944
944
|
)
|
|
945
945
|
};
|
|
946
946
|
} else {
|
|
947
|
-
let E = (
|
|
947
|
+
let E = (w || []).map((W, U) => U);
|
|
948
948
|
return {
|
|
949
949
|
tematicalFiltersSelected: [
|
|
950
950
|
...b,
|
|
951
951
|
{
|
|
952
952
|
type: "cat",
|
|
953
953
|
code: R,
|
|
954
|
-
values: E.filter((
|
|
954
|
+
values: E.filter((W) => W !== $),
|
|
955
955
|
name: n.name,
|
|
956
956
|
source: B,
|
|
957
957
|
isDate: y
|
|
@@ -959,21 +959,21 @@ const R0 = "_tematicalFiltersInputContainer_1vm1r_2", I0 = "_inputTypeContainer_
|
|
|
959
959
|
]
|
|
960
960
|
};
|
|
961
961
|
}
|
|
962
|
-
}) : O == "abs" &&
|
|
963
|
-
let te =
|
|
962
|
+
}) : O == "abs" && z.setState((P) => {
|
|
963
|
+
let te = P.tematicalFiltersSelected.find(
|
|
964
964
|
(E) => E.code === R
|
|
965
965
|
);
|
|
966
|
-
if (x == n.minValue &&
|
|
966
|
+
if (x == n.minValue && S == n.maxValue)
|
|
967
967
|
return {
|
|
968
|
-
tematicalFiltersSelected:
|
|
968
|
+
tematicalFiltersSelected: P.tematicalFiltersSelected.filter(
|
|
969
969
|
(E) => E.code !== R
|
|
970
970
|
)
|
|
971
971
|
};
|
|
972
972
|
if (te) {
|
|
973
|
-
let E = { ...te, min: x, max:
|
|
973
|
+
let E = { ...te, min: x, max: S, type: O, isDate: y };
|
|
974
974
|
return {
|
|
975
|
-
tematicalFiltersSelected:
|
|
976
|
-
(
|
|
975
|
+
tematicalFiltersSelected: P.tematicalFiltersSelected.map(
|
|
976
|
+
(W) => W.code === R ? E : W
|
|
977
977
|
)
|
|
978
978
|
};
|
|
979
979
|
} else
|
|
@@ -984,7 +984,7 @@ const R0 = "_tematicalFiltersInputContainer_1vm1r_2", I0 = "_inputTypeContainer_
|
|
|
984
984
|
type: O,
|
|
985
985
|
code: R,
|
|
986
986
|
min: x,
|
|
987
|
-
max:
|
|
987
|
+
max: S,
|
|
988
988
|
name: n.name,
|
|
989
989
|
source: n.source
|
|
990
990
|
}
|
|
@@ -992,14 +992,14 @@ const R0 = "_tematicalFiltersInputContainer_1vm1r_2", I0 = "_inputTypeContainer_
|
|
|
992
992
|
};
|
|
993
993
|
});
|
|
994
994
|
}
|
|
995
|
-
},
|
|
996
|
-
const
|
|
995
|
+
}, h = De(() => {
|
|
996
|
+
const k = {};
|
|
997
997
|
if ((b == null ? void 0 : b.length) > 0)
|
|
998
998
|
for (const x of b)
|
|
999
|
-
x.type === "cat" ?
|
|
1000
|
-
return
|
|
999
|
+
x.type === "cat" ? k[x.code] = new Set(x.values) : k[x.code] = [x.min, x.max];
|
|
1000
|
+
return k;
|
|
1001
1001
|
}, [b]);
|
|
1002
|
-
return /* @__PURE__ */ i("div", { className: je.tematicalFiltersInputContainer, children: /* @__PURE__ */
|
|
1002
|
+
return /* @__PURE__ */ i("div", { className: je.tematicalFiltersInputContainer, children: /* @__PURE__ */ m(
|
|
1003
1003
|
we,
|
|
1004
1004
|
{
|
|
1005
1005
|
titleFontStyles: {
|
|
@@ -1010,7 +1010,7 @@ const R0 = "_tematicalFiltersInputContainer_1vm1r_2", I0 = "_inputTypeContainer_
|
|
|
1010
1010
|
title: o,
|
|
1011
1011
|
isOpen: v == `id${o}`,
|
|
1012
1012
|
onClick: () => {
|
|
1013
|
-
C ||
|
|
1013
|
+
C || z.setState(() => ({
|
|
1014
1014
|
selectedIndicator: v == `id${o}` ? "" : `id${o}`
|
|
1015
1015
|
}));
|
|
1016
1016
|
},
|
|
@@ -1021,13 +1021,13 @@ const R0 = "_tematicalFiltersInputContainer_1vm1r_2", I0 = "_inputTypeContainer_
|
|
|
1021
1021
|
color: _,
|
|
1022
1022
|
activeColor: c,
|
|
1023
1023
|
children: [
|
|
1024
|
-
t == "both" && /* @__PURE__ */
|
|
1024
|
+
t == "both" && /* @__PURE__ */ m(
|
|
1025
1025
|
"div",
|
|
1026
1026
|
{
|
|
1027
1027
|
className: je.inputTypeContainer,
|
|
1028
1028
|
style: { color: _ },
|
|
1029
1029
|
children: [
|
|
1030
|
-
/* @__PURE__ */
|
|
1030
|
+
/* @__PURE__ */ m("label", { children: [
|
|
1031
1031
|
/* @__PURE__ */ i(
|
|
1032
1032
|
"input",
|
|
1033
1033
|
{
|
|
@@ -1046,7 +1046,7 @@ const R0 = "_tematicalFiltersInputContainer_1vm1r_2", I0 = "_inputTypeContainer_
|
|
|
1046
1046
|
),
|
|
1047
1047
|
"Absoluto"
|
|
1048
1048
|
] }),
|
|
1049
|
-
/* @__PURE__ */
|
|
1049
|
+
/* @__PURE__ */ m("label", { children: [
|
|
1050
1050
|
/* @__PURE__ */ i(
|
|
1051
1051
|
"input",
|
|
1052
1052
|
{
|
|
@@ -1068,14 +1068,14 @@ const R0 = "_tematicalFiltersInputContainer_1vm1r_2", I0 = "_inputTypeContainer_
|
|
|
1068
1068
|
]
|
|
1069
1069
|
}
|
|
1070
1070
|
),
|
|
1071
|
-
p && /* @__PURE__ */ i("div", { className: je.checkboxContainer, children: (d || []).map((
|
|
1072
|
-
var
|
|
1071
|
+
p && /* @__PURE__ */ i("div", { className: je.checkboxContainer, children: (d || []).map((k, x) => {
|
|
1072
|
+
var S;
|
|
1073
1073
|
return /* @__PURE__ */ i(
|
|
1074
1074
|
e2,
|
|
1075
1075
|
{
|
|
1076
1076
|
onClick: () => L({ valueClicked: x, allValues: d }),
|
|
1077
|
-
indicator:
|
|
1078
|
-
value: ((
|
|
1077
|
+
indicator: k,
|
|
1078
|
+
value: ((S = h[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : S.has(x)) || !h[n.code[t == "both" ? 1 : 0]]
|
|
1079
1079
|
},
|
|
1080
1080
|
`checkbox-${x}`
|
|
1081
1081
|
);
|
|
@@ -1087,7 +1087,7 @@ const R0 = "_tematicalFiltersInputContainer_1vm1r_2", I0 = "_inputTypeContainer_
|
|
|
1087
1087
|
min: a,
|
|
1088
1088
|
max: l,
|
|
1089
1089
|
unit: u,
|
|
1090
|
-
defaultValue:
|
|
1090
|
+
defaultValue: h[n.code[0]] ? h[n.code[0]] : "",
|
|
1091
1091
|
isDate: y,
|
|
1092
1092
|
step: g
|
|
1093
1093
|
}
|
|
@@ -1117,14 +1117,14 @@ const n2 = ({
|
|
|
1117
1117
|
activeColor: s
|
|
1118
1118
|
//onChangeBothType,
|
|
1119
1119
|
}) => {
|
|
1120
|
-
const { activeSubcategory: r } =
|
|
1120
|
+
const { activeSubcategory: r } = z((d) => d), { name: t, indicators: o } = n || {};
|
|
1121
1121
|
return /* @__PURE__ */ i(
|
|
1122
1122
|
we,
|
|
1123
1123
|
{
|
|
1124
1124
|
title: t,
|
|
1125
1125
|
isOpen: r == `id${t}`,
|
|
1126
1126
|
onClick: () => {
|
|
1127
|
-
|
|
1127
|
+
z.setState((d) => ({
|
|
1128
1128
|
activeSubcategory: d.activeSubcategory === `id${t}` ? "" : `id${t}`
|
|
1129
1129
|
}));
|
|
1130
1130
|
},
|
|
@@ -1164,12 +1164,12 @@ const i2 = ({
|
|
|
1164
1164
|
// onChangeBothType,
|
|
1165
1165
|
activeColor: c
|
|
1166
1166
|
}) => {
|
|
1167
|
-
const { name: s, subcategories: r, indicators: t } = n || {}, { activeCategory: o, fontColor: d } =
|
|
1167
|
+
const { name: s, subcategories: r, indicators: t } = n || {}, { activeCategory: o, fontColor: d } = z((a) => a);
|
|
1168
1168
|
return n && /* @__PURE__ */ i(
|
|
1169
1169
|
we,
|
|
1170
1170
|
{
|
|
1171
1171
|
onClick: () => {
|
|
1172
|
-
|
|
1172
|
+
z.setState((a) => ({
|
|
1173
1173
|
activeCategory: o === `id${s}` ? "" : `id${s}`
|
|
1174
1174
|
}));
|
|
1175
1175
|
},
|
|
@@ -1217,15 +1217,15 @@ const s2 = ({
|
|
|
1217
1217
|
inputsColor: t = "#605B56",
|
|
1218
1218
|
activeColor: o
|
|
1219
1219
|
}) => {
|
|
1220
|
-
const { tematicalFiltersSelected: d, activeFiltersType: a } =
|
|
1220
|
+
const { tematicalFiltersSelected: d, activeFiltersType: a } = z((g) => g), { t: l } = F();
|
|
1221
1221
|
A(() => {
|
|
1222
1222
|
}, [d]), A(() => {
|
|
1223
|
-
r &&
|
|
1223
|
+
r && z.setState(() => ({ fontColor: r }));
|
|
1224
1224
|
}, [r]), A(() => {
|
|
1225
|
-
t &&
|
|
1225
|
+
t && z.setState(() => ({ inputsColor: t }));
|
|
1226
1226
|
}, [t]);
|
|
1227
1227
|
const u = () => {
|
|
1228
|
-
a == "tematical" ?
|
|
1228
|
+
a == "tematical" ? z.setState(() => ({ activeFiltersType: null })) : z.setState(() => ({ activeFiltersType: "tematical" }));
|
|
1229
1229
|
};
|
|
1230
1230
|
return /* @__PURE__ */ i(
|
|
1231
1231
|
we,
|
|
@@ -1257,14 +1257,14 @@ s2.propTypes = {
|
|
|
1257
1257
|
inputsColor: e.string,
|
|
1258
1258
|
activeColor: e.string
|
|
1259
1259
|
};
|
|
1260
|
-
const
|
|
1261
|
-
FiltersAmbitContainer:
|
|
1260
|
+
const z0 = "_FiltersAmbitContainer_1hv16_2", P0 = "_FiltersContainer_1hv16_15", Z0 = "_FiltersAmbitHeader_1hv16_18", j0 = "_FiltersAmbitTitle_1hv16_26", H0 = "_FiltersAmbitDescription_1hv16_35", W0 = "_FiltersAmbitDescriptionTitle_1hv16_46", K0 = "_warning_1hv16_50", U0 = "_buttonContainer_1hv16_53", me = {
|
|
1261
|
+
FiltersAmbitContainer: z0,
|
|
1262
1262
|
FiltersContainer: P0,
|
|
1263
1263
|
FiltersAmbitHeader: Z0,
|
|
1264
1264
|
FiltersAmbitTitle: j0,
|
|
1265
1265
|
FiltersAmbitDescription: H0,
|
|
1266
|
-
FiltersAmbitDescriptionTitle:
|
|
1267
|
-
warning:
|
|
1266
|
+
FiltersAmbitDescriptionTitle: W0,
|
|
1267
|
+
warning: K0,
|
|
1268
1268
|
buttonContainer: U0
|
|
1269
1269
|
}, G0 = ({
|
|
1270
1270
|
ambitName: n,
|
|
@@ -1287,38 +1287,38 @@ const q0 = "_FiltersAmbitContainer_1hv16_2", P0 = "_FiltersContainer_1hv16_15",
|
|
|
1287
1287
|
descriptionRequired: v = !1
|
|
1288
1288
|
//campo descripción required
|
|
1289
1289
|
}) => {
|
|
1290
|
-
const { t: _ } = F(), { tematicalFiltersSelected: N, activeFiltersType: L } =
|
|
1291
|
-
(
|
|
1292
|
-
), [
|
|
1290
|
+
const { t: _ } = F(), { tematicalFiltersSelected: N, activeFiltersType: L } = z(
|
|
1291
|
+
(V) => V
|
|
1292
|
+
), [h, k] = I(n || null), [x, S] = I(c || null), [$, w] = I(!1);
|
|
1293
1293
|
A(() => {
|
|
1294
|
-
|
|
1294
|
+
z.setState({
|
|
1295
1295
|
tematicalFiltersSelected: s || []
|
|
1296
1296
|
});
|
|
1297
1297
|
}, [s]), ee(!1), A(() => {
|
|
1298
1298
|
a(N);
|
|
1299
1299
|
}, [N]);
|
|
1300
|
-
const
|
|
1301
|
-
v ?
|
|
1300
|
+
const T = () => {
|
|
1301
|
+
v ? h && x ? l({ name: h, description: x }) : w(!0) : h ? l({ name: h, description: x }) : w(!0);
|
|
1302
1302
|
};
|
|
1303
1303
|
return A(() => {
|
|
1304
1304
|
if (C.includes("geographical") && L != "geographical" && p.length > 0) {
|
|
1305
|
-
const
|
|
1305
|
+
const V = p.map((B) => ({
|
|
1306
1306
|
...B,
|
|
1307
1307
|
active: !1
|
|
1308
1308
|
}));
|
|
1309
|
-
f == null || f(
|
|
1309
|
+
f == null || f(V);
|
|
1310
1310
|
}
|
|
1311
|
-
}, [L]), /* @__PURE__ */
|
|
1312
|
-
/* @__PURE__ */
|
|
1313
|
-
!b && /* @__PURE__ */
|
|
1311
|
+
}, [L]), /* @__PURE__ */ m("div", { className: me.FiltersAmbitContainer, children: [
|
|
1312
|
+
/* @__PURE__ */ m("div", { className: me.FiltersContainer, children: [
|
|
1313
|
+
!b && /* @__PURE__ */ m("div", { className: me.FiltersAmbitHeader, children: [
|
|
1314
1314
|
/* @__PURE__ */ i("div", { className: me.FiltersAmbitTitle, children: /* @__PURE__ */ i(
|
|
1315
1315
|
"input",
|
|
1316
1316
|
{
|
|
1317
1317
|
type: "text",
|
|
1318
|
-
onChange: (
|
|
1319
|
-
|
|
1318
|
+
onChange: (V) => {
|
|
1319
|
+
w(!1), k(V.target.value);
|
|
1320
1320
|
},
|
|
1321
|
-
value:
|
|
1321
|
+
value: h,
|
|
1322
1322
|
placeholder: _(u)
|
|
1323
1323
|
}
|
|
1324
1324
|
) }),
|
|
@@ -1326,8 +1326,8 @@ const q0 = "_FiltersAmbitContainer_1hv16_2", P0 = "_FiltersContainer_1hv16_15",
|
|
|
1326
1326
|
"textarea",
|
|
1327
1327
|
{
|
|
1328
1328
|
value: x,
|
|
1329
|
-
onChange: (
|
|
1330
|
-
v &&
|
|
1329
|
+
onChange: (V) => {
|
|
1330
|
+
v && w(!1), S(V.target.value);
|
|
1331
1331
|
},
|
|
1332
1332
|
placeholder: _(g)
|
|
1333
1333
|
}
|
|
@@ -1363,9 +1363,9 @@ const q0 = "_FiltersAmbitContainer_1hv16_2", P0 = "_FiltersContainer_1hv16_15",
|
|
|
1363
1363
|
}
|
|
1364
1364
|
)
|
|
1365
1365
|
] }),
|
|
1366
|
-
!b && /* @__PURE__ */
|
|
1367
|
-
|
|
1368
|
-
/* @__PURE__ */ i(Xe, { onClick: () =>
|
|
1366
|
+
!b && /* @__PURE__ */ m("div", { className: me.buttonContainer, children: [
|
|
1367
|
+
$ && /* @__PURE__ */ i("div", { className: me.warning, children: _(y) }),
|
|
1368
|
+
/* @__PURE__ */ i(Xe, { onClick: () => T(), children: _("save_ambit") })
|
|
1369
1369
|
] })
|
|
1370
1370
|
] });
|
|
1371
1371
|
};
|
|
@@ -1384,7 +1384,7 @@ G0.propTypes = {
|
|
|
1384
1384
|
filtersTypes: e.arrayOf(e.string).isRequired,
|
|
1385
1385
|
nameRequiredText: e.string
|
|
1386
1386
|
};
|
|
1387
|
-
const X0 = "
|
|
1387
|
+
const X0 = "_barChartContainer_10h77_2", Mt = {
|
|
1388
1388
|
barChartContainer: X0
|
|
1389
1389
|
}, r2 = ({
|
|
1390
1390
|
data: n,
|
|
@@ -1405,49 +1405,50 @@ const X0 = "_barChartContainer_18uur_2", Mt = {
|
|
|
1405
1405
|
verticalPadding: u = 10,
|
|
1406
1406
|
xLabelPadding: g = a == "vertical" ? 50 : 40,
|
|
1407
1407
|
containerWidth: C = 700,
|
|
1408
|
-
containerHeight: y = 500
|
|
1408
|
+
containerHeight: y = 500,
|
|
1409
|
+
mainColor: p = "#000"
|
|
1409
1410
|
}) => {
|
|
1410
1411
|
const {
|
|
1411
|
-
xScale:
|
|
1412
|
-
yScale:
|
|
1413
|
-
ticks:
|
|
1414
|
-
height:
|
|
1415
|
-
chartWidth:
|
|
1416
|
-
svgWidth:
|
|
1417
|
-
svgHeight:
|
|
1418
|
-
contentWidth:
|
|
1412
|
+
xScale: f,
|
|
1413
|
+
yScale: b,
|
|
1414
|
+
ticks: v,
|
|
1415
|
+
height: _,
|
|
1416
|
+
chartWidth: N,
|
|
1417
|
+
svgWidth: L,
|
|
1418
|
+
svgHeight: h,
|
|
1419
|
+
contentWidth: k
|
|
1419
1420
|
} = De(() => {
|
|
1420
1421
|
if (n && n.length > 0) {
|
|
1421
|
-
const
|
|
1422
|
+
const x = st.max(n, ($) => $.value) || 1, S = d || x;
|
|
1422
1423
|
if (a === "vertical") {
|
|
1423
|
-
const $ = n.length * (c + s) + l * 2,
|
|
1424
|
+
const $ = n.length * (c + s) + l * 2, w = Math.max($, C || 0), T = y, B = st.scaleLinear().domain([0, S]).range([T - 100, u]), O = Array.from(
|
|
1424
1425
|
{ length: o + 1 },
|
|
1425
|
-
(
|
|
1426
|
+
(R, P) => S / o * P
|
|
1426
1427
|
);
|
|
1427
1428
|
return {
|
|
1428
|
-
yScale:
|
|
1429
|
-
ticks:
|
|
1430
|
-
height:
|
|
1431
|
-
chartWidth:
|
|
1432
|
-
svgWidth:
|
|
1433
|
-
svgHeight:
|
|
1429
|
+
yScale: B,
|
|
1430
|
+
ticks: O,
|
|
1431
|
+
height: T,
|
|
1432
|
+
chartWidth: w,
|
|
1433
|
+
svgWidth: w,
|
|
1434
|
+
svgHeight: T,
|
|
1434
1435
|
contentWidth: $
|
|
1435
1436
|
};
|
|
1436
1437
|
} else {
|
|
1437
1438
|
const $ = n.length * (c + s);
|
|
1438
1439
|
console.log("barsHeight: ", $);
|
|
1439
|
-
const
|
|
1440
|
+
const w = $ + u * 2 + g + 30, T = C + t + l * 2, V = st.scaleLinear().domain([0, S]).range([0, C - l * 2]), B = Array.from(
|
|
1440
1441
|
{ length: o + 1 },
|
|
1441
|
-
(
|
|
1442
|
+
(O, R) => S / o * R
|
|
1442
1443
|
);
|
|
1443
1444
|
return {
|
|
1444
1445
|
xScale: V,
|
|
1445
|
-
ticks:
|
|
1446
|
-
height:
|
|
1446
|
+
ticks: B,
|
|
1447
|
+
height: w,
|
|
1447
1448
|
chartWidth: C,
|
|
1448
|
-
svgWidth:
|
|
1449
|
-
svgHeight:
|
|
1450
|
-
contentWidth:
|
|
1449
|
+
svgWidth: T,
|
|
1450
|
+
svgHeight: w,
|
|
1451
|
+
contentWidth: T
|
|
1451
1452
|
};
|
|
1452
1453
|
}
|
|
1453
1454
|
} else
|
|
@@ -1475,30 +1476,32 @@ const X0 = "_barChartContainer_18uur_2", Mt = {
|
|
|
1475
1476
|
"div",
|
|
1476
1477
|
{
|
|
1477
1478
|
style: {
|
|
1478
|
-
width:
|
|
1479
|
-
|
|
1479
|
+
//width: containerWidth ? `${containerWidth}px` : "100%",
|
|
1480
|
+
width: "100%",
|
|
1481
|
+
height: y ? `${y}px` : "100%",
|
|
1482
|
+
"--main-color": p
|
|
1480
1483
|
},
|
|
1481
1484
|
className: Mt.barChartContainer,
|
|
1482
1485
|
children: /* @__PURE__ */ i(
|
|
1483
1486
|
"svg",
|
|
1484
1487
|
{
|
|
1485
|
-
width:
|
|
1486
|
-
height:
|
|
1488
|
+
width: L,
|
|
1489
|
+
height: h,
|
|
1487
1490
|
style: {
|
|
1488
1491
|
display: "block",
|
|
1489
|
-
width:
|
|
1490
|
-
height:
|
|
1492
|
+
width: L,
|
|
1493
|
+
height: h,
|
|
1491
1494
|
maxWidth: "none"
|
|
1492
1495
|
},
|
|
1493
|
-
children: /* @__PURE__ */
|
|
1494
|
-
/* @__PURE__ */ i("g", { children:
|
|
1495
|
-
const $ =
|
|
1496
|
-
return /* @__PURE__ */
|
|
1496
|
+
children: /* @__PURE__ */ m("g", { transform: `translate(${l}, 0)`, children: [
|
|
1497
|
+
/* @__PURE__ */ i("g", { children: v.map((x, S) => {
|
|
1498
|
+
const $ = b(x);
|
|
1499
|
+
return /* @__PURE__ */ m("g", { children: [
|
|
1497
1500
|
/* @__PURE__ */ i(
|
|
1498
1501
|
"line",
|
|
1499
1502
|
{
|
|
1500
1503
|
x1: 0,
|
|
1501
|
-
x2:
|
|
1504
|
+
x2: N - l * 2,
|
|
1502
1505
|
y1: $,
|
|
1503
1506
|
y2: $,
|
|
1504
1507
|
stroke: "#ccc"
|
|
@@ -1512,66 +1515,67 @@ const X0 = "_barChartContainer_18uur_2", Mt = {
|
|
|
1512
1515
|
textAnchor: "end",
|
|
1513
1516
|
fontSize: 10,
|
|
1514
1517
|
fill: r,
|
|
1515
|
-
children: parseInt(
|
|
1518
|
+
children: parseInt(x)
|
|
1516
1519
|
}
|
|
1517
1520
|
)
|
|
1518
|
-
] },
|
|
1521
|
+
] }, S);
|
|
1519
1522
|
}) }),
|
|
1520
|
-
n && n.length > 0 && n.map((
|
|
1521
|
-
const $ =
|
|
1522
|
-
return /* @__PURE__ */
|
|
1523
|
+
n && n.length > 0 && n.map((x, S) => {
|
|
1524
|
+
const $ = b(0) - b(x.value), w = S * (c + s), T = b(x.value);
|
|
1525
|
+
return /* @__PURE__ */ m("g", { children: [
|
|
1523
1526
|
/* @__PURE__ */ i(
|
|
1524
1527
|
"rect",
|
|
1525
1528
|
{
|
|
1526
|
-
x:
|
|
1527
|
-
y:
|
|
1529
|
+
x: w,
|
|
1530
|
+
y: T,
|
|
1528
1531
|
width: c,
|
|
1529
1532
|
height: $,
|
|
1530
|
-
fill:
|
|
1533
|
+
fill: x.color,
|
|
1531
1534
|
rx: 0
|
|
1532
1535
|
}
|
|
1533
1536
|
),
|
|
1534
1537
|
/* @__PURE__ */ i(
|
|
1535
1538
|
"text",
|
|
1536
1539
|
{
|
|
1537
|
-
x:
|
|
1538
|
-
y:
|
|
1540
|
+
x: w + c / 2,
|
|
1541
|
+
y: _ - g,
|
|
1539
1542
|
textAnchor: "start",
|
|
1540
1543
|
fill: r,
|
|
1541
1544
|
fontSize: 12,
|
|
1542
|
-
transform: `rotate(-90, ${
|
|
1543
|
-
children:
|
|
1545
|
+
transform: `rotate(-90, ${w + c / 2}, ${_ - g})`,
|
|
1546
|
+
children: x.title
|
|
1544
1547
|
}
|
|
1545
1548
|
)
|
|
1546
|
-
] },
|
|
1549
|
+
] }, S);
|
|
1547
1550
|
})
|
|
1548
1551
|
] })
|
|
1549
1552
|
}
|
|
1550
1553
|
)
|
|
1551
1554
|
}
|
|
1552
|
-
) : (console.log("svgHeight: ",
|
|
1555
|
+
) : (console.log("svgHeight: ", h), /* @__PURE__ */ i(
|
|
1553
1556
|
"div",
|
|
1554
1557
|
{
|
|
1555
1558
|
style: {
|
|
1556
|
-
width:
|
|
1559
|
+
width: "100%",
|
|
1560
|
+
//width: containerWidth ? `${containerWidth}px` : "100%",
|
|
1557
1561
|
height: y ? `${y}px` : "100%"
|
|
1558
1562
|
},
|
|
1559
1563
|
className: Mt.barChartContainer,
|
|
1560
1564
|
children: /* @__PURE__ */ i(
|
|
1561
1565
|
"svg",
|
|
1562
1566
|
{
|
|
1563
|
-
width:
|
|
1564
|
-
height:
|
|
1567
|
+
width: L,
|
|
1568
|
+
height: h,
|
|
1565
1569
|
style: {
|
|
1566
1570
|
minWidth: "100%",
|
|
1567
|
-
height:
|
|
1568
|
-
width:
|
|
1571
|
+
height: h,
|
|
1572
|
+
width: k,
|
|
1569
1573
|
maxWidth: "none"
|
|
1570
1574
|
},
|
|
1571
|
-
children: /* @__PURE__ */
|
|
1572
|
-
/* @__PURE__ */ i("g", { transform: `translate(${t + l}, 0)`, children:
|
|
1573
|
-
const $ =
|
|
1574
|
-
return /* @__PURE__ */
|
|
1575
|
+
children: /* @__PURE__ */ m("g", { transform: `translate(0,${u})`, children: [
|
|
1576
|
+
/* @__PURE__ */ i("g", { transform: `translate(${t + l}, 0)`, children: v.map((x, S) => {
|
|
1577
|
+
const $ = f(x);
|
|
1578
|
+
return /* @__PURE__ */ m("g", { transform: `translate(${$}, 0)`, children: [
|
|
1575
1579
|
/* @__PURE__ */ i(
|
|
1576
1580
|
"line",
|
|
1577
1581
|
{
|
|
@@ -1587,17 +1591,17 @@ const X0 = "_barChartContainer_18uur_2", Mt = {
|
|
|
1587
1591
|
textAnchor: "middle",
|
|
1588
1592
|
fontSize: 10,
|
|
1589
1593
|
fill: r,
|
|
1590
|
-
children: parseInt(
|
|
1594
|
+
children: parseInt(x)
|
|
1591
1595
|
}
|
|
1592
1596
|
)
|
|
1593
|
-
] },
|
|
1597
|
+
] }, S);
|
|
1594
1598
|
}) }),
|
|
1595
|
-
n && n.length > 0 && n.map((
|
|
1596
|
-
const $ =
|
|
1597
|
-
return console.log("y: ",
|
|
1599
|
+
n && n.length > 0 && n.map((x, S) => {
|
|
1600
|
+
const $ = f(x.value), w = S * (c + s);
|
|
1601
|
+
return console.log("y: ", w), /* @__PURE__ */ m(
|
|
1598
1602
|
"g",
|
|
1599
1603
|
{
|
|
1600
|
-
transform: `translate(${t + l}, ${
|
|
1604
|
+
transform: `translate(${t + l}, ${w})`,
|
|
1601
1605
|
children: [
|
|
1602
1606
|
/* @__PURE__ */ i(
|
|
1603
1607
|
"text",
|
|
@@ -1607,7 +1611,7 @@ const X0 = "_barChartContainer_18uur_2", Mt = {
|
|
|
1607
1611
|
textAnchor: "end",
|
|
1608
1612
|
fill: r,
|
|
1609
1613
|
fontSize: 12,
|
|
1610
|
-
children:
|
|
1614
|
+
children: x.title
|
|
1611
1615
|
}
|
|
1612
1616
|
),
|
|
1613
1617
|
/* @__PURE__ */ i(
|
|
@@ -1615,13 +1619,13 @@ const X0 = "_barChartContainer_18uur_2", Mt = {
|
|
|
1615
1619
|
{
|
|
1616
1620
|
width: $,
|
|
1617
1621
|
height: c,
|
|
1618
|
-
fill:
|
|
1622
|
+
fill: x.color,
|
|
1619
1623
|
rx: 0
|
|
1620
1624
|
}
|
|
1621
1625
|
)
|
|
1622
1626
|
]
|
|
1623
1627
|
},
|
|
1624
|
-
|
|
1628
|
+
S
|
|
1625
1629
|
);
|
|
1626
1630
|
})
|
|
1627
1631
|
] })
|
|
@@ -1670,13 +1674,12 @@ const Q0 = "_graphicContainer_1ozwp_2", J0 = "_titleContainer_1ozwp_13", Dt = {
|
|
|
1670
1674
|
xLabelPadding: g = 0
|
|
1671
1675
|
}) => {
|
|
1672
1676
|
const { t: C } = F();
|
|
1673
|
-
return /* @__PURE__ */
|
|
1677
|
+
return /* @__PURE__ */ m(
|
|
1674
1678
|
"div",
|
|
1675
1679
|
{
|
|
1676
1680
|
className: Dt.graphicContainer,
|
|
1677
1681
|
style: {
|
|
1678
1682
|
...s || {},
|
|
1679
|
-
border: `1.5px solid ${r}`,
|
|
1680
1683
|
paddingBottom: 40
|
|
1681
1684
|
},
|
|
1682
1685
|
children: [
|
|
@@ -1720,7 +1723,7 @@ const en = "_indicatorsCategory_arwy3_2", tn = "_title_arwy3_5", nn = "_list_arw
|
|
|
1720
1723
|
indicatorsCategory: en,
|
|
1721
1724
|
title: tn,
|
|
1722
1725
|
list: nn
|
|
1723
|
-
}, sn = "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", rn = "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", on = "_indicatorContainer_17b40_2", an = "_indicatorNameContainer_17b40_11", ln = "_dot_17b40_17", cn = "_indicatorName_17b40_11", dn = "_switchExternalContainer_17b40_31", un = "_switchType_17b40_39", pn = "_switchTypeOptions_17b40_43", hn = "_optionContainer_17b40_54", mn = "_customRadious_17b40_64", gn = "_optionText_17b40_71",
|
|
1726
|
+
}, sn = "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", rn = "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", on = "_indicatorContainer_17b40_2", an = "_indicatorNameContainer_17b40_11", ln = "_dot_17b40_17", cn = "_indicatorName_17b40_11", dn = "_switchExternalContainer_17b40_31", un = "_switchType_17b40_39", pn = "_switchTypeOptions_17b40_43", hn = "_optionContainer_17b40_54", mn = "_customRadious_17b40_64", gn = "_optionText_17b40_71", K = {
|
|
1724
1727
|
indicatorContainer: on,
|
|
1725
1728
|
indicatorNameContainer: an,
|
|
1726
1729
|
dot: ln,
|
|
@@ -1750,17 +1753,17 @@ const en = "_indicatorsCategory_arwy3_2", tn = "_title_arwy3_5", nn = "_list_arw
|
|
|
1750
1753
|
) : t.name == g
|
|
1751
1754
|
);
|
|
1752
1755
|
}, [t]);
|
|
1753
|
-
const b = () => /* @__PURE__ */ i("div", { className:
|
|
1754
|
-
/* @__PURE__ */
|
|
1756
|
+
const b = () => /* @__PURE__ */ i("div", { className: K.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: K.switchType, children: /* @__PURE__ */ m("div", { className: K.switchTypeOptions, children: [
|
|
1757
|
+
/* @__PURE__ */ m(
|
|
1755
1758
|
"div",
|
|
1756
1759
|
{
|
|
1757
|
-
className:
|
|
1760
|
+
className: K.optionContainer,
|
|
1758
1761
|
onClick: () => l("cat"),
|
|
1759
1762
|
children: [
|
|
1760
1763
|
/* @__PURE__ */ i(
|
|
1761
1764
|
"span",
|
|
1762
1765
|
{
|
|
1763
|
-
className: `${
|
|
1766
|
+
className: `${K.customRadious}`,
|
|
1764
1767
|
style: {
|
|
1765
1768
|
backgroundColor: o === "cat" ? s : "transparent",
|
|
1766
1769
|
borderColor: o === "cat" ? s : r
|
|
@@ -1770,7 +1773,7 @@ const en = "_indicatorsCategory_arwy3_2", tn = "_title_arwy3_5", nn = "_list_arw
|
|
|
1770
1773
|
/* @__PURE__ */ i(
|
|
1771
1774
|
"h4",
|
|
1772
1775
|
{
|
|
1773
|
-
className:
|
|
1776
|
+
className: K.optionText,
|
|
1774
1777
|
style: {
|
|
1775
1778
|
color: o === "cat" ? s : r
|
|
1776
1779
|
},
|
|
@@ -1780,16 +1783,16 @@ const en = "_indicatorsCategory_arwy3_2", tn = "_title_arwy3_5", nn = "_list_arw
|
|
|
1780
1783
|
]
|
|
1781
1784
|
}
|
|
1782
1785
|
),
|
|
1783
|
-
/* @__PURE__ */
|
|
1786
|
+
/* @__PURE__ */ m(
|
|
1784
1787
|
"div",
|
|
1785
1788
|
{
|
|
1786
|
-
className:
|
|
1789
|
+
className: K.optionContainer,
|
|
1787
1790
|
onClick: () => l("abs"),
|
|
1788
1791
|
children: [
|
|
1789
1792
|
/* @__PURE__ */ i(
|
|
1790
1793
|
"span",
|
|
1791
1794
|
{
|
|
1792
|
-
className: `${
|
|
1795
|
+
className: `${K.customRadious}`,
|
|
1793
1796
|
style: {
|
|
1794
1797
|
backgroundColor: o === "abs" ? s : "transparent",
|
|
1795
1798
|
borderColor: o === "abs" ? s : r
|
|
@@ -1799,7 +1802,7 @@ const en = "_indicatorsCategory_arwy3_2", tn = "_title_arwy3_5", nn = "_list_arw
|
|
|
1799
1802
|
/* @__PURE__ */ i(
|
|
1800
1803
|
"h4",
|
|
1801
1804
|
{
|
|
1802
|
-
className:
|
|
1805
|
+
className: K.optionText,
|
|
1803
1806
|
style: {
|
|
1804
1807
|
color: o === "abs" ? s : r
|
|
1805
1808
|
},
|
|
@@ -1809,15 +1812,15 @@ const en = "_indicatorsCategory_arwy3_2", tn = "_title_arwy3_5", nn = "_list_arw
|
|
|
1809
1812
|
]
|
|
1810
1813
|
}
|
|
1811
1814
|
)
|
|
1812
|
-
] }) }) }), v = () => /* @__PURE__ */ i("div", { className:
|
|
1815
|
+
] }) }) }), v = () => /* @__PURE__ */ i("div", { className: K.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: K.switchType, children: /* @__PURE__ */ i("div", { className: K.switchTypeOptions, children: c.map((_, N) => /* @__PURE__ */ m(
|
|
1813
1816
|
"div",
|
|
1814
1817
|
{
|
|
1815
|
-
className:
|
|
1818
|
+
className: K.optionContainer,
|
|
1816
1819
|
children: [
|
|
1817
1820
|
/* @__PURE__ */ i(
|
|
1818
1821
|
"span",
|
|
1819
1822
|
{
|
|
1820
|
-
className:
|
|
1823
|
+
className: K.customRadious
|
|
1821
1824
|
}
|
|
1822
1825
|
),
|
|
1823
1826
|
/* @__PURE__ */ i("h4", { children: u(_.unit) })
|
|
@@ -1825,11 +1828,11 @@ const en = "_indicatorsCategory_arwy3_2", tn = "_title_arwy3_5", nn = "_list_arw
|
|
|
1825
1828
|
},
|
|
1826
1829
|
N
|
|
1827
1830
|
)) }) }) });
|
|
1828
|
-
return /* @__PURE__ */
|
|
1829
|
-
/* @__PURE__ */
|
|
1831
|
+
return /* @__PURE__ */ m("div", { className: K.indicatorContainer, children: [
|
|
1832
|
+
/* @__PURE__ */ m(
|
|
1830
1833
|
"div",
|
|
1831
1834
|
{
|
|
1832
|
-
className:
|
|
1835
|
+
className: K.indicatorNameContainer,
|
|
1833
1836
|
onClick: () => !y && d({ indicator: n }),
|
|
1834
1837
|
children: [
|
|
1835
1838
|
/* @__PURE__ */ i(
|
|
@@ -1840,14 +1843,14 @@ const en = "_indicatorsCategory_arwy3_2", tn = "_title_arwy3_5", nn = "_list_arw
|
|
|
1840
1843
|
opacity: y ? 0.5 : 1,
|
|
1841
1844
|
backgroundColor: p ? s : "transparent"
|
|
1842
1845
|
},
|
|
1843
|
-
className:
|
|
1846
|
+
className: K.dot,
|
|
1844
1847
|
children: a && /* @__PURE__ */ i("img", { src: p ? rn : sn, alt: "" })
|
|
1845
1848
|
}
|
|
1846
1849
|
),
|
|
1847
1850
|
/* @__PURE__ */ i(
|
|
1848
1851
|
"h4",
|
|
1849
1852
|
{
|
|
1850
|
-
className:
|
|
1853
|
+
className: K.indicatorName,
|
|
1851
1854
|
style: {
|
|
1852
1855
|
color: p ? s : r,
|
|
1853
1856
|
opacity: y ? 0.5 : 1
|
|
@@ -1901,7 +1904,7 @@ const Cn = "_indicatorsSubCategory_1nuug_2", fn = "_list_1nuug_11", Tt = {
|
|
|
1901
1904
|
const { t: y } = F(), [p, f] = I(!1);
|
|
1902
1905
|
return A(() => {
|
|
1903
1906
|
f(t == d);
|
|
1904
|
-
}, [t, d]), /* @__PURE__ */
|
|
1907
|
+
}, [t, d]), /* @__PURE__ */ m(
|
|
1905
1908
|
xt.div,
|
|
1906
1909
|
{
|
|
1907
1910
|
className: Tt.indicatorsSubCategory,
|
|
@@ -1909,7 +1912,7 @@ const Cn = "_indicatorsSubCategory_1nuug_2", fn = "_list_1nuug_11", Tt = {
|
|
|
1909
1912
|
animate: { height: p ? "auto" : "43px" },
|
|
1910
1913
|
transition: { duration: 0.4 },
|
|
1911
1914
|
children: [
|
|
1912
|
-
/* @__PURE__ */ i("button", { onClick: () => o(d), children: /* @__PURE__ */
|
|
1915
|
+
/* @__PURE__ */ i("button", { onClick: () => o(d), children: /* @__PURE__ */ m("h3", { style: { color: p ? r : s }, children: [
|
|
1913
1916
|
/* @__PURE__ */ i("span", { style: { color: p ? r : s }, children: p ? "-" : "+" }),
|
|
1914
1917
|
/* @__PURE__ */ i(
|
|
1915
1918
|
"span",
|
|
@@ -1968,7 +1971,7 @@ const a2 = ({
|
|
|
1968
1971
|
const { t: p } = F(), [f, b] = I(!1);
|
|
1969
1972
|
return A(() => {
|
|
1970
1973
|
b(o === c);
|
|
1971
|
-
}, [o, c]), /* @__PURE__ */
|
|
1974
|
+
}, [o, c]), /* @__PURE__ */ m(
|
|
1972
1975
|
xt.div,
|
|
1973
1976
|
{
|
|
1974
1977
|
className: He.indicatorsCategory,
|
|
@@ -1981,7 +1984,7 @@ const a2 = ({
|
|
|
1981
1984
|
marginBottom: f ? "20px" : "0px"
|
|
1982
1985
|
},
|
|
1983
1986
|
children: [
|
|
1984
|
-
/* @__PURE__ */
|
|
1987
|
+
/* @__PURE__ */ m("h2", { className: `${He.title}`, onClick: () => t(c), children: [
|
|
1985
1988
|
/* @__PURE__ */ i("span", { className: He.plus, style: { color: f ? s : r }, children: f ? "-" : "+" }),
|
|
1986
1989
|
/* @__PURE__ */ i(
|
|
1987
1990
|
"span",
|
|
@@ -1992,7 +1995,7 @@ const a2 = ({
|
|
|
1992
1995
|
)
|
|
1993
1996
|
] }),
|
|
1994
1997
|
n.subcategories ? n.subcategories.map(
|
|
1995
|
-
({ name: _, subcategory: N, indicators: L },
|
|
1998
|
+
({ name: _, subcategory: N, indicators: L }, h) => /* @__PURE__ */ i(
|
|
1996
1999
|
o2,
|
|
1997
2000
|
{
|
|
1998
2001
|
id: N,
|
|
@@ -2008,7 +2011,7 @@ const a2 = ({
|
|
|
2008
2011
|
activeIndicatorType: C,
|
|
2009
2012
|
onChangeType: y
|
|
2010
2013
|
},
|
|
2011
|
-
`subcKey ${
|
|
2014
|
+
`subcKey ${h}`
|
|
2012
2015
|
)
|
|
2013
2016
|
) : /* @__PURE__ */ i("div", { className: He.list, children: (v = n.indicators) == null ? void 0 : v.map((_, N) => /* @__PURE__ */ i(
|
|
2014
2017
|
Nt,
|
|
@@ -2060,26 +2063,26 @@ const yn = "_indicatorsList_13b3m_2", bn = "_title_13b3m_6", Bt = {
|
|
|
2060
2063
|
changeIndType: d,
|
|
2061
2064
|
activeIndicatorType: a
|
|
2062
2065
|
}) => {
|
|
2063
|
-
const { t: l } = F(), [u, g] = I(), [C, y] = I(), [p, f] = I(), b = (
|
|
2064
|
-
g(u ==
|
|
2065
|
-
}, v = (
|
|
2066
|
-
y(C ==
|
|
2067
|
-
}, _ = ({ indicator:
|
|
2068
|
-
N(
|
|
2069
|
-
}, N = (
|
|
2066
|
+
const { t: l } = F(), [u, g] = I(), [C, y] = I(), [p, f] = I(), b = (h) => {
|
|
2067
|
+
g(u == h ? null : h);
|
|
2068
|
+
}, v = (h) => {
|
|
2069
|
+
y(C == h ? null : h);
|
|
2070
|
+
}, _ = ({ indicator: h }) => {
|
|
2071
|
+
N(h);
|
|
2072
|
+
}, N = (h) => {
|
|
2070
2073
|
if (!t)
|
|
2071
2074
|
f(
|
|
2072
|
-
(p == null ? void 0 : p.name) ==
|
|
2075
|
+
(p == null ? void 0 : p.name) == h.name ? null : h
|
|
2073
2076
|
);
|
|
2074
2077
|
else {
|
|
2075
|
-
let
|
|
2078
|
+
let k = p && p.length > 0 ? [...p] : [];
|
|
2076
2079
|
f(
|
|
2077
|
-
|
|
2078
|
-
(x) => x.name ==
|
|
2079
|
-
) ?
|
|
2080
|
-
(x) => x.name != String(
|
|
2081
|
-
) : [...
|
|
2082
|
-
),
|
|
2080
|
+
k != null && k.some(
|
|
2081
|
+
(x) => x.name == h.name
|
|
2082
|
+
) ? k.filter(
|
|
2083
|
+
(x) => x.name != String(h.name)
|
|
2084
|
+
) : [...k, h]
|
|
2085
|
+
), h.type == "both" && d("cat");
|
|
2083
2086
|
}
|
|
2084
2087
|
};
|
|
2085
2088
|
A(() => {
|
|
@@ -2087,38 +2090,38 @@ const yn = "_indicatorsList_13b3m_2", bn = "_title_13b3m_6", Bt = {
|
|
|
2087
2090
|
}, [p]), v2(() => {
|
|
2088
2091
|
if (o && !p)
|
|
2089
2092
|
if (t && o && Array.isArray(o)) {
|
|
2090
|
-
let
|
|
2091
|
-
f([...
|
|
2093
|
+
let h = p && p.length > 0 ? [...p] : [];
|
|
2094
|
+
f([...h, ...o]), L(o[0].name);
|
|
2092
2095
|
} else
|
|
2093
2096
|
N(o), L(o.name);
|
|
2094
2097
|
}, []), A(() => {
|
|
2095
2098
|
if (o != p)
|
|
2096
2099
|
if (t && o && Array.isArray(o)) {
|
|
2097
|
-
let
|
|
2098
|
-
f([...
|
|
2100
|
+
let h = p && p.length > 0 ? [...p] : [];
|
|
2101
|
+
f([...h, ...o]), L(o[0].name);
|
|
2099
2102
|
} else
|
|
2100
2103
|
N(o), L(o.name);
|
|
2101
2104
|
}, [o]);
|
|
2102
|
-
const L = (
|
|
2103
|
-
const
|
|
2105
|
+
const L = (h) => {
|
|
2106
|
+
const k = n.find((x) => {
|
|
2104
2107
|
if (x.subcategories) {
|
|
2105
|
-
let
|
|
2106
|
-
(
|
|
2108
|
+
let S = x.subcategories.find(
|
|
2109
|
+
($) => $.indicators.find((w) => w.name == h)
|
|
2107
2110
|
);
|
|
2108
|
-
if (
|
|
2109
|
-
return y(
|
|
2111
|
+
if (S)
|
|
2112
|
+
return y(S.subcategory), S;
|
|
2110
2113
|
} else
|
|
2111
|
-
return x.indicators.some((
|
|
2114
|
+
return x.indicators.some((S) => S.name == h);
|
|
2112
2115
|
});
|
|
2113
|
-
|
|
2116
|
+
k && g(k.category);
|
|
2114
2117
|
};
|
|
2115
|
-
return /* @__PURE__ */
|
|
2118
|
+
return /* @__PURE__ */ m("div", { className: Bt.indicatorsList, children: [
|
|
2116
2119
|
/* @__PURE__ */ i("h2", { className: Bt.title, style: { color: s }, children: l("indicators.indicators") }),
|
|
2117
|
-
n.map((
|
|
2120
|
+
n.map((h, k) => /* @__PURE__ */ i(
|
|
2118
2121
|
a2,
|
|
2119
2122
|
{
|
|
2120
|
-
id:
|
|
2121
|
-
cat:
|
|
2123
|
+
id: h.category,
|
|
2124
|
+
cat: h,
|
|
2122
2125
|
onClickCategory: b,
|
|
2123
2126
|
activeCategory: u,
|
|
2124
2127
|
onClickSubCategory: v,
|
|
@@ -2132,7 +2135,7 @@ const yn = "_indicatorsList_13b3m_2", bn = "_title_13b3m_6", Bt = {
|
|
|
2132
2135
|
onChangeType: d,
|
|
2133
2136
|
activeIndicatorType: a
|
|
2134
2137
|
},
|
|
2135
|
-
`categoryKey${
|
|
2138
|
+
`categoryKey${k}`
|
|
2136
2139
|
))
|
|
2137
2140
|
] });
|
|
2138
2141
|
};
|
|
@@ -2157,8 +2160,8 @@ const vn = "_langSelector_o9enq_2", xn = "_currentLang_o9enq_14", wn = "_arrow_o
|
|
|
2157
2160
|
const [r, t] = I(!1), { i18n: o } = F(), d = n.find((l) => l.code == o.language), a = (l) => {
|
|
2158
2161
|
o.changeLanguage(l), t(!1);
|
|
2159
2162
|
};
|
|
2160
|
-
return /* @__PURE__ */
|
|
2161
|
-
/* @__PURE__ */
|
|
2163
|
+
return /* @__PURE__ */ m("div", { className: ke.langSelector, children: [
|
|
2164
|
+
/* @__PURE__ */ m(
|
|
2162
2165
|
"div",
|
|
2163
2166
|
{
|
|
2164
2167
|
className: ke.currentLang,
|
|
@@ -2197,7 +2200,7 @@ $n.propTypes = {
|
|
|
2197
2200
|
arrow: e.object,
|
|
2198
2201
|
imgPrev: e.object
|
|
2199
2202
|
};
|
|
2200
|
-
const Sn = "_legendContainer_4ndr8_3", Ln = "_closeButton_4ndr8_41", Mn = "_titleContainer_4ndr8_69", Dn = "_infoContainer_4ndr8_75", Tn = "_titleLegendList_4ndr8_86", Bn = "_legendListContainer_4ndr8_92", Vn = "_gridContainer_4ndr8_92", Fn = "_elementLegendContainer_4ndr8_98", An = "_colorDot_4ndr8_104", On = "_absoluteValueContainer_4ndr8_110", Rn = "_absoluteValueColor_4ndr8_113", In = "_absoluteValueText_4ndr8_118", En = "_noDataContainer_4ndr8_130",
|
|
2203
|
+
const Sn = "_legendContainer_4ndr8_3", Ln = "_closeButton_4ndr8_41", Mn = "_titleContainer_4ndr8_69", Dn = "_infoContainer_4ndr8_75", Tn = "_titleLegendList_4ndr8_86", Bn = "_legendListContainer_4ndr8_92", Vn = "_gridContainer_4ndr8_92", Fn = "_elementLegendContainer_4ndr8_98", An = "_colorDot_4ndr8_104", On = "_absoluteValueContainer_4ndr8_110", Rn = "_absoluteValueColor_4ndr8_113", In = "_absoluteValueText_4ndr8_118", En = "_noDataContainer_4ndr8_130", qn = "_noData_4ndr8_130", zn = "_moreInfoContainer_4ndr8_151", H = {
|
|
2201
2204
|
legendContainer: Sn,
|
|
2202
2205
|
closeButton: Ln,
|
|
2203
2206
|
titleContainer: Mn,
|
|
@@ -2211,8 +2214,8 @@ const Sn = "_legendContainer_4ndr8_3", Ln = "_closeButton_4ndr8_41", Mn = "_titl
|
|
|
2211
2214
|
absoluteValueColor: Rn,
|
|
2212
2215
|
absoluteValueText: In,
|
|
2213
2216
|
noDataContainer: En,
|
|
2214
|
-
noData:
|
|
2215
|
-
moreInfoContainer:
|
|
2217
|
+
noData: qn,
|
|
2218
|
+
moreInfoContainer: zn
|
|
2216
2219
|
}, Pn = ({
|
|
2217
2220
|
//JSON with the styles of the container (optional)
|
|
2218
2221
|
containerStyles: n,
|
|
@@ -2230,35 +2233,35 @@ const Sn = "_legendContainer_4ndr8_3", Ln = "_closeButton_4ndr8_41", Mn = "_titl
|
|
|
2230
2233
|
onClickClose: d
|
|
2231
2234
|
}) => {
|
|
2232
2235
|
const { t: a } = F();
|
|
2233
|
-
return /* @__PURE__ */
|
|
2236
|
+
return /* @__PURE__ */ m(
|
|
2234
2237
|
"div",
|
|
2235
2238
|
{
|
|
2236
2239
|
style: n ? { ...n } : {},
|
|
2237
|
-
className: `${
|
|
2240
|
+
className: `${H.legendContainer}`,
|
|
2238
2241
|
children: [
|
|
2239
|
-
/* @__PURE__ */ i("button", { className:
|
|
2242
|
+
/* @__PURE__ */ i("button", { className: H.closeButton, onClick: d }),
|
|
2240
2243
|
c && /* @__PURE__ */ i(
|
|
2241
2244
|
"div",
|
|
2242
2245
|
{
|
|
2243
|
-
className:
|
|
2246
|
+
className: H.titleContainer,
|
|
2244
2247
|
style: {
|
|
2245
2248
|
marginBottom: (!s || s.length == 0) && "15px"
|
|
2246
2249
|
},
|
|
2247
2250
|
children: /* @__PURE__ */ i("h2", { children: c })
|
|
2248
2251
|
}
|
|
2249
2252
|
),
|
|
2250
|
-
s && s.length > 0 && /* @__PURE__ */ i("div", { className:
|
|
2251
|
-
/* @__PURE__ */ i("h3", { className:
|
|
2252
|
-
/* @__PURE__ */
|
|
2253
|
+
s && s.length > 0 && /* @__PURE__ */ i("div", { className: H.infoContainer, children: /* @__PURE__ */ i("ul", { children: s.map(({ title: l, value: u }) => /* @__PURE__ */ m("li", { children: [
|
|
2254
|
+
/* @__PURE__ */ i("h3", { className: H.title, children: `${l}:` }),
|
|
2255
|
+
/* @__PURE__ */ m("span", { className: H.value, children: [
|
|
2253
2256
|
" ",
|
|
2254
2257
|
u
|
|
2255
2258
|
] })
|
|
2256
2259
|
] }, c)) }) }),
|
|
2257
|
-
r && r.length > 0 && r.map((l, u) => /* @__PURE__ */
|
|
2260
|
+
r && r.length > 0 && r.map((l, u) => /* @__PURE__ */ m("div", { children: [
|
|
2258
2261
|
/* @__PURE__ */ i(
|
|
2259
2262
|
"h3",
|
|
2260
2263
|
{
|
|
2261
|
-
className:
|
|
2264
|
+
className: H.titleLegendList,
|
|
2262
2265
|
style: {
|
|
2263
2266
|
marginTop: s && s.length > 0 && u === 0 ? "30px" : u > 0 ? "20px" : "0px"
|
|
2264
2267
|
},
|
|
@@ -2272,48 +2275,48 @@ const Sn = "_legendContainer_4ndr8_3", Ln = "_closeButton_4ndr8_41", Mn = "_titl
|
|
|
2272
2275
|
)
|
|
2273
2276
|
}
|
|
2274
2277
|
),
|
|
2275
|
-
/* @__PURE__ */
|
|
2276
|
-
l.absolute ? /* @__PURE__ */
|
|
2278
|
+
/* @__PURE__ */ m("div", { className: H.legendListContainer, children: [
|
|
2279
|
+
l.absolute ? /* @__PURE__ */ m("div", { className: H.absoluteValueContainer, children: [
|
|
2277
2280
|
/* @__PURE__ */ i(
|
|
2278
2281
|
"div",
|
|
2279
2282
|
{
|
|
2280
|
-
className:
|
|
2283
|
+
className: H.absoluteValueColor,
|
|
2281
2284
|
style: {
|
|
2282
2285
|
background: `linear-gradient(to bottom, ${l.absolute.maxColor} 0%, ${l.absolute.midColor ? `${l.absolute.midColor} 50%,` : ""} ${l.absolute.minColor} 100%)`
|
|
2283
2286
|
}
|
|
2284
2287
|
}
|
|
2285
2288
|
),
|
|
2286
|
-
/* @__PURE__ */
|
|
2287
|
-
/* @__PURE__ */
|
|
2289
|
+
/* @__PURE__ */ m("div", { className: H.absoluteValueText, children: [
|
|
2290
|
+
/* @__PURE__ */ m("span", { children: [
|
|
2288
2291
|
l.absolute.maxValue,
|
|
2289
2292
|
" ",
|
|
2290
2293
|
a(l.absolute.unit)
|
|
2291
2294
|
] }),
|
|
2292
|
-
l.absolute.midValue && /* @__PURE__ */
|
|
2295
|
+
l.absolute.midValue && /* @__PURE__ */ m("span", { children: [
|
|
2293
2296
|
l.absolute.midValue,
|
|
2294
2297
|
" ",
|
|
2295
2298
|
a(l.absolute.unit)
|
|
2296
2299
|
] }),
|
|
2297
|
-
/* @__PURE__ */
|
|
2300
|
+
/* @__PURE__ */ m("span", { children: [
|
|
2298
2301
|
l.absolute.minValue,
|
|
2299
2302
|
" ",
|
|
2300
2303
|
a(l.absolute.unit)
|
|
2301
2304
|
] })
|
|
2302
2305
|
] })
|
|
2303
|
-
] }) : l.categories && l.categories.length > 0 && /* @__PURE__ */ i("div", { className:
|
|
2304
|
-
({ title: g, color: C }, y) => /* @__PURE__ */
|
|
2306
|
+
] }) : l.categories && l.categories.length > 0 && /* @__PURE__ */ i("div", { className: H.gridContainer, children: l.categories.map(
|
|
2307
|
+
({ title: g, color: C }, y) => /* @__PURE__ */ m(
|
|
2305
2308
|
"div",
|
|
2306
2309
|
{
|
|
2307
|
-
className:
|
|
2310
|
+
className: H.elementLegendContainer,
|
|
2308
2311
|
children: [
|
|
2309
2312
|
/* @__PURE__ */ i(
|
|
2310
2313
|
"div",
|
|
2311
2314
|
{
|
|
2312
|
-
className:
|
|
2315
|
+
className: H.colorDot,
|
|
2313
2316
|
style: { backgroundColor: C }
|
|
2314
2317
|
}
|
|
2315
2318
|
),
|
|
2316
|
-
/* @__PURE__ */
|
|
2319
|
+
/* @__PURE__ */ m("div", { className: H.titleLegendElement, children: [
|
|
2317
2320
|
a(g),
|
|
2318
2321
|
" "
|
|
2319
2322
|
] })
|
|
@@ -2322,21 +2325,21 @@ const Sn = "_legendContainer_4ndr8_3", Ln = "_closeButton_4ndr8_41", Mn = "_titl
|
|
|
2322
2325
|
y
|
|
2323
2326
|
)
|
|
2324
2327
|
) }),
|
|
2325
|
-
l.absolute && l.absolute.noDataColor && /* @__PURE__ */
|
|
2328
|
+
l.absolute && l.absolute.noDataColor && /* @__PURE__ */ m("div", { className: H.noDataContainer, children: [
|
|
2326
2329
|
/* @__PURE__ */ i(
|
|
2327
2330
|
"div",
|
|
2328
2331
|
{
|
|
2329
|
-
className:
|
|
2332
|
+
className: H.noData,
|
|
2330
2333
|
style: {
|
|
2331
2334
|
background: l.absolute.noDataColor
|
|
2332
2335
|
}
|
|
2333
2336
|
}
|
|
2334
2337
|
),
|
|
2335
|
-
/* @__PURE__ */ i("div", { className:
|
|
2338
|
+
/* @__PURE__ */ i("div", { className: H.absoluteValueText, children: /* @__PURE__ */ i("span", { children: a(l.absolute.noDataText) }) })
|
|
2336
2339
|
] })
|
|
2337
2340
|
] })
|
|
2338
2341
|
] }, u)),
|
|
2339
|
-
t && /* @__PURE__ */ i("button", { className:
|
|
2342
|
+
t && /* @__PURE__ */ i("button", { className: H.moreInfoContainer, onClick: t, children: o || a("moreInformation") })
|
|
2340
2343
|
]
|
|
2341
2344
|
}
|
|
2342
2345
|
);
|
|
@@ -2388,11 +2391,11 @@ jn.propTypes = {
|
|
|
2388
2391
|
href: e.string,
|
|
2389
2392
|
className: e.string
|
|
2390
2393
|
};
|
|
2391
|
-
const Hn = "_mapContainer_84pkf_2",
|
|
2394
|
+
const Hn = "_mapContainer_84pkf_2", Wn = {
|
|
2392
2395
|
mapContainer: Hn
|
|
2393
2396
|
};
|
|
2394
2397
|
x2.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
|
|
2395
|
-
const
|
|
2398
|
+
const Kn = ({
|
|
2396
2399
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2397
2400
|
maxZoom: c = 17,
|
|
2398
2401
|
minZoom: s = 8,
|
|
@@ -2413,7 +2416,7 @@ const Wn = ({
|
|
|
2413
2416
|
_.type == "symbol" && _.id != "professionals" && (f ? b.setLayoutProperty(_.id, "visibility", "visible") : b.setLayoutProperty(_.id, "visibility", "none"));
|
|
2414
2417
|
});
|
|
2415
2418
|
}
|
|
2416
|
-
}, [f]), /* @__PURE__ */ i("div", { className: `${
|
|
2419
|
+
}, [f]), /* @__PURE__ */ i("div", { className: `${Wn.mapContainer}`, style: o, children: /* @__PURE__ */ m(
|
|
2417
2420
|
N2,
|
|
2418
2421
|
{
|
|
2419
2422
|
initialViewState: n,
|
|
@@ -2457,7 +2460,7 @@ const Wn = ({
|
|
|
2457
2460
|
}
|
|
2458
2461
|
) });
|
|
2459
2462
|
};
|
|
2460
|
-
|
|
2463
|
+
Kn.propTypes = {
|
|
2461
2464
|
initialView: e.shape({
|
|
2462
2465
|
latitude: e.number.isRequired,
|
|
2463
2466
|
longitude: e.number.isRequired,
|
|
@@ -2509,12 +2512,12 @@ const Un = "_mapContainer_b0pyr_3", Gn = {
|
|
|
2509
2512
|
title: Qn
|
|
2510
2513
|
}, Jn = ({ props: n }) => {
|
|
2511
2514
|
const { t: c } = F();
|
|
2512
|
-
return /* @__PURE__ */ i("div", { className: Ft.FeaturePopUp, children: n.map((s) => /* @__PURE__ */
|
|
2513
|
-
/* @__PURE__ */
|
|
2515
|
+
return /* @__PURE__ */ i("div", { className: Ft.FeaturePopUp, children: n.map((s) => /* @__PURE__ */ m("p", { children: [
|
|
2516
|
+
/* @__PURE__ */ m("span", { className: Ft.title, children: [
|
|
2514
2517
|
/* @__PURE__ */ i(vt, { i18nKey: s.name, components: { sup: /* @__PURE__ */ i("sup", {}) }, shouldUnescape: !0 }),
|
|
2515
2518
|
":"
|
|
2516
2519
|
] }),
|
|
2517
|
-
isNaN(s.value) ? /* @__PURE__ */ i(Ge, { children: c(s.value) }) : /* @__PURE__ */
|
|
2520
|
+
isNaN(s.value) ? /* @__PURE__ */ i(Ge, { children: c(s.value) }) : /* @__PURE__ */ m(Ge, { children: [
|
|
2518
2521
|
s.value.toLocaleString("de", { maximumFractionDigits: 2 }),
|
|
2519
2522
|
" ",
|
|
2520
2523
|
c(s.unit)
|
|
@@ -2549,7 +2552,7 @@ const Un = "_mapContainer_b0pyr_3", Gn = {
|
|
|
2549
2552
|
return rt.addProtocol("pmtiles", b.tile), () => {
|
|
2550
2553
|
rt.removeProtocol("pmtiles");
|
|
2551
2554
|
};
|
|
2552
|
-
}, []), /* @__PURE__ */ i("div", { className: `${Gn.mapContainer}`, style: o && o, children: /* @__PURE__ */
|
|
2555
|
+
}, []), /* @__PURE__ */ i("div", { className: `${Gn.mapContainer}`, style: o && o, children: /* @__PURE__ */ m(
|
|
2553
2556
|
D2,
|
|
2554
2557
|
{
|
|
2555
2558
|
mapLib: rt,
|
|
@@ -2660,7 +2663,7 @@ const ei = "_sectionBar_yf2vy_2", ti = "_leftContent_yf2vy_14", ni = "_textConta
|
|
|
2660
2663
|
borderTop: l = !1
|
|
2661
2664
|
}) => {
|
|
2662
2665
|
const { t: u } = F();
|
|
2663
|
-
return /* @__PURE__ */
|
|
2666
|
+
return /* @__PURE__ */ m(
|
|
2664
2667
|
"div",
|
|
2665
2668
|
{
|
|
2666
2669
|
className: be.sectionBar,
|
|
@@ -2669,9 +2672,9 @@ const ei = "_sectionBar_yf2vy_2", ti = "_leftContent_yf2vy_14", ni = "_textConta
|
|
|
2669
2672
|
borderTop: l ? "1px solid #000" : "0px"
|
|
2670
2673
|
},
|
|
2671
2674
|
children: [
|
|
2672
|
-
/* @__PURE__ */
|
|
2675
|
+
/* @__PURE__ */ m("div", { className: be.leftContent, children: [
|
|
2673
2676
|
n && /* @__PURE__ */ i("img", { src: n, alt: "Icono", className: be.icon }),
|
|
2674
|
-
/* @__PURE__ */
|
|
2677
|
+
/* @__PURE__ */ m("div", { className: be.textContainer, children: [
|
|
2675
2678
|
/* @__PURE__ */ i("div", { className: be.title, style: { color: d }, children: u(c) }),
|
|
2676
2679
|
s && /* @__PURE__ */ i("div", { className: be.subtitle, style: { color: a }, children: s })
|
|
2677
2680
|
] })
|
|
@@ -2722,7 +2725,7 @@ const ai = A2({
|
|
|
2722
2725
|
n.activeIndicatorUnit = c.payload;
|
|
2723
2726
|
}
|
|
2724
2727
|
}
|
|
2725
|
-
}), { setShowTexts: jr, setYear: Hr, setActiveIndicatorKey:
|
|
2728
|
+
}), { setShowTexts: jr, setYear: Hr, setActiveIndicatorKey: Wr, setActiveIndicatorType: Kr, setActiveIndicatorUnit: Ur } = ai.actions, li = "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", ci = "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", di = "_slider_1prh1_2", ui = "_playButton_1prh1_14", pi = "_sliderOpen_1prh1_25", hi = "_sliderResults_1prh1_29", Be = {
|
|
2726
2729
|
slider: di,
|
|
2727
2730
|
playButton: ui,
|
|
2728
2731
|
sliderOpen: pi,
|
|
@@ -2741,19 +2744,19 @@ const ai = A2({
|
|
|
2741
2744
|
console.log("year changed to ", u);
|
|
2742
2745
|
}
|
|
2743
2746
|
}) => {
|
|
2744
|
-
const g = t || ((
|
|
2747
|
+
const g = t || ((h, k) => {
|
|
2745
2748
|
const x = [];
|
|
2746
|
-
x.push({ label: "", value:
|
|
2747
|
-
const
|
|
2748
|
-
for (let
|
|
2749
|
-
x.push({ label: "", value:
|
|
2750
|
-
return x[x.length - 1].value !==
|
|
2749
|
+
x.push({ label: "", value: h });
|
|
2750
|
+
const S = Math.ceil(h / 10) * 10;
|
|
2751
|
+
for (let $ = S; $ < k; $ += 10)
|
|
2752
|
+
x.push({ label: "", value: $ });
|
|
2753
|
+
return x[x.length - 1].value !== k && x.push({ label: "", value: k }), x;
|
|
2751
2754
|
})(s, r), [C, y] = I(c);
|
|
2752
2755
|
A(() => {
|
|
2753
2756
|
y(c);
|
|
2754
2757
|
}, [c]);
|
|
2755
|
-
const p = (
|
|
2756
|
-
y(
|
|
2758
|
+
const p = (h, k) => {
|
|
2759
|
+
y(k), l(k);
|
|
2757
2760
|
}, [f, b] = I(!1);
|
|
2758
2761
|
A(() => {
|
|
2759
2762
|
c && console.log("defaultYear changed:", c), c && y(c);
|
|
@@ -2765,24 +2768,24 @@ const ai = A2({
|
|
|
2765
2768
|
}, _ = () => {
|
|
2766
2769
|
b(!1);
|
|
2767
2770
|
};
|
|
2768
|
-
((
|
|
2769
|
-
const
|
|
2771
|
+
((h, k, x = []) => {
|
|
2772
|
+
const S = ee();
|
|
2770
2773
|
A(() => {
|
|
2771
|
-
|
|
2772
|
-
}, [
|
|
2773
|
-
function
|
|
2774
|
-
|
|
2774
|
+
S.current = h;
|
|
2775
|
+
}, [h]), A(() => {
|
|
2776
|
+
function $() {
|
|
2777
|
+
S.current();
|
|
2775
2778
|
}
|
|
2776
2779
|
{
|
|
2777
|
-
let
|
|
2778
|
-
return () => clearInterval(
|
|
2780
|
+
let w = setInterval($, k);
|
|
2781
|
+
return () => clearInterval(w);
|
|
2779
2782
|
}
|
|
2780
|
-
}, [
|
|
2783
|
+
}, [k, ...x]);
|
|
2781
2784
|
})(
|
|
2782
2785
|
() => {
|
|
2783
|
-
f && y((
|
|
2784
|
-
const
|
|
2785
|
-
return
|
|
2786
|
+
f && y((h) => {
|
|
2787
|
+
const k = h + 1;
|
|
2788
|
+
return k > r ? (l(s), s) : (l(k), k);
|
|
2786
2789
|
});
|
|
2787
2790
|
},
|
|
2788
2791
|
1e3,
|
|
@@ -2811,7 +2814,7 @@ const ai = A2({
|
|
|
2811
2814
|
}
|
|
2812
2815
|
}
|
|
2813
2816
|
});
|
|
2814
|
-
return /* @__PURE__ */ i(E2, { theme: L, children: /* @__PURE__ */
|
|
2817
|
+
return /* @__PURE__ */ i(E2, { theme: L, children: /* @__PURE__ */ m(
|
|
2815
2818
|
I2,
|
|
2816
2819
|
{
|
|
2817
2820
|
sx: { width: 400 },
|
|
@@ -2950,7 +2953,7 @@ const xi = "_elementSelector_1ox68_2", wi = "_header_1ox68_14", Ni = "_nameDateC
|
|
|
2950
2953
|
break: "_break_s4s4h_73",
|
|
2951
2954
|
moreInfoContainer: Ri,
|
|
2952
2955
|
moreInfo: Ii
|
|
2953
|
-
}, Ei = "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", zi = "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", qi = "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", Pi = "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", Zi = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='15.3062'%20cy='15.2144'%20r='14.3521'%20stroke='%2392898A'%20stroke-width='1.5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9898%2012.7234V9.89008C11.9898%208.88815%2012.3811%207.92726%2013.0777%207.21879C13.7743%206.51032%2014.719%206.1123%2015.7041%206.1123C16.6892%206.1123%2017.6339%206.51032%2018.3305%207.21879C19.0271%207.92726%2019.4184%208.88815%2019.4184%209.89008V12.7234H20.347C20.8395%2012.7234%2021.3119%2012.9224%2021.6602%2013.2767C22.0084%2013.6309%2022.2041%2014.1113%2022.2041%2014.6123V21.2234C22.2041%2021.7244%2022.0084%2022.2048%2021.6602%2022.5591C21.3119%2022.9133%2020.8395%2023.1123%2020.347%2023.1123H11.0612C10.5687%2023.1123%2010.0963%2022.9133%209.74805%2022.5591C9.39976%2022.2048%209.2041%2021.7244%209.2041%2021.2234V14.6123C9.2041%2014.1113%209.39976%2013.6309%209.74805%2013.2767C10.0963%2012.9224%2010.5687%2012.7234%2011.0612%2012.7234H11.9898ZM13.847%209.89008C13.847%209.38912%2014.0426%208.90867%2014.3909%208.55444C14.7392%208.2002%2015.2116%208.00119%2015.7041%208.00119C16.1966%208.00119%2016.669%208.2002%2017.0173%208.55444C17.3656%208.90867%2017.5612%209.38912%2017.5612%209.89008V12.7234H13.847V9.89008ZM15.7041%2015.5567C15.9504%2015.5567%2016.1866%2015.6563%2016.3607%2015.8334C16.5348%2016.0105%2016.6327%2016.2507%2016.6327%2016.5012V19.3345C16.6327%2019.585%2016.5348%2019.8252%2016.3607%2020.0023C16.1866%2020.1795%2015.9504%2020.279%2015.7041%2020.279C15.4578%2020.279%2015.2216%2020.1795%2015.0475%2020.0023C14.8734%2019.8252%2014.7755%2019.585%2014.7755%2019.3345V16.5012C14.7755%2016.2507%2014.8734%2016.0105%2015.0475%2015.8334C15.2216%2015.6563%2015.4578%2015.5567%2015.7041%2015.5567Z'%20fill='%2392898A'/%3e%3c/svg%3e", ji = "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='Editar'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.1021'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203792'%3e%3cpath%20id='Vector%20530'%20d='M22.469%2010.8343L19.54%207.90531C19.3447%207.71005%2019.0281%207.71005%2018.8329%207.90531L8.39131%2018.3469C8.31762%2018.4206%208.2688%2018.5154%208.25167%2018.6182L7.66586%2022.1331C7.60946%2022.4715%207.90285%2022.7649%208.24126%2022.7085L11.7561%2022.1227C11.8589%2022.1055%2011.9538%2022.0567%2012.0275%2021.983L22.469%2011.5415C22.6643%2011.3462%2022.6643%2011.0296%2022.469%2010.8343Z'%20stroke='%23605B56'/%3e%3cpath%20id='Vector%20531'%20d='M9.00391%2017.7334L12.6401%2021.3695'%20stroke='%23605B56'/%3e%3cpath%20id='Vector%20614'%20d='M19.4292%207.55176L9.24805%2017.733L12.6418%2021.1267L22.823%2010.9455L19.4292%207.55176Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Hi = "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%206729'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.1021'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='i'%20d='M14%209.008C14%208.708%2014.102%208.468%2014.306%208.288C14.51%208.096%2014.78%208%2015.116%208C15.452%208%2015.722%208.096%2015.926%208.288C16.13%208.468%2016.232%208.708%2016.232%209.008C16.232%209.308%2016.13%209.554%2015.926%209.746C15.722%209.926%2015.452%2010.016%2015.116%2010.016C14.78%2010.016%2014.51%209.926%2014.306%209.746C14.102%209.554%2014%209.308%2014%209.008ZM15.926%2011.906V21.788H14.288V11.906H15.926Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e";
|
|
2956
|
+
}, Ei = "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", qi = "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", zi = "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", Pi = "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", Zi = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='15.3062'%20cy='15.2144'%20r='14.3521'%20stroke='%2392898A'%20stroke-width='1.5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9898%2012.7234V9.89008C11.9898%208.88815%2012.3811%207.92726%2013.0777%207.21879C13.7743%206.51032%2014.719%206.1123%2015.7041%206.1123C16.6892%206.1123%2017.6339%206.51032%2018.3305%207.21879C19.0271%207.92726%2019.4184%208.88815%2019.4184%209.89008V12.7234H20.347C20.8395%2012.7234%2021.3119%2012.9224%2021.6602%2013.2767C22.0084%2013.6309%2022.2041%2014.1113%2022.2041%2014.6123V21.2234C22.2041%2021.7244%2022.0084%2022.2048%2021.6602%2022.5591C21.3119%2022.9133%2020.8395%2023.1123%2020.347%2023.1123H11.0612C10.5687%2023.1123%2010.0963%2022.9133%209.74805%2022.5591C9.39976%2022.2048%209.2041%2021.7244%209.2041%2021.2234V14.6123C9.2041%2014.1113%209.39976%2013.6309%209.74805%2013.2767C10.0963%2012.9224%2010.5687%2012.7234%2011.0612%2012.7234H11.9898ZM13.847%209.89008C13.847%209.38912%2014.0426%208.90867%2014.3909%208.55444C14.7392%208.2002%2015.2116%208.00119%2015.7041%208.00119C16.1966%208.00119%2016.669%208.2002%2017.0173%208.55444C17.3656%208.90867%2017.5612%209.38912%2017.5612%209.89008V12.7234H13.847V9.89008ZM15.7041%2015.5567C15.9504%2015.5567%2016.1866%2015.6563%2016.3607%2015.8334C16.5348%2016.0105%2016.6327%2016.2507%2016.6327%2016.5012V19.3345C16.6327%2019.585%2016.5348%2019.8252%2016.3607%2020.0023C16.1866%2020.1795%2015.9504%2020.279%2015.7041%2020.279C15.4578%2020.279%2015.2216%2020.1795%2015.0475%2020.0023C14.8734%2019.8252%2014.7755%2019.585%2014.7755%2019.3345V16.5012C14.7755%2016.2507%2014.8734%2016.0105%2015.0475%2015.8334C15.2216%2015.6563%2015.4578%2015.5567%2015.7041%2015.5567Z'%20fill='%2392898A'/%3e%3c/svg%3e", ji = "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='Editar'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.1021'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203792'%3e%3cpath%20id='Vector%20530'%20d='M22.469%2010.8343L19.54%207.90531C19.3447%207.71005%2019.0281%207.71005%2018.8329%207.90531L8.39131%2018.3469C8.31762%2018.4206%208.2688%2018.5154%208.25167%2018.6182L7.66586%2022.1331C7.60946%2022.4715%207.90285%2022.7649%208.24126%2022.7085L11.7561%2022.1227C11.8589%2022.1055%2011.9538%2022.0567%2012.0275%2021.983L22.469%2011.5415C22.6643%2011.3462%2022.6643%2011.0296%2022.469%2010.8343Z'%20stroke='%23605B56'/%3e%3cpath%20id='Vector%20531'%20d='M9.00391%2017.7334L12.6401%2021.3695'%20stroke='%23605B56'/%3e%3cpath%20id='Vector%20614'%20d='M19.4292%207.55176L9.24805%2017.733L12.6418%2021.1267L22.823%2010.9455L19.4292%207.55176Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Hi = "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%206729'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.1021'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='i'%20d='M14%209.008C14%208.708%2014.102%208.468%2014.306%208.288C14.51%208.096%2014.78%208%2015.116%208C15.452%208%2015.722%208.096%2015.926%208.288C16.13%208.468%2016.232%208.708%2016.232%209.008C16.232%209.308%2016.13%209.554%2015.926%209.746C15.722%209.926%2015.452%2010.016%2015.116%2010.016C14.78%2010.016%2014.51%209.926%2014.306%209.746C14.102%209.554%2014%209.308%2014%209.008ZM15.926%2011.906V21.788H14.288V11.906H15.926Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e";
|
|
2954
2957
|
var At;
|
|
2955
2958
|
function bt() {
|
|
2956
2959
|
return bt = Object.assign ? Object.assign.bind() : function(n) {
|
|
@@ -2961,7 +2964,7 @@ function bt() {
|
|
|
2961
2964
|
return n;
|
|
2962
2965
|
}, bt.apply(null, arguments);
|
|
2963
2966
|
}
|
|
2964
|
-
var
|
|
2967
|
+
var Wi = function(c) {
|
|
2965
2968
|
return /* @__PURE__ */ Me.createElement("svg", bt({
|
|
2966
2969
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2967
2970
|
width: 26,
|
|
@@ -2975,7 +2978,7 @@ var Ki = function(c) {
|
|
|
2975
2978
|
d: "M12.951 10.297a3.307 3.307 0 1 0 0-6.614 3.307 3.307 0 0 0 0 6.614"
|
|
2976
2979
|
}))));
|
|
2977
2980
|
};
|
|
2978
|
-
const
|
|
2981
|
+
const Ki = "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", l2 = ({
|
|
2979
2982
|
listelement: n,
|
|
2980
2983
|
onClickElement: c,
|
|
2981
2984
|
isActive: s,
|
|
@@ -2993,19 +2996,19 @@ const Wi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2993
2996
|
console.log("elementButtons: ", a);
|
|
2994
2997
|
}, [a]);
|
|
2995
2998
|
const N = a && a.edit && !n.is_default && !n.is_baseline, L = a && a.trash && !n.is_default && !n.is_baseline;
|
|
2996
|
-
return /* @__PURE__ */
|
|
2999
|
+
return /* @__PURE__ */ m(
|
|
2997
3000
|
"div",
|
|
2998
3001
|
{
|
|
2999
3002
|
className: se.listElement,
|
|
3000
3003
|
style: { borderBottom: `1px solid ${t}` },
|
|
3001
3004
|
children: [
|
|
3002
|
-
/* @__PURE__ */ i("div", { className: se.elementNameDate, onClick: () => c(p), children: Object.keys(d).map((
|
|
3005
|
+
/* @__PURE__ */ i("div", { className: se.elementNameDate, onClick: () => c(p), children: Object.keys(d).map((h) => h === "name" ? /* @__PURE__ */ i("div", { className: se.elementNameContainer, children: /* @__PURE__ */ m(
|
|
3003
3006
|
"div",
|
|
3004
3007
|
{
|
|
3005
3008
|
className: `${se.elementName} ${g && se.nameAndEye}`,
|
|
3006
3009
|
children: [
|
|
3007
3010
|
g && (s ? /* @__PURE__ */ i(
|
|
3008
|
-
|
|
3011
|
+
Wi,
|
|
3009
3012
|
{
|
|
3010
3013
|
style: { color: r, marginRight: 9 }
|
|
3011
3014
|
}
|
|
@@ -3013,26 +3016,26 @@ const Wi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
3013
3016
|
"img",
|
|
3014
3017
|
{
|
|
3015
3018
|
style: { marginRight: 9 },
|
|
3016
|
-
src:
|
|
3019
|
+
src: Ki,
|
|
3017
3020
|
alt: "eye"
|
|
3018
3021
|
}
|
|
3019
3022
|
)),
|
|
3020
3023
|
/* @__PURE__ */ i("span", { style: { color: s ? r : t }, children: C })
|
|
3021
3024
|
]
|
|
3022
3025
|
}
|
|
3023
|
-
) }) :
|
|
3024
|
-
/* @__PURE__ */
|
|
3025
|
-
n.processing && /* @__PURE__ */
|
|
3026
|
+
) }) : h == "data" ? /* @__PURE__ */ i("div", { className: se.elementDate, children: y ? new Date(y).toLocaleDateString() : "" }) : /* @__PURE__ */ i("div", { className: se.elementDate, children: n[h] })) }),
|
|
3027
|
+
/* @__PURE__ */ m("div", { className: se.elementButtons, children: [
|
|
3028
|
+
n.processing && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
3026
3029
|
/* @__PURE__ */ i("img", { src: Pi }),
|
|
3027
3030
|
/* @__PURE__ */ i(ue, { text: l, position: "left" })
|
|
3028
3031
|
] }),
|
|
3029
|
-
a.filter && !n.is_default && /* @__PURE__ */
|
|
3032
|
+
a.filter && !n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
3030
3033
|
/* @__PURE__ */ i(
|
|
3031
3034
|
"button",
|
|
3032
3035
|
{
|
|
3033
3036
|
onClick: () => a.filter.onclick(n),
|
|
3034
3037
|
disabled: a.filter.disabled || !1,
|
|
3035
|
-
children: /* @__PURE__ */ i("img", { src:
|
|
3038
|
+
children: /* @__PURE__ */ i("img", { src: zi })
|
|
3036
3039
|
}
|
|
3037
3040
|
),
|
|
3038
3041
|
/* @__PURE__ */ i(
|
|
@@ -3043,18 +3046,18 @@ const Wi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
3043
3046
|
}
|
|
3044
3047
|
)
|
|
3045
3048
|
] }),
|
|
3046
|
-
a.copy && !n.is_default && /* @__PURE__ */
|
|
3049
|
+
a.copy && !n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
3047
3050
|
/* @__PURE__ */ i(
|
|
3048
3051
|
"button",
|
|
3049
3052
|
{
|
|
3050
3053
|
onClick: () => a.copy.onclick(n),
|
|
3051
3054
|
disabled: a.copy.disabled || !1,
|
|
3052
|
-
children: /* @__PURE__ */ i("img", { src:
|
|
3055
|
+
children: /* @__PURE__ */ i("img", { src: qi })
|
|
3053
3056
|
}
|
|
3054
3057
|
),
|
|
3055
3058
|
/* @__PURE__ */ i(ue, { text: a.copy.tooltiptext, position: "left" })
|
|
3056
3059
|
] }),
|
|
3057
|
-
N && /* @__PURE__ */
|
|
3060
|
+
N && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
3058
3061
|
/* @__PURE__ */ i(
|
|
3059
3062
|
"button",
|
|
3060
3063
|
{
|
|
@@ -3065,7 +3068,7 @@ const Wi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
3065
3068
|
),
|
|
3066
3069
|
/* @__PURE__ */ i(ue, { text: a.edit.tooltiptext, position: "left" })
|
|
3067
3070
|
] }),
|
|
3068
|
-
a.info && n.is_default && /* @__PURE__ */
|
|
3071
|
+
a.info && n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
3069
3072
|
/* @__PURE__ */ i(
|
|
3070
3073
|
"button",
|
|
3071
3074
|
{
|
|
@@ -3076,7 +3079,7 @@ const Wi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
3076
3079
|
),
|
|
3077
3080
|
/* @__PURE__ */ i(ue, { text: a.info.tooltiptext, position: "left" })
|
|
3078
3081
|
] }),
|
|
3079
|
-
L && /* @__PURE__ */
|
|
3082
|
+
L && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
3080
3083
|
/* @__PURE__ */ i(
|
|
3081
3084
|
"button",
|
|
3082
3085
|
{
|
|
@@ -3093,14 +3096,14 @@ const Wi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
3093
3096
|
}
|
|
3094
3097
|
)
|
|
3095
3098
|
] }),
|
|
3096
|
-
n.is_default && /* @__PURE__ */
|
|
3099
|
+
n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
3097
3100
|
/* @__PURE__ */ i("img", { src: Zi }),
|
|
3098
3101
|
/* @__PURE__ */ i(ue, { text: u, position: "left" })
|
|
3099
3102
|
] })
|
|
3100
3103
|
] }),
|
|
3101
3104
|
o && /* @__PURE__ */ i("div", { className: se.break }),
|
|
3102
|
-
o && /* @__PURE__ */
|
|
3103
|
-
/* @__PURE__ */
|
|
3105
|
+
o && /* @__PURE__ */ m("div", { className: se.moreInfoContainer, children: [
|
|
3106
|
+
/* @__PURE__ */ m(
|
|
3104
3107
|
"div",
|
|
3105
3108
|
{
|
|
3106
3109
|
className: se.moreInfo,
|
|
@@ -3179,60 +3182,60 @@ const Ot = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
3179
3182
|
A(() => {
|
|
3180
3183
|
n && v(n);
|
|
3181
3184
|
}, [n]);
|
|
3182
|
-
const _ = (
|
|
3183
|
-
if (typeof
|
|
3184
|
-
if (/^\d{4}[-/]\d{2}[-/]\d{2}$/.test(
|
|
3185
|
-
return new Date(
|
|
3186
|
-
const
|
|
3187
|
-
if (
|
|
3188
|
-
return /* @__PURE__ */ new Date(`${
|
|
3189
|
-
const x = /^(\d{2})[-/]\s*(\d{2})[-/]\s*(\d{4})$/.exec(
|
|
3185
|
+
const _ = (h) => {
|
|
3186
|
+
if (typeof h != "string") return null;
|
|
3187
|
+
if (/^\d{4}[-/]\d{2}[-/]\d{2}$/.test(h))
|
|
3188
|
+
return new Date(h);
|
|
3189
|
+
const k = /^(\d{2})[-/.]\s*(\d{2})[-/.]\s*(\d{4})$/.exec(h);
|
|
3190
|
+
if (k)
|
|
3191
|
+
return /* @__PURE__ */ new Date(`${k[3]}-${k[2]}-${k[1]}`);
|
|
3192
|
+
const x = /^(\d{2})[-/]\s*(\d{2})[-/]\s*(\d{4})$/.exec(h);
|
|
3190
3193
|
return x ? parseInt(x[1]) > 12 ? /* @__PURE__ */ new Date(`${x[3]}-${x[2]}-${x[1]}`) : /* @__PURE__ */ new Date(`${x[3]}-${x[1]}-${x[2]}`) : null;
|
|
3191
|
-
}, N = (
|
|
3194
|
+
}, N = (h) => _(h) !== null, L = (h) => {
|
|
3192
3195
|
if (!b || b.length === 0) return;
|
|
3193
|
-
let
|
|
3194
|
-
const x =
|
|
3195
|
-
|
|
3196
|
-
const
|
|
3197
|
-
if (
|
|
3198
|
-
if (
|
|
3199
|
-
if (
|
|
3200
|
-
if (
|
|
3201
|
-
const R = _(
|
|
3202
|
-
return !R && !
|
|
3196
|
+
let k = [...b];
|
|
3197
|
+
const x = k.find(($) => $[h] !== null && $[h] !== void 0), S = x ? N(x[h]) : !1;
|
|
3198
|
+
k.sort(($, w) => {
|
|
3199
|
+
const T = $[h], V = w[h];
|
|
3200
|
+
if (T == null && V == null) return 0;
|
|
3201
|
+
if (T == null) return 1;
|
|
3202
|
+
if (V == null) return -1;
|
|
3203
|
+
if (S) {
|
|
3204
|
+
const R = _(T), P = _(V);
|
|
3205
|
+
return !R && !P ? 0 : R ? P ? R - P : -1 : 1;
|
|
3203
3206
|
}
|
|
3204
|
-
const B = String(
|
|
3207
|
+
const B = String(T || "").trim(), O = String(V || "").trim();
|
|
3205
3208
|
return B.localeCompare(O);
|
|
3206
|
-
}), v(
|
|
3209
|
+
}), v(k);
|
|
3207
3210
|
};
|
|
3208
|
-
return /* @__PURE__ */
|
|
3211
|
+
return /* @__PURE__ */ m(
|
|
3209
3212
|
"div",
|
|
3210
3213
|
{
|
|
3211
3214
|
className: ce.elementSelector,
|
|
3212
3215
|
style: { color: s, ...o },
|
|
3213
3216
|
children: [
|
|
3214
|
-
/* @__PURE__ */
|
|
3217
|
+
/* @__PURE__ */ m(
|
|
3215
3218
|
"div",
|
|
3216
3219
|
{
|
|
3217
3220
|
className: ce.header,
|
|
3218
3221
|
style: { borderBottom: `1px solid ${s}` },
|
|
3219
3222
|
children: [
|
|
3220
|
-
/* @__PURE__ */ i("div", { className: ce.nameDateContainer, children: Object.keys(l).map((
|
|
3223
|
+
/* @__PURE__ */ i("div", { className: ce.nameDateContainer, children: Object.keys(l).map((h) => h === "name" ? /* @__PURE__ */ i("div", { className: ce.elementName, children: /* @__PURE__ */ m("button", { onClick: () => L("name"), children: [
|
|
3221
3224
|
/* @__PURE__ */ i("span", { children: f(l.name) }),
|
|
3222
3225
|
/* @__PURE__ */ i("img", { src: Ot, alt: "order arrow" })
|
|
3223
|
-
] }) },
|
|
3226
|
+
] }) }, h) : h === "data" ? /* @__PURE__ */ i("div", { className: ce.elementDate, children: /* @__PURE__ */ m("button", { onClick: () => L("created_at"), children: [
|
|
3224
3227
|
/* @__PURE__ */ i("span", { children: f(l.data) }),
|
|
3225
3228
|
/* @__PURE__ */ i("img", { src: Ot, alt: "order arrow" })
|
|
3226
|
-
] }) },
|
|
3229
|
+
] }) }, h) : /* @__PURE__ */ i("div", { className: ce.elementDate, children: /* @__PURE__ */ i("span", { children: f(l[h]) }) }, h)) }),
|
|
3227
3230
|
/* @__PURE__ */ i("div", { className: ce.buttonsContainer })
|
|
3228
3231
|
]
|
|
3229
3232
|
}
|
|
3230
3233
|
),
|
|
3231
|
-
/* @__PURE__ */ i("div", { className: ce.elementListContainer, children: b && b.length > 0 && b.map((
|
|
3234
|
+
/* @__PURE__ */ i("div", { className: ce.elementListContainer, children: b && b.length > 0 && b.map((h) => /* @__PURE__ */ i(
|
|
3232
3235
|
l2,
|
|
3233
3236
|
{
|
|
3234
|
-
isActive: c ==
|
|
3235
|
-
listelement:
|
|
3237
|
+
isActive: c == h.id,
|
|
3238
|
+
listelement: h,
|
|
3236
3239
|
fontColor: s,
|
|
3237
3240
|
activeColor: r,
|
|
3238
3241
|
onClickElement: a,
|
|
@@ -3243,7 +3246,7 @@ const Ot = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
3243
3246
|
defaultTooltip: y,
|
|
3244
3247
|
showEye: p
|
|
3245
3248
|
},
|
|
3246
|
-
`elementKey${
|
|
3249
|
+
`elementKey${h.id}`
|
|
3247
3250
|
)) }),
|
|
3248
3251
|
d && /* @__PURE__ */ i("div", { className: ce.newElementButtonContainer, children: /* @__PURE__ */ i(
|
|
3249
3252
|
Xe,
|
|
@@ -3364,9 +3367,9 @@ const It = {
|
|
|
3364
3367
|
CHANGE: "change"
|
|
3365
3368
|
}, Et = {
|
|
3366
3369
|
all: "all"
|
|
3367
|
-
}, h2 =
|
|
3370
|
+
}, h2 = q.createContext(null);
|
|
3368
3371
|
h2.displayName = "HookFormContext";
|
|
3369
|
-
const kt = () =>
|
|
3372
|
+
const kt = () => q.useContext(h2);
|
|
3370
3373
|
var ls = (n, c, s, r = !0) => {
|
|
3371
3374
|
const t = {
|
|
3372
3375
|
defaultValues: c._defaultValues
|
|
@@ -3382,7 +3385,7 @@ var ls = (n, c, s, r = !0) => {
|
|
|
3382
3385
|
};
|
|
3383
3386
|
const m2 = typeof window < "u" ? Me.useLayoutEffect : Me.useEffect;
|
|
3384
3387
|
function cs(n) {
|
|
3385
|
-
const c = kt(), { control: s = c.control, disabled: r, name: t, exact: o } = n || {}, [d, a] =
|
|
3388
|
+
const c = kt(), { control: s = c.control, disabled: r, name: t, exact: o } = n || {}, [d, a] = q.useState(s._formState), l = q.useRef({
|
|
3386
3389
|
isDirty: !1,
|
|
3387
3390
|
isLoading: !1,
|
|
3388
3391
|
dirtyFields: !1,
|
|
@@ -3402,13 +3405,13 @@ function cs(n) {
|
|
|
3402
3405
|
...u
|
|
3403
3406
|
});
|
|
3404
3407
|
}
|
|
3405
|
-
}), [t, r, o]),
|
|
3408
|
+
}), [t, r, o]), q.useEffect(() => {
|
|
3406
3409
|
l.current.isValid && s._setValid(!0);
|
|
3407
|
-
}, [s]),
|
|
3410
|
+
}, [s]), q.useMemo(() => ls(d, s, l.current, !1), [d, s]);
|
|
3408
3411
|
}
|
|
3409
3412
|
var ds = (n) => typeof n == "string", us = (n, c, s, r, t) => ds(n) ? J(s, n, t) : Array.isArray(n) ? n.map((o) => J(s, o)) : s;
|
|
3410
3413
|
function ps(n) {
|
|
3411
|
-
const c = kt(), { control: s = c.control, name: r, defaultValue: t, disabled: o, exact: d } = n || {}, a =
|
|
3414
|
+
const c = kt(), { control: s = c.control, name: r, defaultValue: t, disabled: o, exact: d } = n || {}, a = q.useRef(t), [l, u] = q.useState(s._getWatch(r, a.current));
|
|
3412
3415
|
return m2(() => s._subscribe({
|
|
3413
3416
|
name: r,
|
|
3414
3417
|
formState: {
|
|
@@ -3416,7 +3419,7 @@ function ps(n) {
|
|
|
3416
3419
|
},
|
|
3417
3420
|
exact: d,
|
|
3418
3421
|
callback: (g) => !o && u(us(r, s._names, g.values || s._formValues, !1, a.current))
|
|
3419
|
-
}), [r, s, o, d]),
|
|
3422
|
+
}), [r, s, o, d]), q.useEffect(() => s._removeUnmounted()), l;
|
|
3420
3423
|
}
|
|
3421
3424
|
function hs(n) {
|
|
3422
3425
|
const c = kt(), { name: s, disabled: r, control: t = c.control, shouldUnregister: o } = n, d = ss(t._names.array, s), a = ps({
|
|
@@ -3428,11 +3431,11 @@ function hs(n) {
|
|
|
3428
3431
|
control: t,
|
|
3429
3432
|
name: s,
|
|
3430
3433
|
exact: !0
|
|
3431
|
-
}), u =
|
|
3434
|
+
}), u = q.useRef(n), g = q.useRef(t.register(s, {
|
|
3432
3435
|
...n.rules,
|
|
3433
3436
|
value: a,
|
|
3434
3437
|
...ct(n.disabled) ? { disabled: n.disabled } : {}
|
|
3435
|
-
})), C =
|
|
3438
|
+
})), C = q.useMemo(() => Object.defineProperties({}, {
|
|
3436
3439
|
invalid: {
|
|
3437
3440
|
enumerable: !0,
|
|
3438
3441
|
get: () => !!J(l.errors, s)
|
|
@@ -3453,19 +3456,19 @@ function hs(n) {
|
|
|
3453
3456
|
enumerable: !0,
|
|
3454
3457
|
get: () => J(l.errors, s)
|
|
3455
3458
|
}
|
|
3456
|
-
}), [l, s]), y =
|
|
3459
|
+
}), [l, s]), y = q.useCallback((v) => g.current.onChange({
|
|
3457
3460
|
target: {
|
|
3458
3461
|
value: ns(v),
|
|
3459
3462
|
name: s
|
|
3460
3463
|
},
|
|
3461
3464
|
type: It.CHANGE
|
|
3462
|
-
}), [s]), p =
|
|
3465
|
+
}), [s]), p = q.useCallback(() => g.current.onBlur({
|
|
3463
3466
|
target: {
|
|
3464
3467
|
value: J(t._formValues, s),
|
|
3465
3468
|
name: s
|
|
3466
3469
|
},
|
|
3467
3470
|
type: It.BLUR
|
|
3468
|
-
}), [s, t._formValues]), f =
|
|
3471
|
+
}), [s, t._formValues]), f = q.useCallback((v) => {
|
|
3469
3472
|
const _ = J(t._fields, s);
|
|
3470
3473
|
_ && v && (_._f.ref = {
|
|
3471
3474
|
focus: () => v.focus && v.focus(),
|
|
@@ -3473,7 +3476,7 @@ function hs(n) {
|
|
|
3473
3476
|
setCustomValidity: (N) => v.setCustomValidity(N),
|
|
3474
3477
|
reportValidity: () => v.reportValidity()
|
|
3475
3478
|
});
|
|
3476
|
-
}, [t._fields, s]), b =
|
|
3479
|
+
}, [t._fields, s]), b = q.useMemo(() => ({
|
|
3477
3480
|
name: s,
|
|
3478
3481
|
value: a,
|
|
3479
3482
|
...ct(r) || l.disabled ? { disabled: l.disabled || r } : {},
|
|
@@ -3481,15 +3484,15 @@ function hs(n) {
|
|
|
3481
3484
|
onBlur: p,
|
|
3482
3485
|
ref: f
|
|
3483
3486
|
}), [s, r, l.disabled, y, p, f, a]);
|
|
3484
|
-
return
|
|
3487
|
+
return q.useEffect(() => {
|
|
3485
3488
|
const v = t._options.shouldUnregister || o;
|
|
3486
3489
|
t.register(s, {
|
|
3487
3490
|
...u.current.rules,
|
|
3488
3491
|
...ct(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
3489
3492
|
});
|
|
3490
3493
|
const _ = (N, L) => {
|
|
3491
|
-
const
|
|
3492
|
-
|
|
3494
|
+
const h = J(t._fields, N);
|
|
3495
|
+
h && h._f && (h._f.mount = L);
|
|
3493
3496
|
};
|
|
3494
3497
|
if (_(s, !0), v) {
|
|
3495
3498
|
const N = d2(J(t._options.defaultValues, s));
|
|
@@ -3498,12 +3501,12 @@ function hs(n) {
|
|
|
3498
3501
|
return !d && t.register(s), () => {
|
|
3499
3502
|
(d ? v && !t._state.action : v) ? t.unregister(s) : _(s, !1);
|
|
3500
3503
|
};
|
|
3501
|
-
}, [s, t, d, o]),
|
|
3504
|
+
}, [s, t, d, o]), q.useEffect(() => {
|
|
3502
3505
|
t._setDisabledField({
|
|
3503
3506
|
disabled: r,
|
|
3504
3507
|
name: s
|
|
3505
3508
|
});
|
|
3506
|
-
}, [r, s, t]),
|
|
3509
|
+
}, [r, s, t]), q.useMemo(() => ({
|
|
3507
3510
|
field: b,
|
|
3508
3511
|
formState: l,
|
|
3509
3512
|
fieldState: C
|
|
@@ -3531,9 +3534,9 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3531
3534
|
children: n ? r(n) : ""
|
|
3532
3535
|
}
|
|
3533
3536
|
);
|
|
3534
|
-
}, vs = "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%205763'%3e%3cpath%20id='Vector'%20d='M12.95%200C7.659%200%202.84899%202.3634%200.0832465%206.31776C-0.0277488%206.47963%20-0.0277488%206.68776%200.0832465%206.84962C2.84439%2010.804%207.65437%2013.1628%2012.95%2013.1628C18.2456%2013.1628%2023.0556%2010.804%2025.8168%206.84962C25.9278%206.68775%2025.9278%206.47963%2025.8168%206.31776C23.051%202.36339%2018.241%200%2012.95%200ZM12.95%2010.8132C10.619%2010.8132%208.71812%208.91238%208.71812%206.58139C8.71812%204.25041%2010.619%202.34951%2012.95%202.34951C15.281%202.34951%2017.1819%204.25038%2017.1819%206.58139C17.1819%208.91241%2015.281%2010.8132%2012.95%2010.8132Z'%20fill='white'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%209.88816C14.7777%209.88816%2016.2583%208.40763%2016.2583%206.58129C16.2583%204.75495%2014.7777%203.27441%2012.9514%203.27441C11.1251%203.27441%209.64453%204.75495%209.64453%206.58129C9.64453%208.40763%2011.1251%209.88816%2012.9514%209.88816Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e", xs = "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%205995'%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='white'%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='white'%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='white'%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='white'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e",
|
|
3537
|
+
}, vs = "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%205763'%3e%3cpath%20id='Vector'%20d='M12.95%200C7.659%200%202.84899%202.3634%200.0832465%206.31776C-0.0277488%206.47963%20-0.0277488%206.68776%200.0832465%206.84962C2.84439%2010.804%207.65437%2013.1628%2012.95%2013.1628C18.2456%2013.1628%2023.0556%2010.804%2025.8168%206.84962C25.9278%206.68775%2025.9278%206.47963%2025.8168%206.31776C23.051%202.36339%2018.241%200%2012.95%200ZM12.95%2010.8132C10.619%2010.8132%208.71812%208.91238%208.71812%206.58139C8.71812%204.25041%2010.619%202.34951%2012.95%202.34951C15.281%202.34951%2017.1819%204.25038%2017.1819%206.58139C17.1819%208.91241%2015.281%2010.8132%2012.95%2010.8132Z'%20fill='white'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%209.88816C14.7777%209.88816%2016.2583%208.40763%2016.2583%206.58129C16.2583%204.75495%2014.7777%203.27441%2012.9514%203.27441C11.1251%203.27441%209.64453%204.75495%209.64453%206.58129C9.64453%208.40763%2011.1251%209.88816%2012.9514%209.88816Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e", xs = "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%205995'%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='white'%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='white'%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='white'%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='white'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", qe = Wt((n) => ({
|
|
3535
3538
|
errorColor: "red"
|
|
3536
|
-
})),
|
|
3539
|
+
})), qt = ({ input: n, reactHookFormInstance: c }) => {
|
|
3537
3540
|
const {
|
|
3538
3541
|
code: s,
|
|
3539
3542
|
type: r,
|
|
@@ -3551,9 +3554,9 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3551
3554
|
//Lógica extra al onChange además de actualizar el valor en RHF
|
|
3552
3555
|
onChangeExtraFunction: p = () => {
|
|
3553
3556
|
}
|
|
3554
|
-
} = n, { t: f } = F(), { control: b, trigger: v, clearErrors: _ } = c, { errorColor: N } =
|
|
3557
|
+
} = n, { t: f } = F(), { control: b, trigger: v, clearErrors: _ } = c, { errorColor: N } = qe((x) => x), [L, h] = I(!1);
|
|
3555
3558
|
ee(d);
|
|
3556
|
-
const
|
|
3559
|
+
const k = () => r ? r === "password" && L ? "text" : r : "text";
|
|
3557
3560
|
return /* @__PURE__ */ i(
|
|
3558
3561
|
Ie,
|
|
3559
3562
|
{
|
|
@@ -3564,18 +3567,18 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3564
3567
|
maxLength: o || void 0,
|
|
3565
3568
|
validate: a || void 0
|
|
3566
3569
|
},
|
|
3567
|
-
render: ({ field: x, fieldState:
|
|
3568
|
-
var
|
|
3569
|
-
const { onChange:
|
|
3570
|
-
|
|
3570
|
+
render: ({ field: x, fieldState: S }) => {
|
|
3571
|
+
var V;
|
|
3572
|
+
const { onChange: $, ...w } = x, T = (B) => {
|
|
3573
|
+
$(B), p && p(B);
|
|
3571
3574
|
};
|
|
3572
|
-
return /* @__PURE__ */
|
|
3573
|
-
/* @__PURE__ */
|
|
3575
|
+
return /* @__PURE__ */ m("div", { className: Fe.textInputContainer, children: [
|
|
3576
|
+
/* @__PURE__ */ m("h3", { className: Fe.labelContainer, children: [
|
|
3574
3577
|
f(t),
|
|
3575
3578
|
" ",
|
|
3576
|
-
d && /* @__PURE__ */ i("label", { style: { color:
|
|
3579
|
+
d && /* @__PURE__ */ i("label", { style: { color: S.error ? u : "" }, children: "*" })
|
|
3577
3580
|
] }),
|
|
3578
|
-
/* @__PURE__ */
|
|
3581
|
+
/* @__PURE__ */ m(
|
|
3579
3582
|
"div",
|
|
3580
3583
|
{
|
|
3581
3584
|
style: { position: "relative", width: g },
|
|
@@ -3584,9 +3587,9 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3584
3587
|
/* @__PURE__ */ i(
|
|
3585
3588
|
"input",
|
|
3586
3589
|
{
|
|
3587
|
-
...
|
|
3588
|
-
type:
|
|
3589
|
-
onChange:
|
|
3590
|
+
...w,
|
|
3591
|
+
type: k(),
|
|
3592
|
+
onChange: T,
|
|
3590
3593
|
placeholder: l ? f(l) : "",
|
|
3591
3594
|
maxLength: o || void 0
|
|
3592
3595
|
}
|
|
@@ -3594,7 +3597,7 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3594
3597
|
r == "password" && /* @__PURE__ */ i(
|
|
3595
3598
|
"button",
|
|
3596
3599
|
{
|
|
3597
|
-
onClick: () =>
|
|
3600
|
+
onClick: () => h(!L),
|
|
3598
3601
|
type: "button",
|
|
3599
3602
|
className: Fe.showPasswordButton,
|
|
3600
3603
|
children: /* @__PURE__ */ i(
|
|
@@ -3613,7 +3616,7 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3613
3616
|
/* @__PURE__ */ i(
|
|
3614
3617
|
Ee,
|
|
3615
3618
|
{
|
|
3616
|
-
errorMessage: (
|
|
3619
|
+
errorMessage: (V = S.error) == null ? void 0 : V.message,
|
|
3617
3620
|
errorColor: N || u
|
|
3618
3621
|
}
|
|
3619
3622
|
)
|
|
@@ -3631,7 +3634,7 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3631
3634
|
selectInput: Ls,
|
|
3632
3635
|
option: Ms,
|
|
3633
3636
|
dropdownArrow: Ds
|
|
3634
|
-
},
|
|
3637
|
+
}, zt = "data:image/svg+xml,%3csvg%20width='19'%20height='10'%20viewBox='0%200%2019%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector%20311'%20d='M1%201.09961L8.79289%208.8925C9.18342%209.28303%209.81658%209.28303%2010.2071%208.8925L18%201.09961'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", Ts = ({ input: n, reactHookFormInstance: c, onChange: s }) => {
|
|
3635
3638
|
const {
|
|
3636
3639
|
code: r,
|
|
3637
3640
|
type: t,
|
|
@@ -3644,7 +3647,7 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3644
3647
|
width: C = 325,
|
|
3645
3648
|
options: y = []
|
|
3646
3649
|
//Used if we dont use react hook form
|
|
3647
|
-
} = n, { t: p } = F(), { control: f, trigger: b, clearErrors: v } = c || {}, { errorColor: _ } =
|
|
3650
|
+
} = n, { t: p } = F(), { control: f, trigger: b, clearErrors: v } = c || {}, { errorColor: _ } = qe((h) => h);
|
|
3648
3651
|
ee(a);
|
|
3649
3652
|
const [N, L] = I(null);
|
|
3650
3653
|
return A(() => {
|
|
@@ -3656,44 +3659,44 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3656
3659
|
control: f,
|
|
3657
3660
|
rules: {
|
|
3658
3661
|
required: a ? `${p(o)} ${p("errorMessages.required")}` : !1,
|
|
3659
|
-
validate: l ? (
|
|
3660
|
-
let
|
|
3661
|
-
return l(
|
|
3662
|
+
validate: l ? (h) => {
|
|
3663
|
+
let k = c.getValues();
|
|
3664
|
+
return l(h, k);
|
|
3662
3665
|
} : void 0
|
|
3663
3666
|
},
|
|
3664
|
-
render: ({ field:
|
|
3665
|
-
var
|
|
3667
|
+
render: ({ field: h, fieldState: k }) => {
|
|
3668
|
+
var S;
|
|
3666
3669
|
const x = y.find(
|
|
3667
|
-
(
|
|
3670
|
+
($) => $.value === h.value
|
|
3668
3671
|
);
|
|
3669
|
-
return /* @__PURE__ */
|
|
3670
|
-
o && /* @__PURE__ */
|
|
3672
|
+
return /* @__PURE__ */ m("div", { className: X.selectInputContainer, children: [
|
|
3673
|
+
o && /* @__PURE__ */ m("h3", { className: X.labelContainer, children: [
|
|
3671
3674
|
p(o),
|
|
3672
3675
|
" ",
|
|
3673
|
-
a && /* @__PURE__ */ i("label", { style: { color:
|
|
3676
|
+
a && /* @__PURE__ */ i("label", { style: { color: k.error ? g : "" }, children: "*" })
|
|
3674
3677
|
] }),
|
|
3675
|
-
/* @__PURE__ */
|
|
3676
|
-
/* @__PURE__ */
|
|
3677
|
-
/* @__PURE__ */
|
|
3678
|
+
/* @__PURE__ */ m("div", { className: X.selectWrapper, children: [
|
|
3679
|
+
/* @__PURE__ */ m("div", { className: X.inputContainer, style: { width: C }, children: [
|
|
3680
|
+
/* @__PURE__ */ m(
|
|
3678
3681
|
"select",
|
|
3679
3682
|
{
|
|
3680
|
-
...
|
|
3681
|
-
value:
|
|
3682
|
-
onChange: (
|
|
3683
|
-
const
|
|
3684
|
-
|
|
3683
|
+
...h,
|
|
3684
|
+
value: h.value ?? "",
|
|
3685
|
+
onChange: ($) => {
|
|
3686
|
+
const w = $.target.value, T = y.every((V) => typeof V.value == "number") ? Number(w) : w;
|
|
3687
|
+
h.onChange(T);
|
|
3685
3688
|
},
|
|
3686
3689
|
className: X.selectInput,
|
|
3687
3690
|
children: [
|
|
3688
3691
|
/* @__PURE__ */ i("option", { value: "", disabled: !0, hidden: !0, children: p(u || "selectOption") }),
|
|
3689
|
-
y.map((
|
|
3692
|
+
y.map(($, w) => /* @__PURE__ */ i(
|
|
3690
3693
|
"option",
|
|
3691
3694
|
{
|
|
3692
|
-
value:
|
|
3695
|
+
value: $.value,
|
|
3693
3696
|
className: X.option,
|
|
3694
|
-
children: p(
|
|
3697
|
+
children: p($.label)
|
|
3695
3698
|
},
|
|
3696
|
-
|
|
3699
|
+
w
|
|
3697
3700
|
))
|
|
3698
3701
|
]
|
|
3699
3702
|
}
|
|
@@ -3701,7 +3704,7 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3701
3704
|
/* @__PURE__ */ i(
|
|
3702
3705
|
"img",
|
|
3703
3706
|
{
|
|
3704
|
-
src:
|
|
3707
|
+
src: zt,
|
|
3705
3708
|
alt: "Open",
|
|
3706
3709
|
className: X.dropdownArrow
|
|
3707
3710
|
}
|
|
@@ -3712,50 +3715,50 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3712
3715
|
/* @__PURE__ */ i(
|
|
3713
3716
|
Ee,
|
|
3714
3717
|
{
|
|
3715
|
-
errorMessage: (
|
|
3718
|
+
errorMessage: (S = k.error) == null ? void 0 : S.message,
|
|
3716
3719
|
errorColor: _ || g
|
|
3717
3720
|
}
|
|
3718
3721
|
)
|
|
3719
3722
|
] });
|
|
3720
3723
|
}
|
|
3721
3724
|
}
|
|
3722
|
-
) : /* @__PURE__ */
|
|
3723
|
-
o && /* @__PURE__ */
|
|
3725
|
+
) : /* @__PURE__ */ m("div", { className: X.selectInputContainer, children: [
|
|
3726
|
+
o && /* @__PURE__ */ m("h3", { className: X.labelContainer, children: [
|
|
3724
3727
|
p(o),
|
|
3725
3728
|
" ",
|
|
3726
3729
|
a && /* @__PURE__ */ i("label", { children: "*" })
|
|
3727
3730
|
] }),
|
|
3728
|
-
/* @__PURE__ */
|
|
3729
|
-
/* @__PURE__ */
|
|
3731
|
+
/* @__PURE__ */ m("div", { className: X.inputContainer, style: { width: C }, children: [
|
|
3732
|
+
/* @__PURE__ */ m(
|
|
3730
3733
|
"select",
|
|
3731
3734
|
{
|
|
3732
3735
|
value: N ?? "",
|
|
3733
|
-
onChange: (
|
|
3734
|
-
const
|
|
3736
|
+
onChange: (h) => {
|
|
3737
|
+
const k = h.target.value, x = y.every((S) => typeof S.value == "number") ? Number(k) : k;
|
|
3735
3738
|
L(x);
|
|
3736
3739
|
},
|
|
3737
3740
|
className: X.selectInput,
|
|
3738
3741
|
children: [
|
|
3739
3742
|
/* @__PURE__ */ i("option", { value: "", disabled: !0, hidden: !0, children: p(u || "selectOption") }),
|
|
3740
|
-
y.map((
|
|
3743
|
+
y.map((h, k) => /* @__PURE__ */ i(
|
|
3741
3744
|
"option",
|
|
3742
3745
|
{
|
|
3743
|
-
value:
|
|
3746
|
+
value: h.value,
|
|
3744
3747
|
className: X.option,
|
|
3745
|
-
children: p(
|
|
3748
|
+
children: p(h.label)
|
|
3746
3749
|
},
|
|
3747
|
-
|
|
3750
|
+
k
|
|
3748
3751
|
))
|
|
3749
3752
|
]
|
|
3750
3753
|
}
|
|
3751
3754
|
),
|
|
3752
|
-
/* @__PURE__ */ i("img", { src:
|
|
3755
|
+
/* @__PURE__ */ i("img", { src: zt, alt: "Open", className: X.dropdownArrow })
|
|
3753
3756
|
] }),
|
|
3754
3757
|
(() => {
|
|
3755
|
-
const
|
|
3756
|
-
(
|
|
3758
|
+
const h = y.find(
|
|
3759
|
+
(k) => k.value === N
|
|
3757
3760
|
);
|
|
3758
|
-
return
|
|
3761
|
+
return h && h.description ? /* @__PURE__ */ i("div", { className: X.optionDescription, children: p(h.description) }) : null;
|
|
3759
3762
|
})()
|
|
3760
3763
|
] });
|
|
3761
3764
|
}, Bs = "_radioButtonContainer_1e994_2", Vs = "_wholeInputContainer_1e994_5", Fs = "_questionContainer_1e994_27", As = "_radioQuestion_1e994_59", Os = "_inputContainer_1e994_63", Rs = "_radioInput_1e994_93", _e = {
|
|
@@ -3774,9 +3777,9 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3774
3777
|
errorColor: d = "red",
|
|
3775
3778
|
options: a = [],
|
|
3776
3779
|
multi: l = !1
|
|
3777
|
-
} = n, { t: u } = F(), { control: g, trigger: C, clearErrors: y } = c, { errorColor: p } =
|
|
3780
|
+
} = n, { t: u } = F(), { control: g, trigger: C, clearErrors: y } = c, { errorColor: p } = qe((v) => v), f = ({ options: v, onChange: _, actualValue: N }) => {
|
|
3778
3781
|
if (l && N && N.length > 0) {
|
|
3779
|
-
let L = N.filter((
|
|
3782
|
+
let L = N.filter((h) => h !== v);
|
|
3780
3783
|
_(L);
|
|
3781
3784
|
}
|
|
3782
3785
|
}, b = ({ options: v, onChange: _, actualValue: N }) => {
|
|
@@ -3792,12 +3795,12 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3792
3795
|
},
|
|
3793
3796
|
render: ({
|
|
3794
3797
|
formState: { errors: v },
|
|
3795
|
-
field: { onChange: _, onBlur: N, value: L, ref:
|
|
3796
|
-
fieldState:
|
|
3798
|
+
field: { onChange: _, onBlur: N, value: L, ref: h },
|
|
3799
|
+
fieldState: k
|
|
3797
3800
|
}) => {
|
|
3798
3801
|
var x;
|
|
3799
|
-
return /* @__PURE__ */ i("div", { id: s + "id", className: _e.radioButtonContainer, children: /* @__PURE__ */
|
|
3800
|
-
r && /* @__PURE__ */ i("div", { className: _e.questionContainer, children: /* @__PURE__ */
|
|
3802
|
+
return /* @__PURE__ */ i("div", { id: s + "id", className: _e.radioButtonContainer, children: /* @__PURE__ */ m("div", { className: _e.wholeInputContainer, children: [
|
|
3803
|
+
r && /* @__PURE__ */ i("div", { className: _e.questionContainer, children: /* @__PURE__ */ m(
|
|
3801
3804
|
"h3",
|
|
3802
3805
|
{
|
|
3803
3806
|
htmlFor: s + "id",
|
|
@@ -3808,23 +3811,23 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3808
3811
|
t && /* @__PURE__ */ i(
|
|
3809
3812
|
"label",
|
|
3810
3813
|
{
|
|
3811
|
-
style: { color:
|
|
3814
|
+
style: { color: k.error ? d : "" },
|
|
3812
3815
|
children: "*"
|
|
3813
3816
|
}
|
|
3814
3817
|
)
|
|
3815
3818
|
]
|
|
3816
3819
|
}
|
|
3817
3820
|
) }),
|
|
3818
|
-
/* @__PURE__ */
|
|
3821
|
+
/* @__PURE__ */ m("div", { className: _e.inputContainer, children: [
|
|
3819
3822
|
a.map(
|
|
3820
3823
|
({
|
|
3821
|
-
label:
|
|
3822
|
-
value:
|
|
3823
|
-
disabled:
|
|
3824
|
-
italicLabel:
|
|
3825
|
-
},
|
|
3826
|
-
const B = L && l ? L.isArray && (L == null ? void 0 : L.length) > 0 && L.some((O) => O ===
|
|
3827
|
-
return /* @__PURE__ */
|
|
3824
|
+
label: S,
|
|
3825
|
+
value: $,
|
|
3826
|
+
disabled: w = !1,
|
|
3827
|
+
italicLabel: T
|
|
3828
|
+
}, V) => {
|
|
3829
|
+
const B = L && l ? L.isArray && (L == null ? void 0 : L.length) > 0 && L.some((O) => O === $) : L === $;
|
|
3830
|
+
return /* @__PURE__ */ m("label", { children: [
|
|
3828
3831
|
/* @__PURE__ */ i(
|
|
3829
3832
|
"input",
|
|
3830
3833
|
{
|
|
@@ -3839,20 +3842,20 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3839
3842
|
actualValue: L,
|
|
3840
3843
|
options: a,
|
|
3841
3844
|
onChange: _
|
|
3842
|
-
}) : _(
|
|
3845
|
+
}) : _($);
|
|
3843
3846
|
},
|
|
3844
3847
|
className: _e.radioInput
|
|
3845
3848
|
}
|
|
3846
3849
|
),
|
|
3847
3850
|
/* @__PURE__ */ i("span", { className: "radio-custom" }),
|
|
3848
|
-
u(
|
|
3849
|
-
] }, `inputRadio ${
|
|
3851
|
+
u(S)
|
|
3852
|
+
] }, `inputRadio ${V}`);
|
|
3850
3853
|
}
|
|
3851
3854
|
),
|
|
3852
3855
|
/* @__PURE__ */ i(
|
|
3853
3856
|
Ee,
|
|
3854
3857
|
{
|
|
3855
|
-
errorMessage: (x =
|
|
3858
|
+
errorMessage: (x = k.error) == null ? void 0 : x.message,
|
|
3856
3859
|
errorColor: p || d
|
|
3857
3860
|
}
|
|
3858
3861
|
)
|
|
@@ -3861,15 +3864,15 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3861
3864
|
}
|
|
3862
3865
|
}
|
|
3863
3866
|
);
|
|
3864
|
-
}, Es = "_rankingSliderContainer_1lekm_2",
|
|
3867
|
+
}, Es = "_rankingSliderContainer_1lekm_2", qs = "_labelContainer_1lekm_6", zs = "_inputContainer_1lekm_10", Ps = "_slider_1lekm_20", Zs = "_thumb_1lekm_27", js = "_labels_1lekm_37", Hs = "_minLabel_1lekm_67", Ws = "_maxLabel_1lekm_67", Z = {
|
|
3865
3868
|
rankingSliderContainer: Es,
|
|
3866
|
-
labelContainer:
|
|
3867
|
-
inputContainer:
|
|
3869
|
+
labelContainer: qs,
|
|
3870
|
+
inputContainer: zs,
|
|
3868
3871
|
slider: Ps,
|
|
3869
3872
|
thumb: Zs,
|
|
3870
3873
|
labels: js,
|
|
3871
3874
|
minLabel: Hs,
|
|
3872
|
-
maxLabel:
|
|
3875
|
+
maxLabel: Ws
|
|
3873
3876
|
}, g2 = ({ input: n, reactHookFormInstance: c, onChange: s }) => {
|
|
3874
3877
|
const {
|
|
3875
3878
|
code: r,
|
|
@@ -3888,12 +3891,12 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3888
3891
|
disabled: b = !1,
|
|
3889
3892
|
marks: v = Array.from(
|
|
3890
3893
|
{ length: d - o + 1 },
|
|
3891
|
-
(
|
|
3894
|
+
(w, T) => o + T
|
|
3892
3895
|
),
|
|
3893
3896
|
showMarksNumber: _ = !0
|
|
3894
|
-
} = n, { t: N } = F(), { control: L, trigger:
|
|
3897
|
+
} = n, { t: N } = F(), { control: L, trigger: h, clearErrors: k } = c || {};
|
|
3895
3898
|
ee(u);
|
|
3896
|
-
const { errorColorForm: x } =
|
|
3899
|
+
const { errorColorForm: x } = qe((w) => w), [S, $] = I(a);
|
|
3897
3900
|
return c ? /* @__PURE__ */ i(
|
|
3898
3901
|
Ie,
|
|
3899
3902
|
{
|
|
@@ -3903,31 +3906,31 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3903
3906
|
rules: {
|
|
3904
3907
|
required: u ? `${N(t)} ${N("errorMessages.required")}` : !1
|
|
3905
3908
|
},
|
|
3906
|
-
render: ({ field:
|
|
3907
|
-
var
|
|
3908
|
-
return /* @__PURE__ */
|
|
3909
|
+
render: ({ field: w, fieldState: T }) => {
|
|
3910
|
+
var V;
|
|
3911
|
+
return /* @__PURE__ */ m(
|
|
3909
3912
|
"div",
|
|
3910
3913
|
{
|
|
3911
|
-
className:
|
|
3914
|
+
className: Z.rankingSliderContainer,
|
|
3912
3915
|
style: {
|
|
3913
3916
|
gridTemplateColumns: `${t && C} ${y}`
|
|
3914
3917
|
},
|
|
3915
3918
|
children: [
|
|
3916
|
-
t && /* @__PURE__ */ i("p", { className:
|
|
3917
|
-
/* @__PURE__ */
|
|
3918
|
-
p && /* @__PURE__ */ i("div", { className:
|
|
3919
|
-
/* @__PURE__ */
|
|
3919
|
+
t && /* @__PURE__ */ i("p", { className: Z.labelContainer, children: N(t) }),
|
|
3920
|
+
/* @__PURE__ */ m("div", { className: Z.inputContainer, children: [
|
|
3921
|
+
p && /* @__PURE__ */ i("div", { className: Z.minLabel, children: N(p) }),
|
|
3922
|
+
/* @__PURE__ */ m("div", { children: [
|
|
3920
3923
|
/* @__PURE__ */ i(
|
|
3921
3924
|
yt,
|
|
3922
3925
|
{
|
|
3923
3926
|
min: o,
|
|
3924
3927
|
max: d,
|
|
3925
3928
|
step: 1,
|
|
3926
|
-
value:
|
|
3927
|
-
onChange: (B) =>
|
|
3929
|
+
value: w.value ?? a,
|
|
3930
|
+
onChange: (B) => w.onChange(B),
|
|
3928
3931
|
marks: !0,
|
|
3929
|
-
className:
|
|
3930
|
-
thumbClassName:
|
|
3932
|
+
className: Z.slider,
|
|
3933
|
+
thumbClassName: Z.thumb,
|
|
3931
3934
|
renderThumb: (B) => /* @__PURE__ */ i(
|
|
3932
3935
|
"div",
|
|
3933
3936
|
{
|
|
@@ -3935,19 +3938,19 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3935
3938
|
style: { ...B.style, backgroundColor: l }
|
|
3936
3939
|
}
|
|
3937
3940
|
),
|
|
3938
|
-
trackClassName:
|
|
3939
|
-
markClassName:
|
|
3941
|
+
trackClassName: Z.track,
|
|
3942
|
+
markClassName: Z.mark,
|
|
3940
3943
|
disabled: b
|
|
3941
3944
|
}
|
|
3942
3945
|
),
|
|
3943
|
-
v && /* @__PURE__ */ i("div", { className:
|
|
3946
|
+
v && /* @__PURE__ */ i("div", { className: Z.labels, children: v.map((B) => /* @__PURE__ */ i("span", { children: _ && B }, B)) })
|
|
3944
3947
|
] }),
|
|
3945
|
-
f && /* @__PURE__ */ i("div", { className:
|
|
3948
|
+
f && /* @__PURE__ */ i("div", { className: Z.maxLabel, children: N(f) })
|
|
3946
3949
|
] }),
|
|
3947
3950
|
/* @__PURE__ */ i(
|
|
3948
3951
|
Ee,
|
|
3949
3952
|
{
|
|
3950
|
-
errorMessage: (
|
|
3953
|
+
errorMessage: (V = T.error) == null ? void 0 : V.message,
|
|
3951
3954
|
errorColor: x || g
|
|
3952
3955
|
}
|
|
3953
3956
|
)
|
|
@@ -3956,44 +3959,44 @@ const Ie = (n) => n.render(hs(n)), ms = "_textInputContainer_1o3iy_2", gs = "_la
|
|
|
3956
3959
|
);
|
|
3957
3960
|
}
|
|
3958
3961
|
}
|
|
3959
|
-
) : /* @__PURE__ */
|
|
3962
|
+
) : /* @__PURE__ */ m(
|
|
3960
3963
|
"div",
|
|
3961
3964
|
{
|
|
3962
|
-
className:
|
|
3965
|
+
className: Z.rankingSliderContainer,
|
|
3963
3966
|
style: { gridTemplateColumns: `${t && C} ${y}` },
|
|
3964
3967
|
children: [
|
|
3965
|
-
t && /* @__PURE__ */ i("p", { className:
|
|
3966
|
-
/* @__PURE__ */
|
|
3967
|
-
p && /* @__PURE__ */ i("div", { className:
|
|
3968
|
-
/* @__PURE__ */
|
|
3968
|
+
t && /* @__PURE__ */ i("p", { className: Z.labelContainer, children: N(t) }),
|
|
3969
|
+
/* @__PURE__ */ m("div", { className: Z.inputContainer, children: [
|
|
3970
|
+
p && /* @__PURE__ */ i("div", { className: Z.minLabel, children: N(p) }),
|
|
3971
|
+
/* @__PURE__ */ m("div", { children: [
|
|
3969
3972
|
/* @__PURE__ */ i(
|
|
3970
3973
|
yt,
|
|
3971
3974
|
{
|
|
3972
3975
|
min: o,
|
|
3973
3976
|
max: d,
|
|
3974
3977
|
step: 1,
|
|
3975
|
-
value:
|
|
3976
|
-
onChange: (
|
|
3977
|
-
|
|
3978
|
+
value: S,
|
|
3979
|
+
onChange: (w) => {
|
|
3980
|
+
$(w), s && s(w);
|
|
3978
3981
|
},
|
|
3979
3982
|
marks: !0,
|
|
3980
|
-
className:
|
|
3981
|
-
thumbClassName:
|
|
3982
|
-
renderThumb: (
|
|
3983
|
+
className: Z.slider,
|
|
3984
|
+
thumbClassName: Z.thumb,
|
|
3985
|
+
renderThumb: (w) => /* @__PURE__ */ i(
|
|
3983
3986
|
"div",
|
|
3984
3987
|
{
|
|
3985
|
-
...
|
|
3986
|
-
style: { ...
|
|
3988
|
+
...w,
|
|
3989
|
+
style: { ...w.style, backgroundColor: l }
|
|
3987
3990
|
}
|
|
3988
3991
|
),
|
|
3989
|
-
trackClassName:
|
|
3990
|
-
markClassName:
|
|
3992
|
+
trackClassName: Z.track,
|
|
3993
|
+
markClassName: Z.mark,
|
|
3991
3994
|
disabled: b
|
|
3992
3995
|
}
|
|
3993
3996
|
),
|
|
3994
|
-
v && /* @__PURE__ */ i("div", { className:
|
|
3997
|
+
v && /* @__PURE__ */ i("div", { className: Z.labels, children: v.map((w) => /* @__PURE__ */ i("span", { children: _ && w }, w)) })
|
|
3995
3998
|
] }),
|
|
3996
|
-
f && /* @__PURE__ */ i("div", { className:
|
|
3999
|
+
f && /* @__PURE__ */ i("div", { className: Z.maxLabel, children: N(f) })
|
|
3997
4000
|
] })
|
|
3998
4001
|
]
|
|
3999
4002
|
}
|
|
@@ -4017,8 +4020,8 @@ g2.propTypes = {
|
|
|
4017
4020
|
}),
|
|
4018
4021
|
reactHookFormInstance: e.object
|
|
4019
4022
|
};
|
|
4020
|
-
const
|
|
4021
|
-
textDescriptionContainer:
|
|
4023
|
+
const Ks = "_textDescriptionContainer_163pc_2", Us = "_textDescriptionText_163pc_6", Pt = {
|
|
4024
|
+
textDescriptionContainer: Ks,
|
|
4022
4025
|
textDescriptionText: Us
|
|
4023
4026
|
}, Gs = ({ input: n, inputContainerStyles: c }) => /* @__PURE__ */ i(
|
|
4024
4027
|
"div",
|
|
@@ -4049,7 +4052,7 @@ const Ws = "_textDescriptionContainer_163pc_2", Us = "_textDescriptionText_163pc
|
|
|
4049
4052
|
className: Se.inputContainer,
|
|
4050
4053
|
style: { ...c },
|
|
4051
4054
|
children: /* @__PURE__ */ i(
|
|
4052
|
-
|
|
4055
|
+
qt,
|
|
4053
4056
|
{
|
|
4054
4057
|
input: d,
|
|
4055
4058
|
reactHookFormInstance: s
|
|
@@ -4065,7 +4068,7 @@ const Ws = "_textDescriptionContainer_163pc_2", Us = "_textDescriptionText_163pc
|
|
|
4065
4068
|
className: Se.inputContainer,
|
|
4066
4069
|
style: { ...c },
|
|
4067
4070
|
children: /* @__PURE__ */ i(
|
|
4068
|
-
|
|
4071
|
+
qt,
|
|
4069
4072
|
{
|
|
4070
4073
|
input: d,
|
|
4071
4074
|
reactHookFormInstance: s
|
|
@@ -4198,32 +4201,32 @@ const Ws = "_textDescriptionContainer_163pc_2", Us = "_textDescriptionText_163pc
|
|
|
4198
4201
|
}) => {
|
|
4199
4202
|
const { t: b } = F(), { handleSubmit: v, control: _ } = n;
|
|
4200
4203
|
A(() => {
|
|
4201
|
-
o &&
|
|
4204
|
+
o && qe.setState(() => ({ errorColor: o }));
|
|
4202
4205
|
}, [o]);
|
|
4203
|
-
const N = De(() => c ? c.filter((
|
|
4204
|
-
var
|
|
4206
|
+
const N = De(() => c ? c.filter((w) => w.category).map((w) => {
|
|
4207
|
+
var T;
|
|
4205
4208
|
return {
|
|
4206
|
-
id:
|
|
4207
|
-
label:
|
|
4208
|
-
hasSubcategories: ((
|
|
4209
|
+
id: w.categoryId,
|
|
4210
|
+
label: w.category,
|
|
4211
|
+
hasSubcategories: ((T = w.subcategories) == null ? void 0 : T.length) > 0
|
|
4209
4212
|
};
|
|
4210
|
-
}) : [], [c]), L = (
|
|
4211
|
-
const
|
|
4212
|
-
return (
|
|
4213
|
-
}, [
|
|
4213
|
+
}) : [], [c]), L = (w) => {
|
|
4214
|
+
const T = c == null ? void 0 : c.find((V) => V.categoryId === w);
|
|
4215
|
+
return (T == null ? void 0 : T.subcategories) || [];
|
|
4216
|
+
}, [h, k] = I(
|
|
4214
4217
|
C || u || null
|
|
4215
|
-
), [x,
|
|
4218
|
+
), [x, S] = I(null);
|
|
4216
4219
|
A(() => {
|
|
4217
|
-
!
|
|
4218
|
-
}, [N,
|
|
4219
|
-
const
|
|
4220
|
-
!x && (
|
|
4221
|
-
}, [
|
|
4222
|
-
const
|
|
4223
|
-
var
|
|
4224
|
-
if (((
|
|
4225
|
-
const B =
|
|
4226
|
-
return /* @__PURE__ */
|
|
4220
|
+
!h && N.length > 0 && k(N[0].id);
|
|
4221
|
+
}, [N, h]), A(() => {
|
|
4222
|
+
const w = L(h);
|
|
4223
|
+
!x && (w == null ? void 0 : w.length) > 0 && S(w[0].id);
|
|
4224
|
+
}, [h, x, c]);
|
|
4225
|
+
const $ = (w, T) => {
|
|
4226
|
+
var V;
|
|
4227
|
+
if (((V = w.subcategories) == null ? void 0 : V.length) > 0) {
|
|
4228
|
+
const B = w.subcategories;
|
|
4229
|
+
return /* @__PURE__ */ m("div", { children: [
|
|
4227
4230
|
/* @__PURE__ */ i(
|
|
4228
4231
|
"div",
|
|
4229
4232
|
{
|
|
@@ -4234,20 +4237,20 @@ const Ws = "_textDescriptionContainer_163pc_2", Us = "_textDescriptionText_163pc
|
|
|
4234
4237
|
activeCategory: x,
|
|
4235
4238
|
categories: B,
|
|
4236
4239
|
categoriesWithErrors: p,
|
|
4237
|
-
onChange: (O) =>
|
|
4240
|
+
onChange: (O) => S(O),
|
|
4238
4241
|
activeColor: y
|
|
4239
4242
|
}
|
|
4240
4243
|
)
|
|
4241
4244
|
},
|
|
4242
|
-
|
|
4245
|
+
w.categoryId
|
|
4243
4246
|
),
|
|
4244
4247
|
B.map((O, R) => {
|
|
4245
|
-
const
|
|
4248
|
+
const P = !x || O.id === x;
|
|
4246
4249
|
return s ? /* @__PURE__ */ i(
|
|
4247
4250
|
"div",
|
|
4248
4251
|
{
|
|
4249
4252
|
style: {
|
|
4250
|
-
display:
|
|
4253
|
+
display: P ? "block" : "none",
|
|
4251
4254
|
width: "100%"
|
|
4252
4255
|
},
|
|
4253
4256
|
children: /* @__PURE__ */ i(s, { title: O.label, children: /* @__PURE__ */ i(
|
|
@@ -4262,12 +4265,12 @@ const Ws = "_textDescriptionContainer_163pc_2", Us = "_textDescriptionText_163pc
|
|
|
4262
4265
|
) }, O.id)
|
|
4263
4266
|
},
|
|
4264
4267
|
`${O.id}${R}`
|
|
4265
|
-
) : /* @__PURE__ */
|
|
4268
|
+
) : /* @__PURE__ */ m(
|
|
4266
4269
|
"div",
|
|
4267
4270
|
{
|
|
4268
4271
|
style: {
|
|
4269
4272
|
width: "100%",
|
|
4270
|
-
display:
|
|
4273
|
+
display: P ? "block" : "none"
|
|
4271
4274
|
},
|
|
4272
4275
|
children: [
|
|
4273
4276
|
/* @__PURE__ */ i("h3", { style: { marginBottom: 15 }, children: b(O.label) }),
|
|
@@ -4288,67 +4291,67 @@ const Ws = "_textDescriptionContainer_163pc_2", Us = "_textDescriptionText_163pc
|
|
|
4288
4291
|
})
|
|
4289
4292
|
] });
|
|
4290
4293
|
}
|
|
4291
|
-
return s ? /* @__PURE__ */ i(s, { title:
|
|
4294
|
+
return s ? /* @__PURE__ */ i(s, { title: w.category, children: /* @__PURE__ */ i(
|
|
4292
4295
|
Ae,
|
|
4293
4296
|
{
|
|
4294
|
-
inputs:
|
|
4297
|
+
inputs: w.inputs,
|
|
4295
4298
|
control: _,
|
|
4296
4299
|
inputContainerStyles: r,
|
|
4297
4300
|
errorColor: o,
|
|
4298
4301
|
reactHookFormInstance: n
|
|
4299
4302
|
}
|
|
4300
|
-
) },
|
|
4301
|
-
/* @__PURE__ */ i("h2", { children: b(
|
|
4303
|
+
) }, w.categoryId) : /* @__PURE__ */ m("div", { style: { width: "100%" }, children: [
|
|
4304
|
+
/* @__PURE__ */ i("h2", { children: b(w.category) }),
|
|
4302
4305
|
/* @__PURE__ */ i(
|
|
4303
4306
|
Ae,
|
|
4304
4307
|
{
|
|
4305
|
-
inputs:
|
|
4308
|
+
inputs: w.inputs,
|
|
4306
4309
|
control: _,
|
|
4307
4310
|
inputContainerStyles: r,
|
|
4308
4311
|
errorColor: o,
|
|
4309
4312
|
reactHookFormInstance: n
|
|
4310
4313
|
}
|
|
4311
4314
|
)
|
|
4312
|
-
] },
|
|
4315
|
+
] }, w.categoryId);
|
|
4313
4316
|
};
|
|
4314
|
-
return /* @__PURE__ */
|
|
4317
|
+
return /* @__PURE__ */ m("form", { className: Ve.formContainer, onSubmit: v(f), children: [
|
|
4315
4318
|
l && N.length > 0 && /* @__PURE__ */ i("div", { className: Ve.categorySelectorContainer, children: /* @__PURE__ */ i(
|
|
4316
4319
|
Zt,
|
|
4317
4320
|
{
|
|
4318
|
-
activeCategory:
|
|
4321
|
+
activeCategory: h,
|
|
4319
4322
|
categories: N,
|
|
4320
4323
|
categoriesWithErrors: p,
|
|
4321
|
-
onChange: (
|
|
4322
|
-
w
|
|
4324
|
+
onChange: (w) => {
|
|
4325
|
+
k(w), S(null);
|
|
4323
4326
|
},
|
|
4324
4327
|
activeColor: y
|
|
4325
4328
|
}
|
|
4326
4329
|
) }),
|
|
4327
|
-
/* @__PURE__ */ i("div", { className: Ve.formObjectContainer, children: c == null ? void 0 : c.map((
|
|
4328
|
-
const
|
|
4329
|
-
return
|
|
4330
|
+
/* @__PURE__ */ i("div", { className: Ve.formObjectContainer, children: c == null ? void 0 : c.map((w, T) => {
|
|
4331
|
+
const V = w.categoryId === h;
|
|
4332
|
+
return w.category ? /* @__PURE__ */ i(
|
|
4330
4333
|
"div",
|
|
4331
4334
|
{
|
|
4332
4335
|
style: {
|
|
4333
4336
|
width: "100%",
|
|
4334
|
-
display:
|
|
4337
|
+
display: V ? "block" : "none"
|
|
4335
4338
|
},
|
|
4336
|
-
children:
|
|
4339
|
+
children: $(w)
|
|
4337
4340
|
},
|
|
4338
|
-
|
|
4341
|
+
w.categoryId
|
|
4339
4342
|
) : /* @__PURE__ */ i(
|
|
4340
4343
|
Ae,
|
|
4341
4344
|
{
|
|
4342
|
-
inputs:
|
|
4345
|
+
inputs: w.inputs,
|
|
4343
4346
|
control: _,
|
|
4344
4347
|
inputContainerStyles: r,
|
|
4345
4348
|
errorColor: o,
|
|
4346
4349
|
reactHookFormInstance: n
|
|
4347
4350
|
},
|
|
4348
|
-
`no-category-${
|
|
4351
|
+
`no-category-${T}`
|
|
4349
4352
|
);
|
|
4350
4353
|
}) }),
|
|
4351
|
-
/* @__PURE__ */
|
|
4354
|
+
/* @__PURE__ */ m("div", { className: Ve.buttonContainer, children: [
|
|
4352
4355
|
/* @__PURE__ */ i(Xe, { containerStyles: a, type: "submit", children: b(d) }),
|
|
4353
4356
|
/* @__PURE__ */ i(Ee, { errorMessage: t, errorColor: o })
|
|
4354
4357
|
] })
|
|
@@ -4370,7 +4373,7 @@ const Ws = "_textDescriptionContainer_163pc_2", Us = "_textDescriptionText_163pc
|
|
|
4370
4373
|
buttons: t,
|
|
4371
4374
|
maxHeight: o = "450px",
|
|
4372
4375
|
maxWidth: d = "450px"
|
|
4373
|
-
}) => /* @__PURE__ */ i("div", { className: ge.overlay, children: /* @__PURE__ */
|
|
4376
|
+
}) => /* @__PURE__ */ i("div", { className: ge.overlay, children: /* @__PURE__ */ m(
|
|
4374
4377
|
"div",
|
|
4375
4378
|
{
|
|
4376
4379
|
className: ge.modal,
|
|
@@ -4412,8 +4415,8 @@ const c1 = "_stepsContainer_1cyua_3", d1 = "_stepWrapper_1cyua_9", u1 = "_circle
|
|
|
4412
4415
|
connector: f1
|
|
4413
4416
|
}, C2 = ({ steps: n, activeColor: c }) => /* @__PURE__ */ i("div", { className: de.stepsContainer, children: n.map((s, r) => {
|
|
4414
4417
|
const t = s.status === "active", o = s.status === "completed";
|
|
4415
|
-
return /* @__PURE__ */
|
|
4416
|
-
/* @__PURE__ */
|
|
4418
|
+
return /* @__PURE__ */ m("div", { className: de.stepWrapper, children: [
|
|
4419
|
+
/* @__PURE__ */ m("div", { className: de.circleContainer, children: [
|
|
4417
4420
|
/* @__PURE__ */ i(
|
|
4418
4421
|
"div",
|
|
4419
4422
|
{
|
|
@@ -4461,7 +4464,7 @@ f2.defaultProps = {
|
|
|
4461
4464
|
color: "#C2185B"
|
|
4462
4465
|
// color por defecto
|
|
4463
4466
|
};
|
|
4464
|
-
const _1 = "_buttonsContainer_1c7dw_2", v1 = "_button_1c7dw_2", x1 = "_active_1c7dw_20",
|
|
4467
|
+
const _1 = "_buttonsContainer_1c7dw_2", v1 = "_button_1c7dw_2", x1 = "_active_1c7dw_20", We = {
|
|
4465
4468
|
buttonsContainer: _1,
|
|
4466
4469
|
button: v1,
|
|
4467
4470
|
active: x1
|
|
@@ -4469,7 +4472,7 @@ const _1 = "_buttonsContainer_1c7dw_2", v1 = "_button_1c7dw_2", x1 = "_active_1c
|
|
|
4469
4472
|
buttons: n = []
|
|
4470
4473
|
}) => {
|
|
4471
4474
|
const { t: c } = F();
|
|
4472
|
-
return /* @__PURE__ */ i("div", { className: `${
|
|
4475
|
+
return /* @__PURE__ */ i("div", { className: `${We.buttonsContainer}`, children: n.map((s, r) => {
|
|
4473
4476
|
const {
|
|
4474
4477
|
isActive: t,
|
|
4475
4478
|
name: o,
|
|
@@ -4479,9 +4482,9 @@ const _1 = "_buttonsContainer_1c7dw_2", v1 = "_button_1c7dw_2", x1 = "_active_1c
|
|
|
4479
4482
|
"button",
|
|
4480
4483
|
{
|
|
4481
4484
|
onClick: d,
|
|
4482
|
-
className: `${
|
|
4483
|
-
${t &&
|
|
4484
|
-
children: /* @__PURE__ */ i("span", { className:
|
|
4485
|
+
className: `${We.button}
|
|
4486
|
+
${t && We.active}`,
|
|
4487
|
+
children: /* @__PURE__ */ i("span", { className: We.buttonName, children: c(o) })
|
|
4485
4488
|
}
|
|
4486
4489
|
) }, r);
|
|
4487
4490
|
}) });
|
|
@@ -4514,7 +4517,7 @@ const N1 = "_switchContainer_194wl_2", k1 = "_labelRight_194wl_9", $1 = "_labelL
|
|
|
4514
4517
|
width: g = 240
|
|
4515
4518
|
} = n, { t: C } = F(), { control: y } = c || {}, [p, f] = I(a), b = (_) => {
|
|
4516
4519
|
f(_), s && s(_);
|
|
4517
|
-
}, v = (_, N) => /* @__PURE__ */
|
|
4520
|
+
}, v = (_, N) => /* @__PURE__ */ m("div", { className: Le.switchContainer, style: { width: `${g}px` }, children: [
|
|
4518
4521
|
o && /* @__PURE__ */ i(
|
|
4519
4522
|
"span",
|
|
4520
4523
|
{
|
|
@@ -4523,7 +4526,7 @@ const N1 = "_switchContainer_194wl_2", k1 = "_labelRight_194wl_9", $1 = "_labelL
|
|
|
4523
4526
|
children: C(o)
|
|
4524
4527
|
}
|
|
4525
4528
|
),
|
|
4526
|
-
/* @__PURE__ */
|
|
4529
|
+
/* @__PURE__ */ m("label", { className: `${Le.switch} ${u ? Le.disabled : ""}`, children: [
|
|
4527
4530
|
/* @__PURE__ */ i(
|
|
4528
4531
|
"input",
|
|
4529
4532
|
{
|
|
@@ -4567,34 +4570,34 @@ M1.propTypes = {
|
|
|
4567
4570
|
reactHookFormInstance: e.object,
|
|
4568
4571
|
onChange: e.func
|
|
4569
4572
|
};
|
|
4570
|
-
const D1 = "_overlay_1xyw2_2", T1 = "_popup_1xyw2_15", B1 = "_gif_1xyw2_25", V1 = "_message_1xyw2_31",
|
|
4573
|
+
const D1 = "_overlay_1xyw2_2", T1 = "_popup_1xyw2_15", B1 = "_gif_1xyw2_25", V1 = "_message_1xyw2_31", Ke = {
|
|
4571
4574
|
overlay: D1,
|
|
4572
4575
|
popup: T1,
|
|
4573
4576
|
gif: B1,
|
|
4574
4577
|
message: V1
|
|
4575
|
-
}, F1 = ({ gifSrc: n, message: c }) => /* @__PURE__ */ i("div", { className:
|
|
4578
|
+
}, F1 = ({ gifSrc: n, message: c }) => /* @__PURE__ */ i("div", { className: Ke.overlay, children: /* @__PURE__ */ m("div", { className: Ke.popup, children: [
|
|
4576
4579
|
n && /* @__PURE__ */ i(
|
|
4577
4580
|
"img",
|
|
4578
4581
|
{
|
|
4579
4582
|
src: n,
|
|
4580
4583
|
alt: "loading animation",
|
|
4581
|
-
className:
|
|
4584
|
+
className: Ke.gif
|
|
4582
4585
|
}
|
|
4583
4586
|
),
|
|
4584
|
-
c && /* @__PURE__ */ i("p", { className:
|
|
4587
|
+
c && /* @__PURE__ */ i("p", { className: Ke.message, children: c })
|
|
4585
4588
|
] }) });
|
|
4586
4589
|
F1.propTypes = {
|
|
4587
4590
|
gifSrc: e.string,
|
|
4588
4591
|
message: e.string
|
|
4589
4592
|
};
|
|
4590
|
-
const A1 = "_container_1pl8d_3", O1 = "_burger_1pl8d_10", R1 = "_menu_1pl8d_21", I1 = "_menuOpen_1pl8d_35", E1 = "_menuClose_1pl8d_40",
|
|
4593
|
+
const A1 = "_container_1pl8d_3", O1 = "_burger_1pl8d_10", R1 = "_menu_1pl8d_21", I1 = "_menuOpen_1pl8d_35", E1 = "_menuClose_1pl8d_40", q1 = "_list_1pl8d_46", z1 = "_item_1pl8d_56", P1 = "_button_1pl8d_91", oe = {
|
|
4591
4594
|
container: A1,
|
|
4592
4595
|
burger: O1,
|
|
4593
4596
|
menu: R1,
|
|
4594
4597
|
menuOpen: I1,
|
|
4595
4598
|
menuClose: E1,
|
|
4596
|
-
list:
|
|
4597
|
-
item:
|
|
4599
|
+
list: q1,
|
|
4600
|
+
item: z1,
|
|
4598
4601
|
button: P1
|
|
4599
4602
|
}, y2 = ({
|
|
4600
4603
|
options: n,
|
|
@@ -4603,8 +4606,8 @@ const A1 = "_container_1pl8d_3", O1 = "_burger_1pl8d_10", R1 = "_menu_1pl8d_21",
|
|
|
4603
4606
|
iconColor: r
|
|
4604
4607
|
}) => {
|
|
4605
4608
|
const [t, o] = I(!1), d = () => o((f) => !f), a = () => o(!1), l = 7, u = t ? 11 : 0, g = t ? 13 : 0, C = t ? -11.51666 : 0, y = t ? -13 : 0, p = "0.35s";
|
|
4606
|
-
return /* @__PURE__ */
|
|
4607
|
-
/* @__PURE__ */ i("button", { onClick: d, className: oe.burger, children: /* @__PURE__ */
|
|
4609
|
+
return /* @__PURE__ */ m("div", { className: oe.container, children: [
|
|
4610
|
+
/* @__PURE__ */ i("button", { onClick: d, className: oe.burger, children: /* @__PURE__ */ m(
|
|
4608
4611
|
"svg",
|
|
4609
4612
|
{
|
|
4610
4613
|
width: "40",
|
|
@@ -4653,7 +4656,7 @@ const A1 = "_container_1pl8d_3", O1 = "_burger_1pl8d_10", R1 = "_menu_1pl8d_21",
|
|
|
4653
4656
|
children: /* @__PURE__ */ i("circle", { cx: "20", cy: "20", r: "10", fill: r })
|
|
4654
4657
|
}
|
|
4655
4658
|
),
|
|
4656
|
-
/* @__PURE__ */
|
|
4659
|
+
/* @__PURE__ */ m(
|
|
4657
4660
|
"g",
|
|
4658
4661
|
{
|
|
4659
4662
|
stroke: c,
|
|
@@ -4677,7 +4680,7 @@ const A1 = "_container_1pl8d_3", O1 = "_burger_1pl8d_10", R1 = "_menu_1pl8d_21",
|
|
|
4677
4680
|
{
|
|
4678
4681
|
className: `${oe.menu} ${t ? oe.menuOpen : oe.menuClose}`,
|
|
4679
4682
|
style: { backgroundColor: c, color: s },
|
|
4680
|
-
children: /* @__PURE__ */ i("ul", { className: oe.list, children: n.map((f, b) => /* @__PURE__ */
|
|
4683
|
+
children: /* @__PURE__ */ i("ul", { className: oe.list, children: n.map((f, b) => /* @__PURE__ */ m("li", { className: oe.item, children: [
|
|
4681
4684
|
f.url && /* @__PURE__ */ i(
|
|
4682
4685
|
Xt,
|
|
4683
4686
|
{
|
|
@@ -4730,7 +4733,7 @@ const Z1 = "_svgContainer_1rxoe_2", j1 = "_svg_1rxoe_2", jt = {
|
|
|
4730
4733
|
showYAxisLabels: l = !0,
|
|
4731
4734
|
showGrid: u = !0,
|
|
4732
4735
|
xAxisTickRotation: g = -90,
|
|
4733
|
-
yAxisTickFormat: C = (
|
|
4736
|
+
yAxisTickFormat: C = (h) => h.toLocaleString("es-ES"),
|
|
4734
4737
|
barPadding: y = 0.1,
|
|
4735
4738
|
groupPadding: p = 0.05,
|
|
4736
4739
|
animationDuration: f = 750,
|
|
@@ -4740,28 +4743,28 @@ const Z1 = "_svgContainer_1rxoe_2", j1 = "_svg_1rxoe_2", jt = {
|
|
|
4740
4743
|
xAxisLabel: N,
|
|
4741
4744
|
yAxisLabel: L
|
|
4742
4745
|
}) => {
|
|
4743
|
-
const
|
|
4746
|
+
const h = ee(), k = ee(), [x, S] = I({ width: 0, height: 0 });
|
|
4744
4747
|
return A(() => {
|
|
4745
|
-
const
|
|
4746
|
-
if (
|
|
4747
|
-
const
|
|
4748
|
-
|
|
4749
|
-
width: typeof r == "number" ? r :
|
|
4748
|
+
const $ = () => {
|
|
4749
|
+
if (k.current) {
|
|
4750
|
+
const w = k.current.getBoundingClientRect().width;
|
|
4751
|
+
S({
|
|
4752
|
+
width: typeof r == "number" ? r : w,
|
|
4750
4753
|
height: t
|
|
4751
4754
|
});
|
|
4752
4755
|
}
|
|
4753
4756
|
};
|
|
4754
|
-
return
|
|
4757
|
+
return $(), window.addEventListener("resize", $), () => window.removeEventListener("resize", $);
|
|
4755
4758
|
}, [r, t]), A(() => {
|
|
4756
4759
|
if (!n || n.length === 0 || x.width === 0) return;
|
|
4757
|
-
const
|
|
4758
|
-
if (
|
|
4759
|
-
const O = n.map((D) => D.anyo || D.year || D.x), R = c,
|
|
4760
|
-
|
|
4761
|
-
const ne =
|
|
4762
|
-
_ &&
|
|
4760
|
+
const $ = xe(h.current), w = x.width, T = x.height, V = w - o.left - o.right, B = T - o.top - o.bottom;
|
|
4761
|
+
if (V <= 0 || B <= 0) return;
|
|
4762
|
+
const O = n.map((D) => D.anyo || D.year || D.x), R = c, P = ut(n, (D) => ut(R, (re) => D[re])) || 0, te = pt(n, (D) => pt(R, (re) => D[re])) || 0, E = ht().domain(O).rangeRound([0, V]).paddingInner(y), W = ht().domain(R).rangeRound([0, E.bandwidth()]).padding(p), U = Kt().domain([Math.min(0, P), te]).nice().rangeRound([B, 0]), Qe = Ut().domain(R).range(Array.isArray(s) ? s : Object.values(s || {}));
|
|
4763
|
+
$.selectAll("*").remove();
|
|
4764
|
+
const ne = $.append("g").attr("transform", `translate(${o.left},${o.top})`);
|
|
4765
|
+
_ && $.append("text").attr("x", w / 2).attr("y", o.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(_), u && ne.append("g").attr("class", "grid").selectAll("line").data(U.ticks()).enter().append("line").attr("x1", 0).attr("x2", V).attr("y1", (D) => U(D)).attr("y2", (D) => U(D)).style("stroke", "#e0e0e0").style("stroke-width", 0.5), a && (ne.append("g").attr("transform", `translate(0,${B})`).call(Gt(E).tickSizeOuter(0)).attr("class", "x-axis").selectAll("text").attr("transform", `translate(0,10)rotate(${g})`).style("text-anchor", g < 0 ? "end" : "middle").style("font-size", "12px").style("fill", "#605B56"), N && ne.append("text").attr(
|
|
4763
4766
|
"transform",
|
|
4764
|
-
`translate(${
|
|
4767
|
+
`translate(${V / 2}, ${B + o.bottom - 5})`
|
|
4765
4768
|
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(N)), l && (ne.append("g").call(mt(U).ticks(6).tickFormat(C)).attr("class", "y-axis").call((D) => D.select(".domain").remove()), L && ne.append("text").attr("transform", "rotate(-90)").attr("y", 0 - o.left).attr("x", 0 - B / 2).attr("dy", "1em").style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(L));
|
|
4766
4769
|
const ie = ne.append("g").selectAll(".bar-group").data(n).enter().append("g").attr("class", "bar-group").attr("transform", (D) => `translate(${E(D.anyo || D.year || D.x)},0)`).selectAll(".bar").data(
|
|
4767
4770
|
(D) => R.map((re) => ({
|
|
@@ -4769,7 +4772,7 @@ const Z1 = "_svgContainer_1rxoe_2", j1 = "_svg_1rxoe_2", jt = {
|
|
|
4769
4772
|
value: D[re],
|
|
4770
4773
|
data: D
|
|
4771
4774
|
}))
|
|
4772
|
-
).enter().append("rect").attr("class", "bar").attr("x", (D) =>
|
|
4775
|
+
).enter().append("rect").attr("class", "bar").attr("x", (D) => W(D.key)).attr("y", B).attr("width", W.bandwidth()).attr("height", 0).attr("fill", (D) => Qe(D.key)).style("cursor", b || v ? "pointer" : "default");
|
|
4773
4776
|
ie.transition().duration(f).attr("y", (D) => U(Math.max(0, D.value))).attr("height", (D) => Math.abs(U(D.value) - U(0))), b && ie.on("mouseover", function(D, re) {
|
|
4774
4777
|
xe(this).style("opacity", 0.8), b(D, re);
|
|
4775
4778
|
}).on("mouseout", function(D, re) {
|
|
@@ -4797,13 +4800,13 @@ const Z1 = "_svgContainer_1rxoe_2", j1 = "_svg_1rxoe_2", jt = {
|
|
|
4797
4800
|
]), /* @__PURE__ */ i(
|
|
4798
4801
|
"div",
|
|
4799
4802
|
{
|
|
4800
|
-
ref:
|
|
4803
|
+
ref: k,
|
|
4801
4804
|
className: `${jt.svgContainer} ${d}`,
|
|
4802
4805
|
style: { width: r, height: t + o.top + o.bottom },
|
|
4803
4806
|
children: /* @__PURE__ */ i(
|
|
4804
4807
|
"svg",
|
|
4805
4808
|
{
|
|
4806
|
-
ref:
|
|
4809
|
+
ref: h,
|
|
4807
4810
|
className: jt.svg,
|
|
4808
4811
|
width: x.width,
|
|
4809
4812
|
height: x.height
|
|
@@ -4842,9 +4845,9 @@ H1.propTypes = {
|
|
|
4842
4845
|
xAxisLabel: e.string,
|
|
4843
4846
|
yAxisLabel: e.string
|
|
4844
4847
|
};
|
|
4845
|
-
const
|
|
4846
|
-
svgContainer:
|
|
4847
|
-
svg:
|
|
4848
|
+
const W1 = "_svgContainer_7fkic_2", K1 = "_svg_7fkic_2", Ht = {
|
|
4849
|
+
svgContainer: W1,
|
|
4850
|
+
svg: K1
|
|
4848
4851
|
}, U1 = ({
|
|
4849
4852
|
data: n,
|
|
4850
4853
|
keys: c,
|
|
@@ -4857,7 +4860,7 @@ const K1 = "_svgContainer_7fkic_2", W1 = "_svg_7fkic_2", Ht = {
|
|
|
4857
4860
|
showYAxisLabels: l = !0,
|
|
4858
4861
|
showGrid: u = !0,
|
|
4859
4862
|
xAxisTickRotation: g = -90,
|
|
4860
|
-
yAxisTickFormat: C = (
|
|
4863
|
+
yAxisTickFormat: C = (S) => S.toLocaleString("es-ES"),
|
|
4861
4864
|
barPadding: y = 0.4,
|
|
4862
4865
|
animationDuration: p = 750,
|
|
4863
4866
|
onBarHover: f,
|
|
@@ -4867,21 +4870,21 @@ const K1 = "_svgContainer_7fkic_2", W1 = "_svg_7fkic_2", Ht = {
|
|
|
4867
4870
|
yAxisLabel: N,
|
|
4868
4871
|
stackOrder: L = "reverse",
|
|
4869
4872
|
// "reverse", "ascending", "descending", "insideOut", "none"
|
|
4870
|
-
showTooltip:
|
|
4871
|
-
reverseKeys:
|
|
4873
|
+
showTooltip: h = !0,
|
|
4874
|
+
reverseKeys: k = !0,
|
|
4872
4875
|
minBarSlotWidth: x = 60
|
|
4873
4876
|
}) => {
|
|
4874
|
-
const
|
|
4877
|
+
const S = ee(), $ = ee();
|
|
4875
4878
|
ee();
|
|
4876
|
-
const [
|
|
4879
|
+
const [w, T] = I({
|
|
4877
4880
|
containerWidth: 0,
|
|
4878
4881
|
height: 0
|
|
4879
|
-
}), { t:
|
|
4882
|
+
}), { t: V } = F();
|
|
4880
4883
|
return A(() => {
|
|
4881
4884
|
const B = () => {
|
|
4882
|
-
if (
|
|
4883
|
-
const O =
|
|
4884
|
-
|
|
4885
|
+
if ($.current) {
|
|
4886
|
+
const O = $.current.getBoundingClientRect().width;
|
|
4887
|
+
T({
|
|
4885
4888
|
containerWidth: typeof r == "number" ? r : O,
|
|
4886
4889
|
height: t
|
|
4887
4890
|
});
|
|
@@ -4889,20 +4892,20 @@ const K1 = "_svgContainer_7fkic_2", W1 = "_svg_7fkic_2", Ht = {
|
|
|
4889
4892
|
};
|
|
4890
4893
|
return B(), window.addEventListener("resize", B), () => window.removeEventListener("resize", B);
|
|
4891
4894
|
}, [r, t]), A(() => {
|
|
4892
|
-
if (!n || n.length === 0 ||
|
|
4893
|
-
const B = xe(
|
|
4894
|
-
|
|
4895
|
+
if (!n || n.length === 0 || w.containerWidth === 0) return;
|
|
4896
|
+
const B = xe(S.current), { containerWidth: O, height: R } = w, P = O - o.left - o.right, te = n.length * x, E = Math.max(
|
|
4897
|
+
P,
|
|
4895
4898
|
te
|
|
4896
|
-
),
|
|
4899
|
+
), W = E + o.left + o.right, U = R - o.top - o.bottom;
|
|
4897
4900
|
if (E <= 0 || U <= 0) return;
|
|
4898
|
-
B.attr("width",
|
|
4899
|
-
const Qe =
|
|
4901
|
+
B.attr("width", W).attr("height", R);
|
|
4902
|
+
const Qe = k ? [...c].reverse() : c, ne = [];
|
|
4900
4903
|
n.forEach((M) => {
|
|
4901
|
-
const Y = M.any || M.year || M.x,
|
|
4904
|
+
const Y = M.any || M.year || M.x, j = Qe.map((G) => ({
|
|
4902
4905
|
key: G,
|
|
4903
4906
|
value: Number(M[G]) || 0,
|
|
4904
4907
|
data: M
|
|
4905
|
-
})), b2 =
|
|
4908
|
+
})), b2 = j.filter((G) => G.value < 0), _2 = j.filter((G) => G.value >= 0);
|
|
4906
4909
|
let tt = 0;
|
|
4907
4910
|
b2.forEach((G) => {
|
|
4908
4911
|
const Ce = tt, le = tt + G.value, it = Math.abs(le - Ce);
|
|
@@ -4935,50 +4938,50 @@ const K1 = "_svgContainer_7fkic_2", W1 = "_svg_7fkic_2", Ht = {
|
|
|
4935
4938
|
const Je = [
|
|
4936
4939
|
ut(ne, (M) => Math.min(M.y0, M.y1)) || 0,
|
|
4937
4940
|
pt(ne, (M) => Math.max(M.y0, M.y1)) || 0
|
|
4938
|
-
], ie = ht().domain(n.map((M) => M.any || M.year || M.x)).range([0, E]).padding(y), D =
|
|
4941
|
+
], ie = ht().domain(n.map((M) => M.any || M.year || M.x)).range([0, E]).padding(y), D = Kt().domain([Je[0], Je[1]]).nice(6).range([U, 0]), re = Ut().domain(c).range(Array.isArray(s) ? s : Object.values(s || {}));
|
|
4939
4942
|
B.selectAll("*").remove();
|
|
4940
4943
|
const pe = B.append("g").attr("transform", `translate(${o.left},${o.top})`);
|
|
4941
4944
|
v && B.append("text").attr("x", svgWidth / 2).attr("y", o.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(v), u && pe.append("g").attr("class", "grid").selectAll("line").data(D.ticks(6)).enter().append("line").attr("x1", 0).attr("x2", E).attr("y1", (M) => D(M)).attr("y2", (M) => D(M)).style("stroke", "#e0e0e0").style("stroke-width", 0.5), a && (pe.append("g").attr("class", "x-axis").attr("transform", `translate(0, ${U})`).call(Gt(ie).tickSizeOuter(0)).selectAll("text").remove(), pe.append("g").attr("class", "x-axis-labels").attr("transform", `translate(0, ${U})`).selectAll("text").data(n).enter().append("text").attr(
|
|
4942
4945
|
"x",
|
|
4943
|
-
(
|
|
4946
|
+
(j) => ie(j.any || j.year || j.x) + ie.bandwidth() / 2
|
|
4944
4947
|
).attr("y", 19).style(
|
|
4945
4948
|
"text-anchor",
|
|
4946
4949
|
g === 0 ? "middle" : g < 0 ? "end" : "start"
|
|
4947
4950
|
).style("font-size", "12px").style("fill", "#605B56").attr(
|
|
4948
4951
|
"transform",
|
|
4949
|
-
(
|
|
4950
|
-
).text((
|
|
4952
|
+
(j) => `rotate(${g} ${ie(j.any || j.year || j.x) + ie.bandwidth() / 2} 15)`
|
|
4953
|
+
).text((j) => j.any || j.year || j.x), _ && pe.append("text").attr(
|
|
4951
4954
|
"transform",
|
|
4952
4955
|
`translate(${E / 2}, ${U + o.bottom - 5})`
|
|
4953
4956
|
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(_)), l && (pe.append("g").attr("class", "y-axis").call(mt(D).ticks(6).tickFormat(C)).call((M) => M.select(".domain").remove()), pe.append("g").attr("class", "y-ticks").attr("transform", `translate(${E}, 0)`).call(mt(D).ticks(6).tickSizeInner(E)).call((M) => M.select(".domain").remove()).call((M) => M.selectAll(".tick text").remove()), N && pe.append("text").attr("transform", "rotate(-90)").attr("y", 0 - o.left).attr("x", 0 - U / 2).attr("dy", "1em").style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(N));
|
|
4954
4957
|
let ae;
|
|
4955
|
-
|
|
4958
|
+
h && (ae = xe("body").append("div").attr("class", "chart-tooltip").style("position", "absolute").style("visibility", "hidden").style("background", "rgba(0, 0, 0, 0.8)").style("color", "white").style("padding", "8px").style("border-radius", "4px").style("font-size", "12px").style("pointer-events", "none").style("z-index", "1000"));
|
|
4956
4959
|
const Ye = pe.selectAll(".segment").data(ne, (M) => `${M.xKey}-${M.key}`);
|
|
4957
4960
|
Ye.exit().remove();
|
|
4958
4961
|
const et = Ye.enter().append("rect").attr("class", "segment").attr("x", (M) => ie(M.xKey)).attr("width", ie.bandwidth()).attr("y", (M) => D(0)).attr("height", 0).attr("fill", (M) => re(M.key)).style(
|
|
4959
4962
|
"cursor",
|
|
4960
|
-
f || b ||
|
|
4963
|
+
f || b || h ? "pointer" : "default"
|
|
4961
4964
|
).merge(Ye);
|
|
4962
|
-
return et.transition().duration(p).attr("x", (M) => ie(M.xKey)).attr("y", (M) => Math.min(D(M.y0), D(M.y1))).attr("height", (M) => Math.abs(D(M.y1) - D(M.y0))), (
|
|
4963
|
-
const
|
|
4964
|
-
|
|
4965
|
-
<strong>${
|
|
4965
|
+
return et.transition().duration(p).attr("x", (M) => ie(M.xKey)).attr("y", (M) => Math.min(D(M.y0), D(M.y1))).attr("height", (M) => Math.abs(D(M.y1) - D(M.y0))), (h || f) && et.on("mouseover", function(M, Y) {
|
|
4966
|
+
const j = Y.value;
|
|
4967
|
+
h && ae && ae.style("visibility", "visible").html(`
|
|
4968
|
+
<strong>${V(Y.key)}</strong><br/>
|
|
4966
4969
|
${Y.xKey}<br/>
|
|
4967
|
-
${C(
|
|
4970
|
+
${C(j)}
|
|
4968
4971
|
`), xe(this).style("opacity", 0.8), f && f(M, {
|
|
4969
4972
|
key: Y.key,
|
|
4970
|
-
value:
|
|
4973
|
+
value: j,
|
|
4971
4974
|
data: Y.data
|
|
4972
4975
|
});
|
|
4973
4976
|
}).on("mousemove", function(M) {
|
|
4974
|
-
|
|
4977
|
+
h && ae && ae.style("top", M.pageY - 10 + "px").style("left", M.pageX + 10 + "px");
|
|
4975
4978
|
}).on("mouseout", function() {
|
|
4976
|
-
|
|
4979
|
+
h && ae && ae.style("visibility", "hidden"), xe(this).style("opacity", 1);
|
|
4977
4980
|
}), b && et.on("click", function(M, Y) {
|
|
4978
|
-
const
|
|
4981
|
+
const j = Y.value;
|
|
4979
4982
|
b(M, {
|
|
4980
4983
|
key: Y.key,
|
|
4981
|
-
value:
|
|
4984
|
+
value: j,
|
|
4982
4985
|
data: Y.data
|
|
4983
4986
|
});
|
|
4984
4987
|
}), () => {
|
|
@@ -4988,7 +4991,7 @@ const K1 = "_svgContainer_7fkic_2", W1 = "_svg_7fkic_2", Ht = {
|
|
|
4988
4991
|
n,
|
|
4989
4992
|
c,
|
|
4990
4993
|
s,
|
|
4991
|
-
|
|
4994
|
+
w,
|
|
4992
4995
|
o,
|
|
4993
4996
|
y,
|
|
4994
4997
|
a,
|
|
@@ -5003,12 +5006,12 @@ const K1 = "_svgContainer_7fkic_2", W1 = "_svg_7fkic_2", Ht = {
|
|
|
5003
5006
|
_,
|
|
5004
5007
|
N,
|
|
5005
5008
|
L,
|
|
5006
|
-
|
|
5007
|
-
|
|
5009
|
+
h,
|
|
5010
|
+
k
|
|
5008
5011
|
]), /* @__PURE__ */ i(
|
|
5009
5012
|
"div",
|
|
5010
5013
|
{
|
|
5011
|
-
ref:
|
|
5014
|
+
ref: $,
|
|
5012
5015
|
className: `${Ht.svgContainer} ${d}`,
|
|
5013
5016
|
style: {
|
|
5014
5017
|
width: r,
|
|
@@ -5018,7 +5021,7 @@ const K1 = "_svgContainer_7fkic_2", W1 = "_svg_7fkic_2", Ht = {
|
|
|
5018
5021
|
children: /* @__PURE__ */ i(
|
|
5019
5022
|
"svg",
|
|
5020
5023
|
{
|
|
5021
|
-
ref:
|
|
5024
|
+
ref: S,
|
|
5022
5025
|
className: Ht.svg
|
|
5023
5026
|
}
|
|
5024
5027
|
)
|
|
@@ -5108,16 +5111,16 @@ const G1 = "_externalContainer_1er0i_2", X1 = "_externalSintetic_1er0i_9", Q1 =
|
|
|
5108
5111
|
columnWidth: g = 50
|
|
5109
5112
|
}) => {
|
|
5110
5113
|
const C = l || ((p) => p), y = (p) => p === "demanda_red" || p === "reduccio_demanda_red" ? (a.demanda || "").replace("(", "").replace(")", "") : a[p] || "";
|
|
5111
|
-
return /* @__PURE__ */
|
|
5114
|
+
return /* @__PURE__ */ m(
|
|
5112
5115
|
"div",
|
|
5113
5116
|
{
|
|
5114
5117
|
className: `${Q.externalContainer} ${d === "sin" ? Q.externalSintetic : ""}`,
|
|
5115
5118
|
children: [
|
|
5116
|
-
o === !0 && /* @__PURE__ */
|
|
5119
|
+
o === !0 && /* @__PURE__ */ m(Ge, { children: [
|
|
5117
5120
|
/* @__PURE__ */ i("div", {}),
|
|
5118
5121
|
/* @__PURE__ */ i("div", { className: Q.yearTitles, children: n.map((p, f) => /* @__PURE__ */ i("div", { className: Q.yearTitle, style: { width: g }, children: p.anyo }, f)) })
|
|
5119
5122
|
] }),
|
|
5120
|
-
/* @__PURE__ */ i("div", { className: Q.titles, children: c.map((p, f) => /* @__PURE__ */
|
|
5123
|
+
/* @__PURE__ */ i("div", { className: Q.titles, children: c.map((p, f) => /* @__PURE__ */ m("div", { className: Q.titleContainer, children: [
|
|
5121
5124
|
C(r[p]),
|
|
5122
5125
|
d !== "sin" && /* @__PURE__ */ i(
|
|
5123
5126
|
"span",
|
|
@@ -5129,7 +5132,7 @@ const G1 = "_externalContainer_1er0i_2", X1 = "_externalSintetic_1er0i_9", Q1 =
|
|
|
5129
5132
|
] }, f)) }),
|
|
5130
5133
|
t === !0 && /* @__PURE__ */ i("div", { className: Q.totalContainer, children: c.map((p, f) => {
|
|
5131
5134
|
var b;
|
|
5132
|
-
return /* @__PURE__ */
|
|
5135
|
+
return /* @__PURE__ */ m(
|
|
5133
5136
|
"div",
|
|
5134
5137
|
{
|
|
5135
5138
|
className: `${Q.total} ${u(p, n) > 9999 || u(p, n) < -9999 ? Q.bigNumber : ""}`,
|
|
@@ -5202,8 +5205,8 @@ const ur = "_speedGraphic_d1k72_2", dt = {
|
|
|
5202
5205
|
}) => {
|
|
5203
5206
|
s < n && (s = n), s > c && (s = c);
|
|
5204
5207
|
const u = (s - n) / (c - n), g = 270 + u * 180, C = t ? Math.round(u * 100) : s;
|
|
5205
|
-
return /* @__PURE__ */
|
|
5206
|
-
/* @__PURE__ */
|
|
5208
|
+
return /* @__PURE__ */ m("div", { className: dt.speedGraphic, children: [
|
|
5209
|
+
/* @__PURE__ */ m(
|
|
5207
5210
|
"svg",
|
|
5208
5211
|
{
|
|
5209
5212
|
width: "244",
|
|
@@ -5308,7 +5311,7 @@ const ur = "_speedGraphic_d1k72_2", dt = {
|
|
|
5308
5311
|
]
|
|
5309
5312
|
}
|
|
5310
5313
|
),
|
|
5311
|
-
/* @__PURE__ */
|
|
5314
|
+
/* @__PURE__ */ m("div", { className: dt.value, children: [
|
|
5312
5315
|
C,
|
|
5313
5316
|
t && "%",
|
|
5314
5317
|
o && o
|
|
@@ -5343,7 +5346,7 @@ const hr = "_header_13kbt_2", mr = "_leftComponents_13kbt_13", gr = "_centerComp
|
|
|
5343
5346
|
backgroundColor: d = "#605B56",
|
|
5344
5347
|
isFooter: a = !1
|
|
5345
5348
|
// If true, it will apply footer styles
|
|
5346
|
-
}) => /* @__PURE__ */
|
|
5349
|
+
}) => /* @__PURE__ */ m(
|
|
5347
5350
|
"div",
|
|
5348
5351
|
{
|
|
5349
5352
|
className: ve.header,
|
|
@@ -5391,7 +5394,7 @@ const br = "_sidebar_1kaqu_2", _r = "_open_1kaqu_16", vr = "_content_1kaqu_20",
|
|
|
5391
5394
|
{
|
|
5392
5395
|
className: `${Ue.sidebar} ${s ? Ue.open : ""}`,
|
|
5393
5396
|
style: { width: s ? n : 0 },
|
|
5394
|
-
children: s && /* @__PURE__ */
|
|
5397
|
+
children: s && /* @__PURE__ */ m("div", { className: Ue.content, children: [
|
|
5395
5398
|
/* @__PURE__ */ i("button", { className: Ue.closeButton, onClick: t, children: /* @__PURE__ */ i("img", { src: wr, alt: "Close Sidebar" }) }),
|
|
5396
5399
|
c
|
|
5397
5400
|
] })
|
|
@@ -5428,7 +5431,7 @@ export {
|
|
|
5428
5431
|
F1 as Loader,
|
|
5429
5432
|
vi as LogInButton,
|
|
5430
5433
|
jn as LogoApp,
|
|
5431
|
-
|
|
5434
|
+
Kn as MapboxMap,
|
|
5432
5435
|
Yn as MaplibreMap,
|
|
5433
5436
|
l1 as ModalAlert,
|
|
5434
5437
|
Is as RadioButtonInput,
|
|
@@ -5441,7 +5444,7 @@ export {
|
|
|
5441
5444
|
f2 as StatusText,
|
|
5442
5445
|
C2 as Steps,
|
|
5443
5446
|
M1 as Switch,
|
|
5444
|
-
|
|
5447
|
+
qt as TextInput,
|
|
5445
5448
|
mi as TimeSlider,
|
|
5446
5449
|
ue as Tooltip,
|
|
5447
5450
|
yi as TopNavMenu
|