@tmf_ciclica/ciclicastorybook 1.2.55 → 1.2.57
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 +1046 -1023
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
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_1each_2{position:relative;overflow:scroll;scrollbar-width:none;-ms-overflow-style:none}._barChartContainer_1each_2::-webkit-scrollbar{display:none}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_arwy3_2{overflow:hidden}._indicatorsCategory_arwy3_2 ._title_arwy3_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px;display:grid;grid-template-columns:12px auto}._indicatorsCategory_arwy3_2 ._list_arwy3_13{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_17b40_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_17b40_2 ._indicatorNameContainer_17b40_11{gap:8px;display:grid;grid-template-columns:15px auto;align-items:center}._indicatorContainer_17b40_2 ._dot_17b40_17{border-radius:100px;width:13px;height:13px;display:flex;align-items:center;justify-content:center}._indicatorContainer_17b40_2 ._indicatorName_17b40_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_17b40_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start}._switchExternalContainer_17b40_31 ._switchType_17b40_39{margin:0;width:100%}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:9px;cursor:pointer}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54 ._customRadious_17b40_64{width:13px;height:13px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54 ._optionText_17b40_71{font-weight:400}._indicatorsSubCategory_1nuug_2{overflow:hidden}._indicatorsSubCategory_1nuug_2 h3{text-align:left;display:grid;gap:10px;grid-template-columns:12px auto}._indicatorsSubCategory_1nuug_2 ._list_1nuug_11{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_13b3m_2{width:100%;padding-left:30px}._indicatorsList_13b3m_2 ._title_13b3m_6{border-bottom:1px solid;height:70px;display:flex;align-items:center;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_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_1rj0h_2{width:100%;position:relative}._selectInputContainer_1rj0h_2 ._labelContainer_1rj0h_6{margin-bottom:25px}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9{position:relative}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2{appearance:none;-webkit-appearance:none;-moz-appearance:none;width:100%;padding:9px 40px 9px 9px;border:1.5px solid #605b56;border-radius:4px;cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2 ._option_1rj0h_23{cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._dropdownArrow_1rj0h_26{position:absolute;right:18px;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none}._radioButtonContainer_1e994_2{width:100%}._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;width:100%;flex-wrap:wrap;position:relative;gap:15px}@media (width < 768px){._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start}}._radioButtonContainer_1e994_2 ._questionContainer_1e994_27{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;align-self:flex-start;position:relative}@media (width < 768px){._radioButtonContainer_1e994_2 ._questionContainer_1e994_27{min-width:auto;max-width:215px}}._radioButtonContainer_1e994_2 ._errorContainer_1e994_44{position:absolute;top:-25px;left:0}._radioButtonContainer_1e994_2 ._iconPrivacy_1e994_49{height:100%;padding-right:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._radioButtonContainer_1e994_2 ._radioQuestion_1e994_59{width:100%;flex:1}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;gap:10px;position:relative;height:100%}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label{text-align:left}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label input{margin-right:5px}@media (width < 768px){._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;flex:1}}label,._radioInput_1e994_93{cursor:pointer}._rankingSliderContainer_1lekm_2{display:grid;width:100%}._rankingSliderContainer_1lekm_2 ._labelContainer_1lekm_6{margin-bottom:25px;color:#605b56}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10{width:100%;position:relative;display:flex;gap:14px;align-items:center;flex-wrap:nowrap;justify-content:center;height:48px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._slider_1lekm_20{height:3px;background:#efefef;border-radius:3px;position:relative;min-width:250px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._thumb_1lekm_27{height:15px;width:15px;border-radius:50%;cursor:grab;top:-100%;transform:translateY(-20%);outline:none}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37{display:flex;justify-content:space-between;margin-top:8px;font-size:14px;color:#444}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 span{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:10px;height:20px;position:relative}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 span:before{content:"";background:#efefef;width:10px;height:10px;position:absolute;top:-14.5px;border-radius:50%}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 ._labelsText_1lekm_64{color:#605b56}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._minLabel_1lekm_67,._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._maxLabel_1lekm_67{align-self:baseline;padding-top:10px;color:#605b56;font-size:12px;white-space:nowrap;margin-top:-7px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._minLabel_1lekm_67{text-align:right}._categorySelector_1t164_2{min-height:50px;width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:10px;background-color:#efefef;border-radius:10px;padding:5px}._categorySelector_1t164_2 ._sectionItemActive_1t164_16{color:#fff}._categorySelector_1t164_2 ._sectionItem_1t164_16{border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;padding:5px;min-width:120px;height:100%}._overlay_mnd4j_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#0009;display:flex;align-items:center;justify-content:center;z-index:9999}._modal_mnd4j_15{background:#fff;border-radius:12px;position:relative;padding:24px 32px;display:flex;flex-direction:column;align-items:center;text-align:center;box-shadow:0 4px 20px #0003;overflow:hidden;min-width:300px}._closeButton_mnd4j_29{position:absolute;top:3px;right:8px;background:transparent;border:none;font-size:20px;cursor:pointer}._icon_mnd4j_39{width:60px;height:60px;margin-bottom:16px}._message_mnd4j_45{font-size:18px;font-weight:700;margin-bottom:8px}._submessage_mnd4j_51{font-size:14px;color:#666;margin-bottom:20px}._buttonsContainer_mnd4j_57{display:flex;gap:12px;justify-content:center;flex-wrap:nowrap}._buttonWrapper_mnd4j_64{display:inline-flex}._stepsContainer_1cyua_3{display:flex;flex-direction:column;position:relative}._stepWrapper_1cyua_9{display:flex;align-items:center;position:relative;margin-bottom:1.5rem}._stepWrapper_1cyua_9:last-child{margin-bottom:0}._circleContainer_1cyua_19{position:relative}._circle_1cyua_19{width:28px;height:28px;border-radius:50%;border:2px solid #ccc;background-color:#fff;color:#aaa;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;cursor:pointer;z-index:1}._active_1cyua_39{color:#fff;border:none}._completed_1cyua_44{background-color:#ccc;color:#fff;border:none}._label_1cyua_50{margin-left:10px;font-size:14px;color:#aaa}._labelActive_1cyua_56{font-weight:700;color:#333}._connector_1cyua_61{position:absolute;left:50%;transform:translate(-50%);top:32px;width:1px;height:calc(100% - 10px);background-color:#ccc;z-index:0}._statusTextContainer_ch14r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:128px;height:31px;border-radius:200px}._statusTextContainer_ch14r_2 span{font-size:16px;color:#605b56}._buttonsContainer_1c7dw_2{padding:5px 7px;background-color:#efefef;border-radius:10px;display:flex;gap:8px}._buttonsContainer_1c7dw_2 ._button_1c7dw_2{border-radius:10px;display:flex;align-items:center;cursor:pointer;padding:4px;color:#605b56}._buttonsContainer_1c7dw_2 ._button_1c7dw_2:hover{opacity:.8}._buttonsContainer_1c7dw_2 ._button_1c7dw_2._active_1c7dw_20{background:#b32f5d;color:#efefef}._switchContainer_194wl_2{display:flex;align-items:center;gap:10px;font-size:12px;justify-content:center}._switchContainer_194wl_2 ._labelRight_194wl_9,._switchContainer_194wl_2 ._labelLeft_194wl_9{white-space:nowrap;color:#605b56}._switchContainer_194wl_2 ._labelLeft_194wl_9{text-align:right}._switch_194wl_2{position:relative;display:inline-block;width:44px;height:24px}._switch_194wl_2 input{opacity:0;width:0;height:0}._switch_194wl_2 ._slider_194wl_28{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#fff;border-radius:24px;transition:background-color .3s;border:2px solid #605b56}._switch_194wl_2 ._slider_194wl_28:before{position:absolute;content:"";height:16px;width:16px;left:3px;bottom:2.5px;background-color:var(--switch-thumb-color, #ccc);border-radius:50%;transition:transform .3s,background-color .3s}._switch_194wl_2 input:checked+._slider_194wl_28:before{transform:translate(20px)}._switch_194wl_2._disabled_194wl_54{opacity:.5;pointer-events:none}._overlay_1xyw2_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999}._popup_1xyw2_15{background:#fff;padding:2rem;border-radius:12px;display:flex;flex-direction:column;align-items:center;box-shadow:0 4px 20px #0003}._gif_1xyw2_25{width:120px;height:auto;margin-bottom:1rem}._message_1xyw2_31{font-size:1.1rem;text-align:center}._container_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_1bi78_2{width:100%;box-sizing:border-box;position:relative}._svgContainer_1bi78_2 ._svg_1bi78_2{width:100%;height:100%;overflow:visible;display:block}@media (max-width: 768px){._svgContainer_1bi78_2{padding:10px}}@media (max-width: 480px){._svgContainer_1bi78_2{padding:5px}}.layer rect{transition:opacity .2s ease-in-out}.layer rect:hover{opacity:.8}.x-axis ._domain_1bi78_31,.y-axis ._domain_1bi78_31{stroke:#333;stroke-width:1px}.x-axis ._tick_1bi78_36 line,.y-axis ._tick_1bi78_36 line{stroke:#333;stroke-width:1px}.x-axis ._tick_1bi78_36 text,.y-axis ._tick_1bi78_36 text{fill:#605b56;font-family:Arial,sans-serif}.y-ticks ._tick_1bi78_36 line{stroke:#e0e0e0;stroke-width:.5px}.grid{opacity:.5}.chart-tooltip{font-family:Arial,sans-serif;box-shadow:0 2px 4px #0003}._externalContainer_1r6m2_2{display:grid;grid-template-columns:250px 890px;width:100%;padding:20px;grid-column-gap:5px;overflow-x:scroll;scrollbar-width:none;-ms-overflow-style:none}._externalContainer_1r6m2_2._externalSintetic_1r6m2_12{grid-template-columns:250px 80px 1fr;row-gap:20px}._externalContainer_1r6m2_2 ._titles_1r6m2_16{display:flex;flex-wrap:nowrap;justify-content:end;gap:0;flex-direction:column;align-items:end;padding-right:5px}._externalContainer_1r6m2_2 ._titles_1r6m2_16 ._titleContainer_1r6m2_25{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_1r6m2_2 ._yearTitles_1r6m2_39{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._externalContainer_1r6m2_2 ._yearTitles_1r6m2_39 ._yearTitle_1r6m2_39{transform:rotate(-90deg);color:#605b56;font-size:13px;width:100%}._externalContainer_1r6m2_2 ._yearDatas_1r6m2_53{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._externalContainer_1r6m2_2 ._yearDataContainer_1r6m2_61{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:center;width:100%}._externalContainer_1r6m2_2 ._yearDataContainer_1r6m2_61 ._yearDataContent_1r6m2_70{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_1r6m2_2 ._yearDataContainer_1r6m2_61 ._bigNumber_1r6m2_83{font-size:8px}._externalContainer_1r6m2_2 ._circle_1r6m2_86{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_1r6m2_2::-webkit-scrollbar{display:none}._totalContainer_1r6m2_103{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:center;gap:7px;width:100%}._totalContainer_1r6m2_103 ._total_1r6m2_103{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_1r6m2_128{font-size:11px;color:#605b56;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._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 g, jsx as i, Fragment as
|
|
2
|
+
import { jsxs as g, jsx as i, Fragment as Ue } from "react/jsx-runtime";
|
|
3
3
|
import * as $e from "react";
|
|
4
|
-
import E, { useState as R, useEffect as O, useMemo as Se, useRef as
|
|
4
|
+
import E, { useState as R, useEffect as O, useMemo as Se, useRef as te, useLayoutEffect as h2 } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
|
-
import { useTranslation as F, Trans as
|
|
7
|
-
import { motion as
|
|
8
|
-
import { create as
|
|
9
|
-
import * as
|
|
10
|
-
import { select as
|
|
11
|
-
import
|
|
12
|
-
import { useSelector as
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { Protocol as
|
|
16
|
-
import
|
|
17
|
-
import { createSlice as
|
|
18
|
-
import
|
|
19
|
-
import { createTheme as
|
|
20
|
-
import { ThemeProvider as
|
|
21
|
-
import { NavLink as
|
|
22
|
-
const
|
|
23
|
-
ambitSelector:
|
|
24
|
-
header:
|
|
25
|
-
nameDateContainer:
|
|
26
|
-
ambitName:
|
|
27
|
-
ambitDate:
|
|
28
|
-
buttonsContainer:
|
|
29
|
-
ambitListContainer:
|
|
30
|
-
newAmbitButtonContainer:
|
|
31
|
-
},
|
|
32
|
-
ambitItem:
|
|
33
|
-
ambitNameDate:
|
|
34
|
-
ambitName:
|
|
35
|
-
ambitDate:
|
|
36
|
-
ambitButtons:
|
|
37
|
-
}, z2 = "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", Z2 = "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", j2 = "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", H2 = "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", K2 = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205138'%3e%3cpath%20id='Vector'%20d='M12.95%200.408447C7.659%200.408447%202.84899%202.77185%200.0832465%206.72621C-0.0277488%206.88808%20-0.0277488%207.09621%200.0832465%207.25807C2.84439%2011.2125%207.65437%2013.5712%2012.95%2013.5712C18.2456%2013.5712%2023.0556%2011.2125%2025.8168%207.25807C25.9278%207.0962%2025.9278%206.88807%2025.8168%206.72621C23.051%202.77184%2018.241%200.408447%2012.95%200.408447ZM12.95%2011.2217C10.619%2011.2217%208.71812%209.32083%208.71812%206.98984C8.71812%204.65885%2010.619%202.75796%2012.95%202.75796C15.281%202.75796%2017.1819%204.65883%2017.1819%206.98984C17.1819%209.32085%2015.281%2011.2217%2012.95%2011.2217Z'%20fill='%23B32F5D'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%2010.2966C14.7777%2010.2966%2016.2583%208.81607%2016.2583%206.98974C16.2583%205.1634%2014.7777%203.68286%2012.9514%203.68286C11.1251%203.68286%209.64453%205.1634%209.64453%206.98974C9.64453%208.81607%2011.1251%2010.2966%2012.9514%2010.2966Z'%20fill='%23B32F5D'/%3e%3c/g%3e%3c/svg%3e", U2 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", qt = ({
|
|
6
|
+
import { useTranslation as F, Trans as mt } from "react-i18next";
|
|
7
|
+
import { motion as ht } from "framer-motion";
|
|
8
|
+
import { create as Et } from "zustand";
|
|
9
|
+
import * as Qe from "d3";
|
|
10
|
+
import { select as _e, min as it, max as st, scaleBand as rt, scaleLinear as qt, scaleOrdinal as Pt, axisBottom as zt, axisLeft as ot } from "d3";
|
|
11
|
+
import g2 from "mapbox-gl";
|
|
12
|
+
import { useSelector as C2 } from "react-redux";
|
|
13
|
+
import f2, { Source as y2, Layer as b2, NavigationControl as _2, Popup as v2 } from "react-map-gl/mapbox";
|
|
14
|
+
import Je from "maplibre-gl";
|
|
15
|
+
import { Protocol as x2 } from "pmtiles";
|
|
16
|
+
import w2, { Source as N2, Layer as k2, NavigationControl as $2, Popup as S2 } from "react-map-gl/maplibre";
|
|
17
|
+
import { createSlice as T2 } from "@reduxjs/toolkit";
|
|
18
|
+
import M2 from "@mui/material/Slider";
|
|
19
|
+
import { createTheme as L2, Box as B2 } from "@mui/material";
|
|
20
|
+
import { ThemeProvider as D2 } from "@emotion/react";
|
|
21
|
+
import { NavLink as Zt } from "react-router-dom";
|
|
22
|
+
const V2 = "_ambitSelector_mcunf_2", F2 = "_header_mcunf_13", A2 = "_nameDateContainer_mcunf_23", O2 = "_ambitName_mcunf_39", R2 = "_ambitDate_mcunf_53", I2 = "_buttonsContainer_mcunf_67", E2 = "_ambitListContainer_mcunf_76", q2 = "_newAmbitButtonContainer_mcunf_80", ue = {
|
|
23
|
+
ambitSelector: V2,
|
|
24
|
+
header: F2,
|
|
25
|
+
nameDateContainer: A2,
|
|
26
|
+
ambitName: O2,
|
|
27
|
+
ambitDate: R2,
|
|
28
|
+
buttonsContainer: I2,
|
|
29
|
+
ambitListContainer: E2,
|
|
30
|
+
newAmbitButtonContainer: q2
|
|
31
|
+
}, P2 = "_ambitItem_1qa6u_2", z2 = "_ambitNameDate_1qa6u_16", Z2 = "_ambitName_1qa6u_16", j2 = "_ambitDate_1qa6u_35", H2 = "_ambitButtons_1qa6u_38", Te = {
|
|
32
|
+
ambitItem: P2,
|
|
33
|
+
ambitNameDate: z2,
|
|
34
|
+
ambitName: Z2,
|
|
35
|
+
ambitDate: j2,
|
|
36
|
+
ambitButtons: H2
|
|
37
|
+
}, K2 = "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", U2 = "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", W2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%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", G2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", X2 = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205138'%3e%3cpath%20id='Vector'%20d='M12.95%200.408447C7.659%200.408447%202.84899%202.77185%200.0832465%206.72621C-0.0277488%206.88808%20-0.0277488%207.09621%200.0832465%207.25807C2.84439%2011.2125%207.65437%2013.5712%2012.95%2013.5712C18.2456%2013.5712%2023.0556%2011.2125%2025.8168%207.25807C25.9278%207.0962%2025.9278%206.88807%2025.8168%206.72621C23.051%202.77184%2018.241%200.408447%2012.95%200.408447ZM12.95%2011.2217C10.619%2011.2217%208.71812%209.32083%208.71812%206.98984C8.71812%204.65885%2010.619%202.75796%2012.95%202.75796C15.281%202.75796%2017.1819%204.65883%2017.1819%206.98984C17.1819%209.32085%2015.281%2011.2217%2012.95%2011.2217Z'%20fill='%23B32F5D'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%2010.2966C14.7777%2010.2966%2016.2583%208.81607%2016.2583%206.98974C16.2583%205.1634%2014.7777%203.68286%2012.9514%203.68286C11.1251%203.68286%209.64453%205.1634%209.64453%206.98974C9.64453%208.81607%2011.1251%2010.2966%2012.9514%2010.2966Z'%20fill='%23B32F5D'/%3e%3c/g%3e%3c/svg%3e", Q2 = "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", jt = ({
|
|
38
38
|
ambit: n,
|
|
39
39
|
onClickCopy: c,
|
|
40
40
|
onClickDelete: s,
|
|
@@ -49,33 +49,33 @@ const L2 = "_ambitSelector_mcunf_2", B2 = "_header_mcunf_13", M2 = "_nameDateCon
|
|
|
49
49
|
return /* @__PURE__ */ g(
|
|
50
50
|
"div",
|
|
51
51
|
{
|
|
52
|
-
className:
|
|
52
|
+
className: Te.ambitItem,
|
|
53
53
|
style: { borderBottom: `1px solid ${a}` },
|
|
54
54
|
children: [
|
|
55
|
-
/* @__PURE__ */ g("div", { className:
|
|
56
|
-
/* @__PURE__ */ g("div", { className:
|
|
55
|
+
/* @__PURE__ */ g("div", { className: Te.ambitNameDate, onClick: () => t(m), children: [
|
|
56
|
+
/* @__PURE__ */ g("div", { className: Te.ambitName, children: [
|
|
57
57
|
/* @__PURE__ */ i(
|
|
58
58
|
"img",
|
|
59
59
|
{
|
|
60
60
|
style: { marginRight: 9 },
|
|
61
|
-
src: o ?
|
|
61
|
+
src: o ? X2 : Q2
|
|
62
62
|
}
|
|
63
63
|
),
|
|
64
64
|
/* @__PURE__ */ i("span", { style: { color: o ? d : a }, children: u })
|
|
65
65
|
] }),
|
|
66
|
-
/* @__PURE__ */ i("div", { className:
|
|
66
|
+
/* @__PURE__ */ i("div", { className: Te.ambitDate, children: f ? new Date(f).toLocaleDateString() : "" })
|
|
67
67
|
] }),
|
|
68
|
-
/* @__PURE__ */ g("div", { className:
|
|
69
|
-
p && /* @__PURE__ */ i("img", { src:
|
|
70
|
-
/* @__PURE__ */ i("button", { onClick: () => r(m), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src:
|
|
71
|
-
/* @__PURE__ */ i("button", { onClick: () => c(m), children: /* @__PURE__ */ i("img", { src:
|
|
72
|
-
/* @__PURE__ */ i("button", { onClick: () => s(m), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src:
|
|
68
|
+
/* @__PURE__ */ g("div", { className: Te.ambitButtons, children: [
|
|
69
|
+
p && /* @__PURE__ */ i("img", { src: G2 }),
|
|
70
|
+
/* @__PURE__ */ i("button", { onClick: () => r(m), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: W2 }) }),
|
|
71
|
+
/* @__PURE__ */ i("button", { onClick: () => c(m), children: /* @__PURE__ */ i("img", { src: U2 }) }),
|
|
72
|
+
/* @__PURE__ */ i("button", { onClick: () => s(m), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: K2 }) })
|
|
73
73
|
] })
|
|
74
74
|
]
|
|
75
75
|
}
|
|
76
76
|
);
|
|
77
77
|
};
|
|
78
|
-
|
|
78
|
+
jt.propTypes = {
|
|
79
79
|
ambit: e.shape({
|
|
80
80
|
name: e.string.isRequired,
|
|
81
81
|
created_at: e.string,
|
|
@@ -93,9 +93,9 @@ qt.propTypes = {
|
|
|
93
93
|
moreInfo: e.object
|
|
94
94
|
// Optional, can be used for additional info
|
|
95
95
|
};
|
|
96
|
-
const
|
|
97
|
-
generalButton:
|
|
98
|
-
},
|
|
96
|
+
const _t = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", J2 = "_generalButton_phq4n_2", Y2 = {
|
|
97
|
+
generalButton: J2
|
|
98
|
+
}, We = ({
|
|
99
99
|
children: n,
|
|
100
100
|
onClick: c,
|
|
101
101
|
fontColor: s = "#605B56",
|
|
@@ -107,7 +107,7 @@ const ft = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
107
107
|
}) => /* @__PURE__ */ i(
|
|
108
108
|
"button",
|
|
109
109
|
{
|
|
110
|
-
className:
|
|
110
|
+
className: Y2.generalButton,
|
|
111
111
|
style: {
|
|
112
112
|
color: s,
|
|
113
113
|
border: `1.5px solid ${r}`,
|
|
@@ -119,7 +119,7 @@ const ft = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
119
119
|
disabled: a,
|
|
120
120
|
children: n
|
|
121
121
|
}
|
|
122
|
-
),
|
|
122
|
+
), e0 = ({
|
|
123
123
|
ambitList: n,
|
|
124
124
|
activeAmbitId: c,
|
|
125
125
|
fontColor: s = "#605B56",
|
|
@@ -148,31 +148,31 @@ const ft = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
148
148
|
return /* @__PURE__ */ g(
|
|
149
149
|
"div",
|
|
150
150
|
{
|
|
151
|
-
className:
|
|
151
|
+
className: ue.ambitSelector,
|
|
152
152
|
style: { color: s, ...l },
|
|
153
153
|
children: [
|
|
154
154
|
/* @__PURE__ */ g(
|
|
155
155
|
"div",
|
|
156
156
|
{
|
|
157
|
-
className:
|
|
157
|
+
className: ue.header,
|
|
158
158
|
style: { borderBottom: `1px solid ${s}` },
|
|
159
159
|
children: [
|
|
160
|
-
/* @__PURE__ */ g("div", { className:
|
|
161
|
-
/* @__PURE__ */ i("div", { className:
|
|
160
|
+
/* @__PURE__ */ g("div", { className: ue.nameDateContainer, children: [
|
|
161
|
+
/* @__PURE__ */ i("div", { className: ue.ambitName, children: /* @__PURE__ */ g("button", { onClick: () => b("name"), children: [
|
|
162
162
|
/* @__PURE__ */ i("span", { children: h(t) }),
|
|
163
|
-
/* @__PURE__ */ i("img", { src:
|
|
163
|
+
/* @__PURE__ */ i("img", { src: _t })
|
|
164
164
|
] }) }),
|
|
165
|
-
/* @__PURE__ */ i("div", { className:
|
|
165
|
+
/* @__PURE__ */ i("div", { className: ue.ambitDate, children: /* @__PURE__ */ g("button", { onClick: () => b("date"), children: [
|
|
166
166
|
/* @__PURE__ */ i("span", { children: h(o) }),
|
|
167
|
-
/* @__PURE__ */ i("img", { src:
|
|
167
|
+
/* @__PURE__ */ i("img", { src: _t })
|
|
168
168
|
] }) })
|
|
169
169
|
] }),
|
|
170
|
-
/* @__PURE__ */ i("div", { className:
|
|
170
|
+
/* @__PURE__ */ i("div", { className: ue.buttonsContainer })
|
|
171
171
|
]
|
|
172
172
|
}
|
|
173
173
|
),
|
|
174
|
-
/* @__PURE__ */ i("div", { className:
|
|
175
|
-
|
|
174
|
+
/* @__PURE__ */ i("div", { className: ue.ambitListContainer, children: v && v.length > 0 && v.map((k) => /* @__PURE__ */ i(
|
|
175
|
+
jt,
|
|
176
176
|
{
|
|
177
177
|
isActive: c == k.id,
|
|
178
178
|
ambit: k,
|
|
@@ -185,8 +185,8 @@ const ft = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
185
185
|
},
|
|
186
186
|
`ambitKey${k.id}`
|
|
187
187
|
)) }),
|
|
188
|
-
/* @__PURE__ */ i("div", { className:
|
|
189
|
-
|
|
188
|
+
/* @__PURE__ */ i("div", { className: ue.newAmbitButtonContainer, children: /* @__PURE__ */ i(
|
|
189
|
+
We,
|
|
190
190
|
{
|
|
191
191
|
style: { ...a },
|
|
192
192
|
onClick: u,
|
|
@@ -198,7 +198,7 @@ const ft = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
198
198
|
}
|
|
199
199
|
);
|
|
200
200
|
};
|
|
201
|
-
|
|
201
|
+
e0.propTypes = {
|
|
202
202
|
ambitList: e.arrayOf(
|
|
203
203
|
e.shape({
|
|
204
204
|
name: e.string.isRequired,
|
|
@@ -220,28 +220,28 @@ X2.propTypes = {
|
|
|
220
220
|
containerStyles: e.object,
|
|
221
221
|
onCLickNewAmbit: e.func
|
|
222
222
|
};
|
|
223
|
-
const
|
|
224
|
-
buttonsContainer:
|
|
225
|
-
vertical:
|
|
226
|
-
horizontal:
|
|
227
|
-
button:
|
|
228
|
-
active:
|
|
229
|
-
buttonName:
|
|
230
|
-
},
|
|
231
|
-
left:
|
|
232
|
-
top:
|
|
233
|
-
bottom:
|
|
234
|
-
right:
|
|
223
|
+
const t0 = "_buttonsContainer_1ks7x_2", n0 = "_vertical_1ks7x_6", i0 = "_horizontal_1ks7x_9", s0 = "_button_1ks7x_2", r0 = "_active_1ks7x_25", o0 = "_buttonName_1ks7x_28", ge = {
|
|
224
|
+
buttonsContainer: t0,
|
|
225
|
+
vertical: n0,
|
|
226
|
+
horizontal: i0,
|
|
227
|
+
button: s0,
|
|
228
|
+
active: r0,
|
|
229
|
+
buttonName: o0
|
|
230
|
+
}, a0 = "_left_1l4m4_2", l0 = "_top_1l4m4_40", c0 = "_bottom_1l4m4_79", d0 = "_right_1l4m4_118", u0 = {
|
|
231
|
+
left: a0,
|
|
232
|
+
top: l0,
|
|
233
|
+
bottom: c0,
|
|
234
|
+
right: d0
|
|
235
235
|
}, de = ({ text: n, position: c, styleCustom: s = null }) => {
|
|
236
236
|
const { t: r } = F();
|
|
237
|
-
return /* @__PURE__ */ i("div", { className: `tooltip ${
|
|
237
|
+
return /* @__PURE__ */ i("div", { className: `tooltip ${u0[c]}`, style: s, children: r(n) });
|
|
238
238
|
};
|
|
239
239
|
de.propTypes = {
|
|
240
240
|
text: e.string.isRequired,
|
|
241
241
|
position: e.oneOf(["top", "bottom", "left", "right"]).isRequired,
|
|
242
242
|
styleCustom: e.object
|
|
243
243
|
};
|
|
244
|
-
const
|
|
244
|
+
const p0 = ({
|
|
245
245
|
buttons: n = [],
|
|
246
246
|
orientation: c = "horizontal",
|
|
247
247
|
showName: s = !0,
|
|
@@ -253,8 +253,8 @@ const l0 = ({
|
|
|
253
253
|
return /* @__PURE__ */ i(
|
|
254
254
|
"div",
|
|
255
255
|
{
|
|
256
|
-
className: `${
|
|
257
|
-
${c === "horizontal" &&
|
|
256
|
+
className: `${ge.buttonsContainer} ${c === "vertical" && ge.vertical}
|
|
257
|
+
${c === "horizontal" && ge.horizontal}`,
|
|
258
258
|
children: n.map((a, l) => {
|
|
259
259
|
const {
|
|
260
260
|
icon: u,
|
|
@@ -263,18 +263,18 @@ const l0 = ({
|
|
|
263
263
|
name: p,
|
|
264
264
|
onClick: C,
|
|
265
265
|
disabled: h
|
|
266
|
-
} = a, v = /* @__PURE__ */ g(
|
|
267
|
-
s && r === "left" && /* @__PURE__ */ i("span", { className:
|
|
266
|
+
} = a, v = /* @__PURE__ */ g(Ue, { children: [
|
|
267
|
+
s && r === "left" && /* @__PURE__ */ i("span", { className: ge.buttonName, children: d(p) }),
|
|
268
268
|
/* @__PURE__ */ i("img", { src: m ? f : u, alt: d(p) }),
|
|
269
|
-
s && r === "right" && /* @__PURE__ */ i("span", { className:
|
|
269
|
+
s && r === "right" && /* @__PURE__ */ i("span", { className: ge.buttonName, children: d(p) })
|
|
270
270
|
] });
|
|
271
271
|
return /* @__PURE__ */ g("div", { className: "tooltip-parent", children: [
|
|
272
272
|
/* @__PURE__ */ i(
|
|
273
273
|
"button",
|
|
274
274
|
{
|
|
275
275
|
onClick: C,
|
|
276
|
-
className: `${
|
|
277
|
-
${m &&
|
|
276
|
+
className: `${ge.button}
|
|
277
|
+
${m && ge.active}`,
|
|
278
278
|
disabled: h,
|
|
279
279
|
children: v
|
|
280
280
|
}
|
|
@@ -285,7 +285,7 @@ const l0 = ({
|
|
|
285
285
|
}
|
|
286
286
|
);
|
|
287
287
|
};
|
|
288
|
-
|
|
288
|
+
p0.propTypes = {
|
|
289
289
|
buttons: e.arrayOf(
|
|
290
290
|
e.shape({
|
|
291
291
|
icon: e.node.isRequired,
|
|
@@ -303,10 +303,10 @@ l0.propTypes = {
|
|
|
303
303
|
useTooltip: e.bool,
|
|
304
304
|
tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
|
|
305
305
|
};
|
|
306
|
-
const
|
|
307
|
-
indicatorsCategory:
|
|
308
|
-
title:
|
|
309
|
-
mainTitle:
|
|
306
|
+
const m0 = "_indicatorsCategory_11gdl_2", h0 = "_title_11gdl_6", g0 = "_mainTitle_11gdl_14", Ie = {
|
|
307
|
+
indicatorsCategory: m0,
|
|
308
|
+
title: h0,
|
|
309
|
+
mainTitle: g0
|
|
310
310
|
}, ve = ({
|
|
311
311
|
isOpen: n,
|
|
312
312
|
onClick: c,
|
|
@@ -324,9 +324,9 @@ const c0 = "_indicatorsCategory_11gdl_2", d0 = "_title_11gdl_6", u0 = "_mainTitl
|
|
|
324
324
|
}) => {
|
|
325
325
|
const { t: m } = F();
|
|
326
326
|
return /* @__PURE__ */ g(
|
|
327
|
-
|
|
327
|
+
ht.div,
|
|
328
328
|
{
|
|
329
|
-
className:
|
|
329
|
+
className: Ie.indicatorsCategory,
|
|
330
330
|
initial: { height: `${d}px` },
|
|
331
331
|
animate: { height: n ? "auto" : `${d}px` },
|
|
332
332
|
transition: { duration: 0.4 },
|
|
@@ -343,7 +343,7 @@ const c0 = "_indicatorsCategory_11gdl_2", d0 = "_title_11gdl_6", u0 = "_mainTitl
|
|
|
343
343
|
...a
|
|
344
344
|
//marginBottom: titleMarginChildren ? titleMarginChildren : "auto",
|
|
345
345
|
},
|
|
346
|
-
className: `${
|
|
346
|
+
className: `${Ie.title} ${f && Ie.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 c0 = "_indicatorsCategory_11gdl_2", d0 = "_title_11gdl_6", u0 = "_mainTitl
|
|
|
351
351
|
]
|
|
352
352
|
}
|
|
353
353
|
),
|
|
354
|
-
/* @__PURE__ */ i("div", { className:
|
|
354
|
+
/* @__PURE__ */ i("div", { className: Ie.content, style: { padding: f ? "20px 0px" : "0px" }, children: s })
|
|
355
355
|
]
|
|
356
356
|
}
|
|
357
357
|
);
|
|
@@ -367,10 +367,10 @@ ve.propTypes = {
|
|
|
367
367
|
showBottomBar: e.bool,
|
|
368
368
|
titleFontStyles: e.object
|
|
369
369
|
};
|
|
370
|
-
const
|
|
371
|
-
AppliedFiltersContainer:
|
|
372
|
-
AppliedFilterContent:
|
|
373
|
-
},
|
|
370
|
+
const Bo = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), C0 = "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", f0 = "_AppliedFiltersContainer_cokx9_2", y0 = "_AppliedFilterContent_cokx9_11", vt = {
|
|
371
|
+
AppliedFiltersContainer: f0,
|
|
372
|
+
AppliedFilterContent: y0
|
|
373
|
+
}, P = Et((n) => ({
|
|
374
374
|
activeCategory: "",
|
|
375
375
|
activeSubCategory: "",
|
|
376
376
|
selectedIndicator: "",
|
|
@@ -378,9 +378,9 @@ const So = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), p0 = "data
|
|
|
378
378
|
fontColor: "#605B56",
|
|
379
379
|
inputsColor: "#605B56",
|
|
380
380
|
activeFiltersType: null
|
|
381
|
-
})),
|
|
382
|
-
const { t: a } = F(), { tematicalFiltersSelected: l, activeFiltersType: u } =
|
|
383
|
-
|
|
381
|
+
})), Ht = ({ 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 } = P((p) => p), f = (p) => {
|
|
383
|
+
P.setState((C) => ({
|
|
384
384
|
tematicalFiltersSelected: C.tematicalFiltersSelected.filter(
|
|
385
385
|
(h) => h.code !== p
|
|
386
386
|
)
|
|
@@ -391,20 +391,20 @@ const So = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), p0 = "data
|
|
|
391
391
|
{
|
|
392
392
|
isOpen: s,
|
|
393
393
|
onClick: () => {
|
|
394
|
-
u == "applied" ?
|
|
394
|
+
u == "applied" ? P.setState(() => ({ activeFiltersType: null })) : P.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:
|
|
400
|
+
children: /* @__PURE__ */ i("div", { className: vt.AppliedFiltersContainer, children: l == null ? void 0 : l.map((p, C) => /* @__PURE__ */ g("div", { className: vt.AppliedFilterContent, style: { color: r, background: t }, children: [
|
|
401
401
|
a(p.name),
|
|
402
|
-
/* @__PURE__ */ i("img", { src:
|
|
402
|
+
/* @__PURE__ */ i("img", { src: C0, alt: "CloseIcon", onClick: () => f(p.code), style: { cursor: "pointer" } })
|
|
403
403
|
] }, C)) })
|
|
404
404
|
}
|
|
405
405
|
);
|
|
406
406
|
};
|
|
407
|
-
|
|
407
|
+
Ht.propTypes = {
|
|
408
408
|
isOpen: e.bool,
|
|
409
409
|
onClick: e.func,
|
|
410
410
|
title: e.string,
|
|
@@ -418,10 +418,10 @@ zt.propTypes = {
|
|
|
418
418
|
),
|
|
419
419
|
activeColor: e.string
|
|
420
420
|
};
|
|
421
|
-
const
|
|
422
|
-
layersList:
|
|
423
|
-
layerName:
|
|
424
|
-
},
|
|
421
|
+
const b0 = "_layersList_cn837_25", _0 = "_layerName_cn837_34", xt = {
|
|
422
|
+
layersList: b0,
|
|
423
|
+
layerName: _0
|
|
424
|
+
}, Kt = ({
|
|
425
425
|
title: n,
|
|
426
426
|
isOpen: c = !0,
|
|
427
427
|
fontColor: s = "#605B56",
|
|
@@ -430,8 +430,8 @@ const g0 = "_layersList_cn837_25", C0 = "_layerName_cn837_34", bt = {
|
|
|
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 } = P((m) => m), u = () => {
|
|
434
|
+
l === "geographical" ? P.setState({ activeFiltersType: null }) : P.setState({ activeFiltersType: "geographical" });
|
|
435
435
|
}, f = (m) => {
|
|
436
436
|
const p = o.map((C) => ({
|
|
437
437
|
...C,
|
|
@@ -448,10 +448,10 @@ const g0 = "_layersList_cn837_25", C0 = "_layerName_cn837_34", bt = {
|
|
|
448
448
|
activeColor: t,
|
|
449
449
|
color: s,
|
|
450
450
|
mainTitle: !0,
|
|
451
|
-
children: /* @__PURE__ */ i("div", { className:
|
|
451
|
+
children: /* @__PURE__ */ i("div", { className: xt.layersList, children: o.map((m) => /* @__PURE__ */ i(
|
|
452
452
|
"div",
|
|
453
453
|
{
|
|
454
|
-
className:
|
|
454
|
+
className: xt.layerName,
|
|
455
455
|
style: {
|
|
456
456
|
color: m.active ? t : s,
|
|
457
457
|
fontWeight: m.active ? "bold" : "normal"
|
|
@@ -464,7 +464,7 @@ const g0 = "_layersList_cn837_25", C0 = "_layerName_cn837_34", bt = {
|
|
|
464
464
|
}
|
|
465
465
|
);
|
|
466
466
|
};
|
|
467
|
-
|
|
467
|
+
Kt.propTypes = {
|
|
468
468
|
isOpen: e.bool,
|
|
469
469
|
onClick: e.func,
|
|
470
470
|
title: e.string,
|
|
@@ -472,22 +472,22 @@ Zt.propTypes = {
|
|
|
472
472
|
backgroundColor: e.string,
|
|
473
473
|
activeColor: e.string
|
|
474
474
|
};
|
|
475
|
-
const
|
|
476
|
-
checkboxContainer:
|
|
477
|
-
},
|
|
475
|
+
const v0 = "_checkboxContainer_1nxra_2", x0 = {
|
|
476
|
+
checkboxContainer: v0
|
|
477
|
+
}, Ut = ({
|
|
478
478
|
onClick: n,
|
|
479
479
|
containerStyles: c,
|
|
480
480
|
color: s = "#605B56",
|
|
481
481
|
indicator: r,
|
|
482
482
|
value: t
|
|
483
483
|
}) => {
|
|
484
|
-
const { t: o } = F(), { title: d } = r || {}, { fontColor: a, inputsColor: l } =
|
|
484
|
+
const { t: o } = F(), { title: d } = r || {}, { fontColor: a, inputsColor: l } = P((u) => u);
|
|
485
485
|
return /* @__PURE__ */ g(
|
|
486
486
|
"div",
|
|
487
487
|
{
|
|
488
488
|
style: { ...c, color: s },
|
|
489
489
|
role: "checkbox",
|
|
490
|
-
className:
|
|
490
|
+
className: x0.checkboxContainer,
|
|
491
491
|
onClick: n,
|
|
492
492
|
children: [
|
|
493
493
|
/* @__PURE__ */ i(
|
|
@@ -508,7 +508,7 @@ const f0 = "_checkboxContainer_1nxra_2", y0 = {
|
|
|
508
508
|
}
|
|
509
509
|
);
|
|
510
510
|
};
|
|
511
|
-
|
|
511
|
+
Ut.propTypes = {
|
|
512
512
|
onClick: e.func,
|
|
513
513
|
value: e.bool,
|
|
514
514
|
containerStyles: e.object,
|
|
@@ -519,21 +519,21 @@ jt.propTypes = {
|
|
|
519
519
|
}),
|
|
520
520
|
checkedColor: e.string
|
|
521
521
|
};
|
|
522
|
-
function
|
|
523
|
-
return
|
|
522
|
+
function at(n, c) {
|
|
523
|
+
return at = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(s, r) {
|
|
524
524
|
return s.__proto__ = r, s;
|
|
525
|
-
},
|
|
525
|
+
}, at(n, c);
|
|
526
526
|
}
|
|
527
|
-
function
|
|
528
|
-
n.prototype = Object.create(c.prototype), n.prototype.constructor = n,
|
|
527
|
+
function w0(n, c) {
|
|
528
|
+
n.prototype = Object.create(c.prototype), n.prototype.constructor = n, at(n, c);
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function Ye(n) {
|
|
531
531
|
return n && n.stopPropagation && n.stopPropagation(), n && n.preventDefault && n.preventDefault(), !1;
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function et(n) {
|
|
534
534
|
return n == null ? [] : Array.isArray(n) ? n.slice() : [n];
|
|
535
535
|
}
|
|
536
|
-
function
|
|
536
|
+
function Ee(n) {
|
|
537
537
|
return n !== null && n.length === 1 ? n[0] : n.slice();
|
|
538
538
|
}
|
|
539
539
|
function qe(n) {
|
|
@@ -541,18 +541,18 @@ function qe(n) {
|
|
|
541
541
|
typeof document < "u" && document.addEventListener(c, n[c], !1);
|
|
542
542
|
});
|
|
543
543
|
}
|
|
544
|
-
function
|
|
545
|
-
return
|
|
544
|
+
function Ce(n, c) {
|
|
545
|
+
return lt(function(s, r) {
|
|
546
546
|
let t = s;
|
|
547
547
|
return t <= r.min && (t = r.min), t >= r.max && (t = r.max), t;
|
|
548
548
|
}(n, c), c);
|
|
549
549
|
}
|
|
550
|
-
function
|
|
550
|
+
function lt(n, c) {
|
|
551
551
|
const s = (n - c.min) % c.step;
|
|
552
552
|
let r = n - s;
|
|
553
553
|
return 2 * Math.abs(s) >= c.step && (r += s > 0 ? c.step : -c.step), parseFloat(r.toFixed(5));
|
|
554
554
|
}
|
|
555
|
-
let
|
|
555
|
+
let ct = function(n) {
|
|
556
556
|
function c(r) {
|
|
557
557
|
var t;
|
|
558
558
|
(t = n.call(this, r) || this).onKeyUp = () => {
|
|
@@ -612,20 +612,20 @@ let lt = function(n) {
|
|
|
612
612
|
t.start(u, l[0]), qe(t.getMouseEventMap());
|
|
613
613
|
});
|
|
614
614
|
}
|
|
615
|
-
|
|
615
|
+
Ye(a);
|
|
616
616
|
}
|
|
617
617
|
}, t.onSliderClick = (a) => {
|
|
618
618
|
if (!t.props.disabled && t.props.onSliderClick && !t.hasMoved) {
|
|
619
|
-
const l = t.getMousePosition(a), u =
|
|
619
|
+
const l = t.getMousePosition(a), u = Ce(t.calcValue(t.calcOffsetFromPosition(l[0])), t.props);
|
|
620
620
|
t.props.onSliderClick(u);
|
|
621
621
|
}
|
|
622
622
|
}, t.createOnKeyDown = (a) => (l) => {
|
|
623
|
-
t.props.disabled || (t.start(a), qe(t.getKeyDownEventMap()),
|
|
623
|
+
t.props.disabled || (t.start(a), qe(t.getKeyDownEventMap()), Ye(l));
|
|
624
624
|
}, t.createOnMouseDown = (a) => (l) => {
|
|
625
625
|
if (t.props.disabled || l.button === 2) return;
|
|
626
626
|
t.setState({ pending: !0 });
|
|
627
627
|
const u = t.getMousePosition(l);
|
|
628
|
-
t.start(a, u[0]), qe(t.getMouseEventMap()),
|
|
628
|
+
t.start(a, u[0]), qe(t.getMouseEventMap()), Ye(l);
|
|
629
629
|
}, t.createOnTouchStart = (a) => (l) => {
|
|
630
630
|
if (t.props.disabled || l.touches.length > 1) return;
|
|
631
631
|
t.setState({ pending: !0 });
|
|
@@ -641,25 +641,25 @@ let lt = function(n) {
|
|
|
641
641
|
}, t.renderThumb = (a, l) => {
|
|
642
642
|
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + l + " " + (t.state.index === l ? t.props.thumbActiveClassName : ""), f = { ref: (p) => {
|
|
643
643
|
t["thumb" + l] = p;
|
|
644
|
-
}, key: t.props.thumbClassName + "-" + l, className: u, style: a, onMouseDown: t.createOnMouseDown(l), onTouchStart: t.createOnTouchStart(l), onFocus: t.createOnKeyDown(l), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[l], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[l] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[l] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, m = { index: l, value:
|
|
644
|
+
}, key: t.props.thumbClassName + "-" + l, className: u, style: a, onMouseDown: t.createOnMouseDown(l), onTouchStart: t.createOnTouchStart(l), onFocus: t.createOnKeyDown(l), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[l], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[l] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[l] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, m = { index: l, value: Ee(t.state.value), valueNow: t.state.value[l] };
|
|
645
645
|
return t.props.ariaValuetext && (f["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(m)), t.props.renderThumb(f, m);
|
|
646
646
|
}, t.renderTrack = (a, l, u) => {
|
|
647
|
-
const f = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(l, t.state.upperBound - u) }, m = { index: a, value:
|
|
647
|
+
const f = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(l, t.state.upperBound - u) }, m = { index: a, value: Ee(t.state.value) };
|
|
648
648
|
return t.props.renderTrack(f, m);
|
|
649
649
|
};
|
|
650
|
-
let o =
|
|
651
|
-
o.length || (o =
|
|
650
|
+
let o = et(r.value);
|
|
651
|
+
o.length || (o = et(r.defaultValue)), t.pendingResizeTimeouts = [];
|
|
652
652
|
const d = [];
|
|
653
|
-
for (let a = 0; a < o.length; a += 1) o[a] =
|
|
653
|
+
for (let a = 0; a < o.length; a += 1) o[a] = Ce(o[a], r), d.push(a);
|
|
654
654
|
return t.resizeObserver = null, t.resizeElementRef = E.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: o, zIndices: d }, t;
|
|
655
655
|
}
|
|
656
|
-
|
|
656
|
+
w0(c, n);
|
|
657
657
|
var s = c.prototype;
|
|
658
658
|
return s.componentDidMount = function() {
|
|
659
659
|
typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
|
|
660
660
|
}, c.getDerivedStateFromProps = function(r, t) {
|
|
661
|
-
const o =
|
|
662
|
-
return o.length ? t.pending ? null : { value: o.map((d) =>
|
|
661
|
+
const o = et(r.value);
|
|
662
|
+
return o.length ? t.pending ? null : { value: o.map((d) => Ce(d, r)) } : null;
|
|
663
663
|
}, s.componentDidUpdate = function() {
|
|
664
664
|
this.state.upperBound === 0 && this.resize();
|
|
665
665
|
}, s.componentWillUnmount = function() {
|
|
@@ -671,7 +671,7 @@ let lt = function(n) {
|
|
|
671
671
|
});
|
|
672
672
|
}(r), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
|
|
673
673
|
}, s.getValue = function() {
|
|
674
|
-
return
|
|
674
|
+
return Ee(this.state.value);
|
|
675
675
|
}, s.getClosestIndex = function(r) {
|
|
676
676
|
let t = Number.MAX_VALUE, o = -1;
|
|
677
677
|
const { value: d } = this.state, a = d.length;
|
|
@@ -693,7 +693,7 @@ let lt = function(n) {
|
|
|
693
693
|
return { touchmove: this.onTouchMove, touchend: this.onTouchEnd };
|
|
694
694
|
}, s.getValueFromPosition = function(r) {
|
|
695
695
|
const t = r / (this.state.sliderLength - this.state.thumbSize) * (this.props.max - this.props.min);
|
|
696
|
-
return
|
|
696
|
+
return Ce(this.state.startValue + t, this.props);
|
|
697
697
|
}, s.getDiffPosition = function(r) {
|
|
698
698
|
let t = r - this.state.startPosition;
|
|
699
699
|
return this.props.invert && (t *= -1), t;
|
|
@@ -712,7 +712,7 @@ let lt = function(n) {
|
|
|
712
712
|
let l = r - (window["page" + this.axisKey() + "Offset"] + (this.props.invert ? d : a));
|
|
713
713
|
return this.props.invert && (l = this.state.sliderLength - l), l -= this.state.thumbSize / 2, l;
|
|
714
714
|
}, s.forceValueFromPosition = function(r, t) {
|
|
715
|
-
const o = this.calcOffsetFromPosition(r), d = this.getClosestIndex(o), a =
|
|
715
|
+
const o = this.calcOffsetFromPosition(r), d = this.getClosestIndex(o), a = Ce(this.calcValue(o), this.props), l = this.state.value.slice();
|
|
716
716
|
l[d] = a;
|
|
717
717
|
for (let u = 0; u < l.length - 1; u += 1) if (l[u + 1] - l[u] < this.props.minDistance) return;
|
|
718
718
|
this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value: l }, () => {
|
|
@@ -730,11 +730,11 @@ let lt = function(n) {
|
|
|
730
730
|
d.splice(d.indexOf(r), 1), d.push(r), this.setState((a) => ({ startValue: a.value[r], startPosition: t !== void 0 ? t : a.startPosition, index: r, zIndices: d }));
|
|
731
731
|
}, s.moveUpByStep = function(r) {
|
|
732
732
|
r === void 0 && (r = this.props.step);
|
|
733
|
-
const t = this.state.value[this.state.index], o =
|
|
733
|
+
const t = this.state.value[this.state.index], o = Ce(this.props.invert && this.props.orientation === "horizontal" ? t - r : t + r, this.props);
|
|
734
734
|
this.move(Math.min(o, this.props.max));
|
|
735
735
|
}, s.moveDownByStep = function(r) {
|
|
736
736
|
r === void 0 && (r = this.props.step);
|
|
737
|
-
const t = this.state.value[this.state.index], o =
|
|
737
|
+
const t = this.state.value[this.state.index], o = Ce(this.props.invert && this.props.orientation === "horizontal" ? t + r : t - r, this.props);
|
|
738
738
|
this.move(Math.max(o, this.props.min));
|
|
739
739
|
}, s.move = function(r) {
|
|
740
740
|
const t = this.state.value.slice(), { index: o } = this.state, { length: d } = t, a = t[o];
|
|
@@ -764,9 +764,9 @@ let lt = function(n) {
|
|
|
764
764
|
}(d, t, m, f))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
765
765
|
}, s.pushSucceeding = function(r, t, o) {
|
|
766
766
|
let d, a;
|
|
767
|
-
for (d = o, a = r[d] + t; r[d + 1] !== null && a > r[d + 1]; d += 1, a = r[d] + t) r[d + 1] =
|
|
767
|
+
for (d = o, a = r[d] + t; r[d + 1] !== null && a > r[d + 1]; d += 1, a = r[d] + t) r[d + 1] = lt(a, this.props);
|
|
768
768
|
}, s.pushPreceding = function(r, t, o) {
|
|
769
|
-
for (let d = o, a = r[d] - t; r[d - 1] !== null && a < r[d - 1]; d -= 1, a = r[d] - t) r[d - 1] =
|
|
769
|
+
for (let d = o, a = r[d] - t; r[d - 1] !== null && a < r[d - 1]; d -= 1, a = r[d] - t) r[d - 1] = lt(a, this.props);
|
|
770
770
|
}, s.axisKey = function() {
|
|
771
771
|
return this.props.orientation === "vertical" ? "Y" : "X";
|
|
772
772
|
}, s.orthogonalAxisKey = function() {
|
|
@@ -778,7 +778,7 @@ let lt = function(n) {
|
|
|
778
778
|
}, s.sizeKey = function() {
|
|
779
779
|
return this.props.orientation === "vertical" ? "clientHeight" : "clientWidth";
|
|
780
780
|
}, s.fireChangeEvent = function(r) {
|
|
781
|
-
this.props[r] && this.props[r](
|
|
781
|
+
this.props[r] && this.props[r](Ee(this.state.value), this.state.index);
|
|
782
782
|
}, s.buildThumbStyle = function(r, t) {
|
|
783
783
|
const o = { position: "absolute", touchAction: "none", willChange: this.state.index >= 0 ? this.posMinKey() : void 0, zIndex: this.state.zIndices.indexOf(t) + 1 };
|
|
784
784
|
return o[this.posMinKey()] = r + "px", o;
|
|
@@ -815,16 +815,16 @@ let lt = function(n) {
|
|
|
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
817
|
}(E.Component);
|
|
818
|
-
|
|
819
|
-
var
|
|
820
|
-
const
|
|
821
|
-
container:
|
|
822
|
-
unitLabel:
|
|
823
|
-
slider:
|
|
824
|
-
thumb:
|
|
825
|
-
track:
|
|
826
|
-
labels:
|
|
827
|
-
},
|
|
818
|
+
ct.displayName = "ReactSlider", ct.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) => E.createElement("div", n), renderTrack: (n) => E.createElement("div", n), renderMark: (n) => E.createElement("span", n) };
|
|
819
|
+
var dt = ct;
|
|
820
|
+
const N0 = "_container_4u41i_2", k0 = "_unitLabel_4u41i_8", $0 = "_slider_4u41i_11", S0 = "_thumb_4u41i_17", T0 = "_track_4u41i_26", M0 = "_labels_4u41i_32", xe = {
|
|
821
|
+
container: N0,
|
|
822
|
+
unitLabel: k0,
|
|
823
|
+
slider: $0,
|
|
824
|
+
thumb: S0,
|
|
825
|
+
track: T0,
|
|
826
|
+
labels: M0
|
|
827
|
+
}, Wt = ({
|
|
828
828
|
min: n = 0,
|
|
829
829
|
max: c = 100,
|
|
830
830
|
step: s = 1,
|
|
@@ -848,7 +848,7 @@ const _0 = "_container_4u41i_2", v0 = "_unitLabel_4u41i_8", x0 = "_slider_4u41i_
|
|
|
848
848
|
children: [
|
|
849
849
|
/* @__PURE__ */ i("div", { className: xe.unitLabel, children: /* @__PURE__ */ i("span", { children: u(o) }) }),
|
|
850
850
|
/* @__PURE__ */ i(
|
|
851
|
-
|
|
851
|
+
dt,
|
|
852
852
|
{
|
|
853
853
|
className: xe.slider,
|
|
854
854
|
thumbClassName: xe.thumb,
|
|
@@ -879,7 +879,7 @@ const _0 = "_container_4u41i_2", v0 = "_unitLabel_4u41i_8", x0 = "_slider_4u41i_
|
|
|
879
879
|
}
|
|
880
880
|
);
|
|
881
881
|
};
|
|
882
|
-
|
|
882
|
+
Wt.propTypes = {
|
|
883
883
|
min: e.number,
|
|
884
884
|
max: e.number,
|
|
885
885
|
step: e.number,
|
|
@@ -891,12 +891,12 @@ Ht.propTypes = {
|
|
|
891
891
|
fontColor: e.string,
|
|
892
892
|
value: e.arrayOf(e.number)
|
|
893
893
|
};
|
|
894
|
-
const
|
|
895
|
-
tematicalFiltersInputContainer:
|
|
896
|
-
inputTypeContainer:
|
|
897
|
-
checkboxContainer:
|
|
898
|
-
absoluteSliderContainer:
|
|
899
|
-
},
|
|
894
|
+
const L0 = "_tematicalFiltersInputContainer_1vm1r_2", B0 = "_inputTypeContainer_1vm1r_2", D0 = "_checkboxContainer_1vm1r_28", V0 = "_absoluteSliderContainer_1vm1r_37", Pe = {
|
|
895
|
+
tematicalFiltersInputContainer: L0,
|
|
896
|
+
inputTypeContainer: B0,
|
|
897
|
+
checkboxContainer: D0,
|
|
898
|
+
absoluteSliderContainer: V0
|
|
899
|
+
}, gt = ({
|
|
900
900
|
indicator: n,
|
|
901
901
|
//onChangeBothType
|
|
902
902
|
activeColor: c
|
|
@@ -922,58 +922,58 @@ const $0 = "_tematicalFiltersInputContainer_1vm1r_2", S0 = "_inputTypeContainer_
|
|
|
922
922
|
selectedIndicator: _,
|
|
923
923
|
fontColor: b,
|
|
924
924
|
inputsColor: k
|
|
925
|
-
} =
|
|
925
|
+
} = P((w) => w), $ = (w) => {
|
|
926
926
|
if (w) {
|
|
927
|
-
const { min: x, max: S, valueClicked: N, allValues:
|
|
928
|
-
let A =
|
|
929
|
-
D == "both" && (A =
|
|
930
|
-
let
|
|
931
|
-
(
|
|
927
|
+
const { min: x, max: S, valueClicked: N, allValues: M } = w || {}, { code: B, type: D, source: L } = n || {}, q = h ? "abs" : C ? "cat" : "both";
|
|
928
|
+
let A = B[0];
|
|
929
|
+
D == "both" && (A = q == "cat" ? B[1] : B[0]), q == "cat" ? P.setState((X) => {
|
|
930
|
+
let G = X.tematicalFiltersSelected.find(
|
|
931
|
+
(z) => z.code === A
|
|
932
932
|
);
|
|
933
|
-
if (
|
|
934
|
-
let
|
|
935
|
-
return
|
|
936
|
-
(
|
|
937
|
-
) :
|
|
933
|
+
if (G) {
|
|
934
|
+
let z = [G.values];
|
|
935
|
+
return G.values.includes(N) ? z = G.values.filter(
|
|
936
|
+
(I) => I !== N
|
|
937
|
+
) : z = [...G.values, N], z.length == M.length ? {
|
|
938
938
|
tematicalFiltersSelected: X.tematicalFiltersSelected.filter(
|
|
939
|
-
(
|
|
939
|
+
(I) => I.code !== A
|
|
940
940
|
)
|
|
941
941
|
} : {
|
|
942
942
|
tematicalFiltersSelected: X.tematicalFiltersSelected.map(
|
|
943
|
-
(
|
|
943
|
+
(I) => I.code === A ? { ...I, values: z } : I
|
|
944
944
|
)
|
|
945
945
|
};
|
|
946
946
|
} else {
|
|
947
|
-
let
|
|
947
|
+
let z = (M || []).map((I, Z) => Z);
|
|
948
948
|
return {
|
|
949
949
|
tematicalFiltersSelected: [
|
|
950
950
|
...v,
|
|
951
951
|
{
|
|
952
952
|
type: "cat",
|
|
953
953
|
code: A,
|
|
954
|
-
values:
|
|
954
|
+
values: z.filter((I) => I !== N),
|
|
955
955
|
name: n.name,
|
|
956
|
-
source:
|
|
956
|
+
source: L,
|
|
957
957
|
isDate: p
|
|
958
958
|
}
|
|
959
959
|
]
|
|
960
960
|
};
|
|
961
961
|
}
|
|
962
|
-
}) :
|
|
963
|
-
let
|
|
964
|
-
(
|
|
962
|
+
}) : q == "abs" && P.setState((X) => {
|
|
963
|
+
let G = X.tematicalFiltersSelected.find(
|
|
964
|
+
(z) => z.code === A
|
|
965
965
|
);
|
|
966
966
|
if (x == n.minValue && S == n.maxValue)
|
|
967
967
|
return {
|
|
968
968
|
tematicalFiltersSelected: X.tematicalFiltersSelected.filter(
|
|
969
|
-
(
|
|
969
|
+
(z) => z.code !== A
|
|
970
970
|
)
|
|
971
971
|
};
|
|
972
|
-
if (
|
|
973
|
-
let
|
|
972
|
+
if (G) {
|
|
973
|
+
let z = { ...G, min: x, max: S, type: q, isDate: p };
|
|
974
974
|
return {
|
|
975
975
|
tematicalFiltersSelected: X.tematicalFiltersSelected.map(
|
|
976
|
-
(
|
|
976
|
+
(I) => I.code === A ? z : I
|
|
977
977
|
)
|
|
978
978
|
};
|
|
979
979
|
} else
|
|
@@ -981,7 +981,7 @@ const $0 = "_tematicalFiltersInputContainer_1vm1r_2", S0 = "_inputTypeContainer_
|
|
|
981
981
|
tematicalFiltersSelected: [
|
|
982
982
|
...v,
|
|
983
983
|
{
|
|
984
|
-
type:
|
|
984
|
+
type: q,
|
|
985
985
|
code: A,
|
|
986
986
|
min: x,
|
|
987
987
|
max: S,
|
|
@@ -999,7 +999,7 @@ const $0 = "_tematicalFiltersInputContainer_1vm1r_2", S0 = "_inputTypeContainer_
|
|
|
999
999
|
x.type === "cat" ? w[x.code] = new Set(x.values) : w[x.code] = [x.min, x.max];
|
|
1000
1000
|
return w;
|
|
1001
1001
|
}, [v]);
|
|
1002
|
-
return /* @__PURE__ */ i("div", { className:
|
|
1002
|
+
return /* @__PURE__ */ i("div", { className: Pe.tematicalFiltersInputContainer, children: /* @__PURE__ */ g(
|
|
1003
1003
|
ve,
|
|
1004
1004
|
{
|
|
1005
1005
|
titleFontStyles: {
|
|
@@ -1010,7 +1010,7 @@ const $0 = "_tematicalFiltersInputContainer_1vm1r_2", S0 = "_inputTypeContainer_
|
|
|
1010
1010
|
title: o,
|
|
1011
1011
|
isOpen: _ == `id${o}`,
|
|
1012
1012
|
onClick: () => {
|
|
1013
|
-
m ||
|
|
1013
|
+
m || P.setState(() => ({
|
|
1014
1014
|
selectedIndicator: _ == `id${o}` ? "" : `id${o}`
|
|
1015
1015
|
}));
|
|
1016
1016
|
},
|
|
@@ -1024,7 +1024,7 @@ const $0 = "_tematicalFiltersInputContainer_1vm1r_2", S0 = "_inputTypeContainer_
|
|
|
1024
1024
|
t == "both" && /* @__PURE__ */ g(
|
|
1025
1025
|
"div",
|
|
1026
1026
|
{
|
|
1027
|
-
className:
|
|
1027
|
+
className: Pe.inputTypeContainer,
|
|
1028
1028
|
style: { color: b },
|
|
1029
1029
|
children: [
|
|
1030
1030
|
/* @__PURE__ */ g("label", { children: [
|
|
@@ -1068,10 +1068,10 @@ const $0 = "_tematicalFiltersInputContainer_1vm1r_2", S0 = "_inputTypeContainer_
|
|
|
1068
1068
|
]
|
|
1069
1069
|
}
|
|
1070
1070
|
),
|
|
1071
|
-
C && /* @__PURE__ */ i("div", { className:
|
|
1071
|
+
C && /* @__PURE__ */ i("div", { className: Pe.checkboxContainer, children: (d || []).map((w, x) => {
|
|
1072
1072
|
var S;
|
|
1073
1073
|
return /* @__PURE__ */ i(
|
|
1074
|
-
|
|
1074
|
+
Ut,
|
|
1075
1075
|
{
|
|
1076
1076
|
onClick: () => $({ valueClicked: x, allValues: d }),
|
|
1077
1077
|
indicator: w,
|
|
@@ -1080,8 +1080,8 @@ const $0 = "_tematicalFiltersInputContainer_1vm1r_2", S0 = "_inputTypeContainer_
|
|
|
1080
1080
|
`checkbox-${x}`
|
|
1081
1081
|
);
|
|
1082
1082
|
}) }),
|
|
1083
|
-
(h || t == "glb") && /* @__PURE__ */ i("div", { className:
|
|
1084
|
-
|
|
1083
|
+
(h || t == "glb") && /* @__PURE__ */ i("div", { className: Pe.absoluteSliderContainer, children: /* @__PURE__ */ i(
|
|
1084
|
+
Wt,
|
|
1085
1085
|
{
|
|
1086
1086
|
onChange: $,
|
|
1087
1087
|
min: a,
|
|
@@ -1096,7 +1096,7 @@ const $0 = "_tematicalFiltersInputContainer_1vm1r_2", S0 = "_inputTypeContainer_
|
|
|
1096
1096
|
}
|
|
1097
1097
|
) });
|
|
1098
1098
|
};
|
|
1099
|
-
|
|
1099
|
+
gt.propTypes = {
|
|
1100
1100
|
indicator: e.shape({
|
|
1101
1101
|
name: e.string,
|
|
1102
1102
|
type: e.string,
|
|
@@ -1111,20 +1111,20 @@ ht.propTypes = {
|
|
|
1111
1111
|
activeColor: e.string
|
|
1112
1112
|
//onChangeBothType: PropTypes.func,
|
|
1113
1113
|
};
|
|
1114
|
-
const
|
|
1114
|
+
const Gt = ({
|
|
1115
1115
|
subcategory: n,
|
|
1116
1116
|
fontColor: c,
|
|
1117
1117
|
activeColor: s
|
|
1118
1118
|
//onChangeBothType,
|
|
1119
1119
|
}) => {
|
|
1120
|
-
const { activeSubcategory: r } =
|
|
1120
|
+
const { activeSubcategory: r } = P((d) => d), { name: t, indicators: o } = n || {};
|
|
1121
1121
|
return /* @__PURE__ */ i(
|
|
1122
1122
|
ve,
|
|
1123
1123
|
{
|
|
1124
1124
|
title: t,
|
|
1125
1125
|
isOpen: r == `id${t}`,
|
|
1126
1126
|
onClick: () => {
|
|
1127
|
-
|
|
1127
|
+
P.setState((d) => ({
|
|
1128
1128
|
activeSubcategory: d.activeSubcategory === `id${t}` ? "" : `id${t}`
|
|
1129
1129
|
}));
|
|
1130
1130
|
},
|
|
@@ -1135,7 +1135,7 @@ const Kt = ({
|
|
|
1135
1135
|
color: c,
|
|
1136
1136
|
activeColor: s,
|
|
1137
1137
|
children: o == null ? void 0 : o.map((d, a) => /* @__PURE__ */ i(
|
|
1138
|
-
|
|
1138
|
+
gt,
|
|
1139
1139
|
{
|
|
1140
1140
|
indicator: d,
|
|
1141
1141
|
fontColor: c,
|
|
@@ -1146,7 +1146,7 @@ const Kt = ({
|
|
|
1146
1146
|
}
|
|
1147
1147
|
);
|
|
1148
1148
|
};
|
|
1149
|
-
|
|
1149
|
+
Gt.propTypes = {
|
|
1150
1150
|
subcategory: e.shape({
|
|
1151
1151
|
name: e.string,
|
|
1152
1152
|
indicators: e.arrayOf(
|
|
@@ -1159,17 +1159,17 @@ Kt.propTypes = {
|
|
|
1159
1159
|
activeColor: e.string
|
|
1160
1160
|
//onChangeBothType: PropTypes.func,
|
|
1161
1161
|
};
|
|
1162
|
-
const
|
|
1162
|
+
const Xt = ({
|
|
1163
1163
|
category: n,
|
|
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 } = P((a) => a);
|
|
1168
1168
|
return n && /* @__PURE__ */ i(
|
|
1169
1169
|
ve,
|
|
1170
1170
|
{
|
|
1171
1171
|
onClick: () => {
|
|
1172
|
-
|
|
1172
|
+
P.setState((a) => ({
|
|
1173
1173
|
activeCategory: o === `id${s}` ? "" : `id${s}`
|
|
1174
1174
|
}));
|
|
1175
1175
|
},
|
|
@@ -1180,7 +1180,7 @@ const Ut = ({
|
|
|
1180
1180
|
color: d,
|
|
1181
1181
|
activeColor: c,
|
|
1182
1182
|
children: r ? r.map((a, l) => /* @__PURE__ */ i(
|
|
1183
|
-
|
|
1183
|
+
Gt,
|
|
1184
1184
|
{
|
|
1185
1185
|
subcategory: a,
|
|
1186
1186
|
fontColor: d,
|
|
@@ -1188,7 +1188,7 @@ const Ut = ({
|
|
|
1188
1188
|
},
|
|
1189
1189
|
`subcategory-${l}`
|
|
1190
1190
|
)) : t && t.map((a, l) => /* @__PURE__ */ i(
|
|
1191
|
-
|
|
1191
|
+
gt,
|
|
1192
1192
|
{
|
|
1193
1193
|
indicator: a,
|
|
1194
1194
|
fontColor: d,
|
|
@@ -1199,7 +1199,7 @@ const Ut = ({
|
|
|
1199
1199
|
}
|
|
1200
1200
|
);
|
|
1201
1201
|
};
|
|
1202
|
-
|
|
1202
|
+
Xt.propTypes = {
|
|
1203
1203
|
category: e.shape({
|
|
1204
1204
|
name: e.string.isRequired,
|
|
1205
1205
|
subcategories: e.array,
|
|
@@ -1208,7 +1208,7 @@ Ut.propTypes = {
|
|
|
1208
1208
|
activeColor: e.string
|
|
1209
1209
|
//onChangeBothType: PropTypes.func,
|
|
1210
1210
|
};
|
|
1211
|
-
const
|
|
1211
|
+
const Qt = ({
|
|
1212
1212
|
indicators: n,
|
|
1213
1213
|
isOpen: c = !0,
|
|
1214
1214
|
title: s,
|
|
@@ -1217,15 +1217,15 @@ const Wt = ({
|
|
|
1217
1217
|
inputsColor: t = "#605B56",
|
|
1218
1218
|
activeColor: o
|
|
1219
1219
|
}) => {
|
|
1220
|
-
const { tematicalFiltersSelected: d, activeFiltersType: a } =
|
|
1220
|
+
const { tematicalFiltersSelected: d, activeFiltersType: a } = P((f) => f), { t: l } = F();
|
|
1221
1221
|
O(() => {
|
|
1222
1222
|
}, [d]), O(() => {
|
|
1223
|
-
r &&
|
|
1223
|
+
r && P.setState(() => ({ fontColor: r }));
|
|
1224
1224
|
}, [r]), O(() => {
|
|
1225
|
-
t &&
|
|
1225
|
+
t && P.setState(() => ({ inputsColor: t }));
|
|
1226
1226
|
}, [t]);
|
|
1227
1227
|
const u = () => {
|
|
1228
|
-
a == "tematical" ?
|
|
1228
|
+
a == "tematical" ? P.setState(() => ({ activeFiltersType: null })) : P.setState(() => ({ activeFiltersType: "tematical" }));
|
|
1229
1229
|
};
|
|
1230
1230
|
return /* @__PURE__ */ i(
|
|
1231
1231
|
ve,
|
|
@@ -1237,7 +1237,7 @@ const Wt = ({
|
|
|
1237
1237
|
onClick: u,
|
|
1238
1238
|
mainTitle: !0,
|
|
1239
1239
|
children: n == null ? void 0 : n.map((f, m) => /* @__PURE__ */ i(
|
|
1240
|
-
|
|
1240
|
+
Xt,
|
|
1241
1241
|
{
|
|
1242
1242
|
category: f,
|
|
1243
1243
|
fontColor: r,
|
|
@@ -1248,7 +1248,7 @@ const Wt = ({
|
|
|
1248
1248
|
}
|
|
1249
1249
|
);
|
|
1250
1250
|
};
|
|
1251
|
-
|
|
1251
|
+
Qt.propTypes = {
|
|
1252
1252
|
isOpen: e.bool,
|
|
1253
1253
|
title: e.string,
|
|
1254
1254
|
indicators: e.arrayOf(e.object),
|
|
@@ -1257,16 +1257,16 @@ Wt.propTypes = {
|
|
|
1257
1257
|
inputsColor: e.string,
|
|
1258
1258
|
activeColor: e.string
|
|
1259
1259
|
};
|
|
1260
|
-
const
|
|
1261
|
-
FiltersAmbitContainer:
|
|
1262
|
-
FiltersContainer:
|
|
1263
|
-
FiltersAmbitHeader:
|
|
1264
|
-
FiltersAmbitTitle:
|
|
1265
|
-
FiltersAmbitDescription:
|
|
1266
|
-
FiltersAmbitDescriptionTitle:
|
|
1267
|
-
warning:
|
|
1268
|
-
buttonContainer:
|
|
1269
|
-
},
|
|
1260
|
+
const F0 = "_FiltersAmbitContainer_1hv16_2", A0 = "_FiltersContainer_1hv16_15", O0 = "_FiltersAmbitHeader_1hv16_18", R0 = "_FiltersAmbitTitle_1hv16_26", I0 = "_FiltersAmbitDescription_1hv16_35", E0 = "_FiltersAmbitDescriptionTitle_1hv16_46", q0 = "_warning_1hv16_50", P0 = "_buttonContainer_1hv16_53", pe = {
|
|
1261
|
+
FiltersAmbitContainer: F0,
|
|
1262
|
+
FiltersContainer: A0,
|
|
1263
|
+
FiltersAmbitHeader: O0,
|
|
1264
|
+
FiltersAmbitTitle: R0,
|
|
1265
|
+
FiltersAmbitDescription: I0,
|
|
1266
|
+
FiltersAmbitDescriptionTitle: E0,
|
|
1267
|
+
warning: q0,
|
|
1268
|
+
buttonContainer: P0
|
|
1269
|
+
}, z0 = ({
|
|
1270
1270
|
ambitName: n,
|
|
1271
1271
|
ambitDescription: c,
|
|
1272
1272
|
defaultFilters: s,
|
|
@@ -1287,54 +1287,54 @@ const B0 = "_FiltersAmbitContainer_1hv16_2", M0 = "_FiltersContainer_1hv16_15",
|
|
|
1287
1287
|
descriptionRequired: _ = !1
|
|
1288
1288
|
//campo descripción required
|
|
1289
1289
|
}) => {
|
|
1290
|
-
const { t: b } = F(), { tematicalFiltersSelected: k, activeFiltersType: $ } =
|
|
1290
|
+
const { t: b } = F(), { tematicalFiltersSelected: k, activeFiltersType: $ } = P(
|
|
1291
1291
|
(D) => D
|
|
1292
|
-
), [y, w] = R(n || null), [x, S] = R(c || null), [N,
|
|
1292
|
+
), [y, w] = R(n || null), [x, S] = R(c || null), [N, M] = R(!1);
|
|
1293
1293
|
O(() => {
|
|
1294
|
-
|
|
1294
|
+
P.setState({
|
|
1295
1295
|
tematicalFiltersSelected: s || []
|
|
1296
1296
|
});
|
|
1297
|
-
}, [s]),
|
|
1297
|
+
}, [s]), te(!1), O(() => {
|
|
1298
1298
|
a(k);
|
|
1299
1299
|
}, [k]);
|
|
1300
|
-
const
|
|
1301
|
-
_ ? y && x ? l({ name: y, description: x }) :
|
|
1300
|
+
const B = () => {
|
|
1301
|
+
_ ? y && x ? l({ name: y, description: x }) : M(!0) : y ? l({ name: y, description: x }) : M(!0);
|
|
1302
1302
|
};
|
|
1303
1303
|
return O(() => {
|
|
1304
1304
|
if (m.includes("geographical") && $ != "geographical" && C.length > 0) {
|
|
1305
|
-
const D = C.map((
|
|
1306
|
-
...
|
|
1305
|
+
const D = C.map((L) => ({
|
|
1306
|
+
...L,
|
|
1307
1307
|
active: !1
|
|
1308
1308
|
}));
|
|
1309
1309
|
h == null || h(D);
|
|
1310
1310
|
}
|
|
1311
|
-
}, [$]), /* @__PURE__ */ g("div", { className:
|
|
1312
|
-
/* @__PURE__ */ g("div", { className:
|
|
1313
|
-
!v && /* @__PURE__ */ g("div", { className:
|
|
1314
|
-
/* @__PURE__ */ i("div", { className:
|
|
1311
|
+
}, [$]), /* @__PURE__ */ g("div", { className: pe.FiltersAmbitContainer, children: [
|
|
1312
|
+
/* @__PURE__ */ g("div", { className: pe.FiltersContainer, children: [
|
|
1313
|
+
!v && /* @__PURE__ */ g("div", { className: pe.FiltersAmbitHeader, children: [
|
|
1314
|
+
/* @__PURE__ */ i("div", { className: pe.FiltersAmbitTitle, children: /* @__PURE__ */ i(
|
|
1315
1315
|
"input",
|
|
1316
1316
|
{
|
|
1317
1317
|
type: "text",
|
|
1318
1318
|
onChange: (D) => {
|
|
1319
|
-
|
|
1319
|
+
M(!1), w(D.target.value);
|
|
1320
1320
|
},
|
|
1321
1321
|
value: y,
|
|
1322
1322
|
placeholder: b(u)
|
|
1323
1323
|
}
|
|
1324
1324
|
) }),
|
|
1325
|
-
/* @__PURE__ */ i("div", { className:
|
|
1325
|
+
/* @__PURE__ */ i("div", { className: pe.FiltersAmbitDescription, children: /* @__PURE__ */ i("div", { className: pe.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ i(
|
|
1326
1326
|
"textarea",
|
|
1327
1327
|
{
|
|
1328
1328
|
value: x,
|
|
1329
1329
|
onChange: (D) => {
|
|
1330
|
-
_ &&
|
|
1330
|
+
_ && M(!1), S(D.target.value);
|
|
1331
1331
|
},
|
|
1332
1332
|
placeholder: b(f)
|
|
1333
1333
|
}
|
|
1334
1334
|
) }) })
|
|
1335
1335
|
] }),
|
|
1336
1336
|
/* @__PURE__ */ i(
|
|
1337
|
-
|
|
1337
|
+
Ht,
|
|
1338
1338
|
{
|
|
1339
1339
|
title: b("applied_filters"),
|
|
1340
1340
|
isOpen: $ == "applied",
|
|
@@ -1344,7 +1344,7 @@ const B0 = "_FiltersAmbitContainer_1hv16_2", M0 = "_FiltersContainer_1hv16_15",
|
|
|
1344
1344
|
}
|
|
1345
1345
|
),
|
|
1346
1346
|
m.includes("geographical") && /* @__PURE__ */ i(
|
|
1347
|
-
|
|
1347
|
+
Kt,
|
|
1348
1348
|
{
|
|
1349
1349
|
title: "geo_filters",
|
|
1350
1350
|
activeColor: t,
|
|
@@ -1353,7 +1353,7 @@ const B0 = "_FiltersAmbitContainer_1hv16_2", M0 = "_FiltersContainer_1hv16_15",
|
|
|
1353
1353
|
}
|
|
1354
1354
|
),
|
|
1355
1355
|
m.includes("tematical") && /* @__PURE__ */ i(
|
|
1356
|
-
|
|
1356
|
+
Qt,
|
|
1357
1357
|
{
|
|
1358
1358
|
indicators: r,
|
|
1359
1359
|
inputsColor: t,
|
|
@@ -1363,13 +1363,13 @@ const B0 = "_FiltersAmbitContainer_1hv16_2", M0 = "_FiltersContainer_1hv16_15",
|
|
|
1363
1363
|
}
|
|
1364
1364
|
)
|
|
1365
1365
|
] }),
|
|
1366
|
-
!v && /* @__PURE__ */ g("div", { className:
|
|
1367
|
-
N && /* @__PURE__ */ i("div", { className:
|
|
1368
|
-
/* @__PURE__ */ i(
|
|
1366
|
+
!v && /* @__PURE__ */ g("div", { className: pe.buttonContainer, children: [
|
|
1367
|
+
N && /* @__PURE__ */ i("div", { className: pe.warning, children: b(p) }),
|
|
1368
|
+
/* @__PURE__ */ i(We, { onClick: () => B(), children: b("save_ambit") })
|
|
1369
1369
|
] })
|
|
1370
1370
|
] });
|
|
1371
1371
|
};
|
|
1372
|
-
|
|
1372
|
+
z0.propTypes = {
|
|
1373
1373
|
indicators: e.arrayOf(e.object).isRequired,
|
|
1374
1374
|
ambitName: e.string,
|
|
1375
1375
|
ambitDescription: e.string,
|
|
@@ -1384,9 +1384,9 @@ I0.propTypes = {
|
|
|
1384
1384
|
filtersTypes: e.arrayOf(e.string).isRequired,
|
|
1385
1385
|
nameRequiredText: e.string
|
|
1386
1386
|
};
|
|
1387
|
-
const
|
|
1388
|
-
barChartContainer:
|
|
1389
|
-
},
|
|
1387
|
+
const Z0 = "_barChartContainer_1each_2", wt = {
|
|
1388
|
+
barChartContainer: Z0
|
|
1389
|
+
}, Jt = ({
|
|
1390
1390
|
data: n,
|
|
1391
1391
|
// Height of each bar in horizontal orientation or width in vertical orientation
|
|
1392
1392
|
barHeight: c = 25,
|
|
@@ -1418,36 +1418,36 @@ const E0 = "_barChartContainer_1each_2", _t = {
|
|
|
1418
1418
|
contentWidth: y
|
|
1419
1419
|
} = Se(() => {
|
|
1420
1420
|
if (n && n.length > 0) {
|
|
1421
|
-
const w =
|
|
1421
|
+
const w = Qe.max(n, (S) => S.value) || 1, x = d || w;
|
|
1422
1422
|
if (a === "vertical") {
|
|
1423
|
-
const S = n.length * (c + s) + l * 2, N = Math.max(S, m || 0),
|
|
1423
|
+
const S = n.length * (c + s) + l * 2, N = Math.max(S, m || 0), M = p, D = Qe.scaleLinear().domain([0, x]).range([M - 100, u]), L = Array.from(
|
|
1424
1424
|
{ length: o + 1 },
|
|
1425
|
-
(
|
|
1425
|
+
(q, A) => x / o * A
|
|
1426
1426
|
);
|
|
1427
1427
|
return {
|
|
1428
1428
|
yScale: D,
|
|
1429
|
-
ticks:
|
|
1430
|
-
height:
|
|
1429
|
+
ticks: L,
|
|
1430
|
+
height: M,
|
|
1431
1431
|
chartWidth: N,
|
|
1432
1432
|
svgWidth: N,
|
|
1433
|
-
svgHeight:
|
|
1433
|
+
svgHeight: M,
|
|
1434
1434
|
contentWidth: S
|
|
1435
1435
|
};
|
|
1436
1436
|
} else {
|
|
1437
1437
|
const S = n.length * (c + s);
|
|
1438
1438
|
console.log("barsHeight: ", S);
|
|
1439
|
-
const N = S + u * 2 + f + 30,
|
|
1439
|
+
const N = S + u * 2 + f + 30, M = m + t + l * 2, B = Qe.scaleLinear().domain([0, x]).range([0, m - l * 2]), D = Array.from(
|
|
1440
1440
|
{ length: o + 1 },
|
|
1441
|
-
(
|
|
1441
|
+
(L, q) => x / o * q
|
|
1442
1442
|
);
|
|
1443
1443
|
return {
|
|
1444
|
-
xScale:
|
|
1444
|
+
xScale: B,
|
|
1445
1445
|
ticks: D,
|
|
1446
1446
|
height: N,
|
|
1447
1447
|
chartWidth: m,
|
|
1448
|
-
svgWidth:
|
|
1448
|
+
svgWidth: M,
|
|
1449
1449
|
svgHeight: N,
|
|
1450
|
-
contentWidth:
|
|
1450
|
+
contentWidth: M
|
|
1451
1451
|
};
|
|
1452
1452
|
}
|
|
1453
1453
|
} else
|
|
@@ -1478,7 +1478,7 @@ const E0 = "_barChartContainer_1each_2", _t = {
|
|
|
1478
1478
|
width: m ? `${m}px` : "100%",
|
|
1479
1479
|
height: p ? `${p}px` : "100%"
|
|
1480
1480
|
},
|
|
1481
|
-
className:
|
|
1481
|
+
className: wt.barChartContainer,
|
|
1482
1482
|
children: /* @__PURE__ */ i(
|
|
1483
1483
|
"svg",
|
|
1484
1484
|
{
|
|
@@ -1518,13 +1518,13 @@ const E0 = "_barChartContainer_1each_2", _t = {
|
|
|
1518
1518
|
] }, x);
|
|
1519
1519
|
}) }),
|
|
1520
1520
|
n && n.length > 0 && n.map((w, x) => {
|
|
1521
|
-
const S = h(0) - h(w.value), N = x * (c + s),
|
|
1521
|
+
const S = h(0) - h(w.value), N = x * (c + s), M = h(w.value);
|
|
1522
1522
|
return /* @__PURE__ */ g("g", { children: [
|
|
1523
1523
|
/* @__PURE__ */ i(
|
|
1524
1524
|
"rect",
|
|
1525
1525
|
{
|
|
1526
1526
|
x: N,
|
|
1527
|
-
y:
|
|
1527
|
+
y: M,
|
|
1528
1528
|
width: c,
|
|
1529
1529
|
height: S,
|
|
1530
1530
|
fill: w.color,
|
|
@@ -1556,7 +1556,7 @@ const E0 = "_barChartContainer_1each_2", _t = {
|
|
|
1556
1556
|
width: m ? `${m}px` : "100%",
|
|
1557
1557
|
height: p ? `${p}px` : "100%"
|
|
1558
1558
|
},
|
|
1559
|
-
className:
|
|
1559
|
+
className: wt.barChartContainer,
|
|
1560
1560
|
children: /* @__PURE__ */ i(
|
|
1561
1561
|
"svg",
|
|
1562
1562
|
{
|
|
@@ -1630,7 +1630,7 @@ const E0 = "_barChartContainer_1each_2", _t = {
|
|
|
1630
1630
|
}
|
|
1631
1631
|
));
|
|
1632
1632
|
};
|
|
1633
|
-
|
|
1633
|
+
Jt.propTypes = {
|
|
1634
1634
|
data: e.arrayOf(
|
|
1635
1635
|
e.shape({
|
|
1636
1636
|
title: e.string,
|
|
@@ -1653,10 +1653,10 @@ Gt.propTypes = {
|
|
|
1653
1653
|
containerHeight: e.number,
|
|
1654
1654
|
minBarWidth: e.number
|
|
1655
1655
|
};
|
|
1656
|
-
const
|
|
1657
|
-
graphicContainer:
|
|
1658
|
-
titleContainer:
|
|
1659
|
-
},
|
|
1656
|
+
const j0 = "_graphicContainer_c9zrg_2", H0 = "_titleContainer_c9zrg_14", Nt = {
|
|
1657
|
+
graphicContainer: j0,
|
|
1658
|
+
titleContainer: H0
|
|
1659
|
+
}, K0 = ({
|
|
1660
1660
|
data: n,
|
|
1661
1661
|
graphLength: c = 700,
|
|
1662
1662
|
containerStyle: s,
|
|
@@ -1673,16 +1673,16 @@ const P0 = "_graphicContainer_c9zrg_2", q0 = "_titleContainer_c9zrg_14", vt = {
|
|
|
1673
1673
|
return /* @__PURE__ */ g(
|
|
1674
1674
|
"div",
|
|
1675
1675
|
{
|
|
1676
|
-
className:
|
|
1676
|
+
className: Nt.graphicContainer,
|
|
1677
1677
|
style: {
|
|
1678
1678
|
...s || {},
|
|
1679
1679
|
border: `1.5px solid ${r}`,
|
|
1680
1680
|
paddingBottom: 40
|
|
1681
1681
|
},
|
|
1682
1682
|
children: [
|
|
1683
|
-
/* @__PURE__ */ i("div", { className:
|
|
1683
|
+
/* @__PURE__ */ i("div", { className: Nt.titleContainer, children: /* @__PURE__ */ i("h2", { children: m(t) }) }),
|
|
1684
1684
|
/* @__PURE__ */ i(
|
|
1685
|
-
|
|
1685
|
+
Jt,
|
|
1686
1686
|
{
|
|
1687
1687
|
data: n,
|
|
1688
1688
|
length: c,
|
|
@@ -1698,7 +1698,7 @@ const P0 = "_graphicContainer_c9zrg_2", q0 = "_titleContainer_c9zrg_14", vt = {
|
|
|
1698
1698
|
}
|
|
1699
1699
|
);
|
|
1700
1700
|
};
|
|
1701
|
-
|
|
1701
|
+
K0.propTypes = {
|
|
1702
1702
|
data: e.arrayOf(
|
|
1703
1703
|
e.shape({
|
|
1704
1704
|
color: e.string.isRequired,
|
|
@@ -1716,22 +1716,22 @@ z0.propTypes = {
|
|
|
1716
1716
|
leftPadding: e.number,
|
|
1717
1717
|
xLabelPadding: e.number
|
|
1718
1718
|
};
|
|
1719
|
-
const
|
|
1720
|
-
indicatorsCategory:
|
|
1721
|
-
title:
|
|
1722
|
-
list:
|
|
1723
|
-
},
|
|
1724
|
-
indicatorContainer:
|
|
1725
|
-
indicatorNameContainer:
|
|
1726
|
-
dot:
|
|
1727
|
-
indicatorName:
|
|
1728
|
-
switchExternalContainer:
|
|
1729
|
-
switchType:
|
|
1730
|
-
switchTypeOptions:
|
|
1731
|
-
optionContainer:
|
|
1732
|
-
customRadious:
|
|
1733
|
-
optionText:
|
|
1734
|
-
},
|
|
1719
|
+
const U0 = "_indicatorsCategory_arwy3_2", W0 = "_title_arwy3_5", G0 = "_list_arwy3_13", ze = {
|
|
1720
|
+
indicatorsCategory: U0,
|
|
1721
|
+
title: W0,
|
|
1722
|
+
list: G0
|
|
1723
|
+
}, X0 = "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", Q0 = "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", J0 = "_indicatorContainer_17b40_2", Y0 = "_indicatorNameContainer_17b40_11", en = "_dot_17b40_17", tn = "_indicatorName_17b40_11", nn = "_switchExternalContainer_17b40_31", sn = "_switchType_17b40_39", rn = "_switchTypeOptions_17b40_43", on = "_optionContainer_17b40_54", an = "_customRadious_17b40_64", ln = "_optionText_17b40_71", W = {
|
|
1724
|
+
indicatorContainer: J0,
|
|
1725
|
+
indicatorNameContainer: Y0,
|
|
1726
|
+
dot: en,
|
|
1727
|
+
indicatorName: tn,
|
|
1728
|
+
switchExternalContainer: nn,
|
|
1729
|
+
switchType: sn,
|
|
1730
|
+
switchTypeOptions: rn,
|
|
1731
|
+
optionContainer: on,
|
|
1732
|
+
customRadious: an,
|
|
1733
|
+
optionText: ln
|
|
1734
|
+
}, Ct = ({
|
|
1735
1735
|
indicator: n,
|
|
1736
1736
|
values: c = [],
|
|
1737
1737
|
activeColor: s,
|
|
@@ -1750,17 +1750,17 @@ const Z0 = "_indicatorsCategory_arwy3_2", j0 = "_title_arwy3_5", H0 = "_list_arw
|
|
|
1750
1750
|
) : t.name == f
|
|
1751
1751
|
);
|
|
1752
1752
|
}, [t]);
|
|
1753
|
-
const v = () => /* @__PURE__ */ i("div", { className:
|
|
1753
|
+
const v = () => /* @__PURE__ */ i("div", { className: W.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: W.switchType, children: /* @__PURE__ */ g("div", { className: W.switchTypeOptions, children: [
|
|
1754
1754
|
/* @__PURE__ */ g(
|
|
1755
1755
|
"div",
|
|
1756
1756
|
{
|
|
1757
|
-
className:
|
|
1757
|
+
className: W.optionContainer,
|
|
1758
1758
|
onClick: () => l("cat"),
|
|
1759
1759
|
children: [
|
|
1760
1760
|
/* @__PURE__ */ i(
|
|
1761
1761
|
"span",
|
|
1762
1762
|
{
|
|
1763
|
-
className: `${
|
|
1763
|
+
className: `${W.customRadious}`,
|
|
1764
1764
|
style: {
|
|
1765
1765
|
backgroundColor: o === "cat" ? s : "transparent",
|
|
1766
1766
|
borderColor: o === "cat" ? s : r
|
|
@@ -1770,7 +1770,7 @@ const Z0 = "_indicatorsCategory_arwy3_2", j0 = "_title_arwy3_5", H0 = "_list_arw
|
|
|
1770
1770
|
/* @__PURE__ */ i(
|
|
1771
1771
|
"h4",
|
|
1772
1772
|
{
|
|
1773
|
-
className:
|
|
1773
|
+
className: W.optionText,
|
|
1774
1774
|
style: {
|
|
1775
1775
|
color: o === "cat" ? s : r
|
|
1776
1776
|
},
|
|
@@ -1783,13 +1783,13 @@ const Z0 = "_indicatorsCategory_arwy3_2", j0 = "_title_arwy3_5", H0 = "_list_arw
|
|
|
1783
1783
|
/* @__PURE__ */ g(
|
|
1784
1784
|
"div",
|
|
1785
1785
|
{
|
|
1786
|
-
className:
|
|
1786
|
+
className: W.optionContainer,
|
|
1787
1787
|
onClick: () => l("abs"),
|
|
1788
1788
|
children: [
|
|
1789
1789
|
/* @__PURE__ */ i(
|
|
1790
1790
|
"span",
|
|
1791
1791
|
{
|
|
1792
|
-
className: `${
|
|
1792
|
+
className: `${W.customRadious}`,
|
|
1793
1793
|
style: {
|
|
1794
1794
|
backgroundColor: o === "abs" ? s : "transparent",
|
|
1795
1795
|
borderColor: o === "abs" ? s : r
|
|
@@ -1799,7 +1799,7 @@ const Z0 = "_indicatorsCategory_arwy3_2", j0 = "_title_arwy3_5", H0 = "_list_arw
|
|
|
1799
1799
|
/* @__PURE__ */ i(
|
|
1800
1800
|
"h4",
|
|
1801
1801
|
{
|
|
1802
|
-
className:
|
|
1802
|
+
className: W.optionText,
|
|
1803
1803
|
style: {
|
|
1804
1804
|
color: o === "abs" ? s : r
|
|
1805
1805
|
},
|
|
@@ -1809,15 +1809,15 @@ const Z0 = "_indicatorsCategory_arwy3_2", j0 = "_title_arwy3_5", H0 = "_list_arw
|
|
|
1809
1809
|
]
|
|
1810
1810
|
}
|
|
1811
1811
|
)
|
|
1812
|
-
] }) }) }), _ = () => /* @__PURE__ */ i("div", { className:
|
|
1812
|
+
] }) }) }), _ = () => /* @__PURE__ */ i("div", { className: W.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: W.switchType, children: /* @__PURE__ */ i("div", { className: W.switchTypeOptions, children: c.map((b, k) => /* @__PURE__ */ g(
|
|
1813
1813
|
"div",
|
|
1814
1814
|
{
|
|
1815
|
-
className:
|
|
1815
|
+
className: W.optionContainer,
|
|
1816
1816
|
children: [
|
|
1817
1817
|
/* @__PURE__ */ i(
|
|
1818
1818
|
"span",
|
|
1819
1819
|
{
|
|
1820
|
-
className:
|
|
1820
|
+
className: W.customRadious
|
|
1821
1821
|
}
|
|
1822
1822
|
),
|
|
1823
1823
|
/* @__PURE__ */ i("h4", { children: u(b.unit) })
|
|
@@ -1825,11 +1825,11 @@ const Z0 = "_indicatorsCategory_arwy3_2", j0 = "_title_arwy3_5", H0 = "_list_arw
|
|
|
1825
1825
|
},
|
|
1826
1826
|
k
|
|
1827
1827
|
)) }) }) });
|
|
1828
|
-
return /* @__PURE__ */ g("div", { className:
|
|
1828
|
+
return /* @__PURE__ */ g("div", { className: W.indicatorContainer, children: [
|
|
1829
1829
|
/* @__PURE__ */ g(
|
|
1830
1830
|
"div",
|
|
1831
1831
|
{
|
|
1832
|
-
className:
|
|
1832
|
+
className: W.indicatorNameContainer,
|
|
1833
1833
|
onClick: () => !p && d({ indicator: n }),
|
|
1834
1834
|
children: [
|
|
1835
1835
|
/* @__PURE__ */ i(
|
|
@@ -1840,20 +1840,20 @@ const Z0 = "_indicatorsCategory_arwy3_2", j0 = "_title_arwy3_5", H0 = "_list_arw
|
|
|
1840
1840
|
opacity: p ? 0.5 : 1,
|
|
1841
1841
|
backgroundColor: C ? s : "transparent"
|
|
1842
1842
|
},
|
|
1843
|
-
className:
|
|
1844
|
-
children: a && /* @__PURE__ */ i("img", { src: C ?
|
|
1843
|
+
className: W.dot,
|
|
1844
|
+
children: a && /* @__PURE__ */ i("img", { src: C ? Q0 : X0, alt: "" })
|
|
1845
1845
|
}
|
|
1846
1846
|
),
|
|
1847
1847
|
/* @__PURE__ */ i(
|
|
1848
1848
|
"h4",
|
|
1849
1849
|
{
|
|
1850
|
-
className:
|
|
1850
|
+
className: W.indicatorName,
|
|
1851
1851
|
style: {
|
|
1852
1852
|
color: C ? s : r,
|
|
1853
1853
|
opacity: p ? 0.5 : 1
|
|
1854
1854
|
},
|
|
1855
1855
|
children: /* @__PURE__ */ i(
|
|
1856
|
-
|
|
1856
|
+
mt,
|
|
1857
1857
|
{
|
|
1858
1858
|
i18nKey: f,
|
|
1859
1859
|
components: { sup: /* @__PURE__ */ i("sup", {}) },
|
|
@@ -1869,7 +1869,7 @@ const Z0 = "_indicatorsCategory_arwy3_2", j0 = "_title_arwy3_5", H0 = "_list_arw
|
|
|
1869
1869
|
(t == null ? void 0 : t.name) === f && m === "twoUnits" && /* @__PURE__ */ i("div", { children: _() })
|
|
1870
1870
|
] });
|
|
1871
1871
|
};
|
|
1872
|
-
|
|
1872
|
+
Ct.propTypes = {
|
|
1873
1873
|
indicator: e.shape({
|
|
1874
1874
|
name: e.string,
|
|
1875
1875
|
type: e.string
|
|
@@ -1881,10 +1881,10 @@ gt.propTypes = {
|
|
|
1881
1881
|
multiple: e.bool,
|
|
1882
1882
|
onClickIndicator: e.func
|
|
1883
1883
|
};
|
|
1884
|
-
const
|
|
1885
|
-
indicatorsSubCategory:
|
|
1886
|
-
list:
|
|
1887
|
-
},
|
|
1884
|
+
const cn = "_indicatorsSubCategory_1nuug_2", dn = "_list_1nuug_11", kt = {
|
|
1885
|
+
indicatorsSubCategory: cn,
|
|
1886
|
+
list: dn
|
|
1887
|
+
}, Yt = ({
|
|
1888
1888
|
subcName: n,
|
|
1889
1889
|
indicators: c,
|
|
1890
1890
|
defaultColor: s,
|
|
@@ -1902,9 +1902,9 @@ const rn = "_indicatorsSubCategory_1nuug_2", on = "_list_1nuug_11", xt = {
|
|
|
1902
1902
|
return O(() => {
|
|
1903
1903
|
h(t == d);
|
|
1904
1904
|
}, [t, d]), /* @__PURE__ */ g(
|
|
1905
|
-
|
|
1905
|
+
ht.div,
|
|
1906
1906
|
{
|
|
1907
|
-
className:
|
|
1907
|
+
className: kt.indicatorsSubCategory,
|
|
1908
1908
|
initial: { height: "43px" },
|
|
1909
1909
|
animate: { height: C ? "auto" : "43px" },
|
|
1910
1910
|
transition: { duration: 0.4 },
|
|
@@ -1919,8 +1919,8 @@ const rn = "_indicatorsSubCategory_1nuug_2", on = "_list_1nuug_11", xt = {
|
|
|
1919
1919
|
}
|
|
1920
1920
|
)
|
|
1921
1921
|
] }) }),
|
|
1922
|
-
c && /* @__PURE__ */ i("div", { className:
|
|
1923
|
-
|
|
1922
|
+
c && /* @__PURE__ */ i("div", { className: kt.list, children: c == null ? void 0 : c.map((v, _) => /* @__PURE__ */ i(
|
|
1923
|
+
Ct,
|
|
1924
1924
|
{
|
|
1925
1925
|
indicator: v,
|
|
1926
1926
|
defaultColor: s,
|
|
@@ -1937,7 +1937,7 @@ const rn = "_indicatorsSubCategory_1nuug_2", on = "_list_1nuug_11", xt = {
|
|
|
1937
1937
|
}
|
|
1938
1938
|
);
|
|
1939
1939
|
};
|
|
1940
|
-
|
|
1940
|
+
Yt.propTypes = {
|
|
1941
1941
|
subcName: e.string,
|
|
1942
1942
|
indicators: e.array,
|
|
1943
1943
|
activeColor: e.string,
|
|
@@ -1949,7 +1949,7 @@ Xt.propTypes = {
|
|
|
1949
1949
|
onClickSubCategory: e.func,
|
|
1950
1950
|
onClickIndicator: e.func
|
|
1951
1951
|
};
|
|
1952
|
-
const
|
|
1952
|
+
const e2 = ({
|
|
1953
1953
|
cat: n,
|
|
1954
1954
|
id: c,
|
|
1955
1955
|
activeColor: s,
|
|
@@ -1969,9 +1969,9 @@ const Qt = ({
|
|
|
1969
1969
|
return O(() => {
|
|
1970
1970
|
v(o === c);
|
|
1971
1971
|
}, [o, c]), /* @__PURE__ */ g(
|
|
1972
|
-
|
|
1972
|
+
ht.div,
|
|
1973
1973
|
{
|
|
1974
|
-
className:
|
|
1974
|
+
className: ze.indicatorsCategory,
|
|
1975
1975
|
initial: { height: "53px" },
|
|
1976
1976
|
animate: { height: h ? "auto" : "53px" },
|
|
1977
1977
|
transition: { duration: 0.4 },
|
|
@@ -1981,8 +1981,8 @@ const Qt = ({
|
|
|
1981
1981
|
marginBottom: h ? "20px" : "0px"
|
|
1982
1982
|
},
|
|
1983
1983
|
children: [
|
|
1984
|
-
/* @__PURE__ */ g("h2", { className: `${
|
|
1985
|
-
/* @__PURE__ */ i("span", { className:
|
|
1984
|
+
/* @__PURE__ */ g("h2", { className: `${ze.title}`, onClick: () => t(c), children: [
|
|
1985
|
+
/* @__PURE__ */ i("span", { className: ze.plus, style: { color: h ? s : r }, children: h ? "-" : "+" }),
|
|
1986
1986
|
/* @__PURE__ */ i(
|
|
1987
1987
|
"span",
|
|
1988
1988
|
{
|
|
@@ -1993,7 +1993,7 @@ const Qt = ({
|
|
|
1993
1993
|
] }),
|
|
1994
1994
|
n.subcategories ? n.subcategories.map(
|
|
1995
1995
|
({ name: b, subcategory: k, indicators: $ }, y) => /* @__PURE__ */ i(
|
|
1996
|
-
|
|
1996
|
+
Yt,
|
|
1997
1997
|
{
|
|
1998
1998
|
id: k,
|
|
1999
1999
|
activeSubCategory: d,
|
|
@@ -2010,8 +2010,8 @@ const Qt = ({
|
|
|
2010
2010
|
},
|
|
2011
2011
|
`subcKey ${y}`
|
|
2012
2012
|
)
|
|
2013
|
-
) : /* @__PURE__ */ i("div", { className:
|
|
2014
|
-
|
|
2013
|
+
) : /* @__PURE__ */ i("div", { className: ze.list, children: (_ = n.indicators) == null ? void 0 : _.map((b, k) => /* @__PURE__ */ i(
|
|
2014
|
+
Ct,
|
|
2015
2015
|
{
|
|
2016
2016
|
indicator: b,
|
|
2017
2017
|
values: b.type == "twoUnits" && b.values,
|
|
@@ -2029,7 +2029,7 @@ const Qt = ({
|
|
|
2029
2029
|
}
|
|
2030
2030
|
);
|
|
2031
2031
|
};
|
|
2032
|
-
|
|
2032
|
+
e2.propTypes = {
|
|
2033
2033
|
cat: e.object,
|
|
2034
2034
|
id: e.string,
|
|
2035
2035
|
onChange: e.func,
|
|
@@ -2043,10 +2043,10 @@ Qt.propTypes = {
|
|
|
2043
2043
|
activeColor: e.string,
|
|
2044
2044
|
defaultColor: e.string
|
|
2045
2045
|
};
|
|
2046
|
-
const
|
|
2047
|
-
indicatorsList:
|
|
2048
|
-
title:
|
|
2049
|
-
},
|
|
2046
|
+
const un = "_indicatorsList_13b3m_2", pn = "_title_13b3m_6", $t = {
|
|
2047
|
+
indicatorsList: un,
|
|
2048
|
+
title: pn
|
|
2049
|
+
}, mn = ({
|
|
2050
2050
|
indicators: n,
|
|
2051
2051
|
activeColor: c,
|
|
2052
2052
|
defaultColor: s = "#92898A",
|
|
@@ -2084,7 +2084,7 @@ const an = "_indicatorsList_13b3m_2", ln = "_title_13b3m_6", wt = {
|
|
|
2084
2084
|
};
|
|
2085
2085
|
O(() => {
|
|
2086
2086
|
r && typeof r == "function" && C && r({ activeIndicator: C });
|
|
2087
|
-
}, [C]),
|
|
2087
|
+
}, [C]), h2(() => {
|
|
2088
2088
|
if (o && !C)
|
|
2089
2089
|
if (t && o && Array.isArray(o)) {
|
|
2090
2090
|
let y = C && C.length > 0 ? [...C] : [];
|
|
@@ -2103,7 +2103,7 @@ const an = "_indicatorsList_13b3m_2", ln = "_title_13b3m_6", wt = {
|
|
|
2103
2103
|
const w = n.find((x) => {
|
|
2104
2104
|
if (x.subcategories) {
|
|
2105
2105
|
let S = x.subcategories.find(
|
|
2106
|
-
(N) => N.indicators.find((
|
|
2106
|
+
(N) => N.indicators.find((M) => M.name == y)
|
|
2107
2107
|
);
|
|
2108
2108
|
if (S)
|
|
2109
2109
|
return p(S.subcategory), S;
|
|
@@ -2112,10 +2112,10 @@ const an = "_indicatorsList_13b3m_2", ln = "_title_13b3m_6", wt = {
|
|
|
2112
2112
|
});
|
|
2113
2113
|
w && f(w.category);
|
|
2114
2114
|
};
|
|
2115
|
-
return /* @__PURE__ */ g("div", { className:
|
|
2116
|
-
/* @__PURE__ */ i("h2", { className:
|
|
2115
|
+
return /* @__PURE__ */ g("div", { className: $t.indicatorsList, children: [
|
|
2116
|
+
/* @__PURE__ */ i("h2", { className: $t.title, style: { color: s }, children: l("indicators.indicators") }),
|
|
2117
2117
|
n.map((y, w) => /* @__PURE__ */ i(
|
|
2118
|
-
|
|
2118
|
+
e2,
|
|
2119
2119
|
{
|
|
2120
2120
|
id: y.category,
|
|
2121
2121
|
cat: y,
|
|
@@ -2136,7 +2136,7 @@ const an = "_indicatorsList_13b3m_2", ln = "_title_13b3m_6", wt = {
|
|
|
2136
2136
|
))
|
|
2137
2137
|
] });
|
|
2138
2138
|
};
|
|
2139
|
-
|
|
2139
|
+
mn.propTypes = {
|
|
2140
2140
|
indicators: e.arrayOf(e.object),
|
|
2141
2141
|
activeColor: e.string,
|
|
2142
2142
|
defaultColor: e.string,
|
|
@@ -2147,13 +2147,13 @@ cn.propTypes = {
|
|
|
2147
2147
|
defaultValue: e.oneOfType([e.object, e.array]),
|
|
2148
2148
|
activeIndicatorType: e.string
|
|
2149
2149
|
};
|
|
2150
|
-
const
|
|
2151
|
-
langSelector:
|
|
2152
|
-
currentLang:
|
|
2153
|
-
arrow:
|
|
2154
|
-
prevImg:
|
|
2155
|
-
langMenu:
|
|
2156
|
-
},
|
|
2150
|
+
const hn = "_langSelector_o9enq_2", gn = "_currentLang_o9enq_14", Cn = "_arrow_o9enq_26", fn = "_prevImg_o9enq_29", yn = "_langMenu_o9enq_33", we = {
|
|
2151
|
+
langSelector: hn,
|
|
2152
|
+
currentLang: gn,
|
|
2153
|
+
arrow: Cn,
|
|
2154
|
+
prevImg: fn,
|
|
2155
|
+
langMenu: yn
|
|
2156
|
+
}, bn = ({ langs: n, arrow: c, imgPrev: s }) => {
|
|
2157
2157
|
const [r, t] = R(!1), { i18n: o } = F(), d = n.find((l) => l.code == o.language), a = (l) => {
|
|
2158
2158
|
o.changeLanguage(l), t(!1);
|
|
2159
2159
|
};
|
|
@@ -2183,7 +2183,7 @@ const dn = "_langSelector_o9enq_2", un = "_currentLang_o9enq_14", pn = "_arrow_o
|
|
|
2183
2183
|
)) })
|
|
2184
2184
|
] });
|
|
2185
2185
|
};
|
|
2186
|
-
|
|
2186
|
+
bn.propTypes = {
|
|
2187
2187
|
langs: e.arrayOf(
|
|
2188
2188
|
e.shape({
|
|
2189
2189
|
code: e.string,
|
|
@@ -2197,23 +2197,23 @@ gn.propTypes = {
|
|
|
2197
2197
|
arrow: e.object,
|
|
2198
2198
|
imgPrev: e.object
|
|
2199
2199
|
};
|
|
2200
|
-
const
|
|
2201
|
-
legendContainer:
|
|
2202
|
-
closeButton:
|
|
2203
|
-
titleContainer:
|
|
2204
|
-
infoContainer:
|
|
2205
|
-
titleLegendList:
|
|
2206
|
-
legendListContainer:
|
|
2207
|
-
gridContainer:
|
|
2208
|
-
elementLegendContainer:
|
|
2209
|
-
colorDot:
|
|
2210
|
-
absoluteValueContainer:
|
|
2211
|
-
absoluteValueColor:
|
|
2212
|
-
absoluteValueText:
|
|
2213
|
-
noDataContainer:
|
|
2214
|
-
noData:
|
|
2215
|
-
moreInfoContainer:
|
|
2216
|
-
},
|
|
2200
|
+
const _n = "_legendContainer_4ndr8_3", vn = "_closeButton_4ndr8_41", xn = "_titleContainer_4ndr8_69", wn = "_infoContainer_4ndr8_75", Nn = "_titleLegendList_4ndr8_86", kn = "_legendListContainer_4ndr8_92", $n = "_gridContainer_4ndr8_92", Sn = "_elementLegendContainer_4ndr8_98", Tn = "_colorDot_4ndr8_104", Mn = "_absoluteValueContainer_4ndr8_110", Ln = "_absoluteValueColor_4ndr8_113", Bn = "_absoluteValueText_4ndr8_118", Dn = "_noDataContainer_4ndr8_130", Vn = "_noData_4ndr8_130", Fn = "_moreInfoContainer_4ndr8_151", U = {
|
|
2201
|
+
legendContainer: _n,
|
|
2202
|
+
closeButton: vn,
|
|
2203
|
+
titleContainer: xn,
|
|
2204
|
+
infoContainer: wn,
|
|
2205
|
+
titleLegendList: Nn,
|
|
2206
|
+
legendListContainer: kn,
|
|
2207
|
+
gridContainer: $n,
|
|
2208
|
+
elementLegendContainer: Sn,
|
|
2209
|
+
colorDot: Tn,
|
|
2210
|
+
absoluteValueContainer: Mn,
|
|
2211
|
+
absoluteValueColor: Ln,
|
|
2212
|
+
absoluteValueText: Bn,
|
|
2213
|
+
noDataContainer: Dn,
|
|
2214
|
+
noData: Vn,
|
|
2215
|
+
moreInfoContainer: Fn
|
|
2216
|
+
}, An = ({
|
|
2217
2217
|
//JSON with the styles of the container (optional)
|
|
2218
2218
|
containerStyles: n,
|
|
2219
2219
|
//Title on top of the legend
|
|
@@ -2234,22 +2234,22 @@ const Cn = "_legendContainer_4ndr8_3", fn = "_closeButton_4ndr8_41", yn = "_titl
|
|
|
2234
2234
|
"div",
|
|
2235
2235
|
{
|
|
2236
2236
|
style: n ? { ...n } : {},
|
|
2237
|
-
className: `${
|
|
2237
|
+
className: `${U.legendContainer}`,
|
|
2238
2238
|
children: [
|
|
2239
|
-
/* @__PURE__ */ i("button", { className:
|
|
2239
|
+
/* @__PURE__ */ i("button", { className: U.closeButton, onClick: d }),
|
|
2240
2240
|
c && /* @__PURE__ */ i(
|
|
2241
2241
|
"div",
|
|
2242
2242
|
{
|
|
2243
|
-
className:
|
|
2243
|
+
className: U.titleContainer,
|
|
2244
2244
|
style: {
|
|
2245
2245
|
marginBottom: (!s || s.length == 0) && "15px"
|
|
2246
2246
|
},
|
|
2247
2247
|
children: /* @__PURE__ */ i("h2", { children: c })
|
|
2248
2248
|
}
|
|
2249
2249
|
),
|
|
2250
|
-
s && s.length > 0 && /* @__PURE__ */ i("div", { className:
|
|
2251
|
-
/* @__PURE__ */ i("h3", { className:
|
|
2252
|
-
/* @__PURE__ */ g("span", { className:
|
|
2250
|
+
s && s.length > 0 && /* @__PURE__ */ i("div", { className: U.infoContainer, children: /* @__PURE__ */ i("ul", { children: s.map(({ title: l, value: u }) => /* @__PURE__ */ g("li", { children: [
|
|
2251
|
+
/* @__PURE__ */ i("h3", { className: U.title, children: `${l}:` }),
|
|
2252
|
+
/* @__PURE__ */ g("span", { className: U.value, children: [
|
|
2253
2253
|
" ",
|
|
2254
2254
|
u
|
|
2255
2255
|
] })
|
|
@@ -2258,12 +2258,12 @@ const Cn = "_legendContainer_4ndr8_3", fn = "_closeButton_4ndr8_41", yn = "_titl
|
|
|
2258
2258
|
/* @__PURE__ */ i(
|
|
2259
2259
|
"h3",
|
|
2260
2260
|
{
|
|
2261
|
-
className:
|
|
2261
|
+
className: U.titleLegendList,
|
|
2262
2262
|
style: {
|
|
2263
2263
|
marginTop: s && s.length > 0 && u === 0 ? "30px" : u > 0 ? "20px" : "0px"
|
|
2264
2264
|
},
|
|
2265
2265
|
children: l.title && /* @__PURE__ */ i(
|
|
2266
|
-
|
|
2266
|
+
mt,
|
|
2267
2267
|
{
|
|
2268
2268
|
i18nKey: l.title,
|
|
2269
2269
|
components: { sup: /* @__PURE__ */ i("sup", {}) },
|
|
@@ -2272,18 +2272,18 @@ const Cn = "_legendContainer_4ndr8_3", fn = "_closeButton_4ndr8_41", yn = "_titl
|
|
|
2272
2272
|
)
|
|
2273
2273
|
}
|
|
2274
2274
|
),
|
|
2275
|
-
/* @__PURE__ */ g("div", { className:
|
|
2276
|
-
l.absolute ? /* @__PURE__ */ g("div", { className:
|
|
2275
|
+
/* @__PURE__ */ g("div", { className: U.legendListContainer, children: [
|
|
2276
|
+
l.absolute ? /* @__PURE__ */ g("div", { className: U.absoluteValueContainer, children: [
|
|
2277
2277
|
/* @__PURE__ */ i(
|
|
2278
2278
|
"div",
|
|
2279
2279
|
{
|
|
2280
|
-
className:
|
|
2280
|
+
className: U.absoluteValueColor,
|
|
2281
2281
|
style: {
|
|
2282
2282
|
background: `linear-gradient(to bottom, ${l.absolute.maxColor} 0%, ${l.absolute.midColor ? `${l.absolute.midColor} 50%,` : ""} ${l.absolute.minColor} 100%)`
|
|
2283
2283
|
}
|
|
2284
2284
|
}
|
|
2285
2285
|
),
|
|
2286
|
-
/* @__PURE__ */ g("div", { className:
|
|
2286
|
+
/* @__PURE__ */ g("div", { className: U.absoluteValueText, children: [
|
|
2287
2287
|
/* @__PURE__ */ g("span", { children: [
|
|
2288
2288
|
l.absolute.maxValue,
|
|
2289
2289
|
" ",
|
|
@@ -2300,20 +2300,20 @@ const Cn = "_legendContainer_4ndr8_3", fn = "_closeButton_4ndr8_41", yn = "_titl
|
|
|
2300
2300
|
a(l.absolute.unit)
|
|
2301
2301
|
] })
|
|
2302
2302
|
] })
|
|
2303
|
-
] }) : l.categories && l.categories.length > 0 && /* @__PURE__ */ i("div", { className:
|
|
2303
|
+
] }) : l.categories && l.categories.length > 0 && /* @__PURE__ */ i("div", { className: U.gridContainer, children: l.categories.map(
|
|
2304
2304
|
({ title: f, color: m }, p) => /* @__PURE__ */ g(
|
|
2305
2305
|
"div",
|
|
2306
2306
|
{
|
|
2307
|
-
className:
|
|
2307
|
+
className: U.elementLegendContainer,
|
|
2308
2308
|
children: [
|
|
2309
2309
|
/* @__PURE__ */ i(
|
|
2310
2310
|
"div",
|
|
2311
2311
|
{
|
|
2312
|
-
className:
|
|
2312
|
+
className: U.colorDot,
|
|
2313
2313
|
style: { backgroundColor: m }
|
|
2314
2314
|
}
|
|
2315
2315
|
),
|
|
2316
|
-
/* @__PURE__ */ g("div", { className:
|
|
2316
|
+
/* @__PURE__ */ g("div", { className: U.titleLegendElement, children: [
|
|
2317
2317
|
a(f),
|
|
2318
2318
|
" "
|
|
2319
2319
|
] })
|
|
@@ -2322,26 +2322,26 @@ const Cn = "_legendContainer_4ndr8_3", fn = "_closeButton_4ndr8_41", yn = "_titl
|
|
|
2322
2322
|
p
|
|
2323
2323
|
)
|
|
2324
2324
|
) }),
|
|
2325
|
-
l.absolute && l.absolute.noDataColor && /* @__PURE__ */ g("div", { className:
|
|
2325
|
+
l.absolute && l.absolute.noDataColor && /* @__PURE__ */ g("div", { className: U.noDataContainer, children: [
|
|
2326
2326
|
/* @__PURE__ */ i(
|
|
2327
2327
|
"div",
|
|
2328
2328
|
{
|
|
2329
|
-
className:
|
|
2329
|
+
className: U.noData,
|
|
2330
2330
|
style: {
|
|
2331
2331
|
background: l.absolute.noDataColor
|
|
2332
2332
|
}
|
|
2333
2333
|
}
|
|
2334
2334
|
),
|
|
2335
|
-
/* @__PURE__ */ i("div", { className:
|
|
2335
|
+
/* @__PURE__ */ i("div", { className: U.absoluteValueText, children: /* @__PURE__ */ i("span", { children: a(l.absolute.noDataText) }) })
|
|
2336
2336
|
] })
|
|
2337
2337
|
] })
|
|
2338
2338
|
] }, u)),
|
|
2339
|
-
t && /* @__PURE__ */ i("button", { className:
|
|
2339
|
+
t && /* @__PURE__ */ i("button", { className: U.moreInfoContainer, onClick: t, children: o || a("moreInformation") })
|
|
2340
2340
|
]
|
|
2341
2341
|
}
|
|
2342
2342
|
);
|
|
2343
2343
|
};
|
|
2344
|
-
|
|
2344
|
+
An.propTypes = {
|
|
2345
2345
|
title: e.string,
|
|
2346
2346
|
containerStyles: e.object,
|
|
2347
2347
|
infoList: e.arrayOf(
|
|
@@ -2376,23 +2376,23 @@ Mn.propTypes = {
|
|
|
2376
2376
|
buttonTitle: e.string,
|
|
2377
2377
|
onClickClose: e.func
|
|
2378
2378
|
};
|
|
2379
|
-
const
|
|
2380
|
-
logo:
|
|
2381
|
-
},
|
|
2379
|
+
const On = "_logo_1ewa6_2", St = {
|
|
2380
|
+
logo: On
|
|
2381
|
+
}, Rn = ({ src: n, alt: c, href: s }) => {
|
|
2382
2382
|
const { t: r } = F(), t = /* @__PURE__ */ i("img", { src: n, alt: r(c) });
|
|
2383
|
-
return s ? /* @__PURE__ */ i("div", { className:
|
|
2383
|
+
return s ? /* @__PURE__ */ i("div", { className: St.logo, children: /* @__PURE__ */ i("a", { href: s, children: t }) }) : /* @__PURE__ */ i("div", { className: St.logo, children: t });
|
|
2384
2384
|
};
|
|
2385
|
-
|
|
2385
|
+
Rn.propTypes = {
|
|
2386
2386
|
src: e.string.isRequired,
|
|
2387
2387
|
alt: e.string.isRequired,
|
|
2388
2388
|
href: e.string,
|
|
2389
2389
|
className: e.string
|
|
2390
2390
|
};
|
|
2391
|
-
const
|
|
2392
|
-
mapContainer:
|
|
2391
|
+
const In = "_mapContainer_84pkf_2", En = {
|
|
2392
|
+
mapContainer: In
|
|
2393
2393
|
};
|
|
2394
|
-
|
|
2395
|
-
const
|
|
2394
|
+
g2.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
|
|
2395
|
+
const qn = ({
|
|
2396
2396
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2397
2397
|
maxZoom: c = 17,
|
|
2398
2398
|
minZoom: s = 8,
|
|
@@ -2405,7 +2405,7 @@ const On = ({
|
|
|
2405
2405
|
sources: u = [],
|
|
2406
2406
|
layers: f = []
|
|
2407
2407
|
}) => {
|
|
2408
|
-
const m =
|
|
2408
|
+
const m = te(), [p, C] = R(null), h = C2((v) => v.mapState.showTexts);
|
|
2409
2409
|
return O(() => {
|
|
2410
2410
|
if (m.current) {
|
|
2411
2411
|
const v = m.current.getMap();
|
|
@@ -2413,8 +2413,8 @@ const On = ({
|
|
|
2413
2413
|
b.type == "symbol" && b.id != "professionals" && (h ? v.setLayoutProperty(b.id, "visibility", "visible") : v.setLayoutProperty(b.id, "visibility", "none"));
|
|
2414
2414
|
});
|
|
2415
2415
|
}
|
|
2416
|
-
}, [h]), /* @__PURE__ */ i("div", { className: `${
|
|
2417
|
-
|
|
2416
|
+
}, [h]), /* @__PURE__ */ i("div", { className: `${En.mapContainer}`, style: o, children: /* @__PURE__ */ g(
|
|
2417
|
+
f2,
|
|
2418
2418
|
{
|
|
2419
2419
|
initialViewState: n,
|
|
2420
2420
|
ref: m,
|
|
@@ -2426,12 +2426,12 @@ const On = ({
|
|
|
2426
2426
|
interactiveLayerIds: a,
|
|
2427
2427
|
children: [
|
|
2428
2428
|
u.length && u.map((v, _) => /* @__PURE__ */ i(
|
|
2429
|
-
|
|
2429
|
+
y2,
|
|
2430
2430
|
{
|
|
2431
2431
|
...v,
|
|
2432
2432
|
children: f.length && f.map((b, k) => {
|
|
2433
2433
|
if (b.sourceId == v.id) return /* @__PURE__ */ i(
|
|
2434
|
-
|
|
2434
|
+
b2,
|
|
2435
2435
|
{
|
|
2436
2436
|
...b.layer,
|
|
2437
2437
|
beforeId: t
|
|
@@ -2442,9 +2442,9 @@ const On = ({
|
|
|
2442
2442
|
},
|
|
2443
2443
|
_
|
|
2444
2444
|
)),
|
|
2445
|
-
/* @__PURE__ */ i(
|
|
2445
|
+
/* @__PURE__ */ i(_2, { position: "bottom-right", visualizePitch: !0 }),
|
|
2446
2446
|
l && p && /* @__PURE__ */ i(
|
|
2447
|
-
|
|
2447
|
+
v2,
|
|
2448
2448
|
{
|
|
2449
2449
|
longitude: l.longitude,
|
|
2450
2450
|
latitude: l.latitude,
|
|
@@ -2457,7 +2457,7 @@ const On = ({
|
|
|
2457
2457
|
}
|
|
2458
2458
|
) });
|
|
2459
2459
|
};
|
|
2460
|
-
|
|
2460
|
+
qn.propTypes = {
|
|
2461
2461
|
initialView: e.shape({
|
|
2462
2462
|
latitude: e.number.isRequired,
|
|
2463
2463
|
longitude: e.number.isRequired,
|
|
@@ -2502,25 +2502,25 @@ On.propTypes = {
|
|
|
2502
2502
|
})
|
|
2503
2503
|
)
|
|
2504
2504
|
};
|
|
2505
|
-
const
|
|
2506
|
-
mapContainer:
|
|
2507
|
-
},
|
|
2508
|
-
FeaturePopUp:
|
|
2509
|
-
title:
|
|
2510
|
-
},
|
|
2505
|
+
const Pn = "_mapContainer_b0pyr_3", zn = {
|
|
2506
|
+
mapContainer: Pn
|
|
2507
|
+
}, Zn = "_FeaturePopUp_mt8l5_2", jn = "_title_mt8l5_9", Tt = {
|
|
2508
|
+
FeaturePopUp: Zn,
|
|
2509
|
+
title: jn
|
|
2510
|
+
}, Hn = ({ props: n }) => {
|
|
2511
2511
|
const { t: c } = F();
|
|
2512
|
-
return /* @__PURE__ */ i("div", { className:
|
|
2513
|
-
/* @__PURE__ */ g("span", { className:
|
|
2514
|
-
/* @__PURE__ */ i(
|
|
2512
|
+
return /* @__PURE__ */ i("div", { className: Tt.FeaturePopUp, children: n.map((s) => /* @__PURE__ */ g("p", { children: [
|
|
2513
|
+
/* @__PURE__ */ g("span", { className: Tt.title, children: [
|
|
2514
|
+
/* @__PURE__ */ i(mt, { i18nKey: s.name, components: { sup: /* @__PURE__ */ i("sup", {}) }, shouldUnescape: !0 }),
|
|
2515
2515
|
":"
|
|
2516
2516
|
] }),
|
|
2517
|
-
isNaN(s.value) ? /* @__PURE__ */ i(
|
|
2517
|
+
isNaN(s.value) ? /* @__PURE__ */ i(Ue, { children: c(s.value) }) : /* @__PURE__ */ g(Ue, { children: [
|
|
2518
2518
|
s.value.toLocaleString("de", { maximumFractionDigits: 2 }),
|
|
2519
2519
|
" ",
|
|
2520
2520
|
c(s.unit)
|
|
2521
2521
|
] })
|
|
2522
2522
|
] })) });
|
|
2523
|
-
},
|
|
2523
|
+
}, Kn = ({
|
|
2524
2524
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2525
2525
|
maxZoom: c = 17,
|
|
2526
2526
|
minZoom: s = 8,
|
|
@@ -2536,7 +2536,7 @@ const Rn = "_mapContainer_b0pyr_3", In = {
|
|
|
2536
2536
|
showTexts: p,
|
|
2537
2537
|
hash: C = !1
|
|
2538
2538
|
}) => {
|
|
2539
|
-
const h =
|
|
2539
|
+
const h = te();
|
|
2540
2540
|
return O(() => {
|
|
2541
2541
|
if (h.current) {
|
|
2542
2542
|
const v = h.current.getMap();
|
|
@@ -2545,14 +2545,14 @@ const Rn = "_mapContainer_b0pyr_3", In = {
|
|
|
2545
2545
|
});
|
|
2546
2546
|
}
|
|
2547
2547
|
}, [p]), O(() => {
|
|
2548
|
-
let v = new
|
|
2549
|
-
return
|
|
2550
|
-
|
|
2548
|
+
let v = new x2();
|
|
2549
|
+
return Je.addProtocol("pmtiles", v.tile), () => {
|
|
2550
|
+
Je.removeProtocol("pmtiles");
|
|
2551
2551
|
};
|
|
2552
|
-
}, []), /* @__PURE__ */ i("div", { className: `${
|
|
2553
|
-
|
|
2552
|
+
}, []), /* @__PURE__ */ i("div", { className: `${zn.mapContainer}`, style: o && o, children: /* @__PURE__ */ g(
|
|
2553
|
+
w2,
|
|
2554
2554
|
{
|
|
2555
|
-
mapLib:
|
|
2555
|
+
mapLib: Je,
|
|
2556
2556
|
initialViewState: n,
|
|
2557
2557
|
ref: h,
|
|
2558
2558
|
hash: C,
|
|
@@ -2563,12 +2563,12 @@ const Rn = "_mapContainer_b0pyr_3", In = {
|
|
|
2563
2563
|
interactiveLayerIds: a,
|
|
2564
2564
|
children: [
|
|
2565
2565
|
l.length && l.map((v, _) => /* @__PURE__ */ i(
|
|
2566
|
-
|
|
2566
|
+
N2,
|
|
2567
2567
|
{
|
|
2568
2568
|
...v,
|
|
2569
2569
|
children: u.length && u.map((b, k) => {
|
|
2570
2570
|
if (b.sourceId == v.id) return /* @__PURE__ */ i(
|
|
2571
|
-
|
|
2571
|
+
k2,
|
|
2572
2572
|
{
|
|
2573
2573
|
...b.layer,
|
|
2574
2574
|
beforeId: t,
|
|
@@ -2583,21 +2583,21 @@ const Rn = "_mapContainer_b0pyr_3", In = {
|
|
|
2583
2583
|
},
|
|
2584
2584
|
_
|
|
2585
2585
|
)),
|
|
2586
|
-
/* @__PURE__ */ i(
|
|
2586
|
+
/* @__PURE__ */ i($2, { position: "bottom-right", visualizePitch: !0 }),
|
|
2587
2587
|
f && /* @__PURE__ */ i(
|
|
2588
|
-
|
|
2588
|
+
S2,
|
|
2589
2589
|
{
|
|
2590
2590
|
longitude: f.lng,
|
|
2591
2591
|
latitude: f.lat,
|
|
2592
2592
|
onClose: m,
|
|
2593
|
-
children: /* @__PURE__ */ i(
|
|
2593
|
+
children: /* @__PURE__ */ i(Hn, { props: f.props })
|
|
2594
2594
|
}
|
|
2595
2595
|
)
|
|
2596
2596
|
]
|
|
2597
2597
|
}
|
|
2598
2598
|
) });
|
|
2599
2599
|
};
|
|
2600
|
-
|
|
2600
|
+
Kn.propTypes = {
|
|
2601
2601
|
initialView: e.shape({
|
|
2602
2602
|
latitude: e.number.isRequired,
|
|
2603
2603
|
longitude: e.number.isRequired,
|
|
@@ -2641,14 +2641,14 @@ zn.propTypes = {
|
|
|
2641
2641
|
popUpParams: e.object,
|
|
2642
2642
|
onClosePopUp: e.func
|
|
2643
2643
|
};
|
|
2644
|
-
const
|
|
2645
|
-
sectionBar:
|
|
2646
|
-
leftContent:
|
|
2647
|
-
textContainer:
|
|
2648
|
-
title:
|
|
2649
|
-
subtitle:
|
|
2650
|
-
rightContent:
|
|
2651
|
-
},
|
|
2644
|
+
const Un = "_sectionBar_yf2vy_2", Wn = "_leftContent_yf2vy_14", Gn = "_textContainer_yf2vy_20", Xn = "_title_yf2vy_27", Qn = "_subtitle_yf2vy_33", Jn = "_rightContent_yf2vy_38", fe = {
|
|
2645
|
+
sectionBar: Un,
|
|
2646
|
+
leftContent: Wn,
|
|
2647
|
+
textContainer: Gn,
|
|
2648
|
+
title: Xn,
|
|
2649
|
+
subtitle: Qn,
|
|
2650
|
+
rightContent: Jn
|
|
2651
|
+
}, Yn = ({
|
|
2652
2652
|
leftIcon: n,
|
|
2653
2653
|
title: c,
|
|
2654
2654
|
subtitle: s,
|
|
@@ -2663,25 +2663,25 @@ const Zn = "_sectionBar_yf2vy_2", jn = "_leftContent_yf2vy_14", Hn = "_textConta
|
|
|
2663
2663
|
return /* @__PURE__ */ g(
|
|
2664
2664
|
"div",
|
|
2665
2665
|
{
|
|
2666
|
-
className:
|
|
2666
|
+
className: fe.sectionBar,
|
|
2667
2667
|
style: {
|
|
2668
2668
|
width: o && o,
|
|
2669
2669
|
borderTop: l ? "1px solid #000" : "0px"
|
|
2670
2670
|
},
|
|
2671
2671
|
children: [
|
|
2672
|
-
/* @__PURE__ */ g("div", { className:
|
|
2673
|
-
n && /* @__PURE__ */ i("img", { src: n, alt: "Icono", className:
|
|
2674
|
-
/* @__PURE__ */ g("div", { className:
|
|
2675
|
-
/* @__PURE__ */ i("div", { className:
|
|
2676
|
-
s && /* @__PURE__ */ i("div", { className:
|
|
2672
|
+
/* @__PURE__ */ g("div", { className: fe.leftContent, children: [
|
|
2673
|
+
n && /* @__PURE__ */ i("img", { src: n, alt: "Icono", className: fe.icon }),
|
|
2674
|
+
/* @__PURE__ */ g("div", { className: fe.textContainer, children: [
|
|
2675
|
+
/* @__PURE__ */ i("div", { className: fe.title, style: { color: d }, children: u(c) }),
|
|
2676
|
+
s && /* @__PURE__ */ i("div", { className: fe.subtitle, style: { color: a }, children: s })
|
|
2677
2677
|
] })
|
|
2678
2678
|
] }),
|
|
2679
|
-
/* @__PURE__ */ i("div", { className:
|
|
2679
|
+
/* @__PURE__ */ i("div", { className: fe.rightContent, children: r })
|
|
2680
2680
|
]
|
|
2681
2681
|
}
|
|
2682
2682
|
);
|
|
2683
2683
|
};
|
|
2684
|
-
|
|
2684
|
+
Yn.propTypes = {
|
|
2685
2685
|
leftIcon: e.string,
|
|
2686
2686
|
// URL del icono de la sección
|
|
2687
2687
|
title: e.string.isRequired,
|
|
@@ -2696,7 +2696,7 @@ Gn.propTypes = {
|
|
|
2696
2696
|
// ancho de la barra
|
|
2697
2697
|
borderTop: e.bool
|
|
2698
2698
|
};
|
|
2699
|
-
const
|
|
2699
|
+
const ei = T2({
|
|
2700
2700
|
name: "mapSlice",
|
|
2701
2701
|
initialState: {
|
|
2702
2702
|
showTexts: !0,
|
|
@@ -2722,12 +2722,12 @@ const Xn = N2({
|
|
|
2722
2722
|
n.activeIndicatorUnit = c.payload;
|
|
2723
2723
|
}
|
|
2724
2724
|
}
|
|
2725
|
-
}), { setShowTexts:
|
|
2726
|
-
slider:
|
|
2727
|
-
playButton:
|
|
2728
|
-
sliderOpen:
|
|
2729
|
-
sliderResults:
|
|
2730
|
-
},
|
|
2725
|
+
}), { setShowTexts: Do, setYear: Vo, setActiveIndicatorKey: Fo, setActiveIndicatorType: Ao, setActiveIndicatorUnit: Oo } = ei.actions, ti = "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", ni = "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", ii = "_slider_1prh1_2", si = "_playButton_1prh1_14", ri = "_sliderOpen_1prh1_25", oi = "_sliderResults_1prh1_29", Me = {
|
|
2726
|
+
slider: ii,
|
|
2727
|
+
playButton: si,
|
|
2728
|
+
sliderOpen: ri,
|
|
2729
|
+
sliderResults: oi
|
|
2730
|
+
}, ai = ({
|
|
2731
2731
|
onResults: n = !1,
|
|
2732
2732
|
defaultYear: c = 2025,
|
|
2733
2733
|
firstYear: s = 2025,
|
|
@@ -2762,7 +2762,7 @@ const Xn = N2({
|
|
|
2762
2762
|
h(!1);
|
|
2763
2763
|
};
|
|
2764
2764
|
(($, y, w = []) => {
|
|
2765
|
-
const x =
|
|
2765
|
+
const x = te();
|
|
2766
2766
|
O(() => {
|
|
2767
2767
|
x.current = $;
|
|
2768
2768
|
}, [$]), O(() => {
|
|
@@ -2784,7 +2784,7 @@ const Xn = N2({
|
|
|
2784
2784
|
1e3,
|
|
2785
2785
|
[s, r, C]
|
|
2786
2786
|
);
|
|
2787
|
-
const k =
|
|
2787
|
+
const k = L2({
|
|
2788
2788
|
palette: {
|
|
2789
2789
|
primary: {
|
|
2790
2790
|
main: "#605b56"
|
|
@@ -2807,16 +2807,16 @@ const Xn = N2({
|
|
|
2807
2807
|
}
|
|
2808
2808
|
}
|
|
2809
2809
|
});
|
|
2810
|
-
return /* @__PURE__ */ i(
|
|
2811
|
-
|
|
2810
|
+
return /* @__PURE__ */ i(D2, { theme: k, children: /* @__PURE__ */ g(
|
|
2811
|
+
B2,
|
|
2812
2812
|
{
|
|
2813
2813
|
sx: { width: 400 },
|
|
2814
|
-
className: `${n ?
|
|
2814
|
+
className: `${n ? Me.sliderResults : Me.slider} ${d ? Me.sliderOpen : ""}`,
|
|
2815
2815
|
style: { zIndex: o },
|
|
2816
2816
|
children: [
|
|
2817
2817
|
s,
|
|
2818
2818
|
/* @__PURE__ */ i(
|
|
2819
|
-
|
|
2819
|
+
M2,
|
|
2820
2820
|
{
|
|
2821
2821
|
"aria-label": "TimeSlider",
|
|
2822
2822
|
value: f,
|
|
@@ -2831,13 +2831,13 @@ const Xn = N2({
|
|
|
2831
2831
|
}
|
|
2832
2832
|
),
|
|
2833
2833
|
r,
|
|
2834
|
-
!C && /* @__PURE__ */ i("button", { className:
|
|
2835
|
-
C && /* @__PURE__ */ i("button", { className:
|
|
2834
|
+
!C && /* @__PURE__ */ i("button", { className: Me.playButton, onClick: v, children: /* @__PURE__ */ i("img", { src: ti, alt: "Play" }) }),
|
|
2835
|
+
C && /* @__PURE__ */ i("button", { className: Me.playButton, onClick: _, children: /* @__PURE__ */ i("img", { src: ni, alt: "Pause" }) })
|
|
2836
2836
|
]
|
|
2837
2837
|
}
|
|
2838
2838
|
) });
|
|
2839
2839
|
};
|
|
2840
|
-
|
|
2840
|
+
ai.propTypes = {
|
|
2841
2841
|
defaultYear: e.number,
|
|
2842
2842
|
onResults: e.bool,
|
|
2843
2843
|
firstYear: e.number,
|
|
@@ -2852,11 +2852,11 @@ ii.propTypes = {
|
|
|
2852
2852
|
rightBarOpen: e.bool,
|
|
2853
2853
|
onChange: e.func
|
|
2854
2854
|
};
|
|
2855
|
-
const
|
|
2856
|
-
TopNavMenuContainer:
|
|
2857
|
-
topNavOptions:
|
|
2858
|
-
active:
|
|
2859
|
-
},
|
|
2855
|
+
const li = "_TopNavMenuContainer_12mp4_2", ci = "_topNavOptions_12mp4_13", di = "_active_12mp4_27", tt = {
|
|
2856
|
+
TopNavMenuContainer: li,
|
|
2857
|
+
topNavOptions: ci,
|
|
2858
|
+
active: di
|
|
2859
|
+
}, ui = ({
|
|
2860
2860
|
options: n = [],
|
|
2861
2861
|
containerStyles: c,
|
|
2862
2862
|
borderColor: s = "red",
|
|
@@ -2866,11 +2866,11 @@ const si = "_TopNavMenuContainer_12mp4_2", ri = "_topNavOptions_12mp4_13", oi =
|
|
|
2866
2866
|
}
|
|
2867
2867
|
}) => {
|
|
2868
2868
|
const { t: o } = F();
|
|
2869
|
-
return /* @__PURE__ */ i("div", { className:
|
|
2870
|
-
|
|
2869
|
+
return /* @__PURE__ */ i("div", { className: tt.TopNavMenuContainer, style: { ...c }, children: n.map((d, a) => /* @__PURE__ */ i(
|
|
2870
|
+
Zt,
|
|
2871
2871
|
{
|
|
2872
2872
|
to: d.url,
|
|
2873
|
-
className: ({ isActive: l }) => `${
|
|
2873
|
+
className: ({ isActive: l }) => `${tt.topNavOptions} ${l ? tt.active : ""} `,
|
|
2874
2874
|
onClick: () => t(d.url),
|
|
2875
2875
|
style: ({ isActive: l }) => ({
|
|
2876
2876
|
color: r,
|
|
@@ -2881,7 +2881,7 @@ const si = "_TopNavMenuContainer_12mp4_2", ri = "_topNavOptions_12mp4_13", oi =
|
|
|
2881
2881
|
a
|
|
2882
2882
|
)) });
|
|
2883
2883
|
};
|
|
2884
|
-
|
|
2884
|
+
ui.propTypes = {
|
|
2885
2885
|
options: e.arrayOf(e.object),
|
|
2886
2886
|
cssProps: e.shape({
|
|
2887
2887
|
borderColor: e.string.isRequired,
|
|
@@ -2891,9 +2891,9 @@ ai.propTypes = {
|
|
|
2891
2891
|
// activeColor: PropTypes.string,
|
|
2892
2892
|
// defaultColor: PropTypes.string
|
|
2893
2893
|
};
|
|
2894
|
-
const
|
|
2895
|
-
LogInButton:
|
|
2896
|
-
},
|
|
2894
|
+
const pi = "_LogInButton_1vxj5_2", mi = {
|
|
2895
|
+
LogInButton: pi
|
|
2896
|
+
}, hi = ({
|
|
2897
2897
|
cssClass: n,
|
|
2898
2898
|
notLoggedInLabel: c = "Log in",
|
|
2899
2899
|
loggedInLabel: s = "Log out",
|
|
@@ -2912,13 +2912,13 @@ const li = "_LogInButton_1vxj5_2", ci = {
|
|
|
2912
2912
|
"div",
|
|
2913
2913
|
{
|
|
2914
2914
|
style: { ...r },
|
|
2915
|
-
className: `${
|
|
2915
|
+
className: `${mi.LogInButton} link ${n}`,
|
|
2916
2916
|
onClick: o ? a : d,
|
|
2917
2917
|
children: o ? t || l(s) : l(c)
|
|
2918
2918
|
}
|
|
2919
2919
|
);
|
|
2920
2920
|
};
|
|
2921
|
-
|
|
2921
|
+
hi.propTypes = {
|
|
2922
2922
|
cssClass: e.string,
|
|
2923
2923
|
notLoggedInLabel: e.string,
|
|
2924
2924
|
loggedInLabel: e.string,
|
|
@@ -2926,44 +2926,44 @@ di.propTypes = {
|
|
|
2926
2926
|
userName: e.string,
|
|
2927
2927
|
isLoggedIn: e.bool
|
|
2928
2928
|
};
|
|
2929
|
-
const
|
|
2930
|
-
elementSelector:
|
|
2931
|
-
header:
|
|
2932
|
-
nameDateContainer:
|
|
2933
|
-
elementName:
|
|
2934
|
-
elementDate:
|
|
2935
|
-
buttonsContainer:
|
|
2936
|
-
elementListContainer:
|
|
2937
|
-
newElementButtonContainer:
|
|
2938
|
-
},
|
|
2939
|
-
listElement:
|
|
2940
|
-
elementNameDate:
|
|
2941
|
-
elementNameContainer:
|
|
2942
|
-
elementName:
|
|
2943
|
-
elementDate:
|
|
2944
|
-
nameAndEye:
|
|
2945
|
-
elementButtons:
|
|
2929
|
+
const gi = "_elementSelector_1ox68_2", Ci = "_header_1ox68_14", fi = "_nameDateContainer_1ox68_24", yi = "_elementName_1ox68_40", bi = "_elementDate_1ox68_54", _i = "_buttonsContainer_1ox68_68", vi = "_elementListContainer_1ox68_77", xi = "_newElementButtonContainer_1ox68_81", le = {
|
|
2930
|
+
elementSelector: gi,
|
|
2931
|
+
header: Ci,
|
|
2932
|
+
nameDateContainer: fi,
|
|
2933
|
+
elementName: yi,
|
|
2934
|
+
elementDate: bi,
|
|
2935
|
+
buttonsContainer: _i,
|
|
2936
|
+
elementListContainer: vi,
|
|
2937
|
+
newElementButtonContainer: xi
|
|
2938
|
+
}, wi = "_listElement_s4s4h_3", Ni = "_elementNameDate_s4s4h_19", ki = "_elementNameContainer_s4s4h_30", $i = "_elementName_s4s4h_19", Si = "_elementDate_s4s4h_47", Ti = "_nameAndEye_s4s4h_50", Mi = "_elementButtons_s4s4h_55", Li = "_moreInfoContainer_s4s4h_78", Bi = "_moreInfo_s4s4h_78", ne = {
|
|
2939
|
+
listElement: wi,
|
|
2940
|
+
elementNameDate: Ni,
|
|
2941
|
+
elementNameContainer: ki,
|
|
2942
|
+
elementName: $i,
|
|
2943
|
+
elementDate: Si,
|
|
2944
|
+
nameAndEye: Ti,
|
|
2945
|
+
elementButtons: Mi,
|
|
2946
2946
|
break: "_break_s4s4h_73",
|
|
2947
|
-
moreInfoContainer:
|
|
2948
|
-
moreInfo:
|
|
2949
|
-
}, Ti = "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", Li = "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", Bi = "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", Mi = "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", Di = "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", Vi = "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", Fi = "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";
|
|
2950
|
-
var
|
|
2951
|
-
function
|
|
2952
|
-
return
|
|
2947
|
+
moreInfoContainer: Li,
|
|
2948
|
+
moreInfo: Bi
|
|
2949
|
+
}, Di = "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", Vi = "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", Fi = "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", Ai = "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", Oi = "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", Ri = "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", Ii = "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";
|
|
2950
|
+
var Mt;
|
|
2951
|
+
function ut() {
|
|
2952
|
+
return ut = Object.assign ? Object.assign.bind() : function(n) {
|
|
2953
2953
|
for (var c = 1; c < arguments.length; c++) {
|
|
2954
2954
|
var s = arguments[c];
|
|
2955
2955
|
for (var r in s) ({}).hasOwnProperty.call(s, r) && (n[r] = s[r]);
|
|
2956
2956
|
}
|
|
2957
2957
|
return n;
|
|
2958
|
-
},
|
|
2958
|
+
}, ut.apply(null, arguments);
|
|
2959
2959
|
}
|
|
2960
|
-
var
|
|
2961
|
-
return /* @__PURE__ */ $e.createElement("svg",
|
|
2960
|
+
var Ei = function(c) {
|
|
2961
|
+
return /* @__PURE__ */ $e.createElement("svg", ut({
|
|
2962
2962
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2963
2963
|
width: 26,
|
|
2964
2964
|
height: 14,
|
|
2965
2965
|
fill: "none"
|
|
2966
|
-
}, c),
|
|
2966
|
+
}, c), Mt || (Mt = /* @__PURE__ */ $e.createElement("g", {
|
|
2967
2967
|
fill: "currentColor"
|
|
2968
2968
|
}, /* @__PURE__ */ $e.createElement("path", {
|
|
2969
2969
|
d: "M12.95.408C7.659.408 2.849 2.772.083 6.726a.47.47 0 0 0 0 .532c2.761 3.955 7.571 6.313 12.867 6.313s10.106-2.358 12.867-6.313a.47.47 0 0 0 0-.532C23.05 2.772 18.24.408 12.95.408m0 10.814A4.24 4.24 0 0 1 8.718 6.99a4.24 4.24 0 0 1 4.232-4.232 4.24 4.24 0 0 1 4.232 4.232 4.24 4.24 0 0 1-4.232 4.232"
|
|
@@ -2971,7 +2971,7 @@ var Ai = function(c) {
|
|
|
2971
2971
|
d: "M12.951 10.297a3.307 3.307 0 1 0 0-6.614 3.307 3.307 0 0 0 0 6.614"
|
|
2972
2972
|
}))));
|
|
2973
2973
|
};
|
|
2974
|
-
const
|
|
2974
|
+
const qi = "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", t2 = ({
|
|
2975
2975
|
listelement: n,
|
|
2976
2976
|
onClickElement: c,
|
|
2977
2977
|
isActive: s,
|
|
@@ -2990,16 +2990,16 @@ const Oi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2990
2990
|
}, [a]), /* @__PURE__ */ g(
|
|
2991
2991
|
"div",
|
|
2992
2992
|
{
|
|
2993
|
-
className:
|
|
2993
|
+
className: ne.listElement,
|
|
2994
2994
|
style: { borderBottom: `1px solid ${t}` },
|
|
2995
2995
|
children: [
|
|
2996
|
-
/* @__PURE__ */ i("div", { className:
|
|
2996
|
+
/* @__PURE__ */ i("div", { className: ne.elementNameDate, onClick: () => c(C), children: Object.keys(d).map((k) => k === "name" ? /* @__PURE__ */ i("div", { className: ne.elementNameContainer, children: /* @__PURE__ */ g(
|
|
2997
2997
|
"div",
|
|
2998
2998
|
{
|
|
2999
|
-
className: `${
|
|
2999
|
+
className: `${ne.elementName} ${f && ne.nameAndEye}`,
|
|
3000
3000
|
children: [
|
|
3001
3001
|
f && (s ? /* @__PURE__ */ i(
|
|
3002
|
-
|
|
3002
|
+
Ei,
|
|
3003
3003
|
{
|
|
3004
3004
|
style: { color: r, marginRight: 9 }
|
|
3005
3005
|
}
|
|
@@ -3007,21 +3007,21 @@ const Oi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
3007
3007
|
"img",
|
|
3008
3008
|
{
|
|
3009
3009
|
style: { marginRight: 9 },
|
|
3010
|
-
src:
|
|
3010
|
+
src: qi,
|
|
3011
3011
|
alt: "eye"
|
|
3012
3012
|
}
|
|
3013
3013
|
)),
|
|
3014
3014
|
/* @__PURE__ */ i("span", { style: { color: s ? r : t }, children: m })
|
|
3015
3015
|
]
|
|
3016
3016
|
}
|
|
3017
|
-
) }) : k == "data" ? /* @__PURE__ */ i("div", { className:
|
|
3018
|
-
/* @__PURE__ */ g("div", { className:
|
|
3017
|
+
) }) : k == "data" ? /* @__PURE__ */ i("div", { className: ne.elementDate, children: p ? new Date(p).toLocaleDateString() : "" }) : /* @__PURE__ */ i("div", { className: ne.elementDate, children: n[k] })) }),
|
|
3018
|
+
/* @__PURE__ */ g("div", { className: ne.elementButtons, children: [
|
|
3019
3019
|
n.processing && /* @__PURE__ */ g("div", { className: "tooltip-parent", children: [
|
|
3020
|
-
/* @__PURE__ */ i("img", { src:
|
|
3020
|
+
/* @__PURE__ */ i("img", { src: Ai }),
|
|
3021
3021
|
/* @__PURE__ */ i(de, { text: l, position: "left" })
|
|
3022
3022
|
] }),
|
|
3023
3023
|
a.filter && !n.is_default && /* @__PURE__ */ g("div", { className: "tooltip-parent", children: [
|
|
3024
|
-
/* @__PURE__ */ i("button", { onClick: () => a.filter.onclick(n), children: /* @__PURE__ */ i("img", { src:
|
|
3024
|
+
/* @__PURE__ */ i("button", { onClick: () => a.filter.onclick(n), children: /* @__PURE__ */ i("img", { src: Fi }) }),
|
|
3025
3025
|
/* @__PURE__ */ i(
|
|
3026
3026
|
de,
|
|
3027
3027
|
{
|
|
@@ -3031,19 +3031,19 @@ const Oi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
3031
3031
|
)
|
|
3032
3032
|
] }),
|
|
3033
3033
|
a.copy && /* @__PURE__ */ g("div", { className: "tooltip-parent", children: [
|
|
3034
|
-
/* @__PURE__ */ i("button", { onClick: () => a.copy.onclick(n), children: /* @__PURE__ */ i("img", { src:
|
|
3034
|
+
/* @__PURE__ */ i("button", { onClick: () => a.copy.onclick(n), children: /* @__PURE__ */ i("img", { src: Vi }) }),
|
|
3035
3035
|
/* @__PURE__ */ i(de, { text: a.copy.tooltiptext, position: "left" })
|
|
3036
3036
|
] }),
|
|
3037
3037
|
a.edit && !n.is_default && /* @__PURE__ */ g("div", { className: "tooltip-parent", children: [
|
|
3038
|
-
/* @__PURE__ */ i("button", { onClick: () => a.edit.onclick(n), children: /* @__PURE__ */ i("img", { src:
|
|
3038
|
+
/* @__PURE__ */ i("button", { onClick: () => a.edit.onclick(n), children: /* @__PURE__ */ i("img", { src: Ri }) }),
|
|
3039
3039
|
/* @__PURE__ */ i(de, { text: a.edit.tooltiptext, position: "left" })
|
|
3040
3040
|
] }),
|
|
3041
3041
|
a.info && n.is_default && /* @__PURE__ */ g("div", { className: "tooltip-parent", children: [
|
|
3042
|
-
/* @__PURE__ */ i("button", { onClick: () => a.info.onclick(n), children: /* @__PURE__ */ i("img", { src:
|
|
3042
|
+
/* @__PURE__ */ i("button", { onClick: () => a.info.onclick(n), children: /* @__PURE__ */ i("img", { src: Ii }) }),
|
|
3043
3043
|
/* @__PURE__ */ i(de, { text: a.info.tooltiptext, position: "left" })
|
|
3044
3044
|
] }),
|
|
3045
3045
|
a.trash && !n.is_default && /* @__PURE__ */ g("div", { className: "tooltip-parent", children: [
|
|
3046
|
-
/* @__PURE__ */ i("button", { onClick: () => a.trash.onclick(n), children: /* @__PURE__ */ i("img", { src:
|
|
3046
|
+
/* @__PURE__ */ i("button", { onClick: () => a.trash.onclick(n), children: /* @__PURE__ */ i("img", { src: Di }) }),
|
|
3047
3047
|
/* @__PURE__ */ i(
|
|
3048
3048
|
de,
|
|
3049
3049
|
{
|
|
@@ -3053,16 +3053,16 @@ const Oi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
3053
3053
|
)
|
|
3054
3054
|
] }),
|
|
3055
3055
|
n.is_default && /* @__PURE__ */ g("div", { className: "tooltip-parent", children: [
|
|
3056
|
-
/* @__PURE__ */ i("img", { src:
|
|
3056
|
+
/* @__PURE__ */ i("img", { src: Oi }),
|
|
3057
3057
|
/* @__PURE__ */ i(de, { text: u, position: "left" })
|
|
3058
3058
|
] })
|
|
3059
3059
|
] }),
|
|
3060
|
-
o && /* @__PURE__ */ i("div", { className:
|
|
3061
|
-
o && /* @__PURE__ */ g("div", { className:
|
|
3060
|
+
o && /* @__PURE__ */ i("div", { className: ne.break }),
|
|
3061
|
+
o && /* @__PURE__ */ g("div", { className: ne.moreInfoContainer, children: [
|
|
3062
3062
|
/* @__PURE__ */ g(
|
|
3063
3063
|
"div",
|
|
3064
3064
|
{
|
|
3065
|
-
className:
|
|
3065
|
+
className: ne.moreInfo,
|
|
3066
3066
|
onClick: () => _(!v),
|
|
3067
3067
|
children: [
|
|
3068
3068
|
/* @__PURE__ */ i("span", { children: v ? "-" : "+" }),
|
|
@@ -3070,13 +3070,13 @@ const Oi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
3070
3070
|
]
|
|
3071
3071
|
}
|
|
3072
3072
|
),
|
|
3073
|
-
o && v && /* @__PURE__ */ i("div", { className:
|
|
3073
|
+
o && v && /* @__PURE__ */ i("div", { className: ne.moreInfoInfo, children: n[o.info] })
|
|
3074
3074
|
] })
|
|
3075
3075
|
]
|
|
3076
3076
|
}
|
|
3077
3077
|
);
|
|
3078
3078
|
};
|
|
3079
|
-
|
|
3079
|
+
t2.propTypes = {
|
|
3080
3080
|
listelement: e.shape({
|
|
3081
3081
|
name: e.string.isRequired,
|
|
3082
3082
|
created_at: e.string,
|
|
@@ -3112,7 +3112,7 @@ Jt.propTypes = {
|
|
|
3112
3112
|
defaultTooltip: e.string,
|
|
3113
3113
|
showEye: e.bool
|
|
3114
3114
|
};
|
|
3115
|
-
const
|
|
3115
|
+
const Lt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Pi = ({
|
|
3116
3116
|
elementsList: n,
|
|
3117
3117
|
activeElementId: c,
|
|
3118
3118
|
fontColor: s = "#605B56",
|
|
@@ -3151,17 +3151,17 @@ const St = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
3151
3151
|
if (!v || v.length === 0) return;
|
|
3152
3152
|
let w = [...v];
|
|
3153
3153
|
const x = w.find((N) => N[y] !== null && N[y] !== void 0), S = x ? k(x[y]) : !1;
|
|
3154
|
-
w.sort((N,
|
|
3155
|
-
const
|
|
3156
|
-
if (
|
|
3157
|
-
if (
|
|
3154
|
+
w.sort((N, M) => {
|
|
3155
|
+
const B = N[y], D = M[y];
|
|
3156
|
+
if (B == null && D == null) return 0;
|
|
3157
|
+
if (B == null) return 1;
|
|
3158
3158
|
if (D == null) return -1;
|
|
3159
3159
|
if (S) {
|
|
3160
|
-
const A = b(
|
|
3160
|
+
const A = b(B), X = b(D);
|
|
3161
3161
|
return !A && !X ? 0 : A ? X ? A - X : -1 : 1;
|
|
3162
3162
|
}
|
|
3163
|
-
const
|
|
3164
|
-
return
|
|
3163
|
+
const L = String(B || "").trim(), q = String(D || "").trim();
|
|
3164
|
+
return L.localeCompare(q);
|
|
3165
3165
|
}), _(w);
|
|
3166
3166
|
};
|
|
3167
3167
|
return /* @__PURE__ */ g(
|
|
@@ -3178,17 +3178,17 @@ const St = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
3178
3178
|
children: [
|
|
3179
3179
|
/* @__PURE__ */ i("div", { className: le.nameDateContainer, children: Object.keys(l).map((y) => y === "name" ? /* @__PURE__ */ i("div", { className: le.elementName, children: /* @__PURE__ */ g("button", { onClick: () => $("name"), children: [
|
|
3180
3180
|
/* @__PURE__ */ i("span", { children: h(l.name) }),
|
|
3181
|
-
/* @__PURE__ */ i("img", { src:
|
|
3181
|
+
/* @__PURE__ */ i("img", { src: Lt, alt: "order arrow" })
|
|
3182
3182
|
] }) }, y) : y === "data" ? /* @__PURE__ */ i("div", { className: le.elementDate, children: /* @__PURE__ */ g("button", { onClick: () => $("created_at"), children: [
|
|
3183
3183
|
/* @__PURE__ */ i("span", { children: h(l.data) }),
|
|
3184
|
-
/* @__PURE__ */ i("img", { src:
|
|
3184
|
+
/* @__PURE__ */ i("img", { src: Lt, alt: "order arrow" })
|
|
3185
3185
|
] }) }, y) : /* @__PURE__ */ i("div", { className: le.elementDate, children: /* @__PURE__ */ i("span", { children: h(l[y]) }) }, y)) }),
|
|
3186
3186
|
/* @__PURE__ */ i("div", { className: le.buttonsContainer })
|
|
3187
3187
|
]
|
|
3188
3188
|
}
|
|
3189
3189
|
),
|
|
3190
3190
|
/* @__PURE__ */ i("div", { className: le.elementListContainer, children: v && v.length > 0 && v.map((y) => /* @__PURE__ */ i(
|
|
3191
|
-
|
|
3191
|
+
t2,
|
|
3192
3192
|
{
|
|
3193
3193
|
isActive: c == y.id,
|
|
3194
3194
|
listelement: y,
|
|
@@ -3205,7 +3205,7 @@ const St = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
3205
3205
|
`elementKey${y.id}`
|
|
3206
3206
|
)) }),
|
|
3207
3207
|
d && /* @__PURE__ */ i("div", { className: le.newElementButtonContainer, children: /* @__PURE__ */ i(
|
|
3208
|
-
|
|
3208
|
+
We,
|
|
3209
3209
|
{
|
|
3210
3210
|
style: { ...t },
|
|
3211
3211
|
onClick: d.onClick,
|
|
@@ -3218,7 +3218,7 @@ const St = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
3218
3218
|
}
|
|
3219
3219
|
);
|
|
3220
3220
|
};
|
|
3221
|
-
|
|
3221
|
+
Pi.propTypes = {
|
|
3222
3222
|
elementsList: e.arrayOf(
|
|
3223
3223
|
e.shape({
|
|
3224
3224
|
name: e.string.isRequired,
|
|
@@ -3265,67 +3265,67 @@ Ri.propTypes = {
|
|
|
3265
3265
|
defaultTooltip: e.string,
|
|
3266
3266
|
showEye: e.bool
|
|
3267
3267
|
};
|
|
3268
|
-
const
|
|
3269
|
-
formContainer:
|
|
3270
|
-
categorySelectorContainer:
|
|
3271
|
-
formObjectContainer:
|
|
3272
|
-
buttonContainer:
|
|
3273
|
-
},
|
|
3268
|
+
const zi = "_formContainer_asv64_2", Zi = "_categorySelectorContainer_asv64_11", ji = "_formObjectContainer_asv64_15", Hi = "_buttonContainer_asv64_26", Le = {
|
|
3269
|
+
formContainer: zi,
|
|
3270
|
+
categorySelectorContainer: Zi,
|
|
3271
|
+
formObjectContainer: ji,
|
|
3272
|
+
buttonContainer: Hi
|
|
3273
|
+
}, Be = {
|
|
3274
3274
|
text: "text",
|
|
3275
3275
|
password: "password",
|
|
3276
3276
|
radioList: "radioList",
|
|
3277
3277
|
select: "select"
|
|
3278
3278
|
};
|
|
3279
|
-
var
|
|
3280
|
-
const
|
|
3281
|
-
var
|
|
3279
|
+
var Ki = (n) => n.type === "checkbox", Ui = (n) => n instanceof Date, n2 = (n) => n == null;
|
|
3280
|
+
const Wi = (n) => typeof n == "object";
|
|
3281
|
+
var Fe = (n) => !n2(n) && !Array.isArray(n) && Wi(n) && !Ui(n), Gi = (n) => Fe(n) && n.target ? Ki(n.target) ? n.target.checked : n.target.value : n, Xi = (n) => n.substring(0, n.search(/\.\d+(\.|$)/)) || n, Qi = (n, c) => n.has(Xi(c)), Ji = (n) => {
|
|
3282
3282
|
const c = n.constructor && n.constructor.prototype;
|
|
3283
|
-
return
|
|
3284
|
-
},
|
|
3285
|
-
function
|
|
3283
|
+
return Fe(c) && c.hasOwnProperty("isPrototypeOf");
|
|
3284
|
+
}, Yi = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
3285
|
+
function i2(n) {
|
|
3286
3286
|
let c;
|
|
3287
3287
|
const s = Array.isArray(n), r = typeof FileList < "u" ? n instanceof FileList : !1;
|
|
3288
3288
|
if (n instanceof Date)
|
|
3289
3289
|
c = new Date(n);
|
|
3290
|
-
else if (!(
|
|
3291
|
-
if (c = s ? [] : {}, !s && !
|
|
3290
|
+
else if (!(Yi && (n instanceof Blob || r)) && (s || Fe(n)))
|
|
3291
|
+
if (c = s ? [] : {}, !s && !Ji(n))
|
|
3292
3292
|
c = n;
|
|
3293
3293
|
else
|
|
3294
3294
|
for (const t in n)
|
|
3295
|
-
n.hasOwnProperty(t) && (c[t] =
|
|
3295
|
+
n.hasOwnProperty(t) && (c[t] = i2(n[t]));
|
|
3296
3296
|
else
|
|
3297
3297
|
return n;
|
|
3298
3298
|
return c;
|
|
3299
3299
|
}
|
|
3300
|
-
var
|
|
3301
|
-
if (!c || !
|
|
3300
|
+
var s2 = (n) => /^\w*$/.test(n), pt = (n) => n === void 0, es = (n) => Array.isArray(n) ? n.filter(Boolean) : [], r2 = (n) => es(n.replace(/["|']|\]/g, "").split(/\.|\[/)), Y = (n, c, s) => {
|
|
3301
|
+
if (!c || !Fe(n))
|
|
3302
3302
|
return s;
|
|
3303
|
-
const r = (
|
|
3304
|
-
return
|
|
3305
|
-
},
|
|
3303
|
+
const r = (s2(c) ? [c] : r2(c)).reduce((t, o) => n2(t) ? t : t[o], n);
|
|
3304
|
+
return pt(r) || r === n ? pt(n[c]) ? s : n[c] : r;
|
|
3305
|
+
}, nt = (n) => typeof n == "boolean", Bt = (n, c, s) => {
|
|
3306
3306
|
let r = -1;
|
|
3307
|
-
const t =
|
|
3307
|
+
const t = s2(c) ? [c] : r2(c), o = t.length, d = o - 1;
|
|
3308
3308
|
for (; ++r < o; ) {
|
|
3309
3309
|
const a = t[r];
|
|
3310
3310
|
let l = s;
|
|
3311
3311
|
if (r !== d) {
|
|
3312
3312
|
const u = n[a];
|
|
3313
|
-
l =
|
|
3313
|
+
l = Fe(u) || Array.isArray(u) ? u : isNaN(+t[r + 1]) ? {} : [];
|
|
3314
3314
|
}
|
|
3315
3315
|
if (a === "__proto__" || a === "constructor" || a === "prototype")
|
|
3316
3316
|
return;
|
|
3317
3317
|
n[a] = l, n = n[a];
|
|
3318
3318
|
}
|
|
3319
3319
|
};
|
|
3320
|
-
const
|
|
3320
|
+
const Dt = {
|
|
3321
3321
|
BLUR: "blur",
|
|
3322
3322
|
CHANGE: "change"
|
|
3323
|
-
},
|
|
3323
|
+
}, Vt = {
|
|
3324
3324
|
all: "all"
|
|
3325
|
-
},
|
|
3326
|
-
|
|
3327
|
-
const
|
|
3328
|
-
var
|
|
3325
|
+
}, o2 = E.createContext(null);
|
|
3326
|
+
o2.displayName = "HookFormContext";
|
|
3327
|
+
const ft = () => E.useContext(o2);
|
|
3328
|
+
var ts = (n, c, s, r = !0) => {
|
|
3329
3329
|
const t = {
|
|
3330
3330
|
defaultValues: c._defaultValues
|
|
3331
3331
|
};
|
|
@@ -3333,14 +3333,14 @@ var Qi = (n, c, s, r = !0) => {
|
|
|
3333
3333
|
Object.defineProperty(t, o, {
|
|
3334
3334
|
get: () => {
|
|
3335
3335
|
const d = o;
|
|
3336
|
-
return c._proxyFormState[d] !==
|
|
3336
|
+
return c._proxyFormState[d] !== Vt.all && (c._proxyFormState[d] = !r || Vt.all), s && (s[d] = !0), n[d];
|
|
3337
3337
|
}
|
|
3338
3338
|
});
|
|
3339
3339
|
return t;
|
|
3340
3340
|
};
|
|
3341
|
-
const
|
|
3342
|
-
function
|
|
3343
|
-
const c =
|
|
3341
|
+
const a2 = typeof window < "u" ? $e.useLayoutEffect : $e.useEffect;
|
|
3342
|
+
function ns(n) {
|
|
3343
|
+
const c = ft(), { control: s = c.control, disabled: r, name: t, exact: o } = n || {}, [d, a] = E.useState(s._formState), l = E.useRef({
|
|
3344
3344
|
isDirty: !1,
|
|
3345
3345
|
isLoading: !1,
|
|
3346
3346
|
dirtyFields: !1,
|
|
@@ -3350,7 +3350,7 @@ function Ji(n) {
|
|
|
3350
3350
|
isValid: !1,
|
|
3351
3351
|
errors: !1
|
|
3352
3352
|
});
|
|
3353
|
-
return
|
|
3353
|
+
return a2(() => s._subscribe({
|
|
3354
3354
|
name: t,
|
|
3355
3355
|
formState: l.current,
|
|
3356
3356
|
exact: o,
|
|
@@ -3362,34 +3362,34 @@ function Ji(n) {
|
|
|
3362
3362
|
}
|
|
3363
3363
|
}), [t, r, o]), E.useEffect(() => {
|
|
3364
3364
|
l.current.isValid && s._setValid(!0);
|
|
3365
|
-
}, [s]), E.useMemo(() =>
|
|
3365
|
+
}, [s]), E.useMemo(() => ts(d, s, l.current, !1), [d, s]);
|
|
3366
3366
|
}
|
|
3367
|
-
var
|
|
3368
|
-
function
|
|
3369
|
-
const c =
|
|
3370
|
-
return
|
|
3367
|
+
var is = (n) => typeof n == "string", ss = (n, c, s, r, t) => is(n) ? Y(s, n, t) : Array.isArray(n) ? n.map((o) => Y(s, o)) : s;
|
|
3368
|
+
function rs(n) {
|
|
3369
|
+
const c = ft(), { control: s = c.control, name: r, defaultValue: t, disabled: o, exact: d } = n || {}, a = E.useRef(t), [l, u] = E.useState(s._getWatch(r, a.current));
|
|
3370
|
+
return a2(() => s._subscribe({
|
|
3371
3371
|
name: r,
|
|
3372
3372
|
formState: {
|
|
3373
3373
|
values: !0
|
|
3374
3374
|
},
|
|
3375
3375
|
exact: d,
|
|
3376
|
-
callback: (f) => !o && u(
|
|
3376
|
+
callback: (f) => !o && u(ss(r, s._names, f.values || s._formValues, !1, a.current))
|
|
3377
3377
|
}), [r, s, o, d]), E.useEffect(() => s._removeUnmounted()), l;
|
|
3378
3378
|
}
|
|
3379
|
-
function
|
|
3380
|
-
const c =
|
|
3379
|
+
function os(n) {
|
|
3380
|
+
const c = ft(), { name: s, disabled: r, control: t = c.control, shouldUnregister: o } = n, d = Qi(t._names.array, s), a = rs({
|
|
3381
3381
|
control: t,
|
|
3382
3382
|
name: s,
|
|
3383
3383
|
defaultValue: Y(t._formValues, s, Y(t._defaultValues, s, n.defaultValue)),
|
|
3384
3384
|
exact: !0
|
|
3385
|
-
}), l =
|
|
3385
|
+
}), l = ns({
|
|
3386
3386
|
control: t,
|
|
3387
3387
|
name: s,
|
|
3388
3388
|
exact: !0
|
|
3389
3389
|
}), u = E.useRef(n), f = E.useRef(t.register(s, {
|
|
3390
3390
|
...n.rules,
|
|
3391
3391
|
value: a,
|
|
3392
|
-
...
|
|
3392
|
+
...nt(n.disabled) ? { disabled: n.disabled } : {}
|
|
3393
3393
|
})), m = E.useMemo(() => Object.defineProperties({}, {
|
|
3394
3394
|
invalid: {
|
|
3395
3395
|
enumerable: !0,
|
|
@@ -3413,16 +3413,16 @@ function ns(n) {
|
|
|
3413
3413
|
}
|
|
3414
3414
|
}), [l, s]), p = E.useCallback((_) => f.current.onChange({
|
|
3415
3415
|
target: {
|
|
3416
|
-
value:
|
|
3416
|
+
value: Gi(_),
|
|
3417
3417
|
name: s
|
|
3418
3418
|
},
|
|
3419
|
-
type:
|
|
3419
|
+
type: Dt.CHANGE
|
|
3420
3420
|
}), [s]), C = E.useCallback(() => f.current.onBlur({
|
|
3421
3421
|
target: {
|
|
3422
3422
|
value: Y(t._formValues, s),
|
|
3423
3423
|
name: s
|
|
3424
3424
|
},
|
|
3425
|
-
type:
|
|
3425
|
+
type: Dt.BLUR
|
|
3426
3426
|
}), [s, t._formValues]), h = E.useCallback((_) => {
|
|
3427
3427
|
const b = Y(t._fields, s);
|
|
3428
3428
|
b && _ && (b._f.ref = {
|
|
@@ -3434,7 +3434,7 @@ function ns(n) {
|
|
|
3434
3434
|
}, [t._fields, s]), v = E.useMemo(() => ({
|
|
3435
3435
|
name: s,
|
|
3436
3436
|
value: a,
|
|
3437
|
-
...
|
|
3437
|
+
...nt(r) || l.disabled ? { disabled: l.disabled || r } : {},
|
|
3438
3438
|
onChange: p,
|
|
3439
3439
|
onBlur: C,
|
|
3440
3440
|
ref: h
|
|
@@ -3443,15 +3443,15 @@ function ns(n) {
|
|
|
3443
3443
|
const _ = t._options.shouldUnregister || o;
|
|
3444
3444
|
t.register(s, {
|
|
3445
3445
|
...u.current.rules,
|
|
3446
|
-
...
|
|
3446
|
+
...nt(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
3447
3447
|
});
|
|
3448
3448
|
const b = (k, $) => {
|
|
3449
3449
|
const y = Y(t._fields, k);
|
|
3450
3450
|
y && y._f && (y._f.mount = $);
|
|
3451
3451
|
};
|
|
3452
3452
|
if (b(s, !0), _) {
|
|
3453
|
-
const k =
|
|
3454
|
-
|
|
3453
|
+
const k = i2(Y(t._options.defaultValues, s));
|
|
3454
|
+
Bt(t._defaultValues, s, k), pt(Y(t._formValues, s)) && Bt(t._formValues, s, k);
|
|
3455
3455
|
}
|
|
3456
3456
|
return !d && t.register(s), () => {
|
|
3457
3457
|
(d ? _ && !t._state.action : _) ? t.unregister(s) : b(s, !1);
|
|
@@ -3467,15 +3467,15 @@ function ns(n) {
|
|
|
3467
3467
|
fieldState: m
|
|
3468
3468
|
}), [v, l, m]);
|
|
3469
3469
|
}
|
|
3470
|
-
const
|
|
3471
|
-
textInputContainer:
|
|
3472
|
-
labelContainer:
|
|
3473
|
-
inputContainer:
|
|
3474
|
-
showPasswordButton:
|
|
3475
|
-
forgotPassButton:
|
|
3476
|
-
},
|
|
3477
|
-
errorMessage:
|
|
3478
|
-
},
|
|
3470
|
+
const Ae = (n) => n.render(os(n)), as = "_textInputContainer_1o3iy_2", ls = "_labelContainer_1o3iy_5", cs = "_inputContainer_1o3iy_8", ds = "_showPasswordButton_1o3iy_14", us = "_forgotPassButton_1o3iy_26", De = {
|
|
3471
|
+
textInputContainer: as,
|
|
3472
|
+
labelContainer: ls,
|
|
3473
|
+
inputContainer: cs,
|
|
3474
|
+
showPasswordButton: ds,
|
|
3475
|
+
forgotPassButton: us
|
|
3476
|
+
}, ps = "_errorMessage_1xiyb_2", ms = {
|
|
3477
|
+
errorMessage: ps
|
|
3478
|
+
}, Oe = ({
|
|
3479
3479
|
errorMessage: n,
|
|
3480
3480
|
errorColor: c = "red",
|
|
3481
3481
|
containerStyles: s
|
|
@@ -3484,14 +3484,14 @@ const Oe = (n) => n.render(ns(n)), is = "_textInputContainer_1o3iy_2", ss = "_la
|
|
|
3484
3484
|
return /* @__PURE__ */ i(
|
|
3485
3485
|
"div",
|
|
3486
3486
|
{
|
|
3487
|
-
className:
|
|
3487
|
+
className: ms.errorMessage,
|
|
3488
3488
|
style: { color: c, ...s },
|
|
3489
3489
|
children: n ? r(n) : ""
|
|
3490
3490
|
}
|
|
3491
3491
|
);
|
|
3492
|
-
},
|
|
3492
|
+
}, hs = "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", gs = "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", Re = Et((n) => ({
|
|
3493
3493
|
errorColor: "red"
|
|
3494
|
-
})),
|
|
3494
|
+
})), Ft = ({ input: n, reactHookFormInstance: c }) => {
|
|
3495
3495
|
const {
|
|
3496
3496
|
code: s,
|
|
3497
3497
|
type: r,
|
|
@@ -3509,11 +3509,11 @@ const Oe = (n) => n.render(ns(n)), is = "_textInputContainer_1o3iy_2", ss = "_la
|
|
|
3509
3509
|
//Lógica extra al onChange además de actualizar el valor en RHF
|
|
3510
3510
|
onChangeExtraFunction: C = () => {
|
|
3511
3511
|
}
|
|
3512
|
-
} = n, { t: h } = F(), { control: v, trigger: _, clearErrors: b } = c, { errorColor: k } =
|
|
3513
|
-
|
|
3512
|
+
} = n, { t: h } = F(), { control: v, trigger: _, clearErrors: b } = c, { errorColor: k } = Re((x) => x), [$, y] = R(!1);
|
|
3513
|
+
te(d);
|
|
3514
3514
|
const w = () => r ? r === "password" && $ ? "text" : r : "text";
|
|
3515
3515
|
return /* @__PURE__ */ i(
|
|
3516
|
-
|
|
3516
|
+
Ae,
|
|
3517
3517
|
{
|
|
3518
3518
|
name: s,
|
|
3519
3519
|
control: v,
|
|
@@ -3524,11 +3524,11 @@ const Oe = (n) => n.render(ns(n)), is = "_textInputContainer_1o3iy_2", ss = "_la
|
|
|
3524
3524
|
},
|
|
3525
3525
|
render: ({ field: x, fieldState: S }) => {
|
|
3526
3526
|
var D;
|
|
3527
|
-
const { onChange: N, ...
|
|
3528
|
-
N(
|
|
3527
|
+
const { onChange: N, ...M } = x, B = (L) => {
|
|
3528
|
+
N(L), C && C(L);
|
|
3529
3529
|
};
|
|
3530
|
-
return /* @__PURE__ */ g("div", { className:
|
|
3531
|
-
/* @__PURE__ */ g("h3", { className:
|
|
3530
|
+
return /* @__PURE__ */ g("div", { className: De.textInputContainer, children: [
|
|
3531
|
+
/* @__PURE__ */ g("h3", { className: De.labelContainer, children: [
|
|
3532
3532
|
h(t),
|
|
3533
3533
|
" ",
|
|
3534
3534
|
d && /* @__PURE__ */ i("label", { style: { color: S.error ? u : "" }, children: "*" })
|
|
@@ -3537,14 +3537,14 @@ const Oe = (n) => n.render(ns(n)), is = "_textInputContainer_1o3iy_2", ss = "_la
|
|
|
3537
3537
|
"div",
|
|
3538
3538
|
{
|
|
3539
3539
|
style: { position: "relative", width: f },
|
|
3540
|
-
className:
|
|
3540
|
+
className: De.inputContainer,
|
|
3541
3541
|
children: [
|
|
3542
3542
|
/* @__PURE__ */ i(
|
|
3543
3543
|
"input",
|
|
3544
3544
|
{
|
|
3545
|
-
...
|
|
3545
|
+
...M,
|
|
3546
3546
|
type: w(),
|
|
3547
|
-
onChange:
|
|
3547
|
+
onChange: B,
|
|
3548
3548
|
placeholder: l ? h(l) : "",
|
|
3549
3549
|
maxLength: o || void 0
|
|
3550
3550
|
}
|
|
@@ -3554,11 +3554,11 @@ const Oe = (n) => n.render(ns(n)), is = "_textInputContainer_1o3iy_2", ss = "_la
|
|
|
3554
3554
|
{
|
|
3555
3555
|
onClick: () => y(!$),
|
|
3556
3556
|
type: "button",
|
|
3557
|
-
className:
|
|
3557
|
+
className: De.showPasswordButton,
|
|
3558
3558
|
children: /* @__PURE__ */ i(
|
|
3559
3559
|
"img",
|
|
3560
3560
|
{
|
|
3561
|
-
src: $ ?
|
|
3561
|
+
src: $ ? gs : hs,
|
|
3562
3562
|
alt: h("show-password")
|
|
3563
3563
|
}
|
|
3564
3564
|
)
|
|
@@ -3567,9 +3567,9 @@ const Oe = (n) => n.render(ns(n)), is = "_textInputContainer_1o3iy_2", ss = "_la
|
|
|
3567
3567
|
]
|
|
3568
3568
|
}
|
|
3569
3569
|
),
|
|
3570
|
-
r == "password" && /* @__PURE__ */ i("div", { className:
|
|
3570
|
+
r == "password" && /* @__PURE__ */ i("div", { className: De.forgotPassButton, children: /* @__PURE__ */ i("button", { onClick: m, children: h(p) }) }),
|
|
3571
3571
|
/* @__PURE__ */ i(
|
|
3572
|
-
|
|
3572
|
+
Oe,
|
|
3573
3573
|
{
|
|
3574
3574
|
errorMessage: (D = S.error) == null ? void 0 : D.message,
|
|
3575
3575
|
errorColor: k || u
|
|
@@ -3579,16 +3579,16 @@ const Oe = (n) => n.render(ns(n)), is = "_textInputContainer_1o3iy_2", ss = "_la
|
|
|
3579
3579
|
}
|
|
3580
3580
|
}
|
|
3581
3581
|
);
|
|
3582
|
-
},
|
|
3583
|
-
inputsContainer:
|
|
3584
|
-
},
|
|
3585
|
-
selectInputContainer:
|
|
3586
|
-
labelContainer:
|
|
3587
|
-
inputContainer:
|
|
3588
|
-
selectInput:
|
|
3589
|
-
option:
|
|
3590
|
-
dropdownArrow:
|
|
3591
|
-
},
|
|
3582
|
+
}, Cs = "_inputsContainer_10t9s_2", Ne = {
|
|
3583
|
+
inputsContainer: Cs
|
|
3584
|
+
}, fs = "_selectInputContainer_1rj0h_2", ys = "_labelContainer_1rj0h_6", bs = "_inputContainer_1rj0h_9", _s = "_selectInput_1rj0h_2", vs = "_option_1rj0h_23", xs = "_dropdownArrow_1rj0h_26", ie = {
|
|
3585
|
+
selectInputContainer: fs,
|
|
3586
|
+
labelContainer: ys,
|
|
3587
|
+
inputContainer: bs,
|
|
3588
|
+
selectInput: _s,
|
|
3589
|
+
option: vs,
|
|
3590
|
+
dropdownArrow: xs
|
|
3591
|
+
}, At = "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", ws = ({ input: n, reactHookFormInstance: c, onChange: s }) => {
|
|
3592
3592
|
const {
|
|
3593
3593
|
code: r,
|
|
3594
3594
|
type: t,
|
|
@@ -3601,13 +3601,13 @@ const Oe = (n) => n.render(ns(n)), is = "_textInputContainer_1o3iy_2", ss = "_la
|
|
|
3601
3601
|
width: m = 325,
|
|
3602
3602
|
options: p = []
|
|
3603
3603
|
//Used if we dont use react hook form
|
|
3604
|
-
} = n, { t: C } = F(), { control: h, trigger: v, clearErrors: _ } = c || {}, { errorColor: b } =
|
|
3605
|
-
|
|
3604
|
+
} = n, { t: C } = F(), { control: h, trigger: v, clearErrors: _ } = c || {}, { errorColor: b } = Re((y) => y);
|
|
3605
|
+
te(a);
|
|
3606
3606
|
const [k, $] = R(null);
|
|
3607
3607
|
return O(() => {
|
|
3608
3608
|
k && s && s(k);
|
|
3609
3609
|
}, [k, s]), c ? /* @__PURE__ */ i(
|
|
3610
|
-
|
|
3610
|
+
Ae,
|
|
3611
3611
|
{
|
|
3612
3612
|
name: r,
|
|
3613
3613
|
control: h,
|
|
@@ -3620,29 +3620,29 @@ const Oe = (n) => n.render(ns(n)), is = "_textInputContainer_1o3iy_2", ss = "_la
|
|
|
3620
3620
|
},
|
|
3621
3621
|
render: ({ field: y, fieldState: w }) => {
|
|
3622
3622
|
var x;
|
|
3623
|
-
return /* @__PURE__ */ g("div", { className:
|
|
3624
|
-
o && /* @__PURE__ */ g("h3", { className:
|
|
3623
|
+
return /* @__PURE__ */ g("div", { className: ie.selectInputContainer, children: [
|
|
3624
|
+
o && /* @__PURE__ */ g("h3", { className: ie.labelContainer, children: [
|
|
3625
3625
|
C(o),
|
|
3626
3626
|
" ",
|
|
3627
3627
|
a && /* @__PURE__ */ i("label", { style: { color: w.error ? f : "" }, children: "*" })
|
|
3628
3628
|
] }),
|
|
3629
|
-
/* @__PURE__ */ g("div", { className:
|
|
3629
|
+
/* @__PURE__ */ g("div", { className: ie.inputContainer, style: { width: m }, children: [
|
|
3630
3630
|
/* @__PURE__ */ g(
|
|
3631
3631
|
"select",
|
|
3632
3632
|
{
|
|
3633
3633
|
...y,
|
|
3634
3634
|
onChange: (S) => {
|
|
3635
|
-
const N = S.target.value,
|
|
3636
|
-
y.onChange(
|
|
3635
|
+
const N = S.target.value, M = p.every((B) => typeof B.value == "number") ? Number(N) : N;
|
|
3636
|
+
y.onChange(M);
|
|
3637
3637
|
},
|
|
3638
|
-
className:
|
|
3638
|
+
className: ie.selectInput,
|
|
3639
3639
|
children: [
|
|
3640
3640
|
/* @__PURE__ */ i("option", { value: "", disabled: !0, hidden: !0, children: C(u || "selectOption") }),
|
|
3641
3641
|
p.map((S, N) => /* @__PURE__ */ i(
|
|
3642
3642
|
"option",
|
|
3643
3643
|
{
|
|
3644
3644
|
value: S.value,
|
|
3645
|
-
className:
|
|
3645
|
+
className: ie.option,
|
|
3646
3646
|
children: C(S.label)
|
|
3647
3647
|
},
|
|
3648
3648
|
N
|
|
@@ -3653,14 +3653,14 @@ const Oe = (n) => n.render(ns(n)), is = "_textInputContainer_1o3iy_2", ss = "_la
|
|
|
3653
3653
|
/* @__PURE__ */ i(
|
|
3654
3654
|
"img",
|
|
3655
3655
|
{
|
|
3656
|
-
src:
|
|
3656
|
+
src: At,
|
|
3657
3657
|
alt: "Open",
|
|
3658
|
-
className:
|
|
3658
|
+
className: ie.dropdownArrow
|
|
3659
3659
|
}
|
|
3660
3660
|
)
|
|
3661
3661
|
] }),
|
|
3662
3662
|
/* @__PURE__ */ i(
|
|
3663
|
-
|
|
3663
|
+
Oe,
|
|
3664
3664
|
{
|
|
3665
3665
|
errorMessage: (x = w.error) == null ? void 0 : x.message,
|
|
3666
3666
|
errorColor: b || f
|
|
@@ -3669,13 +3669,13 @@ const Oe = (n) => n.render(ns(n)), is = "_textInputContainer_1o3iy_2", ss = "_la
|
|
|
3669
3669
|
] });
|
|
3670
3670
|
}
|
|
3671
3671
|
}
|
|
3672
|
-
) : /* @__PURE__ */ g("div", { className:
|
|
3673
|
-
o && /* @__PURE__ */ g("h3", { className:
|
|
3672
|
+
) : /* @__PURE__ */ g("div", { className: ie.selectInputContainer, children: [
|
|
3673
|
+
o && /* @__PURE__ */ g("h3", { className: ie.labelContainer, children: [
|
|
3674
3674
|
C(o),
|
|
3675
3675
|
" ",
|
|
3676
3676
|
a && /* @__PURE__ */ i("label", { children: "*" })
|
|
3677
3677
|
] }),
|
|
3678
|
-
/* @__PURE__ */ g("div", { className:
|
|
3678
|
+
/* @__PURE__ */ g("div", { className: ie.inputContainer, style: { width: m }, children: [
|
|
3679
3679
|
/* @__PURE__ */ g(
|
|
3680
3680
|
"select",
|
|
3681
3681
|
{
|
|
@@ -3684,14 +3684,14 @@ const Oe = (n) => n.render(ns(n)), is = "_textInputContainer_1o3iy_2", ss = "_la
|
|
|
3684
3684
|
const w = y.target.value, x = p.every((S) => typeof S.value == "number") ? Number(w) : w;
|
|
3685
3685
|
$(x);
|
|
3686
3686
|
},
|
|
3687
|
-
className:
|
|
3687
|
+
className: ie.selectInput,
|
|
3688
3688
|
children: [
|
|
3689
3689
|
/* @__PURE__ */ i("option", { value: "", disabled: !0, hidden: !0, children: C(u || "selectOption") }),
|
|
3690
3690
|
p.map((y, w) => /* @__PURE__ */ i(
|
|
3691
3691
|
"option",
|
|
3692
3692
|
{
|
|
3693
3693
|
value: y.value,
|
|
3694
|
-
className:
|
|
3694
|
+
className: ie.option,
|
|
3695
3695
|
children: C(y.label)
|
|
3696
3696
|
},
|
|
3697
3697
|
w
|
|
@@ -3699,17 +3699,17 @@ const Oe = (n) => n.render(ns(n)), is = "_textInputContainer_1o3iy_2", ss = "_la
|
|
|
3699
3699
|
]
|
|
3700
3700
|
}
|
|
3701
3701
|
),
|
|
3702
|
-
/* @__PURE__ */ i("img", { src:
|
|
3702
|
+
/* @__PURE__ */ i("img", { src: At, alt: "Open", className: ie.dropdownArrow })
|
|
3703
3703
|
] })
|
|
3704
3704
|
] });
|
|
3705
|
-
},
|
|
3706
|
-
radioButtonContainer:
|
|
3707
|
-
wholeInputContainer:
|
|
3708
|
-
questionContainer:
|
|
3709
|
-
radioQuestion:
|
|
3710
|
-
inputContainer:
|
|
3711
|
-
radioInput:
|
|
3712
|
-
},
|
|
3705
|
+
}, Ns = "_radioButtonContainer_1e994_2", ks = "_wholeInputContainer_1e994_5", $s = "_questionContainer_1e994_27", Ss = "_radioQuestion_1e994_59", Ts = "_inputContainer_1e994_63", Ms = "_radioInput_1e994_93", ye = {
|
|
3706
|
+
radioButtonContainer: Ns,
|
|
3707
|
+
wholeInputContainer: ks,
|
|
3708
|
+
questionContainer: $s,
|
|
3709
|
+
radioQuestion: Ss,
|
|
3710
|
+
inputContainer: Ts,
|
|
3711
|
+
radioInput: Ms
|
|
3712
|
+
}, Ls = ({ input: n, reactHookFormInstance: c }) => {
|
|
3713
3713
|
const {
|
|
3714
3714
|
code: s,
|
|
3715
3715
|
label: r,
|
|
@@ -3718,7 +3718,7 @@ const Oe = (n) => n.render(ns(n)), is = "_textInputContainer_1o3iy_2", ss = "_la
|
|
|
3718
3718
|
errorColor: d = "red",
|
|
3719
3719
|
options: a = [],
|
|
3720
3720
|
multi: l = !1
|
|
3721
|
-
} = n, { t: u } = F(), { control: f, trigger: m, clearErrors: p } = c, { errorColor: C } =
|
|
3721
|
+
} = n, { t: u } = F(), { control: f, trigger: m, clearErrors: p } = c, { errorColor: C } = Re((_) => _), h = ({ options: _, onChange: b, actualValue: k }) => {
|
|
3722
3722
|
if (l && k && k.length > 0) {
|
|
3723
3723
|
let $ = k.filter((y) => y !== _);
|
|
3724
3724
|
b($);
|
|
@@ -3726,8 +3726,8 @@ const Oe = (n) => n.render(ns(n)), is = "_textInputContainer_1o3iy_2", ss = "_la
|
|
|
3726
3726
|
}, v = ({ options: _, onChange: b, actualValue: k }) => {
|
|
3727
3727
|
l ? k && k.length > 0 ? b([...k, _]) : b([_]) : b(_);
|
|
3728
3728
|
};
|
|
3729
|
-
return
|
|
3730
|
-
|
|
3729
|
+
return te(t), /* @__PURE__ */ i(
|
|
3730
|
+
Ae,
|
|
3731
3731
|
{
|
|
3732
3732
|
control: f,
|
|
3733
3733
|
name: s,
|
|
@@ -3740,12 +3740,12 @@ const Oe = (n) => n.render(ns(n)), is = "_textInputContainer_1o3iy_2", ss = "_la
|
|
|
3740
3740
|
fieldState: w
|
|
3741
3741
|
}) => {
|
|
3742
3742
|
var x;
|
|
3743
|
-
return /* @__PURE__ */ i("div", { id: s + "id", className:
|
|
3744
|
-
r && /* @__PURE__ */ i("div", { className:
|
|
3743
|
+
return /* @__PURE__ */ i("div", { id: s + "id", className: ye.radioButtonContainer, children: /* @__PURE__ */ g("div", { className: ye.wholeInputContainer, children: [
|
|
3744
|
+
r && /* @__PURE__ */ i("div", { className: ye.questionContainer, children: /* @__PURE__ */ g(
|
|
3745
3745
|
"h3",
|
|
3746
3746
|
{
|
|
3747
3747
|
htmlFor: s + "id",
|
|
3748
|
-
className: `${
|
|
3748
|
+
className: `${ye.radioQuestion} ${t && ye.required}`,
|
|
3749
3749
|
children: [
|
|
3750
3750
|
u(r),
|
|
3751
3751
|
" ",
|
|
@@ -3759,23 +3759,23 @@ const Oe = (n) => n.render(ns(n)), is = "_textInputContainer_1o3iy_2", ss = "_la
|
|
|
3759
3759
|
]
|
|
3760
3760
|
}
|
|
3761
3761
|
) }),
|
|
3762
|
-
/* @__PURE__ */ g("div", { className:
|
|
3762
|
+
/* @__PURE__ */ g("div", { className: ye.inputContainer, children: [
|
|
3763
3763
|
a.map(
|
|
3764
3764
|
({
|
|
3765
3765
|
label: S,
|
|
3766
3766
|
value: N,
|
|
3767
|
-
disabled:
|
|
3768
|
-
italicLabel:
|
|
3767
|
+
disabled: M = !1,
|
|
3768
|
+
italicLabel: B
|
|
3769
3769
|
}, D) => {
|
|
3770
|
-
const
|
|
3770
|
+
const L = $ && l ? $.isArray && ($ == null ? void 0 : $.length) > 0 && $.some((q) => q === N) : $ === N;
|
|
3771
3771
|
return /* @__PURE__ */ g("label", { children: [
|
|
3772
3772
|
/* @__PURE__ */ i(
|
|
3773
3773
|
"input",
|
|
3774
3774
|
{
|
|
3775
3775
|
type: "radio",
|
|
3776
|
-
checked:
|
|
3776
|
+
checked: L,
|
|
3777
3777
|
onChange: () => {
|
|
3778
|
-
l ?
|
|
3778
|
+
l ? L ? h({
|
|
3779
3779
|
actualValue: $,
|
|
3780
3780
|
options: a,
|
|
3781
3781
|
onChange: b
|
|
@@ -3785,7 +3785,7 @@ const Oe = (n) => n.render(ns(n)), is = "_textInputContainer_1o3iy_2", ss = "_la
|
|
|
3785
3785
|
onChange: b
|
|
3786
3786
|
}) : b(N);
|
|
3787
3787
|
},
|
|
3788
|
-
className:
|
|
3788
|
+
className: ye.radioInput
|
|
3789
3789
|
}
|
|
3790
3790
|
),
|
|
3791
3791
|
/* @__PURE__ */ i("span", { className: "radio-custom" }),
|
|
@@ -3794,7 +3794,7 @@ const Oe = (n) => n.render(ns(n)), is = "_textInputContainer_1o3iy_2", ss = "_la
|
|
|
3794
3794
|
}
|
|
3795
3795
|
),
|
|
3796
3796
|
/* @__PURE__ */ i(
|
|
3797
|
-
|
|
3797
|
+
Oe,
|
|
3798
3798
|
{
|
|
3799
3799
|
errorMessage: (x = w.error) == null ? void 0 : x.message,
|
|
3800
3800
|
errorColor: C || d
|
|
@@ -3805,16 +3805,16 @@ const Oe = (n) => n.render(ns(n)), is = "_textInputContainer_1o3iy_2", ss = "_la
|
|
|
3805
3805
|
}
|
|
3806
3806
|
}
|
|
3807
3807
|
);
|
|
3808
|
-
},
|
|
3809
|
-
rankingSliderContainer:
|
|
3810
|
-
labelContainer:
|
|
3811
|
-
inputContainer:
|
|
3812
|
-
slider:
|
|
3813
|
-
thumb:
|
|
3814
|
-
labels:
|
|
3815
|
-
minLabel:
|
|
3816
|
-
maxLabel:
|
|
3817
|
-
},
|
|
3808
|
+
}, Bs = "_rankingSliderContainer_1lekm_2", Ds = "_labelContainer_1lekm_6", Vs = "_inputContainer_1lekm_10", Fs = "_slider_1lekm_20", As = "_thumb_1lekm_27", Os = "_labels_1lekm_37", Rs = "_minLabel_1lekm_67", Is = "_maxLabel_1lekm_67", H = {
|
|
3809
|
+
rankingSliderContainer: Bs,
|
|
3810
|
+
labelContainer: Ds,
|
|
3811
|
+
inputContainer: Vs,
|
|
3812
|
+
slider: Fs,
|
|
3813
|
+
thumb: As,
|
|
3814
|
+
labels: Os,
|
|
3815
|
+
minLabel: Rs,
|
|
3816
|
+
maxLabel: Is
|
|
3817
|
+
}, l2 = ({ input: n, reactHookFormInstance: c, onChange: s }) => {
|
|
3818
3818
|
const {
|
|
3819
3819
|
code: r,
|
|
3820
3820
|
label: t,
|
|
@@ -3832,14 +3832,14 @@ const Oe = (n) => n.render(ns(n)), is = "_textInputContainer_1o3iy_2", ss = "_la
|
|
|
3832
3832
|
disabled: v = !1,
|
|
3833
3833
|
marks: _ = Array.from(
|
|
3834
3834
|
{ length: d - o + 1 },
|
|
3835
|
-
(
|
|
3835
|
+
(M, B) => o + B
|
|
3836
3836
|
),
|
|
3837
3837
|
showMarksNumber: b = !0
|
|
3838
3838
|
} = n, { t: k } = F(), { control: $, trigger: y, clearErrors: w } = c || {};
|
|
3839
|
-
|
|
3840
|
-
const { errorColorForm: x } =
|
|
3839
|
+
te(u);
|
|
3840
|
+
const { errorColorForm: x } = Re((M) => M), [S, N] = R(a);
|
|
3841
3841
|
return c ? /* @__PURE__ */ i(
|
|
3842
|
-
|
|
3842
|
+
Ae,
|
|
3843
3843
|
{
|
|
3844
3844
|
name: r,
|
|
3845
3845
|
control: $,
|
|
@@ -3847,51 +3847,51 @@ const Oe = (n) => n.render(ns(n)), is = "_textInputContainer_1o3iy_2", ss = "_la
|
|
|
3847
3847
|
rules: {
|
|
3848
3848
|
required: u ? `${k(t)} ${k("errorMessages.required")}` : !1
|
|
3849
3849
|
},
|
|
3850
|
-
render: ({ field:
|
|
3850
|
+
render: ({ field: M, fieldState: B }) => {
|
|
3851
3851
|
var D;
|
|
3852
3852
|
return /* @__PURE__ */ g(
|
|
3853
3853
|
"div",
|
|
3854
3854
|
{
|
|
3855
|
-
className:
|
|
3855
|
+
className: H.rankingSliderContainer,
|
|
3856
3856
|
style: {
|
|
3857
3857
|
gridTemplateColumns: `${t && m} ${p}`
|
|
3858
3858
|
},
|
|
3859
3859
|
children: [
|
|
3860
|
-
t && /* @__PURE__ */ i("p", { className:
|
|
3861
|
-
/* @__PURE__ */ g("div", { className:
|
|
3862
|
-
C && /* @__PURE__ */ i("div", { className:
|
|
3860
|
+
t && /* @__PURE__ */ i("p", { className: H.labelContainer, children: k(t) }),
|
|
3861
|
+
/* @__PURE__ */ g("div", { className: H.inputContainer, children: [
|
|
3862
|
+
C && /* @__PURE__ */ i("div", { className: H.minLabel, children: k(C) }),
|
|
3863
3863
|
/* @__PURE__ */ g("div", { children: [
|
|
3864
3864
|
/* @__PURE__ */ i(
|
|
3865
|
-
|
|
3865
|
+
dt,
|
|
3866
3866
|
{
|
|
3867
3867
|
min: o,
|
|
3868
3868
|
max: d,
|
|
3869
3869
|
step: 1,
|
|
3870
|
-
value:
|
|
3871
|
-
onChange: (
|
|
3870
|
+
value: M.value ?? a,
|
|
3871
|
+
onChange: (L) => M.onChange(L),
|
|
3872
3872
|
marks: !0,
|
|
3873
|
-
className:
|
|
3874
|
-
thumbClassName:
|
|
3875
|
-
renderThumb: (
|
|
3873
|
+
className: H.slider,
|
|
3874
|
+
thumbClassName: H.thumb,
|
|
3875
|
+
renderThumb: (L) => /* @__PURE__ */ i(
|
|
3876
3876
|
"div",
|
|
3877
3877
|
{
|
|
3878
|
-
...
|
|
3879
|
-
style: { ...
|
|
3878
|
+
...L,
|
|
3879
|
+
style: { ...L.style, backgroundColor: l }
|
|
3880
3880
|
}
|
|
3881
3881
|
),
|
|
3882
|
-
trackClassName:
|
|
3883
|
-
markClassName:
|
|
3882
|
+
trackClassName: H.track,
|
|
3883
|
+
markClassName: H.mark,
|
|
3884
3884
|
disabled: v
|
|
3885
3885
|
}
|
|
3886
3886
|
),
|
|
3887
|
-
_ && /* @__PURE__ */ i("div", { className:
|
|
3887
|
+
_ && /* @__PURE__ */ i("div", { className: H.labels, children: _.map((L) => /* @__PURE__ */ i("span", { children: b && L }, L)) })
|
|
3888
3888
|
] }),
|
|
3889
|
-
h && /* @__PURE__ */ i("div", { className:
|
|
3889
|
+
h && /* @__PURE__ */ i("div", { className: H.maxLabel, children: k(h) })
|
|
3890
3890
|
] }),
|
|
3891
3891
|
/* @__PURE__ */ i(
|
|
3892
|
-
|
|
3892
|
+
Oe,
|
|
3893
3893
|
{
|
|
3894
|
-
errorMessage: (D =
|
|
3894
|
+
errorMessage: (D = B.error) == null ? void 0 : D.message,
|
|
3895
3895
|
errorColor: x || f
|
|
3896
3896
|
}
|
|
3897
3897
|
)
|
|
@@ -3903,47 +3903,47 @@ const Oe = (n) => n.render(ns(n)), is = "_textInputContainer_1o3iy_2", ss = "_la
|
|
|
3903
3903
|
) : /* @__PURE__ */ g(
|
|
3904
3904
|
"div",
|
|
3905
3905
|
{
|
|
3906
|
-
className:
|
|
3906
|
+
className: H.rankingSliderContainer,
|
|
3907
3907
|
style: { gridTemplateColumns: `${t && m} ${p}` },
|
|
3908
3908
|
children: [
|
|
3909
|
-
t && /* @__PURE__ */ i("p", { className:
|
|
3910
|
-
/* @__PURE__ */ g("div", { className:
|
|
3911
|
-
C && /* @__PURE__ */ i("div", { className:
|
|
3909
|
+
t && /* @__PURE__ */ i("p", { className: H.labelContainer, children: k(t) }),
|
|
3910
|
+
/* @__PURE__ */ g("div", { className: H.inputContainer, children: [
|
|
3911
|
+
C && /* @__PURE__ */ i("div", { className: H.minLabel, children: k(C) }),
|
|
3912
3912
|
/* @__PURE__ */ g("div", { children: [
|
|
3913
3913
|
/* @__PURE__ */ i(
|
|
3914
|
-
|
|
3914
|
+
dt,
|
|
3915
3915
|
{
|
|
3916
3916
|
min: o,
|
|
3917
3917
|
max: d,
|
|
3918
3918
|
step: 1,
|
|
3919
3919
|
value: S,
|
|
3920
|
-
onChange: (
|
|
3921
|
-
N(
|
|
3920
|
+
onChange: (M) => {
|
|
3921
|
+
N(M), s && s(M);
|
|
3922
3922
|
},
|
|
3923
3923
|
marks: !0,
|
|
3924
|
-
className:
|
|
3925
|
-
thumbClassName:
|
|
3926
|
-
renderThumb: (
|
|
3924
|
+
className: H.slider,
|
|
3925
|
+
thumbClassName: H.thumb,
|
|
3926
|
+
renderThumb: (M) => /* @__PURE__ */ i(
|
|
3927
3927
|
"div",
|
|
3928
3928
|
{
|
|
3929
|
-
...
|
|
3930
|
-
style: { ...
|
|
3929
|
+
...M,
|
|
3930
|
+
style: { ...M.style, backgroundColor: l }
|
|
3931
3931
|
}
|
|
3932
3932
|
),
|
|
3933
|
-
trackClassName:
|
|
3934
|
-
markClassName:
|
|
3933
|
+
trackClassName: H.track,
|
|
3934
|
+
markClassName: H.mark,
|
|
3935
3935
|
disabled: v
|
|
3936
3936
|
}
|
|
3937
3937
|
),
|
|
3938
|
-
_ && /* @__PURE__ */ i("div", { className:
|
|
3938
|
+
_ && /* @__PURE__ */ i("div", { className: H.labels, children: _.map((M) => /* @__PURE__ */ i("span", { children: b && M }, M)) })
|
|
3939
3939
|
] }),
|
|
3940
|
-
h && /* @__PURE__ */ i("div", { className:
|
|
3940
|
+
h && /* @__PURE__ */ i("div", { className: H.maxLabel, children: k(h) })
|
|
3941
3941
|
] })
|
|
3942
3942
|
]
|
|
3943
3943
|
}
|
|
3944
3944
|
);
|
|
3945
3945
|
};
|
|
3946
|
-
|
|
3946
|
+
l2.propTypes = {
|
|
3947
3947
|
input: e.shape({
|
|
3948
3948
|
code: e.string,
|
|
3949
3949
|
label: e.string,
|
|
@@ -3961,7 +3961,7 @@ r2.propTypes = {
|
|
|
3961
3961
|
}),
|
|
3962
3962
|
reactHookFormInstance: e.object
|
|
3963
3963
|
};
|
|
3964
|
-
const
|
|
3964
|
+
const Ve = ({
|
|
3965
3965
|
inputs: n,
|
|
3966
3966
|
inputContainerStyles: c,
|
|
3967
3967
|
reactHookFormInstance: s
|
|
@@ -3976,14 +3976,14 @@ const Fe = ({
|
|
|
3976
3976
|
return /* @__PURE__ */ i("div", { className: Ne.inputsContainer, children: o == null ? void 0 : o.map((d, a) => {
|
|
3977
3977
|
const { inputType: l } = d;
|
|
3978
3978
|
switch (l) {
|
|
3979
|
-
case
|
|
3979
|
+
case Be.text:
|
|
3980
3980
|
return /* @__PURE__ */ i(
|
|
3981
3981
|
"div",
|
|
3982
3982
|
{
|
|
3983
3983
|
className: Ne.inputContainer,
|
|
3984
3984
|
style: { ...c },
|
|
3985
3985
|
children: /* @__PURE__ */ i(
|
|
3986
|
-
|
|
3986
|
+
Ft,
|
|
3987
3987
|
{
|
|
3988
3988
|
input: d,
|
|
3989
3989
|
reactHookFormInstance: s
|
|
@@ -3992,14 +3992,14 @@ const Fe = ({
|
|
|
3992
3992
|
},
|
|
3993
3993
|
`${d.code}${a}`
|
|
3994
3994
|
);
|
|
3995
|
-
case
|
|
3995
|
+
case Be.password:
|
|
3996
3996
|
return /* @__PURE__ */ i(
|
|
3997
3997
|
"div",
|
|
3998
3998
|
{
|
|
3999
3999
|
className: Ne.inputContainer,
|
|
4000
4000
|
style: { ...c },
|
|
4001
4001
|
children: /* @__PURE__ */ i(
|
|
4002
|
-
|
|
4002
|
+
Ft,
|
|
4003
4003
|
{
|
|
4004
4004
|
input: d,
|
|
4005
4005
|
reactHookFormInstance: s
|
|
@@ -4008,14 +4008,14 @@ const Fe = ({
|
|
|
4008
4008
|
},
|
|
4009
4009
|
`${d.code}${a}`
|
|
4010
4010
|
);
|
|
4011
|
-
case
|
|
4011
|
+
case Be.select:
|
|
4012
4012
|
return /* @__PURE__ */ i(
|
|
4013
4013
|
"div",
|
|
4014
4014
|
{
|
|
4015
4015
|
className: Ne.inputContainer,
|
|
4016
4016
|
style: { ...c },
|
|
4017
4017
|
children: /* @__PURE__ */ i(
|
|
4018
|
-
|
|
4018
|
+
ws,
|
|
4019
4019
|
{
|
|
4020
4020
|
input: d,
|
|
4021
4021
|
reactHookFormInstance: s
|
|
@@ -4024,14 +4024,14 @@ const Fe = ({
|
|
|
4024
4024
|
},
|
|
4025
4025
|
`${d.code}${a}`
|
|
4026
4026
|
);
|
|
4027
|
-
case
|
|
4027
|
+
case Be.radioList:
|
|
4028
4028
|
return /* @__PURE__ */ i(
|
|
4029
4029
|
"div",
|
|
4030
4030
|
{
|
|
4031
4031
|
className: Ne.inputContainer,
|
|
4032
4032
|
style: { ...c },
|
|
4033
4033
|
children: /* @__PURE__ */ i(
|
|
4034
|
-
|
|
4034
|
+
Ls,
|
|
4035
4035
|
{
|
|
4036
4036
|
input: d,
|
|
4037
4037
|
reactHookFormInstance: s
|
|
@@ -4040,14 +4040,14 @@ const Fe = ({
|
|
|
4040
4040
|
},
|
|
4041
4041
|
`${d.code}${a}`
|
|
4042
4042
|
);
|
|
4043
|
-
case
|
|
4043
|
+
case Be.rankingSlider:
|
|
4044
4044
|
return /* @__PURE__ */ i(
|
|
4045
4045
|
"div",
|
|
4046
4046
|
{
|
|
4047
4047
|
className: Ne.inputContainer,
|
|
4048
4048
|
style: { ...c },
|
|
4049
4049
|
children: /* @__PURE__ */ i(
|
|
4050
|
-
|
|
4050
|
+
l2,
|
|
4051
4051
|
{
|
|
4052
4052
|
input: d,
|
|
4053
4053
|
reactHookFormInstance: s
|
|
@@ -4060,11 +4060,11 @@ const Fe = ({
|
|
|
4060
4060
|
return /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i("h4", { children: "Default" }) }, `${d.code}${a}`);
|
|
4061
4061
|
}
|
|
4062
4062
|
}) });
|
|
4063
|
-
},
|
|
4064
|
-
categorySelector:
|
|
4065
|
-
sectionItemActive:
|
|
4066
|
-
sectionItem:
|
|
4067
|
-
},
|
|
4063
|
+
}, Es = "_categorySelector_1t164_2", qs = "_sectionItemActive_1t164_16", Ps = "_sectionItem_1t164_16", Ze = {
|
|
4064
|
+
categorySelector: Es,
|
|
4065
|
+
sectionItemActive: qs,
|
|
4066
|
+
sectionItem: Ps
|
|
4067
|
+
}, Ot = ({
|
|
4068
4068
|
categories: n,
|
|
4069
4069
|
onChange: c,
|
|
4070
4070
|
activeCategory: s,
|
|
@@ -4077,14 +4077,14 @@ const Fe = ({
|
|
|
4077
4077
|
return /* @__PURE__ */ i(
|
|
4078
4078
|
"div",
|
|
4079
4079
|
{
|
|
4080
|
-
className:
|
|
4080
|
+
className: Ze.categorySelector,
|
|
4081
4081
|
style: t ? { ...t } : {},
|
|
4082
4082
|
children: n.map((a, l) => {
|
|
4083
4083
|
const { id: u, label: f } = a, m = s == u;
|
|
4084
4084
|
return /* @__PURE__ */ i(
|
|
4085
4085
|
"button",
|
|
4086
4086
|
{
|
|
4087
|
-
className: `${
|
|
4087
|
+
className: `${Ze.sectionItem} ${m ? Ze.sectionItemActive : ""}`,
|
|
4088
4088
|
type: "button",
|
|
4089
4089
|
style: { backgroundColor: m ? r : "inherit" },
|
|
4090
4090
|
onClick: () => d(u),
|
|
@@ -4092,7 +4092,7 @@ const Fe = ({
|
|
|
4092
4092
|
"span",
|
|
4093
4093
|
{
|
|
4094
4094
|
style: { color: m ? "white" : "inherit" },
|
|
4095
|
-
className:
|
|
4095
|
+
className: Ze.sectionLabel,
|
|
4096
4096
|
children: o(f)
|
|
4097
4097
|
}
|
|
4098
4098
|
)
|
|
@@ -4102,7 +4102,7 @@ const Fe = ({
|
|
|
4102
4102
|
})
|
|
4103
4103
|
}
|
|
4104
4104
|
);
|
|
4105
|
-
},
|
|
4105
|
+
}, Ro = ({
|
|
4106
4106
|
reactHookFormInstance: n,
|
|
4107
4107
|
formObject: c,
|
|
4108
4108
|
CategoryComponent: s,
|
|
@@ -4120,18 +4120,18 @@ const Fe = ({
|
|
|
4120
4120
|
}) => {
|
|
4121
4121
|
const { t: h } = F(), { handleSubmit: v, control: _ } = n;
|
|
4122
4122
|
O(() => {
|
|
4123
|
-
o &&
|
|
4123
|
+
o && Re.setState(() => ({ errorColor: o }));
|
|
4124
4124
|
}, [o]);
|
|
4125
4125
|
const b = Se(() => c ? c.filter((N) => N.category).map((N) => {
|
|
4126
|
-
var
|
|
4126
|
+
var M;
|
|
4127
4127
|
return {
|
|
4128
4128
|
id: N.categoryId,
|
|
4129
4129
|
label: N.category,
|
|
4130
|
-
hasSubcategories: ((
|
|
4130
|
+
hasSubcategories: ((M = N.subcategories) == null ? void 0 : M.length) > 0
|
|
4131
4131
|
};
|
|
4132
4132
|
}) : [], [c]), k = (N) => {
|
|
4133
|
-
const
|
|
4134
|
-
return (
|
|
4133
|
+
const M = c == null ? void 0 : c.find((B) => B.categoryId === N);
|
|
4134
|
+
return (M == null ? void 0 : M.subcategories) || [];
|
|
4135
4135
|
}, [$, y] = R(
|
|
4136
4136
|
m || u || null
|
|
4137
4137
|
), [w, x] = R(null);
|
|
@@ -4141,29 +4141,29 @@ const Fe = ({
|
|
|
4141
4141
|
const N = k($);
|
|
4142
4142
|
!w && (N == null ? void 0 : N.length) > 0 && x(N[0].id);
|
|
4143
4143
|
}, [$, w, c]);
|
|
4144
|
-
const S = (N,
|
|
4145
|
-
var
|
|
4146
|
-
if (((
|
|
4144
|
+
const S = (N, M) => {
|
|
4145
|
+
var B;
|
|
4146
|
+
if (((B = N.subcategories) == null ? void 0 : B.length) > 0) {
|
|
4147
4147
|
const D = N.subcategories;
|
|
4148
4148
|
return /* @__PURE__ */ g("div", { children: [
|
|
4149
4149
|
/* @__PURE__ */ i(
|
|
4150
4150
|
"div",
|
|
4151
4151
|
{
|
|
4152
|
-
className:
|
|
4152
|
+
className: Le.categorySelectorContainer,
|
|
4153
4153
|
children: /* @__PURE__ */ i(
|
|
4154
|
-
|
|
4154
|
+
Ot,
|
|
4155
4155
|
{
|
|
4156
4156
|
activeCategory: w,
|
|
4157
4157
|
categories: D,
|
|
4158
|
-
onChange: (
|
|
4158
|
+
onChange: (L) => x(L),
|
|
4159
4159
|
activeColor: p
|
|
4160
4160
|
}
|
|
4161
4161
|
)
|
|
4162
4162
|
},
|
|
4163
4163
|
N.categoryId
|
|
4164
4164
|
),
|
|
4165
|
-
D.map((
|
|
4166
|
-
const A = !w ||
|
|
4165
|
+
D.map((L, q) => {
|
|
4166
|
+
const A = !w || L.id === w;
|
|
4167
4167
|
return s ? /* @__PURE__ */ i(
|
|
4168
4168
|
"div",
|
|
4169
4169
|
{
|
|
@@ -4171,18 +4171,18 @@ const Fe = ({
|
|
|
4171
4171
|
display: A ? "block" : "none",
|
|
4172
4172
|
width: "100%"
|
|
4173
4173
|
},
|
|
4174
|
-
children: /* @__PURE__ */ i(s, { title:
|
|
4175
|
-
|
|
4174
|
+
children: /* @__PURE__ */ i(s, { title: L.label, children: /* @__PURE__ */ i(
|
|
4175
|
+
Ve,
|
|
4176
4176
|
{
|
|
4177
|
-
inputs:
|
|
4177
|
+
inputs: L.inputs,
|
|
4178
4178
|
control: _,
|
|
4179
4179
|
inputContainerStyles: r,
|
|
4180
4180
|
errorColor: o,
|
|
4181
4181
|
reactHookFormInstance: n
|
|
4182
4182
|
}
|
|
4183
|
-
) },
|
|
4183
|
+
) }, L.id)
|
|
4184
4184
|
},
|
|
4185
|
-
`${
|
|
4185
|
+
`${L.id}${q}`
|
|
4186
4186
|
) : /* @__PURE__ */ g(
|
|
4187
4187
|
"div",
|
|
4188
4188
|
{
|
|
@@ -4191,11 +4191,11 @@ const Fe = ({
|
|
|
4191
4191
|
display: A ? "block" : "none"
|
|
4192
4192
|
},
|
|
4193
4193
|
children: [
|
|
4194
|
-
/* @__PURE__ */ i("h3", { style: { marginBottom: 15 }, children: h(
|
|
4194
|
+
/* @__PURE__ */ i("h3", { style: { marginBottom: 15 }, children: h(L.label) }),
|
|
4195
4195
|
/* @__PURE__ */ i(
|
|
4196
|
-
|
|
4196
|
+
Ve,
|
|
4197
4197
|
{
|
|
4198
|
-
inputs:
|
|
4198
|
+
inputs: L.inputs,
|
|
4199
4199
|
control: _,
|
|
4200
4200
|
inputContainerStyles: r,
|
|
4201
4201
|
errorColor: o,
|
|
@@ -4204,13 +4204,13 @@ const Fe = ({
|
|
|
4204
4204
|
)
|
|
4205
4205
|
]
|
|
4206
4206
|
},
|
|
4207
|
-
`${
|
|
4207
|
+
`${L.id}${q}`
|
|
4208
4208
|
);
|
|
4209
4209
|
})
|
|
4210
4210
|
] });
|
|
4211
4211
|
}
|
|
4212
4212
|
return s ? /* @__PURE__ */ i(s, { title: N.category, children: /* @__PURE__ */ i(
|
|
4213
|
-
|
|
4213
|
+
Ve,
|
|
4214
4214
|
{
|
|
4215
4215
|
inputs: N.inputs,
|
|
4216
4216
|
control: _,
|
|
@@ -4221,7 +4221,7 @@ const Fe = ({
|
|
|
4221
4221
|
) }, N.categoryId) : /* @__PURE__ */ g("div", { style: { width: "100%" }, children: [
|
|
4222
4222
|
/* @__PURE__ */ i("h2", { children: h(N.category) }),
|
|
4223
4223
|
/* @__PURE__ */ i(
|
|
4224
|
-
|
|
4224
|
+
Ve,
|
|
4225
4225
|
{
|
|
4226
4226
|
inputs: N.inputs,
|
|
4227
4227
|
control: _,
|
|
@@ -4232,9 +4232,9 @@ const Fe = ({
|
|
|
4232
4232
|
)
|
|
4233
4233
|
] }, N.categoryId);
|
|
4234
4234
|
};
|
|
4235
|
-
return /* @__PURE__ */ g("form", { className:
|
|
4236
|
-
l && b.length > 0 && /* @__PURE__ */ i("div", { className:
|
|
4237
|
-
|
|
4235
|
+
return /* @__PURE__ */ g("form", { className: Le.formContainer, onSubmit: v(C), children: [
|
|
4236
|
+
l && b.length > 0 && /* @__PURE__ */ i("div", { className: Le.categorySelectorContainer, children: /* @__PURE__ */ i(
|
|
4237
|
+
Ot,
|
|
4238
4238
|
{
|
|
4239
4239
|
activeCategory: $,
|
|
4240
4240
|
categories: b,
|
|
@@ -4244,9 +4244,9 @@ const Fe = ({
|
|
|
4244
4244
|
activeColor: p
|
|
4245
4245
|
}
|
|
4246
4246
|
) }),
|
|
4247
|
-
/* @__PURE__ */ i("div", { className:
|
|
4248
|
-
const
|
|
4249
|
-
return N.category && !
|
|
4247
|
+
/* @__PURE__ */ i("div", { className: Le.formObjectContainer, children: c == null ? void 0 : c.map((N, M) => {
|
|
4248
|
+
const B = N.categoryId === $;
|
|
4249
|
+
return N.category && !B ? null : N.category && B ? /* @__PURE__ */ i(
|
|
4250
4250
|
"div",
|
|
4251
4251
|
{
|
|
4252
4252
|
style: {
|
|
@@ -4257,7 +4257,7 @@ const Fe = ({
|
|
|
4257
4257
|
},
|
|
4258
4258
|
N.categoryId
|
|
4259
4259
|
) : /* @__PURE__ */ i(
|
|
4260
|
-
|
|
4260
|
+
Ve,
|
|
4261
4261
|
{
|
|
4262
4262
|
inputs: N.inputs,
|
|
4263
4263
|
control: _,
|
|
@@ -4267,21 +4267,21 @@ const Fe = ({
|
|
|
4267
4267
|
}
|
|
4268
4268
|
);
|
|
4269
4269
|
}) }),
|
|
4270
|
-
/* @__PURE__ */ g("div", { className:
|
|
4271
|
-
/* @__PURE__ */ i(
|
|
4272
|
-
/* @__PURE__ */ i(
|
|
4270
|
+
/* @__PURE__ */ g("div", { className: Le.buttonContainer, children: [
|
|
4271
|
+
/* @__PURE__ */ i(We, { containerStyles: a, type: "submit", children: h(d) }),
|
|
4272
|
+
/* @__PURE__ */ i(Oe, { errorMessage: t, errorColor: o })
|
|
4273
4273
|
] })
|
|
4274
4274
|
] });
|
|
4275
|
-
},
|
|
4276
|
-
overlay:
|
|
4277
|
-
modal:
|
|
4278
|
-
closeButton:
|
|
4279
|
-
icon:
|
|
4280
|
-
message:
|
|
4281
|
-
submessage:
|
|
4282
|
-
buttonsContainer:
|
|
4283
|
-
buttonWrapper:
|
|
4284
|
-
},
|
|
4275
|
+
}, zs = "_overlay_mnd4j_2", Zs = "_modal_mnd4j_15", js = "_closeButton_mnd4j_29", Hs = "_icon_mnd4j_39", Ks = "_message_mnd4j_45", Us = "_submessage_mnd4j_51", Ws = "_buttonsContainer_mnd4j_57", Gs = "_buttonWrapper_mnd4j_64", me = {
|
|
4276
|
+
overlay: zs,
|
|
4277
|
+
modal: Zs,
|
|
4278
|
+
closeButton: js,
|
|
4279
|
+
icon: Hs,
|
|
4280
|
+
message: Ks,
|
|
4281
|
+
submessage: Us,
|
|
4282
|
+
buttonsContainer: Ws,
|
|
4283
|
+
buttonWrapper: Gs
|
|
4284
|
+
}, Xs = ({
|
|
4285
4285
|
onClose: n,
|
|
4286
4286
|
icon: c,
|
|
4287
4287
|
message: s,
|
|
@@ -4289,21 +4289,21 @@ const Fe = ({
|
|
|
4289
4289
|
buttons: t,
|
|
4290
4290
|
maxHeight: o = "450px",
|
|
4291
4291
|
maxWidth: d = "450px"
|
|
4292
|
-
}) => /* @__PURE__ */ i("div", { className:
|
|
4292
|
+
}) => /* @__PURE__ */ i("div", { className: me.overlay, children: /* @__PURE__ */ g(
|
|
4293
4293
|
"div",
|
|
4294
4294
|
{
|
|
4295
|
-
className:
|
|
4295
|
+
className: me.modal,
|
|
4296
4296
|
style: { maxHeight: o, maxWidth: d },
|
|
4297
4297
|
children: [
|
|
4298
|
-
/* @__PURE__ */ i("button", { className:
|
|
4299
|
-
c && /* @__PURE__ */ i("img", { src: c, alt: "icon", className:
|
|
4300
|
-
/* @__PURE__ */ i("p", { className:
|
|
4301
|
-
r && /* @__PURE__ */ i("p", { className:
|
|
4302
|
-
t.length > 0 && /* @__PURE__ */ i("div", { className:
|
|
4298
|
+
/* @__PURE__ */ i("button", { className: me.closeButton, onClick: n, "aria-label": "Close modal", children: "✕" }),
|
|
4299
|
+
c && /* @__PURE__ */ i("img", { src: c, alt: "icon", className: me.icon }),
|
|
4300
|
+
/* @__PURE__ */ i("p", { className: me.message, children: s }),
|
|
4301
|
+
r && /* @__PURE__ */ i("p", { className: me.submessage, children: r }),
|
|
4302
|
+
t.length > 0 && /* @__PURE__ */ i("div", { className: me.buttonsContainer, children: t.map((a, l) => /* @__PURE__ */ i("div", { className: me.buttonWrapper, children: a }, l)) })
|
|
4303
4303
|
]
|
|
4304
4304
|
}
|
|
4305
4305
|
) });
|
|
4306
|
-
|
|
4306
|
+
Xs.propTypes = {
|
|
4307
4307
|
/** Función que se ejecuta al clicar la "X" de cierre */
|
|
4308
4308
|
onClose: e.func.isRequired,
|
|
4309
4309
|
/** URL de la imagen opcional que aparece sobre el mensaje */
|
|
@@ -4319,17 +4319,17 @@ Ks.propTypes = {
|
|
|
4319
4319
|
/** Anchura máxima del modal (por defecto 400px) */
|
|
4320
4320
|
maxWidth: e.string
|
|
4321
4321
|
};
|
|
4322
|
-
const
|
|
4323
|
-
stepsContainer:
|
|
4324
|
-
stepWrapper:
|
|
4325
|
-
circleContainer:
|
|
4326
|
-
circle:
|
|
4327
|
-
active:
|
|
4328
|
-
completed:
|
|
4329
|
-
label:
|
|
4330
|
-
labelActive:
|
|
4331
|
-
connector:
|
|
4332
|
-
},
|
|
4322
|
+
const Qs = "_stepsContainer_1cyua_3", Js = "_stepWrapper_1cyua_9", Ys = "_circleContainer_1cyua_19", er = "_circle_1cyua_19", tr = "_active_1cyua_39", nr = "_completed_1cyua_44", ir = "_label_1cyua_50", sr = "_labelActive_1cyua_56", rr = "_connector_1cyua_61", ce = {
|
|
4323
|
+
stepsContainer: Qs,
|
|
4324
|
+
stepWrapper: Js,
|
|
4325
|
+
circleContainer: Ys,
|
|
4326
|
+
circle: er,
|
|
4327
|
+
active: tr,
|
|
4328
|
+
completed: nr,
|
|
4329
|
+
label: ir,
|
|
4330
|
+
labelActive: sr,
|
|
4331
|
+
connector: rr
|
|
4332
|
+
}, c2 = ({ steps: n, activeColor: c }) => /* @__PURE__ */ i("div", { className: ce.stepsContainer, children: n.map((s, r) => {
|
|
4333
4333
|
const t = s.status === "active", o = s.status === "completed";
|
|
4334
4334
|
return /* @__PURE__ */ g("div", { className: ce.stepWrapper, children: [
|
|
4335
4335
|
/* @__PURE__ */ g("div", { className: ce.circleContainer, children: [
|
|
@@ -4355,7 +4355,7 @@ const Us = "_stepsContainer_1cyua_3", Ws = "_stepWrapper_1cyua_9", Gs = "_circle
|
|
|
4355
4355
|
)
|
|
4356
4356
|
] }, r);
|
|
4357
4357
|
}) });
|
|
4358
|
-
|
|
4358
|
+
c2.propTypes = {
|
|
4359
4359
|
steps: e.arrayOf(
|
|
4360
4360
|
e.shape({
|
|
4361
4361
|
name: e.string.isRequired,
|
|
@@ -4365,30 +4365,30 @@ o2.propTypes = {
|
|
|
4365
4365
|
).isRequired,
|
|
4366
4366
|
activeColor: e.string
|
|
4367
4367
|
};
|
|
4368
|
-
|
|
4368
|
+
c2.defaultProps = {
|
|
4369
4369
|
activeColor: "#C2185B"
|
|
4370
4370
|
// color por defecto
|
|
4371
4371
|
};
|
|
4372
|
-
const
|
|
4373
|
-
statusTextContainer:
|
|
4374
|
-
},
|
|
4375
|
-
|
|
4372
|
+
const or = "_statusTextContainer_ch14r_2", ar = {
|
|
4373
|
+
statusTextContainer: or
|
|
4374
|
+
}, d2 = ({ text: n, color: c }) => /* @__PURE__ */ i("div", { className: ar.statusTextContainer, style: { background: c }, children: /* @__PURE__ */ i("span", { children: n }) });
|
|
4375
|
+
d2.propTypes = {
|
|
4376
4376
|
text: e.string,
|
|
4377
4377
|
color: e.string
|
|
4378
4378
|
};
|
|
4379
|
-
|
|
4379
|
+
d2.defaultProps = {
|
|
4380
4380
|
color: "#C2185B"
|
|
4381
4381
|
// color por defecto
|
|
4382
4382
|
};
|
|
4383
|
-
const
|
|
4384
|
-
buttonsContainer:
|
|
4385
|
-
button:
|
|
4386
|
-
active:
|
|
4387
|
-
},
|
|
4383
|
+
const lr = "_buttonsContainer_1c7dw_2", cr = "_button_1c7dw_2", dr = "_active_1c7dw_20", je = {
|
|
4384
|
+
buttonsContainer: lr,
|
|
4385
|
+
button: cr,
|
|
4386
|
+
active: dr
|
|
4387
|
+
}, ur = ({
|
|
4388
4388
|
buttons: n = []
|
|
4389
4389
|
}) => {
|
|
4390
4390
|
const { t: c } = F();
|
|
4391
|
-
return /* @__PURE__ */ i("div", { className: `${
|
|
4391
|
+
return /* @__PURE__ */ i("div", { className: `${je.buttonsContainer}`, children: n.map((s, r) => {
|
|
4392
4392
|
const {
|
|
4393
4393
|
isActive: t,
|
|
4394
4394
|
name: o,
|
|
@@ -4398,14 +4398,14 @@ const sr = "_buttonsContainer_1c7dw_2", rr = "_button_1c7dw_2", or = "_active_1c
|
|
|
4398
4398
|
"button",
|
|
4399
4399
|
{
|
|
4400
4400
|
onClick: d,
|
|
4401
|
-
className: `${
|
|
4402
|
-
${t &&
|
|
4403
|
-
children: /* @__PURE__ */ i("span", { className:
|
|
4401
|
+
className: `${je.button}
|
|
4402
|
+
${t && je.active}`,
|
|
4403
|
+
children: /* @__PURE__ */ i("span", { className: je.buttonName, children: c(o) })
|
|
4404
4404
|
}
|
|
4405
4405
|
) }, r);
|
|
4406
4406
|
}) });
|
|
4407
4407
|
};
|
|
4408
|
-
|
|
4408
|
+
ur.propTypes = {
|
|
4409
4409
|
buttons: e.arrayOf(
|
|
4410
4410
|
e.shape({
|
|
4411
4411
|
isActive: e.bool,
|
|
@@ -4415,14 +4415,14 @@ ar.propTypes = {
|
|
|
4415
4415
|
})
|
|
4416
4416
|
).isRequired
|
|
4417
4417
|
};
|
|
4418
|
-
const
|
|
4419
|
-
switchContainer:
|
|
4420
|
-
labelRight:
|
|
4421
|
-
labelLeft:
|
|
4418
|
+
const pr = "_switchContainer_194wl_2", mr = "_labelRight_194wl_9", hr = "_labelLeft_194wl_9", gr = "_slider_194wl_28", Cr = "_disabled_194wl_54", ke = {
|
|
4419
|
+
switchContainer: pr,
|
|
4420
|
+
labelRight: mr,
|
|
4421
|
+
labelLeft: hr,
|
|
4422
4422
|
switch: "_switch_194wl_2",
|
|
4423
|
-
slider:
|
|
4424
|
-
disabled:
|
|
4425
|
-
},
|
|
4423
|
+
slider: gr,
|
|
4424
|
+
disabled: Cr
|
|
4425
|
+
}, fr = ({ input: n, reactHookFormInstance: c, onChange: s, onoff: r = !0 }) => {
|
|
4426
4426
|
const {
|
|
4427
4427
|
code: t,
|
|
4428
4428
|
labelLeft: o,
|
|
@@ -4465,7 +4465,7 @@ const lr = "_switchContainer_194wl_2", cr = "_labelRight_194wl_9", dr = "_labelL
|
|
|
4465
4465
|
d && /* @__PURE__ */ i("span", { className: ke.labelRight, style: { width: `${(f - 74) / 2}px` }, children: m(d) })
|
|
4466
4466
|
] });
|
|
4467
4467
|
return c ? /* @__PURE__ */ i(
|
|
4468
|
-
|
|
4468
|
+
Ae,
|
|
4469
4469
|
{
|
|
4470
4470
|
name: t,
|
|
4471
4471
|
control: p,
|
|
@@ -4474,7 +4474,7 @@ const lr = "_switchContainer_194wl_2", cr = "_labelRight_194wl_9", dr = "_labelL
|
|
|
4474
4474
|
}
|
|
4475
4475
|
) : _(C, v);
|
|
4476
4476
|
};
|
|
4477
|
-
|
|
4477
|
+
fr.propTypes = {
|
|
4478
4478
|
input: e.shape({
|
|
4479
4479
|
code: e.string,
|
|
4480
4480
|
labelLeft: e.string,
|
|
@@ -4486,36 +4486,36 @@ mr.propTypes = {
|
|
|
4486
4486
|
reactHookFormInstance: e.object,
|
|
4487
4487
|
onChange: e.func
|
|
4488
4488
|
};
|
|
4489
|
-
const
|
|
4490
|
-
overlay:
|
|
4491
|
-
popup:
|
|
4492
|
-
gif:
|
|
4493
|
-
message:
|
|
4494
|
-
},
|
|
4489
|
+
const yr = "_overlay_1xyw2_2", br = "_popup_1xyw2_15", _r = "_gif_1xyw2_25", vr = "_message_1xyw2_31", He = {
|
|
4490
|
+
overlay: yr,
|
|
4491
|
+
popup: br,
|
|
4492
|
+
gif: _r,
|
|
4493
|
+
message: vr
|
|
4494
|
+
}, xr = ({ gifSrc: n, message: c }) => /* @__PURE__ */ i("div", { className: He.overlay, children: /* @__PURE__ */ g("div", { className: He.popup, children: [
|
|
4495
4495
|
n && /* @__PURE__ */ i(
|
|
4496
4496
|
"img",
|
|
4497
4497
|
{
|
|
4498
4498
|
src: n,
|
|
4499
4499
|
alt: "loading animation",
|
|
4500
|
-
className:
|
|
4500
|
+
className: He.gif
|
|
4501
4501
|
}
|
|
4502
4502
|
),
|
|
4503
|
-
c && /* @__PURE__ */ i("p", { className:
|
|
4503
|
+
c && /* @__PURE__ */ i("p", { className: He.message, children: c })
|
|
4504
4504
|
] }) });
|
|
4505
|
-
|
|
4505
|
+
xr.propTypes = {
|
|
4506
4506
|
gifSrc: e.string,
|
|
4507
4507
|
message: e.string
|
|
4508
4508
|
};
|
|
4509
|
-
const
|
|
4510
|
-
container:
|
|
4511
|
-
burger:
|
|
4512
|
-
menu:
|
|
4513
|
-
menuOpen:
|
|
4514
|
-
menuClose:
|
|
4515
|
-
list:
|
|
4516
|
-
item:
|
|
4517
|
-
button:
|
|
4518
|
-
},
|
|
4509
|
+
const wr = "_container_1pl8d_3", Nr = "_burger_1pl8d_10", kr = "_menu_1pl8d_21", $r = "_menuOpen_1pl8d_35", Sr = "_menuClose_1pl8d_40", Tr = "_list_1pl8d_46", Mr = "_item_1pl8d_56", Lr = "_button_1pl8d_91", oe = {
|
|
4510
|
+
container: wr,
|
|
4511
|
+
burger: Nr,
|
|
4512
|
+
menu: kr,
|
|
4513
|
+
menuOpen: $r,
|
|
4514
|
+
menuClose: Sr,
|
|
4515
|
+
list: Tr,
|
|
4516
|
+
item: Mr,
|
|
4517
|
+
button: Lr
|
|
4518
|
+
}, u2 = ({
|
|
4519
4519
|
options: n,
|
|
4520
4520
|
backgroundColor: c,
|
|
4521
4521
|
textColor: s,
|
|
@@ -4598,7 +4598,7 @@ const br = "_container_1pl8d_3", _r = "_burger_1pl8d_10", vr = "_menu_1pl8d_21",
|
|
|
4598
4598
|
style: { backgroundColor: c, color: s },
|
|
4599
4599
|
children: /* @__PURE__ */ i("ul", { className: oe.list, children: n.map((h, v) => /* @__PURE__ */ g("li", { className: oe.item, children: [
|
|
4600
4600
|
h.url && /* @__PURE__ */ i(
|
|
4601
|
-
|
|
4601
|
+
Zt,
|
|
4602
4602
|
{
|
|
4603
4603
|
to: h.url,
|
|
4604
4604
|
className: ({ isActive: _ }) => `${oe.link} ${_ ? oe.active : ""}`,
|
|
@@ -4623,21 +4623,21 @@ const br = "_container_1pl8d_3", _r = "_burger_1pl8d_10", vr = "_menu_1pl8d_21",
|
|
|
4623
4623
|
)
|
|
4624
4624
|
] });
|
|
4625
4625
|
};
|
|
4626
|
-
|
|
4626
|
+
u2.propTypes = {
|
|
4627
4627
|
options: e.array.isRequired,
|
|
4628
4628
|
backgroundColor: e.string,
|
|
4629
4629
|
textColor: e.string,
|
|
4630
4630
|
iconColor: e.string
|
|
4631
4631
|
};
|
|
4632
|
-
|
|
4632
|
+
u2.defaultProps = {
|
|
4633
4633
|
backgroundColor: "#ffffff",
|
|
4634
4634
|
textColor: "#000000",
|
|
4635
4635
|
iconColor: "#000000"
|
|
4636
4636
|
};
|
|
4637
|
-
const
|
|
4638
|
-
svgContainer:
|
|
4639
|
-
svg:
|
|
4640
|
-
},
|
|
4637
|
+
const Br = "_svgContainer_1rxoe_2", Dr = "_svg_1rxoe_2", Rt = {
|
|
4638
|
+
svgContainer: Br,
|
|
4639
|
+
svg: Dr
|
|
4640
|
+
}, Vr = ({
|
|
4641
4641
|
data: n,
|
|
4642
4642
|
keys: c,
|
|
4643
4643
|
colors: s,
|
|
@@ -4659,13 +4659,13 @@ const Sr = "_svgContainer_1rxoe_2", Tr = "_svg_1rxoe_2", Ft = {
|
|
|
4659
4659
|
xAxisLabel: k,
|
|
4660
4660
|
yAxisLabel: $
|
|
4661
4661
|
}) => {
|
|
4662
|
-
const y =
|
|
4662
|
+
const y = te(), w = te(), [x, S] = R({ width: 0, height: 0 });
|
|
4663
4663
|
return O(() => {
|
|
4664
4664
|
const N = () => {
|
|
4665
4665
|
if (w.current) {
|
|
4666
|
-
const
|
|
4666
|
+
const M = w.current.getBoundingClientRect().width;
|
|
4667
4667
|
S({
|
|
4668
|
-
width: typeof r == "number" ? r :
|
|
4668
|
+
width: typeof r == "number" ? r : M,
|
|
4669
4669
|
height: t
|
|
4670
4670
|
});
|
|
4671
4671
|
}
|
|
@@ -4673,27 +4673,27 @@ const Sr = "_svgContainer_1rxoe_2", Tr = "_svg_1rxoe_2", Ft = {
|
|
|
4673
4673
|
return N(), window.addEventListener("resize", N), () => window.removeEventListener("resize", N);
|
|
4674
4674
|
}, [r, t]), O(() => {
|
|
4675
4675
|
if (!n || n.length === 0 || x.width === 0) return;
|
|
4676
|
-
const N =
|
|
4677
|
-
if (D <= 0 ||
|
|
4678
|
-
const
|
|
4676
|
+
const N = _e(y.current), M = x.width, B = x.height, D = M - o.left - o.right, L = B - o.top - o.bottom;
|
|
4677
|
+
if (D <= 0 || L <= 0) return;
|
|
4678
|
+
const q = n.map((V) => V.anyo || V.year || V.x), A = c, X = it(n, (V) => it(A, (T) => V[T])) || 0, G = st(n, (V) => st(A, (T) => V[T])) || 0, z = rt().domain(q).rangeRound([0, D]).paddingInner(p), I = rt().domain(A).rangeRound([0, z.bandwidth()]).padding(C), Z = qt().domain([Math.min(0, X), G]).nice().rangeRound([L, 0]), Ge = Pt().domain(A).range(Array.isArray(s) ? s : Object.values(s || {}));
|
|
4679
4679
|
N.selectAll("*").remove();
|
|
4680
|
-
const
|
|
4681
|
-
b && N.append("text").attr("x",
|
|
4680
|
+
const Q = N.append("g").attr("transform", `translate(${o.left},${o.top})`);
|
|
4681
|
+
b && N.append("text").attr("x", M / 2).attr("y", o.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(b), u && Q.append("g").attr("class", "grid").selectAll("line").data(Z.ticks()).enter().append("line").attr("x1", 0).attr("x2", D).attr("y1", (V) => Z(V)).attr("y2", (V) => Z(V)).style("stroke", "#e0e0e0").style("stroke-width", 0.5), a && (Q.append("g").attr("transform", `translate(0,${L})`).call(zt(z).tickSizeOuter(0)).attr("class", "x-axis").selectAll("text").attr("transform", `translate(0,10)rotate(${f})`).style("text-anchor", f < 0 ? "end" : "middle").style("font-size", "12px").style("fill", "#605B56"), k && Q.append("text").attr(
|
|
4682
4682
|
"transform",
|
|
4683
|
-
`translate(${D / 2}, ${
|
|
4684
|
-
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(k)), l && (
|
|
4685
|
-
const
|
|
4686
|
-
(V) => A.map((
|
|
4687
|
-
key:
|
|
4688
|
-
value: V[
|
|
4683
|
+
`translate(${D / 2}, ${L + o.bottom - 5})`
|
|
4684
|
+
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(k)), l && (Q.append("g").call(ot(Z).ticks(6).tickFormat(m)).attr("class", "y-axis").call((V) => V.select(".domain").remove()), $ && Q.append("text").attr("transform", "rotate(-90)").attr("y", 0 - o.left).attr("x", 0 - L / 2).attr("dy", "1em").style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text($));
|
|
4685
|
+
const he = Q.append("g").selectAll(".bar-group").data(n).enter().append("g").attr("class", "bar-group").attr("transform", (V) => `translate(${z(V.anyo || V.year || V.x)},0)`).selectAll(".bar").data(
|
|
4686
|
+
(V) => A.map((T) => ({
|
|
4687
|
+
key: T,
|
|
4688
|
+
value: V[T],
|
|
4689
4689
|
data: V
|
|
4690
4690
|
}))
|
|
4691
|
-
).enter().append("rect").attr("class", "bar").attr("x", (V) =>
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
}).on("mouseout", function(V,
|
|
4695
|
-
|
|
4696
|
-
}), _ &&
|
|
4691
|
+
).enter().append("rect").attr("class", "bar").attr("x", (V) => I(V.key)).attr("y", L).attr("width", I.bandwidth()).attr("height", 0).attr("fill", (V) => Ge(V.key)).style("cursor", v || _ ? "pointer" : "default");
|
|
4692
|
+
he.transition().duration(h).attr("y", (V) => Z(Math.max(0, V.value))).attr("height", (V) => Math.abs(Z(V.value) - Z(0))), v && he.on("mouseover", function(V, T) {
|
|
4693
|
+
_e(this).style("opacity", 0.8), v(V, T);
|
|
4694
|
+
}).on("mouseout", function(V, T) {
|
|
4695
|
+
_e(this).style("opacity", 1);
|
|
4696
|
+
}), _ && he.on("click", _);
|
|
4697
4697
|
}, [
|
|
4698
4698
|
n,
|
|
4699
4699
|
c,
|
|
@@ -4717,13 +4717,13 @@ const Sr = "_svgContainer_1rxoe_2", Tr = "_svg_1rxoe_2", Ft = {
|
|
|
4717
4717
|
"div",
|
|
4718
4718
|
{
|
|
4719
4719
|
ref: w,
|
|
4720
|
-
className: `${
|
|
4720
|
+
className: `${Rt.svgContainer} ${d}`,
|
|
4721
4721
|
style: { width: r, height: t + o.top + o.bottom },
|
|
4722
4722
|
children: /* @__PURE__ */ i(
|
|
4723
4723
|
"svg",
|
|
4724
4724
|
{
|
|
4725
4725
|
ref: y,
|
|
4726
|
-
className:
|
|
4726
|
+
className: Rt.svg,
|
|
4727
4727
|
width: x.width,
|
|
4728
4728
|
height: x.height
|
|
4729
4729
|
}
|
|
@@ -4731,7 +4731,7 @@ const Sr = "_svgContainer_1rxoe_2", Tr = "_svg_1rxoe_2", Ft = {
|
|
|
4731
4731
|
}
|
|
4732
4732
|
);
|
|
4733
4733
|
};
|
|
4734
|
-
|
|
4734
|
+
Vr.propTypes = {
|
|
4735
4735
|
data: e.arrayOf(e.object).isRequired,
|
|
4736
4736
|
keys: e.arrayOf(e.string).isRequired,
|
|
4737
4737
|
colors: e.oneOfType([
|
|
@@ -4761,10 +4761,10 @@ Lr.propTypes = {
|
|
|
4761
4761
|
xAxisLabel: e.string,
|
|
4762
4762
|
yAxisLabel: e.string
|
|
4763
4763
|
};
|
|
4764
|
-
const
|
|
4765
|
-
svgContainer:
|
|
4766
|
-
svg:
|
|
4767
|
-
},
|
|
4764
|
+
const Fr = "_svgContainer_1bi78_2", Ar = "_svg_1bi78_2", It = {
|
|
4765
|
+
svgContainer: Fr,
|
|
4766
|
+
svg: Ar
|
|
4767
|
+
}, Or = ({
|
|
4768
4768
|
data: n,
|
|
4769
4769
|
keys: c,
|
|
4770
4770
|
colors: s,
|
|
@@ -4789,88 +4789,111 @@ const Br = "_svgContainer_1bi78_2", Mr = "_svg_1bi78_2", At = {
|
|
|
4789
4789
|
showTooltip: y = !0,
|
|
4790
4790
|
reverseKeys: w = !0
|
|
4791
4791
|
}) => {
|
|
4792
|
-
const x =
|
|
4793
|
-
|
|
4794
|
-
const [N,
|
|
4792
|
+
const x = te(), S = te();
|
|
4793
|
+
te();
|
|
4794
|
+
const [N, M] = R({ width: 0, height: 0 });
|
|
4795
4795
|
return O(() => {
|
|
4796
|
-
const
|
|
4796
|
+
const B = () => {
|
|
4797
4797
|
if (S.current) {
|
|
4798
4798
|
const D = S.current.getBoundingClientRect().width;
|
|
4799
|
-
|
|
4799
|
+
M({
|
|
4800
4800
|
width: typeof r == "number" ? r : D,
|
|
4801
4801
|
height: t
|
|
4802
4802
|
});
|
|
4803
4803
|
}
|
|
4804
4804
|
};
|
|
4805
|
-
return
|
|
4805
|
+
return B(), window.addEventListener("resize", B), () => window.removeEventListener("resize", B);
|
|
4806
4806
|
}, [r, t]), O(() => {
|
|
4807
4807
|
if (!n || n.length === 0 || N.width === 0) return;
|
|
4808
|
-
const
|
|
4809
|
-
if (
|
|
4810
|
-
const X = w ? [...c].reverse() : c,
|
|
4811
|
-
|
|
4812
|
-
const
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4808
|
+
const B = _e(x.current), D = N.width, L = N.height, q = D - o.left - o.right, A = L - o.top - o.bottom;
|
|
4809
|
+
if (q <= 0 || A <= 0) return;
|
|
4810
|
+
const X = w ? [...c].reverse() : c, G = [];
|
|
4811
|
+
n.forEach((T) => {
|
|
4812
|
+
const ee = T.any || T.year || T.x, K = X.map((j) => ({
|
|
4813
|
+
key: j,
|
|
4814
|
+
value: Number(T[j]) || 0,
|
|
4815
|
+
data: T
|
|
4816
|
+
})), p2 = K.filter((j) => j.value < 0).sort((j, se) => se.value - j.value), m2 = K.filter((j) => j.value >= 0).sort((j, se) => j.value - se.value);
|
|
4817
|
+
let yt = 0;
|
|
4818
|
+
p2.forEach((j) => {
|
|
4819
|
+
const se = yt, ae = j.value, Xe = Math.abs(ae - se);
|
|
4820
|
+
G.push({
|
|
4821
|
+
key: j.key,
|
|
4822
|
+
value: j.value,
|
|
4823
|
+
y0: Math.max(se, ae),
|
|
4824
|
+
// El punto más alto
|
|
4825
|
+
y1: Math.min(se, ae),
|
|
4826
|
+
// El punto más bajo
|
|
4827
|
+
height: Xe,
|
|
4828
|
+
data: j.data,
|
|
4829
|
+
xKey: ee
|
|
4830
|
+
}), yt = ae;
|
|
4831
|
+
});
|
|
4832
|
+
let bt = 0;
|
|
4833
|
+
m2.forEach((j) => {
|
|
4834
|
+
const se = bt, ae = j.value, Xe = ae - se;
|
|
4835
|
+
G.push({
|
|
4836
|
+
key: j.key,
|
|
4837
|
+
value: j.value,
|
|
4838
|
+
y0: Math.min(se, ae),
|
|
4839
|
+
y1: Math.max(se, ae),
|
|
4840
|
+
height: Xe,
|
|
4841
|
+
data: j.data,
|
|
4842
|
+
xKey: ee
|
|
4843
|
+
}), bt = ae;
|
|
4844
|
+
});
|
|
4821
4845
|
});
|
|
4822
|
-
const
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
],
|
|
4826
|
-
|
|
4827
|
-
const
|
|
4828
|
-
_ &&
|
|
4846
|
+
const z = [
|
|
4847
|
+
it(G, (T) => Math.min(T.y0, T.y1)) || 0,
|
|
4848
|
+
st(G, (T) => Math.max(T.y0, T.y1)) || 0
|
|
4849
|
+
], I = rt().domain(n.map((T) => T.any || T.year || T.x)).range([0, q]).padding(p), Z = qt().domain([z[0], z[1]]).nice().range([A, 0]), Ge = Pt().domain(c).range(Array.isArray(s) ? s : Object.values(s || {}));
|
|
4850
|
+
B.selectAll("*").remove();
|
|
4851
|
+
const Q = B.append("g").attr("transform", `translate(${o.left},${o.top})`);
|
|
4852
|
+
_ && B.append("text").attr("x", D / 2).attr("y", o.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(_), u && Q.append("g").attr("class", "grid").selectAll("line").data(Z.ticks()).enter().append("line").attr("x1", 0).attr("x2", q).attr("y1", (T) => Z(T)).attr("y2", (T) => Z(T)).style("stroke", "#e0e0e0").style("stroke-width", 0.5), a && (Q.append("g").attr("class", "x-axis").attr("transform", `translate(0, ${A})`).call(zt(I).tickSizeOuter(0)).selectAll("text").remove(), Q.append("g").attr("class", "x-axis-labels").attr("transform", `translate(0, ${A})`).selectAll("text").data(n).enter().append("text").attr(
|
|
4829
4853
|
"x",
|
|
4830
|
-
(
|
|
4854
|
+
(K) => I(K.any || K.year || K.x) + I.bandwidth() / 2
|
|
4831
4855
|
).attr("y", 19).style(
|
|
4832
4856
|
"text-anchor",
|
|
4833
4857
|
f === 0 ? "middle" : f < 0 ? "end" : "start"
|
|
4834
4858
|
).style("font-size", "12px").style("fill", "#605B56").attr(
|
|
4835
4859
|
"transform",
|
|
4836
|
-
(
|
|
4837
|
-
).text((
|
|
4860
|
+
(K) => `rotate(${f} ${I(K.any || K.year || K.x) + I.bandwidth() / 2} 15)`
|
|
4861
|
+
).text((K) => K.any || K.year || K.x), b && Q.append("text").attr(
|
|
4838
4862
|
"transform",
|
|
4839
|
-
`translate(${
|
|
4840
|
-
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(b)), l && (
|
|
4841
|
-
let
|
|
4842
|
-
y && (
|
|
4843
|
-
const
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
).attr("width", W.bandwidth()).attr("y", A).attr("height", 0).style(
|
|
4863
|
+
`translate(${q / 2}, ${A + o.bottom - 5})`
|
|
4864
|
+
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(b)), l && (Q.append("g").attr("class", "y-axis").call(ot(Z).ticks(6).tickFormat(m)).call((T) => T.select(".domain").remove()), Q.append("g").attr("class", "y-ticks").attr("transform", `translate(${q}, 0)`).call(ot(Z).ticks(6).tickSizeInner(q)).call((T) => T.select(".domain").remove()).call((T) => T.selectAll(".tick text").remove()), k && Q.append("text").attr("transform", "rotate(-90)").attr("y", 0 - o.left).attr("x", 0 - A / 2).attr("dy", "1em").style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(k));
|
|
4865
|
+
let re;
|
|
4866
|
+
y && (re = _e("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"));
|
|
4867
|
+
const he = Q.selectAll(".segment").data(G, (T) => `${T.xKey}-${T.key}`);
|
|
4868
|
+
he.exit().remove();
|
|
4869
|
+
const V = he.enter().append("rect").attr("class", "segment").attr("x", (T) => I(T.xKey)).attr("width", I.bandwidth()).attr("y", (T) => Z(0)).attr("height", 0).attr("fill", (T) => Ge(T.key)).style(
|
|
4847
4870
|
"cursor",
|
|
4848
4871
|
h || v || y ? "pointer" : "default"
|
|
4849
|
-
);
|
|
4850
|
-
return
|
|
4851
|
-
const
|
|
4852
|
-
y &&
|
|
4853
|
-
<strong>${
|
|
4854
|
-
${
|
|
4855
|
-
${m(
|
|
4856
|
-
`),
|
|
4857
|
-
key:
|
|
4858
|
-
value:
|
|
4859
|
-
data:
|
|
4872
|
+
).merge(he);
|
|
4873
|
+
return V.transition().duration(C).attr("x", (T) => I(T.xKey)).attr("y", (T) => Math.min(Z(T.y0), Z(T.y1))).attr("height", (T) => Math.abs(Z(T.y1) - Z(T.y0))), (y || h) && V.on("mouseover", function(T, ee) {
|
|
4874
|
+
const K = ee.value;
|
|
4875
|
+
y && re && re.style("visibility", "visible").html(`
|
|
4876
|
+
<strong>${ee.key}</strong><br/>
|
|
4877
|
+
${ee.xKey}<br/>
|
|
4878
|
+
${m(K)}
|
|
4879
|
+
`), _e(this).style("opacity", 0.8), h && h(T, {
|
|
4880
|
+
key: ee.key,
|
|
4881
|
+
value: K,
|
|
4882
|
+
data: ee.data
|
|
4860
4883
|
});
|
|
4861
|
-
}).on("mousemove", function(
|
|
4862
|
-
y &&
|
|
4863
|
-
}).on("mouseout", function(
|
|
4864
|
-
y &&
|
|
4865
|
-
}), v &&
|
|
4866
|
-
const
|
|
4867
|
-
v(
|
|
4868
|
-
key:
|
|
4869
|
-
value:
|
|
4870
|
-
data:
|
|
4884
|
+
}).on("mousemove", function(T) {
|
|
4885
|
+
y && re && re.style("top", T.pageY - 10 + "px").style("left", T.pageX + 10 + "px");
|
|
4886
|
+
}).on("mouseout", function() {
|
|
4887
|
+
y && re && re.style("visibility", "hidden"), _e(this).style("opacity", 1);
|
|
4888
|
+
}), v && V.on("click", function(T, ee) {
|
|
4889
|
+
const K = ee.value;
|
|
4890
|
+
v(T, {
|
|
4891
|
+
key: ee.key,
|
|
4892
|
+
value: K,
|
|
4893
|
+
data: ee.data
|
|
4871
4894
|
});
|
|
4872
4895
|
}), () => {
|
|
4873
|
-
|
|
4896
|
+
re && re.remove();
|
|
4874
4897
|
};
|
|
4875
4898
|
}, [
|
|
4876
4899
|
n,
|
|
@@ -4897,13 +4920,13 @@ const Br = "_svgContainer_1bi78_2", Mr = "_svg_1bi78_2", At = {
|
|
|
4897
4920
|
"div",
|
|
4898
4921
|
{
|
|
4899
4922
|
ref: S,
|
|
4900
|
-
className: `${
|
|
4923
|
+
className: `${It.svgContainer} ${d}`,
|
|
4901
4924
|
style: { width: r, height: t + o.top + o.bottom },
|
|
4902
4925
|
children: /* @__PURE__ */ i(
|
|
4903
4926
|
"svg",
|
|
4904
4927
|
{
|
|
4905
4928
|
ref: x,
|
|
4906
|
-
className:
|
|
4929
|
+
className: It.svg,
|
|
4907
4930
|
width: N.width,
|
|
4908
4931
|
height: N.height
|
|
4909
4932
|
}
|
|
@@ -4911,7 +4934,7 @@ const Br = "_svgContainer_1bi78_2", Mr = "_svg_1bi78_2", At = {
|
|
|
4911
4934
|
}
|
|
4912
4935
|
);
|
|
4913
4936
|
};
|
|
4914
|
-
|
|
4937
|
+
Or.propTypes = {
|
|
4915
4938
|
data: e.arrayOf(e.object).isRequired,
|
|
4916
4939
|
keys: e.arrayOf(e.string).isRequired,
|
|
4917
4940
|
colors: e.oneOfType([
|
|
@@ -4949,22 +4972,22 @@ Dr.propTypes = {
|
|
|
4949
4972
|
showTooltip: e.bool,
|
|
4950
4973
|
reverseKeys: e.bool
|
|
4951
4974
|
};
|
|
4952
|
-
const
|
|
4953
|
-
externalContainer:
|
|
4954
|
-
externalSintetic:
|
|
4955
|
-
titles:
|
|
4956
|
-
titleContainer:
|
|
4957
|
-
yearTitles:
|
|
4958
|
-
yearTitle:
|
|
4959
|
-
yearDatas:
|
|
4960
|
-
yearDataContainer:
|
|
4961
|
-
yearDataContent:
|
|
4962
|
-
bigNumber:
|
|
4963
|
-
circle:
|
|
4964
|
-
totalContainer:
|
|
4965
|
-
total:
|
|
4966
|
-
totalTitle:
|
|
4967
|
-
},
|
|
4975
|
+
const Rr = "_externalContainer_1r6m2_2", Ir = "_externalSintetic_1r6m2_12", Er = "_titles_1r6m2_16", qr = "_titleContainer_1r6m2_25", Pr = "_yearTitles_1r6m2_39", zr = "_yearTitle_1r6m2_39", Zr = "_yearDatas_1r6m2_53", jr = "_yearDataContainer_1r6m2_61", Hr = "_yearDataContent_1r6m2_70", Kr = "_bigNumber_1r6m2_83", Ur = "_circle_1r6m2_86", Wr = "_totalContainer_1r6m2_103", Gr = "_total_1r6m2_103", Xr = "_totalTitle_1r6m2_128", J = {
|
|
4976
|
+
externalContainer: Rr,
|
|
4977
|
+
externalSintetic: Ir,
|
|
4978
|
+
titles: Er,
|
|
4979
|
+
titleContainer: qr,
|
|
4980
|
+
yearTitles: Pr,
|
|
4981
|
+
yearTitle: zr,
|
|
4982
|
+
yearDatas: Zr,
|
|
4983
|
+
yearDataContainer: jr,
|
|
4984
|
+
yearDataContent: Hr,
|
|
4985
|
+
bigNumber: Kr,
|
|
4986
|
+
circle: Ur,
|
|
4987
|
+
totalContainer: Wr,
|
|
4988
|
+
total: Gr,
|
|
4989
|
+
totalTitle: Xr
|
|
4990
|
+
}, Qr = (n) => {
|
|
4968
4991
|
if (n >= 1e3 || n <= -1e3)
|
|
4969
4992
|
return parseInt(n.toFixed());
|
|
4970
4993
|
if (n >= 100 || n <= -100)
|
|
@@ -4975,12 +4998,12 @@ const Vr = "_externalContainer_1r6m2_2", Fr = "_externalSintetic_1r6m2_12", Ar =
|
|
|
4975
4998
|
return parseFloat(n.toFixed(3));
|
|
4976
4999
|
if (n === 0)
|
|
4977
5000
|
return n;
|
|
4978
|
-
},
|
|
5001
|
+
}, Jr = (n, c) => {
|
|
4979
5002
|
let s = 0;
|
|
4980
5003
|
return c.forEach((r) => {
|
|
4981
5004
|
r[n] && (s += r[n]);
|
|
4982
5005
|
}), s;
|
|
4983
|
-
},
|
|
5006
|
+
}, Yr = ({
|
|
4984
5007
|
data: n,
|
|
4985
5008
|
keys: c,
|
|
4986
5009
|
colors: s,
|
|
@@ -4990,35 +5013,35 @@ const Vr = "_externalContainer_1r6m2_2", Fr = "_externalSintetic_1r6m2_12", Ar =
|
|
|
4990
5013
|
activeGraphics: d = "ind",
|
|
4991
5014
|
units: a = {},
|
|
4992
5015
|
translate: l,
|
|
4993
|
-
getTotal: u =
|
|
5016
|
+
getTotal: u = Jr
|
|
4994
5017
|
}) => {
|
|
4995
5018
|
const f = l || ((p) => p), m = (p) => p === "demanda_red" || p === "reduccio_demanda_red" ? (a.demanda || "").replace("(", "").replace(")", "") : a[p] || "";
|
|
4996
5019
|
return /* @__PURE__ */ g(
|
|
4997
5020
|
"div",
|
|
4998
5021
|
{
|
|
4999
|
-
className: `${
|
|
5022
|
+
className: `${J.externalContainer} ${d === "sin" ? J.externalSintetic : ""}`,
|
|
5000
5023
|
children: [
|
|
5001
|
-
o === !0 && /* @__PURE__ */ g(
|
|
5024
|
+
o === !0 && /* @__PURE__ */ g(Ue, { children: [
|
|
5002
5025
|
/* @__PURE__ */ i("div", {}),
|
|
5003
|
-
/* @__PURE__ */ i("div", { className:
|
|
5004
|
-
/* @__PURE__ */ i("div", { className:
|
|
5026
|
+
/* @__PURE__ */ i("div", { className: J.totalTitle, children: "Total" }),
|
|
5027
|
+
/* @__PURE__ */ i("div", { className: J.yearTitles, children: n.map((p, C) => /* @__PURE__ */ i("div", { className: J.yearTitle, children: p.anyo }, C)) })
|
|
5005
5028
|
] }),
|
|
5006
|
-
/* @__PURE__ */ i("div", { className:
|
|
5029
|
+
/* @__PURE__ */ i("div", { className: J.titles, children: c.map((p, C) => /* @__PURE__ */ g("div", { className: J.titleContainer, children: [
|
|
5007
5030
|
f(r[p]),
|
|
5008
5031
|
d !== "sin" && /* @__PURE__ */ i(
|
|
5009
5032
|
"span",
|
|
5010
5033
|
{
|
|
5011
|
-
className:
|
|
5034
|
+
className: J.circle,
|
|
5012
5035
|
style: { background: s[p] }
|
|
5013
5036
|
}
|
|
5014
5037
|
)
|
|
5015
5038
|
] }, C)) }),
|
|
5016
|
-
t === !0 && /* @__PURE__ */ i("div", { className:
|
|
5039
|
+
t === !0 && /* @__PURE__ */ i("div", { className: J.totalContainer, children: c.map((p, C) => {
|
|
5017
5040
|
var h;
|
|
5018
5041
|
return /* @__PURE__ */ g(
|
|
5019
5042
|
"div",
|
|
5020
5043
|
{
|
|
5021
|
-
className: `${
|
|
5044
|
+
className: `${J.total} ${u(p, n) > 9999 || u(p, n) < -9999 ? J.bigNumber : ""}`,
|
|
5022
5045
|
children: [
|
|
5023
5046
|
(h = u(p, n)) == null ? void 0 : h.toLocaleString("es-ES"),
|
|
5024
5047
|
" ",
|
|
@@ -5028,14 +5051,14 @@ const Vr = "_externalContainer_1r6m2_2", Fr = "_externalSintetic_1r6m2_12", Ar =
|
|
|
5028
5051
|
C
|
|
5029
5052
|
);
|
|
5030
5053
|
}) }),
|
|
5031
|
-
/* @__PURE__ */ i("div", { className:
|
|
5054
|
+
/* @__PURE__ */ i("div", { className: J.yearDatas, children: n.map((p, C) => /* @__PURE__ */ i("div", { className: J.yearDataContainer, children: c.map(
|
|
5032
5055
|
(h, v) => {
|
|
5033
5056
|
var _, b;
|
|
5034
5057
|
return isNaN(p[h]) ? null : /* @__PURE__ */ i(
|
|
5035
5058
|
"div",
|
|
5036
5059
|
{
|
|
5037
|
-
className: `${
|
|
5038
|
-
children: p[h] < 1e4 || p[h] > -1e4 ? (_ =
|
|
5060
|
+
className: `${J.yearDataContent} ${p[h] > 9999 || p[h] < -9999 ? J.bigNumber : ""}`,
|
|
5061
|
+
children: p[h] < 1e4 || p[h] > -1e4 ? (_ = Qr(p[h])) == null ? void 0 : _.toLocaleString("es-ES") : (b = p[h]) == null ? void 0 : b.toLocaleString("es-ES")
|
|
5039
5062
|
},
|
|
5040
5063
|
v
|
|
5041
5064
|
);
|
|
@@ -5045,7 +5068,7 @@ const Vr = "_externalContainer_1r6m2_2", Fr = "_externalSintetic_1r6m2_12", Ar =
|
|
|
5045
5068
|
}
|
|
5046
5069
|
);
|
|
5047
5070
|
};
|
|
5048
|
-
|
|
5071
|
+
Yr.propTypes = {
|
|
5049
5072
|
/** Array de objetos con datos por año. Cada objeto debe tener al menos `anyo` y los valores numéricos correspondientes a `keys`. */
|
|
5050
5073
|
data: e.arrayOf(
|
|
5051
5074
|
e.shape({
|
|
@@ -5071,13 +5094,13 @@ Gr.propTypes = {
|
|
|
5071
5094
|
/** Función para calcular el total de una key: `(key, data) => number`. Si no se proporciona, suma todos los años. */
|
|
5072
5095
|
getTotal: e.func
|
|
5073
5096
|
};
|
|
5074
|
-
const
|
|
5075
|
-
header:
|
|
5076
|
-
leftComponents:
|
|
5077
|
-
centerComponents:
|
|
5078
|
-
rightComponents:
|
|
5079
|
-
componentsContainer:
|
|
5080
|
-
},
|
|
5097
|
+
const eo = "_header_13kbt_2", to = "_leftComponents_13kbt_13", no = "_centerComponents_13kbt_14", io = "_rightComponents_13kbt_15", so = "_componentsContainer_13kbt_32", be = {
|
|
5098
|
+
header: eo,
|
|
5099
|
+
leftComponents: to,
|
|
5100
|
+
centerComponents: no,
|
|
5101
|
+
rightComponents: io,
|
|
5102
|
+
componentsContainer: so
|
|
5103
|
+
}, ro = ({
|
|
5081
5104
|
cssProps: n,
|
|
5082
5105
|
leftComponents: c = [],
|
|
5083
5106
|
centerComponents: s = [],
|
|
@@ -5090,7 +5113,7 @@ const Xr = "_header_13kbt_2", Qr = "_leftComponents_13kbt_13", Jr = "_centerComp
|
|
|
5090
5113
|
}) => /* @__PURE__ */ g(
|
|
5091
5114
|
"div",
|
|
5092
5115
|
{
|
|
5093
|
-
className:
|
|
5116
|
+
className: be.header,
|
|
5094
5117
|
style: {
|
|
5095
5118
|
...n,
|
|
5096
5119
|
zIndex: t,
|
|
@@ -5100,13 +5123,13 @@ const Xr = "_header_13kbt_2", Qr = "_leftComponents_13kbt_13", Jr = "_centerComp
|
|
|
5100
5123
|
bottom: a ? 0 : "auto"
|
|
5101
5124
|
},
|
|
5102
5125
|
children: [
|
|
5103
|
-
/* @__PURE__ */ i("div", { className:
|
|
5104
|
-
/* @__PURE__ */ i("div", { className:
|
|
5105
|
-
/* @__PURE__ */ i("div", { className:
|
|
5126
|
+
/* @__PURE__ */ i("div", { className: be.leftComponents, children: c.map((l, u) => /* @__PURE__ */ i("div", { className: be.componentsContainer, children: l }, u)) }),
|
|
5127
|
+
/* @__PURE__ */ i("div", { className: be.centerComponents, children: s.map((l, u) => /* @__PURE__ */ i("div", { className: be.componentsContainer, children: l }, u)) }),
|
|
5128
|
+
/* @__PURE__ */ i("div", { className: be.rightComponents, children: r.map((l, u) => /* @__PURE__ */ i("div", { className: be.componentsContainer, children: l }, u)) })
|
|
5106
5129
|
]
|
|
5107
5130
|
}
|
|
5108
5131
|
);
|
|
5109
|
-
|
|
5132
|
+
ro.propTypes = {
|
|
5110
5133
|
leftComponents: e.arrayOf(e.node),
|
|
5111
5134
|
centerComponents: e.arrayOf(e.node),
|
|
5112
5135
|
rightComponents: e.arrayOf(e.node),
|
|
@@ -5116,12 +5139,12 @@ to.propTypes = {
|
|
|
5116
5139
|
backgroundColor: e.string,
|
|
5117
5140
|
isFooter: e.bool
|
|
5118
5141
|
};
|
|
5119
|
-
const
|
|
5120
|
-
sidebar:
|
|
5121
|
-
open:
|
|
5122
|
-
content:
|
|
5123
|
-
closeButton:
|
|
5124
|
-
},
|
|
5142
|
+
const oo = "_sidebar_1kaqu_2", ao = "_open_1kaqu_16", lo = "_content_1kaqu_20", co = "_closeButton_1kaqu_25", Ke = {
|
|
5143
|
+
sidebar: oo,
|
|
5144
|
+
open: ao,
|
|
5145
|
+
content: lo,
|
|
5146
|
+
closeButton: co
|
|
5147
|
+
}, uo = "data:image/svg+xml,%3csvg%20width='19'%20height='19'%20viewBox='0%200%2019%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%203699'%3e%3cpath%20id='Vector%20223'%20d='M1%201L18.1566%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20id='Vector%20224'%20d='M18.1575%201L1.00083%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e", po = ({
|
|
5125
5148
|
width: n = "300px",
|
|
5126
5149
|
children: c,
|
|
5127
5150
|
showRightBar: s,
|
|
@@ -5133,59 +5156,59 @@ const no = "_sidebar_1kaqu_2", io = "_open_1kaqu_16", so = "_content_1kaqu_20",
|
|
|
5133
5156
|
return /* @__PURE__ */ i(
|
|
5134
5157
|
"div",
|
|
5135
5158
|
{
|
|
5136
|
-
className: `${
|
|
5159
|
+
className: `${Ke.sidebar} ${s ? Ke.open : ""}`,
|
|
5137
5160
|
style: { width: s ? n : 0 },
|
|
5138
|
-
children: s && /* @__PURE__ */ g("div", { className:
|
|
5139
|
-
/* @__PURE__ */ i("button", { className:
|
|
5161
|
+
children: s && /* @__PURE__ */ g("div", { className: Ke.content, children: [
|
|
5162
|
+
/* @__PURE__ */ i("button", { className: Ke.closeButton, onClick: t, children: /* @__PURE__ */ i("img", { src: uo, alt: "Close Sidebar" }) }),
|
|
5140
5163
|
c
|
|
5141
5164
|
] })
|
|
5142
5165
|
}
|
|
5143
5166
|
);
|
|
5144
5167
|
};
|
|
5145
|
-
|
|
5168
|
+
po.propTypes = {
|
|
5146
5169
|
width: e.string,
|
|
5147
5170
|
children: e.node,
|
|
5148
5171
|
showRightBar: e.bool,
|
|
5149
5172
|
onCloseBar: e.func
|
|
5150
5173
|
};
|
|
5151
5174
|
export {
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5175
|
+
e0 as AmbitSelector,
|
|
5176
|
+
Jt as BarChart,
|
|
5177
|
+
u2 as BurgerMenu,
|
|
5178
|
+
ur as ButtonsBar,
|
|
5179
|
+
p0 as ButtonsList,
|
|
5180
|
+
Ot as CategorySelector,
|
|
5158
5181
|
ve as DropdownList,
|
|
5159
|
-
|
|
5160
|
-
|
|
5161
|
-
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
|
|
5168
|
-
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
|
-
|
|
5188
|
-
|
|
5182
|
+
Bo as EditAmbit,
|
|
5183
|
+
Oe as ErrorMessage,
|
|
5184
|
+
z0 as FiltersAmbit,
|
|
5185
|
+
Ro as Form,
|
|
5186
|
+
We as GeneralButton,
|
|
5187
|
+
K0 as Graphic,
|
|
5188
|
+
Yr as GraphicLegend,
|
|
5189
|
+
Vr as Groupedbarchart,
|
|
5190
|
+
ro as HeaderSection,
|
|
5191
|
+
mn as IndicatorsList,
|
|
5192
|
+
bn as LangSelector,
|
|
5193
|
+
An as Legend,
|
|
5194
|
+
Pi as ListSelector,
|
|
5195
|
+
xr as Loader,
|
|
5196
|
+
hi as LogInButton,
|
|
5197
|
+
Rn as LogoApp,
|
|
5198
|
+
qn as MapboxMap,
|
|
5199
|
+
Kn as MaplibreMap,
|
|
5200
|
+
Xs as ModalAlert,
|
|
5201
|
+
Ls as RadioButtonInput,
|
|
5202
|
+
l2 as RankingSlider,
|
|
5203
|
+
po as RightSidebar,
|
|
5204
|
+
Yn as SectionBar,
|
|
5205
|
+
ws as SelectInput,
|
|
5206
|
+
Or as Stackedbarchart,
|
|
5207
|
+
d2 as StatusText,
|
|
5208
|
+
c2 as Steps,
|
|
5209
|
+
fr as Switch,
|
|
5210
|
+
Ft as TextInput,
|
|
5211
|
+
ai as TimeSlider,
|
|
5189
5212
|
de as Tooltip,
|
|
5190
|
-
|
|
5213
|
+
ui as TopNavMenu
|
|
5191
5214
|
};
|