@tmf_ciclica/ciclicastorybook 1.1.177 → 1.1.178
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 +677 -673
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
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_13b3m_2{width:100%;padding-left:30px}._indicatorsList_13b3m_2 ._title_13b3m_6{border-bottom:1px solid;height:70px;display:flex;align-items:center;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_qs4x9_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative;overflow-y:scroll}._legendContainer_qs4x9_3::-webkit-scrollbar{width:8px}._legendContainer_qs4x9_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_qs4x9_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31{position:absolute;right:20px;top:20px;width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before,._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before{transform:rotate(45deg)}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{transform:rotate(-45deg)}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59{border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59 h2{padding-bottom:16px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65{padding-top:20px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_qs4x9_3 ._titleLegendList_qs4x9_76{font-size:20px;padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88 ._colorDot_qs4x9_94{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100{position:relative}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueColor_qs4x9_103{height:130px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueText_qs4x9_108{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120{position:relative;margin-top:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._noData_qs4x9_120{height:22px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._absoluteValueText_qs4x9_108{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_qs4x9_3 ._moreInfoContainer_qs4x9_141{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_mt8l5_2{padding:15px;color:#92898a}._FeaturePopUp_mt8l5_2 p{margin-bottom:10px}._FeaturePopUp_mt8l5_2 ._title_mt8l5_9{font-weight:600;margin-right:5px;color:#92898a}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_1prh1_2{padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._slider_1prh1_2 ._playButton_1prh1_14,._slider_1prh1_2 ._playButton_1prh1_14._hover_1prh1_17{background-color:transparent!important}._slider_1prh1_2 ._playButton_1prh1_14 img{height:30px;width:30px}._sliderOpen_1prh1_25{right:490px}._sliderResults_1prh1_29{position:absolute;top:75px;right:430px;padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._sliderResults_1prh1_29 ._playButton_1prh1_14,._sliderResults_1prh1_29 ._playButton_1prh1_14._hover_1prh1_17{background-color:transparent!important}._sliderResults_1prh1_29 ._playButton_1prh1_14 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._LogInButton_1vxj5_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._elementSelector_3vmo9_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_3vmo9_2 ._header_3vmo9_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;height:70px}._elementSelector_3vmo9_2 ._header_3vmo9_13 ._nameDateContainer_3vmo9_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_3vmo9_2 ._header_3vmo9_13 ._nameDateContainer_3vmo9_23 ._elementName_3vmo9_39{font-size:18px;font-weight:600;flex:1}._elementSelector_3vmo9_2 ._header_3vmo9_13 ._nameDateContainer_3vmo9_23 ._elementName_3vmo9_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_3vmo9_2 ._header_3vmo9_13 ._nameDateContainer_3vmo9_23 ._elementDate_3vmo9_53{font-size:18px;font-weight:600;flex:.5}._elementSelector_3vmo9_2 ._header_3vmo9_13 ._nameDateContainer_3vmo9_23 ._elementDate_3vmo9_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_3vmo9_2 ._header_3vmo9_13 ._buttonsContainer_3vmo9_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_3vmo9_2 ._elementListContainer_3vmo9_76{flex:1;width:100%}._elementSelector_3vmo9_2 ._newElementButtonContainer_3vmo9_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
|
|
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_xjum5_2{width:100%;height:100%;padding-left:24px;position:relative}._FiltersAmbitContainer_xjum5_2 ._FiltersAmbitHeader_xjum5_8{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_xjum5_2 ._FiltersAmbitHeader_xjum5_8 ._FiltersAmbitTitle_xjum5_16{font-size:18px;font-weight:600;border-bottom:1.5px solid #605B56;width:100%;height:70px;display:flex;align-items:center}._FiltersAmbitContainer_xjum5_2 ._FiltersAmbitHeader_xjum5_8 ._FiltersAmbitDescription_xjum5_25{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_xjum5_2 ._FiltersAmbitHeader_xjum5_8 ._FiltersAmbitDescription_xjum5_25 ._FiltersAmbitDescriptionTitle_xjum5_36{font-size:18px;font-weight:600}._FiltersAmbitContainer_xjum5_2 ._warning_xjum5_40{color:red}._FiltersAmbitContainer_xjum5_2 ._buttonContainer_xjum5_43{width:100%;margin-left:-24px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;bottom:10px;position:fixed}._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_13b3m_2{width:100%;padding-left:30px}._indicatorsList_13b3m_2 ._title_13b3m_6{border-bottom:1px solid;height:70px;display:flex;align-items:center;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_qs4x9_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative;overflow-y:scroll}._legendContainer_qs4x9_3::-webkit-scrollbar{width:8px}._legendContainer_qs4x9_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_qs4x9_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31{position:absolute;right:20px;top:20px;width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before,._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before{transform:rotate(45deg)}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{transform:rotate(-45deg)}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59{border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59 h2{padding-bottom:16px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65{padding-top:20px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_qs4x9_3 ._titleLegendList_qs4x9_76{font-size:20px;padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88 ._colorDot_qs4x9_94{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100{position:relative}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueColor_qs4x9_103{height:130px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueText_qs4x9_108{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120{position:relative;margin-top:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._noData_qs4x9_120{height:22px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._absoluteValueText_qs4x9_108{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_qs4x9_3 ._moreInfoContainer_qs4x9_141{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_mt8l5_2{padding:15px;color:#92898a}._FeaturePopUp_mt8l5_2 p{margin-bottom:10px}._FeaturePopUp_mt8l5_2 ._title_mt8l5_9{font-weight:600;margin-right:5px;color:#92898a}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_1prh1_2{padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._slider_1prh1_2 ._playButton_1prh1_14,._slider_1prh1_2 ._playButton_1prh1_14._hover_1prh1_17{background-color:transparent!important}._slider_1prh1_2 ._playButton_1prh1_14 img{height:30px;width:30px}._sliderOpen_1prh1_25{right:490px}._sliderResults_1prh1_29{position:absolute;top:75px;right:430px;padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._sliderResults_1prh1_29 ._playButton_1prh1_14,._sliderResults_1prh1_29 ._playButton_1prh1_14._hover_1prh1_17{background-color:transparent!important}._sliderResults_1prh1_29 ._playButton_1prh1_14 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._LogInButton_1vxj5_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._elementSelector_3vmo9_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_3vmo9_2 ._header_3vmo9_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;height:70px}._elementSelector_3vmo9_2 ._header_3vmo9_13 ._nameDateContainer_3vmo9_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_3vmo9_2 ._header_3vmo9_13 ._nameDateContainer_3vmo9_23 ._elementName_3vmo9_39{font-size:18px;font-weight:600;flex:1}._elementSelector_3vmo9_2 ._header_3vmo9_13 ._nameDateContainer_3vmo9_23 ._elementName_3vmo9_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_3vmo9_2 ._header_3vmo9_13 ._nameDateContainer_3vmo9_23 ._elementDate_3vmo9_53{font-size:18px;font-weight:600;flex:.5}._elementSelector_3vmo9_2 ._header_3vmo9_13 ._nameDateContainer_3vmo9_23 ._elementDate_3vmo9_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_3vmo9_2 ._header_3vmo9_13 ._buttonsContainer_3vmo9_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_3vmo9_2 ._elementListContainer_3vmo9_76{flex:1;width:100%}._elementSelector_3vmo9_2 ._newElementButtonContainer_3vmo9_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_1g1wq_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_1g1wq_16{border-left:1px solid #ddd}._content_1g1wq_20{position:relative;height:100%}._closeButton_1g1wq_25{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1g1wq_25:hover{color:#000}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
import { jsxs as m, jsx as i, Fragment as qe } from "react/jsx-runtime";
|
|
3
3
|
import * as pe from "react";
|
|
4
|
-
import D, { useState as V, useEffect as F, useMemo as me, useLayoutEffect as It, useRef as
|
|
4
|
+
import D, { useState as V, useEffect as F, useMemo as me, useLayoutEffect as It, useRef as oe } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
6
|
import { useTranslation as $, Trans as He } from "react-i18next";
|
|
7
7
|
import { motion as Ke } from "framer-motion";
|
|
8
8
|
import { create as mt } from "zustand";
|
|
9
9
|
import * as Ye from "d3";
|
|
10
10
|
import Ot from "mapbox-gl";
|
|
11
|
-
import { useSelector as
|
|
12
|
-
import
|
|
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
13
|
import De from "maplibre-gl";
|
|
14
14
|
import { Protocol as Zt } from "pmtiles";
|
|
15
15
|
import Ht, { Source as Kt, Layer as Ut, NavigationControl as Gt, Popup as Wt } from "react-map-gl/maplibre";
|
|
@@ -44,14 +44,14 @@ const n2 = "_ambitSelector_mcunf_2", i2 = "_header_mcunf_13", s2 = "_nameDateCon
|
|
|
44
44
|
fontColor: l,
|
|
45
45
|
moreInfo: c
|
|
46
46
|
}) => {
|
|
47
|
-
const { name: u, created_at:
|
|
47
|
+
const { name: u, created_at: p, id: h, 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(h), children: [
|
|
55
55
|
/* @__PURE__ */ m("div", { className: he.ambitName, children: [
|
|
56
56
|
/* @__PURE__ */ i(
|
|
57
57
|
"img",
|
|
@@ -62,13 +62,13 @@ const n2 = "_ambitSelector_mcunf_2", i2 = "_header_mcunf_13", s2 = "_nameDateCon
|
|
|
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: p ? new Date(p).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
67
67
|
/* @__PURE__ */ m("div", { className: he.ambitButtons, children: [
|
|
68
68
|
f && /* @__PURE__ */ i("img", { src: b2 }),
|
|
69
|
-
/* @__PURE__ */ i("button", { onClick: () => o(
|
|
70
|
-
/* @__PURE__ */ i("button", { onClick: () => d(
|
|
71
|
-
/* @__PURE__ */ i("button", { onClick: () => s(
|
|
69
|
+
/* @__PURE__ */ i("button", { onClick: () => o(h), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: f2 }) }),
|
|
70
|
+
/* @__PURE__ */ i("button", { onClick: () => d(h), children: /* @__PURE__ */ i("img", { src: C2 }) }),
|
|
71
|
+
/* @__PURE__ */ i("button", { onClick: () => s(h), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: g2 }) })
|
|
72
72
|
] })
|
|
73
73
|
]
|
|
74
74
|
}
|
|
@@ -99,9 +99,10 @@ const Qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
99
99
|
onClick: d,
|
|
100
100
|
fontColor: s = "#605B56",
|
|
101
101
|
borderColor: o = "#605B56",
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
102
|
+
backgroundColor: t = "#fff",
|
|
103
|
+
type: r = "button",
|
|
104
|
+
containerStyles: a = {},
|
|
105
|
+
disabled: l = !1
|
|
105
106
|
}) => /* @__PURE__ */ i(
|
|
106
107
|
"button",
|
|
107
108
|
{
|
|
@@ -109,11 +110,12 @@ const Qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
109
110
|
style: {
|
|
110
111
|
color: s,
|
|
111
112
|
border: `1.5px solid ${o}`,
|
|
112
|
-
|
|
113
|
+
background: t,
|
|
114
|
+
...a
|
|
113
115
|
},
|
|
114
116
|
onClick: d,
|
|
115
|
-
type:
|
|
116
|
-
disabled:
|
|
117
|
+
type: r,
|
|
118
|
+
disabled: l,
|
|
117
119
|
children: n
|
|
118
120
|
}
|
|
119
121
|
), x2 = ({
|
|
@@ -127,19 +129,19 @@ const Qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
127
129
|
buttonContainerStyles: l = {},
|
|
128
130
|
containerStyles: c = {},
|
|
129
131
|
onCLickNewAmbit: u = () => console.log("New ambit clicked"),
|
|
130
|
-
onClickCopy:
|
|
131
|
-
onCLickDelete:
|
|
132
|
+
onClickCopy: p = (v) => console.log(`Copy ambit: ${v}`),
|
|
133
|
+
onCLickDelete: h = (v) => console.log(`Delete ambit: ${v}`),
|
|
132
134
|
onClickFilters: f = (v) => console.log(`Filters clicked: ${v}`),
|
|
133
|
-
onClickAmbit:
|
|
135
|
+
onClickAmbit: b = (v) => console.log(`OnCLickAmbit: ${v}`)
|
|
134
136
|
}) => {
|
|
135
137
|
const { t: v } = $(), [_, g] = V(n);
|
|
136
138
|
F(() => {
|
|
137
139
|
n && g(n);
|
|
138
140
|
}, [n]);
|
|
139
|
-
const C = (
|
|
141
|
+
const C = (y) => {
|
|
140
142
|
if (_ && _.length > 0) {
|
|
141
143
|
let x = [..._];
|
|
142
|
-
x.sort((w, k) => w[
|
|
144
|
+
x.sort((w, k) => w[y].localeCompare(k[y])), g(x);
|
|
143
145
|
}
|
|
144
146
|
};
|
|
145
147
|
return /* @__PURE__ */ m(
|
|
@@ -168,19 +170,19 @@ const Qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
168
170
|
]
|
|
169
171
|
}
|
|
170
172
|
),
|
|
171
|
-
/* @__PURE__ */ i("div", { className: W.ambitListContainer, children: _ && _.length > 0 && _.map((
|
|
173
|
+
/* @__PURE__ */ i("div", { className: W.ambitListContainer, children: _ && _.length > 0 && _.map((y) => /* @__PURE__ */ i(
|
|
172
174
|
ht,
|
|
173
175
|
{
|
|
174
|
-
isActive: d ==
|
|
175
|
-
ambit:
|
|
176
|
+
isActive: d == y.id,
|
|
177
|
+
ambit: y,
|
|
176
178
|
fontColor: s,
|
|
177
179
|
activeColor: o,
|
|
178
|
-
onClickCopy:
|
|
179
|
-
onClickDelete:
|
|
180
|
+
onClickCopy: p,
|
|
181
|
+
onClickDelete: h,
|
|
180
182
|
onClickFilters: f,
|
|
181
|
-
onClickAmbit:
|
|
183
|
+
onClickAmbit: b
|
|
182
184
|
},
|
|
183
|
-
`ambitKey${
|
|
185
|
+
`ambitKey${y.id}`
|
|
184
186
|
)) }),
|
|
185
187
|
/* @__PURE__ */ i("div", { className: W.newAmbitButtonContainer, children: /* @__PURE__ */ i(
|
|
186
188
|
Me,
|
|
@@ -229,11 +231,11 @@ const k2 = "_buttonsContainer_1ks7x_2", N2 = "_vertical_1ks7x_6", S2 = "_horizon
|
|
|
229
231
|
top: M2,
|
|
230
232
|
bottom: D2,
|
|
231
233
|
right: F2
|
|
232
|
-
},
|
|
234
|
+
}, se = ({ text: n, position: d, styleCustom: s = null }) => {
|
|
233
235
|
const { t: o } = $();
|
|
234
236
|
return /* @__PURE__ */ i("div", { className: `tooltip ${V2[d]}`, style: s, children: o(n) });
|
|
235
237
|
};
|
|
236
|
-
|
|
238
|
+
se.propTypes = {
|
|
237
239
|
text: e.string.isRequired,
|
|
238
240
|
position: e.oneOf(["top", "bottom", "left", "right"]).isRequired,
|
|
239
241
|
styleCustom: e.object
|
|
@@ -255,28 +257,28 @@ const A2 = ({
|
|
|
255
257
|
children: n.map((l, c) => {
|
|
256
258
|
const {
|
|
257
259
|
icon: u,
|
|
258
|
-
activeIcon:
|
|
259
|
-
isActive:
|
|
260
|
+
activeIcon: p,
|
|
261
|
+
isActive: h,
|
|
260
262
|
name: f,
|
|
261
|
-
onClick:
|
|
263
|
+
onClick: b,
|
|
262
264
|
disabled: v
|
|
263
|
-
} = l, _ = /* @__PURE__ */ m(
|
|
265
|
+
} = l, _ = /* @__PURE__ */ m(qe, { children: [
|
|
264
266
|
s && o === "left" && /* @__PURE__ */ i("span", { className: X.buttonName, children: a(f) }),
|
|
265
|
-
/* @__PURE__ */ i("img", { src:
|
|
267
|
+
/* @__PURE__ */ i("img", { src: h ? p : u, alt: a(f) }),
|
|
266
268
|
s && o === "right" && /* @__PURE__ */ i("span", { className: X.buttonName, children: a(f) })
|
|
267
269
|
] });
|
|
268
270
|
return /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
269
271
|
/* @__PURE__ */ i(
|
|
270
272
|
"button",
|
|
271
273
|
{
|
|
272
|
-
onClick:
|
|
274
|
+
onClick: b,
|
|
273
275
|
className: `${X.button}
|
|
274
|
-
${
|
|
276
|
+
${h && X.active}`,
|
|
275
277
|
disabled: v,
|
|
276
278
|
children: _
|
|
277
279
|
}
|
|
278
280
|
),
|
|
279
|
-
t && /* @__PURE__ */ i(
|
|
281
|
+
t && /* @__PURE__ */ i(se, { text: f, position: r })
|
|
280
282
|
] }, c);
|
|
281
283
|
})
|
|
282
284
|
}
|
|
@@ -300,11 +302,11 @@ A2.propTypes = {
|
|
|
300
302
|
useTooltip: e.bool,
|
|
301
303
|
tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
|
|
302
304
|
};
|
|
303
|
-
const I2 = "_indicatorsCategory_fj2r2_2", O2 = "_title_fj2r2_6",
|
|
305
|
+
const I2 = "_indicatorsCategory_fj2r2_2", O2 = "_title_fj2r2_6", q2 = "_mainTitle_fj2r2_13", ke = {
|
|
304
306
|
indicatorsCategory: I2,
|
|
305
307
|
title: O2,
|
|
306
|
-
mainTitle:
|
|
307
|
-
},
|
|
308
|
+
mainTitle: q2
|
|
309
|
+
}, re = ({
|
|
308
310
|
isOpen: n,
|
|
309
311
|
onClick: d,
|
|
310
312
|
children: s,
|
|
@@ -317,9 +319,9 @@ const I2 = "_indicatorsCategory_fj2r2_2", O2 = "_title_fj2r2_6", R2 = "_mainTitl
|
|
|
317
319
|
titleFontStyles: l,
|
|
318
320
|
showBottomBar: c = !0,
|
|
319
321
|
titleMarginChildren: u = 15,
|
|
320
|
-
mainTitle:
|
|
322
|
+
mainTitle: p = !1
|
|
321
323
|
}) => {
|
|
322
|
-
const { t:
|
|
324
|
+
const { t: h } = $();
|
|
323
325
|
return /* @__PURE__ */ m(
|
|
324
326
|
Ke.div,
|
|
325
327
|
{
|
|
@@ -330,7 +332,7 @@ const I2 = "_indicatorsCategory_fj2r2_2", O2 = "_title_fj2r2_6", R2 = "_mainTitl
|
|
|
330
332
|
style: {
|
|
331
333
|
backgroundColor: "white",
|
|
332
334
|
borderBottom: n && c ? `1px solid ${t}` : "0px",
|
|
333
|
-
minHeight:
|
|
335
|
+
minHeight: p ? "70px" : "50px"
|
|
334
336
|
},
|
|
335
337
|
children: [
|
|
336
338
|
/* @__PURE__ */ m(
|
|
@@ -340,20 +342,20 @@ const I2 = "_indicatorsCategory_fj2r2_2", O2 = "_title_fj2r2_6", R2 = "_mainTitl
|
|
|
340
342
|
...l
|
|
341
343
|
//marginBottom: titleMarginChildren ? titleMarginChildren : "auto",
|
|
342
344
|
},
|
|
343
|
-
className: `${ke.title} ${
|
|
345
|
+
className: `${ke.title} ${p && ke.mainTitle}`,
|
|
344
346
|
onClick: d,
|
|
345
347
|
children: [
|
|
346
348
|
/* @__PURE__ */ i("span", { style: { color: n ? t : o }, children: n ? "-" : "+" }),
|
|
347
|
-
/* @__PURE__ */ i("span", { style: { color: n ? t : o }, children:
|
|
349
|
+
/* @__PURE__ */ i("span", { style: { color: n ? t : o }, children: h(r) })
|
|
348
350
|
]
|
|
349
351
|
}
|
|
350
352
|
),
|
|
351
|
-
/* @__PURE__ */ i("div", { className: ke.content, style: { padding:
|
|
353
|
+
/* @__PURE__ */ i("div", { className: ke.content, style: { padding: p ? "20px 0px" : "0px" }, children: s })
|
|
352
354
|
]
|
|
353
355
|
}
|
|
354
356
|
);
|
|
355
357
|
};
|
|
356
|
-
|
|
358
|
+
re.propTypes = {
|
|
357
359
|
isOpen: e.bool,
|
|
358
360
|
onClick: e.func,
|
|
359
361
|
children: e.node,
|
|
@@ -364,7 +366,7 @@ oe.propTypes = {
|
|
|
364
366
|
showBottomBar: e.bool,
|
|
365
367
|
titleFontStyles: e.object
|
|
366
368
|
};
|
|
367
|
-
const
|
|
369
|
+
const po = () => /* @__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
370
|
AppliedFiltersContainer: E2,
|
|
369
371
|
AppliedFilterContent: P2
|
|
370
372
|
}, T = mt((n) => ({
|
|
@@ -376,28 +378,29 @@ const uo = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), q2 = "data
|
|
|
376
378
|
inputsColor: "#605B56",
|
|
377
379
|
activeFiltersType: null,
|
|
378
380
|
geoLayers: []
|
|
379
|
-
})), gt = ({ title: n, onClick: d, isOpen: s = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
380
|
-
const { t:
|
|
381
|
-
T.setState((
|
|
382
|
-
tematicalFiltersSelected:
|
|
383
|
-
(
|
|
381
|
+
})), gt = ({ title: n, onClick: d, isOpen: s = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r, fontColor: a = "#605B56" }) => {
|
|
382
|
+
const { t: l } = $(), { tematicalFiltersSelected: c, activeFiltersType: u } = T((f) => f), p = (f) => {
|
|
383
|
+
T.setState((b) => ({
|
|
384
|
+
tematicalFiltersSelected: b.tematicalFiltersSelected.filter(
|
|
385
|
+
(v) => v.code !== f
|
|
384
386
|
)
|
|
385
387
|
}));
|
|
386
388
|
};
|
|
387
389
|
return /* @__PURE__ */ i(
|
|
388
|
-
|
|
390
|
+
re,
|
|
389
391
|
{
|
|
390
392
|
isOpen: s,
|
|
391
393
|
onClick: () => {
|
|
392
|
-
|
|
394
|
+
u == "applied" ? T.setState(() => ({ activeFiltersType: null })) : T.setState(() => ({ activeFiltersType: "applied" }));
|
|
393
395
|
},
|
|
394
|
-
title: n ?
|
|
396
|
+
title: n ? l(n) : "Applied Filters",
|
|
395
397
|
activeColor: r,
|
|
396
398
|
mainTitle: !0,
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
399
|
+
color: a,
|
|
400
|
+
children: /* @__PURE__ */ i("div", { className: Xe.AppliedFiltersContainer, children: c == null ? void 0 : c.map((f, b) => /* @__PURE__ */ m("div", { className: Xe.AppliedFilterContent, style: { color: o, background: t }, children: [
|
|
401
|
+
l(f.name),
|
|
402
|
+
/* @__PURE__ */ i("img", { src: R2, alt: "CloseIcon", onClick: () => p(f.code), style: { cursor: "pointer" } })
|
|
403
|
+
] }, b)) })
|
|
401
404
|
}
|
|
402
405
|
);
|
|
403
406
|
};
|
|
@@ -426,20 +429,20 @@ const j2 = "_layersList_cn837_25", z2 = "_layerName_cn837_34", Je = {
|
|
|
426
429
|
activeColor: t,
|
|
427
430
|
onGeoLayersChange: r
|
|
428
431
|
}) => {
|
|
429
|
-
const { t: a } = $(), { activeFiltersType: l, geoLayers: c } = T((
|
|
432
|
+
const { t: a } = $(), { activeFiltersType: l, geoLayers: c } = T((h) => h), u = () => {
|
|
430
433
|
l == "geographical" ? T.setState(() => ({ activeFiltersType: null })) : T.setState(() => ({ activeFiltersType: "geographical" }));
|
|
431
|
-
},
|
|
434
|
+
}, p = (h) => {
|
|
432
435
|
T.setState((f) => ({
|
|
433
|
-
geoLayers: f.geoLayers.map((
|
|
434
|
-
...
|
|
435
|
-
active:
|
|
436
|
+
geoLayers: f.geoLayers.map((b) => ({
|
|
437
|
+
...b,
|
|
438
|
+
active: b.name === h.name
|
|
436
439
|
}))
|
|
437
440
|
}));
|
|
438
441
|
};
|
|
439
442
|
return F(() => {
|
|
440
443
|
r && r(c);
|
|
441
444
|
}, [c]), /* @__PURE__ */ i(
|
|
442
|
-
|
|
445
|
+
re,
|
|
443
446
|
{
|
|
444
447
|
isOpen: l == "geographical",
|
|
445
448
|
onClick: u,
|
|
@@ -447,15 +450,15 @@ const j2 = "_layersList_cn837_25", z2 = "_layerName_cn837_34", Je = {
|
|
|
447
450
|
activeColor: t,
|
|
448
451
|
color: s,
|
|
449
452
|
mainTitle: !0,
|
|
450
|
-
children: /* @__PURE__ */ i("div", { className: `${Je.layersList}`, children: c.map((
|
|
453
|
+
children: /* @__PURE__ */ i("div", { className: `${Je.layersList}`, children: c.map((h) => /* @__PURE__ */ m(
|
|
451
454
|
"div",
|
|
452
455
|
{
|
|
453
456
|
className: `${Je.layerName}`,
|
|
454
|
-
style: { color:
|
|
455
|
-
onClick: () => h
|
|
457
|
+
style: { color: h.active ? t : s, fontWeight: h.active ? "bold" : "normal" },
|
|
458
|
+
onClick: () => p(h),
|
|
456
459
|
children: [
|
|
457
|
-
a(
|
|
458
|
-
|
|
460
|
+
a(h.name),
|
|
461
|
+
h.active
|
|
459
462
|
]
|
|
460
463
|
}
|
|
461
464
|
)) })
|
|
@@ -517,13 +520,13 @@ ft.propTypes = {
|
|
|
517
520
|
}),
|
|
518
521
|
checkedColor: e.string
|
|
519
522
|
};
|
|
520
|
-
function
|
|
521
|
-
return
|
|
523
|
+
function Re(n, d) {
|
|
524
|
+
return Re = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(s, o) {
|
|
522
525
|
return s.__proto__ = o, s;
|
|
523
|
-
},
|
|
526
|
+
}, Re(n, d);
|
|
524
527
|
}
|
|
525
528
|
function K2(n, d) {
|
|
526
|
-
n.prototype = Object.create(d.prototype), n.prototype.constructor = n,
|
|
529
|
+
n.prototype = Object.create(d.prototype), n.prototype.constructor = n, Re(n, d);
|
|
527
530
|
}
|
|
528
531
|
function Fe(n) {
|
|
529
532
|
return n && n.stopPropagation && n.stopPropagation(), n && n.preventDefault && n.preventDefault(), !1;
|
|
@@ -563,19 +566,19 @@ let Pe = function(n) {
|
|
|
563
566
|
t.setState({ index: -1 }, t.onEnd(t.getKeyDownEventMap()));
|
|
564
567
|
}, t.onMouseMove = (l) => {
|
|
565
568
|
t.setState({ pending: !0 });
|
|
566
|
-
const c = t.getMousePosition(l), u = t.getDiffPosition(c[0]),
|
|
567
|
-
t.move(
|
|
569
|
+
const c = t.getMousePosition(l), u = t.getDiffPosition(c[0]), p = t.getValueFromPosition(u);
|
|
570
|
+
t.move(p);
|
|
568
571
|
}, t.onTouchMove = (l) => {
|
|
569
572
|
if (l.touches.length > 1) return;
|
|
570
573
|
t.setState({ pending: !0 });
|
|
571
574
|
const c = t.getTouchPosition(l);
|
|
572
575
|
if (t.isScrolling === void 0) {
|
|
573
|
-
const
|
|
574
|
-
t.isScrolling = Math.abs(f) > Math.abs(
|
|
576
|
+
const h = c[0] - t.startPosition[0], f = c[1] - t.startPosition[1];
|
|
577
|
+
t.isScrolling = Math.abs(f) > Math.abs(h);
|
|
575
578
|
}
|
|
576
579
|
if (t.isScrolling) return void t.setState({ index: -1 });
|
|
577
|
-
const u = t.getDiffPosition(c[0]),
|
|
578
|
-
t.move(
|
|
580
|
+
const u = t.getDiffPosition(c[0]), p = t.getValueFromPosition(u);
|
|
581
|
+
t.move(p);
|
|
579
582
|
}, t.onKeyDown = (l) => {
|
|
580
583
|
if (!(l.ctrlKey || l.shiftKey || l.altKey || l.metaKey)) switch (t.setState({ pending: !0 }), l.key) {
|
|
581
584
|
case "ArrowLeft":
|
|
@@ -628,8 +631,8 @@ let Pe = function(n) {
|
|
|
628
631
|
if (t.props.disabled || c.touches.length > 1) return;
|
|
629
632
|
t.setState({ pending: !0 });
|
|
630
633
|
const u = t.getTouchPosition(c);
|
|
631
|
-
t.startPosition = u, t.isScrolling = void 0, t.start(l, u[0]), Se(t.getTouchEventMap()), function(
|
|
632
|
-
|
|
634
|
+
t.startPosition = u, t.isScrolling = void 0, t.start(l, u[0]), Se(t.getTouchEventMap()), function(p) {
|
|
635
|
+
p.stopPropagation && p.stopPropagation();
|
|
633
636
|
}(c);
|
|
634
637
|
}, t.handleResize = () => {
|
|
635
638
|
const l = window.setTimeout(() => {
|
|
@@ -637,13 +640,13 @@ let Pe = function(n) {
|
|
|
637
640
|
}, 0);
|
|
638
641
|
t.pendingResizeTimeouts.push(l);
|
|
639
642
|
}, t.renderThumb = (l, c) => {
|
|
640
|
-
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""),
|
|
643
|
+
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), p = { ref: (f) => {
|
|
641
644
|
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 },
|
|
643
|
-
return t.props.ariaValuetext && (
|
|
645
|
+
}, 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 }, h = { index: c, value: Ne(t.state.value), valueNow: t.state.value[c] };
|
|
646
|
+
return t.props.ariaValuetext && (p["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(h)), t.props.renderThumb(p, h);
|
|
644
647
|
}, t.renderTrack = (l, c, u) => {
|
|
645
|
-
const
|
|
646
|
-
return t.props.renderTrack(
|
|
648
|
+
const p = { key: t.props.trackClassName + "-" + l, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + l, style: t.buildTrackStyle(c, t.state.upperBound - u) }, h = { index: l, value: Ne(t.state.value) };
|
|
649
|
+
return t.props.renderTrack(p, h);
|
|
647
650
|
};
|
|
648
651
|
let r = Ve(o.value);
|
|
649
652
|
r.length || (r = Ve(o.defaultValue)), t.pendingResizeTimeouts = [];
|
|
@@ -674,8 +677,8 @@ let Pe = function(n) {
|
|
|
674
677
|
let t = Number.MAX_VALUE, r = -1;
|
|
675
678
|
const { value: a } = this.state, l = a.length;
|
|
676
679
|
for (let c = 0; c < l; c += 1) {
|
|
677
|
-
const u = this.calcOffset(a[c]),
|
|
678
|
-
|
|
680
|
+
const u = this.calcOffset(a[c]), p = Math.abs(o - u);
|
|
681
|
+
p < t && (t = p, r = c);
|
|
679
682
|
}
|
|
680
683
|
return r;
|
|
681
684
|
}, s.getMousePosition = function(o) {
|
|
@@ -698,8 +701,8 @@ let Pe = function(n) {
|
|
|
698
701
|
}, s.resize = function() {
|
|
699
702
|
const { slider: o, thumb0: t } = this;
|
|
700
703
|
if (!o || !t) return;
|
|
701
|
-
const r = this.sizeKey(), a = o.getBoundingClientRect(), l = o[r], c = a[this.posMaxKey()], u = a[this.posMinKey()],
|
|
702
|
-
this.state.upperBound ===
|
|
704
|
+
const r = this.sizeKey(), a = o.getBoundingClientRect(), l = o[r], c = a[this.posMaxKey()], u = a[this.posMinKey()], p = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], h = l - p, f = Math.abs(c - u);
|
|
705
|
+
this.state.upperBound === h && this.state.sliderLength === f && this.state.thumbSize === p || this.setState({ upperBound: h, sliderLength: f, thumbSize: p });
|
|
703
706
|
}, s.calcOffset = function(o) {
|
|
704
707
|
const t = this.props.max - this.props.min;
|
|
705
708
|
return t === 0 ? 0 : (o - this.props.min) / t * this.state.upperBound;
|
|
@@ -738,28 +741,28 @@ let Pe = function(n) {
|
|
|
738
741
|
const t = this.state.value.slice(), { index: r } = this.state, { length: a } = t, l = t[r];
|
|
739
742
|
if (o === l) return;
|
|
740
743
|
this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
|
|
741
|
-
const { pearling: c, max: u, min:
|
|
744
|
+
const { pearling: c, max: u, min: p, minDistance: h } = this.props;
|
|
742
745
|
if (!c) {
|
|
743
746
|
if (r > 0) {
|
|
744
747
|
const f = t[r - 1];
|
|
745
|
-
o < f +
|
|
748
|
+
o < f + h && (o = f + h);
|
|
746
749
|
}
|
|
747
750
|
if (r < a - 1) {
|
|
748
751
|
const f = t[r + 1];
|
|
749
|
-
o > f -
|
|
752
|
+
o > f - h && (o = f - h);
|
|
750
753
|
}
|
|
751
754
|
}
|
|
752
|
-
t[r] = o, c && a > 1 && (o > l ? (this.pushSucceeding(t,
|
|
755
|
+
t[r] = o, c && a > 1 && (o > l ? (this.pushSucceeding(t, h, r), function(f, b, v, _) {
|
|
753
756
|
for (let g = 0; g < f; g += 1) {
|
|
754
757
|
const C = _ - g * v;
|
|
755
|
-
|
|
758
|
+
b[f - 1 - g] > C && (b[f - 1 - g] = C);
|
|
756
759
|
}
|
|
757
|
-
}(a, t,
|
|
760
|
+
}(a, t, h, u)) : o < l && (this.pushPreceding(t, h, r), function(f, b, v, _) {
|
|
758
761
|
for (let g = 0; g < f; g += 1) {
|
|
759
762
|
const C = _ + g * v;
|
|
760
|
-
|
|
763
|
+
b[g] < C && (b[g] = C);
|
|
761
764
|
}
|
|
762
|
-
}(a, t,
|
|
765
|
+
}(a, t, h, p))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
763
766
|
}, s.pushSucceeding = function(o, t, r) {
|
|
764
767
|
let a, l;
|
|
765
768
|
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);
|
|
@@ -815,7 +818,7 @@ let Pe = function(n) {
|
|
|
815
818
|
}(D.Component);
|
|
816
819
|
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) };
|
|
817
820
|
var je = Pe;
|
|
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",
|
|
821
|
+
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", ae = {
|
|
819
822
|
container: U2,
|
|
820
823
|
unitLabel: G2,
|
|
821
824
|
slider: W2,
|
|
@@ -833,27 +836,27 @@ const U2 = "_container_4u41i_2", G2 = "_unitLabel_4u41i_8", W2 = "_slider_4u41i_
|
|
|
833
836
|
defaultValue: l,
|
|
834
837
|
isDate: c
|
|
835
838
|
}) => {
|
|
836
|
-
const { t: u } = $(),
|
|
837
|
-
|
|
839
|
+
const { t: u } = $(), p = c ? new Date(n).getTime() : null, h = c ? new Date(d).getTime() : null, [f, b] = V(c ? [p, h] : [n, d]), v = (_) => {
|
|
840
|
+
b(_), o == null || o({ min: _[0], max: _[1] });
|
|
838
841
|
};
|
|
839
842
|
return F(() => {
|
|
840
|
-
l ||
|
|
843
|
+
l || b(c ? [p, h] : [n, d]);
|
|
841
844
|
}, [l, c]), /* @__PURE__ */ m(
|
|
842
845
|
"div",
|
|
843
846
|
{
|
|
844
|
-
className:
|
|
847
|
+
className: ae.container,
|
|
845
848
|
style: { width: `${t}px`, color: `${a}` },
|
|
846
849
|
children: [
|
|
847
|
-
/* @__PURE__ */ i("div", { className:
|
|
850
|
+
/* @__PURE__ */ i("div", { className: ae.unitLabel, children: /* @__PURE__ */ i("span", { children: u(r) }) }),
|
|
848
851
|
/* @__PURE__ */ i(
|
|
849
852
|
je,
|
|
850
853
|
{
|
|
851
|
-
className:
|
|
852
|
-
thumbClassName:
|
|
853
|
-
trackClassName:
|
|
854
|
-
min: c ?
|
|
855
|
-
max: c ?
|
|
856
|
-
step: c ? (
|
|
854
|
+
className: ae.slider,
|
|
855
|
+
thumbClassName: ae.thumb,
|
|
856
|
+
trackClassName: ae.track,
|
|
857
|
+
min: c ? p : n,
|
|
858
|
+
max: c ? h : d,
|
|
859
|
+
step: c ? (h - p) / 30 : s,
|
|
857
860
|
value: f,
|
|
858
861
|
onAfterChange: v,
|
|
859
862
|
withTracks: !0,
|
|
@@ -861,7 +864,7 @@ const U2 = "_container_4u41i_2", G2 = "_unitLabel_4u41i_8", W2 = "_slider_4u41i_
|
|
|
861
864
|
minDistance: c ? 0 : 0.1
|
|
862
865
|
}
|
|
863
866
|
),
|
|
864
|
-
/* @__PURE__ */ m("div", { className:
|
|
867
|
+
/* @__PURE__ */ m("div", { className: ae.labels, children: [
|
|
865
868
|
/* @__PURE__ */ i("span", { children: c ? new Date(f[0]).toLocaleDateString("en-EN", {
|
|
866
869
|
day: "2-digit",
|
|
867
870
|
month: "short",
|
|
@@ -906,10 +909,10 @@ const J2 = "_tematicalFiltersInputContainer_1vm1r_2", en = "_inputTypeContainer_
|
|
|
906
909
|
minValue: l,
|
|
907
910
|
maxValue: c,
|
|
908
911
|
unit: u,
|
|
909
|
-
step:
|
|
910
|
-
disabled:
|
|
912
|
+
step: p,
|
|
913
|
+
disabled: h,
|
|
911
914
|
isDate: f
|
|
912
|
-
} = n || {},
|
|
915
|
+
} = n || {}, b = me(
|
|
913
916
|
() => t == "cat" || s == "cat",
|
|
914
917
|
[s, t]
|
|
915
918
|
), v = me(
|
|
@@ -919,12 +922,12 @@ const J2 = "_tematicalFiltersInputContainer_1vm1r_2", en = "_inputTypeContainer_
|
|
|
919
922
|
tematicalFiltersSelected: _,
|
|
920
923
|
selectedIndicator: g,
|
|
921
924
|
fontColor: C,
|
|
922
|
-
inputsColor:
|
|
925
|
+
inputsColor: y
|
|
923
926
|
} = T((k) => k), x = (k) => {
|
|
924
927
|
if (k) {
|
|
925
|
-
const { min: S, max: L, valueClicked: N, allValues: B } = k || {}, { code: O, type:
|
|
928
|
+
const { min: S, max: L, valueClicked: N, allValues: B } = k || {}, { code: O, type: q, source: M } = n || {}, H = v ? "abs" : b ? "cat" : "both";
|
|
926
929
|
let z = O[0];
|
|
927
|
-
|
|
930
|
+
q == "both" && (z = H == "cat" ? O[1] : O[0]), H == "cat" ? T.setState((Q) => {
|
|
928
931
|
let G = Q.tematicalFiltersSelected.find(
|
|
929
932
|
(E) => E.code === z
|
|
930
933
|
);
|
|
@@ -998,17 +1001,17 @@ const J2 = "_tematicalFiltersInputContainer_1vm1r_2", en = "_inputTypeContainer_
|
|
|
998
1001
|
return k;
|
|
999
1002
|
}, [_]);
|
|
1000
1003
|
return /* @__PURE__ */ i("div", { className: $e.tematicalFiltersInputContainer, children: /* @__PURE__ */ m(
|
|
1001
|
-
|
|
1004
|
+
re,
|
|
1002
1005
|
{
|
|
1003
1006
|
titleFontStyles: {
|
|
1004
1007
|
fontSize: 16,
|
|
1005
1008
|
fontWeight: 400,
|
|
1006
|
-
opacity:
|
|
1009
|
+
opacity: h ? 0.5 : 1
|
|
1007
1010
|
},
|
|
1008
1011
|
title: r,
|
|
1009
1012
|
isOpen: g == `id${r}`,
|
|
1010
1013
|
onClick: () => {
|
|
1011
|
-
|
|
1014
|
+
h || T.setState(() => ({
|
|
1012
1015
|
selectedIndicator: g == `id${r}` ? "" : `id${r}`
|
|
1013
1016
|
}));
|
|
1014
1017
|
},
|
|
@@ -1037,8 +1040,8 @@ const J2 = "_tematicalFiltersInputContainer_1vm1r_2", en = "_inputTypeContainer_
|
|
|
1037
1040
|
},
|
|
1038
1041
|
style: {
|
|
1039
1042
|
marginRight: 4,
|
|
1040
|
-
backgroundColor: s == "abs" ?
|
|
1041
|
-
border: `1.5px solid ${s == "abs" ?
|
|
1043
|
+
backgroundColor: s == "abs" ? y : "white",
|
|
1044
|
+
border: `1.5px solid ${s == "abs" ? y : C}`
|
|
1042
1045
|
}
|
|
1043
1046
|
}
|
|
1044
1047
|
),
|
|
@@ -1056,8 +1059,8 @@ const J2 = "_tematicalFiltersInputContainer_1vm1r_2", en = "_inputTypeContainer_
|
|
|
1056
1059
|
},
|
|
1057
1060
|
style: {
|
|
1058
1061
|
marginRight: 4,
|
|
1059
|
-
backgroundColor: s == "cat" ?
|
|
1060
|
-
border: `1.5px solid ${s == "cat" ?
|
|
1062
|
+
backgroundColor: s == "cat" ? y : "white",
|
|
1063
|
+
border: `1.5px solid ${s == "cat" ? y : C}`
|
|
1061
1064
|
}
|
|
1062
1065
|
}
|
|
1063
1066
|
),
|
|
@@ -1066,7 +1069,7 @@ const J2 = "_tematicalFiltersInputContainer_1vm1r_2", en = "_inputTypeContainer_
|
|
|
1066
1069
|
]
|
|
1067
1070
|
}
|
|
1068
1071
|
),
|
|
1069
|
-
|
|
1072
|
+
b && /* @__PURE__ */ i("div", { className: $e.checkboxContainer, children: a.map((k, S) => {
|
|
1070
1073
|
var L;
|
|
1071
1074
|
return /* @__PURE__ */ i(
|
|
1072
1075
|
ft,
|
|
@@ -1087,7 +1090,7 @@ const J2 = "_tematicalFiltersInputContainer_1vm1r_2", en = "_inputTypeContainer_
|
|
|
1087
1090
|
unit: u,
|
|
1088
1091
|
defaultValue: w[n.code[0]] ? w[n.code[0]] : "",
|
|
1089
1092
|
isDate: f,
|
|
1090
|
-
step:
|
|
1093
|
+
step: p
|
|
1091
1094
|
}
|
|
1092
1095
|
) })
|
|
1093
1096
|
]
|
|
@@ -1117,7 +1120,7 @@ const yt = ({
|
|
|
1117
1120
|
}) => {
|
|
1118
1121
|
const { activeSubcategory: o } = T((a) => a), { name: t, indicators: r } = n || {};
|
|
1119
1122
|
return /* @__PURE__ */ i(
|
|
1120
|
-
|
|
1123
|
+
re,
|
|
1121
1124
|
{
|
|
1122
1125
|
title: t,
|
|
1123
1126
|
isOpen: o == `id${t}`,
|
|
@@ -1164,7 +1167,7 @@ const _t = ({
|
|
|
1164
1167
|
}) => {
|
|
1165
1168
|
const { name: s, subcategories: o, indicators: t } = n || {}, { activeCategory: r, fontColor: a } = T((l) => l);
|
|
1166
1169
|
return n && /* @__PURE__ */ i(
|
|
1167
|
-
|
|
1170
|
+
re,
|
|
1168
1171
|
{
|
|
1169
1172
|
onClick: () => {
|
|
1170
1173
|
T.setState((l) => ({
|
|
@@ -1215,7 +1218,7 @@ const vt = ({
|
|
|
1215
1218
|
inputsColor: t = "#605B56",
|
|
1216
1219
|
activeColor: r
|
|
1217
1220
|
}) => {
|
|
1218
|
-
const { tematicalFiltersSelected: a, activeFiltersType: l } = T((
|
|
1221
|
+
const { tematicalFiltersSelected: a, activeFiltersType: l } = T((p) => p), { t: c } = $();
|
|
1219
1222
|
F(() => {
|
|
1220
1223
|
}, [a]), F(() => {
|
|
1221
1224
|
o && T.setState(() => ({ fontColor: o }));
|
|
@@ -1226,7 +1229,7 @@ const vt = ({
|
|
|
1226
1229
|
l == "tematical" ? T.setState(() => ({ activeFiltersType: null })) : T.setState(() => ({ activeFiltersType: "tematical" }));
|
|
1227
1230
|
};
|
|
1228
1231
|
return /* @__PURE__ */ i(
|
|
1229
|
-
|
|
1232
|
+
re,
|
|
1230
1233
|
{
|
|
1231
1234
|
isOpen: l == "tematical",
|
|
1232
1235
|
title: s ? c(s) : "Tematical filters",
|
|
@@ -1234,14 +1237,14 @@ const vt = ({
|
|
|
1234
1237
|
activeColor: r,
|
|
1235
1238
|
onClick: u,
|
|
1236
1239
|
mainTitle: !0,
|
|
1237
|
-
children: n == null ? void 0 : n.map((
|
|
1240
|
+
children: n == null ? void 0 : n.map((p, h) => /* @__PURE__ */ i(
|
|
1238
1241
|
_t,
|
|
1239
1242
|
{
|
|
1240
|
-
category:
|
|
1243
|
+
category: p,
|
|
1241
1244
|
fontColor: o,
|
|
1242
1245
|
activeColor: r
|
|
1243
1246
|
},
|
|
1244
|
-
`category-${
|
|
1247
|
+
`category-${h}`
|
|
1245
1248
|
))
|
|
1246
1249
|
}
|
|
1247
1250
|
);
|
|
@@ -1255,14 +1258,15 @@ vt.propTypes = {
|
|
|
1255
1258
|
inputsColor: e.string,
|
|
1256
1259
|
activeColor: e.string
|
|
1257
1260
|
};
|
|
1258
|
-
const sn = "
|
|
1261
|
+
const sn = "_FiltersAmbitContainer_xjum5_2", on = "_FiltersAmbitHeader_xjum5_8", rn = "_FiltersAmbitTitle_xjum5_16", an = "_FiltersAmbitDescription_xjum5_25", ln = "_FiltersAmbitDescriptionTitle_xjum5_36", cn = "_warning_xjum5_40", dn = "_buttonContainer_xjum5_43", ee = {
|
|
1259
1262
|
FiltersAmbitContainer: sn,
|
|
1260
1263
|
FiltersAmbitHeader: on,
|
|
1261
1264
|
FiltersAmbitTitle: rn,
|
|
1262
1265
|
FiltersAmbitDescription: an,
|
|
1263
1266
|
FiltersAmbitDescriptionTitle: ln,
|
|
1264
|
-
warning: cn
|
|
1265
|
-
|
|
1267
|
+
warning: cn,
|
|
1268
|
+
buttonContainer: dn
|
|
1269
|
+
}, un = ({
|
|
1266
1270
|
ambitName: n,
|
|
1267
1271
|
ambitDescription: d,
|
|
1268
1272
|
defaultFilters: s,
|
|
@@ -1273,53 +1277,53 @@ const sn = "_FiltersAmbitContainer_m1o6g_2", on = "_FiltersAmbitHeader_m1o6g_7",
|
|
|
1273
1277
|
onChangeAppliedFilters: l,
|
|
1274
1278
|
saveAmbit: c,
|
|
1275
1279
|
namePlaceholder: u,
|
|
1276
|
-
descPlaceholder:
|
|
1277
|
-
filtersTypes:
|
|
1280
|
+
descPlaceholder: p,
|
|
1281
|
+
filtersTypes: h = ["geographical", "tematical"],
|
|
1278
1282
|
nameRequiredText: f,
|
|
1279
|
-
geoFilterLayers:
|
|
1283
|
+
geoFilterLayers: b = [],
|
|
1280
1284
|
onGeoLayersChange: v,
|
|
1281
1285
|
onlyFilters: _ = !1
|
|
1282
1286
|
//usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
|
|
1283
1287
|
}) => {
|
|
1284
|
-
const { t: g } = $(), { tematicalFiltersSelected: C, activeFiltersType:
|
|
1288
|
+
const { t: g } = $(), { tematicalFiltersSelected: C, activeFiltersType: y, geoLayers: x } = T((q) => q), [w, k] = V(n || null), [S, L] = V(d || null), [N, B] = V(!1);
|
|
1285
1289
|
F(() => {
|
|
1286
|
-
s && s.length > 0 && T.setState((
|
|
1290
|
+
s && s.length > 0 && T.setState((q) => ({
|
|
1287
1291
|
tematicalFiltersSelected: s
|
|
1288
1292
|
}));
|
|
1289
1293
|
}, [s]), F(() => {
|
|
1290
|
-
|
|
1291
|
-
}, [
|
|
1294
|
+
h.includes("geographical") && T.setState({ geoLayers: b });
|
|
1295
|
+
}, [b]), F(() => {
|
|
1292
1296
|
l(C);
|
|
1293
1297
|
}, [C]);
|
|
1294
1298
|
const O = () => {
|
|
1295
1299
|
w ? c({ name: w, description: S }) : B(!0);
|
|
1296
1300
|
};
|
|
1297
1301
|
return F(() => {
|
|
1298
|
-
|
|
1299
|
-
geoLayers:
|
|
1302
|
+
h.includes("geographical") && y != "geographical" && x.length > 0 && T.setState((q) => ({
|
|
1303
|
+
geoLayers: q.geoLayers.map((M) => ({
|
|
1300
1304
|
...M,
|
|
1301
1305
|
active: !1
|
|
1302
1306
|
}))
|
|
1303
1307
|
}));
|
|
1304
|
-
}, [
|
|
1305
|
-
!_ && /* @__PURE__ */ m("div", { className:
|
|
1306
|
-
/* @__PURE__ */ i("div", { className:
|
|
1308
|
+
}, [y]), /* @__PURE__ */ m("div", { className: ee.FiltersAmbitContainer, children: [
|
|
1309
|
+
!_ && /* @__PURE__ */ m("div", { className: ee.FiltersAmbitHeader, children: [
|
|
1310
|
+
/* @__PURE__ */ i("div", { className: ee.FiltersAmbitTitle, children: /* @__PURE__ */ i(
|
|
1307
1311
|
"input",
|
|
1308
1312
|
{
|
|
1309
1313
|
type: "text",
|
|
1310
|
-
onChange: (
|
|
1311
|
-
B(!1), k(
|
|
1314
|
+
onChange: (q) => {
|
|
1315
|
+
B(!1), k(q.target.value);
|
|
1312
1316
|
},
|
|
1313
1317
|
value: w,
|
|
1314
1318
|
placeholder: g(u)
|
|
1315
1319
|
}
|
|
1316
1320
|
) }),
|
|
1317
|
-
/* @__PURE__ */ i("div", { className:
|
|
1321
|
+
/* @__PURE__ */ i("div", { className: ee.FiltersAmbitDescription, children: /* @__PURE__ */ i("div", { className: ee.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ i(
|
|
1318
1322
|
"textarea",
|
|
1319
1323
|
{
|
|
1320
1324
|
value: S,
|
|
1321
|
-
onChange: (
|
|
1322
|
-
placeholder: g(
|
|
1325
|
+
onChange: (q) => L(q.target.value),
|
|
1326
|
+
placeholder: g(p)
|
|
1323
1327
|
}
|
|
1324
1328
|
) }) })
|
|
1325
1329
|
] }),
|
|
@@ -1327,22 +1331,22 @@ const sn = "_FiltersAmbitContainer_m1o6g_2", on = "_FiltersAmbitHeader_m1o6g_7",
|
|
|
1327
1331
|
gt,
|
|
1328
1332
|
{
|
|
1329
1333
|
title: g("applied_filters"),
|
|
1330
|
-
isOpen:
|
|
1334
|
+
isOpen: y == "applied",
|
|
1331
1335
|
textColor: r || "#fff",
|
|
1332
1336
|
backgroundColor: a || "#605B5680",
|
|
1333
1337
|
activeColor: t
|
|
1334
1338
|
}
|
|
1335
1339
|
),
|
|
1336
|
-
|
|
1340
|
+
h.includes("geographical") && /* @__PURE__ */ i(
|
|
1337
1341
|
Ct,
|
|
1338
1342
|
{
|
|
1339
1343
|
title: "geo_filters",
|
|
1340
1344
|
activeColor: t,
|
|
1341
|
-
geoFilterLayers:
|
|
1345
|
+
geoFilterLayers: b,
|
|
1342
1346
|
onGeoLayersChange: v
|
|
1343
1347
|
}
|
|
1344
1348
|
),
|
|
1345
|
-
|
|
1349
|
+
h.includes("tematical") && /* @__PURE__ */ i(
|
|
1346
1350
|
vt,
|
|
1347
1351
|
{
|
|
1348
1352
|
indicators: o,
|
|
@@ -1352,11 +1356,11 @@ const sn = "_FiltersAmbitContainer_m1o6g_2", on = "_FiltersAmbitHeader_m1o6g_7",
|
|
|
1352
1356
|
activeColor: t
|
|
1353
1357
|
}
|
|
1354
1358
|
),
|
|
1355
|
-
N && /* @__PURE__ */ i("div", { className:
|
|
1356
|
-
!_ && /* @__PURE__ */ i("div", { className:
|
|
1359
|
+
N && /* @__PURE__ */ i("div", { className: ee.warning, children: g(f) }),
|
|
1360
|
+
!_ && /* @__PURE__ */ i("div", { className: ee.buttonContainer, children: /* @__PURE__ */ i(Me, { onClick: () => O(), children: g("save_ambit") }) })
|
|
1357
1361
|
] });
|
|
1358
1362
|
};
|
|
1359
|
-
|
|
1363
|
+
un.propTypes = {
|
|
1360
1364
|
indicators: e.arrayOf(e.object).isRequired,
|
|
1361
1365
|
ambitName: e.string,
|
|
1362
1366
|
ambitDescription: e.string,
|
|
@@ -1371,8 +1375,8 @@ dn.propTypes = {
|
|
|
1371
1375
|
filtersTypes: e.arrayOf(e.string).isRequired,
|
|
1372
1376
|
nameRequiredText: e.string
|
|
1373
1377
|
};
|
|
1374
|
-
const
|
|
1375
|
-
barChartContainer:
|
|
1378
|
+
const pn = "_barChartContainer_d2f1z_2", mn = {
|
|
1379
|
+
barChartContainer: pn
|
|
1376
1380
|
}, wt = ({
|
|
1377
1381
|
data: n,
|
|
1378
1382
|
width: d = 700,
|
|
@@ -1385,9 +1389,9 @@ const un = "_barChartContainer_d2f1z_2", pn = {
|
|
|
1385
1389
|
numberOfDivisions: c = 7,
|
|
1386
1390
|
maxValue: u = null
|
|
1387
1391
|
}) => {
|
|
1388
|
-
const { t:
|
|
1392
|
+
const { t: p } = $(), { xScale: h, ticks: f, height: b } = me(() => {
|
|
1389
1393
|
if (n && n.length > 0) {
|
|
1390
|
-
const v = (n == null ? void 0 : n.length) * (s + o) + r * 2, _ = Ye.max(n, (
|
|
1394
|
+
const v = (n == null ? void 0 : n.length) * (s + o) + r * 2, _ = Ye.max(n, (y) => y.value) || 1, g = Ye.scaleLinear().domain([0, u || _]).range([0, d - l]), C = Array.from({ length: c + 1 }, (y, x) => u ? u / c * x : _ / c * x);
|
|
1391
1395
|
return {
|
|
1392
1396
|
xScale: g,
|
|
1393
1397
|
ticks: C,
|
|
@@ -1408,22 +1412,22 @@ const un = "_barChartContainer_d2f1z_2", pn = {
|
|
|
1408
1412
|
r,
|
|
1409
1413
|
u
|
|
1410
1414
|
]);
|
|
1411
|
-
return /* @__PURE__ */ i("div", { className:
|
|
1415
|
+
return /* @__PURE__ */ i("div", { className: mn.barChartContainer, children: /* @__PURE__ */ i("svg", { width: d + a * 2, height: b, children: /* @__PURE__ */ m("g", { transform: `translate(0,${o})`, children: [
|
|
1412
1416
|
/* @__PURE__ */ i("g", { transform: `translate(${l + a}, 0)`, children: f.map((v, _) => {
|
|
1413
|
-
const g =
|
|
1417
|
+
const g = h(v);
|
|
1414
1418
|
return /* @__PURE__ */ m("g", { transform: `translate(${g}, 0)`, children: [
|
|
1415
1419
|
/* @__PURE__ */ i(
|
|
1416
1420
|
"line",
|
|
1417
1421
|
{
|
|
1418
1422
|
y1: 0,
|
|
1419
|
-
y2:
|
|
1423
|
+
y2: b - o * 2,
|
|
1420
1424
|
stroke: "#ccc"
|
|
1421
1425
|
}
|
|
1422
1426
|
),
|
|
1423
1427
|
/* @__PURE__ */ i(
|
|
1424
1428
|
"text",
|
|
1425
1429
|
{
|
|
1426
|
-
y:
|
|
1430
|
+
y: b - o,
|
|
1427
1431
|
textAnchor: "middle",
|
|
1428
1432
|
fontSize: 10,
|
|
1429
1433
|
fill: t,
|
|
@@ -1433,7 +1437,7 @@ const un = "_barChartContainer_d2f1z_2", pn = {
|
|
|
1433
1437
|
] }, _);
|
|
1434
1438
|
}) }),
|
|
1435
1439
|
n && n.length > 0 && (n == null ? void 0 : n.map((v, _) => {
|
|
1436
|
-
const g =
|
|
1440
|
+
const g = h(v.value), C = _ * (s + o);
|
|
1437
1441
|
return /* @__PURE__ */ m(
|
|
1438
1442
|
"g",
|
|
1439
1443
|
{
|
|
@@ -1446,7 +1450,7 @@ const un = "_barChartContainer_d2f1z_2", pn = {
|
|
|
1446
1450
|
y: s / 2 + 5,
|
|
1447
1451
|
textAnchor: "end",
|
|
1448
1452
|
fill: t,
|
|
1449
|
-
children:
|
|
1453
|
+
children: p(v.title)
|
|
1450
1454
|
}
|
|
1451
1455
|
),
|
|
1452
1456
|
/* @__PURE__ */ i(
|
|
@@ -1481,10 +1485,10 @@ wt.propTypes = {
|
|
|
1481
1485
|
numberOfDivisions: e.number,
|
|
1482
1486
|
fontColor: e.string
|
|
1483
1487
|
};
|
|
1484
|
-
const
|
|
1485
|
-
graphicContainer:
|
|
1486
|
-
titleContainer:
|
|
1487
|
-
},
|
|
1488
|
+
const hn = "_graphicContainer_c9zrg_2", gn = "_titleContainer_c9zrg_14", et = {
|
|
1489
|
+
graphicContainer: hn,
|
|
1490
|
+
titleContainer: gn
|
|
1491
|
+
}, Cn = ({
|
|
1488
1492
|
data: n,
|
|
1489
1493
|
graphWidth: d = 700,
|
|
1490
1494
|
containerStyle: s,
|
|
@@ -1521,7 +1525,7 @@ const mn = "_graphicContainer_c9zrg_2", hn = "_titleContainer_c9zrg_14", et = {
|
|
|
1521
1525
|
}
|
|
1522
1526
|
);
|
|
1523
1527
|
};
|
|
1524
|
-
|
|
1528
|
+
Cn.propTypes = {
|
|
1525
1529
|
data: e.arrayOf(
|
|
1526
1530
|
e.shape({
|
|
1527
1531
|
color: e.string.isRequired,
|
|
@@ -1538,21 +1542,21 @@ gn.propTypes = {
|
|
|
1538
1542
|
numberOfDivisions: e.number,
|
|
1539
1543
|
leftPadding: e.number
|
|
1540
1544
|
};
|
|
1541
|
-
const
|
|
1542
|
-
indicatorsCategory:
|
|
1543
|
-
title:
|
|
1544
|
-
list:
|
|
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",
|
|
1546
|
-
indicatorContainer:
|
|
1547
|
-
indicatorNameContainer:
|
|
1548
|
-
dot:
|
|
1549
|
-
indicatorName:
|
|
1550
|
-
switchExternalContainer:
|
|
1551
|
-
switchType:
|
|
1552
|
-
switchTypeOptions:
|
|
1553
|
-
optionContainer:
|
|
1554
|
-
customRadious:
|
|
1555
|
-
optionText:
|
|
1545
|
+
const fn = "_indicatorsCategory_1cu33_2", bn = "_title_1cu33_5", yn = "_list_1cu33_11", Ae = {
|
|
1546
|
+
indicatorsCategory: fn,
|
|
1547
|
+
title: bn,
|
|
1548
|
+
list: yn
|
|
1549
|
+
}, 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", _n = "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", vn = "_indicatorContainer_oqrkc_2", wn = "_indicatorNameContainer_oqrkc_11", xn = "_dot_oqrkc_17", kn = "_indicatorName_oqrkc_11", Nn = "_switchExternalContainer_oqrkc_31", Sn = "_switchType_oqrkc_40", $n = "_switchTypeOptions_oqrkc_44", Bn = "_optionContainer_oqrkc_55", Tn = "_customRadious_oqrkc_65", Ln = "_optionText_oqrkc_72", R = {
|
|
1550
|
+
indicatorContainer: vn,
|
|
1551
|
+
indicatorNameContainer: wn,
|
|
1552
|
+
dot: xn,
|
|
1553
|
+
indicatorName: kn,
|
|
1554
|
+
switchExternalContainer: Nn,
|
|
1555
|
+
switchType: Sn,
|
|
1556
|
+
switchTypeOptions: $n,
|
|
1557
|
+
optionContainer: Bn,
|
|
1558
|
+
customRadious: Tn,
|
|
1559
|
+
optionText: Ln
|
|
1556
1560
|
}, Ge = ({
|
|
1557
1561
|
indicator: n,
|
|
1558
1562
|
values: d = [],
|
|
@@ -1564,27 +1568,27 @@ const Cn = "_indicatorsCategory_1cu33_2", fn = "_title_1cu33_5", bn = "_list_1cu
|
|
|
1564
1568
|
multiple: l = !1,
|
|
1565
1569
|
onChangeType: c
|
|
1566
1570
|
}) => {
|
|
1567
|
-
const { t: u } = $(), { name:
|
|
1571
|
+
const { t: u } = $(), { name: p, type: h, disabled: f } = n;
|
|
1568
1572
|
console.log(tt);
|
|
1569
|
-
const [
|
|
1573
|
+
const [b, v] = V(!1);
|
|
1570
1574
|
F(() => {
|
|
1571
1575
|
t && v(
|
|
1572
1576
|
l ? t.some(
|
|
1573
|
-
(C) => C.name == String(
|
|
1574
|
-
) : t.name ==
|
|
1577
|
+
(C) => C.name == String(p)
|
|
1578
|
+
) : t.name == p
|
|
1575
1579
|
);
|
|
1576
1580
|
}, [t]);
|
|
1577
|
-
const _ = () => /* @__PURE__ */ i("div", { className:
|
|
1581
|
+
const _ = () => /* @__PURE__ */ i("div", { className: R.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: R.switchType, children: /* @__PURE__ */ m("div", { className: R.switchTypeOptions, children: [
|
|
1578
1582
|
/* @__PURE__ */ m(
|
|
1579
1583
|
"div",
|
|
1580
1584
|
{
|
|
1581
|
-
className:
|
|
1585
|
+
className: R.optionContainer,
|
|
1582
1586
|
onClick: () => c("cat"),
|
|
1583
1587
|
children: [
|
|
1584
1588
|
/* @__PURE__ */ i(
|
|
1585
1589
|
"span",
|
|
1586
1590
|
{
|
|
1587
|
-
className: `${
|
|
1591
|
+
className: `${R.customRadious}`,
|
|
1588
1592
|
style: {
|
|
1589
1593
|
backgroundColor: r === "cat" ? s : "transparent",
|
|
1590
1594
|
borderColor: r === "cat" ? s : o
|
|
@@ -1594,7 +1598,7 @@ const Cn = "_indicatorsCategory_1cu33_2", fn = "_title_1cu33_5", bn = "_list_1cu
|
|
|
1594
1598
|
/* @__PURE__ */ i(
|
|
1595
1599
|
"h4",
|
|
1596
1600
|
{
|
|
1597
|
-
className:
|
|
1601
|
+
className: R.optionText,
|
|
1598
1602
|
style: {
|
|
1599
1603
|
color: r === "cat" ? s : o
|
|
1600
1604
|
},
|
|
@@ -1607,13 +1611,13 @@ const Cn = "_indicatorsCategory_1cu33_2", fn = "_title_1cu33_5", bn = "_list_1cu
|
|
|
1607
1611
|
/* @__PURE__ */ m(
|
|
1608
1612
|
"div",
|
|
1609
1613
|
{
|
|
1610
|
-
className:
|
|
1614
|
+
className: R.optionContainer,
|
|
1611
1615
|
onClick: () => c("abs"),
|
|
1612
1616
|
children: [
|
|
1613
1617
|
/* @__PURE__ */ i(
|
|
1614
1618
|
"span",
|
|
1615
1619
|
{
|
|
1616
|
-
className: `${
|
|
1620
|
+
className: `${R.customRadious}`,
|
|
1617
1621
|
style: {
|
|
1618
1622
|
backgroundColor: r === "abs" ? s : "transparent",
|
|
1619
1623
|
borderColor: r === "abs" ? s : o
|
|
@@ -1623,7 +1627,7 @@ const Cn = "_indicatorsCategory_1cu33_2", fn = "_title_1cu33_5", bn = "_list_1cu
|
|
|
1623
1627
|
/* @__PURE__ */ i(
|
|
1624
1628
|
"h4",
|
|
1625
1629
|
{
|
|
1626
|
-
className:
|
|
1630
|
+
className: R.optionText,
|
|
1627
1631
|
style: {
|
|
1628
1632
|
color: r === "abs" ? s : o
|
|
1629
1633
|
},
|
|
@@ -1633,53 +1637,53 @@ const Cn = "_indicatorsCategory_1cu33_2", fn = "_title_1cu33_5", bn = "_list_1cu
|
|
|
1633
1637
|
]
|
|
1634
1638
|
}
|
|
1635
1639
|
)
|
|
1636
|
-
] }) }) }), g = () => /* @__PURE__ */ i("div", { className:
|
|
1640
|
+
] }) }) }), 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, y) => /* @__PURE__ */ m(
|
|
1637
1641
|
"div",
|
|
1638
1642
|
{
|
|
1639
|
-
className:
|
|
1643
|
+
className: R.optionContainer,
|
|
1640
1644
|
children: [
|
|
1641
1645
|
/* @__PURE__ */ i(
|
|
1642
1646
|
"span",
|
|
1643
1647
|
{
|
|
1644
|
-
className:
|
|
1648
|
+
className: R.customRadious
|
|
1645
1649
|
}
|
|
1646
1650
|
),
|
|
1647
1651
|
/* @__PURE__ */ i("h4", { children: u(C.unit) })
|
|
1648
1652
|
]
|
|
1649
1653
|
},
|
|
1650
|
-
|
|
1654
|
+
y
|
|
1651
1655
|
)) }) }) });
|
|
1652
|
-
return /* @__PURE__ */ m("div", { className:
|
|
1656
|
+
return /* @__PURE__ */ m("div", { className: R.indicatorContainer, children: [
|
|
1653
1657
|
/* @__PURE__ */ m(
|
|
1654
1658
|
"div",
|
|
1655
1659
|
{
|
|
1656
|
-
className:
|
|
1660
|
+
className: R.indicatorNameContainer,
|
|
1657
1661
|
onClick: () => !f && a({ indicator: n }),
|
|
1658
1662
|
children: [
|
|
1659
1663
|
/* @__PURE__ */ i(
|
|
1660
1664
|
"div",
|
|
1661
1665
|
{
|
|
1662
1666
|
style: {
|
|
1663
|
-
border:
|
|
1667
|
+
border: b ? `1px solid ${s}` : `1px solid ${o}`,
|
|
1664
1668
|
opacity: f ? 0.5 : 1,
|
|
1665
|
-
backgroundColor:
|
|
1669
|
+
backgroundColor: b ? s : "transparent"
|
|
1666
1670
|
},
|
|
1667
|
-
className:
|
|
1668
|
-
children: l && /* @__PURE__ */ i("img", { src:
|
|
1671
|
+
className: R.dot,
|
|
1672
|
+
children: l && /* @__PURE__ */ i("img", { src: b ? _n : tt, alt: "" })
|
|
1669
1673
|
}
|
|
1670
1674
|
),
|
|
1671
1675
|
/* @__PURE__ */ i(
|
|
1672
1676
|
"h4",
|
|
1673
1677
|
{
|
|
1674
|
-
className:
|
|
1678
|
+
className: R.indicatorName,
|
|
1675
1679
|
style: {
|
|
1676
|
-
color:
|
|
1680
|
+
color: b ? s : o,
|
|
1677
1681
|
opacity: f ? 0.5 : 1
|
|
1678
1682
|
},
|
|
1679
1683
|
children: /* @__PURE__ */ i(
|
|
1680
1684
|
He,
|
|
1681
1685
|
{
|
|
1682
|
-
i18nKey:
|
|
1686
|
+
i18nKey: p,
|
|
1683
1687
|
components: { sup: /* @__PURE__ */ i("sup", {}) },
|
|
1684
1688
|
shouldUnescape: !0
|
|
1685
1689
|
}
|
|
@@ -1689,8 +1693,8 @@ const Cn = "_indicatorsCategory_1cu33_2", fn = "_title_1cu33_5", bn = "_list_1cu
|
|
|
1689
1693
|
]
|
|
1690
1694
|
}
|
|
1691
1695
|
),
|
|
1692
|
-
(t == null ? void 0 : t.name) ===
|
|
1693
|
-
(t == null ? void 0 : t.name) ===
|
|
1696
|
+
(t == null ? void 0 : t.name) === p && h === "both" && /* @__PURE__ */ i("div", { children: _() }),
|
|
1697
|
+
(t == null ? void 0 : t.name) === p && h === "twoUnits" && /* @__PURE__ */ i("div", { children: g() })
|
|
1694
1698
|
] });
|
|
1695
1699
|
};
|
|
1696
1700
|
Ge.propTypes = {
|
|
@@ -1705,9 +1709,9 @@ Ge.propTypes = {
|
|
|
1705
1709
|
multiple: e.bool,
|
|
1706
1710
|
onClickIndicator: e.func
|
|
1707
1711
|
};
|
|
1708
|
-
const
|
|
1709
|
-
indicatorsSubCategory:
|
|
1710
|
-
list:
|
|
1712
|
+
const Mn = "_indicatorsSubCategory_1dzsi_2", Dn = "_list_1dzsi_8", nt = {
|
|
1713
|
+
indicatorsSubCategory: Mn,
|
|
1714
|
+
list: Dn
|
|
1711
1715
|
}, xt = ({
|
|
1712
1716
|
subcName: n,
|
|
1713
1717
|
indicators: d,
|
|
@@ -1719,10 +1723,10 @@ const Ln = "_indicatorsSubCategory_1dzsi_2", Mn = "_list_1dzsi_8", nt = {
|
|
|
1719
1723
|
activeIndicator: l,
|
|
1720
1724
|
onClickIndicator: c,
|
|
1721
1725
|
multiple: u,
|
|
1722
|
-
activeIndicatorType:
|
|
1723
|
-
onChangeType:
|
|
1726
|
+
activeIndicatorType: p,
|
|
1727
|
+
onChangeType: h
|
|
1724
1728
|
}) => {
|
|
1725
|
-
const { t: f } = $(), [
|
|
1729
|
+
const { t: f } = $(), [b, v] = V(!1);
|
|
1726
1730
|
return F(() => {
|
|
1727
1731
|
v(t == a);
|
|
1728
1732
|
}, [t, a]), /* @__PURE__ */ m(
|
|
@@ -1730,15 +1734,15 @@ const Ln = "_indicatorsSubCategory_1dzsi_2", Mn = "_list_1dzsi_8", nt = {
|
|
|
1730
1734
|
{
|
|
1731
1735
|
className: nt.indicatorsSubCategory,
|
|
1732
1736
|
initial: { height: "43px" },
|
|
1733
|
-
animate: { height:
|
|
1737
|
+
animate: { height: b ? "auto" : "43px" },
|
|
1734
1738
|
transition: { duration: 0.4 },
|
|
1735
1739
|
children: [
|
|
1736
|
-
/* @__PURE__ */ i("button", { onClick: () => r(a), children: /* @__PURE__ */ m("h3", { style: { color:
|
|
1737
|
-
/* @__PURE__ */ i("span", { style: { color:
|
|
1740
|
+
/* @__PURE__ */ i("button", { onClick: () => r(a), children: /* @__PURE__ */ m("h3", { style: { color: b ? o : s }, children: [
|
|
1741
|
+
/* @__PURE__ */ i("span", { style: { color: b ? o : s }, children: b ? "-" : "+" }),
|
|
1738
1742
|
/* @__PURE__ */ i(
|
|
1739
1743
|
"span",
|
|
1740
1744
|
{
|
|
1741
|
-
style: { marginLeft: 12, color:
|
|
1745
|
+
style: { marginLeft: 12, color: b ? o : s },
|
|
1742
1746
|
children: f(n)
|
|
1743
1747
|
}
|
|
1744
1748
|
)
|
|
@@ -1752,8 +1756,8 @@ const Ln = "_indicatorsSubCategory_1dzsi_2", Mn = "_list_1dzsi_8", nt = {
|
|
|
1752
1756
|
activeIndicator: l,
|
|
1753
1757
|
onClickIndicator: c,
|
|
1754
1758
|
multiple: u,
|
|
1755
|
-
activeIndicatorType:
|
|
1756
|
-
onChangeType:
|
|
1759
|
+
activeIndicatorType: p,
|
|
1760
|
+
onChangeType: h
|
|
1757
1761
|
},
|
|
1758
1762
|
"indicator" + g
|
|
1759
1763
|
)) })
|
|
@@ -1784,12 +1788,12 @@ const kt = ({
|
|
|
1784
1788
|
onClickSubCategory: l,
|
|
1785
1789
|
activeIndicator: c,
|
|
1786
1790
|
onClickIndicator: u,
|
|
1787
|
-
multiple:
|
|
1788
|
-
activeIndicatorType:
|
|
1791
|
+
multiple: p,
|
|
1792
|
+
activeIndicatorType: h,
|
|
1789
1793
|
onChangeType: f
|
|
1790
1794
|
}) => {
|
|
1791
1795
|
var g;
|
|
1792
|
-
const { t:
|
|
1796
|
+
const { t: b } = $(), [v, _] = V(!1);
|
|
1793
1797
|
return F(() => {
|
|
1794
1798
|
_(r === d);
|
|
1795
1799
|
}, [r, d]), /* @__PURE__ */ m(
|
|
@@ -1811,30 +1815,30 @@ const kt = ({
|
|
|
1811
1815
|
"span",
|
|
1812
1816
|
{
|
|
1813
1817
|
style: { marginLeft: 12, color: v ? s : o },
|
|
1814
|
-
children:
|
|
1818
|
+
children: b(n.name)
|
|
1815
1819
|
}
|
|
1816
1820
|
)
|
|
1817
1821
|
] }),
|
|
1818
1822
|
n.subcategories ? n.subcategories.map(
|
|
1819
|
-
({ name: C, subcategory:
|
|
1823
|
+
({ name: C, subcategory: y, indicators: x }, w) => /* @__PURE__ */ i(
|
|
1820
1824
|
xt,
|
|
1821
1825
|
{
|
|
1822
|
-
id:
|
|
1826
|
+
id: y,
|
|
1823
1827
|
activeSubCategory: a,
|
|
1824
1828
|
subcName: C,
|
|
1825
1829
|
onClickSubCategory: l,
|
|
1826
1830
|
activeIndicator: c,
|
|
1827
1831
|
onClickIndicator: u,
|
|
1828
|
-
multiple:
|
|
1832
|
+
multiple: p,
|
|
1829
1833
|
activeColor: s,
|
|
1830
1834
|
defaultColor: o,
|
|
1831
1835
|
indicators: x,
|
|
1832
|
-
activeIndicatorType:
|
|
1836
|
+
activeIndicatorType: h,
|
|
1833
1837
|
onChangeType: f
|
|
1834
1838
|
},
|
|
1835
1839
|
`subcKey ${w}`
|
|
1836
1840
|
)
|
|
1837
|
-
) : /* @__PURE__ */ i("div", { className: Ae.list, children: (g = n.indicators) == null ? void 0 : g.map((C,
|
|
1841
|
+
) : /* @__PURE__ */ i("div", { className: Ae.list, children: (g = n.indicators) == null ? void 0 : g.map((C, y) => /* @__PURE__ */ i(
|
|
1838
1842
|
Ge,
|
|
1839
1843
|
{
|
|
1840
1844
|
indicator: C,
|
|
@@ -1843,11 +1847,11 @@ const kt = ({
|
|
|
1843
1847
|
defaultColor: o,
|
|
1844
1848
|
activeIndicator: c,
|
|
1845
1849
|
onClickIndicator: u,
|
|
1846
|
-
multiple:
|
|
1847
|
-
activeIndicatorType:
|
|
1850
|
+
multiple: p,
|
|
1851
|
+
activeIndicatorType: h,
|
|
1848
1852
|
onChangeType: f
|
|
1849
1853
|
},
|
|
1850
|
-
`indicator${
|
|
1854
|
+
`indicator${y}`
|
|
1851
1855
|
)) })
|
|
1852
1856
|
]
|
|
1853
1857
|
}
|
|
@@ -1867,10 +1871,10 @@ kt.propTypes = {
|
|
|
1867
1871
|
activeColor: e.string,
|
|
1868
1872
|
defaultColor: e.string
|
|
1869
1873
|
};
|
|
1870
|
-
const
|
|
1871
|
-
indicatorsList:
|
|
1872
|
-
title:
|
|
1873
|
-
},
|
|
1874
|
+
const Fn = "_indicatorsList_13b3m_2", Vn = "_title_13b3m_6", it = {
|
|
1875
|
+
indicatorsList: Fn,
|
|
1876
|
+
title: Vn
|
|
1877
|
+
}, An = ({
|
|
1874
1878
|
indicators: n,
|
|
1875
1879
|
activeColor: d,
|
|
1876
1880
|
defaultColor: s = "#92898A",
|
|
@@ -1884,19 +1888,19 @@ const Dn = "_indicatorsList_13b3m_2", Fn = "_title_13b3m_6", it = {
|
|
|
1884
1888
|
changeIndType: a,
|
|
1885
1889
|
activeIndicatorType: l
|
|
1886
1890
|
}) => {
|
|
1887
|
-
const { t: c } = $(), [u,
|
|
1888
|
-
|
|
1891
|
+
const { t: c } = $(), [u, p] = V(), [h, f] = V(), [b, v] = V(), _ = (w) => {
|
|
1892
|
+
p(u == w ? null : w);
|
|
1889
1893
|
}, g = (w) => {
|
|
1890
|
-
f(
|
|
1894
|
+
f(h == w ? null : w);
|
|
1891
1895
|
}, C = ({ indicator: w }) => {
|
|
1892
|
-
|
|
1893
|
-
},
|
|
1896
|
+
y(w);
|
|
1897
|
+
}, y = (w) => {
|
|
1894
1898
|
if (!t)
|
|
1895
1899
|
v(
|
|
1896
|
-
(
|
|
1900
|
+
(b == null ? void 0 : b.name) == w.name ? null : w
|
|
1897
1901
|
);
|
|
1898
1902
|
else {
|
|
1899
|
-
let k =
|
|
1903
|
+
let k = b && b.length > 0 ? [...b] : [];
|
|
1900
1904
|
v(
|
|
1901
1905
|
k != null && k.some(
|
|
1902
1906
|
(S) => S.name == w.name
|
|
@@ -1907,14 +1911,14 @@ const Dn = "_indicatorsList_13b3m_2", Fn = "_title_13b3m_6", it = {
|
|
|
1907
1911
|
}
|
|
1908
1912
|
};
|
|
1909
1913
|
F(() => {
|
|
1910
|
-
o && typeof o == "function" &&
|
|
1911
|
-
}, [
|
|
1912
|
-
if (r && !
|
|
1914
|
+
o && typeof o == "function" && b && o({ activeIndicator: b });
|
|
1915
|
+
}, [b]), It(() => {
|
|
1916
|
+
if (r && !b)
|
|
1913
1917
|
if (t && r && Array.isArray(r)) {
|
|
1914
|
-
let w =
|
|
1918
|
+
let w = b && b.length > 0 ? [...b] : [];
|
|
1915
1919
|
v([...w, ...r]), x(r[0].name);
|
|
1916
1920
|
} else
|
|
1917
|
-
|
|
1921
|
+
y(r), x(r.name);
|
|
1918
1922
|
}, []);
|
|
1919
1923
|
const x = (w) => {
|
|
1920
1924
|
const k = n.find((S) => {
|
|
@@ -1927,7 +1931,7 @@ const Dn = "_indicatorsList_13b3m_2", Fn = "_title_13b3m_6", it = {
|
|
|
1927
1931
|
} else
|
|
1928
1932
|
return S.indicators.some((L) => L.name == w);
|
|
1929
1933
|
});
|
|
1930
|
-
k &&
|
|
1934
|
+
k && p(k.category);
|
|
1931
1935
|
};
|
|
1932
1936
|
return /* @__PURE__ */ m("div", { className: it.indicatorsList, children: [
|
|
1933
1937
|
/* @__PURE__ */ i("h2", { className: it.title, style: { color: s }, children: c("indicators.indicators") }),
|
|
@@ -1939,9 +1943,9 @@ const Dn = "_indicatorsList_13b3m_2", Fn = "_title_13b3m_6", it = {
|
|
|
1939
1943
|
onClickCategory: _,
|
|
1940
1944
|
activeCategory: u,
|
|
1941
1945
|
onClickSubCategory: g,
|
|
1942
|
-
activeSubCategory:
|
|
1946
|
+
activeSubCategory: h,
|
|
1943
1947
|
onClickIndicator: C,
|
|
1944
|
-
activeIndicator:
|
|
1948
|
+
activeIndicator: b,
|
|
1945
1949
|
activeColor: d,
|
|
1946
1950
|
defaultColor: s,
|
|
1947
1951
|
multiple: t,
|
|
@@ -1953,7 +1957,7 @@ const Dn = "_indicatorsList_13b3m_2", Fn = "_title_13b3m_6", it = {
|
|
|
1953
1957
|
))
|
|
1954
1958
|
] });
|
|
1955
1959
|
};
|
|
1956
|
-
|
|
1960
|
+
An.propTypes = {
|
|
1957
1961
|
indicators: e.arrayOf(e.object),
|
|
1958
1962
|
activeColor: e.string,
|
|
1959
1963
|
defaultColor: e.string,
|
|
@@ -1964,13 +1968,13 @@ Vn.propTypes = {
|
|
|
1964
1968
|
defaultValue: e.oneOfType([e.object, e.array]),
|
|
1965
1969
|
activeIndicatorType: e.string
|
|
1966
1970
|
};
|
|
1967
|
-
const
|
|
1968
|
-
langSelector:
|
|
1969
|
-
currentLang:
|
|
1970
|
-
arrow:
|
|
1971
|
+
const In = "_langSelector_o9enq_2", On = "_currentLang_o9enq_14", qn = "_arrow_o9enq_26", Rn = "_prevImg_o9enq_29", En = "_langMenu_o9enq_33", le = {
|
|
1972
|
+
langSelector: In,
|
|
1973
|
+
currentLang: On,
|
|
1974
|
+
arrow: qn,
|
|
1971
1975
|
prevImg: Rn,
|
|
1972
|
-
langMenu:
|
|
1973
|
-
},
|
|
1976
|
+
langMenu: En
|
|
1977
|
+
}, Pn = ({ langs: n, arrow: d, imgPrev: s }) => {
|
|
1974
1978
|
const [o, t] = V(!1), { i18n: r } = $(), a = n.find((c) => c.code == r.language), l = (c) => {
|
|
1975
1979
|
r.changeLanguage(c), t(!1);
|
|
1976
1980
|
};
|
|
@@ -2000,7 +2004,7 @@ const An = "_langSelector_o9enq_2", In = "_currentLang_o9enq_14", On = "_arrow_o
|
|
|
2000
2004
|
)) })
|
|
2001
2005
|
] });
|
|
2002
2006
|
};
|
|
2003
|
-
|
|
2007
|
+
Pn.propTypes = {
|
|
2004
2008
|
langs: e.arrayOf(
|
|
2005
2009
|
e.shape({
|
|
2006
2010
|
code: e.string,
|
|
@@ -2014,23 +2018,23 @@ En.propTypes = {
|
|
|
2014
2018
|
arrow: e.object,
|
|
2015
2019
|
imgPrev: e.object
|
|
2016
2020
|
};
|
|
2017
|
-
const
|
|
2018
|
-
legendContainer:
|
|
2019
|
-
closeButton:
|
|
2020
|
-
titleContainer:
|
|
2021
|
-
infoContainer:
|
|
2022
|
-
titleLegendList:
|
|
2023
|
-
legendListContainer:
|
|
2024
|
-
gridContainer:
|
|
2025
|
-
elementLegendContainer:
|
|
2026
|
-
colorDot:
|
|
2027
|
-
absoluteValueContainer:
|
|
2028
|
-
absoluteValueColor:
|
|
2029
|
-
absoluteValueText:
|
|
2030
|
-
noDataContainer:
|
|
2031
|
-
noData:
|
|
2032
|
-
moreInfoContainer:
|
|
2033
|
-
},
|
|
2021
|
+
const jn = "_legendContainer_qs4x9_3", zn = "_closeButton_qs4x9_31", Zn = "_titleContainer_qs4x9_59", Hn = "_infoContainer_qs4x9_65", Kn = "_titleLegendList_qs4x9_76", Un = "_legendListContainer_qs4x9_82", Gn = "_gridContainer_qs4x9_82", Wn = "_elementLegendContainer_qs4x9_88", Yn = "_colorDot_qs4x9_94", Qn = "_absoluteValueContainer_qs4x9_100", Xn = "_absoluteValueColor_qs4x9_103", Jn = "_absoluteValueText_qs4x9_108", e0 = "_noDataContainer_qs4x9_120", t0 = "_noData_qs4x9_120", n0 = "_moreInfoContainer_qs4x9_141", I = {
|
|
2022
|
+
legendContainer: jn,
|
|
2023
|
+
closeButton: zn,
|
|
2024
|
+
titleContainer: Zn,
|
|
2025
|
+
infoContainer: Hn,
|
|
2026
|
+
titleLegendList: Kn,
|
|
2027
|
+
legendListContainer: Un,
|
|
2028
|
+
gridContainer: Gn,
|
|
2029
|
+
elementLegendContainer: Wn,
|
|
2030
|
+
colorDot: Yn,
|
|
2031
|
+
absoluteValueContainer: Qn,
|
|
2032
|
+
absoluteValueColor: Xn,
|
|
2033
|
+
absoluteValueText: Jn,
|
|
2034
|
+
noDataContainer: e0,
|
|
2035
|
+
noData: t0,
|
|
2036
|
+
moreInfoContainer: n0
|
|
2037
|
+
}, i0 = ({
|
|
2034
2038
|
//JSON with the styles of the container (optional)
|
|
2035
2039
|
containerStyles: n,
|
|
2036
2040
|
//Title on top of the legend
|
|
@@ -2062,11 +2066,11 @@ const Pn = "_legendContainer_qs4x9_3", jn = "_closeButton_qs4x9_31", zn = "_titl
|
|
|
2062
2066
|
children: [
|
|
2063
2067
|
/* @__PURE__ */ i("button", { className: I.closeButton, onClick: c }),
|
|
2064
2068
|
d && /* @__PURE__ */ i("div", { className: I.titleContainer, style: { marginBottom: (!s || s.length == 0) && "15px" }, children: /* @__PURE__ */ i("h2", { children: d }) }),
|
|
2065
|
-
s && s.length > 0 && /* @__PURE__ */ i("div", { className: I.infoContainer, children: /* @__PURE__ */ i("ul", { children: s.map(({ title:
|
|
2066
|
-
/* @__PURE__ */ i("h3", { className: I.title, children: `${
|
|
2069
|
+
s && s.length > 0 && /* @__PURE__ */ i("div", { className: I.infoContainer, children: /* @__PURE__ */ i("ul", { children: s.map(({ title: p, value: h }) => /* @__PURE__ */ m("li", { children: [
|
|
2070
|
+
/* @__PURE__ */ i("h3", { className: I.title, children: `${p}:` }),
|
|
2067
2071
|
/* @__PURE__ */ m("span", { className: I.value, children: [
|
|
2068
2072
|
" ",
|
|
2069
|
-
|
|
2073
|
+
h
|
|
2070
2074
|
] })
|
|
2071
2075
|
] }, d)) }) }),
|
|
2072
2076
|
/* @__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 }) }),
|
|
@@ -2099,16 +2103,16 @@ const Pn = "_legendContainer_qs4x9_3", jn = "_closeButton_qs4x9_31", zn = "_titl
|
|
|
2099
2103
|
] })
|
|
2100
2104
|
] })
|
|
2101
2105
|
] }) : o && o.length > 0 && /* @__PURE__ */ i("div", { className: I.gridContainer, children: o.map(
|
|
2102
|
-
({ title:
|
|
2106
|
+
({ title: p, color: h }) => /* @__PURE__ */ m("div", { className: I.elementLegendContainer, children: [
|
|
2103
2107
|
/* @__PURE__ */ i(
|
|
2104
2108
|
"div",
|
|
2105
2109
|
{
|
|
2106
2110
|
className: I.colorDot,
|
|
2107
|
-
style: { backgroundColor:
|
|
2111
|
+
style: { backgroundColor: h }
|
|
2108
2112
|
}
|
|
2109
2113
|
),
|
|
2110
2114
|
/* @__PURE__ */ m("div", { className: I.titleLegendElement, children: [
|
|
2111
|
-
u(
|
|
2115
|
+
u(p),
|
|
2112
2116
|
" "
|
|
2113
2117
|
] })
|
|
2114
2118
|
] }, d)
|
|
@@ -2131,7 +2135,7 @@ const Pn = "_legendContainer_qs4x9_3", jn = "_closeButton_qs4x9_31", zn = "_titl
|
|
|
2131
2135
|
}
|
|
2132
2136
|
);
|
|
2133
2137
|
};
|
|
2134
|
-
|
|
2138
|
+
i0.propTypes = {
|
|
2135
2139
|
title: e.string,
|
|
2136
2140
|
containerStyles: e.object,
|
|
2137
2141
|
infoList: e.arrayOf(
|
|
@@ -2158,23 +2162,23 @@ n0.propTypes = {
|
|
|
2158
2162
|
onClickClose: e.func,
|
|
2159
2163
|
noDataColor: e.string
|
|
2160
2164
|
};
|
|
2161
|
-
const
|
|
2162
|
-
logo:
|
|
2163
|
-
},
|
|
2165
|
+
const s0 = "_logo_1ewa6_2", st = {
|
|
2166
|
+
logo: s0
|
|
2167
|
+
}, o0 = ({ src: n, alt: d, href: s }) => {
|
|
2164
2168
|
const { t: o } = $(), t = /* @__PURE__ */ i("img", { src: n, alt: o(d) });
|
|
2165
2169
|
return s ? /* @__PURE__ */ i("div", { className: st.logo, children: /* @__PURE__ */ i("a", { href: s, children: t }) }) : /* @__PURE__ */ i("div", { className: st.logo, children: t });
|
|
2166
2170
|
};
|
|
2167
|
-
|
|
2171
|
+
o0.propTypes = {
|
|
2168
2172
|
src: e.string.isRequired,
|
|
2169
2173
|
alt: e.string.isRequired,
|
|
2170
2174
|
href: e.string,
|
|
2171
2175
|
className: e.string
|
|
2172
2176
|
};
|
|
2173
|
-
const
|
|
2174
|
-
mapContainer:
|
|
2177
|
+
const r0 = "_mapContainer_84pkf_2", a0 = {
|
|
2178
|
+
mapContainer: r0
|
|
2175
2179
|
};
|
|
2176
2180
|
Ot.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
|
|
2177
|
-
const
|
|
2181
|
+
const l0 = ({
|
|
2178
2182
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2179
2183
|
maxZoom: d = 17,
|
|
2180
2184
|
minZoom: s = 8,
|
|
@@ -2185,21 +2189,21 @@ const a0 = ({
|
|
|
2185
2189
|
interactiveLayers: l = [],
|
|
2186
2190
|
popUp: c = !1,
|
|
2187
2191
|
sources: u = [],
|
|
2188
|
-
layers:
|
|
2192
|
+
layers: p = []
|
|
2189
2193
|
}) => {
|
|
2190
|
-
const
|
|
2194
|
+
const h = oe(), [f, b] = V(null), v = qt((_) => _.mapState.showTexts);
|
|
2191
2195
|
return F(() => {
|
|
2192
|
-
if (
|
|
2193
|
-
const _ =
|
|
2196
|
+
if (h.current) {
|
|
2197
|
+
const _ = h.current.getMap();
|
|
2194
2198
|
_.getStyle().layers.map((C) => {
|
|
2195
2199
|
C.type == "symbol" && C.id != "professionals" && (v ? _.setLayoutProperty(C.id, "visibility", "visible") : _.setLayoutProperty(C.id, "visibility", "none"));
|
|
2196
2200
|
});
|
|
2197
2201
|
}
|
|
2198
|
-
}, [v]), /* @__PURE__ */ i("div", { className: `${
|
|
2199
|
-
|
|
2202
|
+
}, [v]), /* @__PURE__ */ i("div", { className: `${a0.mapContainer}`, style: r, children: /* @__PURE__ */ m(
|
|
2203
|
+
Rt,
|
|
2200
2204
|
{
|
|
2201
2205
|
initialViewState: n,
|
|
2202
|
-
ref:
|
|
2206
|
+
ref: h,
|
|
2203
2207
|
hash: !1,
|
|
2204
2208
|
maxZoom: d,
|
|
2205
2209
|
minZoom: s,
|
|
@@ -2211,14 +2215,14 @@ const a0 = ({
|
|
|
2211
2215
|
Et,
|
|
2212
2216
|
{
|
|
2213
2217
|
..._,
|
|
2214
|
-
children:
|
|
2218
|
+
children: p.length && p.map((C, y) => {
|
|
2215
2219
|
if (C.sourceId == _.id) return /* @__PURE__ */ i(
|
|
2216
2220
|
Pt,
|
|
2217
2221
|
{
|
|
2218
2222
|
...C.layer,
|
|
2219
2223
|
beforeId: t
|
|
2220
2224
|
},
|
|
2221
|
-
|
|
2225
|
+
y
|
|
2222
2226
|
);
|
|
2223
2227
|
})
|
|
2224
2228
|
},
|
|
@@ -2231,7 +2235,7 @@ const a0 = ({
|
|
|
2231
2235
|
longitude: c.longitude,
|
|
2232
2236
|
latitude: c.latitude,
|
|
2233
2237
|
anchor: c.anchor,
|
|
2234
|
-
onClose: () =>
|
|
2238
|
+
onClose: () => b(null),
|
|
2235
2239
|
children: c.content
|
|
2236
2240
|
}
|
|
2237
2241
|
)
|
|
@@ -2239,7 +2243,7 @@ const a0 = ({
|
|
|
2239
2243
|
}
|
|
2240
2244
|
) });
|
|
2241
2245
|
};
|
|
2242
|
-
|
|
2246
|
+
l0.propTypes = {
|
|
2243
2247
|
initialView: e.shape({
|
|
2244
2248
|
latitude: e.number.isRequired,
|
|
2245
2249
|
longitude: e.number.isRequired,
|
|
@@ -2284,25 +2288,25 @@ a0.propTypes = {
|
|
|
2284
2288
|
})
|
|
2285
2289
|
)
|
|
2286
2290
|
};
|
|
2287
|
-
const
|
|
2288
|
-
mapContainer:
|
|
2289
|
-
},
|
|
2290
|
-
FeaturePopUp:
|
|
2291
|
-
title:
|
|
2292
|
-
},
|
|
2291
|
+
const c0 = "_mapContainer_b0pyr_3", d0 = {
|
|
2292
|
+
mapContainer: c0
|
|
2293
|
+
}, u0 = "_FeaturePopUp_mt8l5_2", p0 = "_title_mt8l5_9", ot = {
|
|
2294
|
+
FeaturePopUp: u0,
|
|
2295
|
+
title: p0
|
|
2296
|
+
}, m0 = ({ props: n }) => {
|
|
2293
2297
|
const { t: d } = $();
|
|
2294
2298
|
return /* @__PURE__ */ i("div", { className: ot.FeaturePopUp, children: n.map((s) => /* @__PURE__ */ m("p", { children: [
|
|
2295
2299
|
/* @__PURE__ */ m("span", { className: ot.title, children: [
|
|
2296
2300
|
/* @__PURE__ */ i(He, { i18nKey: s.name, components: { sup: /* @__PURE__ */ i("sup", {}) }, shouldUnescape: !0 }),
|
|
2297
2301
|
":"
|
|
2298
2302
|
] }),
|
|
2299
|
-
isNaN(s.value) ? /* @__PURE__ */ i(
|
|
2303
|
+
isNaN(s.value) ? /* @__PURE__ */ i(qe, { children: d(s.value) }) : /* @__PURE__ */ m(qe, { children: [
|
|
2300
2304
|
s.value.toLocaleString("de", { maximumFractionDigits: 2 }),
|
|
2301
2305
|
" ",
|
|
2302
2306
|
d(s.unit)
|
|
2303
2307
|
] })
|
|
2304
2308
|
] })) });
|
|
2305
|
-
},
|
|
2309
|
+
}, h0 = ({
|
|
2306
2310
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2307
2311
|
maxZoom: d = 17,
|
|
2308
2312
|
minZoom: s = 8,
|
|
@@ -2313,12 +2317,12 @@ const l0 = "_mapContainer_b0pyr_3", c0 = {
|
|
|
2313
2317
|
interactiveLayers: l = [],
|
|
2314
2318
|
sources: c = [],
|
|
2315
2319
|
layers: u = [],
|
|
2316
|
-
popUpParams:
|
|
2317
|
-
onClosePopUp:
|
|
2320
|
+
popUpParams: p,
|
|
2321
|
+
onClosePopUp: h,
|
|
2318
2322
|
showTexts: f,
|
|
2319
|
-
hash:
|
|
2323
|
+
hash: b = !1
|
|
2320
2324
|
}) => {
|
|
2321
|
-
const v =
|
|
2325
|
+
const v = oe();
|
|
2322
2326
|
return F(() => {
|
|
2323
2327
|
if (v.current) {
|
|
2324
2328
|
const _ = v.current.getMap();
|
|
@@ -2331,13 +2335,13 @@ const l0 = "_mapContainer_b0pyr_3", c0 = {
|
|
|
2331
2335
|
return De.addProtocol("pmtiles", _.tile), () => {
|
|
2332
2336
|
De.removeProtocol("pmtiles");
|
|
2333
2337
|
};
|
|
2334
|
-
}, []), /* @__PURE__ */ i("div", { className: `${
|
|
2338
|
+
}, []), /* @__PURE__ */ i("div", { className: `${d0.mapContainer}`, style: r && r, children: /* @__PURE__ */ m(
|
|
2335
2339
|
Ht,
|
|
2336
2340
|
{
|
|
2337
2341
|
mapLib: De,
|
|
2338
2342
|
initialViewState: n,
|
|
2339
2343
|
ref: v,
|
|
2340
|
-
hash:
|
|
2344
|
+
hash: b,
|
|
2341
2345
|
maxZoom: d,
|
|
2342
2346
|
minZoom: s,
|
|
2343
2347
|
mapStyle: o,
|
|
@@ -2348,7 +2352,7 @@ const l0 = "_mapContainer_b0pyr_3", c0 = {
|
|
|
2348
2352
|
Kt,
|
|
2349
2353
|
{
|
|
2350
2354
|
..._,
|
|
2351
|
-
children: u.length && u.map((C,
|
|
2355
|
+
children: u.length && u.map((C, y) => {
|
|
2352
2356
|
if (console.log(C), C.sourceId == _.id) return /* @__PURE__ */ i(
|
|
2353
2357
|
Ut,
|
|
2354
2358
|
{
|
|
@@ -2359,27 +2363,27 @@ const l0 = "_mapContainer_b0pyr_3", c0 = {
|
|
|
2359
2363
|
visibility: C.layer.visibility || "visible"
|
|
2360
2364
|
}
|
|
2361
2365
|
},
|
|
2362
|
-
|
|
2366
|
+
y
|
|
2363
2367
|
);
|
|
2364
2368
|
})
|
|
2365
2369
|
},
|
|
2366
2370
|
g
|
|
2367
2371
|
)),
|
|
2368
2372
|
/* @__PURE__ */ i(Gt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2369
|
-
|
|
2373
|
+
p && /* @__PURE__ */ i(
|
|
2370
2374
|
Wt,
|
|
2371
2375
|
{
|
|
2372
|
-
longitude:
|
|
2373
|
-
latitude:
|
|
2374
|
-
onClose:
|
|
2375
|
-
children: /* @__PURE__ */ i(
|
|
2376
|
+
longitude: p.lng,
|
|
2377
|
+
latitude: p.lat,
|
|
2378
|
+
onClose: h,
|
|
2379
|
+
children: /* @__PURE__ */ i(m0, { props: p.props })
|
|
2376
2380
|
}
|
|
2377
2381
|
)
|
|
2378
2382
|
]
|
|
2379
2383
|
}
|
|
2380
2384
|
) });
|
|
2381
2385
|
};
|
|
2382
|
-
|
|
2386
|
+
h0.propTypes = {
|
|
2383
2387
|
initialView: e.shape({
|
|
2384
2388
|
latitude: e.number.isRequired,
|
|
2385
2389
|
longitude: e.number.isRequired,
|
|
@@ -2423,14 +2427,14 @@ m0.propTypes = {
|
|
|
2423
2427
|
popUpParams: e.object,
|
|
2424
2428
|
onClosePopUp: e.func
|
|
2425
2429
|
};
|
|
2426
|
-
const
|
|
2427
|
-
sectionBar:
|
|
2428
|
-
leftContent:
|
|
2429
|
-
textContainer:
|
|
2430
|
-
title:
|
|
2431
|
-
subtitle:
|
|
2432
|
-
rightContent:
|
|
2433
|
-
},
|
|
2430
|
+
const g0 = "_sectionBar_1egwc_2", C0 = "_leftContent_1egwc_14", f0 = "_textContainer_1egwc_20", b0 = "_title_1egwc_27", y0 = "_subtitle_1egwc_33", _0 = "_rightContent_1egwc_38", te = {
|
|
2431
|
+
sectionBar: g0,
|
|
2432
|
+
leftContent: C0,
|
|
2433
|
+
textContainer: f0,
|
|
2434
|
+
title: b0,
|
|
2435
|
+
subtitle: y0,
|
|
2436
|
+
rightContent: _0
|
|
2437
|
+
}, v0 = ({
|
|
2434
2438
|
leftIcon: n,
|
|
2435
2439
|
title: d,
|
|
2436
2440
|
subtitle: s,
|
|
@@ -2439,18 +2443,18 @@ const h0 = "_sectionBar_1egwc_2", g0 = "_leftContent_1egwc_14", C0 = "_textConta
|
|
|
2439
2443
|
width: r
|
|
2440
2444
|
}) => {
|
|
2441
2445
|
const { t: a } = $();
|
|
2442
|
-
return /* @__PURE__ */ m("div", { className:
|
|
2443
|
-
/* @__PURE__ */ m("div", { className:
|
|
2444
|
-
n && /* @__PURE__ */ i("img", { src: n, alt: "Icono", className:
|
|
2445
|
-
/* @__PURE__ */ m("div", { className:
|
|
2446
|
-
/* @__PURE__ */ i("div", { className:
|
|
2447
|
-
s && /* @__PURE__ */ i("div", { className:
|
|
2446
|
+
return /* @__PURE__ */ m("div", { className: te.sectionBar, style: { width: r && r }, children: [
|
|
2447
|
+
/* @__PURE__ */ m("div", { className: te.leftContent, children: [
|
|
2448
|
+
n && /* @__PURE__ */ i("img", { src: n, alt: "Icono", className: te.icon }),
|
|
2449
|
+
/* @__PURE__ */ m("div", { className: te.textContainer, children: [
|
|
2450
|
+
/* @__PURE__ */ i("div", { className: te.title, children: a(d) }),
|
|
2451
|
+
s && /* @__PURE__ */ i("div", { className: te.subtitle, children: s })
|
|
2448
2452
|
] })
|
|
2449
2453
|
] }),
|
|
2450
|
-
/* @__PURE__ */ i("div", { className:
|
|
2454
|
+
/* @__PURE__ */ i("div", { className: te.rightContent, children: o })
|
|
2451
2455
|
] });
|
|
2452
2456
|
};
|
|
2453
|
-
|
|
2457
|
+
v0.propTypes = {
|
|
2454
2458
|
leftIcon: e.string,
|
|
2455
2459
|
// URL del icono de la sección
|
|
2456
2460
|
title: e.string.isRequired,
|
|
@@ -2464,7 +2468,7 @@ _0.propTypes = {
|
|
|
2464
2468
|
width: e.oneOfType([e.string, e.number])
|
|
2465
2469
|
// ancho de la barra
|
|
2466
2470
|
};
|
|
2467
|
-
const
|
|
2471
|
+
const w0 = Yt({
|
|
2468
2472
|
name: "mapSlice",
|
|
2469
2473
|
initialState: {
|
|
2470
2474
|
showTexts: !0,
|
|
@@ -2490,12 +2494,12 @@ const v0 = Yt({
|
|
|
2490
2494
|
n.activeIndicatorUnit = d.payload;
|
|
2491
2495
|
}
|
|
2492
2496
|
}
|
|
2493
|
-
}), { setShowTexts:
|
|
2494
|
-
slider:
|
|
2495
|
-
playButton:
|
|
2496
|
-
sliderOpen:
|
|
2497
|
-
sliderResults:
|
|
2498
|
-
},
|
|
2497
|
+
}), { setShowTexts: mo, setYear: ho, setActiveIndicatorKey: go, setActiveIndicatorType: Co, setActiveIndicatorUnit: fo } = w0.actions, 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%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", k0 = "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", N0 = "_slider_1prh1_2", S0 = "_playButton_1prh1_14", $0 = "_sliderOpen_1prh1_25", B0 = "_sliderResults_1prh1_29", ge = {
|
|
2498
|
+
slider: N0,
|
|
2499
|
+
playButton: S0,
|
|
2500
|
+
sliderOpen: $0,
|
|
2501
|
+
sliderResults: B0
|
|
2502
|
+
}, T0 = ({
|
|
2499
2503
|
onResults: n = !1,
|
|
2500
2504
|
defaultYear: d = 2025,
|
|
2501
2505
|
firstYear: s = 2025,
|
|
@@ -2506,15 +2510,15 @@ const v0 = Yt({
|
|
|
2506
2510
|
console.log("year changed to ", l);
|
|
2507
2511
|
}
|
|
2508
2512
|
}) => {
|
|
2509
|
-
const [l, c] = V(d), u = (C,
|
|
2510
|
-
c(
|
|
2511
|
-
}, [
|
|
2512
|
-
|
|
2513
|
-
},
|
|
2514
|
-
|
|
2513
|
+
const [l, c] = V(d), u = (C, y) => {
|
|
2514
|
+
c(y), a(y);
|
|
2515
|
+
}, [p, h] = V(!1), f = () => {
|
|
2516
|
+
h(!0);
|
|
2517
|
+
}, b = () => {
|
|
2518
|
+
h(!1);
|
|
2515
2519
|
};
|
|
2516
|
-
((C,
|
|
2517
|
-
const x =
|
|
2520
|
+
((C, y) => {
|
|
2521
|
+
const x = oe();
|
|
2518
2522
|
F(() => {
|
|
2519
2523
|
x.current = C;
|
|
2520
2524
|
}, [C]), F(() => {
|
|
@@ -2522,12 +2526,12 @@ const v0 = Yt({
|
|
|
2522
2526
|
x.current();
|
|
2523
2527
|
}
|
|
2524
2528
|
{
|
|
2525
|
-
let k = setInterval(w,
|
|
2529
|
+
let k = setInterval(w, y);
|
|
2526
2530
|
return () => clearInterval(k);
|
|
2527
2531
|
}
|
|
2528
|
-
}, [
|
|
2532
|
+
}, [y]);
|
|
2529
2533
|
})(() => {
|
|
2530
|
-
|
|
2534
|
+
p && (l != 2050 ? (c(l + 1), a(l + 1)) : (c(2025), a(2025)));
|
|
2531
2535
|
}, 1e3);
|
|
2532
2536
|
const _ = Xt({
|
|
2533
2537
|
palette: {
|
|
@@ -2581,13 +2585,13 @@ const v0 = Yt({
|
|
|
2581
2585
|
}
|
|
2582
2586
|
),
|
|
2583
2587
|
o,
|
|
2584
|
-
!
|
|
2585
|
-
|
|
2588
|
+
!p && /* @__PURE__ */ i("button", { className: ge.playButton, onClick: f, children: /* @__PURE__ */ i("img", { src: x0, alt: "Play" }) }),
|
|
2589
|
+
p && /* @__PURE__ */ i("button", { className: ge.playButton, onClick: b, children: /* @__PURE__ */ i("img", { src: k0, alt: "Pause" }) })
|
|
2586
2590
|
]
|
|
2587
2591
|
}
|
|
2588
2592
|
) });
|
|
2589
2593
|
};
|
|
2590
|
-
|
|
2594
|
+
T0.propTypes = {
|
|
2591
2595
|
defaultYear: e.number,
|
|
2592
2596
|
onResults: e.bool,
|
|
2593
2597
|
firstYear: e.number,
|
|
@@ -2596,11 +2600,11 @@ B0.propTypes = {
|
|
|
2596
2600
|
rightBarOpen: e.bool,
|
|
2597
2601
|
onChange: e.func
|
|
2598
2602
|
};
|
|
2599
|
-
const
|
|
2600
|
-
TopNavMenuContainer:
|
|
2601
|
-
topNavOptions:
|
|
2602
|
-
active:
|
|
2603
|
-
},
|
|
2603
|
+
const L0 = "_TopNavMenuContainer_12mp4_2", M0 = "_topNavOptions_12mp4_13", D0 = "_active_12mp4_27", Ie = {
|
|
2604
|
+
TopNavMenuContainer: L0,
|
|
2605
|
+
topNavOptions: M0,
|
|
2606
|
+
active: D0
|
|
2607
|
+
}, F0 = ({
|
|
2604
2608
|
options: n = [],
|
|
2605
2609
|
containerStyles: d,
|
|
2606
2610
|
borderColor: s = "red",
|
|
@@ -2625,7 +2629,7 @@ const T0 = "_TopNavMenuContainer_12mp4_2", L0 = "_topNavOptions_12mp4_13", M0 =
|
|
|
2625
2629
|
l
|
|
2626
2630
|
)) });
|
|
2627
2631
|
};
|
|
2628
|
-
|
|
2632
|
+
F0.propTypes = {
|
|
2629
2633
|
options: e.arrayOf(e.object),
|
|
2630
2634
|
cssProps: e.shape({
|
|
2631
2635
|
borderColor: e.string.isRequired,
|
|
@@ -2635,9 +2639,9 @@ D0.propTypes = {
|
|
|
2635
2639
|
// activeColor: PropTypes.string,
|
|
2636
2640
|
// defaultColor: PropTypes.string
|
|
2637
2641
|
};
|
|
2638
|
-
const
|
|
2639
|
-
LogInButton:
|
|
2640
|
-
},
|
|
2642
|
+
const V0 = "_LogInButton_1vxj5_2", A0 = {
|
|
2643
|
+
LogInButton: V0
|
|
2644
|
+
}, I0 = ({
|
|
2641
2645
|
cssClass: n,
|
|
2642
2646
|
notLoggedInLabel: d = "Log in",
|
|
2643
2647
|
loggedInLabel: s = "Log out",
|
|
@@ -2656,13 +2660,13 @@ const F0 = "_LogInButton_1vxj5_2", V0 = {
|
|
|
2656
2660
|
"div",
|
|
2657
2661
|
{
|
|
2658
2662
|
style: { ...o },
|
|
2659
|
-
className: `${
|
|
2663
|
+
className: `${A0.LogInButton} link ${n}`,
|
|
2660
2664
|
onClick: r ? l : a,
|
|
2661
2665
|
children: r ? t || c(s) : c(d)
|
|
2662
2666
|
}
|
|
2663
2667
|
);
|
|
2664
2668
|
};
|
|
2665
|
-
|
|
2669
|
+
I0.propTypes = {
|
|
2666
2670
|
cssClass: e.string,
|
|
2667
2671
|
notLoggedInLabel: e.string,
|
|
2668
2672
|
loggedInLabel: e.string,
|
|
@@ -2670,26 +2674,26 @@ A0.propTypes = {
|
|
|
2670
2674
|
userName: e.string,
|
|
2671
2675
|
isLoggedIn: e.bool
|
|
2672
2676
|
};
|
|
2673
|
-
const
|
|
2674
|
-
elementSelector:
|
|
2675
|
-
header:
|
|
2677
|
+
const O0 = "_elementSelector_3vmo9_2", q0 = "_header_3vmo9_13", R0 = "_nameDateContainer_3vmo9_23", E0 = "_elementName_3vmo9_39", P0 = "_elementDate_3vmo9_53", j0 = "_buttonsContainer_3vmo9_67", z0 = "_elementListContainer_3vmo9_76", Z0 = "_newElementButtonContainer_3vmo9_80", K = {
|
|
2678
|
+
elementSelector: O0,
|
|
2679
|
+
header: q0,
|
|
2676
2680
|
nameDateContainer: R0,
|
|
2677
|
-
elementName:
|
|
2678
|
-
elementDate:
|
|
2679
|
-
buttonsContainer:
|
|
2680
|
-
elementListContainer:
|
|
2681
|
-
newElementButtonContainer:
|
|
2682
|
-
},
|
|
2683
|
-
listElement:
|
|
2684
|
-
elementNameDate:
|
|
2685
|
-
elementNameContainer:
|
|
2686
|
-
elementName:
|
|
2687
|
-
elementDate:
|
|
2688
|
-
elementButtons:
|
|
2681
|
+
elementName: E0,
|
|
2682
|
+
elementDate: P0,
|
|
2683
|
+
buttonsContainer: j0,
|
|
2684
|
+
elementListContainer: z0,
|
|
2685
|
+
newElementButtonContainer: Z0
|
|
2686
|
+
}, H0 = "_listElement_1s506_2", K0 = "_elementNameDate_1s506_17", U0 = "_elementNameContainer_1s506_27", G0 = "_elementName_1s506_17", W0 = "_elementDate_1s506_42", Y0 = "_elementButtons_1s506_45", Q0 = "_moreInfoContainer_1s506_68", X0 = "_moreInfo_1s506_68", Z = {
|
|
2687
|
+
listElement: H0,
|
|
2688
|
+
elementNameDate: K0,
|
|
2689
|
+
elementNameContainer: U0,
|
|
2690
|
+
elementName: G0,
|
|
2691
|
+
elementDate: W0,
|
|
2692
|
+
elementButtons: Y0,
|
|
2689
2693
|
break: "_break_1s506_63",
|
|
2690
|
-
moreInfoContainer:
|
|
2691
|
-
moreInfo:
|
|
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";
|
|
2694
|
+
moreInfoContainer: Q0,
|
|
2695
|
+
moreInfo: X0
|
|
2696
|
+
}, 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='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", 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%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", 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%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", 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%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", ii = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%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
2697
|
var rt;
|
|
2694
2698
|
function ze() {
|
|
2695
2699
|
return ze = Object.assign ? Object.assign.bind() : function(n) {
|
|
@@ -2700,7 +2704,7 @@ function ze() {
|
|
|
2700
2704
|
return n;
|
|
2701
2705
|
}, ze.apply(null, arguments);
|
|
2702
2706
|
}
|
|
2703
|
-
var
|
|
2707
|
+
var si = function(d) {
|
|
2704
2708
|
return /* @__PURE__ */ pe.createElement("svg", ze({
|
|
2705
2709
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2706
2710
|
width: 26,
|
|
@@ -2714,7 +2718,7 @@ var ii = function(d) {
|
|
|
2714
2718
|
d: "M12.951 10.297a3.307 3.307 0 1 0 0-6.614 3.307 3.307 0 0 0 0 6.614"
|
|
2715
2719
|
}))));
|
|
2716
2720
|
};
|
|
2717
|
-
const
|
|
2721
|
+
const oi = "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 = ({
|
|
2718
2722
|
listelement: n,
|
|
2719
2723
|
onClickElement: d,
|
|
2720
2724
|
isActive: s,
|
|
@@ -2725,46 +2729,46 @@ const si = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2725
2729
|
elementButtons: l,
|
|
2726
2730
|
processTooltip: c,
|
|
2727
2731
|
defaultTooltip: u,
|
|
2728
|
-
showEye:
|
|
2732
|
+
showEye: p = !0
|
|
2729
2733
|
}) => {
|
|
2730
|
-
const { name:
|
|
2734
|
+
const { name: h, created_at: f, id: b, isBeingProcessed: v } = n, [_, g] = V(!1), { t: C } = $();
|
|
2731
2735
|
return /* @__PURE__ */ m(
|
|
2732
2736
|
"div",
|
|
2733
2737
|
{
|
|
2734
2738
|
className: Z.listElement,
|
|
2735
2739
|
style: { borderBottom: `1px solid ${t}` },
|
|
2736
2740
|
children: [
|
|
2737
|
-
/* @__PURE__ */ i("div", { className: Z.elementNameDate, onClick: () => d(
|
|
2738
|
-
|
|
2741
|
+
/* @__PURE__ */ i("div", { className: Z.elementNameDate, onClick: () => d(b), children: Object.keys(a).map((y) => y === "name" ? /* @__PURE__ */ i("div", { className: Z.elementNameContainer, children: /* @__PURE__ */ m("div", { className: Z.elementName, children: [
|
|
2742
|
+
p && (s ? /* @__PURE__ */ i(si, { style: { color: o, marginRight: 9 } }) : /* @__PURE__ */ i(
|
|
2739
2743
|
"img",
|
|
2740
2744
|
{
|
|
2741
2745
|
style: { marginRight: 9 },
|
|
2742
|
-
src:
|
|
2746
|
+
src: oi,
|
|
2743
2747
|
alt: "eye"
|
|
2744
2748
|
}
|
|
2745
2749
|
)),
|
|
2746
|
-
/* @__PURE__ */ i("span", { style: { color: s ? o : t }, children:
|
|
2747
|
-
] }) }) :
|
|
2750
|
+
/* @__PURE__ */ i("span", { style: { color: s ? o : t }, children: h })
|
|
2751
|
+
] }) }) : y == "data" ? /* @__PURE__ */ i("div", { className: Z.elementDate, children: f ? new Date(f).toLocaleDateString() : "" }) : /* @__PURE__ */ i("div", { className: Z.elementDate, children: n[y] })) }),
|
|
2748
2752
|
/* @__PURE__ */ m("div", { className: Z.elementButtons, children: [
|
|
2749
2753
|
n.processing && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
2750
|
-
/* @__PURE__ */ i("img", { src:
|
|
2751
|
-
/* @__PURE__ */ i(
|
|
2754
|
+
/* @__PURE__ */ i("img", { src: ni }),
|
|
2755
|
+
/* @__PURE__ */ i(se, { text: c, position: "left" })
|
|
2752
2756
|
] }),
|
|
2753
2757
|
l.filter && !n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
2754
|
-
/* @__PURE__ */ i("button", { onClick: () => l.filter.onclick(n), children: /* @__PURE__ */ i("img", { src:
|
|
2755
|
-
/* @__PURE__ */ i(
|
|
2758
|
+
/* @__PURE__ */ i("button", { onClick: () => l.filter.onclick(n), children: /* @__PURE__ */ i("img", { src: ti }) }),
|
|
2759
|
+
/* @__PURE__ */ i(se, { text: l.filter.tooltiptext, position: "left" })
|
|
2756
2760
|
] }),
|
|
2757
2761
|
l.copy && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
2758
|
-
/* @__PURE__ */ i("button", { onClick: () => l.copy.onclick(n), children: /* @__PURE__ */ i("img", { src:
|
|
2759
|
-
/* @__PURE__ */ i(
|
|
2762
|
+
/* @__PURE__ */ i("button", { onClick: () => l.copy.onclick(n), children: /* @__PURE__ */ i("img", { src: ei }) }),
|
|
2763
|
+
/* @__PURE__ */ i(se, { text: l.copy.tooltiptext, position: "left" })
|
|
2760
2764
|
] }),
|
|
2761
2765
|
l.trash && !n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
2762
|
-
/* @__PURE__ */ i("button", { onClick: () => l.trash.onclick(n), children: /* @__PURE__ */ i("img", { src:
|
|
2763
|
-
/* @__PURE__ */ i(
|
|
2766
|
+
/* @__PURE__ */ i("button", { onClick: () => l.trash.onclick(n), children: /* @__PURE__ */ i("img", { src: J0 }) }),
|
|
2767
|
+
/* @__PURE__ */ i(se, { text: l.trash.tooltiptext, position: "left" })
|
|
2764
2768
|
] }),
|
|
2765
2769
|
n.is_default && /* @__PURE__ */ m("div", { className: "tooltip-parent", children: [
|
|
2766
|
-
/* @__PURE__ */ i("img", { src:
|
|
2767
|
-
/* @__PURE__ */ i(
|
|
2770
|
+
/* @__PURE__ */ i("img", { src: ii }),
|
|
2771
|
+
/* @__PURE__ */ i(se, { text: u, position: "left" })
|
|
2768
2772
|
] })
|
|
2769
2773
|
] }),
|
|
2770
2774
|
r && /* @__PURE__ */ i("div", { className: Z.break }),
|
|
@@ -2815,7 +2819,7 @@ Nt.propTypes = {
|
|
|
2815
2819
|
defaultTooltip: e.string,
|
|
2816
2820
|
showEye: e.bool
|
|
2817
2821
|
};
|
|
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",
|
|
2822
|
+
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", ri = ({
|
|
2819
2823
|
elementsList: n,
|
|
2820
2824
|
activeElementId: d,
|
|
2821
2825
|
fontColor: s = "#605B56",
|
|
@@ -2829,22 +2833,22 @@ const at = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2829
2833
|
// {'name': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
|
|
2830
2834
|
elementButtons: u,
|
|
2831
2835
|
//{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
|
|
2832
|
-
moreInfo:
|
|
2836
|
+
moreInfo: p = !1,
|
|
2833
2837
|
//{label: 'x'}
|
|
2834
|
-
processTooltip:
|
|
2838
|
+
processTooltip: h,
|
|
2835
2839
|
//texto para el tooltip del simbolo "En proceso"
|
|
2836
2840
|
defaultTooltip: f,
|
|
2837
2841
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
2838
|
-
showEye:
|
|
2842
|
+
showEye: b = !0
|
|
2839
2843
|
}) => {
|
|
2840
2844
|
const { t: v } = $(), [_, g] = V(n);
|
|
2841
2845
|
F(() => {
|
|
2842
2846
|
n && g(n);
|
|
2843
2847
|
}, [n]);
|
|
2844
|
-
const C = (
|
|
2848
|
+
const C = (y) => {
|
|
2845
2849
|
if (_ && _.length > 0) {
|
|
2846
2850
|
let x = [..._];
|
|
2847
|
-
x.sort((w, k) => w[
|
|
2851
|
+
x.sort((w, k) => w[y].localeCompare(k[y])), g(x);
|
|
2848
2852
|
}
|
|
2849
2853
|
};
|
|
2850
2854
|
return /* @__PURE__ */ m(
|
|
@@ -2859,33 +2863,33 @@ const at = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2859
2863
|
className: K.header,
|
|
2860
2864
|
style: { borderBottom: `1px solid ${s}` },
|
|
2861
2865
|
children: [
|
|
2862
|
-
/* @__PURE__ */ i("div", { className: K.nameDateContainer, children: Object.keys(c).map((
|
|
2866
|
+
/* @__PURE__ */ i("div", { className: K.nameDateContainer, children: Object.keys(c).map((y) => y === "name" ? /* @__PURE__ */ i("div", { className: K.elementName, children: /* @__PURE__ */ m("button", { onClick: () => C("name"), children: [
|
|
2863
2867
|
/* @__PURE__ */ i("span", { children: v(c.name) }),
|
|
2864
2868
|
/* @__PURE__ */ i("img", { src: at, alt: "order arrow" })
|
|
2865
|
-
] }) },
|
|
2869
|
+
] }) }, y) : y === "data" ? /* @__PURE__ */ i("div", { className: K.elementDate, children: /* @__PURE__ */ m("button", { onClick: () => C("date"), children: [
|
|
2866
2870
|
/* @__PURE__ */ i("span", { children: v(c.data) }),
|
|
2867
2871
|
/* @__PURE__ */ i("img", { src: at, alt: "order arrow" })
|
|
2868
|
-
] }) },
|
|
2872
|
+
] }) }, y) : /* @__PURE__ */ i("div", { className: K.elementDate, children: /* @__PURE__ */ i("span", { children: v(c[y]) }) }, y)) }),
|
|
2869
2873
|
/* @__PURE__ */ i("div", { className: K.buttonsContainer })
|
|
2870
2874
|
]
|
|
2871
2875
|
}
|
|
2872
2876
|
),
|
|
2873
|
-
/* @__PURE__ */ i("div", { className: K.elementListContainer, children: _ && _.length > 0 && _.map((
|
|
2877
|
+
/* @__PURE__ */ i("div", { className: K.elementListContainer, children: _ && _.length > 0 && _.map((y) => /* @__PURE__ */ i(
|
|
2874
2878
|
Nt,
|
|
2875
2879
|
{
|
|
2876
|
-
isActive: d ==
|
|
2877
|
-
listelement:
|
|
2880
|
+
isActive: d == y.id,
|
|
2881
|
+
listelement: y,
|
|
2878
2882
|
fontColor: s,
|
|
2879
2883
|
activeColor: o,
|
|
2880
2884
|
onClickElement: l,
|
|
2881
2885
|
columns: c,
|
|
2882
2886
|
elementButtons: u,
|
|
2883
|
-
moreInfo:
|
|
2884
|
-
processTooltip:
|
|
2887
|
+
moreInfo: p,
|
|
2888
|
+
processTooltip: h,
|
|
2885
2889
|
defaultTooltip: f,
|
|
2886
|
-
showEye:
|
|
2890
|
+
showEye: b
|
|
2887
2891
|
},
|
|
2888
|
-
`elementKey${
|
|
2892
|
+
`elementKey${y.id}`
|
|
2889
2893
|
)) }),
|
|
2890
2894
|
a && /* @__PURE__ */ i("div", { className: K.newElementButtonContainer, children: /* @__PURE__ */ i(
|
|
2891
2895
|
Me,
|
|
@@ -2901,7 +2905,7 @@ const at = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2901
2905
|
}
|
|
2902
2906
|
);
|
|
2903
2907
|
};
|
|
2904
|
-
|
|
2908
|
+
ri.propTypes = {
|
|
2905
2909
|
elementsList: e.arrayOf(
|
|
2906
2910
|
e.shape({
|
|
2907
2911
|
name: e.string.isRequired,
|
|
@@ -2948,30 +2952,30 @@ oi.propTypes = {
|
|
|
2948
2952
|
defaultTooltip: e.string,
|
|
2949
2953
|
showEye: e.bool
|
|
2950
2954
|
};
|
|
2951
|
-
const
|
|
2952
|
-
formContainer:
|
|
2953
|
-
categorySelectorContainer:
|
|
2954
|
-
formObjectContainer:
|
|
2955
|
-
buttonContainer:
|
|
2955
|
+
const ai = "_formContainer_asv64_2", li = "_categorySelectorContainer_asv64_11", ci = "_formObjectContainer_asv64_15", di = "_buttonContainer_asv64_26", Ce = {
|
|
2956
|
+
formContainer: ai,
|
|
2957
|
+
categorySelectorContainer: li,
|
|
2958
|
+
formObjectContainer: ci,
|
|
2959
|
+
buttonContainer: di
|
|
2956
2960
|
}, fe = {
|
|
2957
2961
|
text: "text",
|
|
2958
2962
|
password: "password",
|
|
2959
2963
|
radioList: "radioList",
|
|
2960
2964
|
select: "select"
|
|
2961
2965
|
};
|
|
2962
|
-
var
|
|
2963
|
-
const
|
|
2964
|
-
var _e = (n) => !St(n) && !Array.isArray(n) &&
|
|
2966
|
+
var ui = (n) => n.type === "checkbox", pi = (n) => n instanceof Date, St = (n) => n == null;
|
|
2967
|
+
const mi = (n) => typeof n == "object";
|
|
2968
|
+
var _e = (n) => !St(n) && !Array.isArray(n) && mi(n) && !pi(n), hi = (n) => _e(n) && n.target ? ui(n.target) ? n.target.checked : n.target.value : n, gi = (n) => n.substring(0, n.search(/\.\d+(\.|$)/)) || n, Ci = (n, d) => n.has(gi(d)), fi = (n) => {
|
|
2965
2969
|
const d = n.constructor && n.constructor.prototype;
|
|
2966
2970
|
return _e(d) && d.hasOwnProperty("isPrototypeOf");
|
|
2967
|
-
},
|
|
2971
|
+
}, bi = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
2968
2972
|
function $t(n) {
|
|
2969
2973
|
let d;
|
|
2970
2974
|
const s = Array.isArray(n), o = typeof FileList < "u" ? n instanceof FileList : !1;
|
|
2971
2975
|
if (n instanceof Date)
|
|
2972
2976
|
d = new Date(n);
|
|
2973
|
-
else if (!(
|
|
2974
|
-
if (d = s ? [] : {}, !s && !
|
|
2977
|
+
else if (!(bi && (n instanceof Blob || o)) && (s || _e(n)))
|
|
2978
|
+
if (d = s ? [] : {}, !s && !fi(n))
|
|
2975
2979
|
d = n;
|
|
2976
2980
|
else
|
|
2977
2981
|
for (const t in n)
|
|
@@ -2980,7 +2984,7 @@ function $t(n) {
|
|
|
2980
2984
|
return n;
|
|
2981
2985
|
return d;
|
|
2982
2986
|
}
|
|
2983
|
-
var Bt = (n) => /^\w*$/.test(n), Ze = (n) => n === void 0,
|
|
2987
|
+
var Bt = (n) => /^\w*$/.test(n), Ze = (n) => n === void 0, yi = (n) => Array.isArray(n) ? n.filter(Boolean) : [], Tt = (n) => yi(n.replace(/["|']|\]/g, "").split(/\.|\[/)), P = (n, d, s) => {
|
|
2984
2988
|
if (!d || !_e(n))
|
|
2985
2989
|
return s;
|
|
2986
2990
|
const o = (Bt(d) ? [d] : Tt(d)).reduce((t, r) => St(t) ? t : t[r], n);
|
|
@@ -3008,7 +3012,7 @@ const ct = {
|
|
|
3008
3012
|
}, Lt = D.createContext(null);
|
|
3009
3013
|
Lt.displayName = "HookFormContext";
|
|
3010
3014
|
const We = () => D.useContext(Lt);
|
|
3011
|
-
var
|
|
3015
|
+
var _i = (n, d, s, o = !0) => {
|
|
3012
3016
|
const t = {
|
|
3013
3017
|
defaultValues: d._defaultValues
|
|
3014
3018
|
};
|
|
@@ -3022,7 +3026,7 @@ var yi = (n, d, s, o = !0) => {
|
|
|
3022
3026
|
return t;
|
|
3023
3027
|
};
|
|
3024
3028
|
const Mt = typeof window < "u" ? pe.useLayoutEffect : pe.useEffect;
|
|
3025
|
-
function
|
|
3029
|
+
function vi(n) {
|
|
3026
3030
|
const d = We(), { control: s = d.control, disabled: o, name: t, exact: r } = n || {}, [a, l] = D.useState(s._formState), c = D.useRef({
|
|
3027
3031
|
isDirty: !1,
|
|
3028
3032
|
isLoading: !1,
|
|
@@ -3045,10 +3049,10 @@ function _i(n) {
|
|
|
3045
3049
|
}
|
|
3046
3050
|
}), [t, o, r]), D.useEffect(() => {
|
|
3047
3051
|
c.current.isValid && s._setValid(!0);
|
|
3048
|
-
}, [s]), D.useMemo(() =>
|
|
3052
|
+
}, [s]), D.useMemo(() => _i(a, s, c.current, !1), [a, s]);
|
|
3049
3053
|
}
|
|
3050
|
-
var
|
|
3051
|
-
function
|
|
3054
|
+
var wi = (n) => typeof n == "string", xi = (n, d, s, o, t) => wi(n) ? P(s, n, t) : Array.isArray(n) ? n.map((r) => P(s, r)) : s;
|
|
3055
|
+
function ki(n) {
|
|
3052
3056
|
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
3057
|
return Mt(() => s._subscribe({
|
|
3054
3058
|
name: o,
|
|
@@ -3056,24 +3060,24 @@ function xi(n) {
|
|
|
3056
3060
|
values: !0
|
|
3057
3061
|
},
|
|
3058
3062
|
exact: a,
|
|
3059
|
-
callback: (
|
|
3063
|
+
callback: (p) => !r && u(xi(o, s._names, p.values || s._formValues, !1, l.current))
|
|
3060
3064
|
}), [o, s, r, a]), D.useEffect(() => s._removeUnmounted()), c;
|
|
3061
3065
|
}
|
|
3062
|
-
function
|
|
3063
|
-
const d = We(), { name: s, disabled: o, control: t = d.control, shouldUnregister: r } = n, a =
|
|
3066
|
+
function Ni(n) {
|
|
3067
|
+
const d = We(), { name: s, disabled: o, control: t = d.control, shouldUnregister: r } = n, a = Ci(t._names.array, s), l = ki({
|
|
3064
3068
|
control: t,
|
|
3065
3069
|
name: s,
|
|
3066
3070
|
defaultValue: P(t._formValues, s, P(t._defaultValues, s, n.defaultValue)),
|
|
3067
3071
|
exact: !0
|
|
3068
|
-
}), c =
|
|
3072
|
+
}), c = vi({
|
|
3069
3073
|
control: t,
|
|
3070
3074
|
name: s,
|
|
3071
3075
|
exact: !0
|
|
3072
|
-
}), u = D.useRef(n),
|
|
3076
|
+
}), u = D.useRef(n), p = D.useRef(t.register(s, {
|
|
3073
3077
|
...n.rules,
|
|
3074
3078
|
value: l,
|
|
3075
3079
|
...Oe(n.disabled) ? { disabled: n.disabled } : {}
|
|
3076
|
-
})),
|
|
3080
|
+
})), h = D.useMemo(() => Object.defineProperties({}, {
|
|
3077
3081
|
invalid: {
|
|
3078
3082
|
enumerable: !0,
|
|
3079
3083
|
get: () => !!P(c.errors, s)
|
|
@@ -3094,13 +3098,13 @@ function ki(n) {
|
|
|
3094
3098
|
enumerable: !0,
|
|
3095
3099
|
get: () => P(c.errors, s)
|
|
3096
3100
|
}
|
|
3097
|
-
}), [c, s]), f = D.useCallback((g) =>
|
|
3101
|
+
}), [c, s]), f = D.useCallback((g) => p.current.onChange({
|
|
3098
3102
|
target: {
|
|
3099
|
-
value:
|
|
3103
|
+
value: hi(g),
|
|
3100
3104
|
name: s
|
|
3101
3105
|
},
|
|
3102
3106
|
type: ct.CHANGE
|
|
3103
|
-
}), [s]),
|
|
3107
|
+
}), [s]), b = D.useCallback(() => p.current.onBlur({
|
|
3104
3108
|
target: {
|
|
3105
3109
|
value: P(t._formValues, s),
|
|
3106
3110
|
name: s
|
|
@@ -3111,7 +3115,7 @@ function ki(n) {
|
|
|
3111
3115
|
C && g && (C._f.ref = {
|
|
3112
3116
|
focus: () => g.focus && g.focus(),
|
|
3113
3117
|
select: () => g.select && g.select(),
|
|
3114
|
-
setCustomValidity: (
|
|
3118
|
+
setCustomValidity: (y) => g.setCustomValidity(y),
|
|
3115
3119
|
reportValidity: () => g.reportValidity()
|
|
3116
3120
|
});
|
|
3117
3121
|
}, [t._fields, s]), _ = D.useMemo(() => ({
|
|
@@ -3119,22 +3123,22 @@ function ki(n) {
|
|
|
3119
3123
|
value: l,
|
|
3120
3124
|
...Oe(o) || c.disabled ? { disabled: c.disabled || o } : {},
|
|
3121
3125
|
onChange: f,
|
|
3122
|
-
onBlur:
|
|
3126
|
+
onBlur: b,
|
|
3123
3127
|
ref: v
|
|
3124
|
-
}), [s, o, c.disabled, f,
|
|
3128
|
+
}), [s, o, c.disabled, f, b, v, l]);
|
|
3125
3129
|
return D.useEffect(() => {
|
|
3126
3130
|
const g = t._options.shouldUnregister || r;
|
|
3127
3131
|
t.register(s, {
|
|
3128
3132
|
...u.current.rules,
|
|
3129
3133
|
...Oe(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
3130
3134
|
});
|
|
3131
|
-
const C = (
|
|
3132
|
-
const w = P(t._fields,
|
|
3135
|
+
const C = (y, x) => {
|
|
3136
|
+
const w = P(t._fields, y);
|
|
3133
3137
|
w && w._f && (w._f.mount = x);
|
|
3134
3138
|
};
|
|
3135
3139
|
if (C(s, !0), g) {
|
|
3136
|
-
const
|
|
3137
|
-
lt(t._defaultValues, s,
|
|
3140
|
+
const y = $t(P(t._options.defaultValues, s));
|
|
3141
|
+
lt(t._defaultValues, s, y), Ze(P(t._formValues, s)) && lt(t._formValues, s, y);
|
|
3138
3142
|
}
|
|
3139
3143
|
return !a && t.register(s), () => {
|
|
3140
3144
|
(a ? g && !t._state.action : g) ? t.unregister(s) : C(s, !1);
|
|
@@ -3147,17 +3151,17 @@ function ki(n) {
|
|
|
3147
3151
|
}, [o, s, t]), D.useMemo(() => ({
|
|
3148
3152
|
field: _,
|
|
3149
3153
|
formState: c,
|
|
3150
|
-
fieldState:
|
|
3151
|
-
}), [_, c,
|
|
3154
|
+
fieldState: h
|
|
3155
|
+
}), [_, c, h]);
|
|
3152
3156
|
}
|
|
3153
|
-
const ve = (n) => n.render(
|
|
3154
|
-
textInputContainer:
|
|
3155
|
-
labelContainer:
|
|
3156
|
-
inputContainer:
|
|
3157
|
-
showPasswordButton:
|
|
3158
|
-
forgotPassButton:
|
|
3159
|
-
},
|
|
3160
|
-
errorMessage:
|
|
3157
|
+
const ve = (n) => n.render(Ni(n)), Si = "_textInputContainer_1o3iy_2", $i = "_labelContainer_1o3iy_5", Bi = "_inputContainer_1o3iy_8", Ti = "_showPasswordButton_1o3iy_14", Li = "_forgotPassButton_1o3iy_26", be = {
|
|
3158
|
+
textInputContainer: Si,
|
|
3159
|
+
labelContainer: $i,
|
|
3160
|
+
inputContainer: Bi,
|
|
3161
|
+
showPasswordButton: Ti,
|
|
3162
|
+
forgotPassButton: Li
|
|
3163
|
+
}, Mi = "_errorMessage_1xiyb_2", Di = {
|
|
3164
|
+
errorMessage: Mi
|
|
3161
3165
|
}, we = ({
|
|
3162
3166
|
errorMessage: n,
|
|
3163
3167
|
errorColor: d = "red",
|
|
@@ -3167,7 +3171,7 @@ const ve = (n) => n.render(ki(n)), Ni = "_textInputContainer_1o3iy_2", Si = "_la
|
|
|
3167
3171
|
return /* @__PURE__ */ i(
|
|
3168
3172
|
"div",
|
|
3169
3173
|
{
|
|
3170
|
-
className:
|
|
3174
|
+
className: Di.errorMessage,
|
|
3171
3175
|
style: { color: d, ...s },
|
|
3172
3176
|
children: n ? o(n) : ""
|
|
3173
3177
|
}
|
|
@@ -3184,21 +3188,21 @@ const ve = (n) => n.render(ki(n)), Ni = "_textInputContainer_1o3iy_2", Si = "_la
|
|
|
3184
3188
|
validateFunction: l,
|
|
3185
3189
|
placeholder: c,
|
|
3186
3190
|
errorColor: u = "red",
|
|
3187
|
-
width:
|
|
3188
|
-
onClickForgotPass:
|
|
3191
|
+
width: p = 325,
|
|
3192
|
+
onClickForgotPass: h = () => {
|
|
3189
3193
|
console.log("Click on forgot password");
|
|
3190
3194
|
},
|
|
3191
3195
|
forgotPassLabel: f = "forgot-password"
|
|
3192
|
-
} = n, { t:
|
|
3193
|
-
|
|
3194
|
-
const w = () => o ? o === "password" &&
|
|
3196
|
+
} = n, { t: b } = $(), { control: v, trigger: _, clearErrors: g } = d, { errorColor: C } = xe((k) => k), [y, x] = V(!1);
|
|
3197
|
+
oe(a);
|
|
3198
|
+
const w = () => o ? o === "password" && y ? "text" : o : "text";
|
|
3195
3199
|
return /* @__PURE__ */ i(
|
|
3196
3200
|
ve,
|
|
3197
3201
|
{
|
|
3198
3202
|
name: s,
|
|
3199
3203
|
control: v,
|
|
3200
3204
|
rules: {
|
|
3201
|
-
required: a ? `${
|
|
3205
|
+
required: a ? `${b(t)} ${b("errorMessages.required")}` : !1,
|
|
3202
3206
|
maxLength: r || void 0,
|
|
3203
3207
|
validate: l || void 0
|
|
3204
3208
|
},
|
|
@@ -3206,14 +3210,14 @@ const ve = (n) => n.render(ki(n)), Ni = "_textInputContainer_1o3iy_2", Si = "_la
|
|
|
3206
3210
|
var L;
|
|
3207
3211
|
return /* @__PURE__ */ m("div", { className: be.textInputContainer, children: [
|
|
3208
3212
|
/* @__PURE__ */ m("h3", { className: be.labelContainer, children: [
|
|
3209
|
-
|
|
3213
|
+
b(t),
|
|
3210
3214
|
" ",
|
|
3211
3215
|
a && /* @__PURE__ */ i("label", { style: { color: S.error ? u : "" }, children: "*" })
|
|
3212
3216
|
] }),
|
|
3213
3217
|
/* @__PURE__ */ m(
|
|
3214
3218
|
"div",
|
|
3215
3219
|
{
|
|
3216
|
-
style: { position: "relative", width:
|
|
3220
|
+
style: { position: "relative", width: p },
|
|
3217
3221
|
className: be.inputContainer,
|
|
3218
3222
|
children: [
|
|
3219
3223
|
/* @__PURE__ */ i(
|
|
@@ -3221,23 +3225,23 @@ const ve = (n) => n.render(ki(n)), Ni = "_textInputContainer_1o3iy_2", Si = "_la
|
|
|
3221
3225
|
{
|
|
3222
3226
|
type: w(),
|
|
3223
3227
|
...k,
|
|
3224
|
-
placeholder: c ?
|
|
3228
|
+
placeholder: c ? b(c) : "",
|
|
3225
3229
|
maxLength: r || void 0
|
|
3226
3230
|
}
|
|
3227
3231
|
),
|
|
3228
3232
|
o == "password" && /* @__PURE__ */ i(
|
|
3229
3233
|
"button",
|
|
3230
3234
|
{
|
|
3231
|
-
onClick: () => x(!
|
|
3235
|
+
onClick: () => x(!y),
|
|
3232
3236
|
type: "button",
|
|
3233
3237
|
className: be.showPasswordButton,
|
|
3234
|
-
children:
|
|
3238
|
+
children: y ? "🙈" : "👁️"
|
|
3235
3239
|
}
|
|
3236
3240
|
)
|
|
3237
3241
|
]
|
|
3238
3242
|
}
|
|
3239
3243
|
),
|
|
3240
|
-
o == "password" && /* @__PURE__ */ i("div", { className: be.forgotPassButton, children: /* @__PURE__ */ i("button", { onClick:
|
|
3244
|
+
o == "password" && /* @__PURE__ */ i("div", { className: be.forgotPassButton, children: /* @__PURE__ */ i("button", { onClick: h, children: b(f) }) }),
|
|
3241
3245
|
/* @__PURE__ */ i(
|
|
3242
3246
|
we,
|
|
3243
3247
|
{
|
|
@@ -3249,16 +3253,16 @@ const ve = (n) => n.render(ki(n)), Ni = "_textInputContainer_1o3iy_2", Si = "_la
|
|
|
3249
3253
|
}
|
|
3250
3254
|
}
|
|
3251
3255
|
);
|
|
3252
|
-
},
|
|
3253
|
-
inputsContainer:
|
|
3254
|
-
},
|
|
3255
|
-
selectInputContainer:
|
|
3256
|
-
labelContainer:
|
|
3257
|
-
inputContainer:
|
|
3258
|
-
selectInput:
|
|
3259
|
-
option:
|
|
3256
|
+
}, Fi = "_inputsContainer_10t9s_2", ce = {
|
|
3257
|
+
inputsContainer: Fi
|
|
3258
|
+
}, Vi = "_selectInputContainer_1rj0h_2", Ai = "_labelContainer_1rj0h_6", Ii = "_inputContainer_1rj0h_9", Oi = "_selectInput_1rj0h_2", qi = "_option_1rj0h_23", Ri = "_dropdownArrow_1rj0h_26", de = {
|
|
3259
|
+
selectInputContainer: Vi,
|
|
3260
|
+
labelContainer: Ai,
|
|
3261
|
+
inputContainer: Ii,
|
|
3262
|
+
selectInput: Oi,
|
|
3263
|
+
option: qi,
|
|
3260
3264
|
dropdownArrow: Ri
|
|
3261
|
-
},
|
|
3265
|
+
}, Ei = "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", Pi = ({ input: n, reactHookFormInstance: d }) => {
|
|
3262
3266
|
const {
|
|
3263
3267
|
code: s,
|
|
3264
3268
|
type: o,
|
|
@@ -3268,42 +3272,42 @@ const ve = (n) => n.render(ki(n)), Ni = "_textInputContainer_1o3iy_2", Si = "_la
|
|
|
3268
3272
|
validateFunction: l,
|
|
3269
3273
|
placeholder: c,
|
|
3270
3274
|
errorColor: u = "red",
|
|
3271
|
-
width:
|
|
3272
|
-
options:
|
|
3273
|
-
} = n, { t: f } = $(), { control:
|
|
3274
|
-
return
|
|
3275
|
+
width: p = 325,
|
|
3276
|
+
options: h = []
|
|
3277
|
+
} = n, { t: f } = $(), { control: b, trigger: v, clearErrors: _ } = d, { errorColor: g } = xe((C) => C);
|
|
3278
|
+
return oe(a), /* @__PURE__ */ i(
|
|
3275
3279
|
ve,
|
|
3276
3280
|
{
|
|
3277
3281
|
name: s,
|
|
3278
|
-
control:
|
|
3282
|
+
control: b,
|
|
3279
3283
|
rules: {
|
|
3280
3284
|
required: a ? `${f(t)} ${f("errorMessages.required")}` : !1,
|
|
3281
3285
|
validate: l ? (C) => {
|
|
3282
|
-
let
|
|
3283
|
-
return l(C,
|
|
3286
|
+
let y = d.getValues();
|
|
3287
|
+
return l(C, y);
|
|
3284
3288
|
} : void 0
|
|
3285
3289
|
},
|
|
3286
|
-
render: ({ field: C, fieldState:
|
|
3290
|
+
render: ({ field: C, fieldState: y }) => {
|
|
3287
3291
|
var x;
|
|
3288
3292
|
return /* @__PURE__ */ m("div", { className: de.selectInputContainer, children: [
|
|
3289
3293
|
/* @__PURE__ */ m("h3", { className: de.labelContainer, children: [
|
|
3290
3294
|
f(t),
|
|
3291
3295
|
" ",
|
|
3292
|
-
a && /* @__PURE__ */ i("label", { style: { color:
|
|
3296
|
+
a && /* @__PURE__ */ i("label", { style: { color: y.error ? u : "" }, children: "*" })
|
|
3293
3297
|
] }),
|
|
3294
|
-
/* @__PURE__ */ m("div", { className: de.inputContainer, style: { width:
|
|
3298
|
+
/* @__PURE__ */ m("div", { className: de.inputContainer, style: { width: p }, children: [
|
|
3295
3299
|
/* @__PURE__ */ m(
|
|
3296
3300
|
"select",
|
|
3297
3301
|
{
|
|
3298
3302
|
...C,
|
|
3299
3303
|
onChange: (w) => {
|
|
3300
|
-
const k = w.target.value, S =
|
|
3304
|
+
const k = w.target.value, S = h.every((L) => typeof L.value == "number") ? Number(k) : k;
|
|
3301
3305
|
C.onChange(S);
|
|
3302
3306
|
},
|
|
3303
3307
|
className: de.selectInput,
|
|
3304
3308
|
children: [
|
|
3305
3309
|
/* @__PURE__ */ i("option", { value: "", disabled: !0, hidden: !0, children: f(c || "selectOption") }),
|
|
3306
|
-
|
|
3310
|
+
h.map((w, k) => /* @__PURE__ */ i(
|
|
3307
3311
|
"option",
|
|
3308
3312
|
{
|
|
3309
3313
|
value: w.value,
|
|
@@ -3318,7 +3322,7 @@ const ve = (n) => n.render(ki(n)), Ni = "_textInputContainer_1o3iy_2", Si = "_la
|
|
|
3318
3322
|
/* @__PURE__ */ i(
|
|
3319
3323
|
"img",
|
|
3320
3324
|
{
|
|
3321
|
-
src:
|
|
3325
|
+
src: Ei,
|
|
3322
3326
|
alt: "Open",
|
|
3323
3327
|
className: de.dropdownArrow
|
|
3324
3328
|
}
|
|
@@ -3327,7 +3331,7 @@ const ve = (n) => n.render(ki(n)), Ni = "_textInputContainer_1o3iy_2", Si = "_la
|
|
|
3327
3331
|
/* @__PURE__ */ i(
|
|
3328
3332
|
we,
|
|
3329
3333
|
{
|
|
3330
|
-
errorMessage: (x =
|
|
3334
|
+
errorMessage: (x = y.error) == null ? void 0 : x.message,
|
|
3331
3335
|
errorColor: g || u
|
|
3332
3336
|
}
|
|
3333
3337
|
)
|
|
@@ -3335,14 +3339,14 @@ const ve = (n) => n.render(ki(n)), Ni = "_textInputContainer_1o3iy_2", Si = "_la
|
|
|
3335
3339
|
}
|
|
3336
3340
|
}
|
|
3337
3341
|
);
|
|
3338
|
-
},
|
|
3339
|
-
radioButtonContainer:
|
|
3340
|
-
wholeInputContainer:
|
|
3341
|
-
questionContainer:
|
|
3342
|
-
radioQuestion:
|
|
3343
|
-
inputContainer:
|
|
3344
|
-
radioInput:
|
|
3345
|
-
},
|
|
3342
|
+
}, ji = "_radioButtonContainer_1e994_2", zi = "_wholeInputContainer_1e994_5", Zi = "_questionContainer_1e994_27", Hi = "_radioQuestion_1e994_59", Ki = "_inputContainer_1e994_63", Ui = "_radioInput_1e994_93", ne = {
|
|
3343
|
+
radioButtonContainer: ji,
|
|
3344
|
+
wholeInputContainer: zi,
|
|
3345
|
+
questionContainer: Zi,
|
|
3346
|
+
radioQuestion: Hi,
|
|
3347
|
+
inputContainer: Ki,
|
|
3348
|
+
radioInput: Ui
|
|
3349
|
+
}, Gi = ({ input: n, reactHookFormInstance: d }) => {
|
|
3346
3350
|
const {
|
|
3347
3351
|
code: s,
|
|
3348
3352
|
label: o,
|
|
@@ -3351,34 +3355,34 @@ const ve = (n) => n.render(ki(n)), Ni = "_textInputContainer_1o3iy_2", Si = "_la
|
|
|
3351
3355
|
errorColor: a = "red",
|
|
3352
3356
|
options: l = [],
|
|
3353
3357
|
multi: c = !1
|
|
3354
|
-
} = n, { t: u } = $(), { control:
|
|
3355
|
-
if (c &&
|
|
3356
|
-
let x =
|
|
3358
|
+
} = n, { t: u } = $(), { control: p, trigger: h, clearErrors: f } = d, { errorColor: b } = xe((g) => g), v = ({ options: g, onChange: C, actualValue: y }) => {
|
|
3359
|
+
if (c && y && y.length > 0) {
|
|
3360
|
+
let x = y.filter((w) => w !== g);
|
|
3357
3361
|
C(x);
|
|
3358
3362
|
}
|
|
3359
|
-
}, _ = ({ options: g, onChange: C, actualValue:
|
|
3360
|
-
c ?
|
|
3363
|
+
}, _ = ({ options: g, onChange: C, actualValue: y }) => {
|
|
3364
|
+
c ? y && y.length > 0 ? C([...y, g]) : C([g]) : C(g);
|
|
3361
3365
|
};
|
|
3362
|
-
return
|
|
3366
|
+
return oe(t), /* @__PURE__ */ i(
|
|
3363
3367
|
ve,
|
|
3364
3368
|
{
|
|
3365
|
-
control:
|
|
3369
|
+
control: p,
|
|
3366
3370
|
name: s,
|
|
3367
3371
|
rules: {
|
|
3368
3372
|
validate: (g) => t && (g == null || g === "") ? `${u(o)} ${u("errorMessages.required")}` : null
|
|
3369
3373
|
},
|
|
3370
3374
|
render: ({
|
|
3371
3375
|
formState: { errors: g },
|
|
3372
|
-
field: { onChange: C, onBlur:
|
|
3376
|
+
field: { onChange: C, onBlur: y, value: x, ref: w },
|
|
3373
3377
|
fieldState: k
|
|
3374
3378
|
}) => {
|
|
3375
3379
|
var S;
|
|
3376
|
-
return /* @__PURE__ */ i("div", { id: s + "id", className:
|
|
3377
|
-
o && /* @__PURE__ */ i("div", { className:
|
|
3380
|
+
return /* @__PURE__ */ i("div", { id: s + "id", className: ne.radioButtonContainer, children: /* @__PURE__ */ m("div", { className: ne.wholeInputContainer, children: [
|
|
3381
|
+
o && /* @__PURE__ */ i("div", { className: ne.questionContainer, children: /* @__PURE__ */ m(
|
|
3378
3382
|
"h3",
|
|
3379
3383
|
{
|
|
3380
3384
|
htmlFor: s + "id",
|
|
3381
|
-
className: `${
|
|
3385
|
+
className: `${ne.radioQuestion} ${t && ne.required}`,
|
|
3382
3386
|
children: [
|
|
3383
3387
|
u(o),
|
|
3384
3388
|
" ",
|
|
@@ -3392,14 +3396,14 @@ const ve = (n) => n.render(ki(n)), Ni = "_textInputContainer_1o3iy_2", Si = "_la
|
|
|
3392
3396
|
]
|
|
3393
3397
|
}
|
|
3394
3398
|
) }),
|
|
3395
|
-
/* @__PURE__ */ m("div", { className:
|
|
3399
|
+
/* @__PURE__ */ m("div", { className: ne.inputContainer, children: [
|
|
3396
3400
|
l.map(
|
|
3397
3401
|
({
|
|
3398
3402
|
label: L,
|
|
3399
3403
|
value: N,
|
|
3400
3404
|
disabled: B = !1,
|
|
3401
3405
|
italicLabel: O
|
|
3402
|
-
},
|
|
3406
|
+
}, q) => {
|
|
3403
3407
|
const M = x && c ? x.isArray && (x == null ? void 0 : x.length) > 0 && x.some((H) => H === N) : x === N;
|
|
3404
3408
|
return /* @__PURE__ */ m("label", { children: [
|
|
3405
3409
|
/* @__PURE__ */ i(
|
|
@@ -3418,19 +3422,19 @@ const ve = (n) => n.render(ki(n)), Ni = "_textInputContainer_1o3iy_2", Si = "_la
|
|
|
3418
3422
|
onChange: C
|
|
3419
3423
|
}) : C(N);
|
|
3420
3424
|
},
|
|
3421
|
-
className:
|
|
3425
|
+
className: ne.radioInput
|
|
3422
3426
|
}
|
|
3423
3427
|
),
|
|
3424
3428
|
/* @__PURE__ */ i("span", { className: "radio-custom" }),
|
|
3425
3429
|
u(L)
|
|
3426
|
-
] }, `inputRadio ${
|
|
3430
|
+
] }, `inputRadio ${q}`);
|
|
3427
3431
|
}
|
|
3428
3432
|
),
|
|
3429
3433
|
/* @__PURE__ */ i(
|
|
3430
3434
|
we,
|
|
3431
3435
|
{
|
|
3432
3436
|
errorMessage: (S = k.error) == null ? void 0 : S.message,
|
|
3433
|
-
errorColor:
|
|
3437
|
+
errorColor: b || a
|
|
3434
3438
|
}
|
|
3435
3439
|
)
|
|
3436
3440
|
] })
|
|
@@ -3438,15 +3442,15 @@ const ve = (n) => n.render(ki(n)), Ni = "_textInputContainer_1o3iy_2", Si = "_la
|
|
|
3438
3442
|
}
|
|
3439
3443
|
}
|
|
3440
3444
|
);
|
|
3441
|
-
},
|
|
3442
|
-
rankingSliderContainer:
|
|
3443
|
-
labelContainer:
|
|
3444
|
-
inputContainer:
|
|
3445
|
-
slider:
|
|
3446
|
-
thumb:
|
|
3447
|
-
labels:
|
|
3448
|
-
minLabel:
|
|
3449
|
-
maxLabel:
|
|
3445
|
+
}, Wi = "_rankingSliderContainer_1lekm_2", Yi = "_labelContainer_1lekm_6", Qi = "_inputContainer_1lekm_10", Xi = "_slider_1lekm_20", Ji = "_thumb_1lekm_27", es = "_labels_1lekm_37", ts = "_minLabel_1lekm_67", ns = "_maxLabel_1lekm_67", A = {
|
|
3446
|
+
rankingSliderContainer: Wi,
|
|
3447
|
+
labelContainer: Yi,
|
|
3448
|
+
inputContainer: Qi,
|
|
3449
|
+
slider: Xi,
|
|
3450
|
+
thumb: Ji,
|
|
3451
|
+
labels: es,
|
|
3452
|
+
minLabel: ts,
|
|
3453
|
+
maxLabel: ns
|
|
3450
3454
|
}, Dt = ({ input: n, reactHookFormInstance: d, onChange: s }) => {
|
|
3451
3455
|
const {
|
|
3452
3456
|
code: o,
|
|
@@ -3457,10 +3461,10 @@ const ve = (n) => n.render(ki(n)), Ni = "_textInputContainer_1o3iy_2", Si = "_la
|
|
|
3457
3461
|
thumbColor: c = "#B32F5D",
|
|
3458
3462
|
//trackColors = ["#B32F5D", "#EFEFEF"],
|
|
3459
3463
|
required: u,
|
|
3460
|
-
errorColor:
|
|
3461
|
-
labelWidth:
|
|
3464
|
+
errorColor: p = "red",
|
|
3465
|
+
labelWidth: h = "300px",
|
|
3462
3466
|
sliderWidth: f = "300px",
|
|
3463
|
-
minText:
|
|
3467
|
+
minText: b,
|
|
3464
3468
|
maxText: v,
|
|
3465
3469
|
disabled: _ = !1,
|
|
3466
3470
|
marks: g = Array.from(
|
|
@@ -3468,8 +3472,8 @@ const ve = (n) => n.render(ki(n)), Ni = "_textInputContainer_1o3iy_2", Si = "_la
|
|
|
3468
3472
|
(B, O) => r + O
|
|
3469
3473
|
),
|
|
3470
3474
|
showMarksNumber: C = !0
|
|
3471
|
-
} = n, { t:
|
|
3472
|
-
|
|
3475
|
+
} = n, { t: y } = $(), { control: x, trigger: w, clearErrors: k } = d || {};
|
|
3476
|
+
oe(u);
|
|
3473
3477
|
const { errorColorForm: S } = xe((B) => B), [L, N] = V(l);
|
|
3474
3478
|
return d ? /* @__PURE__ */ i(
|
|
3475
3479
|
ve,
|
|
@@ -3478,21 +3482,21 @@ const ve = (n) => n.render(ki(n)), Ni = "_textInputContainer_1o3iy_2", Si = "_la
|
|
|
3478
3482
|
control: x,
|
|
3479
3483
|
defaultValue: l,
|
|
3480
3484
|
rules: {
|
|
3481
|
-
required: u ? `${
|
|
3485
|
+
required: u ? `${y(t)} ${y("errorMessages.required")}` : !1
|
|
3482
3486
|
},
|
|
3483
3487
|
render: ({ field: B, fieldState: O }) => {
|
|
3484
|
-
var
|
|
3488
|
+
var q;
|
|
3485
3489
|
return /* @__PURE__ */ m(
|
|
3486
3490
|
"div",
|
|
3487
3491
|
{
|
|
3488
3492
|
className: A.rankingSliderContainer,
|
|
3489
3493
|
style: {
|
|
3490
|
-
gridTemplateColumns: `${t &&
|
|
3494
|
+
gridTemplateColumns: `${t && h} ${f}`
|
|
3491
3495
|
},
|
|
3492
3496
|
children: [
|
|
3493
|
-
t && /* @__PURE__ */ i("p", { className: A.labelContainer, children:
|
|
3497
|
+
t && /* @__PURE__ */ i("p", { className: A.labelContainer, children: y(t) }),
|
|
3494
3498
|
/* @__PURE__ */ m("div", { className: A.inputContainer, children: [
|
|
3495
|
-
|
|
3499
|
+
b && /* @__PURE__ */ i("div", { className: A.minLabel, children: y(b) }),
|
|
3496
3500
|
/* @__PURE__ */ m("div", { children: [
|
|
3497
3501
|
/* @__PURE__ */ i(
|
|
3498
3502
|
je,
|
|
@@ -3519,13 +3523,13 @@ const ve = (n) => n.render(ki(n)), Ni = "_textInputContainer_1o3iy_2", Si = "_la
|
|
|
3519
3523
|
),
|
|
3520
3524
|
g && /* @__PURE__ */ i("div", { className: A.labels, children: g.map((M) => /* @__PURE__ */ i("span", { children: C && M }, M)) })
|
|
3521
3525
|
] }),
|
|
3522
|
-
v && /* @__PURE__ */ i("div", { className: A.maxLabel, children:
|
|
3526
|
+
v && /* @__PURE__ */ i("div", { className: A.maxLabel, children: y(v) })
|
|
3523
3527
|
] }),
|
|
3524
3528
|
/* @__PURE__ */ i(
|
|
3525
3529
|
we,
|
|
3526
3530
|
{
|
|
3527
|
-
errorMessage: (
|
|
3528
|
-
errorColor: S ||
|
|
3531
|
+
errorMessage: (q = O.error) == null ? void 0 : q.message,
|
|
3532
|
+
errorColor: S || p
|
|
3529
3533
|
}
|
|
3530
3534
|
)
|
|
3531
3535
|
]
|
|
@@ -3537,11 +3541,11 @@ const ve = (n) => n.render(ki(n)), Ni = "_textInputContainer_1o3iy_2", Si = "_la
|
|
|
3537
3541
|
"div",
|
|
3538
3542
|
{
|
|
3539
3543
|
className: A.rankingSliderContainer,
|
|
3540
|
-
style: { gridTemplateColumns: `${t &&
|
|
3544
|
+
style: { gridTemplateColumns: `${t && h} ${f}` },
|
|
3541
3545
|
children: [
|
|
3542
|
-
t && /* @__PURE__ */ i("p", { className: A.labelContainer, children:
|
|
3546
|
+
t && /* @__PURE__ */ i("p", { className: A.labelContainer, children: y(t) }),
|
|
3543
3547
|
/* @__PURE__ */ m("div", { className: A.inputContainer, children: [
|
|
3544
|
-
|
|
3548
|
+
b && /* @__PURE__ */ i("div", { className: A.minLabel, children: y(b) }),
|
|
3545
3549
|
/* @__PURE__ */ m("div", { children: [
|
|
3546
3550
|
/* @__PURE__ */ i(
|
|
3547
3551
|
je,
|
|
@@ -3570,7 +3574,7 @@ const ve = (n) => n.render(ki(n)), Ni = "_textInputContainer_1o3iy_2", Si = "_la
|
|
|
3570
3574
|
),
|
|
3571
3575
|
g && /* @__PURE__ */ i("div", { className: A.labels, children: g.map((B) => /* @__PURE__ */ i("span", { children: C && B }, B)) })
|
|
3572
3576
|
] }),
|
|
3573
|
-
v && /* @__PURE__ */ i("div", { className: A.maxLabel, children:
|
|
3577
|
+
v && /* @__PURE__ */ i("div", { className: A.maxLabel, children: y(v) })
|
|
3574
3578
|
] })
|
|
3575
3579
|
]
|
|
3576
3580
|
}
|
|
@@ -3649,7 +3653,7 @@ const ye = ({
|
|
|
3649
3653
|
className: ce.inputContainer,
|
|
3650
3654
|
style: { ...d },
|
|
3651
3655
|
children: /* @__PURE__ */ i(
|
|
3652
|
-
|
|
3656
|
+
Pi,
|
|
3653
3657
|
{
|
|
3654
3658
|
input: a,
|
|
3655
3659
|
reactHookFormInstance: s
|
|
@@ -3665,7 +3669,7 @@ const ye = ({
|
|
|
3665
3669
|
className: ce.inputContainer,
|
|
3666
3670
|
style: { ...d },
|
|
3667
3671
|
children: /* @__PURE__ */ i(
|
|
3668
|
-
|
|
3672
|
+
Gi,
|
|
3669
3673
|
{
|
|
3670
3674
|
input: a,
|
|
3671
3675
|
reactHookFormInstance: s
|
|
@@ -3694,10 +3698,10 @@ const ye = ({
|
|
|
3694
3698
|
return /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i("h4", { children: "Default" }) }, `${a.code}${l}`);
|
|
3695
3699
|
}
|
|
3696
3700
|
}) });
|
|
3697
|
-
},
|
|
3698
|
-
categorySelector:
|
|
3699
|
-
sectionItemActive:
|
|
3700
|
-
sectionItem:
|
|
3701
|
+
}, is = "_categorySelector_9bdf4_2", ss = "_sectionItemActive_9bdf4_16", os = "_sectionItem_9bdf4_16", Be = {
|
|
3702
|
+
categorySelector: is,
|
|
3703
|
+
sectionItemActive: ss,
|
|
3704
|
+
sectionItem: os
|
|
3701
3705
|
}, pt = ({
|
|
3702
3706
|
categories: n,
|
|
3703
3707
|
onChange: d,
|
|
@@ -3708,18 +3712,18 @@ const ye = ({
|
|
|
3708
3712
|
d(a);
|
|
3709
3713
|
};
|
|
3710
3714
|
return /* @__PURE__ */ i("div", { className: Be.categorySelector, children: n.map((a, l) => {
|
|
3711
|
-
const { id: c, label: u } = a,
|
|
3715
|
+
const { id: c, label: u } = a, p = s == c;
|
|
3712
3716
|
return /* @__PURE__ */ i(
|
|
3713
3717
|
"button",
|
|
3714
3718
|
{
|
|
3715
|
-
className: `${Be.sectionItem} ${
|
|
3719
|
+
className: `${Be.sectionItem} ${p ? Be.sectionItemActive : ""}`,
|
|
3716
3720
|
type: "button",
|
|
3717
|
-
style: { backgroundColor:
|
|
3721
|
+
style: { backgroundColor: p ? o : "inherit" },
|
|
3718
3722
|
onClick: () => r(c),
|
|
3719
3723
|
children: /* @__PURE__ */ i(
|
|
3720
3724
|
"span",
|
|
3721
3725
|
{
|
|
3722
|
-
style: { color:
|
|
3726
|
+
style: { color: p ? "white" : "inherit" },
|
|
3723
3727
|
className: Be.sectionLabel,
|
|
3724
3728
|
children: t(u)
|
|
3725
3729
|
}
|
|
@@ -3728,7 +3732,7 @@ const ye = ({
|
|
|
3728
3732
|
`keySection${l}`
|
|
3729
3733
|
);
|
|
3730
3734
|
}) });
|
|
3731
|
-
},
|
|
3735
|
+
}, bo = ({
|
|
3732
3736
|
reactHookFormInstance: n,
|
|
3733
3737
|
formObject: d,
|
|
3734
3738
|
CategoryComponent: s,
|
|
@@ -3739,10 +3743,10 @@ const ye = ({
|
|
|
3739
3743
|
submitButtonStyles: l = { width: 325 },
|
|
3740
3744
|
showCategorySelector: c = !0,
|
|
3741
3745
|
defaultCategory: u = null,
|
|
3742
|
-
categoryLabel:
|
|
3743
|
-
activeCategory:
|
|
3746
|
+
categoryLabel: p = "Select Category",
|
|
3747
|
+
activeCategory: h = null,
|
|
3744
3748
|
activeCategoryColor: f = "#b32f5d",
|
|
3745
|
-
onSubmit:
|
|
3749
|
+
onSubmit: b = (v) => console.log("Form submitted with: ", v)
|
|
3746
3750
|
}) => {
|
|
3747
3751
|
const { t: v } = $(), { handleSubmit: _, control: g } = n;
|
|
3748
3752
|
F(() => {
|
|
@@ -3755,22 +3759,22 @@ const ye = ({
|
|
|
3755
3759
|
label: N.category,
|
|
3756
3760
|
hasSubcategories: ((B = N.subcategories) == null ? void 0 : B.length) > 0
|
|
3757
3761
|
};
|
|
3758
|
-
}) : [], [d]),
|
|
3762
|
+
}) : [], [d]), y = (N) => {
|
|
3759
3763
|
const B = d == null ? void 0 : d.find((O) => O.categoryId === N);
|
|
3760
3764
|
return (B == null ? void 0 : B.subcategories) || [];
|
|
3761
3765
|
}, [x, w] = V(
|
|
3762
|
-
|
|
3766
|
+
h || u || null
|
|
3763
3767
|
), [k, S] = V(null);
|
|
3764
3768
|
F(() => {
|
|
3765
3769
|
!x && C.length > 0 && w(C[0].id);
|
|
3766
3770
|
}, [C, x]), F(() => {
|
|
3767
|
-
const N =
|
|
3771
|
+
const N = y(x);
|
|
3768
3772
|
!k && (N == null ? void 0 : N.length) > 0 && S(N[0].id);
|
|
3769
3773
|
}, [x, k, d]);
|
|
3770
3774
|
const L = (N, B) => {
|
|
3771
3775
|
var O;
|
|
3772
3776
|
if (((O = N.subcategories) == null ? void 0 : O.length) > 0) {
|
|
3773
|
-
const
|
|
3777
|
+
const q = N.subcategories;
|
|
3774
3778
|
return /* @__PURE__ */ m("div", { children: [
|
|
3775
3779
|
/* @__PURE__ */ i(
|
|
3776
3780
|
"div",
|
|
@@ -3780,7 +3784,7 @@ const ye = ({
|
|
|
3780
3784
|
pt,
|
|
3781
3785
|
{
|
|
3782
3786
|
activeCategory: k,
|
|
3783
|
-
categories:
|
|
3787
|
+
categories: q,
|
|
3784
3788
|
onChange: (M) => S(M),
|
|
3785
3789
|
activeColor: f
|
|
3786
3790
|
}
|
|
@@ -3788,7 +3792,7 @@ const ye = ({
|
|
|
3788
3792
|
},
|
|
3789
3793
|
N.categoryId
|
|
3790
3794
|
),
|
|
3791
|
-
|
|
3795
|
+
q.map((M, H) => {
|
|
3792
3796
|
const z = !k || M.id === k;
|
|
3793
3797
|
return s ? /* @__PURE__ */ i(
|
|
3794
3798
|
"div",
|
|
@@ -3858,7 +3862,7 @@ const ye = ({
|
|
|
3858
3862
|
)
|
|
3859
3863
|
] }, N.categoryId);
|
|
3860
3864
|
};
|
|
3861
|
-
return /* @__PURE__ */ m("form", { className: Ce.formContainer, onSubmit: _(
|
|
3865
|
+
return /* @__PURE__ */ m("form", { className: Ce.formContainer, onSubmit: _(b), children: [
|
|
3862
3866
|
c && C.length > 0 && /* @__PURE__ */ i("div", { className: Ce.categorySelectorContainer, children: /* @__PURE__ */ i(
|
|
3863
3867
|
pt,
|
|
3864
3868
|
{
|
|
@@ -3898,16 +3902,16 @@ const ye = ({
|
|
|
3898
3902
|
/* @__PURE__ */ i(we, { errorMessage: t, errorColor: r })
|
|
3899
3903
|
] })
|
|
3900
3904
|
] });
|
|
3901
|
-
},
|
|
3902
|
-
overlay:
|
|
3903
|
-
modal:
|
|
3904
|
-
closeButton:
|
|
3905
|
-
icon:
|
|
3906
|
-
message:
|
|
3907
|
-
submessage:
|
|
3908
|
-
buttonsContainer:
|
|
3909
|
-
buttonWrapper:
|
|
3910
|
-
},
|
|
3905
|
+
}, rs = "_overlay_mnd4j_2", as = "_modal_mnd4j_15", ls = "_closeButton_mnd4j_29", cs = "_icon_mnd4j_39", ds = "_message_mnd4j_45", us = "_submessage_mnd4j_51", ps = "_buttonsContainer_mnd4j_57", ms = "_buttonWrapper_mnd4j_64", Y = {
|
|
3906
|
+
overlay: rs,
|
|
3907
|
+
modal: as,
|
|
3908
|
+
closeButton: ls,
|
|
3909
|
+
icon: cs,
|
|
3910
|
+
message: ds,
|
|
3911
|
+
submessage: us,
|
|
3912
|
+
buttonsContainer: ps,
|
|
3913
|
+
buttonWrapper: ms
|
|
3914
|
+
}, hs = ({
|
|
3911
3915
|
onClose: n,
|
|
3912
3916
|
icon: d,
|
|
3913
3917
|
message: s,
|
|
@@ -3929,7 +3933,7 @@ const ye = ({
|
|
|
3929
3933
|
]
|
|
3930
3934
|
}
|
|
3931
3935
|
) });
|
|
3932
|
-
|
|
3936
|
+
hs.propTypes = {
|
|
3933
3937
|
/** Función que se ejecuta al clicar la "X" de cierre */
|
|
3934
3938
|
onClose: e.func.isRequired,
|
|
3935
3939
|
/** URL de la imagen opcional que aparece sobre el mensaje */
|
|
@@ -3945,16 +3949,16 @@ ms.propTypes = {
|
|
|
3945
3949
|
/** Anchura máxima del modal (por defecto 400px) */
|
|
3946
3950
|
maxWidth: e.string
|
|
3947
3951
|
};
|
|
3948
|
-
const
|
|
3949
|
-
stepsContainer:
|
|
3950
|
-
stepWrapper:
|
|
3951
|
-
circleContainer:
|
|
3952
|
-
circle:
|
|
3953
|
-
active:
|
|
3954
|
-
completed:
|
|
3955
|
-
label:
|
|
3956
|
-
labelActive:
|
|
3957
|
-
connector:
|
|
3952
|
+
const gs = "_stepsContainer_1cyua_3", Cs = "_stepWrapper_1cyua_9", fs = "_circleContainer_1cyua_19", bs = "_circle_1cyua_19", ys = "_active_1cyua_39", _s = "_completed_1cyua_44", vs = "_label_1cyua_50", ws = "_labelActive_1cyua_56", xs = "_connector_1cyua_61", U = {
|
|
3953
|
+
stepsContainer: gs,
|
|
3954
|
+
stepWrapper: Cs,
|
|
3955
|
+
circleContainer: fs,
|
|
3956
|
+
circle: bs,
|
|
3957
|
+
active: ys,
|
|
3958
|
+
completed: _s,
|
|
3959
|
+
label: vs,
|
|
3960
|
+
labelActive: ws,
|
|
3961
|
+
connector: xs
|
|
3958
3962
|
}, Ft = ({ steps: n, activeColor: d }) => /* @__PURE__ */ i("div", { className: U.stepsContainer, children: n.map((s, o) => {
|
|
3959
3963
|
const t = s.status === "active", r = s.status === "completed";
|
|
3960
3964
|
return /* @__PURE__ */ m("div", { className: U.stepWrapper, children: [
|
|
@@ -3995,9 +3999,9 @@ Ft.defaultProps = {
|
|
|
3995
3999
|
activeColor: "#C2185B"
|
|
3996
4000
|
// color por defecto
|
|
3997
4001
|
};
|
|
3998
|
-
const
|
|
3999
|
-
statusTextContainer:
|
|
4000
|
-
}, Vt = ({ text: n, color: d }) => /* @__PURE__ */ i("div", { className:
|
|
4002
|
+
const ks = "_statusTextContainer_ch14r_2", Ns = {
|
|
4003
|
+
statusTextContainer: ks
|
|
4004
|
+
}, Vt = ({ text: n, color: d }) => /* @__PURE__ */ i("div", { className: Ns.statusTextContainer, style: { background: d }, children: /* @__PURE__ */ i("span", { children: n }) });
|
|
4001
4005
|
Vt.propTypes = {
|
|
4002
4006
|
text: e.string,
|
|
4003
4007
|
color: e.string
|
|
@@ -4006,11 +4010,11 @@ Vt.defaultProps = {
|
|
|
4006
4010
|
color: "#C2185B"
|
|
4007
4011
|
// color por defecto
|
|
4008
4012
|
};
|
|
4009
|
-
const
|
|
4010
|
-
buttonsContainer:
|
|
4011
|
-
button:
|
|
4012
|
-
active:
|
|
4013
|
-
},
|
|
4013
|
+
const Ss = "_buttonsContainer_1c7dw_2", $s = "_button_1c7dw_2", Bs = "_active_1c7dw_20", Te = {
|
|
4014
|
+
buttonsContainer: Ss,
|
|
4015
|
+
button: $s,
|
|
4016
|
+
active: Bs
|
|
4017
|
+
}, Ts = ({
|
|
4014
4018
|
buttons: n = []
|
|
4015
4019
|
}) => {
|
|
4016
4020
|
const { t: d } = $();
|
|
@@ -4031,7 +4035,7 @@ const Ns = "_buttonsContainer_1c7dw_2", Ss = "_button_1c7dw_2", $s = "_active_1c
|
|
|
4031
4035
|
) }, o);
|
|
4032
4036
|
}) });
|
|
4033
4037
|
};
|
|
4034
|
-
|
|
4038
|
+
Ts.propTypes = {
|
|
4035
4039
|
buttons: e.arrayOf(
|
|
4036
4040
|
e.shape({
|
|
4037
4041
|
isActive: e.bool,
|
|
@@ -4041,14 +4045,14 @@ Bs.propTypes = {
|
|
|
4041
4045
|
})
|
|
4042
4046
|
).isRequired
|
|
4043
4047
|
};
|
|
4044
|
-
const
|
|
4045
|
-
switchContainer:
|
|
4046
|
-
labelRight:
|
|
4047
|
-
labelLeft:
|
|
4048
|
+
const Ls = "_switchContainer_194wl_2", Ms = "_labelRight_194wl_9", Ds = "_labelLeft_194wl_9", Fs = "_slider_194wl_28", Vs = "_disabled_194wl_54", ue = {
|
|
4049
|
+
switchContainer: Ls,
|
|
4050
|
+
labelRight: Ms,
|
|
4051
|
+
labelLeft: Ds,
|
|
4048
4052
|
switch: "_switch_194wl_2",
|
|
4049
|
-
slider:
|
|
4050
|
-
disabled:
|
|
4051
|
-
},
|
|
4053
|
+
slider: Fs,
|
|
4054
|
+
disabled: Vs
|
|
4055
|
+
}, As = ({ input: n, reactHookFormInstance: d, onChange: s }) => {
|
|
4052
4056
|
const {
|
|
4053
4057
|
code: o,
|
|
4054
4058
|
labelLeft: t,
|
|
@@ -4057,15 +4061,15 @@ const Ts = "_switchContainer_194wl_2", Ls = "_labelRight_194wl_9", Ms = "_labelL
|
|
|
4057
4061
|
colorOn: l = "#5A514D",
|
|
4058
4062
|
disabled: c = !1,
|
|
4059
4063
|
width: u = 240
|
|
4060
|
-
} = n, { t:
|
|
4061
|
-
|
|
4064
|
+
} = n, { t: p } = $(), { control: h } = d || {}, [f, b] = V(a), v = (g) => {
|
|
4065
|
+
b(g), s && s(g);
|
|
4062
4066
|
}, _ = (g, C) => /* @__PURE__ */ m("div", { className: ue.switchContainer, style: { width: `${u}px` }, children: [
|
|
4063
4067
|
t && /* @__PURE__ */ i(
|
|
4064
4068
|
"span",
|
|
4065
4069
|
{
|
|
4066
4070
|
className: ue.labelLeft,
|
|
4067
4071
|
style: { width: `${(u - 74) / 2}px` },
|
|
4068
|
-
children:
|
|
4072
|
+
children: p(t)
|
|
4069
4073
|
}
|
|
4070
4074
|
),
|
|
4071
4075
|
/* @__PURE__ */ m("label", { className: `${ue.switch} ${c ? ue.disabled : ""}`, children: [
|
|
@@ -4088,19 +4092,19 @@ const Ts = "_switchContainer_194wl_2", Ls = "_labelRight_194wl_9", Ms = "_labelL
|
|
|
4088
4092
|
}
|
|
4089
4093
|
)
|
|
4090
4094
|
] }),
|
|
4091
|
-
r && /* @__PURE__ */ i("span", { className: ue.labelRight, style: { width: `${(u - 74) / 2}px` }, children:
|
|
4095
|
+
r && /* @__PURE__ */ i("span", { className: ue.labelRight, style: { width: `${(u - 74) / 2}px` }, children: p(r) })
|
|
4092
4096
|
] });
|
|
4093
4097
|
return d ? /* @__PURE__ */ i(
|
|
4094
4098
|
ve,
|
|
4095
4099
|
{
|
|
4096
4100
|
name: o,
|
|
4097
|
-
control:
|
|
4101
|
+
control: h,
|
|
4098
4102
|
defaultValue: a,
|
|
4099
4103
|
render: ({ field: g }) => _(g.value, g.onChange)
|
|
4100
4104
|
}
|
|
4101
4105
|
) : _(f, v);
|
|
4102
4106
|
};
|
|
4103
|
-
|
|
4107
|
+
As.propTypes = {
|
|
4104
4108
|
input: e.shape({
|
|
4105
4109
|
code: e.string,
|
|
4106
4110
|
labelLeft: e.string,
|
|
@@ -4112,13 +4116,13 @@ Vs.propTypes = {
|
|
|
4112
4116
|
reactHookFormInstance: e.object,
|
|
4113
4117
|
onChange: e.func
|
|
4114
4118
|
};
|
|
4115
|
-
const
|
|
4116
|
-
header:
|
|
4117
|
-
leftComponents:
|
|
4118
|
-
centerComponents:
|
|
4119
|
+
const Is = "_header_13kbt_2", Os = "_leftComponents_13kbt_13", qs = "_centerComponents_13kbt_14", Rs = "_rightComponents_13kbt_15", Es = "_componentsContainer_13kbt_32", ie = {
|
|
4120
|
+
header: Is,
|
|
4121
|
+
leftComponents: Os,
|
|
4122
|
+
centerComponents: qs,
|
|
4119
4123
|
rightComponents: Rs,
|
|
4120
|
-
componentsContainer:
|
|
4121
|
-
},
|
|
4124
|
+
componentsContainer: Es
|
|
4125
|
+
}, Ps = ({
|
|
4122
4126
|
cssProps: n,
|
|
4123
4127
|
leftComponents: d = [],
|
|
4124
4128
|
centerComponents: s = [],
|
|
@@ -4131,7 +4135,7 @@ const As = "_header_13kbt_2", Is = "_leftComponents_13kbt_13", Os = "_centerComp
|
|
|
4131
4135
|
}) => /* @__PURE__ */ m(
|
|
4132
4136
|
"div",
|
|
4133
4137
|
{
|
|
4134
|
-
className:
|
|
4138
|
+
className: ie.header,
|
|
4135
4139
|
style: {
|
|
4136
4140
|
...n,
|
|
4137
4141
|
zIndex: t,
|
|
@@ -4141,13 +4145,13 @@ const As = "_header_13kbt_2", Is = "_leftComponents_13kbt_13", Os = "_centerComp
|
|
|
4141
4145
|
bottom: l ? 0 : "auto"
|
|
4142
4146
|
},
|
|
4143
4147
|
children: [
|
|
4144
|
-
/* @__PURE__ */ i("div", { className:
|
|
4145
|
-
/* @__PURE__ */ i("div", { className:
|
|
4146
|
-
/* @__PURE__ */ i("div", { className:
|
|
4148
|
+
/* @__PURE__ */ i("div", { className: ie.leftComponents, children: d.map((c, u) => /* @__PURE__ */ i("div", { className: ie.componentsContainer, children: c }, u)) }),
|
|
4149
|
+
/* @__PURE__ */ i("div", { className: ie.centerComponents, children: s.map((c, u) => /* @__PURE__ */ i("div", { className: ie.componentsContainer, children: c }, u)) }),
|
|
4150
|
+
/* @__PURE__ */ i("div", { className: ie.rightComponents, children: o.map((c, u) => /* @__PURE__ */ i("div", { className: ie.componentsContainer, children: c }, u)) })
|
|
4147
4151
|
]
|
|
4148
4152
|
}
|
|
4149
4153
|
);
|
|
4150
|
-
|
|
4154
|
+
Ps.propTypes = {
|
|
4151
4155
|
leftComponents: e.arrayOf(e.node),
|
|
4152
4156
|
centerComponents: e.arrayOf(e.node),
|
|
4153
4157
|
rightComponents: e.arrayOf(e.node),
|
|
@@ -4157,12 +4161,12 @@ Es.propTypes = {
|
|
|
4157
4161
|
backgroundColor: e.string,
|
|
4158
4162
|
isFooter: e.bool
|
|
4159
4163
|
};
|
|
4160
|
-
const
|
|
4161
|
-
sidebar:
|
|
4162
|
-
open:
|
|
4163
|
-
content:
|
|
4164
|
-
closeButton:
|
|
4165
|
-
},
|
|
4164
|
+
const js = "_sidebar_1g1wq_2", zs = "_open_1g1wq_16", Zs = "_content_1g1wq_20", Hs = "_closeButton_1g1wq_25", Le = {
|
|
4165
|
+
sidebar: js,
|
|
4166
|
+
open: zs,
|
|
4167
|
+
content: Zs,
|
|
4168
|
+
closeButton: Hs
|
|
4169
|
+
}, Ks = "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", Us = ({
|
|
4166
4170
|
width: n = "300px",
|
|
4167
4171
|
children: d,
|
|
4168
4172
|
showRightBar: s,
|
|
@@ -4177,13 +4181,13 @@ const Ps = "_sidebar_18f0x_2", js = "_open_18f0x_16", zs = "_content_18f0x_20",
|
|
|
4177
4181
|
className: `${Le.sidebar} ${s ? Le.open : ""}`,
|
|
4178
4182
|
style: { width: s ? n : 0 },
|
|
4179
4183
|
children: s && /* @__PURE__ */ m("div", { className: Le.content, children: [
|
|
4180
|
-
/* @__PURE__ */ i("button", { className: Le.closeButton, onClick: t, children: /* @__PURE__ */ i("img", { src:
|
|
4184
|
+
/* @__PURE__ */ i("button", { className: Le.closeButton, onClick: t, children: /* @__PURE__ */ i("img", { src: Ks, alt: "Close Sidebar" }) }),
|
|
4181
4185
|
d
|
|
4182
4186
|
] })
|
|
4183
4187
|
}
|
|
4184
4188
|
);
|
|
4185
4189
|
};
|
|
4186
|
-
|
|
4190
|
+
Us.propTypes = {
|
|
4187
4191
|
width: e.string,
|
|
4188
4192
|
children: e.node,
|
|
4189
4193
|
showRightBar: e.bool,
|
|
@@ -4191,35 +4195,35 @@ Ks.propTypes = {
|
|
|
4191
4195
|
};
|
|
4192
4196
|
export {
|
|
4193
4197
|
x2 as AmbitSelector,
|
|
4194
|
-
|
|
4198
|
+
Ts as ButtonsBar,
|
|
4195
4199
|
A2 as ButtonsList,
|
|
4196
|
-
|
|
4197
|
-
|
|
4200
|
+
re as DropdownList,
|
|
4201
|
+
po as EditAmbit,
|
|
4198
4202
|
we as ErrorMessage,
|
|
4199
|
-
|
|
4200
|
-
|
|
4203
|
+
un as FiltersAmbit,
|
|
4204
|
+
bo as Form,
|
|
4201
4205
|
Me as GeneralButton,
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4206
|
+
Cn as Graphic,
|
|
4207
|
+
Ps as HeaderSection,
|
|
4208
|
+
An as IndicatorsList,
|
|
4209
|
+
Pn as LangSelector,
|
|
4210
|
+
i0 as Legend,
|
|
4211
|
+
ri as ListSelector,
|
|
4212
|
+
I0 as LogInButton,
|
|
4213
|
+
o0 as LogoApp,
|
|
4214
|
+
l0 as MapboxMap,
|
|
4215
|
+
h0 as MaplibreMap,
|
|
4216
|
+
hs as ModalAlert,
|
|
4217
|
+
Gi as RadioButtonInput,
|
|
4214
4218
|
Dt as RankingSlider,
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4219
|
+
Us as RightSidebar,
|
|
4220
|
+
v0 as SectionBar,
|
|
4221
|
+
Pi as SelectInput,
|
|
4218
4222
|
Vt as StatusText,
|
|
4219
4223
|
Ft as Steps,
|
|
4220
|
-
|
|
4224
|
+
As as Switch,
|
|
4221
4225
|
ut as TextInput,
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4226
|
+
T0 as TimeSlider,
|
|
4227
|
+
se as Tooltip,
|
|
4228
|
+
F0 as TopNavMenu
|
|
4225
4229
|
};
|