@tmf_ciclica/ciclicastorybook 1.1.173 → 1.1.175
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 +6 -6
- package/dist/index.es.js +1107 -1087
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_phq4n_2{padding:5px 95px;border-radius:100px}._generalButton_phq4n_2:disabled{opacity:.6}._buttonsContainer_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}._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_j7jyw_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start}._GeographicalFilters_j7jyw_2 ._AppliedFilterContent_j7jyw_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:0 20px;border-radius:100px}._layerName_j7jyw_25{padding-left:25px;margin-bottom:20px;cursor:pointer}._checkboxContainer_zld97_2{display:flex;align-items:center;gap:.5rem;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_zld97_2 input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:1px;background-color:#fff;cursor:pointer}._container_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_1g9xx_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitTitle_1g9xx_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 0 26px;font-size:16px;font-weight:400}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22 ._FiltersAmbitDescriptionTitle_1g9xx_33{font-size:18px;font-weight:600}._FiltersAmbitContainer_1g9xx_2 ._warning_1g9xx_37{color:red}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_1go6h_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_1go6h_2 ._indicatorNameContainer_1go6h_11{gap:10px;display:grid;grid-template-columns:15px auto;align-items:center}._indicatorContainer_1go6h_2 ._dot_1go6h_17{border-radius:100px;width:16px;height:16px}._indicatorContainer_1go6h_2 ._indicatorName_1go6h_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_1go6h_28{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37{margin:0;width:100%}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._customRadious_1go6h_62{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._optionText_1go6h_69{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_qs4x9_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative;overflow-y:scroll}._legendContainer_qs4x9_3::-webkit-scrollbar{width:8px}._legendContainer_qs4x9_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_qs4x9_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31{position:absolute;right:20px;top:20px;width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before,._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before{transform:rotate(45deg)}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{transform:rotate(-45deg)}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59{border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59 h2{padding-bottom:16px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65{padding-top:20px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_qs4x9_3 ._titleLegendList_qs4x9_76{font-size:20px;padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88 ._colorDot_qs4x9_94{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100{position:relative}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueColor_qs4x9_103{height:130px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueText_qs4x9_108{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120{position:relative;margin-top:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._noData_qs4x9_120{height:22px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._absoluteValueText_qs4x9_108{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_qs4x9_3 ._moreInfoContainer_qs4x9_141{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_mt8l5_2{padding:15px;color:#92898a}._FeaturePopUp_mt8l5_2 p{margin-bottom:10px}._FeaturePopUp_mt8l5_2 ._title_mt8l5_9{font-weight:600;margin-right:5px;color:#92898a}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_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_1qdhv_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._elementSelector_1qdhv_2 ._header_1qdhv_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._nameDateContainer_1qdhv_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._nameDateContainer_1qdhv_23 ._elementName_1qdhv_39{font-size:18px;font-weight:600;flex:1}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._nameDateContainer_1qdhv_23 ._elementName_1qdhv_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._nameDateContainer_1qdhv_23 ._elementDate_1qdhv_53{font-size:18px;font-weight:600;flex:.5}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._nameDateContainer_1qdhv_23 ._elementDate_1qdhv_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._buttonsContainer_1qdhv_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_1qdhv_2 ._elementListContainer_1qdhv_76{flex:1;width:100%}._elementSelector_1qdhv_2 ._newElementButtonContainer_1qdhv_80{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_1s506_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:5px;width:100%;padding-bottom:30px;padding-top:30px;flex-wrap:wrap}._listElement_1s506_2 ._elementNameDate_1s506_17{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementNameContainer_1s506_27{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementName_1s506_17{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementDate_1s506_42{flex:.5}._listElement_1s506_2 ._elementButtons_1s506_45{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_1s506_2 ._elementButtons_1s506_45 button:disabled{opacity:.5;cursor:default}._listElement_1s506_2 ._elementButtons_1s506_45 img{display:inline}._break_1s506_63{flex-basis:100%;height:0}._moreInfoContainer_1s506_68 ._moreInfo_1s506_68{display:flex;gap:5px;cursor:pointer}._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_9bdf4_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_9bdf4_2 ._sectionItemActive_9bdf4_16{color:#fff}._categorySelector_9bdf4_2 ._sectionItem_9bdf4_16{border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;padding:5px;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}._header_13kbt_2{width:100%;display:flex;align-items:center;position:absolute;top:0;left:0;padding:0 16px;background-color:#fff;border-bottom:1px solid black}._header_13kbt_2 ._leftComponents_13kbt_13,._header_13kbt_2 ._centerComponents_13kbt_14,._header_13kbt_2 ._rightComponents_13kbt_15{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_13kbt_2 ._leftComponents_13kbt_13{left:16px}._header_13kbt_2 ._centerComponents_13kbt_14{left:50%;transform:translate(-50%)}._header_13kbt_2 ._rightComponents_13kbt_15{right:16px}._header_13kbt_2 ._componentsContainer_13kbt_32{height:100%;width:100%}._sidebar_1fmjn_2{position:absolute;top:0;right:0;height:100%;background-color:#fff;box-shadow:-2px 0 5px #0000001a;overflow-x:hidden;overflow-y:auto;transition:width .3s ease;z-index:1000;width:0}._open_1fmjn_16{border-left:1px solid #ddd}._content_1fmjn_20{position:relative;padding:20px;height:100%}._closeButton_1fmjn_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1fmjn_26:hover{color:#000}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
-
import { jsxs as m, jsx as i, Fragment as
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_phq4n_2{padding:5px 95px;border-radius:100px}._generalButton_phq4n_2:disabled{opacity:.6}._buttonsContainer_1ks7x_2{display:flex;gap:8px}._buttonsContainer_1ks7x_2._vertical_1ks7x_6{flex-direction:column}._buttonsContainer_1ks7x_2._horizontal_1ks7x_9{flex-direction:row}._button_1ks7x_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1ks7x_2:hover{opacity:.8}._button_1ks7x_2._active_1ks7x_25{font-weight:700}._button_1ks7x_2 ._buttonName_1ks7x_28{margin:0 4px}._button_1ks7x_2:disabled{opacity:.5!important;cursor:auto}._left_1l4m4_2{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_1l4m4_2:before{content:"";position:absolute;top:50%;left:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent transparent #ccc;z-index:-2}._left_1l4m4_2:after{content:"";position:absolute;top:50%;left:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent transparent #fff;z-index:-1}._top_1l4m4_40{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._top_1l4m4_40:before{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:#ccc transparent transparent transparent;z-index:-2}._top_1l4m4_40:after{content:"";position:absolute;top:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:#fff transparent transparent transparent;z-index:-1}._bottom_1l4m4_79{position:absolute;width:auto;top:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._bottom_1l4m4_79:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent #ccc transparent;z-index:-2}._bottom_1l4m4_79:after{content:"";position:absolute;bottom:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent #fff transparent;z-index:-1}._right_1l4m4_118{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:20px;margin:0;white-space:nowrap;color:#000;z-index:10}._right_1l4m4_118:before{content:"";position:absolute;top:50%;right:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent #ccc transparent transparent;z-index:-2}._right_1l4m4_118:after{content:"";position:absolute;top:50%;right:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent #fff transparent transparent;z-index:-1}._indicatorsCategory_fj2r2_2{overflow:hidden;min-height:50px}._indicatorsCategory_fj2r2_2 ._title_fj2r2_6{align-items:center;gap:10px;cursor:pointer;display:flex;height:50px}._indicatorsCategory_fj2r2_2 ._title_fj2r2_6._mainTitle_fj2r2_13{border-bottom:1px solid;height:70px}._indicatorsCategory_fj2r2_2 ._list_fj2r2_17{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_m1o6g_2{width:100%;height:100%;padding-left:24px}._FiltersAmbitContainer_m1o6g_2 ._FiltersAmbitHeader_m1o6g_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_m1o6g_2 ._FiltersAmbitHeader_m1o6g_7 ._FiltersAmbitTitle_m1o6g_15{font-size:18px;font-weight:600;border-bottom:1.5px solid #605B56;width:100%;height:70px;display:flex;align-items:center}._FiltersAmbitContainer_m1o6g_2 ._FiltersAmbitHeader_m1o6g_7 ._FiltersAmbitDescription_m1o6g_24{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_m1o6g_2 ._FiltersAmbitHeader_m1o6g_7 ._FiltersAmbitDescription_m1o6g_24 ._FiltersAmbitDescriptionTitle_m1o6g_35{font-size:18px;font-weight:600}._FiltersAmbitContainer_m1o6g_2 ._warning_m1o6g_39{color:red}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_oqrkc_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_oqrkc_2 ._indicatorNameContainer_oqrkc_11{gap:10px;display:grid;grid-template-columns:15px auto;align-items:center}._indicatorContainer_oqrkc_2 ._dot_oqrkc_17{border-radius:100px;width:16px;height:16px;display:flex;align-items:center;justify-content:center}._indicatorContainer_oqrkc_2 ._indicatorName_oqrkc_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_oqrkc_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_oqrkc_31 ._switchType_oqrkc_40{margin:0;width:100%}._switchExternalContainer_oqrkc_31 ._switchType_oqrkc_40 ._switchTypeOptions_oqrkc_44{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_oqrkc_31 ._switchType_oqrkc_40 ._switchTypeOptions_oqrkc_44 ._optionContainer_oqrkc_55{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_oqrkc_31 ._switchType_oqrkc_40 ._switchTypeOptions_oqrkc_44 ._optionContainer_oqrkc_55 ._customRadious_oqrkc_65{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_oqrkc_31 ._switchType_oqrkc_40 ._switchTypeOptions_oqrkc_44 ._optionContainer_oqrkc_55 ._optionText_oqrkc_72{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_qs4x9_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative;overflow-y:scroll}._legendContainer_qs4x9_3::-webkit-scrollbar{width:8px}._legendContainer_qs4x9_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_qs4x9_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31{position:absolute;right:20px;top:20px;width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before,._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before{transform:rotate(45deg)}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{transform:rotate(-45deg)}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59{border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59 h2{padding-bottom:16px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65{padding-top:20px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_qs4x9_3 ._titleLegendList_qs4x9_76{font-size:20px;padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88 ._colorDot_qs4x9_94{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100{position:relative}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueColor_qs4x9_103{height:130px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueText_qs4x9_108{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120{position:relative;margin-top:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._noData_qs4x9_120{height:22px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._absoluteValueText_qs4x9_108{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_qs4x9_3 ._moreInfoContainer_qs4x9_141{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_mt8l5_2{padding:15px;color:#92898a}._FeaturePopUp_mt8l5_2 p{margin-bottom:10px}._FeaturePopUp_mt8l5_2 ._title_mt8l5_9{font-weight:600;margin-right:5px;color:#92898a}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_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_1qdhv_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._elementSelector_1qdhv_2 ._header_1qdhv_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._nameDateContainer_1qdhv_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._nameDateContainer_1qdhv_23 ._elementName_1qdhv_39{font-size:18px;font-weight:600;flex:1}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._nameDateContainer_1qdhv_23 ._elementName_1qdhv_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._nameDateContainer_1qdhv_23 ._elementDate_1qdhv_53{font-size:18px;font-weight:600;flex:.5}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._nameDateContainer_1qdhv_23 ._elementDate_1qdhv_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._buttonsContainer_1qdhv_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_1qdhv_2 ._elementListContainer_1qdhv_76{flex:1;width:100%}._elementSelector_1qdhv_2 ._newElementButtonContainer_1qdhv_80{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_1s506_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:5px;width:100%;padding-bottom:30px;padding-top:30px;flex-wrap:wrap}._listElement_1s506_2 ._elementNameDate_1s506_17{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementNameContainer_1s506_27{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementName_1s506_17{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementDate_1s506_42{flex:.5}._listElement_1s506_2 ._elementButtons_1s506_45{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_1s506_2 ._elementButtons_1s506_45 button:disabled{opacity:.5;cursor:default}._listElement_1s506_2 ._elementButtons_1s506_45 img{display:inline}._break_1s506_63{flex-basis:100%;height:0}._moreInfoContainer_1s506_68 ._moreInfo_1s506_68{display:flex;gap:5px;cursor:pointer}._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_9bdf4_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_9bdf4_2 ._sectionItemActive_9bdf4_16{color:#fff}._categorySelector_9bdf4_2 ._sectionItem_9bdf4_16{border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;padding:5px;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}._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_18f0x_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_18f0x_16{border-left:1px solid #ddd}._content_18f0x_20{position:relative;padding:0 20px;height:100%}._closeButton_18f0x_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_18f0x_26:hover{color:#000}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
import { jsxs as m, jsx as i, Fragment as qe } from "react/jsx-runtime";
|
|
3
3
|
import * as pe from "react";
|
|
4
|
-
import
|
|
4
|
+
import D, { useState as V, useEffect as F, useMemo as me, useLayoutEffect as It, useRef as se } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
|
-
import { useTranslation as $, Trans as
|
|
7
|
-
import { motion as
|
|
8
|
-
import { create as
|
|
6
|
+
import { useTranslation as $, Trans as He } from "react-i18next";
|
|
7
|
+
import { motion as Ke } from "framer-motion";
|
|
8
|
+
import { create as mt } from "zustand";
|
|
9
9
|
import * as Ye from "d3";
|
|
10
|
-
import
|
|
11
|
-
import { useSelector as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { Protocol as
|
|
15
|
-
import
|
|
16
|
-
import { createSlice as
|
|
17
|
-
import
|
|
18
|
-
import { createTheme as
|
|
19
|
-
import { ThemeProvider as
|
|
20
|
-
import { NavLink as
|
|
21
|
-
const
|
|
22
|
-
ambitSelector:
|
|
23
|
-
header:
|
|
24
|
-
nameDateContainer:
|
|
25
|
-
ambitName:
|
|
26
|
-
ambitDate:
|
|
27
|
-
buttonsContainer:
|
|
28
|
-
ambitListContainer:
|
|
29
|
-
newAmbitButtonContainer:
|
|
30
|
-
},
|
|
31
|
-
ambitItem:
|
|
32
|
-
ambitNameDate:
|
|
33
|
-
ambitName:
|
|
34
|
-
ambitDate:
|
|
35
|
-
ambitButtons:
|
|
36
|
-
}, m2 = "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", 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%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", 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%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", C2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", f2 = "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", b2 = "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", pt = ({
|
|
10
|
+
import Ot from "mapbox-gl";
|
|
11
|
+
import { useSelector as qt } from "react-redux";
|
|
12
|
+
import Rt, { Source as Et, Layer as Pt, NavigationControl as jt, Popup as zt } from "react-map-gl/mapbox";
|
|
13
|
+
import De from "maplibre-gl";
|
|
14
|
+
import { Protocol as Zt } from "pmtiles";
|
|
15
|
+
import Ht, { Source as Kt, Layer as Ut, NavigationControl as Gt, Popup as Wt } from "react-map-gl/maplibre";
|
|
16
|
+
import { createSlice as Yt } from "@reduxjs/toolkit";
|
|
17
|
+
import Qt from "@mui/material/Slider";
|
|
18
|
+
import { createTheme as Xt, Box as Jt } from "@mui/material";
|
|
19
|
+
import { ThemeProvider as e2 } from "@emotion/react";
|
|
20
|
+
import { NavLink as t2 } from "react-router-dom";
|
|
21
|
+
const n2 = "_ambitSelector_mcunf_2", i2 = "_header_mcunf_13", s2 = "_nameDateContainer_mcunf_23", o2 = "_ambitName_mcunf_39", r2 = "_ambitDate_mcunf_53", a2 = "_buttonsContainer_mcunf_67", l2 = "_ambitListContainer_mcunf_76", c2 = "_newAmbitButtonContainer_mcunf_80", W = {
|
|
22
|
+
ambitSelector: n2,
|
|
23
|
+
header: i2,
|
|
24
|
+
nameDateContainer: s2,
|
|
25
|
+
ambitName: o2,
|
|
26
|
+
ambitDate: r2,
|
|
27
|
+
buttonsContainer: a2,
|
|
28
|
+
ambitListContainer: l2,
|
|
29
|
+
newAmbitButtonContainer: c2
|
|
30
|
+
}, d2 = "_ambitItem_1qa6u_2", u2 = "_ambitNameDate_1qa6u_16", p2 = "_ambitName_1qa6u_16", m2 = "_ambitDate_1qa6u_35", h2 = "_ambitButtons_1qa6u_38", he = {
|
|
31
|
+
ambitItem: d2,
|
|
32
|
+
ambitNameDate: u2,
|
|
33
|
+
ambitName: p2,
|
|
34
|
+
ambitDate: m2,
|
|
35
|
+
ambitButtons: h2
|
|
36
|
+
}, 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='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", C2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%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", f2 = "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", b2 = "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", y2 = "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", _2 = "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", ht = ({
|
|
37
37
|
ambit: n,
|
|
38
38
|
onClickCopy: d,
|
|
39
39
|
onClickDelete: s,
|
|
@@ -44,37 +44,37 @@ const e2 = "_ambitSelector_mcunf_2", t2 = "_header_mcunf_13", n2 = "_nameDateCon
|
|
|
44
44
|
fontColor: l,
|
|
45
45
|
moreInfo: c
|
|
46
46
|
}) => {
|
|
47
|
-
const { name: u, created_at:
|
|
47
|
+
const { name: u, created_at: h, id: p, isBeingProcessed: f } = n;
|
|
48
48
|
return /* @__PURE__ */ m(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
51
51
|
className: he.ambitItem,
|
|
52
52
|
style: { borderBottom: `1px solid ${l}` },
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */ m("div", { className: he.ambitNameDate, onClick: () => t(
|
|
54
|
+
/* @__PURE__ */ m("div", { className: he.ambitNameDate, onClick: () => t(p), children: [
|
|
55
55
|
/* @__PURE__ */ m("div", { className: he.ambitName, children: [
|
|
56
56
|
/* @__PURE__ */ i(
|
|
57
57
|
"img",
|
|
58
58
|
{
|
|
59
59
|
style: { marginRight: 9 },
|
|
60
|
-
src: r ?
|
|
60
|
+
src: r ? y2 : _2
|
|
61
61
|
}
|
|
62
62
|
),
|
|
63
63
|
/* @__PURE__ */ i("span", { style: { color: r ? a : l }, children: u })
|
|
64
64
|
] }),
|
|
65
|
-
/* @__PURE__ */ i("div", { className: he.ambitDate, children:
|
|
65
|
+
/* @__PURE__ */ i("div", { className: he.ambitDate, children: h ? new Date(h).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
67
67
|
/* @__PURE__ */ m("div", { className: he.ambitButtons, children: [
|
|
68
|
-
|
|
69
|
-
/* @__PURE__ */ i("button", { onClick: () => o(
|
|
70
|
-
/* @__PURE__ */ i("button", { onClick: () => d(
|
|
71
|
-
/* @__PURE__ */ i("button", { onClick: () => s(
|
|
68
|
+
f && /* @__PURE__ */ i("img", { src: b2 }),
|
|
69
|
+
/* @__PURE__ */ i("button", { onClick: () => o(p), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: f2 }) }),
|
|
70
|
+
/* @__PURE__ */ i("button", { onClick: () => d(p), children: /* @__PURE__ */ i("img", { src: C2 }) }),
|
|
71
|
+
/* @__PURE__ */ i("button", { onClick: () => s(p), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: g2 }) })
|
|
72
72
|
] })
|
|
73
73
|
]
|
|
74
74
|
}
|
|
75
75
|
);
|
|
76
76
|
};
|
|
77
|
-
|
|
77
|
+
ht.propTypes = {
|
|
78
78
|
ambit: e.shape({
|
|
79
79
|
name: e.string.isRequired,
|
|
80
80
|
created_at: e.string,
|
|
@@ -92,9 +92,9 @@ pt.propTypes = {
|
|
|
92
92
|
moreInfo: e.object
|
|
93
93
|
// Optional, can be used for additional info
|
|
94
94
|
};
|
|
95
|
-
const Qe = "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",
|
|
96
|
-
generalButton:
|
|
97
|
-
},
|
|
95
|
+
const Qe = "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", v2 = "_generalButton_phq4n_2", w2 = {
|
|
96
|
+
generalButton: v2
|
|
97
|
+
}, Me = ({
|
|
98
98
|
children: n,
|
|
99
99
|
onClick: d,
|
|
100
100
|
fontColor: s = "#605B56",
|
|
@@ -105,7 +105,7 @@ const Qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
105
105
|
}) => /* @__PURE__ */ i(
|
|
106
106
|
"button",
|
|
107
107
|
{
|
|
108
|
-
className:
|
|
108
|
+
className: w2.generalButton,
|
|
109
109
|
style: {
|
|
110
110
|
color: s,
|
|
111
111
|
border: `1.5px solid ${o}`,
|
|
@@ -116,7 +116,7 @@ const Qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
116
116
|
disabled: a,
|
|
117
117
|
children: n
|
|
118
118
|
}
|
|
119
|
-
),
|
|
119
|
+
), x2 = ({
|
|
120
120
|
ambitList: n,
|
|
121
121
|
activeAmbitId: d,
|
|
122
122
|
fontColor: s = "#605B56",
|
|
@@ -127,19 +127,19 @@ const Qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
127
127
|
buttonContainerStyles: l = {},
|
|
128
128
|
containerStyles: c = {},
|
|
129
129
|
onCLickNewAmbit: u = () => console.log("New ambit clicked"),
|
|
130
|
-
onClickCopy:
|
|
131
|
-
onCLickDelete:
|
|
132
|
-
onClickFilters:
|
|
133
|
-
onClickAmbit:
|
|
130
|
+
onClickCopy: h = (v) => console.log(`Copy ambit: ${v}`),
|
|
131
|
+
onCLickDelete: p = (v) => console.log(`Delete ambit: ${v}`),
|
|
132
|
+
onClickFilters: f = (v) => console.log(`Filters clicked: ${v}`),
|
|
133
|
+
onClickAmbit: y = (v) => console.log(`OnCLickAmbit: ${v}`)
|
|
134
134
|
}) => {
|
|
135
|
-
const { t:
|
|
135
|
+
const { t: v } = $(), [_, g] = V(n);
|
|
136
136
|
F(() => {
|
|
137
|
-
n &&
|
|
137
|
+
n && g(n);
|
|
138
138
|
}, [n]);
|
|
139
|
-
const C = (
|
|
140
|
-
if (
|
|
141
|
-
let x = [...
|
|
142
|
-
x.sort((w,
|
|
139
|
+
const C = (b) => {
|
|
140
|
+
if (_ && _.length > 0) {
|
|
141
|
+
let x = [..._];
|
|
142
|
+
x.sort((w, k) => w[b].localeCompare(k[b])), g(x);
|
|
143
143
|
}
|
|
144
144
|
};
|
|
145
145
|
return /* @__PURE__ */ m(
|
|
@@ -156,11 +156,11 @@ const Qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
156
156
|
children: [
|
|
157
157
|
/* @__PURE__ */ m("div", { className: W.nameDateContainer, children: [
|
|
158
158
|
/* @__PURE__ */ i("div", { className: W.ambitName, children: /* @__PURE__ */ m("button", { onClick: () => C("name"), children: [
|
|
159
|
-
/* @__PURE__ */ i("span", { children:
|
|
159
|
+
/* @__PURE__ */ i("span", { children: v(t) }),
|
|
160
160
|
/* @__PURE__ */ i("img", { src: Qe })
|
|
161
161
|
] }) }),
|
|
162
162
|
/* @__PURE__ */ i("div", { className: W.ambitDate, children: /* @__PURE__ */ m("button", { onClick: () => C("date"), children: [
|
|
163
|
-
/* @__PURE__ */ i("span", { children:
|
|
163
|
+
/* @__PURE__ */ i("span", { children: v(r) }),
|
|
164
164
|
/* @__PURE__ */ i("img", { src: Qe })
|
|
165
165
|
] }) })
|
|
166
166
|
] }),
|
|
@@ -168,34 +168,34 @@ const Qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
168
168
|
]
|
|
169
169
|
}
|
|
170
170
|
),
|
|
171
|
-
/* @__PURE__ */ i("div", { className: W.ambitListContainer, children:
|
|
172
|
-
|
|
171
|
+
/* @__PURE__ */ i("div", { className: W.ambitListContainer, children: _ && _.length > 0 && _.map((b) => /* @__PURE__ */ i(
|
|
172
|
+
ht,
|
|
173
173
|
{
|
|
174
|
-
isActive: d ==
|
|
175
|
-
ambit:
|
|
174
|
+
isActive: d == b.id,
|
|
175
|
+
ambit: b,
|
|
176
176
|
fontColor: s,
|
|
177
177
|
activeColor: o,
|
|
178
|
-
onClickCopy:
|
|
179
|
-
onClickDelete:
|
|
180
|
-
onClickFilters:
|
|
181
|
-
onClickAmbit:
|
|
178
|
+
onClickCopy: h,
|
|
179
|
+
onClickDelete: p,
|
|
180
|
+
onClickFilters: f,
|
|
181
|
+
onClickAmbit: y
|
|
182
182
|
},
|
|
183
|
-
`ambitKey${
|
|
183
|
+
`ambitKey${b.id}`
|
|
184
184
|
)) }),
|
|
185
185
|
/* @__PURE__ */ i("div", { className: W.newAmbitButtonContainer, children: /* @__PURE__ */ i(
|
|
186
|
-
|
|
186
|
+
Me,
|
|
187
187
|
{
|
|
188
188
|
style: { ...l },
|
|
189
189
|
onClick: u,
|
|
190
190
|
borderColor: "grey",
|
|
191
|
-
children:
|
|
191
|
+
children: v(a)
|
|
192
192
|
}
|
|
193
193
|
) })
|
|
194
194
|
]
|
|
195
195
|
}
|
|
196
196
|
);
|
|
197
197
|
};
|
|
198
|
-
|
|
198
|
+
x2.propTypes = {
|
|
199
199
|
ambitList: e.arrayOf(
|
|
200
200
|
e.shape({
|
|
201
201
|
name: e.string.isRequired,
|
|
@@ -217,28 +217,28 @@ v2.propTypes = {
|
|
|
217
217
|
containerStyles: e.object,
|
|
218
218
|
onCLickNewAmbit: e.func
|
|
219
219
|
};
|
|
220
|
-
const
|
|
221
|
-
buttonsContainer:
|
|
222
|
-
vertical:
|
|
223
|
-
horizontal:
|
|
224
|
-
button:
|
|
225
|
-
active:
|
|
226
|
-
buttonName:
|
|
227
|
-
},
|
|
228
|
-
left:
|
|
229
|
-
top:
|
|
230
|
-
bottom:
|
|
231
|
-
right:
|
|
220
|
+
const k2 = "_buttonsContainer_1ks7x_2", N2 = "_vertical_1ks7x_6", S2 = "_horizontal_1ks7x_9", $2 = "_button_1ks7x_2", B2 = "_active_1ks7x_25", T2 = "_buttonName_1ks7x_28", X = {
|
|
221
|
+
buttonsContainer: k2,
|
|
222
|
+
vertical: N2,
|
|
223
|
+
horizontal: S2,
|
|
224
|
+
button: $2,
|
|
225
|
+
active: B2,
|
|
226
|
+
buttonName: T2
|
|
227
|
+
}, L2 = "_left_1l4m4_2", M2 = "_top_1l4m4_40", D2 = "_bottom_1l4m4_79", F2 = "_right_1l4m4_118", V2 = {
|
|
228
|
+
left: L2,
|
|
229
|
+
top: M2,
|
|
230
|
+
bottom: D2,
|
|
231
|
+
right: F2
|
|
232
232
|
}, ie = ({ text: n, position: d, styleCustom: s = null }) => {
|
|
233
233
|
const { t: o } = $();
|
|
234
|
-
return /* @__PURE__ */ i("div", { className: `tooltip ${
|
|
234
|
+
return /* @__PURE__ */ i("div", { className: `tooltip ${V2[d]}`, style: s, children: o(n) });
|
|
235
235
|
};
|
|
236
236
|
ie.propTypes = {
|
|
237
237
|
text: e.string.isRequired,
|
|
238
238
|
position: e.oneOf(["top", "bottom", "left", "right"]).isRequired,
|
|
239
239
|
styleCustom: e.object
|
|
240
240
|
};
|
|
241
|
-
const
|
|
241
|
+
const A2 = ({
|
|
242
242
|
buttons: n = [],
|
|
243
243
|
orientation: d = "horizontal",
|
|
244
244
|
showName: s = !0,
|
|
@@ -255,34 +255,34 @@ const F2 = ({
|
|
|
255
255
|
children: n.map((l, c) => {
|
|
256
256
|
const {
|
|
257
257
|
icon: u,
|
|
258
|
-
activeIcon:
|
|
259
|
-
isActive:
|
|
260
|
-
name:
|
|
261
|
-
onClick:
|
|
262
|
-
disabled:
|
|
263
|
-
} = l,
|
|
264
|
-
s && o === "left" && /* @__PURE__ */ i("span", { className: X.buttonName, children: a(
|
|
265
|
-
/* @__PURE__ */ i("img", { src:
|
|
266
|
-
s && o === "right" && /* @__PURE__ */ i("span", { className: X.buttonName, children: a(
|
|
258
|
+
activeIcon: h,
|
|
259
|
+
isActive: p,
|
|
260
|
+
name: f,
|
|
261
|
+
onClick: y,
|
|
262
|
+
disabled: v
|
|
263
|
+
} = l, _ = /* @__PURE__ */ m(qe, { children: [
|
|
264
|
+
s && o === "left" && /* @__PURE__ */ i("span", { className: X.buttonName, children: a(f) }),
|
|
265
|
+
/* @__PURE__ */ i("img", { src: p ? h : u, alt: a(f) }),
|
|
266
|
+
s && o === "right" && /* @__PURE__ */ i("span", { className: X.buttonName, children: a(f) })
|
|
267
267
|
] });
|
|
268
268
|
return /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
269
269
|
/* @__PURE__ */ i(
|
|
270
270
|
"button",
|
|
271
271
|
{
|
|
272
|
-
onClick:
|
|
272
|
+
onClick: y,
|
|
273
273
|
className: `${X.button}
|
|
274
|
-
${
|
|
275
|
-
disabled:
|
|
276
|
-
children:
|
|
274
|
+
${p && X.active}`,
|
|
275
|
+
disabled: v,
|
|
276
|
+
children: _
|
|
277
277
|
}
|
|
278
278
|
),
|
|
279
|
-
t && /* @__PURE__ */ i(ie, { text:
|
|
279
|
+
t && /* @__PURE__ */ i(ie, { text: f, position: r })
|
|
280
280
|
] }, c);
|
|
281
281
|
})
|
|
282
282
|
}
|
|
283
283
|
);
|
|
284
284
|
};
|
|
285
|
-
|
|
285
|
+
A2.propTypes = {
|
|
286
286
|
buttons: e.arrayOf(
|
|
287
287
|
e.shape({
|
|
288
288
|
icon: e.node.isRequired,
|
|
@@ -300,9 +300,10 @@ F2.propTypes = {
|
|
|
300
300
|
useTooltip: e.bool,
|
|
301
301
|
tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
|
|
302
302
|
};
|
|
303
|
-
const
|
|
304
|
-
indicatorsCategory:
|
|
305
|
-
title:
|
|
303
|
+
const I2 = "_indicatorsCategory_fj2r2_2", O2 = "_title_fj2r2_6", q2 = "_mainTitle_fj2r2_13", ke = {
|
|
304
|
+
indicatorsCategory: I2,
|
|
305
|
+
title: O2,
|
|
306
|
+
mainTitle: q2
|
|
306
307
|
}, oe = ({
|
|
307
308
|
isOpen: n,
|
|
308
309
|
onClick: d,
|
|
@@ -315,38 +316,39 @@ const V2 = "_indicatorsCategory_1cu33_2", A2 = "_title_1cu33_5", De = {
|
|
|
315
316
|
//Adjust height if you change fontSize
|
|
316
317
|
titleFontStyles: l,
|
|
317
318
|
showBottomBar: c = !0,
|
|
318
|
-
titleMarginChildren: u =
|
|
319
|
+
titleMarginChildren: u = 15,
|
|
320
|
+
mainTitle: h = !1
|
|
319
321
|
}) => {
|
|
320
322
|
const { t: p } = $();
|
|
321
323
|
return /* @__PURE__ */ m(
|
|
322
|
-
|
|
324
|
+
Ke.div,
|
|
323
325
|
{
|
|
324
|
-
className:
|
|
326
|
+
className: ke.indicatorsCategory,
|
|
325
327
|
initial: { height: `${a}px` },
|
|
326
328
|
animate: { height: n ? "auto" : `${a}px` },
|
|
327
329
|
transition: { duration: 0.4 },
|
|
328
330
|
style: {
|
|
329
331
|
backgroundColor: "white",
|
|
330
|
-
borderBottom: n && c ? `1px solid ${t}` : "0px"
|
|
331
|
-
marginBottom:
|
|
332
|
+
borderBottom: n && c ? `1px solid ${t}` : "0px"
|
|
333
|
+
//marginBottom: open ? "20px" : "0px",
|
|
332
334
|
},
|
|
333
335
|
children: [
|
|
334
336
|
/* @__PURE__ */ m(
|
|
335
337
|
"h2",
|
|
336
338
|
{
|
|
337
339
|
style: {
|
|
338
|
-
...l
|
|
339
|
-
marginBottom:
|
|
340
|
+
...l
|
|
341
|
+
//marginBottom: titleMarginChildren ? titleMarginChildren : "auto",
|
|
340
342
|
},
|
|
341
|
-
className: `${
|
|
343
|
+
className: `${ke.title} ${h && ke.mainTitle}`,
|
|
342
344
|
onClick: d,
|
|
343
345
|
children: [
|
|
344
346
|
/* @__PURE__ */ i("span", { style: { color: n ? t : o }, children: n ? "-" : "+" }),
|
|
345
|
-
/* @__PURE__ */ i("span", { style: {
|
|
347
|
+
/* @__PURE__ */ i("span", { style: { color: n ? t : o }, children: p(r) })
|
|
346
348
|
]
|
|
347
349
|
}
|
|
348
350
|
),
|
|
349
|
-
/* @__PURE__ */ i("div", { className:
|
|
351
|
+
/* @__PURE__ */ i("div", { className: ke.content, style: { padding: h ? "20px 0px" : "0px" }, children: s })
|
|
350
352
|
]
|
|
351
353
|
}
|
|
352
354
|
);
|
|
@@ -362,10 +364,10 @@ oe.propTypes = {
|
|
|
362
364
|
showBottomBar: e.bool,
|
|
363
365
|
titleFontStyles: e.object
|
|
364
366
|
};
|
|
365
|
-
const
|
|
366
|
-
AppliedFiltersContainer:
|
|
367
|
-
AppliedFilterContent:
|
|
368
|
-
},
|
|
367
|
+
const uo = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), R2 = "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", E2 = "_AppliedFiltersContainer_cokx9_2", P2 = "_AppliedFilterContent_cokx9_11", Xe = {
|
|
368
|
+
AppliedFiltersContainer: E2,
|
|
369
|
+
AppliedFilterContent: P2
|
|
370
|
+
}, T = mt((n) => ({
|
|
369
371
|
activeCategory: "",
|
|
370
372
|
activeSubCategory: "",
|
|
371
373
|
selectedIndicator: "",
|
|
@@ -374,11 +376,11 @@ const ro = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), I2 = "data
|
|
|
374
376
|
inputsColor: "#605B56",
|
|
375
377
|
activeFiltersType: null,
|
|
376
378
|
geoLayers: []
|
|
377
|
-
})),
|
|
378
|
-
const { t: a } = $(), { tematicalFiltersSelected: l } =
|
|
379
|
-
|
|
380
|
-
tematicalFiltersSelected:
|
|
381
|
-
(
|
|
379
|
+
})), gt = ({ title: n, onClick: d, isOpen: s = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
380
|
+
const { t: a } = $(), { tematicalFiltersSelected: l, activeFiltersType: c } = T((p) => p), u = (p) => {
|
|
381
|
+
T.setState((f) => ({
|
|
382
|
+
tematicalFiltersSelected: f.tematicalFiltersSelected.filter(
|
|
383
|
+
(y) => y.code !== p
|
|
382
384
|
)
|
|
383
385
|
}));
|
|
384
386
|
};
|
|
@@ -386,17 +388,20 @@ const ro = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), I2 = "data
|
|
|
386
388
|
oe,
|
|
387
389
|
{
|
|
388
390
|
isOpen: s,
|
|
389
|
-
onClick:
|
|
391
|
+
onClick: () => {
|
|
392
|
+
c == "applied" ? T.setState(() => ({ activeFiltersType: null })) : T.setState(() => ({ activeFiltersType: "applied" }));
|
|
393
|
+
},
|
|
390
394
|
title: n ? a(n) : "Applied Filters",
|
|
391
395
|
activeColor: r,
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
+
mainTitle: !0,
|
|
397
|
+
children: /* @__PURE__ */ i("div", { className: Xe.AppliedFiltersContainer, children: l == null ? void 0 : l.map((p, f) => /* @__PURE__ */ m("div", { className: Xe.AppliedFilterContent, style: { color: o, background: t }, children: [
|
|
398
|
+
a(p.name),
|
|
399
|
+
/* @__PURE__ */ i("img", { src: R2, alt: "CloseIcon", onClick: () => u(p.code), style: { cursor: "pointer" } })
|
|
400
|
+
] }, f)) })
|
|
396
401
|
}
|
|
397
402
|
);
|
|
398
403
|
};
|
|
399
|
-
|
|
404
|
+
gt.propTypes = {
|
|
400
405
|
isOpen: e.bool,
|
|
401
406
|
onClick: e.func,
|
|
402
407
|
title: e.string,
|
|
@@ -410,9 +415,10 @@ mt.propTypes = {
|
|
|
410
415
|
),
|
|
411
416
|
activeColor: e.string
|
|
412
417
|
};
|
|
413
|
-
const
|
|
414
|
-
|
|
415
|
-
|
|
418
|
+
const j2 = "_layersList_cn837_25", z2 = "_layerName_cn837_34", Je = {
|
|
419
|
+
layersList: j2,
|
|
420
|
+
layerName: z2
|
|
421
|
+
}, Ct = ({
|
|
416
422
|
title: n,
|
|
417
423
|
isOpen: d = !0,
|
|
418
424
|
fontColor: s = "#605B56",
|
|
@@ -420,13 +426,13 @@ const q2 = "_layerName_j7jyw_25", E2 = {
|
|
|
420
426
|
activeColor: t,
|
|
421
427
|
onGeoLayersChange: r
|
|
422
428
|
}) => {
|
|
423
|
-
const { t: a } = $(), { activeFiltersType: l, geoLayers: c } =
|
|
424
|
-
l == "geographical" ?
|
|
425
|
-
},
|
|
426
|
-
|
|
427
|
-
geoLayers:
|
|
428
|
-
...
|
|
429
|
-
active:
|
|
429
|
+
const { t: a } = $(), { activeFiltersType: l, geoLayers: c } = T((p) => p), u = () => {
|
|
430
|
+
l == "geographical" ? T.setState(() => ({ activeFiltersType: null })) : T.setState(() => ({ activeFiltersType: "geographical" }));
|
|
431
|
+
}, h = (p) => {
|
|
432
|
+
T.setState((f) => ({
|
|
433
|
+
geoLayers: f.geoLayers.map((y) => ({
|
|
434
|
+
...y,
|
|
435
|
+
active: y.name === p.name
|
|
430
436
|
}))
|
|
431
437
|
}));
|
|
432
438
|
};
|
|
@@ -440,22 +446,23 @@ const q2 = "_layerName_j7jyw_25", E2 = {
|
|
|
440
446
|
title: n ? a(n) : "Geographical Filters",
|
|
441
447
|
activeColor: t,
|
|
442
448
|
color: s,
|
|
443
|
-
|
|
449
|
+
mainTitle: !0,
|
|
450
|
+
children: /* @__PURE__ */ i("div", { className: `${Je.layersList}`, children: c.map((p) => /* @__PURE__ */ m(
|
|
444
451
|
"div",
|
|
445
452
|
{
|
|
446
|
-
className: `${
|
|
447
|
-
style: { color:
|
|
448
|
-
onClick: () => p
|
|
453
|
+
className: `${Je.layerName}`,
|
|
454
|
+
style: { color: p.active ? t : s, fontWeight: p.active ? "bold" : "normal" },
|
|
455
|
+
onClick: () => h(p),
|
|
449
456
|
children: [
|
|
450
|
-
a(
|
|
451
|
-
|
|
457
|
+
a(p.name),
|
|
458
|
+
p.active
|
|
452
459
|
]
|
|
453
460
|
}
|
|
454
|
-
))
|
|
461
|
+
)) })
|
|
455
462
|
}
|
|
456
463
|
);
|
|
457
464
|
};
|
|
458
|
-
|
|
465
|
+
Ct.propTypes = {
|
|
459
466
|
isOpen: e.bool,
|
|
460
467
|
onClick: e.func,
|
|
461
468
|
title: e.string,
|
|
@@ -463,22 +470,22 @@ ht.propTypes = {
|
|
|
463
470
|
backgroundColor: e.string,
|
|
464
471
|
activeColor: e.string
|
|
465
472
|
};
|
|
466
|
-
const
|
|
467
|
-
checkboxContainer:
|
|
468
|
-
},
|
|
473
|
+
const Z2 = "_checkboxContainer_1nxra_2", H2 = {
|
|
474
|
+
checkboxContainer: Z2
|
|
475
|
+
}, ft = ({
|
|
469
476
|
onClick: n,
|
|
470
477
|
containerStyles: d,
|
|
471
478
|
color: s = "#605B56",
|
|
472
479
|
indicator: o,
|
|
473
480
|
value: t
|
|
474
481
|
}) => {
|
|
475
|
-
const { t: r } = $(), { title: a } = o || {}, { fontColor: l, inputsColor: c } =
|
|
482
|
+
const { t: r } = $(), { title: a } = o || {}, { fontColor: l, inputsColor: c } = T((u) => u);
|
|
476
483
|
return /* @__PURE__ */ m(
|
|
477
484
|
"div",
|
|
478
485
|
{
|
|
479
486
|
style: { ...d, color: s },
|
|
480
487
|
role: "checkbox",
|
|
481
|
-
className:
|
|
488
|
+
className: H2.checkboxContainer,
|
|
482
489
|
onClick: n,
|
|
483
490
|
children: [
|
|
484
491
|
/* @__PURE__ */ i(
|
|
@@ -499,7 +506,7 @@ const P2 = "_checkboxContainer_zld97_2", j2 = {
|
|
|
499
506
|
}
|
|
500
507
|
);
|
|
501
508
|
};
|
|
502
|
-
|
|
509
|
+
ft.propTypes = {
|
|
503
510
|
onClick: e.func,
|
|
504
511
|
value: e.bool,
|
|
505
512
|
containerStyles: e.object,
|
|
@@ -510,13 +517,13 @@ gt.propTypes = {
|
|
|
510
517
|
}),
|
|
511
518
|
checkedColor: e.string
|
|
512
519
|
};
|
|
513
|
-
function
|
|
514
|
-
return
|
|
520
|
+
function Re(n, d) {
|
|
521
|
+
return Re = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(s, o) {
|
|
515
522
|
return s.__proto__ = o, s;
|
|
516
|
-
},
|
|
523
|
+
}, Re(n, d);
|
|
517
524
|
}
|
|
518
|
-
function
|
|
519
|
-
n.prototype = Object.create(d.prototype), n.prototype.constructor = n,
|
|
525
|
+
function K2(n, d) {
|
|
526
|
+
n.prototype = Object.create(d.prototype), n.prototype.constructor = n, Re(n, d);
|
|
520
527
|
}
|
|
521
528
|
function Fe(n) {
|
|
522
529
|
return n && n.stopPropagation && n.stopPropagation(), n && n.preventDefault && n.preventDefault(), !1;
|
|
@@ -527,7 +534,7 @@ function Ve(n) {
|
|
|
527
534
|
function Ne(n) {
|
|
528
535
|
return n !== null && n.length === 1 ? n[0] : n.slice();
|
|
529
536
|
}
|
|
530
|
-
function
|
|
537
|
+
function Se(n) {
|
|
531
538
|
Object.keys(n).forEach((d) => {
|
|
532
539
|
typeof document < "u" && document.addEventListener(d, n[d], !1);
|
|
533
540
|
});
|
|
@@ -556,19 +563,19 @@ let Pe = function(n) {
|
|
|
556
563
|
t.setState({ index: -1 }, t.onEnd(t.getKeyDownEventMap()));
|
|
557
564
|
}, t.onMouseMove = (l) => {
|
|
558
565
|
t.setState({ pending: !0 });
|
|
559
|
-
const c = t.getMousePosition(l), u = t.getDiffPosition(c[0]),
|
|
560
|
-
t.move(
|
|
566
|
+
const c = t.getMousePosition(l), u = t.getDiffPosition(c[0]), h = t.getValueFromPosition(u);
|
|
567
|
+
t.move(h);
|
|
561
568
|
}, t.onTouchMove = (l) => {
|
|
562
569
|
if (l.touches.length > 1) return;
|
|
563
570
|
t.setState({ pending: !0 });
|
|
564
571
|
const c = t.getTouchPosition(l);
|
|
565
572
|
if (t.isScrolling === void 0) {
|
|
566
|
-
const
|
|
567
|
-
t.isScrolling = Math.abs(
|
|
573
|
+
const p = c[0] - t.startPosition[0], f = c[1] - t.startPosition[1];
|
|
574
|
+
t.isScrolling = Math.abs(f) > Math.abs(p);
|
|
568
575
|
}
|
|
569
576
|
if (t.isScrolling) return void t.setState({ index: -1 });
|
|
570
|
-
const u = t.getDiffPosition(c[0]),
|
|
571
|
-
t.move(
|
|
577
|
+
const u = t.getDiffPosition(c[0]), h = t.getValueFromPosition(u);
|
|
578
|
+
t.move(h);
|
|
572
579
|
}, t.onKeyDown = (l) => {
|
|
573
580
|
if (!(l.ctrlKey || l.shiftKey || l.altKey || l.metaKey)) switch (t.setState({ pending: !0 }), l.key) {
|
|
574
581
|
case "ArrowLeft":
|
|
@@ -600,7 +607,7 @@ let Pe = function(n) {
|
|
|
600
607
|
if (t.setState({ pending: !0 }), !t.props.snapDragDisabled) {
|
|
601
608
|
const c = t.getMousePosition(l);
|
|
602
609
|
t.forceValueFromPosition(c[0], (u) => {
|
|
603
|
-
t.start(u, c[0]),
|
|
610
|
+
t.start(u, c[0]), Se(t.getMouseEventMap());
|
|
604
611
|
});
|
|
605
612
|
}
|
|
606
613
|
Fe(l);
|
|
@@ -611,18 +618,18 @@ let Pe = function(n) {
|
|
|
611
618
|
t.props.onSliderClick(u);
|
|
612
619
|
}
|
|
613
620
|
}, t.createOnKeyDown = (l) => (c) => {
|
|
614
|
-
t.props.disabled || (t.start(l),
|
|
621
|
+
t.props.disabled || (t.start(l), Se(t.getKeyDownEventMap()), Fe(c));
|
|
615
622
|
}, t.createOnMouseDown = (l) => (c) => {
|
|
616
623
|
if (t.props.disabled || c.button === 2) return;
|
|
617
624
|
t.setState({ pending: !0 });
|
|
618
625
|
const u = t.getMousePosition(c);
|
|
619
|
-
t.start(l, u[0]),
|
|
626
|
+
t.start(l, u[0]), Se(t.getMouseEventMap()), Fe(c);
|
|
620
627
|
}, t.createOnTouchStart = (l) => (c) => {
|
|
621
628
|
if (t.props.disabled || c.touches.length > 1) return;
|
|
622
629
|
t.setState({ pending: !0 });
|
|
623
630
|
const u = t.getTouchPosition(c);
|
|
624
|
-
t.startPosition = u, t.isScrolling = void 0, t.start(l, u[0]),
|
|
625
|
-
|
|
631
|
+
t.startPosition = u, t.isScrolling = void 0, t.start(l, u[0]), Se(t.getTouchEventMap()), function(h) {
|
|
632
|
+
h.stopPropagation && h.stopPropagation();
|
|
626
633
|
}(c);
|
|
627
634
|
}, t.handleResize = () => {
|
|
628
635
|
const l = window.setTimeout(() => {
|
|
@@ -630,21 +637,21 @@ let Pe = function(n) {
|
|
|
630
637
|
}, 0);
|
|
631
638
|
t.pendingResizeTimeouts.push(l);
|
|
632
639
|
}, t.renderThumb = (l, c) => {
|
|
633
|
-
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""),
|
|
634
|
-
t["thumb" + c] =
|
|
635
|
-
}, key: t.props.thumbClassName + "-" + c, className: u, style: l, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled },
|
|
636
|
-
return t.props.ariaValuetext && (
|
|
640
|
+
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), h = { ref: (f) => {
|
|
641
|
+
t["thumb" + c] = f;
|
|
642
|
+
}, key: t.props.thumbClassName + "-" + c, className: u, style: l, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, p = { index: c, value: Ne(t.state.value), valueNow: t.state.value[c] };
|
|
643
|
+
return t.props.ariaValuetext && (h["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(p)), t.props.renderThumb(h, p);
|
|
637
644
|
}, t.renderTrack = (l, c, u) => {
|
|
638
|
-
const
|
|
639
|
-
return t.props.renderTrack(
|
|
645
|
+
const h = { key: t.props.trackClassName + "-" + l, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + l, style: t.buildTrackStyle(c, t.state.upperBound - u) }, p = { index: l, value: Ne(t.state.value) };
|
|
646
|
+
return t.props.renderTrack(h, p);
|
|
640
647
|
};
|
|
641
648
|
let r = Ve(o.value);
|
|
642
649
|
r.length || (r = Ve(o.defaultValue)), t.pendingResizeTimeouts = [];
|
|
643
650
|
const a = [];
|
|
644
651
|
for (let l = 0; l < r.length; l += 1) r[l] = J(r[l], o), a.push(l);
|
|
645
|
-
return t.resizeObserver = null, t.resizeElementRef =
|
|
652
|
+
return t.resizeObserver = null, t.resizeElementRef = D.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices: a }, t;
|
|
646
653
|
}
|
|
647
|
-
|
|
654
|
+
K2(d, n);
|
|
648
655
|
var s = d.prototype;
|
|
649
656
|
return s.componentDidMount = function() {
|
|
650
657
|
typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
|
|
@@ -667,8 +674,8 @@ let Pe = function(n) {
|
|
|
667
674
|
let t = Number.MAX_VALUE, r = -1;
|
|
668
675
|
const { value: a } = this.state, l = a.length;
|
|
669
676
|
for (let c = 0; c < l; c += 1) {
|
|
670
|
-
const u = this.calcOffset(a[c]),
|
|
671
|
-
|
|
677
|
+
const u = this.calcOffset(a[c]), h = Math.abs(o - u);
|
|
678
|
+
h < t && (t = h, r = c);
|
|
672
679
|
}
|
|
673
680
|
return r;
|
|
674
681
|
}, s.getMousePosition = function(o) {
|
|
@@ -691,8 +698,8 @@ let Pe = function(n) {
|
|
|
691
698
|
}, s.resize = function() {
|
|
692
699
|
const { slider: o, thumb0: t } = this;
|
|
693
700
|
if (!o || !t) return;
|
|
694
|
-
const r = this.sizeKey(), a = o.getBoundingClientRect(), l = o[r], c = a[this.posMaxKey()], u = a[this.posMinKey()],
|
|
695
|
-
this.state.upperBound ===
|
|
701
|
+
const r = this.sizeKey(), a = o.getBoundingClientRect(), l = o[r], c = a[this.posMaxKey()], u = a[this.posMinKey()], h = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], p = l - h, f = Math.abs(c - u);
|
|
702
|
+
this.state.upperBound === p && this.state.sliderLength === f && this.state.thumbSize === h || this.setState({ upperBound: p, sliderLength: f, thumbSize: h });
|
|
696
703
|
}, s.calcOffset = function(o) {
|
|
697
704
|
const t = this.props.max - this.props.min;
|
|
698
705
|
return t === 0 ? 0 : (o - this.props.min) / t * this.state.upperBound;
|
|
@@ -731,28 +738,28 @@ let Pe = function(n) {
|
|
|
731
738
|
const t = this.state.value.slice(), { index: r } = this.state, { length: a } = t, l = t[r];
|
|
732
739
|
if (o === l) return;
|
|
733
740
|
this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
|
|
734
|
-
const { pearling: c, max: u, min:
|
|
741
|
+
const { pearling: c, max: u, min: h, minDistance: p } = this.props;
|
|
735
742
|
if (!c) {
|
|
736
743
|
if (r > 0) {
|
|
737
|
-
const
|
|
738
|
-
o <
|
|
744
|
+
const f = t[r - 1];
|
|
745
|
+
o < f + p && (o = f + p);
|
|
739
746
|
}
|
|
740
747
|
if (r < a - 1) {
|
|
741
|
-
const
|
|
742
|
-
o >
|
|
748
|
+
const f = t[r + 1];
|
|
749
|
+
o > f - p && (o = f - p);
|
|
743
750
|
}
|
|
744
751
|
}
|
|
745
|
-
t[r] = o, c && a > 1 && (o > l ? (this.pushSucceeding(t,
|
|
746
|
-
for (let
|
|
747
|
-
const C =
|
|
748
|
-
|
|
752
|
+
t[r] = o, c && a > 1 && (o > l ? (this.pushSucceeding(t, p, r), function(f, y, v, _) {
|
|
753
|
+
for (let g = 0; g < f; g += 1) {
|
|
754
|
+
const C = _ - g * v;
|
|
755
|
+
y[f - 1 - g] > C && (y[f - 1 - g] = C);
|
|
749
756
|
}
|
|
750
|
-
}(a, t,
|
|
751
|
-
for (let
|
|
752
|
-
const C =
|
|
753
|
-
|
|
757
|
+
}(a, t, p, u)) : o < l && (this.pushPreceding(t, p, r), function(f, y, v, _) {
|
|
758
|
+
for (let g = 0; g < f; g += 1) {
|
|
759
|
+
const C = _ + g * v;
|
|
760
|
+
y[g] < C && (y[g] = C);
|
|
754
761
|
}
|
|
755
|
-
}(a, t,
|
|
762
|
+
}(a, t, p, h))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
756
763
|
}, s.pushSucceeding = function(o, t, r) {
|
|
757
764
|
let a, l;
|
|
758
765
|
for (a = r, l = o[a] + t; o[a + 1] !== null && l > o[a + 1]; a += 1, l = o[a] + t) o[a + 1] = Ee(l, this.props);
|
|
@@ -801,21 +808,21 @@ let Pe = function(n) {
|
|
|
801
808
|
const o = [], { value: t } = this.state, r = t.length;
|
|
802
809
|
for (let u = 0; u < r; u += 1) o[u] = this.calcOffset(t[u], u);
|
|
803
810
|
const a = this.props.withTracks ? this.renderTracks(o) : null, l = this.renderThumbs(o), c = this.props.marks ? this.renderMarks() : null;
|
|
804
|
-
return
|
|
811
|
+
return D.createElement("div", { ref: (u) => {
|
|
805
812
|
this.slider = u, this.resizeElementRef.current = u;
|
|
806
813
|
}, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, a, l, c);
|
|
807
814
|
}, d;
|
|
808
|
-
}(
|
|
809
|
-
Pe.displayName = "ReactSlider", Pe.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) =>
|
|
815
|
+
}(D.Component);
|
|
816
|
+
Pe.displayName = "ReactSlider", Pe.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) => D.createElement("div", n), renderTrack: (n) => D.createElement("div", n), renderMark: (n) => D.createElement("span", n) };
|
|
810
817
|
var je = Pe;
|
|
811
|
-
const
|
|
812
|
-
container:
|
|
813
|
-
unitLabel:
|
|
814
|
-
slider:
|
|
815
|
-
thumb:
|
|
816
|
-
track:
|
|
817
|
-
labels:
|
|
818
|
-
},
|
|
818
|
+
const U2 = "_container_4u41i_2", G2 = "_unitLabel_4u41i_8", W2 = "_slider_4u41i_11", Y2 = "_thumb_4u41i_17", Q2 = "_track_4u41i_26", X2 = "_labels_4u41i_32", re = {
|
|
819
|
+
container: U2,
|
|
820
|
+
unitLabel: G2,
|
|
821
|
+
slider: W2,
|
|
822
|
+
thumb: Y2,
|
|
823
|
+
track: Q2,
|
|
824
|
+
labels: X2
|
|
825
|
+
}, bt = ({
|
|
819
826
|
min: n = 0,
|
|
820
827
|
max: d = 100,
|
|
821
828
|
step: s = 1,
|
|
@@ -826,11 +833,11 @@ const Z2 = "_container_4u41i_2", K2 = "_unitLabel_4u41i_8", H2 = "_slider_4u41i_
|
|
|
826
833
|
defaultValue: l,
|
|
827
834
|
isDate: c
|
|
828
835
|
}) => {
|
|
829
|
-
const { t: u } = $(),
|
|
830
|
-
|
|
836
|
+
const { t: u } = $(), h = c ? new Date(n).getTime() : null, p = c ? new Date(d).getTime() : null, [f, y] = V(c ? [h, p] : [n, d]), v = (_) => {
|
|
837
|
+
y(_), o == null || o({ min: _[0], max: _[1] });
|
|
831
838
|
};
|
|
832
839
|
return F(() => {
|
|
833
|
-
l ||
|
|
840
|
+
l || y(c ? [h, p] : [n, d]);
|
|
834
841
|
}, [l, c]), /* @__PURE__ */ m(
|
|
835
842
|
"div",
|
|
836
843
|
{
|
|
@@ -844,33 +851,33 @@ const Z2 = "_container_4u41i_2", K2 = "_unitLabel_4u41i_8", H2 = "_slider_4u41i_
|
|
|
844
851
|
className: re.slider,
|
|
845
852
|
thumbClassName: re.thumb,
|
|
846
853
|
trackClassName: re.track,
|
|
847
|
-
min: c ?
|
|
848
|
-
max: c ?
|
|
849
|
-
step: c ? (
|
|
850
|
-
value:
|
|
851
|
-
onAfterChange:
|
|
854
|
+
min: c ? h : n,
|
|
855
|
+
max: c ? p : d,
|
|
856
|
+
step: c ? (p - h) / 30 : s,
|
|
857
|
+
value: f,
|
|
858
|
+
onAfterChange: v,
|
|
852
859
|
withTracks: !0,
|
|
853
860
|
pearling: !c,
|
|
854
861
|
minDistance: c ? 0 : 0.1
|
|
855
862
|
}
|
|
856
863
|
),
|
|
857
864
|
/* @__PURE__ */ m("div", { className: re.labels, children: [
|
|
858
|
-
/* @__PURE__ */ i("span", { children: c ? new Date(
|
|
865
|
+
/* @__PURE__ */ i("span", { children: c ? new Date(f[0]).toLocaleDateString("en-EN", {
|
|
859
866
|
day: "2-digit",
|
|
860
867
|
month: "short",
|
|
861
868
|
year: "numeric"
|
|
862
|
-
}) :
|
|
863
|
-
/* @__PURE__ */ i("span", { children: c ? new Date(
|
|
869
|
+
}) : f[0] }),
|
|
870
|
+
/* @__PURE__ */ i("span", { children: c ? new Date(f[1]).toLocaleDateString("en-EN", {
|
|
864
871
|
day: "2-digit",
|
|
865
872
|
month: "short",
|
|
866
873
|
year: "numeric"
|
|
867
|
-
}) :
|
|
874
|
+
}) : f[1] })
|
|
868
875
|
] })
|
|
869
876
|
]
|
|
870
877
|
}
|
|
871
878
|
);
|
|
872
879
|
};
|
|
873
|
-
|
|
880
|
+
bt.propTypes = {
|
|
874
881
|
min: e.number,
|
|
875
882
|
max: e.number,
|
|
876
883
|
step: e.number,
|
|
@@ -882,11 +889,11 @@ Ct.propTypes = {
|
|
|
882
889
|
fontColor: e.string,
|
|
883
890
|
value: e.arrayOf(e.number)
|
|
884
891
|
};
|
|
885
|
-
const
|
|
886
|
-
tematicalFiltersInputContainer:
|
|
887
|
-
inputTypeContainer:
|
|
888
|
-
checkboxContainer:
|
|
889
|
-
absoluteSliderContainer:
|
|
892
|
+
const J2 = "_tematicalFiltersInputContainer_1vm1r_2", en = "_inputTypeContainer_1vm1r_2", tn = "_checkboxContainer_1vm1r_28", nn = "_absoluteSliderContainer_1vm1r_37", $e = {
|
|
893
|
+
tematicalFiltersInputContainer: J2,
|
|
894
|
+
inputTypeContainer: en,
|
|
895
|
+
checkboxContainer: tn,
|
|
896
|
+
absoluteSliderContainer: nn
|
|
890
897
|
}, Ue = ({
|
|
891
898
|
indicator: n,
|
|
892
899
|
//onChangeBothType
|
|
@@ -899,33 +906,33 @@ const Y2 = "_tematicalFiltersInputContainer_1vm1r_2", Q2 = "_inputTypeContainer_
|
|
|
899
906
|
minValue: l,
|
|
900
907
|
maxValue: c,
|
|
901
908
|
unit: u,
|
|
902
|
-
step:
|
|
903
|
-
disabled:
|
|
904
|
-
isDate:
|
|
905
|
-
} = n || {},
|
|
909
|
+
step: h,
|
|
910
|
+
disabled: p,
|
|
911
|
+
isDate: f
|
|
912
|
+
} = n || {}, y = me(
|
|
906
913
|
() => t == "cat" || s == "cat",
|
|
907
914
|
[s, t]
|
|
908
|
-
),
|
|
915
|
+
), v = me(
|
|
909
916
|
() => t == "abs" || s == "abs",
|
|
910
917
|
[s, t]
|
|
911
918
|
), {
|
|
912
|
-
tematicalFiltersSelected:
|
|
913
|
-
selectedIndicator:
|
|
919
|
+
tematicalFiltersSelected: _,
|
|
920
|
+
selectedIndicator: g,
|
|
914
921
|
fontColor: C,
|
|
915
|
-
inputsColor:
|
|
916
|
-
} =
|
|
917
|
-
if (
|
|
918
|
-
const { min: S, max: L, valueClicked:
|
|
922
|
+
inputsColor: b
|
|
923
|
+
} = T((k) => k), x = (k) => {
|
|
924
|
+
if (k) {
|
|
925
|
+
const { min: S, max: L, valueClicked: N, allValues: B } = k || {}, { code: O, type: q, source: M } = n || {}, H = v ? "abs" : y ? "cat" : "both";
|
|
919
926
|
let z = O[0];
|
|
920
|
-
|
|
927
|
+
q == "both" && (z = H == "cat" ? O[1] : O[0]), H == "cat" ? T.setState((Q) => {
|
|
921
928
|
let G = Q.tematicalFiltersSelected.find(
|
|
922
929
|
(E) => E.code === z
|
|
923
930
|
);
|
|
924
931
|
if (G) {
|
|
925
932
|
let E = [G.values];
|
|
926
|
-
return G.values.includes(
|
|
927
|
-
(j) => j !==
|
|
928
|
-
) : E = [...G.values,
|
|
933
|
+
return G.values.includes(N) ? E = G.values.filter(
|
|
934
|
+
(j) => j !== N
|
|
935
|
+
) : E = [...G.values, N], E.length == B.length ? {
|
|
929
936
|
tematicalFiltersSelected: Q.tematicalFiltersSelected.filter(
|
|
930
937
|
(j) => j.code !== z
|
|
931
938
|
)
|
|
@@ -935,22 +942,22 @@ const Y2 = "_tematicalFiltersInputContainer_1vm1r_2", Q2 = "_inputTypeContainer_
|
|
|
935
942
|
)
|
|
936
943
|
};
|
|
937
944
|
} else {
|
|
938
|
-
let E = B.map((j,
|
|
945
|
+
let E = B.map((j, At) => At);
|
|
939
946
|
return {
|
|
940
947
|
tematicalFiltersSelected: [
|
|
941
|
-
...
|
|
948
|
+
..._,
|
|
942
949
|
{
|
|
943
950
|
type: "cat",
|
|
944
951
|
code: z,
|
|
945
|
-
values: E.filter((j) => j !==
|
|
952
|
+
values: E.filter((j) => j !== N),
|
|
946
953
|
name: n.name,
|
|
947
|
-
source:
|
|
948
|
-
isDate:
|
|
954
|
+
source: M,
|
|
955
|
+
isDate: f
|
|
949
956
|
}
|
|
950
957
|
]
|
|
951
958
|
};
|
|
952
959
|
}
|
|
953
|
-
}) :
|
|
960
|
+
}) : H == "abs" && T.setState((Q) => {
|
|
954
961
|
let G = Q.tematicalFiltersSelected.find(
|
|
955
962
|
(E) => E.code === z
|
|
956
963
|
);
|
|
@@ -961,7 +968,7 @@ const Y2 = "_tematicalFiltersInputContainer_1vm1r_2", Q2 = "_inputTypeContainer_
|
|
|
961
968
|
)
|
|
962
969
|
};
|
|
963
970
|
if (G) {
|
|
964
|
-
let E = { ...G, min: S, max: L, type:
|
|
971
|
+
let E = { ...G, min: S, max: L, type: H, isDate: f };
|
|
965
972
|
return {
|
|
966
973
|
tematicalFiltersSelected: Q.tematicalFiltersSelected.map(
|
|
967
974
|
(j) => j.code === z ? E : j
|
|
@@ -970,9 +977,9 @@ const Y2 = "_tematicalFiltersInputContainer_1vm1r_2", Q2 = "_inputTypeContainer_
|
|
|
970
977
|
} else
|
|
971
978
|
return {
|
|
972
979
|
tematicalFiltersSelected: [
|
|
973
|
-
...
|
|
980
|
+
..._,
|
|
974
981
|
{
|
|
975
|
-
type:
|
|
982
|
+
type: H,
|
|
976
983
|
code: z,
|
|
977
984
|
min: S,
|
|
978
985
|
max: L,
|
|
@@ -984,25 +991,25 @@ const Y2 = "_tematicalFiltersInputContainer_1vm1r_2", Q2 = "_inputTypeContainer_
|
|
|
984
991
|
});
|
|
985
992
|
}
|
|
986
993
|
}, w = me(() => {
|
|
987
|
-
const
|
|
988
|
-
if ((
|
|
989
|
-
for (const S of
|
|
990
|
-
S.type === "cat" ?
|
|
991
|
-
return
|
|
992
|
-
}, [
|
|
993
|
-
return /* @__PURE__ */ i("div", { className:
|
|
994
|
+
const k = {};
|
|
995
|
+
if ((_ == null ? void 0 : _.length) > 0)
|
|
996
|
+
for (const S of _)
|
|
997
|
+
S.type === "cat" ? k[S.code] = new Set(S.values) : k[S.code] = [S.min, S.max];
|
|
998
|
+
return k;
|
|
999
|
+
}, [_]);
|
|
1000
|
+
return /* @__PURE__ */ i("div", { className: $e.tematicalFiltersInputContainer, children: /* @__PURE__ */ m(
|
|
994
1001
|
oe,
|
|
995
1002
|
{
|
|
996
1003
|
titleFontStyles: {
|
|
997
1004
|
fontSize: 16,
|
|
998
1005
|
fontWeight: 400,
|
|
999
|
-
opacity:
|
|
1006
|
+
opacity: p ? 0.5 : 1
|
|
1000
1007
|
},
|
|
1001
1008
|
title: r,
|
|
1002
|
-
isOpen:
|
|
1009
|
+
isOpen: g == `id${r}`,
|
|
1003
1010
|
onClick: () => {
|
|
1004
|
-
|
|
1005
|
-
selectedIndicator:
|
|
1011
|
+
p || T.setState(() => ({
|
|
1012
|
+
selectedIndicator: g == `id${r}` ? "" : `id${r}`
|
|
1006
1013
|
}));
|
|
1007
1014
|
},
|
|
1008
1015
|
showBottomBar: !1,
|
|
@@ -1015,7 +1022,7 @@ const Y2 = "_tematicalFiltersInputContainer_1vm1r_2", Q2 = "_inputTypeContainer_
|
|
|
1015
1022
|
t == "both" && /* @__PURE__ */ m(
|
|
1016
1023
|
"div",
|
|
1017
1024
|
{
|
|
1018
|
-
className:
|
|
1025
|
+
className: $e.inputTypeContainer,
|
|
1019
1026
|
style: { color: C },
|
|
1020
1027
|
children: [
|
|
1021
1028
|
/* @__PURE__ */ m("label", { children: [
|
|
@@ -1030,8 +1037,8 @@ const Y2 = "_tematicalFiltersInputContainer_1vm1r_2", Q2 = "_inputTypeContainer_
|
|
|
1030
1037
|
},
|
|
1031
1038
|
style: {
|
|
1032
1039
|
marginRight: 4,
|
|
1033
|
-
backgroundColor: s == "abs" ?
|
|
1034
|
-
border: `1.5px solid ${s == "abs" ?
|
|
1040
|
+
backgroundColor: s == "abs" ? b : "white",
|
|
1041
|
+
border: `1.5px solid ${s == "abs" ? b : C}`
|
|
1035
1042
|
}
|
|
1036
1043
|
}
|
|
1037
1044
|
),
|
|
@@ -1049,8 +1056,8 @@ const Y2 = "_tematicalFiltersInputContainer_1vm1r_2", Q2 = "_inputTypeContainer_
|
|
|
1049
1056
|
},
|
|
1050
1057
|
style: {
|
|
1051
1058
|
marginRight: 4,
|
|
1052
|
-
backgroundColor: s == "cat" ?
|
|
1053
|
-
border: `1.5px solid ${s == "cat" ?
|
|
1059
|
+
backgroundColor: s == "cat" ? b : "white",
|
|
1060
|
+
border: `1.5px solid ${s == "cat" ? b : C}`
|
|
1054
1061
|
}
|
|
1055
1062
|
}
|
|
1056
1063
|
),
|
|
@@ -1059,28 +1066,28 @@ const Y2 = "_tematicalFiltersInputContainer_1vm1r_2", Q2 = "_inputTypeContainer_
|
|
|
1059
1066
|
]
|
|
1060
1067
|
}
|
|
1061
1068
|
),
|
|
1062
|
-
|
|
1069
|
+
y && /* @__PURE__ */ i("div", { className: $e.checkboxContainer, children: a.map((k, S) => {
|
|
1063
1070
|
var L;
|
|
1064
1071
|
return /* @__PURE__ */ i(
|
|
1065
|
-
|
|
1072
|
+
ft,
|
|
1066
1073
|
{
|
|
1067
1074
|
onClick: () => x({ valueClicked: S, allValues: a }),
|
|
1068
|
-
indicator:
|
|
1075
|
+
indicator: k,
|
|
1069
1076
|
value: ((L = w[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : L.has(S)) || !w[n.code[t == "both" ? 1 : 0]]
|
|
1070
1077
|
},
|
|
1071
1078
|
`checkbox-${S}`
|
|
1072
1079
|
);
|
|
1073
1080
|
}) }),
|
|
1074
|
-
(
|
|
1075
|
-
|
|
1081
|
+
(v || t == "glb") && /* @__PURE__ */ i("div", { className: $e.absoluteSliderContainer, children: /* @__PURE__ */ i(
|
|
1082
|
+
bt,
|
|
1076
1083
|
{
|
|
1077
1084
|
onChange: x,
|
|
1078
1085
|
min: l,
|
|
1079
1086
|
max: c,
|
|
1080
1087
|
unit: u,
|
|
1081
1088
|
defaultValue: w[n.code[0]] ? w[n.code[0]] : "",
|
|
1082
|
-
isDate:
|
|
1083
|
-
step:
|
|
1089
|
+
isDate: f,
|
|
1090
|
+
step: h
|
|
1084
1091
|
}
|
|
1085
1092
|
) })
|
|
1086
1093
|
]
|
|
@@ -1102,20 +1109,20 @@ Ue.propTypes = {
|
|
|
1102
1109
|
activeColor: e.string
|
|
1103
1110
|
//onChangeBothType: PropTypes.func,
|
|
1104
1111
|
};
|
|
1105
|
-
const
|
|
1112
|
+
const yt = ({
|
|
1106
1113
|
subcategory: n,
|
|
1107
1114
|
fontColor: d,
|
|
1108
1115
|
activeColor: s
|
|
1109
1116
|
//onChangeBothType,
|
|
1110
1117
|
}) => {
|
|
1111
|
-
const { activeSubcategory: o } =
|
|
1118
|
+
const { activeSubcategory: o } = T((a) => a), { name: t, indicators: r } = n || {};
|
|
1112
1119
|
return /* @__PURE__ */ i(
|
|
1113
1120
|
oe,
|
|
1114
1121
|
{
|
|
1115
1122
|
title: t,
|
|
1116
1123
|
isOpen: o == `id${t}`,
|
|
1117
1124
|
onClick: () => {
|
|
1118
|
-
|
|
1125
|
+
T.setState((a) => ({
|
|
1119
1126
|
activeSubcategory: a.activeSubcategory === `id${t}` ? "" : `id${t}`
|
|
1120
1127
|
}));
|
|
1121
1128
|
},
|
|
@@ -1137,7 +1144,7 @@ const ft = ({
|
|
|
1137
1144
|
}
|
|
1138
1145
|
);
|
|
1139
1146
|
};
|
|
1140
|
-
|
|
1147
|
+
yt.propTypes = {
|
|
1141
1148
|
subcategory: e.shape({
|
|
1142
1149
|
name: e.string,
|
|
1143
1150
|
indicators: e.arrayOf(
|
|
@@ -1150,17 +1157,17 @@ ft.propTypes = {
|
|
|
1150
1157
|
activeColor: e.string
|
|
1151
1158
|
//onChangeBothType: PropTypes.func,
|
|
1152
1159
|
};
|
|
1153
|
-
const
|
|
1160
|
+
const _t = ({
|
|
1154
1161
|
category: n,
|
|
1155
1162
|
// onChangeBothType,
|
|
1156
1163
|
activeColor: d
|
|
1157
1164
|
}) => {
|
|
1158
|
-
const { name: s, subcategories: o, indicators: t } = n || {}, { activeCategory: r, fontColor: a } =
|
|
1165
|
+
const { name: s, subcategories: o, indicators: t } = n || {}, { activeCategory: r, fontColor: a } = T((l) => l);
|
|
1159
1166
|
return n && /* @__PURE__ */ i(
|
|
1160
1167
|
oe,
|
|
1161
1168
|
{
|
|
1162
1169
|
onClick: () => {
|
|
1163
|
-
|
|
1170
|
+
T.setState((l) => ({
|
|
1164
1171
|
activeCategory: r === `id${s}` ? "" : `id${s}`
|
|
1165
1172
|
}));
|
|
1166
1173
|
},
|
|
@@ -1171,7 +1178,7 @@ const bt = ({
|
|
|
1171
1178
|
color: a,
|
|
1172
1179
|
activeColor: d,
|
|
1173
1180
|
children: o ? o.map((l, c) => /* @__PURE__ */ i(
|
|
1174
|
-
|
|
1181
|
+
yt,
|
|
1175
1182
|
{
|
|
1176
1183
|
subcategory: l,
|
|
1177
1184
|
fontColor: a,
|
|
@@ -1190,7 +1197,7 @@ const bt = ({
|
|
|
1190
1197
|
}
|
|
1191
1198
|
);
|
|
1192
1199
|
};
|
|
1193
|
-
|
|
1200
|
+
_t.propTypes = {
|
|
1194
1201
|
category: e.shape({
|
|
1195
1202
|
name: e.string.isRequired,
|
|
1196
1203
|
subcategories: e.array,
|
|
@@ -1199,7 +1206,7 @@ bt.propTypes = {
|
|
|
1199
1206
|
activeColor: e.string
|
|
1200
1207
|
//onChangeBothType: PropTypes.func,
|
|
1201
1208
|
};
|
|
1202
|
-
const
|
|
1209
|
+
const vt = ({
|
|
1203
1210
|
indicators: n,
|
|
1204
1211
|
isOpen: d = !0,
|
|
1205
1212
|
title: s,
|
|
@@ -1208,15 +1215,15 @@ const yt = ({
|
|
|
1208
1215
|
inputsColor: t = "#605B56",
|
|
1209
1216
|
activeColor: r
|
|
1210
1217
|
}) => {
|
|
1211
|
-
const { tematicalFiltersSelected: a, activeFiltersType: l } =
|
|
1218
|
+
const { tematicalFiltersSelected: a, activeFiltersType: l } = T((h) => h), { t: c } = $();
|
|
1212
1219
|
F(() => {
|
|
1213
1220
|
}, [a]), F(() => {
|
|
1214
|
-
o &&
|
|
1221
|
+
o && T.setState(() => ({ fontColor: o }));
|
|
1215
1222
|
}, [o]), F(() => {
|
|
1216
|
-
t &&
|
|
1223
|
+
t && T.setState(() => ({ inputsColor: t }));
|
|
1217
1224
|
}, [t]);
|
|
1218
1225
|
const u = () => {
|
|
1219
|
-
l == "tematical" ?
|
|
1226
|
+
l == "tematical" ? T.setState(() => ({ activeFiltersType: null })) : T.setState(() => ({ activeFiltersType: "tematical" }));
|
|
1220
1227
|
};
|
|
1221
1228
|
return /* @__PURE__ */ i(
|
|
1222
1229
|
oe,
|
|
@@ -1226,19 +1233,20 @@ const yt = ({
|
|
|
1226
1233
|
color: o,
|
|
1227
1234
|
activeColor: r,
|
|
1228
1235
|
onClick: u,
|
|
1229
|
-
|
|
1230
|
-
|
|
1236
|
+
mainTitle: !0,
|
|
1237
|
+
children: n == null ? void 0 : n.map((h, p) => /* @__PURE__ */ i(
|
|
1238
|
+
_t,
|
|
1231
1239
|
{
|
|
1232
|
-
category:
|
|
1240
|
+
category: h,
|
|
1233
1241
|
fontColor: o,
|
|
1234
1242
|
activeColor: r
|
|
1235
1243
|
},
|
|
1236
|
-
`category-${
|
|
1244
|
+
`category-${p}`
|
|
1237
1245
|
))
|
|
1238
1246
|
}
|
|
1239
1247
|
);
|
|
1240
1248
|
};
|
|
1241
|
-
|
|
1249
|
+
vt.propTypes = {
|
|
1242
1250
|
isOpen: e.bool,
|
|
1243
1251
|
title: e.string,
|
|
1244
1252
|
indicators: e.arrayOf(e.object),
|
|
@@ -1247,14 +1255,14 @@ yt.propTypes = {
|
|
|
1247
1255
|
inputsColor: e.string,
|
|
1248
1256
|
activeColor: e.string
|
|
1249
1257
|
};
|
|
1250
|
-
const
|
|
1251
|
-
FiltersAmbitContainer:
|
|
1252
|
-
FiltersAmbitHeader:
|
|
1253
|
-
FiltersAmbitTitle:
|
|
1254
|
-
FiltersAmbitDescription:
|
|
1255
|
-
FiltersAmbitDescriptionTitle:
|
|
1256
|
-
warning:
|
|
1257
|
-
},
|
|
1258
|
+
const sn = "_FiltersAmbitContainer_m1o6g_2", on = "_FiltersAmbitHeader_m1o6g_7", rn = "_FiltersAmbitTitle_m1o6g_15", an = "_FiltersAmbitDescription_m1o6g_24", ln = "_FiltersAmbitDescriptionTitle_m1o6g_35", cn = "_warning_m1o6g_39", ae = {
|
|
1259
|
+
FiltersAmbitContainer: sn,
|
|
1260
|
+
FiltersAmbitHeader: on,
|
|
1261
|
+
FiltersAmbitTitle: rn,
|
|
1262
|
+
FiltersAmbitDescription: an,
|
|
1263
|
+
FiltersAmbitDescriptionTitle: ln,
|
|
1264
|
+
warning: cn
|
|
1265
|
+
}, dn = ({
|
|
1258
1266
|
ambitName: n,
|
|
1259
1267
|
ambitDescription: d,
|
|
1260
1268
|
defaultFilters: s,
|
|
@@ -1265,69 +1273,77 @@ const en = "_FiltersAmbitContainer_1g9xx_2", tn = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1265
1273
|
onChangeAppliedFilters: l,
|
|
1266
1274
|
saveAmbit: c,
|
|
1267
1275
|
namePlaceholder: u,
|
|
1268
|
-
descPlaceholder:
|
|
1269
|
-
filtersTypes:
|
|
1270
|
-
nameRequiredText:
|
|
1271
|
-
geoFilterLayers:
|
|
1272
|
-
onGeoLayersChange:
|
|
1273
|
-
onlyFilters:
|
|
1276
|
+
descPlaceholder: h,
|
|
1277
|
+
filtersTypes: p = ["geographical", "tematical"],
|
|
1278
|
+
nameRequiredText: f,
|
|
1279
|
+
geoFilterLayers: y = [],
|
|
1280
|
+
onGeoLayersChange: v,
|
|
1281
|
+
onlyFilters: _ = !1
|
|
1274
1282
|
//usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
|
|
1275
1283
|
}) => {
|
|
1276
|
-
const { t:
|
|
1284
|
+
const { t: g } = $(), { tematicalFiltersSelected: C, activeFiltersType: b, geoLayers: x } = T((q) => q), [w, k] = V(n || null), [S, L] = V(d || null), [N, B] = V(!1);
|
|
1277
1285
|
F(() => {
|
|
1278
|
-
s && s.length > 0 &&
|
|
1286
|
+
s && s.length > 0 && T.setState((q) => ({
|
|
1279
1287
|
tematicalFiltersSelected: s
|
|
1280
1288
|
}));
|
|
1281
1289
|
}, [s]), F(() => {
|
|
1282
|
-
|
|
1283
|
-
}, [
|
|
1290
|
+
p.includes("geographical") && T.setState({ geoLayers: y });
|
|
1291
|
+
}, [y]), F(() => {
|
|
1284
1292
|
l(C);
|
|
1285
1293
|
}, [C]);
|
|
1286
1294
|
const O = () => {
|
|
1287
1295
|
w ? c({ name: w, description: S }) : B(!0);
|
|
1288
1296
|
};
|
|
1289
1297
|
return F(() => {
|
|
1290
|
-
|
|
1291
|
-
geoLayers:
|
|
1292
|
-
...
|
|
1298
|
+
p.includes("geographical") && b != "geographical" && x.length > 0 && T.setState((q) => ({
|
|
1299
|
+
geoLayers: q.geoLayers.map((M) => ({
|
|
1300
|
+
...M,
|
|
1293
1301
|
active: !1
|
|
1294
1302
|
}))
|
|
1295
1303
|
}));
|
|
1296
|
-
}, [
|
|
1297
|
-
!
|
|
1304
|
+
}, [b]), /* @__PURE__ */ m("div", { className: ae.FiltersAmbitContainer, children: [
|
|
1305
|
+
!_ && /* @__PURE__ */ m("div", { className: ae.FiltersAmbitHeader, children: [
|
|
1298
1306
|
/* @__PURE__ */ i("div", { className: ae.FiltersAmbitTitle, children: /* @__PURE__ */ i(
|
|
1299
1307
|
"input",
|
|
1300
1308
|
{
|
|
1301
1309
|
type: "text",
|
|
1302
|
-
onChange: (
|
|
1303
|
-
B(!1),
|
|
1310
|
+
onChange: (q) => {
|
|
1311
|
+
B(!1), k(q.target.value);
|
|
1304
1312
|
},
|
|
1305
1313
|
value: w,
|
|
1306
|
-
placeholder:
|
|
1314
|
+
placeholder: g(u)
|
|
1307
1315
|
}
|
|
1308
1316
|
) }),
|
|
1309
1317
|
/* @__PURE__ */ i("div", { className: ae.FiltersAmbitDescription, children: /* @__PURE__ */ i("div", { className: ae.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ i(
|
|
1310
1318
|
"textarea",
|
|
1311
1319
|
{
|
|
1312
1320
|
value: S,
|
|
1313
|
-
onChange: (
|
|
1314
|
-
placeholder: h
|
|
1321
|
+
onChange: (q) => L(q.target.value),
|
|
1322
|
+
placeholder: g(h)
|
|
1315
1323
|
}
|
|
1316
1324
|
) }) })
|
|
1317
1325
|
] }),
|
|
1318
1326
|
/* @__PURE__ */ i(
|
|
1319
|
-
|
|
1327
|
+
gt,
|
|
1320
1328
|
{
|
|
1321
|
-
title:
|
|
1322
|
-
isOpen:
|
|
1329
|
+
title: g("applied_filters"),
|
|
1330
|
+
isOpen: b == "applied",
|
|
1323
1331
|
textColor: r || "#fff",
|
|
1324
1332
|
backgroundColor: a || "#605B5680",
|
|
1325
1333
|
activeColor: t
|
|
1326
1334
|
}
|
|
1327
1335
|
),
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1336
|
+
p.includes("geographical") && /* @__PURE__ */ i(
|
|
1337
|
+
Ct,
|
|
1338
|
+
{
|
|
1339
|
+
title: "geo_filters",
|
|
1340
|
+
activeColor: t,
|
|
1341
|
+
geoFilterLayers: y,
|
|
1342
|
+
onGeoLayersChange: v
|
|
1343
|
+
}
|
|
1344
|
+
),
|
|
1345
|
+
p.includes("tematical") && /* @__PURE__ */ i(
|
|
1346
|
+
vt,
|
|
1331
1347
|
{
|
|
1332
1348
|
indicators: o,
|
|
1333
1349
|
inputsColor: t,
|
|
@@ -1336,11 +1352,11 @@ const en = "_FiltersAmbitContainer_1g9xx_2", tn = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1336
1352
|
activeColor: t
|
|
1337
1353
|
}
|
|
1338
1354
|
),
|
|
1339
|
-
|
|
1340
|
-
!
|
|
1355
|
+
N && /* @__PURE__ */ i("div", { className: ae.warning, children: g(f) }),
|
|
1356
|
+
!_ && /* @__PURE__ */ i("div", { className: "buttonContainer", children: /* @__PURE__ */ i(Me, { onClick: () => O(), children: g("save_ambit") }) })
|
|
1341
1357
|
] });
|
|
1342
1358
|
};
|
|
1343
|
-
|
|
1359
|
+
dn.propTypes = {
|
|
1344
1360
|
indicators: e.arrayOf(e.object).isRequired,
|
|
1345
1361
|
ambitName: e.string,
|
|
1346
1362
|
ambitDescription: e.string,
|
|
@@ -1355,9 +1371,9 @@ an.propTypes = {
|
|
|
1355
1371
|
filtersTypes: e.arrayOf(e.string).isRequired,
|
|
1356
1372
|
nameRequiredText: e.string
|
|
1357
1373
|
};
|
|
1358
|
-
const
|
|
1359
|
-
barChartContainer:
|
|
1360
|
-
},
|
|
1374
|
+
const un = "_barChartContainer_d2f1z_2", pn = {
|
|
1375
|
+
barChartContainer: un
|
|
1376
|
+
}, wt = ({
|
|
1361
1377
|
data: n,
|
|
1362
1378
|
width: d = 700,
|
|
1363
1379
|
barHeight: s = 25,
|
|
@@ -1369,13 +1385,13 @@ const ln = "_barChartContainer_d2f1z_2", cn = {
|
|
|
1369
1385
|
numberOfDivisions: c = 7,
|
|
1370
1386
|
maxValue: u = null
|
|
1371
1387
|
}) => {
|
|
1372
|
-
const { t:
|
|
1388
|
+
const { t: h } = $(), { xScale: p, ticks: f, height: y } = me(() => {
|
|
1373
1389
|
if (n && n.length > 0) {
|
|
1374
|
-
const
|
|
1390
|
+
const v = (n == null ? void 0 : n.length) * (s + o) + r * 2, _ = Ye.max(n, (b) => b.value) || 1, g = Ye.scaleLinear().domain([0, u || _]).range([0, d - l]), C = Array.from({ length: c + 1 }, (b, x) => u ? u / c * x : _ / c * x);
|
|
1375
1391
|
return {
|
|
1376
|
-
xScale:
|
|
1392
|
+
xScale: g,
|
|
1377
1393
|
ticks: C,
|
|
1378
|
-
height:
|
|
1394
|
+
height: v,
|
|
1379
1395
|
width: d,
|
|
1380
1396
|
verticalPaddign: r,
|
|
1381
1397
|
horizontalPaddign: a
|
|
@@ -1392,32 +1408,32 @@ const ln = "_barChartContainer_d2f1z_2", cn = {
|
|
|
1392
1408
|
r,
|
|
1393
1409
|
u
|
|
1394
1410
|
]);
|
|
1395
|
-
return /* @__PURE__ */ i("div", { className:
|
|
1396
|
-
/* @__PURE__ */ i("g", { transform: `translate(${l + a}, 0)`, children:
|
|
1397
|
-
const
|
|
1398
|
-
return /* @__PURE__ */ m("g", { transform: `translate(${
|
|
1411
|
+
return /* @__PURE__ */ i("div", { className: pn.barChartContainer, children: /* @__PURE__ */ i("svg", { width: d + a * 2, height: y, children: /* @__PURE__ */ m("g", { transform: `translate(0,${o})`, children: [
|
|
1412
|
+
/* @__PURE__ */ i("g", { transform: `translate(${l + a}, 0)`, children: f.map((v, _) => {
|
|
1413
|
+
const g = p(v);
|
|
1414
|
+
return /* @__PURE__ */ m("g", { transform: `translate(${g}, 0)`, children: [
|
|
1399
1415
|
/* @__PURE__ */ i(
|
|
1400
1416
|
"line",
|
|
1401
1417
|
{
|
|
1402
1418
|
y1: 0,
|
|
1403
|
-
y2:
|
|
1419
|
+
y2: y - o * 2,
|
|
1404
1420
|
stroke: "#ccc"
|
|
1405
1421
|
}
|
|
1406
1422
|
),
|
|
1407
1423
|
/* @__PURE__ */ i(
|
|
1408
1424
|
"text",
|
|
1409
1425
|
{
|
|
1410
|
-
y:
|
|
1426
|
+
y: y - o,
|
|
1411
1427
|
textAnchor: "middle",
|
|
1412
1428
|
fontSize: 10,
|
|
1413
1429
|
fill: t,
|
|
1414
|
-
children: parseInt(
|
|
1430
|
+
children: parseInt(v)
|
|
1415
1431
|
}
|
|
1416
1432
|
)
|
|
1417
|
-
] },
|
|
1433
|
+
] }, _);
|
|
1418
1434
|
}) }),
|
|
1419
|
-
n && n.length > 0 && (n == null ? void 0 : n.map((
|
|
1420
|
-
const
|
|
1435
|
+
n && n.length > 0 && (n == null ? void 0 : n.map((v, _) => {
|
|
1436
|
+
const g = p(v.value), C = _ * (s + o);
|
|
1421
1437
|
return /* @__PURE__ */ m(
|
|
1422
1438
|
"g",
|
|
1423
1439
|
{
|
|
@@ -1430,26 +1446,26 @@ const ln = "_barChartContainer_d2f1z_2", cn = {
|
|
|
1430
1446
|
y: s / 2 + 5,
|
|
1431
1447
|
textAnchor: "end",
|
|
1432
1448
|
fill: t,
|
|
1433
|
-
children:
|
|
1449
|
+
children: h(v.title)
|
|
1434
1450
|
}
|
|
1435
1451
|
),
|
|
1436
1452
|
/* @__PURE__ */ i(
|
|
1437
1453
|
"rect",
|
|
1438
1454
|
{
|
|
1439
|
-
width:
|
|
1455
|
+
width: g,
|
|
1440
1456
|
height: s,
|
|
1441
|
-
fill:
|
|
1457
|
+
fill: v.color,
|
|
1442
1458
|
rx: 0
|
|
1443
1459
|
}
|
|
1444
1460
|
)
|
|
1445
1461
|
]
|
|
1446
1462
|
},
|
|
1447
|
-
|
|
1463
|
+
_
|
|
1448
1464
|
);
|
|
1449
1465
|
}))
|
|
1450
1466
|
] }) }) });
|
|
1451
1467
|
};
|
|
1452
|
-
|
|
1468
|
+
wt.propTypes = {
|
|
1453
1469
|
data: e.arrayOf(
|
|
1454
1470
|
e.shape({
|
|
1455
1471
|
title: e.string,
|
|
@@ -1465,10 +1481,10 @@ _t.propTypes = {
|
|
|
1465
1481
|
numberOfDivisions: e.number,
|
|
1466
1482
|
fontColor: e.string
|
|
1467
1483
|
};
|
|
1468
|
-
const
|
|
1469
|
-
graphicContainer:
|
|
1470
|
-
titleContainer:
|
|
1471
|
-
},
|
|
1484
|
+
const mn = "_graphicContainer_c9zrg_2", hn = "_titleContainer_c9zrg_14", et = {
|
|
1485
|
+
graphicContainer: mn,
|
|
1486
|
+
titleContainer: hn
|
|
1487
|
+
}, gn = ({
|
|
1472
1488
|
data: n,
|
|
1473
1489
|
graphWidth: d = 700,
|
|
1474
1490
|
containerStyle: s,
|
|
@@ -1483,15 +1499,15 @@ const dn = "_graphicContainer_c9zrg_2", un = "_titleContainer_c9zrg_14", Je = {
|
|
|
1483
1499
|
return /* @__PURE__ */ m(
|
|
1484
1500
|
"div",
|
|
1485
1501
|
{
|
|
1486
|
-
className:
|
|
1502
|
+
className: et.graphicContainer,
|
|
1487
1503
|
style: {
|
|
1488
1504
|
...s || {},
|
|
1489
1505
|
border: `1.5px solid ${o}`
|
|
1490
1506
|
},
|
|
1491
1507
|
children: [
|
|
1492
|
-
/* @__PURE__ */ i("div", { className:
|
|
1508
|
+
/* @__PURE__ */ i("div", { className: et.titleContainer, children: /* @__PURE__ */ i("h2", { children: u(t) }) }),
|
|
1493
1509
|
/* @__PURE__ */ i(
|
|
1494
|
-
|
|
1510
|
+
wt,
|
|
1495
1511
|
{
|
|
1496
1512
|
data: n,
|
|
1497
1513
|
width: d,
|
|
@@ -1505,7 +1521,7 @@ const dn = "_graphicContainer_c9zrg_2", un = "_titleContainer_c9zrg_14", Je = {
|
|
|
1505
1521
|
}
|
|
1506
1522
|
);
|
|
1507
1523
|
};
|
|
1508
|
-
|
|
1524
|
+
gn.propTypes = {
|
|
1509
1525
|
data: e.arrayOf(
|
|
1510
1526
|
e.shape({
|
|
1511
1527
|
color: e.string.isRequired,
|
|
@@ -1522,21 +1538,21 @@ pn.propTypes = {
|
|
|
1522
1538
|
numberOfDivisions: e.number,
|
|
1523
1539
|
leftPadding: e.number
|
|
1524
1540
|
};
|
|
1525
|
-
const
|
|
1526
|
-
indicatorsCategory:
|
|
1527
|
-
title:
|
|
1528
|
-
list:
|
|
1529
|
-
},
|
|
1530
|
-
indicatorContainer:
|
|
1531
|
-
indicatorNameContainer:
|
|
1532
|
-
dot:
|
|
1533
|
-
indicatorName:
|
|
1534
|
-
switchExternalContainer:
|
|
1535
|
-
switchType:
|
|
1536
|
-
switchTypeOptions:
|
|
1537
|
-
optionContainer:
|
|
1538
|
-
customRadious:
|
|
1539
|
-
optionText:
|
|
1541
|
+
const Cn = "_indicatorsCategory_1cu33_2", fn = "_title_1cu33_5", bn = "_list_1cu33_11", Ae = {
|
|
1542
|
+
indicatorsCategory: Cn,
|
|
1543
|
+
title: fn,
|
|
1544
|
+
list: bn
|
|
1545
|
+
}, tt = "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", yn = "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", _n = "_indicatorContainer_oqrkc_2", vn = "_indicatorNameContainer_oqrkc_11", wn = "_dot_oqrkc_17", xn = "_indicatorName_oqrkc_11", kn = "_switchExternalContainer_oqrkc_31", Nn = "_switchType_oqrkc_40", Sn = "_switchTypeOptions_oqrkc_44", $n = "_optionContainer_oqrkc_55", Bn = "_customRadious_oqrkc_65", Tn = "_optionText_oqrkc_72", R = {
|
|
1546
|
+
indicatorContainer: _n,
|
|
1547
|
+
indicatorNameContainer: vn,
|
|
1548
|
+
dot: wn,
|
|
1549
|
+
indicatorName: xn,
|
|
1550
|
+
switchExternalContainer: kn,
|
|
1551
|
+
switchType: Nn,
|
|
1552
|
+
switchTypeOptions: Sn,
|
|
1553
|
+
optionContainer: $n,
|
|
1554
|
+
customRadious: Bn,
|
|
1555
|
+
optionText: Tn
|
|
1540
1556
|
}, Ge = ({
|
|
1541
1557
|
indicator: n,
|
|
1542
1558
|
values: d = [],
|
|
@@ -1548,25 +1564,27 @@ const mn = "_indicatorsCategory_1cu33_2", hn = "_title_1cu33_5", gn = "_list_1cu
|
|
|
1548
1564
|
multiple: l = !1,
|
|
1549
1565
|
onChangeType: c
|
|
1550
1566
|
}) => {
|
|
1551
|
-
const { t: u } = $(), { name:
|
|
1567
|
+
const { t: u } = $(), { name: h, type: p, disabled: f } = n;
|
|
1568
|
+
console.log(tt);
|
|
1569
|
+
const [y, v] = V(!1);
|
|
1552
1570
|
F(() => {
|
|
1553
|
-
t &&
|
|
1571
|
+
t && v(
|
|
1554
1572
|
l ? t.some(
|
|
1555
|
-
(C) => C.name == String(
|
|
1556
|
-
) : t.name ==
|
|
1573
|
+
(C) => C.name == String(h)
|
|
1574
|
+
) : t.name == h
|
|
1557
1575
|
);
|
|
1558
1576
|
}, [t]);
|
|
1559
|
-
const
|
|
1577
|
+
const _ = () => /* @__PURE__ */ i("div", { className: R.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: R.switchType, children: /* @__PURE__ */ m("div", { className: R.switchTypeOptions, children: [
|
|
1560
1578
|
/* @__PURE__ */ m(
|
|
1561
1579
|
"div",
|
|
1562
1580
|
{
|
|
1563
|
-
className:
|
|
1581
|
+
className: R.optionContainer,
|
|
1564
1582
|
onClick: () => c("cat"),
|
|
1565
1583
|
children: [
|
|
1566
1584
|
/* @__PURE__ */ i(
|
|
1567
1585
|
"span",
|
|
1568
1586
|
{
|
|
1569
|
-
className: `${
|
|
1587
|
+
className: `${R.customRadious}`,
|
|
1570
1588
|
style: {
|
|
1571
1589
|
backgroundColor: r === "cat" ? s : "transparent",
|
|
1572
1590
|
borderColor: r === "cat" ? s : o
|
|
@@ -1576,7 +1594,7 @@ const mn = "_indicatorsCategory_1cu33_2", hn = "_title_1cu33_5", gn = "_list_1cu
|
|
|
1576
1594
|
/* @__PURE__ */ i(
|
|
1577
1595
|
"h4",
|
|
1578
1596
|
{
|
|
1579
|
-
className:
|
|
1597
|
+
className: R.optionText,
|
|
1580
1598
|
style: {
|
|
1581
1599
|
color: r === "cat" ? s : o
|
|
1582
1600
|
},
|
|
@@ -1589,13 +1607,13 @@ const mn = "_indicatorsCategory_1cu33_2", hn = "_title_1cu33_5", gn = "_list_1cu
|
|
|
1589
1607
|
/* @__PURE__ */ m(
|
|
1590
1608
|
"div",
|
|
1591
1609
|
{
|
|
1592
|
-
className:
|
|
1610
|
+
className: R.optionContainer,
|
|
1593
1611
|
onClick: () => c("abs"),
|
|
1594
1612
|
children: [
|
|
1595
1613
|
/* @__PURE__ */ i(
|
|
1596
1614
|
"span",
|
|
1597
1615
|
{
|
|
1598
|
-
className: `${
|
|
1616
|
+
className: `${R.customRadious}`,
|
|
1599
1617
|
style: {
|
|
1600
1618
|
backgroundColor: r === "abs" ? s : "transparent",
|
|
1601
1619
|
borderColor: r === "abs" ? s : o
|
|
@@ -1605,7 +1623,7 @@ const mn = "_indicatorsCategory_1cu33_2", hn = "_title_1cu33_5", gn = "_list_1cu
|
|
|
1605
1623
|
/* @__PURE__ */ i(
|
|
1606
1624
|
"h4",
|
|
1607
1625
|
{
|
|
1608
|
-
className:
|
|
1626
|
+
className: R.optionText,
|
|
1609
1627
|
style: {
|
|
1610
1628
|
color: r === "abs" ? s : o
|
|
1611
1629
|
},
|
|
@@ -1615,51 +1633,53 @@ const mn = "_indicatorsCategory_1cu33_2", hn = "_title_1cu33_5", gn = "_list_1cu
|
|
|
1615
1633
|
]
|
|
1616
1634
|
}
|
|
1617
1635
|
)
|
|
1618
|
-
] }) }) }),
|
|
1636
|
+
] }) }) }), g = () => /* @__PURE__ */ i("div", { className: R.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: R.switchType, children: /* @__PURE__ */ i("div", { className: R.switchTypeOptions, children: d.map((C, b) => /* @__PURE__ */ m(
|
|
1619
1637
|
"div",
|
|
1620
1638
|
{
|
|
1621
|
-
className:
|
|
1639
|
+
className: R.optionContainer,
|
|
1622
1640
|
children: [
|
|
1623
1641
|
/* @__PURE__ */ i(
|
|
1624
1642
|
"span",
|
|
1625
1643
|
{
|
|
1626
|
-
className:
|
|
1644
|
+
className: R.customRadious
|
|
1627
1645
|
}
|
|
1628
1646
|
),
|
|
1629
1647
|
/* @__PURE__ */ i("h4", { children: u(C.unit) })
|
|
1630
1648
|
]
|
|
1631
1649
|
},
|
|
1632
|
-
|
|
1650
|
+
b
|
|
1633
1651
|
)) }) }) });
|
|
1634
|
-
return /* @__PURE__ */ m("div", { className:
|
|
1652
|
+
return /* @__PURE__ */ m("div", { className: R.indicatorContainer, children: [
|
|
1635
1653
|
/* @__PURE__ */ m(
|
|
1636
1654
|
"div",
|
|
1637
1655
|
{
|
|
1638
|
-
className:
|
|
1639
|
-
onClick: () => !
|
|
1656
|
+
className: R.indicatorNameContainer,
|
|
1657
|
+
onClick: () => !f && a({ indicator: n }),
|
|
1640
1658
|
children: [
|
|
1641
1659
|
/* @__PURE__ */ i(
|
|
1642
1660
|
"div",
|
|
1643
1661
|
{
|
|
1644
1662
|
style: {
|
|
1645
|
-
border:
|
|
1646
|
-
opacity:
|
|
1663
|
+
border: y ? `1px solid ${s}` : `1px solid ${o}`,
|
|
1664
|
+
opacity: f ? 0.5 : 1,
|
|
1665
|
+
backgroundColor: y ? s : "transparent"
|
|
1647
1666
|
},
|
|
1648
|
-
className:
|
|
1667
|
+
className: R.dot,
|
|
1668
|
+
children: l && /* @__PURE__ */ i("img", { src: y ? yn : tt, alt: "" })
|
|
1649
1669
|
}
|
|
1650
1670
|
),
|
|
1651
1671
|
/* @__PURE__ */ i(
|
|
1652
1672
|
"h4",
|
|
1653
1673
|
{
|
|
1654
|
-
className:
|
|
1674
|
+
className: R.indicatorName,
|
|
1655
1675
|
style: {
|
|
1656
|
-
color:
|
|
1657
|
-
opacity:
|
|
1676
|
+
color: y ? s : o,
|
|
1677
|
+
opacity: f ? 0.5 : 1
|
|
1658
1678
|
},
|
|
1659
1679
|
children: /* @__PURE__ */ i(
|
|
1660
|
-
|
|
1680
|
+
He,
|
|
1661
1681
|
{
|
|
1662
|
-
i18nKey:
|
|
1682
|
+
i18nKey: h,
|
|
1663
1683
|
components: { sup: /* @__PURE__ */ i("sup", {}) },
|
|
1664
1684
|
shouldUnescape: !0
|
|
1665
1685
|
}
|
|
@@ -1669,8 +1689,8 @@ const mn = "_indicatorsCategory_1cu33_2", hn = "_title_1cu33_5", gn = "_list_1cu
|
|
|
1669
1689
|
]
|
|
1670
1690
|
}
|
|
1671
1691
|
),
|
|
1672
|
-
(t == null ? void 0 : t.name) ===
|
|
1673
|
-
(t == null ? void 0 : t.name) ===
|
|
1692
|
+
(t == null ? void 0 : t.name) === h && p === "both" && /* @__PURE__ */ i("div", { children: _() }),
|
|
1693
|
+
(t == null ? void 0 : t.name) === h && p === "twoUnits" && /* @__PURE__ */ i("div", { children: g() })
|
|
1674
1694
|
] });
|
|
1675
1695
|
};
|
|
1676
1696
|
Ge.propTypes = {
|
|
@@ -1685,10 +1705,10 @@ Ge.propTypes = {
|
|
|
1685
1705
|
multiple: e.bool,
|
|
1686
1706
|
onClickIndicator: e.func
|
|
1687
1707
|
};
|
|
1688
|
-
const
|
|
1689
|
-
indicatorsSubCategory:
|
|
1690
|
-
list:
|
|
1691
|
-
},
|
|
1708
|
+
const Ln = "_indicatorsSubCategory_1dzsi_2", Mn = "_list_1dzsi_8", nt = {
|
|
1709
|
+
indicatorsSubCategory: Ln,
|
|
1710
|
+
list: Mn
|
|
1711
|
+
}, xt = ({
|
|
1692
1712
|
subcName: n,
|
|
1693
1713
|
indicators: d,
|
|
1694
1714
|
defaultColor: s,
|
|
@@ -1699,49 +1719,49 @@ const Sn = "_indicatorsSubCategory_1dzsi_2", $n = "_list_1dzsi_8", et = {
|
|
|
1699
1719
|
activeIndicator: l,
|
|
1700
1720
|
onClickIndicator: c,
|
|
1701
1721
|
multiple: u,
|
|
1702
|
-
activeIndicatorType:
|
|
1703
|
-
onChangeType:
|
|
1722
|
+
activeIndicatorType: h,
|
|
1723
|
+
onChangeType: p
|
|
1704
1724
|
}) => {
|
|
1705
|
-
const { t:
|
|
1725
|
+
const { t: f } = $(), [y, v] = V(!1);
|
|
1706
1726
|
return F(() => {
|
|
1707
|
-
|
|
1727
|
+
v(t == a);
|
|
1708
1728
|
}, [t, a]), /* @__PURE__ */ m(
|
|
1709
|
-
|
|
1729
|
+
Ke.div,
|
|
1710
1730
|
{
|
|
1711
|
-
className:
|
|
1731
|
+
className: nt.indicatorsSubCategory,
|
|
1712
1732
|
initial: { height: "43px" },
|
|
1713
|
-
animate: { height:
|
|
1733
|
+
animate: { height: y ? "auto" : "43px" },
|
|
1714
1734
|
transition: { duration: 0.4 },
|
|
1715
1735
|
children: [
|
|
1716
|
-
/* @__PURE__ */ i("button", { onClick: () => r(a), children: /* @__PURE__ */ m("h3", { style: { color:
|
|
1717
|
-
/* @__PURE__ */ i("span", { style: { color:
|
|
1736
|
+
/* @__PURE__ */ i("button", { onClick: () => r(a), children: /* @__PURE__ */ m("h3", { style: { color: y ? o : s }, children: [
|
|
1737
|
+
/* @__PURE__ */ i("span", { style: { color: y ? o : s }, children: y ? "-" : "+" }),
|
|
1718
1738
|
/* @__PURE__ */ i(
|
|
1719
1739
|
"span",
|
|
1720
1740
|
{
|
|
1721
|
-
style: { marginLeft: 12, color:
|
|
1722
|
-
children:
|
|
1741
|
+
style: { marginLeft: 12, color: y ? o : s },
|
|
1742
|
+
children: f(n)
|
|
1723
1743
|
}
|
|
1724
1744
|
)
|
|
1725
1745
|
] }) }),
|
|
1726
|
-
d && /* @__PURE__ */ i("div", { className:
|
|
1746
|
+
d && /* @__PURE__ */ i("div", { className: nt.list, children: d == null ? void 0 : d.map((_, g) => /* @__PURE__ */ i(
|
|
1727
1747
|
Ge,
|
|
1728
1748
|
{
|
|
1729
|
-
indicator:
|
|
1749
|
+
indicator: _,
|
|
1730
1750
|
defaultColor: s,
|
|
1731
1751
|
activeColor: o,
|
|
1732
1752
|
activeIndicator: l,
|
|
1733
1753
|
onClickIndicator: c,
|
|
1734
1754
|
multiple: u,
|
|
1735
|
-
activeIndicatorType:
|
|
1736
|
-
onChangeType:
|
|
1755
|
+
activeIndicatorType: h,
|
|
1756
|
+
onChangeType: p
|
|
1737
1757
|
},
|
|
1738
|
-
"indicator" +
|
|
1758
|
+
"indicator" + g
|
|
1739
1759
|
)) })
|
|
1740
1760
|
]
|
|
1741
1761
|
}
|
|
1742
1762
|
);
|
|
1743
1763
|
};
|
|
1744
|
-
|
|
1764
|
+
xt.propTypes = {
|
|
1745
1765
|
subcName: e.string,
|
|
1746
1766
|
indicators: e.array,
|
|
1747
1767
|
activeColor: e.string,
|
|
@@ -1753,7 +1773,7 @@ vt.propTypes = {
|
|
|
1753
1773
|
onClickSubCategory: e.func,
|
|
1754
1774
|
onClickIndicator: e.func
|
|
1755
1775
|
};
|
|
1756
|
-
const
|
|
1776
|
+
const kt = ({
|
|
1757
1777
|
cat: n,
|
|
1758
1778
|
id: d,
|
|
1759
1779
|
activeColor: s,
|
|
@@ -1764,57 +1784,57 @@ const wt = ({
|
|
|
1764
1784
|
onClickSubCategory: l,
|
|
1765
1785
|
activeIndicator: c,
|
|
1766
1786
|
onClickIndicator: u,
|
|
1767
|
-
multiple:
|
|
1768
|
-
activeIndicatorType:
|
|
1769
|
-
onChangeType:
|
|
1787
|
+
multiple: h,
|
|
1788
|
+
activeIndicatorType: p,
|
|
1789
|
+
onChangeType: f
|
|
1770
1790
|
}) => {
|
|
1771
|
-
var
|
|
1772
|
-
const { t:
|
|
1791
|
+
var g;
|
|
1792
|
+
const { t: y } = $(), [v, _] = V(!1);
|
|
1773
1793
|
return F(() => {
|
|
1774
|
-
|
|
1794
|
+
_(r === d);
|
|
1775
1795
|
}, [r, d]), /* @__PURE__ */ m(
|
|
1776
|
-
|
|
1796
|
+
Ke.div,
|
|
1777
1797
|
{
|
|
1778
1798
|
className: Ae.indicatorsCategory,
|
|
1779
1799
|
initial: { height: "53px" },
|
|
1780
|
-
animate: { height:
|
|
1800
|
+
animate: { height: v ? "auto" : "53px" },
|
|
1781
1801
|
transition: { duration: 0.4 },
|
|
1782
1802
|
style: {
|
|
1783
1803
|
backgroundColor: "white",
|
|
1784
|
-
borderBottom:
|
|
1785
|
-
marginBottom:
|
|
1804
|
+
borderBottom: v ? `1px solid ${s}` : "0px",
|
|
1805
|
+
marginBottom: v ? "20px" : "0px"
|
|
1786
1806
|
},
|
|
1787
1807
|
children: [
|
|
1788
1808
|
/* @__PURE__ */ m("h2", { className: `${Ae.title}`, onClick: () => t(d), children: [
|
|
1789
|
-
/* @__PURE__ */ i("span", { style: { color:
|
|
1809
|
+
/* @__PURE__ */ i("span", { style: { color: v ? s : o }, children: v ? "-" : "+" }),
|
|
1790
1810
|
/* @__PURE__ */ i(
|
|
1791
1811
|
"span",
|
|
1792
1812
|
{
|
|
1793
|
-
style: { marginLeft: 12, color:
|
|
1794
|
-
children:
|
|
1813
|
+
style: { marginLeft: 12, color: v ? s : o },
|
|
1814
|
+
children: y(n.name)
|
|
1795
1815
|
}
|
|
1796
1816
|
)
|
|
1797
1817
|
] }),
|
|
1798
1818
|
n.subcategories ? n.subcategories.map(
|
|
1799
|
-
({ name: C, subcategory:
|
|
1800
|
-
|
|
1819
|
+
({ name: C, subcategory: b, indicators: x }, w) => /* @__PURE__ */ i(
|
|
1820
|
+
xt,
|
|
1801
1821
|
{
|
|
1802
|
-
id:
|
|
1822
|
+
id: b,
|
|
1803
1823
|
activeSubCategory: a,
|
|
1804
1824
|
subcName: C,
|
|
1805
1825
|
onClickSubCategory: l,
|
|
1806
1826
|
activeIndicator: c,
|
|
1807
1827
|
onClickIndicator: u,
|
|
1808
|
-
multiple:
|
|
1828
|
+
multiple: h,
|
|
1809
1829
|
activeColor: s,
|
|
1810
1830
|
defaultColor: o,
|
|
1811
1831
|
indicators: x,
|
|
1812
|
-
activeIndicatorType:
|
|
1813
|
-
onChangeType:
|
|
1832
|
+
activeIndicatorType: p,
|
|
1833
|
+
onChangeType: f
|
|
1814
1834
|
},
|
|
1815
1835
|
`subcKey ${w}`
|
|
1816
1836
|
)
|
|
1817
|
-
) : /* @__PURE__ */ i("div", { className: Ae.list, children: (
|
|
1837
|
+
) : /* @__PURE__ */ i("div", { className: Ae.list, children: (g = n.indicators) == null ? void 0 : g.map((C, b) => /* @__PURE__ */ i(
|
|
1818
1838
|
Ge,
|
|
1819
1839
|
{
|
|
1820
1840
|
indicator: C,
|
|
@@ -1823,17 +1843,17 @@ const wt = ({
|
|
|
1823
1843
|
defaultColor: o,
|
|
1824
1844
|
activeIndicator: c,
|
|
1825
1845
|
onClickIndicator: u,
|
|
1826
|
-
multiple:
|
|
1827
|
-
activeIndicatorType:
|
|
1828
|
-
onChangeType:
|
|
1846
|
+
multiple: h,
|
|
1847
|
+
activeIndicatorType: p,
|
|
1848
|
+
onChangeType: f
|
|
1829
1849
|
},
|
|
1830
|
-
`indicator${
|
|
1850
|
+
`indicator${b}`
|
|
1831
1851
|
)) })
|
|
1832
1852
|
]
|
|
1833
1853
|
}
|
|
1834
1854
|
);
|
|
1835
1855
|
};
|
|
1836
|
-
|
|
1856
|
+
kt.propTypes = {
|
|
1837
1857
|
cat: e.object,
|
|
1838
1858
|
id: e.string,
|
|
1839
1859
|
onChange: e.func,
|
|
@@ -1847,10 +1867,10 @@ wt.propTypes = {
|
|
|
1847
1867
|
activeColor: e.string,
|
|
1848
1868
|
defaultColor: e.string
|
|
1849
1869
|
};
|
|
1850
|
-
const
|
|
1851
|
-
indicatorsList:
|
|
1852
|
-
title:
|
|
1853
|
-
},
|
|
1870
|
+
const Dn = "_indicatorsList_fklyu_2", Fn = "_title_fklyu_6", it = {
|
|
1871
|
+
indicatorsList: Dn,
|
|
1872
|
+
title: Fn
|
|
1873
|
+
}, Vn = ({
|
|
1854
1874
|
indicators: n,
|
|
1855
1875
|
activeColor: d,
|
|
1856
1876
|
defaultColor: s = "#92898A",
|
|
@@ -1864,64 +1884,64 @@ const Bn = "_indicatorsList_fklyu_2", Ln = "_title_fklyu_6", tt = {
|
|
|
1864
1884
|
changeIndType: a,
|
|
1865
1885
|
activeIndicatorType: l
|
|
1866
1886
|
}) => {
|
|
1867
|
-
const { t: c } = $(), [u,
|
|
1868
|
-
|
|
1869
|
-
},
|
|
1870
|
-
|
|
1887
|
+
const { t: c } = $(), [u, h] = V(), [p, f] = V(), [y, v] = V(), _ = (w) => {
|
|
1888
|
+
h(u == w ? null : w);
|
|
1889
|
+
}, g = (w) => {
|
|
1890
|
+
f(p == w ? null : w);
|
|
1871
1891
|
}, C = ({ indicator: w }) => {
|
|
1872
|
-
|
|
1873
|
-
},
|
|
1892
|
+
b(w);
|
|
1893
|
+
}, b = (w) => {
|
|
1874
1894
|
if (!t)
|
|
1875
|
-
|
|
1876
|
-
(
|
|
1895
|
+
v(
|
|
1896
|
+
(y == null ? void 0 : y.name) == w.name ? null : w
|
|
1877
1897
|
);
|
|
1878
1898
|
else {
|
|
1879
|
-
let
|
|
1880
|
-
|
|
1881
|
-
|
|
1899
|
+
let k = y && y.length > 0 ? [...y] : [];
|
|
1900
|
+
v(
|
|
1901
|
+
k != null && k.some(
|
|
1882
1902
|
(S) => S.name == w.name
|
|
1883
|
-
) ?
|
|
1903
|
+
) ? k.filter(
|
|
1884
1904
|
(S) => S.name != String(w.name)
|
|
1885
|
-
) : [...
|
|
1905
|
+
) : [...k, w]
|
|
1886
1906
|
), w.type == "both" && a("cat");
|
|
1887
1907
|
}
|
|
1888
1908
|
};
|
|
1889
1909
|
F(() => {
|
|
1890
|
-
o && typeof o == "function" &&
|
|
1891
|
-
}, [
|
|
1892
|
-
if (r && !
|
|
1910
|
+
o && typeof o == "function" && y && o({ activeIndicator: y });
|
|
1911
|
+
}, [y]), It(() => {
|
|
1912
|
+
if (r && !y)
|
|
1893
1913
|
if (t && r && Array.isArray(r)) {
|
|
1894
|
-
let w =
|
|
1895
|
-
|
|
1914
|
+
let w = y && y.length > 0 ? [...y] : [];
|
|
1915
|
+
v([...w, ...r]), x(r[0].name);
|
|
1896
1916
|
} else
|
|
1897
|
-
|
|
1917
|
+
b(r), x(r.name);
|
|
1898
1918
|
}, []);
|
|
1899
1919
|
const x = (w) => {
|
|
1900
|
-
const
|
|
1920
|
+
const k = n.find((S) => {
|
|
1901
1921
|
if (S.subcategories) {
|
|
1902
1922
|
let L = S.subcategories.find(
|
|
1903
|
-
(
|
|
1923
|
+
(N) => N.indicators.find((B) => B.name == w)
|
|
1904
1924
|
);
|
|
1905
1925
|
if (L)
|
|
1906
|
-
return
|
|
1926
|
+
return f(L.subcategory), L;
|
|
1907
1927
|
} else
|
|
1908
1928
|
return S.indicators.some((L) => L.name == w);
|
|
1909
1929
|
});
|
|
1910
|
-
|
|
1930
|
+
k && h(k.category);
|
|
1911
1931
|
};
|
|
1912
|
-
return /* @__PURE__ */ m("div", { className:
|
|
1913
|
-
/* @__PURE__ */ i("h2", { className:
|
|
1914
|
-
n.map((w,
|
|
1915
|
-
|
|
1932
|
+
return /* @__PURE__ */ m("div", { className: it.indicatorsList, children: [
|
|
1933
|
+
/* @__PURE__ */ i("h2", { className: it.title, style: { color: s }, children: c("indicators.indicators") }),
|
|
1934
|
+
n.map((w, k) => /* @__PURE__ */ i(
|
|
1935
|
+
kt,
|
|
1916
1936
|
{
|
|
1917
1937
|
id: w.category,
|
|
1918
1938
|
cat: w,
|
|
1919
|
-
onClickCategory:
|
|
1939
|
+
onClickCategory: _,
|
|
1920
1940
|
activeCategory: u,
|
|
1921
|
-
onClickSubCategory:
|
|
1922
|
-
activeSubCategory:
|
|
1941
|
+
onClickSubCategory: g,
|
|
1942
|
+
activeSubCategory: p,
|
|
1923
1943
|
onClickIndicator: C,
|
|
1924
|
-
activeIndicator:
|
|
1944
|
+
activeIndicator: y,
|
|
1925
1945
|
activeColor: d,
|
|
1926
1946
|
defaultColor: s,
|
|
1927
1947
|
multiple: t,
|
|
@@ -1929,11 +1949,11 @@ const Bn = "_indicatorsList_fklyu_2", Ln = "_title_fklyu_6", tt = {
|
|
|
1929
1949
|
onChangeType: a,
|
|
1930
1950
|
activeIndicatorType: l
|
|
1931
1951
|
},
|
|
1932
|
-
`categoryKey${
|
|
1952
|
+
`categoryKey${k}`
|
|
1933
1953
|
))
|
|
1934
1954
|
] });
|
|
1935
1955
|
};
|
|
1936
|
-
|
|
1956
|
+
Vn.propTypes = {
|
|
1937
1957
|
indicators: e.arrayOf(e.object),
|
|
1938
1958
|
activeColor: e.string,
|
|
1939
1959
|
defaultColor: e.string,
|
|
@@ -1944,13 +1964,13 @@ Tn.propTypes = {
|
|
|
1944
1964
|
defaultValue: e.oneOfType([e.object, e.array]),
|
|
1945
1965
|
activeIndicatorType: e.string
|
|
1946
1966
|
};
|
|
1947
|
-
const
|
|
1948
|
-
langSelector:
|
|
1949
|
-
currentLang:
|
|
1950
|
-
arrow:
|
|
1951
|
-
prevImg:
|
|
1952
|
-
langMenu:
|
|
1953
|
-
},
|
|
1967
|
+
const An = "_langSelector_o9enq_2", In = "_currentLang_o9enq_14", On = "_arrow_o9enq_26", qn = "_prevImg_o9enq_29", Rn = "_langMenu_o9enq_33", le = {
|
|
1968
|
+
langSelector: An,
|
|
1969
|
+
currentLang: In,
|
|
1970
|
+
arrow: On,
|
|
1971
|
+
prevImg: qn,
|
|
1972
|
+
langMenu: Rn
|
|
1973
|
+
}, En = ({ langs: n, arrow: d, imgPrev: s }) => {
|
|
1954
1974
|
const [o, t] = V(!1), { i18n: r } = $(), a = n.find((c) => c.code == r.language), l = (c) => {
|
|
1955
1975
|
r.changeLanguage(c), t(!1);
|
|
1956
1976
|
};
|
|
@@ -1980,7 +2000,7 @@ const Mn = "_langSelector_o9enq_2", Dn = "_currentLang_o9enq_14", Fn = "_arrow_o
|
|
|
1980
2000
|
)) })
|
|
1981
2001
|
] });
|
|
1982
2002
|
};
|
|
1983
|
-
|
|
2003
|
+
En.propTypes = {
|
|
1984
2004
|
langs: e.arrayOf(
|
|
1985
2005
|
e.shape({
|
|
1986
2006
|
code: e.string,
|
|
@@ -1994,23 +2014,23 @@ In.propTypes = {
|
|
|
1994
2014
|
arrow: e.object,
|
|
1995
2015
|
imgPrev: e.object
|
|
1996
2016
|
};
|
|
1997
|
-
const
|
|
1998
|
-
legendContainer:
|
|
1999
|
-
closeButton:
|
|
2000
|
-
titleContainer:
|
|
2001
|
-
infoContainer:
|
|
2002
|
-
titleLegendList:
|
|
2003
|
-
legendListContainer:
|
|
2004
|
-
gridContainer:
|
|
2005
|
-
elementLegendContainer:
|
|
2006
|
-
colorDot:
|
|
2007
|
-
absoluteValueContainer:
|
|
2008
|
-
absoluteValueColor:
|
|
2009
|
-
absoluteValueText:
|
|
2010
|
-
noDataContainer:
|
|
2011
|
-
noData:
|
|
2012
|
-
moreInfoContainer:
|
|
2013
|
-
},
|
|
2017
|
+
const Pn = "_legendContainer_qs4x9_3", jn = "_closeButton_qs4x9_31", zn = "_titleContainer_qs4x9_59", Zn = "_infoContainer_qs4x9_65", Hn = "_titleLegendList_qs4x9_76", Kn = "_legendListContainer_qs4x9_82", Un = "_gridContainer_qs4x9_82", Gn = "_elementLegendContainer_qs4x9_88", Wn = "_colorDot_qs4x9_94", Yn = "_absoluteValueContainer_qs4x9_100", Qn = "_absoluteValueColor_qs4x9_103", Xn = "_absoluteValueText_qs4x9_108", Jn = "_noDataContainer_qs4x9_120", e0 = "_noData_qs4x9_120", t0 = "_moreInfoContainer_qs4x9_141", I = {
|
|
2018
|
+
legendContainer: Pn,
|
|
2019
|
+
closeButton: jn,
|
|
2020
|
+
titleContainer: zn,
|
|
2021
|
+
infoContainer: Zn,
|
|
2022
|
+
titleLegendList: Hn,
|
|
2023
|
+
legendListContainer: Kn,
|
|
2024
|
+
gridContainer: Un,
|
|
2025
|
+
elementLegendContainer: Gn,
|
|
2026
|
+
colorDot: Wn,
|
|
2027
|
+
absoluteValueContainer: Yn,
|
|
2028
|
+
absoluteValueColor: Qn,
|
|
2029
|
+
absoluteValueText: Xn,
|
|
2030
|
+
noDataContainer: Jn,
|
|
2031
|
+
noData: e0,
|
|
2032
|
+
moreInfoContainer: t0
|
|
2033
|
+
}, n0 = ({
|
|
2014
2034
|
//JSON with the styles of the container (optional)
|
|
2015
2035
|
containerStyles: n,
|
|
2016
2036
|
//Title on top of the legend
|
|
@@ -2042,14 +2062,14 @@ const On = "_legendContainer_qs4x9_3", Rn = "_closeButton_qs4x9_31", qn = "_titl
|
|
|
2042
2062
|
children: [
|
|
2043
2063
|
/* @__PURE__ */ i("button", { className: I.closeButton, onClick: c }),
|
|
2044
2064
|
d && /* @__PURE__ */ i("div", { className: I.titleContainer, style: { marginBottom: (!s || s.length == 0) && "15px" }, children: /* @__PURE__ */ i("h2", { children: d }) }),
|
|
2045
|
-
s && s.length > 0 && /* @__PURE__ */ i("div", { className: I.infoContainer, children: /* @__PURE__ */ i("ul", { children: s.map(({ title:
|
|
2046
|
-
/* @__PURE__ */ i("h3", { className: I.title, children: `${
|
|
2065
|
+
s && s.length > 0 && /* @__PURE__ */ i("div", { className: I.infoContainer, children: /* @__PURE__ */ i("ul", { children: s.map(({ title: h, value: p }) => /* @__PURE__ */ m("li", { children: [
|
|
2066
|
+
/* @__PURE__ */ i("h3", { className: I.title, children: `${h}:` }),
|
|
2047
2067
|
/* @__PURE__ */ m("span", { className: I.value, children: [
|
|
2048
2068
|
" ",
|
|
2049
|
-
|
|
2069
|
+
p
|
|
2050
2070
|
] })
|
|
2051
2071
|
] }, d)) }) }),
|
|
2052
|
-
/* @__PURE__ */ i("h3", { className: I.titleLegendList, style: { marginTop: s && s.length > 0 && "30px" }, children: t && /* @__PURE__ */ i(
|
|
2072
|
+
/* @__PURE__ */ i("h3", { className: I.titleLegendList, style: { marginTop: s && s.length > 0 && "30px" }, children: t && /* @__PURE__ */ i(He, { i18nKey: t, components: { sup: /* @__PURE__ */ i("sup", {}) }, shouldUnescape: !0 }) }),
|
|
2053
2073
|
/* @__PURE__ */ m("div", { className: I.legendListContainer, children: [
|
|
2054
2074
|
r ? /* @__PURE__ */ m("div", { className: I.absoluteValueContainer, children: [
|
|
2055
2075
|
/* @__PURE__ */ i(
|
|
@@ -2079,16 +2099,16 @@ const On = "_legendContainer_qs4x9_3", Rn = "_closeButton_qs4x9_31", qn = "_titl
|
|
|
2079
2099
|
] })
|
|
2080
2100
|
] })
|
|
2081
2101
|
] }) : o && o.length > 0 && /* @__PURE__ */ i("div", { className: I.gridContainer, children: o.map(
|
|
2082
|
-
({ title:
|
|
2102
|
+
({ title: h, color: p }) => /* @__PURE__ */ m("div", { className: I.elementLegendContainer, children: [
|
|
2083
2103
|
/* @__PURE__ */ i(
|
|
2084
2104
|
"div",
|
|
2085
2105
|
{
|
|
2086
2106
|
className: I.colorDot,
|
|
2087
|
-
style: { backgroundColor:
|
|
2107
|
+
style: { backgroundColor: p }
|
|
2088
2108
|
}
|
|
2089
2109
|
),
|
|
2090
2110
|
/* @__PURE__ */ m("div", { className: I.titleLegendElement, children: [
|
|
2091
|
-
u(
|
|
2111
|
+
u(h),
|
|
2092
2112
|
" "
|
|
2093
2113
|
] })
|
|
2094
2114
|
] }, d)
|
|
@@ -2111,7 +2131,7 @@ const On = "_legendContainer_qs4x9_3", Rn = "_closeButton_qs4x9_31", qn = "_titl
|
|
|
2111
2131
|
}
|
|
2112
2132
|
);
|
|
2113
2133
|
};
|
|
2114
|
-
|
|
2134
|
+
n0.propTypes = {
|
|
2115
2135
|
title: e.string,
|
|
2116
2136
|
containerStyles: e.object,
|
|
2117
2137
|
infoList: e.arrayOf(
|
|
@@ -2138,23 +2158,23 @@ Xn.propTypes = {
|
|
|
2138
2158
|
onClickClose: e.func,
|
|
2139
2159
|
noDataColor: e.string
|
|
2140
2160
|
};
|
|
2141
|
-
const
|
|
2142
|
-
logo:
|
|
2143
|
-
},
|
|
2161
|
+
const i0 = "_logo_1ewa6_2", st = {
|
|
2162
|
+
logo: i0
|
|
2163
|
+
}, s0 = ({ src: n, alt: d, href: s }) => {
|
|
2144
2164
|
const { t: o } = $(), t = /* @__PURE__ */ i("img", { src: n, alt: o(d) });
|
|
2145
|
-
return s ? /* @__PURE__ */ i("div", { className:
|
|
2165
|
+
return s ? /* @__PURE__ */ i("div", { className: st.logo, children: /* @__PURE__ */ i("a", { href: s, children: t }) }) : /* @__PURE__ */ i("div", { className: st.logo, children: t });
|
|
2146
2166
|
};
|
|
2147
|
-
|
|
2167
|
+
s0.propTypes = {
|
|
2148
2168
|
src: e.string.isRequired,
|
|
2149
2169
|
alt: e.string.isRequired,
|
|
2150
2170
|
href: e.string,
|
|
2151
2171
|
className: e.string
|
|
2152
2172
|
};
|
|
2153
|
-
const
|
|
2154
|
-
mapContainer:
|
|
2173
|
+
const o0 = "_mapContainer_84pkf_2", r0 = {
|
|
2174
|
+
mapContainer: o0
|
|
2155
2175
|
};
|
|
2156
|
-
|
|
2157
|
-
const
|
|
2176
|
+
Ot.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
|
|
2177
|
+
const a0 = ({
|
|
2158
2178
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2159
2179
|
maxZoom: d = 17,
|
|
2160
2180
|
minZoom: s = 8,
|
|
@@ -2165,21 +2185,21 @@ const i0 = ({
|
|
|
2165
2185
|
interactiveLayers: l = [],
|
|
2166
2186
|
popUp: c = !1,
|
|
2167
2187
|
sources: u = [],
|
|
2168
|
-
layers:
|
|
2188
|
+
layers: h = []
|
|
2169
2189
|
}) => {
|
|
2170
|
-
const
|
|
2190
|
+
const p = se(), [f, y] = V(null), v = qt((_) => _.mapState.showTexts);
|
|
2171
2191
|
return F(() => {
|
|
2172
|
-
if (
|
|
2173
|
-
const
|
|
2174
|
-
|
|
2175
|
-
C.type == "symbol" && C.id != "professionals" && (
|
|
2192
|
+
if (p.current) {
|
|
2193
|
+
const _ = p.current.getMap();
|
|
2194
|
+
_.getStyle().layers.map((C) => {
|
|
2195
|
+
C.type == "symbol" && C.id != "professionals" && (v ? _.setLayoutProperty(C.id, "visibility", "visible") : _.setLayoutProperty(C.id, "visibility", "none"));
|
|
2176
2196
|
});
|
|
2177
2197
|
}
|
|
2178
|
-
}, [
|
|
2179
|
-
|
|
2198
|
+
}, [v]), /* @__PURE__ */ i("div", { className: `${r0.mapContainer}`, style: r, children: /* @__PURE__ */ m(
|
|
2199
|
+
Rt,
|
|
2180
2200
|
{
|
|
2181
2201
|
initialViewState: n,
|
|
2182
|
-
ref:
|
|
2202
|
+
ref: p,
|
|
2183
2203
|
hash: !1,
|
|
2184
2204
|
maxZoom: d,
|
|
2185
2205
|
minZoom: s,
|
|
@@ -2187,31 +2207,31 @@ const i0 = ({
|
|
|
2187
2207
|
onClick: a,
|
|
2188
2208
|
interactiveLayerIds: l,
|
|
2189
2209
|
children: [
|
|
2190
|
-
u.length && u.map((
|
|
2191
|
-
|
|
2210
|
+
u.length && u.map((_, g) => /* @__PURE__ */ i(
|
|
2211
|
+
Et,
|
|
2192
2212
|
{
|
|
2193
|
-
...
|
|
2194
|
-
children:
|
|
2195
|
-
if (C.sourceId ==
|
|
2196
|
-
|
|
2213
|
+
..._,
|
|
2214
|
+
children: h.length && h.map((C, b) => {
|
|
2215
|
+
if (C.sourceId == _.id) return /* @__PURE__ */ i(
|
|
2216
|
+
Pt,
|
|
2197
2217
|
{
|
|
2198
2218
|
...C.layer,
|
|
2199
2219
|
beforeId: t
|
|
2200
2220
|
},
|
|
2201
|
-
|
|
2221
|
+
b
|
|
2202
2222
|
);
|
|
2203
2223
|
})
|
|
2204
2224
|
},
|
|
2205
|
-
|
|
2225
|
+
g
|
|
2206
2226
|
)),
|
|
2207
|
-
/* @__PURE__ */ i(
|
|
2208
|
-
c &&
|
|
2209
|
-
|
|
2227
|
+
/* @__PURE__ */ i(jt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2228
|
+
c && f && /* @__PURE__ */ i(
|
|
2229
|
+
zt,
|
|
2210
2230
|
{
|
|
2211
2231
|
longitude: c.longitude,
|
|
2212
2232
|
latitude: c.latitude,
|
|
2213
2233
|
anchor: c.anchor,
|
|
2214
|
-
onClose: () =>
|
|
2234
|
+
onClose: () => y(null),
|
|
2215
2235
|
children: c.content
|
|
2216
2236
|
}
|
|
2217
2237
|
)
|
|
@@ -2219,7 +2239,7 @@ const i0 = ({
|
|
|
2219
2239
|
}
|
|
2220
2240
|
) });
|
|
2221
2241
|
};
|
|
2222
|
-
|
|
2242
|
+
a0.propTypes = {
|
|
2223
2243
|
initialView: e.shape({
|
|
2224
2244
|
latitude: e.number.isRequired,
|
|
2225
2245
|
longitude: e.number.isRequired,
|
|
@@ -2264,25 +2284,25 @@ i0.propTypes = {
|
|
|
2264
2284
|
})
|
|
2265
2285
|
)
|
|
2266
2286
|
};
|
|
2267
|
-
const
|
|
2268
|
-
mapContainer:
|
|
2269
|
-
},
|
|
2270
|
-
FeaturePopUp:
|
|
2271
|
-
title:
|
|
2272
|
-
},
|
|
2287
|
+
const l0 = "_mapContainer_b0pyr_3", c0 = {
|
|
2288
|
+
mapContainer: l0
|
|
2289
|
+
}, d0 = "_FeaturePopUp_mt8l5_2", u0 = "_title_mt8l5_9", ot = {
|
|
2290
|
+
FeaturePopUp: d0,
|
|
2291
|
+
title: u0
|
|
2292
|
+
}, p0 = ({ props: n }) => {
|
|
2273
2293
|
const { t: d } = $();
|
|
2274
|
-
return /* @__PURE__ */ i("div", { className:
|
|
2275
|
-
/* @__PURE__ */ m("span", { className:
|
|
2276
|
-
/* @__PURE__ */ i(
|
|
2294
|
+
return /* @__PURE__ */ i("div", { className: ot.FeaturePopUp, children: n.map((s) => /* @__PURE__ */ m("p", { children: [
|
|
2295
|
+
/* @__PURE__ */ m("span", { className: ot.title, children: [
|
|
2296
|
+
/* @__PURE__ */ i(He, { i18nKey: s.name, components: { sup: /* @__PURE__ */ i("sup", {}) }, shouldUnescape: !0 }),
|
|
2277
2297
|
":"
|
|
2278
2298
|
] }),
|
|
2279
|
-
isNaN(s.value) ? /* @__PURE__ */ i(
|
|
2299
|
+
isNaN(s.value) ? /* @__PURE__ */ i(qe, { children: d(s.value) }) : /* @__PURE__ */ m(qe, { children: [
|
|
2280
2300
|
s.value.toLocaleString("de", { maximumFractionDigits: 2 }),
|
|
2281
2301
|
" ",
|
|
2282
2302
|
d(s.unit)
|
|
2283
2303
|
] })
|
|
2284
2304
|
] })) });
|
|
2285
|
-
},
|
|
2305
|
+
}, m0 = ({
|
|
2286
2306
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2287
2307
|
maxZoom: d = 17,
|
|
2288
2308
|
minZoom: s = 8,
|
|
@@ -2293,44 +2313,44 @@ const s0 = "_mapContainer_b0pyr_3", o0 = {
|
|
|
2293
2313
|
interactiveLayers: l = [],
|
|
2294
2314
|
sources: c = [],
|
|
2295
2315
|
layers: u = [],
|
|
2296
|
-
popUpParams:
|
|
2297
|
-
onClosePopUp:
|
|
2298
|
-
showTexts:
|
|
2299
|
-
hash:
|
|
2316
|
+
popUpParams: h,
|
|
2317
|
+
onClosePopUp: p,
|
|
2318
|
+
showTexts: f,
|
|
2319
|
+
hash: y = !1
|
|
2300
2320
|
}) => {
|
|
2301
|
-
const
|
|
2321
|
+
const v = se();
|
|
2302
2322
|
return F(() => {
|
|
2303
|
-
if (
|
|
2304
|
-
const
|
|
2305
|
-
|
|
2306
|
-
C.type == "symbol" && C.id != "professionals" && (
|
|
2323
|
+
if (v.current) {
|
|
2324
|
+
const _ = v.current.getMap();
|
|
2325
|
+
_.getStyle().layers.map((C) => {
|
|
2326
|
+
C.type == "symbol" && C.id != "professionals" && (f ? _.setLayoutProperty(C.id, "visibility", "visible") : _.setLayoutProperty(C.id, "visibility", "none"));
|
|
2307
2327
|
});
|
|
2308
2328
|
}
|
|
2309
|
-
}, [
|
|
2310
|
-
let
|
|
2311
|
-
return
|
|
2312
|
-
|
|
2329
|
+
}, [f]), F(() => {
|
|
2330
|
+
let _ = new Zt();
|
|
2331
|
+
return De.addProtocol("pmtiles", _.tile), () => {
|
|
2332
|
+
De.removeProtocol("pmtiles");
|
|
2313
2333
|
};
|
|
2314
|
-
}, []), /* @__PURE__ */ i("div", { className: `${
|
|
2315
|
-
|
|
2334
|
+
}, []), /* @__PURE__ */ i("div", { className: `${c0.mapContainer}`, style: r && r, children: /* @__PURE__ */ m(
|
|
2335
|
+
Ht,
|
|
2316
2336
|
{
|
|
2317
|
-
mapLib:
|
|
2337
|
+
mapLib: De,
|
|
2318
2338
|
initialViewState: n,
|
|
2319
|
-
ref:
|
|
2320
|
-
hash:
|
|
2339
|
+
ref: v,
|
|
2340
|
+
hash: y,
|
|
2321
2341
|
maxZoom: d,
|
|
2322
2342
|
minZoom: s,
|
|
2323
2343
|
mapStyle: o,
|
|
2324
2344
|
onClick: a,
|
|
2325
2345
|
interactiveLayerIds: l,
|
|
2326
2346
|
children: [
|
|
2327
|
-
c.length && c.map((
|
|
2328
|
-
|
|
2347
|
+
c.length && c.map((_, g) => /* @__PURE__ */ i(
|
|
2348
|
+
Kt,
|
|
2329
2349
|
{
|
|
2330
|
-
...
|
|
2331
|
-
children: u.length && u.map((C,
|
|
2332
|
-
if (console.log(C), C.sourceId ==
|
|
2333
|
-
|
|
2350
|
+
..._,
|
|
2351
|
+
children: u.length && u.map((C, b) => {
|
|
2352
|
+
if (console.log(C), C.sourceId == _.id) return /* @__PURE__ */ i(
|
|
2353
|
+
Ut,
|
|
2334
2354
|
{
|
|
2335
2355
|
...C.layer,
|
|
2336
2356
|
beforeId: t,
|
|
@@ -2339,27 +2359,27 @@ const s0 = "_mapContainer_b0pyr_3", o0 = {
|
|
|
2339
2359
|
visibility: C.layer.visibility || "visible"
|
|
2340
2360
|
}
|
|
2341
2361
|
},
|
|
2342
|
-
|
|
2362
|
+
b
|
|
2343
2363
|
);
|
|
2344
2364
|
})
|
|
2345
2365
|
},
|
|
2346
|
-
|
|
2366
|
+
g
|
|
2347
2367
|
)),
|
|
2348
|
-
/* @__PURE__ */ i(
|
|
2349
|
-
|
|
2350
|
-
|
|
2368
|
+
/* @__PURE__ */ i(Gt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2369
|
+
h && /* @__PURE__ */ i(
|
|
2370
|
+
Wt,
|
|
2351
2371
|
{
|
|
2352
|
-
longitude:
|
|
2353
|
-
latitude:
|
|
2354
|
-
onClose:
|
|
2355
|
-
children: /* @__PURE__ */ i(
|
|
2372
|
+
longitude: h.lng,
|
|
2373
|
+
latitude: h.lat,
|
|
2374
|
+
onClose: p,
|
|
2375
|
+
children: /* @__PURE__ */ i(p0, { props: h.props })
|
|
2356
2376
|
}
|
|
2357
2377
|
)
|
|
2358
2378
|
]
|
|
2359
2379
|
}
|
|
2360
2380
|
) });
|
|
2361
2381
|
};
|
|
2362
|
-
|
|
2382
|
+
m0.propTypes = {
|
|
2363
2383
|
initialView: e.shape({
|
|
2364
2384
|
latitude: e.number.isRequired,
|
|
2365
2385
|
longitude: e.number.isRequired,
|
|
@@ -2403,14 +2423,14 @@ c0.propTypes = {
|
|
|
2403
2423
|
popUpParams: e.object,
|
|
2404
2424
|
onClosePopUp: e.func
|
|
2405
2425
|
};
|
|
2406
|
-
const
|
|
2407
|
-
sectionBar:
|
|
2408
|
-
leftContent:
|
|
2409
|
-
textContainer:
|
|
2410
|
-
title:
|
|
2411
|
-
subtitle:
|
|
2412
|
-
rightContent:
|
|
2413
|
-
},
|
|
2426
|
+
const h0 = "_sectionBar_1egwc_2", g0 = "_leftContent_1egwc_14", C0 = "_textContainer_1egwc_20", f0 = "_title_1egwc_27", b0 = "_subtitle_1egwc_33", y0 = "_rightContent_1egwc_38", ee = {
|
|
2427
|
+
sectionBar: h0,
|
|
2428
|
+
leftContent: g0,
|
|
2429
|
+
textContainer: C0,
|
|
2430
|
+
title: f0,
|
|
2431
|
+
subtitle: b0,
|
|
2432
|
+
rightContent: y0
|
|
2433
|
+
}, _0 = ({
|
|
2414
2434
|
leftIcon: n,
|
|
2415
2435
|
title: d,
|
|
2416
2436
|
subtitle: s,
|
|
@@ -2430,7 +2450,7 @@ const d0 = "_sectionBar_1egwc_2", u0 = "_leftContent_1egwc_14", p0 = "_textConta
|
|
|
2430
2450
|
/* @__PURE__ */ i("div", { className: ee.rightContent, children: o })
|
|
2431
2451
|
] });
|
|
2432
2452
|
};
|
|
2433
|
-
|
|
2453
|
+
_0.propTypes = {
|
|
2434
2454
|
leftIcon: e.string,
|
|
2435
2455
|
// URL del icono de la sección
|
|
2436
2456
|
title: e.string.isRequired,
|
|
@@ -2444,7 +2464,7 @@ C0.propTypes = {
|
|
|
2444
2464
|
width: e.oneOfType([e.string, e.number])
|
|
2445
2465
|
// ancho de la barra
|
|
2446
2466
|
};
|
|
2447
|
-
const
|
|
2467
|
+
const v0 = Yt({
|
|
2448
2468
|
name: "mapSlice",
|
|
2449
2469
|
initialState: {
|
|
2450
2470
|
showTexts: !0,
|
|
@@ -2470,12 +2490,12 @@ const f0 = Gt({
|
|
|
2470
2490
|
n.activeIndicatorUnit = d.payload;
|
|
2471
2491
|
}
|
|
2472
2492
|
}
|
|
2473
|
-
}), { setShowTexts:
|
|
2474
|
-
slider:
|
|
2475
|
-
playButton:
|
|
2476
|
-
sliderOpen:
|
|
2477
|
-
sliderResults:
|
|
2478
|
-
},
|
|
2493
|
+
}), { setShowTexts: po, setYear: mo, setActiveIndicatorKey: ho, setActiveIndicatorType: go, setActiveIndicatorUnit: Co } = v0.actions, w0 = "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", x0 = "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", k0 = "_slider_1prh1_2", N0 = "_playButton_1prh1_14", S0 = "_sliderOpen_1prh1_25", $0 = "_sliderResults_1prh1_29", ge = {
|
|
2494
|
+
slider: k0,
|
|
2495
|
+
playButton: N0,
|
|
2496
|
+
sliderOpen: S0,
|
|
2497
|
+
sliderResults: $0
|
|
2498
|
+
}, B0 = ({
|
|
2479
2499
|
onResults: n = !1,
|
|
2480
2500
|
defaultYear: d = 2025,
|
|
2481
2501
|
firstYear: s = 2025,
|
|
@@ -2486,14 +2506,14 @@ const f0 = Gt({
|
|
|
2486
2506
|
console.log("year changed to ", l);
|
|
2487
2507
|
}
|
|
2488
2508
|
}) => {
|
|
2489
|
-
const [l, c] = V(d), u = (C,
|
|
2490
|
-
c(
|
|
2491
|
-
}, [
|
|
2492
|
-
|
|
2493
|
-
},
|
|
2494
|
-
|
|
2509
|
+
const [l, c] = V(d), u = (C, b) => {
|
|
2510
|
+
c(b), a(b);
|
|
2511
|
+
}, [h, p] = V(!1), f = () => {
|
|
2512
|
+
p(!0);
|
|
2513
|
+
}, y = () => {
|
|
2514
|
+
p(!1);
|
|
2495
2515
|
};
|
|
2496
|
-
((C,
|
|
2516
|
+
((C, b) => {
|
|
2497
2517
|
const x = se();
|
|
2498
2518
|
F(() => {
|
|
2499
2519
|
x.current = C;
|
|
@@ -2502,14 +2522,14 @@ const f0 = Gt({
|
|
|
2502
2522
|
x.current();
|
|
2503
2523
|
}
|
|
2504
2524
|
{
|
|
2505
|
-
let
|
|
2506
|
-
return () => clearInterval(
|
|
2525
|
+
let k = setInterval(w, b);
|
|
2526
|
+
return () => clearInterval(k);
|
|
2507
2527
|
}
|
|
2508
|
-
}, [
|
|
2528
|
+
}, [b]);
|
|
2509
2529
|
})(() => {
|
|
2510
|
-
|
|
2530
|
+
h && (l != 2050 ? (c(l + 1), a(l + 1)) : (c(2025), a(2025)));
|
|
2511
2531
|
}, 1e3);
|
|
2512
|
-
const
|
|
2532
|
+
const _ = Xt({
|
|
2513
2533
|
palette: {
|
|
2514
2534
|
primary: {
|
|
2515
2535
|
main: "#605b56"
|
|
@@ -2531,14 +2551,14 @@ const f0 = Gt({
|
|
|
2531
2551
|
}
|
|
2532
2552
|
}
|
|
2533
2553
|
}
|
|
2534
|
-
}),
|
|
2554
|
+
}), g = [
|
|
2535
2555
|
{ label: "", value: 2025 },
|
|
2536
2556
|
{ label: "", value: 2032 },
|
|
2537
2557
|
{ label: "", value: 2041 },
|
|
2538
2558
|
{ label: "", value: 2050 }
|
|
2539
2559
|
];
|
|
2540
|
-
return /* @__PURE__ */ i(
|
|
2541
|
-
|
|
2560
|
+
return /* @__PURE__ */ i(e2, { theme: _, children: /* @__PURE__ */ m(
|
|
2561
|
+
Jt,
|
|
2542
2562
|
{
|
|
2543
2563
|
sx: { width: 400 },
|
|
2544
2564
|
className: `${n ? ge.sliderResults : ge.slider} ${r ? ge.sliderOpen : ""}`,
|
|
@@ -2546,13 +2566,13 @@ const f0 = Gt({
|
|
|
2546
2566
|
children: [
|
|
2547
2567
|
s,
|
|
2548
2568
|
/* @__PURE__ */ i(
|
|
2549
|
-
|
|
2569
|
+
Qt,
|
|
2550
2570
|
{
|
|
2551
2571
|
"aria-label": "TimeSlider",
|
|
2552
2572
|
value: l,
|
|
2553
2573
|
valueLabelDisplay: "on",
|
|
2554
2574
|
step: 1,
|
|
2555
|
-
marks:
|
|
2575
|
+
marks: g,
|
|
2556
2576
|
min: s,
|
|
2557
2577
|
max: o,
|
|
2558
2578
|
onChange: u,
|
|
@@ -2561,13 +2581,13 @@ const f0 = Gt({
|
|
|
2561
2581
|
}
|
|
2562
2582
|
),
|
|
2563
2583
|
o,
|
|
2564
|
-
!
|
|
2565
|
-
|
|
2584
|
+
!h && /* @__PURE__ */ i("button", { className: ge.playButton, onClick: f, children: /* @__PURE__ */ i("img", { src: w0, alt: "Play" }) }),
|
|
2585
|
+
h && /* @__PURE__ */ i("button", { className: ge.playButton, onClick: y, children: /* @__PURE__ */ i("img", { src: x0, alt: "Pause" }) })
|
|
2566
2586
|
]
|
|
2567
2587
|
}
|
|
2568
2588
|
) });
|
|
2569
2589
|
};
|
|
2570
|
-
|
|
2590
|
+
B0.propTypes = {
|
|
2571
2591
|
defaultYear: e.number,
|
|
2572
2592
|
onResults: e.bool,
|
|
2573
2593
|
firstYear: e.number,
|
|
@@ -2576,11 +2596,11 @@ N0.propTypes = {
|
|
|
2576
2596
|
rightBarOpen: e.bool,
|
|
2577
2597
|
onChange: e.func
|
|
2578
2598
|
};
|
|
2579
|
-
const
|
|
2580
|
-
TopNavMenuContainer:
|
|
2581
|
-
topNavOptions:
|
|
2582
|
-
active:
|
|
2583
|
-
},
|
|
2599
|
+
const T0 = "_TopNavMenuContainer_12mp4_2", L0 = "_topNavOptions_12mp4_13", M0 = "_active_12mp4_27", Ie = {
|
|
2600
|
+
TopNavMenuContainer: T0,
|
|
2601
|
+
topNavOptions: L0,
|
|
2602
|
+
active: M0
|
|
2603
|
+
}, D0 = ({
|
|
2584
2604
|
options: n = [],
|
|
2585
2605
|
containerStyles: d,
|
|
2586
2606
|
borderColor: s = "red",
|
|
@@ -2591,7 +2611,7 @@ const k0 = "_TopNavMenuContainer_12mp4_2", S0 = "_topNavOptions_12mp4_13", $0 =
|
|
|
2591
2611
|
}) => {
|
|
2592
2612
|
const { t: r } = $();
|
|
2593
2613
|
return /* @__PURE__ */ i("div", { className: Ie.TopNavMenuContainer, style: { ...d }, children: n.map((a, l) => /* @__PURE__ */ i(
|
|
2594
|
-
|
|
2614
|
+
t2,
|
|
2595
2615
|
{
|
|
2596
2616
|
to: a.url,
|
|
2597
2617
|
className: ({ isActive: c }) => `${Ie.topNavOptions} ${c ? Ie.active : ""} `,
|
|
@@ -2605,7 +2625,7 @@ const k0 = "_TopNavMenuContainer_12mp4_2", S0 = "_topNavOptions_12mp4_13", $0 =
|
|
|
2605
2625
|
l
|
|
2606
2626
|
)) });
|
|
2607
2627
|
};
|
|
2608
|
-
|
|
2628
|
+
D0.propTypes = {
|
|
2609
2629
|
options: e.arrayOf(e.object),
|
|
2610
2630
|
cssProps: e.shape({
|
|
2611
2631
|
borderColor: e.string.isRequired,
|
|
@@ -2615,9 +2635,9 @@ B0.propTypes = {
|
|
|
2615
2635
|
// activeColor: PropTypes.string,
|
|
2616
2636
|
// defaultColor: PropTypes.string
|
|
2617
2637
|
};
|
|
2618
|
-
const
|
|
2619
|
-
LogInButton:
|
|
2620
|
-
},
|
|
2638
|
+
const F0 = "_LogInButton_1vxj5_2", V0 = {
|
|
2639
|
+
LogInButton: F0
|
|
2640
|
+
}, A0 = ({
|
|
2621
2641
|
cssClass: n,
|
|
2622
2642
|
notLoggedInLabel: d = "Log in",
|
|
2623
2643
|
loggedInLabel: s = "Log out",
|
|
@@ -2636,13 +2656,13 @@ const L0 = "_LogInButton_1vxj5_2", T0 = {
|
|
|
2636
2656
|
"div",
|
|
2637
2657
|
{
|
|
2638
2658
|
style: { ...o },
|
|
2639
|
-
className: `${
|
|
2659
|
+
className: `${V0.LogInButton} link ${n}`,
|
|
2640
2660
|
onClick: r ? l : a,
|
|
2641
2661
|
children: r ? t || c(s) : c(d)
|
|
2642
2662
|
}
|
|
2643
2663
|
);
|
|
2644
2664
|
};
|
|
2645
|
-
|
|
2665
|
+
A0.propTypes = {
|
|
2646
2666
|
cssClass: e.string,
|
|
2647
2667
|
notLoggedInLabel: e.string,
|
|
2648
2668
|
loggedInLabel: e.string,
|
|
@@ -2650,27 +2670,27 @@ M0.propTypes = {
|
|
|
2650
2670
|
userName: e.string,
|
|
2651
2671
|
isLoggedIn: e.bool
|
|
2652
2672
|
};
|
|
2653
|
-
const
|
|
2654
|
-
elementSelector:
|
|
2655
|
-
header:
|
|
2656
|
-
nameDateContainer:
|
|
2657
|
-
elementName:
|
|
2658
|
-
elementDate:
|
|
2659
|
-
buttonsContainer:
|
|
2660
|
-
elementListContainer:
|
|
2661
|
-
newElementButtonContainer:
|
|
2662
|
-
},
|
|
2663
|
-
listElement:
|
|
2664
|
-
elementNameDate:
|
|
2665
|
-
elementNameContainer:
|
|
2666
|
-
elementName:
|
|
2667
|
-
elementDate:
|
|
2668
|
-
elementButtons:
|
|
2673
|
+
const I0 = "_elementSelector_1qdhv_2", O0 = "_header_1qdhv_13", q0 = "_nameDateContainer_1qdhv_23", R0 = "_elementName_1qdhv_39", E0 = "_elementDate_1qdhv_53", P0 = "_buttonsContainer_1qdhv_67", j0 = "_elementListContainer_1qdhv_76", z0 = "_newElementButtonContainer_1qdhv_80", K = {
|
|
2674
|
+
elementSelector: I0,
|
|
2675
|
+
header: O0,
|
|
2676
|
+
nameDateContainer: q0,
|
|
2677
|
+
elementName: R0,
|
|
2678
|
+
elementDate: E0,
|
|
2679
|
+
buttonsContainer: P0,
|
|
2680
|
+
elementListContainer: j0,
|
|
2681
|
+
newElementButtonContainer: z0
|
|
2682
|
+
}, Z0 = "_listElement_1s506_2", H0 = "_elementNameDate_1s506_17", K0 = "_elementNameContainer_1s506_27", U0 = "_elementName_1s506_17", G0 = "_elementDate_1s506_42", W0 = "_elementButtons_1s506_45", Y0 = "_moreInfoContainer_1s506_68", Q0 = "_moreInfo_1s506_68", Z = {
|
|
2683
|
+
listElement: Z0,
|
|
2684
|
+
elementNameDate: H0,
|
|
2685
|
+
elementNameContainer: K0,
|
|
2686
|
+
elementName: U0,
|
|
2687
|
+
elementDate: G0,
|
|
2688
|
+
elementButtons: W0,
|
|
2669
2689
|
break: "_break_1s506_63",
|
|
2670
|
-
moreInfoContainer:
|
|
2671
|
-
moreInfo:
|
|
2672
|
-
}, G0 = "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", W0 = "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", Y0 = "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", Q0 = "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", X0 = "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";
|
|
2673
|
-
var
|
|
2690
|
+
moreInfoContainer: Y0,
|
|
2691
|
+
moreInfo: Q0
|
|
2692
|
+
}, X0 = "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", J0 = "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", ei = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='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", 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='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", ni = "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";
|
|
2693
|
+
var rt;
|
|
2674
2694
|
function ze() {
|
|
2675
2695
|
return ze = Object.assign ? Object.assign.bind() : function(n) {
|
|
2676
2696
|
for (var d = 1; d < arguments.length; d++) {
|
|
@@ -2680,13 +2700,13 @@ function ze() {
|
|
|
2680
2700
|
return n;
|
|
2681
2701
|
}, ze.apply(null, arguments);
|
|
2682
2702
|
}
|
|
2683
|
-
var
|
|
2703
|
+
var ii = function(d) {
|
|
2684
2704
|
return /* @__PURE__ */ pe.createElement("svg", ze({
|
|
2685
2705
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2686
2706
|
width: 26,
|
|
2687
2707
|
height: 14,
|
|
2688
2708
|
fill: "none"
|
|
2689
|
-
}, d),
|
|
2709
|
+
}, d), rt || (rt = /* @__PURE__ */ pe.createElement("g", {
|
|
2690
2710
|
fill: "currentColor"
|
|
2691
2711
|
}, /* @__PURE__ */ pe.createElement("path", {
|
|
2692
2712
|
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"
|
|
@@ -2694,7 +2714,7 @@ var J0 = function(d) {
|
|
|
2694
2714
|
d: "M12.951 10.297a3.307 3.307 0 1 0 0-6.614 3.307 3.307 0 0 0 0 6.614"
|
|
2695
2715
|
}))));
|
|
2696
2716
|
};
|
|
2697
|
-
const
|
|
2717
|
+
const si = "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", Nt = ({
|
|
2698
2718
|
listelement: n,
|
|
2699
2719
|
onClickElement: d,
|
|
2700
2720
|
isActive: s,
|
|
@@ -2705,61 +2725,61 @@ const ei = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2705
2725
|
elementButtons: l,
|
|
2706
2726
|
processTooltip: c,
|
|
2707
2727
|
defaultTooltip: u,
|
|
2708
|
-
showEye:
|
|
2728
|
+
showEye: h = !0
|
|
2709
2729
|
}) => {
|
|
2710
|
-
const { name:
|
|
2730
|
+
const { name: p, created_at: f, id: y, isBeingProcessed: v } = n, [_, g] = V(!1), { t: C } = $();
|
|
2711
2731
|
return /* @__PURE__ */ m(
|
|
2712
2732
|
"div",
|
|
2713
2733
|
{
|
|
2714
2734
|
className: Z.listElement,
|
|
2715
2735
|
style: { borderBottom: `1px solid ${t}` },
|
|
2716
2736
|
children: [
|
|
2717
|
-
/* @__PURE__ */ i("div", { className: Z.elementNameDate, onClick: () => d(
|
|
2718
|
-
|
|
2737
|
+
/* @__PURE__ */ i("div", { className: Z.elementNameDate, onClick: () => d(y), children: Object.keys(a).map((b) => b === "name" ? /* @__PURE__ */ i("div", { className: Z.elementNameContainer, children: /* @__PURE__ */ m("div", { className: Z.elementName, children: [
|
|
2738
|
+
h && (s ? /* @__PURE__ */ i(ii, { style: { color: o, marginRight: 9 } }) : /* @__PURE__ */ i(
|
|
2719
2739
|
"img",
|
|
2720
2740
|
{
|
|
2721
2741
|
style: { marginRight: 9 },
|
|
2722
|
-
src:
|
|
2742
|
+
src: si,
|
|
2723
2743
|
alt: "eye"
|
|
2724
2744
|
}
|
|
2725
2745
|
)),
|
|
2726
|
-
/* @__PURE__ */ i("span", { style: { color: s ? o : t }, children:
|
|
2727
|
-
] }) }) :
|
|
2746
|
+
/* @__PURE__ */ i("span", { style: { color: s ? o : t }, children: p })
|
|
2747
|
+
] }) }) : b == "data" ? /* @__PURE__ */ i("div", { className: Z.elementDate, children: f ? new Date(f).toLocaleDateString() : "" }) : /* @__PURE__ */ i("div", { className: Z.elementDate, children: n[b] })) }),
|
|
2728
2748
|
/* @__PURE__ */ m("div", { className: Z.elementButtons, children: [
|
|
2729
2749
|
n.processing && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
2730
|
-
/* @__PURE__ */ i("img", { src:
|
|
2750
|
+
/* @__PURE__ */ i("img", { src: ti }),
|
|
2731
2751
|
/* @__PURE__ */ i(ie, { text: c, position: "left" })
|
|
2732
2752
|
] }),
|
|
2733
2753
|
l.filter && !n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
2734
|
-
/* @__PURE__ */ i("button", { onClick: () => l.filter.onclick(n), children: /* @__PURE__ */ i("img", { src:
|
|
2754
|
+
/* @__PURE__ */ i("button", { onClick: () => l.filter.onclick(n), children: /* @__PURE__ */ i("img", { src: ei }) }),
|
|
2735
2755
|
/* @__PURE__ */ i(ie, { text: l.filter.tooltiptext, position: "left" })
|
|
2736
2756
|
] }),
|
|
2737
2757
|
l.copy && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
2738
|
-
/* @__PURE__ */ i("button", { onClick: () => l.copy.onclick(n), children: /* @__PURE__ */ i("img", { src:
|
|
2758
|
+
/* @__PURE__ */ i("button", { onClick: () => l.copy.onclick(n), children: /* @__PURE__ */ i("img", { src: J0 }) }),
|
|
2739
2759
|
/* @__PURE__ */ i(ie, { text: l.copy.tooltiptext, position: "left" })
|
|
2740
2760
|
] }),
|
|
2741
2761
|
l.trash && !n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
2742
|
-
/* @__PURE__ */ i("button", { onClick: () => l.trash.onclick(n), children: /* @__PURE__ */ i("img", { src:
|
|
2762
|
+
/* @__PURE__ */ i("button", { onClick: () => l.trash.onclick(n), children: /* @__PURE__ */ i("img", { src: X0 }) }),
|
|
2743
2763
|
/* @__PURE__ */ i(ie, { text: l.trash.tooltiptext, position: "left" })
|
|
2744
2764
|
] }),
|
|
2745
2765
|
n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
2746
|
-
/* @__PURE__ */ i("img", { src:
|
|
2766
|
+
/* @__PURE__ */ i("img", { src: ni }),
|
|
2747
2767
|
/* @__PURE__ */ i(ie, { text: u, position: "left" })
|
|
2748
2768
|
] })
|
|
2749
2769
|
] }),
|
|
2750
2770
|
r && /* @__PURE__ */ i("div", { className: Z.break }),
|
|
2751
2771
|
r && /* @__PURE__ */ m("div", { className: Z.moreInfoContainer, children: [
|
|
2752
|
-
/* @__PURE__ */ m("div", { className: Z.moreInfo, onClick: () =>
|
|
2753
|
-
/* @__PURE__ */ i("span", { children:
|
|
2772
|
+
/* @__PURE__ */ m("div", { className: Z.moreInfo, onClick: () => g(!_), children: [
|
|
2773
|
+
/* @__PURE__ */ i("span", { children: _ ? "-" : "+" }),
|
|
2754
2774
|
C(r.label)
|
|
2755
2775
|
] }),
|
|
2756
|
-
r &&
|
|
2776
|
+
r && _ && /* @__PURE__ */ i("div", { className: Z.moreInfoInfo, children: n[r.info] })
|
|
2757
2777
|
] })
|
|
2758
2778
|
]
|
|
2759
2779
|
}
|
|
2760
2780
|
);
|
|
2761
2781
|
};
|
|
2762
|
-
|
|
2782
|
+
Nt.propTypes = {
|
|
2763
2783
|
listelement: e.shape({
|
|
2764
2784
|
name: e.string.isRequired,
|
|
2765
2785
|
created_at: e.string,
|
|
@@ -2795,7 +2815,7 @@ xt.propTypes = {
|
|
|
2795
2815
|
defaultTooltip: e.string,
|
|
2796
2816
|
showEye: e.bool
|
|
2797
2817
|
};
|
|
2798
|
-
const
|
|
2818
|
+
const at = "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", oi = ({
|
|
2799
2819
|
elementsList: n,
|
|
2800
2820
|
activeElementId: d,
|
|
2801
2821
|
fontColor: s = "#605B56",
|
|
@@ -2804,84 +2824,84 @@ const ot = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2804
2824
|
containerStyles: r = {},
|
|
2805
2825
|
newElementButton: a,
|
|
2806
2826
|
//{label: 'text', onClick: function(), disabled}/null
|
|
2807
|
-
onClickElement: l = (
|
|
2827
|
+
onClickElement: l = (v) => console.log(`OnCLickElement: ${v}`),
|
|
2808
2828
|
columns: c,
|
|
2809
2829
|
// {'name': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
|
|
2810
2830
|
elementButtons: u,
|
|
2811
2831
|
//{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
|
|
2812
|
-
moreInfo:
|
|
2832
|
+
moreInfo: h = !1,
|
|
2813
2833
|
//{label: 'x'}
|
|
2814
|
-
processTooltip:
|
|
2834
|
+
processTooltip: p,
|
|
2815
2835
|
//texto para el tooltip del simbolo "En proceso"
|
|
2816
|
-
defaultTooltip:
|
|
2836
|
+
defaultTooltip: f,
|
|
2817
2837
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
2818
|
-
showEye:
|
|
2838
|
+
showEye: y = !0
|
|
2819
2839
|
}) => {
|
|
2820
|
-
const { t:
|
|
2840
|
+
const { t: v } = $(), [_, g] = V(n);
|
|
2821
2841
|
F(() => {
|
|
2822
|
-
n &&
|
|
2842
|
+
n && g(n);
|
|
2823
2843
|
}, [n]);
|
|
2824
|
-
const C = (
|
|
2825
|
-
if (
|
|
2826
|
-
let x = [...
|
|
2827
|
-
x.sort((w,
|
|
2844
|
+
const C = (b) => {
|
|
2845
|
+
if (_ && _.length > 0) {
|
|
2846
|
+
let x = [..._];
|
|
2847
|
+
x.sort((w, k) => w[b].localeCompare(k[b])), g(x);
|
|
2828
2848
|
}
|
|
2829
2849
|
};
|
|
2830
2850
|
return /* @__PURE__ */ m(
|
|
2831
2851
|
"div",
|
|
2832
2852
|
{
|
|
2833
|
-
className:
|
|
2853
|
+
className: K.elementSelector,
|
|
2834
2854
|
style: { color: s, ...r },
|
|
2835
2855
|
children: [
|
|
2836
2856
|
/* @__PURE__ */ m(
|
|
2837
2857
|
"div",
|
|
2838
2858
|
{
|
|
2839
|
-
className:
|
|
2859
|
+
className: K.header,
|
|
2840
2860
|
style: { borderBottom: `1px solid ${s}` },
|
|
2841
2861
|
children: [
|
|
2842
|
-
/* @__PURE__ */ i("div", { className:
|
|
2843
|
-
/* @__PURE__ */ i("span", { children:
|
|
2844
|
-
/* @__PURE__ */ i("img", { src:
|
|
2845
|
-
] }) },
|
|
2846
|
-
/* @__PURE__ */ i("span", { children:
|
|
2847
|
-
/* @__PURE__ */ i("img", { src:
|
|
2848
|
-
] }) },
|
|
2849
|
-
/* @__PURE__ */ i("div", { className:
|
|
2862
|
+
/* @__PURE__ */ i("div", { className: K.nameDateContainer, children: Object.keys(c).map((b) => b === "name" ? /* @__PURE__ */ i("div", { className: K.elementName, children: /* @__PURE__ */ m("button", { onClick: () => C("name"), children: [
|
|
2863
|
+
/* @__PURE__ */ i("span", { children: v(c.name) }),
|
|
2864
|
+
/* @__PURE__ */ i("img", { src: at, alt: "order arrow" })
|
|
2865
|
+
] }) }, b) : b === "data" ? /* @__PURE__ */ i("div", { className: K.elementDate, children: /* @__PURE__ */ m("button", { onClick: () => C("date"), children: [
|
|
2866
|
+
/* @__PURE__ */ i("span", { children: v(c.data) }),
|
|
2867
|
+
/* @__PURE__ */ i("img", { src: at, alt: "order arrow" })
|
|
2868
|
+
] }) }, b) : /* @__PURE__ */ i("div", { className: K.elementDate, children: /* @__PURE__ */ i("span", { children: v(c[b]) }) }, b)) }),
|
|
2869
|
+
/* @__PURE__ */ i("div", { className: K.buttonsContainer })
|
|
2850
2870
|
]
|
|
2851
2871
|
}
|
|
2852
2872
|
),
|
|
2853
|
-
/* @__PURE__ */ i("div", { className:
|
|
2854
|
-
|
|
2873
|
+
/* @__PURE__ */ i("div", { className: K.elementListContainer, children: _ && _.length > 0 && _.map((b) => /* @__PURE__ */ i(
|
|
2874
|
+
Nt,
|
|
2855
2875
|
{
|
|
2856
|
-
isActive: d ==
|
|
2857
|
-
listelement:
|
|
2876
|
+
isActive: d == b.id,
|
|
2877
|
+
listelement: b,
|
|
2858
2878
|
fontColor: s,
|
|
2859
2879
|
activeColor: o,
|
|
2860
2880
|
onClickElement: l,
|
|
2861
2881
|
columns: c,
|
|
2862
2882
|
elementButtons: u,
|
|
2863
|
-
moreInfo:
|
|
2864
|
-
processTooltip:
|
|
2865
|
-
defaultTooltip:
|
|
2866
|
-
showEye:
|
|
2883
|
+
moreInfo: h,
|
|
2884
|
+
processTooltip: p,
|
|
2885
|
+
defaultTooltip: f,
|
|
2886
|
+
showEye: y
|
|
2867
2887
|
},
|
|
2868
|
-
`elementKey${
|
|
2888
|
+
`elementKey${b.id}`
|
|
2869
2889
|
)) }),
|
|
2870
|
-
a && /* @__PURE__ */ i("div", { className:
|
|
2871
|
-
|
|
2890
|
+
a && /* @__PURE__ */ i("div", { className: K.newElementButtonContainer, children: /* @__PURE__ */ i(
|
|
2891
|
+
Me,
|
|
2872
2892
|
{
|
|
2873
2893
|
style: { ...t },
|
|
2874
2894
|
onClick: a.onClick,
|
|
2875
2895
|
borderColor: "grey",
|
|
2876
2896
|
disabled: a.disabled || !1,
|
|
2877
|
-
children:
|
|
2897
|
+
children: v(a.label)
|
|
2878
2898
|
}
|
|
2879
2899
|
) })
|
|
2880
2900
|
]
|
|
2881
2901
|
}
|
|
2882
2902
|
);
|
|
2883
2903
|
};
|
|
2884
|
-
|
|
2904
|
+
oi.propTypes = {
|
|
2885
2905
|
elementsList: e.arrayOf(
|
|
2886
2906
|
e.shape({
|
|
2887
2907
|
name: e.string.isRequired,
|
|
@@ -2928,46 +2948,46 @@ ti.propTypes = {
|
|
|
2928
2948
|
defaultTooltip: e.string,
|
|
2929
2949
|
showEye: e.bool
|
|
2930
2950
|
};
|
|
2931
|
-
const
|
|
2932
|
-
formContainer:
|
|
2933
|
-
categorySelectorContainer:
|
|
2934
|
-
formObjectContainer:
|
|
2935
|
-
buttonContainer:
|
|
2951
|
+
const ri = "_formContainer_asv64_2", ai = "_categorySelectorContainer_asv64_11", li = "_formObjectContainer_asv64_15", ci = "_buttonContainer_asv64_26", Ce = {
|
|
2952
|
+
formContainer: ri,
|
|
2953
|
+
categorySelectorContainer: ai,
|
|
2954
|
+
formObjectContainer: li,
|
|
2955
|
+
buttonContainer: ci
|
|
2936
2956
|
}, fe = {
|
|
2937
2957
|
text: "text",
|
|
2938
2958
|
password: "password",
|
|
2939
2959
|
radioList: "radioList",
|
|
2940
2960
|
select: "select"
|
|
2941
2961
|
};
|
|
2942
|
-
var
|
|
2943
|
-
const
|
|
2944
|
-
var _e = (n) => !
|
|
2962
|
+
var di = (n) => n.type === "checkbox", ui = (n) => n instanceof Date, St = (n) => n == null;
|
|
2963
|
+
const pi = (n) => typeof n == "object";
|
|
2964
|
+
var _e = (n) => !St(n) && !Array.isArray(n) && pi(n) && !ui(n), mi = (n) => _e(n) && n.target ? di(n.target) ? n.target.checked : n.target.value : n, hi = (n) => n.substring(0, n.search(/\.\d+(\.|$)/)) || n, gi = (n, d) => n.has(hi(d)), Ci = (n) => {
|
|
2945
2965
|
const d = n.constructor && n.constructor.prototype;
|
|
2946
2966
|
return _e(d) && d.hasOwnProperty("isPrototypeOf");
|
|
2947
|
-
},
|
|
2948
|
-
function
|
|
2967
|
+
}, fi = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
2968
|
+
function $t(n) {
|
|
2949
2969
|
let d;
|
|
2950
2970
|
const s = Array.isArray(n), o = typeof FileList < "u" ? n instanceof FileList : !1;
|
|
2951
2971
|
if (n instanceof Date)
|
|
2952
2972
|
d = new Date(n);
|
|
2953
|
-
else if (!(
|
|
2954
|
-
if (d = s ? [] : {}, !s && !
|
|
2973
|
+
else if (!(fi && (n instanceof Blob || o)) && (s || _e(n)))
|
|
2974
|
+
if (d = s ? [] : {}, !s && !Ci(n))
|
|
2955
2975
|
d = n;
|
|
2956
2976
|
else
|
|
2957
2977
|
for (const t in n)
|
|
2958
|
-
n.hasOwnProperty(t) && (d[t] =
|
|
2978
|
+
n.hasOwnProperty(t) && (d[t] = $t(n[t]));
|
|
2959
2979
|
else
|
|
2960
2980
|
return n;
|
|
2961
2981
|
return d;
|
|
2962
2982
|
}
|
|
2963
|
-
var
|
|
2983
|
+
var Bt = (n) => /^\w*$/.test(n), Ze = (n) => n === void 0, bi = (n) => Array.isArray(n) ? n.filter(Boolean) : [], Tt = (n) => bi(n.replace(/["|']|\]/g, "").split(/\.|\[/)), P = (n, d, s) => {
|
|
2964
2984
|
if (!d || !_e(n))
|
|
2965
2985
|
return s;
|
|
2966
|
-
const o = (
|
|
2986
|
+
const o = (Bt(d) ? [d] : Tt(d)).reduce((t, r) => St(t) ? t : t[r], n);
|
|
2967
2987
|
return Ze(o) || o === n ? Ze(n[d]) ? s : n[d] : o;
|
|
2968
|
-
}, Oe = (n) => typeof n == "boolean",
|
|
2988
|
+
}, Oe = (n) => typeof n == "boolean", lt = (n, d, s) => {
|
|
2969
2989
|
let o = -1;
|
|
2970
|
-
const t =
|
|
2990
|
+
const t = Bt(d) ? [d] : Tt(d), r = t.length, a = r - 1;
|
|
2971
2991
|
for (; ++o < r; ) {
|
|
2972
2992
|
const l = t[o];
|
|
2973
2993
|
let c = s;
|
|
@@ -2980,15 +3000,15 @@ var St = (n) => /^\w*$/.test(n), Ze = (n) => n === void 0, hi = (n) => Array.isA
|
|
|
2980
3000
|
n[l] = c, n = n[l];
|
|
2981
3001
|
}
|
|
2982
3002
|
};
|
|
2983
|
-
const
|
|
3003
|
+
const ct = {
|
|
2984
3004
|
BLUR: "blur",
|
|
2985
3005
|
CHANGE: "change"
|
|
2986
|
-
},
|
|
3006
|
+
}, dt = {
|
|
2987
3007
|
all: "all"
|
|
2988
|
-
},
|
|
2989
|
-
|
|
2990
|
-
const We = () =>
|
|
2991
|
-
var
|
|
3008
|
+
}, Lt = D.createContext(null);
|
|
3009
|
+
Lt.displayName = "HookFormContext";
|
|
3010
|
+
const We = () => D.useContext(Lt);
|
|
3011
|
+
var yi = (n, d, s, o = !0) => {
|
|
2992
3012
|
const t = {
|
|
2993
3013
|
defaultValues: d._defaultValues
|
|
2994
3014
|
};
|
|
@@ -2996,14 +3016,14 @@ var gi = (n, d, s, o = !0) => {
|
|
|
2996
3016
|
Object.defineProperty(t, r, {
|
|
2997
3017
|
get: () => {
|
|
2998
3018
|
const a = r;
|
|
2999
|
-
return d._proxyFormState[a] !==
|
|
3019
|
+
return d._proxyFormState[a] !== dt.all && (d._proxyFormState[a] = !o || dt.all), s && (s[a] = !0), n[a];
|
|
3000
3020
|
}
|
|
3001
3021
|
});
|
|
3002
3022
|
return t;
|
|
3003
3023
|
};
|
|
3004
|
-
const
|
|
3005
|
-
function
|
|
3006
|
-
const d = We(), { control: s = d.control, disabled: o, name: t, exact: r } = n || {}, [a, l] =
|
|
3024
|
+
const Mt = typeof window < "u" ? pe.useLayoutEffect : pe.useEffect;
|
|
3025
|
+
function _i(n) {
|
|
3026
|
+
const d = We(), { control: s = d.control, disabled: o, name: t, exact: r } = n || {}, [a, l] = D.useState(s._formState), c = D.useRef({
|
|
3007
3027
|
isDirty: !1,
|
|
3008
3028
|
isLoading: !1,
|
|
3009
3029
|
dirtyFields: !1,
|
|
@@ -3013,7 +3033,7 @@ function Ci(n) {
|
|
|
3013
3033
|
isValid: !1,
|
|
3014
3034
|
errors: !1
|
|
3015
3035
|
});
|
|
3016
|
-
return
|
|
3036
|
+
return Mt(() => s._subscribe({
|
|
3017
3037
|
name: t,
|
|
3018
3038
|
formState: c.current,
|
|
3019
3039
|
exact: r,
|
|
@@ -3023,37 +3043,37 @@ function Ci(n) {
|
|
|
3023
3043
|
...u
|
|
3024
3044
|
});
|
|
3025
3045
|
}
|
|
3026
|
-
}), [t, o, r]),
|
|
3046
|
+
}), [t, o, r]), D.useEffect(() => {
|
|
3027
3047
|
c.current.isValid && s._setValid(!0);
|
|
3028
|
-
}, [s]),
|
|
3048
|
+
}, [s]), D.useMemo(() => yi(a, s, c.current, !1), [a, s]);
|
|
3029
3049
|
}
|
|
3030
|
-
var
|
|
3031
|
-
function
|
|
3032
|
-
const d = We(), { control: s = d.control, name: o, defaultValue: t, disabled: r, exact: a } = n || {}, l =
|
|
3033
|
-
return
|
|
3050
|
+
var vi = (n) => typeof n == "string", wi = (n, d, s, o, t) => vi(n) ? P(s, n, t) : Array.isArray(n) ? n.map((r) => P(s, r)) : s;
|
|
3051
|
+
function xi(n) {
|
|
3052
|
+
const d = We(), { control: s = d.control, name: o, defaultValue: t, disabled: r, exact: a } = n || {}, l = D.useRef(t), [c, u] = D.useState(s._getWatch(o, l.current));
|
|
3053
|
+
return Mt(() => s._subscribe({
|
|
3034
3054
|
name: o,
|
|
3035
3055
|
formState: {
|
|
3036
3056
|
values: !0
|
|
3037
3057
|
},
|
|
3038
3058
|
exact: a,
|
|
3039
|
-
callback: (
|
|
3040
|
-
}), [o, s, r, a]),
|
|
3059
|
+
callback: (h) => !r && u(wi(o, s._names, h.values || s._formValues, !1, l.current))
|
|
3060
|
+
}), [o, s, r, a]), D.useEffect(() => s._removeUnmounted()), c;
|
|
3041
3061
|
}
|
|
3042
|
-
function
|
|
3043
|
-
const d = We(), { name: s, disabled: o, control: t = d.control, shouldUnregister: r } = n, a =
|
|
3062
|
+
function ki(n) {
|
|
3063
|
+
const d = We(), { name: s, disabled: o, control: t = d.control, shouldUnregister: r } = n, a = gi(t._names.array, s), l = xi({
|
|
3044
3064
|
control: t,
|
|
3045
3065
|
name: s,
|
|
3046
3066
|
defaultValue: P(t._formValues, s, P(t._defaultValues, s, n.defaultValue)),
|
|
3047
3067
|
exact: !0
|
|
3048
|
-
}), c =
|
|
3068
|
+
}), c = _i({
|
|
3049
3069
|
control: t,
|
|
3050
3070
|
name: s,
|
|
3051
3071
|
exact: !0
|
|
3052
|
-
}), u =
|
|
3072
|
+
}), u = D.useRef(n), h = D.useRef(t.register(s, {
|
|
3053
3073
|
...n.rules,
|
|
3054
3074
|
value: l,
|
|
3055
3075
|
...Oe(n.disabled) ? { disabled: n.disabled } : {}
|
|
3056
|
-
})),
|
|
3076
|
+
})), p = D.useMemo(() => Object.defineProperties({}, {
|
|
3057
3077
|
invalid: {
|
|
3058
3078
|
enumerable: !0,
|
|
3059
3079
|
get: () => !!P(c.errors, s)
|
|
@@ -3074,70 +3094,70 @@ function _i(n) {
|
|
|
3074
3094
|
enumerable: !0,
|
|
3075
3095
|
get: () => P(c.errors, s)
|
|
3076
3096
|
}
|
|
3077
|
-
}), [c, s]),
|
|
3097
|
+
}), [c, s]), f = D.useCallback((g) => h.current.onChange({
|
|
3078
3098
|
target: {
|
|
3079
|
-
value:
|
|
3099
|
+
value: mi(g),
|
|
3080
3100
|
name: s
|
|
3081
3101
|
},
|
|
3082
|
-
type:
|
|
3083
|
-
}), [s]),
|
|
3102
|
+
type: ct.CHANGE
|
|
3103
|
+
}), [s]), y = D.useCallback(() => h.current.onBlur({
|
|
3084
3104
|
target: {
|
|
3085
3105
|
value: P(t._formValues, s),
|
|
3086
3106
|
name: s
|
|
3087
3107
|
},
|
|
3088
|
-
type:
|
|
3089
|
-
}), [s, t._formValues]),
|
|
3108
|
+
type: ct.BLUR
|
|
3109
|
+
}), [s, t._formValues]), v = D.useCallback((g) => {
|
|
3090
3110
|
const C = P(t._fields, s);
|
|
3091
|
-
C &&
|
|
3092
|
-
focus: () =>
|
|
3093
|
-
select: () =>
|
|
3094
|
-
setCustomValidity: (
|
|
3095
|
-
reportValidity: () =>
|
|
3111
|
+
C && g && (C._f.ref = {
|
|
3112
|
+
focus: () => g.focus && g.focus(),
|
|
3113
|
+
select: () => g.select && g.select(),
|
|
3114
|
+
setCustomValidity: (b) => g.setCustomValidity(b),
|
|
3115
|
+
reportValidity: () => g.reportValidity()
|
|
3096
3116
|
});
|
|
3097
|
-
}, [t._fields, s]),
|
|
3117
|
+
}, [t._fields, s]), _ = D.useMemo(() => ({
|
|
3098
3118
|
name: s,
|
|
3099
3119
|
value: l,
|
|
3100
3120
|
...Oe(o) || c.disabled ? { disabled: c.disabled || o } : {},
|
|
3101
|
-
onChange:
|
|
3102
|
-
onBlur:
|
|
3103
|
-
ref:
|
|
3104
|
-
}), [s, o, c.disabled, y, v,
|
|
3105
|
-
return
|
|
3106
|
-
const
|
|
3121
|
+
onChange: f,
|
|
3122
|
+
onBlur: y,
|
|
3123
|
+
ref: v
|
|
3124
|
+
}), [s, o, c.disabled, f, y, v, l]);
|
|
3125
|
+
return D.useEffect(() => {
|
|
3126
|
+
const g = t._options.shouldUnregister || r;
|
|
3107
3127
|
t.register(s, {
|
|
3108
3128
|
...u.current.rules,
|
|
3109
3129
|
...Oe(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
3110
3130
|
});
|
|
3111
|
-
const C = (
|
|
3112
|
-
const w = P(t._fields,
|
|
3131
|
+
const C = (b, x) => {
|
|
3132
|
+
const w = P(t._fields, b);
|
|
3113
3133
|
w && w._f && (w._f.mount = x);
|
|
3114
3134
|
};
|
|
3115
|
-
if (C(s, !0),
|
|
3116
|
-
const
|
|
3117
|
-
|
|
3135
|
+
if (C(s, !0), g) {
|
|
3136
|
+
const b = $t(P(t._options.defaultValues, s));
|
|
3137
|
+
lt(t._defaultValues, s, b), Ze(P(t._formValues, s)) && lt(t._formValues, s, b);
|
|
3118
3138
|
}
|
|
3119
3139
|
return !a && t.register(s), () => {
|
|
3120
|
-
(a ?
|
|
3140
|
+
(a ? g && !t._state.action : g) ? t.unregister(s) : C(s, !1);
|
|
3121
3141
|
};
|
|
3122
|
-
}, [s, t, a, r]),
|
|
3142
|
+
}, [s, t, a, r]), D.useEffect(() => {
|
|
3123
3143
|
t._setDisabledField({
|
|
3124
3144
|
disabled: o,
|
|
3125
3145
|
name: s
|
|
3126
3146
|
});
|
|
3127
|
-
}, [o, s, t]),
|
|
3128
|
-
field:
|
|
3147
|
+
}, [o, s, t]), D.useMemo(() => ({
|
|
3148
|
+
field: _,
|
|
3129
3149
|
formState: c,
|
|
3130
|
-
fieldState:
|
|
3131
|
-
}), [
|
|
3150
|
+
fieldState: p
|
|
3151
|
+
}), [_, c, p]);
|
|
3132
3152
|
}
|
|
3133
|
-
const ve = (n) => n.render(
|
|
3134
|
-
textInputContainer:
|
|
3135
|
-
labelContainer:
|
|
3136
|
-
inputContainer:
|
|
3137
|
-
showPasswordButton:
|
|
3138
|
-
forgotPassButton:
|
|
3139
|
-
},
|
|
3140
|
-
errorMessage:
|
|
3153
|
+
const ve = (n) => n.render(ki(n)), Ni = "_textInputContainer_1o3iy_2", Si = "_labelContainer_1o3iy_5", $i = "_inputContainer_1o3iy_8", Bi = "_showPasswordButton_1o3iy_14", Ti = "_forgotPassButton_1o3iy_26", be = {
|
|
3154
|
+
textInputContainer: Ni,
|
|
3155
|
+
labelContainer: Si,
|
|
3156
|
+
inputContainer: $i,
|
|
3157
|
+
showPasswordButton: Bi,
|
|
3158
|
+
forgotPassButton: Ti
|
|
3159
|
+
}, Li = "_errorMessage_1xiyb_2", Mi = {
|
|
3160
|
+
errorMessage: Li
|
|
3141
3161
|
}, we = ({
|
|
3142
3162
|
errorMessage: n,
|
|
3143
3163
|
errorColor: d = "red",
|
|
@@ -3147,14 +3167,14 @@ const ve = (n) => n.render(_i(n)), vi = "_textInputContainer_1o3iy_2", wi = "_la
|
|
|
3147
3167
|
return /* @__PURE__ */ i(
|
|
3148
3168
|
"div",
|
|
3149
3169
|
{
|
|
3150
|
-
className:
|
|
3170
|
+
className: Mi.errorMessage,
|
|
3151
3171
|
style: { color: d, ...s },
|
|
3152
3172
|
children: n ? o(n) : ""
|
|
3153
3173
|
}
|
|
3154
3174
|
);
|
|
3155
|
-
}, xe =
|
|
3175
|
+
}, xe = mt((n) => ({
|
|
3156
3176
|
errorColor: "red"
|
|
3157
|
-
})),
|
|
3177
|
+
})), ut = ({ input: n, reactHookFormInstance: d }) => {
|
|
3158
3178
|
const {
|
|
3159
3179
|
code: s,
|
|
3160
3180
|
type: o,
|
|
@@ -3164,60 +3184,60 @@ const ve = (n) => n.render(_i(n)), vi = "_textInputContainer_1o3iy_2", wi = "_la
|
|
|
3164
3184
|
validateFunction: l,
|
|
3165
3185
|
placeholder: c,
|
|
3166
3186
|
errorColor: u = "red",
|
|
3167
|
-
width:
|
|
3168
|
-
onClickForgotPass:
|
|
3187
|
+
width: h = 325,
|
|
3188
|
+
onClickForgotPass: p = () => {
|
|
3169
3189
|
console.log("Click on forgot password");
|
|
3170
3190
|
},
|
|
3171
|
-
forgotPassLabel:
|
|
3172
|
-
} = n, { t:
|
|
3191
|
+
forgotPassLabel: f = "forgot-password"
|
|
3192
|
+
} = n, { t: y } = $(), { control: v, trigger: _, clearErrors: g } = d, { errorColor: C } = xe((k) => k), [b, x] = V(!1);
|
|
3173
3193
|
se(a);
|
|
3174
|
-
const w = () => o ? o === "password" &&
|
|
3194
|
+
const w = () => o ? o === "password" && b ? "text" : o : "text";
|
|
3175
3195
|
return /* @__PURE__ */ i(
|
|
3176
3196
|
ve,
|
|
3177
3197
|
{
|
|
3178
3198
|
name: s,
|
|
3179
|
-
control:
|
|
3199
|
+
control: v,
|
|
3180
3200
|
rules: {
|
|
3181
|
-
required: a ? `${
|
|
3201
|
+
required: a ? `${y(t)} ${y("errorMessages.required")}` : !1,
|
|
3182
3202
|
maxLength: r || void 0,
|
|
3183
3203
|
validate: l || void 0
|
|
3184
3204
|
},
|
|
3185
|
-
render: ({ field:
|
|
3205
|
+
render: ({ field: k, fieldState: S }) => {
|
|
3186
3206
|
var L;
|
|
3187
3207
|
return /* @__PURE__ */ m("div", { className: be.textInputContainer, children: [
|
|
3188
3208
|
/* @__PURE__ */ m("h3", { className: be.labelContainer, children: [
|
|
3189
|
-
|
|
3209
|
+
y(t),
|
|
3190
3210
|
" ",
|
|
3191
3211
|
a && /* @__PURE__ */ i("label", { style: { color: S.error ? u : "" }, children: "*" })
|
|
3192
3212
|
] }),
|
|
3193
3213
|
/* @__PURE__ */ m(
|
|
3194
3214
|
"div",
|
|
3195
3215
|
{
|
|
3196
|
-
style: { position: "relative", width:
|
|
3216
|
+
style: { position: "relative", width: h },
|
|
3197
3217
|
className: be.inputContainer,
|
|
3198
3218
|
children: [
|
|
3199
3219
|
/* @__PURE__ */ i(
|
|
3200
3220
|
"input",
|
|
3201
3221
|
{
|
|
3202
3222
|
type: w(),
|
|
3203
|
-
...
|
|
3204
|
-
placeholder: c ?
|
|
3223
|
+
...k,
|
|
3224
|
+
placeholder: c ? y(c) : "",
|
|
3205
3225
|
maxLength: r || void 0
|
|
3206
3226
|
}
|
|
3207
3227
|
),
|
|
3208
3228
|
o == "password" && /* @__PURE__ */ i(
|
|
3209
3229
|
"button",
|
|
3210
3230
|
{
|
|
3211
|
-
onClick: () => x(!
|
|
3231
|
+
onClick: () => x(!b),
|
|
3212
3232
|
type: "button",
|
|
3213
3233
|
className: be.showPasswordButton,
|
|
3214
|
-
children:
|
|
3234
|
+
children: b ? "🙈" : "👁️"
|
|
3215
3235
|
}
|
|
3216
3236
|
)
|
|
3217
3237
|
]
|
|
3218
3238
|
}
|
|
3219
3239
|
),
|
|
3220
|
-
o == "password" && /* @__PURE__ */ i("div", { className: be.forgotPassButton, children: /* @__PURE__ */ i("button", { onClick:
|
|
3240
|
+
o == "password" && /* @__PURE__ */ i("div", { className: be.forgotPassButton, children: /* @__PURE__ */ i("button", { onClick: p, children: y(f) }) }),
|
|
3221
3241
|
/* @__PURE__ */ i(
|
|
3222
3242
|
we,
|
|
3223
3243
|
{
|
|
@@ -3229,16 +3249,16 @@ const ve = (n) => n.render(_i(n)), vi = "_textInputContainer_1o3iy_2", wi = "_la
|
|
|
3229
3249
|
}
|
|
3230
3250
|
}
|
|
3231
3251
|
);
|
|
3232
|
-
},
|
|
3233
|
-
inputsContainer:
|
|
3234
|
-
},
|
|
3235
|
-
selectInputContainer:
|
|
3236
|
-
labelContainer:
|
|
3237
|
-
inputContainer:
|
|
3238
|
-
selectInput:
|
|
3239
|
-
option:
|
|
3240
|
-
dropdownArrow:
|
|
3241
|
-
},
|
|
3252
|
+
}, Di = "_inputsContainer_10t9s_2", ce = {
|
|
3253
|
+
inputsContainer: Di
|
|
3254
|
+
}, Fi = "_selectInputContainer_1rj0h_2", Vi = "_labelContainer_1rj0h_6", Ai = "_inputContainer_1rj0h_9", Ii = "_selectInput_1rj0h_2", Oi = "_option_1rj0h_23", qi = "_dropdownArrow_1rj0h_26", de = {
|
|
3255
|
+
selectInputContainer: Fi,
|
|
3256
|
+
labelContainer: Vi,
|
|
3257
|
+
inputContainer: Ai,
|
|
3258
|
+
selectInput: Ii,
|
|
3259
|
+
option: Oi,
|
|
3260
|
+
dropdownArrow: qi
|
|
3261
|
+
}, Ri = "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", Ei = ({ input: n, reactHookFormInstance: d }) => {
|
|
3242
3262
|
const {
|
|
3243
3263
|
code: s,
|
|
3244
3264
|
type: o,
|
|
@@ -3248,49 +3268,49 @@ const ve = (n) => n.render(_i(n)), vi = "_textInputContainer_1o3iy_2", wi = "_la
|
|
|
3248
3268
|
validateFunction: l,
|
|
3249
3269
|
placeholder: c,
|
|
3250
3270
|
errorColor: u = "red",
|
|
3251
|
-
width:
|
|
3252
|
-
options:
|
|
3253
|
-
} = n, { t:
|
|
3271
|
+
width: h = 325,
|
|
3272
|
+
options: p = []
|
|
3273
|
+
} = n, { t: f } = $(), { control: y, trigger: v, clearErrors: _ } = d, { errorColor: g } = xe((C) => C);
|
|
3254
3274
|
return se(a), /* @__PURE__ */ i(
|
|
3255
3275
|
ve,
|
|
3256
3276
|
{
|
|
3257
3277
|
name: s,
|
|
3258
|
-
control:
|
|
3278
|
+
control: y,
|
|
3259
3279
|
rules: {
|
|
3260
|
-
required: a ? `${
|
|
3280
|
+
required: a ? `${f(t)} ${f("errorMessages.required")}` : !1,
|
|
3261
3281
|
validate: l ? (C) => {
|
|
3262
|
-
let
|
|
3263
|
-
return l(C,
|
|
3282
|
+
let b = d.getValues();
|
|
3283
|
+
return l(C, b);
|
|
3264
3284
|
} : void 0
|
|
3265
3285
|
},
|
|
3266
|
-
render: ({ field: C, fieldState:
|
|
3286
|
+
render: ({ field: C, fieldState: b }) => {
|
|
3267
3287
|
var x;
|
|
3268
3288
|
return /* @__PURE__ */ m("div", { className: de.selectInputContainer, children: [
|
|
3269
3289
|
/* @__PURE__ */ m("h3", { className: de.labelContainer, children: [
|
|
3270
|
-
|
|
3290
|
+
f(t),
|
|
3271
3291
|
" ",
|
|
3272
|
-
a && /* @__PURE__ */ i("label", { style: { color:
|
|
3292
|
+
a && /* @__PURE__ */ i("label", { style: { color: b.error ? u : "" }, children: "*" })
|
|
3273
3293
|
] }),
|
|
3274
|
-
/* @__PURE__ */ m("div", { className: de.inputContainer, style: { width:
|
|
3294
|
+
/* @__PURE__ */ m("div", { className: de.inputContainer, style: { width: h }, children: [
|
|
3275
3295
|
/* @__PURE__ */ m(
|
|
3276
3296
|
"select",
|
|
3277
3297
|
{
|
|
3278
3298
|
...C,
|
|
3279
3299
|
onChange: (w) => {
|
|
3280
|
-
const
|
|
3300
|
+
const k = w.target.value, S = p.every((L) => typeof L.value == "number") ? Number(k) : k;
|
|
3281
3301
|
C.onChange(S);
|
|
3282
3302
|
},
|
|
3283
3303
|
className: de.selectInput,
|
|
3284
3304
|
children: [
|
|
3285
|
-
/* @__PURE__ */ i("option", { value: "", disabled: !0, hidden: !0, children:
|
|
3286
|
-
|
|
3305
|
+
/* @__PURE__ */ i("option", { value: "", disabled: !0, hidden: !0, children: f(c || "selectOption") }),
|
|
3306
|
+
p.map((w, k) => /* @__PURE__ */ i(
|
|
3287
3307
|
"option",
|
|
3288
3308
|
{
|
|
3289
3309
|
value: w.value,
|
|
3290
3310
|
className: de.option,
|
|
3291
|
-
children:
|
|
3311
|
+
children: f(w.label)
|
|
3292
3312
|
},
|
|
3293
|
-
|
|
3313
|
+
k
|
|
3294
3314
|
))
|
|
3295
3315
|
]
|
|
3296
3316
|
}
|
|
@@ -3298,7 +3318,7 @@ const ve = (n) => n.render(_i(n)), vi = "_textInputContainer_1o3iy_2", wi = "_la
|
|
|
3298
3318
|
/* @__PURE__ */ i(
|
|
3299
3319
|
"img",
|
|
3300
3320
|
{
|
|
3301
|
-
src:
|
|
3321
|
+
src: Ri,
|
|
3302
3322
|
alt: "Open",
|
|
3303
3323
|
className: de.dropdownArrow
|
|
3304
3324
|
}
|
|
@@ -3307,22 +3327,22 @@ const ve = (n) => n.render(_i(n)), vi = "_textInputContainer_1o3iy_2", wi = "_la
|
|
|
3307
3327
|
/* @__PURE__ */ i(
|
|
3308
3328
|
we,
|
|
3309
3329
|
{
|
|
3310
|
-
errorMessage: (x =
|
|
3311
|
-
errorColor:
|
|
3330
|
+
errorMessage: (x = b.error) == null ? void 0 : x.message,
|
|
3331
|
+
errorColor: g || u
|
|
3312
3332
|
}
|
|
3313
3333
|
)
|
|
3314
3334
|
] });
|
|
3315
3335
|
}
|
|
3316
3336
|
}
|
|
3317
3337
|
);
|
|
3318
|
-
},
|
|
3319
|
-
radioButtonContainer:
|
|
3320
|
-
wholeInputContainer:
|
|
3321
|
-
questionContainer:
|
|
3322
|
-
radioQuestion:
|
|
3323
|
-
inputContainer:
|
|
3324
|
-
radioInput:
|
|
3325
|
-
},
|
|
3338
|
+
}, Pi = "_radioButtonContainer_1e994_2", ji = "_wholeInputContainer_1e994_5", zi = "_questionContainer_1e994_27", Zi = "_radioQuestion_1e994_59", Hi = "_inputContainer_1e994_63", Ki = "_radioInput_1e994_93", te = {
|
|
3339
|
+
radioButtonContainer: Pi,
|
|
3340
|
+
wholeInputContainer: ji,
|
|
3341
|
+
questionContainer: zi,
|
|
3342
|
+
radioQuestion: Zi,
|
|
3343
|
+
inputContainer: Hi,
|
|
3344
|
+
radioInput: Ki
|
|
3345
|
+
}, Ui = ({ input: n, reactHookFormInstance: d }) => {
|
|
3326
3346
|
const {
|
|
3327
3347
|
code: s,
|
|
3328
3348
|
label: o,
|
|
@@ -3331,26 +3351,26 @@ const ve = (n) => n.render(_i(n)), vi = "_textInputContainer_1o3iy_2", wi = "_la
|
|
|
3331
3351
|
errorColor: a = "red",
|
|
3332
3352
|
options: l = [],
|
|
3333
3353
|
multi: c = !1
|
|
3334
|
-
} = n, { t: u } = $(), { control:
|
|
3335
|
-
if (c &&
|
|
3336
|
-
let x =
|
|
3354
|
+
} = n, { t: u } = $(), { control: h, trigger: p, clearErrors: f } = d, { errorColor: y } = xe((g) => g), v = ({ options: g, onChange: C, actualValue: b }) => {
|
|
3355
|
+
if (c && b && b.length > 0) {
|
|
3356
|
+
let x = b.filter((w) => w !== g);
|
|
3337
3357
|
C(x);
|
|
3338
3358
|
}
|
|
3339
|
-
},
|
|
3340
|
-
c ?
|
|
3359
|
+
}, _ = ({ options: g, onChange: C, actualValue: b }) => {
|
|
3360
|
+
c ? b && b.length > 0 ? C([...b, g]) : C([g]) : C(g);
|
|
3341
3361
|
};
|
|
3342
3362
|
return se(t), /* @__PURE__ */ i(
|
|
3343
3363
|
ve,
|
|
3344
3364
|
{
|
|
3345
|
-
control:
|
|
3365
|
+
control: h,
|
|
3346
3366
|
name: s,
|
|
3347
3367
|
rules: {
|
|
3348
|
-
validate: (
|
|
3368
|
+
validate: (g) => t && (g == null || g === "") ? `${u(o)} ${u("errorMessages.required")}` : null
|
|
3349
3369
|
},
|
|
3350
3370
|
render: ({
|
|
3351
|
-
formState: { errors:
|
|
3352
|
-
field: { onChange: C, onBlur:
|
|
3353
|
-
fieldState:
|
|
3371
|
+
formState: { errors: g },
|
|
3372
|
+
field: { onChange: C, onBlur: b, value: x, ref: w },
|
|
3373
|
+
fieldState: k
|
|
3354
3374
|
}) => {
|
|
3355
3375
|
var S;
|
|
3356
3376
|
return /* @__PURE__ */ i("div", { id: s + "id", className: te.radioButtonContainer, children: /* @__PURE__ */ m("div", { className: te.wholeInputContainer, children: [
|
|
@@ -3365,7 +3385,7 @@ const ve = (n) => n.render(_i(n)), vi = "_textInputContainer_1o3iy_2", wi = "_la
|
|
|
3365
3385
|
t && /* @__PURE__ */ i(
|
|
3366
3386
|
"label",
|
|
3367
3387
|
{
|
|
3368
|
-
style: { color:
|
|
3388
|
+
style: { color: k.error ? a : "" },
|
|
3369
3389
|
children: "*"
|
|
3370
3390
|
}
|
|
3371
3391
|
)
|
|
@@ -3376,41 +3396,41 @@ const ve = (n) => n.render(_i(n)), vi = "_textInputContainer_1o3iy_2", wi = "_la
|
|
|
3376
3396
|
l.map(
|
|
3377
3397
|
({
|
|
3378
3398
|
label: L,
|
|
3379
|
-
value:
|
|
3399
|
+
value: N,
|
|
3380
3400
|
disabled: B = !1,
|
|
3381
3401
|
italicLabel: O
|
|
3382
|
-
},
|
|
3383
|
-
const
|
|
3402
|
+
}, q) => {
|
|
3403
|
+
const M = x && c ? x.isArray && (x == null ? void 0 : x.length) > 0 && x.some((H) => H === N) : x === N;
|
|
3384
3404
|
return /* @__PURE__ */ m("label", { children: [
|
|
3385
3405
|
/* @__PURE__ */ i(
|
|
3386
3406
|
"input",
|
|
3387
3407
|
{
|
|
3388
3408
|
type: "radio",
|
|
3389
|
-
checked:
|
|
3409
|
+
checked: M,
|
|
3390
3410
|
onChange: () => {
|
|
3391
|
-
c ?
|
|
3411
|
+
c ? M ? v({
|
|
3392
3412
|
actualValue: x,
|
|
3393
3413
|
options: l,
|
|
3394
3414
|
onChange: C
|
|
3395
|
-
}) :
|
|
3415
|
+
}) : _({
|
|
3396
3416
|
actualValue: x,
|
|
3397
3417
|
options: l,
|
|
3398
3418
|
onChange: C
|
|
3399
|
-
}) : C(
|
|
3419
|
+
}) : C(N);
|
|
3400
3420
|
},
|
|
3401
3421
|
className: te.radioInput
|
|
3402
3422
|
}
|
|
3403
3423
|
),
|
|
3404
3424
|
/* @__PURE__ */ i("span", { className: "radio-custom" }),
|
|
3405
3425
|
u(L)
|
|
3406
|
-
] }, `inputRadio ${
|
|
3426
|
+
] }, `inputRadio ${q}`);
|
|
3407
3427
|
}
|
|
3408
3428
|
),
|
|
3409
3429
|
/* @__PURE__ */ i(
|
|
3410
3430
|
we,
|
|
3411
3431
|
{
|
|
3412
|
-
errorMessage: (S =
|
|
3413
|
-
errorColor:
|
|
3432
|
+
errorMessage: (S = k.error) == null ? void 0 : S.message,
|
|
3433
|
+
errorColor: y || a
|
|
3414
3434
|
}
|
|
3415
3435
|
)
|
|
3416
3436
|
] })
|
|
@@ -3418,16 +3438,16 @@ const ve = (n) => n.render(_i(n)), vi = "_textInputContainer_1o3iy_2", wi = "_la
|
|
|
3418
3438
|
}
|
|
3419
3439
|
}
|
|
3420
3440
|
);
|
|
3421
|
-
},
|
|
3422
|
-
rankingSliderContainer:
|
|
3423
|
-
labelContainer:
|
|
3424
|
-
inputContainer:
|
|
3425
|
-
slider:
|
|
3426
|
-
thumb:
|
|
3427
|
-
labels:
|
|
3428
|
-
minLabel:
|
|
3429
|
-
maxLabel:
|
|
3430
|
-
},
|
|
3441
|
+
}, Gi = "_rankingSliderContainer_1lekm_2", Wi = "_labelContainer_1lekm_6", Yi = "_inputContainer_1lekm_10", Qi = "_slider_1lekm_20", Xi = "_thumb_1lekm_27", Ji = "_labels_1lekm_37", es = "_minLabel_1lekm_67", ts = "_maxLabel_1lekm_67", A = {
|
|
3442
|
+
rankingSliderContainer: Gi,
|
|
3443
|
+
labelContainer: Wi,
|
|
3444
|
+
inputContainer: Yi,
|
|
3445
|
+
slider: Qi,
|
|
3446
|
+
thumb: Xi,
|
|
3447
|
+
labels: Ji,
|
|
3448
|
+
minLabel: es,
|
|
3449
|
+
maxLabel: ts
|
|
3450
|
+
}, Dt = ({ input: n, reactHookFormInstance: d, onChange: s }) => {
|
|
3431
3451
|
const {
|
|
3432
3452
|
code: o,
|
|
3433
3453
|
label: t,
|
|
@@ -3437,20 +3457,20 @@ const ve = (n) => n.render(_i(n)), vi = "_textInputContainer_1o3iy_2", wi = "_la
|
|
|
3437
3457
|
thumbColor: c = "#B32F5D",
|
|
3438
3458
|
//trackColors = ["#B32F5D", "#EFEFEF"],
|
|
3439
3459
|
required: u,
|
|
3440
|
-
errorColor:
|
|
3441
|
-
labelWidth:
|
|
3442
|
-
sliderWidth:
|
|
3443
|
-
minText:
|
|
3444
|
-
maxText:
|
|
3445
|
-
disabled:
|
|
3446
|
-
marks:
|
|
3460
|
+
errorColor: h = "red",
|
|
3461
|
+
labelWidth: p = "300px",
|
|
3462
|
+
sliderWidth: f = "300px",
|
|
3463
|
+
minText: y,
|
|
3464
|
+
maxText: v,
|
|
3465
|
+
disabled: _ = !1,
|
|
3466
|
+
marks: g = Array.from(
|
|
3447
3467
|
{ length: a - r + 1 },
|
|
3448
3468
|
(B, O) => r + O
|
|
3449
3469
|
),
|
|
3450
3470
|
showMarksNumber: C = !0
|
|
3451
|
-
} = n, { t:
|
|
3471
|
+
} = n, { t: b } = $(), { control: x, trigger: w, clearErrors: k } = d || {};
|
|
3452
3472
|
se(u);
|
|
3453
|
-
const { errorColorForm: S } = xe((B) => B), [L,
|
|
3473
|
+
const { errorColorForm: S } = xe((B) => B), [L, N] = V(l);
|
|
3454
3474
|
return d ? /* @__PURE__ */ i(
|
|
3455
3475
|
ve,
|
|
3456
3476
|
{
|
|
@@ -3458,21 +3478,21 @@ const ve = (n) => n.render(_i(n)), vi = "_textInputContainer_1o3iy_2", wi = "_la
|
|
|
3458
3478
|
control: x,
|
|
3459
3479
|
defaultValue: l,
|
|
3460
3480
|
rules: {
|
|
3461
|
-
required: u ? `${
|
|
3481
|
+
required: u ? `${b(t)} ${b("errorMessages.required")}` : !1
|
|
3462
3482
|
},
|
|
3463
3483
|
render: ({ field: B, fieldState: O }) => {
|
|
3464
|
-
var
|
|
3484
|
+
var q;
|
|
3465
3485
|
return /* @__PURE__ */ m(
|
|
3466
3486
|
"div",
|
|
3467
3487
|
{
|
|
3468
3488
|
className: A.rankingSliderContainer,
|
|
3469
3489
|
style: {
|
|
3470
|
-
gridTemplateColumns: `${t &&
|
|
3490
|
+
gridTemplateColumns: `${t && p} ${f}`
|
|
3471
3491
|
},
|
|
3472
3492
|
children: [
|
|
3473
|
-
t && /* @__PURE__ */ i("p", { className: A.labelContainer, children:
|
|
3493
|
+
t && /* @__PURE__ */ i("p", { className: A.labelContainer, children: b(t) }),
|
|
3474
3494
|
/* @__PURE__ */ m("div", { className: A.inputContainer, children: [
|
|
3475
|
-
|
|
3495
|
+
y && /* @__PURE__ */ i("div", { className: A.minLabel, children: b(y) }),
|
|
3476
3496
|
/* @__PURE__ */ m("div", { children: [
|
|
3477
3497
|
/* @__PURE__ */ i(
|
|
3478
3498
|
je,
|
|
@@ -3481,31 +3501,31 @@ const ve = (n) => n.render(_i(n)), vi = "_textInputContainer_1o3iy_2", wi = "_la
|
|
|
3481
3501
|
max: a,
|
|
3482
3502
|
step: 1,
|
|
3483
3503
|
value: B.value ?? l,
|
|
3484
|
-
onChange: (
|
|
3504
|
+
onChange: (M) => B.onChange(M),
|
|
3485
3505
|
marks: !0,
|
|
3486
3506
|
className: A.slider,
|
|
3487
3507
|
thumbClassName: A.thumb,
|
|
3488
|
-
renderThumb: (
|
|
3508
|
+
renderThumb: (M) => /* @__PURE__ */ i(
|
|
3489
3509
|
"div",
|
|
3490
3510
|
{
|
|
3491
|
-
...
|
|
3492
|
-
style: { ...
|
|
3511
|
+
...M,
|
|
3512
|
+
style: { ...M.style, backgroundColor: c }
|
|
3493
3513
|
}
|
|
3494
3514
|
),
|
|
3495
3515
|
trackClassName: A.track,
|
|
3496
3516
|
markClassName: A.mark,
|
|
3497
|
-
disabled:
|
|
3517
|
+
disabled: _
|
|
3498
3518
|
}
|
|
3499
3519
|
),
|
|
3500
|
-
|
|
3520
|
+
g && /* @__PURE__ */ i("div", { className: A.labels, children: g.map((M) => /* @__PURE__ */ i("span", { children: C && M }, M)) })
|
|
3501
3521
|
] }),
|
|
3502
|
-
|
|
3522
|
+
v && /* @__PURE__ */ i("div", { className: A.maxLabel, children: b(v) })
|
|
3503
3523
|
] }),
|
|
3504
3524
|
/* @__PURE__ */ i(
|
|
3505
3525
|
we,
|
|
3506
3526
|
{
|
|
3507
|
-
errorMessage: (
|
|
3508
|
-
errorColor: S ||
|
|
3527
|
+
errorMessage: (q = O.error) == null ? void 0 : q.message,
|
|
3528
|
+
errorColor: S || h
|
|
3509
3529
|
}
|
|
3510
3530
|
)
|
|
3511
3531
|
]
|
|
@@ -3517,11 +3537,11 @@ const ve = (n) => n.render(_i(n)), vi = "_textInputContainer_1o3iy_2", wi = "_la
|
|
|
3517
3537
|
"div",
|
|
3518
3538
|
{
|
|
3519
3539
|
className: A.rankingSliderContainer,
|
|
3520
|
-
style: { gridTemplateColumns: `${t &&
|
|
3540
|
+
style: { gridTemplateColumns: `${t && p} ${f}` },
|
|
3521
3541
|
children: [
|
|
3522
|
-
t && /* @__PURE__ */ i("p", { className: A.labelContainer, children:
|
|
3542
|
+
t && /* @__PURE__ */ i("p", { className: A.labelContainer, children: b(t) }),
|
|
3523
3543
|
/* @__PURE__ */ m("div", { className: A.inputContainer, children: [
|
|
3524
|
-
|
|
3544
|
+
y && /* @__PURE__ */ i("div", { className: A.minLabel, children: b(y) }),
|
|
3525
3545
|
/* @__PURE__ */ m("div", { children: [
|
|
3526
3546
|
/* @__PURE__ */ i(
|
|
3527
3547
|
je,
|
|
@@ -3531,7 +3551,7 @@ const ve = (n) => n.render(_i(n)), vi = "_textInputContainer_1o3iy_2", wi = "_la
|
|
|
3531
3551
|
step: 1,
|
|
3532
3552
|
value: L,
|
|
3533
3553
|
onChange: (B) => {
|
|
3534
|
-
|
|
3554
|
+
N(B), s && s(B);
|
|
3535
3555
|
},
|
|
3536
3556
|
marks: !0,
|
|
3537
3557
|
className: A.slider,
|
|
@@ -3545,18 +3565,18 @@ const ve = (n) => n.render(_i(n)), vi = "_textInputContainer_1o3iy_2", wi = "_la
|
|
|
3545
3565
|
),
|
|
3546
3566
|
trackClassName: A.track,
|
|
3547
3567
|
markClassName: A.mark,
|
|
3548
|
-
disabled:
|
|
3568
|
+
disabled: _
|
|
3549
3569
|
}
|
|
3550
3570
|
),
|
|
3551
|
-
|
|
3571
|
+
g && /* @__PURE__ */ i("div", { className: A.labels, children: g.map((B) => /* @__PURE__ */ i("span", { children: C && B }, B)) })
|
|
3552
3572
|
] }),
|
|
3553
|
-
|
|
3573
|
+
v && /* @__PURE__ */ i("div", { className: A.maxLabel, children: b(v) })
|
|
3554
3574
|
] })
|
|
3555
3575
|
]
|
|
3556
3576
|
}
|
|
3557
3577
|
);
|
|
3558
3578
|
};
|
|
3559
|
-
|
|
3579
|
+
Dt.propTypes = {
|
|
3560
3580
|
input: e.shape({
|
|
3561
3581
|
code: e.string,
|
|
3562
3582
|
label: e.string,
|
|
@@ -3597,7 +3617,7 @@ const ye = ({
|
|
|
3597
3617
|
className: ce.inputContainer,
|
|
3598
3618
|
style: { ...d },
|
|
3599
3619
|
children: /* @__PURE__ */ i(
|
|
3600
|
-
|
|
3620
|
+
ut,
|
|
3601
3621
|
{
|
|
3602
3622
|
input: a,
|
|
3603
3623
|
reactHookFormInstance: s
|
|
@@ -3613,7 +3633,7 @@ const ye = ({
|
|
|
3613
3633
|
className: ce.inputContainer,
|
|
3614
3634
|
style: { ...d },
|
|
3615
3635
|
children: /* @__PURE__ */ i(
|
|
3616
|
-
|
|
3636
|
+
ut,
|
|
3617
3637
|
{
|
|
3618
3638
|
input: a,
|
|
3619
3639
|
reactHookFormInstance: s
|
|
@@ -3629,7 +3649,7 @@ const ye = ({
|
|
|
3629
3649
|
className: ce.inputContainer,
|
|
3630
3650
|
style: { ...d },
|
|
3631
3651
|
children: /* @__PURE__ */ i(
|
|
3632
|
-
|
|
3652
|
+
Ei,
|
|
3633
3653
|
{
|
|
3634
3654
|
input: a,
|
|
3635
3655
|
reactHookFormInstance: s
|
|
@@ -3645,7 +3665,7 @@ const ye = ({
|
|
|
3645
3665
|
className: ce.inputContainer,
|
|
3646
3666
|
style: { ...d },
|
|
3647
3667
|
children: /* @__PURE__ */ i(
|
|
3648
|
-
|
|
3668
|
+
Ui,
|
|
3649
3669
|
{
|
|
3650
3670
|
input: a,
|
|
3651
3671
|
reactHookFormInstance: s
|
|
@@ -3661,7 +3681,7 @@ const ye = ({
|
|
|
3661
3681
|
className: ce.inputContainer,
|
|
3662
3682
|
style: { ...d },
|
|
3663
3683
|
children: /* @__PURE__ */ i(
|
|
3664
|
-
|
|
3684
|
+
Dt,
|
|
3665
3685
|
{
|
|
3666
3686
|
input: a,
|
|
3667
3687
|
reactHookFormInstance: s
|
|
@@ -3674,11 +3694,11 @@ const ye = ({
|
|
|
3674
3694
|
return /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i("h4", { children: "Default" }) }, `${a.code}${l}`);
|
|
3675
3695
|
}
|
|
3676
3696
|
}) });
|
|
3677
|
-
},
|
|
3678
|
-
categorySelector:
|
|
3679
|
-
sectionItemActive:
|
|
3680
|
-
sectionItem:
|
|
3681
|
-
},
|
|
3697
|
+
}, ns = "_categorySelector_9bdf4_2", is = "_sectionItemActive_9bdf4_16", ss = "_sectionItem_9bdf4_16", Be = {
|
|
3698
|
+
categorySelector: ns,
|
|
3699
|
+
sectionItemActive: is,
|
|
3700
|
+
sectionItem: ss
|
|
3701
|
+
}, pt = ({
|
|
3682
3702
|
categories: n,
|
|
3683
3703
|
onChange: d,
|
|
3684
3704
|
activeCategory: s,
|
|
@@ -3687,20 +3707,20 @@ const ye = ({
|
|
|
3687
3707
|
const { t } = $(), r = (a) => {
|
|
3688
3708
|
d(a);
|
|
3689
3709
|
};
|
|
3690
|
-
return /* @__PURE__ */ i("div", { className:
|
|
3691
|
-
const { id: c, label: u } = a,
|
|
3710
|
+
return /* @__PURE__ */ i("div", { className: Be.categorySelector, children: n.map((a, l) => {
|
|
3711
|
+
const { id: c, label: u } = a, h = s == c;
|
|
3692
3712
|
return /* @__PURE__ */ i(
|
|
3693
3713
|
"button",
|
|
3694
3714
|
{
|
|
3695
|
-
className: `${
|
|
3715
|
+
className: `${Be.sectionItem} ${h ? Be.sectionItemActive : ""}`,
|
|
3696
3716
|
type: "button",
|
|
3697
|
-
style: { backgroundColor:
|
|
3717
|
+
style: { backgroundColor: h ? o : "inherit" },
|
|
3698
3718
|
onClick: () => r(c),
|
|
3699
3719
|
children: /* @__PURE__ */ i(
|
|
3700
3720
|
"span",
|
|
3701
3721
|
{
|
|
3702
|
-
style: { color:
|
|
3703
|
-
className:
|
|
3722
|
+
style: { color: h ? "white" : "inherit" },
|
|
3723
|
+
className: Be.sectionLabel,
|
|
3704
3724
|
children: t(u)
|
|
3705
3725
|
}
|
|
3706
3726
|
)
|
|
@@ -3708,7 +3728,7 @@ const ye = ({
|
|
|
3708
3728
|
`keySection${l}`
|
|
3709
3729
|
);
|
|
3710
3730
|
}) });
|
|
3711
|
-
},
|
|
3731
|
+
}, fo = ({
|
|
3712
3732
|
reactHookFormInstance: n,
|
|
3713
3733
|
formObject: d,
|
|
3714
3734
|
CategoryComponent: s,
|
|
@@ -3719,57 +3739,57 @@ const ye = ({
|
|
|
3719
3739
|
submitButtonStyles: l = { width: 325 },
|
|
3720
3740
|
showCategorySelector: c = !0,
|
|
3721
3741
|
defaultCategory: u = null,
|
|
3722
|
-
categoryLabel:
|
|
3723
|
-
activeCategory:
|
|
3724
|
-
activeCategoryColor:
|
|
3725
|
-
onSubmit:
|
|
3742
|
+
categoryLabel: h = "Select Category",
|
|
3743
|
+
activeCategory: p = null,
|
|
3744
|
+
activeCategoryColor: f = "#b32f5d",
|
|
3745
|
+
onSubmit: y = (v) => console.log("Form submitted with: ", v)
|
|
3726
3746
|
}) => {
|
|
3727
|
-
const { t:
|
|
3747
|
+
const { t: v } = $(), { handleSubmit: _, control: g } = n;
|
|
3728
3748
|
F(() => {
|
|
3729
3749
|
r && xe.setState(() => ({ errorColor: r }));
|
|
3730
3750
|
}, [r]);
|
|
3731
|
-
const C = me(() => d ? d.filter((
|
|
3751
|
+
const C = me(() => d ? d.filter((N) => N.category).map((N) => {
|
|
3732
3752
|
var B;
|
|
3733
3753
|
return {
|
|
3734
|
-
id:
|
|
3735
|
-
label:
|
|
3736
|
-
hasSubcategories: ((B =
|
|
3754
|
+
id: N.categoryId,
|
|
3755
|
+
label: N.category,
|
|
3756
|
+
hasSubcategories: ((B = N.subcategories) == null ? void 0 : B.length) > 0
|
|
3737
3757
|
};
|
|
3738
|
-
}) : [], [d]),
|
|
3739
|
-
const B = d == null ? void 0 : d.find((O) => O.categoryId ===
|
|
3758
|
+
}) : [], [d]), b = (N) => {
|
|
3759
|
+
const B = d == null ? void 0 : d.find((O) => O.categoryId === N);
|
|
3740
3760
|
return (B == null ? void 0 : B.subcategories) || [];
|
|
3741
3761
|
}, [x, w] = V(
|
|
3742
|
-
|
|
3743
|
-
), [
|
|
3762
|
+
p || u || null
|
|
3763
|
+
), [k, S] = V(null);
|
|
3744
3764
|
F(() => {
|
|
3745
3765
|
!x && C.length > 0 && w(C[0].id);
|
|
3746
3766
|
}, [C, x]), F(() => {
|
|
3747
|
-
const
|
|
3748
|
-
!
|
|
3749
|
-
}, [x,
|
|
3750
|
-
const L = (
|
|
3767
|
+
const N = b(x);
|
|
3768
|
+
!k && (N == null ? void 0 : N.length) > 0 && S(N[0].id);
|
|
3769
|
+
}, [x, k, d]);
|
|
3770
|
+
const L = (N, B) => {
|
|
3751
3771
|
var O;
|
|
3752
|
-
if (((O =
|
|
3753
|
-
const
|
|
3772
|
+
if (((O = N.subcategories) == null ? void 0 : O.length) > 0) {
|
|
3773
|
+
const q = N.subcategories;
|
|
3754
3774
|
return /* @__PURE__ */ m("div", { children: [
|
|
3755
3775
|
/* @__PURE__ */ i(
|
|
3756
3776
|
"div",
|
|
3757
3777
|
{
|
|
3758
3778
|
className: Ce.categorySelectorContainer,
|
|
3759
3779
|
children: /* @__PURE__ */ i(
|
|
3760
|
-
|
|
3780
|
+
pt,
|
|
3761
3781
|
{
|
|
3762
|
-
activeCategory:
|
|
3763
|
-
categories:
|
|
3764
|
-
onChange: (
|
|
3765
|
-
activeColor:
|
|
3782
|
+
activeCategory: k,
|
|
3783
|
+
categories: q,
|
|
3784
|
+
onChange: (M) => S(M),
|
|
3785
|
+
activeColor: f
|
|
3766
3786
|
}
|
|
3767
3787
|
)
|
|
3768
3788
|
},
|
|
3769
|
-
|
|
3789
|
+
N.categoryId
|
|
3770
3790
|
),
|
|
3771
|
-
|
|
3772
|
-
const z = !
|
|
3791
|
+
q.map((M, H) => {
|
|
3792
|
+
const z = !k || M.id === k;
|
|
3773
3793
|
return s ? /* @__PURE__ */ i(
|
|
3774
3794
|
"div",
|
|
3775
3795
|
{
|
|
@@ -3777,18 +3797,18 @@ const ye = ({
|
|
|
3777
3797
|
display: z ? "block" : "none",
|
|
3778
3798
|
width: "100%"
|
|
3779
3799
|
},
|
|
3780
|
-
children: /* @__PURE__ */ i(s, { title:
|
|
3800
|
+
children: /* @__PURE__ */ i(s, { title: M.label, children: /* @__PURE__ */ i(
|
|
3781
3801
|
ye,
|
|
3782
3802
|
{
|
|
3783
|
-
inputs:
|
|
3784
|
-
control:
|
|
3803
|
+
inputs: M.inputs,
|
|
3804
|
+
control: g,
|
|
3785
3805
|
inputContainerStyles: o,
|
|
3786
3806
|
errorColor: r,
|
|
3787
3807
|
reactHookFormInstance: n
|
|
3788
3808
|
}
|
|
3789
|
-
) },
|
|
3809
|
+
) }, M.id)
|
|
3790
3810
|
},
|
|
3791
|
-
`${
|
|
3811
|
+
`${M.id}${H}`
|
|
3792
3812
|
) : /* @__PURE__ */ m(
|
|
3793
3813
|
"div",
|
|
3794
3814
|
{
|
|
@@ -3797,12 +3817,12 @@ const ye = ({
|
|
|
3797
3817
|
display: z ? "block" : "none"
|
|
3798
3818
|
},
|
|
3799
3819
|
children: [
|
|
3800
|
-
/* @__PURE__ */ i("h3", { style: { marginBottom: 15 }, children:
|
|
3820
|
+
/* @__PURE__ */ i("h3", { style: { marginBottom: 15 }, children: v(M.label) }),
|
|
3801
3821
|
/* @__PURE__ */ i(
|
|
3802
3822
|
ye,
|
|
3803
3823
|
{
|
|
3804
|
-
inputs:
|
|
3805
|
-
control:
|
|
3824
|
+
inputs: M.inputs,
|
|
3825
|
+
control: g,
|
|
3806
3826
|
inputContainerStyles: o,
|
|
3807
3827
|
errorColor: r,
|
|
3808
3828
|
reactHookFormInstance: n
|
|
@@ -3810,63 +3830,63 @@ const ye = ({
|
|
|
3810
3830
|
)
|
|
3811
3831
|
]
|
|
3812
3832
|
},
|
|
3813
|
-
`${
|
|
3833
|
+
`${M.id}${H}`
|
|
3814
3834
|
);
|
|
3815
3835
|
})
|
|
3816
3836
|
] });
|
|
3817
3837
|
}
|
|
3818
|
-
return s ? /* @__PURE__ */ i(s, { title:
|
|
3838
|
+
return s ? /* @__PURE__ */ i(s, { title: N.category, children: /* @__PURE__ */ i(
|
|
3819
3839
|
ye,
|
|
3820
3840
|
{
|
|
3821
|
-
inputs:
|
|
3822
|
-
control:
|
|
3841
|
+
inputs: N.inputs,
|
|
3842
|
+
control: g,
|
|
3823
3843
|
inputContainerStyles: o,
|
|
3824
3844
|
errorColor: r,
|
|
3825
3845
|
reactHookFormInstance: n
|
|
3826
3846
|
}
|
|
3827
|
-
) },
|
|
3828
|
-
/* @__PURE__ */ i("h2", { children:
|
|
3847
|
+
) }, N.categoryId) : /* @__PURE__ */ m("div", { style: { width: "100%" }, children: [
|
|
3848
|
+
/* @__PURE__ */ i("h2", { children: v(N.category) }),
|
|
3829
3849
|
/* @__PURE__ */ i(
|
|
3830
3850
|
ye,
|
|
3831
3851
|
{
|
|
3832
|
-
inputs:
|
|
3833
|
-
control:
|
|
3852
|
+
inputs: N.inputs,
|
|
3853
|
+
control: g,
|
|
3834
3854
|
inputContainerStyles: o,
|
|
3835
3855
|
errorColor: r,
|
|
3836
3856
|
reactHookFormInstance: n
|
|
3837
3857
|
}
|
|
3838
3858
|
)
|
|
3839
|
-
] },
|
|
3859
|
+
] }, N.categoryId);
|
|
3840
3860
|
};
|
|
3841
|
-
return /* @__PURE__ */ m("form", { className: Ce.formContainer, onSubmit:
|
|
3861
|
+
return /* @__PURE__ */ m("form", { className: Ce.formContainer, onSubmit: _(y), children: [
|
|
3842
3862
|
c && C.length > 0 && /* @__PURE__ */ i("div", { className: Ce.categorySelectorContainer, children: /* @__PURE__ */ i(
|
|
3843
|
-
|
|
3863
|
+
pt,
|
|
3844
3864
|
{
|
|
3845
3865
|
activeCategory: x,
|
|
3846
3866
|
categories: C,
|
|
3847
|
-
onChange: (
|
|
3848
|
-
w(
|
|
3867
|
+
onChange: (N) => {
|
|
3868
|
+
w(N), S(null);
|
|
3849
3869
|
},
|
|
3850
|
-
activeColor:
|
|
3870
|
+
activeColor: f
|
|
3851
3871
|
}
|
|
3852
3872
|
) }),
|
|
3853
|
-
/* @__PURE__ */ i("div", { className: Ce.formObjectContainer, children: d == null ? void 0 : d.map((
|
|
3854
|
-
const O =
|
|
3855
|
-
return
|
|
3873
|
+
/* @__PURE__ */ i("div", { className: Ce.formObjectContainer, children: d == null ? void 0 : d.map((N, B) => {
|
|
3874
|
+
const O = N.categoryId === x;
|
|
3875
|
+
return N.category && !O ? null : N.category && O ? /* @__PURE__ */ i(
|
|
3856
3876
|
"div",
|
|
3857
3877
|
{
|
|
3858
3878
|
style: {
|
|
3859
3879
|
// visibility: section.categoryId ? "visible" : "hidden",
|
|
3860
3880
|
width: "100%"
|
|
3861
3881
|
},
|
|
3862
|
-
children: L(
|
|
3882
|
+
children: L(N)
|
|
3863
3883
|
},
|
|
3864
|
-
|
|
3884
|
+
N.categoryId
|
|
3865
3885
|
) : /* @__PURE__ */ i(
|
|
3866
3886
|
ye,
|
|
3867
3887
|
{
|
|
3868
|
-
inputs:
|
|
3869
|
-
control:
|
|
3888
|
+
inputs: N.inputs,
|
|
3889
|
+
control: g,
|
|
3870
3890
|
inputContainerStyles: o,
|
|
3871
3891
|
errorColor: r,
|
|
3872
3892
|
reactHookFormInstance: n
|
|
@@ -3874,20 +3894,20 @@ const ye = ({
|
|
|
3874
3894
|
);
|
|
3875
3895
|
}) }),
|
|
3876
3896
|
/* @__PURE__ */ m("div", { className: Ce.buttonContainer, children: [
|
|
3877
|
-
/* @__PURE__ */ i(
|
|
3897
|
+
/* @__PURE__ */ i(Me, { containerStyles: l, type: "submit", children: v(a) }),
|
|
3878
3898
|
/* @__PURE__ */ i(we, { errorMessage: t, errorColor: r })
|
|
3879
3899
|
] })
|
|
3880
3900
|
] });
|
|
3881
|
-
},
|
|
3882
|
-
overlay:
|
|
3883
|
-
modal:
|
|
3884
|
-
closeButton:
|
|
3885
|
-
icon:
|
|
3886
|
-
message:
|
|
3887
|
-
submessage:
|
|
3888
|
-
buttonsContainer:
|
|
3889
|
-
buttonWrapper:
|
|
3890
|
-
},
|
|
3901
|
+
}, os = "_overlay_mnd4j_2", rs = "_modal_mnd4j_15", as = "_closeButton_mnd4j_29", ls = "_icon_mnd4j_39", cs = "_message_mnd4j_45", ds = "_submessage_mnd4j_51", us = "_buttonsContainer_mnd4j_57", ps = "_buttonWrapper_mnd4j_64", Y = {
|
|
3902
|
+
overlay: os,
|
|
3903
|
+
modal: rs,
|
|
3904
|
+
closeButton: as,
|
|
3905
|
+
icon: ls,
|
|
3906
|
+
message: cs,
|
|
3907
|
+
submessage: ds,
|
|
3908
|
+
buttonsContainer: us,
|
|
3909
|
+
buttonWrapper: ps
|
|
3910
|
+
}, ms = ({
|
|
3891
3911
|
onClose: n,
|
|
3892
3912
|
icon: d,
|
|
3893
3913
|
message: s,
|
|
@@ -3909,7 +3929,7 @@ const ye = ({
|
|
|
3909
3929
|
]
|
|
3910
3930
|
}
|
|
3911
3931
|
) });
|
|
3912
|
-
|
|
3932
|
+
ms.propTypes = {
|
|
3913
3933
|
/** Función que se ejecuta al clicar la "X" de cierre */
|
|
3914
3934
|
onClose: e.func.isRequired,
|
|
3915
3935
|
/** URL de la imagen opcional que aparece sobre el mensaje */
|
|
@@ -3925,17 +3945,17 @@ cs.propTypes = {
|
|
|
3925
3945
|
/** Anchura máxima del modal (por defecto 400px) */
|
|
3926
3946
|
maxWidth: e.string
|
|
3927
3947
|
};
|
|
3928
|
-
const
|
|
3929
|
-
stepsContainer:
|
|
3930
|
-
stepWrapper:
|
|
3931
|
-
circleContainer:
|
|
3932
|
-
circle:
|
|
3933
|
-
active:
|
|
3934
|
-
completed:
|
|
3935
|
-
label:
|
|
3936
|
-
labelActive:
|
|
3937
|
-
connector:
|
|
3938
|
-
},
|
|
3948
|
+
const hs = "_stepsContainer_1cyua_3", gs = "_stepWrapper_1cyua_9", Cs = "_circleContainer_1cyua_19", fs = "_circle_1cyua_19", bs = "_active_1cyua_39", ys = "_completed_1cyua_44", _s = "_label_1cyua_50", vs = "_labelActive_1cyua_56", ws = "_connector_1cyua_61", U = {
|
|
3949
|
+
stepsContainer: hs,
|
|
3950
|
+
stepWrapper: gs,
|
|
3951
|
+
circleContainer: Cs,
|
|
3952
|
+
circle: fs,
|
|
3953
|
+
active: bs,
|
|
3954
|
+
completed: ys,
|
|
3955
|
+
label: _s,
|
|
3956
|
+
labelActive: vs,
|
|
3957
|
+
connector: ws
|
|
3958
|
+
}, Ft = ({ steps: n, activeColor: d }) => /* @__PURE__ */ i("div", { className: U.stepsContainer, children: n.map((s, o) => {
|
|
3939
3959
|
const t = s.status === "active", r = s.status === "completed";
|
|
3940
3960
|
return /* @__PURE__ */ m("div", { className: U.stepWrapper, children: [
|
|
3941
3961
|
/* @__PURE__ */ m("div", { className: U.circleContainer, children: [
|
|
@@ -3961,7 +3981,7 @@ const ds = "_stepsContainer_1cyua_3", us = "_stepWrapper_1cyua_9", ps = "_circle
|
|
|
3961
3981
|
)
|
|
3962
3982
|
] }, o);
|
|
3963
3983
|
}) });
|
|
3964
|
-
|
|
3984
|
+
Ft.propTypes = {
|
|
3965
3985
|
steps: e.arrayOf(
|
|
3966
3986
|
e.shape({
|
|
3967
3987
|
name: e.string.isRequired,
|
|
@@ -3971,30 +3991,30 @@ Mt.propTypes = {
|
|
|
3971
3991
|
).isRequired,
|
|
3972
3992
|
activeColor: e.string
|
|
3973
3993
|
};
|
|
3974
|
-
|
|
3994
|
+
Ft.defaultProps = {
|
|
3975
3995
|
activeColor: "#C2185B"
|
|
3976
3996
|
// color por defecto
|
|
3977
3997
|
};
|
|
3978
|
-
const
|
|
3979
|
-
statusTextContainer:
|
|
3980
|
-
},
|
|
3981
|
-
|
|
3998
|
+
const xs = "_statusTextContainer_ch14r_2", ks = {
|
|
3999
|
+
statusTextContainer: xs
|
|
4000
|
+
}, Vt = ({ text: n, color: d }) => /* @__PURE__ */ i("div", { className: ks.statusTextContainer, style: { background: d }, children: /* @__PURE__ */ i("span", { children: n }) });
|
|
4001
|
+
Vt.propTypes = {
|
|
3982
4002
|
text: e.string,
|
|
3983
4003
|
color: e.string
|
|
3984
4004
|
};
|
|
3985
|
-
|
|
4005
|
+
Vt.defaultProps = {
|
|
3986
4006
|
color: "#C2185B"
|
|
3987
4007
|
// color por defecto
|
|
3988
4008
|
};
|
|
3989
|
-
const
|
|
3990
|
-
buttonsContainer:
|
|
3991
|
-
button:
|
|
3992
|
-
active:
|
|
3993
|
-
},
|
|
4009
|
+
const Ns = "_buttonsContainer_1c7dw_2", Ss = "_button_1c7dw_2", $s = "_active_1c7dw_20", Te = {
|
|
4010
|
+
buttonsContainer: Ns,
|
|
4011
|
+
button: Ss,
|
|
4012
|
+
active: $s
|
|
4013
|
+
}, Bs = ({
|
|
3994
4014
|
buttons: n = []
|
|
3995
4015
|
}) => {
|
|
3996
4016
|
const { t: d } = $();
|
|
3997
|
-
return /* @__PURE__ */ i("div", { className: `${
|
|
4017
|
+
return /* @__PURE__ */ i("div", { className: `${Te.buttonsContainer}`, children: n.map((s, o) => {
|
|
3998
4018
|
const {
|
|
3999
4019
|
isActive: t,
|
|
4000
4020
|
name: r,
|
|
@@ -4004,14 +4024,14 @@ const vs = "_buttonsContainer_1c7dw_2", ws = "_button_1c7dw_2", xs = "_active_1c
|
|
|
4004
4024
|
"button",
|
|
4005
4025
|
{
|
|
4006
4026
|
onClick: a,
|
|
4007
|
-
className: `${
|
|
4008
|
-
${t &&
|
|
4009
|
-
children: /* @__PURE__ */ i("span", { className:
|
|
4027
|
+
className: `${Te.button}
|
|
4028
|
+
${t && Te.active}`,
|
|
4029
|
+
children: /* @__PURE__ */ i("span", { className: Te.buttonName, children: d(r) })
|
|
4010
4030
|
}
|
|
4011
4031
|
) }, o);
|
|
4012
4032
|
}) });
|
|
4013
4033
|
};
|
|
4014
|
-
|
|
4034
|
+
Bs.propTypes = {
|
|
4015
4035
|
buttons: e.arrayOf(
|
|
4016
4036
|
e.shape({
|
|
4017
4037
|
isActive: e.bool,
|
|
@@ -4021,14 +4041,14 @@ Ns.propTypes = {
|
|
|
4021
4041
|
})
|
|
4022
4042
|
).isRequired
|
|
4023
4043
|
};
|
|
4024
|
-
const
|
|
4025
|
-
switchContainer:
|
|
4026
|
-
labelRight:
|
|
4027
|
-
labelLeft:
|
|
4044
|
+
const Ts = "_switchContainer_194wl_2", Ls = "_labelRight_194wl_9", Ms = "_labelLeft_194wl_9", Ds = "_slider_194wl_28", Fs = "_disabled_194wl_54", ue = {
|
|
4045
|
+
switchContainer: Ts,
|
|
4046
|
+
labelRight: Ls,
|
|
4047
|
+
labelLeft: Ms,
|
|
4028
4048
|
switch: "_switch_194wl_2",
|
|
4029
|
-
slider:
|
|
4030
|
-
disabled:
|
|
4031
|
-
},
|
|
4049
|
+
slider: Ds,
|
|
4050
|
+
disabled: Fs
|
|
4051
|
+
}, Vs = ({ input: n, reactHookFormInstance: d, onChange: s }) => {
|
|
4032
4052
|
const {
|
|
4033
4053
|
code: o,
|
|
4034
4054
|
labelLeft: t,
|
|
@@ -4037,15 +4057,15 @@ const ks = "_switchContainer_194wl_2", Ss = "_labelRight_194wl_9", $s = "_labelL
|
|
|
4037
4057
|
colorOn: l = "#5A514D",
|
|
4038
4058
|
disabled: c = !1,
|
|
4039
4059
|
width: u = 240
|
|
4040
|
-
} = n, { t:
|
|
4041
|
-
|
|
4042
|
-
},
|
|
4060
|
+
} = n, { t: h } = $(), { control: p } = d || {}, [f, y] = V(a), v = (g) => {
|
|
4061
|
+
y(g), s && s(g);
|
|
4062
|
+
}, _ = (g, C) => /* @__PURE__ */ m("div", { className: ue.switchContainer, style: { width: `${u}px` }, children: [
|
|
4043
4063
|
t && /* @__PURE__ */ i(
|
|
4044
4064
|
"span",
|
|
4045
4065
|
{
|
|
4046
4066
|
className: ue.labelLeft,
|
|
4047
4067
|
style: { width: `${(u - 74) / 2}px` },
|
|
4048
|
-
children:
|
|
4068
|
+
children: h(t)
|
|
4049
4069
|
}
|
|
4050
4070
|
),
|
|
4051
4071
|
/* @__PURE__ */ m("label", { className: `${ue.switch} ${c ? ue.disabled : ""}`, children: [
|
|
@@ -4053,8 +4073,8 @@ const ks = "_switchContainer_194wl_2", Ss = "_labelRight_194wl_9", $s = "_labelL
|
|
|
4053
4073
|
"input",
|
|
4054
4074
|
{
|
|
4055
4075
|
type: "checkbox",
|
|
4056
|
-
checked: !!
|
|
4057
|
-
onChange: () => C(!
|
|
4076
|
+
checked: !!g,
|
|
4077
|
+
onChange: () => C(!g),
|
|
4058
4078
|
disabled: c
|
|
4059
4079
|
}
|
|
4060
4080
|
),
|
|
@@ -4063,24 +4083,24 @@ const ks = "_switchContainer_194wl_2", Ss = "_labelRight_194wl_9", $s = "_labelL
|
|
|
4063
4083
|
{
|
|
4064
4084
|
className: ue.slider,
|
|
4065
4085
|
style: {
|
|
4066
|
-
"--switch-thumb-color":
|
|
4086
|
+
"--switch-thumb-color": g ? l : "#ccc"
|
|
4067
4087
|
}
|
|
4068
4088
|
}
|
|
4069
4089
|
)
|
|
4070
4090
|
] }),
|
|
4071
|
-
r && /* @__PURE__ */ i("span", { className: ue.labelRight, style: { width: `${(u - 74) / 2}px` }, children:
|
|
4091
|
+
r && /* @__PURE__ */ i("span", { className: ue.labelRight, style: { width: `${(u - 74) / 2}px` }, children: h(r) })
|
|
4072
4092
|
] });
|
|
4073
4093
|
return d ? /* @__PURE__ */ i(
|
|
4074
4094
|
ve,
|
|
4075
4095
|
{
|
|
4076
4096
|
name: o,
|
|
4077
|
-
control:
|
|
4097
|
+
control: p,
|
|
4078
4098
|
defaultValue: a,
|
|
4079
|
-
render: ({ field:
|
|
4099
|
+
render: ({ field: g }) => _(g.value, g.onChange)
|
|
4080
4100
|
}
|
|
4081
|
-
) :
|
|
4101
|
+
) : _(f, v);
|
|
4082
4102
|
};
|
|
4083
|
-
|
|
4103
|
+
Vs.propTypes = {
|
|
4084
4104
|
input: e.shape({
|
|
4085
4105
|
code: e.string,
|
|
4086
4106
|
labelLeft: e.string,
|
|
@@ -4092,13 +4112,13 @@ Ts.propTypes = {
|
|
|
4092
4112
|
reactHookFormInstance: e.object,
|
|
4093
4113
|
onChange: e.func
|
|
4094
4114
|
};
|
|
4095
|
-
const
|
|
4096
|
-
header:
|
|
4097
|
-
leftComponents:
|
|
4098
|
-
centerComponents:
|
|
4099
|
-
rightComponents:
|
|
4100
|
-
componentsContainer:
|
|
4101
|
-
},
|
|
4115
|
+
const As = "_header_13kbt_2", Is = "_leftComponents_13kbt_13", Os = "_centerComponents_13kbt_14", qs = "_rightComponents_13kbt_15", Rs = "_componentsContainer_13kbt_32", ne = {
|
|
4116
|
+
header: As,
|
|
4117
|
+
leftComponents: Is,
|
|
4118
|
+
centerComponents: Os,
|
|
4119
|
+
rightComponents: qs,
|
|
4120
|
+
componentsContainer: Rs
|
|
4121
|
+
}, Es = ({
|
|
4102
4122
|
cssProps: n,
|
|
4103
4123
|
leftComponents: d = [],
|
|
4104
4124
|
centerComponents: s = [],
|
|
@@ -4127,7 +4147,7 @@ const Ms = "_header_13kbt_2", Ds = "_leftComponents_13kbt_13", Fs = "_centerComp
|
|
|
4127
4147
|
]
|
|
4128
4148
|
}
|
|
4129
4149
|
);
|
|
4130
|
-
|
|
4150
|
+
Es.propTypes = {
|
|
4131
4151
|
leftComponents: e.arrayOf(e.node),
|
|
4132
4152
|
centerComponents: e.arrayOf(e.node),
|
|
4133
4153
|
rightComponents: e.arrayOf(e.node),
|
|
@@ -4137,12 +4157,12 @@ Is.propTypes = {
|
|
|
4137
4157
|
backgroundColor: e.string,
|
|
4138
4158
|
isFooter: e.bool
|
|
4139
4159
|
};
|
|
4140
|
-
const
|
|
4141
|
-
sidebar:
|
|
4142
|
-
open:
|
|
4143
|
-
content:
|
|
4144
|
-
closeButton:
|
|
4145
|
-
},
|
|
4160
|
+
const Ps = "_sidebar_18f0x_2", js = "_open_18f0x_16", zs = "_content_18f0x_20", Zs = "_closeButton_18f0x_26", Le = {
|
|
4161
|
+
sidebar: Ps,
|
|
4162
|
+
open: js,
|
|
4163
|
+
content: zs,
|
|
4164
|
+
closeButton: Zs
|
|
4165
|
+
}, Hs = "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", Ks = ({
|
|
4146
4166
|
width: n = "300px",
|
|
4147
4167
|
children: d,
|
|
4148
4168
|
showRightBar: s,
|
|
@@ -4157,49 +4177,49 @@ const Os = "_sidebar_1fmjn_2", Rs = "_open_1fmjn_16", qs = "_content_1fmjn_20",
|
|
|
4157
4177
|
className: `${Le.sidebar} ${s ? Le.open : ""}`,
|
|
4158
4178
|
style: { width: s ? n : 0 },
|
|
4159
4179
|
children: s && /* @__PURE__ */ m("div", { className: Le.content, children: [
|
|
4160
|
-
/* @__PURE__ */ i("button", { className: Le.closeButton, onClick: t, children: /* @__PURE__ */ i("img", { src:
|
|
4180
|
+
/* @__PURE__ */ i("button", { className: Le.closeButton, onClick: t, children: /* @__PURE__ */ i("img", { src: Hs, alt: "Close Sidebar" }) }),
|
|
4161
4181
|
d
|
|
4162
4182
|
] })
|
|
4163
4183
|
}
|
|
4164
4184
|
);
|
|
4165
4185
|
};
|
|
4166
|
-
|
|
4186
|
+
Ks.propTypes = {
|
|
4167
4187
|
width: e.string,
|
|
4168
4188
|
children: e.node,
|
|
4169
4189
|
showRightBar: e.bool,
|
|
4170
4190
|
onCloseBar: e.func
|
|
4171
4191
|
};
|
|
4172
4192
|
export {
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4193
|
+
x2 as AmbitSelector,
|
|
4194
|
+
Bs as ButtonsBar,
|
|
4195
|
+
A2 as ButtonsList,
|
|
4176
4196
|
oe as DropdownList,
|
|
4177
|
-
|
|
4197
|
+
uo as EditAmbit,
|
|
4178
4198
|
we as ErrorMessage,
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4199
|
+
dn as FiltersAmbit,
|
|
4200
|
+
fo as Form,
|
|
4201
|
+
Me as GeneralButton,
|
|
4202
|
+
gn as Graphic,
|
|
4203
|
+
Es as HeaderSection,
|
|
4204
|
+
Vn as IndicatorsList,
|
|
4205
|
+
En as LangSelector,
|
|
4206
|
+
n0 as Legend,
|
|
4207
|
+
oi as ListSelector,
|
|
4208
|
+
A0 as LogInButton,
|
|
4209
|
+
s0 as LogoApp,
|
|
4210
|
+
a0 as MapboxMap,
|
|
4211
|
+
m0 as MaplibreMap,
|
|
4212
|
+
ms as ModalAlert,
|
|
4213
|
+
Ui as RadioButtonInput,
|
|
4214
|
+
Dt as RankingSlider,
|
|
4215
|
+
Ks as RightSidebar,
|
|
4216
|
+
_0 as SectionBar,
|
|
4217
|
+
Ei as SelectInput,
|
|
4218
|
+
Vt as StatusText,
|
|
4219
|
+
Ft as Steps,
|
|
4220
|
+
Vs as Switch,
|
|
4221
|
+
ut as TextInput,
|
|
4222
|
+
B0 as TimeSlider,
|
|
4203
4223
|
ie as Tooltip,
|
|
4204
|
-
|
|
4224
|
+
D0 as TopNavMenu
|
|
4205
4225
|
};
|