@tmf_ciclica/ciclicastorybook 1.1.58 → 1.1.59
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 +2 -2
- package/dist/index.es.js +253 -251
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
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_15gun_2{width:100%}._textInputContainer_15gun_2 ._labelContainer_15gun_5{margin-bottom:25px}._textInputContainer_15gun_2 ._inputContainer_15gun_8{background-color:#605b5620;padding:7px;border-radius:4px;position:relative}._textInputContainer_15gun_2 ._inputContainer_15gun_8 ._showPasswordButton_15gun_14{position:absolute;right:5px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer}._textInputContainer_15gun_2 ._inputContainer_15gun_8 input{width:100%}._textInputContainer_15gun_2 ._forgotPassButton_15gun_26{margin-top:10px;cursor:pointer}._textInputContainer_15gun_2 ._forgotPassButton_15gun_26 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_pt7g1_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_pt7g1_16{border-left:1px solid #ddd}._content_pt7g1_20{position:relative;padding:20px;height:100%}._closeButton_pt7g1_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_pt7g1_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
import { jsxs as h, jsx as s, Fragment as
|
|
2
|
+
import { jsxs as h, jsx as s, Fragment as xe } from "react/jsx-runtime";
|
|
3
3
|
import * as X from "react";
|
|
4
|
-
import N, { useState as M, useEffect as D, useMemo as le, useLayoutEffect as Ct, useRef as
|
|
4
|
+
import N, { useState as M, useEffect as D, useMemo as le, useLayoutEffect as Ct, useRef as Fe } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
|
-
import { useTranslation as k, Trans as
|
|
7
|
-
import { motion as
|
|
6
|
+
import { useTranslation as k, Trans as Le } from "react-i18next";
|
|
7
|
+
import { motion as De } from "framer-motion";
|
|
8
8
|
import { create as ft } from "zustand";
|
|
9
|
-
import * as
|
|
9
|
+
import * as Ae from "d3";
|
|
10
10
|
import bt from "mapbox-gl";
|
|
11
|
-
import { useSelector as yt, useDispatch as
|
|
12
|
-
import
|
|
11
|
+
import { useSelector as yt, useDispatch as vt } from "react-redux";
|
|
12
|
+
import _t, { Source as wt, Layer as xt, NavigationControl as kt, Popup as Nt } from "react-map-gl/mapbox";
|
|
13
13
|
import pe from "maplibre-gl";
|
|
14
14
|
import { Protocol as St } from "pmtiles";
|
|
15
15
|
import Bt, { Source as Mt, Layer as Ft, NavigationControl as Lt, Popup as Dt } from "react-map-gl/maplibre";
|
|
@@ -33,7 +33,7 @@ const Rt = "_ambitSelector_mcunf_2", Et = "_header_mcunf_13", Pt = "_nameDateCon
|
|
|
33
33
|
ambitName: Gt,
|
|
34
34
|
ambitDate: Yt,
|
|
35
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 = ({
|
|
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", We = ({
|
|
37
37
|
ambit: n,
|
|
38
38
|
onClickCopy: d,
|
|
39
39
|
onClickDelete: o,
|
|
@@ -74,7 +74,7 @@ const Rt = "_ambitSelector_mcunf_2", Et = "_header_mcunf_13", Pt = "_nameDateCon
|
|
|
74
74
|
}
|
|
75
75
|
);
|
|
76
76
|
};
|
|
77
|
-
|
|
77
|
+
We.propTypes = {
|
|
78
78
|
ambit: e.shape({
|
|
79
79
|
nom: e.string.isRequired,
|
|
80
80
|
created_at: e.string,
|
|
@@ -92,7 +92,7 @@ Ye.propTypes = {
|
|
|
92
92
|
moreInfo: e.object
|
|
93
93
|
// Optional, can be used for additional info
|
|
94
94
|
};
|
|
95
|
-
const
|
|
95
|
+
const Oe = "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
96
|
generalButton: i2
|
|
97
97
|
}, ce = ({
|
|
98
98
|
children: n,
|
|
@@ -134,10 +134,10 @@ const Ae = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
134
134
|
D(() => {
|
|
135
135
|
n && b(n);
|
|
136
136
|
}, [n]);
|
|
137
|
-
const
|
|
137
|
+
const v = (w) => {
|
|
138
138
|
if (f && f.length > 0) {
|
|
139
139
|
let x = [...f];
|
|
140
|
-
x.sort((
|
|
140
|
+
x.sort((_, S) => _[w].localeCompare(S[w])), b(x);
|
|
141
141
|
}
|
|
142
142
|
};
|
|
143
143
|
return /* @__PURE__ */ h(
|
|
@@ -153,13 +153,13 @@ const Ae = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
153
153
|
style: { borderBottom: `1px solid ${o}` },
|
|
154
154
|
children: [
|
|
155
155
|
/* @__PURE__ */ h("div", { className: j.nameDateContainer, children: [
|
|
156
|
-
/* @__PURE__ */ s("div", { className: j.ambitName, children: /* @__PURE__ */ h("button", { onClick: () =>
|
|
156
|
+
/* @__PURE__ */ s("div", { className: j.ambitName, children: /* @__PURE__ */ h("button", { onClick: () => v("name"), children: [
|
|
157
157
|
/* @__PURE__ */ s("span", { children: C(t) }),
|
|
158
|
-
/* @__PURE__ */ s("img", { src:
|
|
158
|
+
/* @__PURE__ */ s("img", { src: Oe })
|
|
159
159
|
] }) }),
|
|
160
|
-
/* @__PURE__ */ s("div", { className: j.ambitDate, children: /* @__PURE__ */ h("button", { onClick: () =>
|
|
160
|
+
/* @__PURE__ */ s("div", { className: j.ambitDate, children: /* @__PURE__ */ h("button", { onClick: () => v("date"), children: [
|
|
161
161
|
/* @__PURE__ */ s("span", { children: C(r) }),
|
|
162
|
-
/* @__PURE__ */ s("img", { src:
|
|
162
|
+
/* @__PURE__ */ s("img", { src: Oe })
|
|
163
163
|
] }) })
|
|
164
164
|
] }),
|
|
165
165
|
/* @__PURE__ */ s("div", { className: j.buttonsContainer })
|
|
@@ -167,7 +167,7 @@ const Ae = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
167
167
|
}
|
|
168
168
|
),
|
|
169
169
|
/* @__PURE__ */ s("div", { className: j.ambitListContainer, children: f && f.length > 0 && f.map((w) => /* @__PURE__ */ s(
|
|
170
|
-
|
|
170
|
+
We,
|
|
171
171
|
{
|
|
172
172
|
isActive: d == w.id,
|
|
173
173
|
ambit: w,
|
|
@@ -257,7 +257,7 @@ const f2 = ({
|
|
|
257
257
|
isActive: g,
|
|
258
258
|
name: y,
|
|
259
259
|
onClick: m
|
|
260
|
-
} = a, C = /* @__PURE__ */ h(
|
|
260
|
+
} = a, C = /* @__PURE__ */ h(xe, { children: [
|
|
261
261
|
o && i === "left" && /* @__PURE__ */ s("span", { className: q.buttonName, children: l(y) }),
|
|
262
262
|
/* @__PURE__ */ s("img", { src: g ? p : u, alt: l(y) }),
|
|
263
263
|
o && i === "right" && /* @__PURE__ */ s("span", { className: q.buttonName, children: l(y) })
|
|
@@ -314,7 +314,7 @@ const b2 = "_indicatorsCategory_1cu33_2", y2 = "_title_1cu33_5", me = {
|
|
|
314
314
|
}) => {
|
|
315
315
|
const { t: p } = k();
|
|
316
316
|
return /* @__PURE__ */ h(
|
|
317
|
-
|
|
317
|
+
De.div,
|
|
318
318
|
{
|
|
319
319
|
className: me.indicatorsCategory,
|
|
320
320
|
initial: { height: `${l}px` },
|
|
@@ -357,8 +357,8 @@ G.propTypes = {
|
|
|
357
357
|
showBottomBar: e.bool,
|
|
358
358
|
titleFontStyles: e.object
|
|
359
359
|
};
|
|
360
|
-
const Rn = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }),
|
|
361
|
-
AppliedFiltersContainer:
|
|
360
|
+
const Rn = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), v2 = "data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%201L13.9996%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20d='M14%201L1.00044%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", _2 = "_AppliedFiltersContainer_s8ooe_2", w2 = "_AppliedFilterContent_s8ooe_10", Ie = {
|
|
361
|
+
AppliedFiltersContainer: _2,
|
|
362
362
|
AppliedFilterContent: w2
|
|
363
363
|
}, L = ft((n) => ({
|
|
364
364
|
activeCategory: "",
|
|
@@ -367,7 +367,7 @@ const Rn = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), _2 = "data
|
|
|
367
367
|
tematicalFiltersSelected: [],
|
|
368
368
|
fontColor: "#605B56",
|
|
369
369
|
inputsColor: "#605B56"
|
|
370
|
-
})),
|
|
370
|
+
})), Je = ({ title: n, onClick: d, isOpen: o = !0, textColor: i = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
371
371
|
const { t: l } = k(), { tematicalFiltersSelected: a } = L((u) => u), c = (u) => {
|
|
372
372
|
L.setState((p) => ({
|
|
373
373
|
tematicalFiltersSelected: p.tematicalFiltersSelected.filter(
|
|
@@ -382,14 +382,14 @@ const Rn = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), _2 = "data
|
|
|
382
382
|
onClick: d,
|
|
383
383
|
title: n ? l(n) : "Applied Filters",
|
|
384
384
|
activeColor: r,
|
|
385
|
-
children: /* @__PURE__ */ s("div", { className:
|
|
385
|
+
children: /* @__PURE__ */ s("div", { className: Ie.AppliedFiltersContainer, children: a == null ? void 0 : a.map((u, p) => /* @__PURE__ */ h("div", { className: Ie.AppliedFilterContent, style: { color: i, background: t }, children: [
|
|
386
386
|
l(u.name),
|
|
387
|
-
/* @__PURE__ */ s("img", { src:
|
|
387
|
+
/* @__PURE__ */ s("img", { src: v2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
|
|
388
388
|
] }, p)) })
|
|
389
389
|
}
|
|
390
390
|
);
|
|
391
391
|
};
|
|
392
|
-
|
|
392
|
+
Je.propTypes = {
|
|
393
393
|
isOpen: e.bool,
|
|
394
394
|
onClick: e.func,
|
|
395
395
|
title: e.string,
|
|
@@ -403,7 +403,7 @@ We.propTypes = {
|
|
|
403
403
|
),
|
|
404
404
|
activeColor: e.string
|
|
405
405
|
};
|
|
406
|
-
const
|
|
406
|
+
const Xe = ({ title: n, onClick: d, isOpen: o = !0, textColor: i = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
407
407
|
const { t: l } = k(), { tematicalFiltersSelected: a } = L((c) => c);
|
|
408
408
|
return /* @__PURE__ */ s(
|
|
409
409
|
G,
|
|
@@ -416,7 +416,7 @@ const Je = ({ title: n, onClick: d, isOpen: o = !0, textColor: i = "#ffffff", ba
|
|
|
416
416
|
}
|
|
417
417
|
);
|
|
418
418
|
};
|
|
419
|
-
|
|
419
|
+
Xe.propTypes = {
|
|
420
420
|
isOpen: e.bool,
|
|
421
421
|
onClick: e.func,
|
|
422
422
|
title: e.string,
|
|
@@ -426,7 +426,7 @@ Je.propTypes = {
|
|
|
426
426
|
};
|
|
427
427
|
const x2 = "_checkboxContainer_zld97_2", k2 = {
|
|
428
428
|
checkboxContainer: x2
|
|
429
|
-
},
|
|
429
|
+
}, Qe = ({
|
|
430
430
|
onClick: n,
|
|
431
431
|
containerStyles: d,
|
|
432
432
|
color: o = "#605B56",
|
|
@@ -460,7 +460,7 @@ const x2 = "_checkboxContainer_zld97_2", k2 = {
|
|
|
460
460
|
}
|
|
461
461
|
);
|
|
462
462
|
};
|
|
463
|
-
|
|
463
|
+
Qe.propTypes = {
|
|
464
464
|
onClick: e.func,
|
|
465
465
|
value: e.bool,
|
|
466
466
|
containerStyles: e.object,
|
|
@@ -471,13 +471,13 @@ Xe.propTypes = {
|
|
|
471
471
|
}),
|
|
472
472
|
checkedColor: e.string
|
|
473
473
|
};
|
|
474
|
-
function
|
|
475
|
-
return
|
|
474
|
+
function ke(n, d) {
|
|
475
|
+
return ke = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, i) {
|
|
476
476
|
return o.__proto__ = i, o;
|
|
477
|
-
},
|
|
477
|
+
}, ke(n, d);
|
|
478
478
|
}
|
|
479
479
|
function N2(n, d) {
|
|
480
|
-
n.prototype = Object.create(d.prototype), n.prototype.constructor = n,
|
|
480
|
+
n.prototype = Object.create(d.prototype), n.prototype.constructor = n, ke(n, d);
|
|
481
481
|
}
|
|
482
482
|
function he(n) {
|
|
483
483
|
return n && n.stopPropagation && n.stopPropagation(), n && n.preventDefault && n.preventDefault(), !1;
|
|
@@ -494,17 +494,17 @@ function se(n) {
|
|
|
494
494
|
});
|
|
495
495
|
}
|
|
496
496
|
function Z(n, d) {
|
|
497
|
-
return
|
|
497
|
+
return Ne(function(o, i) {
|
|
498
498
|
let t = o;
|
|
499
499
|
return t <= i.min && (t = i.min), t >= i.max && (t = i.max), t;
|
|
500
500
|
}(n, d), d);
|
|
501
501
|
}
|
|
502
|
-
function
|
|
502
|
+
function Ne(n, d) {
|
|
503
503
|
const o = (n - d.min) % d.step;
|
|
504
504
|
let i = n - o;
|
|
505
505
|
return 2 * Math.abs(o) >= d.step && (i += o > 0 ? d.step : -d.step), parseFloat(i.toFixed(5));
|
|
506
506
|
}
|
|
507
|
-
let
|
|
507
|
+
let Se = function(n) {
|
|
508
508
|
function d(i) {
|
|
509
509
|
var t;
|
|
510
510
|
(t = n.call(this, i) || this).onKeyUp = () => {
|
|
@@ -705,20 +705,20 @@ let Ne = function(n) {
|
|
|
705
705
|
}
|
|
706
706
|
t[r] = i, c && l > 1 && (i > a ? (this.pushSucceeding(t, g, r), function(y, m, C, f) {
|
|
707
707
|
for (let b = 0; b < y; b += 1) {
|
|
708
|
-
const
|
|
709
|
-
m[y - 1 - b] >
|
|
708
|
+
const v = f - b * C;
|
|
709
|
+
m[y - 1 - b] > v && (m[y - 1 - b] = v);
|
|
710
710
|
}
|
|
711
711
|
}(l, t, g, u)) : i < a && (this.pushPreceding(t, g, r), function(y, m, C, f) {
|
|
712
712
|
for (let b = 0; b < y; b += 1) {
|
|
713
|
-
const
|
|
714
|
-
m[b] <
|
|
713
|
+
const v = f + b * C;
|
|
714
|
+
m[b] < v && (m[b] = v);
|
|
715
715
|
}
|
|
716
716
|
}(l, t, g, p))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
717
717
|
}, o.pushSucceeding = function(i, t, r) {
|
|
718
718
|
let l, a;
|
|
719
|
-
for (l = r, a = i[l] + t; i[l + 1] !== null && a > i[l + 1]; l += 1, a = i[l] + t) i[l + 1] =
|
|
719
|
+
for (l = r, a = i[l] + t; i[l + 1] !== null && a > i[l + 1]; l += 1, a = i[l] + t) i[l + 1] = Ne(a, this.props);
|
|
720
720
|
}, o.pushPreceding = function(i, t, r) {
|
|
721
|
-
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] =
|
|
721
|
+
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] = Ne(a, this.props);
|
|
722
722
|
}, o.axisKey = function() {
|
|
723
723
|
return this.props.orientation === "vertical" ? "Y" : "X";
|
|
724
724
|
}, o.orthogonalAxisKey = function() {
|
|
@@ -767,8 +767,8 @@ let Ne = function(n) {
|
|
|
767
767
|
}, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, l, a, c);
|
|
768
768
|
}, d;
|
|
769
769
|
}(N.Component);
|
|
770
|
-
|
|
771
|
-
var S2 =
|
|
770
|
+
Se.displayName = "ReactSlider", Se.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) };
|
|
771
|
+
var S2 = Se;
|
|
772
772
|
const B2 = "_container_15vgv_2", M2 = "_unitLabel_15vgv_9", F2 = "_slider_15vgv_12", L2 = "_thumb_15vgv_18", D2 = "_track_15vgv_27", T2 = "_labels_15vgv_33", Y = {
|
|
773
773
|
container: B2,
|
|
774
774
|
unitLabel: M2,
|
|
@@ -776,7 +776,7 @@ const B2 = "_container_15vgv_2", M2 = "_unitLabel_15vgv_9", F2 = "_slider_15vgv_
|
|
|
776
776
|
thumb: L2,
|
|
777
777
|
track: D2,
|
|
778
778
|
labels: T2
|
|
779
|
-
},
|
|
779
|
+
}, et = ({
|
|
780
780
|
min: n = 0,
|
|
781
781
|
max: d = 100,
|
|
782
782
|
step: o = 1,
|
|
@@ -822,7 +822,7 @@ const B2 = "_container_15vgv_2", M2 = "_unitLabel_15vgv_9", F2 = "_slider_15vgv_
|
|
|
822
822
|
}
|
|
823
823
|
);
|
|
824
824
|
};
|
|
825
|
-
|
|
825
|
+
et.propTypes = {
|
|
826
826
|
min: e.number,
|
|
827
827
|
max: e.number,
|
|
828
828
|
step: e.number,
|
|
@@ -839,7 +839,7 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
839
839
|
inputTypeContainer: $2,
|
|
840
840
|
checkboxContainer: A2,
|
|
841
841
|
absoluteSliderContainer: O2
|
|
842
|
-
},
|
|
842
|
+
}, Te = ({
|
|
843
843
|
indicator: n,
|
|
844
844
|
//onChangeBothType
|
|
845
845
|
activeColor: d
|
|
@@ -863,9 +863,9 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
863
863
|
selectedIndicator: C,
|
|
864
864
|
fontColor: f,
|
|
865
865
|
inputsColor: b
|
|
866
|
-
} = L((x) => x),
|
|
866
|
+
} = L((x) => x), v = (x) => {
|
|
867
867
|
if (x) {
|
|
868
|
-
const { min:
|
|
868
|
+
const { min: _, max: S, valueClicked: B, allValues: E } = x || {}, { code: Q, type: de } = n || {}, ue = y ? "abs" : g ? "cat" : "both";
|
|
869
869
|
let R = Q[0];
|
|
870
870
|
de == "both" && (R = ue == "cat" ? Q[1] : Q[0]), ue == "cat" ? L.setState((z) => {
|
|
871
871
|
let P = z.tematicalFiltersSelected.find(
|
|
@@ -885,7 +885,7 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
885
885
|
)
|
|
886
886
|
};
|
|
887
887
|
} else {
|
|
888
|
-
let T = E.map((A,
|
|
888
|
+
let T = E.map((A, gt) => gt);
|
|
889
889
|
return {
|
|
890
890
|
tematicalFiltersSelected: [
|
|
891
891
|
...m,
|
|
@@ -902,7 +902,7 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
902
902
|
let P = z.tematicalFiltersSelected.find(
|
|
903
903
|
(T) => T.code === R
|
|
904
904
|
);
|
|
905
|
-
if (
|
|
905
|
+
if (_ == n.minValue && S == n.maxValue)
|
|
906
906
|
return {
|
|
907
907
|
tematicalFiltersSelected: z.tematicalFiltersSelected.filter(
|
|
908
908
|
(T) => T.code !== R
|
|
@@ -910,7 +910,7 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
910
910
|
};
|
|
911
911
|
if (P) {
|
|
912
912
|
let T = { ...P };
|
|
913
|
-
return T.min =
|
|
913
|
+
return T.min = _, T.max = S, {
|
|
914
914
|
tematicalFiltersSelected: z.tematicalFiltersSelected.map(
|
|
915
915
|
(A) => A.code === R ? T : A
|
|
916
916
|
)
|
|
@@ -919,7 +919,7 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
919
919
|
return {
|
|
920
920
|
tematicalFiltersSelected: [
|
|
921
921
|
...m,
|
|
922
|
-
{ type: "abs", code: R, min:
|
|
922
|
+
{ type: "abs", code: R, min: _, max: S }
|
|
923
923
|
]
|
|
924
924
|
};
|
|
925
925
|
});
|
|
@@ -927,8 +927,8 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
927
927
|
}, w = le(() => {
|
|
928
928
|
const x = {};
|
|
929
929
|
if ((m == null ? void 0 : m.length) > 0)
|
|
930
|
-
for (const
|
|
931
|
-
|
|
930
|
+
for (const _ of m)
|
|
931
|
+
_.type === "cat" ? x[_.code] = new Set(_.values) : x[_.code] = [_.min, _.max];
|
|
932
932
|
return x;
|
|
933
933
|
}, [m]);
|
|
934
934
|
return /* @__PURE__ */ s("div", { className: re.tematicalFiltersInputContainer, children: /* @__PURE__ */ h(
|
|
@@ -994,22 +994,22 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
994
994
|
]
|
|
995
995
|
}
|
|
996
996
|
),
|
|
997
|
-
g && /* @__PURE__ */ s("div", { className: re.checkboxContainer, children: l.map((x,
|
|
997
|
+
g && /* @__PURE__ */ s("div", { className: re.checkboxContainer, children: l.map((x, _) => {
|
|
998
998
|
var S;
|
|
999
999
|
return /* @__PURE__ */ s(
|
|
1000
|
-
|
|
1000
|
+
Qe,
|
|
1001
1001
|
{
|
|
1002
|
-
onClick: () =>
|
|
1002
|
+
onClick: () => v({ valueClicked: _, allValues: l }),
|
|
1003
1003
|
indicator: x,
|
|
1004
|
-
value: ((S = w[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : S.has(
|
|
1004
|
+
value: ((S = w[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : S.has(_)) || !w[n.code[t == "both" ? 1 : 0]]
|
|
1005
1005
|
},
|
|
1006
|
-
`checkbox-${
|
|
1006
|
+
`checkbox-${_}`
|
|
1007
1007
|
);
|
|
1008
1008
|
}) }),
|
|
1009
1009
|
y && /* @__PURE__ */ s("div", { className: re.absoluteSliderContainer, children: /* @__PURE__ */ s(
|
|
1010
|
-
|
|
1010
|
+
et,
|
|
1011
1011
|
{
|
|
1012
|
-
onChange:
|
|
1012
|
+
onChange: v,
|
|
1013
1013
|
min: a,
|
|
1014
1014
|
max: c,
|
|
1015
1015
|
unit: u,
|
|
@@ -1021,7 +1021,7 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
1021
1021
|
}
|
|
1022
1022
|
) });
|
|
1023
1023
|
};
|
|
1024
|
-
|
|
1024
|
+
Te.propTypes = {
|
|
1025
1025
|
indicator: e.shape({
|
|
1026
1026
|
name: e.string,
|
|
1027
1027
|
type: e.string,
|
|
@@ -1036,7 +1036,7 @@ De.propTypes = {
|
|
|
1036
1036
|
activeColor: e.string
|
|
1037
1037
|
//onChangeBothType: PropTypes.func,
|
|
1038
1038
|
};
|
|
1039
|
-
const
|
|
1039
|
+
const tt = ({
|
|
1040
1040
|
subcategory: n,
|
|
1041
1041
|
fontColor: d,
|
|
1042
1042
|
activeColor: o
|
|
@@ -1060,7 +1060,7 @@ const et = ({
|
|
|
1060
1060
|
color: d,
|
|
1061
1061
|
activeColor: o,
|
|
1062
1062
|
children: r == null ? void 0 : r.map((l, a) => /* @__PURE__ */ s(
|
|
1063
|
-
|
|
1063
|
+
Te,
|
|
1064
1064
|
{
|
|
1065
1065
|
indicator: l,
|
|
1066
1066
|
fontColor: d,
|
|
@@ -1071,7 +1071,7 @@ const et = ({
|
|
|
1071
1071
|
}
|
|
1072
1072
|
);
|
|
1073
1073
|
};
|
|
1074
|
-
|
|
1074
|
+
tt.propTypes = {
|
|
1075
1075
|
subcategory: e.shape({
|
|
1076
1076
|
name: e.string,
|
|
1077
1077
|
indicators: e.arrayOf(
|
|
@@ -1084,7 +1084,7 @@ et.propTypes = {
|
|
|
1084
1084
|
activeColor: e.string
|
|
1085
1085
|
//onChangeBothType: PropTypes.func,
|
|
1086
1086
|
};
|
|
1087
|
-
const
|
|
1087
|
+
const nt = ({
|
|
1088
1088
|
category: n,
|
|
1089
1089
|
// onChangeBothType,
|
|
1090
1090
|
activeColor: d
|
|
@@ -1105,7 +1105,7 @@ const tt = ({
|
|
|
1105
1105
|
color: l,
|
|
1106
1106
|
activeColor: d,
|
|
1107
1107
|
children: i ? i.map((a, c) => /* @__PURE__ */ s(
|
|
1108
|
-
|
|
1108
|
+
tt,
|
|
1109
1109
|
{
|
|
1110
1110
|
subcategory: a,
|
|
1111
1111
|
fontColor: l,
|
|
@@ -1113,7 +1113,7 @@ const tt = ({
|
|
|
1113
1113
|
},
|
|
1114
1114
|
`subcategory-${c}`
|
|
1115
1115
|
)) : t && t.map((a, c) => /* @__PURE__ */ s(
|
|
1116
|
-
|
|
1116
|
+
Te,
|
|
1117
1117
|
{
|
|
1118
1118
|
indicator: a,
|
|
1119
1119
|
fontColor: l,
|
|
@@ -1124,7 +1124,7 @@ const tt = ({
|
|
|
1124
1124
|
}
|
|
1125
1125
|
);
|
|
1126
1126
|
};
|
|
1127
|
-
|
|
1127
|
+
nt.propTypes = {
|
|
1128
1128
|
category: e.shape({
|
|
1129
1129
|
name: e.string.isRequired,
|
|
1130
1130
|
subcategories: e.array,
|
|
@@ -1133,7 +1133,7 @@ tt.propTypes = {
|
|
|
1133
1133
|
activeColor: e.string
|
|
1134
1134
|
//onChangeBothType: PropTypes.func,
|
|
1135
1135
|
};
|
|
1136
|
-
const
|
|
1136
|
+
const it = ({
|
|
1137
1137
|
indicators: n,
|
|
1138
1138
|
isOpen: d = !0,
|
|
1139
1139
|
title: o,
|
|
@@ -1155,7 +1155,7 @@ const nt = ({
|
|
|
1155
1155
|
color: i,
|
|
1156
1156
|
activeColor: r,
|
|
1157
1157
|
children: n == null ? void 0 : n.map((c, u) => /* @__PURE__ */ s(
|
|
1158
|
-
|
|
1158
|
+
nt,
|
|
1159
1159
|
{
|
|
1160
1160
|
category: c,
|
|
1161
1161
|
fontColor: i,
|
|
@@ -1166,7 +1166,7 @@ const nt = ({
|
|
|
1166
1166
|
}
|
|
1167
1167
|
);
|
|
1168
1168
|
};
|
|
1169
|
-
|
|
1169
|
+
it.propTypes = {
|
|
1170
1170
|
isOpen: e.bool,
|
|
1171
1171
|
title: e.string,
|
|
1172
1172
|
indicators: e.arrayOf(e.object),
|
|
@@ -1197,7 +1197,7 @@ const I2 = "_FiltersAmbitContainer_1g9xx_2", R2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1197
1197
|
filtersTypes: g = ["geographical", "tematical"],
|
|
1198
1198
|
nameRequiredText: y
|
|
1199
1199
|
}) => {
|
|
1200
|
-
const { t: m } = k(), { tematicalFiltersSelected: C } = L((B) => B), [f, b] = M(n || null), [
|
|
1200
|
+
const { t: m } = k(), { tematicalFiltersSelected: C } = L((B) => B), [f, b] = M(n || null), [v, w] = M(d || null), [x, _] = M(!1);
|
|
1201
1201
|
D(() => {
|
|
1202
1202
|
o && o.length > 0 && L.setState((B) => ({
|
|
1203
1203
|
tematicalFiltersSelected: o
|
|
@@ -1206,7 +1206,7 @@ const I2 = "_FiltersAmbitContainer_1g9xx_2", R2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1206
1206
|
console.log("filtersSelected changed: ", C), a(C);
|
|
1207
1207
|
}, [C]);
|
|
1208
1208
|
const S = () => {
|
|
1209
|
-
f ? c({ name: f, description:
|
|
1209
|
+
f ? c({ name: f, description: v }) : _(!0);
|
|
1210
1210
|
};
|
|
1211
1211
|
return /* @__PURE__ */ h("div", { className: W.FiltersAmbitContainer, children: [
|
|
1212
1212
|
/* @__PURE__ */ h("div", { className: W.FiltersAmbitHeader, children: [
|
|
@@ -1215,7 +1215,7 @@ const I2 = "_FiltersAmbitContainer_1g9xx_2", R2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1215
1215
|
{
|
|
1216
1216
|
type: "text",
|
|
1217
1217
|
onChange: (B) => {
|
|
1218
|
-
|
|
1218
|
+
_(!1), b(B.target.value);
|
|
1219
1219
|
},
|
|
1220
1220
|
value: f,
|
|
1221
1221
|
placeholder: m(u)
|
|
@@ -1224,14 +1224,14 @@ const I2 = "_FiltersAmbitContainer_1g9xx_2", R2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1224
1224
|
/* @__PURE__ */ s("div", { className: W.FiltersAmbitDescription, children: /* @__PURE__ */ s("div", { className: W.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ s(
|
|
1225
1225
|
"textarea",
|
|
1226
1226
|
{
|
|
1227
|
-
value:
|
|
1227
|
+
value: v,
|
|
1228
1228
|
onChange: (B) => w(B.target.value),
|
|
1229
1229
|
placeholder: m(p)
|
|
1230
1230
|
}
|
|
1231
1231
|
) }) })
|
|
1232
1232
|
] }),
|
|
1233
1233
|
/* @__PURE__ */ s(
|
|
1234
|
-
|
|
1234
|
+
Je,
|
|
1235
1235
|
{
|
|
1236
1236
|
title: m("applied_filters"),
|
|
1237
1237
|
isOpen: !0,
|
|
@@ -1240,9 +1240,9 @@ const I2 = "_FiltersAmbitContainer_1g9xx_2", R2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1240
1240
|
activeColor: t
|
|
1241
1241
|
}
|
|
1242
1242
|
),
|
|
1243
|
-
g.includes("geographical") && /* @__PURE__ */ s(
|
|
1243
|
+
g.includes("geographical") && /* @__PURE__ */ s(Xe, { activeColor: t }),
|
|
1244
1244
|
g.includes("tematical") && /* @__PURE__ */ s(
|
|
1245
|
-
|
|
1245
|
+
it,
|
|
1246
1246
|
{
|
|
1247
1247
|
indicators: i,
|
|
1248
1248
|
inputsColor: t,
|
|
@@ -1272,7 +1272,7 @@ q2.propTypes = {
|
|
|
1272
1272
|
};
|
|
1273
1273
|
const Z2 = "_barChartContainer_d2f1z_2", H2 = {
|
|
1274
1274
|
barChartContainer: Z2
|
|
1275
|
-
},
|
|
1275
|
+
}, ot = ({
|
|
1276
1276
|
data: n,
|
|
1277
1277
|
width: d = 700,
|
|
1278
1278
|
barHeight: o = 25,
|
|
@@ -1286,10 +1286,10 @@ const Z2 = "_barChartContainer_d2f1z_2", H2 = {
|
|
|
1286
1286
|
}) => {
|
|
1287
1287
|
const { t: p } = k(), { xScale: g, ticks: y, height: m } = le(() => {
|
|
1288
1288
|
if (n && n.length > 0) {
|
|
1289
|
-
const C = (n == null ? void 0 : n.length) * (o + i) + r * 2, f =
|
|
1289
|
+
const C = (n == null ? void 0 : n.length) * (o + i) + r * 2, f = Ae.max(n, (w) => w.value) || 1, b = Ae.scaleLinear().domain([0, u || f]).range([0, d - a]), v = Array.from({ length: c + 1 }, (w, x) => u ? u / c * x : f / c * x);
|
|
1290
1290
|
return {
|
|
1291
1291
|
xScale: b,
|
|
1292
|
-
ticks:
|
|
1292
|
+
ticks: v,
|
|
1293
1293
|
height: C,
|
|
1294
1294
|
width: d,
|
|
1295
1295
|
verticalPaddign: r,
|
|
@@ -1332,11 +1332,11 @@ const Z2 = "_barChartContainer_d2f1z_2", H2 = {
|
|
|
1332
1332
|
] }, f);
|
|
1333
1333
|
}) }),
|
|
1334
1334
|
n && n.length > 0 && (n == null ? void 0 : n.map((C, f) => {
|
|
1335
|
-
const b = g(C.value),
|
|
1335
|
+
const b = g(C.value), v = f * (o + i);
|
|
1336
1336
|
return /* @__PURE__ */ h(
|
|
1337
1337
|
"g",
|
|
1338
1338
|
{
|
|
1339
|
-
transform: `translate(${a + l}, ${
|
|
1339
|
+
transform: `translate(${a + l}, ${v})`,
|
|
1340
1340
|
children: [
|
|
1341
1341
|
/* @__PURE__ */ s(
|
|
1342
1342
|
"text",
|
|
@@ -1364,7 +1364,7 @@ const Z2 = "_barChartContainer_d2f1z_2", H2 = {
|
|
|
1364
1364
|
}))
|
|
1365
1365
|
] }) }) });
|
|
1366
1366
|
};
|
|
1367
|
-
|
|
1367
|
+
ot.propTypes = {
|
|
1368
1368
|
data: e.arrayOf(
|
|
1369
1369
|
e.shape({
|
|
1370
1370
|
title: e.string,
|
|
@@ -1380,7 +1380,7 @@ it.propTypes = {
|
|
|
1380
1380
|
numberOfDivisions: e.number,
|
|
1381
1381
|
fontColor: e.string
|
|
1382
1382
|
};
|
|
1383
|
-
const K2 = "_graphicContainer_c9zrg_2", U2 = "_titleContainer_c9zrg_14",
|
|
1383
|
+
const K2 = "_graphicContainer_c9zrg_2", U2 = "_titleContainer_c9zrg_14", Re = {
|
|
1384
1384
|
graphicContainer: K2,
|
|
1385
1385
|
titleContainer: U2
|
|
1386
1386
|
}, G2 = ({
|
|
@@ -1398,15 +1398,15 @@ const K2 = "_graphicContainer_c9zrg_2", U2 = "_titleContainer_c9zrg_14", Ie = {
|
|
|
1398
1398
|
return /* @__PURE__ */ h(
|
|
1399
1399
|
"div",
|
|
1400
1400
|
{
|
|
1401
|
-
className:
|
|
1401
|
+
className: Re.graphicContainer,
|
|
1402
1402
|
style: {
|
|
1403
1403
|
...o || {},
|
|
1404
1404
|
border: `1.5px solid ${i}`
|
|
1405
1405
|
},
|
|
1406
1406
|
children: [
|
|
1407
|
-
/* @__PURE__ */ s("div", { className:
|
|
1407
|
+
/* @__PURE__ */ s("div", { className: Re.titleContainer, children: /* @__PURE__ */ s("h2", { children: u(t) }) }),
|
|
1408
1408
|
/* @__PURE__ */ s(
|
|
1409
|
-
|
|
1409
|
+
ot,
|
|
1410
1410
|
{
|
|
1411
1411
|
data: n,
|
|
1412
1412
|
width: d,
|
|
@@ -1452,7 +1452,7 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1452
1452
|
optionContainer: s0,
|
|
1453
1453
|
customRadious: r0,
|
|
1454
1454
|
optionText: a0
|
|
1455
|
-
},
|
|
1455
|
+
}, Ve = ({
|
|
1456
1456
|
indicator: n,
|
|
1457
1457
|
values: d = [],
|
|
1458
1458
|
activeColor: o,
|
|
@@ -1530,7 +1530,7 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1530
1530
|
]
|
|
1531
1531
|
}
|
|
1532
1532
|
)
|
|
1533
|
-
] }) }) }), f = () => /* @__PURE__ */ s("div", { className: F.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: F.switchType, children: /* @__PURE__ */ s("div", { className: F.switchTypeOptions, children: d.map((b,
|
|
1533
|
+
] }) }) }), f = () => /* @__PURE__ */ s("div", { className: F.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: F.switchType, children: /* @__PURE__ */ s("div", { className: F.switchTypeOptions, children: d.map((b, v) => /* @__PURE__ */ h(
|
|
1534
1534
|
"div",
|
|
1535
1535
|
{
|
|
1536
1536
|
className: F.optionContainer,
|
|
@@ -1544,7 +1544,7 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1544
1544
|
/* @__PURE__ */ s("h4", { children: u(b.unit) })
|
|
1545
1545
|
]
|
|
1546
1546
|
},
|
|
1547
|
-
|
|
1547
|
+
v
|
|
1548
1548
|
)) }) }) });
|
|
1549
1549
|
return /* @__PURE__ */ h("div", { className: F.indicatorContainer, children: [
|
|
1550
1550
|
/* @__PURE__ */ h(
|
|
@@ -1567,7 +1567,7 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1567
1567
|
{
|
|
1568
1568
|
className: F.indicatorName,
|
|
1569
1569
|
style: { color: y ? o : i },
|
|
1570
|
-
children: /* @__PURE__ */ s(
|
|
1570
|
+
children: /* @__PURE__ */ s(Le, { i18nKey: p, components: { sup: /* @__PURE__ */ s("sup", {}) } })
|
|
1571
1571
|
}
|
|
1572
1572
|
)
|
|
1573
1573
|
]
|
|
@@ -1577,7 +1577,7 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1577
1577
|
(t == null ? void 0 : t.name) === p && g === "twoUnits" && /* @__PURE__ */ s("div", { children: f() })
|
|
1578
1578
|
] });
|
|
1579
1579
|
};
|
|
1580
|
-
|
|
1580
|
+
Ve.propTypes = {
|
|
1581
1581
|
indicator: e.shape({
|
|
1582
1582
|
name: e.string,
|
|
1583
1583
|
type: e.string
|
|
@@ -1589,10 +1589,10 @@ Te.propTypes = {
|
|
|
1589
1589
|
multiple: e.bool,
|
|
1590
1590
|
onClickIndicator: e.func
|
|
1591
1591
|
};
|
|
1592
|
-
const l0 = "_indicatorsSubCategory_1dzsi_2", c0 = "_list_1dzsi_8",
|
|
1592
|
+
const l0 = "_indicatorsSubCategory_1dzsi_2", c0 = "_list_1dzsi_8", Ee = {
|
|
1593
1593
|
indicatorsSubCategory: l0,
|
|
1594
1594
|
list: c0
|
|
1595
|
-
},
|
|
1595
|
+
}, st = ({
|
|
1596
1596
|
subcName: n,
|
|
1597
1597
|
indicators: d,
|
|
1598
1598
|
defaultColor: o,
|
|
@@ -1610,9 +1610,9 @@ const l0 = "_indicatorsSubCategory_1dzsi_2", c0 = "_list_1dzsi_8", Re = {
|
|
|
1610
1610
|
return D(() => {
|
|
1611
1611
|
C(t == l);
|
|
1612
1612
|
}, [t, l]), /* @__PURE__ */ h(
|
|
1613
|
-
|
|
1613
|
+
De.div,
|
|
1614
1614
|
{
|
|
1615
|
-
className:
|
|
1615
|
+
className: Ee.indicatorsSubCategory,
|
|
1616
1616
|
initial: { height: "43px" },
|
|
1617
1617
|
animate: { height: m ? "auto" : "43px" },
|
|
1618
1618
|
transition: { duration: 0.4 },
|
|
@@ -1627,8 +1627,8 @@ const l0 = "_indicatorsSubCategory_1dzsi_2", c0 = "_list_1dzsi_8", Re = {
|
|
|
1627
1627
|
}
|
|
1628
1628
|
)
|
|
1629
1629
|
] }) }),
|
|
1630
|
-
d && /* @__PURE__ */ s("div", { className:
|
|
1631
|
-
|
|
1630
|
+
d && /* @__PURE__ */ s("div", { className: Ee.list, children: d == null ? void 0 : d.map((f, b) => /* @__PURE__ */ s(
|
|
1631
|
+
Ve,
|
|
1632
1632
|
{
|
|
1633
1633
|
indicator: f,
|
|
1634
1634
|
defaultColor: o,
|
|
@@ -1645,7 +1645,7 @@ const l0 = "_indicatorsSubCategory_1dzsi_2", c0 = "_list_1dzsi_8", Re = {
|
|
|
1645
1645
|
}
|
|
1646
1646
|
);
|
|
1647
1647
|
};
|
|
1648
|
-
|
|
1648
|
+
st.propTypes = {
|
|
1649
1649
|
subcName: e.string,
|
|
1650
1650
|
indicators: e.array,
|
|
1651
1651
|
activeColor: e.string,
|
|
@@ -1657,7 +1657,7 @@ ot.propTypes = {
|
|
|
1657
1657
|
onClickSubCategory: e.func,
|
|
1658
1658
|
onClickIndicator: e.func
|
|
1659
1659
|
};
|
|
1660
|
-
const
|
|
1660
|
+
const rt = ({
|
|
1661
1661
|
cat: n,
|
|
1662
1662
|
id: d,
|
|
1663
1663
|
activeColor: o,
|
|
@@ -1677,7 +1677,7 @@ const st = ({
|
|
|
1677
1677
|
return D(() => {
|
|
1678
1678
|
f(r === d);
|
|
1679
1679
|
}, [r, d]), /* @__PURE__ */ h(
|
|
1680
|
-
|
|
1680
|
+
De.div,
|
|
1681
1681
|
{
|
|
1682
1682
|
className: Ce.indicatorsCategory,
|
|
1683
1683
|
initial: { height: "53px" },
|
|
@@ -1700,12 +1700,12 @@ const st = ({
|
|
|
1700
1700
|
)
|
|
1701
1701
|
] }),
|
|
1702
1702
|
n.subcategories ? n.subcategories.map(
|
|
1703
|
-
({ name:
|
|
1704
|
-
|
|
1703
|
+
({ name: v, subcategory: w, indicators: x }, _) => /* @__PURE__ */ s(
|
|
1704
|
+
st,
|
|
1705
1705
|
{
|
|
1706
1706
|
id: w,
|
|
1707
1707
|
activeSubCategory: l,
|
|
1708
|
-
subcName:
|
|
1708
|
+
subcName: v,
|
|
1709
1709
|
onClickSubCategory: a,
|
|
1710
1710
|
activeIndicator: c,
|
|
1711
1711
|
onClickIndicator: u,
|
|
@@ -1716,13 +1716,13 @@ const st = ({
|
|
|
1716
1716
|
activeIndicatorType: g,
|
|
1717
1717
|
onChangeType: y
|
|
1718
1718
|
},
|
|
1719
|
-
`subcKey ${
|
|
1719
|
+
`subcKey ${_}`
|
|
1720
1720
|
)
|
|
1721
|
-
) : /* @__PURE__ */ s("div", { className: Ce.list, children: (b = n.indicators) == null ? void 0 : b.map((
|
|
1722
|
-
|
|
1721
|
+
) : /* @__PURE__ */ s("div", { className: Ce.list, children: (b = n.indicators) == null ? void 0 : b.map((v, w) => /* @__PURE__ */ s(
|
|
1722
|
+
Ve,
|
|
1723
1723
|
{
|
|
1724
|
-
indicator:
|
|
1725
|
-
values:
|
|
1724
|
+
indicator: v,
|
|
1725
|
+
values: v.type == "twoUnits" && v.values,
|
|
1726
1726
|
activeColor: o,
|
|
1727
1727
|
defaultColor: i,
|
|
1728
1728
|
activeIndicator: c,
|
|
@@ -1737,7 +1737,7 @@ const st = ({
|
|
|
1737
1737
|
}
|
|
1738
1738
|
);
|
|
1739
1739
|
};
|
|
1740
|
-
|
|
1740
|
+
rt.propTypes = {
|
|
1741
1741
|
cat: e.object,
|
|
1742
1742
|
id: e.string,
|
|
1743
1743
|
onChange: e.func,
|
|
@@ -1751,7 +1751,7 @@ st.propTypes = {
|
|
|
1751
1751
|
activeColor: e.string,
|
|
1752
1752
|
defaultColor: e.string
|
|
1753
1753
|
};
|
|
1754
|
-
const d0 = "_indicatorsList_fklyu_2", u0 = "_title_fklyu_6",
|
|
1754
|
+
const d0 = "_indicatorsList_fklyu_2", u0 = "_title_fklyu_6", Pe = {
|
|
1755
1755
|
indicatorsList: d0,
|
|
1756
1756
|
title: u0
|
|
1757
1757
|
}, p0 = ({
|
|
@@ -1768,26 +1768,26 @@ const d0 = "_indicatorsList_fklyu_2", u0 = "_title_fklyu_6", Ee = {
|
|
|
1768
1768
|
changeIndType: l,
|
|
1769
1769
|
activeIndicatorType: a
|
|
1770
1770
|
}) => {
|
|
1771
|
-
const { t: c } = k(), [u, p] = M(), [g, y] = M(), [m, C] = M(), f = (
|
|
1772
|
-
p(u ==
|
|
1773
|
-
}, b = (
|
|
1774
|
-
y(g ==
|
|
1775
|
-
},
|
|
1776
|
-
console.log("onClickIndicator: ",
|
|
1777
|
-
}, w = (
|
|
1771
|
+
const { t: c } = k(), [u, p] = M(), [g, y] = M(), [m, C] = M(), f = (_) => {
|
|
1772
|
+
p(u == _ ? null : _);
|
|
1773
|
+
}, b = (_) => {
|
|
1774
|
+
y(g == _ ? null : _);
|
|
1775
|
+
}, v = ({ indicator: _ }) => {
|
|
1776
|
+
console.log("onClickIndicator: ", _), w(_);
|
|
1777
|
+
}, w = (_) => {
|
|
1778
1778
|
if (!t)
|
|
1779
1779
|
C(
|
|
1780
|
-
(m == null ? void 0 : m.name) ==
|
|
1780
|
+
(m == null ? void 0 : m.name) == _.name ? null : _
|
|
1781
1781
|
);
|
|
1782
1782
|
else {
|
|
1783
1783
|
let S = m && m.length > 0 ? [...m] : [];
|
|
1784
1784
|
C(
|
|
1785
1785
|
S != null && S.some(
|
|
1786
|
-
(B) => B.name ==
|
|
1786
|
+
(B) => B.name == _.name
|
|
1787
1787
|
) ? S.filter(
|
|
1788
|
-
(B) => B.name != String(
|
|
1789
|
-
) : [...S,
|
|
1790
|
-
),
|
|
1788
|
+
(B) => B.name != String(_.name)
|
|
1789
|
+
) : [...S, _]
|
|
1790
|
+
), _.type == "both" && l("cat");
|
|
1791
1791
|
}
|
|
1792
1792
|
};
|
|
1793
1793
|
D(() => {
|
|
@@ -1795,36 +1795,36 @@ const d0 = "_indicatorsList_fklyu_2", u0 = "_title_fklyu_6", Ee = {
|
|
|
1795
1795
|
}, [m]), Ct(() => {
|
|
1796
1796
|
if (r && !m)
|
|
1797
1797
|
if (t && r && Array.isArray(r)) {
|
|
1798
|
-
let
|
|
1799
|
-
C([...
|
|
1798
|
+
let _ = m && m.length > 0 ? [...m] : [];
|
|
1799
|
+
C([..._, ...r]), x(r[0].name);
|
|
1800
1800
|
} else
|
|
1801
1801
|
w(r), x(r.name);
|
|
1802
1802
|
}, []);
|
|
1803
|
-
const x = (
|
|
1803
|
+
const x = (_) => {
|
|
1804
1804
|
const S = n.find((B) => {
|
|
1805
1805
|
if (B.subcategories) {
|
|
1806
1806
|
let E = B.subcategories.find(
|
|
1807
|
-
(Q) => Q.indicators.find((de) => de.name ==
|
|
1807
|
+
(Q) => Q.indicators.find((de) => de.name == _)
|
|
1808
1808
|
);
|
|
1809
1809
|
if (E)
|
|
1810
1810
|
return y(E.subcategory), E;
|
|
1811
1811
|
} else
|
|
1812
|
-
return B.indicators.some((E) => E.name ==
|
|
1812
|
+
return B.indicators.some((E) => E.name == _);
|
|
1813
1813
|
});
|
|
1814
1814
|
S && p(S.category);
|
|
1815
1815
|
};
|
|
1816
|
-
return /* @__PURE__ */ h("div", { className:
|
|
1817
|
-
/* @__PURE__ */ s("h2", { className:
|
|
1818
|
-
n.map((
|
|
1819
|
-
|
|
1816
|
+
return /* @__PURE__ */ h("div", { className: Pe.indicatorsList, children: [
|
|
1817
|
+
/* @__PURE__ */ s("h2", { className: Pe.title, style: { color: o }, children: c("indicators.indicators") }),
|
|
1818
|
+
n.map((_, S) => /* @__PURE__ */ s(
|
|
1819
|
+
rt,
|
|
1820
1820
|
{
|
|
1821
|
-
id:
|
|
1822
|
-
cat:
|
|
1821
|
+
id: _.category,
|
|
1822
|
+
cat: _,
|
|
1823
1823
|
onClickCategory: f,
|
|
1824
1824
|
activeCategory: u,
|
|
1825
1825
|
onClickSubCategory: b,
|
|
1826
1826
|
activeSubCategory: g,
|
|
1827
|
-
onClickIndicator:
|
|
1827
|
+
onClickIndicator: v,
|
|
1828
1828
|
activeIndicator: m,
|
|
1829
1829
|
activeColor: d,
|
|
1830
1830
|
defaultColor: o,
|
|
@@ -1898,10 +1898,10 @@ b0.propTypes = {
|
|
|
1898
1898
|
arrow: e.object,
|
|
1899
1899
|
imgPrev: e.object
|
|
1900
1900
|
};
|
|
1901
|
-
const y0 = "_legendContainer_atg3j_3",
|
|
1901
|
+
const y0 = "_legendContainer_atg3j_3", v0 = "_closeButton_atg3j_18", _0 = "_titleContainer_atg3j_46", w0 = "_infoContainer_atg3j_52", x0 = "_titleLegendList_atg3j_63", k0 = "_legendListContainer_atg3j_70", N0 = "_gridContainer_atg3j_70", S0 = "_elementLegendContainer_atg3j_76", B0 = "_colorDot_atg3j_82", M0 = "_absoluteValueContainer_atg3j_88", F0 = "_absoluteValueColor_atg3j_91", L0 = "_absoluteValueText_atg3j_96", D0 = "_moreInfoContainer_atg3j_108", V = {
|
|
1902
1902
|
legendContainer: y0,
|
|
1903
|
-
closeButton:
|
|
1904
|
-
titleContainer:
|
|
1903
|
+
closeButton: v0,
|
|
1904
|
+
titleContainer: _0,
|
|
1905
1905
|
infoContainer: w0,
|
|
1906
1906
|
titleLegendList: x0,
|
|
1907
1907
|
legendListContainer: k0,
|
|
@@ -1951,7 +1951,7 @@ const y0 = "_legendContainer_atg3j_3", _0 = "_closeButton_atg3j_18", v0 = "_titl
|
|
|
1951
1951
|
g
|
|
1952
1952
|
] })
|
|
1953
1953
|
] }, d)) }) }),
|
|
1954
|
-
/* @__PURE__ */ s("h3", { className: V.titleLegendList, children: t ? /* @__PURE__ */ s(
|
|
1954
|
+
/* @__PURE__ */ s("h3", { className: V.titleLegendList, children: t ? /* @__PURE__ */ s(Le, { i18nKey: t, components: { sup: /* @__PURE__ */ s("sup", {}) } }) : u("mainUse") }),
|
|
1955
1955
|
/* @__PURE__ */ s("div", { className: V.legendListContainer, children: r ? /* @__PURE__ */ h("div", { className: V.absoluteValueContainer, children: [
|
|
1956
1956
|
/* @__PURE__ */ s(
|
|
1957
1957
|
"div",
|
|
@@ -2020,11 +2020,11 @@ T0.propTypes = {
|
|
|
2020
2020
|
buttonTitle: e.string,
|
|
2021
2021
|
onClickClose: e.func
|
|
2022
2022
|
};
|
|
2023
|
-
const V0 = "_logo_1ewa6_2",
|
|
2023
|
+
const V0 = "_logo_1ewa6_2", je = {
|
|
2024
2024
|
logo: V0
|
|
2025
2025
|
}, $0 = ({ src: n, alt: d, href: o }) => {
|
|
2026
2026
|
const { t: i } = k(), t = /* @__PURE__ */ s("img", { src: n, alt: i(d) });
|
|
2027
|
-
return o ? /* @__PURE__ */ s("div", { className:
|
|
2027
|
+
return o ? /* @__PURE__ */ s("div", { className: je.logo, children: /* @__PURE__ */ s("a", { href: o, children: t }) }) : /* @__PURE__ */ s("div", { className: je.logo, children: t });
|
|
2028
2028
|
};
|
|
2029
2029
|
$0.propTypes = {
|
|
2030
2030
|
src: e.string.isRequired,
|
|
@@ -2049,16 +2049,16 @@ const I0 = ({
|
|
|
2049
2049
|
sources: u = [],
|
|
2050
2050
|
layers: p = []
|
|
2051
2051
|
}) => {
|
|
2052
|
-
const g =
|
|
2052
|
+
const g = Fe(), [y, m] = M(null), C = yt((f) => f.mapState.showTexts);
|
|
2053
2053
|
return D(() => {
|
|
2054
2054
|
if (g.current) {
|
|
2055
2055
|
const f = g.current.getMap();
|
|
2056
|
-
f.getStyle().layers.map((
|
|
2057
|
-
|
|
2056
|
+
f.getStyle().layers.map((v) => {
|
|
2057
|
+
v.type == "symbol" && v.id != "professionals" && (C ? f.setLayoutProperty(v.id, "visibility", "visible") : f.setLayoutProperty(v.id, "visibility", "none"));
|
|
2058
2058
|
});
|
|
2059
2059
|
}
|
|
2060
2060
|
}, [C]), /* @__PURE__ */ s("div", { className: `${O0.mapContainer}`, style: r, children: /* @__PURE__ */ h(
|
|
2061
|
-
|
|
2061
|
+
_t,
|
|
2062
2062
|
{
|
|
2063
2063
|
initialViewState: n,
|
|
2064
2064
|
ref: g,
|
|
@@ -2073,11 +2073,11 @@ const I0 = ({
|
|
|
2073
2073
|
wt,
|
|
2074
2074
|
{
|
|
2075
2075
|
...f,
|
|
2076
|
-
children: p.length && p.map((
|
|
2077
|
-
if (
|
|
2076
|
+
children: p.length && p.map((v, w) => {
|
|
2077
|
+
if (v.sourceId == f.id) return /* @__PURE__ */ s(
|
|
2078
2078
|
xt,
|
|
2079
2079
|
{
|
|
2080
|
-
...
|
|
2080
|
+
...v.layer,
|
|
2081
2081
|
beforeId: t
|
|
2082
2082
|
},
|
|
2083
2083
|
w
|
|
@@ -2148,19 +2148,21 @@ I0.propTypes = {
|
|
|
2148
2148
|
};
|
|
2149
2149
|
const R0 = "_mapContainer_b0pyr_3", E0 = {
|
|
2150
2150
|
mapContainer: R0
|
|
2151
|
-
}, P0 = "_FeaturePopUp_1gd6w_2", j0 = "_title_1gd6w_2",
|
|
2151
|
+
}, P0 = "_FeaturePopUp_1gd6w_2", j0 = "_title_1gd6w_2", ze = {
|
|
2152
2152
|
FeaturePopUp: P0,
|
|
2153
2153
|
title: j0
|
|
2154
2154
|
}, z0 = ({ props: n }) => {
|
|
2155
2155
|
const { t: d } = k();
|
|
2156
|
-
return /* @__PURE__ */ s("div", { className:
|
|
2157
|
-
/* @__PURE__ */ h("span", { className:
|
|
2158
|
-
/* @__PURE__ */ s(
|
|
2159
|
-
":
|
|
2156
|
+
return /* @__PURE__ */ s("div", { className: ze.FeaturePopUp, children: n.map((o) => /* @__PURE__ */ h("p", { children: [
|
|
2157
|
+
/* @__PURE__ */ h("span", { className: ze.title, children: [
|
|
2158
|
+
/* @__PURE__ */ s(Le, { i18nKey: o.name, components: { sup: /* @__PURE__ */ s("sup", {}) } }),
|
|
2159
|
+
":"
|
|
2160
2160
|
] }),
|
|
2161
|
-
o.value
|
|
2162
|
-
|
|
2163
|
-
|
|
2161
|
+
isNaN(o.value) ? /* @__PURE__ */ s(xe, { children: d(o.value) }) : /* @__PURE__ */ h(xe, { children: [
|
|
2162
|
+
o.value.toLocaleString("de", { maximumFractionDigits: 2 }),
|
|
2163
|
+
" ",
|
|
2164
|
+
d(o.unit)
|
|
2165
|
+
] })
|
|
2164
2166
|
] })) });
|
|
2165
2167
|
}, q0 = ({
|
|
2166
2168
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
@@ -2179,12 +2181,12 @@ const R0 = "_mapContainer_b0pyr_3", E0 = {
|
|
|
2179
2181
|
showTexts: m
|
|
2180
2182
|
}) => {
|
|
2181
2183
|
console.log(p);
|
|
2182
|
-
const C =
|
|
2184
|
+
const C = Fe();
|
|
2183
2185
|
return D(() => {
|
|
2184
2186
|
if (C.current) {
|
|
2185
2187
|
const f = C.current.getMap();
|
|
2186
|
-
f.getStyle().layers.map((
|
|
2187
|
-
|
|
2188
|
+
f.getStyle().layers.map((v) => {
|
|
2189
|
+
v.type == "symbol" && v.id != "professionals" && (m ? f.setLayoutProperty(v.id, "visibility", "visible") : f.setLayoutProperty(v.id, "visibility", "none"));
|
|
2188
2190
|
});
|
|
2189
2191
|
}
|
|
2190
2192
|
}, [m]), D(() => {
|
|
@@ -2209,11 +2211,11 @@ const R0 = "_mapContainer_b0pyr_3", E0 = {
|
|
|
2209
2211
|
Mt,
|
|
2210
2212
|
{
|
|
2211
2213
|
...f,
|
|
2212
|
-
children: u.length && u.map((
|
|
2213
|
-
if (
|
|
2214
|
+
children: u.length && u.map((v, w) => {
|
|
2215
|
+
if (v.sourceId == f.id) return /* @__PURE__ */ s(
|
|
2214
2216
|
Ft,
|
|
2215
2217
|
{
|
|
2216
|
-
...
|
|
2218
|
+
...v.layer,
|
|
2217
2219
|
beforeId: t,
|
|
2218
2220
|
filter: p && p
|
|
2219
2221
|
},
|
|
@@ -2338,23 +2340,23 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
|
|
|
2338
2340
|
sliderOpen: t1,
|
|
2339
2341
|
sliderResults: n1
|
|
2340
2342
|
}, i1 = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: o = 2025, lastYear: i = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
|
|
2341
|
-
const [l, a] = M(d), c =
|
|
2343
|
+
const [l, a] = M(d), c = vt(), u = (v, w) => {
|
|
2342
2344
|
a(w), c(fe(w - 2e3));
|
|
2343
2345
|
}, [p, g] = M(!1), y = () => {
|
|
2344
2346
|
g(!0);
|
|
2345
2347
|
}, m = () => {
|
|
2346
2348
|
g(!1);
|
|
2347
2349
|
};
|
|
2348
|
-
((
|
|
2349
|
-
const x =
|
|
2350
|
+
((v, w) => {
|
|
2351
|
+
const x = Fe();
|
|
2350
2352
|
D(() => {
|
|
2351
|
-
x.current =
|
|
2352
|
-
}, [
|
|
2353
|
-
function
|
|
2353
|
+
x.current = v;
|
|
2354
|
+
}, [v]), D(() => {
|
|
2355
|
+
function _() {
|
|
2354
2356
|
x.current();
|
|
2355
2357
|
}
|
|
2356
2358
|
{
|
|
2357
|
-
let S = setInterval(
|
|
2359
|
+
let S = setInterval(_, w);
|
|
2358
2360
|
return () => clearInterval(S);
|
|
2359
2361
|
}
|
|
2360
2362
|
}, [w]);
|
|
@@ -2506,10 +2508,10 @@ const u1 = "_elementSelector_fd7az_2", p1 = "_header_fd7az_13", m1 = "_nameDateC
|
|
|
2506
2508
|
buttonsContainer: C1,
|
|
2507
2509
|
elementListContainer: f1,
|
|
2508
2510
|
newElementButtonContainer: b1
|
|
2509
|
-
}, y1 = "_listElement_1s506_2",
|
|
2511
|
+
}, y1 = "_listElement_1s506_2", v1 = "_elementNameDate_1s506_17", _1 = "_elementNameContainer_1s506_27", w1 = "_elementName_1s506_17", x1 = "_elementDate_1s506_42", k1 = "_elementButtons_1s506_45", N1 = "_moreInfoContainer_1s506_68", S1 = "_moreInfo_1s506_68", O = {
|
|
2510
2512
|
listElement: y1,
|
|
2511
|
-
elementNameDate:
|
|
2512
|
-
elementNameContainer:
|
|
2513
|
+
elementNameDate: v1,
|
|
2514
|
+
elementNameContainer: _1,
|
|
2513
2515
|
elementName: w1,
|
|
2514
2516
|
elementDate: x1,
|
|
2515
2517
|
elementButtons: k1,
|
|
@@ -2517,23 +2519,23 @@ const u1 = "_elementSelector_fd7az_2", p1 = "_header_fd7az_13", m1 = "_nameDateC
|
|
|
2517
2519
|
moreInfoContainer: N1,
|
|
2518
2520
|
moreInfo: S1
|
|
2519
2521
|
}, 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", 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%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", 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%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", 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%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";
|
|
2520
|
-
var
|
|
2521
|
-
function
|
|
2522
|
-
return
|
|
2522
|
+
var qe;
|
|
2523
|
+
function Be() {
|
|
2524
|
+
return Be = Object.assign ? Object.assign.bind() : function(n) {
|
|
2523
2525
|
for (var d = 1; d < arguments.length; d++) {
|
|
2524
2526
|
var o = arguments[d];
|
|
2525
2527
|
for (var i in o) ({}).hasOwnProperty.call(o, i) && (n[i] = o[i]);
|
|
2526
2528
|
}
|
|
2527
2529
|
return n;
|
|
2528
|
-
},
|
|
2530
|
+
}, Be.apply(null, arguments);
|
|
2529
2531
|
}
|
|
2530
2532
|
var T1 = function(d) {
|
|
2531
|
-
return /* @__PURE__ */ X.createElement("svg",
|
|
2533
|
+
return /* @__PURE__ */ X.createElement("svg", Be({
|
|
2532
2534
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2533
2535
|
width: 26,
|
|
2534
2536
|
height: 14,
|
|
2535
2537
|
fill: "none"
|
|
2536
|
-
}, d),
|
|
2538
|
+
}, d), qe || (qe = /* @__PURE__ */ X.createElement("g", {
|
|
2537
2539
|
fill: "currentColor"
|
|
2538
2540
|
}, /* @__PURE__ */ X.createElement("path", {
|
|
2539
2541
|
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"
|
|
@@ -2541,7 +2543,7 @@ var T1 = function(d) {
|
|
|
2541
2543
|
d: "M12.951 10.297a3.307 3.307 0 1 0 0-6.614 3.307 3.307 0 0 0 0 6.614"
|
|
2542
2544
|
}))));
|
|
2543
2545
|
};
|
|
2544
|
-
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",
|
|
2546
|
+
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", at = ({
|
|
2545
2547
|
listelement: n,
|
|
2546
2548
|
onClickElement: d,
|
|
2547
2549
|
isActive: o,
|
|
@@ -2609,7 +2611,7 @@ const V1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2609
2611
|
}
|
|
2610
2612
|
);
|
|
2611
2613
|
};
|
|
2612
|
-
|
|
2614
|
+
at.propTypes = {
|
|
2613
2615
|
listelement: e.shape({
|
|
2614
2616
|
nom: e.string.isRequired,
|
|
2615
2617
|
created_at: e.string,
|
|
@@ -2644,7 +2646,7 @@ rt.propTypes = {
|
|
|
2644
2646
|
processTooltip: e.string,
|
|
2645
2647
|
defaultTooltip: e.string
|
|
2646
2648
|
};
|
|
2647
|
-
const
|
|
2649
|
+
const Ze = "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 = ({
|
|
2648
2650
|
elementsList: n,
|
|
2649
2651
|
activeElementId: d,
|
|
2650
2652
|
fontColor: o = "#605B56",
|
|
@@ -2669,10 +2671,10 @@ const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2669
2671
|
D(() => {
|
|
2670
2672
|
n && f(n);
|
|
2671
2673
|
}, [n]);
|
|
2672
|
-
const b = (
|
|
2674
|
+
const b = (v) => {
|
|
2673
2675
|
if (C && C.length > 0) {
|
|
2674
2676
|
let w = [...C];
|
|
2675
|
-
w.sort((x,
|
|
2677
|
+
w.sort((x, _) => x[v].localeCompare(_[v])), f(w);
|
|
2676
2678
|
}
|
|
2677
2679
|
};
|
|
2678
2680
|
return /* @__PURE__ */ h(
|
|
@@ -2690,11 +2692,11 @@ const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2690
2692
|
/* @__PURE__ */ h("div", { className: I.nameDateContainer, children: [
|
|
2691
2693
|
c.nom && /* @__PURE__ */ s("div", { className: I.elementName, children: /* @__PURE__ */ h("button", { onClick: () => b("name"), children: [
|
|
2692
2694
|
/* @__PURE__ */ s("span", { children: m(c.nom) }),
|
|
2693
|
-
/* @__PURE__ */ s("img", { src:
|
|
2695
|
+
/* @__PURE__ */ s("img", { src: Ze })
|
|
2694
2696
|
] }) }),
|
|
2695
2697
|
c.data && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ h("button", { onClick: () => b("date"), children: [
|
|
2696
2698
|
/* @__PURE__ */ s("span", { children: m(c.data) }),
|
|
2697
|
-
/* @__PURE__ */ s("img", { src:
|
|
2699
|
+
/* @__PURE__ */ s("img", { src: Ze })
|
|
2698
2700
|
] }) }),
|
|
2699
2701
|
c.ambit && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ s("span", { children: m(c.ambit) }) }),
|
|
2700
2702
|
c.escenari && /* @__PURE__ */ s("div", { className: I.elementDate, children: /* @__PURE__ */ s("span", { children: m(c.escenari) }) })
|
|
@@ -2703,11 +2705,11 @@ const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2703
2705
|
]
|
|
2704
2706
|
}
|
|
2705
2707
|
),
|
|
2706
|
-
/* @__PURE__ */ s("div", { className: I.elementListContainer, children: C && C.length > 0 && C.map((
|
|
2707
|
-
|
|
2708
|
+
/* @__PURE__ */ s("div", { className: I.elementListContainer, children: C && C.length > 0 && C.map((v) => /* @__PURE__ */ s(
|
|
2709
|
+
at,
|
|
2708
2710
|
{
|
|
2709
|
-
isActive: d ==
|
|
2710
|
-
listelement:
|
|
2711
|
+
isActive: d == v.id,
|
|
2712
|
+
listelement: v,
|
|
2711
2713
|
fontColor: o,
|
|
2712
2714
|
activeColor: i,
|
|
2713
2715
|
onClickElement: a,
|
|
@@ -2717,7 +2719,7 @@ const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2717
2719
|
processTooltip: g,
|
|
2718
2720
|
defaultTooltip: y
|
|
2719
2721
|
},
|
|
2720
|
-
`elementKey${
|
|
2722
|
+
`elementKey${v.id}`
|
|
2721
2723
|
)) }),
|
|
2722
2724
|
l && /* @__PURE__ */ s("div", { className: I.newElementButtonContainer, children: /* @__PURE__ */ s(
|
|
2723
2725
|
ce,
|
|
@@ -2778,7 +2780,7 @@ $1.propTypes = {
|
|
|
2778
2780
|
processTooltip: e.string,
|
|
2779
2781
|
defaultTooltip: e.string
|
|
2780
2782
|
};
|
|
2781
|
-
const
|
|
2783
|
+
const He = {
|
|
2782
2784
|
text: "text",
|
|
2783
2785
|
password: "password"
|
|
2784
2786
|
}, A1 = "_textInputContainer_15gun_2", O1 = "_labelContainer_15gun_5", I1 = "_inputContainer_15gun_8", R1 = "_showPasswordButton_15gun_14", E1 = "_forgotPassButton_15gun_26", ne = {
|
|
@@ -2788,13 +2790,13 @@ const Ze = {
|
|
|
2788
2790
|
showPasswordButton: R1,
|
|
2789
2791
|
forgotPassButton: E1
|
|
2790
2792
|
};
|
|
2791
|
-
var P1 = (n) => n.type === "checkbox", j1 = (n) => n instanceof Date,
|
|
2793
|
+
var P1 = (n) => n.type === "checkbox", j1 = (n) => n instanceof Date, lt = (n) => n == null;
|
|
2792
2794
|
const z1 = (n) => typeof n == "object";
|
|
2793
|
-
var ie = (n) => !
|
|
2795
|
+
var ie = (n) => !lt(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) => {
|
|
2794
2796
|
const d = n.constructor && n.constructor.prototype;
|
|
2795
2797
|
return ie(d) && d.hasOwnProperty("isPrototypeOf");
|
|
2796
2798
|
}, U1 = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
2797
|
-
function
|
|
2799
|
+
function ct(n) {
|
|
2798
2800
|
let d;
|
|
2799
2801
|
const o = Array.isArray(n), i = typeof FileList < "u" ? n instanceof FileList : !1;
|
|
2800
2802
|
if (n instanceof Date)
|
|
@@ -2804,19 +2806,19 @@ function lt(n) {
|
|
|
2804
2806
|
d = n;
|
|
2805
2807
|
else
|
|
2806
2808
|
for (const t in n)
|
|
2807
|
-
n.hasOwnProperty(t) && (d[t] =
|
|
2809
|
+
n.hasOwnProperty(t) && (d[t] = ct(n[t]));
|
|
2808
2810
|
else
|
|
2809
2811
|
return n;
|
|
2810
2812
|
return d;
|
|
2811
2813
|
}
|
|
2812
|
-
var
|
|
2814
|
+
var dt = (n) => /^\w*$/.test(n), Me = (n) => n === void 0, G1 = (n) => Array.isArray(n) ? n.filter(Boolean) : [], ut = (n) => G1(n.replace(/["|']|\]/g, "").split(/\.|\[/)), $ = (n, d, o) => {
|
|
2813
2815
|
if (!d || !ie(n))
|
|
2814
2816
|
return o;
|
|
2815
|
-
const i = (
|
|
2816
|
-
return
|
|
2817
|
-
}, ye = (n) => typeof n == "boolean",
|
|
2817
|
+
const i = (dt(d) ? [d] : ut(d)).reduce((t, r) => lt(t) ? t : t[r], n);
|
|
2818
|
+
return Me(i) || i === n ? Me(n[d]) ? o : n[d] : i;
|
|
2819
|
+
}, ye = (n) => typeof n == "boolean", Ke = (n, d, o) => {
|
|
2818
2820
|
let i = -1;
|
|
2819
|
-
const t =
|
|
2821
|
+
const t = dt(d) ? [d] : ut(d), r = t.length, l = r - 1;
|
|
2820
2822
|
for (; ++i < r; ) {
|
|
2821
2823
|
const a = t[i];
|
|
2822
2824
|
let c = o;
|
|
@@ -2829,14 +2831,14 @@ var ct = (n) => /^\w*$/.test(n), Be = (n) => n === void 0, G1 = (n) => Array.isA
|
|
|
2829
2831
|
n[a] = c, n = n[a];
|
|
2830
2832
|
}
|
|
2831
2833
|
};
|
|
2832
|
-
const
|
|
2834
|
+
const Ue = {
|
|
2833
2835
|
BLUR: "blur",
|
|
2834
2836
|
CHANGE: "change"
|
|
2835
|
-
},
|
|
2837
|
+
}, Ge = {
|
|
2836
2838
|
all: "all"
|
|
2837
|
-
},
|
|
2838
|
-
|
|
2839
|
-
const
|
|
2839
|
+
}, pt = N.createContext(null);
|
|
2840
|
+
pt.displayName = "HookFormContext";
|
|
2841
|
+
const $e = () => N.useContext(pt);
|
|
2840
2842
|
var Y1 = (n, d, o, i = !0) => {
|
|
2841
2843
|
const t = {
|
|
2842
2844
|
defaultValues: d._defaultValues
|
|
@@ -2845,14 +2847,14 @@ var Y1 = (n, d, o, i = !0) => {
|
|
|
2845
2847
|
Object.defineProperty(t, r, {
|
|
2846
2848
|
get: () => {
|
|
2847
2849
|
const l = r;
|
|
2848
|
-
return d._proxyFormState[l] !==
|
|
2850
|
+
return d._proxyFormState[l] !== Ge.all && (d._proxyFormState[l] = !i || Ge.all), o && (o[l] = !0), n[l];
|
|
2849
2851
|
}
|
|
2850
2852
|
});
|
|
2851
2853
|
return t;
|
|
2852
2854
|
};
|
|
2853
|
-
const
|
|
2855
|
+
const mt = typeof window < "u" ? X.useLayoutEffect : X.useEffect;
|
|
2854
2856
|
function W1(n) {
|
|
2855
|
-
const d =
|
|
2857
|
+
const d = $e(), { control: o = d.control, disabled: i, name: t, exact: r } = n || {}, [l, a] = N.useState(o._formState), c = N.useRef({
|
|
2856
2858
|
isDirty: !1,
|
|
2857
2859
|
isLoading: !1,
|
|
2858
2860
|
dirtyFields: !1,
|
|
@@ -2862,7 +2864,7 @@ function W1(n) {
|
|
|
2862
2864
|
isValid: !1,
|
|
2863
2865
|
errors: !1
|
|
2864
2866
|
});
|
|
2865
|
-
return
|
|
2867
|
+
return mt(() => o._subscribe({
|
|
2866
2868
|
name: t,
|
|
2867
2869
|
formState: c.current,
|
|
2868
2870
|
exact: r,
|
|
@@ -2878,8 +2880,8 @@ function W1(n) {
|
|
|
2878
2880
|
}
|
|
2879
2881
|
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;
|
|
2880
2882
|
function Q1(n) {
|
|
2881
|
-
const d =
|
|
2882
|
-
return
|
|
2883
|
+
const d = $e(), { 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));
|
|
2884
|
+
return mt(() => o._subscribe({
|
|
2883
2885
|
name: i,
|
|
2884
2886
|
formState: {
|
|
2885
2887
|
values: !0
|
|
@@ -2889,7 +2891,7 @@ function Q1(n) {
|
|
|
2889
2891
|
}), [i, o, r, l]), N.useEffect(() => o._removeUnmounted()), c;
|
|
2890
2892
|
}
|
|
2891
2893
|
function en(n) {
|
|
2892
|
-
const d =
|
|
2894
|
+
const d = $e(), { name: o, disabled: i, control: t = d.control, shouldUnregister: r } = n, l = H1(t._names.array, o), a = Q1({
|
|
2893
2895
|
control: t,
|
|
2894
2896
|
name: o,
|
|
2895
2897
|
defaultValue: $(t._formValues, o, $(t._defaultValues, o, n.defaultValue)),
|
|
@@ -2928,16 +2930,16 @@ function en(n) {
|
|
|
2928
2930
|
value: q1(b),
|
|
2929
2931
|
name: o
|
|
2930
2932
|
},
|
|
2931
|
-
type:
|
|
2933
|
+
type: Ue.CHANGE
|
|
2932
2934
|
}), [o]), m = N.useCallback(() => p.current.onBlur({
|
|
2933
2935
|
target: {
|
|
2934
2936
|
value: $(t._formValues, o),
|
|
2935
2937
|
name: o
|
|
2936
2938
|
},
|
|
2937
|
-
type:
|
|
2939
|
+
type: Ue.BLUR
|
|
2938
2940
|
}), [o, t._formValues]), C = N.useCallback((b) => {
|
|
2939
|
-
const
|
|
2940
|
-
|
|
2941
|
+
const v = $(t._fields, o);
|
|
2942
|
+
v && b && (v._f.ref = {
|
|
2941
2943
|
focus: () => b.focus && b.focus(),
|
|
2942
2944
|
select: () => b.select && b.select(),
|
|
2943
2945
|
setCustomValidity: (w) => b.setCustomValidity(w),
|
|
@@ -2957,16 +2959,16 @@ function en(n) {
|
|
|
2957
2959
|
...u.current.rules,
|
|
2958
2960
|
...ye(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
2959
2961
|
});
|
|
2960
|
-
const
|
|
2961
|
-
const
|
|
2962
|
-
|
|
2962
|
+
const v = (w, x) => {
|
|
2963
|
+
const _ = $(t._fields, w);
|
|
2964
|
+
_ && _._f && (_._f.mount = x);
|
|
2963
2965
|
};
|
|
2964
|
-
if (
|
|
2965
|
-
const w =
|
|
2966
|
-
|
|
2966
|
+
if (v(o, !0), b) {
|
|
2967
|
+
const w = ct($(t._options.defaultValues, o));
|
|
2968
|
+
Ke(t._defaultValues, o, w), Me($(t._formValues, o)) && Ke(t._formValues, o, w);
|
|
2967
2969
|
}
|
|
2968
2970
|
return !l && t.register(o), () => {
|
|
2969
|
-
(l ? b && !t._state.action : b) ? t.unregister(o) :
|
|
2971
|
+
(l ? b && !t._state.action : b) ? t.unregister(o) : v(o, !1);
|
|
2970
2972
|
};
|
|
2971
2973
|
}, [o, t, l, r]), N.useEffect(() => {
|
|
2972
2974
|
t._setDisabledField({
|
|
@@ -2981,7 +2983,7 @@ function en(n) {
|
|
|
2981
2983
|
}
|
|
2982
2984
|
const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
2983
2985
|
errorMessage: nn
|
|
2984
|
-
},
|
|
2986
|
+
}, ht = ({
|
|
2985
2987
|
errorMessage: n,
|
|
2986
2988
|
errorColor: d = "red",
|
|
2987
2989
|
containerStyles: o
|
|
@@ -2995,7 +2997,7 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
2995
2997
|
children: n ? i(n) : ""
|
|
2996
2998
|
}
|
|
2997
2999
|
);
|
|
2998
|
-
},
|
|
3000
|
+
}, Ye = ({ input: n, control: d }) => {
|
|
2999
3001
|
const {
|
|
3000
3002
|
code: o,
|
|
3001
3003
|
type: i,
|
|
@@ -3021,7 +3023,7 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3021
3023
|
maxLength: r || void 0,
|
|
3022
3024
|
validate: a || void 0
|
|
3023
3025
|
},
|
|
3024
|
-
render: ({ field:
|
|
3026
|
+
render: ({ field: v, fieldState: w }) => {
|
|
3025
3027
|
var x;
|
|
3026
3028
|
return /* @__PURE__ */ h("div", { className: ne.textInputContainer, children: [
|
|
3027
3029
|
/* @__PURE__ */ h("h3", { className: ne.labelContainer, children: [
|
|
@@ -3039,7 +3041,7 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3039
3041
|
"input",
|
|
3040
3042
|
{
|
|
3041
3043
|
type: b(),
|
|
3042
|
-
...
|
|
3044
|
+
...v,
|
|
3043
3045
|
placeholder: c ? m(c) : "",
|
|
3044
3046
|
maxLength: r || void 0
|
|
3045
3047
|
}
|
|
@@ -3058,7 +3060,7 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3058
3060
|
),
|
|
3059
3061
|
i == "password" && /* @__PURE__ */ s("div", { className: ne.forgotPassButton, children: /* @__PURE__ */ s("button", { onClick: g, children: m(y) }) }),
|
|
3060
3062
|
/* @__PURE__ */ s(
|
|
3061
|
-
|
|
3063
|
+
ht,
|
|
3062
3064
|
{
|
|
3063
3065
|
errorMessage: (x = w.error) == null ? void 0 : x.message,
|
|
3064
3066
|
errorColor: u
|
|
@@ -3068,32 +3070,32 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3068
3070
|
}
|
|
3069
3071
|
}
|
|
3070
3072
|
);
|
|
3071
|
-
}, sn = "_formContainer_fx5a2_2", rn = "_formObjectContainer_fx5a2_11", an = "_buttonContainer_fx5a2_21",
|
|
3073
|
+
}, sn = "_formContainer_fx5a2_2", rn = "_formObjectContainer_fx5a2_11", an = "_buttonContainer_fx5a2_21", ve = {
|
|
3072
3074
|
formContainer: sn,
|
|
3073
3075
|
formObjectContainer: rn,
|
|
3074
3076
|
buttonContainer: an
|
|
3075
|
-
}, ln = "_inputsContainer_10t9s_2",
|
|
3077
|
+
}, ln = "_inputsContainer_10t9s_2", _e = {
|
|
3076
3078
|
inputsContainer: ln
|
|
3077
|
-
}, we = ({ inputs: n, control: d, inputContainerStyles: o }) => /* @__PURE__ */ s("div", { className:
|
|
3079
|
+
}, we = ({ inputs: n, control: d, inputContainerStyles: o }) => /* @__PURE__ */ s("div", { className: _e.inputsContainer, children: n == null ? void 0 : n.map((i, t) => {
|
|
3078
3080
|
const { inputType: r } = i;
|
|
3079
3081
|
switch (r) {
|
|
3080
|
-
case
|
|
3082
|
+
case He.text:
|
|
3081
3083
|
const { code: l, type: a, label: c, maxLength: u, required: p, validateFunction: g } = i;
|
|
3082
3084
|
return /* @__PURE__ */ s(
|
|
3083
3085
|
"div",
|
|
3084
3086
|
{
|
|
3085
|
-
className:
|
|
3087
|
+
className: _e.inputContainer,
|
|
3086
3088
|
style: { ...o },
|
|
3087
|
-
children: /* @__PURE__ */ s(
|
|
3089
|
+
children: /* @__PURE__ */ s(Ye, { input: i, control: d })
|
|
3088
3090
|
}
|
|
3089
3091
|
);
|
|
3090
|
-
case
|
|
3092
|
+
case He.password:
|
|
3091
3093
|
return /* @__PURE__ */ s(
|
|
3092
3094
|
"div",
|
|
3093
3095
|
{
|
|
3094
|
-
className:
|
|
3096
|
+
className: _e.inputContainer,
|
|
3095
3097
|
style: { ...o },
|
|
3096
|
-
children: /* @__PURE__ */ s(
|
|
3098
|
+
children: /* @__PURE__ */ s(Ye, { input: i, control: d })
|
|
3097
3099
|
}
|
|
3098
3100
|
);
|
|
3099
3101
|
default:
|
|
@@ -3126,9 +3128,9 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3126
3128
|
const { t: C } = k();
|
|
3127
3129
|
return (
|
|
3128
3130
|
/* "handleSubmit" will validate your inputs before invoking "onSubmit" */
|
|
3129
|
-
/* @__PURE__ */ h("form", { className:
|
|
3130
|
-
/* @__PURE__ */ s("div", { className:
|
|
3131
|
-
const { inputs:
|
|
3131
|
+
/* @__PURE__ */ h("form", { className: ve.formContainer, onSubmit: p(c), children: [
|
|
3132
|
+
/* @__PURE__ */ s("div", { className: ve.formObjectContainer, children: d && d.map((f, b) => {
|
|
3133
|
+
const { inputs: v } = f;
|
|
3132
3134
|
return f.category ? o ? /* @__PURE__ */ s(
|
|
3133
3135
|
o,
|
|
3134
3136
|
{
|
|
@@ -3136,7 +3138,7 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3136
3138
|
children: /* @__PURE__ */ s(
|
|
3137
3139
|
we,
|
|
3138
3140
|
{
|
|
3139
|
-
inputs:
|
|
3141
|
+
inputs: v,
|
|
3140
3142
|
control: y,
|
|
3141
3143
|
inputContainerStyles: i,
|
|
3142
3144
|
errorColor: r
|
|
@@ -3150,7 +3152,7 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3150
3152
|
/* @__PURE__ */ s("div", { style: { paddingTop: 50, width: "100%" }, children: /* @__PURE__ */ s(
|
|
3151
3153
|
we,
|
|
3152
3154
|
{
|
|
3153
|
-
inputs:
|
|
3155
|
+
inputs: v,
|
|
3154
3156
|
control: y,
|
|
3155
3157
|
inputContainerStyles: i,
|
|
3156
3158
|
errorColor: r
|
|
@@ -3160,15 +3162,15 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3160
3162
|
we,
|
|
3161
3163
|
{
|
|
3162
3164
|
inputContainerStyles: i,
|
|
3163
|
-
inputs:
|
|
3165
|
+
inputs: v,
|
|
3164
3166
|
control: y,
|
|
3165
3167
|
errorColor: r
|
|
3166
3168
|
}
|
|
3167
3169
|
) }, `inputKey${b}`);
|
|
3168
3170
|
}) }),
|
|
3169
|
-
/* @__PURE__ */ h("div", { className:
|
|
3171
|
+
/* @__PURE__ */ h("div", { className: ve.buttonContainer, children: [
|
|
3170
3172
|
/* @__PURE__ */ s(ce, { containerStyles: a, type: "submit", children: C(l) }),
|
|
3171
|
-
/* @__PURE__ */ s(
|
|
3173
|
+
/* @__PURE__ */ s(ht, { errorMessage: t, errorColor: r })
|
|
3172
3174
|
] })
|
|
3173
3175
|
] })
|
|
3174
3176
|
);
|
|
@@ -3222,7 +3224,7 @@ const gn = "_sidebar_pt7g1_2", Cn = "_open_pt7g1_16", fn = "_content_pt7g1_20",
|
|
|
3222
3224
|
open: Cn,
|
|
3223
3225
|
content: fn,
|
|
3224
3226
|
closeButton: bn
|
|
3225
|
-
}, yn = "data:image/svg+xml,%3csvg%20width='19'%20height='19'%20viewBox='0%200%2019%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%203699'%3e%3cpath%20id='Vector%20223'%20d='M1%201L18.1566%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20id='Vector%20224'%20d='M18.1575%201L1.00083%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e",
|
|
3227
|
+
}, yn = "data:image/svg+xml,%3csvg%20width='19'%20height='19'%20viewBox='0%200%2019%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%203699'%3e%3cpath%20id='Vector%20223'%20d='M1%201L18.1566%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20id='Vector%20224'%20d='M18.1575%201L1.00083%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e", vn = ({
|
|
3226
3228
|
width: n = "300px",
|
|
3227
3229
|
children: d,
|
|
3228
3230
|
showRightBar: o,
|
|
@@ -3243,7 +3245,7 @@ const gn = "_sidebar_pt7g1_2", Cn = "_open_pt7g1_16", fn = "_content_pt7g1_20",
|
|
|
3243
3245
|
}
|
|
3244
3246
|
);
|
|
3245
3247
|
};
|
|
3246
|
-
|
|
3248
|
+
vn.propTypes = {
|
|
3247
3249
|
width: e.string,
|
|
3248
3250
|
children: e.node,
|
|
3249
3251
|
showRightBar: e.bool,
|
|
@@ -3266,7 +3268,7 @@ export {
|
|
|
3266
3268
|
$0 as LogoApp,
|
|
3267
3269
|
I0 as MapboxMap,
|
|
3268
3270
|
q0 as MaplibreMap,
|
|
3269
|
-
|
|
3271
|
+
vn as RightSidebar,
|
|
3270
3272
|
En as SectionBar,
|
|
3271
3273
|
i1 as TimeSlider,
|
|
3272
3274
|
U as Tooltip,
|