@tmf_ciclica/ciclicastorybook 1.1.129 → 1.1.130
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +7 -7
- package/dist/index.es.js +1112 -1052
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_phq4n_2{padding:5px 95px;border-radius:100px}._generalButton_phq4n_2:disabled{opacity:.6}._buttonsContainer_1ks7x_2{display:flex;gap:8px}._buttonsContainer_1ks7x_2._vertical_1ks7x_6{flex-direction:column}._buttonsContainer_1ks7x_2._horizontal_1ks7x_9{flex-direction:row}._button_1ks7x_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1ks7x_2:hover{opacity:.8}._button_1ks7x_2._active_1ks7x_25{font-weight:700}._button_1ks7x_2 ._buttonName_1ks7x_28{margin:0 4px}._button_1ks7x_2:disabled{opacity:.5!important;cursor:auto}._left_1l4m4_2{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_1l4m4_2:before{content:"";position:absolute;top:50%;left:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent transparent #ccc;z-index:-2}._left_1l4m4_2:after{content:"";position:absolute;top:50%;left:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent transparent #fff;z-index:-1}._top_1l4m4_40{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._top_1l4m4_40:before{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:#ccc transparent transparent transparent;z-index:-2}._top_1l4m4_40:after{content:"";position:absolute;top:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:#fff transparent transparent transparent;z-index:-1}._bottom_1l4m4_79{position:absolute;width:auto;top:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._bottom_1l4m4_79:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent #ccc transparent;z-index:-2}._bottom_1l4m4_79:after{content:"";position:absolute;bottom:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent #fff transparent;z-index:-1}._right_1l4m4_118{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:20px;margin:0;white-space:nowrap;color:#000;z-index:10}._right_1l4m4_118:before{content:"";position:absolute;top:50%;right:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent #ccc transparent transparent;z-index:-2}._right_1l4m4_118:after{content:"";position:absolute;top:50%;right:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent #fff transparent transparent;z-index:-1}._AppliedFiltersContainer_cokx9_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start;flex-wrap:wrap}._AppliedFiltersContainer_cokx9_2 ._AppliedFilterContent_cokx9_11{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:0 20px;border-radius:100px}._checkboxContainer_zld97_2{display:flex;align-items:center;gap:.5rem;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_zld97_2 input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:1px;background-color:#fff;cursor:pointer}._container_15vgv_2{padding-top:15px;font-size:14px}._container_15vgv_2 span{font-size:14px}._container_15vgv_2 ._unitLabel_15vgv_9{height:40px}._container_15vgv_2 ._slider_15vgv_12{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_15vgv_2 ._thumb_15vgv_18{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_15vgv_2 ._track_15vgv_27{top:0;bottom:0;background:#605b56;border-radius:3px}._container_15vgv_2 ._labels_15vgv_33{display:flex;justify-content:space-between;font-size:14px;margin-top:10px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 label,._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input{cursor:pointer;font-size:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background-color:#fff;transition:background-color .2s ease;cursor:pointer;vertical-align:middle}._tematicalFiltersInputContainer_1vm1r_2 ._checkboxContainer_1vm1r_28{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px}._tematicalFiltersInputContainer_1vm1r_2 ._absoluteSliderContainer_1vm1r_37{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:flex-start}._FiltersAmbitContainer_1g9xx_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitTitle_1g9xx_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 0 26px;font-size:16px;font-weight:400}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22 ._FiltersAmbitDescriptionTitle_1g9xx_33{font-size:18px;font-weight:600}._FiltersAmbitContainer_1g9xx_2 ._warning_1g9xx_37{color:red}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_1go6h_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_1go6h_2 ._indicatorNameContainer_1go6h_11{gap:10px;display:grid;grid-template-columns:15px auto;align-items:center}._indicatorContainer_1go6h_2 ._dot_1go6h_17{border-radius:100px;width:16px;height:16px}._indicatorContainer_1go6h_2 ._indicatorName_1go6h_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_1go6h_28{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37{margin:0;width:100%}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._customRadious_1go6h_62{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._optionText_1go6h_69{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_qs4x9_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative;overflow-y:scroll}._legendContainer_qs4x9_3::-webkit-scrollbar{width:8px}._legendContainer_qs4x9_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_qs4x9_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31{position:absolute;right:20px;top:20px;width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before,._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before{transform:rotate(45deg)}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{transform:rotate(-45deg)}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59{border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59 h2{padding-bottom:16px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65{padding-top:20px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_qs4x9_3 ._titleLegendList_qs4x9_76{font-size:20px;padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88 ._colorDot_qs4x9_94{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100{position:relative}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueColor_qs4x9_103{height:130px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueText_qs4x9_108{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120{position:relative;margin-top:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._noData_qs4x9_120{height:22px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._absoluteValueText_qs4x9_108{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_qs4x9_3 ._moreInfoContainer_qs4x9_141{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_mt8l5_2{padding:15px;color:#92898a}._FeaturePopUp_mt8l5_2 p{margin-bottom:10px}._FeaturePopUp_mt8l5_2 ._title_mt8l5_9{font-weight:600;margin-right:5px;color:#92898a}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_a19yo_2{position:absolute;padding:5px 20px;right:150px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;top:188px;transition:all .5s ease-out}._slider_a19yo_2 ._playButton_a19yo_17,._slider_a19yo_2 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._slider_a19yo_2 ._playButton_a19yo_17 img{height:30px;width:30px}._sliderOpen_a19yo_28{right:490px}._sliderResults_a19yo_32{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_a19yo_32 ._playButton_a19yo_17,._sliderResults_a19yo_32 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._sliderResults_a19yo_32 ._playButton_a19yo_17 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_fd7az_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_fd7az_2 ._header_fd7az_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_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_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39{font-size:18px;font-weight:600;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53{font-size:18px;font-weight:600;flex:.5}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._buttonsContainer_fd7az_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._elementListContainer_fd7az_76{flex:1;width:100%}._elementSelector_fd7az_2 ._newElementButtonContainer_fd7az_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._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}._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}._formContainer_b071f_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_b071f_2 ._formObjectContainer_b071f_11{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:center;flex:1;width:100%;gap:80px}._formContainer_b071f_2 ._buttonContainer_b071f_22{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._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_brgxs_2{display:grid;width:100%}._rankingSliderContainer_brgxs_2 ._labelContainer_brgxs_6{margin-bottom:25px;color:#605b56}._rankingSliderContainer_brgxs_2 ._inputContainer_brgxs_10{width:100%;position:relative;display:flex;gap:14px;align-items:flex-start;flex-wrap:nowrap}._rankingSliderContainer_brgxs_2 ._inputContainer_brgxs_10 ._slider_brgxs_18{height:3px;background:#efefef;border-radius:3px;position:relative;min-width:250px}._rankingSliderContainer_brgxs_2 ._inputContainer_brgxs_10 ._thumb_brgxs_25{height:15px;width:15px;border-radius:50%;cursor:grab;top:-100%;transform:translateY(-20%);outline:none}._rankingSliderContainer_brgxs_2 ._inputContainer_brgxs_10 ._labels_brgxs_35{display:flex;justify-content:space-between;margin-top:8px;font-size:14px;color:#444}._rankingSliderContainer_brgxs_2 ._inputContainer_brgxs_10 ._labels_brgxs_35 span{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:10px}._rankingSliderContainer_brgxs_2 ._inputContainer_brgxs_10 ._labels_brgxs_35 span:before{content:"";background:#efefef;width:10px;height:10px;position:absolute;top:-3.5px;border-radius:50%}._rankingSliderContainer_brgxs_2 ._inputContainer_brgxs_10 ._labels_brgxs_35 ._labelsText_brgxs_60{color:#605b56}._rankingSliderContainer_brgxs_2 ._inputContainer_brgxs_10 ._minLabel_brgxs_63,._rankingSliderContainer_brgxs_2 ._inputContainer_brgxs_10 ._maxLabel_brgxs_63{color:#605b56;font-size:12px;white-space:nowrap;margin-top:-7px}._rankingSliderContainer_brgxs_2 ._inputContainer_brgxs_10 ._minLabel_brgxs_63{text-align:right}._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}._header_13kbt_2{width:100%;display:flex;align-items:center;position:absolute;top:0;left:0;padding:0 16px;background-color:#fff;border-bottom:1px solid black}._header_13kbt_2 ._leftComponents_13kbt_13,._header_13kbt_2 ._centerComponents_13kbt_14,._header_13kbt_2 ._rightComponents_13kbt_15{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_13kbt_2 ._leftComponents_13kbt_13{left:16px}._header_13kbt_2 ._centerComponents_13kbt_14{left:50%;transform:translate(-50%)}._header_13kbt_2 ._rightComponents_13kbt_15{right:16px}._header_13kbt_2 ._componentsContainer_13kbt_32{height:100%;width:100%}._sidebar_1fmjn_2{position:absolute;top:0;right:0;height:100%;background-color:#fff;box-shadow:-2px 0 5px #0000001a;overflow-x:hidden;overflow-y:auto;transition:width .3s ease;z-index:1000;width:0}._open_1fmjn_16{border-left:1px solid #ddd}._content_1fmjn_20{position:relative;padding:20px;height:100%}._closeButton_1fmjn_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1fmjn_26:hover{color:#000}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
-
import { jsxs as p, jsx as
|
|
3
|
-
import * as
|
|
4
|
-
import
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_phq4n_2{padding:5px 95px;border-radius:100px}._generalButton_phq4n_2:disabled{opacity:.6}._buttonsContainer_1ks7x_2{display:flex;gap:8px}._buttonsContainer_1ks7x_2._vertical_1ks7x_6{flex-direction:column}._buttonsContainer_1ks7x_2._horizontal_1ks7x_9{flex-direction:row}._button_1ks7x_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1ks7x_2:hover{opacity:.8}._button_1ks7x_2._active_1ks7x_25{font-weight:700}._button_1ks7x_2 ._buttonName_1ks7x_28{margin:0 4px}._button_1ks7x_2:disabled{opacity:.5!important;cursor:auto}._left_1l4m4_2{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_1l4m4_2:before{content:"";position:absolute;top:50%;left:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent transparent #ccc;z-index:-2}._left_1l4m4_2:after{content:"";position:absolute;top:50%;left:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent transparent #fff;z-index:-1}._top_1l4m4_40{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._top_1l4m4_40:before{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:#ccc transparent transparent transparent;z-index:-2}._top_1l4m4_40:after{content:"";position:absolute;top:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:#fff transparent transparent transparent;z-index:-1}._bottom_1l4m4_79{position:absolute;width:auto;top:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._bottom_1l4m4_79:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent #ccc transparent;z-index:-2}._bottom_1l4m4_79:after{content:"";position:absolute;bottom:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent #fff transparent;z-index:-1}._right_1l4m4_118{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:20px;margin:0;white-space:nowrap;color:#000;z-index:10}._right_1l4m4_118:before{content:"";position:absolute;top:50%;right:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent #ccc transparent transparent;z-index:-2}._right_1l4m4_118:after{content:"";position:absolute;top:50%;right:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent #fff transparent transparent;z-index:-1}._AppliedFiltersContainer_cokx9_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start;flex-wrap:wrap}._AppliedFiltersContainer_cokx9_2 ._AppliedFilterContent_cokx9_11{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:0 20px;border-radius:100px}._checkboxContainer_zld97_2{display:flex;align-items:center;gap:.5rem;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_zld97_2 input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:1px;background-color:#fff;cursor:pointer}._container_15vgv_2{padding-top:15px;font-size:14px}._container_15vgv_2 span{font-size:14px}._container_15vgv_2 ._unitLabel_15vgv_9{height:40px}._container_15vgv_2 ._slider_15vgv_12{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_15vgv_2 ._thumb_15vgv_18{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_15vgv_2 ._track_15vgv_27{top:0;bottom:0;background:#605b56;border-radius:3px}._container_15vgv_2 ._labels_15vgv_33{display:flex;justify-content:space-between;font-size:14px;margin-top:10px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 label,._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input{cursor:pointer;font-size:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background-color:#fff;transition:background-color .2s ease;cursor:pointer;vertical-align:middle}._tematicalFiltersInputContainer_1vm1r_2 ._checkboxContainer_1vm1r_28{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px}._tematicalFiltersInputContainer_1vm1r_2 ._absoluteSliderContainer_1vm1r_37{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:flex-start}._FiltersAmbitContainer_1g9xx_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitTitle_1g9xx_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 0 26px;font-size:16px;font-weight:400}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22 ._FiltersAmbitDescriptionTitle_1g9xx_33{font-size:18px;font-weight:600}._FiltersAmbitContainer_1g9xx_2 ._warning_1g9xx_37{color:red}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_1go6h_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_1go6h_2 ._indicatorNameContainer_1go6h_11{gap:10px;display:grid;grid-template-columns:15px auto;align-items:center}._indicatorContainer_1go6h_2 ._dot_1go6h_17{border-radius:100px;width:16px;height:16px}._indicatorContainer_1go6h_2 ._indicatorName_1go6h_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_1go6h_28{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37{margin:0;width:100%}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._customRadious_1go6h_62{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._optionText_1go6h_69{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_qs4x9_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative;overflow-y:scroll}._legendContainer_qs4x9_3::-webkit-scrollbar{width:8px}._legendContainer_qs4x9_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_qs4x9_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31{position:absolute;right:20px;top:20px;width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before,._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before{transform:rotate(45deg)}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{transform:rotate(-45deg)}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59{border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59 h2{padding-bottom:16px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65{padding-top:20px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_qs4x9_3 ._titleLegendList_qs4x9_76{font-size:20px;padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88 ._colorDot_qs4x9_94{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100{position:relative}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueColor_qs4x9_103{height:130px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueText_qs4x9_108{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120{position:relative;margin-top:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._noData_qs4x9_120{height:22px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._absoluteValueText_qs4x9_108{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_qs4x9_3 ._moreInfoContainer_qs4x9_141{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_mt8l5_2{padding:15px;color:#92898a}._FeaturePopUp_mt8l5_2 p{margin-bottom:10px}._FeaturePopUp_mt8l5_2 ._title_mt8l5_9{font-weight:600;margin-right:5px;color:#92898a}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_a19yo_2{position:absolute;padding:5px 20px;right:150px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;top:188px;transition:all .5s ease-out}._slider_a19yo_2 ._playButton_a19yo_17,._slider_a19yo_2 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._slider_a19yo_2 ._playButton_a19yo_17 img{height:30px;width:30px}._sliderOpen_a19yo_28{right:490px}._sliderResults_a19yo_32{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_a19yo_32 ._playButton_a19yo_17,._sliderResults_a19yo_32 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._sliderResults_a19yo_32 ._playButton_a19yo_17 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_fd7az_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_fd7az_2 ._header_fd7az_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_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_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39{font-size:18px;font-weight:600;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53{font-size:18px;font-weight:600;flex:.5}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._buttonsContainer_fd7az_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._elementListContainer_fd7az_76{flex:1;width:100%}._elementSelector_fd7az_2 ._newElementButtonContainer_fd7az_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._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}._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}._formContainer_b071f_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_b071f_2 ._formObjectContainer_b071f_11{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:center;flex:1;width:100%;gap:80px}._formContainer_b071f_2 ._buttonContainer_b071f_22{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._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_brgxs_2{display:grid;width:100%}._rankingSliderContainer_brgxs_2 ._labelContainer_brgxs_6{margin-bottom:25px;color:#605b56}._rankingSliderContainer_brgxs_2 ._inputContainer_brgxs_10{width:100%;position:relative;display:flex;gap:14px;align-items:flex-start;flex-wrap:nowrap}._rankingSliderContainer_brgxs_2 ._inputContainer_brgxs_10 ._slider_brgxs_18{height:3px;background:#efefef;border-radius:3px;position:relative;min-width:250px}._rankingSliderContainer_brgxs_2 ._inputContainer_brgxs_10 ._thumb_brgxs_25{height:15px;width:15px;border-radius:50%;cursor:grab;top:-100%;transform:translateY(-20%);outline:none}._rankingSliderContainer_brgxs_2 ._inputContainer_brgxs_10 ._labels_brgxs_35{display:flex;justify-content:space-between;margin-top:8px;font-size:14px;color:#444}._rankingSliderContainer_brgxs_2 ._inputContainer_brgxs_10 ._labels_brgxs_35 span{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:10px}._rankingSliderContainer_brgxs_2 ._inputContainer_brgxs_10 ._labels_brgxs_35 span:before{content:"";background:#efefef;width:10px;height:10px;position:absolute;top:-3.5px;border-radius:50%}._rankingSliderContainer_brgxs_2 ._inputContainer_brgxs_10 ._labels_brgxs_35 ._labelsText_brgxs_60{color:#605b56}._rankingSliderContainer_brgxs_2 ._inputContainer_brgxs_10 ._minLabel_brgxs_63,._rankingSliderContainer_brgxs_2 ._inputContainer_brgxs_10 ._maxLabel_brgxs_63{color:#605b56;font-size:12px;white-space:nowrap;margin-top:-7px}._rankingSliderContainer_brgxs_2 ._inputContainer_brgxs_10 ._minLabel_brgxs_63{text-align:right}._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_1aotp_2{display:flex;align-items:center;gap:10px;font-size:14px;color:#5a514d}._switchContainer_1aotp_2 ._label_1aotp_9{white-space:nowrap}._switch_1aotp_2{position:relative;display:inline-block;width:44px;height:24px}._switch_1aotp_2 input{opacity:0;width:0;height:0}._switch_1aotp_2 ._slider_1aotp_24{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_1aotp_2 ._slider_1aotp_24: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_1aotp_2 input:checked+._slider_1aotp_24:before{transform:translate(20px)}._switch_1aotp_2._disabled_1aotp_50{opacity:.5;pointer-events:none}._header_13kbt_2{width:100%;display:flex;align-items:center;position:absolute;top:0;left:0;padding:0 16px;background-color:#fff;border-bottom:1px solid black}._header_13kbt_2 ._leftComponents_13kbt_13,._header_13kbt_2 ._centerComponents_13kbt_14,._header_13kbt_2 ._rightComponents_13kbt_15{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_13kbt_2 ._leftComponents_13kbt_13{left:16px}._header_13kbt_2 ._centerComponents_13kbt_14{left:50%;transform:translate(-50%)}._header_13kbt_2 ._rightComponents_13kbt_15{right:16px}._header_13kbt_2 ._componentsContainer_13kbt_32{height:100%;width:100%}._sidebar_1fmjn_2{position:absolute;top:0;right:0;height:100%;background-color:#fff;box-shadow:-2px 0 5px #0000001a;overflow-x:hidden;overflow-y:auto;transition:width .3s ease;z-index:1000;width:0}._open_1fmjn_16{border-left:1px solid #ddd}._content_1fmjn_20{position:relative;padding:20px;height:100%}._closeButton_1fmjn_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1fmjn_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
+
import { jsxs as p, jsx as i, Fragment as Oe } from "react/jsx-runtime";
|
|
3
|
+
import * as de from "react";
|
|
4
|
+
import B, { useState as L, useEffect as T, useMemo as Ce, useLayoutEffect as Tt, useRef as ne } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
|
-
import { useTranslation as k, Trans as
|
|
7
|
-
import { motion as
|
|
8
|
-
import { create as
|
|
9
|
-
import * as
|
|
10
|
-
import
|
|
11
|
-
import { useSelector as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { Protocol as
|
|
15
|
-
import
|
|
16
|
-
import { createSlice as
|
|
17
|
-
import
|
|
18
|
-
import { createTheme as
|
|
19
|
-
import { ThemeProvider as
|
|
20
|
-
import { NavLink as
|
|
21
|
-
const
|
|
22
|
-
ambitSelector:
|
|
23
|
-
header:
|
|
24
|
-
nameDateContainer:
|
|
25
|
-
ambitName:
|
|
26
|
-
ambitDate:
|
|
27
|
-
buttonsContainer:
|
|
28
|
-
ambitListContainer:
|
|
29
|
-
newAmbitButtonContainer:
|
|
30
|
-
},
|
|
31
|
-
ambitItem:
|
|
32
|
-
ambitNameDate:
|
|
33
|
-
ambitName:
|
|
34
|
-
ambitDate:
|
|
35
|
-
ambitButtons:
|
|
36
|
-
}, d2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", u2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", p2 = "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", m2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='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", h2 = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205138'%3e%3cpath%20id='Vector'%20d='M12.95%200.408447C7.659%200.408447%202.84899%202.77185%200.0832465%206.72621C-0.0277488%206.88808%20-0.0277488%207.09621%200.0832465%207.25807C2.84439%2011.2125%207.65437%2013.5712%2012.95%2013.5712C18.2456%2013.5712%2023.0556%2011.2125%2025.8168%207.25807C25.9278%207.0962%2025.9278%206.88807%2025.8168%206.72621C23.051%202.77184%2018.241%200.408447%2012.95%200.408447ZM12.95%2011.2217C10.619%2011.2217%208.71812%209.32083%208.71812%206.98984C8.71812%204.65885%2010.619%202.75796%2012.95%202.75796C15.281%202.75796%2017.1819%204.65883%2017.1819%206.98984C17.1819%209.32085%2015.281%2011.2217%2012.95%2011.2217Z'%20fill='%23B32F5D'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%2010.2966C14.7777%2010.2966%2016.2583%208.81607%2016.2583%206.98974C16.2583%205.1634%2014.7777%203.68286%2012.9514%203.68286C11.1251%203.68286%209.64453%205.1634%209.64453%206.98974C9.64453%208.81607%2011.1251%2010.2966%2012.9514%2010.2966Z'%20fill='%23B32F5D'/%3e%3c/g%3e%3c/svg%3e", g2 = "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", at = ({
|
|
6
|
+
import { useTranslation as k, Trans as ze } from "react-i18next";
|
|
7
|
+
import { motion as Ze } from "framer-motion";
|
|
8
|
+
import { create as Dt } from "zustand";
|
|
9
|
+
import * as Ge from "d3";
|
|
10
|
+
import Mt from "mapbox-gl";
|
|
11
|
+
import { useSelector as Ft, useDispatch as Vt } from "react-redux";
|
|
12
|
+
import At, { Source as Ot, Layer as It, NavigationControl as Rt, Popup as qt } from "react-map-gl/mapbox";
|
|
13
|
+
import $e from "maplibre-gl";
|
|
14
|
+
import { Protocol as Et } from "pmtiles";
|
|
15
|
+
import Pt, { Source as jt, Layer as zt, NavigationControl as Zt, Popup as Kt } from "react-map-gl/maplibre";
|
|
16
|
+
import { createSlice as Ht } from "@reduxjs/toolkit";
|
|
17
|
+
import Ut from "@mui/material/Slider";
|
|
18
|
+
import { createTheme as Gt, Box as Wt } from "@mui/material";
|
|
19
|
+
import { ThemeProvider as Yt } from "@emotion/react";
|
|
20
|
+
import { NavLink as Qt } from "react-router-dom";
|
|
21
|
+
const Xt = "_ambitSelector_mcunf_2", Jt = "_header_mcunf_13", e2 = "_nameDateContainer_mcunf_23", t2 = "_ambitName_mcunf_39", n2 = "_ambitDate_mcunf_53", i2 = "_buttonsContainer_mcunf_67", s2 = "_ambitListContainer_mcunf_76", o2 = "_newAmbitButtonContainer_mcunf_80", U = {
|
|
22
|
+
ambitSelector: Xt,
|
|
23
|
+
header: Jt,
|
|
24
|
+
nameDateContainer: e2,
|
|
25
|
+
ambitName: t2,
|
|
26
|
+
ambitDate: n2,
|
|
27
|
+
buttonsContainer: i2,
|
|
28
|
+
ambitListContainer: s2,
|
|
29
|
+
newAmbitButtonContainer: o2
|
|
30
|
+
}, r2 = "_ambitItem_1qa6u_2", a2 = "_ambitNameDate_1qa6u_16", l2 = "_ambitName_1qa6u_16", c2 = "_ambitDate_1qa6u_35", d2 = "_ambitButtons_1qa6u_38", pe = {
|
|
31
|
+
ambitItem: r2,
|
|
32
|
+
ambitNameDate: a2,
|
|
33
|
+
ambitName: l2,
|
|
34
|
+
ambitDate: c2,
|
|
35
|
+
ambitButtons: d2
|
|
36
|
+
}, u2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='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", p2 = "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", m2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", h2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", g2 = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205138'%3e%3cpath%20id='Vector'%20d='M12.95%200.408447C7.659%200.408447%202.84899%202.77185%200.0832465%206.72621C-0.0277488%206.88808%20-0.0277488%207.09621%200.0832465%207.25807C2.84439%2011.2125%207.65437%2013.5712%2012.95%2013.5712C18.2456%2013.5712%2023.0556%2011.2125%2025.8168%207.25807C25.9278%207.0962%2025.9278%206.88807%2025.8168%206.72621C23.051%202.77184%2018.241%200.408447%2012.95%200.408447ZM12.95%2011.2217C10.619%2011.2217%208.71812%209.32083%208.71812%206.98984C8.71812%204.65885%2010.619%202.75796%2012.95%202.75796C15.281%202.75796%2017.1819%204.65883%2017.1819%206.98984C17.1819%209.32085%2015.281%2011.2217%2012.95%2011.2217Z'%20fill='%23B32F5D'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%2010.2966C14.7777%2010.2966%2016.2583%208.81607%2016.2583%206.98974C16.2583%205.1634%2014.7777%203.68286%2012.9514%203.68286C11.1251%203.68286%209.64453%205.1634%209.64453%206.98974C9.64453%208.81607%2011.1251%2010.2966%2012.9514%2010.2966Z'%20fill='%23B32F5D'/%3e%3c/g%3e%3c/svg%3e", C2 = "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", lt = ({
|
|
37
37
|
ambit: n,
|
|
38
38
|
onClickCopy: d,
|
|
39
|
-
onClickDelete:
|
|
39
|
+
onClickDelete: s,
|
|
40
40
|
onClickFilters: o,
|
|
41
41
|
onClickAmbit: t,
|
|
42
42
|
isActive: r,
|
|
@@ -48,33 +48,33 @@ const Qt = "_ambitSelector_mcunf_2", Xt = "_header_mcunf_13", Jt = "_nameDateCon
|
|
|
48
48
|
return /* @__PURE__ */ p(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
51
|
-
className:
|
|
51
|
+
className: pe.ambitItem,
|
|
52
52
|
style: { borderBottom: `1px solid ${l}` },
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */ p("div", { className:
|
|
55
|
-
/* @__PURE__ */ p("div", { className:
|
|
56
|
-
/* @__PURE__ */
|
|
54
|
+
/* @__PURE__ */ p("div", { className: pe.ambitNameDate, onClick: () => t(g), children: [
|
|
55
|
+
/* @__PURE__ */ p("div", { className: pe.ambitName, children: [
|
|
56
|
+
/* @__PURE__ */ i(
|
|
57
57
|
"img",
|
|
58
58
|
{
|
|
59
59
|
style: { marginRight: 9 },
|
|
60
|
-
src: r ?
|
|
60
|
+
src: r ? g2 : C2
|
|
61
61
|
}
|
|
62
62
|
),
|
|
63
|
-
/* @__PURE__ */
|
|
63
|
+
/* @__PURE__ */ i("span", { style: { color: r ? a : l }, children: u })
|
|
64
64
|
] }),
|
|
65
|
-
/* @__PURE__ */
|
|
65
|
+
/* @__PURE__ */ i("div", { className: pe.ambitDate, children: h ? new Date(h).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
67
|
-
/* @__PURE__ */ p("div", { className:
|
|
68
|
-
_ && /* @__PURE__ */
|
|
69
|
-
/* @__PURE__ */
|
|
70
|
-
/* @__PURE__ */
|
|
71
|
-
/* @__PURE__ */
|
|
67
|
+
/* @__PURE__ */ p("div", { className: pe.ambitButtons, children: [
|
|
68
|
+
_ && /* @__PURE__ */ i("img", { src: h2 }),
|
|
69
|
+
/* @__PURE__ */ i("button", { onClick: () => o(g), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: m2 }) }),
|
|
70
|
+
/* @__PURE__ */ i("button", { onClick: () => d(g), children: /* @__PURE__ */ i("img", { src: p2 }) }),
|
|
71
|
+
/* @__PURE__ */ i("button", { onClick: () => s(g), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: u2 }) })
|
|
72
72
|
] })
|
|
73
73
|
]
|
|
74
74
|
}
|
|
75
75
|
);
|
|
76
76
|
};
|
|
77
|
-
|
|
77
|
+
lt.propTypes = {
|
|
78
78
|
ambit: e.shape({
|
|
79
79
|
name: e.string.isRequired,
|
|
80
80
|
created_at: e.string,
|
|
@@ -92,22 +92,22 @@ at.propTypes = {
|
|
|
92
92
|
moreInfo: e.object
|
|
93
93
|
// Optional, can be used for additional info
|
|
94
94
|
};
|
|
95
|
-
const
|
|
96
|
-
generalButton:
|
|
97
|
-
},
|
|
95
|
+
const We = "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", f2 = "_generalButton_phq4n_2", b2 = {
|
|
96
|
+
generalButton: f2
|
|
97
|
+
}, ke = ({
|
|
98
98
|
children: n,
|
|
99
99
|
onClick: d,
|
|
100
|
-
fontColor:
|
|
100
|
+
fontColor: s = "#605B56",
|
|
101
101
|
borderColor: o = "#605B56",
|
|
102
102
|
type: t = "button",
|
|
103
103
|
containerStyles: r = {},
|
|
104
104
|
disabled: a = !1
|
|
105
|
-
}) => /* @__PURE__ */
|
|
105
|
+
}) => /* @__PURE__ */ i(
|
|
106
106
|
"button",
|
|
107
107
|
{
|
|
108
|
-
className:
|
|
108
|
+
className: b2.generalButton,
|
|
109
109
|
style: {
|
|
110
|
-
color:
|
|
110
|
+
color: s,
|
|
111
111
|
border: `1.5px solid ${o}`,
|
|
112
112
|
...r
|
|
113
113
|
},
|
|
@@ -116,10 +116,10 @@ const Ge = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
116
116
|
disabled: a,
|
|
117
117
|
children: n
|
|
118
118
|
}
|
|
119
|
-
),
|
|
119
|
+
), _2 = ({
|
|
120
120
|
ambitList: n,
|
|
121
121
|
activeAmbitId: d,
|
|
122
|
-
fontColor:
|
|
122
|
+
fontColor: s = "#605B56",
|
|
123
123
|
activeColor: o,
|
|
124
124
|
nameLabel: t,
|
|
125
125
|
dateLabel: r,
|
|
@@ -133,7 +133,7 @@ const Ge = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
133
133
|
onClickAmbit: y = (m) => console.log(`OnCLickAmbit: ${m}`)
|
|
134
134
|
}) => {
|
|
135
135
|
const { t: m } = k(), [b, C] = L(n);
|
|
136
|
-
|
|
136
|
+
T(() => {
|
|
137
137
|
n && C(n);
|
|
138
138
|
}, [n]);
|
|
139
139
|
const f = (v) => {
|
|
@@ -146,34 +146,34 @@ const Ge = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
146
146
|
"div",
|
|
147
147
|
{
|
|
148
148
|
className: U.ambitSelector,
|
|
149
|
-
style: { color:
|
|
149
|
+
style: { color: s, ...c },
|
|
150
150
|
children: [
|
|
151
151
|
/* @__PURE__ */ p(
|
|
152
152
|
"div",
|
|
153
153
|
{
|
|
154
154
|
className: U.header,
|
|
155
|
-
style: { borderBottom: `1px solid ${
|
|
155
|
+
style: { borderBottom: `1px solid ${s}` },
|
|
156
156
|
children: [
|
|
157
157
|
/* @__PURE__ */ p("div", { className: U.nameDateContainer, children: [
|
|
158
|
-
/* @__PURE__ */
|
|
159
|
-
/* @__PURE__ */
|
|
160
|
-
/* @__PURE__ */
|
|
158
|
+
/* @__PURE__ */ i("div", { className: U.ambitName, children: /* @__PURE__ */ p("button", { onClick: () => f("name"), children: [
|
|
159
|
+
/* @__PURE__ */ i("span", { children: m(t) }),
|
|
160
|
+
/* @__PURE__ */ i("img", { src: We })
|
|
161
161
|
] }) }),
|
|
162
|
-
/* @__PURE__ */
|
|
163
|
-
/* @__PURE__ */
|
|
164
|
-
/* @__PURE__ */
|
|
162
|
+
/* @__PURE__ */ i("div", { className: U.ambitDate, children: /* @__PURE__ */ p("button", { onClick: () => f("date"), children: [
|
|
163
|
+
/* @__PURE__ */ i("span", { children: m(r) }),
|
|
164
|
+
/* @__PURE__ */ i("img", { src: We })
|
|
165
165
|
] }) })
|
|
166
166
|
] }),
|
|
167
|
-
/* @__PURE__ */
|
|
167
|
+
/* @__PURE__ */ i("div", { className: U.buttonsContainer })
|
|
168
168
|
]
|
|
169
169
|
}
|
|
170
170
|
),
|
|
171
|
-
/* @__PURE__ */
|
|
172
|
-
|
|
171
|
+
/* @__PURE__ */ i("div", { className: U.ambitListContainer, children: b && b.length > 0 && b.map((v) => /* @__PURE__ */ i(
|
|
172
|
+
lt,
|
|
173
173
|
{
|
|
174
174
|
isActive: d == v.id,
|
|
175
175
|
ambit: v,
|
|
176
|
-
fontColor:
|
|
176
|
+
fontColor: s,
|
|
177
177
|
activeColor: o,
|
|
178
178
|
onClickCopy: h,
|
|
179
179
|
onClickDelete: g,
|
|
@@ -182,8 +182,8 @@ const Ge = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
182
182
|
},
|
|
183
183
|
`ambitKey${v.id}`
|
|
184
184
|
)) }),
|
|
185
|
-
/* @__PURE__ */
|
|
186
|
-
|
|
185
|
+
/* @__PURE__ */ i("div", { className: U.newAmbitButtonContainer, children: /* @__PURE__ */ i(
|
|
186
|
+
ke,
|
|
187
187
|
{
|
|
188
188
|
style: { ...l },
|
|
189
189
|
onClick: u,
|
|
@@ -195,7 +195,7 @@ const Ge = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
195
195
|
}
|
|
196
196
|
);
|
|
197
197
|
};
|
|
198
|
-
|
|
198
|
+
_2.propTypes = {
|
|
199
199
|
ambitList: e.arrayOf(
|
|
200
200
|
e.shape({
|
|
201
201
|
name: e.string.isRequired,
|
|
@@ -217,37 +217,37 @@ b2.propTypes = {
|
|
|
217
217
|
containerStyles: e.object,
|
|
218
218
|
onCLickNewAmbit: e.func
|
|
219
219
|
};
|
|
220
|
-
const
|
|
221
|
-
buttonsContainer:
|
|
222
|
-
vertical:
|
|
223
|
-
horizontal:
|
|
224
|
-
button:
|
|
225
|
-
active:
|
|
226
|
-
buttonName:
|
|
227
|
-
},
|
|
228
|
-
left:
|
|
229
|
-
top:
|
|
230
|
-
bottom:
|
|
231
|
-
right:
|
|
232
|
-
}, te = ({ text: n, position: d, styleCustom:
|
|
220
|
+
const y2 = "_buttonsContainer_1ks7x_2", v2 = "_vertical_1ks7x_6", x2 = "_horizontal_1ks7x_9", w2 = "_button_1ks7x_2", N2 = "_active_1ks7x_25", k2 = "_buttonName_1ks7x_28", Y = {
|
|
221
|
+
buttonsContainer: y2,
|
|
222
|
+
vertical: v2,
|
|
223
|
+
horizontal: x2,
|
|
224
|
+
button: w2,
|
|
225
|
+
active: N2,
|
|
226
|
+
buttonName: k2
|
|
227
|
+
}, $2 = "_left_1l4m4_2", S2 = "_top_1l4m4_40", B2 = "_bottom_1l4m4_79", L2 = "_right_1l4m4_118", T2 = {
|
|
228
|
+
left: $2,
|
|
229
|
+
top: S2,
|
|
230
|
+
bottom: B2,
|
|
231
|
+
right: L2
|
|
232
|
+
}, te = ({ text: n, position: d, styleCustom: s = null }) => {
|
|
233
233
|
const { t: o } = k();
|
|
234
|
-
return /* @__PURE__ */
|
|
234
|
+
return /* @__PURE__ */ i("div", { className: `tooltip ${T2[d]}`, style: s, children: o(n) });
|
|
235
235
|
};
|
|
236
236
|
te.propTypes = {
|
|
237
237
|
text: e.string.isRequired,
|
|
238
238
|
position: e.oneOf(["top", "bottom", "left", "right"]).isRequired,
|
|
239
239
|
styleCustom: e.object
|
|
240
240
|
};
|
|
241
|
-
const
|
|
241
|
+
const D2 = ({
|
|
242
242
|
buttons: n = [],
|
|
243
243
|
orientation: d = "horizontal",
|
|
244
|
-
showName:
|
|
244
|
+
showName: s = !0,
|
|
245
245
|
namePosition: o = "right",
|
|
246
246
|
useTooltip: t = !1,
|
|
247
247
|
tooltipPosition: r = "top"
|
|
248
248
|
}) => {
|
|
249
249
|
const { t: a } = k();
|
|
250
|
-
return /* @__PURE__ */
|
|
250
|
+
return /* @__PURE__ */ i(
|
|
251
251
|
"div",
|
|
252
252
|
{
|
|
253
253
|
className: `${Y.buttonsContainer} ${d === "vertical" && Y.vertical}
|
|
@@ -260,13 +260,13 @@ const T2 = ({
|
|
|
260
260
|
name: _,
|
|
261
261
|
onClick: y,
|
|
262
262
|
disabled: m
|
|
263
|
-
} = l, b = /* @__PURE__ */ p(
|
|
264
|
-
|
|
265
|
-
/* @__PURE__ */
|
|
266
|
-
|
|
263
|
+
} = l, b = /* @__PURE__ */ p(Oe, { children: [
|
|
264
|
+
s && o === "left" && /* @__PURE__ */ i("span", { className: Y.buttonName, children: a(_) }),
|
|
265
|
+
/* @__PURE__ */ i("img", { src: g ? h : u, alt: a(_) }),
|
|
266
|
+
s && o === "right" && /* @__PURE__ */ i("span", { className: Y.buttonName, children: a(_) })
|
|
267
267
|
] });
|
|
268
268
|
return /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
269
|
-
/* @__PURE__ */
|
|
269
|
+
/* @__PURE__ */ i(
|
|
270
270
|
"button",
|
|
271
271
|
{
|
|
272
272
|
onClick: y,
|
|
@@ -276,13 +276,13 @@ const T2 = ({
|
|
|
276
276
|
children: b
|
|
277
277
|
}
|
|
278
278
|
),
|
|
279
|
-
t && /* @__PURE__ */
|
|
279
|
+
t && /* @__PURE__ */ i(te, { text: _, position: r })
|
|
280
280
|
] }, c);
|
|
281
281
|
})
|
|
282
282
|
}
|
|
283
283
|
);
|
|
284
284
|
};
|
|
285
|
-
|
|
285
|
+
D2.propTypes = {
|
|
286
286
|
buttons: e.arrayOf(
|
|
287
287
|
e.shape({
|
|
288
288
|
icon: e.node.isRequired,
|
|
@@ -300,13 +300,13 @@ T2.propTypes = {
|
|
|
300
300
|
useTooltip: e.bool,
|
|
301
301
|
tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
|
|
302
302
|
};
|
|
303
|
-
const
|
|
304
|
-
indicatorsCategory:
|
|
305
|
-
title:
|
|
303
|
+
const M2 = "_indicatorsCategory_1cu33_2", F2 = "_title_1cu33_5", Se = {
|
|
304
|
+
indicatorsCategory: M2,
|
|
305
|
+
title: F2
|
|
306
306
|
}, ie = ({
|
|
307
307
|
isOpen: n,
|
|
308
308
|
onClick: d,
|
|
309
|
-
children:
|
|
309
|
+
children: s,
|
|
310
310
|
color: o,
|
|
311
311
|
activeColor: t = "#F8A925",
|
|
312
312
|
title: r = "Title",
|
|
@@ -319,9 +319,9 @@ const D2 = "_indicatorsCategory_1cu33_2", L2 = "_title_1cu33_5", Be = {
|
|
|
319
319
|
}) => {
|
|
320
320
|
const { t: h } = k();
|
|
321
321
|
return /* @__PURE__ */ p(
|
|
322
|
-
|
|
322
|
+
Ze.div,
|
|
323
323
|
{
|
|
324
|
-
className:
|
|
324
|
+
className: Se.indicatorsCategory,
|
|
325
325
|
initial: { height: `${a}px` },
|
|
326
326
|
animate: { height: n ? "auto" : `${a}px` },
|
|
327
327
|
transition: { duration: 0.4 },
|
|
@@ -338,15 +338,15 @@ const D2 = "_indicatorsCategory_1cu33_2", L2 = "_title_1cu33_5", Be = {
|
|
|
338
338
|
...l,
|
|
339
339
|
marginBottom: u || "auto"
|
|
340
340
|
},
|
|
341
|
-
className: `${
|
|
341
|
+
className: `${Se.title}`,
|
|
342
342
|
onClick: d,
|
|
343
343
|
children: [
|
|
344
|
-
/* @__PURE__ */
|
|
345
|
-
/* @__PURE__ */
|
|
344
|
+
/* @__PURE__ */ i("span", { style: { color: n ? t : o }, children: n ? "-" : "+" }),
|
|
345
|
+
/* @__PURE__ */ i("span", { style: { marginLeft: 12, color: n ? t : o }, children: h(r) })
|
|
346
346
|
]
|
|
347
347
|
}
|
|
348
348
|
),
|
|
349
|
-
/* @__PURE__ */
|
|
349
|
+
/* @__PURE__ */ i("div", { className: Se.content, children: s })
|
|
350
350
|
]
|
|
351
351
|
}
|
|
352
352
|
);
|
|
@@ -362,17 +362,17 @@ ie.propTypes = {
|
|
|
362
362
|
showBottomBar: e.bool,
|
|
363
363
|
titleFontStyles: e.object
|
|
364
364
|
};
|
|
365
|
-
const
|
|
366
|
-
AppliedFiltersContainer:
|
|
367
|
-
AppliedFilterContent:
|
|
368
|
-
}, O =
|
|
365
|
+
const Qs = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), V2 = "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", A2 = "_AppliedFiltersContainer_cokx9_2", O2 = "_AppliedFilterContent_cokx9_11", Ye = {
|
|
366
|
+
AppliedFiltersContainer: A2,
|
|
367
|
+
AppliedFilterContent: O2
|
|
368
|
+
}, O = Dt((n) => ({
|
|
369
369
|
activeCategory: "",
|
|
370
370
|
activeSubCategory: "",
|
|
371
371
|
selectedIndicator: "",
|
|
372
372
|
tematicalFiltersSelected: [],
|
|
373
373
|
fontColor: "#605B56",
|
|
374
374
|
inputsColor: "#605B56"
|
|
375
|
-
})),
|
|
375
|
+
})), ct = ({ title: n, onClick: d, isOpen: s = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
376
376
|
const { t: a } = k(), { tematicalFiltersSelected: l } = O((u) => u), c = (u) => {
|
|
377
377
|
O.setState((h) => ({
|
|
378
378
|
tematicalFiltersSelected: h.tematicalFiltersSelected.filter(
|
|
@@ -380,21 +380,21 @@ const Ks = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), F2 = "data
|
|
|
380
380
|
)
|
|
381
381
|
}));
|
|
382
382
|
};
|
|
383
|
-
return /* @__PURE__ */
|
|
383
|
+
return /* @__PURE__ */ i(
|
|
384
384
|
ie,
|
|
385
385
|
{
|
|
386
|
-
isOpen:
|
|
386
|
+
isOpen: s,
|
|
387
387
|
onClick: d,
|
|
388
388
|
title: n ? a(n) : "Applied Filters",
|
|
389
389
|
activeColor: r,
|
|
390
|
-
children: /* @__PURE__ */
|
|
390
|
+
children: /* @__PURE__ */ i("div", { className: Ye.AppliedFiltersContainer, children: l == null ? void 0 : l.map((u, h) => /* @__PURE__ */ p("div", { className: Ye.AppliedFilterContent, style: { color: o, background: t }, children: [
|
|
391
391
|
a(u.name),
|
|
392
|
-
/* @__PURE__ */
|
|
392
|
+
/* @__PURE__ */ i("img", { src: V2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
|
|
393
393
|
] }, h)) })
|
|
394
394
|
}
|
|
395
395
|
);
|
|
396
396
|
};
|
|
397
|
-
|
|
397
|
+
ct.propTypes = {
|
|
398
398
|
isOpen: e.bool,
|
|
399
399
|
onClick: e.func,
|
|
400
400
|
title: e.string,
|
|
@@ -408,12 +408,12 @@ lt.propTypes = {
|
|
|
408
408
|
),
|
|
409
409
|
activeColor: e.string
|
|
410
410
|
};
|
|
411
|
-
const
|
|
411
|
+
const dt = ({ title: n, onClick: d, isOpen: s = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
412
412
|
const { t: a } = k(), { tematicalFiltersSelected: l } = O((c) => c);
|
|
413
|
-
return /* @__PURE__ */
|
|
413
|
+
return /* @__PURE__ */ i(
|
|
414
414
|
ie,
|
|
415
415
|
{
|
|
416
|
-
isOpen:
|
|
416
|
+
isOpen: s,
|
|
417
417
|
onClick: d,
|
|
418
418
|
title: n ? a(n) : "Geographical Filters",
|
|
419
419
|
activeColor: r,
|
|
@@ -421,7 +421,7 @@ const ct = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", ba
|
|
|
421
421
|
}
|
|
422
422
|
);
|
|
423
423
|
};
|
|
424
|
-
|
|
424
|
+
dt.propTypes = {
|
|
425
425
|
isOpen: e.bool,
|
|
426
426
|
onClick: e.func,
|
|
427
427
|
title: e.string,
|
|
@@ -429,12 +429,12 @@ ct.propTypes = {
|
|
|
429
429
|
backgroundColor: e.string,
|
|
430
430
|
activeColor: e.string
|
|
431
431
|
};
|
|
432
|
-
const
|
|
433
|
-
checkboxContainer:
|
|
434
|
-
},
|
|
432
|
+
const I2 = "_checkboxContainer_zld97_2", R2 = {
|
|
433
|
+
checkboxContainer: I2
|
|
434
|
+
}, ut = ({
|
|
435
435
|
onClick: n,
|
|
436
436
|
containerStyles: d,
|
|
437
|
-
color:
|
|
437
|
+
color: s = "#605B56",
|
|
438
438
|
indicator: o,
|
|
439
439
|
value: t
|
|
440
440
|
}) => {
|
|
@@ -442,12 +442,12 @@ const O2 = "_checkboxContainer_zld97_2", I2 = {
|
|
|
442
442
|
return /* @__PURE__ */ p(
|
|
443
443
|
"div",
|
|
444
444
|
{
|
|
445
|
-
style: { ...d, color:
|
|
445
|
+
style: { ...d, color: s },
|
|
446
446
|
role: "checkbox",
|
|
447
|
-
className:
|
|
447
|
+
className: R2.checkboxContainer,
|
|
448
448
|
onClick: n,
|
|
449
449
|
children: [
|
|
450
|
-
/* @__PURE__ */
|
|
450
|
+
/* @__PURE__ */ i(
|
|
451
451
|
"input",
|
|
452
452
|
{
|
|
453
453
|
type: "checkbox",
|
|
@@ -460,12 +460,12 @@ const O2 = "_checkboxContainer_zld97_2", I2 = {
|
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
462
|
),
|
|
463
|
-
/* @__PURE__ */
|
|
463
|
+
/* @__PURE__ */ i("span", { className: "checkmark", children: r(a) })
|
|
464
464
|
]
|
|
465
465
|
}
|
|
466
466
|
);
|
|
467
467
|
};
|
|
468
|
-
|
|
468
|
+
ut.propTypes = {
|
|
469
469
|
onClick: e.func,
|
|
470
470
|
value: e.bool,
|
|
471
471
|
containerStyles: e.object,
|
|
@@ -476,40 +476,40 @@ dt.propTypes = {
|
|
|
476
476
|
}),
|
|
477
477
|
checkedColor: e.string
|
|
478
478
|
};
|
|
479
|
-
function
|
|
480
|
-
return
|
|
481
|
-
return
|
|
482
|
-
},
|
|
479
|
+
function Ie(n, d) {
|
|
480
|
+
return Ie = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(s, o) {
|
|
481
|
+
return s.__proto__ = o, s;
|
|
482
|
+
}, Ie(n, d);
|
|
483
483
|
}
|
|
484
|
-
function
|
|
485
|
-
n.prototype = Object.create(d.prototype), n.prototype.constructor = n,
|
|
484
|
+
function q2(n, d) {
|
|
485
|
+
n.prototype = Object.create(d.prototype), n.prototype.constructor = n, Ie(n, d);
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function Be(n) {
|
|
488
488
|
return n && n.stopPropagation && n.stopPropagation(), n && n.preventDefault && n.preventDefault(), !1;
|
|
489
489
|
}
|
|
490
|
-
function
|
|
490
|
+
function Le(n) {
|
|
491
491
|
return n == null ? [] : Array.isArray(n) ? n.slice() : [n];
|
|
492
492
|
}
|
|
493
|
-
function
|
|
493
|
+
function ye(n) {
|
|
494
494
|
return n !== null && n.length === 1 ? n[0] : n.slice();
|
|
495
495
|
}
|
|
496
|
-
function
|
|
496
|
+
function ve(n) {
|
|
497
497
|
Object.keys(n).forEach((d) => {
|
|
498
498
|
typeof document < "u" && document.addEventListener(d, n[d], !1);
|
|
499
499
|
});
|
|
500
500
|
}
|
|
501
501
|
function Q(n, d) {
|
|
502
|
-
return
|
|
503
|
-
let t =
|
|
502
|
+
return Re(function(s, o) {
|
|
503
|
+
let t = s;
|
|
504
504
|
return t <= o.min && (t = o.min), t >= o.max && (t = o.max), t;
|
|
505
505
|
}(n, d), d);
|
|
506
506
|
}
|
|
507
|
-
function
|
|
508
|
-
const
|
|
509
|
-
let o = n -
|
|
510
|
-
return 2 * Math.abs(
|
|
507
|
+
function Re(n, d) {
|
|
508
|
+
const s = (n - d.min) % d.step;
|
|
509
|
+
let o = n - s;
|
|
510
|
+
return 2 * Math.abs(s) >= d.step && (o += s > 0 ? d.step : -d.step), parseFloat(o.toFixed(5));
|
|
511
511
|
}
|
|
512
|
-
let
|
|
512
|
+
let qe = function(n) {
|
|
513
513
|
function d(o) {
|
|
514
514
|
var t;
|
|
515
515
|
(t = n.call(this, o) || this).onKeyUp = () => {
|
|
@@ -566,10 +566,10 @@ let Re = function(n) {
|
|
|
566
566
|
if (t.setState({ pending: !0 }), !t.props.snapDragDisabled) {
|
|
567
567
|
const c = t.getMousePosition(l);
|
|
568
568
|
t.forceValueFromPosition(c[0], (u) => {
|
|
569
|
-
t.start(u, c[0]),
|
|
569
|
+
t.start(u, c[0]), ve(t.getMouseEventMap());
|
|
570
570
|
});
|
|
571
571
|
}
|
|
572
|
-
|
|
572
|
+
Be(l);
|
|
573
573
|
}
|
|
574
574
|
}, t.onSliderClick = (l) => {
|
|
575
575
|
if (!t.props.disabled && t.props.onSliderClick && !t.hasMoved) {
|
|
@@ -577,17 +577,17 @@ let Re = function(n) {
|
|
|
577
577
|
t.props.onSliderClick(u);
|
|
578
578
|
}
|
|
579
579
|
}, t.createOnKeyDown = (l) => (c) => {
|
|
580
|
-
t.props.disabled || (t.start(l),
|
|
580
|
+
t.props.disabled || (t.start(l), ve(t.getKeyDownEventMap()), Be(c));
|
|
581
581
|
}, t.createOnMouseDown = (l) => (c) => {
|
|
582
582
|
if (t.props.disabled || c.button === 2) return;
|
|
583
583
|
t.setState({ pending: !0 });
|
|
584
584
|
const u = t.getMousePosition(c);
|
|
585
|
-
t.start(l, u[0]),
|
|
585
|
+
t.start(l, u[0]), ve(t.getMouseEventMap()), Be(c);
|
|
586
586
|
}, t.createOnTouchStart = (l) => (c) => {
|
|
587
587
|
if (t.props.disabled || c.touches.length > 1) return;
|
|
588
588
|
t.setState({ pending: !0 });
|
|
589
589
|
const u = t.getTouchPosition(c);
|
|
590
|
-
t.startPosition = u, t.isScrolling = void 0, t.start(l, u[0]),
|
|
590
|
+
t.startPosition = u, t.isScrolling = void 0, t.start(l, u[0]), ve(t.getTouchEventMap()), function(h) {
|
|
591
591
|
h.stopPropagation && h.stopPropagation();
|
|
592
592
|
}(c);
|
|
593
593
|
}, t.handleResize = () => {
|
|
@@ -598,38 +598,38 @@ let Re = function(n) {
|
|
|
598
598
|
}, t.renderThumb = (l, c) => {
|
|
599
599
|
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), h = { ref: (_) => {
|
|
600
600
|
t["thumb" + c] = _;
|
|
601
|
-
}, 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 }, g = { index: c, value:
|
|
601
|
+
}, 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 }, g = { index: c, value: ye(t.state.value), valueNow: t.state.value[c] };
|
|
602
602
|
return t.props.ariaValuetext && (h["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(g)), t.props.renderThumb(h, g);
|
|
603
603
|
}, t.renderTrack = (l, c, u) => {
|
|
604
|
-
const h = { key: t.props.trackClassName + "-" + l, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + l, style: t.buildTrackStyle(c, t.state.upperBound - u) }, g = { index: l, value:
|
|
604
|
+
const h = { key: t.props.trackClassName + "-" + l, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + l, style: t.buildTrackStyle(c, t.state.upperBound - u) }, g = { index: l, value: ye(t.state.value) };
|
|
605
605
|
return t.props.renderTrack(h, g);
|
|
606
606
|
};
|
|
607
|
-
let r =
|
|
608
|
-
r.length || (r =
|
|
607
|
+
let r = Le(o.value);
|
|
608
|
+
r.length || (r = Le(o.defaultValue)), t.pendingResizeTimeouts = [];
|
|
609
609
|
const a = [];
|
|
610
610
|
for (let l = 0; l < r.length; l += 1) r[l] = Q(r[l], o), a.push(l);
|
|
611
|
-
return t.resizeObserver = null, t.resizeElementRef =
|
|
611
|
+
return t.resizeObserver = null, t.resizeElementRef = B.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices: a }, t;
|
|
612
612
|
}
|
|
613
|
-
|
|
614
|
-
var
|
|
615
|
-
return
|
|
613
|
+
q2(d, n);
|
|
614
|
+
var s = d.prototype;
|
|
615
|
+
return s.componentDidMount = function() {
|
|
616
616
|
typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
|
|
617
617
|
}, d.getDerivedStateFromProps = function(o, t) {
|
|
618
|
-
const r =
|
|
618
|
+
const r = Le(o.value);
|
|
619
619
|
return r.length ? t.pending ? null : { value: r.map((a) => Q(a, o)) } : null;
|
|
620
|
-
},
|
|
620
|
+
}, s.componentDidUpdate = function() {
|
|
621
621
|
this.state.upperBound === 0 && this.resize();
|
|
622
|
-
},
|
|
622
|
+
}, s.componentWillUnmount = function() {
|
|
623
623
|
this.clearPendingResizeTimeouts(), this.resizeObserver && this.resizeObserver.disconnect();
|
|
624
|
-
},
|
|
624
|
+
}, s.onEnd = function(o) {
|
|
625
625
|
o && function(t) {
|
|
626
626
|
Object.keys(t).forEach((r) => {
|
|
627
627
|
typeof document < "u" && document.removeEventListener(r, t[r], !1);
|
|
628
628
|
});
|
|
629
629
|
}(o), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
|
|
630
|
-
},
|
|
631
|
-
return
|
|
632
|
-
},
|
|
630
|
+
}, s.getValue = function() {
|
|
631
|
+
return ye(this.state.value);
|
|
632
|
+
}, s.getClosestIndex = function(o) {
|
|
633
633
|
let t = Number.MAX_VALUE, r = -1;
|
|
634
634
|
const { value: a } = this.state, l = a.length;
|
|
635
635
|
for (let c = 0; c < l; c += 1) {
|
|
@@ -637,63 +637,63 @@ let Re = function(n) {
|
|
|
637
637
|
h < t && (t = h, r = c);
|
|
638
638
|
}
|
|
639
639
|
return r;
|
|
640
|
-
},
|
|
640
|
+
}, s.getMousePosition = function(o) {
|
|
641
641
|
return [o["page" + this.axisKey()], o["page" + this.orthogonalAxisKey()]];
|
|
642
|
-
},
|
|
642
|
+
}, s.getTouchPosition = function(o) {
|
|
643
643
|
const t = o.touches[0];
|
|
644
644
|
return [t["page" + this.axisKey()], t["page" + this.orthogonalAxisKey()]];
|
|
645
|
-
},
|
|
645
|
+
}, s.getKeyDownEventMap = function() {
|
|
646
646
|
return { keydown: this.onKeyDown, keyup: this.onKeyUp, focusout: this.onBlur };
|
|
647
|
-
},
|
|
647
|
+
}, s.getMouseEventMap = function() {
|
|
648
648
|
return { mousemove: this.onMouseMove, mouseup: this.onMouseUp };
|
|
649
|
-
},
|
|
649
|
+
}, s.getTouchEventMap = function() {
|
|
650
650
|
return { touchmove: this.onTouchMove, touchend: this.onTouchEnd };
|
|
651
|
-
},
|
|
651
|
+
}, s.getValueFromPosition = function(o) {
|
|
652
652
|
const t = o / (this.state.sliderLength - this.state.thumbSize) * (this.props.max - this.props.min);
|
|
653
653
|
return Q(this.state.startValue + t, this.props);
|
|
654
|
-
},
|
|
654
|
+
}, s.getDiffPosition = function(o) {
|
|
655
655
|
let t = o - this.state.startPosition;
|
|
656
656
|
return this.props.invert && (t *= -1), t;
|
|
657
|
-
},
|
|
657
|
+
}, s.resize = function() {
|
|
658
658
|
const { slider: o, thumb0: t } = this;
|
|
659
659
|
if (!o || !t) return;
|
|
660
660
|
const r = this.sizeKey(), a = o.getBoundingClientRect(), l = o[r], c = a[this.posMaxKey()], u = a[this.posMinKey()], h = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], g = l - h, _ = Math.abs(c - u);
|
|
661
661
|
this.state.upperBound === g && this.state.sliderLength === _ && this.state.thumbSize === h || this.setState({ upperBound: g, sliderLength: _, thumbSize: h });
|
|
662
|
-
},
|
|
662
|
+
}, s.calcOffset = function(o) {
|
|
663
663
|
const t = this.props.max - this.props.min;
|
|
664
664
|
return t === 0 ? 0 : (o - this.props.min) / t * this.state.upperBound;
|
|
665
|
-
},
|
|
665
|
+
}, s.calcValue = function(o) {
|
|
666
666
|
return o / this.state.upperBound * (this.props.max - this.props.min) + this.props.min;
|
|
667
|
-
},
|
|
667
|
+
}, s.calcOffsetFromPosition = function(o) {
|
|
668
668
|
const { slider: t } = this, r = t.getBoundingClientRect(), a = r[this.posMaxKey()], l = r[this.posMinKey()];
|
|
669
669
|
let c = o - (window["page" + this.axisKey() + "Offset"] + (this.props.invert ? a : l));
|
|
670
670
|
return this.props.invert && (c = this.state.sliderLength - c), c -= this.state.thumbSize / 2, c;
|
|
671
|
-
},
|
|
671
|
+
}, s.forceValueFromPosition = function(o, t) {
|
|
672
672
|
const r = this.calcOffsetFromPosition(o), a = this.getClosestIndex(r), l = Q(this.calcValue(r), this.props), c = this.state.value.slice();
|
|
673
673
|
c[a] = l;
|
|
674
674
|
for (let u = 0; u < c.length - 1; u += 1) if (c[u + 1] - c[u] < this.props.minDistance) return;
|
|
675
675
|
this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value: c }, () => {
|
|
676
676
|
t(a), this.fireChangeEvent("onChange");
|
|
677
677
|
});
|
|
678
|
-
},
|
|
678
|
+
}, s.clearPendingResizeTimeouts = function() {
|
|
679
679
|
do {
|
|
680
680
|
const o = this.pendingResizeTimeouts.shift();
|
|
681
681
|
clearTimeout(o);
|
|
682
682
|
} while (this.pendingResizeTimeouts.length);
|
|
683
|
-
},
|
|
683
|
+
}, s.start = function(o, t) {
|
|
684
684
|
const r = this["thumb" + o];
|
|
685
685
|
r && r.focus();
|
|
686
686
|
const { zIndices: a } = this.state;
|
|
687
687
|
a.splice(a.indexOf(o), 1), a.push(o), this.setState((l) => ({ startValue: l.value[o], startPosition: t !== void 0 ? t : l.startPosition, index: o, zIndices: a }));
|
|
688
|
-
},
|
|
688
|
+
}, s.moveUpByStep = function(o) {
|
|
689
689
|
o === void 0 && (o = this.props.step);
|
|
690
690
|
const t = this.state.value[this.state.index], r = Q(this.props.invert && this.props.orientation === "horizontal" ? t - o : t + o, this.props);
|
|
691
691
|
this.move(Math.min(r, this.props.max));
|
|
692
|
-
},
|
|
692
|
+
}, s.moveDownByStep = function(o) {
|
|
693
693
|
o === void 0 && (o = this.props.step);
|
|
694
694
|
const t = this.state.value[this.state.index], r = Q(this.props.invert && this.props.orientation === "horizontal" ? t + o : t - o, this.props);
|
|
695
695
|
this.move(Math.max(r, this.props.min));
|
|
696
|
-
},
|
|
696
|
+
}, s.move = function(o) {
|
|
697
697
|
const t = this.state.value.slice(), { index: r } = this.state, { length: a } = t, l = t[r];
|
|
698
698
|
if (o === l) return;
|
|
699
699
|
this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
|
|
@@ -719,72 +719,72 @@ let Re = function(n) {
|
|
|
719
719
|
y[C] < f && (y[C] = f);
|
|
720
720
|
}
|
|
721
721
|
}(a, t, g, h))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
722
|
-
},
|
|
722
|
+
}, s.pushSucceeding = function(o, t, r) {
|
|
723
723
|
let a, l;
|
|
724
|
-
for (a = r, l = o[a] + t; o[a + 1] !== null && l > o[a + 1]; a += 1, l = o[a] + t) o[a + 1] =
|
|
725
|
-
},
|
|
726
|
-
for (let a = r, l = o[a] - t; o[a - 1] !== null && l < o[a - 1]; a -= 1, l = o[a] - t) o[a - 1] =
|
|
727
|
-
},
|
|
724
|
+
for (a = r, l = o[a] + t; o[a + 1] !== null && l > o[a + 1]; a += 1, l = o[a] + t) o[a + 1] = Re(l, this.props);
|
|
725
|
+
}, s.pushPreceding = function(o, t, r) {
|
|
726
|
+
for (let a = r, l = o[a] - t; o[a - 1] !== null && l < o[a - 1]; a -= 1, l = o[a] - t) o[a - 1] = Re(l, this.props);
|
|
727
|
+
}, s.axisKey = function() {
|
|
728
728
|
return this.props.orientation === "vertical" ? "Y" : "X";
|
|
729
|
-
},
|
|
729
|
+
}, s.orthogonalAxisKey = function() {
|
|
730
730
|
return this.props.orientation === "vertical" ? "X" : "Y";
|
|
731
|
-
},
|
|
731
|
+
}, s.posMinKey = function() {
|
|
732
732
|
return this.props.orientation === "vertical" ? this.props.invert ? "bottom" : "top" : this.props.invert ? "right" : "left";
|
|
733
|
-
},
|
|
733
|
+
}, s.posMaxKey = function() {
|
|
734
734
|
return this.props.orientation === "vertical" ? this.props.invert ? "top" : "bottom" : this.props.invert ? "left" : "right";
|
|
735
|
-
},
|
|
735
|
+
}, s.sizeKey = function() {
|
|
736
736
|
return this.props.orientation === "vertical" ? "clientHeight" : "clientWidth";
|
|
737
|
-
},
|
|
738
|
-
this.props[o] && this.props[o](
|
|
739
|
-
},
|
|
737
|
+
}, s.fireChangeEvent = function(o) {
|
|
738
|
+
this.props[o] && this.props[o](ye(this.state.value), this.state.index);
|
|
739
|
+
}, s.buildThumbStyle = function(o, t) {
|
|
740
740
|
const r = { position: "absolute", touchAction: "none", willChange: this.state.index >= 0 ? this.posMinKey() : void 0, zIndex: this.state.zIndices.indexOf(t) + 1 };
|
|
741
741
|
return r[this.posMinKey()] = o + "px", r;
|
|
742
|
-
},
|
|
742
|
+
}, s.buildTrackStyle = function(o, t) {
|
|
743
743
|
const r = { position: "absolute", willChange: this.state.index >= 0 ? this.posMinKey() + "," + this.posMaxKey() : void 0 };
|
|
744
744
|
return r[this.posMinKey()] = o, r[this.posMaxKey()] = t, r;
|
|
745
|
-
},
|
|
745
|
+
}, s.buildMarkStyle = function(o) {
|
|
746
746
|
var t;
|
|
747
747
|
return (t = { position: "absolute" })[this.posMinKey()] = o, t;
|
|
748
|
-
},
|
|
748
|
+
}, s.renderThumbs = function(o) {
|
|
749
749
|
const { length: t } = o, r = [];
|
|
750
750
|
for (let l = 0; l < t; l += 1) r[l] = this.buildThumbStyle(o[l], l);
|
|
751
751
|
const a = [];
|
|
752
752
|
for (let l = 0; l < t; l += 1) a[l] = this.renderThumb(r[l], l);
|
|
753
753
|
return a;
|
|
754
|
-
},
|
|
754
|
+
}, s.renderTracks = function(o) {
|
|
755
755
|
const t = [], r = o.length - 1;
|
|
756
756
|
t.push(this.renderTrack(0, 0, o[0]));
|
|
757
757
|
for (let a = 0; a < r; a += 1) t.push(this.renderTrack(a + 1, o[a], o[a + 1]));
|
|
758
758
|
return t.push(this.renderTrack(r + 1, o[r], this.state.upperBound)), t;
|
|
759
|
-
},
|
|
759
|
+
}, s.renderMarks = function() {
|
|
760
760
|
let { marks: o } = this.props;
|
|
761
761
|
const t = this.props.max - this.props.min + 1;
|
|
762
762
|
return typeof o == "boolean" ? o = Array.from({ length: t }).map((r, a) => a) : typeof o == "number" && (o = Array.from({ length: t }).map((r, a) => a).filter((r) => r % o == 0)), o.map(parseFloat).sort((r, a) => r - a).map((r) => {
|
|
763
763
|
const a = this.calcOffset(r), l = { key: r, className: this.props.markClassName, style: this.buildMarkStyle(a) };
|
|
764
764
|
return this.props.renderMark(l);
|
|
765
765
|
});
|
|
766
|
-
},
|
|
766
|
+
}, s.render = function() {
|
|
767
767
|
const o = [], { value: t } = this.state, r = t.length;
|
|
768
768
|
for (let u = 0; u < r; u += 1) o[u] = this.calcOffset(t[u], u);
|
|
769
769
|
const a = this.props.withTracks ? this.renderTracks(o) : null, l = this.renderThumbs(o), c = this.props.marks ? this.renderMarks() : null;
|
|
770
|
-
return
|
|
770
|
+
return B.createElement("div", { ref: (u) => {
|
|
771
771
|
this.slider = u, this.resizeElementRef.current = u;
|
|
772
772
|
}, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, a, l, c);
|
|
773
773
|
}, d;
|
|
774
|
-
}(
|
|
775
|
-
|
|
776
|
-
var
|
|
777
|
-
const
|
|
778
|
-
container:
|
|
779
|
-
unitLabel:
|
|
780
|
-
slider:
|
|
781
|
-
thumb:
|
|
782
|
-
track:
|
|
783
|
-
labels:
|
|
784
|
-
},
|
|
774
|
+
}(B.Component);
|
|
775
|
+
qe.displayName = "ReactSlider", qe.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) => B.createElement("div", n), renderTrack: (n) => B.createElement("div", n), renderMark: (n) => B.createElement("span", n) };
|
|
776
|
+
var Ee = qe;
|
|
777
|
+
const E2 = "_container_15vgv_2", P2 = "_unitLabel_15vgv_9", j2 = "_slider_15vgv_12", z2 = "_thumb_15vgv_18", Z2 = "_track_15vgv_27", K2 = "_labels_15vgv_33", se = {
|
|
778
|
+
container: E2,
|
|
779
|
+
unitLabel: P2,
|
|
780
|
+
slider: j2,
|
|
781
|
+
thumb: z2,
|
|
782
|
+
track: Z2,
|
|
783
|
+
labels: K2
|
|
784
|
+
}, pt = ({
|
|
785
785
|
min: n = 0,
|
|
786
786
|
max: d = 100,
|
|
787
|
-
step:
|
|
787
|
+
step: s = 1,
|
|
788
788
|
onChange: o,
|
|
789
789
|
width: t = 300,
|
|
790
790
|
unit: r,
|
|
@@ -794,7 +794,7 @@ const q2 = "_container_15vgv_2", E2 = "_unitLabel_15vgv_9", P2 = "_slider_15vgv_
|
|
|
794
794
|
const { t: c } = k(), [u, h] = L([n, d]), g = (_) => {
|
|
795
795
|
h(_), o == null || o({ min: _[0], max: _[1] });
|
|
796
796
|
};
|
|
797
|
-
return
|
|
797
|
+
return T(() => {
|
|
798
798
|
l || h([n, d]);
|
|
799
799
|
}, [l]), /* @__PURE__ */ p(
|
|
800
800
|
"div",
|
|
@@ -802,16 +802,16 @@ const q2 = "_container_15vgv_2", E2 = "_unitLabel_15vgv_9", P2 = "_slider_15vgv_
|
|
|
802
802
|
className: se.container,
|
|
803
803
|
style: { width: `${t}px`, color: `${a}` },
|
|
804
804
|
children: [
|
|
805
|
-
/* @__PURE__ */
|
|
806
|
-
/* @__PURE__ */
|
|
807
|
-
|
|
805
|
+
/* @__PURE__ */ i("div", { className: se.unitLabel, children: /* @__PURE__ */ i("span", { children: c(r) }) }),
|
|
806
|
+
/* @__PURE__ */ i(
|
|
807
|
+
Ee,
|
|
808
808
|
{
|
|
809
809
|
className: se.slider,
|
|
810
810
|
thumbClassName: se.thumb,
|
|
811
811
|
trackClassName: se.track,
|
|
812
812
|
min: n,
|
|
813
813
|
max: d,
|
|
814
|
-
step:
|
|
814
|
+
step: s,
|
|
815
815
|
value: u,
|
|
816
816
|
onAfterChange: g,
|
|
817
817
|
withTracks: !0,
|
|
@@ -820,14 +820,14 @@ const q2 = "_container_15vgv_2", E2 = "_unitLabel_15vgv_9", P2 = "_slider_15vgv_
|
|
|
820
820
|
}
|
|
821
821
|
),
|
|
822
822
|
/* @__PURE__ */ p("div", { className: se.labels, children: [
|
|
823
|
-
/* @__PURE__ */
|
|
824
|
-
/* @__PURE__ */
|
|
823
|
+
/* @__PURE__ */ i("span", { children: u[0] }),
|
|
824
|
+
/* @__PURE__ */ i("span", { children: u[1] })
|
|
825
825
|
] })
|
|
826
826
|
]
|
|
827
827
|
}
|
|
828
828
|
);
|
|
829
829
|
};
|
|
830
|
-
|
|
830
|
+
pt.propTypes = {
|
|
831
831
|
min: e.number,
|
|
832
832
|
max: e.number,
|
|
833
833
|
step: e.number,
|
|
@@ -839,17 +839,17 @@ ut.propTypes = {
|
|
|
839
839
|
fontColor: e.string,
|
|
840
840
|
value: e.arrayOf(e.number)
|
|
841
841
|
};
|
|
842
|
-
const
|
|
843
|
-
tematicalFiltersInputContainer:
|
|
844
|
-
inputTypeContainer:
|
|
845
|
-
checkboxContainer:
|
|
846
|
-
absoluteSliderContainer:
|
|
847
|
-
},
|
|
842
|
+
const H2 = "_tematicalFiltersInputContainer_1vm1r_2", U2 = "_inputTypeContainer_1vm1r_2", G2 = "_checkboxContainer_1vm1r_28", W2 = "_absoluteSliderContainer_1vm1r_37", xe = {
|
|
843
|
+
tematicalFiltersInputContainer: H2,
|
|
844
|
+
inputTypeContainer: U2,
|
|
845
|
+
checkboxContainer: G2,
|
|
846
|
+
absoluteSliderContainer: W2
|
|
847
|
+
}, Ke = ({
|
|
848
848
|
indicator: n,
|
|
849
849
|
//onChangeBothType
|
|
850
850
|
activeColor: d
|
|
851
851
|
}) => {
|
|
852
|
-
const [
|
|
852
|
+
const [s, o] = L(), {
|
|
853
853
|
type: t,
|
|
854
854
|
name: r,
|
|
855
855
|
values: a,
|
|
@@ -858,12 +858,12 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
858
858
|
unit: u,
|
|
859
859
|
step: h,
|
|
860
860
|
disabled: g
|
|
861
|
-
} = n || {}, _ =
|
|
862
|
-
() => t == "cat" ||
|
|
863
|
-
[
|
|
864
|
-
), y =
|
|
865
|
-
() => t == "abs" ||
|
|
866
|
-
[
|
|
861
|
+
} = n || {}, _ = Ce(
|
|
862
|
+
() => t == "cat" || s == "cat",
|
|
863
|
+
[s, t]
|
|
864
|
+
), y = Ce(
|
|
865
|
+
() => t == "abs" || s == "abs",
|
|
866
|
+
[s, t]
|
|
867
867
|
), {
|
|
868
868
|
tematicalFiltersSelected: m,
|
|
869
869
|
selectedIndicator: b,
|
|
@@ -871,18 +871,18 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
871
871
|
inputsColor: f
|
|
872
872
|
} = O((x) => x), v = (x) => {
|
|
873
873
|
if (console.log("onChangInput", x), x) {
|
|
874
|
-
const { min: w, max:
|
|
874
|
+
const { min: w, max: $, valueClicked: S, allValues: D } = x || {}, { code: j, type: ue, source: q } = n || {}, z = y ? "abs" : _ ? "cat" : "both";
|
|
875
875
|
console.log("type: ", z);
|
|
876
876
|
let E = j[0];
|
|
877
|
-
|
|
877
|
+
ue == "both" && (E = z == "cat" ? j[1] : j[0]), z == "cat" ? O.setState((W) => {
|
|
878
878
|
let H = W.tematicalFiltersSelected.find(
|
|
879
879
|
(A) => A.code === E
|
|
880
880
|
);
|
|
881
881
|
if (H) {
|
|
882
882
|
let A = [H.values];
|
|
883
|
-
return H.values.includes(
|
|
884
|
-
(R) => R !==
|
|
885
|
-
) : A = [...H.values,
|
|
883
|
+
return H.values.includes(S) ? A = H.values.filter(
|
|
884
|
+
(R) => R !== S
|
|
885
|
+
) : A = [...H.values, S], A.length == D.length ? {
|
|
886
886
|
tematicalFiltersSelected: W.tematicalFiltersSelected.filter(
|
|
887
887
|
(R) => R.code !== E
|
|
888
888
|
)
|
|
@@ -892,14 +892,14 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
892
892
|
)
|
|
893
893
|
};
|
|
894
894
|
} else {
|
|
895
|
-
let A =
|
|
895
|
+
let A = D.map((R, Lt) => Lt);
|
|
896
896
|
return {
|
|
897
897
|
tematicalFiltersSelected: [
|
|
898
898
|
...m,
|
|
899
899
|
{
|
|
900
900
|
type: "cat",
|
|
901
901
|
code: E,
|
|
902
|
-
values: A.filter((R) => R !==
|
|
902
|
+
values: A.filter((R) => R !== S),
|
|
903
903
|
name: n.name,
|
|
904
904
|
source: q
|
|
905
905
|
}
|
|
@@ -910,7 +910,7 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
910
910
|
let H = W.tematicalFiltersSelected.find(
|
|
911
911
|
(A) => A.code === E
|
|
912
912
|
);
|
|
913
|
-
if (w == n.minValue &&
|
|
913
|
+
if (w == n.minValue && $ == n.maxValue)
|
|
914
914
|
return {
|
|
915
915
|
tematicalFiltersSelected: W.tematicalFiltersSelected.filter(
|
|
916
916
|
(A) => A.code !== E
|
|
@@ -918,7 +918,7 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
918
918
|
};
|
|
919
919
|
if (H) {
|
|
920
920
|
let A = { ...H };
|
|
921
|
-
return A.min = w, A.max =
|
|
921
|
+
return A.min = w, A.max = $, A.type = z, {
|
|
922
922
|
tematicalFiltersSelected: W.tematicalFiltersSelected.map(
|
|
923
923
|
(R) => R.code === E ? A : R
|
|
924
924
|
)
|
|
@@ -931,7 +931,7 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
931
931
|
type: z,
|
|
932
932
|
code: E,
|
|
933
933
|
min: w,
|
|
934
|
-
max:
|
|
934
|
+
max: $,
|
|
935
935
|
name: n.name,
|
|
936
936
|
source: n.source
|
|
937
937
|
}
|
|
@@ -939,14 +939,14 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
939
939
|
};
|
|
940
940
|
});
|
|
941
941
|
}
|
|
942
|
-
}, N =
|
|
942
|
+
}, N = Ce(() => {
|
|
943
943
|
const x = {};
|
|
944
944
|
if ((m == null ? void 0 : m.length) > 0)
|
|
945
945
|
for (const w of m)
|
|
946
946
|
w.type === "cat" ? x[w.code] = new Set(w.values) : x[w.code] = [w.min, w.max];
|
|
947
947
|
return x;
|
|
948
948
|
}, [m]);
|
|
949
|
-
return /* @__PURE__ */
|
|
949
|
+
return /* @__PURE__ */ i("div", { className: xe.tematicalFiltersInputContainer, children: /* @__PURE__ */ p(
|
|
950
950
|
ie,
|
|
951
951
|
{
|
|
952
952
|
titleFontStyles: {
|
|
@@ -971,11 +971,11 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
971
971
|
t == "both" && /* @__PURE__ */ p(
|
|
972
972
|
"div",
|
|
973
973
|
{
|
|
974
|
-
className:
|
|
974
|
+
className: xe.inputTypeContainer,
|
|
975
975
|
style: { color: C },
|
|
976
976
|
children: [
|
|
977
977
|
/* @__PURE__ */ p("label", { children: [
|
|
978
|
-
/* @__PURE__ */
|
|
978
|
+
/* @__PURE__ */ i(
|
|
979
979
|
"input",
|
|
980
980
|
{
|
|
981
981
|
type: "radio",
|
|
@@ -986,15 +986,15 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
986
986
|
},
|
|
987
987
|
style: {
|
|
988
988
|
marginRight: 4,
|
|
989
|
-
backgroundColor:
|
|
990
|
-
border: `1.5px solid ${
|
|
989
|
+
backgroundColor: s == "abs" ? f : "white",
|
|
990
|
+
border: `1.5px solid ${s == "abs" ? f : C}`
|
|
991
991
|
}
|
|
992
992
|
}
|
|
993
993
|
),
|
|
994
994
|
"Absoluto"
|
|
995
995
|
] }),
|
|
996
996
|
/* @__PURE__ */ p("label", { children: [
|
|
997
|
-
/* @__PURE__ */
|
|
997
|
+
/* @__PURE__ */ i(
|
|
998
998
|
"input",
|
|
999
999
|
{
|
|
1000
1000
|
type: "radio",
|
|
@@ -1005,8 +1005,8 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
1005
1005
|
},
|
|
1006
1006
|
style: {
|
|
1007
1007
|
marginRight: 4,
|
|
1008
|
-
backgroundColor:
|
|
1009
|
-
border: `1.5px solid ${
|
|
1008
|
+
backgroundColor: s == "cat" ? f : "white",
|
|
1009
|
+
border: `1.5px solid ${s == "cat" ? f : C}`
|
|
1010
1010
|
}
|
|
1011
1011
|
}
|
|
1012
1012
|
),
|
|
@@ -1015,20 +1015,20 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
1015
1015
|
]
|
|
1016
1016
|
}
|
|
1017
1017
|
),
|
|
1018
|
-
_ && /* @__PURE__ */
|
|
1019
|
-
var
|
|
1020
|
-
return /* @__PURE__ */
|
|
1021
|
-
|
|
1018
|
+
_ && /* @__PURE__ */ i("div", { className: xe.checkboxContainer, children: a.map((x, w) => {
|
|
1019
|
+
var $;
|
|
1020
|
+
return /* @__PURE__ */ i(
|
|
1021
|
+
ut,
|
|
1022
1022
|
{
|
|
1023
1023
|
onClick: () => v({ valueClicked: w, allValues: a }),
|
|
1024
1024
|
indicator: x,
|
|
1025
|
-
value: ((
|
|
1025
|
+
value: (($ = N[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : $.has(w)) || !N[n.code[t == "both" ? 1 : 0]]
|
|
1026
1026
|
},
|
|
1027
1027
|
`checkbox-${w}`
|
|
1028
1028
|
);
|
|
1029
1029
|
}) }),
|
|
1030
|
-
(y || t == "glb") && /* @__PURE__ */
|
|
1031
|
-
|
|
1030
|
+
(y || t == "glb") && /* @__PURE__ */ i("div", { className: xe.absoluteSliderContainer, children: /* @__PURE__ */ i(
|
|
1031
|
+
pt,
|
|
1032
1032
|
{
|
|
1033
1033
|
onChange: v,
|
|
1034
1034
|
min: l,
|
|
@@ -1042,7 +1042,7 @@ const K2 = "_tematicalFiltersInputContainer_1vm1r_2", H2 = "_inputTypeContainer_
|
|
|
1042
1042
|
}
|
|
1043
1043
|
) });
|
|
1044
1044
|
};
|
|
1045
|
-
|
|
1045
|
+
Ke.propTypes = {
|
|
1046
1046
|
indicator: e.shape({
|
|
1047
1047
|
name: e.string,
|
|
1048
1048
|
type: e.string,
|
|
@@ -1057,14 +1057,14 @@ Ze.propTypes = {
|
|
|
1057
1057
|
activeColor: e.string
|
|
1058
1058
|
//onChangeBothType: PropTypes.func,
|
|
1059
1059
|
};
|
|
1060
|
-
const
|
|
1060
|
+
const mt = ({
|
|
1061
1061
|
subcategory: n,
|
|
1062
1062
|
fontColor: d,
|
|
1063
|
-
activeColor:
|
|
1063
|
+
activeColor: s
|
|
1064
1064
|
//onChangeBothType,
|
|
1065
1065
|
}) => {
|
|
1066
1066
|
const { activeSubcategory: o } = O((a) => a), { name: t, indicators: r } = n || {};
|
|
1067
|
-
return /* @__PURE__ */
|
|
1067
|
+
return /* @__PURE__ */ i(
|
|
1068
1068
|
ie,
|
|
1069
1069
|
{
|
|
1070
1070
|
title: t,
|
|
@@ -1079,20 +1079,20 @@ const pt = ({
|
|
|
1079
1079
|
titleMarginChildren: 20,
|
|
1080
1080
|
height: 48,
|
|
1081
1081
|
color: d,
|
|
1082
|
-
activeColor:
|
|
1083
|
-
children: r == null ? void 0 : r.map((a, l) => /* @__PURE__ */
|
|
1084
|
-
|
|
1082
|
+
activeColor: s,
|
|
1083
|
+
children: r == null ? void 0 : r.map((a, l) => /* @__PURE__ */ i(
|
|
1084
|
+
Ke,
|
|
1085
1085
|
{
|
|
1086
1086
|
indicator: a,
|
|
1087
1087
|
fontColor: d,
|
|
1088
|
-
activeColor:
|
|
1088
|
+
activeColor: s
|
|
1089
1089
|
},
|
|
1090
1090
|
`indicatorSub-${l}`
|
|
1091
1091
|
))
|
|
1092
1092
|
}
|
|
1093
1093
|
);
|
|
1094
1094
|
};
|
|
1095
|
-
|
|
1095
|
+
mt.propTypes = {
|
|
1096
1096
|
subcategory: e.shape({
|
|
1097
1097
|
name: e.string,
|
|
1098
1098
|
indicators: e.arrayOf(
|
|
@@ -1105,36 +1105,36 @@ pt.propTypes = {
|
|
|
1105
1105
|
activeColor: e.string
|
|
1106
1106
|
//onChangeBothType: PropTypes.func,
|
|
1107
1107
|
};
|
|
1108
|
-
const
|
|
1108
|
+
const ht = ({
|
|
1109
1109
|
category: n,
|
|
1110
1110
|
// onChangeBothType,
|
|
1111
1111
|
activeColor: d
|
|
1112
1112
|
}) => {
|
|
1113
|
-
const { name:
|
|
1114
|
-
return n && /* @__PURE__ */
|
|
1113
|
+
const { name: s, subcategories: o, indicators: t } = n || {}, { activeCategory: r, fontColor: a } = O((l) => l);
|
|
1114
|
+
return n && /* @__PURE__ */ i(
|
|
1115
1115
|
ie,
|
|
1116
1116
|
{
|
|
1117
1117
|
onClick: () => {
|
|
1118
1118
|
O.setState((l) => ({
|
|
1119
|
-
activeCategory: r === `id${
|
|
1119
|
+
activeCategory: r === `id${s}` ? "" : `id${s}`
|
|
1120
1120
|
}));
|
|
1121
1121
|
},
|
|
1122
|
-
title:
|
|
1123
|
-
isOpen: r === `id${
|
|
1122
|
+
title: s,
|
|
1123
|
+
isOpen: r === `id${s}`,
|
|
1124
1124
|
titleFontStyles: { fontSize: 18, fontWeight: "bold" },
|
|
1125
1125
|
showBottomBar: !1,
|
|
1126
1126
|
color: a,
|
|
1127
1127
|
activeColor: d,
|
|
1128
|
-
children: o ? o.map((l, c) => /* @__PURE__ */
|
|
1129
|
-
|
|
1128
|
+
children: o ? o.map((l, c) => /* @__PURE__ */ i(
|
|
1129
|
+
mt,
|
|
1130
1130
|
{
|
|
1131
1131
|
subcategory: l,
|
|
1132
1132
|
fontColor: a,
|
|
1133
1133
|
activeColor: d
|
|
1134
1134
|
},
|
|
1135
1135
|
`subcategory-${c}`
|
|
1136
|
-
)) : t && t.map((l, c) => /* @__PURE__ */
|
|
1137
|
-
|
|
1136
|
+
)) : t && t.map((l, c) => /* @__PURE__ */ i(
|
|
1137
|
+
Ke,
|
|
1138
1138
|
{
|
|
1139
1139
|
indicator: l,
|
|
1140
1140
|
fontColor: a,
|
|
@@ -1145,7 +1145,7 @@ const mt = ({
|
|
|
1145
1145
|
}
|
|
1146
1146
|
);
|
|
1147
1147
|
};
|
|
1148
|
-
|
|
1148
|
+
ht.propTypes = {
|
|
1149
1149
|
category: e.shape({
|
|
1150
1150
|
name: e.string.isRequired,
|
|
1151
1151
|
subcategories: e.array,
|
|
@@ -1154,31 +1154,31 @@ mt.propTypes = {
|
|
|
1154
1154
|
activeColor: e.string
|
|
1155
1155
|
//onChangeBothType: PropTypes.func,
|
|
1156
1156
|
};
|
|
1157
|
-
const
|
|
1157
|
+
const gt = ({
|
|
1158
1158
|
indicators: n,
|
|
1159
1159
|
isOpen: d = !0,
|
|
1160
|
-
title:
|
|
1160
|
+
title: s,
|
|
1161
1161
|
fontColor: o = "#605B56",
|
|
1162
1162
|
//The color of the slider and the checkbox when is checked
|
|
1163
1163
|
inputsColor: t = "#605B56",
|
|
1164
1164
|
activeColor: r
|
|
1165
1165
|
}) => {
|
|
1166
1166
|
const { tematicalFiltersSelected: a } = O((c) => c), { t: l } = k();
|
|
1167
|
-
return
|
|
1167
|
+
return T(() => {
|
|
1168
1168
|
console.log("filtersSelected changed: ", a);
|
|
1169
|
-
}, [a]),
|
|
1169
|
+
}, [a]), T(() => {
|
|
1170
1170
|
o && O.setState(() => ({ fontColor: o }));
|
|
1171
|
-
}, [o]),
|
|
1171
|
+
}, [o]), T(() => {
|
|
1172
1172
|
t && O.setState(() => ({ inputsColor: t }));
|
|
1173
|
-
}, [t]), /* @__PURE__ */
|
|
1173
|
+
}, [t]), /* @__PURE__ */ i(
|
|
1174
1174
|
ie,
|
|
1175
1175
|
{
|
|
1176
1176
|
isOpen: d,
|
|
1177
|
-
title:
|
|
1177
|
+
title: s ? l(s) : "Tematical filters",
|
|
1178
1178
|
color: o,
|
|
1179
1179
|
activeColor: r,
|
|
1180
|
-
children: n == null ? void 0 : n.map((c, u) => /* @__PURE__ */
|
|
1181
|
-
|
|
1180
|
+
children: n == null ? void 0 : n.map((c, u) => /* @__PURE__ */ i(
|
|
1181
|
+
ht,
|
|
1182
1182
|
{
|
|
1183
1183
|
category: c,
|
|
1184
1184
|
fontColor: o,
|
|
@@ -1189,7 +1189,7 @@ const ht = ({
|
|
|
1189
1189
|
}
|
|
1190
1190
|
);
|
|
1191
1191
|
};
|
|
1192
|
-
|
|
1192
|
+
gt.propTypes = {
|
|
1193
1193
|
isOpen: e.bool,
|
|
1194
1194
|
title: e.string,
|
|
1195
1195
|
indicators: e.arrayOf(e.object),
|
|
@@ -1198,17 +1198,17 @@ ht.propTypes = {
|
|
|
1198
1198
|
inputsColor: e.string,
|
|
1199
1199
|
activeColor: e.string
|
|
1200
1200
|
};
|
|
1201
|
-
const
|
|
1202
|
-
FiltersAmbitContainer:
|
|
1203
|
-
FiltersAmbitHeader:
|
|
1204
|
-
FiltersAmbitTitle:
|
|
1205
|
-
FiltersAmbitDescription:
|
|
1206
|
-
FiltersAmbitDescriptionTitle:
|
|
1207
|
-
warning:
|
|
1208
|
-
},
|
|
1201
|
+
const Y2 = "_FiltersAmbitContainer_1g9xx_2", Q2 = "_FiltersAmbitHeader_1g9xx_7", X2 = "_FiltersAmbitTitle_1g9xx_15", J2 = "_FiltersAmbitDescription_1g9xx_22", e0 = "_FiltersAmbitDescriptionTitle_1g9xx_33", t0 = "_warning_1g9xx_37", oe = {
|
|
1202
|
+
FiltersAmbitContainer: Y2,
|
|
1203
|
+
FiltersAmbitHeader: Q2,
|
|
1204
|
+
FiltersAmbitTitle: X2,
|
|
1205
|
+
FiltersAmbitDescription: J2,
|
|
1206
|
+
FiltersAmbitDescriptionTitle: e0,
|
|
1207
|
+
warning: t0
|
|
1208
|
+
}, n0 = ({
|
|
1209
1209
|
ambitName: n,
|
|
1210
1210
|
ambitDescription: d,
|
|
1211
|
-
defaultFilters:
|
|
1211
|
+
defaultFilters: s,
|
|
1212
1212
|
indicators: o,
|
|
1213
1213
|
activeColor: t,
|
|
1214
1214
|
textColor: r,
|
|
@@ -1222,41 +1222,41 @@ const W2 = "_FiltersAmbitContainer_1g9xx_2", Y2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1222
1222
|
onlyFilters: y = !1
|
|
1223
1223
|
//usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
|
|
1224
1224
|
}) => {
|
|
1225
|
-
const { t: m } = k(), { tematicalFiltersSelected: b } = O((
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
tematicalFiltersSelected:
|
|
1225
|
+
const { t: m } = k(), { tematicalFiltersSelected: b } = O((S) => S), [C, f] = L(n || null), [v, N] = L(d || null), [x, w] = L(!1);
|
|
1226
|
+
T(() => {
|
|
1227
|
+
s && s.length > 0 && O.setState((S) => ({
|
|
1228
|
+
tematicalFiltersSelected: s
|
|
1229
1229
|
}));
|
|
1230
|
-
}, [
|
|
1230
|
+
}, [s]), T(() => {
|
|
1231
1231
|
console.log("filtersSelected changed: ", b), l(b);
|
|
1232
1232
|
}, [b]);
|
|
1233
|
-
const
|
|
1233
|
+
const $ = () => {
|
|
1234
1234
|
C ? c({ name: C, description: v }) : w(!0);
|
|
1235
1235
|
};
|
|
1236
1236
|
return /* @__PURE__ */ p("div", { className: oe.FiltersAmbitContainer, children: [
|
|
1237
1237
|
!y && /* @__PURE__ */ p("div", { className: oe.FiltersAmbitHeader, children: [
|
|
1238
|
-
/* @__PURE__ */
|
|
1238
|
+
/* @__PURE__ */ i("div", { className: oe.FiltersAmbitTitle, children: /* @__PURE__ */ i(
|
|
1239
1239
|
"input",
|
|
1240
1240
|
{
|
|
1241
1241
|
type: "text",
|
|
1242
|
-
onChange: (
|
|
1243
|
-
w(!1), f(
|
|
1242
|
+
onChange: (S) => {
|
|
1243
|
+
w(!1), f(S.target.value);
|
|
1244
1244
|
},
|
|
1245
1245
|
value: C,
|
|
1246
1246
|
placeholder: m(u)
|
|
1247
1247
|
}
|
|
1248
1248
|
) }),
|
|
1249
|
-
/* @__PURE__ */
|
|
1249
|
+
/* @__PURE__ */ i("div", { className: oe.FiltersAmbitDescription, children: /* @__PURE__ */ i("div", { className: oe.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ i(
|
|
1250
1250
|
"textarea",
|
|
1251
1251
|
{
|
|
1252
1252
|
value: v,
|
|
1253
|
-
onChange: (
|
|
1253
|
+
onChange: (S) => N(S.target.value),
|
|
1254
1254
|
placeholder: m(h)
|
|
1255
1255
|
}
|
|
1256
1256
|
) }) })
|
|
1257
1257
|
] }),
|
|
1258
|
-
/* @__PURE__ */
|
|
1259
|
-
|
|
1258
|
+
/* @__PURE__ */ i(
|
|
1259
|
+
ct,
|
|
1260
1260
|
{
|
|
1261
1261
|
title: m("applied_filters"),
|
|
1262
1262
|
isOpen: !0,
|
|
@@ -1265,9 +1265,9 @@ const W2 = "_FiltersAmbitContainer_1g9xx_2", Y2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1265
1265
|
activeColor: t
|
|
1266
1266
|
}
|
|
1267
1267
|
),
|
|
1268
|
-
g.includes("geographical") && /* @__PURE__ */
|
|
1269
|
-
g.includes("tematical") && /* @__PURE__ */
|
|
1270
|
-
|
|
1268
|
+
g.includes("geographical") && /* @__PURE__ */ i(dt, { activeColor: t }),
|
|
1269
|
+
g.includes("tematical") && /* @__PURE__ */ i(
|
|
1270
|
+
gt,
|
|
1271
1271
|
{
|
|
1272
1272
|
indicators: o,
|
|
1273
1273
|
inputsColor: t,
|
|
@@ -1276,11 +1276,11 @@ const W2 = "_FiltersAmbitContainer_1g9xx_2", Y2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1276
1276
|
activeColor: t
|
|
1277
1277
|
}
|
|
1278
1278
|
),
|
|
1279
|
-
x && /* @__PURE__ */
|
|
1280
|
-
!y && /* @__PURE__ */
|
|
1279
|
+
x && /* @__PURE__ */ i("div", { className: oe.warning, children: m(_) }),
|
|
1280
|
+
!y && /* @__PURE__ */ i("div", { className: "buttonContainer", children: /* @__PURE__ */ i(ke, { onClick: () => $(), children: m("save_ambit") }) })
|
|
1281
1281
|
] });
|
|
1282
1282
|
};
|
|
1283
|
-
|
|
1283
|
+
n0.propTypes = {
|
|
1284
1284
|
indicators: e.arrayOf(e.object).isRequired,
|
|
1285
1285
|
ambitName: e.string,
|
|
1286
1286
|
ambitDescription: e.string,
|
|
@@ -1295,12 +1295,12 @@ t0.propTypes = {
|
|
|
1295
1295
|
filtersTypes: e.arrayOf(e.string).isRequired,
|
|
1296
1296
|
nameRequiredText: e.string
|
|
1297
1297
|
};
|
|
1298
|
-
const
|
|
1299
|
-
barChartContainer:
|
|
1300
|
-
},
|
|
1298
|
+
const i0 = "_barChartContainer_d2f1z_2", s0 = {
|
|
1299
|
+
barChartContainer: i0
|
|
1300
|
+
}, Ct = ({
|
|
1301
1301
|
data: n,
|
|
1302
1302
|
width: d = 700,
|
|
1303
|
-
barHeight:
|
|
1303
|
+
barHeight: s = 25,
|
|
1304
1304
|
gap: o = 23,
|
|
1305
1305
|
fontColor: t = "#605B56",
|
|
1306
1306
|
verticalPaddign: r = 10,
|
|
@@ -1309,9 +1309,9 @@ const n0 = "_barChartContainer_d2f1z_2", i0 = {
|
|
|
1309
1309
|
numberOfDivisions: c = 7,
|
|
1310
1310
|
maxValue: u = null
|
|
1311
1311
|
}) => {
|
|
1312
|
-
const { t: h } = k(), { xScale: g, ticks: _, height: y } =
|
|
1312
|
+
const { t: h } = k(), { xScale: g, ticks: _, height: y } = Ce(() => {
|
|
1313
1313
|
if (n && n.length > 0) {
|
|
1314
|
-
const m = (n == null ? void 0 : n.length) * (
|
|
1314
|
+
const m = (n == null ? void 0 : n.length) * (s + o) + r * 2, b = Ge.max(n, (v) => v.value) || 1, C = Ge.scaleLinear().domain([0, u || b]).range([0, d - l]), f = Array.from({ length: c + 1 }, (v, N) => u ? u / c * N : b / c * N);
|
|
1315
1315
|
return {
|
|
1316
1316
|
xScale: C,
|
|
1317
1317
|
ticks: f,
|
|
@@ -1326,17 +1326,17 @@ const n0 = "_barChartContainer_d2f1z_2", i0 = {
|
|
|
1326
1326
|
n,
|
|
1327
1327
|
d,
|
|
1328
1328
|
c,
|
|
1329
|
-
|
|
1329
|
+
s,
|
|
1330
1330
|
o,
|
|
1331
1331
|
a,
|
|
1332
1332
|
r,
|
|
1333
1333
|
u
|
|
1334
1334
|
]);
|
|
1335
|
-
return /* @__PURE__ */
|
|
1336
|
-
/* @__PURE__ */
|
|
1335
|
+
return /* @__PURE__ */ i("div", { className: s0.barChartContainer, children: /* @__PURE__ */ i("svg", { width: d + a * 2, height: y, children: /* @__PURE__ */ p("g", { transform: `translate(0,${o})`, children: [
|
|
1336
|
+
/* @__PURE__ */ i("g", { transform: `translate(${l + a}, 0)`, children: _.map((m, b) => {
|
|
1337
1337
|
const C = g(m);
|
|
1338
1338
|
return /* @__PURE__ */ p("g", { transform: `translate(${C}, 0)`, children: [
|
|
1339
|
-
/* @__PURE__ */
|
|
1339
|
+
/* @__PURE__ */ i(
|
|
1340
1340
|
"line",
|
|
1341
1341
|
{
|
|
1342
1342
|
y1: 0,
|
|
@@ -1344,7 +1344,7 @@ const n0 = "_barChartContainer_d2f1z_2", i0 = {
|
|
|
1344
1344
|
stroke: "#ccc"
|
|
1345
1345
|
}
|
|
1346
1346
|
),
|
|
1347
|
-
/* @__PURE__ */
|
|
1347
|
+
/* @__PURE__ */ i(
|
|
1348
1348
|
"text",
|
|
1349
1349
|
{
|
|
1350
1350
|
y: y - o,
|
|
@@ -1357,27 +1357,27 @@ const n0 = "_barChartContainer_d2f1z_2", i0 = {
|
|
|
1357
1357
|
] }, b);
|
|
1358
1358
|
}) }),
|
|
1359
1359
|
n && n.length > 0 && (n == null ? void 0 : n.map((m, b) => {
|
|
1360
|
-
const C = g(m.value), f = b * (
|
|
1360
|
+
const C = g(m.value), f = b * (s + o);
|
|
1361
1361
|
return /* @__PURE__ */ p(
|
|
1362
1362
|
"g",
|
|
1363
1363
|
{
|
|
1364
1364
|
transform: `translate(${l + a}, ${f})`,
|
|
1365
1365
|
children: [
|
|
1366
|
-
/* @__PURE__ */
|
|
1366
|
+
/* @__PURE__ */ i(
|
|
1367
1367
|
"text",
|
|
1368
1368
|
{
|
|
1369
1369
|
x: -24,
|
|
1370
|
-
y:
|
|
1370
|
+
y: s / 2 + 5,
|
|
1371
1371
|
textAnchor: "end",
|
|
1372
1372
|
fill: t,
|
|
1373
1373
|
children: h(m.title)
|
|
1374
1374
|
}
|
|
1375
1375
|
),
|
|
1376
|
-
/* @__PURE__ */
|
|
1376
|
+
/* @__PURE__ */ i(
|
|
1377
1377
|
"rect",
|
|
1378
1378
|
{
|
|
1379
1379
|
width: C,
|
|
1380
|
-
height:
|
|
1380
|
+
height: s,
|
|
1381
1381
|
fill: m.color,
|
|
1382
1382
|
rx: 0
|
|
1383
1383
|
}
|
|
@@ -1389,7 +1389,7 @@ const n0 = "_barChartContainer_d2f1z_2", i0 = {
|
|
|
1389
1389
|
}))
|
|
1390
1390
|
] }) }) });
|
|
1391
1391
|
};
|
|
1392
|
-
|
|
1392
|
+
Ct.propTypes = {
|
|
1393
1393
|
data: e.arrayOf(
|
|
1394
1394
|
e.shape({
|
|
1395
1395
|
title: e.string,
|
|
@@ -1405,13 +1405,13 @@ gt.propTypes = {
|
|
|
1405
1405
|
numberOfDivisions: e.number,
|
|
1406
1406
|
fontColor: e.string
|
|
1407
1407
|
};
|
|
1408
|
-
const
|
|
1409
|
-
graphicContainer:
|
|
1410
|
-
titleContainer:
|
|
1411
|
-
},
|
|
1408
|
+
const o0 = "_graphicContainer_c9zrg_2", r0 = "_titleContainer_c9zrg_14", Qe = {
|
|
1409
|
+
graphicContainer: o0,
|
|
1410
|
+
titleContainer: r0
|
|
1411
|
+
}, a0 = ({
|
|
1412
1412
|
data: n,
|
|
1413
1413
|
graphWidth: d = 700,
|
|
1414
|
-
containerStyle:
|
|
1414
|
+
containerStyle: s,
|
|
1415
1415
|
borderColor: o = "#605B56",
|
|
1416
1416
|
title: t = "Graphic Title",
|
|
1417
1417
|
fontColor: r = "#605B56",
|
|
@@ -1423,15 +1423,15 @@ const s0 = "_graphicContainer_c9zrg_2", o0 = "_titleContainer_c9zrg_14", Ye = {
|
|
|
1423
1423
|
return /* @__PURE__ */ p(
|
|
1424
1424
|
"div",
|
|
1425
1425
|
{
|
|
1426
|
-
className:
|
|
1426
|
+
className: Qe.graphicContainer,
|
|
1427
1427
|
style: {
|
|
1428
|
-
...
|
|
1428
|
+
...s || {},
|
|
1429
1429
|
border: `1.5px solid ${o}`
|
|
1430
1430
|
},
|
|
1431
1431
|
children: [
|
|
1432
|
-
/* @__PURE__ */
|
|
1433
|
-
/* @__PURE__ */
|
|
1434
|
-
|
|
1432
|
+
/* @__PURE__ */ i("div", { className: Qe.titleContainer, children: /* @__PURE__ */ i("h2", { children: u(t) }) }),
|
|
1433
|
+
/* @__PURE__ */ i(
|
|
1434
|
+
Ct,
|
|
1435
1435
|
{
|
|
1436
1436
|
data: n,
|
|
1437
1437
|
width: d,
|
|
@@ -1445,7 +1445,7 @@ const s0 = "_graphicContainer_c9zrg_2", o0 = "_titleContainer_c9zrg_14", Ye = {
|
|
|
1445
1445
|
}
|
|
1446
1446
|
);
|
|
1447
1447
|
};
|
|
1448
|
-
|
|
1448
|
+
a0.propTypes = {
|
|
1449
1449
|
data: e.arrayOf(
|
|
1450
1450
|
e.shape({
|
|
1451
1451
|
color: e.string.isRequired,
|
|
@@ -1462,25 +1462,25 @@ r0.propTypes = {
|
|
|
1462
1462
|
numberOfDivisions: e.number,
|
|
1463
1463
|
leftPadding: e.number
|
|
1464
1464
|
};
|
|
1465
|
-
const
|
|
1466
|
-
indicatorsCategory:
|
|
1467
|
-
title:
|
|
1468
|
-
list:
|
|
1469
|
-
},
|
|
1470
|
-
indicatorContainer:
|
|
1471
|
-
indicatorNameContainer:
|
|
1472
|
-
dot:
|
|
1473
|
-
indicatorName:
|
|
1474
|
-
switchExternalContainer:
|
|
1475
|
-
switchType:
|
|
1476
|
-
switchTypeOptions:
|
|
1477
|
-
optionContainer:
|
|
1478
|
-
customRadious:
|
|
1479
|
-
optionText:
|
|
1480
|
-
},
|
|
1465
|
+
const l0 = "_indicatorsCategory_1cu33_2", c0 = "_title_1cu33_5", d0 = "_list_1cu33_11", Te = {
|
|
1466
|
+
indicatorsCategory: l0,
|
|
1467
|
+
title: c0,
|
|
1468
|
+
list: d0
|
|
1469
|
+
}, u0 = "_indicatorContainer_1go6h_2", p0 = "_indicatorNameContainer_1go6h_11", m0 = "_dot_1go6h_17", h0 = "_indicatorName_1go6h_11", g0 = "_switchExternalContainer_1go6h_28", C0 = "_switchType_1go6h_37", f0 = "_switchTypeOptions_1go6h_41", b0 = "_optionContainer_1go6h_52", _0 = "_customRadious_1go6h_62", y0 = "_optionText_1go6h_69", V = {
|
|
1470
|
+
indicatorContainer: u0,
|
|
1471
|
+
indicatorNameContainer: p0,
|
|
1472
|
+
dot: m0,
|
|
1473
|
+
indicatorName: h0,
|
|
1474
|
+
switchExternalContainer: g0,
|
|
1475
|
+
switchType: C0,
|
|
1476
|
+
switchTypeOptions: f0,
|
|
1477
|
+
optionContainer: b0,
|
|
1478
|
+
customRadious: _0,
|
|
1479
|
+
optionText: y0
|
|
1480
|
+
}, He = ({
|
|
1481
1481
|
indicator: n,
|
|
1482
1482
|
values: d = [],
|
|
1483
|
-
activeColor:
|
|
1483
|
+
activeColor: s,
|
|
1484
1484
|
defaultColor: o = "#92898A",
|
|
1485
1485
|
activeIndicator: t,
|
|
1486
1486
|
activeIndicatorType: r,
|
|
@@ -1489,36 +1489,36 @@ const a0 = "_indicatorsCategory_1cu33_2", l0 = "_title_1cu33_5", c0 = "_list_1cu
|
|
|
1489
1489
|
onChangeType: c
|
|
1490
1490
|
}) => {
|
|
1491
1491
|
const { t: u } = k(), { name: h, type: g, disabled: _ } = n, [y, m] = L(!1);
|
|
1492
|
-
|
|
1492
|
+
T(() => {
|
|
1493
1493
|
t && m(
|
|
1494
1494
|
l ? t.some(
|
|
1495
1495
|
(f) => f.name == String(h)
|
|
1496
1496
|
) : t.name == h
|
|
1497
1497
|
);
|
|
1498
1498
|
}, [t]);
|
|
1499
|
-
const b = () => /* @__PURE__ */
|
|
1499
|
+
const b = () => /* @__PURE__ */ i("div", { className: V.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: V.switchType, children: /* @__PURE__ */ p("div", { className: V.switchTypeOptions, children: [
|
|
1500
1500
|
/* @__PURE__ */ p(
|
|
1501
1501
|
"div",
|
|
1502
1502
|
{
|
|
1503
1503
|
className: V.optionContainer,
|
|
1504
1504
|
onClick: () => c("cat"),
|
|
1505
1505
|
children: [
|
|
1506
|
-
/* @__PURE__ */
|
|
1506
|
+
/* @__PURE__ */ i(
|
|
1507
1507
|
"span",
|
|
1508
1508
|
{
|
|
1509
1509
|
className: `${V.customRadious}`,
|
|
1510
1510
|
style: {
|
|
1511
|
-
backgroundColor: r === "cat" ?
|
|
1512
|
-
borderColor: r === "cat" ?
|
|
1511
|
+
backgroundColor: r === "cat" ? s : "transparent",
|
|
1512
|
+
borderColor: r === "cat" ? s : o
|
|
1513
1513
|
}
|
|
1514
1514
|
}
|
|
1515
1515
|
),
|
|
1516
|
-
/* @__PURE__ */
|
|
1516
|
+
/* @__PURE__ */ i(
|
|
1517
1517
|
"h4",
|
|
1518
1518
|
{
|
|
1519
1519
|
className: V.optionText,
|
|
1520
1520
|
style: {
|
|
1521
|
-
color: r === "cat" ?
|
|
1521
|
+
color: r === "cat" ? s : o
|
|
1522
1522
|
},
|
|
1523
1523
|
children: u("indicators.cat")
|
|
1524
1524
|
}
|
|
@@ -1532,22 +1532,22 @@ const a0 = "_indicatorsCategory_1cu33_2", l0 = "_title_1cu33_5", c0 = "_list_1cu
|
|
|
1532
1532
|
className: V.optionContainer,
|
|
1533
1533
|
onClick: () => c("abs"),
|
|
1534
1534
|
children: [
|
|
1535
|
-
/* @__PURE__ */
|
|
1535
|
+
/* @__PURE__ */ i(
|
|
1536
1536
|
"span",
|
|
1537
1537
|
{
|
|
1538
1538
|
className: `${V.customRadious}`,
|
|
1539
1539
|
style: {
|
|
1540
|
-
backgroundColor: r === "abs" ?
|
|
1541
|
-
borderColor: r === "abs" ?
|
|
1540
|
+
backgroundColor: r === "abs" ? s : "transparent",
|
|
1541
|
+
borderColor: r === "abs" ? s : o
|
|
1542
1542
|
}
|
|
1543
1543
|
}
|
|
1544
1544
|
),
|
|
1545
|
-
/* @__PURE__ */
|
|
1545
|
+
/* @__PURE__ */ i(
|
|
1546
1546
|
"h4",
|
|
1547
1547
|
{
|
|
1548
1548
|
className: V.optionText,
|
|
1549
1549
|
style: {
|
|
1550
|
-
color: r === "abs" ?
|
|
1550
|
+
color: r === "abs" ? s : o
|
|
1551
1551
|
},
|
|
1552
1552
|
children: u("indicators.abs")
|
|
1553
1553
|
}
|
|
@@ -1555,18 +1555,18 @@ const a0 = "_indicatorsCategory_1cu33_2", l0 = "_title_1cu33_5", c0 = "_list_1cu
|
|
|
1555
1555
|
]
|
|
1556
1556
|
}
|
|
1557
1557
|
)
|
|
1558
|
-
] }) }) }), C = () => /* @__PURE__ */
|
|
1558
|
+
] }) }) }), C = () => /* @__PURE__ */ i("div", { className: V.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: V.switchType, children: /* @__PURE__ */ i("div", { className: V.switchTypeOptions, children: d.map((f, v) => /* @__PURE__ */ p(
|
|
1559
1559
|
"div",
|
|
1560
1560
|
{
|
|
1561
1561
|
className: V.optionContainer,
|
|
1562
1562
|
children: [
|
|
1563
|
-
/* @__PURE__ */
|
|
1563
|
+
/* @__PURE__ */ i(
|
|
1564
1564
|
"span",
|
|
1565
1565
|
{
|
|
1566
1566
|
className: V.customRadious
|
|
1567
1567
|
}
|
|
1568
1568
|
),
|
|
1569
|
-
/* @__PURE__ */
|
|
1569
|
+
/* @__PURE__ */ i("h4", { children: u(f.unit) })
|
|
1570
1570
|
]
|
|
1571
1571
|
},
|
|
1572
1572
|
v
|
|
@@ -1578,29 +1578,29 @@ const a0 = "_indicatorsCategory_1cu33_2", l0 = "_title_1cu33_5", c0 = "_list_1cu
|
|
|
1578
1578
|
className: V.indicatorNameContainer,
|
|
1579
1579
|
onClick: () => !_ && a({ indicator: n }),
|
|
1580
1580
|
children: [
|
|
1581
|
-
/* @__PURE__ */
|
|
1581
|
+
/* @__PURE__ */ i(
|
|
1582
1582
|
"div",
|
|
1583
1583
|
{
|
|
1584
1584
|
style: {
|
|
1585
|
-
border: y ? `1px solid ${
|
|
1585
|
+
border: y ? `1px solid ${s}` : `1px solid ${o}`,
|
|
1586
1586
|
opacity: _ ? 0.5 : 1
|
|
1587
1587
|
},
|
|
1588
1588
|
className: V.dot
|
|
1589
1589
|
}
|
|
1590
1590
|
),
|
|
1591
|
-
/* @__PURE__ */
|
|
1591
|
+
/* @__PURE__ */ i(
|
|
1592
1592
|
"h4",
|
|
1593
1593
|
{
|
|
1594
1594
|
className: V.indicatorName,
|
|
1595
1595
|
style: {
|
|
1596
|
-
color: y ?
|
|
1596
|
+
color: y ? s : o,
|
|
1597
1597
|
opacity: _ ? 0.5 : 1
|
|
1598
1598
|
},
|
|
1599
|
-
children: /* @__PURE__ */
|
|
1600
|
-
|
|
1599
|
+
children: /* @__PURE__ */ i(
|
|
1600
|
+
ze,
|
|
1601
1601
|
{
|
|
1602
1602
|
i18nKey: h,
|
|
1603
|
-
components: { sup: /* @__PURE__ */
|
|
1603
|
+
components: { sup: /* @__PURE__ */ i("sup", {}) },
|
|
1604
1604
|
shouldUnescape: !0
|
|
1605
1605
|
}
|
|
1606
1606
|
)
|
|
@@ -1609,11 +1609,11 @@ const a0 = "_indicatorsCategory_1cu33_2", l0 = "_title_1cu33_5", c0 = "_list_1cu
|
|
|
1609
1609
|
]
|
|
1610
1610
|
}
|
|
1611
1611
|
),
|
|
1612
|
-
(t == null ? void 0 : t.name) === h && g === "both" && /* @__PURE__ */
|
|
1613
|
-
(t == null ? void 0 : t.name) === h && g === "twoUnits" && /* @__PURE__ */
|
|
1612
|
+
(t == null ? void 0 : t.name) === h && g === "both" && /* @__PURE__ */ i("div", { children: b() }),
|
|
1613
|
+
(t == null ? void 0 : t.name) === h && g === "twoUnits" && /* @__PURE__ */ i("div", { children: C() })
|
|
1614
1614
|
] });
|
|
1615
1615
|
};
|
|
1616
|
-
|
|
1616
|
+
He.propTypes = {
|
|
1617
1617
|
indicator: e.shape({
|
|
1618
1618
|
name: e.string,
|
|
1619
1619
|
type: e.string
|
|
@@ -1625,13 +1625,13 @@ Ke.propTypes = {
|
|
|
1625
1625
|
multiple: e.bool,
|
|
1626
1626
|
onClickIndicator: e.func
|
|
1627
1627
|
};
|
|
1628
|
-
const
|
|
1629
|
-
indicatorsSubCategory:
|
|
1630
|
-
list:
|
|
1631
|
-
},
|
|
1628
|
+
const v0 = "_indicatorsSubCategory_1dzsi_2", x0 = "_list_1dzsi_8", Xe = {
|
|
1629
|
+
indicatorsSubCategory: v0,
|
|
1630
|
+
list: x0
|
|
1631
|
+
}, ft = ({
|
|
1632
1632
|
subcName: n,
|
|
1633
1633
|
indicators: d,
|
|
1634
|
-
defaultColor:
|
|
1634
|
+
defaultColor: s,
|
|
1635
1635
|
activeColor: o,
|
|
1636
1636
|
activeSubCategory: t,
|
|
1637
1637
|
onClickSubCategory: r,
|
|
@@ -1643,31 +1643,31 @@ const y0 = "_indicatorsSubCategory_1dzsi_2", v0 = "_list_1dzsi_8", Qe = {
|
|
|
1643
1643
|
onChangeType: g
|
|
1644
1644
|
}) => {
|
|
1645
1645
|
const { t: _ } = k(), [y, m] = L(!1);
|
|
1646
|
-
return
|
|
1646
|
+
return T(() => {
|
|
1647
1647
|
m(t == a);
|
|
1648
1648
|
}, [t, a]), /* @__PURE__ */ p(
|
|
1649
|
-
|
|
1649
|
+
Ze.div,
|
|
1650
1650
|
{
|
|
1651
|
-
className:
|
|
1651
|
+
className: Xe.indicatorsSubCategory,
|
|
1652
1652
|
initial: { height: "43px" },
|
|
1653
1653
|
animate: { height: y ? "auto" : "43px" },
|
|
1654
1654
|
transition: { duration: 0.4 },
|
|
1655
1655
|
children: [
|
|
1656
|
-
/* @__PURE__ */
|
|
1657
|
-
/* @__PURE__ */
|
|
1658
|
-
/* @__PURE__ */
|
|
1656
|
+
/* @__PURE__ */ i("button", { onClick: () => r(a), children: /* @__PURE__ */ p("h3", { style: { color: y ? o : s }, children: [
|
|
1657
|
+
/* @__PURE__ */ i("span", { style: { color: y ? o : s }, children: y ? "-" : "+" }),
|
|
1658
|
+
/* @__PURE__ */ i(
|
|
1659
1659
|
"span",
|
|
1660
1660
|
{
|
|
1661
|
-
style: { marginLeft: 12, color: y ? o :
|
|
1661
|
+
style: { marginLeft: 12, color: y ? o : s },
|
|
1662
1662
|
children: _(n)
|
|
1663
1663
|
}
|
|
1664
1664
|
)
|
|
1665
1665
|
] }) }),
|
|
1666
|
-
d && /* @__PURE__ */
|
|
1667
|
-
|
|
1666
|
+
d && /* @__PURE__ */ i("div", { className: Xe.list, children: d == null ? void 0 : d.map((b, C) => /* @__PURE__ */ i(
|
|
1667
|
+
He,
|
|
1668
1668
|
{
|
|
1669
1669
|
indicator: b,
|
|
1670
|
-
defaultColor:
|
|
1670
|
+
defaultColor: s,
|
|
1671
1671
|
activeColor: o,
|
|
1672
1672
|
activeIndicator: l,
|
|
1673
1673
|
onClickIndicator: c,
|
|
@@ -1681,7 +1681,7 @@ const y0 = "_indicatorsSubCategory_1dzsi_2", v0 = "_list_1dzsi_8", Qe = {
|
|
|
1681
1681
|
}
|
|
1682
1682
|
);
|
|
1683
1683
|
};
|
|
1684
|
-
|
|
1684
|
+
ft.propTypes = {
|
|
1685
1685
|
subcName: e.string,
|
|
1686
1686
|
indicators: e.array,
|
|
1687
1687
|
activeColor: e.string,
|
|
@@ -1693,10 +1693,10 @@ Ct.propTypes = {
|
|
|
1693
1693
|
onClickSubCategory: e.func,
|
|
1694
1694
|
onClickIndicator: e.func
|
|
1695
1695
|
};
|
|
1696
|
-
const
|
|
1696
|
+
const bt = ({
|
|
1697
1697
|
cat: n,
|
|
1698
1698
|
id: d,
|
|
1699
|
-
activeColor:
|
|
1699
|
+
activeColor: s,
|
|
1700
1700
|
defaultColor: o,
|
|
1701
1701
|
onClickCategory: t,
|
|
1702
1702
|
activeCategory: r,
|
|
@@ -1710,34 +1710,34 @@ const ft = ({
|
|
|
1710
1710
|
}) => {
|
|
1711
1711
|
var C;
|
|
1712
1712
|
const { t: y } = k(), [m, b] = L(!1);
|
|
1713
|
-
return
|
|
1713
|
+
return T(() => {
|
|
1714
1714
|
b(r === d);
|
|
1715
1715
|
}, [r, d]), /* @__PURE__ */ p(
|
|
1716
|
-
|
|
1716
|
+
Ze.div,
|
|
1717
1717
|
{
|
|
1718
|
-
className:
|
|
1718
|
+
className: Te.indicatorsCategory,
|
|
1719
1719
|
initial: { height: "53px" },
|
|
1720
1720
|
animate: { height: m ? "auto" : "53px" },
|
|
1721
1721
|
transition: { duration: 0.4 },
|
|
1722
1722
|
style: {
|
|
1723
1723
|
backgroundColor: "white",
|
|
1724
|
-
borderBottom: m ? `1px solid ${
|
|
1724
|
+
borderBottom: m ? `1px solid ${s}` : "0px",
|
|
1725
1725
|
marginBottom: m ? "20px" : "0px"
|
|
1726
1726
|
},
|
|
1727
1727
|
children: [
|
|
1728
|
-
/* @__PURE__ */ p("h2", { className: `${
|
|
1729
|
-
/* @__PURE__ */
|
|
1730
|
-
/* @__PURE__ */
|
|
1728
|
+
/* @__PURE__ */ p("h2", { className: `${Te.title}`, onClick: () => t(d), children: [
|
|
1729
|
+
/* @__PURE__ */ i("span", { style: { color: m ? s : o }, children: m ? "-" : "+" }),
|
|
1730
|
+
/* @__PURE__ */ i(
|
|
1731
1731
|
"span",
|
|
1732
1732
|
{
|
|
1733
|
-
style: { marginLeft: 12, color: m ?
|
|
1733
|
+
style: { marginLeft: 12, color: m ? s : o },
|
|
1734
1734
|
children: y(n.name)
|
|
1735
1735
|
}
|
|
1736
1736
|
)
|
|
1737
1737
|
] }),
|
|
1738
1738
|
n.subcategories ? n.subcategories.map(
|
|
1739
|
-
({ name: f, subcategory: v, indicators: N }, x) => /* @__PURE__ */
|
|
1740
|
-
|
|
1739
|
+
({ name: f, subcategory: v, indicators: N }, x) => /* @__PURE__ */ i(
|
|
1740
|
+
ft,
|
|
1741
1741
|
{
|
|
1742
1742
|
id: v,
|
|
1743
1743
|
activeSubCategory: a,
|
|
@@ -1746,7 +1746,7 @@ const ft = ({
|
|
|
1746
1746
|
activeIndicator: c,
|
|
1747
1747
|
onClickIndicator: u,
|
|
1748
1748
|
multiple: h,
|
|
1749
|
-
activeColor:
|
|
1749
|
+
activeColor: s,
|
|
1750
1750
|
defaultColor: o,
|
|
1751
1751
|
indicators: N,
|
|
1752
1752
|
activeIndicatorType: g,
|
|
@@ -1754,12 +1754,12 @@ const ft = ({
|
|
|
1754
1754
|
},
|
|
1755
1755
|
`subcKey ${x}`
|
|
1756
1756
|
)
|
|
1757
|
-
) : /* @__PURE__ */
|
|
1758
|
-
|
|
1757
|
+
) : /* @__PURE__ */ i("div", { className: Te.list, children: (C = n.indicators) == null ? void 0 : C.map((f, v) => /* @__PURE__ */ i(
|
|
1758
|
+
He,
|
|
1759
1759
|
{
|
|
1760
1760
|
indicator: f,
|
|
1761
1761
|
values: f.type == "twoUnits" && f.values,
|
|
1762
|
-
activeColor:
|
|
1762
|
+
activeColor: s,
|
|
1763
1763
|
defaultColor: o,
|
|
1764
1764
|
activeIndicator: c,
|
|
1765
1765
|
onClickIndicator: u,
|
|
@@ -1773,7 +1773,7 @@ const ft = ({
|
|
|
1773
1773
|
}
|
|
1774
1774
|
);
|
|
1775
1775
|
};
|
|
1776
|
-
|
|
1776
|
+
bt.propTypes = {
|
|
1777
1777
|
cat: e.object,
|
|
1778
1778
|
id: e.string,
|
|
1779
1779
|
onChange: e.func,
|
|
@@ -1787,13 +1787,13 @@ ft.propTypes = {
|
|
|
1787
1787
|
activeColor: e.string,
|
|
1788
1788
|
defaultColor: e.string
|
|
1789
1789
|
};
|
|
1790
|
-
const
|
|
1791
|
-
indicatorsList:
|
|
1792
|
-
title:
|
|
1793
|
-
},
|
|
1790
|
+
const w0 = "_indicatorsList_fklyu_2", N0 = "_title_fklyu_6", Je = {
|
|
1791
|
+
indicatorsList: w0,
|
|
1792
|
+
title: N0
|
|
1793
|
+
}, k0 = ({
|
|
1794
1794
|
indicators: n,
|
|
1795
1795
|
activeColor: d,
|
|
1796
|
-
defaultColor:
|
|
1796
|
+
defaultColor: s = "#92898A",
|
|
1797
1797
|
// Función que se ejecuta al seleccionar un indicador, recibe el o los ikeys como parametro
|
|
1798
1798
|
onChange: o,
|
|
1799
1799
|
// Selección multiple
|
|
@@ -1819,16 +1819,16 @@ const x0 = "_indicatorsList_fklyu_2", w0 = "_title_fklyu_6", Xe = {
|
|
|
1819
1819
|
let w = y && y.length > 0 ? [...y] : [];
|
|
1820
1820
|
m(
|
|
1821
1821
|
w != null && w.some(
|
|
1822
|
-
(
|
|
1822
|
+
($) => $.name == x.name
|
|
1823
1823
|
) ? w.filter(
|
|
1824
|
-
(
|
|
1824
|
+
($) => $.name != String(x.name)
|
|
1825
1825
|
) : [...w, x]
|
|
1826
1826
|
), x.type == "both" && a("cat");
|
|
1827
1827
|
}
|
|
1828
1828
|
};
|
|
1829
|
-
|
|
1829
|
+
T(() => {
|
|
1830
1830
|
console.log("activeindicator changed to: ", y), o && typeof o == "function" && y && o({ activeIndicator: y });
|
|
1831
|
-
}, [y]),
|
|
1831
|
+
}, [y]), Tt(() => {
|
|
1832
1832
|
if (r && !y)
|
|
1833
1833
|
if (t && r && Array.isArray(r)) {
|
|
1834
1834
|
let x = y && y.length > 0 ? [...y] : [];
|
|
@@ -1837,22 +1837,22 @@ const x0 = "_indicatorsList_fklyu_2", w0 = "_title_fklyu_6", Xe = {
|
|
|
1837
1837
|
v(r), N(r.name);
|
|
1838
1838
|
}, []);
|
|
1839
1839
|
const N = (x) => {
|
|
1840
|
-
const w = n.find((
|
|
1841
|
-
if (
|
|
1842
|
-
let
|
|
1843
|
-
(
|
|
1840
|
+
const w = n.find(($) => {
|
|
1841
|
+
if ($.subcategories) {
|
|
1842
|
+
let S = $.subcategories.find(
|
|
1843
|
+
(D) => D.indicators.find((j) => j.name == x)
|
|
1844
1844
|
);
|
|
1845
|
-
if (
|
|
1846
|
-
return _(
|
|
1845
|
+
if (S)
|
|
1846
|
+
return _(S.subcategory), S;
|
|
1847
1847
|
} else
|
|
1848
|
-
return
|
|
1848
|
+
return $.indicators.some((S) => S.name == x);
|
|
1849
1849
|
});
|
|
1850
1850
|
w && h(w.category);
|
|
1851
1851
|
};
|
|
1852
|
-
return /* @__PURE__ */ p("div", { className:
|
|
1853
|
-
/* @__PURE__ */
|
|
1854
|
-
n.map((x, w) => /* @__PURE__ */
|
|
1855
|
-
|
|
1852
|
+
return /* @__PURE__ */ p("div", { className: Je.indicatorsList, children: [
|
|
1853
|
+
/* @__PURE__ */ i("h2", { className: Je.title, style: { color: s }, children: c("indicators.indicators") }),
|
|
1854
|
+
n.map((x, w) => /* @__PURE__ */ i(
|
|
1855
|
+
bt,
|
|
1856
1856
|
{
|
|
1857
1857
|
id: x.category,
|
|
1858
1858
|
cat: x,
|
|
@@ -1863,7 +1863,7 @@ const x0 = "_indicatorsList_fklyu_2", w0 = "_title_fklyu_6", Xe = {
|
|
|
1863
1863
|
onClickIndicator: f,
|
|
1864
1864
|
activeIndicator: y,
|
|
1865
1865
|
activeColor: d,
|
|
1866
|
-
defaultColor:
|
|
1866
|
+
defaultColor: s,
|
|
1867
1867
|
multiple: t,
|
|
1868
1868
|
onChange: o,
|
|
1869
1869
|
onChangeType: a,
|
|
@@ -1873,7 +1873,7 @@ const x0 = "_indicatorsList_fklyu_2", w0 = "_title_fklyu_6", Xe = {
|
|
|
1873
1873
|
))
|
|
1874
1874
|
] });
|
|
1875
1875
|
};
|
|
1876
|
-
|
|
1876
|
+
k0.propTypes = {
|
|
1877
1877
|
indicators: e.arrayOf(e.object),
|
|
1878
1878
|
activeColor: e.string,
|
|
1879
1879
|
defaultColor: e.string,
|
|
@@ -1884,13 +1884,13 @@ N0.propTypes = {
|
|
|
1884
1884
|
defaultValue: e.oneOfType([e.object, e.array]),
|
|
1885
1885
|
activeIndicatorType: e.string
|
|
1886
1886
|
};
|
|
1887
|
-
const
|
|
1888
|
-
langSelector:
|
|
1889
|
-
currentLang:
|
|
1890
|
-
arrow:
|
|
1891
|
-
prevImg:
|
|
1892
|
-
langMenu:
|
|
1893
|
-
},
|
|
1887
|
+
const $0 = "_langSelector_o9enq_2", S0 = "_currentLang_o9enq_14", B0 = "_arrow_o9enq_26", L0 = "_prevImg_o9enq_29", T0 = "_langMenu_o9enq_33", re = {
|
|
1888
|
+
langSelector: $0,
|
|
1889
|
+
currentLang: S0,
|
|
1890
|
+
arrow: B0,
|
|
1891
|
+
prevImg: L0,
|
|
1892
|
+
langMenu: T0
|
|
1893
|
+
}, D0 = ({ langs: n, arrow: d, imgPrev: s }) => {
|
|
1894
1894
|
const [o, t] = L(!1), { i18n: r } = k(), a = n.find((c) => c.code == r.language), l = (c) => {
|
|
1895
1895
|
r.changeLanguage(c), t(!1);
|
|
1896
1896
|
};
|
|
@@ -1903,13 +1903,13 @@ const k0 = "_langSelector_o9enq_2", B0 = "_currentLang_o9enq_14", $0 = "_arrow_o
|
|
|
1903
1903
|
t(!o);
|
|
1904
1904
|
},
|
|
1905
1905
|
children: [
|
|
1906
|
-
|
|
1906
|
+
s && /* @__PURE__ */ i("img", { className: re.prevImg, src: s }),
|
|
1907
1907
|
(a == null ? void 0 : a.titleSelected) || (a == null ? void 0 : a.title),
|
|
1908
|
-
/* @__PURE__ */
|
|
1908
|
+
/* @__PURE__ */ i("img", { src: d, className: re.arrow })
|
|
1909
1909
|
]
|
|
1910
1910
|
}
|
|
1911
1911
|
),
|
|
1912
|
-
o && /* @__PURE__ */
|
|
1912
|
+
o && /* @__PURE__ */ i("div", { className: re.langMenu, children: n.map((c) => /* @__PURE__ */ i(
|
|
1913
1913
|
"button",
|
|
1914
1914
|
{
|
|
1915
1915
|
className: (a == null ? void 0 : a.code) == c.code ? re.active : "",
|
|
@@ -1920,7 +1920,7 @@ const k0 = "_langSelector_o9enq_2", B0 = "_currentLang_o9enq_14", $0 = "_arrow_o
|
|
|
1920
1920
|
)) })
|
|
1921
1921
|
] });
|
|
1922
1922
|
};
|
|
1923
|
-
|
|
1923
|
+
D0.propTypes = {
|
|
1924
1924
|
langs: e.arrayOf(
|
|
1925
1925
|
e.shape({
|
|
1926
1926
|
code: e.string,
|
|
@@ -1934,29 +1934,29 @@ T0.propTypes = {
|
|
|
1934
1934
|
arrow: e.object,
|
|
1935
1935
|
imgPrev: e.object
|
|
1936
1936
|
};
|
|
1937
|
-
const
|
|
1938
|
-
legendContainer:
|
|
1939
|
-
closeButton:
|
|
1940
|
-
titleContainer:
|
|
1941
|
-
infoContainer:
|
|
1942
|
-
titleLegendList:
|
|
1943
|
-
legendListContainer:
|
|
1944
|
-
gridContainer:
|
|
1945
|
-
elementLegendContainer:
|
|
1946
|
-
colorDot:
|
|
1947
|
-
absoluteValueContainer:
|
|
1948
|
-
absoluteValueColor:
|
|
1949
|
-
absoluteValueText:
|
|
1950
|
-
noDataContainer:
|
|
1951
|
-
noData:
|
|
1952
|
-
moreInfoContainer:
|
|
1953
|
-
},
|
|
1937
|
+
const M0 = "_legendContainer_qs4x9_3", F0 = "_closeButton_qs4x9_31", V0 = "_titleContainer_qs4x9_59", A0 = "_infoContainer_qs4x9_65", O0 = "_titleLegendList_qs4x9_76", I0 = "_legendListContainer_qs4x9_82", R0 = "_gridContainer_qs4x9_82", q0 = "_elementLegendContainer_qs4x9_88", E0 = "_colorDot_qs4x9_94", P0 = "_absoluteValueContainer_qs4x9_100", j0 = "_absoluteValueColor_qs4x9_103", z0 = "_absoluteValueText_qs4x9_108", Z0 = "_noDataContainer_qs4x9_120", K0 = "_noData_qs4x9_120", H0 = "_moreInfoContainer_qs4x9_141", F = {
|
|
1938
|
+
legendContainer: M0,
|
|
1939
|
+
closeButton: F0,
|
|
1940
|
+
titleContainer: V0,
|
|
1941
|
+
infoContainer: A0,
|
|
1942
|
+
titleLegendList: O0,
|
|
1943
|
+
legendListContainer: I0,
|
|
1944
|
+
gridContainer: R0,
|
|
1945
|
+
elementLegendContainer: q0,
|
|
1946
|
+
colorDot: E0,
|
|
1947
|
+
absoluteValueContainer: P0,
|
|
1948
|
+
absoluteValueColor: j0,
|
|
1949
|
+
absoluteValueText: z0,
|
|
1950
|
+
noDataContainer: Z0,
|
|
1951
|
+
noData: K0,
|
|
1952
|
+
moreInfoContainer: H0
|
|
1953
|
+
}, U0 = ({
|
|
1954
1954
|
//JSON with the styles of the container (optional)
|
|
1955
1955
|
containerStyles: n,
|
|
1956
1956
|
//Title on top of the legend
|
|
1957
1957
|
title: d,
|
|
1958
1958
|
//Array to display the info behind the title should have: [{title, value}, ...]
|
|
1959
|
-
infoList:
|
|
1959
|
+
infoList: s,
|
|
1960
1960
|
//Array to display the items of the legend: [{title, color}, ...]
|
|
1961
1961
|
//color should be a string with hexadecimal value
|
|
1962
1962
|
legendList: o,
|
|
@@ -1980,19 +1980,19 @@ const D0 = "_legendContainer_qs4x9_3", L0 = "_closeButton_qs4x9_31", F0 = "_titl
|
|
|
1980
1980
|
style: n ? { ...n } : {},
|
|
1981
1981
|
className: `${F.legendContainer}`,
|
|
1982
1982
|
children: [
|
|
1983
|
-
/* @__PURE__ */
|
|
1984
|
-
d && /* @__PURE__ */
|
|
1985
|
-
|
|
1986
|
-
/* @__PURE__ */
|
|
1983
|
+
/* @__PURE__ */ i("button", { className: F.closeButton, onClick: c }),
|
|
1984
|
+
d && /* @__PURE__ */ i("div", { className: F.titleContainer, style: { marginBottom: (!s || s.length == 0) && "15px" }, children: /* @__PURE__ */ i("h2", { children: d }) }),
|
|
1985
|
+
s && s.length > 0 && /* @__PURE__ */ i("div", { className: F.infoContainer, children: /* @__PURE__ */ i("ul", { children: s.map(({ title: h, value: g }) => /* @__PURE__ */ p("li", { children: [
|
|
1986
|
+
/* @__PURE__ */ i("h3", { className: F.title, children: `${h}:` }),
|
|
1987
1987
|
/* @__PURE__ */ p("span", { className: F.value, children: [
|
|
1988
1988
|
" ",
|
|
1989
1989
|
g
|
|
1990
1990
|
] })
|
|
1991
1991
|
] }, d)) }) }),
|
|
1992
|
-
/* @__PURE__ */
|
|
1992
|
+
/* @__PURE__ */ i("h3", { className: F.titleLegendList, style: { marginTop: s && s.length > 0 && "30px" }, children: t && /* @__PURE__ */ i(ze, { i18nKey: t, components: { sup: /* @__PURE__ */ i("sup", {}) }, shouldUnescape: !0 }) }),
|
|
1993
1993
|
/* @__PURE__ */ p("div", { className: F.legendListContainer, children: [
|
|
1994
1994
|
r ? /* @__PURE__ */ p("div", { className: F.absoluteValueContainer, children: [
|
|
1995
|
-
/* @__PURE__ */
|
|
1995
|
+
/* @__PURE__ */ i(
|
|
1996
1996
|
"div",
|
|
1997
1997
|
{
|
|
1998
1998
|
className: F.absoluteValueColor,
|
|
@@ -2018,9 +2018,9 @@ const D0 = "_legendContainer_qs4x9_3", L0 = "_closeButton_qs4x9_31", F0 = "_titl
|
|
|
2018
2018
|
u(r.unit)
|
|
2019
2019
|
] })
|
|
2020
2020
|
] })
|
|
2021
|
-
] }) : o && o.length > 0 && /* @__PURE__ */
|
|
2021
|
+
] }) : o && o.length > 0 && /* @__PURE__ */ i("div", { className: F.gridContainer, children: o.map(
|
|
2022
2022
|
({ title: h, color: g }) => /* @__PURE__ */ p("div", { className: F.elementLegendContainer, children: [
|
|
2023
|
-
/* @__PURE__ */
|
|
2023
|
+
/* @__PURE__ */ i(
|
|
2024
2024
|
"div",
|
|
2025
2025
|
{
|
|
2026
2026
|
className: F.colorDot,
|
|
@@ -2034,7 +2034,7 @@ const D0 = "_legendContainer_qs4x9_3", L0 = "_closeButton_qs4x9_31", F0 = "_titl
|
|
|
2034
2034
|
] }, d)
|
|
2035
2035
|
) }),
|
|
2036
2036
|
r.noDataColor && /* @__PURE__ */ p("div", { className: F.noDataContainer, children: [
|
|
2037
|
-
/* @__PURE__ */
|
|
2037
|
+
/* @__PURE__ */ i(
|
|
2038
2038
|
"div",
|
|
2039
2039
|
{
|
|
2040
2040
|
className: F.noData,
|
|
@@ -2043,15 +2043,15 @@ const D0 = "_legendContainer_qs4x9_3", L0 = "_closeButton_qs4x9_31", F0 = "_titl
|
|
|
2043
2043
|
}
|
|
2044
2044
|
}
|
|
2045
2045
|
),
|
|
2046
|
-
/* @__PURE__ */
|
|
2046
|
+
/* @__PURE__ */ i("div", { className: F.absoluteValueText, children: /* @__PURE__ */ i("span", { children: u(r.noDataText) }) })
|
|
2047
2047
|
] })
|
|
2048
2048
|
] }),
|
|
2049
|
-
a && /* @__PURE__ */
|
|
2049
|
+
a && /* @__PURE__ */ i("button", { className: F.moreInfoContainer, onClick: a, children: l || u("moreInformation") })
|
|
2050
2050
|
]
|
|
2051
2051
|
}
|
|
2052
2052
|
);
|
|
2053
2053
|
};
|
|
2054
|
-
|
|
2054
|
+
U0.propTypes = {
|
|
2055
2055
|
title: e.string,
|
|
2056
2056
|
containerStyles: e.object,
|
|
2057
2057
|
infoList: e.arrayOf(
|
|
@@ -2078,26 +2078,26 @@ H0.propTypes = {
|
|
|
2078
2078
|
onClickClose: e.func,
|
|
2079
2079
|
noDataColor: e.string
|
|
2080
2080
|
};
|
|
2081
|
-
const
|
|
2082
|
-
logo:
|
|
2083
|
-
},
|
|
2084
|
-
const { t: o } = k(), t = /* @__PURE__ */
|
|
2085
|
-
return
|
|
2081
|
+
const G0 = "_logo_1ewa6_2", et = {
|
|
2082
|
+
logo: G0
|
|
2083
|
+
}, W0 = ({ src: n, alt: d, href: s }) => {
|
|
2084
|
+
const { t: o } = k(), t = /* @__PURE__ */ i("img", { src: n, alt: o(d) });
|
|
2085
|
+
return s ? /* @__PURE__ */ i("div", { className: et.logo, children: /* @__PURE__ */ i("a", { href: s, children: t }) }) : /* @__PURE__ */ i("div", { className: et.logo, children: t });
|
|
2086
2086
|
};
|
|
2087
|
-
|
|
2087
|
+
W0.propTypes = {
|
|
2088
2088
|
src: e.string.isRequired,
|
|
2089
2089
|
alt: e.string.isRequired,
|
|
2090
2090
|
href: e.string,
|
|
2091
2091
|
className: e.string
|
|
2092
2092
|
};
|
|
2093
|
-
const
|
|
2094
|
-
mapContainer:
|
|
2093
|
+
const Y0 = "_mapContainer_84pkf_2", Q0 = {
|
|
2094
|
+
mapContainer: Y0
|
|
2095
2095
|
};
|
|
2096
|
-
|
|
2097
|
-
const
|
|
2096
|
+
Mt.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
|
|
2097
|
+
const X0 = ({
|
|
2098
2098
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2099
2099
|
maxZoom: d = 17,
|
|
2100
|
-
minZoom:
|
|
2100
|
+
minZoom: s = 8,
|
|
2101
2101
|
mapStyle: o,
|
|
2102
2102
|
firstSymbolLayer: t,
|
|
2103
2103
|
cssProps: r = "",
|
|
@@ -2107,33 +2107,33 @@ const Q0 = ({
|
|
|
2107
2107
|
sources: u = [],
|
|
2108
2108
|
layers: h = []
|
|
2109
2109
|
}) => {
|
|
2110
|
-
const g = ne(), [_, y] = L(null), m =
|
|
2111
|
-
return
|
|
2110
|
+
const g = ne(), [_, y] = L(null), m = Ft((b) => b.mapState.showTexts);
|
|
2111
|
+
return T(() => {
|
|
2112
2112
|
if (g.current) {
|
|
2113
2113
|
const b = g.current.getMap();
|
|
2114
2114
|
b.getStyle().layers.map((f) => {
|
|
2115
2115
|
f.type == "symbol" && f.id != "professionals" && (m ? b.setLayoutProperty(f.id, "visibility", "visible") : b.setLayoutProperty(f.id, "visibility", "none"));
|
|
2116
2116
|
});
|
|
2117
2117
|
}
|
|
2118
|
-
}, [m]), /* @__PURE__ */
|
|
2119
|
-
|
|
2118
|
+
}, [m]), /* @__PURE__ */ i("div", { className: `${Q0.mapContainer}`, style: r, children: /* @__PURE__ */ p(
|
|
2119
|
+
At,
|
|
2120
2120
|
{
|
|
2121
2121
|
initialViewState: n,
|
|
2122
2122
|
ref: g,
|
|
2123
2123
|
hash: !1,
|
|
2124
2124
|
maxZoom: d,
|
|
2125
|
-
minZoom:
|
|
2125
|
+
minZoom: s,
|
|
2126
2126
|
mapStyle: o,
|
|
2127
2127
|
onClick: a,
|
|
2128
2128
|
interactiveLayerIds: l,
|
|
2129
2129
|
children: [
|
|
2130
|
-
u.length && u.map((b, C) => /* @__PURE__ */
|
|
2131
|
-
|
|
2130
|
+
u.length && u.map((b, C) => /* @__PURE__ */ i(
|
|
2131
|
+
Ot,
|
|
2132
2132
|
{
|
|
2133
2133
|
...b,
|
|
2134
2134
|
children: h.length && h.map((f, v) => {
|
|
2135
|
-
if (f.sourceId == b.id) return /* @__PURE__ */
|
|
2136
|
-
|
|
2135
|
+
if (f.sourceId == b.id) return /* @__PURE__ */ i(
|
|
2136
|
+
It,
|
|
2137
2137
|
{
|
|
2138
2138
|
...f.layer,
|
|
2139
2139
|
beforeId: t
|
|
@@ -2144,9 +2144,9 @@ const Q0 = ({
|
|
|
2144
2144
|
},
|
|
2145
2145
|
C
|
|
2146
2146
|
)),
|
|
2147
|
-
/* @__PURE__ */
|
|
2148
|
-
c && _ && /* @__PURE__ */
|
|
2149
|
-
|
|
2147
|
+
/* @__PURE__ */ i(Rt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2148
|
+
c && _ && /* @__PURE__ */ i(
|
|
2149
|
+
qt,
|
|
2150
2150
|
{
|
|
2151
2151
|
longitude: c.longitude,
|
|
2152
2152
|
latitude: c.latitude,
|
|
@@ -2159,7 +2159,7 @@ const Q0 = ({
|
|
|
2159
2159
|
}
|
|
2160
2160
|
) });
|
|
2161
2161
|
};
|
|
2162
|
-
|
|
2162
|
+
X0.propTypes = {
|
|
2163
2163
|
initialView: e.shape({
|
|
2164
2164
|
latitude: e.number.isRequired,
|
|
2165
2165
|
longitude: e.number.isRequired,
|
|
@@ -2204,28 +2204,28 @@ Q0.propTypes = {
|
|
|
2204
2204
|
})
|
|
2205
2205
|
)
|
|
2206
2206
|
};
|
|
2207
|
-
const
|
|
2208
|
-
mapContainer:
|
|
2209
|
-
},
|
|
2210
|
-
FeaturePopUp:
|
|
2211
|
-
title:
|
|
2212
|
-
},
|
|
2207
|
+
const J0 = "_mapContainer_b0pyr_3", en = {
|
|
2208
|
+
mapContainer: J0
|
|
2209
|
+
}, tn = "_FeaturePopUp_mt8l5_2", nn = "_title_mt8l5_9", tt = {
|
|
2210
|
+
FeaturePopUp: tn,
|
|
2211
|
+
title: nn
|
|
2212
|
+
}, sn = ({ props: n }) => {
|
|
2213
2213
|
const { t: d } = k();
|
|
2214
|
-
return /* @__PURE__ */
|
|
2215
|
-
/* @__PURE__ */ p("span", { className:
|
|
2216
|
-
/* @__PURE__ */
|
|
2214
|
+
return /* @__PURE__ */ i("div", { className: tt.FeaturePopUp, children: n.map((s) => /* @__PURE__ */ p("p", { children: [
|
|
2215
|
+
/* @__PURE__ */ p("span", { className: tt.title, children: [
|
|
2216
|
+
/* @__PURE__ */ i(ze, { i18nKey: s.name, components: { sup: /* @__PURE__ */ i("sup", {}) }, shouldUnescape: !0 }),
|
|
2217
2217
|
":"
|
|
2218
2218
|
] }),
|
|
2219
|
-
isNaN(
|
|
2220
|
-
|
|
2219
|
+
isNaN(s.value) ? /* @__PURE__ */ i(Oe, { children: d(s.value) }) : /* @__PURE__ */ p(Oe, { children: [
|
|
2220
|
+
s.value.toLocaleString("de", { maximumFractionDigits: 2 }),
|
|
2221
2221
|
" ",
|
|
2222
|
-
d(
|
|
2222
|
+
d(s.unit)
|
|
2223
2223
|
] })
|
|
2224
2224
|
] })) });
|
|
2225
|
-
},
|
|
2225
|
+
}, on = ({
|
|
2226
2226
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2227
2227
|
maxZoom: d = 17,
|
|
2228
|
-
minZoom:
|
|
2228
|
+
minZoom: s = 8,
|
|
2229
2229
|
mapStyle: o,
|
|
2230
2230
|
firstSymbolLayer: t,
|
|
2231
2231
|
cssProps: r = {},
|
|
@@ -2240,38 +2240,38 @@ const X0 = "_mapContainer_b0pyr_3", J0 = {
|
|
|
2240
2240
|
}) => {
|
|
2241
2241
|
console.log(h);
|
|
2242
2242
|
const m = ne();
|
|
2243
|
-
return
|
|
2243
|
+
return T(() => {
|
|
2244
2244
|
if (m.current) {
|
|
2245
2245
|
const b = m.current.getMap();
|
|
2246
2246
|
b.getStyle().layers.map((f) => {
|
|
2247
2247
|
f.type == "symbol" && f.id != "professionals" && (y ? b.setLayoutProperty(f.id, "visibility", "visible") : b.setLayoutProperty(f.id, "visibility", "none"));
|
|
2248
2248
|
});
|
|
2249
2249
|
}
|
|
2250
|
-
}, [y]),
|
|
2251
|
-
let b = new
|
|
2252
|
-
return
|
|
2253
|
-
|
|
2250
|
+
}, [y]), T(() => {
|
|
2251
|
+
let b = new Et();
|
|
2252
|
+
return $e.addProtocol("pmtiles", b.tile), () => {
|
|
2253
|
+
$e.removeProtocol("pmtiles");
|
|
2254
2254
|
};
|
|
2255
|
-
}, []), /* @__PURE__ */
|
|
2256
|
-
|
|
2255
|
+
}, []), /* @__PURE__ */ i("div", { className: `${en.mapContainer}`, style: r && r, children: /* @__PURE__ */ p(
|
|
2256
|
+
Pt,
|
|
2257
2257
|
{
|
|
2258
|
-
mapLib:
|
|
2258
|
+
mapLib: $e,
|
|
2259
2259
|
initialViewState: n,
|
|
2260
2260
|
ref: m,
|
|
2261
2261
|
hash: !1,
|
|
2262
2262
|
maxZoom: d,
|
|
2263
|
-
minZoom:
|
|
2263
|
+
minZoom: s,
|
|
2264
2264
|
mapStyle: o,
|
|
2265
2265
|
onClick: a,
|
|
2266
2266
|
interactiveLayerIds: l,
|
|
2267
2267
|
children: [
|
|
2268
|
-
c.length && c.map((b, C) => /* @__PURE__ */
|
|
2269
|
-
|
|
2268
|
+
c.length && c.map((b, C) => /* @__PURE__ */ i(
|
|
2269
|
+
jt,
|
|
2270
2270
|
{
|
|
2271
2271
|
...b,
|
|
2272
2272
|
children: u.length && u.map((f, v) => {
|
|
2273
|
-
if (f.sourceId == b.id) return /* @__PURE__ */
|
|
2274
|
-
|
|
2273
|
+
if (f.sourceId == b.id) return /* @__PURE__ */ i(
|
|
2274
|
+
zt,
|
|
2275
2275
|
{
|
|
2276
2276
|
...f.layer,
|
|
2277
2277
|
beforeId: t,
|
|
@@ -2283,21 +2283,21 @@ const X0 = "_mapContainer_b0pyr_3", J0 = {
|
|
|
2283
2283
|
},
|
|
2284
2284
|
C
|
|
2285
2285
|
)),
|
|
2286
|
-
/* @__PURE__ */
|
|
2287
|
-
g && /* @__PURE__ */
|
|
2288
|
-
|
|
2286
|
+
/* @__PURE__ */ i(Zt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2287
|
+
g && /* @__PURE__ */ i(
|
|
2288
|
+
Kt,
|
|
2289
2289
|
{
|
|
2290
2290
|
longitude: g.lng,
|
|
2291
2291
|
latitude: g.lat,
|
|
2292
2292
|
onClose: _,
|
|
2293
|
-
children: /* @__PURE__ */
|
|
2293
|
+
children: /* @__PURE__ */ i(sn, { props: g.props })
|
|
2294
2294
|
}
|
|
2295
2295
|
)
|
|
2296
2296
|
]
|
|
2297
2297
|
}
|
|
2298
2298
|
) });
|
|
2299
2299
|
};
|
|
2300
|
-
|
|
2300
|
+
on.propTypes = {
|
|
2301
2301
|
initialView: e.shape({
|
|
2302
2302
|
latitude: e.number.isRequired,
|
|
2303
2303
|
longitude: e.number.isRequired,
|
|
@@ -2340,17 +2340,17 @@ sn.propTypes = {
|
|
|
2340
2340
|
popUpParams: e.object,
|
|
2341
2341
|
onClosePopUp: e.func
|
|
2342
2342
|
};
|
|
2343
|
-
const
|
|
2344
|
-
sectionBar:
|
|
2345
|
-
leftContent:
|
|
2346
|
-
textContainer:
|
|
2347
|
-
title:
|
|
2348
|
-
subtitle:
|
|
2349
|
-
rightContent:
|
|
2350
|
-
},
|
|
2343
|
+
const rn = "_sectionBar_1egwc_2", an = "_leftContent_1egwc_14", ln = "_textContainer_1egwc_20", cn = "_title_1egwc_27", dn = "_subtitle_1egwc_33", un = "_rightContent_1egwc_38", X = {
|
|
2344
|
+
sectionBar: rn,
|
|
2345
|
+
leftContent: an,
|
|
2346
|
+
textContainer: ln,
|
|
2347
|
+
title: cn,
|
|
2348
|
+
subtitle: dn,
|
|
2349
|
+
rightContent: un
|
|
2350
|
+
}, pn = ({
|
|
2351
2351
|
leftIcon: n,
|
|
2352
2352
|
title: d,
|
|
2353
|
-
subtitle:
|
|
2353
|
+
subtitle: s,
|
|
2354
2354
|
rightContent: o,
|
|
2355
2355
|
mainColor: t,
|
|
2356
2356
|
width: r
|
|
@@ -2358,16 +2358,16 @@ const on = "_sectionBar_1egwc_2", rn = "_leftContent_1egwc_14", an = "_textConta
|
|
|
2358
2358
|
const { t: a } = k();
|
|
2359
2359
|
return /* @__PURE__ */ p("div", { className: X.sectionBar, style: { width: r && r }, children: [
|
|
2360
2360
|
/* @__PURE__ */ p("div", { className: X.leftContent, children: [
|
|
2361
|
-
n && /* @__PURE__ */
|
|
2361
|
+
n && /* @__PURE__ */ i("img", { src: n, alt: "Icono", className: X.icon }),
|
|
2362
2362
|
/* @__PURE__ */ p("div", { className: X.textContainer, children: [
|
|
2363
|
-
/* @__PURE__ */
|
|
2364
|
-
|
|
2363
|
+
/* @__PURE__ */ i("div", { className: X.title, children: a(d) }),
|
|
2364
|
+
s && /* @__PURE__ */ i("div", { className: X.subtitle, children: s })
|
|
2365
2365
|
] })
|
|
2366
2366
|
] }),
|
|
2367
|
-
/* @__PURE__ */
|
|
2367
|
+
/* @__PURE__ */ i("div", { className: X.rightContent, children: o })
|
|
2368
2368
|
] });
|
|
2369
2369
|
};
|
|
2370
|
-
|
|
2370
|
+
pn.propTypes = {
|
|
2371
2371
|
leftIcon: e.string,
|
|
2372
2372
|
// URL del icono de la sección
|
|
2373
2373
|
title: e.string.isRequired,
|
|
@@ -2381,7 +2381,7 @@ un.propTypes = {
|
|
|
2381
2381
|
width: e.oneOfType([e.string, e.number])
|
|
2382
2382
|
// ancho de la barra
|
|
2383
2383
|
};
|
|
2384
|
-
const
|
|
2384
|
+
const mn = Ht({
|
|
2385
2385
|
name: "mapSlice",
|
|
2386
2386
|
initialState: {
|
|
2387
2387
|
showTexts: !0,
|
|
@@ -2407,14 +2407,14 @@ const pn = Kt({
|
|
|
2407
2407
|
n.activeIndicatorUnit = d.payload;
|
|
2408
2408
|
}
|
|
2409
2409
|
}
|
|
2410
|
-
}), { setShowTexts:
|
|
2411
|
-
slider:
|
|
2412
|
-
playButton:
|
|
2413
|
-
sliderOpen:
|
|
2414
|
-
sliderResults:
|
|
2415
|
-
},
|
|
2416
|
-
const [a, l] = L(d), c =
|
|
2417
|
-
l(v), c(
|
|
2410
|
+
}), { setShowTexts: Xs, setYear: De, setActiveIndicatorKey: Js, setActiveIndicatorType: eo, setActiveIndicatorUnit: to } = mn.actions, hn = "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", gn = "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", Cn = "_slider_a19yo_2", fn = "_playButton_a19yo_17", bn = "_sliderOpen_a19yo_28", _n = "_sliderResults_a19yo_32", me = {
|
|
2411
|
+
slider: Cn,
|
|
2412
|
+
playButton: fn,
|
|
2413
|
+
sliderOpen: bn,
|
|
2414
|
+
sliderResults: _n
|
|
2415
|
+
}, yn = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: s = 2025, lastYear: o = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
|
|
2416
|
+
const [a, l] = L(d), c = Vt(), u = (f, v) => {
|
|
2417
|
+
l(v), c(De(v - 2e3));
|
|
2418
2418
|
}, [h, g] = L(!1), _ = () => {
|
|
2419
2419
|
g(!0);
|
|
2420
2420
|
}, y = () => {
|
|
@@ -2422,9 +2422,9 @@ const pn = Kt({
|
|
|
2422
2422
|
};
|
|
2423
2423
|
((f, v) => {
|
|
2424
2424
|
const N = ne();
|
|
2425
|
-
|
|
2425
|
+
T(() => {
|
|
2426
2426
|
N.current = f;
|
|
2427
|
-
}, [f]),
|
|
2427
|
+
}, [f]), T(() => {
|
|
2428
2428
|
function x() {
|
|
2429
2429
|
N.current();
|
|
2430
2430
|
}
|
|
@@ -2434,9 +2434,9 @@ const pn = Kt({
|
|
|
2434
2434
|
}
|
|
2435
2435
|
}, [v]);
|
|
2436
2436
|
})(() => {
|
|
2437
|
-
h && (a != 2050 ? (l(a + 1), c(
|
|
2437
|
+
h && (a != 2050 ? (l(a + 1), c(De(a - 2e3 + 1))) : (l(2025), c(De(25))));
|
|
2438
2438
|
}, 1e3);
|
|
2439
|
-
const b =
|
|
2439
|
+
const b = Gt({
|
|
2440
2440
|
palette: {
|
|
2441
2441
|
primary: {
|
|
2442
2442
|
main: "#605b56"
|
|
@@ -2464,23 +2464,23 @@ const pn = Kt({
|
|
|
2464
2464
|
{ label: "", value: 2041 },
|
|
2465
2465
|
{ label: "", value: 2050 }
|
|
2466
2466
|
];
|
|
2467
|
-
return /* @__PURE__ */
|
|
2468
|
-
|
|
2467
|
+
return /* @__PURE__ */ i(Yt, { theme: b, children: /* @__PURE__ */ p(
|
|
2468
|
+
Wt,
|
|
2469
2469
|
{
|
|
2470
2470
|
sx: { width: 400 },
|
|
2471
|
-
className: `${n ?
|
|
2471
|
+
className: `${n ? me.sliderResults : me.slider} ${r ? me.sliderOpen : ""}`,
|
|
2472
2472
|
style: { zIndex: t },
|
|
2473
2473
|
children: [
|
|
2474
|
-
|
|
2475
|
-
/* @__PURE__ */
|
|
2476
|
-
|
|
2474
|
+
s,
|
|
2475
|
+
/* @__PURE__ */ i(
|
|
2476
|
+
Ut,
|
|
2477
2477
|
{
|
|
2478
2478
|
"aria-label": "TimeSlider",
|
|
2479
2479
|
value: a,
|
|
2480
2480
|
valueLabelDisplay: "on",
|
|
2481
2481
|
step: 1,
|
|
2482
2482
|
marks: C,
|
|
2483
|
-
min:
|
|
2483
|
+
min: s,
|
|
2484
2484
|
max: o,
|
|
2485
2485
|
onChange: u,
|
|
2486
2486
|
color: "primary",
|
|
@@ -2488,13 +2488,13 @@ const pn = Kt({
|
|
|
2488
2488
|
}
|
|
2489
2489
|
),
|
|
2490
2490
|
o,
|
|
2491
|
-
!h && /* @__PURE__ */
|
|
2492
|
-
h && /* @__PURE__ */
|
|
2491
|
+
!h && /* @__PURE__ */ i("button", { className: me.playButton, onClick: _, children: /* @__PURE__ */ i("img", { src: hn, alt: "Play" }) }),
|
|
2492
|
+
h && /* @__PURE__ */ i("button", { className: me.playButton, onClick: y, children: /* @__PURE__ */ i("img", { src: gn, alt: "Pause" }) })
|
|
2493
2493
|
]
|
|
2494
2494
|
}
|
|
2495
2495
|
) });
|
|
2496
2496
|
};
|
|
2497
|
-
|
|
2497
|
+
yn.propTypes = {
|
|
2498
2498
|
defaultYear: e.number,
|
|
2499
2499
|
onResults: e.bool,
|
|
2500
2500
|
firstYear: e.number,
|
|
@@ -2502,36 +2502,36 @@ _n.propTypes = {
|
|
|
2502
2502
|
zIndex: e.number,
|
|
2503
2503
|
rightBarOpen: e.bool
|
|
2504
2504
|
};
|
|
2505
|
-
const
|
|
2506
|
-
TopNavMenuContainer:
|
|
2507
|
-
topNavOptions:
|
|
2508
|
-
active:
|
|
2509
|
-
},
|
|
2505
|
+
const vn = "_TopNavMenuContainer_12mp4_2", xn = "_topNavOptions_12mp4_13", wn = "_active_12mp4_27", Me = {
|
|
2506
|
+
TopNavMenuContainer: vn,
|
|
2507
|
+
topNavOptions: xn,
|
|
2508
|
+
active: wn
|
|
2509
|
+
}, Nn = ({
|
|
2510
2510
|
options: n = [],
|
|
2511
2511
|
containerStyles: d,
|
|
2512
|
-
borderColor:
|
|
2512
|
+
borderColor: s = "red",
|
|
2513
2513
|
textColor: o = "white",
|
|
2514
2514
|
onChangeNavLink: t = (r) => {
|
|
2515
2515
|
console.log("Changed NavLink", r);
|
|
2516
2516
|
}
|
|
2517
2517
|
}) => {
|
|
2518
2518
|
const { t: r } = k();
|
|
2519
|
-
return /* @__PURE__ */
|
|
2520
|
-
|
|
2519
|
+
return /* @__PURE__ */ i("div", { className: Me.TopNavMenuContainer, style: { ...d }, children: n.map((a, l) => /* @__PURE__ */ i(
|
|
2520
|
+
Qt,
|
|
2521
2521
|
{
|
|
2522
2522
|
to: a.url,
|
|
2523
|
-
className: ({ isActive: c }) => `${
|
|
2523
|
+
className: ({ isActive: c }) => `${Me.topNavOptions} ${c ? Me.active : ""} `,
|
|
2524
2524
|
onClick: () => t(a.url),
|
|
2525
2525
|
style: ({ isActive: c }) => ({
|
|
2526
2526
|
color: o,
|
|
2527
|
-
borderBottom: c ? `5px solid ${
|
|
2527
|
+
borderBottom: c ? `5px solid ${s}` : "5px solid transparent"
|
|
2528
2528
|
}),
|
|
2529
2529
|
children: r(a.name)
|
|
2530
2530
|
},
|
|
2531
2531
|
l
|
|
2532
2532
|
)) });
|
|
2533
2533
|
};
|
|
2534
|
-
|
|
2534
|
+
Nn.propTypes = {
|
|
2535
2535
|
options: e.arrayOf(e.object),
|
|
2536
2536
|
cssProps: e.shape({
|
|
2537
2537
|
borderColor: e.string.isRequired,
|
|
@@ -2541,12 +2541,12 @@ wn.propTypes = {
|
|
|
2541
2541
|
// activeColor: PropTypes.string,
|
|
2542
2542
|
// defaultColor: PropTypes.string
|
|
2543
2543
|
};
|
|
2544
|
-
const
|
|
2545
|
-
LogInButton:
|
|
2546
|
-
},
|
|
2544
|
+
const kn = "_LogInButton_1vxj5_2", $n = {
|
|
2545
|
+
LogInButton: kn
|
|
2546
|
+
}, Sn = ({
|
|
2547
2547
|
cssClass: n,
|
|
2548
2548
|
notLoggedInLabel: d = "Log in",
|
|
2549
|
-
loggedInLabel:
|
|
2549
|
+
loggedInLabel: s = "Log out",
|
|
2550
2550
|
containerStyles: o,
|
|
2551
2551
|
userName: t = "",
|
|
2552
2552
|
isLoggedIn: r = !1,
|
|
@@ -2558,17 +2558,17 @@ const Nn = "_LogInButton_1vxj5_2", kn = {
|
|
|
2558
2558
|
}
|
|
2559
2559
|
}) => {
|
|
2560
2560
|
const { t: c } = k();
|
|
2561
|
-
return /* @__PURE__ */
|
|
2561
|
+
return /* @__PURE__ */ i(
|
|
2562
2562
|
"div",
|
|
2563
2563
|
{
|
|
2564
2564
|
style: { ...o },
|
|
2565
|
-
className: `${
|
|
2565
|
+
className: `${$n.LogInButton} link ${n}`,
|
|
2566
2566
|
onClick: r ? l : a,
|
|
2567
|
-
children: r ? t || c(
|
|
2567
|
+
children: r ? t || c(s) : c(d)
|
|
2568
2568
|
}
|
|
2569
2569
|
);
|
|
2570
2570
|
};
|
|
2571
|
-
|
|
2571
|
+
Sn.propTypes = {
|
|
2572
2572
|
cssClass: e.string,
|
|
2573
2573
|
notLoggedInLabel: e.string,
|
|
2574
2574
|
loggedInLabel: e.string,
|
|
@@ -2576,54 +2576,54 @@ Bn.propTypes = {
|
|
|
2576
2576
|
userName: e.string,
|
|
2577
2577
|
isLoggedIn: e.bool
|
|
2578
2578
|
};
|
|
2579
|
-
const
|
|
2580
|
-
elementSelector:
|
|
2581
|
-
header:
|
|
2582
|
-
nameDateContainer:
|
|
2583
|
-
elementName:
|
|
2584
|
-
elementDate:
|
|
2585
|
-
buttonsContainer:
|
|
2586
|
-
elementListContainer:
|
|
2587
|
-
newElementButtonContainer:
|
|
2588
|
-
},
|
|
2589
|
-
listElement:
|
|
2590
|
-
elementNameDate:
|
|
2591
|
-
elementNameContainer:
|
|
2592
|
-
elementName:
|
|
2593
|
-
elementDate:
|
|
2594
|
-
elementButtons:
|
|
2579
|
+
const Bn = "_elementSelector_fd7az_2", Ln = "_header_fd7az_13", Tn = "_nameDateContainer_fd7az_23", Dn = "_elementName_fd7az_39", Mn = "_elementDate_fd7az_53", Fn = "_buttonsContainer_fd7az_67", Vn = "_elementListContainer_fd7az_76", An = "_newElementButtonContainer_fd7az_80", Z = {
|
|
2580
|
+
elementSelector: Bn,
|
|
2581
|
+
header: Ln,
|
|
2582
|
+
nameDateContainer: Tn,
|
|
2583
|
+
elementName: Dn,
|
|
2584
|
+
elementDate: Mn,
|
|
2585
|
+
buttonsContainer: Fn,
|
|
2586
|
+
elementListContainer: Vn,
|
|
2587
|
+
newElementButtonContainer: An
|
|
2588
|
+
}, On = "_listElement_1s506_2", In = "_elementNameDate_1s506_17", Rn = "_elementNameContainer_1s506_27", qn = "_elementName_1s506_17", En = "_elementDate_1s506_42", Pn = "_elementButtons_1s506_45", jn = "_moreInfoContainer_1s506_68", zn = "_moreInfo_1s506_68", P = {
|
|
2589
|
+
listElement: On,
|
|
2590
|
+
elementNameDate: In,
|
|
2591
|
+
elementNameContainer: Rn,
|
|
2592
|
+
elementName: qn,
|
|
2593
|
+
elementDate: En,
|
|
2594
|
+
elementButtons: Pn,
|
|
2595
2595
|
break: "_break_1s506_63",
|
|
2596
|
-
moreInfoContainer:
|
|
2597
|
-
moreInfo:
|
|
2598
|
-
}, zn = "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", Zn = "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", Kn = "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", Hn = "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", Un = "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";
|
|
2599
|
-
var
|
|
2600
|
-
function
|
|
2601
|
-
return
|
|
2596
|
+
moreInfoContainer: jn,
|
|
2597
|
+
moreInfo: zn
|
|
2598
|
+
}, Zn = "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", Kn = "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", Hn = "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", Un = "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", Gn = "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";
|
|
2599
|
+
var nt;
|
|
2600
|
+
function Pe() {
|
|
2601
|
+
return Pe = Object.assign ? Object.assign.bind() : function(n) {
|
|
2602
2602
|
for (var d = 1; d < arguments.length; d++) {
|
|
2603
|
-
var
|
|
2604
|
-
for (var o in
|
|
2603
|
+
var s = arguments[d];
|
|
2604
|
+
for (var o in s) ({}).hasOwnProperty.call(s, o) && (n[o] = s[o]);
|
|
2605
2605
|
}
|
|
2606
2606
|
return n;
|
|
2607
|
-
},
|
|
2607
|
+
}, Pe.apply(null, arguments);
|
|
2608
2608
|
}
|
|
2609
|
-
var
|
|
2610
|
-
return /* @__PURE__ */
|
|
2609
|
+
var Wn = function(d) {
|
|
2610
|
+
return /* @__PURE__ */ de.createElement("svg", Pe({
|
|
2611
2611
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2612
2612
|
width: 26,
|
|
2613
2613
|
height: 14,
|
|
2614
2614
|
fill: "none"
|
|
2615
|
-
}, d),
|
|
2615
|
+
}, d), nt || (nt = /* @__PURE__ */ de.createElement("g", {
|
|
2616
2616
|
fill: "currentColor"
|
|
2617
|
-
}, /* @__PURE__ */
|
|
2617
|
+
}, /* @__PURE__ */ de.createElement("path", {
|
|
2618
2618
|
d: "M12.95.408C7.659.408 2.849 2.772.083 6.726a.47.47 0 0 0 0 .532c2.761 3.955 7.571 6.313 12.867 6.313s10.106-2.358 12.867-6.313a.47.47 0 0 0 0-.532C23.05 2.772 18.24.408 12.95.408m0 10.814A4.24 4.24 0 0 1 8.718 6.99a4.24 4.24 0 0 1 4.232-4.232 4.24 4.24 0 0 1 4.232 4.232 4.24 4.24 0 0 1-4.232 4.232"
|
|
2619
|
-
}), /* @__PURE__ */
|
|
2619
|
+
}), /* @__PURE__ */ de.createElement("path", {
|
|
2620
2620
|
d: "M12.951 10.297a3.307 3.307 0 1 0 0-6.614 3.307 3.307 0 0 0 0 6.614"
|
|
2621
2621
|
}))));
|
|
2622
2622
|
};
|
|
2623
|
-
const
|
|
2623
|
+
const Yn = "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", _t = ({
|
|
2624
2624
|
listelement: n,
|
|
2625
2625
|
onClickElement: d,
|
|
2626
|
-
isActive:
|
|
2626
|
+
isActive: s,
|
|
2627
2627
|
activeColor: o,
|
|
2628
2628
|
fontColor: t,
|
|
2629
2629
|
moreInfo: r,
|
|
@@ -2640,52 +2640,52 @@ const Wn = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2640
2640
|
className: P.listElement,
|
|
2641
2641
|
style: { borderBottom: `1px solid ${t}` },
|
|
2642
2642
|
children: [
|
|
2643
|
-
/* @__PURE__ */
|
|
2644
|
-
h && (
|
|
2643
|
+
/* @__PURE__ */ i("div", { className: P.elementNameDate, onClick: () => d(y), children: Object.keys(a).map((v) => v === "name" ? /* @__PURE__ */ i("div", { className: P.elementNameContainer, children: /* @__PURE__ */ p("div", { className: P.elementName, children: [
|
|
2644
|
+
h && (s ? /* @__PURE__ */ i(Wn, { style: { color: o, marginRight: 9 } }) : /* @__PURE__ */ i(
|
|
2645
2645
|
"img",
|
|
2646
2646
|
{
|
|
2647
2647
|
style: { marginRight: 9 },
|
|
2648
|
-
src:
|
|
2648
|
+
src: Yn,
|
|
2649
2649
|
alt: "eye"
|
|
2650
2650
|
}
|
|
2651
2651
|
)),
|
|
2652
|
-
/* @__PURE__ */
|
|
2653
|
-
] }) }) : v == "data" ? /* @__PURE__ */
|
|
2652
|
+
/* @__PURE__ */ i("span", { style: { color: s ? o : t }, children: g })
|
|
2653
|
+
] }) }) : v == "data" ? /* @__PURE__ */ i("div", { className: P.elementDate, children: _ ? new Date(_).toLocaleDateString() : "" }) : /* @__PURE__ */ i("div", { className: P.elementDate, children: n[v] })) }),
|
|
2654
2654
|
/* @__PURE__ */ p("div", { className: P.elementButtons, children: [
|
|
2655
2655
|
n.processing && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2656
|
-
/* @__PURE__ */
|
|
2657
|
-
/* @__PURE__ */
|
|
2656
|
+
/* @__PURE__ */ i("img", { src: Un }),
|
|
2657
|
+
/* @__PURE__ */ i(te, { text: c, position: "left" })
|
|
2658
2658
|
] }),
|
|
2659
2659
|
l.filter && !n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2660
|
-
/* @__PURE__ */
|
|
2661
|
-
/* @__PURE__ */
|
|
2660
|
+
/* @__PURE__ */ i("button", { onClick: () => l.filter.onclick(n), children: /* @__PURE__ */ i("img", { src: Hn }) }),
|
|
2661
|
+
/* @__PURE__ */ i(te, { text: l.filter.tooltiptext, position: "left" })
|
|
2662
2662
|
] }),
|
|
2663
2663
|
l.copy && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2664
|
-
/* @__PURE__ */
|
|
2665
|
-
/* @__PURE__ */
|
|
2664
|
+
/* @__PURE__ */ i("button", { onClick: () => l.copy.onclick(n), children: /* @__PURE__ */ i("img", { src: Kn }) }),
|
|
2665
|
+
/* @__PURE__ */ i(te, { text: l.copy.tooltiptext, position: "left" })
|
|
2666
2666
|
] }),
|
|
2667
2667
|
l.trash && !n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2668
|
-
/* @__PURE__ */
|
|
2669
|
-
/* @__PURE__ */
|
|
2668
|
+
/* @__PURE__ */ i("button", { onClick: () => l.trash.onclick(n), children: /* @__PURE__ */ i("img", { src: Zn }) }),
|
|
2669
|
+
/* @__PURE__ */ i(te, { text: l.trash.tooltiptext, position: "left" })
|
|
2670
2670
|
] }),
|
|
2671
2671
|
n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2672
|
-
/* @__PURE__ */
|
|
2673
|
-
/* @__PURE__ */
|
|
2672
|
+
/* @__PURE__ */ i("img", { src: Gn }),
|
|
2673
|
+
/* @__PURE__ */ i(te, { text: u, position: "left" })
|
|
2674
2674
|
] })
|
|
2675
2675
|
] }),
|
|
2676
|
-
r && /* @__PURE__ */
|
|
2676
|
+
r && /* @__PURE__ */ i("div", { className: P.break }),
|
|
2677
2677
|
r && /* @__PURE__ */ p("div", { className: P.moreInfoContainer, children: [
|
|
2678
2678
|
/* @__PURE__ */ p("div", { className: P.moreInfo, onClick: () => C(!b), children: [
|
|
2679
|
-
/* @__PURE__ */
|
|
2679
|
+
/* @__PURE__ */ i("span", { children: b ? "-" : "+" }),
|
|
2680
2680
|
f(r.label)
|
|
2681
2681
|
] }),
|
|
2682
|
-
r && b && /* @__PURE__ */
|
|
2682
|
+
r && b && /* @__PURE__ */ i("div", { className: P.moreInfoInfo, children: n[r.info] })
|
|
2683
2683
|
] })
|
|
2684
2684
|
]
|
|
2685
2685
|
}
|
|
2686
2686
|
);
|
|
2687
2687
|
};
|
|
2688
|
-
|
|
2688
|
+
_t.propTypes = {
|
|
2689
2689
|
listelement: e.shape({
|
|
2690
2690
|
name: e.string.isRequired,
|
|
2691
2691
|
created_at: e.string,
|
|
@@ -2721,10 +2721,10 @@ bt.propTypes = {
|
|
|
2721
2721
|
defaultTooltip: e.string,
|
|
2722
2722
|
showEye: e.bool
|
|
2723
2723
|
};
|
|
2724
|
-
const
|
|
2724
|
+
const it = "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", Qn = ({
|
|
2725
2725
|
elementsList: n,
|
|
2726
2726
|
activeElementId: d,
|
|
2727
|
-
fontColor:
|
|
2727
|
+
fontColor: s = "#605B56",
|
|
2728
2728
|
activeColor: o,
|
|
2729
2729
|
buttonContainerStyles: t = {},
|
|
2730
2730
|
containerStyles: r = {},
|
|
@@ -2744,7 +2744,7 @@ const nt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2744
2744
|
showEye: y = !0
|
|
2745
2745
|
}) => {
|
|
2746
2746
|
const { t: m } = k(), [b, C] = L(n);
|
|
2747
|
-
|
|
2747
|
+
T(() => {
|
|
2748
2748
|
n && C(n);
|
|
2749
2749
|
}, [n]);
|
|
2750
2750
|
const f = (v) => {
|
|
@@ -2757,31 +2757,31 @@ const nt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2757
2757
|
"div",
|
|
2758
2758
|
{
|
|
2759
2759
|
className: Z.elementSelector,
|
|
2760
|
-
style: { color:
|
|
2760
|
+
style: { color: s, ...r },
|
|
2761
2761
|
children: [
|
|
2762
2762
|
/* @__PURE__ */ p(
|
|
2763
2763
|
"div",
|
|
2764
2764
|
{
|
|
2765
2765
|
className: Z.header,
|
|
2766
|
-
style: { borderBottom: `1px solid ${
|
|
2766
|
+
style: { borderBottom: `1px solid ${s}` },
|
|
2767
2767
|
children: [
|
|
2768
|
-
/* @__PURE__ */
|
|
2769
|
-
/* @__PURE__ */
|
|
2770
|
-
/* @__PURE__ */
|
|
2771
|
-
] }) }, v) : v === "data" ? /* @__PURE__ */
|
|
2772
|
-
/* @__PURE__ */
|
|
2773
|
-
/* @__PURE__ */
|
|
2774
|
-
] }) }, v) : /* @__PURE__ */
|
|
2775
|
-
/* @__PURE__ */
|
|
2768
|
+
/* @__PURE__ */ i("div", { className: Z.nameDateContainer, children: Object.keys(c).map((v) => v === "name" ? /* @__PURE__ */ i("div", { className: Z.elementName, children: /* @__PURE__ */ p("button", { onClick: () => f("name"), children: [
|
|
2769
|
+
/* @__PURE__ */ i("span", { children: m(c.name) }),
|
|
2770
|
+
/* @__PURE__ */ i("img", { src: it, alt: "order arrow" })
|
|
2771
|
+
] }) }, v) : v === "data" ? /* @__PURE__ */ i("div", { className: Z.elementDate, children: /* @__PURE__ */ p("button", { onClick: () => f("date"), children: [
|
|
2772
|
+
/* @__PURE__ */ i("span", { children: m(c.data) }),
|
|
2773
|
+
/* @__PURE__ */ i("img", { src: it, alt: "order arrow" })
|
|
2774
|
+
] }) }, v) : /* @__PURE__ */ i("div", { className: Z.elementDate, children: /* @__PURE__ */ i("span", { children: m(c[v]) }) }, v)) }),
|
|
2775
|
+
/* @__PURE__ */ i("div", { className: Z.buttonsContainer })
|
|
2776
2776
|
]
|
|
2777
2777
|
}
|
|
2778
2778
|
),
|
|
2779
|
-
/* @__PURE__ */
|
|
2780
|
-
|
|
2779
|
+
/* @__PURE__ */ i("div", { className: Z.elementListContainer, children: b && b.length > 0 && b.map((v) => /* @__PURE__ */ i(
|
|
2780
|
+
_t,
|
|
2781
2781
|
{
|
|
2782
2782
|
isActive: d == v.id,
|
|
2783
2783
|
listelement: v,
|
|
2784
|
-
fontColor:
|
|
2784
|
+
fontColor: s,
|
|
2785
2785
|
activeColor: o,
|
|
2786
2786
|
onClickElement: l,
|
|
2787
2787
|
columns: c,
|
|
@@ -2793,8 +2793,8 @@ const nt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2793
2793
|
},
|
|
2794
2794
|
`elementKey${v.id}`
|
|
2795
2795
|
)) }),
|
|
2796
|
-
a && /* @__PURE__ */
|
|
2797
|
-
|
|
2796
|
+
a && /* @__PURE__ */ i("div", { className: Z.newElementButtonContainer, children: /* @__PURE__ */ i(
|
|
2797
|
+
ke,
|
|
2798
2798
|
{
|
|
2799
2799
|
style: { ...t },
|
|
2800
2800
|
onClick: a.onClick,
|
|
@@ -2807,7 +2807,7 @@ const nt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2807
2807
|
}
|
|
2808
2808
|
);
|
|
2809
2809
|
};
|
|
2810
|
-
|
|
2810
|
+
Qn.propTypes = {
|
|
2811
2811
|
elementList: e.arrayOf(
|
|
2812
2812
|
e.shape({
|
|
2813
2813
|
name: e.string.isRequired,
|
|
@@ -2854,68 +2854,68 @@ Yn.propTypes = {
|
|
|
2854
2854
|
defaultTooltip: e.string,
|
|
2855
2855
|
showEye: e.bool
|
|
2856
2856
|
};
|
|
2857
|
-
const
|
|
2857
|
+
const he = {
|
|
2858
2858
|
text: "text",
|
|
2859
2859
|
password: "password",
|
|
2860
2860
|
radioList: "radioList",
|
|
2861
2861
|
select: "select"
|
|
2862
|
-
},
|
|
2863
|
-
textInputContainer:
|
|
2864
|
-
labelContainer:
|
|
2865
|
-
inputContainer:
|
|
2866
|
-
showPasswordButton:
|
|
2867
|
-
forgotPassButton:
|
|
2868
|
-
};
|
|
2869
|
-
var
|
|
2870
|
-
const
|
|
2871
|
-
var
|
|
2862
|
+
}, Xn = "_textInputContainer_1o3iy_2", Jn = "_labelContainer_1o3iy_5", ei = "_inputContainer_1o3iy_8", ti = "_showPasswordButton_1o3iy_14", ni = "_forgotPassButton_1o3iy_26", ge = {
|
|
2863
|
+
textInputContainer: Xn,
|
|
2864
|
+
labelContainer: Jn,
|
|
2865
|
+
inputContainer: ei,
|
|
2866
|
+
showPasswordButton: ti,
|
|
2867
|
+
forgotPassButton: ni
|
|
2868
|
+
};
|
|
2869
|
+
var ii = (n) => n.type === "checkbox", si = (n) => n instanceof Date, yt = (n) => n == null;
|
|
2870
|
+
const oi = (n) => typeof n == "object";
|
|
2871
|
+
var fe = (n) => !yt(n) && !Array.isArray(n) && oi(n) && !si(n), ri = (n) => fe(n) && n.target ? ii(n.target) ? n.target.checked : n.target.value : n, ai = (n) => n.substring(0, n.search(/\.\d+(\.|$)/)) || n, li = (n, d) => n.has(ai(d)), ci = (n) => {
|
|
2872
2872
|
const d = n.constructor && n.constructor.prototype;
|
|
2873
|
-
return
|
|
2874
|
-
},
|
|
2875
|
-
function
|
|
2873
|
+
return fe(d) && d.hasOwnProperty("isPrototypeOf");
|
|
2874
|
+
}, di = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
2875
|
+
function vt(n) {
|
|
2876
2876
|
let d;
|
|
2877
|
-
const
|
|
2877
|
+
const s = Array.isArray(n), o = typeof FileList < "u" ? n instanceof FileList : !1;
|
|
2878
2878
|
if (n instanceof Date)
|
|
2879
2879
|
d = new Date(n);
|
|
2880
|
-
else if (!(
|
|
2881
|
-
if (d =
|
|
2880
|
+
else if (!(di && (n instanceof Blob || o)) && (s || fe(n)))
|
|
2881
|
+
if (d = s ? [] : {}, !s && !ci(n))
|
|
2882
2882
|
d = n;
|
|
2883
2883
|
else
|
|
2884
2884
|
for (const t in n)
|
|
2885
|
-
n.hasOwnProperty(t) && (d[t] =
|
|
2885
|
+
n.hasOwnProperty(t) && (d[t] = vt(n[t]));
|
|
2886
2886
|
else
|
|
2887
2887
|
return n;
|
|
2888
2888
|
return d;
|
|
2889
2889
|
}
|
|
2890
|
-
var
|
|
2891
|
-
if (!d || !
|
|
2892
|
-
return
|
|
2893
|
-
const o = (
|
|
2894
|
-
return
|
|
2895
|
-
},
|
|
2890
|
+
var xt = (n) => /^\w*$/.test(n), je = (n) => n === void 0, ui = (n) => Array.isArray(n) ? n.filter(Boolean) : [], wt = (n) => ui(n.replace(/["|']|\]/g, "").split(/\.|\[/)), I = (n, d, s) => {
|
|
2891
|
+
if (!d || !fe(n))
|
|
2892
|
+
return s;
|
|
2893
|
+
const o = (xt(d) ? [d] : wt(d)).reduce((t, r) => yt(t) ? t : t[r], n);
|
|
2894
|
+
return je(o) || o === n ? je(n[d]) ? s : n[d] : o;
|
|
2895
|
+
}, Fe = (n) => typeof n == "boolean", st = (n, d, s) => {
|
|
2896
2896
|
let o = -1;
|
|
2897
|
-
const t =
|
|
2897
|
+
const t = xt(d) ? [d] : wt(d), r = t.length, a = r - 1;
|
|
2898
2898
|
for (; ++o < r; ) {
|
|
2899
2899
|
const l = t[o];
|
|
2900
|
-
let c =
|
|
2900
|
+
let c = s;
|
|
2901
2901
|
if (o !== a) {
|
|
2902
2902
|
const u = n[l];
|
|
2903
|
-
c =
|
|
2903
|
+
c = fe(u) || Array.isArray(u) ? u : isNaN(+t[o + 1]) ? {} : [];
|
|
2904
2904
|
}
|
|
2905
2905
|
if (l === "__proto__" || l === "constructor" || l === "prototype")
|
|
2906
2906
|
return;
|
|
2907
2907
|
n[l] = c, n = n[l];
|
|
2908
2908
|
}
|
|
2909
2909
|
};
|
|
2910
|
-
const
|
|
2910
|
+
const ot = {
|
|
2911
2911
|
BLUR: "blur",
|
|
2912
2912
|
CHANGE: "change"
|
|
2913
|
-
},
|
|
2913
|
+
}, rt = {
|
|
2914
2914
|
all: "all"
|
|
2915
|
-
},
|
|
2916
|
-
|
|
2917
|
-
const
|
|
2918
|
-
var
|
|
2915
|
+
}, Nt = B.createContext(null);
|
|
2916
|
+
Nt.displayName = "HookFormContext";
|
|
2917
|
+
const Ue = () => B.useContext(Nt);
|
|
2918
|
+
var pi = (n, d, s, o = !0) => {
|
|
2919
2919
|
const t = {
|
|
2920
2920
|
defaultValues: d._defaultValues
|
|
2921
2921
|
};
|
|
@@ -2923,14 +2923,14 @@ var ui = (n, d, i, o = !0) => {
|
|
|
2923
2923
|
Object.defineProperty(t, r, {
|
|
2924
2924
|
get: () => {
|
|
2925
2925
|
const a = r;
|
|
2926
|
-
return d._proxyFormState[a] !==
|
|
2926
|
+
return d._proxyFormState[a] !== rt.all && (d._proxyFormState[a] = !o || rt.all), s && (s[a] = !0), n[a];
|
|
2927
2927
|
}
|
|
2928
2928
|
});
|
|
2929
2929
|
return t;
|
|
2930
2930
|
};
|
|
2931
|
-
const
|
|
2932
|
-
function
|
|
2933
|
-
const d =
|
|
2931
|
+
const kt = typeof window < "u" ? de.useLayoutEffect : de.useEffect;
|
|
2932
|
+
function mi(n) {
|
|
2933
|
+
const d = Ue(), { control: s = d.control, disabled: o, name: t, exact: r } = n || {}, [a, l] = B.useState(s._formState), c = B.useRef({
|
|
2934
2934
|
isDirty: !1,
|
|
2935
2935
|
isLoading: !1,
|
|
2936
2936
|
dirtyFields: !1,
|
|
@@ -2940,142 +2940,142 @@ function pi(n) {
|
|
|
2940
2940
|
isValid: !1,
|
|
2941
2941
|
errors: !1
|
|
2942
2942
|
});
|
|
2943
|
-
return
|
|
2943
|
+
return kt(() => s._subscribe({
|
|
2944
2944
|
name: t,
|
|
2945
2945
|
formState: c.current,
|
|
2946
2946
|
exact: r,
|
|
2947
2947
|
callback: (u) => {
|
|
2948
2948
|
!o && l({
|
|
2949
|
-
...
|
|
2949
|
+
...s._formState,
|
|
2950
2950
|
...u
|
|
2951
2951
|
});
|
|
2952
2952
|
}
|
|
2953
|
-
}), [t, o, r]),
|
|
2954
|
-
c.current.isValid &&
|
|
2955
|
-
}, [
|
|
2953
|
+
}), [t, o, r]), B.useEffect(() => {
|
|
2954
|
+
c.current.isValid && s._setValid(!0);
|
|
2955
|
+
}, [s]), B.useMemo(() => pi(a, s, c.current, !1), [a, s]);
|
|
2956
2956
|
}
|
|
2957
|
-
var
|
|
2958
|
-
function
|
|
2959
|
-
const d =
|
|
2960
|
-
return
|
|
2957
|
+
var hi = (n) => typeof n == "string", gi = (n, d, s, o, t) => hi(n) ? I(s, n, t) : Array.isArray(n) ? n.map((r) => I(s, r)) : s;
|
|
2958
|
+
function Ci(n) {
|
|
2959
|
+
const d = Ue(), { control: s = d.control, name: o, defaultValue: t, disabled: r, exact: a } = n || {}, l = B.useRef(t), [c, u] = B.useState(s._getWatch(o, l.current));
|
|
2960
|
+
return kt(() => s._subscribe({
|
|
2961
2961
|
name: o,
|
|
2962
2962
|
formState: {
|
|
2963
2963
|
values: !0
|
|
2964
2964
|
},
|
|
2965
2965
|
exact: a,
|
|
2966
|
-
callback: (h) => !r && u(
|
|
2967
|
-
}), [o,
|
|
2966
|
+
callback: (h) => !r && u(gi(o, s._names, h.values || s._formValues, !1, l.current))
|
|
2967
|
+
}), [o, s, r, a]), B.useEffect(() => s._removeUnmounted()), c;
|
|
2968
2968
|
}
|
|
2969
|
-
function
|
|
2970
|
-
const d =
|
|
2969
|
+
function fi(n) {
|
|
2970
|
+
const d = Ue(), { name: s, disabled: o, control: t = d.control, shouldUnregister: r } = n, a = li(t._names.array, s), l = Ci({
|
|
2971
2971
|
control: t,
|
|
2972
|
-
name:
|
|
2973
|
-
defaultValue: I(t._formValues,
|
|
2972
|
+
name: s,
|
|
2973
|
+
defaultValue: I(t._formValues, s, I(t._defaultValues, s, n.defaultValue)),
|
|
2974
2974
|
exact: !0
|
|
2975
|
-
}), c =
|
|
2975
|
+
}), c = mi({
|
|
2976
2976
|
control: t,
|
|
2977
|
-
name:
|
|
2977
|
+
name: s,
|
|
2978
2978
|
exact: !0
|
|
2979
|
-
}), u =
|
|
2979
|
+
}), u = B.useRef(n), h = B.useRef(t.register(s, {
|
|
2980
2980
|
...n.rules,
|
|
2981
2981
|
value: l,
|
|
2982
|
-
...
|
|
2983
|
-
})), g =
|
|
2982
|
+
...Fe(n.disabled) ? { disabled: n.disabled } : {}
|
|
2983
|
+
})), g = B.useMemo(() => Object.defineProperties({}, {
|
|
2984
2984
|
invalid: {
|
|
2985
2985
|
enumerable: !0,
|
|
2986
|
-
get: () => !!I(c.errors,
|
|
2986
|
+
get: () => !!I(c.errors, s)
|
|
2987
2987
|
},
|
|
2988
2988
|
isDirty: {
|
|
2989
2989
|
enumerable: !0,
|
|
2990
|
-
get: () => !!I(c.dirtyFields,
|
|
2990
|
+
get: () => !!I(c.dirtyFields, s)
|
|
2991
2991
|
},
|
|
2992
2992
|
isTouched: {
|
|
2993
2993
|
enumerable: !0,
|
|
2994
|
-
get: () => !!I(c.touchedFields,
|
|
2994
|
+
get: () => !!I(c.touchedFields, s)
|
|
2995
2995
|
},
|
|
2996
2996
|
isValidating: {
|
|
2997
2997
|
enumerable: !0,
|
|
2998
|
-
get: () => !!I(c.validatingFields,
|
|
2998
|
+
get: () => !!I(c.validatingFields, s)
|
|
2999
2999
|
},
|
|
3000
3000
|
error: {
|
|
3001
3001
|
enumerable: !0,
|
|
3002
|
-
get: () => I(c.errors,
|
|
3002
|
+
get: () => I(c.errors, s)
|
|
3003
3003
|
}
|
|
3004
|
-
}), [c,
|
|
3004
|
+
}), [c, s]), _ = B.useCallback((C) => h.current.onChange({
|
|
3005
3005
|
target: {
|
|
3006
|
-
value:
|
|
3007
|
-
name:
|
|
3006
|
+
value: ri(C),
|
|
3007
|
+
name: s
|
|
3008
3008
|
},
|
|
3009
|
-
type:
|
|
3010
|
-
}), [
|
|
3009
|
+
type: ot.CHANGE
|
|
3010
|
+
}), [s]), y = B.useCallback(() => h.current.onBlur({
|
|
3011
3011
|
target: {
|
|
3012
|
-
value: I(t._formValues,
|
|
3013
|
-
name:
|
|
3012
|
+
value: I(t._formValues, s),
|
|
3013
|
+
name: s
|
|
3014
3014
|
},
|
|
3015
|
-
type:
|
|
3016
|
-
}), [
|
|
3017
|
-
const f = I(t._fields,
|
|
3015
|
+
type: ot.BLUR
|
|
3016
|
+
}), [s, t._formValues]), m = B.useCallback((C) => {
|
|
3017
|
+
const f = I(t._fields, s);
|
|
3018
3018
|
f && C && (f._f.ref = {
|
|
3019
3019
|
focus: () => C.focus && C.focus(),
|
|
3020
3020
|
select: () => C.select && C.select(),
|
|
3021
3021
|
setCustomValidity: (v) => C.setCustomValidity(v),
|
|
3022
3022
|
reportValidity: () => C.reportValidity()
|
|
3023
3023
|
});
|
|
3024
|
-
}, [t._fields,
|
|
3025
|
-
name:
|
|
3024
|
+
}, [t._fields, s]), b = B.useMemo(() => ({
|
|
3025
|
+
name: s,
|
|
3026
3026
|
value: l,
|
|
3027
|
-
...
|
|
3027
|
+
...Fe(o) || c.disabled ? { disabled: c.disabled || o } : {},
|
|
3028
3028
|
onChange: _,
|
|
3029
3029
|
onBlur: y,
|
|
3030
3030
|
ref: m
|
|
3031
|
-
}), [
|
|
3032
|
-
return
|
|
3031
|
+
}), [s, o, c.disabled, _, y, m, l]);
|
|
3032
|
+
return B.useEffect(() => {
|
|
3033
3033
|
const C = t._options.shouldUnregister || r;
|
|
3034
|
-
t.register(
|
|
3034
|
+
t.register(s, {
|
|
3035
3035
|
...u.current.rules,
|
|
3036
|
-
...
|
|
3036
|
+
...Fe(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
3037
3037
|
});
|
|
3038
3038
|
const f = (v, N) => {
|
|
3039
3039
|
const x = I(t._fields, v);
|
|
3040
3040
|
x && x._f && (x._f.mount = N);
|
|
3041
3041
|
};
|
|
3042
|
-
if (f(
|
|
3043
|
-
const v =
|
|
3044
|
-
|
|
3042
|
+
if (f(s, !0), C) {
|
|
3043
|
+
const v = vt(I(t._options.defaultValues, s));
|
|
3044
|
+
st(t._defaultValues, s, v), je(I(t._formValues, s)) && st(t._formValues, s, v);
|
|
3045
3045
|
}
|
|
3046
|
-
return !a && t.register(
|
|
3047
|
-
(a ? C && !t._state.action : C) ? t.unregister(
|
|
3046
|
+
return !a && t.register(s), () => {
|
|
3047
|
+
(a ? C && !t._state.action : C) ? t.unregister(s) : f(s, !1);
|
|
3048
3048
|
};
|
|
3049
|
-
}, [
|
|
3049
|
+
}, [s, t, a, r]), B.useEffect(() => {
|
|
3050
3050
|
t._setDisabledField({
|
|
3051
3051
|
disabled: o,
|
|
3052
|
-
name:
|
|
3052
|
+
name: s
|
|
3053
3053
|
});
|
|
3054
|
-
}, [o,
|
|
3054
|
+
}, [o, s, t]), B.useMemo(() => ({
|
|
3055
3055
|
field: b,
|
|
3056
3056
|
formState: c,
|
|
3057
3057
|
fieldState: g
|
|
3058
3058
|
}), [b, c, g]);
|
|
3059
3059
|
}
|
|
3060
|
-
const
|
|
3061
|
-
errorMessage:
|
|
3062
|
-
},
|
|
3060
|
+
const be = (n) => n.render(fi(n)), bi = "_errorMessage_1xiyb_2", _i = {
|
|
3061
|
+
errorMessage: bi
|
|
3062
|
+
}, _e = ({
|
|
3063
3063
|
errorMessage: n,
|
|
3064
3064
|
errorColor: d = "red",
|
|
3065
|
-
containerStyles:
|
|
3065
|
+
containerStyles: s
|
|
3066
3066
|
}) => {
|
|
3067
3067
|
const { t: o } = k();
|
|
3068
|
-
return /* @__PURE__ */
|
|
3068
|
+
return /* @__PURE__ */ i(
|
|
3069
3069
|
"div",
|
|
3070
3070
|
{
|
|
3071
|
-
className:
|
|
3072
|
-
style: { color: d, ...
|
|
3071
|
+
className: _i.errorMessage,
|
|
3072
|
+
style: { color: d, ...s },
|
|
3073
3073
|
children: n ? o(n) : ""
|
|
3074
3074
|
}
|
|
3075
3075
|
);
|
|
3076
|
-
},
|
|
3076
|
+
}, at = ({ input: n, reactHookFormInstance: d }) => {
|
|
3077
3077
|
const {
|
|
3078
|
-
code:
|
|
3078
|
+
code: s,
|
|
3079
3079
|
type: o,
|
|
3080
3080
|
label: t,
|
|
3081
3081
|
maxLength: r,
|
|
@@ -3089,35 +3089,35 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3089
3089
|
},
|
|
3090
3090
|
forgotPassLabel: _ = "forgot-password"
|
|
3091
3091
|
} = n, { t: y } = k(), { control: m, trigger: b, clearErrors: C } = d, [f, v] = L(!1), N = ne(a);
|
|
3092
|
-
|
|
3093
|
-
N.current !== a && (a ? b(
|
|
3094
|
-
}, [a,
|
|
3092
|
+
T(() => {
|
|
3093
|
+
N.current !== a && (a ? b(s) : C(s), N.current = a);
|
|
3094
|
+
}, [a, s, b, C]);
|
|
3095
3095
|
const x = () => o ? o === "password" && f ? "text" : o : "text";
|
|
3096
|
-
return /* @__PURE__ */
|
|
3097
|
-
|
|
3096
|
+
return /* @__PURE__ */ i(
|
|
3097
|
+
be,
|
|
3098
3098
|
{
|
|
3099
|
-
name:
|
|
3099
|
+
name: s,
|
|
3100
3100
|
control: m,
|
|
3101
3101
|
rules: {
|
|
3102
3102
|
required: a ? `${y(t)} ${y("errorMessages.required")}` : !1,
|
|
3103
3103
|
maxLength: r || void 0,
|
|
3104
3104
|
validate: l || void 0
|
|
3105
3105
|
},
|
|
3106
|
-
render: ({ field: w, fieldState:
|
|
3107
|
-
var
|
|
3108
|
-
return /* @__PURE__ */ p("div", { className:
|
|
3109
|
-
/* @__PURE__ */ p("h3", { className:
|
|
3106
|
+
render: ({ field: w, fieldState: $ }) => {
|
|
3107
|
+
var S;
|
|
3108
|
+
return /* @__PURE__ */ p("div", { className: ge.textInputContainer, children: [
|
|
3109
|
+
/* @__PURE__ */ p("h3", { className: ge.labelContainer, children: [
|
|
3110
3110
|
y(t),
|
|
3111
3111
|
" ",
|
|
3112
|
-
a && /* @__PURE__ */
|
|
3112
|
+
a && /* @__PURE__ */ i("label", { style: { color: $.error ? u : "" }, children: "*" })
|
|
3113
3113
|
] }),
|
|
3114
3114
|
/* @__PURE__ */ p(
|
|
3115
3115
|
"div",
|
|
3116
3116
|
{
|
|
3117
3117
|
style: { position: "relative", width: h },
|
|
3118
|
-
className:
|
|
3118
|
+
className: ge.inputContainer,
|
|
3119
3119
|
children: [
|
|
3120
|
-
/* @__PURE__ */
|
|
3120
|
+
/* @__PURE__ */ i(
|
|
3121
3121
|
"input",
|
|
3122
3122
|
{
|
|
3123
3123
|
type: x(),
|
|
@@ -3126,23 +3126,23 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3126
3126
|
maxLength: r || void 0
|
|
3127
3127
|
}
|
|
3128
3128
|
),
|
|
3129
|
-
o == "password" && /* @__PURE__ */
|
|
3129
|
+
o == "password" && /* @__PURE__ */ i(
|
|
3130
3130
|
"button",
|
|
3131
3131
|
{
|
|
3132
3132
|
onClick: () => v(!f),
|
|
3133
3133
|
type: "button",
|
|
3134
|
-
className:
|
|
3134
|
+
className: ge.showPasswordButton,
|
|
3135
3135
|
children: f ? "🙈" : "👁️"
|
|
3136
3136
|
}
|
|
3137
3137
|
)
|
|
3138
3138
|
]
|
|
3139
3139
|
}
|
|
3140
3140
|
),
|
|
3141
|
-
o == "password" && /* @__PURE__ */
|
|
3142
|
-
/* @__PURE__ */
|
|
3143
|
-
|
|
3141
|
+
o == "password" && /* @__PURE__ */ i("div", { className: ge.forgotPassButton, children: /* @__PURE__ */ i("button", { onClick: g, children: y(_) }) }),
|
|
3142
|
+
/* @__PURE__ */ i(
|
|
3143
|
+
_e,
|
|
3144
3144
|
{
|
|
3145
|
-
errorMessage: (
|
|
3145
|
+
errorMessage: (S = $.error) == null ? void 0 : S.message,
|
|
3146
3146
|
errorColor: u
|
|
3147
3147
|
}
|
|
3148
3148
|
)
|
|
@@ -3150,22 +3150,22 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3150
3150
|
}
|
|
3151
3151
|
}
|
|
3152
3152
|
);
|
|
3153
|
-
},
|
|
3154
|
-
formContainer:
|
|
3155
|
-
formObjectContainer:
|
|
3156
|
-
buttonContainer:
|
|
3157
|
-
},
|
|
3158
|
-
inputsContainer:
|
|
3159
|
-
},
|
|
3160
|
-
selectInputContainer:
|
|
3161
|
-
labelContainer:
|
|
3162
|
-
inputContainer:
|
|
3163
|
-
selectInput:
|
|
3164
|
-
option:
|
|
3165
|
-
dropdownArrow:
|
|
3166
|
-
},
|
|
3153
|
+
}, yi = "_formContainer_b071f_2", vi = "_formObjectContainer_b071f_11", xi = "_buttonContainer_b071f_22", Ve = {
|
|
3154
|
+
formContainer: yi,
|
|
3155
|
+
formObjectContainer: vi,
|
|
3156
|
+
buttonContainer: xi
|
|
3157
|
+
}, wi = "_inputsContainer_10t9s_2", ae = {
|
|
3158
|
+
inputsContainer: wi
|
|
3159
|
+
}, Ni = "_selectInputContainer_1rj0h_2", ki = "_labelContainer_1rj0h_6", $i = "_inputContainer_1rj0h_9", Si = "_selectInput_1rj0h_2", Bi = "_option_1rj0h_23", Li = "_dropdownArrow_1rj0h_26", le = {
|
|
3160
|
+
selectInputContainer: Ni,
|
|
3161
|
+
labelContainer: ki,
|
|
3162
|
+
inputContainer: $i,
|
|
3163
|
+
selectInput: Si,
|
|
3164
|
+
option: Bi,
|
|
3165
|
+
dropdownArrow: Li
|
|
3166
|
+
}, Ti = "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", Di = ({ input: n, reactHookFormInstance: d }) => {
|
|
3167
3167
|
const {
|
|
3168
|
-
code:
|
|
3168
|
+
code: s,
|
|
3169
3169
|
type: o,
|
|
3170
3170
|
label: t,
|
|
3171
3171
|
maxLength: r,
|
|
@@ -3176,12 +3176,12 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3176
3176
|
width: h = 325,
|
|
3177
3177
|
options: g = []
|
|
3178
3178
|
} = n, { t: _ } = k(), { control: y, trigger: m, clearErrors: b } = d, C = ne(a);
|
|
3179
|
-
return
|
|
3180
|
-
C.current !== a && (a ? m(
|
|
3181
|
-
}, [a,
|
|
3182
|
-
|
|
3179
|
+
return T(() => {
|
|
3180
|
+
C.current !== a && (a ? m(s) : b(s), C.current = a);
|
|
3181
|
+
}, [a, s, m, b]), /* @__PURE__ */ i(
|
|
3182
|
+
be,
|
|
3183
3183
|
{
|
|
3184
|
-
name:
|
|
3184
|
+
name: s,
|
|
3185
3185
|
control: y,
|
|
3186
3186
|
rules: {
|
|
3187
3187
|
required: a ? `${_(t)} ${_("errorMessages.required")}` : !1,
|
|
@@ -3193,7 +3193,7 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3193
3193
|
/* @__PURE__ */ p("h3", { className: le.labelContainer, children: [
|
|
3194
3194
|
_(t),
|
|
3195
3195
|
" ",
|
|
3196
|
-
a && /* @__PURE__ */
|
|
3196
|
+
a && /* @__PURE__ */ i("label", { style: { color: v.error ? u : "" }, children: "*" })
|
|
3197
3197
|
] }),
|
|
3198
3198
|
/* @__PURE__ */ p("div", { className: le.inputContainer, style: { width: h }, children: [
|
|
3199
3199
|
/* @__PURE__ */ p(
|
|
@@ -3201,13 +3201,13 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3201
3201
|
{
|
|
3202
3202
|
...f,
|
|
3203
3203
|
onChange: (x) => {
|
|
3204
|
-
const w = x.target.value,
|
|
3205
|
-
f.onChange(
|
|
3204
|
+
const w = x.target.value, $ = g.every((S) => typeof S.value == "number") ? Number(w) : w;
|
|
3205
|
+
f.onChange($);
|
|
3206
3206
|
},
|
|
3207
3207
|
className: le.selectInput,
|
|
3208
3208
|
children: [
|
|
3209
|
-
/* @__PURE__ */
|
|
3210
|
-
g.map((x, w) => /* @__PURE__ */
|
|
3209
|
+
/* @__PURE__ */ i("option", { value: "", disabled: !0, hidden: !0, children: _(c || "selectOption") }),
|
|
3210
|
+
g.map((x, w) => /* @__PURE__ */ i(
|
|
3211
3211
|
"option",
|
|
3212
3212
|
{
|
|
3213
3213
|
value: x.value,
|
|
@@ -3219,17 +3219,17 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3219
3219
|
]
|
|
3220
3220
|
}
|
|
3221
3221
|
),
|
|
3222
|
-
/* @__PURE__ */
|
|
3222
|
+
/* @__PURE__ */ i(
|
|
3223
3223
|
"img",
|
|
3224
3224
|
{
|
|
3225
|
-
src:
|
|
3225
|
+
src: Ti,
|
|
3226
3226
|
alt: "Open",
|
|
3227
3227
|
className: le.dropdownArrow
|
|
3228
3228
|
}
|
|
3229
3229
|
)
|
|
3230
3230
|
] }),
|
|
3231
|
-
/* @__PURE__ */
|
|
3232
|
-
|
|
3231
|
+
/* @__PURE__ */ i(
|
|
3232
|
+
_e,
|
|
3233
3233
|
{
|
|
3234
3234
|
errorMessage: (N = v.error) == null ? void 0 : N.message,
|
|
3235
3235
|
errorColor: u
|
|
@@ -3239,16 +3239,16 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3239
3239
|
}
|
|
3240
3240
|
}
|
|
3241
3241
|
);
|
|
3242
|
-
},
|
|
3243
|
-
radioButtonContainer:
|
|
3244
|
-
wholeInputContainer:
|
|
3245
|
-
questionContainer:
|
|
3246
|
-
radioQuestion:
|
|
3247
|
-
inputContainer:
|
|
3248
|
-
radioInput:
|
|
3249
|
-
},
|
|
3242
|
+
}, Mi = "_radioButtonContainer_1e994_2", Fi = "_wholeInputContainer_1e994_5", Vi = "_questionContainer_1e994_27", Ai = "_radioQuestion_1e994_59", Oi = "_inputContainer_1e994_63", Ii = "_radioInput_1e994_93", J = {
|
|
3243
|
+
radioButtonContainer: Mi,
|
|
3244
|
+
wholeInputContainer: Fi,
|
|
3245
|
+
questionContainer: Vi,
|
|
3246
|
+
radioQuestion: Ai,
|
|
3247
|
+
inputContainer: Oi,
|
|
3248
|
+
radioInput: Ii
|
|
3249
|
+
}, Ri = ({ input: n, reactHookFormInstance: d }) => {
|
|
3250
3250
|
const {
|
|
3251
|
-
code:
|
|
3251
|
+
code: s,
|
|
3252
3252
|
label: o,
|
|
3253
3253
|
required: t,
|
|
3254
3254
|
validateFunction: r,
|
|
@@ -3263,13 +3263,13 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3263
3263
|
}, m = ({ options: C, onChange: f, actualValue: v }) => {
|
|
3264
3264
|
c ? v && v.length > 0 ? f([...v, C]) : f([C]) : f(C);
|
|
3265
3265
|
}, b = ne(t);
|
|
3266
|
-
return
|
|
3267
|
-
b.current !== t && (t ? g(
|
|
3268
|
-
}, [t,
|
|
3269
|
-
|
|
3266
|
+
return T(() => {
|
|
3267
|
+
b.current !== t && (t ? g(s) : _(s), b.current = t);
|
|
3268
|
+
}, [t, s, g, _]), /* @__PURE__ */ i(
|
|
3269
|
+
be,
|
|
3270
3270
|
{
|
|
3271
3271
|
control: h,
|
|
3272
|
-
name:
|
|
3272
|
+
name: s,
|
|
3273
3273
|
rules: {
|
|
3274
3274
|
validate: (C) => t && (C == null || C === "") ? `${u(o)} ${u("errorMessages.required")}` : null
|
|
3275
3275
|
},
|
|
@@ -3278,17 +3278,17 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3278
3278
|
field: { onChange: f, onBlur: v, value: N, ref: x },
|
|
3279
3279
|
fieldState: w
|
|
3280
3280
|
}) => {
|
|
3281
|
-
var
|
|
3282
|
-
return /* @__PURE__ */
|
|
3283
|
-
o && /* @__PURE__ */
|
|
3281
|
+
var $;
|
|
3282
|
+
return /* @__PURE__ */ i("div", { id: s + "id", className: J.radioButtonContainer, children: /* @__PURE__ */ p("div", { className: J.wholeInputContainer, children: [
|
|
3283
|
+
o && /* @__PURE__ */ i("div", { className: J.questionContainer, children: /* @__PURE__ */ p(
|
|
3284
3284
|
"h3",
|
|
3285
3285
|
{
|
|
3286
|
-
htmlFor:
|
|
3286
|
+
htmlFor: s + "id",
|
|
3287
3287
|
className: `${J.radioQuestion} ${t && J.required}`,
|
|
3288
3288
|
children: [
|
|
3289
3289
|
u(o),
|
|
3290
3290
|
" ",
|
|
3291
|
-
t && /* @__PURE__ */
|
|
3291
|
+
t && /* @__PURE__ */ i(
|
|
3292
3292
|
"label",
|
|
3293
3293
|
{
|
|
3294
3294
|
style: { color: w.error ? a : "" },
|
|
@@ -3301,14 +3301,14 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3301
3301
|
/* @__PURE__ */ p("div", { className: J.inputContainer, children: [
|
|
3302
3302
|
l.map(
|
|
3303
3303
|
({
|
|
3304
|
-
label:
|
|
3305
|
-
value:
|
|
3304
|
+
label: S,
|
|
3305
|
+
value: D,
|
|
3306
3306
|
disabled: j = !1,
|
|
3307
|
-
italicLabel:
|
|
3307
|
+
italicLabel: ue
|
|
3308
3308
|
}, q) => {
|
|
3309
|
-
const z = N && c ? N.isArray && (N == null ? void 0 : N.length) > 0 && N.some((E) => E ===
|
|
3309
|
+
const z = N && c ? N.isArray && (N == null ? void 0 : N.length) > 0 && N.some((E) => E === D) : N === D;
|
|
3310
3310
|
return /* @__PURE__ */ p("label", { children: [
|
|
3311
|
-
/* @__PURE__ */
|
|
3311
|
+
/* @__PURE__ */ i(
|
|
3312
3312
|
"input",
|
|
3313
3313
|
{
|
|
3314
3314
|
type: "radio",
|
|
@@ -3322,20 +3322,20 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3322
3322
|
actualValue: N,
|
|
3323
3323
|
options: l,
|
|
3324
3324
|
onChange: f
|
|
3325
|
-
}) : f(
|
|
3325
|
+
}) : f(D);
|
|
3326
3326
|
},
|
|
3327
3327
|
className: J.radioInput
|
|
3328
3328
|
}
|
|
3329
3329
|
),
|
|
3330
|
-
/* @__PURE__ */
|
|
3331
|
-
u(
|
|
3330
|
+
/* @__PURE__ */ i("span", { className: "radio-custom" }),
|
|
3331
|
+
u(S)
|
|
3332
3332
|
] }, `inputRadio ${q}`);
|
|
3333
3333
|
}
|
|
3334
3334
|
),
|
|
3335
|
-
/* @__PURE__ */
|
|
3336
|
-
|
|
3335
|
+
/* @__PURE__ */ i(
|
|
3336
|
+
_e,
|
|
3337
3337
|
{
|
|
3338
|
-
errorMessage: (
|
|
3338
|
+
errorMessage: ($ = w.error) == null ? void 0 : $.message,
|
|
3339
3339
|
errorColor: a
|
|
3340
3340
|
}
|
|
3341
3341
|
)
|
|
@@ -3344,18 +3344,18 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3344
3344
|
}
|
|
3345
3345
|
}
|
|
3346
3346
|
);
|
|
3347
|
-
},
|
|
3348
|
-
rankingSliderContainer:
|
|
3349
|
-
labelContainer:
|
|
3350
|
-
inputContainer:
|
|
3351
|
-
slider:
|
|
3352
|
-
thumb:
|
|
3353
|
-
labels:
|
|
3354
|
-
minLabel:
|
|
3355
|
-
maxLabel:
|
|
3356
|
-
},
|
|
3347
|
+
}, qi = "_rankingSliderContainer_brgxs_2", Ei = "_labelContainer_brgxs_6", Pi = "_inputContainer_brgxs_10", ji = "_slider_brgxs_18", zi = "_thumb_brgxs_25", Zi = "_labels_brgxs_35", Ki = "_minLabel_brgxs_63", Hi = "_maxLabel_brgxs_63", M = {
|
|
3348
|
+
rankingSliderContainer: qi,
|
|
3349
|
+
labelContainer: Ei,
|
|
3350
|
+
inputContainer: Pi,
|
|
3351
|
+
slider: ji,
|
|
3352
|
+
thumb: zi,
|
|
3353
|
+
labels: Zi,
|
|
3354
|
+
minLabel: Ki,
|
|
3355
|
+
maxLabel: Hi
|
|
3356
|
+
}, $t = ({ input: n, reactHookFormInstance: d }) => {
|
|
3357
3357
|
const {
|
|
3358
|
-
code:
|
|
3358
|
+
code: s,
|
|
3359
3359
|
label: o,
|
|
3360
3360
|
minValue: t = 1,
|
|
3361
3361
|
maxValue: r = 5,
|
|
@@ -3369,57 +3369,57 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3369
3369
|
minText: _,
|
|
3370
3370
|
maxText: y,
|
|
3371
3371
|
disabled: m = !1,
|
|
3372
|
-
marks: b = Array.from({ length: r - t + 1 }, (
|
|
3372
|
+
marks: b = Array.from({ length: r - t + 1 }, (D, j) => t + j),
|
|
3373
3373
|
showMarksNumber: C = !0
|
|
3374
|
-
} = n, { t: f } = k(), { control: v, trigger: N, clearErrors: x } = d || {}, w = ne(c), [
|
|
3375
|
-
return
|
|
3376
|
-
d && w.current !== c && (c ? N(
|
|
3377
|
-
}, [c,
|
|
3378
|
-
|
|
3374
|
+
} = n, { t: f } = k(), { control: v, trigger: N, clearErrors: x } = d || {}, w = ne(c), [$, S] = L(a);
|
|
3375
|
+
return T(() => {
|
|
3376
|
+
d && w.current !== c && (c ? N(s) : x(s), w.current = c);
|
|
3377
|
+
}, [c, s, N, x, d]), d ? /* @__PURE__ */ i(
|
|
3378
|
+
be,
|
|
3379
3379
|
{
|
|
3380
|
-
name:
|
|
3380
|
+
name: s,
|
|
3381
3381
|
control: v,
|
|
3382
3382
|
defaultValue: a,
|
|
3383
3383
|
rules: {
|
|
3384
3384
|
required: c ? `${f(o)} ${f("errorMessages.required")}` : !1
|
|
3385
3385
|
},
|
|
3386
|
-
render: ({ field:
|
|
3387
|
-
var
|
|
3386
|
+
render: ({ field: D, fieldState: j }) => {
|
|
3387
|
+
var ue;
|
|
3388
3388
|
return /* @__PURE__ */ p(
|
|
3389
3389
|
"div",
|
|
3390
3390
|
{
|
|
3391
|
-
className:
|
|
3391
|
+
className: M.rankingSliderContainer,
|
|
3392
3392
|
style: { gridTemplateColumns: `${h} ${g}` },
|
|
3393
3393
|
children: [
|
|
3394
|
-
o && /* @__PURE__ */
|
|
3395
|
-
/* @__PURE__ */ p("div", { className:
|
|
3396
|
-
_ && /* @__PURE__ */
|
|
3394
|
+
o && /* @__PURE__ */ i("p", { className: M.labelContainer, children: f(o) }),
|
|
3395
|
+
/* @__PURE__ */ p("div", { className: M.inputContainer, children: [
|
|
3396
|
+
_ && /* @__PURE__ */ i("div", { className: M.minLabel, children: f(_) }),
|
|
3397
3397
|
/* @__PURE__ */ p("div", { children: [
|
|
3398
|
-
/* @__PURE__ */
|
|
3399
|
-
|
|
3398
|
+
/* @__PURE__ */ i(
|
|
3399
|
+
Ee,
|
|
3400
3400
|
{
|
|
3401
3401
|
min: t,
|
|
3402
3402
|
max: r,
|
|
3403
3403
|
step: 1,
|
|
3404
|
-
value:
|
|
3405
|
-
onChange: (q) =>
|
|
3404
|
+
value: D.value ?? a,
|
|
3405
|
+
onChange: (q) => D.onChange(q),
|
|
3406
3406
|
marks: !0,
|
|
3407
|
-
className:
|
|
3408
|
-
thumbClassName:
|
|
3409
|
-
renderThumb: (q) => /* @__PURE__ */
|
|
3410
|
-
trackClassName:
|
|
3411
|
-
markClassName:
|
|
3407
|
+
className: M.slider,
|
|
3408
|
+
thumbClassName: M.thumb,
|
|
3409
|
+
renderThumb: (q) => /* @__PURE__ */ i("div", { ...q, style: { ...q.style, backgroundColor: l } }),
|
|
3410
|
+
trackClassName: M.track,
|
|
3411
|
+
markClassName: M.mark,
|
|
3412
3412
|
disabled: m
|
|
3413
3413
|
}
|
|
3414
3414
|
),
|
|
3415
|
-
b && /* @__PURE__ */
|
|
3415
|
+
b && /* @__PURE__ */ i("div", { className: M.labels, children: b.map((q) => /* @__PURE__ */ i("span", { children: C && q }, q)) })
|
|
3416
3416
|
] }),
|
|
3417
|
-
y && /* @__PURE__ */
|
|
3417
|
+
y && /* @__PURE__ */ i("div", { className: M.maxLabel, children: f(y) })
|
|
3418
3418
|
] }),
|
|
3419
|
-
/* @__PURE__ */
|
|
3420
|
-
|
|
3419
|
+
/* @__PURE__ */ i(
|
|
3420
|
+
_e,
|
|
3421
3421
|
{
|
|
3422
|
-
errorMessage: (
|
|
3422
|
+
errorMessage: (ue = j.error) == null ? void 0 : ue.message,
|
|
3423
3423
|
errorColor: u
|
|
3424
3424
|
}
|
|
3425
3425
|
)
|
|
@@ -3431,39 +3431,39 @@ const Ne = (n) => n.render(Ci(n)), fi = "_errorMessage_1xiyb_2", bi = {
|
|
|
3431
3431
|
) : /* @__PURE__ */ p(
|
|
3432
3432
|
"div",
|
|
3433
3433
|
{
|
|
3434
|
-
className:
|
|
3434
|
+
className: M.rankingSliderContainer,
|
|
3435
3435
|
style: { gridTemplateColumns: `${h} ${g}` },
|
|
3436
3436
|
children: [
|
|
3437
|
-
o && /* @__PURE__ */
|
|
3438
|
-
/* @__PURE__ */ p("div", { className:
|
|
3439
|
-
_ && /* @__PURE__ */
|
|
3437
|
+
o && /* @__PURE__ */ i("p", { className: M.labelContainer, children: f(o) }),
|
|
3438
|
+
/* @__PURE__ */ p("div", { className: M.inputContainer, children: [
|
|
3439
|
+
_ && /* @__PURE__ */ i("div", { className: M.minLabel, children: f(_) }),
|
|
3440
3440
|
/* @__PURE__ */ p("div", { children: [
|
|
3441
|
-
/* @__PURE__ */
|
|
3442
|
-
|
|
3441
|
+
/* @__PURE__ */ i(
|
|
3442
|
+
Ee,
|
|
3443
3443
|
{
|
|
3444
3444
|
min: t,
|
|
3445
3445
|
max: r,
|
|
3446
3446
|
step: 1,
|
|
3447
|
-
value:
|
|
3448
|
-
onChange: (
|
|
3447
|
+
value: $,
|
|
3448
|
+
onChange: (D) => S(D),
|
|
3449
3449
|
marks: !0,
|
|
3450
|
-
className:
|
|
3451
|
-
thumbClassName:
|
|
3452
|
-
renderThumb: (
|
|
3453
|
-
trackClassName:
|
|
3454
|
-
markClassName:
|
|
3450
|
+
className: M.slider,
|
|
3451
|
+
thumbClassName: M.thumb,
|
|
3452
|
+
renderThumb: (D) => /* @__PURE__ */ i("div", { ...D, style: { ...D.style, backgroundColor: l } }),
|
|
3453
|
+
trackClassName: M.track,
|
|
3454
|
+
markClassName: M.mark,
|
|
3455
3455
|
disabled: m
|
|
3456
3456
|
}
|
|
3457
3457
|
),
|
|
3458
|
-
b && /* @__PURE__ */
|
|
3458
|
+
b && /* @__PURE__ */ i("div", { className: M.labels, children: b.map((D) => /* @__PURE__ */ i("span", { children: C && D }, D)) })
|
|
3459
3459
|
] }),
|
|
3460
|
-
y && /* @__PURE__ */
|
|
3460
|
+
y && /* @__PURE__ */ i("div", { className: M.maxLabel, children: f(y) })
|
|
3461
3461
|
] })
|
|
3462
3462
|
]
|
|
3463
3463
|
}
|
|
3464
3464
|
);
|
|
3465
3465
|
};
|
|
3466
|
-
|
|
3466
|
+
$t.propTypes = {
|
|
3467
3467
|
input: e.shape({
|
|
3468
3468
|
code: e.string,
|
|
3469
3469
|
label: e.string,
|
|
@@ -3481,112 +3481,112 @@ kt.propTypes = {
|
|
|
3481
3481
|
}),
|
|
3482
3482
|
reactHookFormInstance: e.object
|
|
3483
3483
|
};
|
|
3484
|
-
const
|
|
3484
|
+
const Ae = ({
|
|
3485
3485
|
inputs: n,
|
|
3486
3486
|
inputContainerStyles: d,
|
|
3487
|
-
reactHookFormInstance:
|
|
3487
|
+
reactHookFormInstance: s
|
|
3488
3488
|
}) => {
|
|
3489
|
-
const { watch: o } =
|
|
3489
|
+
const { watch: o } = s, t = o(), r = Ce(() => n.map((a) => {
|
|
3490
3490
|
const l = typeof a.required == "function" ? a.required(t) : a.required;
|
|
3491
3491
|
return {
|
|
3492
3492
|
...a,
|
|
3493
3493
|
required: l
|
|
3494
3494
|
};
|
|
3495
3495
|
}), [n, t]);
|
|
3496
|
-
return /* @__PURE__ */
|
|
3496
|
+
return /* @__PURE__ */ i("div", { className: ae.inputsContainer, children: r == null ? void 0 : r.map((a, l) => {
|
|
3497
3497
|
const { inputType: c } = a;
|
|
3498
3498
|
switch (c) {
|
|
3499
|
-
case
|
|
3500
|
-
return /* @__PURE__ */
|
|
3499
|
+
case he.text:
|
|
3500
|
+
return /* @__PURE__ */ i(
|
|
3501
3501
|
"div",
|
|
3502
3502
|
{
|
|
3503
3503
|
className: ae.inputContainer,
|
|
3504
3504
|
style: { ...d },
|
|
3505
|
-
children: /* @__PURE__ */
|
|
3506
|
-
|
|
3505
|
+
children: /* @__PURE__ */ i(
|
|
3506
|
+
at,
|
|
3507
3507
|
{
|
|
3508
3508
|
input: a,
|
|
3509
|
-
reactHookFormInstance:
|
|
3509
|
+
reactHookFormInstance: s
|
|
3510
3510
|
}
|
|
3511
3511
|
)
|
|
3512
3512
|
},
|
|
3513
3513
|
`${a.code}${l}`
|
|
3514
3514
|
);
|
|
3515
|
-
case
|
|
3516
|
-
return /* @__PURE__ */
|
|
3515
|
+
case he.password:
|
|
3516
|
+
return /* @__PURE__ */ i(
|
|
3517
3517
|
"div",
|
|
3518
3518
|
{
|
|
3519
3519
|
className: ae.inputContainer,
|
|
3520
3520
|
style: { ...d },
|
|
3521
|
-
children: /* @__PURE__ */
|
|
3522
|
-
|
|
3521
|
+
children: /* @__PURE__ */ i(
|
|
3522
|
+
at,
|
|
3523
3523
|
{
|
|
3524
3524
|
input: a,
|
|
3525
|
-
reactHookFormInstance:
|
|
3525
|
+
reactHookFormInstance: s
|
|
3526
3526
|
}
|
|
3527
3527
|
)
|
|
3528
3528
|
},
|
|
3529
3529
|
`${a.code}${l}`
|
|
3530
3530
|
);
|
|
3531
|
-
case
|
|
3532
|
-
return /* @__PURE__ */
|
|
3531
|
+
case he.select:
|
|
3532
|
+
return /* @__PURE__ */ i(
|
|
3533
3533
|
"div",
|
|
3534
3534
|
{
|
|
3535
3535
|
className: ae.inputContainer,
|
|
3536
3536
|
style: { ...d },
|
|
3537
|
-
children: /* @__PURE__ */
|
|
3538
|
-
|
|
3537
|
+
children: /* @__PURE__ */ i(
|
|
3538
|
+
Di,
|
|
3539
3539
|
{
|
|
3540
3540
|
input: a,
|
|
3541
|
-
reactHookFormInstance:
|
|
3541
|
+
reactHookFormInstance: s
|
|
3542
3542
|
}
|
|
3543
3543
|
)
|
|
3544
3544
|
},
|
|
3545
3545
|
`${a.code}${l}`
|
|
3546
3546
|
);
|
|
3547
|
-
case
|
|
3548
|
-
return /* @__PURE__ */
|
|
3547
|
+
case he.radioList:
|
|
3548
|
+
return /* @__PURE__ */ i(
|
|
3549
3549
|
"div",
|
|
3550
3550
|
{
|
|
3551
3551
|
className: ae.inputContainer,
|
|
3552
3552
|
style: { ...d },
|
|
3553
|
-
children: /* @__PURE__ */
|
|
3554
|
-
|
|
3553
|
+
children: /* @__PURE__ */ i(
|
|
3554
|
+
Ri,
|
|
3555
3555
|
{
|
|
3556
3556
|
input: a,
|
|
3557
|
-
reactHookFormInstance:
|
|
3557
|
+
reactHookFormInstance: s
|
|
3558
3558
|
}
|
|
3559
3559
|
)
|
|
3560
3560
|
},
|
|
3561
3561
|
`${a.code}${l}`
|
|
3562
3562
|
);
|
|
3563
|
-
case
|
|
3564
|
-
return /* @__PURE__ */
|
|
3563
|
+
case he.rankingSlider:
|
|
3564
|
+
return /* @__PURE__ */ i(
|
|
3565
3565
|
"div",
|
|
3566
3566
|
{
|
|
3567
3567
|
className: ae.inputContainer,
|
|
3568
3568
|
style: { ...d },
|
|
3569
|
-
children: /* @__PURE__ */
|
|
3570
|
-
|
|
3569
|
+
children: /* @__PURE__ */ i(
|
|
3570
|
+
$t,
|
|
3571
3571
|
{
|
|
3572
3572
|
input: a,
|
|
3573
|
-
reactHookFormInstance:
|
|
3573
|
+
reactHookFormInstance: s
|
|
3574
3574
|
}
|
|
3575
3575
|
)
|
|
3576
3576
|
},
|
|
3577
3577
|
`${a.code}${l}`
|
|
3578
3578
|
);
|
|
3579
3579
|
default:
|
|
3580
|
-
return /* @__PURE__ */
|
|
3580
|
+
return /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i("h4", { children: "Default" }) }, `${a.code}${l}`);
|
|
3581
3581
|
}
|
|
3582
3582
|
}) });
|
|
3583
|
-
},
|
|
3583
|
+
}, no = ({
|
|
3584
3584
|
reactHookFormInstance: n,
|
|
3585
3585
|
formObject: d,
|
|
3586
3586
|
//Component with {title, children} as props.
|
|
3587
3587
|
// Used to render a category section in the form.
|
|
3588
3588
|
//If not provided, a default component will be used.
|
|
3589
|
-
CategoryComponent:
|
|
3589
|
+
CategoryComponent: s,
|
|
3590
3590
|
inputContainerStyles: o,
|
|
3591
3591
|
generalError: t,
|
|
3592
3592
|
errorColor: r = "red",
|
|
@@ -3601,22 +3601,22 @@ const Ve = ({
|
|
|
3601
3601
|
control: g,
|
|
3602
3602
|
formState: { errors: _ }
|
|
3603
3603
|
} = n, { t: y } = k();
|
|
3604
|
-
return /* @__PURE__ */ p("form", { className:
|
|
3605
|
-
/* @__PURE__ */
|
|
3604
|
+
return /* @__PURE__ */ p("form", { className: Ve.formContainer, onSubmit: h(u), children: [
|
|
3605
|
+
/* @__PURE__ */ i("div", { className: Ve.formObjectContainer, children: d && d.map((m, b) => {
|
|
3606
3606
|
const { inputs: C } = m;
|
|
3607
|
-
return m.category ?
|
|
3607
|
+
return m.category ? s ? /* @__PURE__ */ i(
|
|
3608
3608
|
"div",
|
|
3609
3609
|
{
|
|
3610
3610
|
style: {
|
|
3611
3611
|
display: c && m.categoryId !== c ? "none" : "inherit",
|
|
3612
3612
|
width: "100%"
|
|
3613
3613
|
},
|
|
3614
|
-
children: /* @__PURE__ */
|
|
3615
|
-
|
|
3614
|
+
children: /* @__PURE__ */ i(
|
|
3615
|
+
s,
|
|
3616
3616
|
{
|
|
3617
3617
|
title: m.category,
|
|
3618
|
-
children: /* @__PURE__ */
|
|
3619
|
-
|
|
3618
|
+
children: /* @__PURE__ */ i(
|
|
3619
|
+
Ae,
|
|
3620
3620
|
{
|
|
3621
3621
|
inputs: C,
|
|
3622
3622
|
control: g,
|
|
@@ -3638,9 +3638,9 @@ const Ve = ({
|
|
|
3638
3638
|
flexDirection: "column"
|
|
3639
3639
|
},
|
|
3640
3640
|
children: [
|
|
3641
|
-
/* @__PURE__ */
|
|
3642
|
-
/* @__PURE__ */
|
|
3643
|
-
|
|
3641
|
+
/* @__PURE__ */ i("h2", { style: { marginBottom: 20 }, children: y(m.category) }),
|
|
3642
|
+
/* @__PURE__ */ i("div", { style: { paddingTop: 50, width: "100%" }, children: /* @__PURE__ */ i(
|
|
3643
|
+
Ae,
|
|
3644
3644
|
{
|
|
3645
3645
|
inputs: C,
|
|
3646
3646
|
control: g,
|
|
@@ -3652,8 +3652,8 @@ const Ve = ({
|
|
|
3652
3652
|
]
|
|
3653
3653
|
},
|
|
3654
3654
|
`${m.category}${b}`
|
|
3655
|
-
) : /* @__PURE__ */
|
|
3656
|
-
|
|
3655
|
+
) : /* @__PURE__ */ i("div", { style: { width: "100%" }, children: /* @__PURE__ */ i(
|
|
3656
|
+
Ae,
|
|
3657
3657
|
{
|
|
3658
3658
|
inputContainerStyles: o,
|
|
3659
3659
|
inputs: C,
|
|
@@ -3663,43 +3663,43 @@ const Ve = ({
|
|
|
3663
3663
|
}
|
|
3664
3664
|
) }, `inputKey${b}`);
|
|
3665
3665
|
}) }),
|
|
3666
|
-
/* @__PURE__ */ p("div", { className:
|
|
3667
|
-
/* @__PURE__ */
|
|
3668
|
-
/* @__PURE__ */
|
|
3666
|
+
/* @__PURE__ */ p("div", { className: Ve.buttonContainer, children: [
|
|
3667
|
+
/* @__PURE__ */ i(ke, { containerStyles: l, type: "submit", children: y(a) }),
|
|
3668
|
+
/* @__PURE__ */ i(_e, { errorMessage: t, errorColor: r })
|
|
3669
3669
|
] })
|
|
3670
3670
|
] });
|
|
3671
|
-
},
|
|
3672
|
-
overlay:
|
|
3673
|
-
modal:
|
|
3674
|
-
closeButton:
|
|
3675
|
-
icon:
|
|
3676
|
-
message:
|
|
3677
|
-
submessage:
|
|
3678
|
-
buttonsContainer:
|
|
3679
|
-
buttonWrapper:
|
|
3680
|
-
},
|
|
3671
|
+
}, Ui = "_overlay_mnd4j_2", Gi = "_modal_mnd4j_15", Wi = "_closeButton_mnd4j_29", Yi = "_icon_mnd4j_39", Qi = "_message_mnd4j_45", Xi = "_submessage_mnd4j_51", Ji = "_buttonsContainer_mnd4j_57", es = "_buttonWrapper_mnd4j_64", G = {
|
|
3672
|
+
overlay: Ui,
|
|
3673
|
+
modal: Gi,
|
|
3674
|
+
closeButton: Wi,
|
|
3675
|
+
icon: Yi,
|
|
3676
|
+
message: Qi,
|
|
3677
|
+
submessage: Xi,
|
|
3678
|
+
buttonsContainer: Ji,
|
|
3679
|
+
buttonWrapper: es
|
|
3680
|
+
}, ts = ({
|
|
3681
3681
|
onClose: n,
|
|
3682
3682
|
icon: d,
|
|
3683
|
-
message:
|
|
3683
|
+
message: s,
|
|
3684
3684
|
submessage: o,
|
|
3685
3685
|
buttons: t,
|
|
3686
3686
|
maxHeight: r = "450px",
|
|
3687
3687
|
maxWidth: a = "450px"
|
|
3688
|
-
}) => /* @__PURE__ */
|
|
3688
|
+
}) => /* @__PURE__ */ i("div", { className: G.overlay, children: /* @__PURE__ */ p(
|
|
3689
3689
|
"div",
|
|
3690
3690
|
{
|
|
3691
3691
|
className: G.modal,
|
|
3692
3692
|
style: { maxHeight: r, maxWidth: a },
|
|
3693
3693
|
children: [
|
|
3694
|
-
/* @__PURE__ */
|
|
3695
|
-
d && /* @__PURE__ */
|
|
3696
|
-
/* @__PURE__ */
|
|
3697
|
-
o && /* @__PURE__ */
|
|
3698
|
-
t.length > 0 && /* @__PURE__ */
|
|
3694
|
+
/* @__PURE__ */ i("button", { className: G.closeButton, onClick: n, "aria-label": "Close modal", children: "✕" }),
|
|
3695
|
+
d && /* @__PURE__ */ i("img", { src: d, alt: "icon", className: G.icon }),
|
|
3696
|
+
/* @__PURE__ */ i("p", { className: G.message, children: s }),
|
|
3697
|
+
o && /* @__PURE__ */ i("p", { className: G.submessage, children: o }),
|
|
3698
|
+
t.length > 0 && /* @__PURE__ */ i("div", { className: G.buttonsContainer, children: t.map((l, c) => /* @__PURE__ */ i("div", { className: G.buttonWrapper, children: l }, c)) })
|
|
3699
3699
|
]
|
|
3700
3700
|
}
|
|
3701
3701
|
) });
|
|
3702
|
-
|
|
3702
|
+
ts.propTypes = {
|
|
3703
3703
|
/** Función que se ejecuta al clicar la "X" de cierre */
|
|
3704
3704
|
onClose: e.func.isRequired,
|
|
3705
3705
|
/** URL de la imagen opcional que aparece sobre el mensaje */
|
|
@@ -3715,43 +3715,43 @@ es.propTypes = {
|
|
|
3715
3715
|
/** Anchura máxima del modal (por defecto 400px) */
|
|
3716
3716
|
maxWidth: e.string
|
|
3717
3717
|
};
|
|
3718
|
-
const
|
|
3719
|
-
stepsContainer:
|
|
3720
|
-
stepWrapper:
|
|
3721
|
-
circleContainer:
|
|
3722
|
-
circle:
|
|
3723
|
-
active:
|
|
3724
|
-
completed:
|
|
3725
|
-
label:
|
|
3726
|
-
labelActive:
|
|
3727
|
-
connector:
|
|
3728
|
-
},
|
|
3729
|
-
const t =
|
|
3718
|
+
const ns = "_stepsContainer_1cyua_3", is = "_stepWrapper_1cyua_9", ss = "_circleContainer_1cyua_19", os = "_circle_1cyua_19", rs = "_active_1cyua_39", as = "_completed_1cyua_44", ls = "_label_1cyua_50", cs = "_labelActive_1cyua_56", ds = "_connector_1cyua_61", K = {
|
|
3719
|
+
stepsContainer: ns,
|
|
3720
|
+
stepWrapper: is,
|
|
3721
|
+
circleContainer: ss,
|
|
3722
|
+
circle: os,
|
|
3723
|
+
active: rs,
|
|
3724
|
+
completed: as,
|
|
3725
|
+
label: ls,
|
|
3726
|
+
labelActive: cs,
|
|
3727
|
+
connector: ds
|
|
3728
|
+
}, St = ({ steps: n, activeColor: d }) => /* @__PURE__ */ i("div", { className: K.stepsContainer, children: n.map((s, o) => {
|
|
3729
|
+
const t = s.status === "active", r = s.status === "completed";
|
|
3730
3730
|
return /* @__PURE__ */ p("div", { className: K.stepWrapper, children: [
|
|
3731
3731
|
/* @__PURE__ */ p("div", { className: K.circleContainer, children: [
|
|
3732
|
-
/* @__PURE__ */
|
|
3732
|
+
/* @__PURE__ */ i(
|
|
3733
3733
|
"div",
|
|
3734
3734
|
{
|
|
3735
3735
|
className: `${K.circle}
|
|
3736
3736
|
${t ? K.active : ""}
|
|
3737
3737
|
${r ? K.completed : ""}`,
|
|
3738
3738
|
style: t ? { backgroundColor: d } : {},
|
|
3739
|
-
onClick:
|
|
3739
|
+
onClick: s.onClick,
|
|
3740
3740
|
children: o + 1
|
|
3741
3741
|
}
|
|
3742
3742
|
),
|
|
3743
|
-
o < n.length - 1 && /* @__PURE__ */
|
|
3743
|
+
o < n.length - 1 && /* @__PURE__ */ i("div", { className: K.connector })
|
|
3744
3744
|
] }),
|
|
3745
|
-
/* @__PURE__ */
|
|
3745
|
+
/* @__PURE__ */ i(
|
|
3746
3746
|
"div",
|
|
3747
3747
|
{
|
|
3748
3748
|
className: `${K.label} ${t ? K.labelActive : ""}`,
|
|
3749
|
-
children:
|
|
3749
|
+
children: s.name
|
|
3750
3750
|
}
|
|
3751
3751
|
)
|
|
3752
3752
|
] }, o);
|
|
3753
3753
|
}) });
|
|
3754
|
-
|
|
3754
|
+
St.propTypes = {
|
|
3755
3755
|
steps: e.arrayOf(
|
|
3756
3756
|
e.shape({
|
|
3757
3757
|
name: e.string.isRequired,
|
|
@@ -3761,47 +3761,47 @@ Bt.propTypes = {
|
|
|
3761
3761
|
).isRequired,
|
|
3762
3762
|
activeColor: e.string
|
|
3763
3763
|
};
|
|
3764
|
-
|
|
3764
|
+
St.defaultProps = {
|
|
3765
3765
|
activeColor: "#C2185B"
|
|
3766
3766
|
// color por defecto
|
|
3767
3767
|
};
|
|
3768
|
-
const
|
|
3769
|
-
statusTextContainer:
|
|
3770
|
-
},
|
|
3771
|
-
|
|
3768
|
+
const us = "_statusTextContainer_ch14r_2", ps = {
|
|
3769
|
+
statusTextContainer: us
|
|
3770
|
+
}, Bt = ({ text: n, color: d }) => /* @__PURE__ */ i("div", { className: ps.statusTextContainer, style: { background: d }, children: /* @__PURE__ */ i("span", { children: n }) });
|
|
3771
|
+
Bt.propTypes = {
|
|
3772
3772
|
text: e.string,
|
|
3773
3773
|
color: e.string
|
|
3774
3774
|
};
|
|
3775
|
-
|
|
3775
|
+
Bt.defaultProps = {
|
|
3776
3776
|
color: "#C2185B"
|
|
3777
3777
|
// color por defecto
|
|
3778
3778
|
};
|
|
3779
|
-
const
|
|
3780
|
-
buttonsContainer:
|
|
3781
|
-
button:
|
|
3782
|
-
active:
|
|
3783
|
-
},
|
|
3779
|
+
const ms = "_buttonsContainer_1c7dw_2", hs = "_button_1c7dw_2", gs = "_active_1c7dw_20", we = {
|
|
3780
|
+
buttonsContainer: ms,
|
|
3781
|
+
button: hs,
|
|
3782
|
+
active: gs
|
|
3783
|
+
}, Cs = ({
|
|
3784
3784
|
buttons: n = []
|
|
3785
3785
|
}) => {
|
|
3786
3786
|
const { t: d } = k();
|
|
3787
|
-
return /* @__PURE__ */
|
|
3787
|
+
return /* @__PURE__ */ i("div", { className: `${we.buttonsContainer}`, children: n.map((s, o) => {
|
|
3788
3788
|
const {
|
|
3789
3789
|
isActive: t,
|
|
3790
3790
|
name: r,
|
|
3791
3791
|
onClick: a
|
|
3792
|
-
} =
|
|
3793
|
-
return /* @__PURE__ */
|
|
3792
|
+
} = s;
|
|
3793
|
+
return /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i(
|
|
3794
3794
|
"button",
|
|
3795
3795
|
{
|
|
3796
3796
|
onClick: a,
|
|
3797
|
-
className: `${
|
|
3798
|
-
${t &&
|
|
3799
|
-
children: /* @__PURE__ */
|
|
3797
|
+
className: `${we.button}
|
|
3798
|
+
${t && we.active}`,
|
|
3799
|
+
children: /* @__PURE__ */ i("span", { className: we.buttonName, children: d(r) })
|
|
3800
3800
|
}
|
|
3801
3801
|
) }, o);
|
|
3802
3802
|
}) });
|
|
3803
3803
|
};
|
|
3804
|
-
|
|
3804
|
+
Cs.propTypes = {
|
|
3805
3805
|
buttons: e.arrayOf(
|
|
3806
3806
|
e.shape({
|
|
3807
3807
|
isActive: e.bool,
|
|
@@ -3811,16 +3811,75 @@ gs.propTypes = {
|
|
|
3811
3811
|
})
|
|
3812
3812
|
).isRequired
|
|
3813
3813
|
};
|
|
3814
|
-
const
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
}, vs = ({
|
|
3814
|
+
const fs = "_switchContainer_1aotp_2", bs = "_label_1aotp_9", _s = "_slider_1aotp_24", ys = "_disabled_1aotp_50", ce = {
|
|
3815
|
+
switchContainer: fs,
|
|
3816
|
+
label: bs,
|
|
3817
|
+
switch: "_switch_1aotp_2",
|
|
3818
|
+
slider: _s,
|
|
3819
|
+
disabled: ys
|
|
3820
|
+
}, vs = ({ input: n, reactHookFormInstance: d }) => {
|
|
3821
|
+
const {
|
|
3822
|
+
code: s,
|
|
3823
|
+
labelLeft: o,
|
|
3824
|
+
labelRight: t,
|
|
3825
|
+
defValue: r = !1,
|
|
3826
|
+
colorOn: a = "#5A514D",
|
|
3827
|
+
disabled: l = !1
|
|
3828
|
+
} = n, { t: c } = k(), { control: u } = d || {}, [h, g] = L(r), _ = (y, m) => /* @__PURE__ */ p("div", { className: ce.switchContainer, children: [
|
|
3829
|
+
o && /* @__PURE__ */ i("span", { className: ce.label, children: c(o) }),
|
|
3830
|
+
/* @__PURE__ */ p("label", { className: `${ce.switch} ${l ? ce.disabled : ""}`, children: [
|
|
3831
|
+
/* @__PURE__ */ i(
|
|
3832
|
+
"input",
|
|
3833
|
+
{
|
|
3834
|
+
type: "checkbox",
|
|
3835
|
+
checked: !!y,
|
|
3836
|
+
onChange: () => m(!y),
|
|
3837
|
+
disabled: l
|
|
3838
|
+
}
|
|
3839
|
+
),
|
|
3840
|
+
/* @__PURE__ */ i(
|
|
3841
|
+
"span",
|
|
3842
|
+
{
|
|
3843
|
+
className: ce.slider,
|
|
3844
|
+
style: {
|
|
3845
|
+
"--switch-thumb-color": y ? a : "#ccc"
|
|
3846
|
+
}
|
|
3847
|
+
}
|
|
3848
|
+
)
|
|
3849
|
+
] }),
|
|
3850
|
+
t && /* @__PURE__ */ i("span", { className: ce.label, children: c(t) })
|
|
3851
|
+
] });
|
|
3852
|
+
return d ? /* @__PURE__ */ i(
|
|
3853
|
+
be,
|
|
3854
|
+
{
|
|
3855
|
+
name: s,
|
|
3856
|
+
control: u,
|
|
3857
|
+
defaultValue: r,
|
|
3858
|
+
render: ({ field: y }) => _(y.value, y.onChange)
|
|
3859
|
+
}
|
|
3860
|
+
) : _(h, g);
|
|
3861
|
+
};
|
|
3862
|
+
vs.propTypes = {
|
|
3863
|
+
input: e.shape({
|
|
3864
|
+
code: e.string,
|
|
3865
|
+
labelLeft: e.string,
|
|
3866
|
+
labelRight: e.string,
|
|
3867
|
+
defValue: e.bool,
|
|
3868
|
+
colorOn: e.string,
|
|
3869
|
+
disabled: e.bool
|
|
3870
|
+
}),
|
|
3871
|
+
reactHookFormInstance: e.object
|
|
3872
|
+
};
|
|
3873
|
+
const xs = "_header_13kbt_2", ws = "_leftComponents_13kbt_13", Ns = "_centerComponents_13kbt_14", ks = "_rightComponents_13kbt_15", $s = "_componentsContainer_13kbt_32", ee = {
|
|
3874
|
+
header: xs,
|
|
3875
|
+
leftComponents: ws,
|
|
3876
|
+
centerComponents: Ns,
|
|
3877
|
+
rightComponents: ks,
|
|
3878
|
+
componentsContainer: $s
|
|
3879
|
+
}, Ss = ({
|
|
3821
3880
|
cssProps: n,
|
|
3822
3881
|
leftComponents: d = [],
|
|
3823
|
-
centerComponents:
|
|
3882
|
+
centerComponents: s = [],
|
|
3824
3883
|
rightComponents: o = [],
|
|
3825
3884
|
zIndex: t = 10,
|
|
3826
3885
|
height: r = 60,
|
|
@@ -3840,13 +3899,13 @@ const Cs = "_header_13kbt_2", fs = "_leftComponents_13kbt_13", bs = "_centerComp
|
|
|
3840
3899
|
bottom: l ? 0 : "auto"
|
|
3841
3900
|
},
|
|
3842
3901
|
children: [
|
|
3843
|
-
/* @__PURE__ */
|
|
3844
|
-
/* @__PURE__ */
|
|
3845
|
-
/* @__PURE__ */
|
|
3902
|
+
/* @__PURE__ */ i("div", { className: ee.leftComponents, children: d.map((c, u) => /* @__PURE__ */ i("div", { className: ee.componentsContainer, children: c }, u)) }),
|
|
3903
|
+
/* @__PURE__ */ i("div", { className: ee.centerComponents, children: s.map((c, u) => /* @__PURE__ */ i("div", { className: ee.componentsContainer, children: c }, u)) }),
|
|
3904
|
+
/* @__PURE__ */ i("div", { className: ee.rightComponents, children: o.map((c, u) => /* @__PURE__ */ i("div", { className: ee.componentsContainer, children: c }, u)) })
|
|
3846
3905
|
]
|
|
3847
3906
|
}
|
|
3848
3907
|
);
|
|
3849
|
-
|
|
3908
|
+
Ss.propTypes = {
|
|
3850
3909
|
leftComponents: e.arrayOf(e.node),
|
|
3851
3910
|
centerComponents: e.arrayOf(e.node),
|
|
3852
3911
|
rightComponents: e.arrayOf(e.node),
|
|
@@ -3856,68 +3915,69 @@ vs.propTypes = {
|
|
|
3856
3915
|
backgroundColor: e.string,
|
|
3857
3916
|
isFooter: e.bool
|
|
3858
3917
|
};
|
|
3859
|
-
const
|
|
3860
|
-
sidebar:
|
|
3861
|
-
open:
|
|
3862
|
-
content:
|
|
3863
|
-
closeButton:
|
|
3864
|
-
},
|
|
3918
|
+
const Bs = "_sidebar_1fmjn_2", Ls = "_open_1fmjn_16", Ts = "_content_1fmjn_20", Ds = "_closeButton_1fmjn_26", Ne = {
|
|
3919
|
+
sidebar: Bs,
|
|
3920
|
+
open: Ls,
|
|
3921
|
+
content: Ts,
|
|
3922
|
+
closeButton: Ds
|
|
3923
|
+
}, Ms = "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", Fs = ({
|
|
3865
3924
|
width: n = "300px",
|
|
3866
3925
|
children: d,
|
|
3867
|
-
showRightBar:
|
|
3926
|
+
showRightBar: s,
|
|
3868
3927
|
onCloseBar: o
|
|
3869
3928
|
}) => {
|
|
3870
3929
|
const t = () => {
|
|
3871
3930
|
o();
|
|
3872
3931
|
};
|
|
3873
|
-
return /* @__PURE__ */
|
|
3932
|
+
return /* @__PURE__ */ i(
|
|
3874
3933
|
"div",
|
|
3875
3934
|
{
|
|
3876
|
-
className: `${
|
|
3877
|
-
style: { width:
|
|
3878
|
-
children:
|
|
3879
|
-
/* @__PURE__ */
|
|
3935
|
+
className: `${Ne.sidebar} ${s ? Ne.open : ""}`,
|
|
3936
|
+
style: { width: s ? n : 0 },
|
|
3937
|
+
children: s && /* @__PURE__ */ p("div", { className: Ne.content, children: [
|
|
3938
|
+
/* @__PURE__ */ i("button", { className: Ne.closeButton, onClick: t, children: /* @__PURE__ */ i("img", { src: Ms, alt: "Close Sidebar" }) }),
|
|
3880
3939
|
d
|
|
3881
3940
|
] })
|
|
3882
3941
|
}
|
|
3883
3942
|
);
|
|
3884
3943
|
};
|
|
3885
|
-
|
|
3944
|
+
Fs.propTypes = {
|
|
3886
3945
|
width: e.string,
|
|
3887
3946
|
children: e.node,
|
|
3888
3947
|
showRightBar: e.bool,
|
|
3889
3948
|
onCloseBar: e.func
|
|
3890
3949
|
};
|
|
3891
3950
|
export {
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3951
|
+
_2 as AmbitSelector,
|
|
3952
|
+
Cs as ButtonsBar,
|
|
3953
|
+
D2 as ButtonsList,
|
|
3895
3954
|
ie as DropdownList,
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3955
|
+
Qs as EditAmbit,
|
|
3956
|
+
_e as ErrorMessage,
|
|
3957
|
+
n0 as FiltersAmbit,
|
|
3958
|
+
no as Form,
|
|
3959
|
+
ke as GeneralButton,
|
|
3960
|
+
a0 as Graphic,
|
|
3961
|
+
Ss as HeaderSection,
|
|
3962
|
+
k0 as IndicatorsList,
|
|
3963
|
+
D0 as LangSelector,
|
|
3964
|
+
U0 as Legend,
|
|
3965
|
+
Qn as ListSelector,
|
|
3966
|
+
Sn as LogInButton,
|
|
3967
|
+
W0 as LogoApp,
|
|
3968
|
+
X0 as MapboxMap,
|
|
3969
|
+
on as MaplibreMap,
|
|
3970
|
+
ts as ModalAlert,
|
|
3971
|
+
Ri as RadioButtonInput,
|
|
3972
|
+
$t as RankingSlider,
|
|
3973
|
+
Fs as RightSidebar,
|
|
3974
|
+
pn as SectionBar,
|
|
3975
|
+
Di as SelectInput,
|
|
3976
|
+
Bt as StatusText,
|
|
3977
|
+
St as Steps,
|
|
3978
|
+
vs as Switch,
|
|
3979
|
+
at as TextInput,
|
|
3980
|
+
yn as TimeSlider,
|
|
3921
3981
|
te as Tooltip,
|
|
3922
|
-
|
|
3982
|
+
Nn as TopNavMenu
|
|
3923
3983
|
};
|