@tmf_ciclica/ciclicastorybook 1.1.56 → 1.1.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +4 -4
- package/dist/index.es.js +696 -673
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_8d6ru_2{padding:5px 95px;border-radius:100px}._buttonsContainer_1audx_2{display:flex;gap:8px}._buttonsContainer_1audx_2._vertical_1audx_6{flex-direction:column}._buttonsContainer_1audx_2._horizontal_1audx_9{flex-direction:row}._button_1audx_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1audx_2:hover{opacity:.8}._button_1audx_2._active_1audx_25{font-weight:700}._button_1audx_2 ._buttonName_1audx_28{margin:0 4px}._left_1l4m4_2{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_1l4m4_2:before{content:"";position:absolute;top:50%;left:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent transparent #ccc;z-index:-2}._left_1l4m4_2:after{content:"";position:absolute;top:50%;left:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent transparent #fff;z-index:-1}._top_1l4m4_40{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._top_1l4m4_40:before{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:#ccc transparent transparent transparent;z-index:-2}._top_1l4m4_40:after{content:"";position:absolute;top:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:#fff transparent transparent transparent;z-index:-1}._bottom_1l4m4_79{position:absolute;width:auto;top:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._bottom_1l4m4_79:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent #ccc transparent;z-index:-2}._bottom_1l4m4_79:after{content:"";position:absolute;bottom:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent #fff transparent;z-index:-1}._right_1l4m4_118{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:20px;margin:0;white-space:nowrap;color:#000;z-index:10}._right_1l4m4_118:before{content:"";position:absolute;top:50%;right:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent #ccc transparent transparent;z-index:-2}._right_1l4m4_118:after{content:"";position:absolute;top:50%;right:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent #fff transparent transparent;z-index:-1}._AppliedFiltersContainer_s8ooe_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start}._AppliedFiltersContainer_s8ooe_2 ._AppliedFilterContent_s8ooe_10{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:0 20px;border-radius:100px}._checkboxContainer_zld97_2{display:flex;align-items:center;gap:.5rem;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_zld97_2 input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:1px;background-color:#fff;cursor:pointer}._container_15vgv_2{padding-top:15px;font-size:14px}._container_15vgv_2 span{font-size:14px}._container_15vgv_2 ._unitLabel_15vgv_9{height:40px}._container_15vgv_2 ._slider_15vgv_12{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_15vgv_2 ._thumb_15vgv_18{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_15vgv_2 ._track_15vgv_27{top:0;bottom:0;background:#605b56;border-radius:3px}._container_15vgv_2 ._labels_15vgv_33{display:flex;justify-content:space-between;font-size:14px;margin-top:10px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 label,._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input{cursor:pointer;font-size:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background-color:#fff;transition:background-color .2s ease;cursor:pointer;vertical-align:middle}._tematicalFiltersInputContainer_1vm1r_2 ._checkboxContainer_1vm1r_28{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px}._tematicalFiltersInputContainer_1vm1r_2 ._absoluteSliderContainer_1vm1r_37{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:flex-start}._FiltersAmbitContainer_1g9xx_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitTitle_1g9xx_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 0 26px;font-size:16px;font-weight:400}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22 ._FiltersAmbitDescriptionTitle_1g9xx_33{font-size:18px;font-weight:600}._FiltersAmbitContainer_1g9xx_2 ._warning_1g9xx_37{color:red}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_lw8gx_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._indicatorNameContainer_lw8gx_11{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._dot_lw8gx_20{border-radius:100px;width:16px;height:16px}._indicatorContainer_lw8gx_2 ._indicatorName_lw8gx_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_lw8gx_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40{margin:0;width:100%}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._customRadious_lw8gx_65{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._optionText_lw8gx_72{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_atg3j_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative}._legendContainer_atg3j_3 ._closeButton_atg3j_18{position:absolute;right:20px;top:20px;width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before,._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before{transform:rotate(45deg)}._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{transform:rotate(-45deg)}._legendContainer_atg3j_3 ._titleContainer_atg3j_46{border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._titleContainer_atg3j_46 h2{padding-bottom:16px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52{padding-top:20px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_atg3j_3 ._titleLegendList_atg3j_63{font-size:20px;padding-bottom:20px;margin-bottom:20px;margin-top:30px;border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76 ._colorDot_atg3j_82{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88{position:relative}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueColor_atg3j_91{height:130px;width:22px;border-radius:20px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueText_atg3j_96{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_atg3j_3 ._moreInfoContainer_atg3j_108{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_1gd6w_2 ._title_1gd6w_2{font-weight:600}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_a19yo_2{position:absolute;padding:5px 20px;right:150px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;top:188px;transition:all .5s ease-out}._slider_a19yo_2 ._playButton_a19yo_17,._slider_a19yo_2 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._slider_a19yo_2 ._playButton_a19yo_17 img{height:30px;width:30px}._sliderOpen_a19yo_28{right:490px}._sliderResults_a19yo_32{position:absolute;top:75px;right:430px;padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._sliderResults_a19yo_32 ._playButton_a19yo_17,._sliderResults_a19yo_32 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._sliderResults_a19yo_32 ._playButton_a19yo_17 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._LogInButton_1vxj5_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39{font-size:18px;font-weight:600;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53{font-size:18px;font-weight:600;flex:.5}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._buttonsContainer_fd7az_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._elementListContainer_fd7az_76{flex:1;width:100%}._elementSelector_fd7az_2 ._newElementButtonContainer_fd7az_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._listElement_1s506_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:5px;width:100%;padding-bottom:30px;padding-top:30px;flex-wrap:wrap}._listElement_1s506_2 ._elementNameDate_1s506_17{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementNameContainer_1s506_27{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementName_1s506_17{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementDate_1s506_42{flex:.5}._listElement_1s506_2 ._elementButtons_1s506_45{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_1s506_2 ._elementButtons_1s506_45 button:disabled{opacity:.5;cursor:default}._listElement_1s506_2 ._elementButtons_1s506_45 img{display:inline}._break_1s506_63{flex-basis:100%;height:0}._moreInfoContainer_1s506_68 ._moreInfo_1s506_68{display:flex;gap:5px;cursor:pointer}._textInputContainer_1xbl6_2 ._labelContainer_1xbl6_2{margin-bottom:25px}._textInputContainer_1xbl6_2 ._inputContainer_1xbl6_5{background-color:#605b5620;padding:7px;border-radius:4px;position:relative}._textInputContainer_1xbl6_2 ._inputContainer_1xbl6_5 ._showPasswordButton_1xbl6_11{position:absolute;right:5px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer}._textInputContainer_1xbl6_2 ._inputContainer_1xbl6_5 input{width:100%}._textInputContainer_1xbl6_2 ._forgotPassButton_1xbl6_23{margin-top:10px;cursor:pointer}._textInputContainer_1xbl6_2 ._forgotPassButton_1xbl6_23 button{text-decoration:underline}._errorMessage_1xiyb_2{min-height:25px}._formContainer_fx5a2_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_fx5a2_2 ._formObjectContainer_fx5a2_11{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1;width:100%}._formContainer_fx5a2_2 ._buttonContainer_fx5a2_21{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._inputsContainer_10t9s_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;gap:30px}._header_13kbt_2{width:100%;display:flex;align-items:center;position:absolute;top:0;left:0;padding:0 16px;background-color:#fff;border-bottom:1px solid black}._header_13kbt_2 ._leftComponents_13kbt_13,._header_13kbt_2 ._centerComponents_13kbt_14,._header_13kbt_2 ._rightComponents_13kbt_15{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_13kbt_2 ._leftComponents_13kbt_13{left:16px}._header_13kbt_2 ._centerComponents_13kbt_14{left:50%;transform:translate(-50%)}._header_13kbt_2 ._rightComponents_13kbt_15{right:16px}._header_13kbt_2 ._componentsContainer_13kbt_32{height:100%;width:100%}._sidebar_1jqo2_2{position:fixed;top:0;right:0;height:100%;background-color:#fff;box-shadow:-2px 0 5px #0000001a;overflow-x:hidden;overflow-y:auto;transition:width .3s ease;z-index:1000;width:0}._open_1jqo2_16{border-left:1px solid #ddd}._content_1jqo2_20{position:relative;padding:20px;height:100%}._closeButton_1jqo2_26{position:absolute;top:10px;right:10px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1jqo2_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import * as
|
|
4
|
-
import N, { useState as F, useEffect as
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_8d6ru_2{padding:5px 95px;border-radius:100px}._buttonsContainer_1audx_2{display:flex;gap:8px}._buttonsContainer_1audx_2._vertical_1audx_6{flex-direction:column}._buttonsContainer_1audx_2._horizontal_1audx_9{flex-direction:row}._button_1audx_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1audx_2:hover{opacity:.8}._button_1audx_2._active_1audx_25{font-weight:700}._button_1audx_2 ._buttonName_1audx_28{margin:0 4px}._left_1l4m4_2{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_1l4m4_2:before{content:"";position:absolute;top:50%;left:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent transparent #ccc;z-index:-2}._left_1l4m4_2:after{content:"";position:absolute;top:50%;left:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent transparent #fff;z-index:-1}._top_1l4m4_40{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._top_1l4m4_40:before{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:#ccc transparent transparent transparent;z-index:-2}._top_1l4m4_40:after{content:"";position:absolute;top:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:#fff transparent transparent transparent;z-index:-1}._bottom_1l4m4_79{position:absolute;width:auto;top:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._bottom_1l4m4_79:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent #ccc transparent;z-index:-2}._bottom_1l4m4_79:after{content:"";position:absolute;bottom:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent #fff transparent;z-index:-1}._right_1l4m4_118{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:20px;margin:0;white-space:nowrap;color:#000;z-index:10}._right_1l4m4_118:before{content:"";position:absolute;top:50%;right:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent #ccc transparent transparent;z-index:-2}._right_1l4m4_118:after{content:"";position:absolute;top:50%;right:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent #fff transparent transparent;z-index:-1}._AppliedFiltersContainer_s8ooe_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start}._AppliedFiltersContainer_s8ooe_2 ._AppliedFilterContent_s8ooe_10{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:0 20px;border-radius:100px}._checkboxContainer_zld97_2{display:flex;align-items:center;gap:.5rem;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_zld97_2 input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:1px;background-color:#fff;cursor:pointer}._container_15vgv_2{padding-top:15px;font-size:14px}._container_15vgv_2 span{font-size:14px}._container_15vgv_2 ._unitLabel_15vgv_9{height:40px}._container_15vgv_2 ._slider_15vgv_12{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_15vgv_2 ._thumb_15vgv_18{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_15vgv_2 ._track_15vgv_27{top:0;bottom:0;background:#605b56;border-radius:3px}._container_15vgv_2 ._labels_15vgv_33{display:flex;justify-content:space-between;font-size:14px;margin-top:10px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 label,._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input{cursor:pointer;font-size:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background-color:#fff;transition:background-color .2s ease;cursor:pointer;vertical-align:middle}._tematicalFiltersInputContainer_1vm1r_2 ._checkboxContainer_1vm1r_28{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px}._tematicalFiltersInputContainer_1vm1r_2 ._absoluteSliderContainer_1vm1r_37{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:flex-start}._FiltersAmbitContainer_1g9xx_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitTitle_1g9xx_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 0 26px;font-size:16px;font-weight:400}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22 ._FiltersAmbitDescriptionTitle_1g9xx_33{font-size:18px;font-weight:600}._FiltersAmbitContainer_1g9xx_2 ._warning_1g9xx_37{color:red}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_lw8gx_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._indicatorNameContainer_lw8gx_11{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center;gap:10px}._indicatorContainer_lw8gx_2 ._dot_lw8gx_20{border-radius:100px;width:16px;height:16px}._indicatorContainer_lw8gx_2 ._indicatorName_lw8gx_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_lw8gx_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40{margin:0;width:100%}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._customRadious_lw8gx_65{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_lw8gx_31 ._switchType_lw8gx_40 ._switchTypeOptions_lw8gx_44 ._optionContainer_lw8gx_55 ._optionText_lw8gx_72{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_atg3j_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative}._legendContainer_atg3j_3 ._closeButton_atg3j_18{position:absolute;right:20px;top:20px;width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before,._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_atg3j_3 ._closeButton_atg3j_18:before{transform:rotate(45deg)}._legendContainer_atg3j_3 ._closeButton_atg3j_18:after{transform:rotate(-45deg)}._legendContainer_atg3j_3 ._titleContainer_atg3j_46{border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._titleContainer_atg3j_46 h2{padding-bottom:16px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52{padding-top:20px}._legendContainer_atg3j_3 ._infoContainer_atg3j_52 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_atg3j_3 ._titleLegendList_atg3j_63{font-size:20px;padding-bottom:20px;margin-bottom:20px;margin-top:30px;border-bottom:solid 1.5px #605b56}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._gridContainer_atg3j_70 ._elementLegendContainer_atg3j_76 ._colorDot_atg3j_82{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88{position:relative}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueColor_atg3j_91{height:130px;width:22px;border-radius:20px}._legendContainer_atg3j_3 ._legendListContainer_atg3j_70 ._absoluteValueContainer_atg3j_88 ._absoluteValueText_atg3j_96{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_atg3j_3 ._moreInfoContainer_atg3j_108{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_1gd6w_2 ._title_1gd6w_2{font-weight:600}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_a19yo_2{position:absolute;padding:5px 20px;right:150px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;top:188px;transition:all .5s ease-out}._slider_a19yo_2 ._playButton_a19yo_17,._slider_a19yo_2 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._slider_a19yo_2 ._playButton_a19yo_17 img{height:30px;width:30px}._sliderOpen_a19yo_28{right:490px}._sliderResults_a19yo_32{position:absolute;top:75px;right:430px;padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._sliderResults_a19yo_32 ._playButton_a19yo_17,._sliderResults_a19yo_32 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._sliderResults_a19yo_32 ._playButton_a19yo_17 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._LogInButton_1vxj5_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39{font-size:18px;font-weight:600;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53{font-size:18px;font-weight:600;flex:.5}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._buttonsContainer_fd7az_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._elementListContainer_fd7az_76{flex:1;width:100%}._elementSelector_fd7az_2 ._newElementButtonContainer_fd7az_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._listElement_1s506_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:5px;width:100%;padding-bottom:30px;padding-top:30px;flex-wrap:wrap}._listElement_1s506_2 ._elementNameDate_1s506_17{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementNameContainer_1s506_27{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementName_1s506_17{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementDate_1s506_42{flex:.5}._listElement_1s506_2 ._elementButtons_1s506_45{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_1s506_2 ._elementButtons_1s506_45 button:disabled{opacity:.5;cursor:default}._listElement_1s506_2 ._elementButtons_1s506_45 img{display:inline}._break_1s506_63{flex-basis:100%;height:0}._moreInfoContainer_1s506_68 ._moreInfo_1s506_68{display:flex;gap:5px;cursor:pointer}._textInputContainer_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 gt } from "react/jsx-runtime";
|
|
3
|
+
import * as Q from "react";
|
|
4
|
+
import N, { useState as F, useEffect as D, useMemo as ce, useLayoutEffect as Ct, useRef as Me } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
|
-
import { useTranslation as k, Trans as
|
|
6
|
+
import { useTranslation as k, Trans as Le } from "react-i18next";
|
|
7
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
11
|
import { useSelector as yt, useDispatch as _t } from "react-redux";
|
|
12
|
-
import vt, { Source as
|
|
13
|
-
import
|
|
12
|
+
import vt, { Source as wt, Layer as xt, NavigationControl as kt, Popup as Nt } from "react-map-gl/mapbox";
|
|
13
|
+
import me from "maplibre-gl";
|
|
14
14
|
import { Protocol as St } from "pmtiles";
|
|
15
|
-
import Bt, { Source as Ft, Layer as Mt, NavigationControl as
|
|
15
|
+
import Bt, { Source as Ft, Layer as Mt, NavigationControl as Lt, Popup as Dt } from "react-map-gl/maplibre";
|
|
16
16
|
import { createSlice as Tt } from "@reduxjs/toolkit";
|
|
17
17
|
import Vt from "@mui/material/Slider";
|
|
18
18
|
import { createTheme as $t, Box as At } from "@mui/material";
|
|
19
19
|
import { ThemeProvider as Ot } from "@emotion/react";
|
|
20
20
|
import { NavLink as It } from "react-router-dom";
|
|
21
|
-
const Rt = "_ambitSelector_mcunf_2", Et = "_header_mcunf_13", Pt = "_nameDateContainer_mcunf_23", jt = "_ambitName_mcunf_39", zt = "_ambitDate_mcunf_53", qt = "_buttonsContainer_mcunf_67", Zt = "_ambitListContainer_mcunf_76", Ht = "_newAmbitButtonContainer_mcunf_80",
|
|
21
|
+
const Rt = "_ambitSelector_mcunf_2", Et = "_header_mcunf_13", Pt = "_nameDateContainer_mcunf_23", jt = "_ambitName_mcunf_39", zt = "_ambitDate_mcunf_53", qt = "_buttonsContainer_mcunf_67", Zt = "_ambitListContainer_mcunf_76", Ht = "_newAmbitButtonContainer_mcunf_80", z = {
|
|
22
22
|
ambitSelector: Rt,
|
|
23
23
|
header: Et,
|
|
24
24
|
nameDateContainer: Pt,
|
|
@@ -27,7 +27,7 @@ const Rt = "_ambitSelector_mcunf_2", Et = "_header_mcunf_13", Pt = "_nameDateCon
|
|
|
27
27
|
buttonsContainer: qt,
|
|
28
28
|
ambitListContainer: Zt,
|
|
29
29
|
newAmbitButtonContainer: Ht
|
|
30
|
-
}, Kt = "_ambitItem_1qa6u_2", Ut = "_ambitNameDate_1qa6u_16", Gt = "_ambitName_1qa6u_16", Yt = "_ambitDate_1qa6u_35", Wt = "_ambitButtons_1qa6u_38",
|
|
30
|
+
}, Kt = "_ambitItem_1qa6u_2", Ut = "_ambitNameDate_1qa6u_16", Gt = "_ambitName_1qa6u_16", Yt = "_ambitDate_1qa6u_35", Wt = "_ambitButtons_1qa6u_38", te = {
|
|
31
31
|
ambitItem: Kt,
|
|
32
32
|
ambitNameDate: Ut,
|
|
33
33
|
ambitName: Gt,
|
|
@@ -44,15 +44,15 @@ const Rt = "_ambitSelector_mcunf_2", Et = "_header_mcunf_13", Pt = "_nameDateCon
|
|
|
44
44
|
fontColor: a,
|
|
45
45
|
moreInfo: c
|
|
46
46
|
}) => {
|
|
47
|
-
const { nom: u, created_at: p, id:
|
|
48
|
-
return /* @__PURE__ */
|
|
47
|
+
const { nom: u, created_at: p, id: g, isBeingProcessed: y } = n;
|
|
48
|
+
return /* @__PURE__ */ h(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
51
|
-
className:
|
|
51
|
+
className: te.ambitItem,
|
|
52
52
|
style: { borderBottom: `1px solid ${a}` },
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */
|
|
55
|
-
/* @__PURE__ */
|
|
54
|
+
/* @__PURE__ */ h("div", { className: te.ambitNameDate, onClick: () => t(g), children: [
|
|
55
|
+
/* @__PURE__ */ h("div", { className: te.ambitName, children: [
|
|
56
56
|
/* @__PURE__ */ s(
|
|
57
57
|
"img",
|
|
58
58
|
{
|
|
@@ -62,13 +62,13 @@ const Rt = "_ambitSelector_mcunf_2", Et = "_header_mcunf_13", Pt = "_nameDateCon
|
|
|
62
62
|
),
|
|
63
63
|
/* @__PURE__ */ s("span", { style: { color: r ? l : a }, children: u })
|
|
64
64
|
] }),
|
|
65
|
-
/* @__PURE__ */ s("div", { className:
|
|
65
|
+
/* @__PURE__ */ s("div", { className: te.ambitDate, children: p ? new Date(p).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
67
|
-
/* @__PURE__ */
|
|
67
|
+
/* @__PURE__ */ h("div", { className: te.ambitButtons, children: [
|
|
68
68
|
y && /* @__PURE__ */ s("img", { src: e2 }),
|
|
69
|
-
/* @__PURE__ */ s("button", { onClick: () => i(
|
|
70
|
-
/* @__PURE__ */ s("button", { onClick: () => d(
|
|
71
|
-
/* @__PURE__ */ s("button", { onClick: () => o(
|
|
69
|
+
/* @__PURE__ */ s("button", { onClick: () => i(g), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: Qt }) }),
|
|
70
|
+
/* @__PURE__ */ s("button", { onClick: () => d(g), children: /* @__PURE__ */ s("img", { src: Xt }) }),
|
|
71
|
+
/* @__PURE__ */ s("button", { onClick: () => o(g), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: Jt }) })
|
|
72
72
|
] })
|
|
73
73
|
]
|
|
74
74
|
}
|
|
@@ -92,19 +92,24 @@ 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
|
+
}, de = ({
|
|
98
98
|
children: n,
|
|
99
99
|
onClick: d,
|
|
100
100
|
fontColor: o = "#605B56",
|
|
101
101
|
borderColor: i = "#605B56",
|
|
102
|
-
type: t = "button"
|
|
102
|
+
type: t = "button",
|
|
103
|
+
containerStyles: r = {}
|
|
103
104
|
}) => /* @__PURE__ */ s(
|
|
104
105
|
"button",
|
|
105
106
|
{
|
|
106
107
|
className: o2.generalButton,
|
|
107
|
-
style: {
|
|
108
|
+
style: {
|
|
109
|
+
color: o,
|
|
110
|
+
border: `1.5px solid ${i}`,
|
|
111
|
+
...r
|
|
112
|
+
},
|
|
108
113
|
onClick: d,
|
|
109
114
|
type: t,
|
|
110
115
|
children: n
|
|
@@ -120,68 +125,68 @@ const Ae = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
120
125
|
buttonContainerStyles: a = {},
|
|
121
126
|
containerStyles: c = {},
|
|
122
127
|
onCLickNewAmbit: u = () => console.log("New ambit clicked"),
|
|
123
|
-
onClickCopy: p = (
|
|
124
|
-
onCLickDelete:
|
|
125
|
-
onClickFilters: y = (
|
|
126
|
-
onClickAmbit:
|
|
128
|
+
onClickCopy: p = (C) => console.log(`Copy ambit: ${C}`),
|
|
129
|
+
onCLickDelete: g = (C) => console.log(`Delete ambit: ${C}`),
|
|
130
|
+
onClickFilters: y = (C) => console.log(`Filters clicked: ${C}`),
|
|
131
|
+
onClickAmbit: m = (C) => console.log(`OnCLickAmbit: ${C}`)
|
|
127
132
|
}) => {
|
|
128
|
-
const { t:
|
|
129
|
-
|
|
130
|
-
n &&
|
|
133
|
+
const { t: C } = k(), [f, b] = F(n);
|
|
134
|
+
D(() => {
|
|
135
|
+
n && b(n);
|
|
131
136
|
}, [n]);
|
|
132
|
-
const _ = (
|
|
133
|
-
if (
|
|
134
|
-
let
|
|
135
|
-
|
|
137
|
+
const _ = (w) => {
|
|
138
|
+
if (f && f.length > 0) {
|
|
139
|
+
let x = [...f];
|
|
140
|
+
x.sort((v, S) => v[w].localeCompare(S[w])), b(x);
|
|
136
141
|
}
|
|
137
142
|
};
|
|
138
|
-
return /* @__PURE__ */
|
|
143
|
+
return /* @__PURE__ */ h(
|
|
139
144
|
"div",
|
|
140
145
|
{
|
|
141
|
-
className:
|
|
146
|
+
className: z.ambitSelector,
|
|
142
147
|
style: { color: o, ...c },
|
|
143
148
|
children: [
|
|
144
|
-
/* @__PURE__ */
|
|
149
|
+
/* @__PURE__ */ h(
|
|
145
150
|
"div",
|
|
146
151
|
{
|
|
147
|
-
className:
|
|
152
|
+
className: z.header,
|
|
148
153
|
style: { borderBottom: `1px solid ${o}` },
|
|
149
154
|
children: [
|
|
150
|
-
/* @__PURE__ */
|
|
151
|
-
/* @__PURE__ */ s("div", { className:
|
|
152
|
-
/* @__PURE__ */ s("span", { children:
|
|
153
|
-
/* @__PURE__ */ s("img", { src:
|
|
155
|
+
/* @__PURE__ */ h("div", { className: z.nameDateContainer, children: [
|
|
156
|
+
/* @__PURE__ */ s("div", { className: z.ambitName, children: /* @__PURE__ */ h("button", { onClick: () => _("name"), children: [
|
|
157
|
+
/* @__PURE__ */ s("span", { children: C(t) }),
|
|
158
|
+
/* @__PURE__ */ s("img", { src: Oe })
|
|
154
159
|
] }) }),
|
|
155
|
-
/* @__PURE__ */ s("div", { className:
|
|
156
|
-
/* @__PURE__ */ s("span", { children:
|
|
157
|
-
/* @__PURE__ */ s("img", { src:
|
|
160
|
+
/* @__PURE__ */ s("div", { className: z.ambitDate, children: /* @__PURE__ */ h("button", { onClick: () => _("date"), children: [
|
|
161
|
+
/* @__PURE__ */ s("span", { children: C(r) }),
|
|
162
|
+
/* @__PURE__ */ s("img", { src: Oe })
|
|
158
163
|
] }) })
|
|
159
164
|
] }),
|
|
160
|
-
/* @__PURE__ */ s("div", { className:
|
|
165
|
+
/* @__PURE__ */ s("div", { className: z.buttonsContainer })
|
|
161
166
|
]
|
|
162
167
|
}
|
|
163
168
|
),
|
|
164
|
-
/* @__PURE__ */ s("div", { className:
|
|
169
|
+
/* @__PURE__ */ s("div", { className: z.ambitListContainer, children: f && f.length > 0 && f.map((w) => /* @__PURE__ */ s(
|
|
165
170
|
Ye,
|
|
166
171
|
{
|
|
167
|
-
isActive: d ==
|
|
168
|
-
ambit:
|
|
172
|
+
isActive: d == w.id,
|
|
173
|
+
ambit: w,
|
|
169
174
|
fontColor: o,
|
|
170
175
|
activeColor: i,
|
|
171
176
|
onClickCopy: p,
|
|
172
|
-
onClickDelete:
|
|
177
|
+
onClickDelete: g,
|
|
173
178
|
onClickFilters: y,
|
|
174
|
-
onClickAmbit:
|
|
179
|
+
onClickAmbit: m
|
|
175
180
|
},
|
|
176
|
-
`ambitKey${
|
|
181
|
+
`ambitKey${w.id}`
|
|
177
182
|
)) }),
|
|
178
|
-
/* @__PURE__ */ s("div", { className:
|
|
179
|
-
|
|
183
|
+
/* @__PURE__ */ s("div", { className: z.newAmbitButtonContainer, children: /* @__PURE__ */ s(
|
|
184
|
+
de,
|
|
180
185
|
{
|
|
181
186
|
style: { ...a },
|
|
182
187
|
onClick: u,
|
|
183
188
|
borderColor: "grey",
|
|
184
|
-
children:
|
|
189
|
+
children: C(l)
|
|
185
190
|
}
|
|
186
191
|
) })
|
|
187
192
|
]
|
|
@@ -210,7 +215,7 @@ s2.propTypes = {
|
|
|
210
215
|
containerStyles: e.object,
|
|
211
216
|
onCLickNewAmbit: e.func
|
|
212
217
|
};
|
|
213
|
-
const r2 = "_buttonsContainer_1audx_2", a2 = "_vertical_1audx_6", l2 = "_horizontal_1audx_9", c2 = "_button_1audx_2", d2 = "_active_1audx_25", u2 = "_buttonName_1audx_28",
|
|
218
|
+
const r2 = "_buttonsContainer_1audx_2", a2 = "_vertical_1audx_6", l2 = "_horizontal_1audx_9", c2 = "_button_1audx_2", d2 = "_active_1audx_25", u2 = "_buttonName_1audx_28", Z = {
|
|
214
219
|
buttonsContainer: r2,
|
|
215
220
|
vertical: a2,
|
|
216
221
|
horizontal: l2,
|
|
@@ -222,11 +227,11 @@ const r2 = "_buttonsContainer_1audx_2", a2 = "_vertical_1audx_6", l2 = "_horizon
|
|
|
222
227
|
top: m2,
|
|
223
228
|
bottom: h2,
|
|
224
229
|
right: g2
|
|
225
|
-
},
|
|
230
|
+
}, G = ({ text: n, position: d, styleCustom: o = null }) => {
|
|
226
231
|
const { t: i } = k();
|
|
227
232
|
return /* @__PURE__ */ s("div", { className: `tooltip ${C2[d]}`, style: o, children: i(n) });
|
|
228
233
|
};
|
|
229
|
-
|
|
234
|
+
G.propTypes = {
|
|
230
235
|
text: e.string.isRequired,
|
|
231
236
|
position: e.oneOf(["top", "bottom", "left", "right"]).isRequired,
|
|
232
237
|
styleCustom: e.object
|
|
@@ -243,31 +248,31 @@ const f2 = ({
|
|
|
243
248
|
return /* @__PURE__ */ s(
|
|
244
249
|
"div",
|
|
245
250
|
{
|
|
246
|
-
className: `${
|
|
247
|
-
${d === "horizontal" &&
|
|
251
|
+
className: `${Z.buttonsContainer} ${d === "vertical" && Z.vertical}
|
|
252
|
+
${d === "horizontal" && Z.horizontal}`,
|
|
248
253
|
children: n.map((a, c) => {
|
|
249
254
|
const {
|
|
250
255
|
icon: u,
|
|
251
256
|
activeIcon: p,
|
|
252
|
-
isActive:
|
|
257
|
+
isActive: g,
|
|
253
258
|
name: y,
|
|
254
|
-
onClick:
|
|
255
|
-
} = a,
|
|
256
|
-
o && i === "left" && /* @__PURE__ */ s("span", { className:
|
|
257
|
-
/* @__PURE__ */ s("img", { src:
|
|
258
|
-
o && i === "right" && /* @__PURE__ */ s("span", { className:
|
|
259
|
+
onClick: m
|
|
260
|
+
} = a, C = /* @__PURE__ */ h(gt, { children: [
|
|
261
|
+
o && i === "left" && /* @__PURE__ */ s("span", { className: Z.buttonName, children: l(y) }),
|
|
262
|
+
/* @__PURE__ */ s("img", { src: g ? p : u, alt: l(y) }),
|
|
263
|
+
o && i === "right" && /* @__PURE__ */ s("span", { className: Z.buttonName, children: l(y) })
|
|
259
264
|
] });
|
|
260
|
-
return /* @__PURE__ */
|
|
265
|
+
return /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
261
266
|
/* @__PURE__ */ s(
|
|
262
267
|
"button",
|
|
263
268
|
{
|
|
264
|
-
onClick:
|
|
265
|
-
className: `${
|
|
266
|
-
${
|
|
267
|
-
children:
|
|
269
|
+
onClick: m,
|
|
270
|
+
className: `${Z.button}
|
|
271
|
+
${g && Z.active}`,
|
|
272
|
+
children: C
|
|
268
273
|
}
|
|
269
274
|
),
|
|
270
|
-
t && /* @__PURE__ */ s(
|
|
275
|
+
t && /* @__PURE__ */ s(G, { text: y, position: r })
|
|
271
276
|
] }, c);
|
|
272
277
|
})
|
|
273
278
|
}
|
|
@@ -290,10 +295,10 @@ f2.propTypes = {
|
|
|
290
295
|
useTooltip: e.bool,
|
|
291
296
|
tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
|
|
292
297
|
};
|
|
293
|
-
const b2 = "_indicatorsCategory_1cu33_2", y2 = "_title_1cu33_5",
|
|
298
|
+
const b2 = "_indicatorsCategory_1cu33_2", y2 = "_title_1cu33_5", he = {
|
|
294
299
|
indicatorsCategory: b2,
|
|
295
300
|
title: y2
|
|
296
|
-
},
|
|
301
|
+
}, Y = ({
|
|
297
302
|
isOpen: n,
|
|
298
303
|
onClick: d,
|
|
299
304
|
children: o,
|
|
@@ -308,10 +313,10 @@ const b2 = "_indicatorsCategory_1cu33_2", y2 = "_title_1cu33_5", me = {
|
|
|
308
313
|
titleMarginChildren: u = 25
|
|
309
314
|
}) => {
|
|
310
315
|
const { t: p } = k();
|
|
311
|
-
return /* @__PURE__ */
|
|
316
|
+
return /* @__PURE__ */ h(
|
|
312
317
|
De.div,
|
|
313
318
|
{
|
|
314
|
-
className:
|
|
319
|
+
className: he.indicatorsCategory,
|
|
315
320
|
initial: { height: `${l}px` },
|
|
316
321
|
animate: { height: n ? "auto" : `${l}px` },
|
|
317
322
|
transition: { duration: 0.4 },
|
|
@@ -321,14 +326,14 @@ const b2 = "_indicatorsCategory_1cu33_2", y2 = "_title_1cu33_5", me = {
|
|
|
321
326
|
marginBottom: n ? "20px" : "0px"
|
|
322
327
|
},
|
|
323
328
|
children: [
|
|
324
|
-
/* @__PURE__ */
|
|
329
|
+
/* @__PURE__ */ h(
|
|
325
330
|
"h2",
|
|
326
331
|
{
|
|
327
332
|
style: {
|
|
328
333
|
...a,
|
|
329
334
|
marginBottom: u || "auto"
|
|
330
335
|
},
|
|
331
|
-
className: `${
|
|
336
|
+
className: `${he.title}`,
|
|
332
337
|
onClick: d,
|
|
333
338
|
children: [
|
|
334
339
|
/* @__PURE__ */ s("span", { style: { color: n ? t : i }, children: n ? "-" : "+" }),
|
|
@@ -336,12 +341,12 @@ const b2 = "_indicatorsCategory_1cu33_2", y2 = "_title_1cu33_5", me = {
|
|
|
336
341
|
]
|
|
337
342
|
}
|
|
338
343
|
),
|
|
339
|
-
/* @__PURE__ */ s("div", { className:
|
|
344
|
+
/* @__PURE__ */ s("div", { className: he.content, children: o })
|
|
340
345
|
]
|
|
341
346
|
}
|
|
342
347
|
);
|
|
343
348
|
};
|
|
344
|
-
|
|
349
|
+
Y.propTypes = {
|
|
345
350
|
isOpen: e.bool,
|
|
346
351
|
onClick: e.func,
|
|
347
352
|
children: e.node,
|
|
@@ -352,10 +357,10 @@ G.propTypes = {
|
|
|
352
357
|
showBottomBar: e.bool,
|
|
353
358
|
titleFontStyles: e.object
|
|
354
359
|
};
|
|
355
|
-
const
|
|
360
|
+
const En = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), _2 = "data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%201L13.9996%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20d='M14%201L1.00044%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", v2 = "_AppliedFiltersContainer_s8ooe_2", w2 = "_AppliedFilterContent_s8ooe_10", Ie = {
|
|
356
361
|
AppliedFiltersContainer: v2,
|
|
357
|
-
AppliedFilterContent:
|
|
358
|
-
},
|
|
362
|
+
AppliedFilterContent: w2
|
|
363
|
+
}, L = ft((n) => ({
|
|
359
364
|
activeCategory: "",
|
|
360
365
|
activeSubCategory: "",
|
|
361
366
|
selectedIndicator: "",
|
|
@@ -363,21 +368,21 @@ const In = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), _2 = "data
|
|
|
363
368
|
fontColor: "#605B56",
|
|
364
369
|
inputsColor: "#605B56"
|
|
365
370
|
})), We = ({ title: n, onClick: d, isOpen: o = !0, textColor: i = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
366
|
-
const { t: l } = k(), { tematicalFiltersSelected: a } =
|
|
367
|
-
|
|
371
|
+
const { t: l } = k(), { tematicalFiltersSelected: a } = L((u) => u), c = (u) => {
|
|
372
|
+
L.setState((p) => ({
|
|
368
373
|
tematicalFiltersSelected: p.tematicalFiltersSelected.filter(
|
|
369
|
-
(
|
|
374
|
+
(g) => g.code !== u
|
|
370
375
|
)
|
|
371
376
|
}));
|
|
372
377
|
};
|
|
373
378
|
return /* @__PURE__ */ s(
|
|
374
|
-
|
|
379
|
+
Y,
|
|
375
380
|
{
|
|
376
381
|
isOpen: o,
|
|
377
382
|
onClick: d,
|
|
378
383
|
title: n ? l(n) : "Applied Filters",
|
|
379
384
|
activeColor: r,
|
|
380
|
-
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: [
|
|
381
386
|
l(u.name),
|
|
382
387
|
/* @__PURE__ */ s("img", { src: _2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
|
|
383
388
|
] }, p)) })
|
|
@@ -399,9 +404,9 @@ We.propTypes = {
|
|
|
399
404
|
activeColor: e.string
|
|
400
405
|
};
|
|
401
406
|
const Je = ({ title: n, onClick: d, isOpen: o = !0, textColor: i = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
402
|
-
const { t: l } = k(), { tematicalFiltersSelected: a } =
|
|
407
|
+
const { t: l } = k(), { tematicalFiltersSelected: a } = L((c) => c);
|
|
403
408
|
return /* @__PURE__ */ s(
|
|
404
|
-
|
|
409
|
+
Y,
|
|
405
410
|
{
|
|
406
411
|
isOpen: o,
|
|
407
412
|
onClick: d,
|
|
@@ -419,8 +424,8 @@ Je.propTypes = {
|
|
|
419
424
|
backgroundColor: e.string,
|
|
420
425
|
activeColor: e.string
|
|
421
426
|
};
|
|
422
|
-
const
|
|
423
|
-
checkboxContainer:
|
|
427
|
+
const x2 = "_checkboxContainer_zld97_2", k2 = {
|
|
428
|
+
checkboxContainer: x2
|
|
424
429
|
}, Xe = ({
|
|
425
430
|
onClick: n,
|
|
426
431
|
containerStyles: d,
|
|
@@ -428,8 +433,8 @@ const w2 = "_checkboxContainer_zld97_2", k2 = {
|
|
|
428
433
|
indicator: i,
|
|
429
434
|
value: t
|
|
430
435
|
}) => {
|
|
431
|
-
const { t: r } = k(), { title: l } = i || {}, { fontColor: a, inputsColor: c } =
|
|
432
|
-
return /* @__PURE__ */
|
|
436
|
+
const { t: r } = k(), { title: l } = i || {}, { fontColor: a, inputsColor: c } = L((u) => u);
|
|
437
|
+
return /* @__PURE__ */ h(
|
|
433
438
|
"div",
|
|
434
439
|
{
|
|
435
440
|
style: { ...d, color: o },
|
|
@@ -466,40 +471,40 @@ Xe.propTypes = {
|
|
|
466
471
|
}),
|
|
467
472
|
checkedColor: e.string
|
|
468
473
|
};
|
|
469
|
-
function
|
|
470
|
-
return
|
|
474
|
+
function ke(n, d) {
|
|
475
|
+
return ke = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, i) {
|
|
471
476
|
return o.__proto__ = i, o;
|
|
472
|
-
},
|
|
477
|
+
}, ke(n, d);
|
|
473
478
|
}
|
|
474
479
|
function N2(n, d) {
|
|
475
|
-
n.prototype = Object.create(d.prototype), n.prototype.constructor = n,
|
|
480
|
+
n.prototype = Object.create(d.prototype), n.prototype.constructor = n, ke(n, d);
|
|
476
481
|
}
|
|
477
|
-
function
|
|
482
|
+
function ge(n) {
|
|
478
483
|
return n && n.stopPropagation && n.stopPropagation(), n && n.preventDefault && n.preventDefault(), !1;
|
|
479
484
|
}
|
|
480
|
-
function
|
|
485
|
+
function Ce(n) {
|
|
481
486
|
return n == null ? [] : Array.isArray(n) ? n.slice() : [n];
|
|
482
487
|
}
|
|
483
|
-
function
|
|
488
|
+
function se(n) {
|
|
484
489
|
return n !== null && n.length === 1 ? n[0] : n.slice();
|
|
485
490
|
}
|
|
486
|
-
function
|
|
491
|
+
function re(n) {
|
|
487
492
|
Object.keys(n).forEach((d) => {
|
|
488
493
|
typeof document < "u" && document.addEventListener(d, n[d], !1);
|
|
489
494
|
});
|
|
490
495
|
}
|
|
491
|
-
function
|
|
492
|
-
return
|
|
496
|
+
function H(n, d) {
|
|
497
|
+
return Ne(function(o, i) {
|
|
493
498
|
let t = o;
|
|
494
499
|
return t <= i.min && (t = i.min), t >= i.max && (t = i.max), t;
|
|
495
500
|
}(n, d), d);
|
|
496
501
|
}
|
|
497
|
-
function
|
|
502
|
+
function Ne(n, d) {
|
|
498
503
|
const o = (n - d.min) % d.step;
|
|
499
504
|
let i = n - o;
|
|
500
505
|
return 2 * Math.abs(o) >= d.step && (i += o > 0 ? d.step : -d.step), parseFloat(i.toFixed(5));
|
|
501
506
|
}
|
|
502
|
-
let
|
|
507
|
+
let Se = function(n) {
|
|
503
508
|
function d(i) {
|
|
504
509
|
var t;
|
|
505
510
|
(t = n.call(this, i) || this).onKeyUp = () => {
|
|
@@ -519,8 +524,8 @@ let Ne = function(n) {
|
|
|
519
524
|
t.setState({ pending: !0 });
|
|
520
525
|
const c = t.getTouchPosition(a);
|
|
521
526
|
if (t.isScrolling === void 0) {
|
|
522
|
-
const
|
|
523
|
-
t.isScrolling = Math.abs(y) > Math.abs(
|
|
527
|
+
const g = c[0] - t.startPosition[0], y = c[1] - t.startPosition[1];
|
|
528
|
+
t.isScrolling = Math.abs(y) > Math.abs(g);
|
|
524
529
|
}
|
|
525
530
|
if (t.isScrolling) return void t.setState({ index: -1 });
|
|
526
531
|
const u = t.getDiffPosition(c[0]), p = t.getValueFromPosition(u);
|
|
@@ -556,28 +561,28 @@ let Ne = function(n) {
|
|
|
556
561
|
if (t.setState({ pending: !0 }), !t.props.snapDragDisabled) {
|
|
557
562
|
const c = t.getMousePosition(a);
|
|
558
563
|
t.forceValueFromPosition(c[0], (u) => {
|
|
559
|
-
t.start(u, c[0]),
|
|
564
|
+
t.start(u, c[0]), re(t.getMouseEventMap());
|
|
560
565
|
});
|
|
561
566
|
}
|
|
562
|
-
|
|
567
|
+
ge(a);
|
|
563
568
|
}
|
|
564
569
|
}, t.onSliderClick = (a) => {
|
|
565
570
|
if (!t.props.disabled && t.props.onSliderClick && !t.hasMoved) {
|
|
566
|
-
const c = t.getMousePosition(a), u =
|
|
571
|
+
const c = t.getMousePosition(a), u = H(t.calcValue(t.calcOffsetFromPosition(c[0])), t.props);
|
|
567
572
|
t.props.onSliderClick(u);
|
|
568
573
|
}
|
|
569
574
|
}, t.createOnKeyDown = (a) => (c) => {
|
|
570
|
-
t.props.disabled || (t.start(a),
|
|
575
|
+
t.props.disabled || (t.start(a), re(t.getKeyDownEventMap()), ge(c));
|
|
571
576
|
}, t.createOnMouseDown = (a) => (c) => {
|
|
572
577
|
if (t.props.disabled || c.button === 2) return;
|
|
573
578
|
t.setState({ pending: !0 });
|
|
574
579
|
const u = t.getMousePosition(c);
|
|
575
|
-
t.start(a, u[0]),
|
|
580
|
+
t.start(a, u[0]), re(t.getMouseEventMap()), ge(c);
|
|
576
581
|
}, t.createOnTouchStart = (a) => (c) => {
|
|
577
582
|
if (t.props.disabled || c.touches.length > 1) return;
|
|
578
583
|
t.setState({ pending: !0 });
|
|
579
584
|
const u = t.getTouchPosition(c);
|
|
580
|
-
t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]),
|
|
585
|
+
t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]), re(t.getTouchEventMap()), function(p) {
|
|
581
586
|
p.stopPropagation && p.stopPropagation();
|
|
582
587
|
}(c);
|
|
583
588
|
}, t.handleResize = () => {
|
|
@@ -588,16 +593,16 @@ let Ne = function(n) {
|
|
|
588
593
|
}, t.renderThumb = (a, c) => {
|
|
589
594
|
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), p = { ref: (y) => {
|
|
590
595
|
t["thumb" + c] = y;
|
|
591
|
-
}, key: t.props.thumbClassName + "-" + c, className: u, style: a, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled },
|
|
592
|
-
return t.props.ariaValuetext && (p["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(
|
|
596
|
+
}, key: t.props.thumbClassName + "-" + c, className: u, style: a, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, g = { index: c, value: se(t.state.value), valueNow: t.state.value[c] };
|
|
597
|
+
return t.props.ariaValuetext && (p["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(g)), t.props.renderThumb(p, g);
|
|
593
598
|
}, t.renderTrack = (a, c, u) => {
|
|
594
|
-
const p = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(c, t.state.upperBound - u) },
|
|
595
|
-
return t.props.renderTrack(p,
|
|
599
|
+
const p = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(c, t.state.upperBound - u) }, g = { index: a, value: se(t.state.value) };
|
|
600
|
+
return t.props.renderTrack(p, g);
|
|
596
601
|
};
|
|
597
|
-
let r =
|
|
598
|
-
r.length || (r =
|
|
602
|
+
let r = Ce(i.value);
|
|
603
|
+
r.length || (r = Ce(i.defaultValue)), t.pendingResizeTimeouts = [];
|
|
599
604
|
const l = [];
|
|
600
|
-
for (let a = 0; a < r.length; a += 1) r[a] =
|
|
605
|
+
for (let a = 0; a < r.length; a += 1) r[a] = H(r[a], i), l.push(a);
|
|
601
606
|
return t.resizeObserver = null, t.resizeElementRef = N.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices: l }, t;
|
|
602
607
|
}
|
|
603
608
|
N2(d, n);
|
|
@@ -605,8 +610,8 @@ let Ne = function(n) {
|
|
|
605
610
|
return o.componentDidMount = function() {
|
|
606
611
|
typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
|
|
607
612
|
}, d.getDerivedStateFromProps = function(i, t) {
|
|
608
|
-
const r =
|
|
609
|
-
return r.length ? t.pending ? null : { value: r.map((l) =>
|
|
613
|
+
const r = Ce(i.value);
|
|
614
|
+
return r.length ? t.pending ? null : { value: r.map((l) => H(l, i)) } : null;
|
|
610
615
|
}, o.componentDidUpdate = function() {
|
|
611
616
|
this.state.upperBound === 0 && this.resize();
|
|
612
617
|
}, o.componentWillUnmount = function() {
|
|
@@ -618,7 +623,7 @@ let Ne = function(n) {
|
|
|
618
623
|
});
|
|
619
624
|
}(i), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
|
|
620
625
|
}, o.getValue = function() {
|
|
621
|
-
return
|
|
626
|
+
return se(this.state.value);
|
|
622
627
|
}, o.getClosestIndex = function(i) {
|
|
623
628
|
let t = Number.MAX_VALUE, r = -1;
|
|
624
629
|
const { value: l } = this.state, a = l.length;
|
|
@@ -640,15 +645,15 @@ let Ne = function(n) {
|
|
|
640
645
|
return { touchmove: this.onTouchMove, touchend: this.onTouchEnd };
|
|
641
646
|
}, o.getValueFromPosition = function(i) {
|
|
642
647
|
const t = i / (this.state.sliderLength - this.state.thumbSize) * (this.props.max - this.props.min);
|
|
643
|
-
return
|
|
648
|
+
return H(this.state.startValue + t, this.props);
|
|
644
649
|
}, o.getDiffPosition = function(i) {
|
|
645
650
|
let t = i - this.state.startPosition;
|
|
646
651
|
return this.props.invert && (t *= -1), t;
|
|
647
652
|
}, o.resize = function() {
|
|
648
653
|
const { slider: i, thumb0: t } = this;
|
|
649
654
|
if (!i || !t) return;
|
|
650
|
-
const r = this.sizeKey(), l = i.getBoundingClientRect(), a = i[r], c = l[this.posMaxKey()], u = l[this.posMinKey()], p = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()],
|
|
651
|
-
this.state.upperBound ===
|
|
655
|
+
const r = this.sizeKey(), l = i.getBoundingClientRect(), a = i[r], c = l[this.posMaxKey()], u = l[this.posMinKey()], p = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], g = a - p, y = Math.abs(c - u);
|
|
656
|
+
this.state.upperBound === g && this.state.sliderLength === y && this.state.thumbSize === p || this.setState({ upperBound: g, sliderLength: y, thumbSize: p });
|
|
652
657
|
}, o.calcOffset = function(i) {
|
|
653
658
|
const t = this.props.max - this.props.min;
|
|
654
659
|
return t === 0 ? 0 : (i - this.props.min) / t * this.state.upperBound;
|
|
@@ -659,7 +664,7 @@ let Ne = function(n) {
|
|
|
659
664
|
let c = i - (window["page" + this.axisKey() + "Offset"] + (this.props.invert ? l : a));
|
|
660
665
|
return this.props.invert && (c = this.state.sliderLength - c), c -= this.state.thumbSize / 2, c;
|
|
661
666
|
}, o.forceValueFromPosition = function(i, t) {
|
|
662
|
-
const r = this.calcOffsetFromPosition(i), l = this.getClosestIndex(r), a =
|
|
667
|
+
const r = this.calcOffsetFromPosition(i), l = this.getClosestIndex(r), a = H(this.calcValue(r), this.props), c = this.state.value.slice();
|
|
663
668
|
c[l] = a;
|
|
664
669
|
for (let u = 0; u < c.length - 1; u += 1) if (c[u + 1] - c[u] < this.props.minDistance) return;
|
|
665
670
|
this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value: c }, () => {
|
|
@@ -677,43 +682,43 @@ let Ne = function(n) {
|
|
|
677
682
|
l.splice(l.indexOf(i), 1), l.push(i), this.setState((a) => ({ startValue: a.value[i], startPosition: t !== void 0 ? t : a.startPosition, index: i, zIndices: l }));
|
|
678
683
|
}, o.moveUpByStep = function(i) {
|
|
679
684
|
i === void 0 && (i = this.props.step);
|
|
680
|
-
const t = this.state.value[this.state.index], r =
|
|
685
|
+
const t = this.state.value[this.state.index], r = H(this.props.invert && this.props.orientation === "horizontal" ? t - i : t + i, this.props);
|
|
681
686
|
this.move(Math.min(r, this.props.max));
|
|
682
687
|
}, o.moveDownByStep = function(i) {
|
|
683
688
|
i === void 0 && (i = this.props.step);
|
|
684
|
-
const t = this.state.value[this.state.index], r =
|
|
689
|
+
const t = this.state.value[this.state.index], r = H(this.props.invert && this.props.orientation === "horizontal" ? t + i : t - i, this.props);
|
|
685
690
|
this.move(Math.max(r, this.props.min));
|
|
686
691
|
}, o.move = function(i) {
|
|
687
692
|
const t = this.state.value.slice(), { index: r } = this.state, { length: l } = t, a = t[r];
|
|
688
693
|
if (i === a) return;
|
|
689
694
|
this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
|
|
690
|
-
const { pearling: c, max: u, min: p, minDistance:
|
|
695
|
+
const { pearling: c, max: u, min: p, minDistance: g } = this.props;
|
|
691
696
|
if (!c) {
|
|
692
697
|
if (r > 0) {
|
|
693
698
|
const y = t[r - 1];
|
|
694
|
-
i < y +
|
|
699
|
+
i < y + g && (i = y + g);
|
|
695
700
|
}
|
|
696
701
|
if (r < l - 1) {
|
|
697
702
|
const y = t[r + 1];
|
|
698
|
-
i > y -
|
|
703
|
+
i > y - g && (i = y - g);
|
|
699
704
|
}
|
|
700
705
|
}
|
|
701
|
-
t[r] = i, c && l > 1 && (i > a ? (this.pushSucceeding(t,
|
|
702
|
-
for (let
|
|
703
|
-
const _ =
|
|
704
|
-
|
|
706
|
+
t[r] = i, c && l > 1 && (i > a ? (this.pushSucceeding(t, g, r), function(y, m, C, f) {
|
|
707
|
+
for (let b = 0; b < y; b += 1) {
|
|
708
|
+
const _ = f - b * C;
|
|
709
|
+
m[y - 1 - b] > _ && (m[y - 1 - b] = _);
|
|
705
710
|
}
|
|
706
|
-
}(l, t,
|
|
707
|
-
for (let
|
|
708
|
-
const _ =
|
|
709
|
-
|
|
711
|
+
}(l, t, g, u)) : i < a && (this.pushPreceding(t, g, r), function(y, m, C, f) {
|
|
712
|
+
for (let b = 0; b < y; b += 1) {
|
|
713
|
+
const _ = f + b * C;
|
|
714
|
+
m[b] < _ && (m[b] = _);
|
|
710
715
|
}
|
|
711
|
-
}(l, t,
|
|
716
|
+
}(l, t, g, p))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
712
717
|
}, o.pushSucceeding = function(i, t, r) {
|
|
713
718
|
let l, a;
|
|
714
|
-
for (l = r, a = i[l] + t; i[l + 1] !== null && a > i[l + 1]; l += 1, a = i[l] + t) i[l + 1] =
|
|
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);
|
|
715
720
|
}, o.pushPreceding = function(i, t, r) {
|
|
716
|
-
for (let l = r, a = i[l] - t; i[l - 1] !== null && a < i[l - 1]; l -= 1, a = i[l] - t) i[l - 1] =
|
|
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);
|
|
717
722
|
}, o.axisKey = function() {
|
|
718
723
|
return this.props.orientation === "vertical" ? "Y" : "X";
|
|
719
724
|
}, o.orthogonalAxisKey = function() {
|
|
@@ -725,7 +730,7 @@ let Ne = function(n) {
|
|
|
725
730
|
}, o.sizeKey = function() {
|
|
726
731
|
return this.props.orientation === "vertical" ? "clientHeight" : "clientWidth";
|
|
727
732
|
}, o.fireChangeEvent = function(i) {
|
|
728
|
-
this.props[i] && this.props[i](
|
|
733
|
+
this.props[i] && this.props[i](se(this.state.value), this.state.index);
|
|
729
734
|
}, o.buildThumbStyle = function(i, t) {
|
|
730
735
|
const r = { position: "absolute", touchAction: "none", willChange: this.state.index >= 0 ? this.posMinKey() : void 0, zIndex: this.state.zIndices.indexOf(t) + 1 };
|
|
731
736
|
return r[this.posMinKey()] = i + "px", r;
|
|
@@ -762,14 +767,14 @@ let Ne = function(n) {
|
|
|
762
767
|
}, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, l, a, c);
|
|
763
768
|
}, d;
|
|
764
769
|
}(N.Component);
|
|
765
|
-
|
|
766
|
-
var S2 =
|
|
767
|
-
const B2 = "_container_15vgv_2", F2 = "_unitLabel_15vgv_9", M2 = "_slider_15vgv_12",
|
|
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
|
+
const B2 = "_container_15vgv_2", F2 = "_unitLabel_15vgv_9", M2 = "_slider_15vgv_12", L2 = "_thumb_15vgv_18", D2 = "_track_15vgv_27", T2 = "_labels_15vgv_33", W = {
|
|
768
773
|
container: B2,
|
|
769
774
|
unitLabel: F2,
|
|
770
775
|
slider: M2,
|
|
771
|
-
thumb:
|
|
772
|
-
track:
|
|
776
|
+
thumb: L2,
|
|
777
|
+
track: D2,
|
|
773
778
|
labels: T2
|
|
774
779
|
}, Qe = ({
|
|
775
780
|
min: n = 0,
|
|
@@ -781,35 +786,35 @@ const B2 = "_container_15vgv_2", F2 = "_unitLabel_15vgv_9", M2 = "_slider_15vgv_
|
|
|
781
786
|
fontColor: l = "#605B56",
|
|
782
787
|
defaultValue: a
|
|
783
788
|
}) => {
|
|
784
|
-
const { t: c } = k(), [u, p] = F([n, d]),
|
|
789
|
+
const { t: c } = k(), [u, p] = F([n, d]), g = (y) => {
|
|
785
790
|
p(y), i == null || i({ min: y[0], max: y[1] });
|
|
786
791
|
};
|
|
787
|
-
return
|
|
792
|
+
return D(() => {
|
|
788
793
|
a && p([a]);
|
|
789
|
-
}, [a]), /* @__PURE__ */
|
|
794
|
+
}, [a]), /* @__PURE__ */ h(
|
|
790
795
|
"div",
|
|
791
796
|
{
|
|
792
|
-
className:
|
|
797
|
+
className: W.container,
|
|
793
798
|
style: { width: `${t}px`, color: `${l}` },
|
|
794
799
|
children: [
|
|
795
|
-
/* @__PURE__ */ s("div", { className:
|
|
800
|
+
/* @__PURE__ */ s("div", { className: W.unitLabel, children: /* @__PURE__ */ s("span", { children: c(r) }) }),
|
|
796
801
|
/* @__PURE__ */ s(
|
|
797
802
|
S2,
|
|
798
803
|
{
|
|
799
|
-
className:
|
|
800
|
-
thumbClassName:
|
|
801
|
-
trackClassName:
|
|
804
|
+
className: W.slider,
|
|
805
|
+
thumbClassName: W.thumb,
|
|
806
|
+
trackClassName: W.track,
|
|
802
807
|
min: n,
|
|
803
808
|
max: d,
|
|
804
809
|
step: o,
|
|
805
810
|
value: u,
|
|
806
|
-
onAfterChange:
|
|
811
|
+
onAfterChange: g,
|
|
807
812
|
withTracks: !0,
|
|
808
813
|
pearling: !0,
|
|
809
814
|
minDistance: 0.1
|
|
810
815
|
}
|
|
811
816
|
),
|
|
812
|
-
/* @__PURE__ */
|
|
817
|
+
/* @__PURE__ */ h("div", { className: W.labels, children: [
|
|
813
818
|
/* @__PURE__ */ s("span", { children: u[0] }),
|
|
814
819
|
/* @__PURE__ */ s("span", { children: u[1] })
|
|
815
820
|
] })
|
|
@@ -829,12 +834,12 @@ Qe.propTypes = {
|
|
|
829
834
|
fontColor: e.string,
|
|
830
835
|
value: e.arrayOf(e.number)
|
|
831
836
|
};
|
|
832
|
-
const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_1vm1r_2", A2 = "_checkboxContainer_1vm1r_28", O2 = "_absoluteSliderContainer_1vm1r_37",
|
|
837
|
+
const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_1vm1r_2", A2 = "_checkboxContainer_1vm1r_28", O2 = "_absoluteSliderContainer_1vm1r_37", ae = {
|
|
833
838
|
tematicalFiltersInputContainer: V2,
|
|
834
839
|
inputTypeContainer: $2,
|
|
835
840
|
checkboxContainer: A2,
|
|
836
841
|
absoluteSliderContainer: O2
|
|
837
|
-
},
|
|
842
|
+
}, Te = ({
|
|
838
843
|
indicator: n,
|
|
839
844
|
//onChangeBothType
|
|
840
845
|
activeColor: d
|
|
@@ -847,108 +852,108 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
847
852
|
maxValue: c,
|
|
848
853
|
unit: u,
|
|
849
854
|
step: p
|
|
850
|
-
} = n || {},
|
|
855
|
+
} = n || {}, g = ce(
|
|
851
856
|
() => t == "cat" || o == "cat",
|
|
852
857
|
[o, t]
|
|
853
|
-
), y =
|
|
858
|
+
), y = ce(
|
|
854
859
|
() => t == "abs" || o == "abs",
|
|
855
860
|
[o, t]
|
|
856
861
|
), {
|
|
857
|
-
tematicalFiltersSelected:
|
|
858
|
-
selectedIndicator:
|
|
859
|
-
fontColor:
|
|
860
|
-
inputsColor:
|
|
861
|
-
} =
|
|
862
|
-
if (
|
|
863
|
-
const { min: v, max: S, valueClicked: B, allValues:
|
|
864
|
-
let
|
|
865
|
-
|
|
866
|
-
let
|
|
867
|
-
(T) => T.code ===
|
|
862
|
+
tematicalFiltersSelected: m,
|
|
863
|
+
selectedIndicator: C,
|
|
864
|
+
fontColor: f,
|
|
865
|
+
inputsColor: b
|
|
866
|
+
} = L((x) => x), _ = (x) => {
|
|
867
|
+
if (x) {
|
|
868
|
+
const { min: v, max: S, valueClicked: B, allValues: P } = x || {}, { code: ee, type: ue } = n || {}, pe = y ? "abs" : g ? "cat" : "both";
|
|
869
|
+
let E = ee[0];
|
|
870
|
+
ue == "both" && (E = pe == "cat" ? ee[1] : ee[0]), pe == "cat" ? L.setState((q) => {
|
|
871
|
+
let j = q.tematicalFiltersSelected.find(
|
|
872
|
+
(T) => T.code === E
|
|
868
873
|
);
|
|
869
|
-
if (
|
|
870
|
-
let T = [
|
|
871
|
-
return
|
|
874
|
+
if (j) {
|
|
875
|
+
let T = [j.values];
|
|
876
|
+
return j.values.includes(B) ? T = j.values.filter(
|
|
872
877
|
(A) => A !== B
|
|
873
|
-
) : T = [...
|
|
874
|
-
tematicalFiltersSelected:
|
|
875
|
-
(A) => A.code !==
|
|
878
|
+
) : T = [...j.values, B], T.length == P.length ? {
|
|
879
|
+
tematicalFiltersSelected: q.tematicalFiltersSelected.filter(
|
|
880
|
+
(A) => A.code !== E
|
|
876
881
|
)
|
|
877
882
|
} : {
|
|
878
|
-
tematicalFiltersSelected:
|
|
879
|
-
(A) => A.code ===
|
|
883
|
+
tematicalFiltersSelected: q.tematicalFiltersSelected.map(
|
|
884
|
+
(A) => A.code === E ? { ...A, values: T } : A
|
|
880
885
|
)
|
|
881
886
|
};
|
|
882
887
|
} else {
|
|
883
|
-
let T =
|
|
888
|
+
let T = P.map((A, ht) => ht);
|
|
884
889
|
return {
|
|
885
890
|
tematicalFiltersSelected: [
|
|
886
|
-
...
|
|
891
|
+
...m,
|
|
887
892
|
{
|
|
888
893
|
type: "cat",
|
|
889
|
-
code:
|
|
894
|
+
code: E,
|
|
890
895
|
values: T.filter((A) => A !== B),
|
|
891
896
|
name: n.name
|
|
892
897
|
}
|
|
893
898
|
]
|
|
894
899
|
};
|
|
895
900
|
}
|
|
896
|
-
}) :
|
|
897
|
-
let
|
|
898
|
-
(T) => T.code ===
|
|
901
|
+
}) : pe == "abs" && L.setState((q) => {
|
|
902
|
+
let j = q.tematicalFiltersSelected.find(
|
|
903
|
+
(T) => T.code === E
|
|
899
904
|
);
|
|
900
905
|
if (v == n.minValue && S == n.maxValue)
|
|
901
906
|
return {
|
|
902
|
-
tematicalFiltersSelected:
|
|
903
|
-
(T) => T.code !==
|
|
907
|
+
tematicalFiltersSelected: q.tematicalFiltersSelected.filter(
|
|
908
|
+
(T) => T.code !== E
|
|
904
909
|
)
|
|
905
910
|
};
|
|
906
|
-
if (
|
|
907
|
-
let T = { ...
|
|
911
|
+
if (j) {
|
|
912
|
+
let T = { ...j };
|
|
908
913
|
return T.min = v, T.max = S, {
|
|
909
|
-
tematicalFiltersSelected:
|
|
910
|
-
(A) => A.code ===
|
|
914
|
+
tematicalFiltersSelected: q.tematicalFiltersSelected.map(
|
|
915
|
+
(A) => A.code === E ? T : A
|
|
911
916
|
)
|
|
912
917
|
};
|
|
913
918
|
} else
|
|
914
919
|
return {
|
|
915
920
|
tematicalFiltersSelected: [
|
|
916
|
-
...
|
|
917
|
-
{ type: "abs", code:
|
|
921
|
+
...m,
|
|
922
|
+
{ type: "abs", code: E, min: v, max: S }
|
|
918
923
|
]
|
|
919
924
|
};
|
|
920
925
|
});
|
|
921
926
|
}
|
|
922
|
-
},
|
|
923
|
-
const
|
|
924
|
-
if ((
|
|
925
|
-
for (const v of
|
|
926
|
-
v.type === "cat" ?
|
|
927
|
-
return
|
|
928
|
-
}, [
|
|
929
|
-
return /* @__PURE__ */ s("div", { className:
|
|
930
|
-
|
|
927
|
+
}, w = ce(() => {
|
|
928
|
+
const x = {};
|
|
929
|
+
if ((m == null ? void 0 : m.length) > 0)
|
|
930
|
+
for (const v of m)
|
|
931
|
+
v.type === "cat" ? x[v.code] = new Set(v.values) : x[v.code] = [v.min, v.max];
|
|
932
|
+
return x;
|
|
933
|
+
}, [m]);
|
|
934
|
+
return /* @__PURE__ */ s("div", { className: ae.tematicalFiltersInputContainer, children: /* @__PURE__ */ h(
|
|
935
|
+
Y,
|
|
931
936
|
{
|
|
932
937
|
titleFontStyles: { fontSize: 16, fontWeight: 400 },
|
|
933
938
|
title: r,
|
|
934
|
-
isOpen:
|
|
935
|
-
onClick: () =>
|
|
936
|
-
selectedIndicator:
|
|
939
|
+
isOpen: C == `id${r}`,
|
|
940
|
+
onClick: () => L.setState(() => ({
|
|
941
|
+
selectedIndicator: C == `id${r}` ? "" : `id${r}`
|
|
937
942
|
})),
|
|
938
943
|
showBottomBar: !1,
|
|
939
944
|
height: 38,
|
|
940
945
|
titleMarginChildren: 14,
|
|
941
946
|
className: "tematicalFiltersInputContainer",
|
|
942
|
-
color:
|
|
947
|
+
color: f,
|
|
943
948
|
activeColor: d,
|
|
944
949
|
children: [
|
|
945
|
-
t == "both" && /* @__PURE__ */
|
|
950
|
+
t == "both" && /* @__PURE__ */ h(
|
|
946
951
|
"div",
|
|
947
952
|
{
|
|
948
|
-
className:
|
|
949
|
-
style: { color:
|
|
953
|
+
className: ae.inputTypeContainer,
|
|
954
|
+
style: { color: f },
|
|
950
955
|
children: [
|
|
951
|
-
/* @__PURE__ */
|
|
956
|
+
/* @__PURE__ */ h("label", { children: [
|
|
952
957
|
/* @__PURE__ */ s(
|
|
953
958
|
"input",
|
|
954
959
|
{
|
|
@@ -960,14 +965,14 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
960
965
|
},
|
|
961
966
|
style: {
|
|
962
967
|
marginRight: 4,
|
|
963
|
-
backgroundColor: o == "abs" ?
|
|
964
|
-
border: `1.5px solid ${o == "abs" ?
|
|
968
|
+
backgroundColor: o == "abs" ? b : "white",
|
|
969
|
+
border: `1.5px solid ${o == "abs" ? b : f}`
|
|
965
970
|
}
|
|
966
971
|
}
|
|
967
972
|
),
|
|
968
973
|
"Absoluto"
|
|
969
974
|
] }),
|
|
970
|
-
/* @__PURE__ */
|
|
975
|
+
/* @__PURE__ */ h("label", { children: [
|
|
971
976
|
/* @__PURE__ */ s(
|
|
972
977
|
"input",
|
|
973
978
|
{
|
|
@@ -979,8 +984,8 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
979
984
|
},
|
|
980
985
|
style: {
|
|
981
986
|
marginRight: 4,
|
|
982
|
-
backgroundColor: o == "cat" ?
|
|
983
|
-
border: `1.5px solid ${o == "cat" ?
|
|
987
|
+
backgroundColor: o == "cat" ? b : "white",
|
|
988
|
+
border: `1.5px solid ${o == "cat" ? b : f}`
|
|
984
989
|
}
|
|
985
990
|
}
|
|
986
991
|
),
|
|
@@ -989,26 +994,26 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
989
994
|
]
|
|
990
995
|
}
|
|
991
996
|
),
|
|
992
|
-
|
|
997
|
+
g && /* @__PURE__ */ s("div", { className: ae.checkboxContainer, children: l.map((x, v) => {
|
|
993
998
|
var S;
|
|
994
999
|
return /* @__PURE__ */ s(
|
|
995
1000
|
Xe,
|
|
996
1001
|
{
|
|
997
1002
|
onClick: () => _({ valueClicked: v, allValues: l }),
|
|
998
|
-
indicator:
|
|
999
|
-
value: ((S =
|
|
1003
|
+
indicator: x,
|
|
1004
|
+
value: ((S = w[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : S.has(v)) || !w[n.code[t == "both" ? 1 : 0]]
|
|
1000
1005
|
},
|
|
1001
1006
|
`checkbox-${v}`
|
|
1002
1007
|
);
|
|
1003
1008
|
}) }),
|
|
1004
|
-
y && /* @__PURE__ */ s("div", { className:
|
|
1009
|
+
y && /* @__PURE__ */ s("div", { className: ae.absoluteSliderContainer, children: /* @__PURE__ */ s(
|
|
1005
1010
|
Qe,
|
|
1006
1011
|
{
|
|
1007
1012
|
onChange: _,
|
|
1008
1013
|
min: a,
|
|
1009
1014
|
max: c,
|
|
1010
1015
|
unit: u,
|
|
1011
|
-
value:
|
|
1016
|
+
value: w[n.code[0]],
|
|
1012
1017
|
step: p
|
|
1013
1018
|
}
|
|
1014
1019
|
) })
|
|
@@ -1016,7 +1021,7 @@ const V2 = "_tematicalFiltersInputContainer_1vm1r_2", $2 = "_inputTypeContainer_
|
|
|
1016
1021
|
}
|
|
1017
1022
|
) });
|
|
1018
1023
|
};
|
|
1019
|
-
|
|
1024
|
+
Te.propTypes = {
|
|
1020
1025
|
indicator: e.shape({
|
|
1021
1026
|
name: e.string,
|
|
1022
1027
|
type: e.string,
|
|
@@ -1037,14 +1042,14 @@ const et = ({
|
|
|
1037
1042
|
activeColor: o
|
|
1038
1043
|
//onChangeBothType,
|
|
1039
1044
|
}) => {
|
|
1040
|
-
const { activeSubcategory: i } =
|
|
1045
|
+
const { activeSubcategory: i } = L((l) => l), { name: t, indicators: r } = n || {};
|
|
1041
1046
|
return /* @__PURE__ */ s(
|
|
1042
|
-
|
|
1047
|
+
Y,
|
|
1043
1048
|
{
|
|
1044
1049
|
title: t,
|
|
1045
1050
|
isOpen: i == `id${t}`,
|
|
1046
1051
|
onClick: () => {
|
|
1047
|
-
|
|
1052
|
+
L.setState((l) => ({
|
|
1048
1053
|
activeSubcategory: l.activeSubcategory === `id${t}` ? "" : `id${t}`
|
|
1049
1054
|
}));
|
|
1050
1055
|
},
|
|
@@ -1055,7 +1060,7 @@ const et = ({
|
|
|
1055
1060
|
color: d,
|
|
1056
1061
|
activeColor: o,
|
|
1057
1062
|
children: r == null ? void 0 : r.map((l, a) => /* @__PURE__ */ s(
|
|
1058
|
-
|
|
1063
|
+
Te,
|
|
1059
1064
|
{
|
|
1060
1065
|
indicator: l,
|
|
1061
1066
|
fontColor: d,
|
|
@@ -1084,12 +1089,12 @@ const tt = ({
|
|
|
1084
1089
|
// onChangeBothType,
|
|
1085
1090
|
activeColor: d
|
|
1086
1091
|
}) => {
|
|
1087
|
-
const { name: o, subcategories: i, indicators: t } = n || {}, { activeCategory: r, fontColor: l } =
|
|
1092
|
+
const { name: o, subcategories: i, indicators: t } = n || {}, { activeCategory: r, fontColor: l } = L((a) => a);
|
|
1088
1093
|
return n && /* @__PURE__ */ s(
|
|
1089
|
-
|
|
1094
|
+
Y,
|
|
1090
1095
|
{
|
|
1091
1096
|
onClick: () => {
|
|
1092
|
-
|
|
1097
|
+
L.setState((a) => ({
|
|
1093
1098
|
activeCategory: r === `id${o}` ? "" : `id${o}`
|
|
1094
1099
|
}));
|
|
1095
1100
|
},
|
|
@@ -1108,7 +1113,7 @@ const tt = ({
|
|
|
1108
1113
|
},
|
|
1109
1114
|
`subcategory-${c}`
|
|
1110
1115
|
)) : t && t.map((a, c) => /* @__PURE__ */ s(
|
|
1111
|
-
|
|
1116
|
+
Te,
|
|
1112
1117
|
{
|
|
1113
1118
|
indicator: a,
|
|
1114
1119
|
fontColor: l,
|
|
@@ -1137,13 +1142,13 @@ const nt = ({
|
|
|
1137
1142
|
inputsColor: t = "#605B56",
|
|
1138
1143
|
activeColor: r
|
|
1139
1144
|
}) => {
|
|
1140
|
-
const { tematicalFiltersSelected: l } =
|
|
1141
|
-
return
|
|
1142
|
-
i &&
|
|
1143
|
-
}, [i]),
|
|
1144
|
-
t &&
|
|
1145
|
+
const { tematicalFiltersSelected: l } = L((c) => c), { t: a } = k();
|
|
1146
|
+
return D(() => {
|
|
1147
|
+
i && L.setState(() => ({ fontColor: i }));
|
|
1148
|
+
}, [i]), D(() => {
|
|
1149
|
+
t && L.setState(() => ({ inputsColor: t }));
|
|
1145
1150
|
}, [t]), /* @__PURE__ */ s(
|
|
1146
|
-
|
|
1151
|
+
Y,
|
|
1147
1152
|
{
|
|
1148
1153
|
isOpen: d,
|
|
1149
1154
|
title: o ? a(o) : "Tematical filters",
|
|
@@ -1170,7 +1175,7 @@ nt.propTypes = {
|
|
|
1170
1175
|
inputsColor: e.string,
|
|
1171
1176
|
activeColor: e.string
|
|
1172
1177
|
};
|
|
1173
|
-
const I2 = "_FiltersAmbitContainer_1g9xx_2", R2 = "_FiltersAmbitHeader_1g9xx_7", E2 = "_FiltersAmbitTitle_1g9xx_15", P2 = "_FiltersAmbitDescription_1g9xx_22", j2 = "_FiltersAmbitDescriptionTitle_1g9xx_33", z2 = "_warning_1g9xx_37",
|
|
1178
|
+
const I2 = "_FiltersAmbitContainer_1g9xx_2", R2 = "_FiltersAmbitHeader_1g9xx_7", E2 = "_FiltersAmbitTitle_1g9xx_15", P2 = "_FiltersAmbitDescription_1g9xx_22", j2 = "_FiltersAmbitDescriptionTitle_1g9xx_33", z2 = "_warning_1g9xx_37", J = {
|
|
1174
1179
|
FiltersAmbitContainer: I2,
|
|
1175
1180
|
FiltersAmbitHeader: R2,
|
|
1176
1181
|
FiltersAmbitTitle: E2,
|
|
@@ -1189,54 +1194,54 @@ const I2 = "_FiltersAmbitContainer_1g9xx_2", R2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1189
1194
|
saveAmbit: c,
|
|
1190
1195
|
namePlaceholder: u,
|
|
1191
1196
|
descPlaceholder: p,
|
|
1192
|
-
filtersTypes:
|
|
1197
|
+
filtersTypes: g = ["geographical", "tematical"],
|
|
1193
1198
|
nameRequiredText: y
|
|
1194
1199
|
}) => {
|
|
1195
|
-
const { t:
|
|
1196
|
-
|
|
1197
|
-
o && o.length > 0 &&
|
|
1200
|
+
const { t: m } = k(), { tematicalFiltersSelected: C } = L((B) => B), [f, b] = F(n || null), [_, w] = F(d || null), [x, v] = F(!1);
|
|
1201
|
+
D(() => {
|
|
1202
|
+
o && o.length > 0 && L.setState((B) => ({
|
|
1198
1203
|
tematicalFiltersSelected: o
|
|
1199
1204
|
}));
|
|
1200
|
-
}, [o]),
|
|
1201
|
-
console.log("filtersSelected changed: ",
|
|
1202
|
-
}, [
|
|
1205
|
+
}, [o]), D(() => {
|
|
1206
|
+
console.log("filtersSelected changed: ", C), a(C);
|
|
1207
|
+
}, [C]);
|
|
1203
1208
|
const S = () => {
|
|
1204
|
-
|
|
1209
|
+
f ? c({ name: f, description: _ }) : v(!0);
|
|
1205
1210
|
};
|
|
1206
|
-
return /* @__PURE__ */
|
|
1207
|
-
/* @__PURE__ */
|
|
1208
|
-
/* @__PURE__ */ s("div", { className:
|
|
1211
|
+
return /* @__PURE__ */ h("div", { className: J.FiltersAmbitContainer, children: [
|
|
1212
|
+
/* @__PURE__ */ h("div", { className: J.FiltersAmbitHeader, children: [
|
|
1213
|
+
/* @__PURE__ */ s("div", { className: J.FiltersAmbitTitle, children: /* @__PURE__ */ s(
|
|
1209
1214
|
"input",
|
|
1210
1215
|
{
|
|
1211
1216
|
type: "text",
|
|
1212
1217
|
onChange: (B) => {
|
|
1213
|
-
v(!1),
|
|
1218
|
+
v(!1), b(B.target.value);
|
|
1214
1219
|
},
|
|
1215
|
-
value:
|
|
1216
|
-
placeholder:
|
|
1220
|
+
value: f,
|
|
1221
|
+
placeholder: m(u)
|
|
1217
1222
|
}
|
|
1218
1223
|
) }),
|
|
1219
|
-
/* @__PURE__ */ s("div", { className:
|
|
1224
|
+
/* @__PURE__ */ s("div", { className: J.FiltersAmbitDescription, children: /* @__PURE__ */ s("div", { className: J.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ s(
|
|
1220
1225
|
"textarea",
|
|
1221
1226
|
{
|
|
1222
1227
|
value: _,
|
|
1223
|
-
onChange: (B) =>
|
|
1224
|
-
placeholder:
|
|
1228
|
+
onChange: (B) => w(B.target.value),
|
|
1229
|
+
placeholder: m(p)
|
|
1225
1230
|
}
|
|
1226
1231
|
) }) })
|
|
1227
1232
|
] }),
|
|
1228
1233
|
/* @__PURE__ */ s(
|
|
1229
1234
|
We,
|
|
1230
1235
|
{
|
|
1231
|
-
title:
|
|
1236
|
+
title: m("applied_filters"),
|
|
1232
1237
|
isOpen: !0,
|
|
1233
1238
|
textColor: r || "#fff",
|
|
1234
1239
|
backgroundColor: l || "#605B5680",
|
|
1235
1240
|
activeColor: t
|
|
1236
1241
|
}
|
|
1237
1242
|
),
|
|
1238
|
-
|
|
1239
|
-
|
|
1243
|
+
g.includes("geographical") && /* @__PURE__ */ s(Je, { activeColor: t }),
|
|
1244
|
+
g.includes("tematical") && /* @__PURE__ */ s(
|
|
1240
1245
|
nt,
|
|
1241
1246
|
{
|
|
1242
1247
|
indicators: i,
|
|
@@ -1246,8 +1251,8 @@ const I2 = "_FiltersAmbitContainer_1g9xx_2", R2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1246
1251
|
activeColor: t
|
|
1247
1252
|
}
|
|
1248
1253
|
),
|
|
1249
|
-
|
|
1250
|
-
/* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(
|
|
1254
|
+
x && /* @__PURE__ */ s("div", { className: J.warning, children: m(y) }),
|
|
1255
|
+
/* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(de, { onClick: () => S(), children: m("save_ambit") }) })
|
|
1251
1256
|
] });
|
|
1252
1257
|
};
|
|
1253
1258
|
q2.propTypes = {
|
|
@@ -1279,13 +1284,13 @@ const Z2 = "_barChartContainer_d2f1z_2", H2 = {
|
|
|
1279
1284
|
numberOfDivisions: c = 7,
|
|
1280
1285
|
maxValue: u = null
|
|
1281
1286
|
}) => {
|
|
1282
|
-
const { t: p } = k(), { xScale:
|
|
1287
|
+
const { t: p } = k(), { xScale: g, ticks: y, height: m } = ce(() => {
|
|
1283
1288
|
if (n && n.length > 0) {
|
|
1284
|
-
const
|
|
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]), _ = Array.from({ length: c + 1 }, (w, x) => u ? u / c * x : f / c * x);
|
|
1285
1290
|
return {
|
|
1286
|
-
xScale:
|
|
1291
|
+
xScale: b,
|
|
1287
1292
|
ticks: _,
|
|
1288
|
-
height:
|
|
1293
|
+
height: C,
|
|
1289
1294
|
width: d,
|
|
1290
1295
|
verticalPaddign: r,
|
|
1291
1296
|
horizontalPaddign: l
|
|
@@ -1302,33 +1307,33 @@ const Z2 = "_barChartContainer_d2f1z_2", H2 = {
|
|
|
1302
1307
|
r,
|
|
1303
1308
|
u
|
|
1304
1309
|
]);
|
|
1305
|
-
return /* @__PURE__ */ s("div", { className: H2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + l * 2, height:
|
|
1306
|
-
/* @__PURE__ */ s("g", { transform: `translate(${a + l}, 0)`, children: y.map((
|
|
1307
|
-
const
|
|
1308
|
-
return /* @__PURE__ */
|
|
1310
|
+
return /* @__PURE__ */ s("div", { className: H2.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + l * 2, height: m, children: /* @__PURE__ */ h("g", { transform: `translate(0,${i})`, children: [
|
|
1311
|
+
/* @__PURE__ */ s("g", { transform: `translate(${a + l}, 0)`, children: y.map((C, f) => {
|
|
1312
|
+
const b = g(C);
|
|
1313
|
+
return /* @__PURE__ */ h("g", { transform: `translate(${b}, 0)`, children: [
|
|
1309
1314
|
/* @__PURE__ */ s(
|
|
1310
1315
|
"line",
|
|
1311
1316
|
{
|
|
1312
1317
|
y1: 0,
|
|
1313
|
-
y2:
|
|
1318
|
+
y2: m - i * 2,
|
|
1314
1319
|
stroke: "#ccc"
|
|
1315
1320
|
}
|
|
1316
1321
|
),
|
|
1317
1322
|
/* @__PURE__ */ s(
|
|
1318
1323
|
"text",
|
|
1319
1324
|
{
|
|
1320
|
-
y:
|
|
1325
|
+
y: m - i,
|
|
1321
1326
|
textAnchor: "middle",
|
|
1322
1327
|
fontSize: 10,
|
|
1323
1328
|
fill: t,
|
|
1324
|
-
children: parseInt(
|
|
1329
|
+
children: parseInt(C)
|
|
1325
1330
|
}
|
|
1326
1331
|
)
|
|
1327
|
-
] },
|
|
1332
|
+
] }, f);
|
|
1328
1333
|
}) }),
|
|
1329
|
-
n && n.length > 0 && (n == null ? void 0 : n.map((
|
|
1330
|
-
const
|
|
1331
|
-
return /* @__PURE__ */
|
|
1334
|
+
n && n.length > 0 && (n == null ? void 0 : n.map((C, f) => {
|
|
1335
|
+
const b = g(C.value), _ = f * (o + i);
|
|
1336
|
+
return /* @__PURE__ */ h(
|
|
1332
1337
|
"g",
|
|
1333
1338
|
{
|
|
1334
1339
|
transform: `translate(${a + l}, ${_})`,
|
|
@@ -1340,21 +1345,21 @@ const Z2 = "_barChartContainer_d2f1z_2", H2 = {
|
|
|
1340
1345
|
y: o / 2 + 5,
|
|
1341
1346
|
textAnchor: "end",
|
|
1342
1347
|
fill: t,
|
|
1343
|
-
children: p(
|
|
1348
|
+
children: p(C.title)
|
|
1344
1349
|
}
|
|
1345
1350
|
),
|
|
1346
1351
|
/* @__PURE__ */ s(
|
|
1347
1352
|
"rect",
|
|
1348
1353
|
{
|
|
1349
|
-
width:
|
|
1354
|
+
width: b,
|
|
1350
1355
|
height: o,
|
|
1351
|
-
fill:
|
|
1356
|
+
fill: C.color,
|
|
1352
1357
|
rx: 0
|
|
1353
1358
|
}
|
|
1354
1359
|
)
|
|
1355
1360
|
]
|
|
1356
1361
|
},
|
|
1357
|
-
|
|
1362
|
+
f
|
|
1358
1363
|
);
|
|
1359
1364
|
}))
|
|
1360
1365
|
] }) }) });
|
|
@@ -1375,7 +1380,7 @@ it.propTypes = {
|
|
|
1375
1380
|
numberOfDivisions: e.number,
|
|
1376
1381
|
fontColor: e.string
|
|
1377
1382
|
};
|
|
1378
|
-
const K2 = "_graphicContainer_c9zrg_2", U2 = "_titleContainer_c9zrg_14",
|
|
1383
|
+
const K2 = "_graphicContainer_c9zrg_2", U2 = "_titleContainer_c9zrg_14", Re = {
|
|
1379
1384
|
graphicContainer: K2,
|
|
1380
1385
|
titleContainer: U2
|
|
1381
1386
|
}, G2 = ({
|
|
@@ -1390,16 +1395,16 @@ const K2 = "_graphicContainer_c9zrg_2", U2 = "_titleContainer_c9zrg_14", Ie = {
|
|
|
1390
1395
|
leftPadding: c = 200
|
|
1391
1396
|
}) => {
|
|
1392
1397
|
const { t: u } = k();
|
|
1393
|
-
return /* @__PURE__ */
|
|
1398
|
+
return /* @__PURE__ */ h(
|
|
1394
1399
|
"div",
|
|
1395
1400
|
{
|
|
1396
|
-
className:
|
|
1401
|
+
className: Re.graphicContainer,
|
|
1397
1402
|
style: {
|
|
1398
1403
|
...o || {},
|
|
1399
1404
|
border: `1.5px solid ${i}`
|
|
1400
1405
|
},
|
|
1401
1406
|
children: [
|
|
1402
|
-
/* @__PURE__ */ s("div", { className:
|
|
1407
|
+
/* @__PURE__ */ s("div", { className: Re.titleContainer, children: /* @__PURE__ */ s("h2", { children: u(t) }) }),
|
|
1403
1408
|
/* @__PURE__ */ s(
|
|
1404
1409
|
it,
|
|
1405
1410
|
{
|
|
@@ -1432,7 +1437,7 @@ G2.propTypes = {
|
|
|
1432
1437
|
numberOfDivisions: e.number,
|
|
1433
1438
|
leftPadding: e.number
|
|
1434
1439
|
};
|
|
1435
|
-
const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu33_11",
|
|
1440
|
+
const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu33_11", fe = {
|
|
1436
1441
|
indicatorsCategory: Y2,
|
|
1437
1442
|
title: W2,
|
|
1438
1443
|
list: J2
|
|
@@ -1447,7 +1452,7 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1447
1452
|
optionContainer: s0,
|
|
1448
1453
|
customRadious: r0,
|
|
1449
1454
|
optionText: a0
|
|
1450
|
-
},
|
|
1455
|
+
}, Ve = ({
|
|
1451
1456
|
indicator: n,
|
|
1452
1457
|
values: d = [],
|
|
1453
1458
|
activeColor: o,
|
|
@@ -1458,16 +1463,16 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1458
1463
|
multiple: a = !1,
|
|
1459
1464
|
onChangeType: c
|
|
1460
1465
|
}) => {
|
|
1461
|
-
const { t: u } = k(), { name: p, type:
|
|
1462
|
-
|
|
1463
|
-
t &&
|
|
1466
|
+
const { t: u } = k(), { name: p, type: g } = n, [y, m] = F(!1);
|
|
1467
|
+
D(() => {
|
|
1468
|
+
t && m(
|
|
1464
1469
|
a ? t.some(
|
|
1465
|
-
(
|
|
1470
|
+
(b) => b.name == String(p)
|
|
1466
1471
|
) : t.name == p
|
|
1467
1472
|
);
|
|
1468
1473
|
}, [t]);
|
|
1469
|
-
const
|
|
1470
|
-
/* @__PURE__ */
|
|
1474
|
+
const C = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */ h("div", { className: M.switchTypeOptions, children: [
|
|
1475
|
+
/* @__PURE__ */ h(
|
|
1471
1476
|
"div",
|
|
1472
1477
|
{
|
|
1473
1478
|
className: M.optionContainer,
|
|
@@ -1496,7 +1501,7 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1496
1501
|
]
|
|
1497
1502
|
}
|
|
1498
1503
|
),
|
|
1499
|
-
/* @__PURE__ */
|
|
1504
|
+
/* @__PURE__ */ h(
|
|
1500
1505
|
"div",
|
|
1501
1506
|
{
|
|
1502
1507
|
className: M.optionContainer,
|
|
@@ -1525,7 +1530,7 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1525
1530
|
]
|
|
1526
1531
|
}
|
|
1527
1532
|
)
|
|
1528
|
-
] }) }) }),
|
|
1533
|
+
] }) }) }), f = () => /* @__PURE__ */ s("div", { className: M.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: M.switchType, children: /* @__PURE__ */ s("div", { className: M.switchTypeOptions, children: d.map((b, _) => /* @__PURE__ */ h(
|
|
1529
1534
|
"div",
|
|
1530
1535
|
{
|
|
1531
1536
|
className: M.optionContainer,
|
|
@@ -1536,13 +1541,13 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1536
1541
|
className: M.customRadious
|
|
1537
1542
|
}
|
|
1538
1543
|
),
|
|
1539
|
-
/* @__PURE__ */ s("h4", { children: u(
|
|
1544
|
+
/* @__PURE__ */ s("h4", { children: u(b.unit) })
|
|
1540
1545
|
]
|
|
1541
1546
|
},
|
|
1542
1547
|
_
|
|
1543
1548
|
)) }) }) });
|
|
1544
|
-
return /* @__PURE__ */
|
|
1545
|
-
/* @__PURE__ */
|
|
1549
|
+
return /* @__PURE__ */ h("div", { className: M.indicatorContainer, children: [
|
|
1550
|
+
/* @__PURE__ */ h(
|
|
1546
1551
|
"div",
|
|
1547
1552
|
{
|
|
1548
1553
|
className: M.indicatorNameContainer,
|
|
@@ -1562,17 +1567,17 @@ const Y2 = "_indicatorsCategory_1cu33_2", W2 = "_title_1cu33_5", J2 = "_list_1cu
|
|
|
1562
1567
|
{
|
|
1563
1568
|
className: M.indicatorName,
|
|
1564
1569
|
style: { color: y ? o : i },
|
|
1565
|
-
children: /* @__PURE__ */ s(
|
|
1570
|
+
children: /* @__PURE__ */ s(Le, { i18nKey: p, components: { sup: /* @__PURE__ */ s("sup", {}) } })
|
|
1566
1571
|
}
|
|
1567
1572
|
)
|
|
1568
1573
|
]
|
|
1569
1574
|
}
|
|
1570
1575
|
),
|
|
1571
|
-
(t == null ? void 0 : t.name) === p &&
|
|
1572
|
-
(t == null ? void 0 : t.name) === p &&
|
|
1576
|
+
(t == null ? void 0 : t.name) === p && g === "both" && /* @__PURE__ */ s("div", { children: C() }),
|
|
1577
|
+
(t == null ? void 0 : t.name) === p && g === "twoUnits" && /* @__PURE__ */ s("div", { children: f() })
|
|
1573
1578
|
] });
|
|
1574
1579
|
};
|
|
1575
|
-
|
|
1580
|
+
Ve.propTypes = {
|
|
1576
1581
|
indicator: e.shape({
|
|
1577
1582
|
name: e.string,
|
|
1578
1583
|
type: e.string
|
|
@@ -1584,7 +1589,7 @@ Te.propTypes = {
|
|
|
1584
1589
|
multiple: e.bool,
|
|
1585
1590
|
onClickIndicator: e.func
|
|
1586
1591
|
};
|
|
1587
|
-
const l0 = "_indicatorsSubCategory_1dzsi_2", c0 = "_list_1dzsi_8",
|
|
1592
|
+
const l0 = "_indicatorsSubCategory_1dzsi_2", c0 = "_list_1dzsi_8", Ee = {
|
|
1588
1593
|
indicatorsSubCategory: l0,
|
|
1589
1594
|
list: c0
|
|
1590
1595
|
}, ot = ({
|
|
@@ -1599,42 +1604,42 @@ const l0 = "_indicatorsSubCategory_1dzsi_2", c0 = "_list_1dzsi_8", Re = {
|
|
|
1599
1604
|
onClickIndicator: c,
|
|
1600
1605
|
multiple: u,
|
|
1601
1606
|
activeIndicatorType: p,
|
|
1602
|
-
onChangeType:
|
|
1607
|
+
onChangeType: g
|
|
1603
1608
|
}) => {
|
|
1604
|
-
const { t: y } = k(), [
|
|
1605
|
-
return
|
|
1606
|
-
|
|
1607
|
-
}, [t, l]), /* @__PURE__ */
|
|
1609
|
+
const { t: y } = k(), [m, C] = F(!1);
|
|
1610
|
+
return D(() => {
|
|
1611
|
+
C(t == l);
|
|
1612
|
+
}, [t, l]), /* @__PURE__ */ h(
|
|
1608
1613
|
De.div,
|
|
1609
1614
|
{
|
|
1610
|
-
className:
|
|
1615
|
+
className: Ee.indicatorsSubCategory,
|
|
1611
1616
|
initial: { height: "43px" },
|
|
1612
|
-
animate: { height:
|
|
1617
|
+
animate: { height: m ? "auto" : "43px" },
|
|
1613
1618
|
transition: { duration: 0.4 },
|
|
1614
1619
|
children: [
|
|
1615
|
-
/* @__PURE__ */ s("button", { onClick: () => r(l), children: /* @__PURE__ */
|
|
1616
|
-
/* @__PURE__ */ s("span", { style: { color:
|
|
1620
|
+
/* @__PURE__ */ s("button", { onClick: () => r(l), children: /* @__PURE__ */ h("h3", { style: { color: m ? i : o }, children: [
|
|
1621
|
+
/* @__PURE__ */ s("span", { style: { color: m ? i : o }, children: m ? "-" : "+" }),
|
|
1617
1622
|
/* @__PURE__ */ s(
|
|
1618
1623
|
"span",
|
|
1619
1624
|
{
|
|
1620
|
-
style: { marginLeft: 12, color:
|
|
1625
|
+
style: { marginLeft: 12, color: m ? i : o },
|
|
1621
1626
|
children: y(n)
|
|
1622
1627
|
}
|
|
1623
1628
|
)
|
|
1624
1629
|
] }) }),
|
|
1625
|
-
d && /* @__PURE__ */ s("div", { className:
|
|
1626
|
-
|
|
1630
|
+
d && /* @__PURE__ */ s("div", { className: Ee.list, children: d == null ? void 0 : d.map((f, b) => /* @__PURE__ */ s(
|
|
1631
|
+
Ve,
|
|
1627
1632
|
{
|
|
1628
|
-
indicator:
|
|
1633
|
+
indicator: f,
|
|
1629
1634
|
defaultColor: o,
|
|
1630
1635
|
activeColor: i,
|
|
1631
1636
|
activeIndicator: a,
|
|
1632
1637
|
onClickIndicator: c,
|
|
1633
1638
|
multiple: u,
|
|
1634
1639
|
activeIndicatorType: p,
|
|
1635
|
-
onChangeType:
|
|
1640
|
+
onChangeType: g
|
|
1636
1641
|
},
|
|
1637
|
-
"indicator" +
|
|
1642
|
+
"indicator" + b
|
|
1638
1643
|
)) })
|
|
1639
1644
|
]
|
|
1640
1645
|
}
|
|
@@ -1664,41 +1669,41 @@ const st = ({
|
|
|
1664
1669
|
activeIndicator: c,
|
|
1665
1670
|
onClickIndicator: u,
|
|
1666
1671
|
multiple: p,
|
|
1667
|
-
activeIndicatorType:
|
|
1672
|
+
activeIndicatorType: g,
|
|
1668
1673
|
onChangeType: y
|
|
1669
1674
|
}) => {
|
|
1670
|
-
var
|
|
1671
|
-
const { t:
|
|
1672
|
-
return
|
|
1673
|
-
|
|
1674
|
-
}, [r, d]), /* @__PURE__ */
|
|
1675
|
+
var b;
|
|
1676
|
+
const { t: m } = k(), [C, f] = F(!1);
|
|
1677
|
+
return D(() => {
|
|
1678
|
+
f(r === d);
|
|
1679
|
+
}, [r, d]), /* @__PURE__ */ h(
|
|
1675
1680
|
De.div,
|
|
1676
1681
|
{
|
|
1677
|
-
className:
|
|
1682
|
+
className: fe.indicatorsCategory,
|
|
1678
1683
|
initial: { height: "53px" },
|
|
1679
|
-
animate: { height:
|
|
1684
|
+
animate: { height: C ? "auto" : "53px" },
|
|
1680
1685
|
transition: { duration: 0.4 },
|
|
1681
1686
|
style: {
|
|
1682
1687
|
backgroundColor: "white",
|
|
1683
|
-
borderBottom:
|
|
1684
|
-
marginBottom:
|
|
1688
|
+
borderBottom: C ? `1px solid ${o}` : "0px",
|
|
1689
|
+
marginBottom: C ? "20px" : "0px"
|
|
1685
1690
|
},
|
|
1686
1691
|
children: [
|
|
1687
|
-
/* @__PURE__ */
|
|
1688
|
-
/* @__PURE__ */ s("span", { style: { color:
|
|
1692
|
+
/* @__PURE__ */ h("h2", { className: `${fe.title}`, onClick: () => t(d), children: [
|
|
1693
|
+
/* @__PURE__ */ s("span", { style: { color: C ? o : i }, children: C ? "-" : "+" }),
|
|
1689
1694
|
/* @__PURE__ */ s(
|
|
1690
1695
|
"span",
|
|
1691
1696
|
{
|
|
1692
|
-
style: { marginLeft: 12, color:
|
|
1693
|
-
children:
|
|
1697
|
+
style: { marginLeft: 12, color: C ? o : i },
|
|
1698
|
+
children: m(n.name)
|
|
1694
1699
|
}
|
|
1695
1700
|
)
|
|
1696
1701
|
] }),
|
|
1697
1702
|
n.subcategories ? n.subcategories.map(
|
|
1698
|
-
({ name: _, subcategory:
|
|
1703
|
+
({ name: _, subcategory: w, indicators: x }, v) => /* @__PURE__ */ s(
|
|
1699
1704
|
ot,
|
|
1700
1705
|
{
|
|
1701
|
-
id:
|
|
1706
|
+
id: w,
|
|
1702
1707
|
activeSubCategory: l,
|
|
1703
1708
|
subcName: _,
|
|
1704
1709
|
onClickSubCategory: a,
|
|
@@ -1707,14 +1712,14 @@ const st = ({
|
|
|
1707
1712
|
multiple: p,
|
|
1708
1713
|
activeColor: o,
|
|
1709
1714
|
defaultColor: i,
|
|
1710
|
-
indicators:
|
|
1711
|
-
activeIndicatorType:
|
|
1715
|
+
indicators: x,
|
|
1716
|
+
activeIndicatorType: g,
|
|
1712
1717
|
onChangeType: y
|
|
1713
1718
|
},
|
|
1714
1719
|
`subcKey ${v}`
|
|
1715
1720
|
)
|
|
1716
|
-
) : /* @__PURE__ */ s("div", { className:
|
|
1717
|
-
|
|
1721
|
+
) : /* @__PURE__ */ s("div", { className: fe.list, children: (b = n.indicators) == null ? void 0 : b.map((_, w) => /* @__PURE__ */ s(
|
|
1722
|
+
Ve,
|
|
1718
1723
|
{
|
|
1719
1724
|
indicator: _,
|
|
1720
1725
|
values: _.type == "twoUnits" && _.values,
|
|
@@ -1723,10 +1728,10 @@ const st = ({
|
|
|
1723
1728
|
activeIndicator: c,
|
|
1724
1729
|
onClickIndicator: u,
|
|
1725
1730
|
multiple: p,
|
|
1726
|
-
activeIndicatorType:
|
|
1731
|
+
activeIndicatorType: g,
|
|
1727
1732
|
onChangeType: y
|
|
1728
1733
|
},
|
|
1729
|
-
`indicator${
|
|
1734
|
+
`indicator${w}`
|
|
1730
1735
|
)) })
|
|
1731
1736
|
]
|
|
1732
1737
|
}
|
|
@@ -1746,7 +1751,7 @@ st.propTypes = {
|
|
|
1746
1751
|
activeColor: e.string,
|
|
1747
1752
|
defaultColor: e.string
|
|
1748
1753
|
};
|
|
1749
|
-
const d0 = "_indicatorsList_fklyu_2", u0 = "_title_fklyu_6",
|
|
1754
|
+
const d0 = "_indicatorsList_fklyu_2", u0 = "_title_fklyu_6", Pe = {
|
|
1750
1755
|
indicatorsList: d0,
|
|
1751
1756
|
title: u0
|
|
1752
1757
|
}, p0 = ({
|
|
@@ -1763,20 +1768,20 @@ const d0 = "_indicatorsList_fklyu_2", u0 = "_title_fklyu_6", Ee = {
|
|
|
1763
1768
|
changeIndType: l,
|
|
1764
1769
|
activeIndicatorType: a
|
|
1765
1770
|
}) => {
|
|
1766
|
-
const { t: c } = k(), [u, p] = F(), [
|
|
1771
|
+
const { t: c } = k(), [u, p] = F(), [g, y] = F(), [m, C] = F(), f = (v) => {
|
|
1767
1772
|
p(u == v ? null : v);
|
|
1768
|
-
},
|
|
1769
|
-
y(
|
|
1773
|
+
}, b = (v) => {
|
|
1774
|
+
y(g == v ? null : v);
|
|
1770
1775
|
}, _ = ({ indicator: v }) => {
|
|
1771
|
-
console.log("onClickIndicator: ", v),
|
|
1772
|
-
},
|
|
1776
|
+
console.log("onClickIndicator: ", v), w(v);
|
|
1777
|
+
}, w = (v) => {
|
|
1773
1778
|
if (!t)
|
|
1774
|
-
|
|
1775
|
-
(
|
|
1779
|
+
C(
|
|
1780
|
+
(m == null ? void 0 : m.name) == v.name ? null : v
|
|
1776
1781
|
);
|
|
1777
1782
|
else {
|
|
1778
|
-
let S =
|
|
1779
|
-
|
|
1783
|
+
let S = m && m.length > 0 ? [...m] : [];
|
|
1784
|
+
C(
|
|
1780
1785
|
S != null && S.some(
|
|
1781
1786
|
(B) => B.name == v.name
|
|
1782
1787
|
) ? S.filter(
|
|
@@ -1785,42 +1790,42 @@ const d0 = "_indicatorsList_fklyu_2", u0 = "_title_fklyu_6", Ee = {
|
|
|
1785
1790
|
), v.type == "both" && l("cat");
|
|
1786
1791
|
}
|
|
1787
1792
|
};
|
|
1788
|
-
|
|
1789
|
-
console.log("activeindicator changed to: ",
|
|
1790
|
-
}, [
|
|
1791
|
-
if (r && !
|
|
1793
|
+
D(() => {
|
|
1794
|
+
console.log("activeindicator changed to: ", m), i && typeof i == "function" && m && i({ activeIndicator: m });
|
|
1795
|
+
}, [m]), Ct(() => {
|
|
1796
|
+
if (r && !m)
|
|
1792
1797
|
if (t && r && Array.isArray(r)) {
|
|
1793
|
-
let v =
|
|
1794
|
-
|
|
1798
|
+
let v = m && m.length > 0 ? [...m] : [];
|
|
1799
|
+
C([...v, ...r]), x(r[0].name);
|
|
1795
1800
|
} else
|
|
1796
|
-
|
|
1801
|
+
w(r), x(r.name);
|
|
1797
1802
|
}, []);
|
|
1798
|
-
const
|
|
1803
|
+
const x = (v) => {
|
|
1799
1804
|
const S = n.find((B) => {
|
|
1800
1805
|
if (B.subcategories) {
|
|
1801
|
-
let
|
|
1802
|
-
(
|
|
1806
|
+
let P = B.subcategories.find(
|
|
1807
|
+
(ee) => ee.indicators.find((ue) => ue.name == v)
|
|
1803
1808
|
);
|
|
1804
|
-
if (
|
|
1805
|
-
return y(
|
|
1809
|
+
if (P)
|
|
1810
|
+
return y(P.subcategory), P;
|
|
1806
1811
|
} else
|
|
1807
|
-
return B.indicators.some((
|
|
1812
|
+
return B.indicators.some((P) => P.name == v);
|
|
1808
1813
|
});
|
|
1809
1814
|
S && p(S.category);
|
|
1810
1815
|
};
|
|
1811
|
-
return /* @__PURE__ */
|
|
1812
|
-
/* @__PURE__ */ s("h2", { className:
|
|
1816
|
+
return /* @__PURE__ */ h("div", { className: Pe.indicatorsList, children: [
|
|
1817
|
+
/* @__PURE__ */ s("h2", { className: Pe.title, style: { color: o }, children: c("indicators.indicators") }),
|
|
1813
1818
|
n.map((v, S) => /* @__PURE__ */ s(
|
|
1814
1819
|
st,
|
|
1815
1820
|
{
|
|
1816
1821
|
id: v.category,
|
|
1817
1822
|
cat: v,
|
|
1818
|
-
onClickCategory:
|
|
1823
|
+
onClickCategory: f,
|
|
1819
1824
|
activeCategory: u,
|
|
1820
|
-
onClickSubCategory:
|
|
1821
|
-
activeSubCategory:
|
|
1825
|
+
onClickSubCategory: b,
|
|
1826
|
+
activeSubCategory: g,
|
|
1822
1827
|
onClickIndicator: _,
|
|
1823
|
-
activeIndicator:
|
|
1828
|
+
activeIndicator: m,
|
|
1824
1829
|
activeColor: d,
|
|
1825
1830
|
defaultColor: o,
|
|
1826
1831
|
multiple: t,
|
|
@@ -1843,7 +1848,7 @@ p0.propTypes = {
|
|
|
1843
1848
|
defaultValue: e.oneOfType([e.object, e.array]),
|
|
1844
1849
|
activeIndicatorType: e.string
|
|
1845
1850
|
};
|
|
1846
|
-
const m0 = "_langSelector_o9enq_2", h0 = "_currentLang_o9enq_14", g0 = "_arrow_o9enq_26", C0 = "_prevImg_o9enq_29", f0 = "_langMenu_o9enq_33",
|
|
1851
|
+
const m0 = "_langSelector_o9enq_2", h0 = "_currentLang_o9enq_14", g0 = "_arrow_o9enq_26", C0 = "_prevImg_o9enq_29", f0 = "_langMenu_o9enq_33", X = {
|
|
1847
1852
|
langSelector: m0,
|
|
1848
1853
|
currentLang: h0,
|
|
1849
1854
|
arrow: g0,
|
|
@@ -1853,25 +1858,25 @@ const m0 = "_langSelector_o9enq_2", h0 = "_currentLang_o9enq_14", g0 = "_arrow_o
|
|
|
1853
1858
|
const [i, t] = F(!1), { i18n: r } = k(), l = n.find((c) => c.code == r.language), a = (c) => {
|
|
1854
1859
|
r.changeLanguage(c), t(!1);
|
|
1855
1860
|
};
|
|
1856
|
-
return /* @__PURE__ */
|
|
1857
|
-
/* @__PURE__ */
|
|
1861
|
+
return /* @__PURE__ */ h("div", { className: X.langSelector, children: [
|
|
1862
|
+
/* @__PURE__ */ h(
|
|
1858
1863
|
"div",
|
|
1859
1864
|
{
|
|
1860
|
-
className:
|
|
1865
|
+
className: X.currentLang,
|
|
1861
1866
|
onClick: () => {
|
|
1862
1867
|
t(!i);
|
|
1863
1868
|
},
|
|
1864
1869
|
children: [
|
|
1865
|
-
o && /* @__PURE__ */ s("img", { className:
|
|
1870
|
+
o && /* @__PURE__ */ s("img", { className: X.prevImg, src: o }),
|
|
1866
1871
|
(l == null ? void 0 : l.titleSelected) || (l == null ? void 0 : l.title),
|
|
1867
|
-
/* @__PURE__ */ s("img", { src: d, className:
|
|
1872
|
+
/* @__PURE__ */ s("img", { src: d, className: X.arrow })
|
|
1868
1873
|
]
|
|
1869
1874
|
}
|
|
1870
1875
|
),
|
|
1871
|
-
i && /* @__PURE__ */ s("div", { className:
|
|
1876
|
+
i && /* @__PURE__ */ s("div", { className: X.langMenu, children: n.map((c) => /* @__PURE__ */ s(
|
|
1872
1877
|
"button",
|
|
1873
1878
|
{
|
|
1874
|
-
className: (l == null ? void 0 : l.code) == c.code ?
|
|
1879
|
+
className: (l == null ? void 0 : l.code) == c.code ? X.active : "",
|
|
1875
1880
|
onClick: () => a(c.code),
|
|
1876
1881
|
children: c.title
|
|
1877
1882
|
},
|
|
@@ -1893,20 +1898,20 @@ b0.propTypes = {
|
|
|
1893
1898
|
arrow: e.object,
|
|
1894
1899
|
imgPrev: e.object
|
|
1895
1900
|
};
|
|
1896
|
-
const y0 = "_legendContainer_atg3j_3", _0 = "_closeButton_atg3j_18", v0 = "_titleContainer_atg3j_46",
|
|
1901
|
+
const y0 = "_legendContainer_atg3j_3", _0 = "_closeButton_atg3j_18", v0 = "_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", F0 = "_absoluteValueContainer_atg3j_88", M0 = "_absoluteValueColor_atg3j_91", L0 = "_absoluteValueText_atg3j_96", D0 = "_moreInfoContainer_atg3j_108", V = {
|
|
1897
1902
|
legendContainer: y0,
|
|
1898
1903
|
closeButton: _0,
|
|
1899
1904
|
titleContainer: v0,
|
|
1900
|
-
infoContainer:
|
|
1901
|
-
titleLegendList:
|
|
1905
|
+
infoContainer: w0,
|
|
1906
|
+
titleLegendList: x0,
|
|
1902
1907
|
legendListContainer: k0,
|
|
1903
1908
|
gridContainer: N0,
|
|
1904
1909
|
elementLegendContainer: S0,
|
|
1905
1910
|
colorDot: B0,
|
|
1906
1911
|
absoluteValueContainer: F0,
|
|
1907
1912
|
absoluteValueColor: M0,
|
|
1908
|
-
absoluteValueText:
|
|
1909
|
-
moreInfoContainer:
|
|
1913
|
+
absoluteValueText: L0,
|
|
1914
|
+
moreInfoContainer: D0
|
|
1910
1915
|
}, T0 = ({
|
|
1911
1916
|
//JSON with the styles of the container (optional)
|
|
1912
1917
|
containerStyles: n,
|
|
@@ -1931,7 +1936,7 @@ const y0 = "_legendContainer_atg3j_3", _0 = "_closeButton_atg3j_18", v0 = "_titl
|
|
|
1931
1936
|
onClickClose: c
|
|
1932
1937
|
}) => {
|
|
1933
1938
|
const { t: u } = k();
|
|
1934
|
-
return /* @__PURE__ */
|
|
1939
|
+
return /* @__PURE__ */ h(
|
|
1935
1940
|
"div",
|
|
1936
1941
|
{
|
|
1937
1942
|
style: n ? { ...n } : {},
|
|
@@ -1939,15 +1944,15 @@ const y0 = "_legendContainer_atg3j_3", _0 = "_closeButton_atg3j_18", v0 = "_titl
|
|
|
1939
1944
|
children: [
|
|
1940
1945
|
/* @__PURE__ */ s("button", { className: V.closeButton, onClick: c }),
|
|
1941
1946
|
d && /* @__PURE__ */ s("div", { className: V.titleContainer, children: /* @__PURE__ */ s("h2", { children: d }) }),
|
|
1942
|
-
o && o.length > 0 && /* @__PURE__ */ s("div", { className: V.infoContainer, children: /* @__PURE__ */ s("ul", { children: o.map(({ title: p, value:
|
|
1947
|
+
o && o.length > 0 && /* @__PURE__ */ s("div", { className: V.infoContainer, children: /* @__PURE__ */ s("ul", { children: o.map(({ title: p, value: g }) => /* @__PURE__ */ h("li", { children: [
|
|
1943
1948
|
/* @__PURE__ */ s("h3", { className: V.title, children: `${p}:` }),
|
|
1944
|
-
/* @__PURE__ */
|
|
1949
|
+
/* @__PURE__ */ h("span", { className: V.value, children: [
|
|
1945
1950
|
" ",
|
|
1946
|
-
|
|
1951
|
+
g
|
|
1947
1952
|
] })
|
|
1948
1953
|
] }, d)) }) }),
|
|
1949
|
-
/* @__PURE__ */ s("h3", { className: V.titleLegendList, children: t ? /* @__PURE__ */ s(
|
|
1950
|
-
/* @__PURE__ */ s("div", { className: V.legendListContainer, children: r ? /* @__PURE__ */
|
|
1954
|
+
/* @__PURE__ */ s("h3", { className: V.titleLegendList, children: t ? /* @__PURE__ */ s(Le, { i18nKey: t, components: { sup: /* @__PURE__ */ s("sup", {}) } }) : u("mainUse") }),
|
|
1955
|
+
/* @__PURE__ */ s("div", { className: V.legendListContainer, children: r ? /* @__PURE__ */ h("div", { className: V.absoluteValueContainer, children: [
|
|
1951
1956
|
/* @__PURE__ */ s(
|
|
1952
1957
|
"div",
|
|
1953
1958
|
{
|
|
@@ -1957,28 +1962,28 @@ const y0 = "_legendContainer_atg3j_3", _0 = "_closeButton_atg3j_18", v0 = "_titl
|
|
|
1957
1962
|
}
|
|
1958
1963
|
}
|
|
1959
1964
|
),
|
|
1960
|
-
/* @__PURE__ */
|
|
1961
|
-
/* @__PURE__ */
|
|
1965
|
+
/* @__PURE__ */ h("div", { className: V.absoluteValueText, children: [
|
|
1966
|
+
/* @__PURE__ */ h("span", { children: [
|
|
1962
1967
|
r.maxValue,
|
|
1963
1968
|
" ",
|
|
1964
1969
|
u(r.unit)
|
|
1965
1970
|
] }),
|
|
1966
|
-
/* @__PURE__ */
|
|
1971
|
+
/* @__PURE__ */ h("span", { children: [
|
|
1967
1972
|
r.minValue,
|
|
1968
1973
|
" ",
|
|
1969
1974
|
u(r.unit)
|
|
1970
1975
|
] })
|
|
1971
1976
|
] })
|
|
1972
1977
|
] }) : i && i.length > 0 && /* @__PURE__ */ s("div", { className: V.gridContainer, children: i.map(
|
|
1973
|
-
({ title: p, color:
|
|
1978
|
+
({ title: p, color: g }) => /* @__PURE__ */ h("div", { className: V.elementLegendContainer, children: [
|
|
1974
1979
|
/* @__PURE__ */ s(
|
|
1975
1980
|
"div",
|
|
1976
1981
|
{
|
|
1977
1982
|
className: V.colorDot,
|
|
1978
|
-
style: { backgroundColor:
|
|
1983
|
+
style: { backgroundColor: g }
|
|
1979
1984
|
}
|
|
1980
1985
|
),
|
|
1981
|
-
/* @__PURE__ */
|
|
1986
|
+
/* @__PURE__ */ h("div", { className: V.titleLegendElement, children: [
|
|
1982
1987
|
u(p),
|
|
1983
1988
|
" "
|
|
1984
1989
|
] })
|
|
@@ -2015,11 +2020,11 @@ T0.propTypes = {
|
|
|
2015
2020
|
buttonTitle: e.string,
|
|
2016
2021
|
onClickClose: e.func
|
|
2017
2022
|
};
|
|
2018
|
-
const V0 = "_logo_1ewa6_2",
|
|
2023
|
+
const V0 = "_logo_1ewa6_2", je = {
|
|
2019
2024
|
logo: V0
|
|
2020
2025
|
}, $0 = ({ src: n, alt: d, href: o }) => {
|
|
2021
2026
|
const { t: i } = k(), t = /* @__PURE__ */ s("img", { src: n, alt: i(d) });
|
|
2022
|
-
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 });
|
|
2023
2028
|
};
|
|
2024
2029
|
$0.propTypes = {
|
|
2025
2030
|
src: e.string.isRequired,
|
|
@@ -2044,19 +2049,19 @@ const I0 = ({
|
|
|
2044
2049
|
sources: u = [],
|
|
2045
2050
|
layers: p = []
|
|
2046
2051
|
}) => {
|
|
2047
|
-
const
|
|
2048
|
-
return
|
|
2049
|
-
if (
|
|
2050
|
-
const
|
|
2051
|
-
|
|
2052
|
-
_.type == "symbol" && _.id != "professionals" && (
|
|
2052
|
+
const g = Me(), [y, m] = F(null), C = yt((f) => f.mapState.showTexts);
|
|
2053
|
+
return D(() => {
|
|
2054
|
+
if (g.current) {
|
|
2055
|
+
const f = g.current.getMap();
|
|
2056
|
+
f.getStyle().layers.map((_) => {
|
|
2057
|
+
_.type == "symbol" && _.id != "professionals" && (C ? f.setLayoutProperty(_.id, "visibility", "visible") : f.setLayoutProperty(_.id, "visibility", "none"));
|
|
2053
2058
|
});
|
|
2054
2059
|
}
|
|
2055
|
-
}, [
|
|
2060
|
+
}, [C]), /* @__PURE__ */ s("div", { className: `${O0.mapContainer}`, style: r, children: /* @__PURE__ */ h(
|
|
2056
2061
|
vt,
|
|
2057
2062
|
{
|
|
2058
2063
|
initialViewState: n,
|
|
2059
|
-
ref:
|
|
2064
|
+
ref: g,
|
|
2060
2065
|
hash: !1,
|
|
2061
2066
|
maxZoom: d,
|
|
2062
2067
|
minZoom: o,
|
|
@@ -2064,22 +2069,22 @@ const I0 = ({
|
|
|
2064
2069
|
onClick: l,
|
|
2065
2070
|
interactiveLayerIds: a,
|
|
2066
2071
|
children: [
|
|
2067
|
-
u.length && u.map((
|
|
2068
|
-
|
|
2072
|
+
u.length && u.map((f, b) => /* @__PURE__ */ s(
|
|
2073
|
+
wt,
|
|
2069
2074
|
{
|
|
2070
|
-
...
|
|
2071
|
-
children: p.length && p.map((_,
|
|
2072
|
-
if (_.sourceId ==
|
|
2073
|
-
|
|
2075
|
+
...f,
|
|
2076
|
+
children: p.length && p.map((_, w) => {
|
|
2077
|
+
if (_.sourceId == f.id) return /* @__PURE__ */ s(
|
|
2078
|
+
xt,
|
|
2074
2079
|
{
|
|
2075
2080
|
..._.layer,
|
|
2076
2081
|
beforeId: t
|
|
2077
2082
|
},
|
|
2078
|
-
|
|
2083
|
+
w
|
|
2079
2084
|
);
|
|
2080
2085
|
})
|
|
2081
2086
|
},
|
|
2082
|
-
|
|
2087
|
+
b
|
|
2083
2088
|
)),
|
|
2084
2089
|
/* @__PURE__ */ s(kt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2085
2090
|
c && y && /* @__PURE__ */ s(
|
|
@@ -2088,7 +2093,7 @@ const I0 = ({
|
|
|
2088
2093
|
longitude: c.longitude,
|
|
2089
2094
|
latitude: c.latitude,
|
|
2090
2095
|
anchor: c.anchor,
|
|
2091
|
-
onClose: () =>
|
|
2096
|
+
onClose: () => m(null),
|
|
2092
2097
|
children: c.content
|
|
2093
2098
|
}
|
|
2094
2099
|
)
|
|
@@ -2143,14 +2148,14 @@ I0.propTypes = {
|
|
|
2143
2148
|
};
|
|
2144
2149
|
const R0 = "_mapContainer_b0pyr_3", E0 = {
|
|
2145
2150
|
mapContainer: R0
|
|
2146
|
-
}, P0 = "_FeaturePopUp_1gd6w_2", j0 = "_title_1gd6w_2",
|
|
2151
|
+
}, P0 = "_FeaturePopUp_1gd6w_2", j0 = "_title_1gd6w_2", ze = {
|
|
2147
2152
|
FeaturePopUp: P0,
|
|
2148
2153
|
title: j0
|
|
2149
2154
|
}, z0 = ({ props: n }) => {
|
|
2150
2155
|
const { t: d } = k();
|
|
2151
|
-
return /* @__PURE__ */ s("div", { className:
|
|
2152
|
-
/* @__PURE__ */
|
|
2153
|
-
/* @__PURE__ */ s(
|
|
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", {}) } }),
|
|
2154
2159
|
": "
|
|
2155
2160
|
] }),
|
|
2156
2161
|
o.value.toLocaleString("de", { maximumFractionDigits: 2 }),
|
|
@@ -2169,30 +2174,30 @@ const R0 = "_mapContainer_b0pyr_3", E0 = {
|
|
|
2169
2174
|
sources: c = [],
|
|
2170
2175
|
layers: u = [],
|
|
2171
2176
|
filters: p,
|
|
2172
|
-
popUpParams:
|
|
2177
|
+
popUpParams: g,
|
|
2173
2178
|
onClosePopUp: y,
|
|
2174
|
-
showTexts:
|
|
2179
|
+
showTexts: m
|
|
2175
2180
|
}) => {
|
|
2176
2181
|
console.log(p);
|
|
2177
|
-
const
|
|
2178
|
-
return
|
|
2179
|
-
if (
|
|
2180
|
-
const
|
|
2181
|
-
|
|
2182
|
-
_.type == "symbol" && _.id != "professionals" && (
|
|
2182
|
+
const C = Me();
|
|
2183
|
+
return D(() => {
|
|
2184
|
+
if (C.current) {
|
|
2185
|
+
const f = C.current.getMap();
|
|
2186
|
+
f.getStyle().layers.map((_) => {
|
|
2187
|
+
_.type == "symbol" && _.id != "professionals" && (m ? f.setLayoutProperty(_.id, "visibility", "visible") : f.setLayoutProperty(_.id, "visibility", "none"));
|
|
2183
2188
|
});
|
|
2184
2189
|
}
|
|
2185
|
-
}, [
|
|
2186
|
-
let
|
|
2187
|
-
return
|
|
2188
|
-
|
|
2190
|
+
}, [m]), D(() => {
|
|
2191
|
+
let f = new St();
|
|
2192
|
+
return me.addProtocol("pmtiles", f.tile), () => {
|
|
2193
|
+
me.removeProtocol("pmtiles");
|
|
2189
2194
|
};
|
|
2190
|
-
}, []), /* @__PURE__ */ s("div", { className: `${E0.mapContainer}`, style: r && r, children: /* @__PURE__ */
|
|
2195
|
+
}, []), /* @__PURE__ */ s("div", { className: `${E0.mapContainer}`, style: r && r, children: /* @__PURE__ */ h(
|
|
2191
2196
|
Bt,
|
|
2192
2197
|
{
|
|
2193
|
-
mapLib:
|
|
2198
|
+
mapLib: me,
|
|
2194
2199
|
initialViewState: n,
|
|
2195
|
-
ref:
|
|
2200
|
+
ref: C,
|
|
2196
2201
|
hash: !1,
|
|
2197
2202
|
maxZoom: d,
|
|
2198
2203
|
minZoom: o,
|
|
@@ -2200,32 +2205,32 @@ const R0 = "_mapContainer_b0pyr_3", E0 = {
|
|
|
2200
2205
|
onClick: l,
|
|
2201
2206
|
interactiveLayerIds: a,
|
|
2202
2207
|
children: [
|
|
2203
|
-
c.length && c.map((
|
|
2208
|
+
c.length && c.map((f, b) => /* @__PURE__ */ s(
|
|
2204
2209
|
Ft,
|
|
2205
2210
|
{
|
|
2206
|
-
...
|
|
2207
|
-
children: u.length && u.map((_,
|
|
2208
|
-
if (_.sourceId ==
|
|
2211
|
+
...f,
|
|
2212
|
+
children: u.length && u.map((_, w) => {
|
|
2213
|
+
if (_.sourceId == f.id) return /* @__PURE__ */ s(
|
|
2209
2214
|
Mt,
|
|
2210
2215
|
{
|
|
2211
2216
|
..._.layer,
|
|
2212
2217
|
beforeId: t,
|
|
2213
2218
|
filter: p && p
|
|
2214
2219
|
},
|
|
2215
|
-
|
|
2220
|
+
w
|
|
2216
2221
|
);
|
|
2217
2222
|
})
|
|
2218
2223
|
},
|
|
2219
|
-
|
|
2224
|
+
b
|
|
2220
2225
|
)),
|
|
2221
|
-
/* @__PURE__ */ s(
|
|
2222
|
-
|
|
2223
|
-
|
|
2226
|
+
/* @__PURE__ */ s(Lt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2227
|
+
g && /* @__PURE__ */ s(
|
|
2228
|
+
Dt,
|
|
2224
2229
|
{
|
|
2225
|
-
longitude:
|
|
2226
|
-
latitude:
|
|
2230
|
+
longitude: g.lng,
|
|
2231
|
+
latitude: g.lat,
|
|
2227
2232
|
onClose: y,
|
|
2228
|
-
children: /* @__PURE__ */ s(z0, { props:
|
|
2233
|
+
children: /* @__PURE__ */ s(z0, { props: g.props })
|
|
2229
2234
|
}
|
|
2230
2235
|
)
|
|
2231
2236
|
]
|
|
@@ -2275,14 +2280,14 @@ q0.propTypes = {
|
|
|
2275
2280
|
popUpParams: e.object,
|
|
2276
2281
|
onClosePopUp: e.func
|
|
2277
2282
|
};
|
|
2278
|
-
const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textContainer_1egwc_20", U0 = "_title_1egwc_27", G0 = "_subtitle_1egwc_33", Y0 = "_rightContent_1egwc_38",
|
|
2283
|
+
const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textContainer_1egwc_20", U0 = "_title_1egwc_27", G0 = "_subtitle_1egwc_33", Y0 = "_rightContent_1egwc_38", K = {
|
|
2279
2284
|
sectionBar: Z0,
|
|
2280
2285
|
leftContent: H0,
|
|
2281
2286
|
textContainer: K0,
|
|
2282
2287
|
title: U0,
|
|
2283
2288
|
subtitle: G0,
|
|
2284
2289
|
rightContent: Y0
|
|
2285
|
-
},
|
|
2290
|
+
}, Pn = ({
|
|
2286
2291
|
leftIcon: n,
|
|
2287
2292
|
title: d,
|
|
2288
2293
|
subtitle: o,
|
|
@@ -2291,15 +2296,15 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
|
|
|
2291
2296
|
width: r
|
|
2292
2297
|
}) => {
|
|
2293
2298
|
const { t: l } = k();
|
|
2294
|
-
return /* @__PURE__ */
|
|
2295
|
-
/* @__PURE__ */
|
|
2296
|
-
n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className:
|
|
2297
|
-
/* @__PURE__ */
|
|
2298
|
-
/* @__PURE__ */ s("div", { className:
|
|
2299
|
-
o && /* @__PURE__ */ s("div", { className:
|
|
2299
|
+
return /* @__PURE__ */ h("div", { className: K.sectionBar, style: { width: r && r }, children: [
|
|
2300
|
+
/* @__PURE__ */ h("div", { className: K.leftContent, children: [
|
|
2301
|
+
n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className: K.icon }),
|
|
2302
|
+
/* @__PURE__ */ h("div", { className: K.textContainer, children: [
|
|
2303
|
+
/* @__PURE__ */ s("div", { className: K.title, children: l(d) }),
|
|
2304
|
+
o && /* @__PURE__ */ s("div", { className: K.subtitle, children: o })
|
|
2300
2305
|
] })
|
|
2301
2306
|
] }),
|
|
2302
|
-
/* @__PURE__ */ s("div", { className:
|
|
2307
|
+
/* @__PURE__ */ s("div", { className: K.rightContent, children: i })
|
|
2303
2308
|
] });
|
|
2304
2309
|
}, W0 = Tt({
|
|
2305
2310
|
name: "mapSlice",
|
|
@@ -2327,36 +2332,36 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
|
|
|
2327
2332
|
n.activeIndicatorUnit = d.payload;
|
|
2328
2333
|
}
|
|
2329
2334
|
}
|
|
2330
|
-
}), { setShowTexts:
|
|
2335
|
+
}), { setShowTexts: jn, setYear: be, setActiveIndicatorKey: zn, setActiveIndicatorType: qn, setActiveIndicatorUnit: Zn } = W0.actions, J0 = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20d='M15.2722%2012.6627C15.2722%2011.8929%2016.1055%2011.4118%2016.7722%2011.7967L31.5641%2020.3368C32.2308%2020.7217%2032.2308%2021.684%2031.5641%2022.0689L16.7722%2030.609C16.1055%2030.9939%2015.2722%2030.5128%2015.2722%2029.743L15.2722%2012.6627Z'%20fill='%23605B56'/%3e%3c/svg%3e", X0 = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3crect%20x='15'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3crect%20x='23'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3c/svg%3e", Q0 = "_slider_a19yo_2", e1 = "_playButton_a19yo_17", t1 = "_sliderOpen_a19yo_28", n1 = "_sliderResults_a19yo_32", ne = {
|
|
2331
2336
|
slider: Q0,
|
|
2332
2337
|
playButton: e1,
|
|
2333
2338
|
sliderOpen: t1,
|
|
2334
2339
|
sliderResults: n1
|
|
2335
2340
|
}, i1 = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: o = 2025, lastYear: i = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
|
|
2336
|
-
const [l, a] = F(d), c = _t(), u = (_,
|
|
2337
|
-
a(
|
|
2338
|
-
}, [p,
|
|
2339
|
-
|
|
2340
|
-
},
|
|
2341
|
-
|
|
2341
|
+
const [l, a] = F(d), c = _t(), u = (_, w) => {
|
|
2342
|
+
a(w), c(be(w - 2e3));
|
|
2343
|
+
}, [p, g] = F(!1), y = () => {
|
|
2344
|
+
g(!0);
|
|
2345
|
+
}, m = () => {
|
|
2346
|
+
g(!1);
|
|
2342
2347
|
};
|
|
2343
|
-
((_,
|
|
2344
|
-
const
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
}, [_]),
|
|
2348
|
+
((_, w) => {
|
|
2349
|
+
const x = Me();
|
|
2350
|
+
D(() => {
|
|
2351
|
+
x.current = _;
|
|
2352
|
+
}, [_]), D(() => {
|
|
2348
2353
|
function v() {
|
|
2349
|
-
|
|
2354
|
+
x.current();
|
|
2350
2355
|
}
|
|
2351
2356
|
{
|
|
2352
|
-
let S = setInterval(v,
|
|
2357
|
+
let S = setInterval(v, w);
|
|
2353
2358
|
return () => clearInterval(S);
|
|
2354
2359
|
}
|
|
2355
|
-
}, [
|
|
2360
|
+
}, [w]);
|
|
2356
2361
|
})(() => {
|
|
2357
|
-
p && (l != 2050 ? (a(l + 1), c(
|
|
2362
|
+
p && (l != 2050 ? (a(l + 1), c(be(l - 2e3 + 1))) : (a(2025), c(be(25))));
|
|
2358
2363
|
}, 1e3);
|
|
2359
|
-
const
|
|
2364
|
+
const f = $t({
|
|
2360
2365
|
palette: {
|
|
2361
2366
|
primary: {
|
|
2362
2367
|
main: "#605b56"
|
|
@@ -2378,17 +2383,17 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
|
|
|
2378
2383
|
}
|
|
2379
2384
|
}
|
|
2380
2385
|
}
|
|
2381
|
-
}),
|
|
2386
|
+
}), b = [
|
|
2382
2387
|
{ label: "", value: 2025 },
|
|
2383
2388
|
{ label: "", value: 2032 },
|
|
2384
2389
|
{ label: "", value: 2041 },
|
|
2385
2390
|
{ label: "", value: 2050 }
|
|
2386
2391
|
];
|
|
2387
|
-
return /* @__PURE__ */ s(Ot, { theme:
|
|
2392
|
+
return /* @__PURE__ */ s(Ot, { theme: f, children: /* @__PURE__ */ h(
|
|
2388
2393
|
At,
|
|
2389
2394
|
{
|
|
2390
2395
|
sx: { width: 400 },
|
|
2391
|
-
className: `${n ?
|
|
2396
|
+
className: `${n ? ne.sliderResults : ne.slider} ${r ? ne.sliderOpen : ""}`,
|
|
2392
2397
|
style: { zIndex: t },
|
|
2393
2398
|
children: [
|
|
2394
2399
|
o,
|
|
@@ -2399,7 +2404,7 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
|
|
|
2399
2404
|
value: l,
|
|
2400
2405
|
valueLabelDisplay: "on",
|
|
2401
2406
|
step: 1,
|
|
2402
|
-
marks:
|
|
2407
|
+
marks: b,
|
|
2403
2408
|
min: o,
|
|
2404
2409
|
max: i,
|
|
2405
2410
|
onChange: u,
|
|
@@ -2408,8 +2413,8 @@ const Z0 = "_sectionBar_1egwc_2", H0 = "_leftContent_1egwc_14", K0 = "_textConta
|
|
|
2408
2413
|
}
|
|
2409
2414
|
),
|
|
2410
2415
|
i,
|
|
2411
|
-
!p && /* @__PURE__ */ s("button", { className:
|
|
2412
|
-
p && /* @__PURE__ */ s("button", { className:
|
|
2416
|
+
!p && /* @__PURE__ */ s("button", { className: ne.playButton, onClick: y, children: /* @__PURE__ */ s("img", { src: J0, alt: "Play" }) }),
|
|
2417
|
+
p && /* @__PURE__ */ s("button", { className: ne.playButton, onClick: m, children: /* @__PURE__ */ s("img", { src: X0, alt: "Pause" }) })
|
|
2413
2418
|
]
|
|
2414
2419
|
}
|
|
2415
2420
|
) });
|
|
@@ -2422,7 +2427,7 @@ i1.propTypes = {
|
|
|
2422
2427
|
zIndex: e.number,
|
|
2423
2428
|
rightBarOpen: e.bool
|
|
2424
2429
|
};
|
|
2425
|
-
const o1 = "_TopNavMenuContainer_12mp4_2", s1 = "_topNavOptions_12mp4_13", r1 = "_active_12mp4_27",
|
|
2430
|
+
const o1 = "_TopNavMenuContainer_12mp4_2", s1 = "_topNavOptions_12mp4_13", r1 = "_active_12mp4_27", ye = {
|
|
2426
2431
|
TopNavMenuContainer: o1,
|
|
2427
2432
|
topNavOptions: s1,
|
|
2428
2433
|
active: r1
|
|
@@ -2433,11 +2438,11 @@ const o1 = "_TopNavMenuContainer_12mp4_2", s1 = "_topNavOptions_12mp4_13", r1 =
|
|
|
2433
2438
|
textColor: i = "white"
|
|
2434
2439
|
}) => {
|
|
2435
2440
|
const { t } = k();
|
|
2436
|
-
return /* @__PURE__ */ s("div", { className:
|
|
2441
|
+
return /* @__PURE__ */ s("div", { className: ye.TopNavMenuContainer, style: { ...d }, children: n.map((r, l) => /* @__PURE__ */ s(
|
|
2437
2442
|
It,
|
|
2438
2443
|
{
|
|
2439
2444
|
to: r.url,
|
|
2440
|
-
className: ({ isActive: a }) => `${
|
|
2445
|
+
className: ({ isActive: a }) => `${ye.topNavOptions} ${a ? ye.active : ""} `,
|
|
2441
2446
|
style: ({ isActive: a }) => ({
|
|
2442
2447
|
color: i,
|
|
2443
2448
|
borderBottom: a ? `5px solid ${o}` : "5px solid transparent"
|
|
@@ -2492,7 +2497,7 @@ d1.propTypes = {
|
|
|
2492
2497
|
userName: e.string,
|
|
2493
2498
|
isLoggedIn: e.bool
|
|
2494
2499
|
};
|
|
2495
|
-
const u1 = "_elementSelector_fd7az_2", p1 = "_header_fd7az_13", m1 = "_nameDateContainer_fd7az_23", h1 = "_elementName_fd7az_39", g1 = "_elementDate_fd7az_53", C1 = "_buttonsContainer_fd7az_67", f1 = "_elementListContainer_fd7az_76", b1 = "_newElementButtonContainer_fd7az_80",
|
|
2500
|
+
const u1 = "_elementSelector_fd7az_2", p1 = "_header_fd7az_13", m1 = "_nameDateContainer_fd7az_23", h1 = "_elementName_fd7az_39", g1 = "_elementDate_fd7az_53", C1 = "_buttonsContainer_fd7az_67", f1 = "_elementListContainer_fd7az_76", b1 = "_newElementButtonContainer_fd7az_80", R = {
|
|
2496
2501
|
elementSelector: u1,
|
|
2497
2502
|
header: p1,
|
|
2498
2503
|
nameDateContainer: m1,
|
|
@@ -2501,38 +2506,38 @@ const u1 = "_elementSelector_fd7az_2", p1 = "_header_fd7az_13", m1 = "_nameDateC
|
|
|
2501
2506
|
buttonsContainer: C1,
|
|
2502
2507
|
elementListContainer: f1,
|
|
2503
2508
|
newElementButtonContainer: b1
|
|
2504
|
-
}, y1 = "_listElement_1s506_2", _1 = "_elementNameDate_1s506_17", v1 = "_elementNameContainer_1s506_27",
|
|
2509
|
+
}, y1 = "_listElement_1s506_2", _1 = "_elementNameDate_1s506_17", v1 = "_elementNameContainer_1s506_27", w1 = "_elementName_1s506_17", x1 = "_elementDate_1s506_42", k1 = "_elementButtons_1s506_45", N1 = "_moreInfoContainer_1s506_68", S1 = "_moreInfo_1s506_68", O = {
|
|
2505
2510
|
listElement: y1,
|
|
2506
2511
|
elementNameDate: _1,
|
|
2507
2512
|
elementNameContainer: v1,
|
|
2508
|
-
elementName:
|
|
2509
|
-
elementDate:
|
|
2513
|
+
elementName: w1,
|
|
2514
|
+
elementDate: x1,
|
|
2510
2515
|
elementButtons: k1,
|
|
2511
2516
|
break: "_break_1s506_63",
|
|
2512
2517
|
moreInfoContainer: N1,
|
|
2513
2518
|
moreInfo: S1
|
|
2514
|
-
}, B1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", F1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", M1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", D1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", L1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='15.3062'%20cy='15.2144'%20r='14.3521'%20stroke='%2392898A'%20stroke-width='1.5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9898%2012.7234V9.89008C11.9898%208.88815%2012.3811%207.92726%2013.0777%207.21879C13.7743%206.51032%2014.719%206.1123%2015.7041%206.1123C16.6892%206.1123%2017.6339%206.51032%2018.3305%207.21879C19.0271%207.92726%2019.4184%208.88815%2019.4184%209.89008V12.7234H20.347C20.8395%2012.7234%2021.3119%2012.9224%2021.6602%2013.2767C22.0084%2013.6309%2022.2041%2014.1113%2022.2041%2014.6123V21.2234C22.2041%2021.7244%2022.0084%2022.2048%2021.6602%2022.5591C21.3119%2022.9133%2020.8395%2023.1123%2020.347%2023.1123H11.0612C10.5687%2023.1123%2010.0963%2022.9133%209.74805%2022.5591C9.39976%2022.2048%209.2041%2021.7244%209.2041%2021.2234V14.6123C9.2041%2014.1113%209.39976%2013.6309%209.74805%2013.2767C10.0963%2012.9224%2010.5687%2012.7234%2011.0612%2012.7234H11.9898ZM13.847%209.89008C13.847%209.38912%2014.0426%208.90867%2014.3909%208.55444C14.7392%208.2002%2015.2116%208.00119%2015.7041%208.00119C16.1966%208.00119%2016.669%208.2002%2017.0173%208.55444C17.3656%208.90867%2017.5612%209.38912%2017.5612%209.89008V12.7234H13.847V9.89008ZM15.7041%2015.5567C15.9504%2015.5567%2016.1866%2015.6563%2016.3607%2015.8334C16.5348%2016.0105%2016.6327%2016.2507%2016.6327%2016.5012V19.3345C16.6327%2019.585%2016.5348%2019.8252%2016.3607%2020.0023C16.1866%2020.1795%2015.9504%2020.279%2015.7041%2020.279C15.4578%2020.279%2015.2216%2020.1795%2015.0475%2020.0023C14.8734%2019.8252%2014.7755%2019.585%2014.7755%2019.3345V16.5012C14.7755%2016.2507%2014.8734%2016.0105%2015.0475%2015.8334C15.2216%2015.6563%2015.4578%2015.5567%2015.7041%2015.5567Z'%20fill='%2392898A'/%3e%3c/svg%3e";
|
|
2515
|
-
var
|
|
2516
|
-
function
|
|
2517
|
-
return
|
|
2519
|
+
}, B1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", F1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", M1 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", 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 qe;
|
|
2521
|
+
function Be() {
|
|
2522
|
+
return Be = Object.assign ? Object.assign.bind() : function(n) {
|
|
2518
2523
|
for (var d = 1; d < arguments.length; d++) {
|
|
2519
2524
|
var o = arguments[d];
|
|
2520
2525
|
for (var i in o) ({}).hasOwnProperty.call(o, i) && (n[i] = o[i]);
|
|
2521
2526
|
}
|
|
2522
2527
|
return n;
|
|
2523
|
-
},
|
|
2528
|
+
}, Be.apply(null, arguments);
|
|
2524
2529
|
}
|
|
2525
2530
|
var T1 = function(d) {
|
|
2526
|
-
return /* @__PURE__ */
|
|
2531
|
+
return /* @__PURE__ */ Q.createElement("svg", Be({
|
|
2527
2532
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2528
2533
|
width: 26,
|
|
2529
2534
|
height: 14,
|
|
2530
2535
|
fill: "none"
|
|
2531
|
-
}, d),
|
|
2536
|
+
}, d), qe || (qe = /* @__PURE__ */ Q.createElement("g", {
|
|
2532
2537
|
fill: "currentColor"
|
|
2533
|
-
}, /* @__PURE__ */
|
|
2538
|
+
}, /* @__PURE__ */ Q.createElement("path", {
|
|
2534
2539
|
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"
|
|
2535
|
-
}), /* @__PURE__ */
|
|
2540
|
+
}), /* @__PURE__ */ Q.createElement("path", {
|
|
2536
2541
|
d: "M12.951 10.297a3.307 3.307 0 1 0 0-6.614 3.307 3.307 0 0 0 0 6.614"
|
|
2537
2542
|
}))));
|
|
2538
2543
|
};
|
|
@@ -2548,15 +2553,15 @@ const V1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2548
2553
|
processTooltip: c,
|
|
2549
2554
|
defaultTooltip: u
|
|
2550
2555
|
}) => {
|
|
2551
|
-
const { nom: p, created_at:
|
|
2552
|
-
return /* @__PURE__ */
|
|
2556
|
+
const { nom: p, created_at: g, id: y, isBeingProcessed: m } = n, [C, f] = F(!1), { t: b } = k();
|
|
2557
|
+
return /* @__PURE__ */ h(
|
|
2553
2558
|
"div",
|
|
2554
2559
|
{
|
|
2555
2560
|
className: O.listElement,
|
|
2556
2561
|
style: { borderBottom: `1px solid ${t}` },
|
|
2557
2562
|
children: [
|
|
2558
|
-
/* @__PURE__ */
|
|
2559
|
-
l.nom && /* @__PURE__ */ s("div", { className: O.elementNameContainer, children: /* @__PURE__ */
|
|
2563
|
+
/* @__PURE__ */ h("div", { className: O.elementNameDate, onClick: () => d(y), children: [
|
|
2564
|
+
l.nom && /* @__PURE__ */ s("div", { className: O.elementNameContainer, children: /* @__PURE__ */ h("div", { className: O.elementName, children: [
|
|
2560
2565
|
o ? /* @__PURE__ */ s(T1, { style: { color: i, marginRight: 9 } }) : /* @__PURE__ */ s(
|
|
2561
2566
|
"img",
|
|
2562
2567
|
{
|
|
@@ -2566,39 +2571,39 @@ const V1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2566
2571
|
),
|
|
2567
2572
|
/* @__PURE__ */ s("span", { style: { color: o ? i : t }, children: p })
|
|
2568
2573
|
] }) }),
|
|
2569
|
-
l.data && /* @__PURE__ */ s("div", { className: O.elementDate, children:
|
|
2574
|
+
l.data && /* @__PURE__ */ s("div", { className: O.elementDate, children: g ? new Date(g).toLocaleDateString() : "" }),
|
|
2570
2575
|
l.ambit && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.ambit }),
|
|
2571
2576
|
l.escenari && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.escenari })
|
|
2572
2577
|
] }),
|
|
2573
|
-
/* @__PURE__ */
|
|
2574
|
-
n.processing && /* @__PURE__ */
|
|
2575
|
-
/* @__PURE__ */ s("img", { src:
|
|
2576
|
-
/* @__PURE__ */ s(
|
|
2578
|
+
/* @__PURE__ */ h("div", { className: O.elementButtons, children: [
|
|
2579
|
+
n.processing && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2580
|
+
/* @__PURE__ */ s("img", { src: L1 }),
|
|
2581
|
+
/* @__PURE__ */ s(G, { text: c, position: "left" })
|
|
2577
2582
|
] }),
|
|
2578
|
-
a.filter && !n.is_default && /* @__PURE__ */
|
|
2583
|
+
a.filter && !n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2579
2584
|
/* @__PURE__ */ s("button", { onClick: () => a.filter.onclick(n), children: /* @__PURE__ */ s("img", { src: M1 }) }),
|
|
2580
|
-
/* @__PURE__ */ s(
|
|
2585
|
+
/* @__PURE__ */ s(G, { text: a.filter.tooltiptext, position: "left" })
|
|
2581
2586
|
] }),
|
|
2582
|
-
a.copy && /* @__PURE__ */
|
|
2587
|
+
a.copy && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2583
2588
|
/* @__PURE__ */ s("button", { onClick: () => a.copy.onclick(n), children: /* @__PURE__ */ s("img", { src: F1 }) }),
|
|
2584
|
-
/* @__PURE__ */ s(
|
|
2589
|
+
/* @__PURE__ */ s(G, { text: a.copy.tooltiptext, position: "left" })
|
|
2585
2590
|
] }),
|
|
2586
|
-
a.trash && !n.is_default && /* @__PURE__ */
|
|
2591
|
+
a.trash && !n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2587
2592
|
/* @__PURE__ */ s("button", { onClick: () => a.trash.onclick(n), children: /* @__PURE__ */ s("img", { src: B1 }) }),
|
|
2588
|
-
/* @__PURE__ */ s(
|
|
2593
|
+
/* @__PURE__ */ s(G, { text: a.trash.tooltiptext, position: "left" })
|
|
2589
2594
|
] }),
|
|
2590
|
-
n.is_default && /* @__PURE__ */
|
|
2591
|
-
/* @__PURE__ */ s("img", { src:
|
|
2592
|
-
/* @__PURE__ */ s(
|
|
2595
|
+
n.is_default && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
|
|
2596
|
+
/* @__PURE__ */ s("img", { src: D1 }),
|
|
2597
|
+
/* @__PURE__ */ s(G, { text: u, position: "left" })
|
|
2593
2598
|
] })
|
|
2594
2599
|
] }),
|
|
2595
2600
|
r && /* @__PURE__ */ s("div", { className: O.break }),
|
|
2596
|
-
r && /* @__PURE__ */
|
|
2597
|
-
/* @__PURE__ */
|
|
2598
|
-
/* @__PURE__ */ s("span", { children:
|
|
2599
|
-
|
|
2601
|
+
r && /* @__PURE__ */ h("div", { className: O.moreInfoContainer, children: [
|
|
2602
|
+
/* @__PURE__ */ h("div", { className: O.moreInfo, onClick: () => f(!C), children: [
|
|
2603
|
+
/* @__PURE__ */ s("span", { children: C ? "-" : "+" }),
|
|
2604
|
+
b(r.label)
|
|
2600
2605
|
] }),
|
|
2601
|
-
r &&
|
|
2606
|
+
r && C && /* @__PURE__ */ s("div", { className: O.moreInfoInfo, children: n[r.info] })
|
|
2602
2607
|
] })
|
|
2603
2608
|
]
|
|
2604
2609
|
}
|
|
@@ -2639,7 +2644,7 @@ rt.propTypes = {
|
|
|
2639
2644
|
processTooltip: e.string,
|
|
2640
2645
|
defaultTooltip: e.string
|
|
2641
2646
|
};
|
|
2642
|
-
const
|
|
2647
|
+
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 = ({
|
|
2643
2648
|
elementsList: n,
|
|
2644
2649
|
activeElementId: d,
|
|
2645
2650
|
fontColor: o = "#605B56",
|
|
@@ -2648,57 +2653,57 @@ const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2648
2653
|
containerStyles: r = {},
|
|
2649
2654
|
newElementButton: l,
|
|
2650
2655
|
//{label: 'text', onClick: function()}/null
|
|
2651
|
-
onClickElement: a = (
|
|
2656
|
+
onClickElement: a = (m) => console.log(`OnCLickElement: ${m}`),
|
|
2652
2657
|
columns: c,
|
|
2653
2658
|
// {'nom': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
|
|
2654
2659
|
elementButtons: u,
|
|
2655
2660
|
//{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
|
|
2656
2661
|
moreInfo: p = !1,
|
|
2657
2662
|
//{label: 'x'}
|
|
2658
|
-
processTooltip:
|
|
2663
|
+
processTooltip: g,
|
|
2659
2664
|
//texto para el tooltip del simbolo "En proceso"
|
|
2660
2665
|
defaultTooltip: y
|
|
2661
2666
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
2662
2667
|
}) => {
|
|
2663
|
-
const { t:
|
|
2664
|
-
|
|
2665
|
-
n &&
|
|
2668
|
+
const { t: m } = k(), [C, f] = F(n);
|
|
2669
|
+
D(() => {
|
|
2670
|
+
n && f(n);
|
|
2666
2671
|
}, [n]);
|
|
2667
|
-
const
|
|
2668
|
-
if (
|
|
2669
|
-
let
|
|
2670
|
-
|
|
2672
|
+
const b = (_) => {
|
|
2673
|
+
if (C && C.length > 0) {
|
|
2674
|
+
let w = [...C];
|
|
2675
|
+
w.sort((x, v) => x[_].localeCompare(v[_])), f(w);
|
|
2671
2676
|
}
|
|
2672
2677
|
};
|
|
2673
|
-
return /* @__PURE__ */
|
|
2678
|
+
return /* @__PURE__ */ h(
|
|
2674
2679
|
"div",
|
|
2675
2680
|
{
|
|
2676
|
-
className:
|
|
2681
|
+
className: R.elementSelector,
|
|
2677
2682
|
style: { color: o, ...r },
|
|
2678
2683
|
children: [
|
|
2679
|
-
/* @__PURE__ */
|
|
2684
|
+
/* @__PURE__ */ h(
|
|
2680
2685
|
"div",
|
|
2681
2686
|
{
|
|
2682
|
-
className:
|
|
2687
|
+
className: R.header,
|
|
2683
2688
|
style: { borderBottom: `1px solid ${o}` },
|
|
2684
2689
|
children: [
|
|
2685
|
-
/* @__PURE__ */
|
|
2686
|
-
c.nom && /* @__PURE__ */ s("div", { className:
|
|
2687
|
-
/* @__PURE__ */ s("span", { children:
|
|
2688
|
-
/* @__PURE__ */ s("img", { src:
|
|
2690
|
+
/* @__PURE__ */ h("div", { className: R.nameDateContainer, children: [
|
|
2691
|
+
c.nom && /* @__PURE__ */ s("div", { className: R.elementName, children: /* @__PURE__ */ h("button", { onClick: () => b("name"), children: [
|
|
2692
|
+
/* @__PURE__ */ s("span", { children: m(c.nom) }),
|
|
2693
|
+
/* @__PURE__ */ s("img", { src: Ze })
|
|
2689
2694
|
] }) }),
|
|
2690
|
-
c.data && /* @__PURE__ */ s("div", { className:
|
|
2691
|
-
/* @__PURE__ */ s("span", { children:
|
|
2692
|
-
/* @__PURE__ */ s("img", { src:
|
|
2695
|
+
c.data && /* @__PURE__ */ s("div", { className: R.elementDate, children: /* @__PURE__ */ h("button", { onClick: () => b("date"), children: [
|
|
2696
|
+
/* @__PURE__ */ s("span", { children: m(c.data) }),
|
|
2697
|
+
/* @__PURE__ */ s("img", { src: Ze })
|
|
2693
2698
|
] }) }),
|
|
2694
|
-
c.ambit && /* @__PURE__ */ s("div", { className:
|
|
2695
|
-
c.escenari && /* @__PURE__ */ s("div", { className:
|
|
2699
|
+
c.ambit && /* @__PURE__ */ s("div", { className: R.elementDate, children: /* @__PURE__ */ s("span", { children: m(c.ambit) }) }),
|
|
2700
|
+
c.escenari && /* @__PURE__ */ s("div", { className: R.elementDate, children: /* @__PURE__ */ s("span", { children: m(c.escenari) }) })
|
|
2696
2701
|
] }),
|
|
2697
|
-
/* @__PURE__ */ s("div", { className:
|
|
2702
|
+
/* @__PURE__ */ s("div", { className: R.buttonsContainer })
|
|
2698
2703
|
]
|
|
2699
2704
|
}
|
|
2700
2705
|
),
|
|
2701
|
-
/* @__PURE__ */ s("div", { className:
|
|
2706
|
+
/* @__PURE__ */ s("div", { className: R.elementListContainer, children: C && C.length > 0 && C.map((_) => /* @__PURE__ */ s(
|
|
2702
2707
|
rt,
|
|
2703
2708
|
{
|
|
2704
2709
|
isActive: d == _.id,
|
|
@@ -2709,18 +2714,18 @@ const qe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2709
2714
|
columns: c,
|
|
2710
2715
|
elementButtons: u,
|
|
2711
2716
|
moreInfo: p,
|
|
2712
|
-
processTooltip:
|
|
2717
|
+
processTooltip: g,
|
|
2713
2718
|
defaultTooltip: y
|
|
2714
2719
|
},
|
|
2715
2720
|
`elementKey${_.id}`
|
|
2716
2721
|
)) }),
|
|
2717
|
-
l && /* @__PURE__ */ s("div", { className:
|
|
2718
|
-
|
|
2722
|
+
l && /* @__PURE__ */ s("div", { className: R.newElementButtonContainer, children: /* @__PURE__ */ s(
|
|
2723
|
+
de,
|
|
2719
2724
|
{
|
|
2720
2725
|
style: { ...t },
|
|
2721
2726
|
onClick: l.onClick,
|
|
2722
2727
|
borderColor: "grey",
|
|
2723
|
-
children:
|
|
2728
|
+
children: m(l.label)
|
|
2724
2729
|
}
|
|
2725
2730
|
) })
|
|
2726
2731
|
]
|
|
@@ -2773,10 +2778,10 @@ $1.propTypes = {
|
|
|
2773
2778
|
processTooltip: e.string,
|
|
2774
2779
|
defaultTooltip: e.string
|
|
2775
2780
|
};
|
|
2776
|
-
const
|
|
2781
|
+
const I = {
|
|
2777
2782
|
text: "text",
|
|
2778
2783
|
password: "password"
|
|
2779
|
-
}, A1 = "
|
|
2784
|
+
}, A1 = "_textInputContainer_15gun_2", O1 = "_labelContainer_15gun_5", I1 = "_inputContainer_15gun_8", R1 = "_showPasswordButton_15gun_14", E1 = "_forgotPassButton_15gun_26", ie = {
|
|
2780
2785
|
textInputContainer: A1,
|
|
2781
2786
|
labelContainer: O1,
|
|
2782
2787
|
inputContainer: I1,
|
|
@@ -2785,16 +2790,16 @@ const Ze = {
|
|
|
2785
2790
|
};
|
|
2786
2791
|
var P1 = (n) => n.type === "checkbox", j1 = (n) => n instanceof Date, at = (n) => n == null;
|
|
2787
2792
|
const z1 = (n) => typeof n == "object";
|
|
2788
|
-
var
|
|
2793
|
+
var oe = (n) => !at(n) && !Array.isArray(n) && z1(n) && !j1(n), q1 = (n) => oe(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) => {
|
|
2789
2794
|
const d = n.constructor && n.constructor.prototype;
|
|
2790
|
-
return
|
|
2795
|
+
return oe(d) && d.hasOwnProperty("isPrototypeOf");
|
|
2791
2796
|
}, U1 = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
2792
2797
|
function lt(n) {
|
|
2793
2798
|
let d;
|
|
2794
2799
|
const o = Array.isArray(n), i = typeof FileList < "u" ? n instanceof FileList : !1;
|
|
2795
2800
|
if (n instanceof Date)
|
|
2796
2801
|
d = new Date(n);
|
|
2797
|
-
else if (!(U1 && (n instanceof Blob || i)) && (o ||
|
|
2802
|
+
else if (!(U1 && (n instanceof Blob || i)) && (o || oe(n)))
|
|
2798
2803
|
if (d = o ? [] : {}, !o && !K1(n))
|
|
2799
2804
|
d = n;
|
|
2800
2805
|
else
|
|
@@ -2804,12 +2809,12 @@ function lt(n) {
|
|
|
2804
2809
|
return n;
|
|
2805
2810
|
return d;
|
|
2806
2811
|
}
|
|
2807
|
-
var ct = (n) => /^\w*$/.test(n),
|
|
2808
|
-
if (!d || !
|
|
2812
|
+
var ct = (n) => /^\w*$/.test(n), Fe = (n) => n === void 0, G1 = (n) => Array.isArray(n) ? n.filter(Boolean) : [], dt = (n) => G1(n.replace(/["|']|\]/g, "").split(/\.|\[/)), $ = (n, d, o) => {
|
|
2813
|
+
if (!d || !oe(n))
|
|
2809
2814
|
return o;
|
|
2810
2815
|
const i = (ct(d) ? [d] : dt(d)).reduce((t, r) => at(t) ? t : t[r], n);
|
|
2811
|
-
return
|
|
2812
|
-
},
|
|
2816
|
+
return Fe(i) || i === n ? Fe(n[d]) ? o : n[d] : i;
|
|
2817
|
+
}, _e = (n) => typeof n == "boolean", He = (n, d, o) => {
|
|
2813
2818
|
let i = -1;
|
|
2814
2819
|
const t = ct(d) ? [d] : dt(d), r = t.length, l = r - 1;
|
|
2815
2820
|
for (; ++i < r; ) {
|
|
@@ -2817,7 +2822,7 @@ var ct = (n) => /^\w*$/.test(n), Be = (n) => n === void 0, G1 = (n) => Array.isA
|
|
|
2817
2822
|
let c = o;
|
|
2818
2823
|
if (i !== l) {
|
|
2819
2824
|
const u = n[a];
|
|
2820
|
-
c =
|
|
2825
|
+
c = oe(u) || Array.isArray(u) ? u : isNaN(+t[i + 1]) ? {} : [];
|
|
2821
2826
|
}
|
|
2822
2827
|
if (a === "__proto__" || a === "constructor" || a === "prototype")
|
|
2823
2828
|
return;
|
|
@@ -2831,7 +2836,7 @@ const Ke = {
|
|
|
2831
2836
|
all: "all"
|
|
2832
2837
|
}, ut = N.createContext(null);
|
|
2833
2838
|
ut.displayName = "HookFormContext";
|
|
2834
|
-
const
|
|
2839
|
+
const $e = () => N.useContext(ut);
|
|
2835
2840
|
var Y1 = (n, d, o, i = !0) => {
|
|
2836
2841
|
const t = {
|
|
2837
2842
|
defaultValues: d._defaultValues
|
|
@@ -2845,9 +2850,9 @@ var Y1 = (n, d, o, i = !0) => {
|
|
|
2845
2850
|
});
|
|
2846
2851
|
return t;
|
|
2847
2852
|
};
|
|
2848
|
-
const pt = typeof window < "u" ?
|
|
2853
|
+
const pt = typeof window < "u" ? Q.useLayoutEffect : Q.useEffect;
|
|
2849
2854
|
function W1(n) {
|
|
2850
|
-
const d =
|
|
2855
|
+
const d = $e(), { control: o = d.control, disabled: i, name: t, exact: r } = n || {}, [l, a] = N.useState(o._formState), c = N.useRef({
|
|
2851
2856
|
isDirty: !1,
|
|
2852
2857
|
isLoading: !1,
|
|
2853
2858
|
dirtyFields: !1,
|
|
@@ -2873,7 +2878,7 @@ function W1(n) {
|
|
|
2873
2878
|
}
|
|
2874
2879
|
var J1 = (n) => typeof n == "string", X1 = (n, d, o, i, t) => J1(n) ? $(o, n, t) : Array.isArray(n) ? n.map((r) => $(o, r)) : o;
|
|
2875
2880
|
function Q1(n) {
|
|
2876
|
-
const d =
|
|
2881
|
+
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));
|
|
2877
2882
|
return pt(() => o._subscribe({
|
|
2878
2883
|
name: i,
|
|
2879
2884
|
formState: {
|
|
@@ -2884,7 +2889,7 @@ function Q1(n) {
|
|
|
2884
2889
|
}), [i, o, r, l]), N.useEffect(() => o._removeUnmounted()), c;
|
|
2885
2890
|
}
|
|
2886
2891
|
function en(n) {
|
|
2887
|
-
const d =
|
|
2892
|
+
const d = $e(), { name: o, disabled: i, control: t = d.control, shouldUnregister: r } = n, l = H1(t._names.array, o), a = Q1({
|
|
2888
2893
|
control: t,
|
|
2889
2894
|
name: o,
|
|
2890
2895
|
defaultValue: $(t._formValues, o, $(t._defaultValues, o, n.defaultValue)),
|
|
@@ -2896,8 +2901,8 @@ function en(n) {
|
|
|
2896
2901
|
}), u = N.useRef(n), p = N.useRef(t.register(o, {
|
|
2897
2902
|
...n.rules,
|
|
2898
2903
|
value: a,
|
|
2899
|
-
...
|
|
2900
|
-
})),
|
|
2904
|
+
..._e(n.disabled) ? { disabled: n.disabled } : {}
|
|
2905
|
+
})), g = N.useMemo(() => Object.defineProperties({}, {
|
|
2901
2906
|
invalid: {
|
|
2902
2907
|
enumerable: !0,
|
|
2903
2908
|
get: () => !!$(c.errors, o)
|
|
@@ -2918,50 +2923,50 @@ function en(n) {
|
|
|
2918
2923
|
enumerable: !0,
|
|
2919
2924
|
get: () => $(c.errors, o)
|
|
2920
2925
|
}
|
|
2921
|
-
}), [c, o]), y = N.useCallback((
|
|
2926
|
+
}), [c, o]), y = N.useCallback((b) => p.current.onChange({
|
|
2922
2927
|
target: {
|
|
2923
|
-
value: q1(
|
|
2928
|
+
value: q1(b),
|
|
2924
2929
|
name: o
|
|
2925
2930
|
},
|
|
2926
2931
|
type: Ke.CHANGE
|
|
2927
|
-
}), [o]),
|
|
2932
|
+
}), [o]), m = N.useCallback(() => p.current.onBlur({
|
|
2928
2933
|
target: {
|
|
2929
2934
|
value: $(t._formValues, o),
|
|
2930
2935
|
name: o
|
|
2931
2936
|
},
|
|
2932
2937
|
type: Ke.BLUR
|
|
2933
|
-
}), [o, t._formValues]),
|
|
2938
|
+
}), [o, t._formValues]), C = N.useCallback((b) => {
|
|
2934
2939
|
const _ = $(t._fields, o);
|
|
2935
|
-
_ &&
|
|
2936
|
-
focus: () =>
|
|
2937
|
-
select: () =>
|
|
2938
|
-
setCustomValidity: (
|
|
2939
|
-
reportValidity: () =>
|
|
2940
|
+
_ && b && (_._f.ref = {
|
|
2941
|
+
focus: () => b.focus && b.focus(),
|
|
2942
|
+
select: () => b.select && b.select(),
|
|
2943
|
+
setCustomValidity: (w) => b.setCustomValidity(w),
|
|
2944
|
+
reportValidity: () => b.reportValidity()
|
|
2940
2945
|
});
|
|
2941
|
-
}, [t._fields, o]),
|
|
2946
|
+
}, [t._fields, o]), f = N.useMemo(() => ({
|
|
2942
2947
|
name: o,
|
|
2943
2948
|
value: a,
|
|
2944
|
-
...
|
|
2949
|
+
..._e(i) || c.disabled ? { disabled: c.disabled || i } : {},
|
|
2945
2950
|
onChange: y,
|
|
2946
|
-
onBlur:
|
|
2947
|
-
ref:
|
|
2948
|
-
}), [o, i, c.disabled, y,
|
|
2951
|
+
onBlur: m,
|
|
2952
|
+
ref: C
|
|
2953
|
+
}), [o, i, c.disabled, y, m, C, a]);
|
|
2949
2954
|
return N.useEffect(() => {
|
|
2950
|
-
const
|
|
2955
|
+
const b = t._options.shouldUnregister || r;
|
|
2951
2956
|
t.register(o, {
|
|
2952
2957
|
...u.current.rules,
|
|
2953
|
-
...
|
|
2958
|
+
..._e(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
2954
2959
|
});
|
|
2955
|
-
const _ = (
|
|
2956
|
-
const v = $(t._fields,
|
|
2957
|
-
v && v._f && (v._f.mount =
|
|
2960
|
+
const _ = (w, x) => {
|
|
2961
|
+
const v = $(t._fields, w);
|
|
2962
|
+
v && v._f && (v._f.mount = x);
|
|
2958
2963
|
};
|
|
2959
|
-
if (_(o, !0),
|
|
2960
|
-
const
|
|
2961
|
-
He(t._defaultValues, o,
|
|
2964
|
+
if (_(o, !0), b) {
|
|
2965
|
+
const w = lt($(t._options.defaultValues, o));
|
|
2966
|
+
He(t._defaultValues, o, w), Fe($(t._formValues, o)) && He(t._formValues, o, w);
|
|
2962
2967
|
}
|
|
2963
2968
|
return !l && t.register(o), () => {
|
|
2964
|
-
(l ?
|
|
2969
|
+
(l ? b && !t._state.action : b) ? t.unregister(o) : _(o, !1);
|
|
2965
2970
|
};
|
|
2966
2971
|
}, [o, t, l, r]), N.useEffect(() => {
|
|
2967
2972
|
t._setDisabledField({
|
|
@@ -2969,10 +2974,10 @@ function en(n) {
|
|
|
2969
2974
|
name: o
|
|
2970
2975
|
});
|
|
2971
2976
|
}, [i, o, t]), N.useMemo(() => ({
|
|
2972
|
-
field:
|
|
2977
|
+
field: f,
|
|
2973
2978
|
formState: c,
|
|
2974
|
-
fieldState:
|
|
2975
|
-
}), [
|
|
2979
|
+
fieldState: g
|
|
2980
|
+
}), [f, c, g]);
|
|
2976
2981
|
}
|
|
2977
2982
|
const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
2978
2983
|
errorMessage: nn
|
|
@@ -3001,61 +3006,61 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3001
3006
|
placeholder: c,
|
|
3002
3007
|
errorColor: u = "red",
|
|
3003
3008
|
width: p = 325,
|
|
3004
|
-
onClickForgotPass:
|
|
3009
|
+
onClickForgotPass: g = () => {
|
|
3005
3010
|
console.log("Click on forgot password");
|
|
3006
3011
|
},
|
|
3007
3012
|
forgotPassLabel: y = "forgot-password"
|
|
3008
|
-
} = n, { t:
|
|
3013
|
+
} = n, { t: m } = k(), [C, f] = F(!1), b = () => i ? i === "password" && C ? "text" : i : "text";
|
|
3009
3014
|
return /* @__PURE__ */ s(
|
|
3010
3015
|
tn,
|
|
3011
3016
|
{
|
|
3012
3017
|
name: o,
|
|
3013
3018
|
control: d,
|
|
3014
3019
|
rules: {
|
|
3015
|
-
required: l ? `${
|
|
3020
|
+
required: l ? `${m(t)} ${m("errorMessages.required")}` : !1,
|
|
3016
3021
|
maxLength: r || void 0,
|
|
3017
3022
|
validate: a || void 0
|
|
3018
3023
|
},
|
|
3019
|
-
render: ({ field: _, fieldState:
|
|
3020
|
-
var
|
|
3021
|
-
return /* @__PURE__ */
|
|
3022
|
-
/* @__PURE__ */
|
|
3023
|
-
|
|
3024
|
+
render: ({ field: _, fieldState: w }) => {
|
|
3025
|
+
var x;
|
|
3026
|
+
return /* @__PURE__ */ h("div", { className: ie.textInputContainer, children: [
|
|
3027
|
+
/* @__PURE__ */ h("h3", { className: ie.labelContainer, children: [
|
|
3028
|
+
m(t),
|
|
3024
3029
|
" ",
|
|
3025
|
-
l && /* @__PURE__ */ s("label", { style: { color:
|
|
3030
|
+
l && /* @__PURE__ */ s("label", { style: { color: w.error ? u : "" }, children: "*" })
|
|
3026
3031
|
] }),
|
|
3027
|
-
/* @__PURE__ */
|
|
3032
|
+
/* @__PURE__ */ h(
|
|
3028
3033
|
"div",
|
|
3029
3034
|
{
|
|
3030
3035
|
style: { position: "relative", width: p },
|
|
3031
|
-
className:
|
|
3036
|
+
className: ie.inputContainer,
|
|
3032
3037
|
children: [
|
|
3033
3038
|
/* @__PURE__ */ s(
|
|
3034
3039
|
"input",
|
|
3035
3040
|
{
|
|
3036
|
-
type:
|
|
3041
|
+
type: b(),
|
|
3037
3042
|
..._,
|
|
3038
|
-
placeholder: c ?
|
|
3043
|
+
placeholder: c ? m(c) : "",
|
|
3039
3044
|
maxLength: r || void 0
|
|
3040
3045
|
}
|
|
3041
3046
|
),
|
|
3042
3047
|
i == "password" && /* @__PURE__ */ s(
|
|
3043
3048
|
"button",
|
|
3044
3049
|
{
|
|
3045
|
-
onClick: () =>
|
|
3050
|
+
onClick: () => f(!C),
|
|
3046
3051
|
type: "button",
|
|
3047
|
-
className:
|
|
3048
|
-
children:
|
|
3052
|
+
className: ie.showPasswordButton,
|
|
3053
|
+
children: C ? "🙈" : "👁️"
|
|
3049
3054
|
}
|
|
3050
3055
|
)
|
|
3051
3056
|
]
|
|
3052
3057
|
}
|
|
3053
3058
|
),
|
|
3054
|
-
i == "password" && /* @__PURE__ */ s("div", { className:
|
|
3059
|
+
i == "password" && /* @__PURE__ */ s("div", { className: ie.forgotPassButton, children: /* @__PURE__ */ s("button", { onClick: g, children: m(y) }) }),
|
|
3055
3060
|
/* @__PURE__ */ s(
|
|
3056
3061
|
mt,
|
|
3057
3062
|
{
|
|
3058
|
-
errorMessage: (
|
|
3063
|
+
errorMessage: (x = w.error) == null ? void 0 : x.message,
|
|
3059
3064
|
errorColor: u
|
|
3060
3065
|
}
|
|
3061
3066
|
)
|
|
@@ -3063,30 +3068,30 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3063
3068
|
}
|
|
3064
3069
|
}
|
|
3065
3070
|
);
|
|
3066
|
-
}, sn = "_formContainer_fx5a2_2", rn = "_formObjectContainer_fx5a2_11", an = "_buttonContainer_fx5a2_21",
|
|
3071
|
+
}, sn = "_formContainer_fx5a2_2", rn = "_formObjectContainer_fx5a2_11", an = "_buttonContainer_fx5a2_21", ve = {
|
|
3067
3072
|
formContainer: sn,
|
|
3068
3073
|
formObjectContainer: rn,
|
|
3069
3074
|
buttonContainer: an
|
|
3070
|
-
}, ln = "_inputsContainer_10t9s_2",
|
|
3075
|
+
}, ln = "_inputsContainer_10t9s_2", we = {
|
|
3071
3076
|
inputsContainer: ln
|
|
3072
|
-
}, xe = ({ inputs: n, control: d, inputContainerStyles: o }) => /* @__PURE__ */ s("div", { className:
|
|
3077
|
+
}, xe = ({ inputs: n, control: d, inputContainerStyles: o }) => /* @__PURE__ */ s("div", { className: we.inputsContainer, children: n == null ? void 0 : n.map((i, t) => {
|
|
3073
3078
|
const { inputType: r } = i;
|
|
3074
3079
|
switch (r) {
|
|
3075
|
-
case
|
|
3076
|
-
const { code: l, type: a, label: c, maxLength: u, required: p, validateFunction:
|
|
3080
|
+
case I.text:
|
|
3081
|
+
const { code: l, type: a, label: c, maxLength: u, required: p, validateFunction: g } = i;
|
|
3077
3082
|
return /* @__PURE__ */ s(
|
|
3078
3083
|
"div",
|
|
3079
3084
|
{
|
|
3080
|
-
className:
|
|
3085
|
+
className: we.inputContainer,
|
|
3081
3086
|
style: { ...o },
|
|
3082
3087
|
children: /* @__PURE__ */ s(Ge, { input: i, control: d })
|
|
3083
3088
|
}
|
|
3084
3089
|
);
|
|
3085
|
-
case
|
|
3090
|
+
case I.password:
|
|
3086
3091
|
return /* @__PURE__ */ s(
|
|
3087
3092
|
"div",
|
|
3088
3093
|
{
|
|
3089
|
-
className:
|
|
3094
|
+
className: we.inputContainer,
|
|
3090
3095
|
style: { ...o },
|
|
3091
3096
|
children: /* @__PURE__ */ s(Ge, { input: i, control: d })
|
|
3092
3097
|
}
|
|
@@ -3094,7 +3099,7 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3094
3099
|
default:
|
|
3095
3100
|
return /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s("h4", { children: "Default" }) });
|
|
3096
3101
|
}
|
|
3097
|
-
}) }),
|
|
3102
|
+
}) }), cn = ({
|
|
3098
3103
|
reactHookFormInstance: n,
|
|
3099
3104
|
formObject: d,
|
|
3100
3105
|
//Component with {title, children} as props.
|
|
@@ -3105,74 +3110,87 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3105
3110
|
generalError: t,
|
|
3106
3111
|
errorColor: r = "red",
|
|
3107
3112
|
submitButtonLabel: l = "Submit",
|
|
3108
|
-
|
|
3113
|
+
submitButtonStyles: a = { width: 325 },
|
|
3114
|
+
onSubmit: c = (u) => console.log("Form submitted with data: ", u)
|
|
3109
3115
|
}) => {
|
|
3110
3116
|
const {
|
|
3111
|
-
register:
|
|
3112
|
-
handleSubmit:
|
|
3113
|
-
watch:
|
|
3114
|
-
control:
|
|
3115
|
-
formState: { errors:
|
|
3117
|
+
register: u,
|
|
3118
|
+
handleSubmit: p,
|
|
3119
|
+
watch: g,
|
|
3120
|
+
control: y,
|
|
3121
|
+
formState: { errors: m }
|
|
3116
3122
|
} = n;
|
|
3117
|
-
|
|
3118
|
-
console.log("Errors ",
|
|
3119
|
-
}, [JSON.stringify(
|
|
3120
|
-
const { t:
|
|
3123
|
+
D(() => {
|
|
3124
|
+
console.log("Errors ", m);
|
|
3125
|
+
}, [JSON.stringify(m)]);
|
|
3126
|
+
const { t: C } = k();
|
|
3121
3127
|
return (
|
|
3122
3128
|
/* "handleSubmit" will validate your inputs before invoking "onSubmit" */
|
|
3123
|
-
/* @__PURE__ */
|
|
3124
|
-
/* @__PURE__ */ s("div", { className:
|
|
3125
|
-
const { inputs:
|
|
3126
|
-
return
|
|
3129
|
+
/* @__PURE__ */ h("form", { className: ve.formContainer, onSubmit: p(c), children: [
|
|
3130
|
+
/* @__PURE__ */ s("div", { className: ve.formObjectContainer, children: d && d.map((f, b) => {
|
|
3131
|
+
const { inputs: _ } = f;
|
|
3132
|
+
return f.category ? o ? /* @__PURE__ */ s(
|
|
3127
3133
|
o,
|
|
3128
3134
|
{
|
|
3129
|
-
title:
|
|
3135
|
+
title: f.category,
|
|
3130
3136
|
children: /* @__PURE__ */ s(
|
|
3131
3137
|
xe,
|
|
3132
3138
|
{
|
|
3133
|
-
inputs:
|
|
3134
|
-
control:
|
|
3139
|
+
inputs: _,
|
|
3140
|
+
control: y,
|
|
3135
3141
|
inputContainerStyles: i,
|
|
3136
3142
|
errorColor: r
|
|
3137
3143
|
}
|
|
3138
3144
|
)
|
|
3139
3145
|
},
|
|
3140
|
-
`${
|
|
3141
|
-
) : /* @__PURE__ */
|
|
3142
|
-
/* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children:
|
|
3146
|
+
`${f.category}${b}`
|
|
3147
|
+
) : /* @__PURE__ */ h("div", { style: { width: "100%" }, children: [
|
|
3148
|
+
/* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children: f.category }),
|
|
3143
3149
|
/* @__PURE__ */ s("p", { children: "This is a category component example." }),
|
|
3144
3150
|
/* @__PURE__ */ s("div", { style: { paddingTop: 50, width: "100%" }, children: /* @__PURE__ */ s(
|
|
3145
3151
|
xe,
|
|
3146
3152
|
{
|
|
3147
|
-
inputs:
|
|
3148
|
-
control:
|
|
3153
|
+
inputs: _,
|
|
3154
|
+
control: y,
|
|
3149
3155
|
inputContainerStyles: i,
|
|
3150
3156
|
errorColor: r
|
|
3151
3157
|
}
|
|
3152
3158
|
) })
|
|
3153
|
-
] }, `${
|
|
3159
|
+
] }, `${f.category}${b}`) : /* @__PURE__ */ s("div", { style: { width: "100%" }, children: /* @__PURE__ */ s(
|
|
3154
3160
|
xe,
|
|
3155
3161
|
{
|
|
3156
3162
|
inputContainerStyles: i,
|
|
3157
|
-
inputs:
|
|
3158
|
-
control:
|
|
3163
|
+
inputs: _,
|
|
3164
|
+
control: y,
|
|
3159
3165
|
errorColor: r
|
|
3160
3166
|
}
|
|
3161
3167
|
) }, `inputKey${b}`);
|
|
3162
3168
|
}) }),
|
|
3163
|
-
/* @__PURE__ */
|
|
3164
|
-
/* @__PURE__ */ s(
|
|
3169
|
+
/* @__PURE__ */ h("div", { className: ve.buttonContainer, children: [
|
|
3170
|
+
/* @__PURE__ */ s(de, { containerStyles: a, type: "submit", children: C(l) }),
|
|
3165
3171
|
/* @__PURE__ */ s(mt, { errorMessage: t, errorColor: r })
|
|
3166
3172
|
] })
|
|
3167
3173
|
] })
|
|
3168
3174
|
);
|
|
3169
|
-
}
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3175
|
+
};
|
|
3176
|
+
cn.propTypes = {
|
|
3177
|
+
reactHookFormInstance: I.reactHookFormInstance.isRequired,
|
|
3178
|
+
formObject: I.formObject.isRequired,
|
|
3179
|
+
CategoryComponent: I.CategoryComponent,
|
|
3180
|
+
inputContainerStyles: I.inputContainerStyles,
|
|
3181
|
+
generalError: I.generalError,
|
|
3182
|
+
errorColor: I.errorColor,
|
|
3183
|
+
submitButtonLabel: I.submitButtonLabel,
|
|
3184
|
+
submitButtonStyles: I.submitButtonStyles,
|
|
3185
|
+
onSubmit: I.onSubmit
|
|
3186
|
+
};
|
|
3187
|
+
const dn = "_header_13kbt_2", un = "_leftComponents_13kbt_13", pn = "_centerComponents_13kbt_14", mn = "_rightComponents_13kbt_15", hn = "_componentsContainer_13kbt_32", U = {
|
|
3188
|
+
header: dn,
|
|
3189
|
+
leftComponents: un,
|
|
3190
|
+
centerComponents: pn,
|
|
3191
|
+
rightComponents: mn,
|
|
3192
|
+
componentsContainer: hn
|
|
3193
|
+
}, gn = ({
|
|
3176
3194
|
cssProps: n,
|
|
3177
3195
|
leftComponents: d = [],
|
|
3178
3196
|
centerComponents: o = [],
|
|
@@ -3182,10 +3200,10 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3182
3200
|
backgroundColor: l = "#605B56",
|
|
3183
3201
|
isFooter: a = !1
|
|
3184
3202
|
// If true, it will apply footer styles
|
|
3185
|
-
}) => /* @__PURE__ */
|
|
3203
|
+
}) => /* @__PURE__ */ h(
|
|
3186
3204
|
"div",
|
|
3187
3205
|
{
|
|
3188
|
-
className:
|
|
3206
|
+
className: U.header,
|
|
3189
3207
|
style: {
|
|
3190
3208
|
...n,
|
|
3191
3209
|
zIndex: t,
|
|
@@ -3195,13 +3213,13 @@ const tn = (n) => n.render(en(n)), nn = "_errorMessage_1xiyb_2", on = {
|
|
|
3195
3213
|
bottom: a ? 0 : "auto"
|
|
3196
3214
|
},
|
|
3197
3215
|
children: [
|
|
3198
|
-
/* @__PURE__ */ s("div", { className:
|
|
3199
|
-
/* @__PURE__ */ s("div", { className:
|
|
3200
|
-
/* @__PURE__ */ s("div", { className:
|
|
3216
|
+
/* @__PURE__ */ s("div", { className: U.leftComponents, children: d.map((c, u) => /* @__PURE__ */ s("div", { className: U.componentsContainer, children: c }, u)) }),
|
|
3217
|
+
/* @__PURE__ */ s("div", { className: U.centerComponents, children: o.map((c, u) => /* @__PURE__ */ s("div", { className: U.componentsContainer, children: c }, u)) }),
|
|
3218
|
+
/* @__PURE__ */ s("div", { className: U.rightComponents, children: i.map((c, u) => /* @__PURE__ */ s("div", { className: U.componentsContainer, children: c }, u)) })
|
|
3201
3219
|
]
|
|
3202
3220
|
}
|
|
3203
3221
|
);
|
|
3204
|
-
|
|
3222
|
+
gn.propTypes = {
|
|
3205
3223
|
leftComponents: e.arrayOf(e.node),
|
|
3206
3224
|
centerComponents: e.arrayOf(e.node),
|
|
3207
3225
|
rightComponents: e.arrayOf(e.node),
|
|
@@ -3211,28 +3229,33 @@ hn.propTypes = {
|
|
|
3211
3229
|
backgroundColor: e.string,
|
|
3212
3230
|
isFooter: e.bool
|
|
3213
3231
|
};
|
|
3214
|
-
const
|
|
3215
|
-
sidebar:
|
|
3216
|
-
open:
|
|
3217
|
-
content:
|
|
3218
|
-
closeButton:
|
|
3219
|
-
},
|
|
3232
|
+
const Cn = "_sidebar_pt7g1_2", fn = "_open_pt7g1_16", bn = "_content_pt7g1_20", yn = "_closeButton_pt7g1_26", le = {
|
|
3233
|
+
sidebar: Cn,
|
|
3234
|
+
open: fn,
|
|
3235
|
+
content: bn,
|
|
3236
|
+
closeButton: yn
|
|
3237
|
+
}, _n = "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 = ({
|
|
3238
|
+
width: n = "300px",
|
|
3239
|
+
children: d,
|
|
3240
|
+
showRightBar: o,
|
|
3241
|
+
onCloseBar: i
|
|
3242
|
+
}) => {
|
|
3220
3243
|
const t = () => {
|
|
3221
3244
|
i();
|
|
3222
3245
|
};
|
|
3223
3246
|
return /* @__PURE__ */ s(
|
|
3224
3247
|
"div",
|
|
3225
3248
|
{
|
|
3226
|
-
className: `${
|
|
3249
|
+
className: `${le.sidebar} ${o ? le.open : ""}`,
|
|
3227
3250
|
style: { width: o ? n : 0 },
|
|
3228
|
-
children: o && /* @__PURE__ */
|
|
3229
|
-
/* @__PURE__ */ s("button", { className:
|
|
3251
|
+
children: o && /* @__PURE__ */ h("div", { className: le.content, children: [
|
|
3252
|
+
/* @__PURE__ */ s("button", { className: le.closeButton, onClick: t, children: /* @__PURE__ */ s("img", { src: _n, alt: "Close Sidebar" }) }),
|
|
3230
3253
|
d
|
|
3231
3254
|
] })
|
|
3232
3255
|
}
|
|
3233
3256
|
);
|
|
3234
3257
|
};
|
|
3235
|
-
|
|
3258
|
+
vn.propTypes = {
|
|
3236
3259
|
width: e.string,
|
|
3237
3260
|
children: e.node,
|
|
3238
3261
|
showRightBar: e.bool,
|
|
@@ -3241,12 +3264,12 @@ yn.propTypes = {
|
|
|
3241
3264
|
export {
|
|
3242
3265
|
s2 as AmbitSelector,
|
|
3243
3266
|
f2 as ButtonsList,
|
|
3244
|
-
|
|
3245
|
-
|
|
3267
|
+
Y as DropdownList,
|
|
3268
|
+
En as EditAmbit,
|
|
3246
3269
|
q2 as FiltersAmbit,
|
|
3247
|
-
|
|
3270
|
+
cn as Form,
|
|
3248
3271
|
G2 as Graphic,
|
|
3249
|
-
|
|
3272
|
+
gn as HeaderSection,
|
|
3250
3273
|
p0 as IndicatorsList,
|
|
3251
3274
|
b0 as LangSelector,
|
|
3252
3275
|
T0 as Legend,
|
|
@@ -3255,9 +3278,9 @@ export {
|
|
|
3255
3278
|
$0 as LogoApp,
|
|
3256
3279
|
I0 as MapboxMap,
|
|
3257
3280
|
q0 as MaplibreMap,
|
|
3258
|
-
|
|
3259
|
-
|
|
3281
|
+
vn as RightSidebar,
|
|
3282
|
+
Pn as SectionBar,
|
|
3260
3283
|
i1 as TimeSlider,
|
|
3261
|
-
|
|
3284
|
+
G as Tooltip,
|
|
3262
3285
|
a1 as TopNavMenu
|
|
3263
3286
|
};
|