@tmf_ciclica/ciclicastorybook 1.1.54 → 1.1.55
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 +4 -4
- package/dist/index.es.js +796 -761
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_8d6ru_2{padding:5px 95px;border-radius:100px}._buttonsContainer_1audx_2{display:flex;gap:8px}._buttonsContainer_1audx_2._vertical_1audx_6{flex-direction:column}._buttonsContainer_1audx_2._horizontal_1audx_9{flex-direction:row}._button_1audx_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1audx_2:hover{opacity:.8}._button_1audx_2._active_1audx_25{font-weight:700}._button_1audx_2 ._buttonName_1audx_28{margin:0 4px}._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_s8ooe_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start}._AppliedFiltersContainer_s8ooe_2 ._AppliedFilterContent_s8ooe_10{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:0 20px;border-radius:100px}._checkboxContainer_zld97_2{display:flex;align-items:center;gap:.5rem;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_zld97_2 input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:1px;background-color:#fff;cursor:pointer}._container_15vgv_2{padding-top:15px;font-size:14px}._container_15vgv_2 span{font-size:14px}._container_15vgv_2 ._unitLabel_15vgv_9{height:40px}._container_15vgv_2 ._slider_15vgv_12{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_15vgv_2 ._thumb_15vgv_18{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_15vgv_2 ._track_15vgv_27{top:0;bottom:0;background:#605b56;border-radius:3px}._container_15vgv_2 ._labels_15vgv_33{display:flex;justify-content:space-between;font-size:14px;margin-top:10px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 label,._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input{cursor:pointer;font-size:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background-color:#fff;transition:background-color .2s ease;cursor:pointer;vertical-align:middle}._tematicalFiltersInputContainer_1vm1r_2 ._checkboxContainer_1vm1r_28{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px}._tematicalFiltersInputContainer_1vm1r_2 ._absoluteSliderContainer_1vm1r_37{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:flex-start}._FiltersAmbitContainer_1g9xx_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitTitle_1g9xx_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 0 26px;font-size:16px;font-weight:400}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22 ._FiltersAmbitDescriptionTitle_1g9xx_33{font-size:18px;font-weight:600}._FiltersAmbitContainer_1g9xx_2 ._warning_1g9xx_37{color:red}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_lw8gx_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._indicatorNameContainer_lw8gx_11{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._dot_lw8gx_20{border-radius:100px;width:16px;height:16px}._indicatorContainer_lw8gx_2 ._indicatorName_lw8gx_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_lw8gx_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40{margin:0;width:100%}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._customRadious_lw8gx_65{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._optionText_lw8gx_72{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_atg3j_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative}._legendContainer_atg3j_3 ._closeButton_atg3j_18{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_atg3j_3 ._closeButton_atg3j_18:before,._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before{transform:rotate(45deg)}._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{transform:rotate(-45deg)}._legendContainer_atg3j_3 ._titleContainer_atg3j_46{border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._titleContainer_atg3j_46 h2{padding-bottom:16px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52{padding-top:20px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_atg3j_3 ._titleLegendList_atg3j_63{font-size:20px;padding-bottom:20px;margin-bottom:20px;margin-top:30px;border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76 ._colorDot_atg3j_82{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88{position:relative}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueColor_atg3j_91{height:130px;width:22px;border-radius:20px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueText_atg3j_96{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_atg3j_3 ._moreInfoContainer_atg3j_108{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_1gd6w_2 ._title_1gd6w_2{font-weight:600}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_a19yo_2{position:absolute;padding:5px 20px;right:150px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;top:188px;transition:all .5s ease-out}._slider_a19yo_2 ._playButton_a19yo_17,._slider_a19yo_2 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._slider_a19yo_2 ._playButton_a19yo_17 img{height:30px;width:30px}._sliderOpen_a19yo_28{right:490px}._sliderResults_a19yo_32{position:absolute;top:75px;right:430px;padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._sliderResults_a19yo_32 ._playButton_a19yo_17,._sliderResults_a19yo_32 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._sliderResults_a19yo_32 ._playButton_a19yo_17 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._LogInButton_1vxj5_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39{font-size:18px;font-weight:600;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53{font-size:18px;font-weight:600;flex:.5}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._buttonsContainer_fd7az_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._elementListContainer_fd7az_76{flex:1;width:100%}._elementSelector_fd7az_2 ._newElementButtonContainer_fd7az_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._listElement_1s506_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:5px;width:100%;padding-bottom:30px;padding-top:30px;flex-wrap:wrap}._listElement_1s506_2 ._elementNameDate_1s506_17{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementNameContainer_1s506_27{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementName_1s506_17{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementDate_1s506_42{flex:.5}._listElement_1s506_2 ._elementButtons_1s506_45{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_1s506_2 ._elementButtons_1s506_45 button:disabled{opacity:.5;cursor:default}._listElement_1s506_2 ._elementButtons_1s506_45 img{display:inline}._break_1s506_63{flex-basis:100%;height:0}._moreInfoContainer_1s506_68 ._moreInfo_1s506_68{display:flex;gap:5px;cursor:pointer}._textInputContainer_1qv06_2 ._labelContainer_1qv06_2{margin-bottom:25px}._textInputContainer_1qv06_2 ._inputContainer_1qv06_5{padding:7px;background-color:#605b5620;border-radius:4px}._errorMessage_1xiyb_2{min-height:25px}._formContainer_fx5a2_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_fx5a2_2 ._formObjectContainer_fx5a2_11{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1;width:100%}._formContainer_fx5a2_2 ._buttonContainer_fx5a2_21{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._inputsContainer_10t9s_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;gap:30px}._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_1jqo2_2{position:fixed;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_1jqo2_16{border-left:1px solid #ddd}._content_1jqo2_20{position:relative;padding:20px;height:100%}._closeButton_1jqo2_26{position:absolute;top:10px;right:10px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1jqo2_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
import { jsxs as
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_8d6ru_2{padding:5px 95px;border-radius:100px}._buttonsContainer_1audx_2{display:flex;gap:8px}._buttonsContainer_1audx_2._vertical_1audx_6{flex-direction:column}._buttonsContainer_1audx_2._horizontal_1audx_9{flex-direction:row}._button_1audx_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1audx_2:hover{opacity:.8}._button_1audx_2._active_1audx_25{font-weight:700}._button_1audx_2 ._buttonName_1audx_28{margin:0 4px}._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_s8ooe_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start}._AppliedFiltersContainer_s8ooe_2 ._AppliedFilterContent_s8ooe_10{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:0 20px;border-radius:100px}._checkboxContainer_zld97_2{display:flex;align-items:center;gap:.5rem;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_zld97_2 input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:1px;background-color:#fff;cursor:pointer}._container_15vgv_2{padding-top:15px;font-size:14px}._container_15vgv_2 span{font-size:14px}._container_15vgv_2 ._unitLabel_15vgv_9{height:40px}._container_15vgv_2 ._slider_15vgv_12{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_15vgv_2 ._thumb_15vgv_18{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_15vgv_2 ._track_15vgv_27{top:0;bottom:0;background:#605b56;border-radius:3px}._container_15vgv_2 ._labels_15vgv_33{display:flex;justify-content:space-between;font-size:14px;margin-top:10px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 label,._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input{cursor:pointer;font-size:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background-color:#fff;transition:background-color .2s ease;cursor:pointer;vertical-align:middle}._tematicalFiltersInputContainer_1vm1r_2 ._checkboxContainer_1vm1r_28{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px}._tematicalFiltersInputContainer_1vm1r_2 ._absoluteSliderContainer_1vm1r_37{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:flex-start}._FiltersAmbitContainer_1g9xx_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitTitle_1g9xx_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 0 26px;font-size:16px;font-weight:400}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22 ._FiltersAmbitDescriptionTitle_1g9xx_33{font-size:18px;font-weight:600}._FiltersAmbitContainer_1g9xx_2 ._warning_1g9xx_37{color:red}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_lw8gx_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._indicatorNameContainer_lw8gx_11{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._dot_lw8gx_20{border-radius:100px;width:16px;height:16px}._indicatorContainer_lw8gx_2 ._indicatorName_lw8gx_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_lw8gx_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40{margin:0;width:100%}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._customRadious_lw8gx_65{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._optionText_lw8gx_72{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_atg3j_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative}._legendContainer_atg3j_3 ._closeButton_atg3j_18{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_atg3j_3 ._closeButton_atg3j_18:before,._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before{transform:rotate(45deg)}._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{transform:rotate(-45deg)}._legendContainer_atg3j_3 ._titleContainer_atg3j_46{border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._titleContainer_atg3j_46 h2{padding-bottom:16px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52{padding-top:20px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_atg3j_3 ._titleLegendList_atg3j_63{font-size:20px;padding-bottom:20px;margin-bottom:20px;margin-top:30px;border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76 ._colorDot_atg3j_82{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88{position:relative}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueColor_atg3j_91{height:130px;width:22px;border-radius:20px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueText_atg3j_96{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_atg3j_3 ._moreInfoContainer_atg3j_108{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_1gd6w_2 ._title_1gd6w_2{font-weight:600}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_a19yo_2{position:absolute;padding:5px 20px;right:150px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;top:188px;transition:all .5s ease-out}._slider_a19yo_2 ._playButton_a19yo_17,._slider_a19yo_2 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._slider_a19yo_2 ._playButton_a19yo_17 img{height:30px;width:30px}._sliderOpen_a19yo_28{right:490px}._sliderResults_a19yo_32{position:absolute;top:75px;right:430px;padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._sliderResults_a19yo_32 ._playButton_a19yo_17,._sliderResults_a19yo_32 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._sliderResults_a19yo_32 ._playButton_a19yo_17 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._LogInButton_1vxj5_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39{font-size:18px;font-weight:600;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53{font-size:18px;font-weight:600;flex:.5}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._buttonsContainer_fd7az_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._elementListContainer_fd7az_76{flex:1;width:100%}._elementSelector_fd7az_2 ._newElementButtonContainer_fd7az_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._listElement_1s506_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:5px;width:100%;padding-bottom:30px;padding-top:30px;flex-wrap:wrap}._listElement_1s506_2 ._elementNameDate_1s506_17{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementNameContainer_1s506_27{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementName_1s506_17{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementDate_1s506_42{flex:.5}._listElement_1s506_2 ._elementButtons_1s506_45{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_1s506_2 ._elementButtons_1s506_45 button:disabled{opacity:.5;cursor:default}._listElement_1s506_2 ._elementButtons_1s506_45 img{display:inline}._break_1s506_63{flex-basis:100%;height:0}._moreInfoContainer_1s506_68 ._moreInfo_1s506_68{display:flex;gap:5px;cursor:pointer}._textInputContainer_1xbl6_2 ._labelContainer_1xbl6_2{margin-bottom:25px}._textInputContainer_1xbl6_2 ._inputContainer_1xbl6_5{background-color:#605b5620;padding:7px;border-radius:4px;position:relative}._textInputContainer_1xbl6_2 ._inputContainer_1xbl6_5 ._showPasswordButton_1xbl6_11{position:absolute;right:5px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer}._textInputContainer_1xbl6_2 ._inputContainer_1xbl6_5 input{width:100%}._textInputContainer_1xbl6_2 ._forgotPassButton_1xbl6_23{margin-top:10px;cursor:pointer}._textInputContainer_1xbl6_2 ._forgotPassButton_1xbl6_23 button{text-decoration:underline}._errorMessage_1xiyb_2{min-height:25px}._formContainer_fx5a2_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_fx5a2_2 ._formObjectContainer_fx5a2_11{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1;width:100%}._formContainer_fx5a2_2 ._buttonContainer_fx5a2_21{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._inputsContainer_10t9s_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;gap:30px}._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_1jqo2_2{position:fixed;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_1jqo2_16{border-left:1px solid #ddd}._content_1jqo2_20{position:relative;padding:20px;height:100%}._closeButton_1jqo2_26{position:absolute;top:10px;right:10px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1jqo2_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
+
import { jsxs as g, jsx as s, Fragment as gt } from "react/jsx-runtime";
|
|
3
3
|
import * as X from "react";
|
|
4
|
-
import N, { useState as
|
|
4
|
+
import N, { useState as F, useEffect as L, useMemo as le, useLayoutEffect as Ct, useRef as Fe } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
6
|
import { useTranslation as k, Trans as Me } from "react-i18next";
|
|
7
|
-
import { motion as
|
|
8
|
-
import { create as
|
|
9
|
-
import * as
|
|
10
|
-
import
|
|
11
|
-
import { useSelector as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { Protocol as
|
|
15
|
-
import
|
|
16
|
-
import { createSlice as
|
|
17
|
-
import
|
|
18
|
-
import { createTheme as
|
|
19
|
-
import { ThemeProvider as
|
|
20
|
-
import { NavLink as
|
|
21
|
-
const
|
|
22
|
-
ambitSelector:
|
|
23
|
-
header:
|
|
24
|
-
nameDateContainer:
|
|
25
|
-
ambitName:
|
|
26
|
-
ambitDate:
|
|
27
|
-
buttonsContainer:
|
|
28
|
-
ambitListContainer:
|
|
29
|
-
newAmbitButtonContainer:
|
|
30
|
-
},
|
|
31
|
-
ambitItem:
|
|
32
|
-
ambitNameDate:
|
|
33
|
-
ambitName:
|
|
34
|
-
ambitDate:
|
|
35
|
-
ambitButtons:
|
|
36
|
-
}, Yt = "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", Wt = "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", Jt = "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", Xt = "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", Qt = "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", e2 = "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", Ue = ({
|
|
7
|
+
import { motion as De } from "framer-motion";
|
|
8
|
+
import { create as ft } from "zustand";
|
|
9
|
+
import * as $e from "d3";
|
|
10
|
+
import bt from "mapbox-gl";
|
|
11
|
+
import { useSelector as yt, useDispatch as _t } from "react-redux";
|
|
12
|
+
import vt, { Source as xt, Layer as wt, NavigationControl as kt, Popup as Nt } from "react-map-gl/mapbox";
|
|
13
|
+
import pe from "maplibre-gl";
|
|
14
|
+
import { Protocol as St } from "pmtiles";
|
|
15
|
+
import Bt, { Source as Ft, Layer as Mt, NavigationControl as Dt, Popup as Lt } from "react-map-gl/maplibre";
|
|
16
|
+
import { createSlice as Tt } from "@reduxjs/toolkit";
|
|
17
|
+
import Vt from "@mui/material/Slider";
|
|
18
|
+
import { createTheme as $t, Box as At } from "@mui/material";
|
|
19
|
+
import { ThemeProvider as Ot } from "@emotion/react";
|
|
20
|
+
import { NavLink as It } from "react-router-dom";
|
|
21
|
+
const Rt = "_ambitSelector_mcunf_2", Et = "_header_mcunf_13", Pt = "_nameDateContainer_mcunf_23", jt = "_ambitName_mcunf_39", zt = "_ambitDate_mcunf_53", qt = "_buttonsContainer_mcunf_67", Zt = "_ambitListContainer_mcunf_76", Ht = "_newAmbitButtonContainer_mcunf_80", j = {
|
|
22
|
+
ambitSelector: Rt,
|
|
23
|
+
header: Et,
|
|
24
|
+
nameDateContainer: Pt,
|
|
25
|
+
ambitName: jt,
|
|
26
|
+
ambitDate: zt,
|
|
27
|
+
buttonsContainer: qt,
|
|
28
|
+
ambitListContainer: Zt,
|
|
29
|
+
newAmbitButtonContainer: Ht
|
|
30
|
+
}, Kt = "_ambitItem_1qa6u_2", Ut = "_ambitNameDate_1qa6u_16", Gt = "_ambitName_1qa6u_16", Yt = "_ambitDate_1qa6u_35", Wt = "_ambitButtons_1qa6u_38", ee = {
|
|
31
|
+
ambitItem: Kt,
|
|
32
|
+
ambitNameDate: Ut,
|
|
33
|
+
ambitName: Gt,
|
|
34
|
+
ambitDate: Yt,
|
|
35
|
+
ambitButtons: Wt
|
|
36
|
+
}, Jt = "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", Xt = "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", Qt = "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", e2 = "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", t2 = "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", n2 = "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", Ye = ({
|
|
37
37
|
ambit: n,
|
|
38
38
|
onClickCopy: d,
|
|
39
39
|
onClickDelete: o,
|
|
@@ -44,37 +44,37 @@ const Ot = "_ambitSelector_mcunf_2", It = "_header_mcunf_13", Rt = "_nameDateCon
|
|
|
44
44
|
fontColor: a,
|
|
45
45
|
moreInfo: c
|
|
46
46
|
}) => {
|
|
47
|
-
const { nom: u, created_at: p, id: m, isBeingProcessed:
|
|
48
|
-
return /* @__PURE__ */
|
|
47
|
+
const { nom: u, created_at: p, id: m, isBeingProcessed: y } = n;
|
|
48
|
+
return /* @__PURE__ */ g(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
51
51
|
className: ee.ambitItem,
|
|
52
52
|
style: { borderBottom: `1px solid ${a}` },
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */
|
|
55
|
-
/* @__PURE__ */
|
|
54
|
+
/* @__PURE__ */ g("div", { className: ee.ambitNameDate, onClick: () => t(m), children: [
|
|
55
|
+
/* @__PURE__ */ g("div", { className: ee.ambitName, children: [
|
|
56
56
|
/* @__PURE__ */ s(
|
|
57
57
|
"img",
|
|
58
58
|
{
|
|
59
59
|
style: { marginRight: 9 },
|
|
60
|
-
src: r ?
|
|
60
|
+
src: r ? t2 : n2
|
|
61
61
|
}
|
|
62
62
|
),
|
|
63
63
|
/* @__PURE__ */ s("span", { style: { color: r ? l : a }, children: u })
|
|
64
64
|
] }),
|
|
65
65
|
/* @__PURE__ */ s("div", { className: ee.ambitDate, children: p ? new Date(p).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
67
|
-
/* @__PURE__ */
|
|
68
|
-
|
|
69
|
-
/* @__PURE__ */ s("button", { onClick: () => i(m), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src:
|
|
70
|
-
/* @__PURE__ */ s("button", { onClick: () => d(m), children: /* @__PURE__ */ s("img", { src:
|
|
71
|
-
/* @__PURE__ */ s("button", { onClick: () => o(m), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src:
|
|
67
|
+
/* @__PURE__ */ g("div", { className: ee.ambitButtons, children: [
|
|
68
|
+
y && /* @__PURE__ */ s("img", { src: e2 }),
|
|
69
|
+
/* @__PURE__ */ s("button", { onClick: () => i(m), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: Qt }) }),
|
|
70
|
+
/* @__PURE__ */ s("button", { onClick: () => d(m), children: /* @__PURE__ */ s("img", { src: Xt }) }),
|
|
71
|
+
/* @__PURE__ */ s("button", { onClick: () => o(m), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: Jt }) })
|
|
72
72
|
] })
|
|
73
73
|
]
|
|
74
74
|
}
|
|
75
75
|
);
|
|
76
76
|
};
|
|
77
|
-
|
|
77
|
+
Ye.propTypes = {
|
|
78
78
|
ambit: e.shape({
|
|
79
79
|
nom: e.string.isRequired,
|
|
80
80
|
created_at: e.string,
|
|
@@ -92,9 +92,9 @@ Ue.propTypes = {
|
|
|
92
92
|
moreInfo: e.object
|
|
93
93
|
// Optional, can be used for additional info
|
|
94
94
|
};
|
|
95
|
-
const
|
|
96
|
-
generalButton:
|
|
97
|
-
},
|
|
95
|
+
const Ae = "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", i2 = "_generalButton_8d6ru_2", o2 = {
|
|
96
|
+
generalButton: i2
|
|
97
|
+
}, ce = ({
|
|
98
98
|
children: n,
|
|
99
99
|
onClick: d,
|
|
100
100
|
fontColor: o = "#605B56",
|
|
@@ -103,13 +103,13 @@ const $e = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
103
103
|
}) => /* @__PURE__ */ s(
|
|
104
104
|
"button",
|
|
105
105
|
{
|
|
106
|
-
className:
|
|
106
|
+
className: o2.generalButton,
|
|
107
107
|
style: { color: o, border: `1.5px solid ${i}` },
|
|
108
108
|
onClick: d,
|
|
109
109
|
type: t,
|
|
110
110
|
children: n
|
|
111
111
|
}
|
|
112
|
-
),
|
|
112
|
+
), s2 = ({
|
|
113
113
|
ambitList: n,
|
|
114
114
|
activeAmbitId: d,
|
|
115
115
|
fontColor: o = "#605B56",
|
|
@@ -120,49 +120,49 @@ const $e = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
120
120
|
buttonContainerStyles: a = {},
|
|
121
121
|
containerStyles: c = {},
|
|
122
122
|
onCLickNewAmbit: u = () => console.log("New ambit clicked"),
|
|
123
|
-
onClickCopy: p = (
|
|
124
|
-
onCLickDelete: m = (
|
|
125
|
-
onClickFilters:
|
|
126
|
-
onClickAmbit:
|
|
123
|
+
onClickCopy: p = (h) => console.log(`Copy ambit: ${h}`),
|
|
124
|
+
onCLickDelete: m = (h) => console.log(`Delete ambit: ${h}`),
|
|
125
|
+
onClickFilters: y = (h) => console.log(`Filters clicked: ${h}`),
|
|
126
|
+
onClickAmbit: C = (h) => console.log(`OnCLickAmbit: ${h}`)
|
|
127
127
|
}) => {
|
|
128
|
-
const { t:
|
|
128
|
+
const { t: h } = k(), [b, f] = F(n);
|
|
129
129
|
L(() => {
|
|
130
130
|
n && f(n);
|
|
131
131
|
}, [n]);
|
|
132
132
|
const _ = (x) => {
|
|
133
|
-
if (
|
|
134
|
-
let w = [...
|
|
133
|
+
if (b && b.length > 0) {
|
|
134
|
+
let w = [...b];
|
|
135
135
|
w.sort((v, S) => v[x].localeCompare(S[x])), f(w);
|
|
136
136
|
}
|
|
137
137
|
};
|
|
138
|
-
return /* @__PURE__ */
|
|
138
|
+
return /* @__PURE__ */ g(
|
|
139
139
|
"div",
|
|
140
140
|
{
|
|
141
141
|
className: j.ambitSelector,
|
|
142
142
|
style: { color: o, ...c },
|
|
143
143
|
children: [
|
|
144
|
-
/* @__PURE__ */
|
|
144
|
+
/* @__PURE__ */ g(
|
|
145
145
|
"div",
|
|
146
146
|
{
|
|
147
147
|
className: j.header,
|
|
148
148
|
style: { borderBottom: `1px solid ${o}` },
|
|
149
149
|
children: [
|
|
150
|
-
/* @__PURE__ */
|
|
151
|
-
/* @__PURE__ */ s("div", { className: j.ambitName, children: /* @__PURE__ */
|
|
152
|
-
/* @__PURE__ */ s("span", { children:
|
|
153
|
-
/* @__PURE__ */ s("img", { src:
|
|
150
|
+
/* @__PURE__ */ g("div", { className: j.nameDateContainer, children: [
|
|
151
|
+
/* @__PURE__ */ s("div", { className: j.ambitName, children: /* @__PURE__ */ g("button", { onClick: () => _("name"), children: [
|
|
152
|
+
/* @__PURE__ */ s("span", { children: h(t) }),
|
|
153
|
+
/* @__PURE__ */ s("img", { src: Ae })
|
|
154
154
|
] }) }),
|
|
155
|
-
/* @__PURE__ */ s("div", { className: j.ambitDate, children: /* @__PURE__ */
|
|
156
|
-
/* @__PURE__ */ s("span", { children:
|
|
157
|
-
/* @__PURE__ */ s("img", { src:
|
|
155
|
+
/* @__PURE__ */ s("div", { className: j.ambitDate, children: /* @__PURE__ */ g("button", { onClick: () => _("date"), children: [
|
|
156
|
+
/* @__PURE__ */ s("span", { children: h(r) }),
|
|
157
|
+
/* @__PURE__ */ s("img", { src: Ae })
|
|
158
158
|
] }) })
|
|
159
159
|
] }),
|
|
160
160
|
/* @__PURE__ */ s("div", { className: j.buttonsContainer })
|
|
161
161
|
]
|
|
162
162
|
}
|
|
163
163
|
),
|
|
164
|
-
/* @__PURE__ */ s("div", { className: j.ambitListContainer, children:
|
|
165
|
-
|
|
164
|
+
/* @__PURE__ */ s("div", { className: j.ambitListContainer, children: b && b.length > 0 && b.map((x) => /* @__PURE__ */ s(
|
|
165
|
+
Ye,
|
|
166
166
|
{
|
|
167
167
|
isActive: d == x.id,
|
|
168
168
|
ambit: x,
|
|
@@ -170,25 +170,25 @@ const $e = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
170
170
|
activeColor: i,
|
|
171
171
|
onClickCopy: p,
|
|
172
172
|
onClickDelete: m,
|
|
173
|
-
onClickFilters:
|
|
174
|
-
onClickAmbit:
|
|
173
|
+
onClickFilters: y,
|
|
174
|
+
onClickAmbit: C
|
|
175
175
|
},
|
|
176
176
|
`ambitKey${x.id}`
|
|
177
177
|
)) }),
|
|
178
178
|
/* @__PURE__ */ s("div", { className: j.newAmbitButtonContainer, children: /* @__PURE__ */ s(
|
|
179
|
-
|
|
179
|
+
ce,
|
|
180
180
|
{
|
|
181
181
|
style: { ...a },
|
|
182
182
|
onClick: u,
|
|
183
183
|
borderColor: "grey",
|
|
184
|
-
children:
|
|
184
|
+
children: h(l)
|
|
185
185
|
}
|
|
186
186
|
) })
|
|
187
187
|
]
|
|
188
188
|
}
|
|
189
189
|
);
|
|
190
190
|
};
|
|
191
|
-
|
|
191
|
+
s2.propTypes = {
|
|
192
192
|
ambitList: e.arrayOf(
|
|
193
193
|
e.shape({
|
|
194
194
|
name: e.string.isRequired,
|
|
@@ -210,28 +210,28 @@ i2.propTypes = {
|
|
|
210
210
|
containerStyles: e.object,
|
|
211
211
|
onCLickNewAmbit: e.func
|
|
212
212
|
};
|
|
213
|
-
const
|
|
214
|
-
buttonsContainer:
|
|
215
|
-
vertical:
|
|
216
|
-
horizontal:
|
|
217
|
-
button:
|
|
218
|
-
active:
|
|
219
|
-
buttonName:
|
|
220
|
-
},
|
|
221
|
-
left:
|
|
222
|
-
top:
|
|
223
|
-
bottom:
|
|
224
|
-
right:
|
|
213
|
+
const r2 = "_buttonsContainer_1audx_2", a2 = "_vertical_1audx_6", l2 = "_horizontal_1audx_9", c2 = "_button_1audx_2", d2 = "_active_1audx_25", u2 = "_buttonName_1audx_28", q = {
|
|
214
|
+
buttonsContainer: r2,
|
|
215
|
+
vertical: a2,
|
|
216
|
+
horizontal: l2,
|
|
217
|
+
button: c2,
|
|
218
|
+
active: d2,
|
|
219
|
+
buttonName: u2
|
|
220
|
+
}, p2 = "_left_1l4m4_2", m2 = "_top_1l4m4_40", h2 = "_bottom_1l4m4_79", g2 = "_right_1l4m4_118", C2 = {
|
|
221
|
+
left: p2,
|
|
222
|
+
top: m2,
|
|
223
|
+
bottom: h2,
|
|
224
|
+
right: g2
|
|
225
225
|
}, U = ({ text: n, position: d, styleCustom: o = null }) => {
|
|
226
226
|
const { t: i } = k();
|
|
227
|
-
return /* @__PURE__ */ s("div", { className: `tooltip ${
|
|
227
|
+
return /* @__PURE__ */ s("div", { className: `tooltip ${C2[d]}`, style: o, children: i(n) });
|
|
228
228
|
};
|
|
229
229
|
U.propTypes = {
|
|
230
230
|
text: e.string.isRequired,
|
|
231
231
|
position: e.oneOf(["top", "bottom", "left", "right"]).isRequired,
|
|
232
232
|
styleCustom: e.object
|
|
233
233
|
};
|
|
234
|
-
const
|
|
234
|
+
const f2 = ({
|
|
235
235
|
buttons: n = [],
|
|
236
236
|
orientation: d = "horizontal",
|
|
237
237
|
showName: o = !0,
|
|
@@ -243,37 +243,37 @@ const g2 = ({
|
|
|
243
243
|
return /* @__PURE__ */ s(
|
|
244
244
|
"div",
|
|
245
245
|
{
|
|
246
|
-
className: `${
|
|
247
|
-
${d === "horizontal" &&
|
|
246
|
+
className: `${q.buttonsContainer} ${d === "vertical" && q.vertical}
|
|
247
|
+
${d === "horizontal" && q.horizontal}`,
|
|
248
248
|
children: n.map((a, c) => {
|
|
249
249
|
const {
|
|
250
250
|
icon: u,
|
|
251
251
|
activeIcon: p,
|
|
252
252
|
isActive: m,
|
|
253
|
-
name:
|
|
254
|
-
onClick:
|
|
255
|
-
} = a,
|
|
256
|
-
o && i === "left" && /* @__PURE__ */ s("span", { className:
|
|
257
|
-
/* @__PURE__ */ s("img", { src: m ? p : u, alt: l(
|
|
258
|
-
o && i === "right" && /* @__PURE__ */ s("span", { className:
|
|
253
|
+
name: y,
|
|
254
|
+
onClick: C
|
|
255
|
+
} = a, h = /* @__PURE__ */ g(gt, { children: [
|
|
256
|
+
o && i === "left" && /* @__PURE__ */ s("span", { className: q.buttonName, children: l(y) }),
|
|
257
|
+
/* @__PURE__ */ s("img", { src: m ? p : u, alt: l(y) }),
|
|
258
|
+
o && i === "right" && /* @__PURE__ */ s("span", { className: q.buttonName, children: l(y) })
|
|
259
259
|
] });
|
|
260
|
-
return /* @__PURE__ */
|
|
260
|
+
return /* @__PURE__ */ g("div", { className: "tooltip-parent", children: [
|
|
261
261
|
/* @__PURE__ */ s(
|
|
262
262
|
"button",
|
|
263
263
|
{
|
|
264
|
-
onClick:
|
|
265
|
-
className: `${
|
|
266
|
-
${m &&
|
|
267
|
-
children:
|
|
264
|
+
onClick: C,
|
|
265
|
+
className: `${q.button}
|
|
266
|
+
${m && q.active}`,
|
|
267
|
+
children: h
|
|
268
268
|
}
|
|
269
269
|
),
|
|
270
|
-
t && /* @__PURE__ */ s(U, { text:
|
|
270
|
+
t && /* @__PURE__ */ s(U, { text: y, position: r })
|
|
271
271
|
] }, c);
|
|
272
272
|
})
|
|
273
273
|
}
|
|
274
274
|
);
|
|
275
275
|
};
|
|
276
|
-
|
|
276
|
+
f2.propTypes = {
|
|
277
277
|
buttons: e.arrayOf(
|
|
278
278
|
e.shape({
|
|
279
279
|
icon: e.node.isRequired,
|
|
@@ -290,9 +290,9 @@ g2.propTypes = {
|
|
|
290
290
|
useTooltip: e.bool,
|
|
291
291
|
tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
|
|
292
292
|
};
|
|
293
|
-
const
|
|
294
|
-
indicatorsCategory:
|
|
295
|
-
title:
|
|
293
|
+
const b2 = "_indicatorsCategory_1cu33_2", y2 = "_title_1cu33_5", me = {
|
|
294
|
+
indicatorsCategory: b2,
|
|
295
|
+
title: y2
|
|
296
296
|
}, G = ({
|
|
297
297
|
isOpen: n,
|
|
298
298
|
onClick: d,
|
|
@@ -308,10 +308,10 @@ const C2 = "_indicatorsCategory_1cu33_2", f2 = "_title_1cu33_5", pe = {
|
|
|
308
308
|
titleMarginChildren: u = 25
|
|
309
309
|
}) => {
|
|
310
310
|
const { t: p } = k();
|
|
311
|
-
return /* @__PURE__ */
|
|
312
|
-
|
|
311
|
+
return /* @__PURE__ */ g(
|
|
312
|
+
De.div,
|
|
313
313
|
{
|
|
314
|
-
className:
|
|
314
|
+
className: me.indicatorsCategory,
|
|
315
315
|
initial: { height: `${l}px` },
|
|
316
316
|
animate: { height: n ? "auto" : `${l}px` },
|
|
317
317
|
transition: { duration: 0.4 },
|
|
@@ -321,14 +321,14 @@ const C2 = "_indicatorsCategory_1cu33_2", f2 = "_title_1cu33_5", pe = {
|
|
|
321
321
|
marginBottom: n ? "20px" : "0px"
|
|
322
322
|
},
|
|
323
323
|
children: [
|
|
324
|
-
/* @__PURE__ */
|
|
324
|
+
/* @__PURE__ */ g(
|
|
325
325
|
"h2",
|
|
326
326
|
{
|
|
327
327
|
style: {
|
|
328
328
|
...a,
|
|
329
329
|
marginBottom: u || "auto"
|
|
330
330
|
},
|
|
331
|
-
className: `${
|
|
331
|
+
className: `${me.title}`,
|
|
332
332
|
onClick: d,
|
|
333
333
|
children: [
|
|
334
334
|
/* @__PURE__ */ s("span", { style: { color: n ? t : i }, children: n ? "-" : "+" }),
|
|
@@ -336,7 +336,7 @@ const C2 = "_indicatorsCategory_1cu33_2", f2 = "_title_1cu33_5", pe = {
|
|
|
336
336
|
]
|
|
337
337
|
}
|
|
338
338
|
),
|
|
339
|
-
/* @__PURE__ */ s("div", { className:
|
|
339
|
+
/* @__PURE__ */ s("div", { className: me.content, children: o })
|
|
340
340
|
]
|
|
341
341
|
}
|
|
342
342
|
);
|
|
@@ -352,17 +352,17 @@ G.propTypes = {
|
|
|
352
352
|
showBottomBar: e.bool,
|
|
353
353
|
titleFontStyles: e.object
|
|
354
354
|
};
|
|
355
|
-
const
|
|
356
|
-
AppliedFiltersContainer:
|
|
357
|
-
AppliedFilterContent:
|
|
358
|
-
}, D =
|
|
355
|
+
const In = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), _2 = "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", v2 = "_AppliedFiltersContainer_s8ooe_2", x2 = "_AppliedFilterContent_s8ooe_10", Oe = {
|
|
356
|
+
AppliedFiltersContainer: v2,
|
|
357
|
+
AppliedFilterContent: x2
|
|
358
|
+
}, D = ft((n) => ({
|
|
359
359
|
activeCategory: "",
|
|
360
360
|
activeSubCategory: "",
|
|
361
361
|
selectedIndicator: "",
|
|
362
362
|
tematicalFiltersSelected: [],
|
|
363
363
|
fontColor: "#605B56",
|
|
364
364
|
inputsColor: "#605B56"
|
|
365
|
-
})),
|
|
365
|
+
})), We = ({ title: n, onClick: d, isOpen: o = !0, textColor: i = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
366
366
|
const { t: l } = k(), { tematicalFiltersSelected: a } = D((u) => u), c = (u) => {
|
|
367
367
|
D.setState((p) => ({
|
|
368
368
|
tematicalFiltersSelected: p.tematicalFiltersSelected.filter(
|
|
@@ -377,14 +377,14 @@ const An = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), b2 = "data
|
|
|
377
377
|
onClick: d,
|
|
378
378
|
title: n ? l(n) : "Applied Filters",
|
|
379
379
|
activeColor: r,
|
|
380
|
-
children: /* @__PURE__ */ s("div", { className:
|
|
380
|
+
children: /* @__PURE__ */ s("div", { className: Oe.AppliedFiltersContainer, children: a == null ? void 0 : a.map((u, p) => /* @__PURE__ */ g("div", { className: Oe.AppliedFilterContent, style: { color: i, background: t }, children: [
|
|
381
381
|
l(u.name),
|
|
382
|
-
/* @__PURE__ */ s("img", { src:
|
|
382
|
+
/* @__PURE__ */ s("img", { src: _2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
|
|
383
383
|
] }, p)) })
|
|
384
384
|
}
|
|
385
385
|
);
|
|
386
386
|
};
|
|
387
|
-
|
|
387
|
+
We.propTypes = {
|
|
388
388
|
isOpen: e.bool,
|
|
389
389
|
onClick: e.func,
|
|
390
390
|
title: e.string,
|
|
@@ -398,7 +398,7 @@ Ge.propTypes = {
|
|
|
398
398
|
),
|
|
399
399
|
activeColor: e.string
|
|
400
400
|
};
|
|
401
|
-
const
|
|
401
|
+
const Je = ({ title: n, onClick: d, isOpen: o = !0, textColor: i = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
402
402
|
const { t: l } = k(), { tematicalFiltersSelected: a } = D((c) => c);
|
|
403
403
|
return /* @__PURE__ */ s(
|
|
404
404
|
G,
|
|
@@ -411,7 +411,7 @@ const Ye = ({ title: n, onClick: d, isOpen: o = !0, textColor: i = "#ffffff", ba
|
|
|
411
411
|
}
|
|
412
412
|
);
|
|
413
413
|
};
|
|
414
|
-
|
|
414
|
+
Je.propTypes = {
|
|
415
415
|
isOpen: e.bool,
|
|
416
416
|
onClick: e.func,
|
|
417
417
|
title: e.string,
|
|
@@ -419,9 +419,9 @@ Ye.propTypes = {
|
|
|
419
419
|
backgroundColor: e.string,
|
|
420
420
|
activeColor: e.string
|
|
421
421
|
};
|
|
422
|
-
const
|
|
423
|
-
checkboxContainer:
|
|
424
|
-
},
|
|
422
|
+
const w2 = "_checkboxContainer_zld97_2", k2 = {
|
|
423
|
+
checkboxContainer: w2
|
|
424
|
+
}, Xe = ({
|
|
425
425
|
onClick: n,
|
|
426
426
|
containerStyles: d,
|
|
427
427
|
color: o = "#605B56",
|
|
@@ -429,12 +429,12 @@ const v2 = "_checkboxContainer_zld97_2", x2 = {
|
|
|
429
429
|
value: t
|
|
430
430
|
}) => {
|
|
431
431
|
const { t: r } = k(), { title: l } = i || {}, { fontColor: a, inputsColor: c } = D((u) => u);
|
|
432
|
-
return /* @__PURE__ */
|
|
432
|
+
return /* @__PURE__ */ g(
|
|
433
433
|
"div",
|
|
434
434
|
{
|
|
435
435
|
style: { ...d, color: o },
|
|
436
436
|
role: "checkbox",
|
|
437
|
-
className:
|
|
437
|
+
className: k2.checkboxContainer,
|
|
438
438
|
onClick: n,
|
|
439
439
|
children: [
|
|
440
440
|
/* @__PURE__ */ s(
|
|
@@ -455,7 +455,7 @@ const v2 = "_checkboxContainer_zld97_2", x2 = {
|
|
|
455
455
|
}
|
|
456
456
|
);
|
|
457
457
|
};
|
|
458
|
-
|
|
458
|
+
Xe.propTypes = {
|
|
459
459
|
onClick: e.func,
|
|
460
460
|
value: e.bool,
|
|
461
461
|
containerStyles: e.object,
|
|
@@ -466,40 +466,40 @@ We.propTypes = {
|
|
|
466
466
|
}),
|
|
467
467
|
checkedColor: e.string
|
|
468
468
|
};
|
|
469
|
-
function
|
|
470
|
-
return
|
|
469
|
+
function we(n, d) {
|
|
470
|
+
return we = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, i) {
|
|
471
471
|
return o.__proto__ = i, o;
|
|
472
|
-
},
|
|
472
|
+
}, we(n, d);
|
|
473
473
|
}
|
|
474
|
-
function
|
|
475
|
-
n.prototype = Object.create(d.prototype), n.prototype.constructor = n,
|
|
474
|
+
function N2(n, d) {
|
|
475
|
+
n.prototype = Object.create(d.prototype), n.prototype.constructor = n, we(n, d);
|
|
476
476
|
}
|
|
477
|
-
function
|
|
477
|
+
function he(n) {
|
|
478
478
|
return n && n.stopPropagation && n.stopPropagation(), n && n.preventDefault && n.preventDefault(), !1;
|
|
479
479
|
}
|
|
480
|
-
function
|
|
480
|
+
function ge(n) {
|
|
481
481
|
return n == null ? [] : Array.isArray(n) ? n.slice() : [n];
|
|
482
482
|
}
|
|
483
|
-
function
|
|
483
|
+
function oe(n) {
|
|
484
484
|
return n !== null && n.length === 1 ? n[0] : n.slice();
|
|
485
485
|
}
|
|
486
|
-
function
|
|
486
|
+
function se(n) {
|
|
487
487
|
Object.keys(n).forEach((d) => {
|
|
488
488
|
typeof document < "u" && document.addEventListener(d, n[d], !1);
|
|
489
489
|
});
|
|
490
490
|
}
|
|
491
491
|
function Z(n, d) {
|
|
492
|
-
return
|
|
492
|
+
return ke(function(o, i) {
|
|
493
493
|
let t = o;
|
|
494
494
|
return t <= i.min && (t = i.min), t >= i.max && (t = i.max), t;
|
|
495
495
|
}(n, d), d);
|
|
496
496
|
}
|
|
497
|
-
function
|
|
497
|
+
function ke(n, d) {
|
|
498
498
|
const o = (n - d.min) % d.step;
|
|
499
499
|
let i = n - o;
|
|
500
500
|
return 2 * Math.abs(o) >= d.step && (i += o > 0 ? d.step : -d.step), parseFloat(i.toFixed(5));
|
|
501
501
|
}
|
|
502
|
-
let
|
|
502
|
+
let Ne = function(n) {
|
|
503
503
|
function d(i) {
|
|
504
504
|
var t;
|
|
505
505
|
(t = n.call(this, i) || this).onKeyUp = () => {
|
|
@@ -519,8 +519,8 @@ let ke = function(n) {
|
|
|
519
519
|
t.setState({ pending: !0 });
|
|
520
520
|
const c = t.getTouchPosition(a);
|
|
521
521
|
if (t.isScrolling === void 0) {
|
|
522
|
-
const m = c[0] - t.startPosition[0],
|
|
523
|
-
t.isScrolling = Math.abs(
|
|
522
|
+
const m = c[0] - t.startPosition[0], y = c[1] - t.startPosition[1];
|
|
523
|
+
t.isScrolling = Math.abs(y) > Math.abs(m);
|
|
524
524
|
}
|
|
525
525
|
if (t.isScrolling) return void t.setState({ index: -1 });
|
|
526
526
|
const u = t.getDiffPosition(c[0]), p = t.getValueFromPosition(u);
|
|
@@ -556,10 +556,10 @@ let ke = function(n) {
|
|
|
556
556
|
if (t.setState({ pending: !0 }), !t.props.snapDragDisabled) {
|
|
557
557
|
const c = t.getMousePosition(a);
|
|
558
558
|
t.forceValueFromPosition(c[0], (u) => {
|
|
559
|
-
t.start(u, c[0]),
|
|
559
|
+
t.start(u, c[0]), se(t.getMouseEventMap());
|
|
560
560
|
});
|
|
561
561
|
}
|
|
562
|
-
|
|
562
|
+
he(a);
|
|
563
563
|
}
|
|
564
564
|
}, t.onSliderClick = (a) => {
|
|
565
565
|
if (!t.props.disabled && t.props.onSliderClick && !t.hasMoved) {
|
|
@@ -567,17 +567,17 @@ let ke = function(n) {
|
|
|
567
567
|
t.props.onSliderClick(u);
|
|
568
568
|
}
|
|
569
569
|
}, t.createOnKeyDown = (a) => (c) => {
|
|
570
|
-
t.props.disabled || (t.start(a),
|
|
570
|
+
t.props.disabled || (t.start(a), se(t.getKeyDownEventMap()), he(c));
|
|
571
571
|
}, t.createOnMouseDown = (a) => (c) => {
|
|
572
572
|
if (t.props.disabled || c.button === 2) return;
|
|
573
573
|
t.setState({ pending: !0 });
|
|
574
574
|
const u = t.getMousePosition(c);
|
|
575
|
-
t.start(a, u[0]),
|
|
575
|
+
t.start(a, u[0]), se(t.getMouseEventMap()), he(c);
|
|
576
576
|
}, t.createOnTouchStart = (a) => (c) => {
|
|
577
577
|
if (t.props.disabled || c.touches.length > 1) return;
|
|
578
578
|
t.setState({ pending: !0 });
|
|
579
579
|
const u = t.getTouchPosition(c);
|
|
580
|
-
t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]),
|
|
580
|
+
t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]), se(t.getTouchEventMap()), function(p) {
|
|
581
581
|
p.stopPropagation && p.stopPropagation();
|
|
582
582
|
}(c);
|
|
583
583
|
}, t.handleResize = () => {
|
|
@@ -586,26 +586,26 @@ let ke = function(n) {
|
|
|
586
586
|
}, 0);
|
|
587
587
|
t.pendingResizeTimeouts.push(a);
|
|
588
588
|
}, t.renderThumb = (a, c) => {
|
|
589
|
-
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), p = { ref: (
|
|
590
|
-
t["thumb" + c] =
|
|
591
|
-
}, key: t.props.thumbClassName + "-" + c, className: u, style: a, 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 }, m = { index: c, value:
|
|
589
|
+
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), p = { ref: (y) => {
|
|
590
|
+
t["thumb" + c] = y;
|
|
591
|
+
}, key: t.props.thumbClassName + "-" + c, className: u, style: a, 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 }, m = { index: c, value: oe(t.state.value), valueNow: t.state.value[c] };
|
|
592
592
|
return t.props.ariaValuetext && (p["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(m)), t.props.renderThumb(p, m);
|
|
593
593
|
}, t.renderTrack = (a, c, u) => {
|
|
594
|
-
const p = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(c, t.state.upperBound - u) }, m = { index: a, value:
|
|
594
|
+
const p = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(c, t.state.upperBound - u) }, m = { index: a, value: oe(t.state.value) };
|
|
595
595
|
return t.props.renderTrack(p, m);
|
|
596
596
|
};
|
|
597
|
-
let r =
|
|
598
|
-
r.length || (r =
|
|
597
|
+
let r = ge(i.value);
|
|
598
|
+
r.length || (r = ge(i.defaultValue)), t.pendingResizeTimeouts = [];
|
|
599
599
|
const l = [];
|
|
600
600
|
for (let a = 0; a < r.length; a += 1) r[a] = Z(r[a], i), l.push(a);
|
|
601
601
|
return t.resizeObserver = null, t.resizeElementRef = N.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices: l }, t;
|
|
602
602
|
}
|
|
603
|
-
|
|
603
|
+
N2(d, n);
|
|
604
604
|
var o = d.prototype;
|
|
605
605
|
return o.componentDidMount = function() {
|
|
606
606
|
typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
|
|
607
607
|
}, d.getDerivedStateFromProps = function(i, t) {
|
|
608
|
-
const r =
|
|
608
|
+
const r = ge(i.value);
|
|
609
609
|
return r.length ? t.pending ? null : { value: r.map((l) => Z(l, i)) } : null;
|
|
610
610
|
}, o.componentDidUpdate = function() {
|
|
611
611
|
this.state.upperBound === 0 && this.resize();
|
|
@@ -618,7 +618,7 @@ let ke = function(n) {
|
|
|
618
618
|
});
|
|
619
619
|
}(i), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
|
|
620
620
|
}, o.getValue = function() {
|
|
621
|
-
return
|
|
621
|
+
return oe(this.state.value);
|
|
622
622
|
}, o.getClosestIndex = function(i) {
|
|
623
623
|
let t = Number.MAX_VALUE, r = -1;
|
|
624
624
|
const { value: l } = this.state, a = l.length;
|
|
@@ -647,8 +647,8 @@ let ke = function(n) {
|
|
|
647
647
|
}, o.resize = function() {
|
|
648
648
|
const { slider: i, thumb0: t } = this;
|
|
649
649
|
if (!i || !t) return;
|
|
650
|
-
const r = this.sizeKey(), l = i.getBoundingClientRect(), a = i[r], c = l[this.posMaxKey()], u = l[this.posMinKey()], p = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], m = a - p,
|
|
651
|
-
this.state.upperBound === m && this.state.sliderLength ===
|
|
650
|
+
const r = this.sizeKey(), l = i.getBoundingClientRect(), a = i[r], c = l[this.posMaxKey()], u = l[this.posMinKey()], p = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], m = a - p, y = Math.abs(c - u);
|
|
651
|
+
this.state.upperBound === m && this.state.sliderLength === y && this.state.thumbSize === p || this.setState({ upperBound: m, sliderLength: y, thumbSize: p });
|
|
652
652
|
}, o.calcOffset = function(i) {
|
|
653
653
|
const t = this.props.max - this.props.min;
|
|
654
654
|
return t === 0 ? 0 : (i - this.props.min) / t * this.state.upperBound;
|
|
@@ -690,30 +690,30 @@ let ke = function(n) {
|
|
|
690
690
|
const { pearling: c, max: u, min: p, minDistance: m } = this.props;
|
|
691
691
|
if (!c) {
|
|
692
692
|
if (r > 0) {
|
|
693
|
-
const
|
|
694
|
-
i <
|
|
693
|
+
const y = t[r - 1];
|
|
694
|
+
i < y + m && (i = y + m);
|
|
695
695
|
}
|
|
696
696
|
if (r < l - 1) {
|
|
697
|
-
const
|
|
698
|
-
i >
|
|
697
|
+
const y = t[r + 1];
|
|
698
|
+
i > y - m && (i = y - m);
|
|
699
699
|
}
|
|
700
700
|
}
|
|
701
|
-
t[r] = i, c && l > 1 && (i > a ? (this.pushSucceeding(t, m, r), function(
|
|
702
|
-
for (let f = 0; f <
|
|
703
|
-
const _ =
|
|
704
|
-
|
|
701
|
+
t[r] = i, c && l > 1 && (i > a ? (this.pushSucceeding(t, m, r), function(y, C, h, b) {
|
|
702
|
+
for (let f = 0; f < y; f += 1) {
|
|
703
|
+
const _ = b - f * h;
|
|
704
|
+
C[y - 1 - f] > _ && (C[y - 1 - f] = _);
|
|
705
705
|
}
|
|
706
|
-
}(l, t, m, u)) : i < a && (this.pushPreceding(t, m, r), function(
|
|
707
|
-
for (let f = 0; f <
|
|
708
|
-
const _ =
|
|
709
|
-
|
|
706
|
+
}(l, t, m, u)) : i < a && (this.pushPreceding(t, m, r), function(y, C, h, b) {
|
|
707
|
+
for (let f = 0; f < y; f += 1) {
|
|
708
|
+
const _ = b + f * h;
|
|
709
|
+
C[f] < _ && (C[f] = _);
|
|
710
710
|
}
|
|
711
711
|
}(l, t, m, p))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
712
712
|
}, o.pushSucceeding = function(i, t, r) {
|
|
713
713
|
let l, a;
|
|
714
|
-
for (l = r, a = i[l] + t; i[l + 1] !== null && a > i[l + 1]; l += 1, a = i[l] + t) i[l + 1] =
|
|
714
|
+
for (l = r, a = i[l] + t; i[l + 1] !== null && a > i[l + 1]; l += 1, a = i[l] + t) i[l + 1] = ke(a, this.props);
|
|
715
715
|
}, o.pushPreceding = function(i, t, r) {
|
|
716
|
-
for (let l = r, a = i[l] - t; i[l - 1] !== null && a < i[l - 1]; l -= 1, a = i[l] - t) i[l - 1] =
|
|
716
|
+
for (let l = r, a = i[l] - t; i[l - 1] !== null && a < i[l - 1]; l -= 1, a = i[l] - t) i[l - 1] = ke(a, this.props);
|
|
717
717
|
}, o.axisKey = function() {
|
|
718
718
|
return this.props.orientation === "vertical" ? "Y" : "X";
|
|
719
719
|
}, o.orthogonalAxisKey = function() {
|
|
@@ -725,7 +725,7 @@ let ke = function(n) {
|
|
|
725
725
|
}, o.sizeKey = function() {
|
|
726
726
|
return this.props.orientation === "vertical" ? "clientHeight" : "clientWidth";
|
|
727
727
|
}, o.fireChangeEvent = function(i) {
|
|
728
|
-
this.props[i] && this.props[i](
|
|
728
|
+
this.props[i] && this.props[i](oe(this.state.value), this.state.index);
|
|
729
729
|
}, o.buildThumbStyle = function(i, t) {
|
|
730
730
|
const r = { position: "absolute", touchAction: "none", willChange: this.state.index >= 0 ? this.posMinKey() : void 0, zIndex: this.state.zIndices.indexOf(t) + 1 };
|
|
731
731
|
return r[this.posMinKey()] = i + "px", r;
|
|
@@ -762,16 +762,16 @@ let ke = function(n) {
|
|
|
762
762
|
}, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, l, a, c);
|
|
763
763
|
}, d;
|
|
764
764
|
}(N.Component);
|
|
765
|
-
|
|
766
|
-
var
|
|
767
|
-
const
|
|
768
|
-
container:
|
|
769
|
-
unitLabel:
|
|
770
|
-
slider:
|
|
771
|
-
thumb:
|
|
772
|
-
track:
|
|
773
|
-
labels:
|
|
774
|
-
},
|
|
765
|
+
Ne.displayName = "ReactSlider", Ne.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) => N.createElement("div", n), renderTrack: (n) => N.createElement("div", n), renderMark: (n) => N.createElement("span", n) };
|
|
766
|
+
var S2 = Ne;
|
|
767
|
+
const B2 = "_container_15vgv_2", F2 = "_unitLabel_15vgv_9", M2 = "_slider_15vgv_12", D2 = "_thumb_15vgv_18", L2 = "_track_15vgv_27", T2 = "_labels_15vgv_33", Y = {
|
|
768
|
+
container: B2,
|
|
769
|
+
unitLabel: F2,
|
|
770
|
+
slider: M2,
|
|
771
|
+
thumb: D2,
|
|
772
|
+
track: L2,
|
|
773
|
+
labels: T2
|
|
774
|
+
}, Qe = ({
|
|
775
775
|
min: n = 0,
|
|
776
776
|
max: d = 100,
|
|
777
777
|
step: o = 1,
|
|
@@ -781,12 +781,12 @@ const N2 = "_container_15vgv_2", S2 = "_unitLabel_15vgv_9", F2 = "_slider_15vgv_
|
|
|
781
781
|
fontColor: l = "#605B56",
|
|
782
782
|
defaultValue: a
|
|
783
783
|
}) => {
|
|
784
|
-
const { t: c } = k(), [u, p] =
|
|
785
|
-
p(
|
|
784
|
+
const { t: c } = k(), [u, p] = F([n, d]), m = (y) => {
|
|
785
|
+
p(y), i == null || i({ min: y[0], max: y[1] });
|
|
786
786
|
};
|
|
787
787
|
return L(() => {
|
|
788
788
|
a && p([a]);
|
|
789
|
-
}, [a]), /* @__PURE__ */
|
|
789
|
+
}, [a]), /* @__PURE__ */ g(
|
|
790
790
|
"div",
|
|
791
791
|
{
|
|
792
792
|
className: Y.container,
|
|
@@ -794,7 +794,7 @@ const N2 = "_container_15vgv_2", S2 = "_unitLabel_15vgv_9", F2 = "_slider_15vgv_
|
|
|
794
794
|
children: [
|
|
795
795
|
/* @__PURE__ */ s("div", { className: Y.unitLabel, children: /* @__PURE__ */ s("span", { children: c(r) }) }),
|
|
796
796
|
/* @__PURE__ */ s(
|
|
797
|
-
|
|
797
|
+
S2,
|
|
798
798
|
{
|
|
799
799
|
className: Y.slider,
|
|
800
800
|
thumbClassName: Y.thumb,
|
|
@@ -809,7 +809,7 @@ const N2 = "_container_15vgv_2", S2 = "_unitLabel_15vgv_9", F2 = "_slider_15vgv_
|
|
|
809
809
|
minDistance: 0.1
|
|
810
810
|
}
|
|
811
811
|
),
|
|
812
|
-
/* @__PURE__ */
|
|
812
|
+
/* @__PURE__ */ g("div", { className: Y.labels, children: [
|
|
813
813
|
/* @__PURE__ */ s("span", { children: u[0] }),
|
|
814
814
|
/* @__PURE__ */ s("span", { children: u[1] })
|
|
815
815
|
] })
|
|
@@ -817,7 +817,7 @@ const N2 = "_container_15vgv_2", S2 = "_unitLabel_15vgv_9", F2 = "_slider_15vgv_
|
|
|
817
817
|
}
|
|
818
818
|
);
|
|
819
819
|
};
|
|
820
|
-
|
|
820
|
+
Qe.propTypes = {
|
|
821
821
|
min: e.number,
|
|
822
822
|
max: e.number,
|
|
823
823
|
step: e.number,
|
|
@@ -829,17 +829,17 @@ Je.propTypes = {
|
|
|
829
829
|
fontColor: e.string,
|
|
830
830
|
value: e.arrayOf(e.number)
|
|
831
831
|
};
|
|
832
|
-
const
|
|
833
|
-
tematicalFiltersInputContainer:
|
|
834
|
-
inputTypeContainer:
|
|
835
|
-
checkboxContainer:
|
|
836
|
-
absoluteSliderContainer:
|
|
837
|
-
},
|
|
832
|
+
const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_1vm1r_2", A2 = "_checkboxContainer_1vm1r_28", O2 = "_absoluteSliderContainer_1vm1r_37", re = {
|
|
833
|
+
tematicalFiltersInputContainer: V2,
|
|
834
|
+
inputTypeContainer: $2,
|
|
835
|
+
checkboxContainer: A2,
|
|
836
|
+
absoluteSliderContainer: O2
|
|
837
|
+
}, Le = ({
|
|
838
838
|
indicator: n,
|
|
839
839
|
//onChangeBothType
|
|
840
840
|
activeColor: d
|
|
841
841
|
}) => {
|
|
842
|
-
const [o, i] =
|
|
842
|
+
const [o, i] = F(), {
|
|
843
843
|
type: t,
|
|
844
844
|
name: r,
|
|
845
845
|
values: l,
|
|
@@ -847,108 +847,108 @@ const L2 = "_tematicalFiltersInputContainer_1vm1r_2", T2 = "_inputTypeContainer_
|
|
|
847
847
|
maxValue: c,
|
|
848
848
|
unit: u,
|
|
849
849
|
step: p
|
|
850
|
-
} = n || {}, m =
|
|
850
|
+
} = n || {}, m = le(
|
|
851
851
|
() => t == "cat" || o == "cat",
|
|
852
852
|
[o, t]
|
|
853
|
-
),
|
|
853
|
+
), y = le(
|
|
854
854
|
() => t == "abs" || o == "abs",
|
|
855
855
|
[o, t]
|
|
856
856
|
), {
|
|
857
|
-
tematicalFiltersSelected:
|
|
858
|
-
selectedIndicator:
|
|
859
|
-
fontColor:
|
|
857
|
+
tematicalFiltersSelected: C,
|
|
858
|
+
selectedIndicator: h,
|
|
859
|
+
fontColor: b,
|
|
860
860
|
inputsColor: f
|
|
861
861
|
} = D((w) => w), _ = (w) => {
|
|
862
862
|
if (w) {
|
|
863
|
-
const { min: v, max: S, valueClicked:
|
|
863
|
+
const { min: v, max: S, valueClicked: B, allValues: E } = w || {}, { code: Q, type: de } = n || {}, ue = y ? "abs" : m ? "cat" : "both";
|
|
864
864
|
let R = Q[0];
|
|
865
|
-
|
|
866
|
-
let P =
|
|
865
|
+
de == "both" && (R = ue == "cat" ? Q[1] : Q[0]), ue == "cat" ? D.setState((z) => {
|
|
866
|
+
let P = z.tematicalFiltersSelected.find(
|
|
867
867
|
(T) => T.code === R
|
|
868
868
|
);
|
|
869
869
|
if (P) {
|
|
870
870
|
let T = [P.values];
|
|
871
|
-
return P.values.includes(
|
|
872
|
-
(A) => A !==
|
|
873
|
-
) : T = [...P.values,
|
|
874
|
-
tematicalFiltersSelected:
|
|
871
|
+
return P.values.includes(B) ? T = P.values.filter(
|
|
872
|
+
(A) => A !== B
|
|
873
|
+
) : T = [...P.values, B], T.length == E.length ? {
|
|
874
|
+
tematicalFiltersSelected: z.tematicalFiltersSelected.filter(
|
|
875
875
|
(A) => A.code !== R
|
|
876
876
|
)
|
|
877
877
|
} : {
|
|
878
|
-
tematicalFiltersSelected:
|
|
878
|
+
tematicalFiltersSelected: z.tematicalFiltersSelected.map(
|
|
879
879
|
(A) => A.code === R ? { ...A, values: T } : A
|
|
880
880
|
)
|
|
881
881
|
};
|
|
882
882
|
} else {
|
|
883
|
-
let T = E.map((A,
|
|
883
|
+
let T = E.map((A, ht) => ht);
|
|
884
884
|
return {
|
|
885
885
|
tematicalFiltersSelected: [
|
|
886
|
-
...
|
|
886
|
+
...C,
|
|
887
887
|
{
|
|
888
888
|
type: "cat",
|
|
889
889
|
code: R,
|
|
890
|
-
values: T.filter((A) => A !==
|
|
890
|
+
values: T.filter((A) => A !== B),
|
|
891
891
|
name: n.name
|
|
892
892
|
}
|
|
893
893
|
]
|
|
894
894
|
};
|
|
895
895
|
}
|
|
896
|
-
}) :
|
|
897
|
-
let P =
|
|
896
|
+
}) : ue == "abs" && D.setState((z) => {
|
|
897
|
+
let P = z.tematicalFiltersSelected.find(
|
|
898
898
|
(T) => T.code === R
|
|
899
899
|
);
|
|
900
900
|
if (v == n.minValue && S == n.maxValue)
|
|
901
901
|
return {
|
|
902
|
-
tematicalFiltersSelected:
|
|
902
|
+
tematicalFiltersSelected: z.tematicalFiltersSelected.filter(
|
|
903
903
|
(T) => T.code !== R
|
|
904
904
|
)
|
|
905
905
|
};
|
|
906
906
|
if (P) {
|
|
907
907
|
let T = { ...P };
|
|
908
908
|
return T.min = v, T.max = S, {
|
|
909
|
-
tematicalFiltersSelected:
|
|
909
|
+
tematicalFiltersSelected: z.tematicalFiltersSelected.map(
|
|
910
910
|
(A) => A.code === R ? T : A
|
|
911
911
|
)
|
|
912
912
|
};
|
|
913
913
|
} else
|
|
914
914
|
return {
|
|
915
915
|
tematicalFiltersSelected: [
|
|
916
|
-
...
|
|
916
|
+
...C,
|
|
917
917
|
{ type: "abs", code: R, min: v, max: S }
|
|
918
918
|
]
|
|
919
919
|
};
|
|
920
920
|
});
|
|
921
921
|
}
|
|
922
|
-
}, x =
|
|
922
|
+
}, x = le(() => {
|
|
923
923
|
const w = {};
|
|
924
|
-
if ((
|
|
925
|
-
for (const v of
|
|
924
|
+
if ((C == null ? void 0 : C.length) > 0)
|
|
925
|
+
for (const v of C)
|
|
926
926
|
v.type === "cat" ? w[v.code] = new Set(v.values) : w[v.code] = [v.min, v.max];
|
|
927
927
|
return w;
|
|
928
|
-
}, [
|
|
929
|
-
return /* @__PURE__ */ s("div", { className:
|
|
928
|
+
}, [C]);
|
|
929
|
+
return /* @__PURE__ */ s("div", { className: re.tematicalFiltersInputContainer, children: /* @__PURE__ */ g(
|
|
930
930
|
G,
|
|
931
931
|
{
|
|
932
932
|
titleFontStyles: { fontSize: 16, fontWeight: 400 },
|
|
933
933
|
title: r,
|
|
934
|
-
isOpen:
|
|
934
|
+
isOpen: h == `id${r}`,
|
|
935
935
|
onClick: () => D.setState(() => ({
|
|
936
|
-
selectedIndicator:
|
|
936
|
+
selectedIndicator: h == `id${r}` ? "" : `id${r}`
|
|
937
937
|
})),
|
|
938
938
|
showBottomBar: !1,
|
|
939
939
|
height: 38,
|
|
940
940
|
titleMarginChildren: 14,
|
|
941
941
|
className: "tematicalFiltersInputContainer",
|
|
942
|
-
color:
|
|
942
|
+
color: b,
|
|
943
943
|
activeColor: d,
|
|
944
944
|
children: [
|
|
945
|
-
t == "both" && /* @__PURE__ */
|
|
945
|
+
t == "both" && /* @__PURE__ */ g(
|
|
946
946
|
"div",
|
|
947
947
|
{
|
|
948
|
-
className:
|
|
949
|
-
style: { color:
|
|
948
|
+
className: re.inputTypeContainer,
|
|
949
|
+
style: { color: b },
|
|
950
950
|
children: [
|
|
951
|
-
/* @__PURE__ */
|
|
951
|
+
/* @__PURE__ */ g("label", { children: [
|
|
952
952
|
/* @__PURE__ */ s(
|
|
953
953
|
"input",
|
|
954
954
|
{
|
|
@@ -961,13 +961,13 @@ const L2 = "_tematicalFiltersInputContainer_1vm1r_2", T2 = "_inputTypeContainer_
|
|
|
961
961
|
style: {
|
|
962
962
|
marginRight: 4,
|
|
963
963
|
backgroundColor: o == "abs" ? f : "white",
|
|
964
|
-
border: `1.5px solid ${o == "abs" ? f :
|
|
964
|
+
border: `1.5px solid ${o == "abs" ? f : b}`
|
|
965
965
|
}
|
|
966
966
|
}
|
|
967
967
|
),
|
|
968
968
|
"Absoluto"
|
|
969
969
|
] }),
|
|
970
|
-
/* @__PURE__ */
|
|
970
|
+
/* @__PURE__ */ g("label", { children: [
|
|
971
971
|
/* @__PURE__ */ s(
|
|
972
972
|
"input",
|
|
973
973
|
{
|
|
@@ -980,7 +980,7 @@ const L2 = "_tematicalFiltersInputContainer_1vm1r_2", T2 = "_inputTypeContainer_
|
|
|
980
980
|
style: {
|
|
981
981
|
marginRight: 4,
|
|
982
982
|
backgroundColor: o == "cat" ? f : "white",
|
|
983
|
-
border: `1.5px solid ${o == "cat" ? f :
|
|
983
|
+
border: `1.5px solid ${o == "cat" ? f : b}`
|
|
984
984
|
}
|
|
985
985
|
}
|
|
986
986
|
),
|
|
@@ -989,10 +989,10 @@ const L2 = "_tematicalFiltersInputContainer_1vm1r_2", T2 = "_inputTypeContainer_
|
|
|
989
989
|
]
|
|
990
990
|
}
|
|
991
991
|
),
|
|
992
|
-
m && /* @__PURE__ */ s("div", { className:
|
|
992
|
+
m && /* @__PURE__ */ s("div", { className: re.checkboxContainer, children: l.map((w, v) => {
|
|
993
993
|
var S;
|
|
994
994
|
return /* @__PURE__ */ s(
|
|
995
|
-
|
|
995
|
+
Xe,
|
|
996
996
|
{
|
|
997
997
|
onClick: () => _({ valueClicked: v, allValues: l }),
|
|
998
998
|
indicator: w,
|
|
@@ -1001,8 +1001,8 @@ const L2 = "_tematicalFiltersInputContainer_1vm1r_2", T2 = "_inputTypeContainer_
|
|
|
1001
1001
|
`checkbox-${v}`
|
|
1002
1002
|
);
|
|
1003
1003
|
}) }),
|
|
1004
|
-
|
|
1005
|
-
|
|
1004
|
+
y && /* @__PURE__ */ s("div", { className: re.absoluteSliderContainer, children: /* @__PURE__ */ s(
|
|
1005
|
+
Qe,
|
|
1006
1006
|
{
|
|
1007
1007
|
onChange: _,
|
|
1008
1008
|
min: a,
|
|
@@ -1016,7 +1016,7 @@ const L2 = "_tematicalFiltersInputContainer_1vm1r_2", T2 = "_inputTypeContainer_
|
|
|
1016
1016
|
}
|
|
1017
1017
|
) });
|
|
1018
1018
|
};
|
|
1019
|
-
|
|
1019
|
+
Le.propTypes = {
|
|
1020
1020
|
indicator: e.shape({
|
|
1021
1021
|
name: e.string,
|
|
1022
1022
|
type: e.string,
|
|
@@ -1031,7 +1031,7 @@ De.propTypes = {
|
|
|
1031
1031
|
activeColor: e.string
|
|
1032
1032
|
//onChangeBothType: PropTypes.func,
|
|
1033
1033
|
};
|
|
1034
|
-
const
|
|
1034
|
+
const et = ({
|
|
1035
1035
|
subcategory: n,
|
|
1036
1036
|
fontColor: d,
|
|
1037
1037
|
activeColor: o
|
|
@@ -1055,7 +1055,7 @@ const Xe = ({
|
|
|
1055
1055
|
color: d,
|
|
1056
1056
|
activeColor: o,
|
|
1057
1057
|
children: r == null ? void 0 : r.map((l, a) => /* @__PURE__ */ s(
|
|
1058
|
-
|
|
1058
|
+
Le,
|
|
1059
1059
|
{
|
|
1060
1060
|
indicator: l,
|
|
1061
1061
|
fontColor: d,
|
|
@@ -1066,7 +1066,7 @@ const Xe = ({
|
|
|
1066
1066
|
}
|
|
1067
1067
|
);
|
|
1068
1068
|
};
|
|
1069
|
-
|
|
1069
|
+
et.propTypes = {
|
|
1070
1070
|
subcategory: e.shape({
|
|
1071
1071
|
name: e.string,
|
|
1072
1072
|
indicators: e.arrayOf(
|
|
@@ -1079,7 +1079,7 @@ Xe.propTypes = {
|
|
|
1079
1079
|
activeColor: e.string
|
|
1080
1080
|
//onChangeBothType: PropTypes.func,
|
|
1081
1081
|
};
|
|
1082
|
-
const
|
|
1082
|
+
const tt = ({
|
|
1083
1083
|
category: n,
|
|
1084
1084
|
// onChangeBothType,
|
|
1085
1085
|
activeColor: d
|
|
@@ -1100,7 +1100,7 @@ const Qe = ({
|
|
|
1100
1100
|
color: l,
|
|
1101
1101
|
activeColor: d,
|
|
1102
1102
|
children: i ? i.map((a, c) => /* @__PURE__ */ s(
|
|
1103
|
-
|
|
1103
|
+
et,
|
|
1104
1104
|
{
|
|
1105
1105
|
subcategory: a,
|
|
1106
1106
|
fontColor: l,
|
|
@@ -1108,7 +1108,7 @@ const Qe = ({
|
|
|
1108
1108
|
},
|
|
1109
1109
|
`subcategory-${c}`
|
|
1110
1110
|
)) : t && t.map((a, c) => /* @__PURE__ */ s(
|
|
1111
|
-
|
|
1111
|
+
Le,
|
|
1112
1112
|
{
|
|
1113
1113
|
indicator: a,
|
|
1114
1114
|
fontColor: l,
|
|
@@ -1119,7 +1119,7 @@ const Qe = ({
|
|
|
1119
1119
|
}
|
|
1120
1120
|
);
|
|
1121
1121
|
};
|
|
1122
|
-
|
|
1122
|
+
tt.propTypes = {
|
|
1123
1123
|
category: e.shape({
|
|
1124
1124
|
name: e.string.isRequired,
|
|
1125
1125
|
subcategories: e.array,
|
|
@@ -1128,7 +1128,7 @@ Qe.propTypes = {
|
|
|
1128
1128
|
activeColor: e.string
|
|
1129
1129
|
//onChangeBothType: PropTypes.func,
|
|
1130
1130
|
};
|
|
1131
|
-
const
|
|
1131
|
+
const nt = ({
|
|
1132
1132
|
indicators: n,
|
|
1133
1133
|
isOpen: d = !0,
|
|
1134
1134
|
title: o,
|
|
@@ -1150,7 +1150,7 @@ const et = ({
|
|
|
1150
1150
|
color: i,
|
|
1151
1151
|
activeColor: r,
|
|
1152
1152
|
children: n == null ? void 0 : n.map((c, u) => /* @__PURE__ */ s(
|
|
1153
|
-
|
|
1153
|
+
tt,
|
|
1154
1154
|
{
|
|
1155
1155
|
category: c,
|
|
1156
1156
|
fontColor: i,
|
|
@@ -1161,7 +1161,7 @@ const et = ({
|
|
|
1161
1161
|
}
|
|
1162
1162
|
);
|
|
1163
1163
|
};
|
|
1164
|
-
|
|
1164
|
+
nt.propTypes = {
|
|
1165
1165
|
isOpen: e.bool,
|
|
1166
1166
|
title: e.string,
|
|
1167
1167
|
indicators: e.arrayOf(e.object),
|
|
@@ -1170,14 +1170,14 @@ et.propTypes = {
|
|
|
1170
1170
|
inputsColor: e.string,
|
|
1171
1171
|
activeColor: e.string
|
|
1172
1172
|
};
|
|
1173
|
-
const
|
|
1174
|
-
FiltersAmbitContainer:
|
|
1175
|
-
FiltersAmbitHeader:
|
|
1176
|
-
FiltersAmbitTitle:
|
|
1177
|
-
FiltersAmbitDescription:
|
|
1178
|
-
FiltersAmbitDescriptionTitle:
|
|
1179
|
-
warning:
|
|
1180
|
-
},
|
|
1173
|
+
const I2 = "_FiltersAmbitContainer_1g9xx_2", R2 = "_FiltersAmbitHeader_1g9xx_7", E2 = "_FiltersAmbitTitle_1g9xx_15", P2 = "_FiltersAmbitDescription_1g9xx_22", j2 = "_FiltersAmbitDescriptionTitle_1g9xx_33", z2 = "_warning_1g9xx_37", W = {
|
|
1174
|
+
FiltersAmbitContainer: I2,
|
|
1175
|
+
FiltersAmbitHeader: R2,
|
|
1176
|
+
FiltersAmbitTitle: E2,
|
|
1177
|
+
FiltersAmbitDescription: P2,
|
|
1178
|
+
FiltersAmbitDescriptionTitle: j2,
|
|
1179
|
+
warning: z2
|
|
1180
|
+
}, q2 = ({
|
|
1181
1181
|
ambitName: n,
|
|
1182
1182
|
ambitDescription: d,
|
|
1183
1183
|
defaultFilters: o,
|
|
@@ -1190,54 +1190,54 @@ const A2 = "_FiltersAmbitContainer_1g9xx_2", O2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1190
1190
|
namePlaceholder: u,
|
|
1191
1191
|
descPlaceholder: p,
|
|
1192
1192
|
filtersTypes: m = ["geographical", "tematical"],
|
|
1193
|
-
nameRequiredText:
|
|
1193
|
+
nameRequiredText: y
|
|
1194
1194
|
}) => {
|
|
1195
|
-
const { t:
|
|
1195
|
+
const { t: C } = k(), { tematicalFiltersSelected: h } = D((B) => B), [b, f] = F(n || null), [_, x] = F(d || null), [w, v] = F(!1);
|
|
1196
1196
|
L(() => {
|
|
1197
|
-
o && o.length > 0 && D.setState((
|
|
1197
|
+
o && o.length > 0 && D.setState((B) => ({
|
|
1198
1198
|
tematicalFiltersSelected: o
|
|
1199
1199
|
}));
|
|
1200
1200
|
}, [o]), L(() => {
|
|
1201
|
-
console.log("filtersSelected changed: ",
|
|
1202
|
-
}, [
|
|
1201
|
+
console.log("filtersSelected changed: ", h), a(h);
|
|
1202
|
+
}, [h]);
|
|
1203
1203
|
const S = () => {
|
|
1204
|
-
|
|
1204
|
+
b ? c({ name: b, description: _ }) : v(!0);
|
|
1205
1205
|
};
|
|
1206
|
-
return /* @__PURE__ */
|
|
1207
|
-
/* @__PURE__ */
|
|
1206
|
+
return /* @__PURE__ */ g("div", { className: W.FiltersAmbitContainer, children: [
|
|
1207
|
+
/* @__PURE__ */ g("div", { className: W.FiltersAmbitHeader, children: [
|
|
1208
1208
|
/* @__PURE__ */ s("div", { className: W.FiltersAmbitTitle, children: /* @__PURE__ */ s(
|
|
1209
1209
|
"input",
|
|
1210
1210
|
{
|
|
1211
1211
|
type: "text",
|
|
1212
|
-
onChange: (
|
|
1213
|
-
v(!1), f(
|
|
1212
|
+
onChange: (B) => {
|
|
1213
|
+
v(!1), f(B.target.value);
|
|
1214
1214
|
},
|
|
1215
|
-
value:
|
|
1216
|
-
placeholder:
|
|
1215
|
+
value: b,
|
|
1216
|
+
placeholder: C(u)
|
|
1217
1217
|
}
|
|
1218
1218
|
) }),
|
|
1219
1219
|
/* @__PURE__ */ s("div", { className: W.FiltersAmbitDescription, children: /* @__PURE__ */ s("div", { className: W.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ s(
|
|
1220
1220
|
"textarea",
|
|
1221
1221
|
{
|
|
1222
1222
|
value: _,
|
|
1223
|
-
onChange: (
|
|
1224
|
-
placeholder:
|
|
1223
|
+
onChange: (B) => x(B.target.value),
|
|
1224
|
+
placeholder: C(p)
|
|
1225
1225
|
}
|
|
1226
1226
|
) }) })
|
|
1227
1227
|
] }),
|
|
1228
1228
|
/* @__PURE__ */ s(
|
|
1229
|
-
|
|
1229
|
+
We,
|
|
1230
1230
|
{
|
|
1231
|
-
title:
|
|
1231
|
+
title: C("applied_filters"),
|
|
1232
1232
|
isOpen: !0,
|
|
1233
1233
|
textColor: r || "#fff",
|
|
1234
1234
|
backgroundColor: l || "#605B5680",
|
|
1235
1235
|
activeColor: t
|
|
1236
1236
|
}
|
|
1237
1237
|
),
|
|
1238
|
-
m.includes("geographical") && /* @__PURE__ */ s(
|
|
1238
|
+
m.includes("geographical") && /* @__PURE__ */ s(Je, { activeColor: t }),
|
|
1239
1239
|
m.includes("tematical") && /* @__PURE__ */ s(
|
|
1240
|
-
|
|
1240
|
+
nt,
|
|
1241
1241
|
{
|
|
1242
1242
|
indicators: i,
|
|
1243
1243
|
inputsColor: t,
|
|
@@ -1246,11 +1246,11 @@ const A2 = "_FiltersAmbitContainer_1g9xx_2", O2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1246
1246
|
activeColor: t
|
|
1247
1247
|
}
|
|
1248
1248
|
),
|
|
1249
|
-
w && /* @__PURE__ */ s("div", { className: W.warning, children:
|
|
1250
|
-
/* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(
|
|
1249
|
+
w && /* @__PURE__ */ s("div", { className: W.warning, children: C(y) }),
|
|
1250
|
+
/* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(ce, { onClick: () => S(), children: C("save_ambit") }) })
|
|
1251
1251
|
] });
|
|
1252
1252
|
};
|
|
1253
|
-
|
|
1253
|
+
q2.propTypes = {
|
|
1254
1254
|
indicators: e.arrayOf(e.object).isRequired,
|
|
1255
1255
|
ambitName: e.string,
|
|
1256
1256
|
ambitDescription: e.string,
|
|
@@ -1265,9 +1265,9 @@ j2.propTypes = {
|
|
|
1265
1265
|
filtersTypes: e.arrayOf(e.string).isRequired,
|
|
1266
1266
|
nameRequiredText: e.string
|
|
1267
1267
|
};
|
|
1268
|
-
const
|
|
1269
|
-
barChartContainer:
|
|
1270
|
-
},
|
|
1268
|
+
const Z2 = "_barChartContainer_d2f1z_2", H2 = {
|
|
1269
|
+
barChartContainer: Z2
|
|
1270
|
+
}, it = ({
|
|
1271
1271
|
data: n,
|
|
1272
1272
|
width: d = 700,
|
|
1273
1273
|
barHeight: o = 25,
|
|
@@ -1279,13 +1279,13 @@ const q2 = "_barChartContainer_d2f1z_2", z2 = {
|
|
|
1279
1279
|
numberOfDivisions: c = 7,
|
|
1280
1280
|
maxValue: u = null
|
|
1281
1281
|
}) => {
|
|
1282
|
-
const { t: p } = k(), { xScale: m, ticks:
|
|
1282
|
+
const { t: p } = k(), { xScale: m, ticks: y, height: C } = le(() => {
|
|
1283
1283
|
if (n && n.length > 0) {
|
|
1284
|
-
const
|
|
1284
|
+
const h = (n == null ? void 0 : n.length) * (o + i) + r * 2, b = $e.max(n, (x) => x.value) || 1, f = $e.scaleLinear().domain([0, u || b]).range([0, d - a]), _ = Array.from({ length: c + 1 }, (x, w) => u ? u / c * w : b / c * w);
|
|
1285
1285
|
return {
|
|
1286
1286
|
xScale: f,
|
|
1287
1287
|
ticks: _,
|
|
1288
|
-
height:
|
|
1288
|
+
height: h,
|
|
1289
1289
|
width: d,
|
|
1290
1290
|
verticalPaddign: r,
|
|
1291
1291
|
horizontalPaddign: l
|
|
@@ -1302,33 +1302,33 @@ const q2 = "_barChartContainer_d2f1z_2", z2 = {
|
|
|
1302
1302
|
r,
|
|
1303
1303
|
u
|
|
1304
1304
|
]);
|
|
1305
|
-
return /* @__PURE__ */ s("div", { className:
|
|
1306
|
-
/* @__PURE__ */ s("g", { transform: `translate(${a + l}, 0)`, children:
|
|
1307
|
-
const f = m(
|
|
1308
|
-
return /* @__PURE__ */
|
|
1305
|
+
return /* @__PURE__ */ s("div", { className: H2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + l * 2, height: C, children: /* @__PURE__ */ g("g", { transform: `translate(0,${i})`, children: [
|
|
1306
|
+
/* @__PURE__ */ s("g", { transform: `translate(${a + l}, 0)`, children: y.map((h, b) => {
|
|
1307
|
+
const f = m(h);
|
|
1308
|
+
return /* @__PURE__ */ g("g", { transform: `translate(${f}, 0)`, children: [
|
|
1309
1309
|
/* @__PURE__ */ s(
|
|
1310
1310
|
"line",
|
|
1311
1311
|
{
|
|
1312
1312
|
y1: 0,
|
|
1313
|
-
y2:
|
|
1313
|
+
y2: C - i * 2,
|
|
1314
1314
|
stroke: "#ccc"
|
|
1315
1315
|
}
|
|
1316
1316
|
),
|
|
1317
1317
|
/* @__PURE__ */ s(
|
|
1318
1318
|
"text",
|
|
1319
1319
|
{
|
|
1320
|
-
y:
|
|
1320
|
+
y: C - i,
|
|
1321
1321
|
textAnchor: "middle",
|
|
1322
1322
|
fontSize: 10,
|
|
1323
1323
|
fill: t,
|
|
1324
|
-
children: parseInt(
|
|
1324
|
+
children: parseInt(h)
|
|
1325
1325
|
}
|
|
1326
1326
|
)
|
|
1327
|
-
] },
|
|
1327
|
+
] }, b);
|
|
1328
1328
|
}) }),
|
|
1329
|
-
n && n.length > 0 && (n == null ? void 0 : n.map((
|
|
1330
|
-
const f = m(
|
|
1331
|
-
return /* @__PURE__ */
|
|
1329
|
+
n && n.length > 0 && (n == null ? void 0 : n.map((h, b) => {
|
|
1330
|
+
const f = m(h.value), _ = b * (o + i);
|
|
1331
|
+
return /* @__PURE__ */ g(
|
|
1332
1332
|
"g",
|
|
1333
1333
|
{
|
|
1334
1334
|
transform: `translate(${a + l}, ${_})`,
|
|
@@ -1340,7 +1340,7 @@ const q2 = "_barChartContainer_d2f1z_2", z2 = {
|
|
|
1340
1340
|
y: o / 2 + 5,
|
|
1341
1341
|
textAnchor: "end",
|
|
1342
1342
|
fill: t,
|
|
1343
|
-
children: p(
|
|
1343
|
+
children: p(h.title)
|
|
1344
1344
|
}
|
|
1345
1345
|
),
|
|
1346
1346
|
/* @__PURE__ */ s(
|
|
@@ -1348,18 +1348,18 @@ const q2 = "_barChartContainer_d2f1z_2", z2 = {
|
|
|
1348
1348
|
{
|
|
1349
1349
|
width: f,
|
|
1350
1350
|
height: o,
|
|
1351
|
-
fill:
|
|
1351
|
+
fill: h.color,
|
|
1352
1352
|
rx: 0
|
|
1353
1353
|
}
|
|
1354
1354
|
)
|
|
1355
1355
|
]
|
|
1356
1356
|
},
|
|
1357
|
-
|
|
1357
|
+
b
|
|
1358
1358
|
);
|
|
1359
1359
|
}))
|
|
1360
1360
|
] }) }) });
|
|
1361
1361
|
};
|
|
1362
|
-
|
|
1362
|
+
it.propTypes = {
|
|
1363
1363
|
data: e.arrayOf(
|
|
1364
1364
|
e.shape({
|
|
1365
1365
|
title: e.string,
|
|
@@ -1375,10 +1375,10 @@ tt.propTypes = {
|
|
|
1375
1375
|
numberOfDivisions: e.number,
|
|
1376
1376
|
fontColor: e.string
|
|
1377
1377
|
};
|
|
1378
|
-
const
|
|
1379
|
-
graphicContainer:
|
|
1380
|
-
titleContainer:
|
|
1381
|
-
},
|
|
1378
|
+
const K2 = "_graphicContainer_c9zrg_2", U2 = "_titleContainer_c9zrg_14", Ie = {
|
|
1379
|
+
graphicContainer: K2,
|
|
1380
|
+
titleContainer: U2
|
|
1381
|
+
}, G2 = ({
|
|
1382
1382
|
data: n,
|
|
1383
1383
|
graphWidth: d = 700,
|
|
1384
1384
|
containerStyle: o,
|
|
@@ -1390,18 +1390,18 @@ const Z2 = "_graphicContainer_c9zrg_2", H2 = "_titleContainer_c9zrg_14", Oe = {
|
|
|
1390
1390
|
leftPadding: c = 200
|
|
1391
1391
|
}) => {
|
|
1392
1392
|
const { t: u } = k();
|
|
1393
|
-
return /* @__PURE__ */
|
|
1393
|
+
return /* @__PURE__ */ g(
|
|
1394
1394
|
"div",
|
|
1395
1395
|
{
|
|
1396
|
-
className:
|
|
1396
|
+
className: Ie.graphicContainer,
|
|
1397
1397
|
style: {
|
|
1398
1398
|
...o || {},
|
|
1399
1399
|
border: `1.5px solid ${i}`
|
|
1400
1400
|
},
|
|
1401
1401
|
children: [
|
|
1402
|
-
/* @__PURE__ */ s("div", { className:
|
|
1402
|
+
/* @__PURE__ */ s("div", { className: Ie.titleContainer, children: /* @__PURE__ */ s("h2", { children: u(t) }) }),
|
|
1403
1403
|
/* @__PURE__ */ s(
|
|
1404
|
-
|
|
1404
|
+
it,
|
|
1405
1405
|
{
|
|
1406
1406
|
data: n,
|
|
1407
1407
|
width: d,
|
|
@@ -1415,7 +1415,7 @@ const Z2 = "_graphicContainer_c9zrg_2", H2 = "_titleContainer_c9zrg_14", Oe = {
|
|
|
1415
1415
|
}
|
|
1416
1416
|
);
|
|
1417
1417
|
};
|
|
1418
|
-
|
|
1418
|
+
G2.propTypes = {
|
|
1419
1419
|
data: e.arrayOf(
|
|
1420
1420
|
e.shape({
|
|
1421
1421
|
color: e.string.isRequired,
|
|
@@ -1432,22 +1432,22 @@ K2.propTypes = {
|
|
|
1432
1432
|
numberOfDivisions: e.number,
|
|
1433
1433
|
leftPadding: e.number
|
|
1434
1434
|
};
|
|
1435
|
-
const
|
|
1436
|
-
indicatorsCategory:
|
|
1437
|
-
title:
|
|
1438
|
-
list:
|
|
1439
|
-
},
|
|
1440
|
-
indicatorContainer:
|
|
1441
|
-
indicatorNameContainer:
|
|
1442
|
-
dot:
|
|
1443
|
-
indicatorName:
|
|
1444
|
-
switchExternalContainer:
|
|
1445
|
-
switchType:
|
|
1446
|
-
switchTypeOptions:
|
|
1447
|
-
optionContainer:
|
|
1448
|
-
customRadious:
|
|
1449
|
-
optionText:
|
|
1450
|
-
},
|
|
1435
|
+
const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu33_11", Ce = {
|
|
1436
|
+
indicatorsCategory: Y2,
|
|
1437
|
+
title: W2,
|
|
1438
|
+
list: J2
|
|
1439
|
+
}, X2 = "_indicatorContainer_lw8gx_2", Q2 = "_indicatorNameContainer_lw8gx_11", e0 = "_dot_lw8gx_20", t0 = "_indicatorName_lw8gx_11", n0 = "_switchExternalContainer_lw8gx_31", i0 = "_switchType_lw8gx_40", o0 = "_switchTypeOptions_lw8gx_44", s0 = "_optionContainer_lw8gx_55", r0 = "_customRadious_lw8gx_65", a0 = "_optionText_lw8gx_72", M = {
|
|
1440
|
+
indicatorContainer: X2,
|
|
1441
|
+
indicatorNameContainer: Q2,
|
|
1442
|
+
dot: e0,
|
|
1443
|
+
indicatorName: t0,
|
|
1444
|
+
switchExternalContainer: n0,
|
|
1445
|
+
switchType: i0,
|
|
1446
|
+
switchTypeOptions: o0,
|
|
1447
|
+
optionContainer: s0,
|
|
1448
|
+
customRadious: r0,
|
|
1449
|
+
optionText: a0
|
|
1450
|
+
}, Te = ({
|
|
1451
1451
|
indicator: n,
|
|
1452
1452
|
values: d = [],
|
|
1453
1453
|
activeColor: o,
|
|
@@ -1458,16 +1458,16 @@ const U2 = "_indicatorsCategory_1cu33_2", G2 = "_title_1cu33_5", Y2 = "_list_1cu
|
|
|
1458
1458
|
multiple: a = !1,
|
|
1459
1459
|
onChangeType: c
|
|
1460
1460
|
}) => {
|
|
1461
|
-
const { t: u } = k(), { name: p, type: m } = n, [
|
|
1461
|
+
const { t: u } = k(), { name: p, type: m } = n, [y, C] = F(!1);
|
|
1462
1462
|
L(() => {
|
|
1463
|
-
t &&
|
|
1463
|
+
t && C(
|
|
1464
1464
|
a ? t.some(
|
|
1465
1465
|
(f) => f.name == String(p)
|
|
1466
1466
|
) : t.name == p
|
|
1467
1467
|
);
|
|
1468
1468
|
}, [t]);
|
|
1469
|
-
const
|
|
1470
|
-
/* @__PURE__ */
|
|
1469
|
+
const h = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */ g("div", { className: M.switchTypeOptions, children: [
|
|
1470
|
+
/* @__PURE__ */ g(
|
|
1471
1471
|
"div",
|
|
1472
1472
|
{
|
|
1473
1473
|
className: M.optionContainer,
|
|
@@ -1496,7 +1496,7 @@ const U2 = "_indicatorsCategory_1cu33_2", G2 = "_title_1cu33_5", Y2 = "_list_1cu
|
|
|
1496
1496
|
]
|
|
1497
1497
|
}
|
|
1498
1498
|
),
|
|
1499
|
-
/* @__PURE__ */
|
|
1499
|
+
/* @__PURE__ */ g(
|
|
1500
1500
|
"div",
|
|
1501
1501
|
{
|
|
1502
1502
|
className: M.optionContainer,
|
|
@@ -1525,7 +1525,7 @@ const U2 = "_indicatorsCategory_1cu33_2", G2 = "_title_1cu33_5", Y2 = "_list_1cu
|
|
|
1525
1525
|
]
|
|
1526
1526
|
}
|
|
1527
1527
|
)
|
|
1528
|
-
] }) }) }),
|
|
1528
|
+
] }) }) }), b = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */ s("div", { className: M.switchTypeOptions, children: d.map((f, _) => /* @__PURE__ */ g(
|
|
1529
1529
|
"div",
|
|
1530
1530
|
{
|
|
1531
1531
|
className: M.optionContainer,
|
|
@@ -1541,8 +1541,8 @@ const U2 = "_indicatorsCategory_1cu33_2", G2 = "_title_1cu33_5", Y2 = "_list_1cu
|
|
|
1541
1541
|
},
|
|
1542
1542
|
_
|
|
1543
1543
|
)) }) }) });
|
|
1544
|
-
return /* @__PURE__ */
|
|
1545
|
-
/* @__PURE__ */
|
|
1544
|
+
return /* @__PURE__ */ g("div", { className: M.indicatorContainer, children: [
|
|
1545
|
+
/* @__PURE__ */ g(
|
|
1546
1546
|
"div",
|
|
1547
1547
|
{
|
|
1548
1548
|
className: M.indicatorNameContainer,
|
|
@@ -1552,7 +1552,7 @@ const U2 = "_indicatorsCategory_1cu33_2", G2 = "_title_1cu33_5", Y2 = "_list_1cu
|
|
|
1552
1552
|
"div",
|
|
1553
1553
|
{
|
|
1554
1554
|
style: {
|
|
1555
|
-
border:
|
|
1555
|
+
border: y ? `1px solid ${o}` : `1px solid ${i}`
|
|
1556
1556
|
},
|
|
1557
1557
|
className: M.dot
|
|
1558
1558
|
}
|
|
@@ -1561,18 +1561,18 @@ const U2 = "_indicatorsCategory_1cu33_2", G2 = "_title_1cu33_5", Y2 = "_list_1cu
|
|
|
1561
1561
|
"h4",
|
|
1562
1562
|
{
|
|
1563
1563
|
className: M.indicatorName,
|
|
1564
|
-
style: { color:
|
|
1564
|
+
style: { color: y ? o : i },
|
|
1565
1565
|
children: /* @__PURE__ */ s(Me, { i18nKey: p, components: { sup: /* @__PURE__ */ s("sup", {}) } })
|
|
1566
1566
|
}
|
|
1567
1567
|
)
|
|
1568
1568
|
]
|
|
1569
1569
|
}
|
|
1570
1570
|
),
|
|
1571
|
-
(t == null ? void 0 : t.name) === p && m === "both" && /* @__PURE__ */ s("div", { children:
|
|
1572
|
-
(t == null ? void 0 : t.name) === p && m === "twoUnits" && /* @__PURE__ */ s("div", { children:
|
|
1571
|
+
(t == null ? void 0 : t.name) === p && m === "both" && /* @__PURE__ */ s("div", { children: h() }),
|
|
1572
|
+
(t == null ? void 0 : t.name) === p && m === "twoUnits" && /* @__PURE__ */ s("div", { children: b() })
|
|
1573
1573
|
] });
|
|
1574
1574
|
};
|
|
1575
|
-
|
|
1575
|
+
Te.propTypes = {
|
|
1576
1576
|
indicator: e.shape({
|
|
1577
1577
|
name: e.string,
|
|
1578
1578
|
type: e.string
|
|
@@ -1584,10 +1584,10 @@ Le.propTypes = {
|
|
|
1584
1584
|
multiple: e.bool,
|
|
1585
1585
|
onClickIndicator: e.func
|
|
1586
1586
|
};
|
|
1587
|
-
const
|
|
1588
|
-
indicatorsSubCategory:
|
|
1589
|
-
list:
|
|
1590
|
-
},
|
|
1587
|
+
const l0 = "_indicatorsSubCategory_1dzsi_2", c0 = "_list_1dzsi_8", Re = {
|
|
1588
|
+
indicatorsSubCategory: l0,
|
|
1589
|
+
list: c0
|
|
1590
|
+
}, ot = ({
|
|
1591
1591
|
subcName: n,
|
|
1592
1592
|
indicators: d,
|
|
1593
1593
|
defaultColor: o,
|
|
@@ -1601,31 +1601,31 @@ const r0 = "_indicatorsSubCategory_1dzsi_2", a0 = "_list_1dzsi_8", Ie = {
|
|
|
1601
1601
|
activeIndicatorType: p,
|
|
1602
1602
|
onChangeType: m
|
|
1603
1603
|
}) => {
|
|
1604
|
-
const { t:
|
|
1604
|
+
const { t: y } = k(), [C, h] = F(!1);
|
|
1605
1605
|
return L(() => {
|
|
1606
|
-
|
|
1607
|
-
}, [t, l]), /* @__PURE__ */
|
|
1608
|
-
|
|
1606
|
+
h(t == l);
|
|
1607
|
+
}, [t, l]), /* @__PURE__ */ g(
|
|
1608
|
+
De.div,
|
|
1609
1609
|
{
|
|
1610
|
-
className:
|
|
1610
|
+
className: Re.indicatorsSubCategory,
|
|
1611
1611
|
initial: { height: "43px" },
|
|
1612
|
-
animate: { height:
|
|
1612
|
+
animate: { height: C ? "auto" : "43px" },
|
|
1613
1613
|
transition: { duration: 0.4 },
|
|
1614
1614
|
children: [
|
|
1615
|
-
/* @__PURE__ */ s("button", { onClick: () => r(l), children: /* @__PURE__ */
|
|
1616
|
-
/* @__PURE__ */ s("span", { style: { color:
|
|
1615
|
+
/* @__PURE__ */ s("button", { onClick: () => r(l), children: /* @__PURE__ */ g("h3", { style: { color: C ? i : o }, children: [
|
|
1616
|
+
/* @__PURE__ */ s("span", { style: { color: C ? i : o }, children: C ? "-" : "+" }),
|
|
1617
1617
|
/* @__PURE__ */ s(
|
|
1618
1618
|
"span",
|
|
1619
1619
|
{
|
|
1620
|
-
style: { marginLeft: 12, color:
|
|
1621
|
-
children:
|
|
1620
|
+
style: { marginLeft: 12, color: C ? i : o },
|
|
1621
|
+
children: y(n)
|
|
1622
1622
|
}
|
|
1623
1623
|
)
|
|
1624
1624
|
] }) }),
|
|
1625
|
-
d && /* @__PURE__ */ s("div", { className:
|
|
1626
|
-
|
|
1625
|
+
d && /* @__PURE__ */ s("div", { className: Re.list, children: d == null ? void 0 : d.map((b, f) => /* @__PURE__ */ s(
|
|
1626
|
+
Te,
|
|
1627
1627
|
{
|
|
1628
|
-
indicator:
|
|
1628
|
+
indicator: b,
|
|
1629
1629
|
defaultColor: o,
|
|
1630
1630
|
activeColor: i,
|
|
1631
1631
|
activeIndicator: a,
|
|
@@ -1640,7 +1640,7 @@ const r0 = "_indicatorsSubCategory_1dzsi_2", a0 = "_list_1dzsi_8", Ie = {
|
|
|
1640
1640
|
}
|
|
1641
1641
|
);
|
|
1642
1642
|
};
|
|
1643
|
-
|
|
1643
|
+
ot.propTypes = {
|
|
1644
1644
|
subcName: e.string,
|
|
1645
1645
|
indicators: e.array,
|
|
1646
1646
|
activeColor: e.string,
|
|
@@ -1652,7 +1652,7 @@ nt.propTypes = {
|
|
|
1652
1652
|
onClickSubCategory: e.func,
|
|
1653
1653
|
onClickIndicator: e.func
|
|
1654
1654
|
};
|
|
1655
|
-
const
|
|
1655
|
+
const st = ({
|
|
1656
1656
|
cat: n,
|
|
1657
1657
|
id: d,
|
|
1658
1658
|
activeColor: o,
|
|
@@ -1665,38 +1665,38 @@ const it = ({
|
|
|
1665
1665
|
onClickIndicator: u,
|
|
1666
1666
|
multiple: p,
|
|
1667
1667
|
activeIndicatorType: m,
|
|
1668
|
-
onChangeType:
|
|
1668
|
+
onChangeType: y
|
|
1669
1669
|
}) => {
|
|
1670
1670
|
var f;
|
|
1671
|
-
const { t:
|
|
1671
|
+
const { t: C } = k(), [h, b] = F(!1);
|
|
1672
1672
|
return L(() => {
|
|
1673
|
-
|
|
1674
|
-
}, [r, d]), /* @__PURE__ */
|
|
1675
|
-
|
|
1673
|
+
b(r === d);
|
|
1674
|
+
}, [r, d]), /* @__PURE__ */ g(
|
|
1675
|
+
De.div,
|
|
1676
1676
|
{
|
|
1677
|
-
className:
|
|
1677
|
+
className: Ce.indicatorsCategory,
|
|
1678
1678
|
initial: { height: "53px" },
|
|
1679
|
-
animate: { height:
|
|
1679
|
+
animate: { height: h ? "auto" : "53px" },
|
|
1680
1680
|
transition: { duration: 0.4 },
|
|
1681
1681
|
style: {
|
|
1682
1682
|
backgroundColor: "white",
|
|
1683
|
-
borderBottom:
|
|
1684
|
-
marginBottom:
|
|
1683
|
+
borderBottom: h ? `1px solid ${o}` : "0px",
|
|
1684
|
+
marginBottom: h ? "20px" : "0px"
|
|
1685
1685
|
},
|
|
1686
1686
|
children: [
|
|
1687
|
-
/* @__PURE__ */
|
|
1688
|
-
/* @__PURE__ */ s("span", { style: { color:
|
|
1687
|
+
/* @__PURE__ */ g("h2", { className: `${Ce.title}`, onClick: () => t(d), children: [
|
|
1688
|
+
/* @__PURE__ */ s("span", { style: { color: h ? o : i }, children: h ? "-" : "+" }),
|
|
1689
1689
|
/* @__PURE__ */ s(
|
|
1690
1690
|
"span",
|
|
1691
1691
|
{
|
|
1692
|
-
style: { marginLeft: 12, color:
|
|
1693
|
-
children:
|
|
1692
|
+
style: { marginLeft: 12, color: h ? o : i },
|
|
1693
|
+
children: C(n.name)
|
|
1694
1694
|
}
|
|
1695
1695
|
)
|
|
1696
1696
|
] }),
|
|
1697
1697
|
n.subcategories ? n.subcategories.map(
|
|
1698
1698
|
({ name: _, subcategory: x, indicators: w }, v) => /* @__PURE__ */ s(
|
|
1699
|
-
|
|
1699
|
+
ot,
|
|
1700
1700
|
{
|
|
1701
1701
|
id: x,
|
|
1702
1702
|
activeSubCategory: l,
|
|
@@ -1709,12 +1709,12 @@ const it = ({
|
|
|
1709
1709
|
defaultColor: i,
|
|
1710
1710
|
indicators: w,
|
|
1711
1711
|
activeIndicatorType: m,
|
|
1712
|
-
onChangeType:
|
|
1712
|
+
onChangeType: y
|
|
1713
1713
|
},
|
|
1714
1714
|
`subcKey ${v}`
|
|
1715
1715
|
)
|
|
1716
|
-
) : /* @__PURE__ */ s("div", { className:
|
|
1717
|
-
|
|
1716
|
+
) : /* @__PURE__ */ s("div", { className: Ce.list, children: (f = n.indicators) == null ? void 0 : f.map((_, x) => /* @__PURE__ */ s(
|
|
1717
|
+
Te,
|
|
1718
1718
|
{
|
|
1719
1719
|
indicator: _,
|
|
1720
1720
|
values: _.type == "twoUnits" && _.values,
|
|
@@ -1724,7 +1724,7 @@ const it = ({
|
|
|
1724
1724
|
onClickIndicator: u,
|
|
1725
1725
|
multiple: p,
|
|
1726
1726
|
activeIndicatorType: m,
|
|
1727
|
-
onChangeType:
|
|
1727
|
+
onChangeType: y
|
|
1728
1728
|
},
|
|
1729
1729
|
`indicator${x}`
|
|
1730
1730
|
)) })
|
|
@@ -1732,7 +1732,7 @@ const it = ({
|
|
|
1732
1732
|
}
|
|
1733
1733
|
);
|
|
1734
1734
|
};
|
|
1735
|
-
|
|
1735
|
+
st.propTypes = {
|
|
1736
1736
|
cat: e.object,
|
|
1737
1737
|
id: e.string,
|
|
1738
1738
|
onChange: e.func,
|
|
@@ -1746,10 +1746,10 @@ it.propTypes = {
|
|
|
1746
1746
|
activeColor: e.string,
|
|
1747
1747
|
defaultColor: e.string
|
|
1748
1748
|
};
|
|
1749
|
-
const
|
|
1750
|
-
indicatorsList:
|
|
1751
|
-
title:
|
|
1752
|
-
},
|
|
1749
|
+
const d0 = "_indicatorsList_fklyu_2", u0 = "_title_fklyu_6", Ee = {
|
|
1750
|
+
indicatorsList: d0,
|
|
1751
|
+
title: u0
|
|
1752
|
+
}, p0 = ({
|
|
1753
1753
|
indicators: n,
|
|
1754
1754
|
activeColor: d,
|
|
1755
1755
|
defaultColor: o = "#92898A",
|
|
@@ -1763,64 +1763,64 @@ const l0 = "_indicatorsList_fklyu_2", c0 = "_title_fklyu_6", Re = {
|
|
|
1763
1763
|
changeIndType: l,
|
|
1764
1764
|
activeIndicatorType: a
|
|
1765
1765
|
}) => {
|
|
1766
|
-
const { t: c } = k(), [u, p] =
|
|
1766
|
+
const { t: c } = k(), [u, p] = F(), [m, y] = F(), [C, h] = F(), b = (v) => {
|
|
1767
1767
|
p(u == v ? null : v);
|
|
1768
1768
|
}, f = (v) => {
|
|
1769
|
-
|
|
1769
|
+
y(m == v ? null : v);
|
|
1770
1770
|
}, _ = ({ indicator: v }) => {
|
|
1771
1771
|
console.log("onClickIndicator: ", v), x(v);
|
|
1772
1772
|
}, x = (v) => {
|
|
1773
1773
|
if (!t)
|
|
1774
|
-
|
|
1775
|
-
(
|
|
1774
|
+
h(
|
|
1775
|
+
(C == null ? void 0 : C.name) == v.name ? null : v
|
|
1776
1776
|
);
|
|
1777
1777
|
else {
|
|
1778
|
-
let S =
|
|
1779
|
-
|
|
1778
|
+
let S = C && C.length > 0 ? [...C] : [];
|
|
1779
|
+
h(
|
|
1780
1780
|
S != null && S.some(
|
|
1781
|
-
(
|
|
1781
|
+
(B) => B.name == v.name
|
|
1782
1782
|
) ? S.filter(
|
|
1783
|
-
(
|
|
1783
|
+
(B) => B.name != String(v.name)
|
|
1784
1784
|
) : [...S, v]
|
|
1785
1785
|
), v.type == "both" && l("cat");
|
|
1786
1786
|
}
|
|
1787
1787
|
};
|
|
1788
1788
|
L(() => {
|
|
1789
|
-
console.log("activeindicator changed to: ",
|
|
1790
|
-
}, [
|
|
1791
|
-
if (r && !
|
|
1789
|
+
console.log("activeindicator changed to: ", C), i && typeof i == "function" && C && i({ activeIndicator: C });
|
|
1790
|
+
}, [C]), Ct(() => {
|
|
1791
|
+
if (r && !C)
|
|
1792
1792
|
if (t && r && Array.isArray(r)) {
|
|
1793
|
-
let v =
|
|
1794
|
-
|
|
1793
|
+
let v = C && C.length > 0 ? [...C] : [];
|
|
1794
|
+
h([...v, ...r]), w(r[0].name);
|
|
1795
1795
|
} else
|
|
1796
1796
|
x(r), w(r.name);
|
|
1797
1797
|
}, []);
|
|
1798
1798
|
const w = (v) => {
|
|
1799
|
-
const S = n.find((
|
|
1800
|
-
if (
|
|
1801
|
-
let E =
|
|
1802
|
-
(Q) => Q.indicators.find((
|
|
1799
|
+
const S = n.find((B) => {
|
|
1800
|
+
if (B.subcategories) {
|
|
1801
|
+
let E = B.subcategories.find(
|
|
1802
|
+
(Q) => Q.indicators.find((de) => de.name == v)
|
|
1803
1803
|
);
|
|
1804
1804
|
if (E)
|
|
1805
|
-
return
|
|
1805
|
+
return y(E.subcategory), E;
|
|
1806
1806
|
} else
|
|
1807
|
-
return
|
|
1807
|
+
return B.indicators.some((E) => E.name == v);
|
|
1808
1808
|
});
|
|
1809
1809
|
S && p(S.category);
|
|
1810
1810
|
};
|
|
1811
|
-
return /* @__PURE__ */
|
|
1812
|
-
/* @__PURE__ */ s("h2", { className:
|
|
1811
|
+
return /* @__PURE__ */ g("div", { className: Ee.indicatorsList, children: [
|
|
1812
|
+
/* @__PURE__ */ s("h2", { className: Ee.title, style: { color: o }, children: c("indicators.indicators") }),
|
|
1813
1813
|
n.map((v, S) => /* @__PURE__ */ s(
|
|
1814
|
-
|
|
1814
|
+
st,
|
|
1815
1815
|
{
|
|
1816
1816
|
id: v.category,
|
|
1817
1817
|
cat: v,
|
|
1818
|
-
onClickCategory:
|
|
1818
|
+
onClickCategory: b,
|
|
1819
1819
|
activeCategory: u,
|
|
1820
1820
|
onClickSubCategory: f,
|
|
1821
1821
|
activeSubCategory: m,
|
|
1822
1822
|
onClickIndicator: _,
|
|
1823
|
-
activeIndicator:
|
|
1823
|
+
activeIndicator: C,
|
|
1824
1824
|
activeColor: d,
|
|
1825
1825
|
defaultColor: o,
|
|
1826
1826
|
multiple: t,
|
|
@@ -1832,7 +1832,7 @@ const l0 = "_indicatorsList_fklyu_2", c0 = "_title_fklyu_6", Re = {
|
|
|
1832
1832
|
))
|
|
1833
1833
|
] });
|
|
1834
1834
|
};
|
|
1835
|
-
|
|
1835
|
+
p0.propTypes = {
|
|
1836
1836
|
indicators: e.arrayOf(e.object),
|
|
1837
1837
|
activeColor: e.string,
|
|
1838
1838
|
defaultColor: e.string,
|
|
@@ -1843,18 +1843,18 @@ d0.propTypes = {
|
|
|
1843
1843
|
defaultValue: e.oneOfType([e.object, e.array]),
|
|
1844
1844
|
activeIndicatorType: e.string
|
|
1845
1845
|
};
|
|
1846
|
-
const
|
|
1847
|
-
langSelector:
|
|
1848
|
-
currentLang:
|
|
1849
|
-
arrow:
|
|
1850
|
-
prevImg:
|
|
1851
|
-
langMenu:
|
|
1852
|
-
},
|
|
1853
|
-
const [i, t] =
|
|
1846
|
+
const m0 = "_langSelector_o9enq_2", h0 = "_currentLang_o9enq_14", g0 = "_arrow_o9enq_26", C0 = "_prevImg_o9enq_29", f0 = "_langMenu_o9enq_33", J = {
|
|
1847
|
+
langSelector: m0,
|
|
1848
|
+
currentLang: h0,
|
|
1849
|
+
arrow: g0,
|
|
1850
|
+
prevImg: C0,
|
|
1851
|
+
langMenu: f0
|
|
1852
|
+
}, b0 = ({ langs: n, arrow: d, imgPrev: o }) => {
|
|
1853
|
+
const [i, t] = F(!1), { i18n: r } = k(), l = n.find((c) => c.code == r.language), a = (c) => {
|
|
1854
1854
|
r.changeLanguage(c), t(!1);
|
|
1855
1855
|
};
|
|
1856
|
-
return /* @__PURE__ */
|
|
1857
|
-
/* @__PURE__ */
|
|
1856
|
+
return /* @__PURE__ */ g("div", { className: J.langSelector, children: [
|
|
1857
|
+
/* @__PURE__ */ g(
|
|
1858
1858
|
"div",
|
|
1859
1859
|
{
|
|
1860
1860
|
className: J.currentLang,
|
|
@@ -1879,7 +1879,7 @@ const u0 = "_langSelector_o9enq_2", p0 = "_currentLang_o9enq_14", m0 = "_arrow_o
|
|
|
1879
1879
|
)) })
|
|
1880
1880
|
] });
|
|
1881
1881
|
};
|
|
1882
|
-
|
|
1882
|
+
b0.propTypes = {
|
|
1883
1883
|
langs: e.arrayOf(
|
|
1884
1884
|
e.shape({
|
|
1885
1885
|
code: e.string,
|
|
@@ -1893,21 +1893,21 @@ C0.propTypes = {
|
|
|
1893
1893
|
arrow: e.object,
|
|
1894
1894
|
imgPrev: e.object
|
|
1895
1895
|
};
|
|
1896
|
-
const
|
|
1897
|
-
legendContainer:
|
|
1898
|
-
closeButton:
|
|
1899
|
-
titleContainer:
|
|
1900
|
-
infoContainer:
|
|
1901
|
-
titleLegendList:
|
|
1902
|
-
legendListContainer:
|
|
1903
|
-
gridContainer:
|
|
1904
|
-
elementLegendContainer:
|
|
1905
|
-
colorDot:
|
|
1906
|
-
absoluteValueContainer:
|
|
1907
|
-
absoluteValueColor:
|
|
1908
|
-
absoluteValueText:
|
|
1909
|
-
moreInfoContainer:
|
|
1910
|
-
},
|
|
1896
|
+
const y0 = "_legendContainer_atg3j_3", _0 = "_closeButton_atg3j_18", v0 = "_titleContainer_atg3j_46", x0 = "_infoContainer_atg3j_52", w0 = "_titleLegendList_atg3j_63", k0 = "_legendListContainer_atg3j_70", N0 = "_gridContainer_atg3j_70", S0 = "_elementLegendContainer_atg3j_76", B0 = "_colorDot_atg3j_82", F0 = "_absoluteValueContainer_atg3j_88", M0 = "_absoluteValueColor_atg3j_91", D0 = "_absoluteValueText_atg3j_96", L0 = "_moreInfoContainer_atg3j_108", V = {
|
|
1897
|
+
legendContainer: y0,
|
|
1898
|
+
closeButton: _0,
|
|
1899
|
+
titleContainer: v0,
|
|
1900
|
+
infoContainer: x0,
|
|
1901
|
+
titleLegendList: w0,
|
|
1902
|
+
legendListContainer: k0,
|
|
1903
|
+
gridContainer: N0,
|
|
1904
|
+
elementLegendContainer: S0,
|
|
1905
|
+
colorDot: B0,
|
|
1906
|
+
absoluteValueContainer: F0,
|
|
1907
|
+
absoluteValueColor: M0,
|
|
1908
|
+
absoluteValueText: D0,
|
|
1909
|
+
moreInfoContainer: L0
|
|
1910
|
+
}, T0 = ({
|
|
1911
1911
|
//JSON with the styles of the container (optional)
|
|
1912
1912
|
containerStyles: n,
|
|
1913
1913
|
//Title on top of the legend
|
|
@@ -1931,7 +1931,7 @@ const f0 = "_legendContainer_atg3j_3", b0 = "_closeButton_atg3j_18", y0 = "_titl
|
|
|
1931
1931
|
onClickClose: c
|
|
1932
1932
|
}) => {
|
|
1933
1933
|
const { t: u } = k();
|
|
1934
|
-
return /* @__PURE__ */
|
|
1934
|
+
return /* @__PURE__ */ g(
|
|
1935
1935
|
"div",
|
|
1936
1936
|
{
|
|
1937
1937
|
style: n ? { ...n } : {},
|
|
@@ -1939,15 +1939,15 @@ const f0 = "_legendContainer_atg3j_3", b0 = "_closeButton_atg3j_18", y0 = "_titl
|
|
|
1939
1939
|
children: [
|
|
1940
1940
|
/* @__PURE__ */ s("button", { className: V.closeButton, onClick: c }),
|
|
1941
1941
|
d && /* @__PURE__ */ s("div", { className: V.titleContainer, children: /* @__PURE__ */ s("h2", { children: d }) }),
|
|
1942
|
-
o && o.length > 0 && /* @__PURE__ */ s("div", { className: V.infoContainer, children: /* @__PURE__ */ s("ul", { children: o.map(({ title: p, value: m }) => /* @__PURE__ */
|
|
1942
|
+
o && o.length > 0 && /* @__PURE__ */ s("div", { className: V.infoContainer, children: /* @__PURE__ */ s("ul", { children: o.map(({ title: p, value: m }) => /* @__PURE__ */ g("li", { children: [
|
|
1943
1943
|
/* @__PURE__ */ s("h3", { className: V.title, children: `${p}:` }),
|
|
1944
|
-
/* @__PURE__ */
|
|
1944
|
+
/* @__PURE__ */ g("span", { className: V.value, children: [
|
|
1945
1945
|
" ",
|
|
1946
1946
|
m
|
|
1947
1947
|
] })
|
|
1948
1948
|
] }, d)) }) }),
|
|
1949
1949
|
/* @__PURE__ */ s("h3", { className: V.titleLegendList, children: t ? /* @__PURE__ */ s(Me, { i18nKey: t, components: { sup: /* @__PURE__ */ s("sup", {}) } }) : u("mainUse") }),
|
|
1950
|
-
/* @__PURE__ */ s("div", { className: V.legendListContainer, children: r ? /* @__PURE__ */
|
|
1950
|
+
/* @__PURE__ */ s("div", { className: V.legendListContainer, children: r ? /* @__PURE__ */ g("div", { className: V.absoluteValueContainer, children: [
|
|
1951
1951
|
/* @__PURE__ */ s(
|
|
1952
1952
|
"div",
|
|
1953
1953
|
{
|
|
@@ -1957,20 +1957,20 @@ const f0 = "_legendContainer_atg3j_3", b0 = "_closeButton_atg3j_18", y0 = "_titl
|
|
|
1957
1957
|
}
|
|
1958
1958
|
}
|
|
1959
1959
|
),
|
|
1960
|
-
/* @__PURE__ */
|
|
1961
|
-
/* @__PURE__ */
|
|
1960
|
+
/* @__PURE__ */ g("div", { className: V.absoluteValueText, children: [
|
|
1961
|
+
/* @__PURE__ */ g("span", { children: [
|
|
1962
1962
|
r.maxValue,
|
|
1963
1963
|
" ",
|
|
1964
1964
|
u(r.unit)
|
|
1965
1965
|
] }),
|
|
1966
|
-
/* @__PURE__ */
|
|
1966
|
+
/* @__PURE__ */ g("span", { children: [
|
|
1967
1967
|
r.minValue,
|
|
1968
1968
|
" ",
|
|
1969
1969
|
u(r.unit)
|
|
1970
1970
|
] })
|
|
1971
1971
|
] })
|
|
1972
1972
|
] }) : i && i.length > 0 && /* @__PURE__ */ s("div", { className: V.gridContainer, children: i.map(
|
|
1973
|
-
({ title: p, color: m }) => /* @__PURE__ */
|
|
1973
|
+
({ title: p, color: m }) => /* @__PURE__ */ g("div", { className: V.elementLegendContainer, children: [
|
|
1974
1974
|
/* @__PURE__ */ s(
|
|
1975
1975
|
"div",
|
|
1976
1976
|
{
|
|
@@ -1978,7 +1978,7 @@ const f0 = "_legendContainer_atg3j_3", b0 = "_closeButton_atg3j_18", y0 = "_titl
|
|
|
1978
1978
|
style: { backgroundColor: m }
|
|
1979
1979
|
}
|
|
1980
1980
|
),
|
|
1981
|
-
/* @__PURE__ */
|
|
1981
|
+
/* @__PURE__ */ g("div", { className: V.titleLegendElement, children: [
|
|
1982
1982
|
u(p),
|
|
1983
1983
|
" "
|
|
1984
1984
|
] })
|
|
@@ -1989,7 +1989,7 @@ const f0 = "_legendContainer_atg3j_3", b0 = "_closeButton_atg3j_18", y0 = "_titl
|
|
|
1989
1989
|
}
|
|
1990
1990
|
);
|
|
1991
1991
|
};
|
|
1992
|
-
|
|
1992
|
+
T0.propTypes = {
|
|
1993
1993
|
title: e.string,
|
|
1994
1994
|
containerStyles: e.object,
|
|
1995
1995
|
infoList: e.arrayOf(
|
|
@@ -2015,23 +2015,23 @@ D0.propTypes = {
|
|
|
2015
2015
|
buttonTitle: e.string,
|
|
2016
2016
|
onClickClose: e.func
|
|
2017
2017
|
};
|
|
2018
|
-
const
|
|
2019
|
-
logo:
|
|
2020
|
-
},
|
|
2018
|
+
const V0 = "_logo_1ewa6_2", Pe = {
|
|
2019
|
+
logo: V0
|
|
2020
|
+
}, $0 = ({ src: n, alt: d, href: o }) => {
|
|
2021
2021
|
const { t: i } = k(), t = /* @__PURE__ */ s("img", { src: n, alt: i(d) });
|
|
2022
|
-
return o ? /* @__PURE__ */ s("div", { className:
|
|
2022
|
+
return o ? /* @__PURE__ */ s("div", { className: Pe.logo, children: /* @__PURE__ */ s("a", { href: o, children: t }) }) : /* @__PURE__ */ s("div", { className: Pe.logo, children: t });
|
|
2023
2023
|
};
|
|
2024
|
-
|
|
2024
|
+
$0.propTypes = {
|
|
2025
2025
|
src: e.string.isRequired,
|
|
2026
2026
|
alt: e.string.isRequired,
|
|
2027
2027
|
href: e.string,
|
|
2028
2028
|
className: e.string
|
|
2029
2029
|
};
|
|
2030
|
-
const
|
|
2031
|
-
mapContainer:
|
|
2030
|
+
const A0 = "_mapContainer_84pkf_2", O0 = {
|
|
2031
|
+
mapContainer: A0
|
|
2032
2032
|
};
|
|
2033
|
-
|
|
2034
|
-
const
|
|
2033
|
+
bt.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
|
|
2034
|
+
const I0 = ({
|
|
2035
2035
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2036
2036
|
maxZoom: d = 17,
|
|
2037
2037
|
minZoom: o = 8,
|
|
@@ -2044,16 +2044,16 @@ const A0 = ({
|
|
|
2044
2044
|
sources: u = [],
|
|
2045
2045
|
layers: p = []
|
|
2046
2046
|
}) => {
|
|
2047
|
-
const m = Fe(), [
|
|
2047
|
+
const m = Fe(), [y, C] = F(null), h = yt((b) => b.mapState.showTexts);
|
|
2048
2048
|
return L(() => {
|
|
2049
2049
|
if (m.current) {
|
|
2050
|
-
const
|
|
2051
|
-
|
|
2052
|
-
_.type == "symbol" && _.id != "professionals" && (
|
|
2050
|
+
const b = m.current.getMap();
|
|
2051
|
+
b.getStyle().layers.map((_) => {
|
|
2052
|
+
_.type == "symbol" && _.id != "professionals" && (h ? b.setLayoutProperty(_.id, "visibility", "visible") : b.setLayoutProperty(_.id, "visibility", "none"));
|
|
2053
2053
|
});
|
|
2054
2054
|
}
|
|
2055
|
-
}, [
|
|
2056
|
-
|
|
2055
|
+
}, [h]), /* @__PURE__ */ s("div", { className: `${O0.mapContainer}`, style: r, children: /* @__PURE__ */ g(
|
|
2056
|
+
vt,
|
|
2057
2057
|
{
|
|
2058
2058
|
initialViewState: n,
|
|
2059
2059
|
ref: m,
|
|
@@ -2064,13 +2064,13 @@ const A0 = ({
|
|
|
2064
2064
|
onClick: l,
|
|
2065
2065
|
interactiveLayerIds: a,
|
|
2066
2066
|
children: [
|
|
2067
|
-
u.length && u.map((
|
|
2068
|
-
|
|
2067
|
+
u.length && u.map((b, f) => /* @__PURE__ */ s(
|
|
2068
|
+
xt,
|
|
2069
2069
|
{
|
|
2070
|
-
...
|
|
2070
|
+
...b,
|
|
2071
2071
|
children: p.length && p.map((_, x) => {
|
|
2072
|
-
if (_.sourceId ==
|
|
2073
|
-
|
|
2072
|
+
if (_.sourceId == b.id) return /* @__PURE__ */ s(
|
|
2073
|
+
wt,
|
|
2074
2074
|
{
|
|
2075
2075
|
..._.layer,
|
|
2076
2076
|
beforeId: t
|
|
@@ -2081,14 +2081,14 @@ const A0 = ({
|
|
|
2081
2081
|
},
|
|
2082
2082
|
f
|
|
2083
2083
|
)),
|
|
2084
|
-
/* @__PURE__ */ s(
|
|
2085
|
-
c &&
|
|
2086
|
-
|
|
2084
|
+
/* @__PURE__ */ s(kt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2085
|
+
c && y && /* @__PURE__ */ s(
|
|
2086
|
+
Nt,
|
|
2087
2087
|
{
|
|
2088
2088
|
longitude: c.longitude,
|
|
2089
2089
|
latitude: c.latitude,
|
|
2090
2090
|
anchor: c.anchor,
|
|
2091
|
-
onClose: () =>
|
|
2091
|
+
onClose: () => C(null),
|
|
2092
2092
|
children: c.content
|
|
2093
2093
|
}
|
|
2094
2094
|
)
|
|
@@ -2096,7 +2096,7 @@ const A0 = ({
|
|
|
2096
2096
|
}
|
|
2097
2097
|
) });
|
|
2098
2098
|
};
|
|
2099
|
-
|
|
2099
|
+
I0.propTypes = {
|
|
2100
2100
|
initialView: e.shape({
|
|
2101
2101
|
latitude: e.number.isRequired,
|
|
2102
2102
|
longitude: e.number.isRequired,
|
|
@@ -2141,15 +2141,15 @@ A0.propTypes = {
|
|
|
2141
2141
|
})
|
|
2142
2142
|
)
|
|
2143
2143
|
};
|
|
2144
|
-
const
|
|
2145
|
-
mapContainer:
|
|
2146
|
-
},
|
|
2147
|
-
FeaturePopUp:
|
|
2148
|
-
title:
|
|
2149
|
-
},
|
|
2144
|
+
const R0 = "_mapContainer_b0pyr_3", E0 = {
|
|
2145
|
+
mapContainer: R0
|
|
2146
|
+
}, P0 = "_FeaturePopUp_1gd6w_2", j0 = "_title_1gd6w_2", je = {
|
|
2147
|
+
FeaturePopUp: P0,
|
|
2148
|
+
title: j0
|
|
2149
|
+
}, z0 = ({ props: n }) => {
|
|
2150
2150
|
const { t: d } = k();
|
|
2151
|
-
return /* @__PURE__ */ s("div", { className:
|
|
2152
|
-
/* @__PURE__ */
|
|
2151
|
+
return /* @__PURE__ */ s("div", { className: je.FeaturePopUp, children: n.map((o) => /* @__PURE__ */ g("p", { children: [
|
|
2152
|
+
/* @__PURE__ */ g("span", { className: je.title, children: [
|
|
2153
2153
|
/* @__PURE__ */ s(Me, { i18nKey: o.name, components: { sup: /* @__PURE__ */ s("sup", {}) } }),
|
|
2154
2154
|
": "
|
|
2155
2155
|
] }),
|
|
@@ -2157,7 +2157,7 @@ const O0 = "_mapContainer_b0pyr_3", I0 = {
|
|
|
2157
2157
|
" ",
|
|
2158
2158
|
d(o.unit)
|
|
2159
2159
|
] })) });
|
|
2160
|
-
},
|
|
2160
|
+
}, q0 = ({
|
|
2161
2161
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2162
2162
|
maxZoom: d = 17,
|
|
2163
2163
|
minZoom: o = 8,
|
|
@@ -2170,29 +2170,29 @@ const O0 = "_mapContainer_b0pyr_3", I0 = {
|
|
|
2170
2170
|
layers: u = [],
|
|
2171
2171
|
filters: p,
|
|
2172
2172
|
popUpParams: m,
|
|
2173
|
-
onClosePopUp:
|
|
2174
|
-
showTexts:
|
|
2173
|
+
onClosePopUp: y,
|
|
2174
|
+
showTexts: C
|
|
2175
2175
|
}) => {
|
|
2176
2176
|
console.log(p);
|
|
2177
|
-
const
|
|
2177
|
+
const h = Fe();
|
|
2178
2178
|
return L(() => {
|
|
2179
|
-
if (
|
|
2180
|
-
const
|
|
2181
|
-
|
|
2182
|
-
_.type == "symbol" && _.id != "professionals" && (
|
|
2179
|
+
if (h.current) {
|
|
2180
|
+
const b = h.current.getMap();
|
|
2181
|
+
b.getStyle().layers.map((_) => {
|
|
2182
|
+
_.type == "symbol" && _.id != "professionals" && (C ? b.setLayoutProperty(_.id, "visibility", "visible") : b.setLayoutProperty(_.id, "visibility", "none"));
|
|
2183
2183
|
});
|
|
2184
2184
|
}
|
|
2185
|
-
}, [
|
|
2186
|
-
let
|
|
2187
|
-
return
|
|
2188
|
-
|
|
2185
|
+
}, [C]), L(() => {
|
|
2186
|
+
let b = new St();
|
|
2187
|
+
return pe.addProtocol("pmtiles", b.tile), () => {
|
|
2188
|
+
pe.removeProtocol("pmtiles");
|
|
2189
2189
|
};
|
|
2190
|
-
}, []), /* @__PURE__ */ s("div", { className: `${
|
|
2191
|
-
|
|
2190
|
+
}, []), /* @__PURE__ */ s("div", { className: `${E0.mapContainer}`, style: r && r, children: /* @__PURE__ */ g(
|
|
2191
|
+
Bt,
|
|
2192
2192
|
{
|
|
2193
|
-
mapLib:
|
|
2193
|
+
mapLib: pe,
|
|
2194
2194
|
initialViewState: n,
|
|
2195
|
-
ref:
|
|
2195
|
+
ref: h,
|
|
2196
2196
|
hash: !1,
|
|
2197
2197
|
maxZoom: d,
|
|
2198
2198
|
minZoom: o,
|
|
@@ -2200,13 +2200,13 @@ const O0 = "_mapContainer_b0pyr_3", I0 = {
|
|
|
2200
2200
|
onClick: l,
|
|
2201
2201
|
interactiveLayerIds: a,
|
|
2202
2202
|
children: [
|
|
2203
|
-
c.length && c.map((
|
|
2204
|
-
|
|
2203
|
+
c.length && c.map((b, f) => /* @__PURE__ */ s(
|
|
2204
|
+
Ft,
|
|
2205
2205
|
{
|
|
2206
|
-
...
|
|
2206
|
+
...b,
|
|
2207
2207
|
children: u.length && u.map((_, x) => {
|
|
2208
|
-
if (_.sourceId ==
|
|
2209
|
-
|
|
2208
|
+
if (_.sourceId == b.id) return /* @__PURE__ */ s(
|
|
2209
|
+
Mt,
|
|
2210
2210
|
{
|
|
2211
2211
|
..._.layer,
|
|
2212
2212
|
beforeId: t,
|
|
@@ -2218,21 +2218,21 @@ const O0 = "_mapContainer_b0pyr_3", I0 = {
|
|
|
2218
2218
|
},
|
|
2219
2219
|
f
|
|
2220
2220
|
)),
|
|
2221
|
-
/* @__PURE__ */ s(
|
|
2221
|
+
/* @__PURE__ */ s(Dt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2222
2222
|
m && /* @__PURE__ */ s(
|
|
2223
|
-
|
|
2223
|
+
Lt,
|
|
2224
2224
|
{
|
|
2225
2225
|
longitude: m.lng,
|
|
2226
2226
|
latitude: m.lat,
|
|
2227
|
-
onClose:
|
|
2228
|
-
children: /* @__PURE__ */ s(
|
|
2227
|
+
onClose: y,
|
|
2228
|
+
children: /* @__PURE__ */ s(z0, { props: m.props })
|
|
2229
2229
|
}
|
|
2230
2230
|
)
|
|
2231
2231
|
]
|
|
2232
2232
|
}
|
|
2233
2233
|
) });
|
|
2234
2234
|
};
|
|
2235
|
-
|
|
2235
|
+
q0.propTypes = {
|
|
2236
2236
|
initialView: e.shape({
|
|
2237
2237
|
latitude: e.number.isRequired,
|
|
2238
2238
|
longitude: e.number.isRequired,
|
|
@@ -2275,14 +2275,14 @@ j0.propTypes = {
|
|
|
2275
2275
|
popUpParams: e.object,
|
|
2276
2276
|
onClosePopUp: e.func
|
|
2277
2277
|
};
|
|
2278
|
-
const
|
|
2279
|
-
sectionBar:
|
|
2280
|
-
leftContent:
|
|
2281
|
-
textContainer:
|
|
2282
|
-
title:
|
|
2283
|
-
subtitle:
|
|
2284
|
-
rightContent:
|
|
2285
|
-
},
|
|
2278
|
+
const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textContainer_1egwc_20", U0 = "_title_1egwc_27", G0 = "_subtitle_1egwc_33", Y0 = "_rightContent_1egwc_38", H = {
|
|
2279
|
+
sectionBar: Z0,
|
|
2280
|
+
leftContent: H0,
|
|
2281
|
+
textContainer: K0,
|
|
2282
|
+
title: U0,
|
|
2283
|
+
subtitle: G0,
|
|
2284
|
+
rightContent: Y0
|
|
2285
|
+
}, Rn = ({
|
|
2286
2286
|
leftIcon: n,
|
|
2287
2287
|
title: d,
|
|
2288
2288
|
subtitle: o,
|
|
@@ -2291,17 +2291,17 @@ const q0 = "_sectionBar_1egwc_2", z0 = "_leftContent_1egwc_14", Z0 = "_textConta
|
|
|
2291
2291
|
width: r
|
|
2292
2292
|
}) => {
|
|
2293
2293
|
const { t: l } = k();
|
|
2294
|
-
return /* @__PURE__ */
|
|
2295
|
-
/* @__PURE__ */
|
|
2294
|
+
return /* @__PURE__ */ g("div", { className: H.sectionBar, style: { width: r && r }, children: [
|
|
2295
|
+
/* @__PURE__ */ g("div", { className: H.leftContent, children: [
|
|
2296
2296
|
n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className: H.icon }),
|
|
2297
|
-
/* @__PURE__ */
|
|
2297
|
+
/* @__PURE__ */ g("div", { className: H.textContainer, children: [
|
|
2298
2298
|
/* @__PURE__ */ s("div", { className: H.title, children: l(d) }),
|
|
2299
2299
|
o && /* @__PURE__ */ s("div", { className: H.subtitle, children: o })
|
|
2300
2300
|
] })
|
|
2301
2301
|
] }),
|
|
2302
2302
|
/* @__PURE__ */ s("div", { className: H.rightContent, children: i })
|
|
2303
2303
|
] });
|
|
2304
|
-
},
|
|
2304
|
+
}, W0 = Tt({
|
|
2305
2305
|
name: "mapSlice",
|
|
2306
2306
|
initialState: {
|
|
2307
2307
|
showTexts: !0,
|
|
@@ -2327,17 +2327,17 @@ const q0 = "_sectionBar_1egwc_2", z0 = "_leftContent_1egwc_14", Z0 = "_textConta
|
|
|
2327
2327
|
n.activeIndicatorUnit = d.payload;
|
|
2328
2328
|
}
|
|
2329
2329
|
}
|
|
2330
|
-
}), { setShowTexts:
|
|
2331
|
-
slider:
|
|
2332
|
-
playButton:
|
|
2333
|
-
sliderOpen:
|
|
2334
|
-
sliderResults:
|
|
2335
|
-
},
|
|
2336
|
-
const [l, a] =
|
|
2337
|
-
a(x), c(
|
|
2338
|
-
}, [p, m] =
|
|
2330
|
+
}), { setShowTexts: En, setYear: fe, setActiveIndicatorKey: Pn, setActiveIndicatorType: jn, setActiveIndicatorUnit: zn } = W0.actions, J0 = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20d='M15.2722%2012.6627C15.2722%2011.8929%2016.1055%2011.4118%2016.7722%2011.7967L31.5641%2020.3368C32.2308%2020.7217%2032.2308%2021.684%2031.5641%2022.0689L16.7722%2030.609C16.1055%2030.9939%2015.2722%2030.5128%2015.2722%2029.743L15.2722%2012.6627Z'%20fill='%23605B56'/%3e%3c/svg%3e", X0 = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3crect%20x='15'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3crect%20x='23'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3c/svg%3e", Q0 = "_slider_a19yo_2", e1 = "_playButton_a19yo_17", t1 = "_sliderOpen_a19yo_28", n1 = "_sliderResults_a19yo_32", te = {
|
|
2331
|
+
slider: Q0,
|
|
2332
|
+
playButton: e1,
|
|
2333
|
+
sliderOpen: t1,
|
|
2334
|
+
sliderResults: n1
|
|
2335
|
+
}, i1 = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: o = 2025, lastYear: i = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
|
|
2336
|
+
const [l, a] = F(d), c = _t(), u = (_, x) => {
|
|
2337
|
+
a(x), c(fe(x - 2e3));
|
|
2338
|
+
}, [p, m] = F(!1), y = () => {
|
|
2339
2339
|
m(!0);
|
|
2340
|
-
},
|
|
2340
|
+
}, C = () => {
|
|
2341
2341
|
m(!1);
|
|
2342
2342
|
};
|
|
2343
2343
|
((_, x) => {
|
|
@@ -2354,9 +2354,9 @@ const q0 = "_sectionBar_1egwc_2", z0 = "_leftContent_1egwc_14", Z0 = "_textConta
|
|
|
2354
2354
|
}
|
|
2355
2355
|
}, [x]);
|
|
2356
2356
|
})(() => {
|
|
2357
|
-
p && (l != 2050 ? (a(l + 1), c(
|
|
2357
|
+
p && (l != 2050 ? (a(l + 1), c(fe(l - 2e3 + 1))) : (a(2025), c(fe(25))));
|
|
2358
2358
|
}, 1e3);
|
|
2359
|
-
const
|
|
2359
|
+
const b = $t({
|
|
2360
2360
|
palette: {
|
|
2361
2361
|
primary: {
|
|
2362
2362
|
main: "#605b56"
|
|
@@ -2384,8 +2384,8 @@ const q0 = "_sectionBar_1egwc_2", z0 = "_leftContent_1egwc_14", Z0 = "_textConta
|
|
|
2384
2384
|
{ label: "", value: 2041 },
|
|
2385
2385
|
{ label: "", value: 2050 }
|
|
2386
2386
|
];
|
|
2387
|
-
return /* @__PURE__ */ s(
|
|
2388
|
-
|
|
2387
|
+
return /* @__PURE__ */ s(Ot, { theme: b, children: /* @__PURE__ */ g(
|
|
2388
|
+
At,
|
|
2389
2389
|
{
|
|
2390
2390
|
sx: { width: 400 },
|
|
2391
2391
|
className: `${n ? te.sliderResults : te.slider} ${r ? te.sliderOpen : ""}`,
|
|
@@ -2393,7 +2393,7 @@ const q0 = "_sectionBar_1egwc_2", z0 = "_leftContent_1egwc_14", Z0 = "_textConta
|
|
|
2393
2393
|
children: [
|
|
2394
2394
|
o,
|
|
2395
2395
|
/* @__PURE__ */ s(
|
|
2396
|
-
|
|
2396
|
+
Vt,
|
|
2397
2397
|
{
|
|
2398
2398
|
"aria-label": "TimeSlider",
|
|
2399
2399
|
value: l,
|
|
@@ -2408,13 +2408,13 @@ const q0 = "_sectionBar_1egwc_2", z0 = "_leftContent_1egwc_14", Z0 = "_textConta
|
|
|
2408
2408
|
}
|
|
2409
2409
|
),
|
|
2410
2410
|
i,
|
|
2411
|
-
!p && /* @__PURE__ */ s("button", { className: te.playButton, onClick:
|
|
2412
|
-
p && /* @__PURE__ */ s("button", { className: te.playButton, onClick:
|
|
2411
|
+
!p && /* @__PURE__ */ s("button", { className: te.playButton, onClick: y, children: /* @__PURE__ */ s("img", { src: J0, alt: "Play" }) }),
|
|
2412
|
+
p && /* @__PURE__ */ s("button", { className: te.playButton, onClick: C, children: /* @__PURE__ */ s("img", { src: X0, alt: "Pause" }) })
|
|
2413
2413
|
]
|
|
2414
2414
|
}
|
|
2415
2415
|
) });
|
|
2416
2416
|
};
|
|
2417
|
-
|
|
2417
|
+
i1.propTypes = {
|
|
2418
2418
|
defaultYear: e.number,
|
|
2419
2419
|
onResults: e.bool,
|
|
2420
2420
|
firstYear: e.number,
|
|
@@ -2422,22 +2422,22 @@ t1.propTypes = {
|
|
|
2422
2422
|
zIndex: e.number,
|
|
2423
2423
|
rightBarOpen: e.bool
|
|
2424
2424
|
};
|
|
2425
|
-
const
|
|
2426
|
-
TopNavMenuContainer:
|
|
2427
|
-
topNavOptions:
|
|
2428
|
-
active:
|
|
2429
|
-
},
|
|
2425
|
+
const o1 = "_TopNavMenuContainer_12mp4_2", s1 = "_topNavOptions_12mp4_13", r1 = "_active_12mp4_27", be = {
|
|
2426
|
+
TopNavMenuContainer: o1,
|
|
2427
|
+
topNavOptions: s1,
|
|
2428
|
+
active: r1
|
|
2429
|
+
}, a1 = ({
|
|
2430
2430
|
options: n = [],
|
|
2431
2431
|
containerStyles: d,
|
|
2432
2432
|
borderColor: o = "red",
|
|
2433
2433
|
textColor: i = "white"
|
|
2434
2434
|
}) => {
|
|
2435
2435
|
const { t } = k();
|
|
2436
|
-
return /* @__PURE__ */ s("div", { className:
|
|
2437
|
-
|
|
2436
|
+
return /* @__PURE__ */ s("div", { className: be.TopNavMenuContainer, style: { ...d }, children: n.map((r, l) => /* @__PURE__ */ s(
|
|
2437
|
+
It,
|
|
2438
2438
|
{
|
|
2439
2439
|
to: r.url,
|
|
2440
|
-
className: ({ isActive: a }) => `${
|
|
2440
|
+
className: ({ isActive: a }) => `${be.topNavOptions} ${a ? be.active : ""} `,
|
|
2441
2441
|
style: ({ isActive: a }) => ({
|
|
2442
2442
|
color: i,
|
|
2443
2443
|
borderBottom: a ? `5px solid ${o}` : "5px solid transparent"
|
|
@@ -2447,7 +2447,7 @@ const n1 = "_TopNavMenuContainer_12mp4_2", i1 = "_topNavOptions_12mp4_13", o1 =
|
|
|
2447
2447
|
l
|
|
2448
2448
|
)) });
|
|
2449
2449
|
};
|
|
2450
|
-
|
|
2450
|
+
a1.propTypes = {
|
|
2451
2451
|
options: e.arrayOf(e.object),
|
|
2452
2452
|
cssProps: e.shape({
|
|
2453
2453
|
borderColor: e.string.isRequired,
|
|
@@ -2457,9 +2457,9 @@ s1.propTypes = {
|
|
|
2457
2457
|
// activeColor: PropTypes.string,
|
|
2458
2458
|
// defaultColor: PropTypes.string
|
|
2459
2459
|
};
|
|
2460
|
-
const
|
|
2461
|
-
LogInButton:
|
|
2462
|
-
},
|
|
2460
|
+
const l1 = "_LogInButton_1vxj5_2", c1 = {
|
|
2461
|
+
LogInButton: l1
|
|
2462
|
+
}, d1 = ({
|
|
2463
2463
|
cssClass: n,
|
|
2464
2464
|
notLoggedInLabel: d = "Log in",
|
|
2465
2465
|
loggedInLabel: o = "Log out",
|
|
@@ -2478,13 +2478,13 @@ const r1 = "_LogInButton_1vxj5_2", a1 = {
|
|
|
2478
2478
|
"div",
|
|
2479
2479
|
{
|
|
2480
2480
|
style: { ...i },
|
|
2481
|
-
className: `${
|
|
2481
|
+
className: `${c1.LogInButton} link ${n}`,
|
|
2482
2482
|
onClick: r ? a : l,
|
|
2483
2483
|
children: r ? t || c(o) : c(d)
|
|
2484
2484
|
}
|
|
2485
2485
|
);
|
|
2486
2486
|
};
|
|
2487
|
-
|
|
2487
|
+
d1.propTypes = {
|
|
2488
2488
|
cssClass: e.string,
|
|
2489
2489
|
notLoggedInLabel: e.string,
|
|
2490
2490
|
loggedInLabel: e.string,
|
|
@@ -2492,43 +2492,43 @@ l1.propTypes = {
|
|
|
2492
2492
|
userName: e.string,
|
|
2493
2493
|
isLoggedIn: e.bool
|
|
2494
2494
|
};
|
|
2495
|
-
const
|
|
2496
|
-
elementSelector:
|
|
2497
|
-
header:
|
|
2498
|
-
nameDateContainer:
|
|
2499
|
-
elementName:
|
|
2500
|
-
elementDate:
|
|
2501
|
-
buttonsContainer:
|
|
2502
|
-
elementListContainer:
|
|
2503
|
-
newElementButtonContainer:
|
|
2504
|
-
},
|
|
2505
|
-
listElement:
|
|
2506
|
-
elementNameDate:
|
|
2507
|
-
elementNameContainer:
|
|
2508
|
-
elementName:
|
|
2509
|
-
elementDate:
|
|
2510
|
-
elementButtons:
|
|
2495
|
+
const u1 = "_elementSelector_fd7az_2", p1 = "_header_fd7az_13", m1 = "_nameDateContainer_fd7az_23", h1 = "_elementName_fd7az_39", g1 = "_elementDate_fd7az_53", C1 = "_buttonsContainer_fd7az_67", f1 = "_elementListContainer_fd7az_76", b1 = "_newElementButtonContainer_fd7az_80", I = {
|
|
2496
|
+
elementSelector: u1,
|
|
2497
|
+
header: p1,
|
|
2498
|
+
nameDateContainer: m1,
|
|
2499
|
+
elementName: h1,
|
|
2500
|
+
elementDate: g1,
|
|
2501
|
+
buttonsContainer: C1,
|
|
2502
|
+
elementListContainer: f1,
|
|
2503
|
+
newElementButtonContainer: b1
|
|
2504
|
+
}, y1 = "_listElement_1s506_2", _1 = "_elementNameDate_1s506_17", v1 = "_elementNameContainer_1s506_27", x1 = "_elementName_1s506_17", w1 = "_elementDate_1s506_42", k1 = "_elementButtons_1s506_45", N1 = "_moreInfoContainer_1s506_68", S1 = "_moreInfo_1s506_68", O = {
|
|
2505
|
+
listElement: y1,
|
|
2506
|
+
elementNameDate: _1,
|
|
2507
|
+
elementNameContainer: v1,
|
|
2508
|
+
elementName: x1,
|
|
2509
|
+
elementDate: w1,
|
|
2510
|
+
elementButtons: k1,
|
|
2511
2511
|
break: "_break_1s506_63",
|
|
2512
|
-
moreInfoContainer:
|
|
2513
|
-
moreInfo:
|
|
2514
|
-
}, N1 = "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", S1 = "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", F1 = "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", M1 = "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", B1 = "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";
|
|
2515
|
-
var
|
|
2516
|
-
function
|
|
2517
|
-
return
|
|
2512
|
+
moreInfoContainer: N1,
|
|
2513
|
+
moreInfo: S1
|
|
2514
|
+
}, B1 = "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", F1 = "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", M1 = "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", D1 = "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", L1 = "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";
|
|
2515
|
+
var ze;
|
|
2516
|
+
function Se() {
|
|
2517
|
+
return Se = Object.assign ? Object.assign.bind() : function(n) {
|
|
2518
2518
|
for (var d = 1; d < arguments.length; d++) {
|
|
2519
2519
|
var o = arguments[d];
|
|
2520
2520
|
for (var i in o) ({}).hasOwnProperty.call(o, i) && (n[i] = o[i]);
|
|
2521
2521
|
}
|
|
2522
2522
|
return n;
|
|
2523
|
-
},
|
|
2523
|
+
}, Se.apply(null, arguments);
|
|
2524
2524
|
}
|
|
2525
|
-
var
|
|
2526
|
-
return /* @__PURE__ */ X.createElement("svg",
|
|
2525
|
+
var T1 = function(d) {
|
|
2526
|
+
return /* @__PURE__ */ X.createElement("svg", Se({
|
|
2527
2527
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2528
2528
|
width: 26,
|
|
2529
2529
|
height: 14,
|
|
2530
2530
|
fill: "none"
|
|
2531
|
-
}, d),
|
|
2531
|
+
}, d), ze || (ze = /* @__PURE__ */ X.createElement("g", {
|
|
2532
2532
|
fill: "currentColor"
|
|
2533
2533
|
}, /* @__PURE__ */ X.createElement("path", {
|
|
2534
2534
|
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"
|
|
@@ -2536,7 +2536,7 @@ var D1 = function(d) {
|
|
|
2536
2536
|
d: "M12.951 10.297a3.307 3.307 0 1 0 0-6.614 3.307 3.307 0 0 0 0 6.614"
|
|
2537
2537
|
}))));
|
|
2538
2538
|
};
|
|
2539
|
-
const
|
|
2539
|
+
const V1 = "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", rt = ({
|
|
2540
2540
|
listelement: n,
|
|
2541
2541
|
onClickElement: d,
|
|
2542
2542
|
isActive: o,
|
|
@@ -2548,20 +2548,20 @@ const L1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2548
2548
|
processTooltip: c,
|
|
2549
2549
|
defaultTooltip: u
|
|
2550
2550
|
}) => {
|
|
2551
|
-
const { nom: p, created_at: m, id:
|
|
2552
|
-
return /* @__PURE__ */
|
|
2551
|
+
const { nom: p, created_at: m, id: y, isBeingProcessed: C } = n, [h, b] = F(!1), { t: f } = k();
|
|
2552
|
+
return /* @__PURE__ */ g(
|
|
2553
2553
|
"div",
|
|
2554
2554
|
{
|
|
2555
2555
|
className: O.listElement,
|
|
2556
2556
|
style: { borderBottom: `1px solid ${t}` },
|
|
2557
2557
|
children: [
|
|
2558
|
-
/* @__PURE__ */
|
|
2559
|
-
l.nom && /* @__PURE__ */ s("div", { className: O.elementNameContainer, children: /* @__PURE__ */
|
|
2560
|
-
o ? /* @__PURE__ */ s(
|
|
2558
|
+
/* @__PURE__ */ g("div", { className: O.elementNameDate, onClick: () => d(y), children: [
|
|
2559
|
+
l.nom && /* @__PURE__ */ s("div", { className: O.elementNameContainer, children: /* @__PURE__ */ g("div", { className: O.elementName, children: [
|
|
2560
|
+
o ? /* @__PURE__ */ s(T1, { style: { color: i, marginRight: 9 } }) : /* @__PURE__ */ s(
|
|
2561
2561
|
"img",
|
|
2562
2562
|
{
|
|
2563
2563
|
style: { marginRight: 9 },
|
|
2564
|
-
src:
|
|
2564
|
+
src: V1
|
|
2565
2565
|
}
|
|
2566
2566
|
),
|
|
2567
2567
|
/* @__PURE__ */ s("span", { style: { color: o ? i : t }, children: p })
|
|
@@ -2570,41 +2570,41 @@ const L1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2570
2570
|
l.ambit && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.ambit }),
|
|
2571
2571
|
l.escenari && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.escenari })
|
|
2572
2572
|
] }),
|
|
2573
|
-
/* @__PURE__ */
|
|
2574
|
-
n.processing && /* @__PURE__ */
|
|
2575
|
-
/* @__PURE__ */ s("img", { src:
|
|
2573
|
+
/* @__PURE__ */ g("div", { className: O.elementButtons, children: [
|
|
2574
|
+
n.processing && /* @__PURE__ */ g("div", { className: "tooltip-parent", children: [
|
|
2575
|
+
/* @__PURE__ */ s("img", { src: D1 }),
|
|
2576
2576
|
/* @__PURE__ */ s(U, { text: c, position: "left" })
|
|
2577
2577
|
] }),
|
|
2578
|
-
a.filter && !n.is_default && /* @__PURE__ */
|
|
2579
|
-
/* @__PURE__ */ s("button", { onClick: () => a.filter.onclick(n), children: /* @__PURE__ */ s("img", { src:
|
|
2578
|
+
a.filter && !n.is_default && /* @__PURE__ */ g("div", { className: "tooltip-parent", children: [
|
|
2579
|
+
/* @__PURE__ */ s("button", { onClick: () => a.filter.onclick(n), children: /* @__PURE__ */ s("img", { src: M1 }) }),
|
|
2580
2580
|
/* @__PURE__ */ s(U, { text: a.filter.tooltiptext, position: "left" })
|
|
2581
2581
|
] }),
|
|
2582
|
-
a.copy && /* @__PURE__ */
|
|
2583
|
-
/* @__PURE__ */ s("button", { onClick: () => a.copy.onclick(n), children: /* @__PURE__ */ s("img", { src:
|
|
2582
|
+
a.copy && /* @__PURE__ */ g("div", { className: "tooltip-parent", children: [
|
|
2583
|
+
/* @__PURE__ */ s("button", { onClick: () => a.copy.onclick(n), children: /* @__PURE__ */ s("img", { src: F1 }) }),
|
|
2584
2584
|
/* @__PURE__ */ s(U, { text: a.copy.tooltiptext, position: "left" })
|
|
2585
2585
|
] }),
|
|
2586
|
-
a.trash && !n.is_default && /* @__PURE__ */
|
|
2587
|
-
/* @__PURE__ */ s("button", { onClick: () => a.trash.onclick(n), children: /* @__PURE__ */ s("img", { src:
|
|
2586
|
+
a.trash && !n.is_default && /* @__PURE__ */ g("div", { className: "tooltip-parent", children: [
|
|
2587
|
+
/* @__PURE__ */ s("button", { onClick: () => a.trash.onclick(n), children: /* @__PURE__ */ s("img", { src: B1 }) }),
|
|
2588
2588
|
/* @__PURE__ */ s(U, { text: a.trash.tooltiptext, position: "left" })
|
|
2589
2589
|
] }),
|
|
2590
|
-
n.is_default && /* @__PURE__ */
|
|
2591
|
-
/* @__PURE__ */ s("img", { src:
|
|
2590
|
+
n.is_default && /* @__PURE__ */ g("div", { className: "tooltip-parent", children: [
|
|
2591
|
+
/* @__PURE__ */ s("img", { src: L1 }),
|
|
2592
2592
|
/* @__PURE__ */ s(U, { text: u, position: "left" })
|
|
2593
2593
|
] })
|
|
2594
2594
|
] }),
|
|
2595
2595
|
r && /* @__PURE__ */ s("div", { className: O.break }),
|
|
2596
|
-
r && /* @__PURE__ */
|
|
2597
|
-
/* @__PURE__ */
|
|
2598
|
-
/* @__PURE__ */ s("span", { children:
|
|
2596
|
+
r && /* @__PURE__ */ g("div", { className: O.moreInfoContainer, children: [
|
|
2597
|
+
/* @__PURE__ */ g("div", { className: O.moreInfo, onClick: () => b(!h), children: [
|
|
2598
|
+
/* @__PURE__ */ s("span", { children: h ? "-" : "+" }),
|
|
2599
2599
|
f(r.label)
|
|
2600
2600
|
] }),
|
|
2601
|
-
r &&
|
|
2601
|
+
r && h && /* @__PURE__ */ s("div", { className: O.moreInfoInfo, children: n[r.info] })
|
|
2602
2602
|
] })
|
|
2603
2603
|
]
|
|
2604
2604
|
}
|
|
2605
2605
|
);
|
|
2606
2606
|
};
|
|
2607
|
-
|
|
2607
|
+
rt.propTypes = {
|
|
2608
2608
|
listelement: e.shape({
|
|
2609
2609
|
nom: e.string.isRequired,
|
|
2610
2610
|
created_at: e.string,
|
|
@@ -2639,7 +2639,7 @@ ot.propTypes = {
|
|
|
2639
2639
|
processTooltip: e.string,
|
|
2640
2640
|
defaultTooltip: e.string
|
|
2641
2641
|
};
|
|
2642
|
-
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",
|
|
2642
|
+
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", $1 = ({
|
|
2643
2643
|
elementsList: n,
|
|
2644
2644
|
activeElementId: d,
|
|
2645
2645
|
fontColor: o = "#605B56",
|
|
@@ -2648,7 +2648,7 @@ const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2648
2648
|
containerStyles: r = {},
|
|
2649
2649
|
newElementButton: l,
|
|
2650
2650
|
//{label: 'text', onClick: function()}/null
|
|
2651
|
-
onClickElement: a = (
|
|
2651
|
+
onClickElement: a = (C) => console.log(`OnCLickElement: ${C}`),
|
|
2652
2652
|
columns: c,
|
|
2653
2653
|
// {'nom': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
|
|
2654
2654
|
elementButtons: u,
|
|
@@ -2657,49 +2657,49 @@ const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2657
2657
|
//{label: 'x'}
|
|
2658
2658
|
processTooltip: m,
|
|
2659
2659
|
//texto para el tooltip del simbolo "En proceso"
|
|
2660
|
-
defaultTooltip:
|
|
2660
|
+
defaultTooltip: y
|
|
2661
2661
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
2662
2662
|
}) => {
|
|
2663
|
-
const { t:
|
|
2663
|
+
const { t: C } = k(), [h, b] = F(n);
|
|
2664
2664
|
L(() => {
|
|
2665
|
-
n &&
|
|
2665
|
+
n && b(n);
|
|
2666
2666
|
}, [n]);
|
|
2667
2667
|
const f = (_) => {
|
|
2668
|
-
if (
|
|
2669
|
-
let x = [...
|
|
2670
|
-
x.sort((w, v) => w[_].localeCompare(v[_])),
|
|
2668
|
+
if (h && h.length > 0) {
|
|
2669
|
+
let x = [...h];
|
|
2670
|
+
x.sort((w, v) => w[_].localeCompare(v[_])), b(x);
|
|
2671
2671
|
}
|
|
2672
2672
|
};
|
|
2673
|
-
return /* @__PURE__ */
|
|
2673
|
+
return /* @__PURE__ */ g(
|
|
2674
2674
|
"div",
|
|
2675
2675
|
{
|
|
2676
2676
|
className: I.elementSelector,
|
|
2677
2677
|
style: { color: o, ...r },
|
|
2678
2678
|
children: [
|
|
2679
|
-
/* @__PURE__ */
|
|
2679
|
+
/* @__PURE__ */ g(
|
|
2680
2680
|
"div",
|
|
2681
2681
|
{
|
|
2682
2682
|
className: I.header,
|
|
2683
2683
|
style: { borderBottom: `1px solid ${o}` },
|
|
2684
2684
|
children: [
|
|
2685
|
-
/* @__PURE__ */
|
|
2686
|
-
c.nom && /* @__PURE__ */ s("div", { className: I.elementName, children: /* @__PURE__ */
|
|
2687
|
-
/* @__PURE__ */ s("span", { children:
|
|
2685
|
+
/* @__PURE__ */ g("div", { className: I.nameDateContainer, children: [
|
|
2686
|
+
c.nom && /* @__PURE__ */ s("div", { className: I.elementName, children: /* @__PURE__ */ g("button", { onClick: () => f("name"), children: [
|
|
2687
|
+
/* @__PURE__ */ s("span", { children: C(c.nom) }),
|
|
2688
2688
|
/* @__PURE__ */ s("img", { src: qe })
|
|
2689
2689
|
] }) }),
|
|
2690
|
-
c.data && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */
|
|
2691
|
-
/* @__PURE__ */ s("span", { children:
|
|
2690
|
+
c.data && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ g("button", { onClick: () => f("date"), children: [
|
|
2691
|
+
/* @__PURE__ */ s("span", { children: C(c.data) }),
|
|
2692
2692
|
/* @__PURE__ */ s("img", { src: qe })
|
|
2693
2693
|
] }) }),
|
|
2694
|
-
c.ambit && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ s("span", { children:
|
|
2695
|
-
c.escenari && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ s("span", { children:
|
|
2694
|
+
c.ambit && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ s("span", { children: C(c.ambit) }) }),
|
|
2695
|
+
c.escenari && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ s("span", { children: C(c.escenari) }) })
|
|
2696
2696
|
] }),
|
|
2697
2697
|
/* @__PURE__ */ s("div", { className: I.buttonsContainer })
|
|
2698
2698
|
]
|
|
2699
2699
|
}
|
|
2700
2700
|
),
|
|
2701
|
-
/* @__PURE__ */ s("div", { className: I.elementListContainer, children:
|
|
2702
|
-
|
|
2701
|
+
/* @__PURE__ */ s("div", { className: I.elementListContainer, children: h && h.length > 0 && h.map((_) => /* @__PURE__ */ s(
|
|
2702
|
+
rt,
|
|
2703
2703
|
{
|
|
2704
2704
|
isActive: d == _.id,
|
|
2705
2705
|
listelement: _,
|
|
@@ -2710,24 +2710,24 @@ const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2710
2710
|
elementButtons: u,
|
|
2711
2711
|
moreInfo: p,
|
|
2712
2712
|
processTooltip: m,
|
|
2713
|
-
defaultTooltip:
|
|
2713
|
+
defaultTooltip: y
|
|
2714
2714
|
},
|
|
2715
2715
|
`elementKey${_.id}`
|
|
2716
2716
|
)) }),
|
|
2717
2717
|
l && /* @__PURE__ */ s("div", { className: I.newElementButtonContainer, children: /* @__PURE__ */ s(
|
|
2718
|
-
|
|
2718
|
+
ce,
|
|
2719
2719
|
{
|
|
2720
2720
|
style: { ...t },
|
|
2721
2721
|
onClick: l.onClick,
|
|
2722
2722
|
borderColor: "grey",
|
|
2723
|
-
children:
|
|
2723
|
+
children: C(l.label)
|
|
2724
2724
|
}
|
|
2725
2725
|
) })
|
|
2726
2726
|
]
|
|
2727
2727
|
}
|
|
2728
2728
|
);
|
|
2729
2729
|
};
|
|
2730
|
-
|
|
2730
|
+
$1.propTypes = {
|
|
2731
2731
|
elementList: e.arrayOf(
|
|
2732
2732
|
e.shape({
|
|
2733
2733
|
nom: e.string.isRequired,
|
|
@@ -2773,63 +2773,66 @@ T1.propTypes = {
|
|
|
2773
2773
|
processTooltip: e.string,
|
|
2774
2774
|
defaultTooltip: e.string
|
|
2775
2775
|
};
|
|
2776
|
-
const
|
|
2777
|
-
text: "text"
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2776
|
+
const Ze = {
|
|
2777
|
+
text: "text",
|
|
2778
|
+
password: "password"
|
|
2779
|
+
}, A1 = "_textInputContainer_1xbl6_2", O1 = "_labelContainer_1xbl6_2", I1 = "_inputContainer_1xbl6_5", R1 = "_showPasswordButton_1xbl6_11", E1 = "_forgotPassButton_1xbl6_23", ne = {
|
|
2780
|
+
textInputContainer: A1,
|
|
2781
|
+
labelContainer: O1,
|
|
2782
|
+
inputContainer: I1,
|
|
2783
|
+
showPasswordButton: R1,
|
|
2784
|
+
forgotPassButton: E1
|
|
2785
|
+
};
|
|
2786
|
+
var P1 = (n) => n.type === "checkbox", j1 = (n) => n instanceof Date, at = (n) => n == null;
|
|
2787
|
+
const z1 = (n) => typeof n == "object";
|
|
2788
|
+
var ie = (n) => !at(n) && !Array.isArray(n) && z1(n) && !j1(n), q1 = (n) => ie(n) && n.target ? P1(n.target) ? n.target.checked : n.target.value : n, Z1 = (n) => n.substring(0, n.search(/\.\d+(\.|$)/)) || n, H1 = (n, d) => n.has(Z1(d)), K1 = (n) => {
|
|
2786
2789
|
const d = n.constructor && n.constructor.prototype;
|
|
2787
|
-
return
|
|
2788
|
-
},
|
|
2789
|
-
function
|
|
2790
|
+
return ie(d) && d.hasOwnProperty("isPrototypeOf");
|
|
2791
|
+
}, U1 = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
2792
|
+
function lt(n) {
|
|
2790
2793
|
let d;
|
|
2791
2794
|
const o = Array.isArray(n), i = typeof FileList < "u" ? n instanceof FileList : !1;
|
|
2792
2795
|
if (n instanceof Date)
|
|
2793
2796
|
d = new Date(n);
|
|
2794
|
-
else if (!(
|
|
2795
|
-
if (d = o ? [] : {}, !o && !
|
|
2797
|
+
else if (!(U1 && (n instanceof Blob || i)) && (o || ie(n)))
|
|
2798
|
+
if (d = o ? [] : {}, !o && !K1(n))
|
|
2796
2799
|
d = n;
|
|
2797
2800
|
else
|
|
2798
2801
|
for (const t in n)
|
|
2799
|
-
n.hasOwnProperty(t) && (d[t] =
|
|
2802
|
+
n.hasOwnProperty(t) && (d[t] = lt(n[t]));
|
|
2800
2803
|
else
|
|
2801
2804
|
return n;
|
|
2802
2805
|
return d;
|
|
2803
2806
|
}
|
|
2804
|
-
var
|
|
2805
|
-
if (!d || !
|
|
2807
|
+
var ct = (n) => /^\w*$/.test(n), Be = (n) => n === void 0, G1 = (n) => Array.isArray(n) ? n.filter(Boolean) : [], dt = (n) => G1(n.replace(/["|']|\]/g, "").split(/\.|\[/)), $ = (n, d, o) => {
|
|
2808
|
+
if (!d || !ie(n))
|
|
2806
2809
|
return o;
|
|
2807
|
-
const i = (
|
|
2808
|
-
return
|
|
2809
|
-
}, ye = (n) => typeof n == "boolean",
|
|
2810
|
+
const i = (ct(d) ? [d] : dt(d)).reduce((t, r) => at(t) ? t : t[r], n);
|
|
2811
|
+
return Be(i) || i === n ? Be(n[d]) ? o : n[d] : i;
|
|
2812
|
+
}, ye = (n) => typeof n == "boolean", He = (n, d, o) => {
|
|
2810
2813
|
let i = -1;
|
|
2811
|
-
const t =
|
|
2814
|
+
const t = ct(d) ? [d] : dt(d), r = t.length, l = r - 1;
|
|
2812
2815
|
for (; ++i < r; ) {
|
|
2813
2816
|
const a = t[i];
|
|
2814
2817
|
let c = o;
|
|
2815
2818
|
if (i !== l) {
|
|
2816
2819
|
const u = n[a];
|
|
2817
|
-
c =
|
|
2820
|
+
c = ie(u) || Array.isArray(u) ? u : isNaN(+t[i + 1]) ? {} : [];
|
|
2818
2821
|
}
|
|
2819
2822
|
if (a === "__proto__" || a === "constructor" || a === "prototype")
|
|
2820
2823
|
return;
|
|
2821
2824
|
n[a] = c, n = n[a];
|
|
2822
2825
|
}
|
|
2823
2826
|
};
|
|
2824
|
-
const
|
|
2827
|
+
const Ke = {
|
|
2825
2828
|
BLUR: "blur",
|
|
2826
2829
|
CHANGE: "change"
|
|
2827
|
-
},
|
|
2830
|
+
}, Ue = {
|
|
2828
2831
|
all: "all"
|
|
2829
|
-
},
|
|
2830
|
-
|
|
2831
|
-
const
|
|
2832
|
-
var
|
|
2832
|
+
}, ut = N.createContext(null);
|
|
2833
|
+
ut.displayName = "HookFormContext";
|
|
2834
|
+
const Ve = () => N.useContext(ut);
|
|
2835
|
+
var Y1 = (n, d, o, i = !0) => {
|
|
2833
2836
|
const t = {
|
|
2834
2837
|
defaultValues: d._defaultValues
|
|
2835
2838
|
};
|
|
@@ -2837,14 +2840,14 @@ var K1 = (n, d, o, i = !0) => {
|
|
|
2837
2840
|
Object.defineProperty(t, r, {
|
|
2838
2841
|
get: () => {
|
|
2839
2842
|
const l = r;
|
|
2840
|
-
return d._proxyFormState[l] !==
|
|
2843
|
+
return d._proxyFormState[l] !== Ue.all && (d._proxyFormState[l] = !i || Ue.all), o && (o[l] = !0), n[l];
|
|
2841
2844
|
}
|
|
2842
2845
|
});
|
|
2843
2846
|
return t;
|
|
2844
2847
|
};
|
|
2845
|
-
const
|
|
2846
|
-
function
|
|
2847
|
-
const d =
|
|
2848
|
+
const pt = typeof window < "u" ? X.useLayoutEffect : X.useEffect;
|
|
2849
|
+
function W1(n) {
|
|
2850
|
+
const d = Ve(), { control: o = d.control, disabled: i, name: t, exact: r } = n || {}, [l, a] = N.useState(o._formState), c = N.useRef({
|
|
2848
2851
|
isDirty: !1,
|
|
2849
2852
|
isLoading: !1,
|
|
2850
2853
|
dirtyFields: !1,
|
|
@@ -2854,7 +2857,7 @@ function U1(n) {
|
|
|
2854
2857
|
isValid: !1,
|
|
2855
2858
|
errors: !1
|
|
2856
2859
|
});
|
|
2857
|
-
return
|
|
2860
|
+
return pt(() => o._subscribe({
|
|
2858
2861
|
name: t,
|
|
2859
2862
|
formState: c.current,
|
|
2860
2863
|
exact: r,
|
|
@@ -2866,27 +2869,27 @@ function U1(n) {
|
|
|
2866
2869
|
}
|
|
2867
2870
|
}), [t, i, r]), N.useEffect(() => {
|
|
2868
2871
|
c.current.isValid && o._setValid(!0);
|
|
2869
|
-
}, [o]), N.useMemo(() =>
|
|
2872
|
+
}, [o]), N.useMemo(() => Y1(l, o, c.current, !1), [l, o]);
|
|
2870
2873
|
}
|
|
2871
|
-
var
|
|
2872
|
-
function
|
|
2873
|
-
const d =
|
|
2874
|
-
return
|
|
2874
|
+
var J1 = (n) => typeof n == "string", X1 = (n, d, o, i, t) => J1(n) ? $(o, n, t) : Array.isArray(n) ? n.map((r) => $(o, r)) : o;
|
|
2875
|
+
function Q1(n) {
|
|
2876
|
+
const d = Ve(), { control: o = d.control, name: i, defaultValue: t, disabled: r, exact: l } = n || {}, a = N.useRef(t), [c, u] = N.useState(o._getWatch(i, a.current));
|
|
2877
|
+
return pt(() => o._subscribe({
|
|
2875
2878
|
name: i,
|
|
2876
2879
|
formState: {
|
|
2877
2880
|
values: !0
|
|
2878
2881
|
},
|
|
2879
2882
|
exact: l,
|
|
2880
|
-
callback: (p) => !r && u(
|
|
2883
|
+
callback: (p) => !r && u(X1(i, o._names, p.values || o._formValues, !1, a.current))
|
|
2881
2884
|
}), [i, o, r, l]), N.useEffect(() => o._removeUnmounted()), c;
|
|
2882
2885
|
}
|
|
2883
|
-
function
|
|
2884
|
-
const d =
|
|
2886
|
+
function en(n) {
|
|
2887
|
+
const d = Ve(), { name: o, disabled: i, control: t = d.control, shouldUnregister: r } = n, l = H1(t._names.array, o), a = Q1({
|
|
2885
2888
|
control: t,
|
|
2886
2889
|
name: o,
|
|
2887
2890
|
defaultValue: $(t._formValues, o, $(t._defaultValues, o, n.defaultValue)),
|
|
2888
2891
|
exact: !0
|
|
2889
|
-
}), c =
|
|
2892
|
+
}), c = W1({
|
|
2890
2893
|
control: t,
|
|
2891
2894
|
name: o,
|
|
2892
2895
|
exact: !0
|
|
@@ -2915,19 +2918,19 @@ function J1(n) {
|
|
|
2915
2918
|
enumerable: !0,
|
|
2916
2919
|
get: () => $(c.errors, o)
|
|
2917
2920
|
}
|
|
2918
|
-
}), [c, o]),
|
|
2921
|
+
}), [c, o]), y = N.useCallback((f) => p.current.onChange({
|
|
2919
2922
|
target: {
|
|
2920
|
-
value:
|
|
2923
|
+
value: q1(f),
|
|
2921
2924
|
name: o
|
|
2922
2925
|
},
|
|
2923
|
-
type:
|
|
2924
|
-
}), [o]),
|
|
2926
|
+
type: Ke.CHANGE
|
|
2927
|
+
}), [o]), C = N.useCallback(() => p.current.onBlur({
|
|
2925
2928
|
target: {
|
|
2926
2929
|
value: $(t._formValues, o),
|
|
2927
2930
|
name: o
|
|
2928
2931
|
},
|
|
2929
|
-
type:
|
|
2930
|
-
}), [o, t._formValues]),
|
|
2932
|
+
type: Ke.BLUR
|
|
2933
|
+
}), [o, t._formValues]), h = N.useCallback((f) => {
|
|
2931
2934
|
const _ = $(t._fields, o);
|
|
2932
2935
|
_ && f && (_._f.ref = {
|
|
2933
2936
|
focus: () => f.focus && f.focus(),
|
|
@@ -2935,14 +2938,14 @@ function J1(n) {
|
|
|
2935
2938
|
setCustomValidity: (x) => f.setCustomValidity(x),
|
|
2936
2939
|
reportValidity: () => f.reportValidity()
|
|
2937
2940
|
});
|
|
2938
|
-
}, [t._fields, o]),
|
|
2941
|
+
}, [t._fields, o]), b = N.useMemo(() => ({
|
|
2939
2942
|
name: o,
|
|
2940
2943
|
value: a,
|
|
2941
2944
|
...ye(i) || c.disabled ? { disabled: c.disabled || i } : {},
|
|
2942
|
-
onChange:
|
|
2943
|
-
onBlur:
|
|
2944
|
-
ref:
|
|
2945
|
-
}), [o, i, c.disabled,
|
|
2945
|
+
onChange: y,
|
|
2946
|
+
onBlur: C,
|
|
2947
|
+
ref: h
|
|
2948
|
+
}), [o, i, c.disabled, y, C, h, a]);
|
|
2946
2949
|
return N.useEffect(() => {
|
|
2947
2950
|
const f = t._options.shouldUnregister || r;
|
|
2948
2951
|
t.register(o, {
|
|
@@ -2954,8 +2957,8 @@ function J1(n) {
|
|
|
2954
2957
|
v && v._f && (v._f.mount = w);
|
|
2955
2958
|
};
|
|
2956
2959
|
if (_(o, !0), f) {
|
|
2957
|
-
const x =
|
|
2958
|
-
|
|
2960
|
+
const x = lt($(t._options.defaultValues, o));
|
|
2961
|
+
He(t._defaultValues, o, x), Be($(t._formValues, o)) && He(t._formValues, o, x);
|
|
2959
2962
|
}
|
|
2960
2963
|
return !l && t.register(o), () => {
|
|
2961
2964
|
(l ? f && !t._state.action : f) ? t.unregister(o) : _(o, !1);
|
|
@@ -2966,14 +2969,14 @@ function J1(n) {
|
|
|
2966
2969
|
name: o
|
|
2967
2970
|
});
|
|
2968
2971
|
}, [i, o, t]), N.useMemo(() => ({
|
|
2969
|
-
field:
|
|
2972
|
+
field: b,
|
|
2970
2973
|
formState: c,
|
|
2971
2974
|
fieldState: m
|
|
2972
|
-
}), [
|
|
2975
|
+
}), [b, c, m]);
|
|
2973
2976
|
}
|
|
2974
|
-
const
|
|
2975
|
-
errorMessage:
|
|
2976
|
-
},
|
|
2977
|
+
const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
2978
|
+
errorMessage: nn
|
|
2979
|
+
}, mt = ({
|
|
2977
2980
|
errorMessage: n,
|
|
2978
2981
|
errorColor: d = "red",
|
|
2979
2982
|
containerStyles: o
|
|
@@ -2982,12 +2985,12 @@ const X1 = (n) => n.render(J1(n)), Q1 = "_errorMessage_1xiyb_2", en = {
|
|
|
2982
2985
|
return /* @__PURE__ */ s(
|
|
2983
2986
|
"div",
|
|
2984
2987
|
{
|
|
2985
|
-
className:
|
|
2988
|
+
className: on.errorMessage,
|
|
2986
2989
|
style: { color: d, ...o },
|
|
2987
2990
|
children: n ? i(n) : ""
|
|
2988
2991
|
}
|
|
2989
2992
|
);
|
|
2990
|
-
},
|
|
2993
|
+
}, Ge = ({ input: n, control: d }) => {
|
|
2991
2994
|
const {
|
|
2992
2995
|
code: o,
|
|
2993
2996
|
type: i,
|
|
@@ -2996,40 +2999,63 @@ const X1 = (n) => n.render(J1(n)), Q1 = "_errorMessage_1xiyb_2", en = {
|
|
|
2996
2999
|
required: l,
|
|
2997
3000
|
validateFunction: a,
|
|
2998
3001
|
placeholder: c,
|
|
2999
|
-
errorColor: u = "red"
|
|
3000
|
-
|
|
3002
|
+
errorColor: u = "red",
|
|
3003
|
+
width: p = 325,
|
|
3004
|
+
onClickForgotPass: m = () => {
|
|
3005
|
+
console.log("Click on forgot password");
|
|
3006
|
+
},
|
|
3007
|
+
forgotPassLabel: y = "forgot-password"
|
|
3008
|
+
} = n, { t: C } = k(), [h, b] = F(!1), f = () => i ? i === "password" && h ? "text" : i : "text";
|
|
3001
3009
|
return /* @__PURE__ */ s(
|
|
3002
|
-
|
|
3010
|
+
tn,
|
|
3003
3011
|
{
|
|
3004
3012
|
name: o,
|
|
3005
3013
|
control: d,
|
|
3006
3014
|
rules: {
|
|
3007
|
-
required: l ? `${
|
|
3015
|
+
required: l ? `${C(t)} ${C("errorMessages.required")}` : !1,
|
|
3008
3016
|
maxLength: r || void 0,
|
|
3009
3017
|
validate: a || void 0
|
|
3010
3018
|
},
|
|
3011
|
-
render: ({ field:
|
|
3012
|
-
var
|
|
3013
|
-
return /* @__PURE__ */
|
|
3014
|
-
/* @__PURE__ */
|
|
3019
|
+
render: ({ field: _, fieldState: x }) => {
|
|
3020
|
+
var w;
|
|
3021
|
+
return /* @__PURE__ */ g("div", { className: ne.textInputContainer, children: [
|
|
3022
|
+
/* @__PURE__ */ g("h3", { className: ne.labelContainer, children: [
|
|
3015
3023
|
t,
|
|
3016
3024
|
" ",
|
|
3017
|
-
l && /* @__PURE__ */ s("label", { style: { color:
|
|
3025
|
+
l && /* @__PURE__ */ s("label", { style: { color: x.error ? u : "" }, children: "*" })
|
|
3018
3026
|
] }),
|
|
3019
|
-
/* @__PURE__ */
|
|
3020
|
-
"
|
|
3027
|
+
/* @__PURE__ */ g(
|
|
3028
|
+
"div",
|
|
3021
3029
|
{
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3030
|
+
style: { position: "relative", width: p },
|
|
3031
|
+
className: ne.inputContainer,
|
|
3032
|
+
children: [
|
|
3033
|
+
/* @__PURE__ */ s(
|
|
3034
|
+
"input",
|
|
3035
|
+
{
|
|
3036
|
+
type: f(),
|
|
3037
|
+
..._,
|
|
3038
|
+
placeholder: c ? C(c) : "",
|
|
3039
|
+
maxLength: r || void 0
|
|
3040
|
+
}
|
|
3041
|
+
),
|
|
3042
|
+
i == "password" && /* @__PURE__ */ s(
|
|
3043
|
+
"button",
|
|
3044
|
+
{
|
|
3045
|
+
onClick: () => b(!h),
|
|
3046
|
+
type: "button",
|
|
3047
|
+
className: ne.showPasswordButton,
|
|
3048
|
+
children: h ? "🙈" : "👁️"
|
|
3049
|
+
}
|
|
3050
|
+
)
|
|
3051
|
+
]
|
|
3027
3052
|
}
|
|
3028
3053
|
),
|
|
3054
|
+
i == "password" && /* @__PURE__ */ s("div", { className: ne.forgotPassButton, children: /* @__PURE__ */ s("button", { onClick: m, children: C(y) }) }),
|
|
3029
3055
|
/* @__PURE__ */ s(
|
|
3030
|
-
|
|
3056
|
+
mt,
|
|
3031
3057
|
{
|
|
3032
|
-
errorMessage: (
|
|
3058
|
+
errorMessage: (w = x.error) == null ? void 0 : w.message,
|
|
3033
3059
|
errorColor: u
|
|
3034
3060
|
}
|
|
3035
3061
|
)
|
|
@@ -3037,29 +3063,38 @@ const X1 = (n) => n.render(J1(n)), Q1 = "_errorMessage_1xiyb_2", en = {
|
|
|
3037
3063
|
}
|
|
3038
3064
|
}
|
|
3039
3065
|
);
|
|
3040
|
-
},
|
|
3041
|
-
formContainer:
|
|
3042
|
-
formObjectContainer:
|
|
3043
|
-
buttonContainer:
|
|
3044
|
-
},
|
|
3045
|
-
inputsContainer:
|
|
3046
|
-
},
|
|
3066
|
+
}, sn = "_formContainer_fx5a2_2", rn = "_formObjectContainer_fx5a2_11", an = "_buttonContainer_fx5a2_21", _e = {
|
|
3067
|
+
formContainer: sn,
|
|
3068
|
+
formObjectContainer: rn,
|
|
3069
|
+
buttonContainer: an
|
|
3070
|
+
}, ln = "_inputsContainer_10t9s_2", ve = {
|
|
3071
|
+
inputsContainer: ln
|
|
3072
|
+
}, xe = ({ inputs: n, control: d, inputContainerStyles: o }) => /* @__PURE__ */ s("div", { className: ve.inputsContainer, children: n == null ? void 0 : n.map((i, t) => {
|
|
3047
3073
|
const { inputType: r } = i;
|
|
3048
3074
|
switch (r) {
|
|
3049
|
-
case
|
|
3075
|
+
case Ze.text:
|
|
3050
3076
|
const { code: l, type: a, label: c, maxLength: u, required: p, validateFunction: m } = i;
|
|
3051
3077
|
return /* @__PURE__ */ s(
|
|
3052
3078
|
"div",
|
|
3053
3079
|
{
|
|
3054
|
-
className:
|
|
3080
|
+
className: ve.inputContainer,
|
|
3081
|
+
style: { ...o },
|
|
3082
|
+
children: /* @__PURE__ */ s(Ge, { input: i, control: d })
|
|
3083
|
+
}
|
|
3084
|
+
);
|
|
3085
|
+
case Ze.password:
|
|
3086
|
+
return /* @__PURE__ */ s(
|
|
3087
|
+
"div",
|
|
3088
|
+
{
|
|
3089
|
+
className: ve.inputContainer,
|
|
3055
3090
|
style: { ...o },
|
|
3056
|
-
children: /* @__PURE__ */ s(
|
|
3091
|
+
children: /* @__PURE__ */ s(Ge, { input: i, control: d })
|
|
3057
3092
|
}
|
|
3058
3093
|
);
|
|
3059
3094
|
default:
|
|
3060
3095
|
return /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s("h4", { children: "Default" }) });
|
|
3061
3096
|
}
|
|
3062
|
-
}) }),
|
|
3097
|
+
}) }), qn = ({
|
|
3063
3098
|
reactHookFormInstance: n,
|
|
3064
3099
|
formObject: d,
|
|
3065
3100
|
//Component with {title, children} as props.
|
|
@@ -3077,23 +3112,23 @@ const X1 = (n) => n.render(J1(n)), Q1 = "_errorMessage_1xiyb_2", en = {
|
|
|
3077
3112
|
handleSubmit: u,
|
|
3078
3113
|
watch: p,
|
|
3079
3114
|
control: m,
|
|
3080
|
-
formState: { errors:
|
|
3115
|
+
formState: { errors: y }
|
|
3081
3116
|
} = n;
|
|
3082
3117
|
L(() => {
|
|
3083
|
-
console.log("Errors ",
|
|
3084
|
-
}, [JSON.stringify(
|
|
3085
|
-
const { t:
|
|
3118
|
+
console.log("Errors ", y);
|
|
3119
|
+
}, [JSON.stringify(y)]);
|
|
3120
|
+
const { t: C } = k();
|
|
3086
3121
|
return (
|
|
3087
3122
|
/* "handleSubmit" will validate your inputs before invoking "onSubmit" */
|
|
3088
|
-
/* @__PURE__ */
|
|
3089
|
-
/* @__PURE__ */ s("div", { className: _e.formObjectContainer, children: d && d.map((
|
|
3090
|
-
const { inputs: f } =
|
|
3091
|
-
return
|
|
3123
|
+
/* @__PURE__ */ g("form", { className: _e.formContainer, onSubmit: u(a), children: [
|
|
3124
|
+
/* @__PURE__ */ s("div", { className: _e.formObjectContainer, children: d && d.map((h, b) => {
|
|
3125
|
+
const { inputs: f } = h;
|
|
3126
|
+
return h.category ? o ? /* @__PURE__ */ s(
|
|
3092
3127
|
o,
|
|
3093
3128
|
{
|
|
3094
|
-
title:
|
|
3129
|
+
title: h.category,
|
|
3095
3130
|
children: /* @__PURE__ */ s(
|
|
3096
|
-
|
|
3131
|
+
xe,
|
|
3097
3132
|
{
|
|
3098
3133
|
inputs: f,
|
|
3099
3134
|
control: m,
|
|
@@ -3102,12 +3137,12 @@ const X1 = (n) => n.render(J1(n)), Q1 = "_errorMessage_1xiyb_2", en = {
|
|
|
3102
3137
|
}
|
|
3103
3138
|
)
|
|
3104
3139
|
},
|
|
3105
|
-
`${
|
|
3106
|
-
) : /* @__PURE__ */
|
|
3107
|
-
/* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children:
|
|
3140
|
+
`${h.category}${b}`
|
|
3141
|
+
) : /* @__PURE__ */ g("div", { style: { width: "100%" }, children: [
|
|
3142
|
+
/* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children: h.category }),
|
|
3108
3143
|
/* @__PURE__ */ s("p", { children: "This is a category component example." }),
|
|
3109
3144
|
/* @__PURE__ */ s("div", { style: { paddingTop: 50, width: "100%" }, children: /* @__PURE__ */ s(
|
|
3110
|
-
|
|
3145
|
+
xe,
|
|
3111
3146
|
{
|
|
3112
3147
|
inputs: f,
|
|
3113
3148
|
control: m,
|
|
@@ -3115,29 +3150,29 @@ const X1 = (n) => n.render(J1(n)), Q1 = "_errorMessage_1xiyb_2", en = {
|
|
|
3115
3150
|
errorColor: r
|
|
3116
3151
|
}
|
|
3117
3152
|
) })
|
|
3118
|
-
] }, `${
|
|
3119
|
-
|
|
3153
|
+
] }, `${h.category}${b}`) : /* @__PURE__ */ s("div", { style: { width: "100%" }, children: /* @__PURE__ */ s(
|
|
3154
|
+
xe,
|
|
3120
3155
|
{
|
|
3121
3156
|
inputContainerStyles: i,
|
|
3122
3157
|
inputs: f,
|
|
3123
3158
|
control: m,
|
|
3124
3159
|
errorColor: r
|
|
3125
3160
|
}
|
|
3126
|
-
) }, `inputKey${
|
|
3161
|
+
) }, `inputKey${b}`);
|
|
3127
3162
|
}) }),
|
|
3128
|
-
/* @__PURE__ */
|
|
3129
|
-
/* @__PURE__ */ s(
|
|
3130
|
-
/* @__PURE__ */ s(
|
|
3163
|
+
/* @__PURE__ */ g("div", { className: _e.buttonContainer, children: [
|
|
3164
|
+
/* @__PURE__ */ s(ce, { type: "submit", children: C(l) }),
|
|
3165
|
+
/* @__PURE__ */ s(mt, { errorMessage: t, errorColor: r })
|
|
3131
3166
|
] })
|
|
3132
3167
|
] })
|
|
3133
3168
|
);
|
|
3134
|
-
},
|
|
3135
|
-
header:
|
|
3136
|
-
leftComponents:
|
|
3137
|
-
centerComponents:
|
|
3138
|
-
rightComponents:
|
|
3139
|
-
componentsContainer:
|
|
3140
|
-
},
|
|
3169
|
+
}, cn = "_header_13kbt_2", dn = "_leftComponents_13kbt_13", un = "_centerComponents_13kbt_14", pn = "_rightComponents_13kbt_15", mn = "_componentsContainer_13kbt_32", K = {
|
|
3170
|
+
header: cn,
|
|
3171
|
+
leftComponents: dn,
|
|
3172
|
+
centerComponents: un,
|
|
3173
|
+
rightComponents: pn,
|
|
3174
|
+
componentsContainer: mn
|
|
3175
|
+
}, hn = ({
|
|
3141
3176
|
cssProps: n,
|
|
3142
3177
|
leftComponents: d = [],
|
|
3143
3178
|
centerComponents: o = [],
|
|
@@ -3147,7 +3182,7 @@ const X1 = (n) => n.render(J1(n)), Q1 = "_errorMessage_1xiyb_2", en = {
|
|
|
3147
3182
|
backgroundColor: l = "#605B56",
|
|
3148
3183
|
isFooter: a = !1
|
|
3149
3184
|
// If true, it will apply footer styles
|
|
3150
|
-
}) => /* @__PURE__ */
|
|
3185
|
+
}) => /* @__PURE__ */ g(
|
|
3151
3186
|
"div",
|
|
3152
3187
|
{
|
|
3153
3188
|
className: K.header,
|
|
@@ -3166,7 +3201,7 @@ const X1 = (n) => n.render(J1(n)), Q1 = "_errorMessage_1xiyb_2", en = {
|
|
|
3166
3201
|
]
|
|
3167
3202
|
}
|
|
3168
3203
|
);
|
|
3169
|
-
|
|
3204
|
+
hn.propTypes = {
|
|
3170
3205
|
leftComponents: e.arrayOf(e.node),
|
|
3171
3206
|
centerComponents: e.arrayOf(e.node),
|
|
3172
3207
|
rightComponents: e.arrayOf(e.node),
|
|
@@ -3176,53 +3211,53 @@ pn.propTypes = {
|
|
|
3176
3211
|
backgroundColor: e.string,
|
|
3177
3212
|
isFooter: e.bool
|
|
3178
3213
|
};
|
|
3179
|
-
const
|
|
3180
|
-
sidebar:
|
|
3181
|
-
open:
|
|
3182
|
-
content:
|
|
3183
|
-
closeButton:
|
|
3184
|
-
},
|
|
3214
|
+
const gn = "_sidebar_1jqo2_2", Cn = "_open_1jqo2_16", fn = "_content_1jqo2_20", bn = "_closeButton_1jqo2_26", ae = {
|
|
3215
|
+
sidebar: gn,
|
|
3216
|
+
open: Cn,
|
|
3217
|
+
content: fn,
|
|
3218
|
+
closeButton: bn
|
|
3219
|
+
}, yn = ({ width: n = "300px", children: d, showRightBar: o, onCloseBar: i }) => {
|
|
3185
3220
|
const t = () => {
|
|
3186
3221
|
i();
|
|
3187
3222
|
};
|
|
3188
3223
|
return /* @__PURE__ */ s(
|
|
3189
3224
|
"div",
|
|
3190
3225
|
{
|
|
3191
|
-
className: `${
|
|
3226
|
+
className: `${ae.sidebar} ${o ? ae.open : ""}`,
|
|
3192
3227
|
style: { width: o ? n : 0 },
|
|
3193
|
-
children: o && /* @__PURE__ */
|
|
3194
|
-
/* @__PURE__ */ s("button", { className:
|
|
3228
|
+
children: o && /* @__PURE__ */ g("div", { className: ae.content, children: [
|
|
3229
|
+
/* @__PURE__ */ s("button", { className: ae.closeButton, onClick: t, children: "×" }),
|
|
3195
3230
|
d
|
|
3196
3231
|
] })
|
|
3197
3232
|
}
|
|
3198
3233
|
);
|
|
3199
3234
|
};
|
|
3200
|
-
|
|
3235
|
+
yn.propTypes = {
|
|
3201
3236
|
width: e.string,
|
|
3202
3237
|
children: e.node,
|
|
3203
3238
|
showRightBar: e.bool,
|
|
3204
3239
|
onCloseBar: e.func
|
|
3205
3240
|
};
|
|
3206
3241
|
export {
|
|
3207
|
-
|
|
3208
|
-
|
|
3242
|
+
s2 as AmbitSelector,
|
|
3243
|
+
f2 as ButtonsList,
|
|
3209
3244
|
G as DropdownList,
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3245
|
+
In as EditAmbit,
|
|
3246
|
+
q2 as FiltersAmbit,
|
|
3247
|
+
qn as Form,
|
|
3248
|
+
G2 as Graphic,
|
|
3249
|
+
hn as HeaderSection,
|
|
3250
|
+
p0 as IndicatorsList,
|
|
3251
|
+
b0 as LangSelector,
|
|
3252
|
+
T0 as Legend,
|
|
3253
|
+
$1 as ListSelector,
|
|
3254
|
+
d1 as LogInButton,
|
|
3255
|
+
$0 as LogoApp,
|
|
3256
|
+
I0 as MapboxMap,
|
|
3257
|
+
q0 as MaplibreMap,
|
|
3258
|
+
yn as RightSidebar,
|
|
3259
|
+
Rn as SectionBar,
|
|
3260
|
+
i1 as TimeSlider,
|
|
3226
3261
|
U as Tooltip,
|
|
3227
|
-
|
|
3262
|
+
a1 as TopNavMenu
|
|
3228
3263
|
};
|