@tmf_ciclica/ciclicastorybook 1.1.160 → 1.1.161
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 +5 -5
- package/dist/index.es.js +1198 -1180
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_phq4n_2{padding:5px 95px;border-radius:100px}._generalButton_phq4n_2:disabled{opacity:.6}._buttonsContainer_1ks7x_2{display:flex;gap:8px}._buttonsContainer_1ks7x_2._vertical_1ks7x_6{flex-direction:column}._buttonsContainer_1ks7x_2._horizontal_1ks7x_9{flex-direction:row}._button_1ks7x_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1ks7x_2:hover{opacity:.8}._button_1ks7x_2._active_1ks7x_25{font-weight:700}._button_1ks7x_2 ._buttonName_1ks7x_28{margin:0 4px}._button_1ks7x_2:disabled{opacity:.5!important;cursor:auto}._left_1l4m4_2{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_1l4m4_2:before{content:"";position:absolute;top:50%;left:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent transparent #ccc;z-index:-2}._left_1l4m4_2:after{content:"";position:absolute;top:50%;left:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent transparent #fff;z-index:-1}._top_1l4m4_40{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._top_1l4m4_40:before{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:#ccc transparent transparent transparent;z-index:-2}._top_1l4m4_40:after{content:"";position:absolute;top:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:#fff transparent transparent transparent;z-index:-1}._bottom_1l4m4_79{position:absolute;width:auto;top:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._bottom_1l4m4_79:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent #ccc transparent;z-index:-2}._bottom_1l4m4_79:after{content:"";position:absolute;bottom:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent #fff transparent;z-index:-1}._right_1l4m4_118{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:20px;margin:0;white-space:nowrap;color:#000;z-index:10}._right_1l4m4_118:before{content:"";position:absolute;top:50%;right:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent #ccc transparent transparent;z-index:-2}._right_1l4m4_118:after{content:"";position:absolute;top:50%;right:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent #fff transparent transparent;z-index:-1}._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_4u41i_2,._container_4u41i_2 span{font-size:14px}._container_4u41i_2 ._unitLabel_4u41i_8{height:40px}._container_4u41i_2 ._slider_4u41i_11{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_4u41i_2 ._thumb_4u41i_17{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_4u41i_2 ._track_4u41i_26{top:0;bottom:0;background:#605b56;border-radius:3px}._container_4u41i_2 ._labels_4u41i_32{display:flex;justify-content:space-between;font-size:14px;margin-top:10px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 label,._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input{cursor:pointer;font-size:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background-color:#fff;transition:background-color .2s ease;cursor:pointer;vertical-align:middle}._tematicalFiltersInputContainer_1vm1r_2 ._checkboxContainer_1vm1r_28{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px}._tematicalFiltersInputContainer_1vm1r_2 ._absoluteSliderContainer_1vm1r_37{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:flex-start}._FiltersAmbitContainer_1g9xx_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitTitle_1g9xx_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 0 26px;font-size:16px;font-weight:400}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22 ._FiltersAmbitDescriptionTitle_1g9xx_33{font-size:18px;font-weight:600}._FiltersAmbitContainer_1g9xx_2 ._warning_1g9xx_37{color:red}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_1go6h_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_1go6h_2 ._indicatorNameContainer_1go6h_11{gap:10px;display:grid;grid-template-columns:15px auto;align-items:center}._indicatorContainer_1go6h_2 ._dot_1go6h_17{border-radius:100px;width:16px;height:16px}._indicatorContainer_1go6h_2 ._indicatorName_1go6h_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_1go6h_28{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37{margin:0;width:100%}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._customRadious_1go6h_62{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._optionText_1go6h_69{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_qs4x9_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative;overflow-y:scroll}._legendContainer_qs4x9_3::-webkit-scrollbar{width:8px}._legendContainer_qs4x9_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_qs4x9_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31{position:absolute;right:20px;top:20px;width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before,._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before{transform:rotate(45deg)}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{transform:rotate(-45deg)}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59{border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59 h2{padding-bottom:16px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65{padding-top:20px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_qs4x9_3 ._titleLegendList_qs4x9_76{font-size:20px;padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88 ._colorDot_qs4x9_94{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100{position:relative}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueColor_qs4x9_103{height:130px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueText_qs4x9_108{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120{position:relative;margin-top:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._noData_qs4x9_120{height:22px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._absoluteValueText_qs4x9_108{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_qs4x9_3 ._moreInfoContainer_qs4x9_141{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_mt8l5_2{padding:15px;color:#92898a}._FeaturePopUp_mt8l5_2 p{margin-bottom:10px}._FeaturePopUp_mt8l5_2 ._title_mt8l5_9{font-weight:600;margin-right:5px;color:#92898a}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_1prh1_2{padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._slider_1prh1_2 ._playButton_1prh1_14,._slider_1prh1_2 ._playButton_1prh1_14._hover_1prh1_17{background-color:transparent!important}._slider_1prh1_2 ._playButton_1prh1_14 img{height:30px;width:30px}._sliderOpen_1prh1_25{right:490px}._sliderResults_1prh1_29{position:absolute;top:75px;right:430px;padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._sliderResults_1prh1_29 ._playButton_1prh1_14,._sliderResults_1prh1_29 ._playButton_1prh1_14._hover_1prh1_17{background-color:transparent!important}._sliderResults_1prh1_29 ._playButton_1prh1_14 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._LogInButton_1vxj5_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._elementSelector_1qdhv_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._elementSelector_1qdhv_2 ._header_1qdhv_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._nameDateContainer_1qdhv_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._nameDateContainer_1qdhv_23 ._elementName_1qdhv_39{font-size:18px;font-weight:600;flex:1}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._nameDateContainer_1qdhv_23 ._elementName_1qdhv_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._nameDateContainer_1qdhv_23 ._elementDate_1qdhv_53{font-size:18px;font-weight:600;flex:.5}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._nameDateContainer_1qdhv_23 ._elementDate_1qdhv_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1qdhv_2 ._header_1qdhv_13 ._buttonsContainer_1qdhv_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_1qdhv_2 ._elementListContainer_1qdhv_76{flex:1;width:100%}._elementSelector_1qdhv_2 ._newElementButtonContainer_1qdhv_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px;padding-top:50px}._listElement_1s506_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:5px;width:100%;padding-bottom:30px;padding-top:30px;flex-wrap:wrap}._listElement_1s506_2 ._elementNameDate_1s506_17{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementNameContainer_1s506_27{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementName_1s506_17{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementDate_1s506_42{flex:.5}._listElement_1s506_2 ._elementButtons_1s506_45{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_1s506_2 ._elementButtons_1s506_45 button:disabled{opacity:.5;cursor:default}._listElement_1s506_2 ._elementButtons_1s506_45 img{display:inline}._break_1s506_63{flex-basis:100%;height:0}._moreInfoContainer_1s506_68 ._moreInfo_1s506_68{display:flex;gap:5px;cursor:pointer}._formContainer_asv64_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_asv64_2 ._categorySelectorContainer_asv64_11{margin-bottom:5px;width:100%}._formContainer_asv64_2 ._formObjectContainer_asv64_15{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:center;flex:1;width:100%;gap:80px}._formContainer_asv64_2 ._buttonContainer_asv64_26{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._textInputContainer_1o3iy_2{width:100%}._textInputContainer_1o3iy_2 ._labelContainer_1o3iy_5{margin-bottom:25px}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8{background-color:#605b5620;padding:7px;border-radius:4px;position:relative}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 ._showPasswordButton_1o3iy_14{position:absolute;right:15px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 input{width:100%}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26{margin-top:10px;cursor:pointer}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26 button{text-decoration:underline}._errorMessage_1xiyb_2{min-height:25px}._inputsContainer_10t9s_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;gap:30px}._selectInputContainer_1rj0h_2{width:100%;position:relative}._selectInputContainer_1rj0h_2 ._labelContainer_1rj0h_6{margin-bottom:25px}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9{position:relative}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2{appearance:none;-webkit-appearance:none;-moz-appearance:none;width:100%;padding:9px 40px 9px 9px;border:1.5px solid #605b56;border-radius:4px;cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2 ._option_1rj0h_23{cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._dropdownArrow_1rj0h_26{position:absolute;right:18px;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none}._radioButtonContainer_1e994_2{width:100%}._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;width:100%;flex-wrap:wrap;position:relative;gap:15px}@media (width < 768px){._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start}}._radioButtonContainer_1e994_2 ._questionContainer_1e994_27{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;align-self:flex-start;position:relative}@media (width < 768px){._radioButtonContainer_1e994_2 ._questionContainer_1e994_27{min-width:auto;max-width:215px}}._radioButtonContainer_1e994_2 ._errorContainer_1e994_44{position:absolute;top:-25px;left:0}._radioButtonContainer_1e994_2 ._iconPrivacy_1e994_49{height:100%;padding-right:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._radioButtonContainer_1e994_2 ._radioQuestion_1e994_59{width:100%;flex:1}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;gap:10px;position:relative;height:100%}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label{text-align:left}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label input{margin-right:5px}@media (width < 768px){._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;flex:1}}label,._radioInput_1e994_93{cursor:pointer}._rankingSliderContainer_1lekm_2{display:grid;width:100%}._rankingSliderContainer_1lekm_2 ._labelContainer_1lekm_6{margin-bottom:25px;color:#605b56}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10{width:100%;position:relative;display:flex;gap:14px;align-items:center;flex-wrap:nowrap;justify-content:center;height:48px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._slider_1lekm_20{height:3px;background:#efefef;border-radius:3px;position:relative;min-width:250px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._thumb_1lekm_27{height:15px;width:15px;border-radius:50%;cursor:grab;top:-100%;transform:translateY(-20%);outline:none}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37{display:flex;justify-content:space-between;margin-top:8px;font-size:14px;color:#444}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 span{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:10px;height:20px;position:relative}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 span:before{content:"";background:#efefef;width:10px;height:10px;position:absolute;top:-14.5px;border-radius:50%}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._labels_1lekm_37 ._labelsText_1lekm_64{color:#605b56}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._minLabel_1lekm_67,._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._maxLabel_1lekm_67{align-self:baseline;padding-top:10px;color:#605b56;font-size:12px;white-space:nowrap;margin-top:-7px}._rankingSliderContainer_1lekm_2 ._inputContainer_1lekm_10 ._minLabel_1lekm_67{text-align:right}._categorySelector_9bdf4_2{min-height:50px;width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:10px;background-color:#efefef;border-radius:10px;padding:5px}._categorySelector_9bdf4_2 ._sectionItemActive_9bdf4_16{color:#fff}._categorySelector_9bdf4_2 ._sectionItem_9bdf4_16{border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;padding:5px;width:120px;height:100%}._overlay_mnd4j_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#0009;display:flex;align-items:center;justify-content:center;z-index:9999}._modal_mnd4j_15{background:#fff;border-radius:12px;position:relative;padding:24px 32px;display:flex;flex-direction:column;align-items:center;text-align:center;box-shadow:0 4px 20px #0003;overflow:hidden;min-width:300px}._closeButton_mnd4j_29{position:absolute;top:3px;right:8px;background:transparent;border:none;font-size:20px;cursor:pointer}._icon_mnd4j_39{width:60px;height:60px;margin-bottom:16px}._message_mnd4j_45{font-size:18px;font-weight:700;margin-bottom:8px}._submessage_mnd4j_51{font-size:14px;color:#666;margin-bottom:20px}._buttonsContainer_mnd4j_57{display:flex;gap:12px;justify-content:center;flex-wrap:nowrap}._buttonWrapper_mnd4j_64{display:inline-flex}._stepsContainer_1cyua_3{display:flex;flex-direction:column;position:relative}._stepWrapper_1cyua_9{display:flex;align-items:center;position:relative;margin-bottom:1.5rem}._stepWrapper_1cyua_9:last-child{margin-bottom:0}._circleContainer_1cyua_19{position:relative}._circle_1cyua_19{width:28px;height:28px;border-radius:50%;border:2px solid #ccc;background-color:#fff;color:#aaa;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;cursor:pointer;z-index:1}._active_1cyua_39{color:#fff;border:none}._completed_1cyua_44{background-color:#ccc;color:#fff;border:none}._label_1cyua_50{margin-left:10px;font-size:14px;color:#aaa}._labelActive_1cyua_56{font-weight:700;color:#333}._connector_1cyua_61{position:absolute;left:50%;transform:translate(-50%);top:32px;width:1px;height:calc(100% - 10px);background-color:#ccc;z-index:0}._statusTextContainer_ch14r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:128px;height:31px;border-radius:200px}._statusTextContainer_ch14r_2 span{font-size:16px;color:#605b56}._buttonsContainer_1c7dw_2{padding:5px 7px;background-color:#efefef;border-radius:10px;display:flex;gap:8px}._buttonsContainer_1c7dw_2 ._button_1c7dw_2{border-radius:10px;display:flex;align-items:center;cursor:pointer;padding:4px;color:#605b56}._buttonsContainer_1c7dw_2 ._button_1c7dw_2:hover{opacity:.8}._buttonsContainer_1c7dw_2 ._button_1c7dw_2._active_1c7dw_20{background:#b32f5d;color:#efefef}._switchContainer_194wl_2{display:flex;align-items:center;gap:10px;font-size:12px;justify-content:center}._switchContainer_194wl_2 ._labelRight_194wl_9,._switchContainer_194wl_2 ._labelLeft_194wl_9{white-space:nowrap;color:#605b56}._switchContainer_194wl_2 ._labelLeft_194wl_9{text-align:right}._switch_194wl_2{position:relative;display:inline-block;width:44px;height:24px}._switch_194wl_2 input{opacity:0;width:0;height:0}._switch_194wl_2 ._slider_194wl_28{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#fff;border-radius:24px;transition:background-color .3s;border:2px solid #605b56}._switch_194wl_2 ._slider_194wl_28:before{position:absolute;content:"";height:16px;width:16px;left:3px;bottom:2.5px;background-color:var(--switch-thumb-color, #ccc);border-radius:50%;transition:transform .3s,background-color .3s}._switch_194wl_2 input:checked+._slider_194wl_28:before{transform:translate(20px)}._switch_194wl_2._disabled_194wl_54{opacity:.5;pointer-events:none}._header_13kbt_2{width:100%;display:flex;align-items:center;position:absolute;top:0;left:0;padding:0 16px;background-color:#fff;border-bottom:1px solid black}._header_13kbt_2 ._leftComponents_13kbt_13,._header_13kbt_2 ._centerComponents_13kbt_14,._header_13kbt_2 ._rightComponents_13kbt_15{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_13kbt_2 ._leftComponents_13kbt_13{left:16px}._header_13kbt_2 ._centerComponents_13kbt_14{left:50%;transform:translate(-50%)}._header_13kbt_2 ._rightComponents_13kbt_15{right:16px}._header_13kbt_2 ._componentsContainer_13kbt_32{height:100%;width:100%}._sidebar_1fmjn_2{position:absolute;top:0;right:0;height:100%;background-color:#fff;box-shadow:-2px 0 5px #0000001a;overflow-x:hidden;overflow-y:auto;transition:width .3s ease;z-index:1000;width:0}._open_1fmjn_16{border-left:1px solid #ddd}._content_1fmjn_20{position:relative;padding:20px;height:100%}._closeButton_1fmjn_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1fmjn_26:hover{color:#000}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
2
|
import { jsxs as p, jsx as i, Fragment as Re } from "react/jsx-runtime";
|
|
3
3
|
import * as pe from "react";
|
|
4
|
-
import T, { useState as D, useEffect as
|
|
4
|
+
import T, { useState as D, useEffect as V, useMemo as me, useLayoutEffect as Vt, useRef as oe } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
|
-
import { useTranslation as $, 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:
|
|
6
|
+
import { useTranslation as $, Trans as Ke } from "react-i18next";
|
|
7
|
+
import { motion as He } from "framer-motion";
|
|
8
|
+
import { create as ut } from "zustand";
|
|
9
|
+
import * as Ye from "d3";
|
|
10
|
+
import At from "mapbox-gl";
|
|
11
|
+
import { useSelector as It } from "react-redux";
|
|
12
|
+
import Ot, { Source as Rt, Layer as qt, NavigationControl as Et, Popup as Pt } from "react-map-gl/mapbox";
|
|
13
|
+
import Me from "maplibre-gl";
|
|
14
|
+
import { Protocol as jt } from "pmtiles";
|
|
15
|
+
import Zt, { Source as zt, Layer as Kt, NavigationControl as Ht, Popup as Ut } from "react-map-gl/maplibre";
|
|
16
|
+
import { createSlice as Gt } from "@reduxjs/toolkit";
|
|
17
|
+
import Wt from "@mui/material/Slider";
|
|
18
|
+
import { createTheme as Yt, Box as Qt } from "@mui/material";
|
|
19
|
+
import { ThemeProvider as Xt } from "@emotion/react";
|
|
20
|
+
import { NavLink as Jt } from "react-router-dom";
|
|
21
|
+
const e2 = "_ambitSelector_mcunf_2", t2 = "_header_mcunf_13", n2 = "_nameDateContainer_mcunf_23", i2 = "_ambitName_mcunf_39", o2 = "_ambitDate_mcunf_53", s2 = "_buttonsContainer_mcunf_67", r2 = "_ambitListContainer_mcunf_76", a2 = "_newAmbitButtonContainer_mcunf_80", W = {
|
|
22
|
+
ambitSelector: e2,
|
|
23
|
+
header: t2,
|
|
24
|
+
nameDateContainer: n2,
|
|
25
|
+
ambitName: i2,
|
|
26
|
+
ambitDate: o2,
|
|
27
27
|
buttonsContainer: s2,
|
|
28
|
-
ambitListContainer:
|
|
29
|
-
newAmbitButtonContainer:
|
|
30
|
-
},
|
|
31
|
-
ambitItem:
|
|
32
|
-
ambitNameDate:
|
|
33
|
-
ambitName:
|
|
34
|
-
ambitDate:
|
|
35
|
-
ambitButtons:
|
|
36
|
-
}, 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='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", 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%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", 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%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", g2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", C2 = "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", f2 = "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", dt = ({
|
|
28
|
+
ambitListContainer: r2,
|
|
29
|
+
newAmbitButtonContainer: a2
|
|
30
|
+
}, l2 = "_ambitItem_1qa6u_2", c2 = "_ambitNameDate_1qa6u_16", d2 = "_ambitName_1qa6u_16", u2 = "_ambitDate_1qa6u_35", p2 = "_ambitButtons_1qa6u_38", he = {
|
|
31
|
+
ambitItem: l2,
|
|
32
|
+
ambitNameDate: c2,
|
|
33
|
+
ambitName: d2,
|
|
34
|
+
ambitDate: u2,
|
|
35
|
+
ambitButtons: p2
|
|
36
|
+
}, m2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", h2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", g2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", C2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", f2 = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205138'%3e%3cpath%20id='Vector'%20d='M12.95%200.408447C7.659%200.408447%202.84899%202.77185%200.0832465%206.72621C-0.0277488%206.88808%20-0.0277488%207.09621%200.0832465%207.25807C2.84439%2011.2125%207.65437%2013.5712%2012.95%2013.5712C18.2456%2013.5712%2023.0556%2011.2125%2025.8168%207.25807C25.9278%207.0962%2025.9278%206.88807%2025.8168%206.72621C23.051%202.77184%2018.241%200.408447%2012.95%200.408447ZM12.95%2011.2217C10.619%2011.2217%208.71812%209.32083%208.71812%206.98984C8.71812%204.65885%2010.619%202.75796%2012.95%202.75796C15.281%202.75796%2017.1819%204.65883%2017.1819%206.98984C17.1819%209.32085%2015.281%2011.2217%2012.95%2011.2217Z'%20fill='%23B32F5D'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%2010.2966C14.7777%2010.2966%2016.2583%208.81607%2016.2583%206.98974C16.2583%205.1634%2014.7777%203.68286%2012.9514%203.68286C11.1251%203.68286%209.64453%205.1634%209.64453%206.98974C9.64453%208.81607%2011.1251%2010.2966%2012.9514%2010.2966Z'%20fill='%23B32F5D'/%3e%3c/g%3e%3c/svg%3e", b2 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", pt = ({
|
|
37
37
|
ambit: n,
|
|
38
38
|
onClickCopy: d,
|
|
39
|
-
onClickDelete:
|
|
40
|
-
onClickFilters:
|
|
39
|
+
onClickDelete: o,
|
|
40
|
+
onClickFilters: s,
|
|
41
41
|
onClickAmbit: t,
|
|
42
42
|
isActive: r,
|
|
43
43
|
activeColor: a,
|
|
@@ -57,7 +57,7 @@ const Jt = "_ambitSelector_mcunf_2", e2 = "_header_mcunf_13", t2 = "_nameDateCon
|
|
|
57
57
|
"img",
|
|
58
58
|
{
|
|
59
59
|
style: { marginRight: 9 },
|
|
60
|
-
src: r ?
|
|
60
|
+
src: r ? f2 : b2
|
|
61
61
|
}
|
|
62
62
|
),
|
|
63
63
|
/* @__PURE__ */ i("span", { style: { color: r ? a : l }, children: u })
|
|
@@ -65,16 +65,16 @@ const Jt = "_ambitSelector_mcunf_2", e2 = "_header_mcunf_13", t2 = "_nameDateCon
|
|
|
65
65
|
/* @__PURE__ */ i("div", { className: he.ambitDate, children: h ? new Date(h).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
67
67
|
/* @__PURE__ */ p("div", { className: he.ambitButtons, children: [
|
|
68
|
-
y && /* @__PURE__ */ i("img", { src:
|
|
69
|
-
/* @__PURE__ */ i("button", { onClick: () =>
|
|
70
|
-
/* @__PURE__ */ i("button", { onClick: () => d(C), children: /* @__PURE__ */ i("img", { src:
|
|
71
|
-
/* @__PURE__ */ i("button", { onClick: () =>
|
|
68
|
+
y && /* @__PURE__ */ i("img", { src: C2 }),
|
|
69
|
+
/* @__PURE__ */ i("button", { onClick: () => s(C), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: g2 }) }),
|
|
70
|
+
/* @__PURE__ */ i("button", { onClick: () => d(C), children: /* @__PURE__ */ i("img", { src: h2 }) }),
|
|
71
|
+
/* @__PURE__ */ i("button", { onClick: () => o(C), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: m2 }) })
|
|
72
72
|
] })
|
|
73
73
|
]
|
|
74
74
|
}
|
|
75
75
|
);
|
|
76
76
|
};
|
|
77
|
-
|
|
77
|
+
pt.propTypes = {
|
|
78
78
|
ambit: e.shape({
|
|
79
79
|
name: e.string.isRequired,
|
|
80
80
|
created_at: e.string,
|
|
@@ -92,23 +92,23 @@ dt.propTypes = {
|
|
|
92
92
|
moreInfo: e.object
|
|
93
93
|
// Optional, can be used for additional info
|
|
94
94
|
};
|
|
95
|
-
const
|
|
96
|
-
generalButton:
|
|
97
|
-
},
|
|
95
|
+
const Qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", _2 = "_generalButton_phq4n_2", y2 = {
|
|
96
|
+
generalButton: _2
|
|
97
|
+
}, Te = ({
|
|
98
98
|
children: n,
|
|
99
99
|
onClick: d,
|
|
100
|
-
fontColor:
|
|
101
|
-
borderColor:
|
|
100
|
+
fontColor: o = "#605B56",
|
|
101
|
+
borderColor: s = "#605B56",
|
|
102
102
|
type: t = "button",
|
|
103
103
|
containerStyles: r = {},
|
|
104
104
|
disabled: a = !1
|
|
105
105
|
}) => /* @__PURE__ */ i(
|
|
106
106
|
"button",
|
|
107
107
|
{
|
|
108
|
-
className:
|
|
108
|
+
className: y2.generalButton,
|
|
109
109
|
style: {
|
|
110
|
-
color:
|
|
111
|
-
border: `1.5px solid ${
|
|
110
|
+
color: o,
|
|
111
|
+
border: `1.5px solid ${s}`,
|
|
112
112
|
...r
|
|
113
113
|
},
|
|
114
114
|
onClick: d,
|
|
@@ -116,11 +116,11 @@ const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
116
116
|
disabled: a,
|
|
117
117
|
children: n
|
|
118
118
|
}
|
|
119
|
-
),
|
|
119
|
+
), v2 = ({
|
|
120
120
|
ambitList: n,
|
|
121
121
|
activeAmbitId: d,
|
|
122
|
-
fontColor:
|
|
123
|
-
activeColor:
|
|
122
|
+
fontColor: o = "#605B56",
|
|
123
|
+
activeColor: s,
|
|
124
124
|
nameLabel: t,
|
|
125
125
|
dateLabel: r,
|
|
126
126
|
newAmbitLabel: a = "New field",
|
|
@@ -132,49 +132,49 @@ const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
132
132
|
onClickFilters: y = (f) => console.log(`Filters clicked: ${f}`),
|
|
133
133
|
onClickAmbit: v = (f) => console.log(`OnCLickAmbit: ${f}`)
|
|
134
134
|
}) => {
|
|
135
|
-
const { t: f } = $(), [
|
|
136
|
-
|
|
135
|
+
const { t: f } = $(), [b, m] = D(n);
|
|
136
|
+
V(() => {
|
|
137
137
|
n && m(n);
|
|
138
138
|
}, [n]);
|
|
139
|
-
const
|
|
140
|
-
if (
|
|
141
|
-
let
|
|
142
|
-
|
|
139
|
+
const g = (_) => {
|
|
140
|
+
if (b && b.length > 0) {
|
|
141
|
+
let N = [...b];
|
|
142
|
+
N.sort((w, x) => w[_].localeCompare(x[_])), m(N);
|
|
143
143
|
}
|
|
144
144
|
};
|
|
145
145
|
return /* @__PURE__ */ p(
|
|
146
146
|
"div",
|
|
147
147
|
{
|
|
148
148
|
className: W.ambitSelector,
|
|
149
|
-
style: { color:
|
|
149
|
+
style: { color: o, ...c },
|
|
150
150
|
children: [
|
|
151
151
|
/* @__PURE__ */ p(
|
|
152
152
|
"div",
|
|
153
153
|
{
|
|
154
154
|
className: W.header,
|
|
155
|
-
style: { borderBottom: `1px solid ${
|
|
155
|
+
style: { borderBottom: `1px solid ${o}` },
|
|
156
156
|
children: [
|
|
157
157
|
/* @__PURE__ */ p("div", { className: W.nameDateContainer, children: [
|
|
158
|
-
/* @__PURE__ */ i("div", { className: W.ambitName, children: /* @__PURE__ */ p("button", { onClick: () =>
|
|
158
|
+
/* @__PURE__ */ i("div", { className: W.ambitName, children: /* @__PURE__ */ p("button", { onClick: () => g("name"), children: [
|
|
159
159
|
/* @__PURE__ */ i("span", { children: f(t) }),
|
|
160
|
-
/* @__PURE__ */ i("img", { src:
|
|
160
|
+
/* @__PURE__ */ i("img", { src: Qe })
|
|
161
161
|
] }) }),
|
|
162
|
-
/* @__PURE__ */ i("div", { className: W.ambitDate, children: /* @__PURE__ */ p("button", { onClick: () =>
|
|
162
|
+
/* @__PURE__ */ i("div", { className: W.ambitDate, children: /* @__PURE__ */ p("button", { onClick: () => g("date"), children: [
|
|
163
163
|
/* @__PURE__ */ i("span", { children: f(r) }),
|
|
164
|
-
/* @__PURE__ */ i("img", { src:
|
|
164
|
+
/* @__PURE__ */ i("img", { src: Qe })
|
|
165
165
|
] }) })
|
|
166
166
|
] }),
|
|
167
167
|
/* @__PURE__ */ i("div", { className: W.buttonsContainer })
|
|
168
168
|
]
|
|
169
169
|
}
|
|
170
170
|
),
|
|
171
|
-
/* @__PURE__ */ i("div", { className: W.ambitListContainer, children:
|
|
172
|
-
|
|
171
|
+
/* @__PURE__ */ i("div", { className: W.ambitListContainer, children: b && b.length > 0 && b.map((_) => /* @__PURE__ */ i(
|
|
172
|
+
pt,
|
|
173
173
|
{
|
|
174
174
|
isActive: d == _.id,
|
|
175
175
|
ambit: _,
|
|
176
|
-
fontColor:
|
|
177
|
-
activeColor:
|
|
176
|
+
fontColor: o,
|
|
177
|
+
activeColor: s,
|
|
178
178
|
onClickCopy: h,
|
|
179
179
|
onClickDelete: C,
|
|
180
180
|
onClickFilters: y,
|
|
@@ -183,7 +183,7 @@ const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
183
183
|
`ambitKey${_.id}`
|
|
184
184
|
)) }),
|
|
185
185
|
/* @__PURE__ */ i("div", { className: W.newAmbitButtonContainer, children: /* @__PURE__ */ i(
|
|
186
|
-
|
|
186
|
+
Te,
|
|
187
187
|
{
|
|
188
188
|
style: { ...l },
|
|
189
189
|
onClick: u,
|
|
@@ -195,7 +195,7 @@ const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
195
195
|
}
|
|
196
196
|
);
|
|
197
197
|
};
|
|
198
|
-
|
|
198
|
+
v2.propTypes = {
|
|
199
199
|
ambitList: e.arrayOf(
|
|
200
200
|
e.shape({
|
|
201
201
|
name: e.string.isRequired,
|
|
@@ -217,32 +217,32 @@ y2.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
|
-
}, ie = ({ text: n, position: d, styleCustom:
|
|
233
|
-
const { t:
|
|
234
|
-
return /* @__PURE__ */ i("div", { className: `tooltip ${
|
|
220
|
+
const w2 = "_buttonsContainer_1ks7x_2", x2 = "_vertical_1ks7x_6", N2 = "_horizontal_1ks7x_9", k2 = "_button_1ks7x_2", S2 = "_active_1ks7x_25", $2 = "_buttonName_1ks7x_28", X = {
|
|
221
|
+
buttonsContainer: w2,
|
|
222
|
+
vertical: x2,
|
|
223
|
+
horizontal: N2,
|
|
224
|
+
button: k2,
|
|
225
|
+
active: S2,
|
|
226
|
+
buttonName: $2
|
|
227
|
+
}, B2 = "_left_1l4m4_2", L2 = "_top_1l4m4_40", T2 = "_bottom_1l4m4_79", M2 = "_right_1l4m4_118", D2 = {
|
|
228
|
+
left: B2,
|
|
229
|
+
top: L2,
|
|
230
|
+
bottom: T2,
|
|
231
|
+
right: M2
|
|
232
|
+
}, ie = ({ text: n, position: d, styleCustom: o = null }) => {
|
|
233
|
+
const { t: s } = $();
|
|
234
|
+
return /* @__PURE__ */ i("div", { className: `tooltip ${D2[d]}`, style: o, children: s(n) });
|
|
235
235
|
};
|
|
236
236
|
ie.propTypes = {
|
|
237
237
|
text: e.string.isRequired,
|
|
238
238
|
position: e.oneOf(["top", "bottom", "left", "right"]).isRequired,
|
|
239
239
|
styleCustom: e.object
|
|
240
240
|
};
|
|
241
|
-
const
|
|
241
|
+
const F2 = ({
|
|
242
242
|
buttons: n = [],
|
|
243
243
|
orientation: d = "horizontal",
|
|
244
|
-
showName:
|
|
245
|
-
namePosition:
|
|
244
|
+
showName: o = !0,
|
|
245
|
+
namePosition: s = "right",
|
|
246
246
|
useTooltip: t = !1,
|
|
247
247
|
tooltipPosition: r = "top"
|
|
248
248
|
}) => {
|
|
@@ -260,10 +260,10 @@ const D2 = ({
|
|
|
260
260
|
name: y,
|
|
261
261
|
onClick: v,
|
|
262
262
|
disabled: f
|
|
263
|
-
} = l,
|
|
264
|
-
|
|
263
|
+
} = l, b = /* @__PURE__ */ p(Re, { children: [
|
|
264
|
+
o && s === "left" && /* @__PURE__ */ i("span", { className: X.buttonName, children: a(y) }),
|
|
265
265
|
/* @__PURE__ */ i("img", { src: C ? h : u, alt: a(y) }),
|
|
266
|
-
|
|
266
|
+
o && s === "right" && /* @__PURE__ */ i("span", { className: X.buttonName, children: a(y) })
|
|
267
267
|
] });
|
|
268
268
|
return /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
269
269
|
/* @__PURE__ */ i(
|
|
@@ -273,7 +273,7 @@ const D2 = ({
|
|
|
273
273
|
className: `${X.button}
|
|
274
274
|
${C && X.active}`,
|
|
275
275
|
disabled: f,
|
|
276
|
-
children:
|
|
276
|
+
children: b
|
|
277
277
|
}
|
|
278
278
|
),
|
|
279
279
|
t && /* @__PURE__ */ i(ie, { text: y, position: r })
|
|
@@ -282,7 +282,7 @@ const D2 = ({
|
|
|
282
282
|
}
|
|
283
283
|
);
|
|
284
284
|
};
|
|
285
|
-
|
|
285
|
+
F2.propTypes = {
|
|
286
286
|
buttons: e.arrayOf(
|
|
287
287
|
e.shape({
|
|
288
288
|
icon: e.node.isRequired,
|
|
@@ -300,14 +300,14 @@ D2.propTypes = {
|
|
|
300
300
|
useTooltip: e.bool,
|
|
301
301
|
tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
|
|
302
302
|
};
|
|
303
|
-
const
|
|
304
|
-
indicatorsCategory:
|
|
305
|
-
title:
|
|
306
|
-
},
|
|
303
|
+
const V2 = "_indicatorsCategory_1cu33_2", A2 = "_title_1cu33_5", De = {
|
|
304
|
+
indicatorsCategory: V2,
|
|
305
|
+
title: A2
|
|
306
|
+
}, se = ({
|
|
307
307
|
isOpen: n,
|
|
308
308
|
onClick: d,
|
|
309
|
-
children:
|
|
310
|
-
color:
|
|
309
|
+
children: o,
|
|
310
|
+
color: s,
|
|
311
311
|
activeColor: t = "#F8A925",
|
|
312
312
|
title: r = "Title",
|
|
313
313
|
//Change the height only if the title is more than one line or you change title fontSize, otherwise should be 53px
|
|
@@ -319,9 +319,9 @@ const F2 = "_indicatorsCategory_1cu33_2", V2 = "_title_1cu33_5", Me = {
|
|
|
319
319
|
}) => {
|
|
320
320
|
const { t: h } = $();
|
|
321
321
|
return /* @__PURE__ */ p(
|
|
322
|
-
|
|
322
|
+
He.div,
|
|
323
323
|
{
|
|
324
|
-
className:
|
|
324
|
+
className: De.indicatorsCategory,
|
|
325
325
|
initial: { height: `${a}px` },
|
|
326
326
|
animate: { height: n ? "auto" : `${a}px` },
|
|
327
327
|
transition: { duration: 0.4 },
|
|
@@ -338,20 +338,20 @@ const F2 = "_indicatorsCategory_1cu33_2", V2 = "_title_1cu33_5", Me = {
|
|
|
338
338
|
...l,
|
|
339
339
|
marginBottom: u || "auto"
|
|
340
340
|
},
|
|
341
|
-
className: `${
|
|
341
|
+
className: `${De.title}`,
|
|
342
342
|
onClick: d,
|
|
343
343
|
children: [
|
|
344
|
-
/* @__PURE__ */ i("span", { style: { color: n ? t :
|
|
345
|
-
/* @__PURE__ */ i("span", { style: { marginLeft: 12, color: n ? t :
|
|
344
|
+
/* @__PURE__ */ i("span", { style: { color: n ? t : s }, children: n ? "-" : "+" }),
|
|
345
|
+
/* @__PURE__ */ i("span", { style: { marginLeft: 12, color: n ? t : s }, children: h(r) })
|
|
346
346
|
]
|
|
347
347
|
}
|
|
348
348
|
),
|
|
349
|
-
/* @__PURE__ */ i("div", { className:
|
|
349
|
+
/* @__PURE__ */ i("div", { className: De.content, children: o })
|
|
350
350
|
]
|
|
351
351
|
}
|
|
352
352
|
);
|
|
353
353
|
};
|
|
354
|
-
|
|
354
|
+
se.propTypes = {
|
|
355
355
|
isOpen: e.bool,
|
|
356
356
|
onClick: e.func,
|
|
357
357
|
children: e.node,
|
|
@@ -362,39 +362,39 @@ oe.propTypes = {
|
|
|
362
362
|
showBottomBar: e.bool,
|
|
363
363
|
titleFontStyles: e.object
|
|
364
364
|
};
|
|
365
|
-
const
|
|
366
|
-
AppliedFiltersContainer:
|
|
365
|
+
const ss = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), I2 = "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", O2 = "_AppliedFiltersContainer_cokx9_2", R2 = "_AppliedFilterContent_cokx9_11", Xe = {
|
|
366
|
+
AppliedFiltersContainer: O2,
|
|
367
367
|
AppliedFilterContent: R2
|
|
368
|
-
},
|
|
368
|
+
}, O = ut((n) => ({
|
|
369
369
|
activeCategory: "",
|
|
370
370
|
activeSubCategory: "",
|
|
371
371
|
selectedIndicator: "",
|
|
372
372
|
tematicalFiltersSelected: [],
|
|
373
373
|
fontColor: "#605B56",
|
|
374
374
|
inputsColor: "#605B56"
|
|
375
|
-
})),
|
|
376
|
-
const { t: a } = $(), { tematicalFiltersSelected: l } =
|
|
377
|
-
|
|
375
|
+
})), mt = ({ title: n, onClick: d, isOpen: o = !0, textColor: s = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
376
|
+
const { t: a } = $(), { tematicalFiltersSelected: l } = O((u) => u), c = (u) => {
|
|
377
|
+
O.setState((h) => ({
|
|
378
378
|
tematicalFiltersSelected: h.tematicalFiltersSelected.filter(
|
|
379
379
|
(C) => C.code !== u
|
|
380
380
|
)
|
|
381
381
|
}));
|
|
382
382
|
};
|
|
383
383
|
return /* @__PURE__ */ i(
|
|
384
|
-
|
|
384
|
+
se,
|
|
385
385
|
{
|
|
386
|
-
isOpen:
|
|
386
|
+
isOpen: o,
|
|
387
387
|
onClick: d,
|
|
388
388
|
title: n ? a(n) : "Applied Filters",
|
|
389
389
|
activeColor: r,
|
|
390
|
-
children: /* @__PURE__ */ i("div", { className:
|
|
390
|
+
children: /* @__PURE__ */ i("div", { className: Xe.AppliedFiltersContainer, children: l == null ? void 0 : l.map((u, h) => /* @__PURE__ */ p("div", { className: Xe.AppliedFilterContent, style: { color: s, background: t }, children: [
|
|
391
391
|
a(u.name),
|
|
392
|
-
/* @__PURE__ */ i("img", { src:
|
|
392
|
+
/* @__PURE__ */ i("img", { src: I2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
|
|
393
393
|
] }, h)) })
|
|
394
394
|
}
|
|
395
395
|
);
|
|
396
396
|
};
|
|
397
|
-
|
|
397
|
+
mt.propTypes = {
|
|
398
398
|
isOpen: e.bool,
|
|
399
399
|
onClick: e.func,
|
|
400
400
|
title: e.string,
|
|
@@ -408,12 +408,12 @@ ut.propTypes = {
|
|
|
408
408
|
),
|
|
409
409
|
activeColor: e.string
|
|
410
410
|
};
|
|
411
|
-
const
|
|
412
|
-
const { t: a } = $(), { tematicalFiltersSelected: l } =
|
|
411
|
+
const ht = ({ title: n, onClick: d, isOpen: o = !0, textColor: s = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
412
|
+
const { t: a } = $(), { tematicalFiltersSelected: l } = O((c) => c);
|
|
413
413
|
return /* @__PURE__ */ i(
|
|
414
|
-
|
|
414
|
+
se,
|
|
415
415
|
{
|
|
416
|
-
isOpen:
|
|
416
|
+
isOpen: o,
|
|
417
417
|
onClick: d,
|
|
418
418
|
title: n ? a(n) : "Geographical Filters",
|
|
419
419
|
activeColor: r,
|
|
@@ -421,7 +421,7 @@ const pt = ({ title: n, onClick: d, isOpen: s = !0, textColor: o = "#ffffff", ba
|
|
|
421
421
|
}
|
|
422
422
|
);
|
|
423
423
|
};
|
|
424
|
-
|
|
424
|
+
ht.propTypes = {
|
|
425
425
|
isOpen: e.bool,
|
|
426
426
|
onClick: e.func,
|
|
427
427
|
title: e.string,
|
|
@@ -429,22 +429,22 @@ pt.propTypes = {
|
|
|
429
429
|
backgroundColor: e.string,
|
|
430
430
|
activeColor: e.string
|
|
431
431
|
};
|
|
432
|
-
const
|
|
433
|
-
checkboxContainer:
|
|
434
|
-
},
|
|
432
|
+
const q2 = "_checkboxContainer_zld97_2", E2 = {
|
|
433
|
+
checkboxContainer: q2
|
|
434
|
+
}, gt = ({
|
|
435
435
|
onClick: n,
|
|
436
436
|
containerStyles: d,
|
|
437
|
-
color:
|
|
438
|
-
indicator:
|
|
437
|
+
color: o = "#605B56",
|
|
438
|
+
indicator: s,
|
|
439
439
|
value: t
|
|
440
440
|
}) => {
|
|
441
|
-
const { t: r } = $(), { title: a } =
|
|
441
|
+
const { t: r } = $(), { title: a } = s || {}, { fontColor: l, inputsColor: c } = O((u) => u);
|
|
442
442
|
return /* @__PURE__ */ p(
|
|
443
443
|
"div",
|
|
444
444
|
{
|
|
445
|
-
style: { ...d, color:
|
|
445
|
+
style: { ...d, color: o },
|
|
446
446
|
role: "checkbox",
|
|
447
|
-
className:
|
|
447
|
+
className: E2.checkboxContainer,
|
|
448
448
|
onClick: n,
|
|
449
449
|
children: [
|
|
450
450
|
/* @__PURE__ */ i(
|
|
@@ -465,7 +465,7 @@ const O2 = "_checkboxContainer_zld97_2", q2 = {
|
|
|
465
465
|
}
|
|
466
466
|
);
|
|
467
467
|
};
|
|
468
|
-
|
|
468
|
+
gt.propTypes = {
|
|
469
469
|
onClick: e.func,
|
|
470
470
|
value: e.bool,
|
|
471
471
|
containerStyles: e.object,
|
|
@@ -476,43 +476,43 @@ mt.propTypes = {
|
|
|
476
476
|
}),
|
|
477
477
|
checkedColor: e.string
|
|
478
478
|
};
|
|
479
|
-
function
|
|
480
|
-
return
|
|
481
|
-
return
|
|
482
|
-
},
|
|
479
|
+
function qe(n, d) {
|
|
480
|
+
return qe = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, s) {
|
|
481
|
+
return o.__proto__ = s, o;
|
|
482
|
+
}, qe(n, d);
|
|
483
483
|
}
|
|
484
|
-
function
|
|
485
|
-
n.prototype = Object.create(d.prototype), n.prototype.constructor = n,
|
|
484
|
+
function P2(n, d) {
|
|
485
|
+
n.prototype = Object.create(d.prototype), n.prototype.constructor = n, qe(n, d);
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function Fe(n) {
|
|
488
488
|
return n && n.stopPropagation && n.stopPropagation(), n && n.preventDefault && n.preventDefault(), !1;
|
|
489
489
|
}
|
|
490
|
-
function
|
|
490
|
+
function Ve(n) {
|
|
491
491
|
return n == null ? [] : Array.isArray(n) ? n.slice() : [n];
|
|
492
492
|
}
|
|
493
|
-
function
|
|
493
|
+
function Ne(n) {
|
|
494
494
|
return n !== null && n.length === 1 ? n[0] : n.slice();
|
|
495
495
|
}
|
|
496
|
-
function
|
|
496
|
+
function ke(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 J(n, d) {
|
|
502
|
-
return
|
|
503
|
-
let t =
|
|
504
|
-
return t <=
|
|
502
|
+
return Ee(function(o, s) {
|
|
503
|
+
let t = o;
|
|
504
|
+
return t <= s.min && (t = s.min), t >= s.max && (t = s.max), t;
|
|
505
505
|
}(n, d), d);
|
|
506
506
|
}
|
|
507
|
-
function
|
|
508
|
-
const
|
|
509
|
-
let
|
|
510
|
-
return 2 * Math.abs(
|
|
507
|
+
function Ee(n, d) {
|
|
508
|
+
const o = (n - d.min) % d.step;
|
|
509
|
+
let s = n - o;
|
|
510
|
+
return 2 * Math.abs(o) >= d.step && (s += o > 0 ? d.step : -d.step), parseFloat(s.toFixed(5));
|
|
511
511
|
}
|
|
512
|
-
let
|
|
513
|
-
function d(
|
|
512
|
+
let Pe = function(n) {
|
|
513
|
+
function d(s) {
|
|
514
514
|
var t;
|
|
515
|
-
(t = n.call(this,
|
|
515
|
+
(t = n.call(this, s) || this).onKeyUp = () => {
|
|
516
516
|
t.onEnd();
|
|
517
517
|
}, t.onMouseUp = () => {
|
|
518
518
|
t.onEnd(t.getMouseEventMap());
|
|
@@ -566,10 +566,10 @@ let Ee = 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]), ke(t.getMouseEventMap());
|
|
570
570
|
});
|
|
571
571
|
}
|
|
572
|
-
|
|
572
|
+
Fe(l);
|
|
573
573
|
}
|
|
574
574
|
}, t.onSliderClick = (l) => {
|
|
575
575
|
if (!t.props.disabled && t.props.onSliderClick && !t.hasMoved) {
|
|
@@ -577,17 +577,17 @@ let Ee = 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), ke(t.getKeyDownEventMap()), Fe(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]), ke(t.getMouseEventMap()), Fe(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]), ke(t.getTouchEventMap()), function(h) {
|
|
591
591
|
h.stopPropagation && h.stopPropagation();
|
|
592
592
|
}(c);
|
|
593
593
|
}, t.handleResize = () => {
|
|
@@ -598,204 +598,204 @@ let Ee = 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: (y) => {
|
|
600
600
|
t["thumb" + c] = y;
|
|
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 }, C = { 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 }, C = { index: c, value: Ne(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(C)), t.props.renderThumb(h, C);
|
|
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) }, C = { 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) }, C = { index: l, value: Ne(t.state.value) };
|
|
605
605
|
return t.props.renderTrack(h, C);
|
|
606
606
|
};
|
|
607
|
-
let r =
|
|
608
|
-
r.length || (r =
|
|
607
|
+
let r = Ve(s.value);
|
|
608
|
+
r.length || (r = Ve(s.defaultValue)), t.pendingResizeTimeouts = [];
|
|
609
609
|
const a = [];
|
|
610
|
-
for (let l = 0; l < r.length; l += 1) r[l] = J(r[l],
|
|
610
|
+
for (let l = 0; l < r.length; l += 1) r[l] = J(r[l], s), a.push(l);
|
|
611
611
|
return t.resizeObserver = null, t.resizeElementRef = T.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices: a }, t;
|
|
612
612
|
}
|
|
613
|
-
|
|
614
|
-
var
|
|
615
|
-
return
|
|
613
|
+
P2(d, n);
|
|
614
|
+
var o = d.prototype;
|
|
615
|
+
return o.componentDidMount = function() {
|
|
616
616
|
typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
|
|
617
|
-
}, d.getDerivedStateFromProps = function(
|
|
618
|
-
const r =
|
|
619
|
-
return r.length ? t.pending ? null : { value: r.map((a) => J(a,
|
|
620
|
-
},
|
|
617
|
+
}, d.getDerivedStateFromProps = function(s, t) {
|
|
618
|
+
const r = Ve(s.value);
|
|
619
|
+
return r.length ? t.pending ? null : { value: r.map((a) => J(a, s)) } : null;
|
|
620
|
+
}, o.componentDidUpdate = function() {
|
|
621
621
|
this.state.upperBound === 0 && this.resize();
|
|
622
|
-
},
|
|
622
|
+
}, o.componentWillUnmount = function() {
|
|
623
623
|
this.clearPendingResizeTimeouts(), this.resizeObserver && this.resizeObserver.disconnect();
|
|
624
|
-
},
|
|
625
|
-
|
|
624
|
+
}, o.onEnd = function(s) {
|
|
625
|
+
s && function(t) {
|
|
626
626
|
Object.keys(t).forEach((r) => {
|
|
627
627
|
typeof document < "u" && document.removeEventListener(r, t[r], !1);
|
|
628
628
|
});
|
|
629
|
-
}(
|
|
630
|
-
},
|
|
631
|
-
return
|
|
632
|
-
},
|
|
629
|
+
}(s), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
|
|
630
|
+
}, o.getValue = function() {
|
|
631
|
+
return Ne(this.state.value);
|
|
632
|
+
}, o.getClosestIndex = function(s) {
|
|
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) {
|
|
636
|
-
const u = this.calcOffset(a[c]), h = Math.abs(
|
|
636
|
+
const u = this.calcOffset(a[c]), h = Math.abs(s - u);
|
|
637
637
|
h < t && (t = h, r = c);
|
|
638
638
|
}
|
|
639
639
|
return r;
|
|
640
|
-
},
|
|
641
|
-
return [
|
|
642
|
-
},
|
|
643
|
-
const t =
|
|
640
|
+
}, o.getMousePosition = function(s) {
|
|
641
|
+
return [s["page" + this.axisKey()], s["page" + this.orthogonalAxisKey()]];
|
|
642
|
+
}, o.getTouchPosition = function(s) {
|
|
643
|
+
const t = s.touches[0];
|
|
644
644
|
return [t["page" + this.axisKey()], t["page" + this.orthogonalAxisKey()]];
|
|
645
|
-
},
|
|
645
|
+
}, o.getKeyDownEventMap = function() {
|
|
646
646
|
return { keydown: this.onKeyDown, keyup: this.onKeyUp, focusout: this.onBlur };
|
|
647
|
-
},
|
|
647
|
+
}, o.getMouseEventMap = function() {
|
|
648
648
|
return { mousemove: this.onMouseMove, mouseup: this.onMouseUp };
|
|
649
|
-
},
|
|
649
|
+
}, o.getTouchEventMap = function() {
|
|
650
650
|
return { touchmove: this.onTouchMove, touchend: this.onTouchEnd };
|
|
651
|
-
},
|
|
652
|
-
const t =
|
|
651
|
+
}, o.getValueFromPosition = function(s) {
|
|
652
|
+
const t = s / (this.state.sliderLength - this.state.thumbSize) * (this.props.max - this.props.min);
|
|
653
653
|
return J(this.state.startValue + t, this.props);
|
|
654
|
-
},
|
|
655
|
-
let t =
|
|
654
|
+
}, o.getDiffPosition = function(s) {
|
|
655
|
+
let t = s - this.state.startPosition;
|
|
656
656
|
return this.props.invert && (t *= -1), t;
|
|
657
|
-
},
|
|
658
|
-
const { slider:
|
|
659
|
-
if (!
|
|
660
|
-
const r = this.sizeKey(), a =
|
|
657
|
+
}, o.resize = function() {
|
|
658
|
+
const { slider: s, thumb0: t } = this;
|
|
659
|
+
if (!s || !t) return;
|
|
660
|
+
const r = this.sizeKey(), a = s.getBoundingClientRect(), l = s[r], c = a[this.posMaxKey()], u = a[this.posMinKey()], h = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], C = l - h, y = Math.abs(c - u);
|
|
661
661
|
this.state.upperBound === C && this.state.sliderLength === y && this.state.thumbSize === h || this.setState({ upperBound: C, sliderLength: y, thumbSize: h });
|
|
662
|
-
},
|
|
662
|
+
}, o.calcOffset = function(s) {
|
|
663
663
|
const t = this.props.max - this.props.min;
|
|
664
|
-
return t === 0 ? 0 : (
|
|
665
|
-
},
|
|
666
|
-
return
|
|
667
|
-
},
|
|
664
|
+
return t === 0 ? 0 : (s - this.props.min) / t * this.state.upperBound;
|
|
665
|
+
}, o.calcValue = function(s) {
|
|
666
|
+
return s / this.state.upperBound * (this.props.max - this.props.min) + this.props.min;
|
|
667
|
+
}, o.calcOffsetFromPosition = function(s) {
|
|
668
668
|
const { slider: t } = this, r = t.getBoundingClientRect(), a = r[this.posMaxKey()], l = r[this.posMinKey()];
|
|
669
|
-
let c =
|
|
669
|
+
let c = s - (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
|
-
},
|
|
672
|
-
const r = this.calcOffsetFromPosition(
|
|
671
|
+
}, o.forceValueFromPosition = function(s, t) {
|
|
672
|
+
const r = this.calcOffsetFromPosition(s), a = this.getClosestIndex(r), l = J(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
|
+
}, o.clearPendingResizeTimeouts = function() {
|
|
679
679
|
do {
|
|
680
|
-
const
|
|
681
|
-
clearTimeout(
|
|
680
|
+
const s = this.pendingResizeTimeouts.shift();
|
|
681
|
+
clearTimeout(s);
|
|
682
682
|
} while (this.pendingResizeTimeouts.length);
|
|
683
|
-
},
|
|
684
|
-
const r = this["thumb" +
|
|
683
|
+
}, o.start = function(s, t) {
|
|
684
|
+
const r = this["thumb" + s];
|
|
685
685
|
r && r.focus();
|
|
686
686
|
const { zIndices: a } = this.state;
|
|
687
|
-
a.splice(a.indexOf(
|
|
688
|
-
},
|
|
689
|
-
|
|
690
|
-
const t = this.state.value[this.state.index], r = J(this.props.invert && this.props.orientation === "horizontal" ? t -
|
|
687
|
+
a.splice(a.indexOf(s), 1), a.push(s), this.setState((l) => ({ startValue: l.value[s], startPosition: t !== void 0 ? t : l.startPosition, index: s, zIndices: a }));
|
|
688
|
+
}, o.moveUpByStep = function(s) {
|
|
689
|
+
s === void 0 && (s = this.props.step);
|
|
690
|
+
const t = this.state.value[this.state.index], r = J(this.props.invert && this.props.orientation === "horizontal" ? t - s : t + s, this.props);
|
|
691
691
|
this.move(Math.min(r, this.props.max));
|
|
692
|
-
},
|
|
693
|
-
|
|
694
|
-
const t = this.state.value[this.state.index], r = J(this.props.invert && this.props.orientation === "horizontal" ? t +
|
|
692
|
+
}, o.moveDownByStep = function(s) {
|
|
693
|
+
s === void 0 && (s = this.props.step);
|
|
694
|
+
const t = this.state.value[this.state.index], r = J(this.props.invert && this.props.orientation === "horizontal" ? t + s : t - s, this.props);
|
|
695
695
|
this.move(Math.max(r, this.props.min));
|
|
696
|
-
},
|
|
696
|
+
}, o.move = function(s) {
|
|
697
697
|
const t = this.state.value.slice(), { index: r } = this.state, { length: a } = t, l = t[r];
|
|
698
|
-
if (
|
|
698
|
+
if (s === l) return;
|
|
699
699
|
this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
|
|
700
700
|
const { pearling: c, max: u, min: h, minDistance: C } = this.props;
|
|
701
701
|
if (!c) {
|
|
702
702
|
if (r > 0) {
|
|
703
703
|
const y = t[r - 1];
|
|
704
|
-
|
|
704
|
+
s < y + C && (s = y + C);
|
|
705
705
|
}
|
|
706
706
|
if (r < a - 1) {
|
|
707
707
|
const y = t[r + 1];
|
|
708
|
-
|
|
708
|
+
s > y - C && (s = y - C);
|
|
709
709
|
}
|
|
710
710
|
}
|
|
711
|
-
t[r] =
|
|
711
|
+
t[r] = s, c && a > 1 && (s > l ? (this.pushSucceeding(t, C, r), function(y, v, f, b) {
|
|
712
712
|
for (let m = 0; m < y; m += 1) {
|
|
713
|
-
const
|
|
714
|
-
v[y - 1 - m] >
|
|
713
|
+
const g = b - m * f;
|
|
714
|
+
v[y - 1 - m] > g && (v[y - 1 - m] = g);
|
|
715
715
|
}
|
|
716
|
-
}(a, t, C, u)) :
|
|
716
|
+
}(a, t, C, u)) : s < l && (this.pushPreceding(t, C, r), function(y, v, f, b) {
|
|
717
717
|
for (let m = 0; m < y; m += 1) {
|
|
718
|
-
const
|
|
719
|
-
v[m] <
|
|
718
|
+
const g = b + m * f;
|
|
719
|
+
v[m] < g && (v[m] = g);
|
|
720
720
|
}
|
|
721
721
|
}(a, t, C, h))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
722
|
-
},
|
|
722
|
+
}, o.pushSucceeding = function(s, t, r) {
|
|
723
723
|
let a, l;
|
|
724
|
-
for (a = r, l =
|
|
725
|
-
},
|
|
726
|
-
for (let a = r, l =
|
|
727
|
-
},
|
|
724
|
+
for (a = r, l = s[a] + t; s[a + 1] !== null && l > s[a + 1]; a += 1, l = s[a] + t) s[a + 1] = Ee(l, this.props);
|
|
725
|
+
}, o.pushPreceding = function(s, t, r) {
|
|
726
|
+
for (let a = r, l = s[a] - t; s[a - 1] !== null && l < s[a - 1]; a -= 1, l = s[a] - t) s[a - 1] = Ee(l, this.props);
|
|
727
|
+
}, o.axisKey = function() {
|
|
728
728
|
return this.props.orientation === "vertical" ? "Y" : "X";
|
|
729
|
-
},
|
|
729
|
+
}, o.orthogonalAxisKey = function() {
|
|
730
730
|
return this.props.orientation === "vertical" ? "X" : "Y";
|
|
731
|
-
},
|
|
731
|
+
}, o.posMinKey = function() {
|
|
732
732
|
return this.props.orientation === "vertical" ? this.props.invert ? "bottom" : "top" : this.props.invert ? "right" : "left";
|
|
733
|
-
},
|
|
733
|
+
}, o.posMaxKey = function() {
|
|
734
734
|
return this.props.orientation === "vertical" ? this.props.invert ? "top" : "bottom" : this.props.invert ? "left" : "right";
|
|
735
|
-
},
|
|
735
|
+
}, o.sizeKey = function() {
|
|
736
736
|
return this.props.orientation === "vertical" ? "clientHeight" : "clientWidth";
|
|
737
|
-
},
|
|
738
|
-
this.props[
|
|
739
|
-
},
|
|
737
|
+
}, o.fireChangeEvent = function(s) {
|
|
738
|
+
this.props[s] && this.props[s](Ne(this.state.value), this.state.index);
|
|
739
|
+
}, o.buildThumbStyle = function(s, 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
|
-
return r[this.posMinKey()] =
|
|
742
|
-
},
|
|
741
|
+
return r[this.posMinKey()] = s + "px", r;
|
|
742
|
+
}, o.buildTrackStyle = function(s, t) {
|
|
743
743
|
const r = { position: "absolute", willChange: this.state.index >= 0 ? this.posMinKey() + "," + this.posMaxKey() : void 0 };
|
|
744
|
-
return r[this.posMinKey()] =
|
|
745
|
-
},
|
|
744
|
+
return r[this.posMinKey()] = s, r[this.posMaxKey()] = t, r;
|
|
745
|
+
}, o.buildMarkStyle = function(s) {
|
|
746
746
|
var t;
|
|
747
|
-
return (t = { position: "absolute" })[this.posMinKey()] =
|
|
748
|
-
},
|
|
749
|
-
const { length: t } =
|
|
750
|
-
for (let l = 0; l < t; l += 1) r[l] = this.buildThumbStyle(
|
|
747
|
+
return (t = { position: "absolute" })[this.posMinKey()] = s, t;
|
|
748
|
+
}, o.renderThumbs = function(s) {
|
|
749
|
+
const { length: t } = s, r = [];
|
|
750
|
+
for (let l = 0; l < t; l += 1) r[l] = this.buildThumbStyle(s[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
|
-
},
|
|
755
|
-
const t = [], r =
|
|
756
|
-
t.push(this.renderTrack(0, 0,
|
|
757
|
-
for (let a = 0; a < r; a += 1) t.push(this.renderTrack(a + 1,
|
|
758
|
-
return t.push(this.renderTrack(r + 1,
|
|
759
|
-
},
|
|
760
|
-
let { marks:
|
|
754
|
+
}, o.renderTracks = function(s) {
|
|
755
|
+
const t = [], r = s.length - 1;
|
|
756
|
+
t.push(this.renderTrack(0, 0, s[0]));
|
|
757
|
+
for (let a = 0; a < r; a += 1) t.push(this.renderTrack(a + 1, s[a], s[a + 1]));
|
|
758
|
+
return t.push(this.renderTrack(r + 1, s[r], this.state.upperBound)), t;
|
|
759
|
+
}, o.renderMarks = function() {
|
|
760
|
+
let { marks: s } = this.props;
|
|
761
761
|
const t = this.props.max - this.props.min + 1;
|
|
762
|
-
return typeof
|
|
762
|
+
return typeof s == "boolean" ? s = Array.from({ length: t }).map((r, a) => a) : typeof s == "number" && (s = Array.from({ length: t }).map((r, a) => a).filter((r) => r % s == 0)), s.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
|
-
},
|
|
767
|
-
const
|
|
768
|
-
for (let u = 0; u < r; u += 1)
|
|
769
|
-
const a = this.props.withTracks ? this.renderTracks(
|
|
766
|
+
}, o.render = function() {
|
|
767
|
+
const s = [], { value: t } = this.state, r = t.length;
|
|
768
|
+
for (let u = 0; u < r; u += 1) s[u] = this.calcOffset(t[u], u);
|
|
769
|
+
const a = this.props.withTracks ? this.renderTracks(s) : null, l = this.renderThumbs(s), c = this.props.marks ? this.renderMarks() : null;
|
|
770
770
|
return T.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
774
|
}(T.Component);
|
|
775
|
-
|
|
776
|
-
var
|
|
777
|
-
const
|
|
778
|
-
container:
|
|
779
|
-
unitLabel:
|
|
780
|
-
slider:
|
|
781
|
-
thumb:
|
|
782
|
-
track:
|
|
783
|
-
labels:
|
|
784
|
-
},
|
|
775
|
+
Pe.displayName = "ReactSlider", Pe.defaultProps = { min: 0, max: 100, step: 1, pageFn: (n) => 10 * n, minDistance: 0, defaultValue: 0, orientation: "horizontal", className: "slider", thumbClassName: "thumb", thumbActiveClassName: "active", trackClassName: "track", markClassName: "mark", withTracks: !0, pearling: !1, disabled: !1, snapDragDisabled: !1, invert: !1, marks: [], renderThumb: (n) => T.createElement("div", n), renderTrack: (n) => T.createElement("div", n), renderMark: (n) => T.createElement("span", n) };
|
|
776
|
+
var je = Pe;
|
|
777
|
+
const j2 = "_container_4u41i_2", Z2 = "_unitLabel_4u41i_8", z2 = "_slider_4u41i_11", K2 = "_thumb_4u41i_17", H2 = "_track_4u41i_26", U2 = "_labels_4u41i_32", re = {
|
|
778
|
+
container: j2,
|
|
779
|
+
unitLabel: Z2,
|
|
780
|
+
slider: z2,
|
|
781
|
+
thumb: K2,
|
|
782
|
+
track: H2,
|
|
783
|
+
labels: U2
|
|
784
|
+
}, Ct = ({
|
|
785
785
|
min: n = 0,
|
|
786
786
|
max: d = 100,
|
|
787
|
-
step:
|
|
788
|
-
onChange:
|
|
787
|
+
step: o = 1,
|
|
788
|
+
onChange: s,
|
|
789
789
|
width: t = 300,
|
|
790
790
|
unit: r,
|
|
791
791
|
fontColor: a = "#605B56",
|
|
792
792
|
defaultValue: l,
|
|
793
793
|
isDate: c
|
|
794
794
|
}) => {
|
|
795
|
-
const { t: u } = $(), h = c ? new Date(n).getTime() : null, C = c ? new Date(d).getTime() : null, [y, v] = D(c ? [h, C] : [n, d]), f = (
|
|
796
|
-
v(
|
|
795
|
+
const { t: u } = $(), h = c ? new Date(n).getTime() : null, C = c ? new Date(d).getTime() : null, [y, v] = D(c ? [h, C] : [n, d]), f = (b) => {
|
|
796
|
+
v(b), s == null || s({ min: b[0], max: b[1] });
|
|
797
797
|
};
|
|
798
|
-
return
|
|
798
|
+
return V(() => {
|
|
799
799
|
l || v(c ? [h, C] : [n, d]);
|
|
800
800
|
}, [l, c]), /* @__PURE__ */ p(
|
|
801
801
|
"div",
|
|
@@ -805,14 +805,14 @@ const P2 = "_container_4u41i_2", j2 = "_unitLabel_4u41i_8", Z2 = "_slider_4u41i_
|
|
|
805
805
|
children: [
|
|
806
806
|
/* @__PURE__ */ i("div", { className: re.unitLabel, children: /* @__PURE__ */ i("span", { children: u(r) }) }),
|
|
807
807
|
/* @__PURE__ */ i(
|
|
808
|
-
|
|
808
|
+
je,
|
|
809
809
|
{
|
|
810
810
|
className: re.slider,
|
|
811
811
|
thumbClassName: re.thumb,
|
|
812
812
|
trackClassName: re.track,
|
|
813
813
|
min: c ? h : n,
|
|
814
814
|
max: c ? C : d,
|
|
815
|
-
step: c ? (C - h) / 30 :
|
|
815
|
+
step: c ? (C - h) / 30 : o,
|
|
816
816
|
value: y,
|
|
817
817
|
onAfterChange: f,
|
|
818
818
|
withTracks: !0,
|
|
@@ -836,7 +836,7 @@ const P2 = "_container_4u41i_2", j2 = "_unitLabel_4u41i_8", Z2 = "_slider_4u41i_
|
|
|
836
836
|
}
|
|
837
837
|
);
|
|
838
838
|
};
|
|
839
|
-
|
|
839
|
+
Ct.propTypes = {
|
|
840
840
|
min: e.number,
|
|
841
841
|
max: e.number,
|
|
842
842
|
step: e.number,
|
|
@@ -848,17 +848,17 @@ ht.propTypes = {
|
|
|
848
848
|
fontColor: e.string,
|
|
849
849
|
value: e.arrayOf(e.number)
|
|
850
850
|
};
|
|
851
|
-
const
|
|
852
|
-
tematicalFiltersInputContainer:
|
|
853
|
-
inputTypeContainer:
|
|
854
|
-
checkboxContainer:
|
|
855
|
-
absoluteSliderContainer:
|
|
856
|
-
},
|
|
851
|
+
const G2 = "_tematicalFiltersInputContainer_1vm1r_2", W2 = "_inputTypeContainer_1vm1r_2", Y2 = "_checkboxContainer_1vm1r_28", Q2 = "_absoluteSliderContainer_1vm1r_37", Se = {
|
|
852
|
+
tematicalFiltersInputContainer: G2,
|
|
853
|
+
inputTypeContainer: W2,
|
|
854
|
+
checkboxContainer: Y2,
|
|
855
|
+
absoluteSliderContainer: Q2
|
|
856
|
+
}, Ue = ({
|
|
857
857
|
indicator: n,
|
|
858
858
|
//onChangeBothType
|
|
859
859
|
activeColor: d
|
|
860
860
|
}) => {
|
|
861
|
-
const [
|
|
861
|
+
const [o, s] = D(), {
|
|
862
862
|
type: t,
|
|
863
863
|
name: r,
|
|
864
864
|
values: a,
|
|
@@ -869,47 +869,47 @@ const U2 = "_tematicalFiltersInputContainer_1vm1r_2", G2 = "_inputTypeContainer_
|
|
|
869
869
|
disabled: C,
|
|
870
870
|
isDate: y
|
|
871
871
|
} = n || {}, v = me(
|
|
872
|
-
() => t == "cat" ||
|
|
873
|
-
[
|
|
872
|
+
() => t == "cat" || o == "cat",
|
|
873
|
+
[o, t]
|
|
874
874
|
), f = me(
|
|
875
|
-
() => t == "abs" ||
|
|
876
|
-
[
|
|
875
|
+
() => t == "abs" || o == "abs",
|
|
876
|
+
[o, t]
|
|
877
877
|
), {
|
|
878
|
-
tematicalFiltersSelected:
|
|
878
|
+
tematicalFiltersSelected: b,
|
|
879
879
|
selectedIndicator: m,
|
|
880
|
-
fontColor:
|
|
880
|
+
fontColor: g,
|
|
881
881
|
inputsColor: _
|
|
882
|
-
} =
|
|
883
|
-
if (console.log("onChangInput",
|
|
884
|
-
const { min: S, max: B, valueClicked: k, allValues: L } =
|
|
885
|
-
console.log("type: ",
|
|
886
|
-
let
|
|
887
|
-
K == "both" && (
|
|
882
|
+
} = O((x) => x), N = (x) => {
|
|
883
|
+
if (console.log("onChangInput", x), x) {
|
|
884
|
+
const { min: S, max: B, valueClicked: k, allValues: L } = x || {}, { code: E, type: K, source: M } = n || {}, j = f ? "abs" : v ? "cat" : "both";
|
|
885
|
+
console.log("type: ", j);
|
|
886
|
+
let Z = E[0];
|
|
887
|
+
K == "both" && (Z = j == "cat" ? E[1] : E[0]), j == "cat" ? O.setState((Q) => {
|
|
888
888
|
let G = Q.tematicalFiltersSelected.find(
|
|
889
|
-
(
|
|
889
|
+
(R) => R.code === Z
|
|
890
890
|
);
|
|
891
891
|
if (G) {
|
|
892
|
-
let
|
|
893
|
-
return G.values.includes(k) ?
|
|
892
|
+
let R = [G.values];
|
|
893
|
+
return G.values.includes(k) ? R = G.values.filter(
|
|
894
894
|
(P) => P !== k
|
|
895
|
-
) :
|
|
895
|
+
) : R = [...G.values, k], R.length == L.length ? {
|
|
896
896
|
tematicalFiltersSelected: Q.tematicalFiltersSelected.filter(
|
|
897
|
-
(P) => P.code !==
|
|
897
|
+
(P) => P.code !== Z
|
|
898
898
|
)
|
|
899
899
|
} : {
|
|
900
900
|
tematicalFiltersSelected: Q.tematicalFiltersSelected.map(
|
|
901
|
-
(P) => P.code ===
|
|
901
|
+
(P) => P.code === Z ? { ...P, values: R } : P
|
|
902
902
|
)
|
|
903
903
|
};
|
|
904
904
|
} else {
|
|
905
|
-
let
|
|
905
|
+
let R = L.map((P, Ft) => Ft);
|
|
906
906
|
return {
|
|
907
907
|
tematicalFiltersSelected: [
|
|
908
|
-
...
|
|
908
|
+
...b,
|
|
909
909
|
{
|
|
910
910
|
type: "cat",
|
|
911
|
-
code:
|
|
912
|
-
values:
|
|
911
|
+
code: Z,
|
|
912
|
+
values: R.filter((P) => P !== k),
|
|
913
913
|
name: n.name,
|
|
914
914
|
source: M,
|
|
915
915
|
isDate: y
|
|
@@ -917,30 +917,30 @@ const U2 = "_tematicalFiltersInputContainer_1vm1r_2", G2 = "_inputTypeContainer_
|
|
|
917
917
|
]
|
|
918
918
|
};
|
|
919
919
|
}
|
|
920
|
-
}) :
|
|
920
|
+
}) : j == "abs" && O.setState((Q) => {
|
|
921
921
|
let G = Q.tematicalFiltersSelected.find(
|
|
922
|
-
(
|
|
922
|
+
(R) => R.code === Z
|
|
923
923
|
);
|
|
924
924
|
if (S == n.minValue && B == n.maxValue)
|
|
925
925
|
return {
|
|
926
926
|
tematicalFiltersSelected: Q.tematicalFiltersSelected.filter(
|
|
927
|
-
(
|
|
927
|
+
(R) => R.code !== Z
|
|
928
928
|
)
|
|
929
929
|
};
|
|
930
930
|
if (G) {
|
|
931
|
-
let
|
|
931
|
+
let R = { ...G, min: S, max: B, type: j, isDate: y };
|
|
932
932
|
return {
|
|
933
933
|
tematicalFiltersSelected: Q.tematicalFiltersSelected.map(
|
|
934
|
-
(P) => P.code ===
|
|
934
|
+
(P) => P.code === Z ? R : P
|
|
935
935
|
)
|
|
936
936
|
};
|
|
937
937
|
} else
|
|
938
938
|
return {
|
|
939
939
|
tematicalFiltersSelected: [
|
|
940
|
-
...
|
|
940
|
+
...b,
|
|
941
941
|
{
|
|
942
|
-
type:
|
|
943
|
-
code:
|
|
942
|
+
type: j,
|
|
943
|
+
code: Z,
|
|
944
944
|
min: S,
|
|
945
945
|
max: B,
|
|
946
946
|
name: n.name,
|
|
@@ -951,14 +951,14 @@ const U2 = "_tematicalFiltersInputContainer_1vm1r_2", G2 = "_inputTypeContainer_
|
|
|
951
951
|
});
|
|
952
952
|
}
|
|
953
953
|
}, w = me(() => {
|
|
954
|
-
const
|
|
955
|
-
if ((
|
|
956
|
-
for (const S of
|
|
957
|
-
S.type === "cat" ?
|
|
958
|
-
return
|
|
959
|
-
}, [
|
|
960
|
-
return /* @__PURE__ */ i("div", { className:
|
|
961
|
-
|
|
954
|
+
const x = {};
|
|
955
|
+
if ((b == null ? void 0 : b.length) > 0)
|
|
956
|
+
for (const S of b)
|
|
957
|
+
S.type === "cat" ? x[S.code] = new Set(S.values) : x[S.code] = [S.min, S.max];
|
|
958
|
+
return x;
|
|
959
|
+
}, [b]);
|
|
960
|
+
return /* @__PURE__ */ i("div", { className: Se.tematicalFiltersInputContainer, children: /* @__PURE__ */ p(
|
|
961
|
+
se,
|
|
962
962
|
{
|
|
963
963
|
titleFontStyles: {
|
|
964
964
|
fontSize: 16,
|
|
@@ -968,7 +968,7 @@ const U2 = "_tematicalFiltersInputContainer_1vm1r_2", G2 = "_inputTypeContainer_
|
|
|
968
968
|
title: r,
|
|
969
969
|
isOpen: m == `id${r}`,
|
|
970
970
|
onClick: () => {
|
|
971
|
-
C ||
|
|
971
|
+
C || O.setState(() => ({
|
|
972
972
|
selectedIndicator: m == `id${r}` ? "" : `id${r}`
|
|
973
973
|
}));
|
|
974
974
|
},
|
|
@@ -976,14 +976,14 @@ const U2 = "_tematicalFiltersInputContainer_1vm1r_2", G2 = "_inputTypeContainer_
|
|
|
976
976
|
height: 42,
|
|
977
977
|
titleMarginChildren: 14,
|
|
978
978
|
className: "tematicalFiltersInputContainer",
|
|
979
|
-
color:
|
|
979
|
+
color: g,
|
|
980
980
|
activeColor: d,
|
|
981
981
|
children: [
|
|
982
982
|
t == "both" && /* @__PURE__ */ p(
|
|
983
983
|
"div",
|
|
984
984
|
{
|
|
985
|
-
className:
|
|
986
|
-
style: { color:
|
|
985
|
+
className: Se.inputTypeContainer,
|
|
986
|
+
style: { color: g },
|
|
987
987
|
children: [
|
|
988
988
|
/* @__PURE__ */ p("label", { children: [
|
|
989
989
|
/* @__PURE__ */ i(
|
|
@@ -993,12 +993,12 @@ const U2 = "_tematicalFiltersInputContainer_1vm1r_2", G2 = "_inputTypeContainer_
|
|
|
993
993
|
name: "tipo",
|
|
994
994
|
value: "abs",
|
|
995
995
|
onChange: () => {
|
|
996
|
-
|
|
996
|
+
s("abs");
|
|
997
997
|
},
|
|
998
998
|
style: {
|
|
999
999
|
marginRight: 4,
|
|
1000
|
-
backgroundColor:
|
|
1001
|
-
border: `1.5px solid ${
|
|
1000
|
+
backgroundColor: o == "abs" ? _ : "white",
|
|
1001
|
+
border: `1.5px solid ${o == "abs" ? _ : g}`
|
|
1002
1002
|
}
|
|
1003
1003
|
}
|
|
1004
1004
|
),
|
|
@@ -1012,12 +1012,12 @@ const U2 = "_tematicalFiltersInputContainer_1vm1r_2", G2 = "_inputTypeContainer_
|
|
|
1012
1012
|
name: "tipo",
|
|
1013
1013
|
value: "cat",
|
|
1014
1014
|
onChange: () => {
|
|
1015
|
-
|
|
1015
|
+
s("cat");
|
|
1016
1016
|
},
|
|
1017
1017
|
style: {
|
|
1018
1018
|
marginRight: 4,
|
|
1019
|
-
backgroundColor:
|
|
1020
|
-
border: `1.5px solid ${
|
|
1019
|
+
backgroundColor: o == "cat" ? _ : "white",
|
|
1020
|
+
border: `1.5px solid ${o == "cat" ? _ : g}`
|
|
1021
1021
|
}
|
|
1022
1022
|
}
|
|
1023
1023
|
),
|
|
@@ -1026,22 +1026,22 @@ const U2 = "_tematicalFiltersInputContainer_1vm1r_2", G2 = "_inputTypeContainer_
|
|
|
1026
1026
|
]
|
|
1027
1027
|
}
|
|
1028
1028
|
),
|
|
1029
|
-
v && /* @__PURE__ */ i("div", { className:
|
|
1029
|
+
v && /* @__PURE__ */ i("div", { className: Se.checkboxContainer, children: a.map((x, S) => {
|
|
1030
1030
|
var B;
|
|
1031
1031
|
return /* @__PURE__ */ i(
|
|
1032
|
-
|
|
1032
|
+
gt,
|
|
1033
1033
|
{
|
|
1034
|
-
onClick: () =>
|
|
1035
|
-
indicator:
|
|
1034
|
+
onClick: () => N({ valueClicked: S, allValues: a }),
|
|
1035
|
+
indicator: x,
|
|
1036
1036
|
value: ((B = w[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : B.has(S)) || !w[n.code[t == "both" ? 1 : 0]]
|
|
1037
1037
|
},
|
|
1038
1038
|
`checkbox-${S}`
|
|
1039
1039
|
);
|
|
1040
1040
|
}) }),
|
|
1041
|
-
(f || t == "glb") && /* @__PURE__ */ i("div", { className:
|
|
1042
|
-
|
|
1041
|
+
(f || t == "glb") && /* @__PURE__ */ i("div", { className: Se.absoluteSliderContainer, children: /* @__PURE__ */ i(
|
|
1042
|
+
Ct,
|
|
1043
1043
|
{
|
|
1044
|
-
onChange:
|
|
1044
|
+
onChange: N,
|
|
1045
1045
|
min: l,
|
|
1046
1046
|
max: c,
|
|
1047
1047
|
unit: u,
|
|
@@ -1054,7 +1054,7 @@ const U2 = "_tematicalFiltersInputContainer_1vm1r_2", G2 = "_inputTypeContainer_
|
|
|
1054
1054
|
}
|
|
1055
1055
|
) });
|
|
1056
1056
|
};
|
|
1057
|
-
|
|
1057
|
+
Ue.propTypes = {
|
|
1058
1058
|
indicator: e.shape({
|
|
1059
1059
|
name: e.string,
|
|
1060
1060
|
type: e.string,
|
|
@@ -1069,20 +1069,20 @@ He.propTypes = {
|
|
|
1069
1069
|
activeColor: e.string
|
|
1070
1070
|
//onChangeBothType: PropTypes.func,
|
|
1071
1071
|
};
|
|
1072
|
-
const
|
|
1072
|
+
const ft = ({
|
|
1073
1073
|
subcategory: n,
|
|
1074
1074
|
fontColor: d,
|
|
1075
|
-
activeColor:
|
|
1075
|
+
activeColor: o
|
|
1076
1076
|
//onChangeBothType,
|
|
1077
1077
|
}) => {
|
|
1078
|
-
const { activeSubcategory:
|
|
1078
|
+
const { activeSubcategory: s } = O((a) => a), { name: t, indicators: r } = n || {};
|
|
1079
1079
|
return /* @__PURE__ */ i(
|
|
1080
|
-
|
|
1080
|
+
se,
|
|
1081
1081
|
{
|
|
1082
1082
|
title: t,
|
|
1083
|
-
isOpen:
|
|
1083
|
+
isOpen: s == `id${t}`,
|
|
1084
1084
|
onClick: () => {
|
|
1085
|
-
|
|
1085
|
+
O.setState((a) => ({
|
|
1086
1086
|
activeSubcategory: a.activeSubcategory === `id${t}` ? "" : `id${t}`
|
|
1087
1087
|
}));
|
|
1088
1088
|
},
|
|
@@ -1091,20 +1091,20 @@ const gt = ({
|
|
|
1091
1091
|
titleMarginChildren: 20,
|
|
1092
1092
|
height: 48,
|
|
1093
1093
|
color: d,
|
|
1094
|
-
activeColor:
|
|
1094
|
+
activeColor: o,
|
|
1095
1095
|
children: r == null ? void 0 : r.map((a, l) => /* @__PURE__ */ i(
|
|
1096
|
-
|
|
1096
|
+
Ue,
|
|
1097
1097
|
{
|
|
1098
1098
|
indicator: a,
|
|
1099
1099
|
fontColor: d,
|
|
1100
|
-
activeColor:
|
|
1100
|
+
activeColor: o
|
|
1101
1101
|
},
|
|
1102
1102
|
`indicatorSub-${l}`
|
|
1103
1103
|
))
|
|
1104
1104
|
}
|
|
1105
1105
|
);
|
|
1106
1106
|
};
|
|
1107
|
-
|
|
1107
|
+
ft.propTypes = {
|
|
1108
1108
|
subcategory: e.shape({
|
|
1109
1109
|
name: e.string,
|
|
1110
1110
|
indicators: e.arrayOf(
|
|
@@ -1117,28 +1117,28 @@ gt.propTypes = {
|
|
|
1117
1117
|
activeColor: e.string
|
|
1118
1118
|
//onChangeBothType: PropTypes.func,
|
|
1119
1119
|
};
|
|
1120
|
-
const
|
|
1120
|
+
const bt = ({
|
|
1121
1121
|
category: n,
|
|
1122
1122
|
// onChangeBothType,
|
|
1123
1123
|
activeColor: d
|
|
1124
1124
|
}) => {
|
|
1125
|
-
const { name:
|
|
1125
|
+
const { name: o, subcategories: s, indicators: t } = n || {}, { activeCategory: r, fontColor: a } = O((l) => l);
|
|
1126
1126
|
return n && /* @__PURE__ */ i(
|
|
1127
|
-
|
|
1127
|
+
se,
|
|
1128
1128
|
{
|
|
1129
1129
|
onClick: () => {
|
|
1130
|
-
|
|
1131
|
-
activeCategory: r === `id${
|
|
1130
|
+
O.setState((l) => ({
|
|
1131
|
+
activeCategory: r === `id${o}` ? "" : `id${o}`
|
|
1132
1132
|
}));
|
|
1133
1133
|
},
|
|
1134
|
-
title:
|
|
1135
|
-
isOpen: r === `id${
|
|
1134
|
+
title: o,
|
|
1135
|
+
isOpen: r === `id${o}`,
|
|
1136
1136
|
titleFontStyles: { fontSize: 18, fontWeight: "bold" },
|
|
1137
1137
|
showBottomBar: !1,
|
|
1138
1138
|
color: a,
|
|
1139
1139
|
activeColor: d,
|
|
1140
|
-
children:
|
|
1141
|
-
|
|
1140
|
+
children: s ? s.map((l, c) => /* @__PURE__ */ i(
|
|
1141
|
+
ft,
|
|
1142
1142
|
{
|
|
1143
1143
|
subcategory: l,
|
|
1144
1144
|
fontColor: a,
|
|
@@ -1146,7 +1146,7 @@ const Ct = ({
|
|
|
1146
1146
|
},
|
|
1147
1147
|
`subcategory-${c}`
|
|
1148
1148
|
)) : t && t.map((l, c) => /* @__PURE__ */ i(
|
|
1149
|
-
|
|
1149
|
+
Ue,
|
|
1150
1150
|
{
|
|
1151
1151
|
indicator: l,
|
|
1152
1152
|
fontColor: a,
|
|
@@ -1157,7 +1157,7 @@ const Ct = ({
|
|
|
1157
1157
|
}
|
|
1158
1158
|
);
|
|
1159
1159
|
};
|
|
1160
|
-
|
|
1160
|
+
bt.propTypes = {
|
|
1161
1161
|
category: e.shape({
|
|
1162
1162
|
name: e.string.isRequired,
|
|
1163
1163
|
subcategories: e.array,
|
|
@@ -1166,34 +1166,34 @@ Ct.propTypes = {
|
|
|
1166
1166
|
activeColor: e.string
|
|
1167
1167
|
//onChangeBothType: PropTypes.func,
|
|
1168
1168
|
};
|
|
1169
|
-
const
|
|
1169
|
+
const _t = ({
|
|
1170
1170
|
indicators: n,
|
|
1171
1171
|
isOpen: d = !0,
|
|
1172
|
-
title:
|
|
1173
|
-
fontColor:
|
|
1172
|
+
title: o,
|
|
1173
|
+
fontColor: s = "#605B56",
|
|
1174
1174
|
//The color of the slider and the checkbox when is checked
|
|
1175
1175
|
inputsColor: t = "#605B56",
|
|
1176
1176
|
activeColor: r
|
|
1177
1177
|
}) => {
|
|
1178
|
-
const { tematicalFiltersSelected: a } =
|
|
1179
|
-
return
|
|
1178
|
+
const { tematicalFiltersSelected: a } = O((c) => c), { t: l } = $();
|
|
1179
|
+
return V(() => {
|
|
1180
1180
|
console.log("filtersSelected changed: ", a);
|
|
1181
|
-
}, [a]),
|
|
1182
|
-
|
|
1183
|
-
}, [
|
|
1184
|
-
t &&
|
|
1181
|
+
}, [a]), V(() => {
|
|
1182
|
+
s && O.setState(() => ({ fontColor: s }));
|
|
1183
|
+
}, [s]), V(() => {
|
|
1184
|
+
t && O.setState(() => ({ inputsColor: t }));
|
|
1185
1185
|
}, [t]), /* @__PURE__ */ i(
|
|
1186
|
-
|
|
1186
|
+
se,
|
|
1187
1187
|
{
|
|
1188
1188
|
isOpen: d,
|
|
1189
|
-
title:
|
|
1190
|
-
color:
|
|
1189
|
+
title: o ? l(o) : "Tematical filters",
|
|
1190
|
+
color: s,
|
|
1191
1191
|
activeColor: r,
|
|
1192
1192
|
children: n == null ? void 0 : n.map((c, u) => /* @__PURE__ */ i(
|
|
1193
|
-
|
|
1193
|
+
bt,
|
|
1194
1194
|
{
|
|
1195
1195
|
category: c,
|
|
1196
|
-
fontColor:
|
|
1196
|
+
fontColor: s,
|
|
1197
1197
|
activeColor: r
|
|
1198
1198
|
},
|
|
1199
1199
|
`category-${u}`
|
|
@@ -1201,7 +1201,7 @@ const ft = ({
|
|
|
1201
1201
|
}
|
|
1202
1202
|
);
|
|
1203
1203
|
};
|
|
1204
|
-
|
|
1204
|
+
_t.propTypes = {
|
|
1205
1205
|
isOpen: e.bool,
|
|
1206
1206
|
title: e.string,
|
|
1207
1207
|
indicators: e.arrayOf(e.object),
|
|
@@ -1210,18 +1210,18 @@ ft.propTypes = {
|
|
|
1210
1210
|
inputsColor: e.string,
|
|
1211
1211
|
activeColor: e.string
|
|
1212
1212
|
};
|
|
1213
|
-
const
|
|
1214
|
-
FiltersAmbitContainer:
|
|
1215
|
-
FiltersAmbitHeader:
|
|
1216
|
-
FiltersAmbitTitle:
|
|
1217
|
-
FiltersAmbitDescription:
|
|
1218
|
-
FiltersAmbitDescriptionTitle:
|
|
1219
|
-
warning:
|
|
1213
|
+
const X2 = "_FiltersAmbitContainer_1g9xx_2", J2 = "_FiltersAmbitHeader_1g9xx_7", en = "_FiltersAmbitTitle_1g9xx_15", tn = "_FiltersAmbitDescription_1g9xx_22", nn = "_FiltersAmbitDescriptionTitle_1g9xx_33", on = "_warning_1g9xx_37", ae = {
|
|
1214
|
+
FiltersAmbitContainer: X2,
|
|
1215
|
+
FiltersAmbitHeader: J2,
|
|
1216
|
+
FiltersAmbitTitle: en,
|
|
1217
|
+
FiltersAmbitDescription: tn,
|
|
1218
|
+
FiltersAmbitDescriptionTitle: nn,
|
|
1219
|
+
warning: on
|
|
1220
1220
|
}, sn = ({
|
|
1221
1221
|
ambitName: n,
|
|
1222
1222
|
ambitDescription: d,
|
|
1223
|
-
defaultFilters:
|
|
1224
|
-
indicators:
|
|
1223
|
+
defaultFilters: o,
|
|
1224
|
+
indicators: s,
|
|
1225
1225
|
activeColor: t,
|
|
1226
1226
|
textColor: r,
|
|
1227
1227
|
backgroundColor: a,
|
|
@@ -1234,16 +1234,16 @@ const Q2 = "_FiltersAmbitContainer_1g9xx_2", X2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1234
1234
|
onlyFilters: v = !1
|
|
1235
1235
|
//usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
|
|
1236
1236
|
}) => {
|
|
1237
|
-
const { t: f } = $(), { tematicalFiltersSelected:
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
tematicalFiltersSelected:
|
|
1237
|
+
const { t: f } = $(), { tematicalFiltersSelected: b } = O((B) => B), [m, g] = D(n || null), [_, N] = D(d || null), [w, x] = D(!1);
|
|
1238
|
+
V(() => {
|
|
1239
|
+
o && o.length > 0 && O.setState((B) => ({
|
|
1240
|
+
tematicalFiltersSelected: o
|
|
1241
1241
|
}));
|
|
1242
|
-
}, [
|
|
1243
|
-
console.log("filtersSelected changed: ",
|
|
1244
|
-
}, [
|
|
1242
|
+
}, [o]), V(() => {
|
|
1243
|
+
console.log("filtersSelected changed: ", b), l(b);
|
|
1244
|
+
}, [b]);
|
|
1245
1245
|
const S = () => {
|
|
1246
|
-
m ? c({ name: m, description: _ }) :
|
|
1246
|
+
m ? c({ name: m, description: _ }) : x(!0);
|
|
1247
1247
|
};
|
|
1248
1248
|
return /* @__PURE__ */ p("div", { className: ae.FiltersAmbitContainer, children: [
|
|
1249
1249
|
!v && /* @__PURE__ */ p("div", { className: ae.FiltersAmbitHeader, children: [
|
|
@@ -1252,7 +1252,7 @@ const Q2 = "_FiltersAmbitContainer_1g9xx_2", X2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1252
1252
|
{
|
|
1253
1253
|
type: "text",
|
|
1254
1254
|
onChange: (B) => {
|
|
1255
|
-
|
|
1255
|
+
x(!1), g(B.target.value);
|
|
1256
1256
|
},
|
|
1257
1257
|
value: m,
|
|
1258
1258
|
placeholder: f(u)
|
|
@@ -1262,13 +1262,13 @@ const Q2 = "_FiltersAmbitContainer_1g9xx_2", X2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1262
1262
|
"textarea",
|
|
1263
1263
|
{
|
|
1264
1264
|
value: _,
|
|
1265
|
-
onChange: (B) =>
|
|
1265
|
+
onChange: (B) => N(B.target.value),
|
|
1266
1266
|
placeholder: f(h)
|
|
1267
1267
|
}
|
|
1268
1268
|
) }) })
|
|
1269
1269
|
] }),
|
|
1270
1270
|
/* @__PURE__ */ i(
|
|
1271
|
-
|
|
1271
|
+
mt,
|
|
1272
1272
|
{
|
|
1273
1273
|
title: f("applied_filters"),
|
|
1274
1274
|
isOpen: !0,
|
|
@@ -1277,11 +1277,11 @@ const Q2 = "_FiltersAmbitContainer_1g9xx_2", X2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1277
1277
|
activeColor: t
|
|
1278
1278
|
}
|
|
1279
1279
|
),
|
|
1280
|
-
C.includes("geographical") && /* @__PURE__ */ i(
|
|
1280
|
+
C.includes("geographical") && /* @__PURE__ */ i(ht, { activeColor: t }),
|
|
1281
1281
|
C.includes("tematical") && /* @__PURE__ */ i(
|
|
1282
|
-
|
|
1282
|
+
_t,
|
|
1283
1283
|
{
|
|
1284
|
-
indicators:
|
|
1284
|
+
indicators: s,
|
|
1285
1285
|
inputsColor: t,
|
|
1286
1286
|
textColor: r,
|
|
1287
1287
|
title: "tematical_filters",
|
|
@@ -1289,7 +1289,7 @@ const Q2 = "_FiltersAmbitContainer_1g9xx_2", X2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1289
1289
|
}
|
|
1290
1290
|
),
|
|
1291
1291
|
w && /* @__PURE__ */ i("div", { className: ae.warning, children: f(y) }),
|
|
1292
|
-
!v && /* @__PURE__ */ i("div", { className: "buttonContainer", children: /* @__PURE__ */ i(
|
|
1292
|
+
!v && /* @__PURE__ */ i("div", { className: "buttonContainer", children: /* @__PURE__ */ i(Te, { onClick: () => S(), children: f("save_ambit") }) })
|
|
1293
1293
|
] });
|
|
1294
1294
|
};
|
|
1295
1295
|
sn.propTypes = {
|
|
@@ -1307,13 +1307,13 @@ sn.propTypes = {
|
|
|
1307
1307
|
filtersTypes: e.arrayOf(e.string).isRequired,
|
|
1308
1308
|
nameRequiredText: e.string
|
|
1309
1309
|
};
|
|
1310
|
-
const
|
|
1311
|
-
barChartContainer:
|
|
1312
|
-
},
|
|
1310
|
+
const rn = "_barChartContainer_d2f1z_2", an = {
|
|
1311
|
+
barChartContainer: rn
|
|
1312
|
+
}, yt = ({
|
|
1313
1313
|
data: n,
|
|
1314
1314
|
width: d = 700,
|
|
1315
|
-
barHeight:
|
|
1316
|
-
gap:
|
|
1315
|
+
barHeight: o = 25,
|
|
1316
|
+
gap: s = 23,
|
|
1317
1317
|
fontColor: t = "#605B56",
|
|
1318
1318
|
verticalPaddign: r = 10,
|
|
1319
1319
|
horizontalPaddign: a = 20,
|
|
@@ -1323,10 +1323,10 @@ const on = "_barChartContainer_d2f1z_2", rn = {
|
|
|
1323
1323
|
}) => {
|
|
1324
1324
|
const { t: h } = $(), { xScale: C, ticks: y, height: v } = me(() => {
|
|
1325
1325
|
if (n && n.length > 0) {
|
|
1326
|
-
const f = (n == null ? void 0 : n.length) * (
|
|
1326
|
+
const f = (n == null ? void 0 : n.length) * (o + s) + r * 2, b = Ye.max(n, (_) => _.value) || 1, m = Ye.scaleLinear().domain([0, u || b]).range([0, d - l]), g = Array.from({ length: c + 1 }, (_, N) => u ? u / c * N : b / c * N);
|
|
1327
1327
|
return {
|
|
1328
1328
|
xScale: m,
|
|
1329
|
-
ticks:
|
|
1329
|
+
ticks: g,
|
|
1330
1330
|
height: f,
|
|
1331
1331
|
width: d,
|
|
1332
1332
|
verticalPaddign: r,
|
|
@@ -1338,48 +1338,48 @@ const on = "_barChartContainer_d2f1z_2", rn = {
|
|
|
1338
1338
|
n,
|
|
1339
1339
|
d,
|
|
1340
1340
|
c,
|
|
1341
|
-
s,
|
|
1342
1341
|
o,
|
|
1342
|
+
s,
|
|
1343
1343
|
a,
|
|
1344
1344
|
r,
|
|
1345
1345
|
u
|
|
1346
1346
|
]);
|
|
1347
|
-
return /* @__PURE__ */ i("div", { className:
|
|
1348
|
-
/* @__PURE__ */ i("g", { transform: `translate(${l + a}, 0)`, children: y.map((f,
|
|
1347
|
+
return /* @__PURE__ */ i("div", { className: an.barChartContainer, children: /* @__PURE__ */ i("svg", { width: d + a * 2, height: v, children: /* @__PURE__ */ p("g", { transform: `translate(0,${s})`, children: [
|
|
1348
|
+
/* @__PURE__ */ i("g", { transform: `translate(${l + a}, 0)`, children: y.map((f, b) => {
|
|
1349
1349
|
const m = C(f);
|
|
1350
1350
|
return /* @__PURE__ */ p("g", { transform: `translate(${m}, 0)`, children: [
|
|
1351
1351
|
/* @__PURE__ */ i(
|
|
1352
1352
|
"line",
|
|
1353
1353
|
{
|
|
1354
1354
|
y1: 0,
|
|
1355
|
-
y2: v -
|
|
1355
|
+
y2: v - s * 2,
|
|
1356
1356
|
stroke: "#ccc"
|
|
1357
1357
|
}
|
|
1358
1358
|
),
|
|
1359
1359
|
/* @__PURE__ */ i(
|
|
1360
1360
|
"text",
|
|
1361
1361
|
{
|
|
1362
|
-
y: v -
|
|
1362
|
+
y: v - s,
|
|
1363
1363
|
textAnchor: "middle",
|
|
1364
1364
|
fontSize: 10,
|
|
1365
1365
|
fill: t,
|
|
1366
1366
|
children: parseInt(f)
|
|
1367
1367
|
}
|
|
1368
1368
|
)
|
|
1369
|
-
] },
|
|
1369
|
+
] }, b);
|
|
1370
1370
|
}) }),
|
|
1371
|
-
n && n.length > 0 && (n == null ? void 0 : n.map((f,
|
|
1372
|
-
const m = C(f.value),
|
|
1371
|
+
n && n.length > 0 && (n == null ? void 0 : n.map((f, b) => {
|
|
1372
|
+
const m = C(f.value), g = b * (o + s);
|
|
1373
1373
|
return /* @__PURE__ */ p(
|
|
1374
1374
|
"g",
|
|
1375
1375
|
{
|
|
1376
|
-
transform: `translate(${l + a}, ${
|
|
1376
|
+
transform: `translate(${l + a}, ${g})`,
|
|
1377
1377
|
children: [
|
|
1378
1378
|
/* @__PURE__ */ i(
|
|
1379
1379
|
"text",
|
|
1380
1380
|
{
|
|
1381
1381
|
x: -24,
|
|
1382
|
-
y:
|
|
1382
|
+
y: o / 2 + 5,
|
|
1383
1383
|
textAnchor: "end",
|
|
1384
1384
|
fill: t,
|
|
1385
1385
|
children: h(f.title)
|
|
@@ -1389,19 +1389,19 @@ const on = "_barChartContainer_d2f1z_2", rn = {
|
|
|
1389
1389
|
"rect",
|
|
1390
1390
|
{
|
|
1391
1391
|
width: m,
|
|
1392
|
-
height:
|
|
1392
|
+
height: o,
|
|
1393
1393
|
fill: f.color,
|
|
1394
1394
|
rx: 0
|
|
1395
1395
|
}
|
|
1396
1396
|
)
|
|
1397
1397
|
]
|
|
1398
1398
|
},
|
|
1399
|
-
|
|
1399
|
+
b
|
|
1400
1400
|
);
|
|
1401
1401
|
}))
|
|
1402
1402
|
] }) }) });
|
|
1403
1403
|
};
|
|
1404
|
-
|
|
1404
|
+
yt.propTypes = {
|
|
1405
1405
|
data: e.arrayOf(
|
|
1406
1406
|
e.shape({
|
|
1407
1407
|
title: e.string,
|
|
@@ -1417,14 +1417,14 @@ bt.propTypes = {
|
|
|
1417
1417
|
numberOfDivisions: e.number,
|
|
1418
1418
|
fontColor: e.string
|
|
1419
1419
|
};
|
|
1420
|
-
const
|
|
1421
|
-
graphicContainer:
|
|
1422
|
-
titleContainer:
|
|
1423
|
-
},
|
|
1420
|
+
const ln = "_graphicContainer_c9zrg_2", cn = "_titleContainer_c9zrg_14", Je = {
|
|
1421
|
+
graphicContainer: ln,
|
|
1422
|
+
titleContainer: cn
|
|
1423
|
+
}, dn = ({
|
|
1424
1424
|
data: n,
|
|
1425
1425
|
graphWidth: d = 700,
|
|
1426
|
-
containerStyle:
|
|
1427
|
-
borderColor:
|
|
1426
|
+
containerStyle: o,
|
|
1427
|
+
borderColor: s = "#605B56",
|
|
1428
1428
|
title: t = "Graphic Title",
|
|
1429
1429
|
fontColor: r = "#605B56",
|
|
1430
1430
|
maxValue: a = null,
|
|
@@ -1435,15 +1435,15 @@ const an = "_graphicContainer_c9zrg_2", ln = "_titleContainer_c9zrg_14", Xe = {
|
|
|
1435
1435
|
return /* @__PURE__ */ p(
|
|
1436
1436
|
"div",
|
|
1437
1437
|
{
|
|
1438
|
-
className:
|
|
1438
|
+
className: Je.graphicContainer,
|
|
1439
1439
|
style: {
|
|
1440
|
-
...
|
|
1441
|
-
border: `1.5px solid ${
|
|
1440
|
+
...o || {},
|
|
1441
|
+
border: `1.5px solid ${s}`
|
|
1442
1442
|
},
|
|
1443
1443
|
children: [
|
|
1444
|
-
/* @__PURE__ */ i("div", { className:
|
|
1444
|
+
/* @__PURE__ */ i("div", { className: Je.titleContainer, children: /* @__PURE__ */ i("h2", { children: u(t) }) }),
|
|
1445
1445
|
/* @__PURE__ */ i(
|
|
1446
|
-
|
|
1446
|
+
yt,
|
|
1447
1447
|
{
|
|
1448
1448
|
data: n,
|
|
1449
1449
|
width: d,
|
|
@@ -1457,7 +1457,7 @@ const an = "_graphicContainer_c9zrg_2", ln = "_titleContainer_c9zrg_14", Xe = {
|
|
|
1457
1457
|
}
|
|
1458
1458
|
);
|
|
1459
1459
|
};
|
|
1460
|
-
|
|
1460
|
+
dn.propTypes = {
|
|
1461
1461
|
data: e.arrayOf(
|
|
1462
1462
|
e.shape({
|
|
1463
1463
|
color: e.string.isRequired,
|
|
@@ -1474,26 +1474,26 @@ cn.propTypes = {
|
|
|
1474
1474
|
numberOfDivisions: e.number,
|
|
1475
1475
|
leftPadding: e.number
|
|
1476
1476
|
};
|
|
1477
|
-
const
|
|
1478
|
-
indicatorsCategory:
|
|
1479
|
-
title:
|
|
1480
|
-
list:
|
|
1481
|
-
},
|
|
1482
|
-
indicatorContainer:
|
|
1483
|
-
indicatorNameContainer:
|
|
1484
|
-
dot:
|
|
1485
|
-
indicatorName:
|
|
1486
|
-
switchExternalContainer:
|
|
1487
|
-
switchType:
|
|
1488
|
-
switchTypeOptions:
|
|
1489
|
-
optionContainer:
|
|
1490
|
-
customRadious:
|
|
1491
|
-
optionText:
|
|
1492
|
-
},
|
|
1477
|
+
const un = "_indicatorsCategory_1cu33_2", pn = "_title_1cu33_5", mn = "_list_1cu33_11", Ae = {
|
|
1478
|
+
indicatorsCategory: un,
|
|
1479
|
+
title: pn,
|
|
1480
|
+
list: mn
|
|
1481
|
+
}, hn = "_indicatorContainer_1go6h_2", gn = "_indicatorNameContainer_1go6h_11", Cn = "_dot_1go6h_17", fn = "_indicatorName_1go6h_11", bn = "_switchExternalContainer_1go6h_28", _n = "_switchType_1go6h_37", yn = "_switchTypeOptions_1go6h_41", vn = "_optionContainer_1go6h_52", wn = "_customRadious_1go6h_62", xn = "_optionText_1go6h_69", I = {
|
|
1482
|
+
indicatorContainer: hn,
|
|
1483
|
+
indicatorNameContainer: gn,
|
|
1484
|
+
dot: Cn,
|
|
1485
|
+
indicatorName: fn,
|
|
1486
|
+
switchExternalContainer: bn,
|
|
1487
|
+
switchType: _n,
|
|
1488
|
+
switchTypeOptions: yn,
|
|
1489
|
+
optionContainer: vn,
|
|
1490
|
+
customRadious: wn,
|
|
1491
|
+
optionText: xn
|
|
1492
|
+
}, Ge = ({
|
|
1493
1493
|
indicator: n,
|
|
1494
1494
|
values: d = [],
|
|
1495
|
-
activeColor:
|
|
1496
|
-
defaultColor:
|
|
1495
|
+
activeColor: o,
|
|
1496
|
+
defaultColor: s = "#92898A",
|
|
1497
1497
|
activeIndicator: t,
|
|
1498
1498
|
activeIndicatorType: r,
|
|
1499
1499
|
onClickIndicator: a,
|
|
@@ -1501,14 +1501,14 @@ const dn = "_indicatorsCategory_1cu33_2", un = "_title_1cu33_5", pn = "_list_1cu
|
|
|
1501
1501
|
onChangeType: c
|
|
1502
1502
|
}) => {
|
|
1503
1503
|
const { t: u } = $(), { name: h, type: C, disabled: y } = n, [v, f] = D(!1);
|
|
1504
|
-
|
|
1504
|
+
V(() => {
|
|
1505
1505
|
t && f(
|
|
1506
1506
|
l ? t.some(
|
|
1507
|
-
(
|
|
1507
|
+
(g) => g.name == String(h)
|
|
1508
1508
|
) : t.name == h
|
|
1509
1509
|
);
|
|
1510
1510
|
}, [t]);
|
|
1511
|
-
const
|
|
1511
|
+
const b = () => /* @__PURE__ */ i("div", { className: I.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: I.switchType, children: /* @__PURE__ */ p("div", { className: I.switchTypeOptions, children: [
|
|
1512
1512
|
/* @__PURE__ */ p(
|
|
1513
1513
|
"div",
|
|
1514
1514
|
{
|
|
@@ -1520,8 +1520,8 @@ const dn = "_indicatorsCategory_1cu33_2", un = "_title_1cu33_5", pn = "_list_1cu
|
|
|
1520
1520
|
{
|
|
1521
1521
|
className: `${I.customRadious}`,
|
|
1522
1522
|
style: {
|
|
1523
|
-
backgroundColor: r === "cat" ?
|
|
1524
|
-
borderColor: r === "cat" ?
|
|
1523
|
+
backgroundColor: r === "cat" ? o : "transparent",
|
|
1524
|
+
borderColor: r === "cat" ? o : s
|
|
1525
1525
|
}
|
|
1526
1526
|
}
|
|
1527
1527
|
),
|
|
@@ -1530,7 +1530,7 @@ const dn = "_indicatorsCategory_1cu33_2", un = "_title_1cu33_5", pn = "_list_1cu
|
|
|
1530
1530
|
{
|
|
1531
1531
|
className: I.optionText,
|
|
1532
1532
|
style: {
|
|
1533
|
-
color: r === "cat" ?
|
|
1533
|
+
color: r === "cat" ? o : s
|
|
1534
1534
|
},
|
|
1535
1535
|
children: u("indicators.cat")
|
|
1536
1536
|
}
|
|
@@ -1549,8 +1549,8 @@ const dn = "_indicatorsCategory_1cu33_2", un = "_title_1cu33_5", pn = "_list_1cu
|
|
|
1549
1549
|
{
|
|
1550
1550
|
className: `${I.customRadious}`,
|
|
1551
1551
|
style: {
|
|
1552
|
-
backgroundColor: r === "abs" ?
|
|
1553
|
-
borderColor: r === "abs" ?
|
|
1552
|
+
backgroundColor: r === "abs" ? o : "transparent",
|
|
1553
|
+
borderColor: r === "abs" ? o : s
|
|
1554
1554
|
}
|
|
1555
1555
|
}
|
|
1556
1556
|
),
|
|
@@ -1559,7 +1559,7 @@ const dn = "_indicatorsCategory_1cu33_2", un = "_title_1cu33_5", pn = "_list_1cu
|
|
|
1559
1559
|
{
|
|
1560
1560
|
className: I.optionText,
|
|
1561
1561
|
style: {
|
|
1562
|
-
color: r === "abs" ?
|
|
1562
|
+
color: r === "abs" ? o : s
|
|
1563
1563
|
},
|
|
1564
1564
|
children: u("indicators.abs")
|
|
1565
1565
|
}
|
|
@@ -1567,7 +1567,7 @@ const dn = "_indicatorsCategory_1cu33_2", un = "_title_1cu33_5", pn = "_list_1cu
|
|
|
1567
1567
|
]
|
|
1568
1568
|
}
|
|
1569
1569
|
)
|
|
1570
|
-
] }) }) }), m = () => /* @__PURE__ */ i("div", { className: I.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: I.switchType, children: /* @__PURE__ */ i("div", { className: I.switchTypeOptions, children: d.map((
|
|
1570
|
+
] }) }) }), m = () => /* @__PURE__ */ i("div", { className: I.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: I.switchType, children: /* @__PURE__ */ i("div", { className: I.switchTypeOptions, children: d.map((g, _) => /* @__PURE__ */ p(
|
|
1571
1571
|
"div",
|
|
1572
1572
|
{
|
|
1573
1573
|
className: I.optionContainer,
|
|
@@ -1578,7 +1578,7 @@ const dn = "_indicatorsCategory_1cu33_2", un = "_title_1cu33_5", pn = "_list_1cu
|
|
|
1578
1578
|
className: I.customRadious
|
|
1579
1579
|
}
|
|
1580
1580
|
),
|
|
1581
|
-
/* @__PURE__ */ i("h4", { children: u(
|
|
1581
|
+
/* @__PURE__ */ i("h4", { children: u(g.unit) })
|
|
1582
1582
|
]
|
|
1583
1583
|
},
|
|
1584
1584
|
_
|
|
@@ -1594,7 +1594,7 @@ const dn = "_indicatorsCategory_1cu33_2", un = "_title_1cu33_5", pn = "_list_1cu
|
|
|
1594
1594
|
"div",
|
|
1595
1595
|
{
|
|
1596
1596
|
style: {
|
|
1597
|
-
border: v ? `1px solid ${
|
|
1597
|
+
border: v ? `1px solid ${o}` : `1px solid ${s}`,
|
|
1598
1598
|
opacity: y ? 0.5 : 1
|
|
1599
1599
|
},
|
|
1600
1600
|
className: I.dot
|
|
@@ -1605,11 +1605,11 @@ const dn = "_indicatorsCategory_1cu33_2", un = "_title_1cu33_5", pn = "_list_1cu
|
|
|
1605
1605
|
{
|
|
1606
1606
|
className: I.indicatorName,
|
|
1607
1607
|
style: {
|
|
1608
|
-
color: v ?
|
|
1608
|
+
color: v ? o : s,
|
|
1609
1609
|
opacity: y ? 0.5 : 1
|
|
1610
1610
|
},
|
|
1611
1611
|
children: /* @__PURE__ */ i(
|
|
1612
|
-
|
|
1612
|
+
Ke,
|
|
1613
1613
|
{
|
|
1614
1614
|
i18nKey: h,
|
|
1615
1615
|
components: { sup: /* @__PURE__ */ i("sup", {}) },
|
|
@@ -1621,11 +1621,11 @@ const dn = "_indicatorsCategory_1cu33_2", un = "_title_1cu33_5", pn = "_list_1cu
|
|
|
1621
1621
|
]
|
|
1622
1622
|
}
|
|
1623
1623
|
),
|
|
1624
|
-
(t == null ? void 0 : t.name) === h && C === "both" && /* @__PURE__ */ i("div", { children:
|
|
1624
|
+
(t == null ? void 0 : t.name) === h && C === "both" && /* @__PURE__ */ i("div", { children: b() }),
|
|
1625
1625
|
(t == null ? void 0 : t.name) === h && C === "twoUnits" && /* @__PURE__ */ i("div", { children: m() })
|
|
1626
1626
|
] });
|
|
1627
1627
|
};
|
|
1628
|
-
|
|
1628
|
+
Ge.propTypes = {
|
|
1629
1629
|
indicator: e.shape({
|
|
1630
1630
|
name: e.string,
|
|
1631
1631
|
type: e.string
|
|
@@ -1637,14 +1637,14 @@ Ue.propTypes = {
|
|
|
1637
1637
|
multiple: e.bool,
|
|
1638
1638
|
onClickIndicator: e.func
|
|
1639
1639
|
};
|
|
1640
|
-
const
|
|
1641
|
-
indicatorsSubCategory:
|
|
1642
|
-
list:
|
|
1643
|
-
},
|
|
1640
|
+
const Nn = "_indicatorsSubCategory_1dzsi_2", kn = "_list_1dzsi_8", et = {
|
|
1641
|
+
indicatorsSubCategory: Nn,
|
|
1642
|
+
list: kn
|
|
1643
|
+
}, vt = ({
|
|
1644
1644
|
subcName: n,
|
|
1645
1645
|
indicators: d,
|
|
1646
|
-
defaultColor:
|
|
1647
|
-
activeColor:
|
|
1646
|
+
defaultColor: o,
|
|
1647
|
+
activeColor: s,
|
|
1648
1648
|
activeSubCategory: t,
|
|
1649
1649
|
onClickSubCategory: r,
|
|
1650
1650
|
id: a,
|
|
@@ -1655,32 +1655,32 @@ const xn = "_indicatorsSubCategory_1dzsi_2", Nn = "_list_1dzsi_8", Je = {
|
|
|
1655
1655
|
onChangeType: C
|
|
1656
1656
|
}) => {
|
|
1657
1657
|
const { t: y } = $(), [v, f] = D(!1);
|
|
1658
|
-
return
|
|
1658
|
+
return V(() => {
|
|
1659
1659
|
f(t == a);
|
|
1660
1660
|
}, [t, a]), /* @__PURE__ */ p(
|
|
1661
|
-
|
|
1661
|
+
He.div,
|
|
1662
1662
|
{
|
|
1663
|
-
className:
|
|
1663
|
+
className: et.indicatorsSubCategory,
|
|
1664
1664
|
initial: { height: "43px" },
|
|
1665
1665
|
animate: { height: v ? "auto" : "43px" },
|
|
1666
1666
|
transition: { duration: 0.4 },
|
|
1667
1667
|
children: [
|
|
1668
|
-
/* @__PURE__ */ i("button", { onClick: () => r(a), children: /* @__PURE__ */ p("h3", { style: { color: v ?
|
|
1669
|
-
/* @__PURE__ */ i("span", { style: { color: v ?
|
|
1668
|
+
/* @__PURE__ */ i("button", { onClick: () => r(a), children: /* @__PURE__ */ p("h3", { style: { color: v ? s : o }, children: [
|
|
1669
|
+
/* @__PURE__ */ i("span", { style: { color: v ? s : o }, children: v ? "-" : "+" }),
|
|
1670
1670
|
/* @__PURE__ */ i(
|
|
1671
1671
|
"span",
|
|
1672
1672
|
{
|
|
1673
|
-
style: { marginLeft: 12, color: v ?
|
|
1673
|
+
style: { marginLeft: 12, color: v ? s : o },
|
|
1674
1674
|
children: y(n)
|
|
1675
1675
|
}
|
|
1676
1676
|
)
|
|
1677
1677
|
] }) }),
|
|
1678
|
-
d && /* @__PURE__ */ i("div", { className:
|
|
1679
|
-
|
|
1678
|
+
d && /* @__PURE__ */ i("div", { className: et.list, children: d == null ? void 0 : d.map((b, m) => /* @__PURE__ */ i(
|
|
1679
|
+
Ge,
|
|
1680
1680
|
{
|
|
1681
|
-
indicator:
|
|
1682
|
-
defaultColor:
|
|
1683
|
-
activeColor:
|
|
1681
|
+
indicator: b,
|
|
1682
|
+
defaultColor: o,
|
|
1683
|
+
activeColor: s,
|
|
1684
1684
|
activeIndicator: l,
|
|
1685
1685
|
onClickIndicator: c,
|
|
1686
1686
|
multiple: u,
|
|
@@ -1693,7 +1693,7 @@ const xn = "_indicatorsSubCategory_1dzsi_2", Nn = "_list_1dzsi_8", Je = {
|
|
|
1693
1693
|
}
|
|
1694
1694
|
);
|
|
1695
1695
|
};
|
|
1696
|
-
|
|
1696
|
+
vt.propTypes = {
|
|
1697
1697
|
subcName: e.string,
|
|
1698
1698
|
indicators: e.array,
|
|
1699
1699
|
activeColor: e.string,
|
|
@@ -1705,11 +1705,11 @@ _t.propTypes = {
|
|
|
1705
1705
|
onClickSubCategory: e.func,
|
|
1706
1706
|
onClickIndicator: e.func
|
|
1707
1707
|
};
|
|
1708
|
-
const
|
|
1708
|
+
const wt = ({
|
|
1709
1709
|
cat: n,
|
|
1710
1710
|
id: d,
|
|
1711
|
-
activeColor:
|
|
1712
|
-
defaultColor:
|
|
1711
|
+
activeColor: o,
|
|
1712
|
+
defaultColor: s,
|
|
1713
1713
|
onClickCategory: t,
|
|
1714
1714
|
activeCategory: r,
|
|
1715
1715
|
activeSubCategory: a,
|
|
@@ -1721,58 +1721,58 @@ const yt = ({
|
|
|
1721
1721
|
onChangeType: y
|
|
1722
1722
|
}) => {
|
|
1723
1723
|
var m;
|
|
1724
|
-
const { t: v } = $(), [f,
|
|
1725
|
-
return
|
|
1726
|
-
|
|
1724
|
+
const { t: v } = $(), [f, b] = D(!1);
|
|
1725
|
+
return V(() => {
|
|
1726
|
+
b(r === d);
|
|
1727
1727
|
}, [r, d]), /* @__PURE__ */ p(
|
|
1728
|
-
|
|
1728
|
+
He.div,
|
|
1729
1729
|
{
|
|
1730
|
-
className:
|
|
1730
|
+
className: Ae.indicatorsCategory,
|
|
1731
1731
|
initial: { height: "53px" },
|
|
1732
1732
|
animate: { height: f ? "auto" : "53px" },
|
|
1733
1733
|
transition: { duration: 0.4 },
|
|
1734
1734
|
style: {
|
|
1735
1735
|
backgroundColor: "white",
|
|
1736
|
-
borderBottom: f ? `1px solid ${
|
|
1736
|
+
borderBottom: f ? `1px solid ${o}` : "0px",
|
|
1737
1737
|
marginBottom: f ? "20px" : "0px"
|
|
1738
1738
|
},
|
|
1739
1739
|
children: [
|
|
1740
|
-
/* @__PURE__ */ p("h2", { className: `${
|
|
1741
|
-
/* @__PURE__ */ i("span", { style: { color: f ?
|
|
1740
|
+
/* @__PURE__ */ p("h2", { className: `${Ae.title}`, onClick: () => t(d), children: [
|
|
1741
|
+
/* @__PURE__ */ i("span", { style: { color: f ? o : s }, children: f ? "-" : "+" }),
|
|
1742
1742
|
/* @__PURE__ */ i(
|
|
1743
1743
|
"span",
|
|
1744
1744
|
{
|
|
1745
|
-
style: { marginLeft: 12, color: f ?
|
|
1745
|
+
style: { marginLeft: 12, color: f ? o : s },
|
|
1746
1746
|
children: v(n.name)
|
|
1747
1747
|
}
|
|
1748
1748
|
)
|
|
1749
1749
|
] }),
|
|
1750
1750
|
n.subcategories ? n.subcategories.map(
|
|
1751
|
-
({ name:
|
|
1752
|
-
|
|
1751
|
+
({ name: g, subcategory: _, indicators: N }, w) => /* @__PURE__ */ i(
|
|
1752
|
+
vt,
|
|
1753
1753
|
{
|
|
1754
1754
|
id: _,
|
|
1755
1755
|
activeSubCategory: a,
|
|
1756
|
-
subcName:
|
|
1756
|
+
subcName: g,
|
|
1757
1757
|
onClickSubCategory: l,
|
|
1758
1758
|
activeIndicator: c,
|
|
1759
1759
|
onClickIndicator: u,
|
|
1760
1760
|
multiple: h,
|
|
1761
|
-
activeColor:
|
|
1762
|
-
defaultColor:
|
|
1763
|
-
indicators:
|
|
1761
|
+
activeColor: o,
|
|
1762
|
+
defaultColor: s,
|
|
1763
|
+
indicators: N,
|
|
1764
1764
|
activeIndicatorType: C,
|
|
1765
1765
|
onChangeType: y
|
|
1766
1766
|
},
|
|
1767
1767
|
`subcKey ${w}`
|
|
1768
1768
|
)
|
|
1769
|
-
) : /* @__PURE__ */ i("div", { className:
|
|
1770
|
-
|
|
1769
|
+
) : /* @__PURE__ */ i("div", { className: Ae.list, children: (m = n.indicators) == null ? void 0 : m.map((g, _) => /* @__PURE__ */ i(
|
|
1770
|
+
Ge,
|
|
1771
1771
|
{
|
|
1772
|
-
indicator:
|
|
1773
|
-
values:
|
|
1774
|
-
activeColor:
|
|
1775
|
-
defaultColor:
|
|
1772
|
+
indicator: g,
|
|
1773
|
+
values: g.type == "twoUnits" && g.values,
|
|
1774
|
+
activeColor: o,
|
|
1775
|
+
defaultColor: s,
|
|
1776
1776
|
activeIndicator: c,
|
|
1777
1777
|
onClickIndicator: u,
|
|
1778
1778
|
multiple: h,
|
|
@@ -1785,7 +1785,7 @@ const yt = ({
|
|
|
1785
1785
|
}
|
|
1786
1786
|
);
|
|
1787
1787
|
};
|
|
1788
|
-
|
|
1788
|
+
wt.propTypes = {
|
|
1789
1789
|
cat: e.object,
|
|
1790
1790
|
id: e.string,
|
|
1791
1791
|
onChange: e.func,
|
|
@@ -1799,15 +1799,15 @@ yt.propTypes = {
|
|
|
1799
1799
|
activeColor: e.string,
|
|
1800
1800
|
defaultColor: e.string
|
|
1801
1801
|
};
|
|
1802
|
-
const
|
|
1803
|
-
indicatorsList:
|
|
1804
|
-
title:
|
|
1805
|
-
},
|
|
1802
|
+
const Sn = "_indicatorsList_fklyu_2", $n = "_title_fklyu_6", tt = {
|
|
1803
|
+
indicatorsList: Sn,
|
|
1804
|
+
title: $n
|
|
1805
|
+
}, Bn = ({
|
|
1806
1806
|
indicators: n,
|
|
1807
1807
|
activeColor: d,
|
|
1808
|
-
defaultColor:
|
|
1808
|
+
defaultColor: o = "#92898A",
|
|
1809
1809
|
// Función que se ejecuta al seleccionar un indicador, recibe el o los ikeys como parametro
|
|
1810
|
-
onChange:
|
|
1810
|
+
onChange: s,
|
|
1811
1811
|
// Selección multiple
|
|
1812
1812
|
multiple: t = !1,
|
|
1813
1813
|
// Si multiple es true, debe ser un array de strings, sino un string
|
|
@@ -1816,11 +1816,11 @@ const kn = "_indicatorsList_fklyu_2", Sn = "_title_fklyu_6", et = {
|
|
|
1816
1816
|
changeIndType: a,
|
|
1817
1817
|
activeIndicatorType: l
|
|
1818
1818
|
}) => {
|
|
1819
|
-
const { t: c } = $(), [u, h] = D(), [C, y] = D(), [v, f] = D(),
|
|
1819
|
+
const { t: c } = $(), [u, h] = D(), [C, y] = D(), [v, f] = D(), b = (w) => {
|
|
1820
1820
|
h(u == w ? null : w);
|
|
1821
1821
|
}, m = (w) => {
|
|
1822
1822
|
y(C == w ? null : w);
|
|
1823
|
-
},
|
|
1823
|
+
}, g = ({ indicator: w }) => {
|
|
1824
1824
|
console.log("onClickIndicator: ", w), _(w);
|
|
1825
1825
|
}, _ = (w) => {
|
|
1826
1826
|
if (!t)
|
|
@@ -1828,28 +1828,28 @@ const kn = "_indicatorsList_fklyu_2", Sn = "_title_fklyu_6", et = {
|
|
|
1828
1828
|
(v == null ? void 0 : v.name) == w.name ? null : w
|
|
1829
1829
|
);
|
|
1830
1830
|
else {
|
|
1831
|
-
let
|
|
1831
|
+
let x = v && v.length > 0 ? [...v] : [];
|
|
1832
1832
|
f(
|
|
1833
|
-
|
|
1833
|
+
x != null && x.some(
|
|
1834
1834
|
(S) => S.name == w.name
|
|
1835
|
-
) ?
|
|
1835
|
+
) ? x.filter(
|
|
1836
1836
|
(S) => S.name != String(w.name)
|
|
1837
|
-
) : [...
|
|
1837
|
+
) : [...x, w]
|
|
1838
1838
|
), w.type == "both" && a("cat");
|
|
1839
1839
|
}
|
|
1840
1840
|
};
|
|
1841
|
-
|
|
1842
|
-
console.log("activeindicator changed to: ", v),
|
|
1843
|
-
}, [v]),
|
|
1841
|
+
V(() => {
|
|
1842
|
+
console.log("activeindicator changed to: ", v), s && typeof s == "function" && v && s({ activeIndicator: v });
|
|
1843
|
+
}, [v]), Vt(() => {
|
|
1844
1844
|
if (r && !v)
|
|
1845
1845
|
if (t && r && Array.isArray(r)) {
|
|
1846
1846
|
let w = v && v.length > 0 ? [...v] : [];
|
|
1847
|
-
f([...w, ...r]),
|
|
1847
|
+
f([...w, ...r]), N(r[0].name);
|
|
1848
1848
|
} else
|
|
1849
|
-
_(r),
|
|
1849
|
+
_(r), N(r.name);
|
|
1850
1850
|
}, []);
|
|
1851
|
-
const
|
|
1852
|
-
const
|
|
1851
|
+
const N = (w) => {
|
|
1852
|
+
const x = n.find((S) => {
|
|
1853
1853
|
if (S.subcategories) {
|
|
1854
1854
|
let B = S.subcategories.find(
|
|
1855
1855
|
(k) => k.indicators.find((L) => L.name == w)
|
|
@@ -1859,33 +1859,33 @@ const kn = "_indicatorsList_fklyu_2", Sn = "_title_fklyu_6", et = {
|
|
|
1859
1859
|
} else
|
|
1860
1860
|
return S.indicators.some((B) => B.name == w);
|
|
1861
1861
|
});
|
|
1862
|
-
|
|
1862
|
+
x && h(x.category);
|
|
1863
1863
|
};
|
|
1864
|
-
return /* @__PURE__ */ p("div", { className:
|
|
1865
|
-
/* @__PURE__ */ i("h2", { className:
|
|
1866
|
-
n.map((w,
|
|
1867
|
-
|
|
1864
|
+
return /* @__PURE__ */ p("div", { className: tt.indicatorsList, children: [
|
|
1865
|
+
/* @__PURE__ */ i("h2", { className: tt.title, style: { color: o }, children: c("indicators.indicators") }),
|
|
1866
|
+
n.map((w, x) => /* @__PURE__ */ i(
|
|
1867
|
+
wt,
|
|
1868
1868
|
{
|
|
1869
1869
|
id: w.category,
|
|
1870
1870
|
cat: w,
|
|
1871
|
-
onClickCategory:
|
|
1871
|
+
onClickCategory: b,
|
|
1872
1872
|
activeCategory: u,
|
|
1873
1873
|
onClickSubCategory: m,
|
|
1874
1874
|
activeSubCategory: C,
|
|
1875
|
-
onClickIndicator:
|
|
1875
|
+
onClickIndicator: g,
|
|
1876
1876
|
activeIndicator: v,
|
|
1877
1877
|
activeColor: d,
|
|
1878
|
-
defaultColor:
|
|
1878
|
+
defaultColor: o,
|
|
1879
1879
|
multiple: t,
|
|
1880
|
-
onChange:
|
|
1880
|
+
onChange: s,
|
|
1881
1881
|
onChangeType: a,
|
|
1882
1882
|
activeIndicatorType: l
|
|
1883
1883
|
},
|
|
1884
|
-
`categoryKey${
|
|
1884
|
+
`categoryKey${x}`
|
|
1885
1885
|
))
|
|
1886
1886
|
] });
|
|
1887
1887
|
};
|
|
1888
|
-
|
|
1888
|
+
Bn.propTypes = {
|
|
1889
1889
|
indicators: e.arrayOf(e.object),
|
|
1890
1890
|
activeColor: e.string,
|
|
1891
1891
|
defaultColor: e.string,
|
|
@@ -1896,14 +1896,14 @@ $n.propTypes = {
|
|
|
1896
1896
|
defaultValue: e.oneOfType([e.object, e.array]),
|
|
1897
1897
|
activeIndicatorType: e.string
|
|
1898
1898
|
};
|
|
1899
|
-
const
|
|
1900
|
-
langSelector:
|
|
1901
|
-
currentLang:
|
|
1902
|
-
arrow:
|
|
1903
|
-
prevImg:
|
|
1904
|
-
langMenu:
|
|
1905
|
-
},
|
|
1906
|
-
const [
|
|
1899
|
+
const Ln = "_langSelector_o9enq_2", Tn = "_currentLang_o9enq_14", Mn = "_arrow_o9enq_26", Dn = "_prevImg_o9enq_29", Fn = "_langMenu_o9enq_33", le = {
|
|
1900
|
+
langSelector: Ln,
|
|
1901
|
+
currentLang: Tn,
|
|
1902
|
+
arrow: Mn,
|
|
1903
|
+
prevImg: Dn,
|
|
1904
|
+
langMenu: Fn
|
|
1905
|
+
}, Vn = ({ langs: n, arrow: d, imgPrev: o }) => {
|
|
1906
|
+
const [s, t] = D(!1), { i18n: r } = $(), a = n.find((c) => c.code == r.language), l = (c) => {
|
|
1907
1907
|
r.changeLanguage(c), t(!1);
|
|
1908
1908
|
};
|
|
1909
1909
|
return /* @__PURE__ */ p("div", { className: le.langSelector, children: [
|
|
@@ -1912,16 +1912,16 @@ const Bn = "_langSelector_o9enq_2", Ln = "_currentLang_o9enq_14", Tn = "_arrow_o
|
|
|
1912
1912
|
{
|
|
1913
1913
|
className: le.currentLang,
|
|
1914
1914
|
onClick: () => {
|
|
1915
|
-
t(!
|
|
1915
|
+
t(!s);
|
|
1916
1916
|
},
|
|
1917
1917
|
children: [
|
|
1918
|
-
|
|
1918
|
+
o && /* @__PURE__ */ i("img", { className: le.prevImg, src: o }),
|
|
1919
1919
|
(a == null ? void 0 : a.titleSelected) || (a == null ? void 0 : a.title),
|
|
1920
1920
|
/* @__PURE__ */ i("img", { src: d, className: le.arrow })
|
|
1921
1921
|
]
|
|
1922
1922
|
}
|
|
1923
1923
|
),
|
|
1924
|
-
|
|
1924
|
+
s && /* @__PURE__ */ i("div", { className: le.langMenu, children: n.map((c) => /* @__PURE__ */ i(
|
|
1925
1925
|
"button",
|
|
1926
1926
|
{
|
|
1927
1927
|
className: (a == null ? void 0 : a.code) == c.code ? le.active : "",
|
|
@@ -1932,7 +1932,7 @@ const Bn = "_langSelector_o9enq_2", Ln = "_currentLang_o9enq_14", Tn = "_arrow_o
|
|
|
1932
1932
|
)) })
|
|
1933
1933
|
] });
|
|
1934
1934
|
};
|
|
1935
|
-
|
|
1935
|
+
Vn.propTypes = {
|
|
1936
1936
|
langs: e.arrayOf(
|
|
1937
1937
|
e.shape({
|
|
1938
1938
|
code: e.string,
|
|
@@ -1946,32 +1946,32 @@ Fn.propTypes = {
|
|
|
1946
1946
|
arrow: e.object,
|
|
1947
1947
|
imgPrev: e.object
|
|
1948
1948
|
};
|
|
1949
|
-
const
|
|
1950
|
-
legendContainer:
|
|
1951
|
-
closeButton:
|
|
1952
|
-
titleContainer:
|
|
1949
|
+
const An = "_legendContainer_qs4x9_3", In = "_closeButton_qs4x9_31", On = "_titleContainer_qs4x9_59", Rn = "_infoContainer_qs4x9_65", qn = "_titleLegendList_qs4x9_76", En = "_legendListContainer_qs4x9_82", Pn = "_gridContainer_qs4x9_82", jn = "_elementLegendContainer_qs4x9_88", Zn = "_colorDot_qs4x9_94", zn = "_absoluteValueContainer_qs4x9_100", Kn = "_absoluteValueColor_qs4x9_103", Hn = "_absoluteValueText_qs4x9_108", Un = "_noDataContainer_qs4x9_120", Gn = "_noData_qs4x9_120", Wn = "_moreInfoContainer_qs4x9_141", A = {
|
|
1950
|
+
legendContainer: An,
|
|
1951
|
+
closeButton: In,
|
|
1952
|
+
titleContainer: On,
|
|
1953
1953
|
infoContainer: Rn,
|
|
1954
|
-
titleLegendList:
|
|
1955
|
-
legendListContainer:
|
|
1956
|
-
gridContainer:
|
|
1957
|
-
elementLegendContainer:
|
|
1958
|
-
colorDot:
|
|
1959
|
-
absoluteValueContainer:
|
|
1960
|
-
absoluteValueColor:
|
|
1961
|
-
absoluteValueText:
|
|
1962
|
-
noDataContainer:
|
|
1963
|
-
noData:
|
|
1964
|
-
moreInfoContainer:
|
|
1965
|
-
},
|
|
1954
|
+
titleLegendList: qn,
|
|
1955
|
+
legendListContainer: En,
|
|
1956
|
+
gridContainer: Pn,
|
|
1957
|
+
elementLegendContainer: jn,
|
|
1958
|
+
colorDot: Zn,
|
|
1959
|
+
absoluteValueContainer: zn,
|
|
1960
|
+
absoluteValueColor: Kn,
|
|
1961
|
+
absoluteValueText: Hn,
|
|
1962
|
+
noDataContainer: Un,
|
|
1963
|
+
noData: Gn,
|
|
1964
|
+
moreInfoContainer: Wn
|
|
1965
|
+
}, Yn = ({
|
|
1966
1966
|
//JSON with the styles of the container (optional)
|
|
1967
1967
|
containerStyles: n,
|
|
1968
1968
|
//Title on top of the legend
|
|
1969
1969
|
title: d,
|
|
1970
1970
|
//Array to display the info behind the title should have: [{title, value}, ...]
|
|
1971
|
-
infoList:
|
|
1971
|
+
infoList: o,
|
|
1972
1972
|
//Array to display the items of the legend: [{title, color}, ...]
|
|
1973
1973
|
//color should be a string with hexadecimal value
|
|
1974
|
-
legendList:
|
|
1974
|
+
legendList: s,
|
|
1975
1975
|
//If not passed it will read t("mainUser")
|
|
1976
1976
|
legendListTitle: t,
|
|
1977
1977
|
//Should be an object with {maxColor, minColor, maxValue, minValue}
|
|
@@ -1993,15 +1993,15 @@ const Vn = "_legendContainer_qs4x9_3", An = "_closeButton_qs4x9_31", In = "_titl
|
|
|
1993
1993
|
className: `${A.legendContainer}`,
|
|
1994
1994
|
children: [
|
|
1995
1995
|
/* @__PURE__ */ i("button", { className: A.closeButton, onClick: c }),
|
|
1996
|
-
d && /* @__PURE__ */ i("div", { className: A.titleContainer, style: { marginBottom: (!
|
|
1997
|
-
|
|
1996
|
+
d && /* @__PURE__ */ i("div", { className: A.titleContainer, style: { marginBottom: (!o || o.length == 0) && "15px" }, children: /* @__PURE__ */ i("h2", { children: d }) }),
|
|
1997
|
+
o && o.length > 0 && /* @__PURE__ */ i("div", { className: A.infoContainer, children: /* @__PURE__ */ i("ul", { children: o.map(({ title: h, value: C }) => /* @__PURE__ */ p("li", { children: [
|
|
1998
1998
|
/* @__PURE__ */ i("h3", { className: A.title, children: `${h}:` }),
|
|
1999
1999
|
/* @__PURE__ */ p("span", { className: A.value, children: [
|
|
2000
2000
|
" ",
|
|
2001
2001
|
C
|
|
2002
2002
|
] })
|
|
2003
2003
|
] }, d)) }) }),
|
|
2004
|
-
/* @__PURE__ */ i("h3", { className: A.titleLegendList, style: { marginTop:
|
|
2004
|
+
/* @__PURE__ */ i("h3", { className: A.titleLegendList, style: { marginTop: o && o.length > 0 && "30px" }, children: t && /* @__PURE__ */ i(Ke, { i18nKey: t, components: { sup: /* @__PURE__ */ i("sup", {}) }, shouldUnescape: !0 }) }),
|
|
2005
2005
|
/* @__PURE__ */ p("div", { className: A.legendListContainer, children: [
|
|
2006
2006
|
r ? /* @__PURE__ */ p("div", { className: A.absoluteValueContainer, children: [
|
|
2007
2007
|
/* @__PURE__ */ i(
|
|
@@ -2030,7 +2030,7 @@ const Vn = "_legendContainer_qs4x9_3", An = "_closeButton_qs4x9_31", In = "_titl
|
|
|
2030
2030
|
u(r.unit)
|
|
2031
2031
|
] })
|
|
2032
2032
|
] })
|
|
2033
|
-
] }) :
|
|
2033
|
+
] }) : s && s.length > 0 && /* @__PURE__ */ i("div", { className: A.gridContainer, children: s.map(
|
|
2034
2034
|
({ title: h, color: C }) => /* @__PURE__ */ p("div", { className: A.elementLegendContainer, children: [
|
|
2035
2035
|
/* @__PURE__ */ i(
|
|
2036
2036
|
"div",
|
|
@@ -2063,7 +2063,7 @@ const Vn = "_legendContainer_qs4x9_3", An = "_closeButton_qs4x9_31", In = "_titl
|
|
|
2063
2063
|
}
|
|
2064
2064
|
);
|
|
2065
2065
|
};
|
|
2066
|
-
|
|
2066
|
+
Yn.propTypes = {
|
|
2067
2067
|
title: e.string,
|
|
2068
2068
|
containerStyles: e.object,
|
|
2069
2069
|
infoList: e.arrayOf(
|
|
@@ -2090,27 +2090,27 @@ Wn.propTypes = {
|
|
|
2090
2090
|
onClickClose: e.func,
|
|
2091
2091
|
noDataColor: e.string
|
|
2092
2092
|
};
|
|
2093
|
-
const
|
|
2094
|
-
logo:
|
|
2095
|
-
},
|
|
2096
|
-
const { t:
|
|
2097
|
-
return
|
|
2093
|
+
const Qn = "_logo_1ewa6_2", nt = {
|
|
2094
|
+
logo: Qn
|
|
2095
|
+
}, Xn = ({ src: n, alt: d, href: o }) => {
|
|
2096
|
+
const { t: s } = $(), t = /* @__PURE__ */ i("img", { src: n, alt: s(d) });
|
|
2097
|
+
return o ? /* @__PURE__ */ i("div", { className: nt.logo, children: /* @__PURE__ */ i("a", { href: o, children: t }) }) : /* @__PURE__ */ i("div", { className: nt.logo, children: t });
|
|
2098
2098
|
};
|
|
2099
|
-
|
|
2099
|
+
Xn.propTypes = {
|
|
2100
2100
|
src: e.string.isRequired,
|
|
2101
2101
|
alt: e.string.isRequired,
|
|
2102
2102
|
href: e.string,
|
|
2103
2103
|
className: e.string
|
|
2104
2104
|
};
|
|
2105
|
-
const
|
|
2106
|
-
mapContainer:
|
|
2105
|
+
const Jn = "_mapContainer_84pkf_2", e0 = {
|
|
2106
|
+
mapContainer: Jn
|
|
2107
2107
|
};
|
|
2108
|
-
|
|
2109
|
-
const
|
|
2108
|
+
At.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
|
|
2109
|
+
const t0 = ({
|
|
2110
2110
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2111
2111
|
maxZoom: d = 17,
|
|
2112
|
-
minZoom:
|
|
2113
|
-
mapStyle:
|
|
2112
|
+
minZoom: o = 8,
|
|
2113
|
+
mapStyle: s,
|
|
2114
2114
|
firstSymbolLayer: t,
|
|
2115
2115
|
cssProps: r = "",
|
|
2116
2116
|
onClick: a = "",
|
|
@@ -2119,35 +2119,35 @@ const e0 = ({
|
|
|
2119
2119
|
sources: u = [],
|
|
2120
2120
|
layers: h = []
|
|
2121
2121
|
}) => {
|
|
2122
|
-
const C =
|
|
2123
|
-
return
|
|
2122
|
+
const C = oe(), [y, v] = D(null), f = It((b) => b.mapState.showTexts);
|
|
2123
|
+
return V(() => {
|
|
2124
2124
|
if (C.current) {
|
|
2125
|
-
const
|
|
2126
|
-
|
|
2127
|
-
|
|
2125
|
+
const b = C.current.getMap();
|
|
2126
|
+
b.getStyle().layers.map((g) => {
|
|
2127
|
+
g.type == "symbol" && g.id != "professionals" && (f ? b.setLayoutProperty(g.id, "visibility", "visible") : b.setLayoutProperty(g.id, "visibility", "none"));
|
|
2128
2128
|
});
|
|
2129
2129
|
}
|
|
2130
|
-
}, [f]), /* @__PURE__ */ i("div", { className: `${
|
|
2131
|
-
|
|
2130
|
+
}, [f]), /* @__PURE__ */ i("div", { className: `${e0.mapContainer}`, style: r, children: /* @__PURE__ */ p(
|
|
2131
|
+
Ot,
|
|
2132
2132
|
{
|
|
2133
2133
|
initialViewState: n,
|
|
2134
2134
|
ref: C,
|
|
2135
2135
|
hash: !1,
|
|
2136
2136
|
maxZoom: d,
|
|
2137
|
-
minZoom:
|
|
2138
|
-
mapStyle:
|
|
2137
|
+
minZoom: o,
|
|
2138
|
+
mapStyle: s,
|
|
2139
2139
|
onClick: a,
|
|
2140
2140
|
interactiveLayerIds: l,
|
|
2141
2141
|
children: [
|
|
2142
|
-
u.length && u.map((
|
|
2142
|
+
u.length && u.map((b, m) => /* @__PURE__ */ i(
|
|
2143
2143
|
Rt,
|
|
2144
2144
|
{
|
|
2145
|
-
...
|
|
2146
|
-
children: h.length && h.map((
|
|
2147
|
-
if (
|
|
2148
|
-
|
|
2145
|
+
...b,
|
|
2146
|
+
children: h.length && h.map((g, _) => {
|
|
2147
|
+
if (g.sourceId == b.id) return /* @__PURE__ */ i(
|
|
2148
|
+
qt,
|
|
2149
2149
|
{
|
|
2150
|
-
...
|
|
2150
|
+
...g.layer,
|
|
2151
2151
|
beforeId: t
|
|
2152
2152
|
},
|
|
2153
2153
|
_
|
|
@@ -2156,9 +2156,9 @@ const e0 = ({
|
|
|
2156
2156
|
},
|
|
2157
2157
|
m
|
|
2158
2158
|
)),
|
|
2159
|
-
/* @__PURE__ */ i(
|
|
2159
|
+
/* @__PURE__ */ i(Et, { position: "bottom-right", visualizePitch: !0 }),
|
|
2160
2160
|
c && y && /* @__PURE__ */ i(
|
|
2161
|
-
|
|
2161
|
+
Pt,
|
|
2162
2162
|
{
|
|
2163
2163
|
longitude: c.longitude,
|
|
2164
2164
|
latitude: c.latitude,
|
|
@@ -2171,7 +2171,7 @@ const e0 = ({
|
|
|
2171
2171
|
}
|
|
2172
2172
|
) });
|
|
2173
2173
|
};
|
|
2174
|
-
|
|
2174
|
+
t0.propTypes = {
|
|
2175
2175
|
initialView: e.shape({
|
|
2176
2176
|
latitude: e.number.isRequired,
|
|
2177
2177
|
longitude: e.number.isRequired,
|
|
@@ -2216,29 +2216,29 @@ e0.propTypes = {
|
|
|
2216
2216
|
})
|
|
2217
2217
|
)
|
|
2218
2218
|
};
|
|
2219
|
-
const
|
|
2220
|
-
mapContainer:
|
|
2221
|
-
},
|
|
2222
|
-
FeaturePopUp:
|
|
2219
|
+
const n0 = "_mapContainer_b0pyr_3", i0 = {
|
|
2220
|
+
mapContainer: n0
|
|
2221
|
+
}, o0 = "_FeaturePopUp_mt8l5_2", s0 = "_title_mt8l5_9", it = {
|
|
2222
|
+
FeaturePopUp: o0,
|
|
2223
2223
|
title: s0
|
|
2224
|
-
},
|
|
2224
|
+
}, r0 = ({ props: n }) => {
|
|
2225
2225
|
const { t: d } = $();
|
|
2226
|
-
return /* @__PURE__ */ i("div", { className:
|
|
2227
|
-
/* @__PURE__ */ p("span", { className:
|
|
2228
|
-
/* @__PURE__ */ i(
|
|
2226
|
+
return /* @__PURE__ */ i("div", { className: it.FeaturePopUp, children: n.map((o) => /* @__PURE__ */ p("p", { children: [
|
|
2227
|
+
/* @__PURE__ */ p("span", { className: it.title, children: [
|
|
2228
|
+
/* @__PURE__ */ i(Ke, { i18nKey: o.name, components: { sup: /* @__PURE__ */ i("sup", {}) }, shouldUnescape: !0 }),
|
|
2229
2229
|
":"
|
|
2230
2230
|
] }),
|
|
2231
|
-
isNaN(
|
|
2232
|
-
|
|
2231
|
+
isNaN(o.value) ? /* @__PURE__ */ i(Re, { children: d(o.value) }) : /* @__PURE__ */ p(Re, { children: [
|
|
2232
|
+
o.value.toLocaleString("de", { maximumFractionDigits: 2 }),
|
|
2233
2233
|
" ",
|
|
2234
|
-
d(
|
|
2234
|
+
d(o.unit)
|
|
2235
2235
|
] })
|
|
2236
2236
|
] })) });
|
|
2237
|
-
},
|
|
2237
|
+
}, a0 = ({
|
|
2238
2238
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2239
2239
|
maxZoom: d = 17,
|
|
2240
|
-
minZoom:
|
|
2241
|
-
mapStyle:
|
|
2240
|
+
minZoom: o = 8,
|
|
2241
|
+
mapStyle: s,
|
|
2242
2242
|
firstSymbolLayer: t,
|
|
2243
2243
|
cssProps: r = {},
|
|
2244
2244
|
onClick: a = "",
|
|
@@ -2251,41 +2251,41 @@ const t0 = "_mapContainer_b0pyr_3", n0 = {
|
|
|
2251
2251
|
showTexts: v
|
|
2252
2252
|
}) => {
|
|
2253
2253
|
console.log(h);
|
|
2254
|
-
const f =
|
|
2255
|
-
return
|
|
2254
|
+
const f = oe();
|
|
2255
|
+
return V(() => {
|
|
2256
2256
|
if (f.current) {
|
|
2257
|
-
const
|
|
2258
|
-
|
|
2259
|
-
|
|
2257
|
+
const b = f.current.getMap();
|
|
2258
|
+
b.getStyle().layers.map((g) => {
|
|
2259
|
+
g.type == "symbol" && g.id != "professionals" && (v ? b.setLayoutProperty(g.id, "visibility", "visible") : b.setLayoutProperty(g.id, "visibility", "none"));
|
|
2260
2260
|
});
|
|
2261
2261
|
}
|
|
2262
|
-
}, [v]),
|
|
2263
|
-
let
|
|
2264
|
-
return
|
|
2265
|
-
|
|
2262
|
+
}, [v]), V(() => {
|
|
2263
|
+
let b = new jt();
|
|
2264
|
+
return Me.addProtocol("pmtiles", b.tile), () => {
|
|
2265
|
+
Me.removeProtocol("pmtiles");
|
|
2266
2266
|
};
|
|
2267
|
-
}, []), /* @__PURE__ */ i("div", { className: `${
|
|
2268
|
-
|
|
2267
|
+
}, []), /* @__PURE__ */ i("div", { className: `${i0.mapContainer}`, style: r && r, children: /* @__PURE__ */ p(
|
|
2268
|
+
Zt,
|
|
2269
2269
|
{
|
|
2270
|
-
mapLib:
|
|
2270
|
+
mapLib: Me,
|
|
2271
2271
|
initialViewState: n,
|
|
2272
2272
|
ref: f,
|
|
2273
2273
|
hash: !1,
|
|
2274
2274
|
maxZoom: d,
|
|
2275
|
-
minZoom:
|
|
2276
|
-
mapStyle:
|
|
2275
|
+
minZoom: o,
|
|
2276
|
+
mapStyle: s,
|
|
2277
2277
|
onClick: a,
|
|
2278
2278
|
interactiveLayerIds: l,
|
|
2279
2279
|
children: [
|
|
2280
|
-
c.length && c.map((
|
|
2281
|
-
|
|
2280
|
+
c.length && c.map((b, m) => /* @__PURE__ */ i(
|
|
2281
|
+
zt,
|
|
2282
2282
|
{
|
|
2283
|
-
...
|
|
2284
|
-
children: u.length && u.map((
|
|
2285
|
-
if (
|
|
2286
|
-
|
|
2283
|
+
...b,
|
|
2284
|
+
children: u.length && u.map((g, _) => {
|
|
2285
|
+
if (g.sourceId == b.id) return /* @__PURE__ */ i(
|
|
2286
|
+
Kt,
|
|
2287
2287
|
{
|
|
2288
|
-
...
|
|
2288
|
+
...g.layer,
|
|
2289
2289
|
beforeId: t,
|
|
2290
2290
|
filter: h && h
|
|
2291
2291
|
},
|
|
@@ -2295,21 +2295,21 @@ const t0 = "_mapContainer_b0pyr_3", n0 = {
|
|
|
2295
2295
|
},
|
|
2296
2296
|
m
|
|
2297
2297
|
)),
|
|
2298
|
-
/* @__PURE__ */ i(
|
|
2298
|
+
/* @__PURE__ */ i(Ht, { position: "bottom-right", visualizePitch: !0 }),
|
|
2299
2299
|
C && /* @__PURE__ */ i(
|
|
2300
|
-
|
|
2300
|
+
Ut,
|
|
2301
2301
|
{
|
|
2302
2302
|
longitude: C.lng,
|
|
2303
2303
|
latitude: C.lat,
|
|
2304
2304
|
onClose: y,
|
|
2305
|
-
children: /* @__PURE__ */ i(
|
|
2305
|
+
children: /* @__PURE__ */ i(r0, { props: C.props })
|
|
2306
2306
|
}
|
|
2307
2307
|
)
|
|
2308
2308
|
]
|
|
2309
2309
|
}
|
|
2310
2310
|
) });
|
|
2311
2311
|
};
|
|
2312
|
-
|
|
2312
|
+
a0.propTypes = {
|
|
2313
2313
|
initialView: e.shape({
|
|
2314
2314
|
latitude: e.number.isRequired,
|
|
2315
2315
|
longitude: e.number.isRequired,
|
|
@@ -2352,18 +2352,18 @@ r0.propTypes = {
|
|
|
2352
2352
|
popUpParams: e.object,
|
|
2353
2353
|
onClosePopUp: e.func
|
|
2354
2354
|
};
|
|
2355
|
-
const
|
|
2356
|
-
sectionBar:
|
|
2357
|
-
leftContent:
|
|
2358
|
-
textContainer:
|
|
2359
|
-
title:
|
|
2360
|
-
subtitle:
|
|
2361
|
-
rightContent:
|
|
2362
|
-
},
|
|
2355
|
+
const l0 = "_sectionBar_1egwc_2", c0 = "_leftContent_1egwc_14", d0 = "_textContainer_1egwc_20", u0 = "_title_1egwc_27", p0 = "_subtitle_1egwc_33", m0 = "_rightContent_1egwc_38", ee = {
|
|
2356
|
+
sectionBar: l0,
|
|
2357
|
+
leftContent: c0,
|
|
2358
|
+
textContainer: d0,
|
|
2359
|
+
title: u0,
|
|
2360
|
+
subtitle: p0,
|
|
2361
|
+
rightContent: m0
|
|
2362
|
+
}, h0 = ({
|
|
2363
2363
|
leftIcon: n,
|
|
2364
2364
|
title: d,
|
|
2365
|
-
subtitle:
|
|
2366
|
-
rightContent:
|
|
2365
|
+
subtitle: o,
|
|
2366
|
+
rightContent: s,
|
|
2367
2367
|
mainColor: t,
|
|
2368
2368
|
width: r
|
|
2369
2369
|
}) => {
|
|
@@ -2373,13 +2373,13 @@ const a0 = "_sectionBar_1egwc_2", l0 = "_leftContent_1egwc_14", c0 = "_textConta
|
|
|
2373
2373
|
n && /* @__PURE__ */ i("img", { src: n, alt: "Icono", className: ee.icon }),
|
|
2374
2374
|
/* @__PURE__ */ p("div", { className: ee.textContainer, children: [
|
|
2375
2375
|
/* @__PURE__ */ i("div", { className: ee.title, children: a(d) }),
|
|
2376
|
-
|
|
2376
|
+
o && /* @__PURE__ */ i("div", { className: ee.subtitle, children: o })
|
|
2377
2377
|
] })
|
|
2378
2378
|
] }),
|
|
2379
|
-
/* @__PURE__ */ i("div", { className: ee.rightContent, children:
|
|
2379
|
+
/* @__PURE__ */ i("div", { className: ee.rightContent, children: s })
|
|
2380
2380
|
] });
|
|
2381
2381
|
};
|
|
2382
|
-
|
|
2382
|
+
h0.propTypes = {
|
|
2383
2383
|
leftIcon: e.string,
|
|
2384
2384
|
// URL del icono de la sección
|
|
2385
2385
|
title: e.string.isRequired,
|
|
@@ -2393,7 +2393,7 @@ m0.propTypes = {
|
|
|
2393
2393
|
width: e.oneOfType([e.string, e.number])
|
|
2394
2394
|
// ancho de la barra
|
|
2395
2395
|
};
|
|
2396
|
-
const
|
|
2396
|
+
const g0 = Gt({
|
|
2397
2397
|
name: "mapSlice",
|
|
2398
2398
|
initialState: {
|
|
2399
2399
|
showTexts: !0,
|
|
@@ -2419,46 +2419,46 @@ const h0 = Ut({
|
|
|
2419
2419
|
n.activeIndicatorUnit = d.payload;
|
|
2420
2420
|
}
|
|
2421
2421
|
}
|
|
2422
|
-
}), { setShowTexts:
|
|
2423
|
-
slider:
|
|
2424
|
-
playButton:
|
|
2425
|
-
sliderOpen:
|
|
2426
|
-
sliderResults:
|
|
2427
|
-
},
|
|
2422
|
+
}), { setShowTexts: rs, setYear: as, setActiveIndicatorKey: ls, setActiveIndicatorType: cs, setActiveIndicatorUnit: ds } = g0.actions, C0 = "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", f0 = "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", b0 = "_slider_1prh1_2", _0 = "_playButton_1prh1_14", y0 = "_sliderOpen_1prh1_25", v0 = "_sliderResults_1prh1_29", ge = {
|
|
2423
|
+
slider: b0,
|
|
2424
|
+
playButton: _0,
|
|
2425
|
+
sliderOpen: y0,
|
|
2426
|
+
sliderResults: v0
|
|
2427
|
+
}, w0 = ({
|
|
2428
2428
|
onResults: n = !1,
|
|
2429
2429
|
defaultYear: d = 2025,
|
|
2430
|
-
firstYear:
|
|
2431
|
-
lastYear:
|
|
2430
|
+
firstYear: o = 2025,
|
|
2431
|
+
lastYear: s = 2050,
|
|
2432
2432
|
zIndex: t = 10,
|
|
2433
2433
|
rightBarOpen: r = !1,
|
|
2434
2434
|
onChange: a = (l) => {
|
|
2435
2435
|
console.log("year changed to ", l);
|
|
2436
2436
|
}
|
|
2437
2437
|
}) => {
|
|
2438
|
-
const [l, c] = D(d), u = (
|
|
2438
|
+
const [l, c] = D(d), u = (g, _) => {
|
|
2439
2439
|
c(_), a(_);
|
|
2440
2440
|
}, [h, C] = D(!1), y = () => {
|
|
2441
2441
|
C(!0);
|
|
2442
2442
|
}, v = () => {
|
|
2443
2443
|
C(!1);
|
|
2444
2444
|
};
|
|
2445
|
-
((
|
|
2446
|
-
const
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
}, [
|
|
2445
|
+
((g, _) => {
|
|
2446
|
+
const N = oe();
|
|
2447
|
+
V(() => {
|
|
2448
|
+
N.current = g;
|
|
2449
|
+
}, [g]), V(() => {
|
|
2450
2450
|
function w() {
|
|
2451
|
-
|
|
2451
|
+
N.current();
|
|
2452
2452
|
}
|
|
2453
2453
|
{
|
|
2454
|
-
let
|
|
2455
|
-
return () => clearInterval(
|
|
2454
|
+
let x = setInterval(w, _);
|
|
2455
|
+
return () => clearInterval(x);
|
|
2456
2456
|
}
|
|
2457
2457
|
}, [_]);
|
|
2458
2458
|
})(() => {
|
|
2459
2459
|
h && (l != 2050 ? (c(l + 1), a(l + 1)) : (c(2025), a(2025)));
|
|
2460
2460
|
}, 1e3);
|
|
2461
|
-
const
|
|
2461
|
+
const b = Yt({
|
|
2462
2462
|
palette: {
|
|
2463
2463
|
primary: {
|
|
2464
2464
|
main: "#605b56"
|
|
@@ -2486,37 +2486,37 @@ const h0 = Ut({
|
|
|
2486
2486
|
{ label: "", value: 2041 },
|
|
2487
2487
|
{ label: "", value: 2050 }
|
|
2488
2488
|
];
|
|
2489
|
-
return /* @__PURE__ */ i(
|
|
2490
|
-
|
|
2489
|
+
return /* @__PURE__ */ i(Xt, { theme: b, children: /* @__PURE__ */ p(
|
|
2490
|
+
Qt,
|
|
2491
2491
|
{
|
|
2492
2492
|
sx: { width: 400 },
|
|
2493
2493
|
className: `${n ? ge.sliderResults : ge.slider} ${r ? ge.sliderOpen : ""}`,
|
|
2494
2494
|
style: { zIndex: t },
|
|
2495
2495
|
children: [
|
|
2496
|
-
|
|
2496
|
+
o,
|
|
2497
2497
|
/* @__PURE__ */ i(
|
|
2498
|
-
|
|
2498
|
+
Wt,
|
|
2499
2499
|
{
|
|
2500
2500
|
"aria-label": "TimeSlider",
|
|
2501
2501
|
value: l,
|
|
2502
2502
|
valueLabelDisplay: "on",
|
|
2503
2503
|
step: 1,
|
|
2504
2504
|
marks: m,
|
|
2505
|
-
min:
|
|
2506
|
-
max:
|
|
2505
|
+
min: o,
|
|
2506
|
+
max: s,
|
|
2507
2507
|
onChange: u,
|
|
2508
2508
|
color: "primary",
|
|
2509
2509
|
size: "small"
|
|
2510
2510
|
}
|
|
2511
2511
|
),
|
|
2512
|
-
|
|
2513
|
-
!h && /* @__PURE__ */ i("button", { className: ge.playButton, onClick: y, children: /* @__PURE__ */ i("img", { src:
|
|
2514
|
-
h && /* @__PURE__ */ i("button", { className: ge.playButton, onClick: v, children: /* @__PURE__ */ i("img", { src:
|
|
2512
|
+
s,
|
|
2513
|
+
!h && /* @__PURE__ */ i("button", { className: ge.playButton, onClick: y, children: /* @__PURE__ */ i("img", { src: C0, alt: "Play" }) }),
|
|
2514
|
+
h && /* @__PURE__ */ i("button", { className: ge.playButton, onClick: v, children: /* @__PURE__ */ i("img", { src: f0, alt: "Pause" }) })
|
|
2515
2515
|
]
|
|
2516
2516
|
}
|
|
2517
2517
|
) });
|
|
2518
2518
|
};
|
|
2519
|
-
|
|
2519
|
+
w0.propTypes = {
|
|
2520
2520
|
defaultYear: e.number,
|
|
2521
2521
|
onResults: e.bool,
|
|
2522
2522
|
firstYear: e.number,
|
|
@@ -2525,36 +2525,36 @@ v0.propTypes = {
|
|
|
2525
2525
|
rightBarOpen: e.bool,
|
|
2526
2526
|
onChange: e.func
|
|
2527
2527
|
};
|
|
2528
|
-
const
|
|
2529
|
-
TopNavMenuContainer:
|
|
2530
|
-
topNavOptions:
|
|
2531
|
-
active:
|
|
2532
|
-
},
|
|
2528
|
+
const x0 = "_TopNavMenuContainer_12mp4_2", N0 = "_topNavOptions_12mp4_13", k0 = "_active_12mp4_27", Ie = {
|
|
2529
|
+
TopNavMenuContainer: x0,
|
|
2530
|
+
topNavOptions: N0,
|
|
2531
|
+
active: k0
|
|
2532
|
+
}, S0 = ({
|
|
2533
2533
|
options: n = [],
|
|
2534
2534
|
containerStyles: d,
|
|
2535
|
-
borderColor:
|
|
2536
|
-
textColor:
|
|
2535
|
+
borderColor: o = "red",
|
|
2536
|
+
textColor: s = "white",
|
|
2537
2537
|
onChangeNavLink: t = (r) => {
|
|
2538
2538
|
console.log("Changed NavLink", r);
|
|
2539
2539
|
}
|
|
2540
2540
|
}) => {
|
|
2541
2541
|
const { t: r } = $();
|
|
2542
|
-
return /* @__PURE__ */ i("div", { className:
|
|
2543
|
-
|
|
2542
|
+
return /* @__PURE__ */ i("div", { className: Ie.TopNavMenuContainer, style: { ...d }, children: n.map((a, l) => /* @__PURE__ */ i(
|
|
2543
|
+
Jt,
|
|
2544
2544
|
{
|
|
2545
2545
|
to: a.url,
|
|
2546
|
-
className: ({ isActive: c }) => `${
|
|
2546
|
+
className: ({ isActive: c }) => `${Ie.topNavOptions} ${c ? Ie.active : ""} `,
|
|
2547
2547
|
onClick: () => t(a.url),
|
|
2548
2548
|
style: ({ isActive: c }) => ({
|
|
2549
|
-
color:
|
|
2550
|
-
borderBottom: c ? `5px solid ${
|
|
2549
|
+
color: s,
|
|
2550
|
+
borderBottom: c ? `5px solid ${o}` : "5px solid transparent"
|
|
2551
2551
|
}),
|
|
2552
2552
|
children: r(a.name)
|
|
2553
2553
|
},
|
|
2554
2554
|
l
|
|
2555
2555
|
)) });
|
|
2556
2556
|
};
|
|
2557
|
-
|
|
2557
|
+
S0.propTypes = {
|
|
2558
2558
|
options: e.arrayOf(e.object),
|
|
2559
2559
|
cssProps: e.shape({
|
|
2560
2560
|
borderColor: e.string.isRequired,
|
|
@@ -2564,13 +2564,13 @@ k0.propTypes = {
|
|
|
2564
2564
|
// activeColor: PropTypes.string,
|
|
2565
2565
|
// defaultColor: PropTypes.string
|
|
2566
2566
|
};
|
|
2567
|
-
const
|
|
2568
|
-
LogInButton:
|
|
2569
|
-
},
|
|
2567
|
+
const $0 = "_LogInButton_1vxj5_2", B0 = {
|
|
2568
|
+
LogInButton: $0
|
|
2569
|
+
}, L0 = ({
|
|
2570
2570
|
cssClass: n,
|
|
2571
2571
|
notLoggedInLabel: d = "Log in",
|
|
2572
|
-
loggedInLabel:
|
|
2573
|
-
containerStyles:
|
|
2572
|
+
loggedInLabel: o = "Log out",
|
|
2573
|
+
containerStyles: s,
|
|
2574
2574
|
userName: t = "",
|
|
2575
2575
|
isLoggedIn: r = !1,
|
|
2576
2576
|
onClickLogIn: a = () => {
|
|
@@ -2584,14 +2584,14 @@ const S0 = "_LogInButton_1vxj5_2", $0 = {
|
|
|
2584
2584
|
return /* @__PURE__ */ i(
|
|
2585
2585
|
"div",
|
|
2586
2586
|
{
|
|
2587
|
-
style: { ...
|
|
2588
|
-
className: `${
|
|
2587
|
+
style: { ...s },
|
|
2588
|
+
className: `${B0.LogInButton} link ${n}`,
|
|
2589
2589
|
onClick: r ? l : a,
|
|
2590
|
-
children: r ? t || c(
|
|
2590
|
+
children: r ? t || c(o) : c(d)
|
|
2591
2591
|
}
|
|
2592
2592
|
);
|
|
2593
2593
|
};
|
|
2594
|
-
|
|
2594
|
+
L0.propTypes = {
|
|
2595
2595
|
cssClass: e.string,
|
|
2596
2596
|
notLoggedInLabel: e.string,
|
|
2597
2597
|
loggedInLabel: e.string,
|
|
@@ -2599,43 +2599,43 @@ B0.propTypes = {
|
|
|
2599
2599
|
userName: e.string,
|
|
2600
2600
|
isLoggedIn: e.bool
|
|
2601
2601
|
};
|
|
2602
|
-
const
|
|
2603
|
-
elementSelector:
|
|
2604
|
-
header:
|
|
2605
|
-
nameDateContainer:
|
|
2606
|
-
elementName:
|
|
2607
|
-
elementDate:
|
|
2608
|
-
buttonsContainer:
|
|
2609
|
-
elementListContainer:
|
|
2610
|
-
newElementButtonContainer:
|
|
2611
|
-
}, R0 = "_listElement_1s506_2",
|
|
2602
|
+
const T0 = "_elementSelector_1qdhv_2", M0 = "_header_1qdhv_13", D0 = "_nameDateContainer_1qdhv_23", F0 = "_elementName_1qdhv_39", V0 = "_elementDate_1qdhv_53", A0 = "_buttonsContainer_1qdhv_67", I0 = "_elementListContainer_1qdhv_76", O0 = "_newElementButtonContainer_1qdhv_80", H = {
|
|
2603
|
+
elementSelector: T0,
|
|
2604
|
+
header: M0,
|
|
2605
|
+
nameDateContainer: D0,
|
|
2606
|
+
elementName: F0,
|
|
2607
|
+
elementDate: V0,
|
|
2608
|
+
buttonsContainer: A0,
|
|
2609
|
+
elementListContainer: I0,
|
|
2610
|
+
newElementButtonContainer: O0
|
|
2611
|
+
}, R0 = "_listElement_1s506_2", q0 = "_elementNameDate_1s506_17", E0 = "_elementNameContainer_1s506_27", P0 = "_elementName_1s506_17", j0 = "_elementDate_1s506_42", Z0 = "_elementButtons_1s506_45", z0 = "_moreInfoContainer_1s506_68", K0 = "_moreInfo_1s506_68", z = {
|
|
2612
2612
|
listElement: R0,
|
|
2613
|
-
elementNameDate:
|
|
2614
|
-
elementNameContainer:
|
|
2615
|
-
elementName:
|
|
2616
|
-
elementDate:
|
|
2617
|
-
elementButtons:
|
|
2613
|
+
elementNameDate: q0,
|
|
2614
|
+
elementNameContainer: E0,
|
|
2615
|
+
elementName: P0,
|
|
2616
|
+
elementDate: j0,
|
|
2617
|
+
elementButtons: Z0,
|
|
2618
2618
|
break: "_break_1s506_63",
|
|
2619
|
-
moreInfoContainer:
|
|
2620
|
-
moreInfo:
|
|
2621
|
-
}, K0 = "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", H0 = "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", U0 = "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", G0 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='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", W0 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%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";
|
|
2622
|
-
var
|
|
2623
|
-
function
|
|
2624
|
-
return
|
|
2619
|
+
moreInfoContainer: z0,
|
|
2620
|
+
moreInfo: K0
|
|
2621
|
+
}, H0 = "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", U0 = "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", G0 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='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", W0 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%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", Y0 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%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";
|
|
2622
|
+
var ot;
|
|
2623
|
+
function Ze() {
|
|
2624
|
+
return Ze = Object.assign ? Object.assign.bind() : function(n) {
|
|
2625
2625
|
for (var d = 1; d < arguments.length; d++) {
|
|
2626
|
-
var
|
|
2627
|
-
for (var
|
|
2626
|
+
var o = arguments[d];
|
|
2627
|
+
for (var s in o) ({}).hasOwnProperty.call(o, s) && (n[s] = o[s]);
|
|
2628
2628
|
}
|
|
2629
2629
|
return n;
|
|
2630
|
-
},
|
|
2630
|
+
}, Ze.apply(null, arguments);
|
|
2631
2631
|
}
|
|
2632
|
-
var
|
|
2633
|
-
return /* @__PURE__ */ pe.createElement("svg",
|
|
2632
|
+
var Q0 = function(d) {
|
|
2633
|
+
return /* @__PURE__ */ pe.createElement("svg", Ze({
|
|
2634
2634
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2635
2635
|
width: 26,
|
|
2636
2636
|
height: 14,
|
|
2637
2637
|
fill: "none"
|
|
2638
|
-
}, d),
|
|
2638
|
+
}, d), ot || (ot = /* @__PURE__ */ pe.createElement("g", {
|
|
2639
2639
|
fill: "currentColor"
|
|
2640
2640
|
}, /* @__PURE__ */ pe.createElement("path", {
|
|
2641
2641
|
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"
|
|
@@ -2643,11 +2643,11 @@ var Y0 = function(d) {
|
|
|
2643
2643
|
d: "M12.951 10.297a3.307 3.307 0 1 0 0-6.614 3.307 3.307 0 0 0 0 6.614"
|
|
2644
2644
|
}))));
|
|
2645
2645
|
};
|
|
2646
|
-
const
|
|
2646
|
+
const X0 = "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", xt = ({
|
|
2647
2647
|
listelement: n,
|
|
2648
2648
|
onClickElement: d,
|
|
2649
|
-
isActive:
|
|
2650
|
-
activeColor:
|
|
2649
|
+
isActive: o,
|
|
2650
|
+
activeColor: s,
|
|
2651
2651
|
fontColor: t,
|
|
2652
2652
|
moreInfo: r,
|
|
2653
2653
|
columns: a,
|
|
@@ -2656,7 +2656,7 @@ const Q0 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2656
2656
|
defaultTooltip: u,
|
|
2657
2657
|
showEye: h = !0
|
|
2658
2658
|
}) => {
|
|
2659
|
-
const { name: C, created_at: y, id: v, isBeingProcessed: f } = n, [
|
|
2659
|
+
const { name: C, created_at: y, id: v, isBeingProcessed: f } = n, [b, m] = D(!1), { t: g } = $();
|
|
2660
2660
|
return /* @__PURE__ */ p(
|
|
2661
2661
|
"div",
|
|
2662
2662
|
{
|
|
@@ -2664,51 +2664,51 @@ const Q0 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2664
2664
|
style: { borderBottom: `1px solid ${t}` },
|
|
2665
2665
|
children: [
|
|
2666
2666
|
/* @__PURE__ */ i("div", { className: z.elementNameDate, onClick: () => d(v), children: Object.keys(a).map((_) => _ === "name" ? /* @__PURE__ */ i("div", { className: z.elementNameContainer, children: /* @__PURE__ */ p("div", { className: z.elementName, children: [
|
|
2667
|
-
h && (
|
|
2667
|
+
h && (o ? /* @__PURE__ */ i(Q0, { style: { color: s, marginRight: 9 } }) : /* @__PURE__ */ i(
|
|
2668
2668
|
"img",
|
|
2669
2669
|
{
|
|
2670
2670
|
style: { marginRight: 9 },
|
|
2671
|
-
src:
|
|
2671
|
+
src: X0,
|
|
2672
2672
|
alt: "eye"
|
|
2673
2673
|
}
|
|
2674
2674
|
)),
|
|
2675
|
-
/* @__PURE__ */ i("span", { style: { color:
|
|
2675
|
+
/* @__PURE__ */ i("span", { style: { color: o ? s : t }, children: C })
|
|
2676
2676
|
] }) }) : _ == "data" ? /* @__PURE__ */ i("div", { className: z.elementDate, children: y ? new Date(y).toLocaleDateString() : "" }) : /* @__PURE__ */ i("div", { className: z.elementDate, children: n[_] })) }),
|
|
2677
2677
|
/* @__PURE__ */ p("div", { className: z.elementButtons, children: [
|
|
2678
2678
|
n.processing && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2679
|
-
/* @__PURE__ */ i("img", { src:
|
|
2679
|
+
/* @__PURE__ */ i("img", { src: W0 }),
|
|
2680
2680
|
/* @__PURE__ */ i(ie, { text: c, position: "left" })
|
|
2681
2681
|
] }),
|
|
2682
2682
|
l.filter && !n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2683
|
-
/* @__PURE__ */ i("button", { onClick: () => l.filter.onclick(n), children: /* @__PURE__ */ i("img", { src:
|
|
2683
|
+
/* @__PURE__ */ i("button", { onClick: () => l.filter.onclick(n), children: /* @__PURE__ */ i("img", { src: G0 }) }),
|
|
2684
2684
|
/* @__PURE__ */ i(ie, { text: l.filter.tooltiptext, position: "left" })
|
|
2685
2685
|
] }),
|
|
2686
2686
|
l.copy && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2687
|
-
/* @__PURE__ */ i("button", { onClick: () => l.copy.onclick(n), children: /* @__PURE__ */ i("img", { src:
|
|
2687
|
+
/* @__PURE__ */ i("button", { onClick: () => l.copy.onclick(n), children: /* @__PURE__ */ i("img", { src: U0 }) }),
|
|
2688
2688
|
/* @__PURE__ */ i(ie, { text: l.copy.tooltiptext, position: "left" })
|
|
2689
2689
|
] }),
|
|
2690
2690
|
l.trash && !n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2691
|
-
/* @__PURE__ */ i("button", { onClick: () => l.trash.onclick(n), children: /* @__PURE__ */ i("img", { src:
|
|
2691
|
+
/* @__PURE__ */ i("button", { onClick: () => l.trash.onclick(n), children: /* @__PURE__ */ i("img", { src: H0 }) }),
|
|
2692
2692
|
/* @__PURE__ */ i(ie, { text: l.trash.tooltiptext, position: "left" })
|
|
2693
2693
|
] }),
|
|
2694
2694
|
n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2695
|
-
/* @__PURE__ */ i("img", { src:
|
|
2695
|
+
/* @__PURE__ */ i("img", { src: Y0 }),
|
|
2696
2696
|
/* @__PURE__ */ i(ie, { text: u, position: "left" })
|
|
2697
2697
|
] })
|
|
2698
2698
|
] }),
|
|
2699
2699
|
r && /* @__PURE__ */ i("div", { className: z.break }),
|
|
2700
2700
|
r && /* @__PURE__ */ p("div", { className: z.moreInfoContainer, children: [
|
|
2701
|
-
/* @__PURE__ */ p("div", { className: z.moreInfo, onClick: () => m(!
|
|
2702
|
-
/* @__PURE__ */ i("span", { children:
|
|
2703
|
-
|
|
2701
|
+
/* @__PURE__ */ p("div", { className: z.moreInfo, onClick: () => m(!b), children: [
|
|
2702
|
+
/* @__PURE__ */ i("span", { children: b ? "-" : "+" }),
|
|
2703
|
+
g(r.label)
|
|
2704
2704
|
] }),
|
|
2705
|
-
r &&
|
|
2705
|
+
r && b && /* @__PURE__ */ i("div", { className: z.moreInfoInfo, children: n[r.info] })
|
|
2706
2706
|
] })
|
|
2707
2707
|
]
|
|
2708
2708
|
}
|
|
2709
2709
|
);
|
|
2710
2710
|
};
|
|
2711
|
-
|
|
2711
|
+
xt.propTypes = {
|
|
2712
2712
|
listelement: e.shape({
|
|
2713
2713
|
name: e.string.isRequired,
|
|
2714
2714
|
created_at: e.string,
|
|
@@ -2744,11 +2744,11 @@ vt.propTypes = {
|
|
|
2744
2744
|
defaultTooltip: e.string,
|
|
2745
2745
|
showEye: e.bool
|
|
2746
2746
|
};
|
|
2747
|
-
const st = "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",
|
|
2747
|
+
const st = "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", J0 = ({
|
|
2748
2748
|
elementsList: n,
|
|
2749
2749
|
activeElementId: d,
|
|
2750
|
-
fontColor:
|
|
2751
|
-
activeColor:
|
|
2750
|
+
fontColor: o = "#605B56",
|
|
2751
|
+
activeColor: s,
|
|
2752
2752
|
buttonContainerStyles: t = {},
|
|
2753
2753
|
containerStyles: r = {},
|
|
2754
2754
|
newElementButton: a,
|
|
@@ -2766,32 +2766,32 @@ const st = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2766
2766
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
2767
2767
|
showEye: v = !0
|
|
2768
2768
|
}) => {
|
|
2769
|
-
const { t: f } = $(), [
|
|
2770
|
-
|
|
2769
|
+
const { t: f } = $(), [b, m] = D(n);
|
|
2770
|
+
V(() => {
|
|
2771
2771
|
n && m(n);
|
|
2772
2772
|
}, [n]);
|
|
2773
|
-
const
|
|
2774
|
-
if (
|
|
2775
|
-
let
|
|
2776
|
-
|
|
2773
|
+
const g = (_) => {
|
|
2774
|
+
if (b && b.length > 0) {
|
|
2775
|
+
let N = [...b];
|
|
2776
|
+
N.sort((w, x) => w[_].localeCompare(x[_])), m(N);
|
|
2777
2777
|
}
|
|
2778
2778
|
};
|
|
2779
2779
|
return /* @__PURE__ */ p(
|
|
2780
2780
|
"div",
|
|
2781
2781
|
{
|
|
2782
2782
|
className: H.elementSelector,
|
|
2783
|
-
style: { color:
|
|
2783
|
+
style: { color: o, ...r },
|
|
2784
2784
|
children: [
|
|
2785
2785
|
/* @__PURE__ */ p(
|
|
2786
2786
|
"div",
|
|
2787
2787
|
{
|
|
2788
2788
|
className: H.header,
|
|
2789
|
-
style: { borderBottom: `1px solid ${
|
|
2789
|
+
style: { borderBottom: `1px solid ${o}` },
|
|
2790
2790
|
children: [
|
|
2791
|
-
/* @__PURE__ */ i("div", { className: H.nameDateContainer, children: Object.keys(c).map((_) => _ === "name" ? /* @__PURE__ */ i("div", { className: H.elementName, children: /* @__PURE__ */ p("button", { onClick: () =>
|
|
2791
|
+
/* @__PURE__ */ i("div", { className: H.nameDateContainer, children: Object.keys(c).map((_) => _ === "name" ? /* @__PURE__ */ i("div", { className: H.elementName, children: /* @__PURE__ */ p("button", { onClick: () => g("name"), children: [
|
|
2792
2792
|
/* @__PURE__ */ i("span", { children: f(c.name) }),
|
|
2793
2793
|
/* @__PURE__ */ i("img", { src: st, alt: "order arrow" })
|
|
2794
|
-
] }) }, _) : _ === "data" ? /* @__PURE__ */ i("div", { className: H.elementDate, children: /* @__PURE__ */ p("button", { onClick: () =>
|
|
2794
|
+
] }) }, _) : _ === "data" ? /* @__PURE__ */ i("div", { className: H.elementDate, children: /* @__PURE__ */ p("button", { onClick: () => g("date"), children: [
|
|
2795
2795
|
/* @__PURE__ */ i("span", { children: f(c.data) }),
|
|
2796
2796
|
/* @__PURE__ */ i("img", { src: st, alt: "order arrow" })
|
|
2797
2797
|
] }) }, _) : /* @__PURE__ */ i("div", { className: H.elementDate, children: /* @__PURE__ */ i("span", { children: f(c[_]) }) }, _)) }),
|
|
@@ -2799,13 +2799,13 @@ const st = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2799
2799
|
]
|
|
2800
2800
|
}
|
|
2801
2801
|
),
|
|
2802
|
-
/* @__PURE__ */ i("div", { className: H.elementListContainer, children:
|
|
2803
|
-
|
|
2802
|
+
/* @__PURE__ */ i("div", { className: H.elementListContainer, children: b && b.length > 0 && b.map((_) => /* @__PURE__ */ i(
|
|
2803
|
+
xt,
|
|
2804
2804
|
{
|
|
2805
2805
|
isActive: d == _.id,
|
|
2806
2806
|
listelement: _,
|
|
2807
|
-
fontColor:
|
|
2808
|
-
activeColor:
|
|
2807
|
+
fontColor: o,
|
|
2808
|
+
activeColor: s,
|
|
2809
2809
|
onClickElement: l,
|
|
2810
2810
|
columns: c,
|
|
2811
2811
|
elementButtons: u,
|
|
@@ -2817,7 +2817,7 @@ const st = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2817
2817
|
`elementKey${_.id}`
|
|
2818
2818
|
)) }),
|
|
2819
2819
|
a && /* @__PURE__ */ i("div", { className: H.newElementButtonContainer, children: /* @__PURE__ */ i(
|
|
2820
|
-
|
|
2820
|
+
Te,
|
|
2821
2821
|
{
|
|
2822
2822
|
style: { ...t },
|
|
2823
2823
|
onClick: a.onClick,
|
|
@@ -2830,7 +2830,7 @@ const st = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2830
2830
|
}
|
|
2831
2831
|
);
|
|
2832
2832
|
};
|
|
2833
|
-
|
|
2833
|
+
J0.propTypes = {
|
|
2834
2834
|
elementsList: e.arrayOf(
|
|
2835
2835
|
e.shape({
|
|
2836
2836
|
name: e.string.isRequired,
|
|
@@ -2877,67 +2877,67 @@ X0.propTypes = {
|
|
|
2877
2877
|
defaultTooltip: e.string,
|
|
2878
2878
|
showEye: e.bool
|
|
2879
2879
|
};
|
|
2880
|
-
const
|
|
2881
|
-
formContainer:
|
|
2882
|
-
categorySelectorContainer:
|
|
2883
|
-
formObjectContainer:
|
|
2884
|
-
buttonContainer:
|
|
2880
|
+
const ei = "_formContainer_asv64_2", ti = "_categorySelectorContainer_asv64_11", ni = "_formObjectContainer_asv64_15", ii = "_buttonContainer_asv64_26", Ce = {
|
|
2881
|
+
formContainer: ei,
|
|
2882
|
+
categorySelectorContainer: ti,
|
|
2883
|
+
formObjectContainer: ni,
|
|
2884
|
+
buttonContainer: ii
|
|
2885
2885
|
}, fe = {
|
|
2886
2886
|
text: "text",
|
|
2887
2887
|
password: "password",
|
|
2888
2888
|
radioList: "radioList",
|
|
2889
2889
|
select: "select"
|
|
2890
2890
|
};
|
|
2891
|
-
var
|
|
2892
|
-
const
|
|
2893
|
-
var ye = (n) => !
|
|
2891
|
+
var oi = (n) => n.type === "checkbox", si = (n) => n instanceof Date, Nt = (n) => n == null;
|
|
2892
|
+
const ri = (n) => typeof n == "object";
|
|
2893
|
+
var ye = (n) => !Nt(n) && !Array.isArray(n) && ri(n) && !si(n), ai = (n) => ye(n) && n.target ? oi(n.target) ? n.target.checked : n.target.value : n, li = (n) => n.substring(0, n.search(/\.\d+(\.|$)/)) || n, ci = (n, d) => n.has(li(d)), di = (n) => {
|
|
2894
2894
|
const d = n.constructor && n.constructor.prototype;
|
|
2895
2895
|
return ye(d) && d.hasOwnProperty("isPrototypeOf");
|
|
2896
|
-
},
|
|
2897
|
-
function
|
|
2896
|
+
}, ui = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
2897
|
+
function kt(n) {
|
|
2898
2898
|
let d;
|
|
2899
|
-
const
|
|
2899
|
+
const o = Array.isArray(n), s = typeof FileList < "u" ? n instanceof FileList : !1;
|
|
2900
2900
|
if (n instanceof Date)
|
|
2901
2901
|
d = new Date(n);
|
|
2902
|
-
else if (!(
|
|
2903
|
-
if (d =
|
|
2902
|
+
else if (!(ui && (n instanceof Blob || s)) && (o || ye(n)))
|
|
2903
|
+
if (d = o ? [] : {}, !o && !di(n))
|
|
2904
2904
|
d = n;
|
|
2905
2905
|
else
|
|
2906
2906
|
for (const t in n)
|
|
2907
|
-
n.hasOwnProperty(t) && (d[t] =
|
|
2907
|
+
n.hasOwnProperty(t) && (d[t] = kt(n[t]));
|
|
2908
2908
|
else
|
|
2909
2909
|
return n;
|
|
2910
2910
|
return d;
|
|
2911
2911
|
}
|
|
2912
|
-
var
|
|
2912
|
+
var St = (n) => /^\w*$/.test(n), ze = (n) => n === void 0, pi = (n) => Array.isArray(n) ? n.filter(Boolean) : [], $t = (n) => pi(n.replace(/["|']|\]/g, "").split(/\.|\[/)), q = (n, d, o) => {
|
|
2913
2913
|
if (!d || !ye(n))
|
|
2914
|
-
return
|
|
2915
|
-
const
|
|
2916
|
-
return
|
|
2917
|
-
},
|
|
2918
|
-
let
|
|
2919
|
-
const t =
|
|
2920
|
-
for (; ++
|
|
2921
|
-
const l = t[
|
|
2922
|
-
let c =
|
|
2923
|
-
if (
|
|
2914
|
+
return o;
|
|
2915
|
+
const s = (St(d) ? [d] : $t(d)).reduce((t, r) => Nt(t) ? t : t[r], n);
|
|
2916
|
+
return ze(s) || s === n ? ze(n[d]) ? o : n[d] : s;
|
|
2917
|
+
}, Oe = (n) => typeof n == "boolean", rt = (n, d, o) => {
|
|
2918
|
+
let s = -1;
|
|
2919
|
+
const t = St(d) ? [d] : $t(d), r = t.length, a = r - 1;
|
|
2920
|
+
for (; ++s < r; ) {
|
|
2921
|
+
const l = t[s];
|
|
2922
|
+
let c = o;
|
|
2923
|
+
if (s !== a) {
|
|
2924
2924
|
const u = n[l];
|
|
2925
|
-
c = ye(u) || Array.isArray(u) ? u : isNaN(+t[
|
|
2925
|
+
c = ye(u) || Array.isArray(u) ? u : isNaN(+t[s + 1]) ? {} : [];
|
|
2926
2926
|
}
|
|
2927
2927
|
if (l === "__proto__" || l === "constructor" || l === "prototype")
|
|
2928
2928
|
return;
|
|
2929
2929
|
n[l] = c, n = n[l];
|
|
2930
2930
|
}
|
|
2931
2931
|
};
|
|
2932
|
-
const
|
|
2932
|
+
const at = {
|
|
2933
2933
|
BLUR: "blur",
|
|
2934
2934
|
CHANGE: "change"
|
|
2935
|
-
},
|
|
2935
|
+
}, lt = {
|
|
2936
2936
|
all: "all"
|
|
2937
|
-
},
|
|
2938
|
-
|
|
2939
|
-
const
|
|
2940
|
-
var
|
|
2937
|
+
}, Bt = T.createContext(null);
|
|
2938
|
+
Bt.displayName = "HookFormContext";
|
|
2939
|
+
const We = () => T.useContext(Bt);
|
|
2940
|
+
var mi = (n, d, o, s = !0) => {
|
|
2941
2941
|
const t = {
|
|
2942
2942
|
defaultValues: d._defaultValues
|
|
2943
2943
|
};
|
|
@@ -2945,14 +2945,14 @@ var pi = (n, d, s, o = !0) => {
|
|
|
2945
2945
|
Object.defineProperty(t, r, {
|
|
2946
2946
|
get: () => {
|
|
2947
2947
|
const a = r;
|
|
2948
|
-
return d._proxyFormState[a] !==
|
|
2948
|
+
return d._proxyFormState[a] !== lt.all && (d._proxyFormState[a] = !s || lt.all), o && (o[a] = !0), n[a];
|
|
2949
2949
|
}
|
|
2950
2950
|
});
|
|
2951
2951
|
return t;
|
|
2952
2952
|
};
|
|
2953
|
-
const
|
|
2954
|
-
function
|
|
2955
|
-
const d =
|
|
2953
|
+
const Lt = typeof window < "u" ? pe.useLayoutEffect : pe.useEffect;
|
|
2954
|
+
function hi(n) {
|
|
2955
|
+
const d = We(), { control: o = d.control, disabled: s, name: t, exact: r } = n || {}, [a, l] = T.useState(o._formState), c = T.useRef({
|
|
2956
2956
|
isDirty: !1,
|
|
2957
2957
|
isLoading: !1,
|
|
2958
2958
|
dirtyFields: !1,
|
|
@@ -2962,149 +2962,151 @@ function mi(n) {
|
|
|
2962
2962
|
isValid: !1,
|
|
2963
2963
|
errors: !1
|
|
2964
2964
|
});
|
|
2965
|
-
return
|
|
2965
|
+
return Lt(() => o._subscribe({
|
|
2966
2966
|
name: t,
|
|
2967
2967
|
formState: c.current,
|
|
2968
2968
|
exact: r,
|
|
2969
2969
|
callback: (u) => {
|
|
2970
|
-
!
|
|
2971
|
-
...
|
|
2970
|
+
!s && l({
|
|
2971
|
+
...o._formState,
|
|
2972
2972
|
...u
|
|
2973
2973
|
});
|
|
2974
2974
|
}
|
|
2975
|
-
}), [t,
|
|
2976
|
-
c.current.isValid &&
|
|
2977
|
-
}, [
|
|
2975
|
+
}), [t, s, r]), T.useEffect(() => {
|
|
2976
|
+
c.current.isValid && o._setValid(!0);
|
|
2977
|
+
}, [o]), T.useMemo(() => mi(a, o, c.current, !1), [a, o]);
|
|
2978
2978
|
}
|
|
2979
|
-
var
|
|
2980
|
-
function
|
|
2981
|
-
const d =
|
|
2982
|
-
return
|
|
2983
|
-
name:
|
|
2979
|
+
var gi = (n) => typeof n == "string", Ci = (n, d, o, s, t) => gi(n) ? q(o, n, t) : Array.isArray(n) ? n.map((r) => q(o, r)) : o;
|
|
2980
|
+
function fi(n) {
|
|
2981
|
+
const d = We(), { control: o = d.control, name: s, defaultValue: t, disabled: r, exact: a } = n || {}, l = T.useRef(t), [c, u] = T.useState(o._getWatch(s, l.current));
|
|
2982
|
+
return Lt(() => o._subscribe({
|
|
2983
|
+
name: s,
|
|
2984
2984
|
formState: {
|
|
2985
2985
|
values: !0
|
|
2986
2986
|
},
|
|
2987
2987
|
exact: a,
|
|
2988
|
-
callback: (h) => !r && u(
|
|
2989
|
-
}), [
|
|
2988
|
+
callback: (h) => !r && u(Ci(s, o._names, h.values || o._formValues, !1, l.current))
|
|
2989
|
+
}), [s, o, r, a]), T.useEffect(() => o._removeUnmounted()), c;
|
|
2990
2990
|
}
|
|
2991
|
-
function
|
|
2992
|
-
const d =
|
|
2991
|
+
function bi(n) {
|
|
2992
|
+
const d = We(), { name: o, disabled: s, control: t = d.control, shouldUnregister: r } = n, a = ci(t._names.array, o), l = fi({
|
|
2993
2993
|
control: t,
|
|
2994
|
-
name:
|
|
2995
|
-
defaultValue: q(t._formValues,
|
|
2994
|
+
name: o,
|
|
2995
|
+
defaultValue: q(t._formValues, o, q(t._defaultValues, o, n.defaultValue)),
|
|
2996
2996
|
exact: !0
|
|
2997
|
-
}), c =
|
|
2997
|
+
}), c = hi({
|
|
2998
2998
|
control: t,
|
|
2999
|
-
name:
|
|
2999
|
+
name: o,
|
|
3000
3000
|
exact: !0
|
|
3001
|
-
}), u = T.useRef(n), h = T.useRef(t.register(
|
|
3001
|
+
}), u = T.useRef(n), h = T.useRef(t.register(o, {
|
|
3002
3002
|
...n.rules,
|
|
3003
3003
|
value: l,
|
|
3004
|
-
...
|
|
3004
|
+
...Oe(n.disabled) ? { disabled: n.disabled } : {}
|
|
3005
3005
|
})), C = T.useMemo(() => Object.defineProperties({}, {
|
|
3006
3006
|
invalid: {
|
|
3007
3007
|
enumerable: !0,
|
|
3008
|
-
get: () => !!q(c.errors,
|
|
3008
|
+
get: () => !!q(c.errors, o)
|
|
3009
3009
|
},
|
|
3010
3010
|
isDirty: {
|
|
3011
3011
|
enumerable: !0,
|
|
3012
|
-
get: () => !!q(c.dirtyFields,
|
|
3012
|
+
get: () => !!q(c.dirtyFields, o)
|
|
3013
3013
|
},
|
|
3014
3014
|
isTouched: {
|
|
3015
3015
|
enumerable: !0,
|
|
3016
|
-
get: () => !!q(c.touchedFields,
|
|
3016
|
+
get: () => !!q(c.touchedFields, o)
|
|
3017
3017
|
},
|
|
3018
3018
|
isValidating: {
|
|
3019
3019
|
enumerable: !0,
|
|
3020
|
-
get: () => !!q(c.validatingFields,
|
|
3020
|
+
get: () => !!q(c.validatingFields, o)
|
|
3021
3021
|
},
|
|
3022
3022
|
error: {
|
|
3023
3023
|
enumerable: !0,
|
|
3024
|
-
get: () => q(c.errors,
|
|
3024
|
+
get: () => q(c.errors, o)
|
|
3025
3025
|
}
|
|
3026
|
-
}), [c,
|
|
3026
|
+
}), [c, o]), y = T.useCallback((m) => h.current.onChange({
|
|
3027
3027
|
target: {
|
|
3028
|
-
value:
|
|
3029
|
-
name:
|
|
3028
|
+
value: ai(m),
|
|
3029
|
+
name: o
|
|
3030
3030
|
},
|
|
3031
|
-
type:
|
|
3032
|
-
}), [
|
|
3031
|
+
type: at.CHANGE
|
|
3032
|
+
}), [o]), v = T.useCallback(() => h.current.onBlur({
|
|
3033
3033
|
target: {
|
|
3034
|
-
value: q(t._formValues,
|
|
3035
|
-
name:
|
|
3034
|
+
value: q(t._formValues, o),
|
|
3035
|
+
name: o
|
|
3036
3036
|
},
|
|
3037
|
-
type:
|
|
3038
|
-
}), [
|
|
3039
|
-
const
|
|
3040
|
-
|
|
3037
|
+
type: at.BLUR
|
|
3038
|
+
}), [o, t._formValues]), f = T.useCallback((m) => {
|
|
3039
|
+
const g = q(t._fields, o);
|
|
3040
|
+
g && m && (g._f.ref = {
|
|
3041
3041
|
focus: () => m.focus && m.focus(),
|
|
3042
3042
|
select: () => m.select && m.select(),
|
|
3043
3043
|
setCustomValidity: (_) => m.setCustomValidity(_),
|
|
3044
3044
|
reportValidity: () => m.reportValidity()
|
|
3045
3045
|
});
|
|
3046
|
-
}, [t._fields,
|
|
3047
|
-
name:
|
|
3046
|
+
}, [t._fields, o]), b = T.useMemo(() => ({
|
|
3047
|
+
name: o,
|
|
3048
3048
|
value: l,
|
|
3049
|
-
...
|
|
3049
|
+
...Oe(s) || c.disabled ? { disabled: c.disabled || s } : {},
|
|
3050
3050
|
onChange: y,
|
|
3051
3051
|
onBlur: v,
|
|
3052
3052
|
ref: f
|
|
3053
|
-
}), [
|
|
3053
|
+
}), [o, s, c.disabled, y, v, f, l]);
|
|
3054
3054
|
return T.useEffect(() => {
|
|
3055
3055
|
const m = t._options.shouldUnregister || r;
|
|
3056
|
-
t.register(
|
|
3056
|
+
t.register(o, {
|
|
3057
3057
|
...u.current.rules,
|
|
3058
|
-
...
|
|
3058
|
+
...Oe(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
3059
3059
|
});
|
|
3060
|
-
const
|
|
3060
|
+
const g = (_, N) => {
|
|
3061
3061
|
const w = q(t._fields, _);
|
|
3062
|
-
w && w._f && (w._f.mount =
|
|
3062
|
+
w && w._f && (w._f.mount = N);
|
|
3063
3063
|
};
|
|
3064
|
-
if (
|
|
3065
|
-
const _ =
|
|
3066
|
-
|
|
3064
|
+
if (g(o, !0), m) {
|
|
3065
|
+
const _ = kt(q(t._options.defaultValues, o));
|
|
3066
|
+
rt(t._defaultValues, o, _), ze(q(t._formValues, o)) && rt(t._formValues, o, _);
|
|
3067
3067
|
}
|
|
3068
|
-
return !a && t.register(
|
|
3069
|
-
(a ? m && !t._state.action : m) ? t.unregister(
|
|
3068
|
+
return !a && t.register(o), () => {
|
|
3069
|
+
(a ? m && !t._state.action : m) ? t.unregister(o) : g(o, !1);
|
|
3070
3070
|
};
|
|
3071
|
-
}, [
|
|
3071
|
+
}, [o, t, a, r]), T.useEffect(() => {
|
|
3072
3072
|
t._setDisabledField({
|
|
3073
|
-
disabled:
|
|
3074
|
-
name:
|
|
3073
|
+
disabled: s,
|
|
3074
|
+
name: o
|
|
3075
3075
|
});
|
|
3076
|
-
}, [
|
|
3077
|
-
field:
|
|
3076
|
+
}, [s, o, t]), T.useMemo(() => ({
|
|
3077
|
+
field: b,
|
|
3078
3078
|
formState: c,
|
|
3079
3079
|
fieldState: C
|
|
3080
|
-
}), [
|
|
3080
|
+
}), [b, c, C]);
|
|
3081
3081
|
}
|
|
3082
|
-
const ve = (n) => n.render(
|
|
3083
|
-
textInputContainer:
|
|
3084
|
-
labelContainer:
|
|
3085
|
-
inputContainer:
|
|
3086
|
-
showPasswordButton:
|
|
3087
|
-
forgotPassButton:
|
|
3088
|
-
},
|
|
3089
|
-
errorMessage:
|
|
3082
|
+
const ve = (n) => n.render(bi(n)), _i = "_textInputContainer_1o3iy_2", yi = "_labelContainer_1o3iy_5", vi = "_inputContainer_1o3iy_8", wi = "_showPasswordButton_1o3iy_14", xi = "_forgotPassButton_1o3iy_26", be = {
|
|
3083
|
+
textInputContainer: _i,
|
|
3084
|
+
labelContainer: yi,
|
|
3085
|
+
inputContainer: vi,
|
|
3086
|
+
showPasswordButton: wi,
|
|
3087
|
+
forgotPassButton: xi
|
|
3088
|
+
}, Ni = "_errorMessage_1xiyb_2", ki = {
|
|
3089
|
+
errorMessage: Ni
|
|
3090
3090
|
}, we = ({
|
|
3091
3091
|
errorMessage: n,
|
|
3092
3092
|
errorColor: d = "red",
|
|
3093
|
-
containerStyles:
|
|
3093
|
+
containerStyles: o
|
|
3094
3094
|
}) => {
|
|
3095
|
-
const { t:
|
|
3095
|
+
const { t: s } = $();
|
|
3096
3096
|
return /* @__PURE__ */ i(
|
|
3097
3097
|
"div",
|
|
3098
3098
|
{
|
|
3099
|
-
className:
|
|
3100
|
-
style: { color: d, ...
|
|
3101
|
-
children: n ?
|
|
3099
|
+
className: ki.errorMessage,
|
|
3100
|
+
style: { color: d, ...o },
|
|
3101
|
+
children: n ? s(n) : ""
|
|
3102
3102
|
}
|
|
3103
3103
|
);
|
|
3104
|
-
},
|
|
3104
|
+
}, xe = ut((n) => ({
|
|
3105
|
+
errorColor: "red"
|
|
3106
|
+
})), ct = ({ input: n, reactHookFormInstance: d }) => {
|
|
3105
3107
|
const {
|
|
3106
|
-
code:
|
|
3107
|
-
type:
|
|
3108
|
+
code: o,
|
|
3109
|
+
type: s,
|
|
3108
3110
|
label: t,
|
|
3109
3111
|
maxLength: r,
|
|
3110
3112
|
required: a,
|
|
@@ -3116,22 +3118,20 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
|
|
|
3116
3118
|
console.log("Click on forgot password");
|
|
3117
3119
|
},
|
|
3118
3120
|
forgotPassLabel: y = "forgot-password"
|
|
3119
|
-
} = n, { t: v } = $(), { control: f, trigger:
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
}, [a, s, g, m]);
|
|
3123
|
-
const w = () => o ? o === "password" && b ? "text" : o : "text";
|
|
3121
|
+
} = n, { t: v } = $(), { control: f, trigger: b, clearErrors: m } = d, { errorColor: g } = xe((x) => x), [_, N] = D(!1);
|
|
3122
|
+
oe(a);
|
|
3123
|
+
const w = () => s ? s === "password" && _ ? "text" : s : "text";
|
|
3124
3124
|
return /* @__PURE__ */ i(
|
|
3125
3125
|
ve,
|
|
3126
3126
|
{
|
|
3127
|
-
name:
|
|
3127
|
+
name: o,
|
|
3128
3128
|
control: f,
|
|
3129
3129
|
rules: {
|
|
3130
3130
|
required: a ? `${v(t)} ${v("errorMessages.required")}` : !1,
|
|
3131
3131
|
maxLength: r || void 0,
|
|
3132
3132
|
validate: l || void 0
|
|
3133
3133
|
},
|
|
3134
|
-
render: ({ field:
|
|
3134
|
+
render: ({ field: x, fieldState: S }) => {
|
|
3135
3135
|
var B;
|
|
3136
3136
|
return /* @__PURE__ */ p("div", { className: be.textInputContainer, children: [
|
|
3137
3137
|
/* @__PURE__ */ p("h3", { className: be.labelContainer, children: [
|
|
@@ -3149,48 +3149,48 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
|
|
|
3149
3149
|
"input",
|
|
3150
3150
|
{
|
|
3151
3151
|
type: w(),
|
|
3152
|
-
...
|
|
3152
|
+
...x,
|
|
3153
3153
|
placeholder: c ? v(c) : "",
|
|
3154
3154
|
maxLength: r || void 0
|
|
3155
3155
|
}
|
|
3156
3156
|
),
|
|
3157
|
-
|
|
3157
|
+
s == "password" && /* @__PURE__ */ i(
|
|
3158
3158
|
"button",
|
|
3159
3159
|
{
|
|
3160
|
-
onClick: () =>
|
|
3160
|
+
onClick: () => N(!_),
|
|
3161
3161
|
type: "button",
|
|
3162
3162
|
className: be.showPasswordButton,
|
|
3163
|
-
children:
|
|
3163
|
+
children: _ ? "🙈" : "👁️"
|
|
3164
3164
|
}
|
|
3165
3165
|
)
|
|
3166
3166
|
]
|
|
3167
3167
|
}
|
|
3168
3168
|
),
|
|
3169
|
-
|
|
3169
|
+
s == "password" && /* @__PURE__ */ i("div", { className: be.forgotPassButton, children: /* @__PURE__ */ i("button", { onClick: C, children: v(y) }) }),
|
|
3170
3170
|
/* @__PURE__ */ i(
|
|
3171
3171
|
we,
|
|
3172
3172
|
{
|
|
3173
3173
|
errorMessage: (B = S.error) == null ? void 0 : B.message,
|
|
3174
|
-
errorColor: u
|
|
3174
|
+
errorColor: g || u
|
|
3175
3175
|
}
|
|
3176
3176
|
)
|
|
3177
3177
|
] });
|
|
3178
3178
|
}
|
|
3179
3179
|
}
|
|
3180
3180
|
);
|
|
3181
|
-
},
|
|
3182
|
-
inputsContainer:
|
|
3183
|
-
},
|
|
3184
|
-
selectInputContainer:
|
|
3185
|
-
labelContainer:
|
|
3186
|
-
inputContainer:
|
|
3187
|
-
selectInput:
|
|
3188
|
-
option:
|
|
3189
|
-
dropdownArrow:
|
|
3190
|
-
},
|
|
3181
|
+
}, Si = "_inputsContainer_10t9s_2", ce = {
|
|
3182
|
+
inputsContainer: Si
|
|
3183
|
+
}, $i = "_selectInputContainer_1rj0h_2", Bi = "_labelContainer_1rj0h_6", Li = "_inputContainer_1rj0h_9", Ti = "_selectInput_1rj0h_2", Mi = "_option_1rj0h_23", Di = "_dropdownArrow_1rj0h_26", de = {
|
|
3184
|
+
selectInputContainer: $i,
|
|
3185
|
+
labelContainer: Bi,
|
|
3186
|
+
inputContainer: Li,
|
|
3187
|
+
selectInput: Ti,
|
|
3188
|
+
option: Mi,
|
|
3189
|
+
dropdownArrow: Di
|
|
3190
|
+
}, Fi = "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", Vi = ({ input: n, reactHookFormInstance: d }) => {
|
|
3191
3191
|
const {
|
|
3192
|
-
code:
|
|
3193
|
-
type:
|
|
3192
|
+
code: o,
|
|
3193
|
+
type: s,
|
|
3194
3194
|
label: t,
|
|
3195
3195
|
maxLength: r,
|
|
3196
3196
|
required: a,
|
|
@@ -3199,23 +3199,21 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
|
|
|
3199
3199
|
errorColor: u = "red",
|
|
3200
3200
|
width: h = 325,
|
|
3201
3201
|
options: C = []
|
|
3202
|
-
} = n, { t: y } = $(), { control: v, trigger: f, clearErrors:
|
|
3203
|
-
return
|
|
3204
|
-
m.current !== a && (a ? f(s) : g(s), m.current = a);
|
|
3205
|
-
}, [a, s, f, g]), /* @__PURE__ */ i(
|
|
3202
|
+
} = n, { t: y } = $(), { control: v, trigger: f, clearErrors: b } = d, { errorColor: m } = xe((g) => g);
|
|
3203
|
+
return oe(a), /* @__PURE__ */ i(
|
|
3206
3204
|
ve,
|
|
3207
3205
|
{
|
|
3208
|
-
name:
|
|
3206
|
+
name: o,
|
|
3209
3207
|
control: v,
|
|
3210
3208
|
rules: {
|
|
3211
3209
|
required: a ? `${y(t)} ${y("errorMessages.required")}` : !1,
|
|
3212
|
-
validate: l ? (
|
|
3210
|
+
validate: l ? (g) => {
|
|
3213
3211
|
let _ = d.getValues();
|
|
3214
|
-
return l(
|
|
3212
|
+
return l(g, _);
|
|
3215
3213
|
} : void 0
|
|
3216
3214
|
},
|
|
3217
|
-
render: ({ field:
|
|
3218
|
-
var
|
|
3215
|
+
render: ({ field: g, fieldState: _ }) => {
|
|
3216
|
+
var N;
|
|
3219
3217
|
return /* @__PURE__ */ p("div", { className: de.selectInputContainer, children: [
|
|
3220
3218
|
/* @__PURE__ */ p("h3", { className: de.labelContainer, children: [
|
|
3221
3219
|
y(t),
|
|
@@ -3226,22 +3224,22 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
|
|
|
3226
3224
|
/* @__PURE__ */ p(
|
|
3227
3225
|
"select",
|
|
3228
3226
|
{
|
|
3229
|
-
...
|
|
3227
|
+
...g,
|
|
3230
3228
|
onChange: (w) => {
|
|
3231
|
-
const
|
|
3232
|
-
|
|
3229
|
+
const x = w.target.value, S = C.every((B) => typeof B.value == "number") ? Number(x) : x;
|
|
3230
|
+
g.onChange(S);
|
|
3233
3231
|
},
|
|
3234
3232
|
className: de.selectInput,
|
|
3235
3233
|
children: [
|
|
3236
3234
|
/* @__PURE__ */ i("option", { value: "", disabled: !0, hidden: !0, children: y(c || "selectOption") }),
|
|
3237
|
-
C.map((w,
|
|
3235
|
+
C.map((w, x) => /* @__PURE__ */ i(
|
|
3238
3236
|
"option",
|
|
3239
3237
|
{
|
|
3240
3238
|
value: w.value,
|
|
3241
3239
|
className: de.option,
|
|
3242
3240
|
children: y(w.label)
|
|
3243
3241
|
},
|
|
3244
|
-
|
|
3242
|
+
x
|
|
3245
3243
|
))
|
|
3246
3244
|
]
|
|
3247
3245
|
}
|
|
@@ -3249,7 +3247,7 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
|
|
|
3249
3247
|
/* @__PURE__ */ i(
|
|
3250
3248
|
"img",
|
|
3251
3249
|
{
|
|
3252
|
-
src:
|
|
3250
|
+
src: Fi,
|
|
3253
3251
|
alt: "Open",
|
|
3254
3252
|
className: de.dropdownArrow
|
|
3255
3253
|
}
|
|
@@ -3258,67 +3256,65 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
|
|
|
3258
3256
|
/* @__PURE__ */ i(
|
|
3259
3257
|
we,
|
|
3260
3258
|
{
|
|
3261
|
-
errorMessage: (
|
|
3262
|
-
errorColor: u
|
|
3259
|
+
errorMessage: (N = _.error) == null ? void 0 : N.message,
|
|
3260
|
+
errorColor: m || u
|
|
3263
3261
|
}
|
|
3264
3262
|
)
|
|
3265
3263
|
] });
|
|
3266
3264
|
}
|
|
3267
3265
|
}
|
|
3268
3266
|
);
|
|
3269
|
-
},
|
|
3270
|
-
radioButtonContainer:
|
|
3271
|
-
wholeInputContainer:
|
|
3272
|
-
questionContainer:
|
|
3267
|
+
}, Ai = "_radioButtonContainer_1e994_2", Ii = "_wholeInputContainer_1e994_5", Oi = "_questionContainer_1e994_27", Ri = "_radioQuestion_1e994_59", qi = "_inputContainer_1e994_63", Ei = "_radioInput_1e994_93", te = {
|
|
3268
|
+
radioButtonContainer: Ai,
|
|
3269
|
+
wholeInputContainer: Ii,
|
|
3270
|
+
questionContainer: Oi,
|
|
3273
3271
|
radioQuestion: Ri,
|
|
3274
|
-
inputContainer:
|
|
3275
|
-
radioInput:
|
|
3276
|
-
},
|
|
3272
|
+
inputContainer: qi,
|
|
3273
|
+
radioInput: Ei
|
|
3274
|
+
}, Pi = ({ input: n, reactHookFormInstance: d }) => {
|
|
3277
3275
|
const {
|
|
3278
|
-
code:
|
|
3279
|
-
label:
|
|
3276
|
+
code: o,
|
|
3277
|
+
label: s,
|
|
3280
3278
|
required: t,
|
|
3281
3279
|
validateFunction: r,
|
|
3282
3280
|
errorColor: a = "red",
|
|
3283
3281
|
options: l = [],
|
|
3284
3282
|
multi: c = !1
|
|
3285
|
-
} = n, { t: u } = $(), { control: h, trigger: C, clearErrors: y } = d, v = ({ options: m, onChange:
|
|
3283
|
+
} = n, { t: u } = $(), { control: h, trigger: C, clearErrors: y } = d, { errorColor: v } = xe((m) => m), f = ({ options: m, onChange: g, actualValue: _ }) => {
|
|
3286
3284
|
if (c && _ && _.length > 0) {
|
|
3287
|
-
let
|
|
3288
|
-
|
|
3285
|
+
let N = _.filter((w) => w !== m);
|
|
3286
|
+
g(N);
|
|
3289
3287
|
}
|
|
3290
|
-
},
|
|
3291
|
-
c ? _ && _.length > 0 ?
|
|
3292
|
-
}
|
|
3293
|
-
return
|
|
3294
|
-
g.current !== t && (t ? C(s) : y(s), g.current = t);
|
|
3295
|
-
}, [t, s, C, y]), /* @__PURE__ */ i(
|
|
3288
|
+
}, b = ({ options: m, onChange: g, actualValue: _ }) => {
|
|
3289
|
+
c ? _ && _.length > 0 ? g([..._, m]) : g([m]) : g(m);
|
|
3290
|
+
};
|
|
3291
|
+
return oe(t), /* @__PURE__ */ i(
|
|
3296
3292
|
ve,
|
|
3297
3293
|
{
|
|
3298
3294
|
control: h,
|
|
3299
|
-
name:
|
|
3295
|
+
name: o,
|
|
3300
3296
|
rules: {
|
|
3301
|
-
validate: (m) => t && (m == null || m === "") ? `${u(
|
|
3297
|
+
validate: (m) => t && (m == null || m === "") ? `${u(s)} ${u("errorMessages.required")}` : null
|
|
3302
3298
|
},
|
|
3303
3299
|
render: ({
|
|
3304
3300
|
formState: { errors: m },
|
|
3305
|
-
field: { onChange:
|
|
3306
|
-
fieldState:
|
|
3301
|
+
field: { onChange: g, onBlur: _, value: N, ref: w },
|
|
3302
|
+
fieldState: x
|
|
3307
3303
|
}) => {
|
|
3308
3304
|
var S;
|
|
3309
|
-
return /* @__PURE__ */ i("div", { id:
|
|
3310
|
-
|
|
3305
|
+
return /* @__PURE__ */ i("div", { id: o + "id", className: te.radioButtonContainer, children: /* @__PURE__ */ p("div", { className: te.wholeInputContainer, children: [
|
|
3306
|
+
s && /* @__PURE__ */ i("div", { className: te.questionContainer, children: /* @__PURE__ */ p(
|
|
3311
3307
|
"h3",
|
|
3312
3308
|
{
|
|
3313
|
-
htmlFor:
|
|
3309
|
+
htmlFor: o + "id",
|
|
3314
3310
|
className: `${te.radioQuestion} ${t && te.required}`,
|
|
3315
3311
|
children: [
|
|
3316
|
-
u(
|
|
3312
|
+
u(s),
|
|
3317
3313
|
" ",
|
|
3318
3314
|
t && /* @__PURE__ */ i(
|
|
3319
3315
|
"label",
|
|
3320
3316
|
{
|
|
3321
|
-
style: { color:
|
|
3317
|
+
style: { color: x.error ? a : "" },
|
|
3322
3318
|
children: "*"
|
|
3323
3319
|
}
|
|
3324
3320
|
)
|
|
@@ -3333,7 +3329,7 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
|
|
|
3333
3329
|
disabled: L = !1,
|
|
3334
3330
|
italicLabel: E
|
|
3335
3331
|
}, K) => {
|
|
3336
|
-
const M =
|
|
3332
|
+
const M = N && c ? N.isArray && (N == null ? void 0 : N.length) > 0 && N.some((j) => j === k) : N === k;
|
|
3337
3333
|
return /* @__PURE__ */ p("label", { children: [
|
|
3338
3334
|
/* @__PURE__ */ i(
|
|
3339
3335
|
"input",
|
|
@@ -3341,15 +3337,15 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
|
|
|
3341
3337
|
type: "radio",
|
|
3342
3338
|
checked: M,
|
|
3343
3339
|
onChange: () => {
|
|
3344
|
-
c ? M ?
|
|
3345
|
-
actualValue:
|
|
3340
|
+
c ? M ? f({
|
|
3341
|
+
actualValue: N,
|
|
3346
3342
|
options: l,
|
|
3347
|
-
onChange:
|
|
3348
|
-
}) :
|
|
3349
|
-
actualValue:
|
|
3343
|
+
onChange: g
|
|
3344
|
+
}) : b({
|
|
3345
|
+
actualValue: N,
|
|
3350
3346
|
options: l,
|
|
3351
|
-
onChange:
|
|
3352
|
-
}) :
|
|
3347
|
+
onChange: g
|
|
3348
|
+
}) : g(k);
|
|
3353
3349
|
},
|
|
3354
3350
|
className: te.radioInput
|
|
3355
3351
|
}
|
|
@@ -3362,8 +3358,8 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
|
|
|
3362
3358
|
/* @__PURE__ */ i(
|
|
3363
3359
|
we,
|
|
3364
3360
|
{
|
|
3365
|
-
errorMessage: (S =
|
|
3366
|
-
errorColor: a
|
|
3361
|
+
errorMessage: (S = x.error) == null ? void 0 : S.message,
|
|
3362
|
+
errorColor: v || a
|
|
3367
3363
|
}
|
|
3368
3364
|
)
|
|
3369
3365
|
] })
|
|
@@ -3371,18 +3367,18 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
|
|
|
3371
3367
|
}
|
|
3372
3368
|
}
|
|
3373
3369
|
);
|
|
3374
|
-
},
|
|
3375
|
-
rankingSliderContainer:
|
|
3376
|
-
labelContainer:
|
|
3377
|
-
inputContainer:
|
|
3378
|
-
slider:
|
|
3379
|
-
thumb:
|
|
3380
|
-
labels:
|
|
3381
|
-
minLabel:
|
|
3382
|
-
maxLabel:
|
|
3383
|
-
},
|
|
3370
|
+
}, ji = "_rankingSliderContainer_1lekm_2", Zi = "_labelContainer_1lekm_6", zi = "_inputContainer_1lekm_10", Ki = "_slider_1lekm_20", Hi = "_thumb_1lekm_27", Ui = "_labels_1lekm_37", Gi = "_minLabel_1lekm_67", Wi = "_maxLabel_1lekm_67", F = {
|
|
3371
|
+
rankingSliderContainer: ji,
|
|
3372
|
+
labelContainer: Zi,
|
|
3373
|
+
inputContainer: zi,
|
|
3374
|
+
slider: Ki,
|
|
3375
|
+
thumb: Hi,
|
|
3376
|
+
labels: Ui,
|
|
3377
|
+
minLabel: Gi,
|
|
3378
|
+
maxLabel: Wi
|
|
3379
|
+
}, Tt = ({ input: n, reactHookFormInstance: d, onChange: o }) => {
|
|
3384
3380
|
const {
|
|
3385
|
-
code:
|
|
3381
|
+
code: s,
|
|
3386
3382
|
label: t,
|
|
3387
3383
|
minValue: r = 1,
|
|
3388
3384
|
maxValue: a = 5,
|
|
@@ -3395,17 +3391,20 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
|
|
|
3395
3391
|
sliderWidth: y = "300px",
|
|
3396
3392
|
minText: v,
|
|
3397
3393
|
maxText: f,
|
|
3398
|
-
disabled:
|
|
3399
|
-
marks: m = Array.from(
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
}
|
|
3394
|
+
disabled: b = !1,
|
|
3395
|
+
marks: m = Array.from(
|
|
3396
|
+
{ length: a - r + 1 },
|
|
3397
|
+
(L, E) => r + E
|
|
3398
|
+
),
|
|
3399
|
+
showMarksNumber: g = !0
|
|
3400
|
+
} = n, { t: _ } = $(), { control: N, trigger: w, clearErrors: x } = d || {};
|
|
3401
|
+
oe(u);
|
|
3402
|
+
const { errorColorForm: S } = xe((L) => L), [B, k] = D(l);
|
|
3403
|
+
return d ? /* @__PURE__ */ i(
|
|
3405
3404
|
ve,
|
|
3406
3405
|
{
|
|
3407
|
-
name:
|
|
3408
|
-
control:
|
|
3406
|
+
name: s,
|
|
3407
|
+
control: N,
|
|
3409
3408
|
defaultValue: l,
|
|
3410
3409
|
rules: {
|
|
3411
3410
|
required: u ? `${_(t)} ${_("errorMessages.required")}` : !1
|
|
@@ -3415,15 +3414,17 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
|
|
|
3415
3414
|
return /* @__PURE__ */ p(
|
|
3416
3415
|
"div",
|
|
3417
3416
|
{
|
|
3418
|
-
className:
|
|
3419
|
-
style: {
|
|
3417
|
+
className: F.rankingSliderContainer,
|
|
3418
|
+
style: {
|
|
3419
|
+
gridTemplateColumns: `${t && C} ${y}`
|
|
3420
|
+
},
|
|
3420
3421
|
children: [
|
|
3421
|
-
t && /* @__PURE__ */ i("p", { className:
|
|
3422
|
-
/* @__PURE__ */ p("div", { className:
|
|
3423
|
-
v && /* @__PURE__ */ i("div", { className:
|
|
3422
|
+
t && /* @__PURE__ */ i("p", { className: F.labelContainer, children: _(t) }),
|
|
3423
|
+
/* @__PURE__ */ p("div", { className: F.inputContainer, children: [
|
|
3424
|
+
v && /* @__PURE__ */ i("div", { className: F.minLabel, children: _(v) }),
|
|
3424
3425
|
/* @__PURE__ */ p("div", { children: [
|
|
3425
3426
|
/* @__PURE__ */ i(
|
|
3426
|
-
|
|
3427
|
+
je,
|
|
3427
3428
|
{
|
|
3428
3429
|
min: r,
|
|
3429
3430
|
max: a,
|
|
@@ -3431,23 +3432,29 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
|
|
|
3431
3432
|
value: L.value ?? l,
|
|
3432
3433
|
onChange: (M) => L.onChange(M),
|
|
3433
3434
|
marks: !0,
|
|
3434
|
-
className:
|
|
3435
|
-
thumbClassName:
|
|
3436
|
-
renderThumb: (M) => /* @__PURE__ */ i(
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3435
|
+
className: F.slider,
|
|
3436
|
+
thumbClassName: F.thumb,
|
|
3437
|
+
renderThumb: (M) => /* @__PURE__ */ i(
|
|
3438
|
+
"div",
|
|
3439
|
+
{
|
|
3440
|
+
...M,
|
|
3441
|
+
style: { ...M.style, backgroundColor: c }
|
|
3442
|
+
}
|
|
3443
|
+
),
|
|
3444
|
+
trackClassName: F.track,
|
|
3445
|
+
markClassName: F.mark,
|
|
3446
|
+
disabled: b
|
|
3440
3447
|
}
|
|
3441
3448
|
),
|
|
3442
|
-
m && /* @__PURE__ */ i("div", { className:
|
|
3449
|
+
m && /* @__PURE__ */ i("div", { className: F.labels, children: m.map((M) => /* @__PURE__ */ i("span", { children: g && M }, M)) })
|
|
3443
3450
|
] }),
|
|
3444
|
-
f && /* @__PURE__ */ i("div", { className:
|
|
3451
|
+
f && /* @__PURE__ */ i("div", { className: F.maxLabel, children: _(f) })
|
|
3445
3452
|
] }),
|
|
3446
3453
|
/* @__PURE__ */ i(
|
|
3447
3454
|
we,
|
|
3448
3455
|
{
|
|
3449
3456
|
errorMessage: (K = E.error) == null ? void 0 : K.message,
|
|
3450
|
-
errorColor: h
|
|
3457
|
+
errorColor: S || h
|
|
3451
3458
|
}
|
|
3452
3459
|
)
|
|
3453
3460
|
]
|
|
@@ -3458,41 +3465,47 @@ const ve = (n) => n.render(fi(n)), bi = "_textInputContainer_1o3iy_2", _i = "_la
|
|
|
3458
3465
|
) : /* @__PURE__ */ p(
|
|
3459
3466
|
"div",
|
|
3460
3467
|
{
|
|
3461
|
-
className:
|
|
3468
|
+
className: F.rankingSliderContainer,
|
|
3462
3469
|
style: { gridTemplateColumns: `${t && C} ${y}` },
|
|
3463
3470
|
children: [
|
|
3464
|
-
t && /* @__PURE__ */ i("p", { className:
|
|
3465
|
-
/* @__PURE__ */ p("div", { className:
|
|
3466
|
-
v && /* @__PURE__ */ i("div", { className:
|
|
3471
|
+
t && /* @__PURE__ */ i("p", { className: F.labelContainer, children: _(t) }),
|
|
3472
|
+
/* @__PURE__ */ p("div", { className: F.inputContainer, children: [
|
|
3473
|
+
v && /* @__PURE__ */ i("div", { className: F.minLabel, children: _(v) }),
|
|
3467
3474
|
/* @__PURE__ */ p("div", { children: [
|
|
3468
3475
|
/* @__PURE__ */ i(
|
|
3469
|
-
|
|
3476
|
+
je,
|
|
3470
3477
|
{
|
|
3471
3478
|
min: r,
|
|
3472
3479
|
max: a,
|
|
3473
3480
|
step: 1,
|
|
3474
3481
|
value: B,
|
|
3475
3482
|
onChange: (L) => {
|
|
3476
|
-
k(L),
|
|
3483
|
+
k(L), o && o(L);
|
|
3477
3484
|
},
|
|
3478
3485
|
marks: !0,
|
|
3479
|
-
className:
|
|
3480
|
-
thumbClassName:
|
|
3481
|
-
renderThumb: (L) => /* @__PURE__ */ i(
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3486
|
+
className: F.slider,
|
|
3487
|
+
thumbClassName: F.thumb,
|
|
3488
|
+
renderThumb: (L) => /* @__PURE__ */ i(
|
|
3489
|
+
"div",
|
|
3490
|
+
{
|
|
3491
|
+
...L,
|
|
3492
|
+
style: { ...L.style, backgroundColor: c }
|
|
3493
|
+
}
|
|
3494
|
+
),
|
|
3495
|
+
trackClassName: F.track,
|
|
3496
|
+
markClassName: F.mark,
|
|
3497
|
+
disabled: b
|
|
3485
3498
|
}
|
|
3486
3499
|
),
|
|
3487
|
-
m && /* @__PURE__ */ i("div", { className:
|
|
3500
|
+
m && /* @__PURE__ */ i("div", { className: F.labels, children: m.map((L) => /* @__PURE__ */ i("span", { children: g && L }, L)) })
|
|
3488
3501
|
] }),
|
|
3489
|
-
f && /* @__PURE__ */ i("div", { className:
|
|
3502
|
+
f && /* @__PURE__ */ i("div", { className: F.maxLabel, children: _(f) })
|
|
3490
3503
|
] })
|
|
3491
3504
|
]
|
|
3492
3505
|
}
|
|
3493
3506
|
);
|
|
3494
3507
|
};
|
|
3495
|
-
|
|
3508
|
+
Tt.propTypes = {
|
|
3496
3509
|
input: e.shape({
|
|
3497
3510
|
code: e.string,
|
|
3498
3511
|
label: e.string,
|
|
@@ -3513,10 +3526,10 @@ Bt.propTypes = {
|
|
|
3513
3526
|
const _e = ({
|
|
3514
3527
|
inputs: n,
|
|
3515
3528
|
inputContainerStyles: d,
|
|
3516
|
-
reactHookFormInstance:
|
|
3529
|
+
reactHookFormInstance: o
|
|
3517
3530
|
}) => {
|
|
3518
3531
|
console.log("inputs: ", n);
|
|
3519
|
-
const { watch:
|
|
3532
|
+
const { watch: s } = o, t = s(), r = me(() => n == null ? void 0 : n.map((a) => {
|
|
3520
3533
|
const l = typeof a.required == "function" ? a.required(t) : a.required;
|
|
3521
3534
|
return {
|
|
3522
3535
|
...a,
|
|
@@ -3533,10 +3546,10 @@ const _e = ({
|
|
|
3533
3546
|
className: ce.inputContainer,
|
|
3534
3547
|
style: { ...d },
|
|
3535
3548
|
children: /* @__PURE__ */ i(
|
|
3536
|
-
|
|
3549
|
+
ct,
|
|
3537
3550
|
{
|
|
3538
3551
|
input: a,
|
|
3539
|
-
reactHookFormInstance:
|
|
3552
|
+
reactHookFormInstance: o
|
|
3540
3553
|
}
|
|
3541
3554
|
)
|
|
3542
3555
|
},
|
|
@@ -3549,10 +3562,10 @@ const _e = ({
|
|
|
3549
3562
|
className: ce.inputContainer,
|
|
3550
3563
|
style: { ...d },
|
|
3551
3564
|
children: /* @__PURE__ */ i(
|
|
3552
|
-
|
|
3565
|
+
ct,
|
|
3553
3566
|
{
|
|
3554
3567
|
input: a,
|
|
3555
|
-
reactHookFormInstance:
|
|
3568
|
+
reactHookFormInstance: o
|
|
3556
3569
|
}
|
|
3557
3570
|
)
|
|
3558
3571
|
},
|
|
@@ -3565,10 +3578,10 @@ const _e = ({
|
|
|
3565
3578
|
className: ce.inputContainer,
|
|
3566
3579
|
style: { ...d },
|
|
3567
3580
|
children: /* @__PURE__ */ i(
|
|
3568
|
-
|
|
3581
|
+
Vi,
|
|
3569
3582
|
{
|
|
3570
3583
|
input: a,
|
|
3571
|
-
reactHookFormInstance:
|
|
3584
|
+
reactHookFormInstance: o
|
|
3572
3585
|
}
|
|
3573
3586
|
)
|
|
3574
3587
|
},
|
|
@@ -3581,10 +3594,10 @@ const _e = ({
|
|
|
3581
3594
|
className: ce.inputContainer,
|
|
3582
3595
|
style: { ...d },
|
|
3583
3596
|
children: /* @__PURE__ */ i(
|
|
3584
|
-
|
|
3597
|
+
Pi,
|
|
3585
3598
|
{
|
|
3586
3599
|
input: a,
|
|
3587
|
-
reactHookFormInstance:
|
|
3600
|
+
reactHookFormInstance: o
|
|
3588
3601
|
}
|
|
3589
3602
|
)
|
|
3590
3603
|
},
|
|
@@ -3597,10 +3610,10 @@ const _e = ({
|
|
|
3597
3610
|
className: ce.inputContainer,
|
|
3598
3611
|
style: { ...d },
|
|
3599
3612
|
children: /* @__PURE__ */ i(
|
|
3600
|
-
|
|
3613
|
+
Tt,
|
|
3601
3614
|
{
|
|
3602
3615
|
input: a,
|
|
3603
|
-
reactHookFormInstance:
|
|
3616
|
+
reactHookFormInstance: o
|
|
3604
3617
|
}
|
|
3605
3618
|
)
|
|
3606
3619
|
},
|
|
@@ -3610,32 +3623,33 @@ const _e = ({
|
|
|
3610
3623
|
return /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i("h4", { children: "Default" }) }, `${a.code}${l}`);
|
|
3611
3624
|
}
|
|
3612
3625
|
}) });
|
|
3613
|
-
},
|
|
3614
|
-
categorySelector:
|
|
3615
|
-
sectionItemActive:
|
|
3616
|
-
sectionItem:
|
|
3617
|
-
},
|
|
3626
|
+
}, Yi = "_categorySelector_9bdf4_2", Qi = "_sectionItemActive_9bdf4_16", Xi = "_sectionItem_9bdf4_16", $e = {
|
|
3627
|
+
categorySelector: Yi,
|
|
3628
|
+
sectionItemActive: Qi,
|
|
3629
|
+
sectionItem: Xi
|
|
3630
|
+
}, dt = ({
|
|
3618
3631
|
categories: n,
|
|
3619
3632
|
onChange: d,
|
|
3620
|
-
activeCategory:
|
|
3621
|
-
activeColor:
|
|
3633
|
+
activeCategory: o,
|
|
3634
|
+
activeColor: s
|
|
3622
3635
|
}) => {
|
|
3623
3636
|
const { t } = $(), r = (a) => {
|
|
3624
3637
|
d(a);
|
|
3625
3638
|
};
|
|
3626
|
-
return /* @__PURE__ */ i("div", { className:
|
|
3627
|
-
const { id: c, label: u } = a, h =
|
|
3628
|
-
return console.log("activeCategory",
|
|
3639
|
+
return /* @__PURE__ */ i("div", { className: $e.categorySelector, children: n.map((a, l) => {
|
|
3640
|
+
const { id: c, label: u } = a, h = o == c;
|
|
3641
|
+
return console.log("activeCategory", o, c, h), /* @__PURE__ */ i(
|
|
3629
3642
|
"button",
|
|
3630
3643
|
{
|
|
3631
|
-
className: `${
|
|
3632
|
-
|
|
3644
|
+
className: `${$e.sectionItem} ${h ? $e.sectionItemActive : ""}`,
|
|
3645
|
+
type: "button",
|
|
3646
|
+
style: { backgroundColor: h ? s : "inherit" },
|
|
3633
3647
|
onClick: () => r(c),
|
|
3634
3648
|
children: /* @__PURE__ */ i(
|
|
3635
3649
|
"span",
|
|
3636
3650
|
{
|
|
3637
3651
|
style: { color: h ? "white" : "inherit" },
|
|
3638
|
-
className:
|
|
3652
|
+
className: $e.sectionLabel,
|
|
3639
3653
|
children: t(u)
|
|
3640
3654
|
}
|
|
3641
3655
|
)
|
|
@@ -3643,11 +3657,11 @@ const _e = ({
|
|
|
3643
3657
|
`keySection${l}`
|
|
3644
3658
|
);
|
|
3645
3659
|
}) });
|
|
3646
|
-
},
|
|
3660
|
+
}, us = ({
|
|
3647
3661
|
reactHookFormInstance: n,
|
|
3648
3662
|
formObject: d,
|
|
3649
|
-
CategoryComponent:
|
|
3650
|
-
inputContainerStyles:
|
|
3663
|
+
CategoryComponent: o,
|
|
3664
|
+
inputContainerStyles: s,
|
|
3651
3665
|
generalError: t,
|
|
3652
3666
|
errorColor: r = "red",
|
|
3653
3667
|
submitButtonLabel: a = "Submit",
|
|
@@ -3659,7 +3673,11 @@ const _e = ({
|
|
|
3659
3673
|
activeCategoryColor: y = "#b32f5d",
|
|
3660
3674
|
onSubmit: v = (f) => console.log("Form submitted with: ", f)
|
|
3661
3675
|
}) => {
|
|
3662
|
-
const { t: f } = $(), { handleSubmit:
|
|
3676
|
+
const { t: f } = $(), { handleSubmit: b, control: m } = n;
|
|
3677
|
+
V(() => {
|
|
3678
|
+
r && xe.setState(() => ({ errorColor: r }));
|
|
3679
|
+
}, [r]);
|
|
3680
|
+
const g = me(() => d ? d.filter((k) => k.category).map((k) => {
|
|
3663
3681
|
var L;
|
|
3664
3682
|
return {
|
|
3665
3683
|
id: k.categoryId,
|
|
@@ -3669,15 +3687,15 @@ const _e = ({
|
|
|
3669
3687
|
}) : [], [d]), _ = (k) => {
|
|
3670
3688
|
const L = d == null ? void 0 : d.find((E) => E.categoryId === k);
|
|
3671
3689
|
return (L == null ? void 0 : L.subcategories) || [];
|
|
3672
|
-
}, [
|
|
3690
|
+
}, [N, w] = D(
|
|
3673
3691
|
C || u || null
|
|
3674
|
-
), [
|
|
3675
|
-
|
|
3676
|
-
!
|
|
3677
|
-
}, [
|
|
3678
|
-
const k = _(
|
|
3679
|
-
!
|
|
3680
|
-
}, [
|
|
3692
|
+
), [x, S] = D(null);
|
|
3693
|
+
V(() => {
|
|
3694
|
+
!N && g.length > 0 && w(g[0].id);
|
|
3695
|
+
}, [g, N]), V(() => {
|
|
3696
|
+
const k = _(N);
|
|
3697
|
+
!x && (k == null ? void 0 : k.length) > 0 && S(k[0].id);
|
|
3698
|
+
}, [N, x, d]);
|
|
3681
3699
|
const B = (k, L) => {
|
|
3682
3700
|
var E;
|
|
3683
3701
|
if (((E = k.subcategories) == null ? void 0 : E.length) > 0) {
|
|
@@ -3688,9 +3706,9 @@ const _e = ({
|
|
|
3688
3706
|
{
|
|
3689
3707
|
className: Ce.categorySelectorContainer,
|
|
3690
3708
|
children: /* @__PURE__ */ i(
|
|
3691
|
-
|
|
3709
|
+
dt,
|
|
3692
3710
|
{
|
|
3693
|
-
activeCategory:
|
|
3711
|
+
activeCategory: x,
|
|
3694
3712
|
categories: K,
|
|
3695
3713
|
onChange: (M) => S(M),
|
|
3696
3714
|
activeColor: y
|
|
@@ -3699,33 +3717,33 @@ const _e = ({
|
|
|
3699
3717
|
},
|
|
3700
3718
|
k.categoryId
|
|
3701
3719
|
),
|
|
3702
|
-
K.map((M,
|
|
3703
|
-
const
|
|
3704
|
-
return
|
|
3720
|
+
K.map((M, j) => {
|
|
3721
|
+
const Z = !x || M.id === x;
|
|
3722
|
+
return o ? /* @__PURE__ */ i(
|
|
3705
3723
|
"div",
|
|
3706
3724
|
{
|
|
3707
3725
|
style: {
|
|
3708
|
-
|
|
3726
|
+
// visibility: isVisible ? "visible" : "hidden",
|
|
3709
3727
|
width: "100%"
|
|
3710
3728
|
},
|
|
3711
|
-
children: /* @__PURE__ */ i(
|
|
3729
|
+
children: /* @__PURE__ */ i(o, { title: M.label, children: /* @__PURE__ */ i(
|
|
3712
3730
|
_e,
|
|
3713
3731
|
{
|
|
3714
3732
|
inputs: M.inputs,
|
|
3715
3733
|
control: m,
|
|
3716
|
-
inputContainerStyles:
|
|
3734
|
+
inputContainerStyles: s,
|
|
3717
3735
|
errorColor: r,
|
|
3718
3736
|
reactHookFormInstance: n
|
|
3719
3737
|
}
|
|
3720
3738
|
) }, M.id)
|
|
3721
3739
|
},
|
|
3722
|
-
`${M.id}${
|
|
3740
|
+
`${M.id}${j}`
|
|
3723
3741
|
) : /* @__PURE__ */ p(
|
|
3724
3742
|
"div",
|
|
3725
3743
|
{
|
|
3726
3744
|
style: {
|
|
3727
3745
|
width: "100%",
|
|
3728
|
-
display:
|
|
3746
|
+
display: Z ? "block" : "none"
|
|
3729
3747
|
},
|
|
3730
3748
|
children: [
|
|
3731
3749
|
/* @__PURE__ */ i("h3", { style: { marginBottom: 15 }, children: f(M.label) }),
|
|
@@ -3734,24 +3752,24 @@ const _e = ({
|
|
|
3734
3752
|
{
|
|
3735
3753
|
inputs: M.inputs,
|
|
3736
3754
|
control: m,
|
|
3737
|
-
inputContainerStyles:
|
|
3755
|
+
inputContainerStyles: s,
|
|
3738
3756
|
errorColor: r,
|
|
3739
3757
|
reactHookFormInstance: n
|
|
3740
3758
|
}
|
|
3741
3759
|
)
|
|
3742
3760
|
]
|
|
3743
3761
|
},
|
|
3744
|
-
`${M.id}${
|
|
3762
|
+
`${M.id}${j}`
|
|
3745
3763
|
);
|
|
3746
3764
|
})
|
|
3747
3765
|
] });
|
|
3748
3766
|
}
|
|
3749
|
-
return
|
|
3767
|
+
return o ? /* @__PURE__ */ i(o, { title: k.category, children: /* @__PURE__ */ i(
|
|
3750
3768
|
_e,
|
|
3751
3769
|
{
|
|
3752
3770
|
inputs: k.inputs,
|
|
3753
3771
|
control: m,
|
|
3754
|
-
inputContainerStyles:
|
|
3772
|
+
inputContainerStyles: s,
|
|
3755
3773
|
errorColor: r,
|
|
3756
3774
|
reactHookFormInstance: n
|
|
3757
3775
|
}
|
|
@@ -3762,19 +3780,19 @@ const _e = ({
|
|
|
3762
3780
|
{
|
|
3763
3781
|
inputs: k.inputs,
|
|
3764
3782
|
control: m,
|
|
3765
|
-
inputContainerStyles:
|
|
3783
|
+
inputContainerStyles: s,
|
|
3766
3784
|
errorColor: r,
|
|
3767
3785
|
reactHookFormInstance: n
|
|
3768
3786
|
}
|
|
3769
3787
|
)
|
|
3770
3788
|
] }, k.categoryId);
|
|
3771
3789
|
};
|
|
3772
|
-
return /* @__PURE__ */ p("form", { className: Ce.formContainer, onSubmit:
|
|
3773
|
-
c &&
|
|
3774
|
-
|
|
3790
|
+
return /* @__PURE__ */ p("form", { className: Ce.formContainer, onSubmit: b(v), children: [
|
|
3791
|
+
c && g.length > 0 && /* @__PURE__ */ i("div", { className: Ce.categorySelectorContainer, children: /* @__PURE__ */ i(
|
|
3792
|
+
dt,
|
|
3775
3793
|
{
|
|
3776
|
-
activeCategory:
|
|
3777
|
-
categories:
|
|
3794
|
+
activeCategory: N,
|
|
3795
|
+
categories: g,
|
|
3778
3796
|
onChange: (k) => {
|
|
3779
3797
|
w(k), S(null);
|
|
3780
3798
|
},
|
|
@@ -3785,7 +3803,7 @@ const _e = ({
|
|
|
3785
3803
|
"div",
|
|
3786
3804
|
{
|
|
3787
3805
|
style: {
|
|
3788
|
-
|
|
3806
|
+
// visibility: section.categoryId ? "visible" : "hidden",
|
|
3789
3807
|
width: "100%"
|
|
3790
3808
|
},
|
|
3791
3809
|
children: B(k)
|
|
@@ -3796,30 +3814,30 @@ const _e = ({
|
|
|
3796
3814
|
{
|
|
3797
3815
|
inputs: k.inputs,
|
|
3798
3816
|
control: m,
|
|
3799
|
-
inputContainerStyles:
|
|
3817
|
+
inputContainerStyles: s,
|
|
3800
3818
|
errorColor: r,
|
|
3801
3819
|
reactHookFormInstance: n
|
|
3802
3820
|
}
|
|
3803
3821
|
))) }),
|
|
3804
3822
|
/* @__PURE__ */ p("div", { className: Ce.buttonContainer, children: [
|
|
3805
|
-
/* @__PURE__ */ i(
|
|
3823
|
+
/* @__PURE__ */ i(Te, { containerStyles: l, type: "submit", children: f(a) }),
|
|
3806
3824
|
/* @__PURE__ */ i(we, { errorMessage: t, errorColor: r })
|
|
3807
3825
|
] })
|
|
3808
3826
|
] });
|
|
3809
|
-
},
|
|
3810
|
-
overlay:
|
|
3811
|
-
modal:
|
|
3812
|
-
closeButton:
|
|
3813
|
-
icon:
|
|
3814
|
-
message:
|
|
3815
|
-
submessage:
|
|
3816
|
-
buttonsContainer:
|
|
3817
|
-
buttonWrapper:
|
|
3818
|
-
},
|
|
3827
|
+
}, Ji = "_overlay_mnd4j_2", eo = "_modal_mnd4j_15", to = "_closeButton_mnd4j_29", no = "_icon_mnd4j_39", io = "_message_mnd4j_45", oo = "_submessage_mnd4j_51", so = "_buttonsContainer_mnd4j_57", ro = "_buttonWrapper_mnd4j_64", Y = {
|
|
3828
|
+
overlay: Ji,
|
|
3829
|
+
modal: eo,
|
|
3830
|
+
closeButton: to,
|
|
3831
|
+
icon: no,
|
|
3832
|
+
message: io,
|
|
3833
|
+
submessage: oo,
|
|
3834
|
+
buttonsContainer: so,
|
|
3835
|
+
buttonWrapper: ro
|
|
3836
|
+
}, ao = ({
|
|
3819
3837
|
onClose: n,
|
|
3820
3838
|
icon: d,
|
|
3821
|
-
message:
|
|
3822
|
-
submessage:
|
|
3839
|
+
message: o,
|
|
3840
|
+
submessage: s,
|
|
3823
3841
|
buttons: t,
|
|
3824
3842
|
maxHeight: r = "450px",
|
|
3825
3843
|
maxWidth: a = "450px"
|
|
@@ -3831,13 +3849,13 @@ const _e = ({
|
|
|
3831
3849
|
children: [
|
|
3832
3850
|
/* @__PURE__ */ i("button", { className: Y.closeButton, onClick: n, "aria-label": "Close modal", children: "✕" }),
|
|
3833
3851
|
d && /* @__PURE__ */ i("img", { src: d, alt: "icon", className: Y.icon }),
|
|
3834
|
-
/* @__PURE__ */ i("p", { className: Y.message, children:
|
|
3835
|
-
|
|
3852
|
+
/* @__PURE__ */ i("p", { className: Y.message, children: o }),
|
|
3853
|
+
s && /* @__PURE__ */ i("p", { className: Y.submessage, children: s }),
|
|
3836
3854
|
t.length > 0 && /* @__PURE__ */ i("div", { className: Y.buttonsContainer, children: t.map((l, c) => /* @__PURE__ */ i("div", { className: Y.buttonWrapper, children: l }, c)) })
|
|
3837
3855
|
]
|
|
3838
3856
|
}
|
|
3839
3857
|
) });
|
|
3840
|
-
|
|
3858
|
+
ao.propTypes = {
|
|
3841
3859
|
/** Función que se ejecuta al clicar la "X" de cierre */
|
|
3842
3860
|
onClose: e.func.isRequired,
|
|
3843
3861
|
/** URL de la imagen opcional que aparece sobre el mensaje */
|
|
@@ -3853,18 +3871,18 @@ rs.propTypes = {
|
|
|
3853
3871
|
/** Anchura máxima del modal (por defecto 400px) */
|
|
3854
3872
|
maxWidth: e.string
|
|
3855
3873
|
};
|
|
3856
|
-
const
|
|
3857
|
-
stepsContainer:
|
|
3858
|
-
stepWrapper:
|
|
3859
|
-
circleContainer:
|
|
3860
|
-
circle:
|
|
3861
|
-
active:
|
|
3862
|
-
completed:
|
|
3863
|
-
label:
|
|
3864
|
-
labelActive:
|
|
3865
|
-
connector:
|
|
3866
|
-
},
|
|
3867
|
-
const t =
|
|
3874
|
+
const lo = "_stepsContainer_1cyua_3", co = "_stepWrapper_1cyua_9", uo = "_circleContainer_1cyua_19", po = "_circle_1cyua_19", mo = "_active_1cyua_39", ho = "_completed_1cyua_44", go = "_label_1cyua_50", Co = "_labelActive_1cyua_56", fo = "_connector_1cyua_61", U = {
|
|
3875
|
+
stepsContainer: lo,
|
|
3876
|
+
stepWrapper: co,
|
|
3877
|
+
circleContainer: uo,
|
|
3878
|
+
circle: po,
|
|
3879
|
+
active: mo,
|
|
3880
|
+
completed: ho,
|
|
3881
|
+
label: go,
|
|
3882
|
+
labelActive: Co,
|
|
3883
|
+
connector: fo
|
|
3884
|
+
}, Mt = ({ steps: n, activeColor: d }) => /* @__PURE__ */ i("div", { className: U.stepsContainer, children: n.map((o, s) => {
|
|
3885
|
+
const t = o.status === "active", r = o.status === "completed";
|
|
3868
3886
|
return /* @__PURE__ */ p("div", { className: U.stepWrapper, children: [
|
|
3869
3887
|
/* @__PURE__ */ p("div", { className: U.circleContainer, children: [
|
|
3870
3888
|
/* @__PURE__ */ i(
|
|
@@ -3874,22 +3892,22 @@ const as = "_stepsContainer_1cyua_3", ls = "_stepWrapper_1cyua_9", cs = "_circle
|
|
|
3874
3892
|
${t ? U.active : ""}
|
|
3875
3893
|
${r ? U.completed : ""}`,
|
|
3876
3894
|
style: t ? { backgroundColor: d } : {},
|
|
3877
|
-
onClick:
|
|
3878
|
-
children:
|
|
3895
|
+
onClick: o.onClick,
|
|
3896
|
+
children: s + 1
|
|
3879
3897
|
}
|
|
3880
3898
|
),
|
|
3881
|
-
|
|
3899
|
+
s < n.length - 1 && /* @__PURE__ */ i("div", { className: U.connector })
|
|
3882
3900
|
] }),
|
|
3883
3901
|
/* @__PURE__ */ i(
|
|
3884
3902
|
"div",
|
|
3885
3903
|
{
|
|
3886
3904
|
className: `${U.label} ${t ? U.labelActive : ""}`,
|
|
3887
|
-
children:
|
|
3905
|
+
children: o.name
|
|
3888
3906
|
}
|
|
3889
3907
|
)
|
|
3890
|
-
] },
|
|
3908
|
+
] }, s);
|
|
3891
3909
|
}) });
|
|
3892
|
-
|
|
3910
|
+
Mt.propTypes = {
|
|
3893
3911
|
steps: e.arrayOf(
|
|
3894
3912
|
e.shape({
|
|
3895
3913
|
name: e.string.isRequired,
|
|
@@ -3899,47 +3917,47 @@ Lt.propTypes = {
|
|
|
3899
3917
|
).isRequired,
|
|
3900
3918
|
activeColor: e.string
|
|
3901
3919
|
};
|
|
3902
|
-
|
|
3920
|
+
Mt.defaultProps = {
|
|
3903
3921
|
activeColor: "#C2185B"
|
|
3904
3922
|
// color por defecto
|
|
3905
3923
|
};
|
|
3906
|
-
const
|
|
3907
|
-
statusTextContainer:
|
|
3908
|
-
},
|
|
3909
|
-
|
|
3924
|
+
const bo = "_statusTextContainer_ch14r_2", _o = {
|
|
3925
|
+
statusTextContainer: bo
|
|
3926
|
+
}, Dt = ({ text: n, color: d }) => /* @__PURE__ */ i("div", { className: _o.statusTextContainer, style: { background: d }, children: /* @__PURE__ */ i("span", { children: n }) });
|
|
3927
|
+
Dt.propTypes = {
|
|
3910
3928
|
text: e.string,
|
|
3911
3929
|
color: e.string
|
|
3912
3930
|
};
|
|
3913
|
-
|
|
3931
|
+
Dt.defaultProps = {
|
|
3914
3932
|
color: "#C2185B"
|
|
3915
3933
|
// color por defecto
|
|
3916
3934
|
};
|
|
3917
|
-
const
|
|
3918
|
-
buttonsContainer:
|
|
3919
|
-
button:
|
|
3920
|
-
active:
|
|
3921
|
-
},
|
|
3935
|
+
const yo = "_buttonsContainer_1c7dw_2", vo = "_button_1c7dw_2", wo = "_active_1c7dw_20", Be = {
|
|
3936
|
+
buttonsContainer: yo,
|
|
3937
|
+
button: vo,
|
|
3938
|
+
active: wo
|
|
3939
|
+
}, xo = ({
|
|
3922
3940
|
buttons: n = []
|
|
3923
3941
|
}) => {
|
|
3924
3942
|
const { t: d } = $();
|
|
3925
|
-
return /* @__PURE__ */ i("div", { className: `${
|
|
3943
|
+
return /* @__PURE__ */ i("div", { className: `${Be.buttonsContainer}`, children: n.map((o, s) => {
|
|
3926
3944
|
const {
|
|
3927
3945
|
isActive: t,
|
|
3928
3946
|
name: r,
|
|
3929
3947
|
onClick: a
|
|
3930
|
-
} =
|
|
3948
|
+
} = o;
|
|
3931
3949
|
return /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i(
|
|
3932
3950
|
"button",
|
|
3933
3951
|
{
|
|
3934
3952
|
onClick: a,
|
|
3935
|
-
className: `${
|
|
3936
|
-
${t &&
|
|
3937
|
-
children: /* @__PURE__ */ i("span", { className:
|
|
3953
|
+
className: `${Be.button}
|
|
3954
|
+
${t && Be.active}`,
|
|
3955
|
+
children: /* @__PURE__ */ i("span", { className: Be.buttonName, children: d(r) })
|
|
3938
3956
|
}
|
|
3939
|
-
) },
|
|
3957
|
+
) }, s);
|
|
3940
3958
|
}) });
|
|
3941
3959
|
};
|
|
3942
|
-
|
|
3960
|
+
xo.propTypes = {
|
|
3943
3961
|
buttons: e.arrayOf(
|
|
3944
3962
|
e.shape({
|
|
3945
3963
|
isActive: e.bool,
|
|
@@ -3949,16 +3967,16 @@ vs.propTypes = {
|
|
|
3949
3967
|
})
|
|
3950
3968
|
).isRequired
|
|
3951
3969
|
};
|
|
3952
|
-
const
|
|
3953
|
-
switchContainer:
|
|
3954
|
-
labelRight:
|
|
3955
|
-
labelLeft:
|
|
3970
|
+
const No = "_switchContainer_194wl_2", ko = "_labelRight_194wl_9", So = "_labelLeft_194wl_9", $o = "_slider_194wl_28", Bo = "_disabled_194wl_54", ue = {
|
|
3971
|
+
switchContainer: No,
|
|
3972
|
+
labelRight: ko,
|
|
3973
|
+
labelLeft: So,
|
|
3956
3974
|
switch: "_switch_194wl_2",
|
|
3957
|
-
slider:
|
|
3958
|
-
disabled:
|
|
3959
|
-
},
|
|
3975
|
+
slider: $o,
|
|
3976
|
+
disabled: Bo
|
|
3977
|
+
}, Lo = ({ input: n, reactHookFormInstance: d, onChange: o }) => {
|
|
3960
3978
|
const {
|
|
3961
|
-
code:
|
|
3979
|
+
code: s,
|
|
3962
3980
|
labelLeft: t,
|
|
3963
3981
|
labelRight: r,
|
|
3964
3982
|
defValue: a = !1,
|
|
@@ -3966,8 +3984,8 @@ const ws = "_switchContainer_194wl_2", xs = "_labelRight_194wl_9", Ns = "_labelL
|
|
|
3966
3984
|
disabled: c = !1,
|
|
3967
3985
|
width: u = 240
|
|
3968
3986
|
} = n, { t: h } = $(), { control: C } = d || {}, [y, v] = D(a), f = (m) => {
|
|
3969
|
-
v(m),
|
|
3970
|
-
},
|
|
3987
|
+
v(m), o && o(m);
|
|
3988
|
+
}, b = (m, g) => /* @__PURE__ */ p("div", { className: ue.switchContainer, style: { width: `${u}px` }, children: [
|
|
3971
3989
|
t && /* @__PURE__ */ i(
|
|
3972
3990
|
"span",
|
|
3973
3991
|
{
|
|
@@ -3982,7 +4000,7 @@ const ws = "_switchContainer_194wl_2", xs = "_labelRight_194wl_9", Ns = "_labelL
|
|
|
3982
4000
|
{
|
|
3983
4001
|
type: "checkbox",
|
|
3984
4002
|
checked: !!m,
|
|
3985
|
-
onChange: () =>
|
|
4003
|
+
onChange: () => g(!m),
|
|
3986
4004
|
disabled: c
|
|
3987
4005
|
}
|
|
3988
4006
|
),
|
|
@@ -4001,14 +4019,14 @@ const ws = "_switchContainer_194wl_2", xs = "_labelRight_194wl_9", Ns = "_labelL
|
|
|
4001
4019
|
return d ? /* @__PURE__ */ i(
|
|
4002
4020
|
ve,
|
|
4003
4021
|
{
|
|
4004
|
-
name:
|
|
4022
|
+
name: s,
|
|
4005
4023
|
control: C,
|
|
4006
4024
|
defaultValue: a,
|
|
4007
|
-
render: ({ field: m }) =>
|
|
4025
|
+
render: ({ field: m }) => b(m.value, m.onChange)
|
|
4008
4026
|
}
|
|
4009
|
-
) :
|
|
4027
|
+
) : b(y, f);
|
|
4010
4028
|
};
|
|
4011
|
-
|
|
4029
|
+
Lo.propTypes = {
|
|
4012
4030
|
input: e.shape({
|
|
4013
4031
|
code: e.string,
|
|
4014
4032
|
labelLeft: e.string,
|
|
@@ -4020,17 +4038,17 @@ $s.propTypes = {
|
|
|
4020
4038
|
reactHookFormInstance: e.object,
|
|
4021
4039
|
onChange: e.func
|
|
4022
4040
|
};
|
|
4023
|
-
const
|
|
4024
|
-
header:
|
|
4025
|
-
leftComponents:
|
|
4026
|
-
centerComponents:
|
|
4027
|
-
rightComponents:
|
|
4028
|
-
componentsContainer:
|
|
4029
|
-
},
|
|
4041
|
+
const To = "_header_13kbt_2", Mo = "_leftComponents_13kbt_13", Do = "_centerComponents_13kbt_14", Fo = "_rightComponents_13kbt_15", Vo = "_componentsContainer_13kbt_32", ne = {
|
|
4042
|
+
header: To,
|
|
4043
|
+
leftComponents: Mo,
|
|
4044
|
+
centerComponents: Do,
|
|
4045
|
+
rightComponents: Fo,
|
|
4046
|
+
componentsContainer: Vo
|
|
4047
|
+
}, Ao = ({
|
|
4030
4048
|
cssProps: n,
|
|
4031
4049
|
leftComponents: d = [],
|
|
4032
|
-
centerComponents:
|
|
4033
|
-
rightComponents:
|
|
4050
|
+
centerComponents: o = [],
|
|
4051
|
+
rightComponents: s = [],
|
|
4034
4052
|
zIndex: t = 10,
|
|
4035
4053
|
height: r = 60,
|
|
4036
4054
|
backgroundColor: a = "#605B56",
|
|
@@ -4050,12 +4068,12 @@ const Bs = "_header_13kbt_2", Ls = "_leftComponents_13kbt_13", Ts = "_centerComp
|
|
|
4050
4068
|
},
|
|
4051
4069
|
children: [
|
|
4052
4070
|
/* @__PURE__ */ i("div", { className: ne.leftComponents, children: d.map((c, u) => /* @__PURE__ */ i("div", { className: ne.componentsContainer, children: c }, u)) }),
|
|
4053
|
-
/* @__PURE__ */ i("div", { className: ne.centerComponents, children:
|
|
4054
|
-
/* @__PURE__ */ i("div", { className: ne.rightComponents, children:
|
|
4071
|
+
/* @__PURE__ */ i("div", { className: ne.centerComponents, children: o.map((c, u) => /* @__PURE__ */ i("div", { className: ne.componentsContainer, children: c }, u)) }),
|
|
4072
|
+
/* @__PURE__ */ i("div", { className: ne.rightComponents, children: s.map((c, u) => /* @__PURE__ */ i("div", { className: ne.componentsContainer, children: c }, u)) })
|
|
4055
4073
|
]
|
|
4056
4074
|
}
|
|
4057
4075
|
);
|
|
4058
|
-
|
|
4076
|
+
Ao.propTypes = {
|
|
4059
4077
|
leftComponents: e.arrayOf(e.node),
|
|
4060
4078
|
centerComponents: e.arrayOf(e.node),
|
|
4061
4079
|
rightComponents: e.arrayOf(e.node),
|
|
@@ -4065,69 +4083,69 @@ Fs.propTypes = {
|
|
|
4065
4083
|
backgroundColor: e.string,
|
|
4066
4084
|
isFooter: e.bool
|
|
4067
4085
|
};
|
|
4068
|
-
const
|
|
4069
|
-
sidebar:
|
|
4070
|
-
open:
|
|
4071
|
-
content:
|
|
4072
|
-
closeButton:
|
|
4073
|
-
},
|
|
4086
|
+
const Io = "_sidebar_1fmjn_2", Oo = "_open_1fmjn_16", Ro = "_content_1fmjn_20", qo = "_closeButton_1fmjn_26", Le = {
|
|
4087
|
+
sidebar: Io,
|
|
4088
|
+
open: Oo,
|
|
4089
|
+
content: Ro,
|
|
4090
|
+
closeButton: qo
|
|
4091
|
+
}, Eo = "data:image/svg+xml,%3csvg%20width='19'%20height='19'%20viewBox='0%200%2019%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%203699'%3e%3cpath%20id='Vector%20223'%20d='M1%201L18.1566%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20id='Vector%20224'%20d='M18.1575%201L1.00083%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e", Po = ({
|
|
4074
4092
|
width: n = "300px",
|
|
4075
4093
|
children: d,
|
|
4076
|
-
showRightBar:
|
|
4077
|
-
onCloseBar:
|
|
4094
|
+
showRightBar: o,
|
|
4095
|
+
onCloseBar: s
|
|
4078
4096
|
}) => {
|
|
4079
4097
|
const t = () => {
|
|
4080
|
-
|
|
4098
|
+
s();
|
|
4081
4099
|
};
|
|
4082
4100
|
return /* @__PURE__ */ i(
|
|
4083
4101
|
"div",
|
|
4084
4102
|
{
|
|
4085
|
-
className: `${
|
|
4086
|
-
style: { width:
|
|
4087
|
-
children:
|
|
4088
|
-
/* @__PURE__ */ i("button", { className:
|
|
4103
|
+
className: `${Le.sidebar} ${o ? Le.open : ""}`,
|
|
4104
|
+
style: { width: o ? n : 0 },
|
|
4105
|
+
children: o && /* @__PURE__ */ p("div", { className: Le.content, children: [
|
|
4106
|
+
/* @__PURE__ */ i("button", { className: Le.closeButton, onClick: t, children: /* @__PURE__ */ i("img", { src: Eo, alt: "Close Sidebar" }) }),
|
|
4089
4107
|
d
|
|
4090
4108
|
] })
|
|
4091
4109
|
}
|
|
4092
4110
|
);
|
|
4093
4111
|
};
|
|
4094
|
-
|
|
4112
|
+
Po.propTypes = {
|
|
4095
4113
|
width: e.string,
|
|
4096
4114
|
children: e.node,
|
|
4097
4115
|
showRightBar: e.bool,
|
|
4098
4116
|
onCloseBar: e.func
|
|
4099
4117
|
};
|
|
4100
4118
|
export {
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4119
|
+
v2 as AmbitSelector,
|
|
4120
|
+
xo as ButtonsBar,
|
|
4121
|
+
F2 as ButtonsList,
|
|
4122
|
+
se as DropdownList,
|
|
4123
|
+
ss as EditAmbit,
|
|
4106
4124
|
we as ErrorMessage,
|
|
4107
4125
|
sn as FiltersAmbit,
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4126
|
+
us as Form,
|
|
4127
|
+
Te as GeneralButton,
|
|
4128
|
+
dn as Graphic,
|
|
4129
|
+
Ao as HeaderSection,
|
|
4130
|
+
Bn as IndicatorsList,
|
|
4131
|
+
Vn as LangSelector,
|
|
4132
|
+
Yn as Legend,
|
|
4133
|
+
J0 as ListSelector,
|
|
4134
|
+
L0 as LogInButton,
|
|
4135
|
+
Xn as LogoApp,
|
|
4136
|
+
t0 as MapboxMap,
|
|
4137
|
+
a0 as MaplibreMap,
|
|
4138
|
+
ao as ModalAlert,
|
|
4139
|
+
Pi as RadioButtonInput,
|
|
4140
|
+
Tt as RankingSlider,
|
|
4141
|
+
Po as RightSidebar,
|
|
4142
|
+
h0 as SectionBar,
|
|
4143
|
+
Vi as SelectInput,
|
|
4144
|
+
Dt as StatusText,
|
|
4145
|
+
Mt as Steps,
|
|
4146
|
+
Lo as Switch,
|
|
4147
|
+
ct as TextInput,
|
|
4148
|
+
w0 as TimeSlider,
|
|
4131
4149
|
ie as Tooltip,
|
|
4132
|
-
|
|
4150
|
+
S0 as TopNavMenu
|
|
4133
4151
|
};
|