@tmf_ciclica/ciclicastorybook 1.1.110 → 1.1.112
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 +6 -4
- package/dist/index.es.js +1385 -1155
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_8d6ru_2{padding:5px 95px;border-radius:100px}._buttonsContainer_1audx_2{display:flex;gap:8px}._buttonsContainer_1audx_2._vertical_1audx_6{flex-direction:column}._buttonsContainer_1audx_2._horizontal_1audx_9{flex-direction:row}._button_1audx_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1audx_2:hover{opacity:.8}._button_1audx_2._active_1audx_25{font-weight:700}._button_1audx_2 ._buttonName_1audx_28{margin:0 4px}._left_1l4m4_2{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_1l4m4_2:before{content:"";position:absolute;top:50%;left:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent transparent #ccc;z-index:-2}._left_1l4m4_2:after{content:"";position:absolute;top:50%;left:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent transparent #fff;z-index:-1}._top_1l4m4_40{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._top_1l4m4_40:before{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:#ccc transparent transparent transparent;z-index:-2}._top_1l4m4_40:after{content:"";position:absolute;top:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:#fff transparent transparent transparent;z-index:-1}._bottom_1l4m4_79{position:absolute;width:auto;top:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._bottom_1l4m4_79:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent #ccc transparent;z-index:-2}._bottom_1l4m4_79:after{content:"";position:absolute;bottom:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent #fff transparent;z-index:-1}._right_1l4m4_118{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:20px;margin:0;white-space:nowrap;color:#000;z-index:10}._right_1l4m4_118:before{content:"";position:absolute;top:50%;right:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent #ccc transparent transparent;z-index:-2}._right_1l4m4_118:after{content:"";position:absolute;top:50%;right:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent #fff transparent transparent;z-index:-1}._AppliedFiltersContainer_cokx9_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start;flex-wrap:wrap}._AppliedFiltersContainer_cokx9_2 ._AppliedFilterContent_cokx9_11{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:0 20px;border-radius:100px}._checkboxContainer_zld97_2{display:flex;align-items:center;gap:.5rem;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_zld97_2 input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:1px;background-color:#fff;cursor:pointer}._container_15vgv_2{padding-top:15px;font-size:14px}._container_15vgv_2 span{font-size:14px}._container_15vgv_2 ._unitLabel_15vgv_9{height:40px}._container_15vgv_2 ._slider_15vgv_12{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_15vgv_2 ._thumb_15vgv_18{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_15vgv_2 ._track_15vgv_27{top:0;bottom:0;background:#605b56;border-radius:3px}._container_15vgv_2 ._labels_15vgv_33{display:flex;justify-content:space-between;font-size:14px;margin-top:10px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 label,._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input{cursor:pointer;font-size:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background-color:#fff;transition:background-color .2s ease;cursor:pointer;vertical-align:middle}._tematicalFiltersInputContainer_1vm1r_2 ._checkboxContainer_1vm1r_28{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px}._tematicalFiltersInputContainer_1vm1r_2 ._absoluteSliderContainer_1vm1r_37{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:flex-start}._FiltersAmbitContainer_1g9xx_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitTitle_1g9xx_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 0 26px;font-size:16px;font-weight:400}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22 ._FiltersAmbitDescriptionTitle_1g9xx_33{font-size:18px;font-weight:600}._FiltersAmbitContainer_1g9xx_2 ._warning_1g9xx_37{color:red}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_1go6h_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_1go6h_2 ._indicatorNameContainer_1go6h_11{gap:10px;display:grid;grid-template-columns:15px auto;align-items:center}._indicatorContainer_1go6h_2 ._dot_1go6h_17{border-radius:100px;width:16px;height:16px}._indicatorContainer_1go6h_2 ._indicatorName_1go6h_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_1go6h_28{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37{margin:0;width:100%}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._customRadious_1go6h_62{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._optionText_1go6h_69{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_qs4x9_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative;overflow-y:scroll}._legendContainer_qs4x9_3::-webkit-scrollbar{width:8px}._legendContainer_qs4x9_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_qs4x9_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31{position:absolute;right:20px;top:20px;width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before,._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before{transform:rotate(45deg)}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{transform:rotate(-45deg)}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59{border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59 h2{padding-bottom:16px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65{padding-top:20px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_qs4x9_3 ._titleLegendList_qs4x9_76{font-size:20px;padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88 ._colorDot_qs4x9_94{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100{position:relative}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueColor_qs4x9_103{height:130px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueText_qs4x9_108{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120{position:relative;margin-top:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._noData_qs4x9_120{height:22px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._absoluteValueText_qs4x9_108{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_qs4x9_3 ._moreInfoContainer_qs4x9_141{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_mt8l5_2{padding:15px;color:#92898a}._FeaturePopUp_mt8l5_2 p{margin-bottom:10px}._FeaturePopUp_mt8l5_2 ._title_mt8l5_9{font-weight:600;margin-right:5px;color:#92898a}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_a19yo_2{position:absolute;padding:5px 20px;right:150px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;top:188px;transition:all .5s ease-out}._slider_a19yo_2 ._playButton_a19yo_17,._slider_a19yo_2 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._slider_a19yo_2 ._playButton_a19yo_17 img{height:30px;width:30px}._sliderOpen_a19yo_28{right:490px}._sliderResults_a19yo_32{position:absolute;top:75px;right:430px;padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._sliderResults_a19yo_32 ._playButton_a19yo_17,._sliderResults_a19yo_32 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._sliderResults_a19yo_32 ._playButton_a19yo_17 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._LogInButton_1vxj5_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39{font-size:18px;font-weight:600;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53{font-size:18px;font-weight:600;flex:.5}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._buttonsContainer_fd7az_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._elementListContainer_fd7az_76{flex:1;width:100%}._elementSelector_fd7az_2 ._newElementButtonContainer_fd7az_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._listElement_1s506_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:5px;width:100%;padding-bottom:30px;padding-top:30px;flex-wrap:wrap}._listElement_1s506_2 ._elementNameDate_1s506_17{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementNameContainer_1s506_27{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementName_1s506_17{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementDate_1s506_42{flex:.5}._listElement_1s506_2 ._elementButtons_1s506_45{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_1s506_2 ._elementButtons_1s506_45 button:disabled{opacity:.5;cursor:default}._listElement_1s506_2 ._elementButtons_1s506_45 img{display:inline}._break_1s506_63{flex-basis:100%;height:0}._moreInfoContainer_1s506_68 ._moreInfo_1s506_68{display:flex;gap:5px;cursor:pointer}._textInputContainer_1o3iy_2{width:100%}._textInputContainer_1o3iy_2 ._labelContainer_1o3iy_5{margin-bottom:25px}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8{background-color:#605b5620;padding:7px;border-radius:4px;position:relative}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 ._showPasswordButton_1o3iy_14{position:absolute;right:15px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 input{width:100%}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26{margin-top:10px;cursor:pointer}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26 button{text-decoration:underline}._errorMessage_1xiyb_2{min-height:25px}._formContainer_b071f_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_b071f_2 ._formObjectContainer_b071f_11{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:center;flex:1;width:100%;gap:80px}._formContainer_b071f_2 ._buttonContainer_b071f_22{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._inputsContainer_10t9s_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;gap:30px}._selectInputContainer_1rj0h_2{width:100%;position:relative}._selectInputContainer_1rj0h_2 ._labelContainer_1rj0h_6{margin-bottom:25px}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9{position:relative}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2{appearance:none;-webkit-appearance:none;-moz-appearance:none;width:100%;padding:9px 40px 9px 9px;border:1.5px solid #605b56;border-radius:4px;cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2 ._option_1rj0h_23{cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._dropdownArrow_1rj0h_26{position:absolute;right:18px;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none}._radioButtonContainer_1e994_2{width:100%}._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;width:100%;flex-wrap:wrap;position:relative;gap:15px}@media (width < 768px){._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start}}._radioButtonContainer_1e994_2 ._questionContainer_1e994_27{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;align-self:flex-start;position:relative}@media (width < 768px){._radioButtonContainer_1e994_2 ._questionContainer_1e994_27{min-width:auto;max-width:215px}}._radioButtonContainer_1e994_2 ._errorContainer_1e994_44{position:absolute;top:-25px;left:0}._radioButtonContainer_1e994_2 ._iconPrivacy_1e994_49{height:100%;padding-right:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._radioButtonContainer_1e994_2 ._radioQuestion_1e994_59{width:100%;flex:1}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;gap:10px;position:relative;height:100%}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label{text-align:left}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label input{margin-right:5px}@media (width < 768px){._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;flex:1}}label,._radioInput_1e994_93{cursor:pointer}._header_13kbt_2{width:100%;display:flex;align-items:center;position:absolute;top:0;left:0;padding:0 16px;background-color:#fff;border-bottom:1px solid black}._header_13kbt_2 ._leftComponents_13kbt_13,._header_13kbt_2 ._centerComponents_13kbt_14,._header_13kbt_2 ._rightComponents_13kbt_15{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_13kbt_2 ._leftComponents_13kbt_13{left:16px}._header_13kbt_2 ._centerComponents_13kbt_14{left:50%;transform:translate(-50%)}._header_13kbt_2 ._rightComponents_13kbt_15{right:16px}._header_13kbt_2 ._componentsContainer_13kbt_32{height:100%;width:100%}._sidebar_1fmjn_2{position:absolute;top:0;right:0;height:100%;background-color:#fff;box-shadow:-2px 0 5px #0000001a;overflow-x:hidden;overflow-y:auto;transition:width .3s ease;z-index:1000;width:0}._open_1fmjn_16{border-left:1px solid #ddd}._content_1fmjn_20{position:relative;padding:20px;height:100%}._closeButton_1fmjn_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1fmjn_26:hover{color:#000}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
import { jsxs as p, jsx as s, Fragment as
|
|
3
|
-
import * as
|
|
4
|
-
import
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_phq4n_2{padding:5px 95px;border-radius:100px}._generalButton_phq4n_2:disabled{opacity:.6}._buttonsContainer_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_cokx9_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start;flex-wrap:wrap}._AppliedFiltersContainer_cokx9_2 ._AppliedFilterContent_cokx9_11{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:0 20px;border-radius:100px}._checkboxContainer_zld97_2{display:flex;align-items:center;gap:.5rem;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_zld97_2 input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:1px;background-color:#fff;cursor:pointer}._container_15vgv_2{padding-top:15px;font-size:14px}._container_15vgv_2 span{font-size:14px}._container_15vgv_2 ._unitLabel_15vgv_9{height:40px}._container_15vgv_2 ._slider_15vgv_12{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_15vgv_2 ._thumb_15vgv_18{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_15vgv_2 ._track_15vgv_27{top:0;bottom:0;background:#605b56;border-radius:3px}._container_15vgv_2 ._labels_15vgv_33{display:flex;justify-content:space-between;font-size:14px;margin-top:10px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 label,._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input{cursor:pointer;font-size:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background-color:#fff;transition:background-color .2s ease;cursor:pointer;vertical-align:middle}._tematicalFiltersInputContainer_1vm1r_2 ._checkboxContainer_1vm1r_28{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px}._tematicalFiltersInputContainer_1vm1r_2 ._absoluteSliderContainer_1vm1r_37{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:flex-start}._FiltersAmbitContainer_1g9xx_2{width:100%;height:100%;padding:28.5px 0 0 24px}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitTitle_1g9xx_15{font-size:18px;font-weight:600;padding:0 0 26px;border-bottom:1.5px solid #605B56;width:100%}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:column;align-items:start;padding:0 0 26px;font-size:16px;font-weight:400}._FiltersAmbitContainer_1g9xx_2 ._FiltersAmbitHeader_1g9xx_7 ._FiltersAmbitDescription_1g9xx_22 ._FiltersAmbitDescriptionTitle_1g9xx_33{font-size:18px;font-weight:600}._FiltersAmbitContainer_1g9xx_2 ._warning_1g9xx_37{color:red}._barChartContainer_d2f1z_2{height:100%;width:100%;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._graphicContainer_c9zrg_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;border:1.5px solid black;padding:33px 50px;border-radius:20px}._graphicContainer_c9zrg_2 ._titleContainer_c9zrg_14{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_1cu33_2{overflow:hidden}._indicatorsCategory_1cu33_2 ._title_1cu33_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px}._indicatorsCategory_1cu33_2 ._list_1cu33_11{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_1go6h_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_1go6h_2 ._indicatorNameContainer_1go6h_11{gap:10px;display:grid;grid-template-columns:15px auto;align-items:center}._indicatorContainer_1go6h_2 ._dot_1go6h_17{border-radius:100px;width:16px;height:16px}._indicatorContainer_1go6h_2 ._indicatorName_1go6h_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_1go6h_28{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:20px 0 0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37{margin:0;width:100%}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:10px;cursor:pointer}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._customRadious_1go6h_62{width:16px;height:16px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_1go6h_28 ._switchType_1go6h_37 ._switchTypeOptions_1go6h_41 ._optionContainer_1go6h_52 ._optionText_1go6h_69{font-weight:400}._indicatorsSubCategory_1dzsi_2{overflow:hidden}._indicatorsSubCategory_1dzsi_2 h3{text-align:left}._indicatorsSubCategory_1dzsi_2 ._list_1dzsi_8{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_fklyu_2{width:100%;padding-left:30px}._indicatorsList_fklyu_2 ._title_fklyu_6{border-bottom:1px solid;padding-bottom:25px;margin-bottom:32px}._langSelector_o9enq_2{position:relative;width:fit-content;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;height:100%}._currentLang_o9enq_14{color:#404040;cursor:pointer;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:5px;text-transform:capitalize}._currentLang_o9enq_14 ._arrow_o9enq_26{width:10px}._currentLang_o9enq_14 ._prevImg_o9enq_29{width:20px}._langMenu_o9enq_33{position:absolute;width:80px;background:#000!important;border-radius:8px}._langMenu_o9enq_33 button{cursor:pointer;background:#000!important;color:#ccc;width:100%;padding:4px 8px;text-align:left}._langMenu_o9enq_33 button:first-child{border-radius:8px 8px 0 0}._langMenu_o9enq_33 button:last-child{border-radius:0 0 8px 8px}._langMenu_o9enq_33 button:hover{color:#cbcbcb;background-color:#fafafa!important}._legendContainer_qs4x9_3{width:402px;background-color:#fdfdfd;color:#605b56;border:solid 1.5px #605b56;border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:flexStart;padding:20px;position:relative;overflow-y:scroll}._legendContainer_qs4x9_3::-webkit-scrollbar{width:8px}._legendContainer_qs4x9_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_qs4x9_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31{position:absolute;right:20px;top:20px;width:24px;height:24px;border:none;background:transparent;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before,._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:before{transform:rotate(45deg)}._legendContainer_qs4x9_3 ._closeButton_qs4x9_31:after{transform:rotate(-45deg)}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59{border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._titleContainer_qs4x9_59 h2{padding-bottom:16px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65{padding-top:20px}._legendContainer_qs4x9_3 ._infoContainer_qs4x9_65 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_qs4x9_3 ._titleLegendList_qs4x9_76{font-size:20px;padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._gridContainer_qs4x9_82 ._elementLegendContainer_qs4x9_88 ._colorDot_qs4x9_94{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100{position:relative}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueColor_qs4x9_103{height:130px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._absoluteValueContainer_qs4x9_100 ._absoluteValueText_qs4x9_108{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120{position:relative;margin-top:10px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._noData_qs4x9_120{height:22px;width:22px;border-radius:20px}._legendContainer_qs4x9_3 ._legendListContainer_qs4x9_82 ._noDataContainer_qs4x9_120 ._absoluteValueText_qs4x9_108{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:flex-start;position:absolute;left:30px;top:0;height:100%}._legendContainer_qs4x9_3 ._moreInfoContainer_qs4x9_141{margin-top:30px;padding:8.5px 20px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;border:1.5px solid #605b56;border-radius:25px;font-size:16px;font-weight:600}._logo_1ewa6_2{padding:10px;height:100%}._logo_1ewa6_2 img{height:100%}._mapContainer_84pkf_2{width:100vw;height:100vh}._mapContainer_b0pyr_3{width:100vw;height:100vh;position:absolute;top:0;z-index:0}._FeaturePopUp_mt8l5_2{padding:15px;color:#92898a}._FeaturePopUp_mt8l5_2 p{margin-bottom:10px}._FeaturePopUp_mt8l5_2 ._title_mt8l5_9{font-weight:600;margin-right:5px;color:#92898a}._sectionBar_1egwc_2{height:70px;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid black;transition:width .3s ease}._leftContent_1egwc_14{display:flex;align-items:center;gap:12px}._textContainer_1egwc_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_1egwc_27{font-size:16px;font-weight:600;color:#000}._subtitle_1egwc_33{font-size:16px;color:#000}._rightContent_1egwc_38{display:flex;align-items:center;gap:8px}._slider_a19yo_2{position:absolute;padding:5px 20px;right:150px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;top:188px;transition:all .5s ease-out}._slider_a19yo_2 ._playButton_a19yo_17,._slider_a19yo_2 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._slider_a19yo_2 ._playButton_a19yo_17 img{height:30px;width:30px}._sliderOpen_a19yo_28{right:490px}._sliderResults_a19yo_32{position:absolute;top:75px;right:430px;padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._sliderResults_a19yo_32 ._playButton_a19yo_17,._sliderResults_a19yo_32 ._playButton_a19yo_17._hover_a19yo_20{background-color:transparent!important}._sliderResults_a19yo_32 ._playButton_a19yo_17 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._LogInButton_1vxj5_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39{font-size:18px;font-weight:600;flex:1}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementName_fd7az_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53{font-size:18px;font-weight:600;flex:.5}._elementSelector_fd7az_2 ._header_fd7az_13 ._nameDateContainer_fd7az_23 ._elementDate_fd7az_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_fd7az_2 ._header_fd7az_13 ._buttonsContainer_fd7az_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_fd7az_2 ._elementListContainer_fd7az_76{flex:1;width:100%}._elementSelector_fd7az_2 ._newElementButtonContainer_fd7az_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._listElement_1s506_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:5px;width:100%;padding-bottom:30px;padding-top:30px;flex-wrap:wrap}._listElement_1s506_2 ._elementNameDate_1s506_17{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementNameContainer_1s506_27{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementName_1s506_17{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_1s506_2 ._elementNameDate_1s506_17 ._elementDate_1s506_42{flex:.5}._listElement_1s506_2 ._elementButtons_1s506_45{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_1s506_2 ._elementButtons_1s506_45 button:disabled{opacity:.5;cursor:default}._listElement_1s506_2 ._elementButtons_1s506_45 img{display:inline}._break_1s506_63{flex-basis:100%;height:0}._moreInfoContainer_1s506_68 ._moreInfo_1s506_68{display:flex;gap:5px;cursor:pointer}._textInputContainer_1o3iy_2{width:100%}._textInputContainer_1o3iy_2 ._labelContainer_1o3iy_5{margin-bottom:25px}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8{background-color:#605b5620;padding:7px;border-radius:4px;position:relative}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 ._showPasswordButton_1o3iy_14{position:absolute;right:15px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 input{width:100%}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26{margin-top:10px;cursor:pointer}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26 button{text-decoration:underline}._errorMessage_1xiyb_2{min-height:25px}._formContainer_b071f_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_b071f_2 ._formObjectContainer_b071f_11{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:center;flex:1;width:100%;gap:80px}._formContainer_b071f_2 ._buttonContainer_b071f_22{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._inputsContainer_10t9s_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;gap:30px}._selectInputContainer_1rj0h_2{width:100%;position:relative}._selectInputContainer_1rj0h_2 ._labelContainer_1rj0h_6{margin-bottom:25px}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9{position:relative}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2{appearance:none;-webkit-appearance:none;-moz-appearance:none;width:100%;padding:9px 40px 9px 9px;border:1.5px solid #605b56;border-radius:4px;cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._selectInput_1rj0h_2 ._option_1rj0h_23{cursor:pointer}._selectInputContainer_1rj0h_2 ._inputContainer_1rj0h_9 ._dropdownArrow_1rj0h_26{position:absolute;right:18px;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none}._radioButtonContainer_1e994_2{width:100%}._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;width:100%;flex-wrap:wrap;position:relative;gap:15px}@media (width < 768px){._radioButtonContainer_1e994_2 ._wholeInputContainer_1e994_5{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start}}._radioButtonContainer_1e994_2 ._questionContainer_1e994_27{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;align-self:flex-start;position:relative}@media (width < 768px){._radioButtonContainer_1e994_2 ._questionContainer_1e994_27{min-width:auto;max-width:215px}}._radioButtonContainer_1e994_2 ._errorContainer_1e994_44{position:absolute;top:-25px;left:0}._radioButtonContainer_1e994_2 ._iconPrivacy_1e994_49{height:100%;padding-right:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._radioButtonContainer_1e994_2 ._radioQuestion_1e994_59{width:100%;flex:1}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;gap:10px;position:relative;height:100%}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label{text-align:left}._radioButtonContainer_1e994_2 ._inputContainer_1e994_63 label input{margin-right:5px}@media (width < 768px){._radioButtonContainer_1e994_2 ._inputContainer_1e994_63{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;flex:1}}label,._radioInput_1e994_93{cursor:pointer}._rankingSliderContainer_1yj0p_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;width:100%}._rankingSliderContainer_1yj0p_2 ._labelContainer_1yj0p_11{margin-bottom:25px;color:#605b56}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15{width:100%;position:relative}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._slider_1yj0p_19{height:6px;background:#efefef;border-radius:3px;position:relative}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._thumb_1yj0p_25{height:10px;width:10px;border-radius:50%;cursor:grab;top:-50%;transform:translateY(10%);outline:none}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._trackLeft_1yj0p_35,._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._trackRight_1yj0p_40{height:6px;border-radius:9999px}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._labels_1yj0p_44{display:flex;justify-content:space-between;margin-top:8px;font-size:14px;color:#444}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._labels_1yj0p_44 span{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:10px}._rankingSliderContainer_1yj0p_2 ._inputContainer_1yj0p_15 ._labels_1yj0p_44 ._labelsText_1yj0p_60{color:#605b56}._overlay_mnd4j_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#0009;display:flex;align-items:center;justify-content:center;z-index:9999}._modal_mnd4j_15{background:#fff;border-radius:12px;position:relative;padding:24px 32px;display:flex;flex-direction:column;align-items:center;text-align:center;box-shadow:0 4px 20px #0003;overflow:hidden;min-width:300px}._closeButton_mnd4j_29{position:absolute;top:3px;right:8px;background:transparent;border:none;font-size:20px;cursor:pointer}._icon_mnd4j_39{width:60px;height:60px;margin-bottom:16px}._message_mnd4j_45{font-size:18px;font-weight:700;margin-bottom:8px}._submessage_mnd4j_51{font-size:14px;color:#666;margin-bottom:20px}._buttonsContainer_mnd4j_57{display:flex;gap:12px;justify-content:center;flex-wrap:nowrap}._buttonWrapper_mnd4j_64{display:inline-flex}._stepsContainer_1cyua_3{display:flex;flex-direction:column;position:relative}._stepWrapper_1cyua_9{display:flex;align-items:center;position:relative;margin-bottom:1.5rem}._stepWrapper_1cyua_9:last-child{margin-bottom:0}._circleContainer_1cyua_19{position:relative}._circle_1cyua_19{width:28px;height:28px;border-radius:50%;border:2px solid #ccc;background-color:#fff;color:#aaa;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;cursor:pointer;z-index:1}._active_1cyua_39{color:#fff;border:none}._completed_1cyua_44{background-color:#ccc;color:#fff;border:none}._label_1cyua_50{margin-left:10px;font-size:14px;color:#aaa}._labelActive_1cyua_56{font-weight:700;color:#333}._connector_1cyua_61{position:absolute;left:50%;transform:translate(-50%);top:32px;width:1px;height:calc(100% - 10px);background-color:#ccc;z-index:0}._header_13kbt_2{width:100%;display:flex;align-items:center;position:absolute;top:0;left:0;padding:0 16px;background-color:#fff;border-bottom:1px solid black}._header_13kbt_2 ._leftComponents_13kbt_13,._header_13kbt_2 ._centerComponents_13kbt_14,._header_13kbt_2 ._rightComponents_13kbt_15{position:absolute;top:0;bottom:0;display:flex;align-items:center}._header_13kbt_2 ._leftComponents_13kbt_13{left:16px}._header_13kbt_2 ._centerComponents_13kbt_14{left:50%;transform:translate(-50%)}._header_13kbt_2 ._rightComponents_13kbt_15{right:16px}._header_13kbt_2 ._componentsContainer_13kbt_32{height:100%;width:100%}._sidebar_1fmjn_2{position:absolute;top:0;right:0;height:100%;background-color:#fff;box-shadow:-2px 0 5px #0000001a;overflow-x:hidden;overflow-y:auto;transition:width .3s ease;z-index:1000;width:0}._open_1fmjn_16{border-left:1px solid #ddd}._content_1fmjn_20{position:relative;padding:20px;height:100%}._closeButton_1fmjn_26{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease}._closeButton_1fmjn_26:hover{color:#000}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
import { jsxs as p, jsx as s, Fragment as Ve } from "react/jsx-runtime";
|
|
3
|
+
import * as ce from "react";
|
|
4
|
+
import $, { useState as D, useEffect as M, useMemo as de, useLayoutEffect as Bt, useRef as te } from "react";
|
|
5
5
|
import e from "prop-types";
|
|
6
|
-
import { useTranslation as
|
|
7
|
-
import { motion as
|
|
8
|
-
import { create as
|
|
9
|
-
import * as
|
|
10
|
-
import
|
|
11
|
-
import { useSelector as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { Protocol as
|
|
15
|
-
import
|
|
16
|
-
import { createSlice as
|
|
17
|
-
import
|
|
18
|
-
import { createTheme as
|
|
19
|
-
import { ThemeProvider as
|
|
20
|
-
import { NavLink as
|
|
21
|
-
const
|
|
22
|
-
ambitSelector:
|
|
23
|
-
header:
|
|
24
|
-
nameDateContainer:
|
|
25
|
-
ambitName: Zt,
|
|
26
|
-
ambitDate: Kt,
|
|
27
|
-
buttonsContainer: Ht,
|
|
28
|
-
ambitListContainer: Ut,
|
|
29
|
-
newAmbitButtonContainer: Gt
|
|
30
|
-
}, Yt = "_ambitItem_1qa6u_2", Wt = "_ambitNameDate_1qa6u_16", Qt = "_ambitName_1qa6u_16", Xt = "_ambitDate_1qa6u_35", Jt = "_ambitButtons_1qa6u_38", ie = {
|
|
31
|
-
ambitItem: Yt,
|
|
32
|
-
ambitNameDate: Wt,
|
|
6
|
+
import { useTranslation as B, Trans as Ee } from "react-i18next";
|
|
7
|
+
import { motion as Pe } from "framer-motion";
|
|
8
|
+
import { create as St } from "zustand";
|
|
9
|
+
import * as Ke from "d3";
|
|
10
|
+
import $t from "mapbox-gl";
|
|
11
|
+
import { useSelector as Dt, useDispatch as Mt } from "react-redux";
|
|
12
|
+
import Lt, { Source as Tt, Layer as Ft, NavigationControl as Vt, Popup as At } from "react-map-gl/mapbox";
|
|
13
|
+
import Ne from "maplibre-gl";
|
|
14
|
+
import { Protocol as It } from "pmtiles";
|
|
15
|
+
import Ot, { Source as Rt, Layer as qt, NavigationControl as Et, Popup as Pt } from "react-map-gl/maplibre";
|
|
16
|
+
import { createSlice as jt } from "@reduxjs/toolkit";
|
|
17
|
+
import zt from "@mui/material/Slider";
|
|
18
|
+
import { createTheme as Zt, Box as Kt } from "@mui/material";
|
|
19
|
+
import { ThemeProvider as Ht } from "@emotion/react";
|
|
20
|
+
import { NavLink as Ut } from "react-router-dom";
|
|
21
|
+
const Gt = "_ambitSelector_mcunf_2", Wt = "_header_mcunf_13", Yt = "_nameDateContainer_mcunf_23", Qt = "_ambitName_mcunf_39", Xt = "_ambitDate_mcunf_53", Jt = "_buttonsContainer_mcunf_67", e2 = "_ambitListContainer_mcunf_76", t2 = "_newAmbitButtonContainer_mcunf_80", H = {
|
|
22
|
+
ambitSelector: Gt,
|
|
23
|
+
header: Wt,
|
|
24
|
+
nameDateContainer: Yt,
|
|
33
25
|
ambitName: Qt,
|
|
34
26
|
ambitDate: Xt,
|
|
35
|
-
|
|
36
|
-
}, e2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='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", t2 = "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", n2 = "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", i2 = "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", o2 = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205138'%3e%3cpath%20id='Vector'%20d='M12.95%200.408447C7.659%200.408447%202.84899%202.77185%200.0832465%206.72621C-0.0277488%206.88808%20-0.0277488%207.09621%200.0832465%207.25807C2.84439%2011.2125%207.65437%2013.5712%2012.95%2013.5712C18.2456%2013.5712%2023.0556%2011.2125%2025.8168%207.25807C25.9278%207.0962%2025.9278%206.88807%2025.8168%206.72621C23.051%202.77184%2018.241%200.408447%2012.95%200.408447ZM12.95%2011.2217C10.619%2011.2217%208.71812%209.32083%208.71812%206.98984C8.71812%204.65885%2010.619%202.75796%2012.95%202.75796C15.281%202.75796%2017.1819%204.65883%2017.1819%206.98984C17.1819%209.32085%2015.281%2011.2217%2012.95%2011.2217Z'%20fill='%23B32F5D'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%2010.2966C14.7777%2010.2966%2016.2583%208.81607%2016.2583%206.98974C16.2583%205.1634%2014.7777%203.68286%2012.9514%203.68286C11.1251%203.68286%209.64453%205.1634%209.64453%206.98974C9.64453%208.81607%2011.1251%2010.2966%2012.9514%2010.2966Z'%20fill='%23B32F5D'/%3e%3c/g%3e%3c/svg%3e", s2 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", et = ({
|
|
27
|
+
buttonsContainer: Jt,
|
|
28
|
+
ambitListContainer: e2,
|
|
29
|
+
newAmbitButtonContainer: t2
|
|
30
|
+
}, n2 = "_ambitItem_1qa6u_2", i2 = "_ambitNameDate_1qa6u_16", o2 = "_ambitName_1qa6u_16", s2 = "_ambitDate_1qa6u_35", r2 = "_ambitButtons_1qa6u_38", pe = {
|
|
31
|
+
ambitItem: n2,
|
|
32
|
+
ambitNameDate: i2,
|
|
33
|
+
ambitName: o2,
|
|
34
|
+
ambitDate: s2,
|
|
35
|
+
ambitButtons: r2
|
|
36
|
+
}, a2 = "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", l2 = "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", c2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%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", d2 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='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", u2 = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205138'%3e%3cpath%20id='Vector'%20d='M12.95%200.408447C7.659%200.408447%202.84899%202.77185%200.0832465%206.72621C-0.0277488%206.88808%20-0.0277488%207.09621%200.0832465%207.25807C2.84439%2011.2125%207.65437%2013.5712%2012.95%2013.5712C18.2456%2013.5712%2023.0556%2011.2125%2025.8168%207.25807C25.9278%207.0962%2025.9278%206.88807%2025.8168%206.72621C23.051%202.77184%2018.241%200.408447%2012.95%200.408447ZM12.95%2011.2217C10.619%2011.2217%208.71812%209.32083%208.71812%206.98984C8.71812%204.65885%2010.619%202.75796%2012.95%202.75796C15.281%202.75796%2017.1819%204.65883%2017.1819%206.98984C17.1819%209.32085%2015.281%2011.2217%2012.95%2011.2217Z'%20fill='%23B32F5D'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%2010.2966C14.7777%2010.2966%2016.2583%208.81607%2016.2583%206.98974C16.2583%205.1634%2014.7777%203.68286%2012.9514%203.68286C11.1251%203.68286%209.64453%205.1634%209.64453%206.98974C9.64453%208.81607%2011.1251%2010.2966%2012.9514%2010.2966Z'%20fill='%23B32F5D'/%3e%3c/g%3e%3c/svg%3e", p2 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", st = ({
|
|
37
37
|
ambit: n,
|
|
38
38
|
onClickCopy: d,
|
|
39
39
|
onClickDelete: i,
|
|
@@ -44,37 +44,37 @@ const Pt = "_ambitSelector_mcunf_2", zt = "_header_mcunf_13", jt = "_nameDateCon
|
|
|
44
44
|
fontColor: l,
|
|
45
45
|
moreInfo: c
|
|
46
46
|
}) => {
|
|
47
|
-
const { nom: u, created_at: m, id:
|
|
47
|
+
const { nom: u, created_at: m, id: g, isBeingProcessed: _ } = n;
|
|
48
48
|
return /* @__PURE__ */ p(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
51
|
-
className:
|
|
51
|
+
className: pe.ambitItem,
|
|
52
52
|
style: { borderBottom: `1px solid ${l}` },
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */ p("div", { className:
|
|
55
|
-
/* @__PURE__ */ p("div", { className:
|
|
54
|
+
/* @__PURE__ */ p("div", { className: pe.ambitNameDate, onClick: () => t(g), children: [
|
|
55
|
+
/* @__PURE__ */ p("div", { className: pe.ambitName, children: [
|
|
56
56
|
/* @__PURE__ */ s(
|
|
57
57
|
"img",
|
|
58
58
|
{
|
|
59
59
|
style: { marginRight: 9 },
|
|
60
|
-
src: r ?
|
|
60
|
+
src: r ? u2 : p2
|
|
61
61
|
}
|
|
62
62
|
),
|
|
63
63
|
/* @__PURE__ */ s("span", { style: { color: r ? a : l }, children: u })
|
|
64
64
|
] }),
|
|
65
|
-
/* @__PURE__ */ s("div", { className:
|
|
65
|
+
/* @__PURE__ */ s("div", { className: pe.ambitDate, children: m ? new Date(m).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
67
|
-
/* @__PURE__ */ p("div", { className:
|
|
68
|
-
_ && /* @__PURE__ */ s("img", { src:
|
|
69
|
-
/* @__PURE__ */ s("button", { onClick: () => o(
|
|
70
|
-
/* @__PURE__ */ s("button", { onClick: () => d(
|
|
71
|
-
/* @__PURE__ */ s("button", { onClick: () => i(
|
|
67
|
+
/* @__PURE__ */ p("div", { className: pe.ambitButtons, children: [
|
|
68
|
+
_ && /* @__PURE__ */ s("img", { src: d2 }),
|
|
69
|
+
/* @__PURE__ */ s("button", { onClick: () => o(g), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: c2 }) }),
|
|
70
|
+
/* @__PURE__ */ s("button", { onClick: () => d(g), children: /* @__PURE__ */ s("img", { src: l2 }) }),
|
|
71
|
+
/* @__PURE__ */ s("button", { onClick: () => i(g), disabled: n.is_default, children: /* @__PURE__ */ s("img", { src: a2 }) })
|
|
72
72
|
] })
|
|
73
73
|
]
|
|
74
74
|
}
|
|
75
75
|
);
|
|
76
76
|
};
|
|
77
|
-
|
|
77
|
+
st.propTypes = {
|
|
78
78
|
ambit: e.shape({
|
|
79
79
|
nom: e.string.isRequired,
|
|
80
80
|
created_at: e.string,
|
|
@@ -92,19 +92,20 @@ et.propTypes = {
|
|
|
92
92
|
moreInfo: e.object
|
|
93
93
|
// Optional, can be used for additional info
|
|
94
94
|
};
|
|
95
|
-
const
|
|
96
|
-
generalButton:
|
|
97
|
-
},
|
|
95
|
+
const He = "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", m2 = "_generalButton_phq4n_2", h2 = {
|
|
96
|
+
generalButton: m2
|
|
97
|
+
}, ve = ({
|
|
98
98
|
children: n,
|
|
99
99
|
onClick: d,
|
|
100
100
|
fontColor: i = "#605B56",
|
|
101
101
|
borderColor: o = "#605B56",
|
|
102
102
|
type: t = "button",
|
|
103
|
-
containerStyles: r = {}
|
|
103
|
+
containerStyles: r = {},
|
|
104
|
+
disabled: a = !1
|
|
104
105
|
}) => /* @__PURE__ */ s(
|
|
105
106
|
"button",
|
|
106
107
|
{
|
|
107
|
-
className:
|
|
108
|
+
className: h2.generalButton,
|
|
108
109
|
style: {
|
|
109
110
|
color: i,
|
|
110
111
|
border: `1.5px solid ${o}`,
|
|
@@ -112,9 +113,10 @@ const Pe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
112
113
|
},
|
|
113
114
|
onClick: d,
|
|
114
115
|
type: t,
|
|
116
|
+
disabled: a,
|
|
115
117
|
children: n
|
|
116
118
|
}
|
|
117
|
-
),
|
|
119
|
+
), g2 = ({
|
|
118
120
|
ambitList: n,
|
|
119
121
|
activeAmbitId: d,
|
|
120
122
|
fontColor: i = "#605B56",
|
|
@@ -125,75 +127,75 @@ const Pe = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
125
127
|
buttonContainerStyles: l = {},
|
|
126
128
|
containerStyles: c = {},
|
|
127
129
|
onCLickNewAmbit: u = () => console.log("New ambit clicked"),
|
|
128
|
-
onClickCopy: m = (
|
|
129
|
-
onCLickDelete:
|
|
130
|
-
onClickFilters: _ = (
|
|
131
|
-
onClickAmbit:
|
|
130
|
+
onClickCopy: m = (C) => console.log(`Copy ambit: ${C}`),
|
|
131
|
+
onCLickDelete: g = (C) => console.log(`Delete ambit: ${C}`),
|
|
132
|
+
onClickFilters: _ = (C) => console.log(`Filters clicked: ${C}`),
|
|
133
|
+
onClickAmbit: v = (C) => console.log(`OnCLickAmbit: ${C}`)
|
|
132
134
|
}) => {
|
|
133
|
-
const { t:
|
|
134
|
-
|
|
135
|
-
n &&
|
|
135
|
+
const { t: C } = B(), [h, f] = D(n);
|
|
136
|
+
M(() => {
|
|
137
|
+
n && f(n);
|
|
136
138
|
}, [n]);
|
|
137
|
-
const b = (
|
|
138
|
-
if (
|
|
139
|
-
let
|
|
140
|
-
|
|
139
|
+
const b = (y) => {
|
|
140
|
+
if (h && h.length > 0) {
|
|
141
|
+
let w = [...h];
|
|
142
|
+
w.sort((x, N) => x[y].localeCompare(N[y])), f(w);
|
|
141
143
|
}
|
|
142
144
|
};
|
|
143
145
|
return /* @__PURE__ */ p(
|
|
144
146
|
"div",
|
|
145
147
|
{
|
|
146
|
-
className:
|
|
148
|
+
className: H.ambitSelector,
|
|
147
149
|
style: { color: i, ...c },
|
|
148
150
|
children: [
|
|
149
151
|
/* @__PURE__ */ p(
|
|
150
152
|
"div",
|
|
151
153
|
{
|
|
152
|
-
className:
|
|
154
|
+
className: H.header,
|
|
153
155
|
style: { borderBottom: `1px solid ${i}` },
|
|
154
156
|
children: [
|
|
155
|
-
/* @__PURE__ */ p("div", { className:
|
|
156
|
-
/* @__PURE__ */ s("div", { className:
|
|
157
|
-
/* @__PURE__ */ s("span", { children:
|
|
158
|
-
/* @__PURE__ */ s("img", { src:
|
|
157
|
+
/* @__PURE__ */ p("div", { className: H.nameDateContainer, children: [
|
|
158
|
+
/* @__PURE__ */ s("div", { className: H.ambitName, children: /* @__PURE__ */ p("button", { onClick: () => b("name"), children: [
|
|
159
|
+
/* @__PURE__ */ s("span", { children: C(t) }),
|
|
160
|
+
/* @__PURE__ */ s("img", { src: He })
|
|
159
161
|
] }) }),
|
|
160
|
-
/* @__PURE__ */ s("div", { className:
|
|
161
|
-
/* @__PURE__ */ s("span", { children:
|
|
162
|
-
/* @__PURE__ */ s("img", { src:
|
|
162
|
+
/* @__PURE__ */ s("div", { className: H.ambitDate, children: /* @__PURE__ */ p("button", { onClick: () => b("date"), children: [
|
|
163
|
+
/* @__PURE__ */ s("span", { children: C(r) }),
|
|
164
|
+
/* @__PURE__ */ s("img", { src: He })
|
|
163
165
|
] }) })
|
|
164
166
|
] }),
|
|
165
|
-
/* @__PURE__ */ s("div", { className:
|
|
167
|
+
/* @__PURE__ */ s("div", { className: H.buttonsContainer })
|
|
166
168
|
]
|
|
167
169
|
}
|
|
168
170
|
),
|
|
169
|
-
/* @__PURE__ */ s("div", { className:
|
|
170
|
-
|
|
171
|
+
/* @__PURE__ */ s("div", { className: H.ambitListContainer, children: h && h.length > 0 && h.map((y) => /* @__PURE__ */ s(
|
|
172
|
+
st,
|
|
171
173
|
{
|
|
172
|
-
isActive: d ==
|
|
173
|
-
ambit:
|
|
174
|
+
isActive: d == y.id,
|
|
175
|
+
ambit: y,
|
|
174
176
|
fontColor: i,
|
|
175
177
|
activeColor: o,
|
|
176
178
|
onClickCopy: m,
|
|
177
|
-
onClickDelete:
|
|
179
|
+
onClickDelete: g,
|
|
178
180
|
onClickFilters: _,
|
|
179
|
-
onClickAmbit:
|
|
181
|
+
onClickAmbit: v
|
|
180
182
|
},
|
|
181
|
-
`ambitKey${
|
|
183
|
+
`ambitKey${y.id}`
|
|
182
184
|
)) }),
|
|
183
|
-
/* @__PURE__ */ s("div", { className:
|
|
184
|
-
|
|
185
|
+
/* @__PURE__ */ s("div", { className: H.newAmbitButtonContainer, children: /* @__PURE__ */ s(
|
|
186
|
+
ve,
|
|
185
187
|
{
|
|
186
188
|
style: { ...l },
|
|
187
189
|
onClick: u,
|
|
188
190
|
borderColor: "grey",
|
|
189
|
-
children:
|
|
191
|
+
children: C(a)
|
|
190
192
|
}
|
|
191
193
|
) })
|
|
192
194
|
]
|
|
193
195
|
}
|
|
194
196
|
);
|
|
195
197
|
};
|
|
196
|
-
|
|
198
|
+
g2.propTypes = {
|
|
197
199
|
ambitList: e.arrayOf(
|
|
198
200
|
e.shape({
|
|
199
201
|
name: e.string.isRequired,
|
|
@@ -215,28 +217,28 @@ l2.propTypes = {
|
|
|
215
217
|
containerStyles: e.object,
|
|
216
218
|
onCLickNewAmbit: e.func
|
|
217
219
|
};
|
|
218
|
-
const
|
|
219
|
-
buttonsContainer:
|
|
220
|
-
vertical:
|
|
221
|
-
horizontal:
|
|
222
|
-
button:
|
|
223
|
-
active:
|
|
224
|
-
buttonName:
|
|
225
|
-
},
|
|
226
|
-
left:
|
|
227
|
-
top:
|
|
228
|
-
bottom:
|
|
229
|
-
right:
|
|
230
|
-
},
|
|
231
|
-
const { t: o } =
|
|
232
|
-
return /* @__PURE__ */ s("div", { className: `tooltip ${
|
|
233
|
-
};
|
|
234
|
-
|
|
220
|
+
const C2 = "_buttonsContainer_1audx_2", f2 = "_vertical_1audx_6", b2 = "_horizontal_1audx_9", _2 = "_button_1audx_2", y2 = "_active_1audx_25", v2 = "_buttonName_1audx_28", W = {
|
|
221
|
+
buttonsContainer: C2,
|
|
222
|
+
vertical: f2,
|
|
223
|
+
horizontal: b2,
|
|
224
|
+
button: _2,
|
|
225
|
+
active: y2,
|
|
226
|
+
buttonName: v2
|
|
227
|
+
}, x2 = "_left_1l4m4_2", w2 = "_top_1l4m4_40", N2 = "_bottom_1l4m4_79", k2 = "_right_1l4m4_118", B2 = {
|
|
228
|
+
left: x2,
|
|
229
|
+
top: w2,
|
|
230
|
+
bottom: N2,
|
|
231
|
+
right: k2
|
|
232
|
+
}, ee = ({ text: n, position: d, styleCustom: i = null }) => {
|
|
233
|
+
const { t: o } = B();
|
|
234
|
+
return /* @__PURE__ */ s("div", { className: `tooltip ${B2[d]}`, style: i, children: o(n) });
|
|
235
|
+
};
|
|
236
|
+
ee.propTypes = {
|
|
235
237
|
text: e.string.isRequired,
|
|
236
238
|
position: e.oneOf(["top", "bottom", "left", "right"]).isRequired,
|
|
237
239
|
styleCustom: e.object
|
|
238
240
|
};
|
|
239
|
-
const
|
|
241
|
+
const S2 = ({
|
|
240
242
|
buttons: n = [],
|
|
241
243
|
orientation: d = "horizontal",
|
|
242
244
|
showName: i = !0,
|
|
@@ -244,41 +246,41 @@ const _2 = ({
|
|
|
244
246
|
useTooltip: t = !1,
|
|
245
247
|
tooltipPosition: r = "top"
|
|
246
248
|
}) => {
|
|
247
|
-
const { t: a } =
|
|
249
|
+
const { t: a } = B();
|
|
248
250
|
return /* @__PURE__ */ s(
|
|
249
251
|
"div",
|
|
250
252
|
{
|
|
251
|
-
className: `${
|
|
252
|
-
${d === "horizontal" &&
|
|
253
|
+
className: `${W.buttonsContainer} ${d === "vertical" && W.vertical}
|
|
254
|
+
${d === "horizontal" && W.horizontal}`,
|
|
253
255
|
children: n.map((l, c) => {
|
|
254
256
|
const {
|
|
255
257
|
icon: u,
|
|
256
258
|
activeIcon: m,
|
|
257
|
-
isActive:
|
|
259
|
+
isActive: g,
|
|
258
260
|
name: _,
|
|
259
|
-
onClick:
|
|
260
|
-
} = l,
|
|
261
|
-
i && o === "left" && /* @__PURE__ */ s("span", { className:
|
|
262
|
-
/* @__PURE__ */ s("img", { src:
|
|
263
|
-
i && o === "right" && /* @__PURE__ */ s("span", { className:
|
|
261
|
+
onClick: v
|
|
262
|
+
} = l, C = /* @__PURE__ */ p(Ve, { children: [
|
|
263
|
+
i && o === "left" && /* @__PURE__ */ s("span", { className: W.buttonName, children: a(_) }),
|
|
264
|
+
/* @__PURE__ */ s("img", { src: g ? m : u, alt: a(_) }),
|
|
265
|
+
i && o === "right" && /* @__PURE__ */ s("span", { className: W.buttonName, children: a(_) })
|
|
264
266
|
] });
|
|
265
267
|
return /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
266
268
|
/* @__PURE__ */ s(
|
|
267
269
|
"button",
|
|
268
270
|
{
|
|
269
|
-
onClick:
|
|
270
|
-
className: `${
|
|
271
|
-
${
|
|
272
|
-
children:
|
|
271
|
+
onClick: v,
|
|
272
|
+
className: `${W.button}
|
|
273
|
+
${g && W.active}`,
|
|
274
|
+
children: C
|
|
273
275
|
}
|
|
274
276
|
),
|
|
275
|
-
t && /* @__PURE__ */ s(
|
|
277
|
+
t && /* @__PURE__ */ s(ee, { text: _, position: r })
|
|
276
278
|
] }, c);
|
|
277
279
|
})
|
|
278
280
|
}
|
|
279
281
|
);
|
|
280
282
|
};
|
|
281
|
-
|
|
283
|
+
S2.propTypes = {
|
|
282
284
|
buttons: e.arrayOf(
|
|
283
285
|
e.shape({
|
|
284
286
|
icon: e.node.isRequired,
|
|
@@ -295,10 +297,10 @@ _2.propTypes = {
|
|
|
295
297
|
useTooltip: e.bool,
|
|
296
298
|
tooltipPosition: e.oneOf(["top", "bottom", "left", "right"])
|
|
297
299
|
};
|
|
298
|
-
const
|
|
299
|
-
indicatorsCategory:
|
|
300
|
-
title:
|
|
301
|
-
},
|
|
300
|
+
const $2 = "_indicatorsCategory_1cu33_2", D2 = "_title_1cu33_5", ke = {
|
|
301
|
+
indicatorsCategory: $2,
|
|
302
|
+
title: D2
|
|
303
|
+
}, ne = ({
|
|
302
304
|
isOpen: n,
|
|
303
305
|
onClick: d,
|
|
304
306
|
children: i,
|
|
@@ -312,11 +314,11 @@ const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", ye = {
|
|
|
312
314
|
showBottomBar: c = !0,
|
|
313
315
|
titleMarginChildren: u = 25
|
|
314
316
|
}) => {
|
|
315
|
-
const { t: m } =
|
|
317
|
+
const { t: m } = B();
|
|
316
318
|
return /* @__PURE__ */ p(
|
|
317
|
-
|
|
319
|
+
Pe.div,
|
|
318
320
|
{
|
|
319
|
-
className:
|
|
321
|
+
className: ke.indicatorsCategory,
|
|
320
322
|
initial: { height: `${a}px` },
|
|
321
323
|
animate: { height: n ? "auto" : `${a}px` },
|
|
322
324
|
transition: { duration: 0.4 },
|
|
@@ -333,7 +335,7 @@ const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", ye = {
|
|
|
333
335
|
...l,
|
|
334
336
|
marginBottom: u || "auto"
|
|
335
337
|
},
|
|
336
|
-
className: `${
|
|
338
|
+
className: `${ke.title}`,
|
|
337
339
|
onClick: d,
|
|
338
340
|
children: [
|
|
339
341
|
/* @__PURE__ */ s("span", { style: { color: n ? t : o }, children: n ? "-" : "+" }),
|
|
@@ -341,12 +343,12 @@ const v2 = "_indicatorsCategory_1cu33_2", w2 = "_title_1cu33_5", ye = {
|
|
|
341
343
|
]
|
|
342
344
|
}
|
|
343
345
|
),
|
|
344
|
-
/* @__PURE__ */ s("div", { className:
|
|
346
|
+
/* @__PURE__ */ s("div", { className: ke.content, children: i })
|
|
345
347
|
]
|
|
346
348
|
}
|
|
347
349
|
);
|
|
348
350
|
};
|
|
349
|
-
|
|
351
|
+
ne.propTypes = {
|
|
350
352
|
isOpen: e.bool,
|
|
351
353
|
onClick: e.func,
|
|
352
354
|
children: e.node,
|
|
@@ -357,39 +359,39 @@ W.propTypes = {
|
|
|
357
359
|
showBottomBar: e.bool,
|
|
358
360
|
titleFontStyles: e.object
|
|
359
361
|
};
|
|
360
|
-
const
|
|
361
|
-
AppliedFiltersContainer:
|
|
362
|
-
AppliedFilterContent:
|
|
363
|
-
},
|
|
362
|
+
const Oi = () => /* @__PURE__ */ s("div", { children: "EditAmbit" }), M2 = "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", L2 = "_AppliedFiltersContainer_cokx9_2", T2 = "_AppliedFilterContent_cokx9_11", Ue = {
|
|
363
|
+
AppliedFiltersContainer: L2,
|
|
364
|
+
AppliedFilterContent: T2
|
|
365
|
+
}, F = St((n) => ({
|
|
364
366
|
activeCategory: "",
|
|
365
367
|
activeSubCategory: "",
|
|
366
368
|
selectedIndicator: "",
|
|
367
369
|
tematicalFiltersSelected: [],
|
|
368
370
|
fontColor: "#605B56",
|
|
369
371
|
inputsColor: "#605B56"
|
|
370
|
-
})),
|
|
371
|
-
const { t: a } =
|
|
372
|
-
|
|
372
|
+
})), rt = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
373
|
+
const { t: a } = B(), { tematicalFiltersSelected: l } = F((u) => u), c = (u) => {
|
|
374
|
+
F.setState((m) => ({
|
|
373
375
|
tematicalFiltersSelected: m.tematicalFiltersSelected.filter(
|
|
374
|
-
(
|
|
376
|
+
(g) => g.code !== u
|
|
375
377
|
)
|
|
376
378
|
}));
|
|
377
379
|
};
|
|
378
380
|
return /* @__PURE__ */ s(
|
|
379
|
-
|
|
381
|
+
ne,
|
|
380
382
|
{
|
|
381
383
|
isOpen: i,
|
|
382
384
|
onClick: d,
|
|
383
385
|
title: n ? a(n) : "Applied Filters",
|
|
384
386
|
activeColor: r,
|
|
385
|
-
children: /* @__PURE__ */ s("div", { className:
|
|
387
|
+
children: /* @__PURE__ */ s("div", { className: Ue.AppliedFiltersContainer, children: l == null ? void 0 : l.map((u, m) => /* @__PURE__ */ p("div", { className: Ue.AppliedFilterContent, style: { color: o, background: t }, children: [
|
|
386
388
|
a(u.name),
|
|
387
|
-
/* @__PURE__ */ s("img", { src:
|
|
389
|
+
/* @__PURE__ */ s("img", { src: M2, alt: "CloseIcon", onClick: () => c(u.code), style: { cursor: "pointer" } })
|
|
388
390
|
] }, m)) })
|
|
389
391
|
}
|
|
390
392
|
);
|
|
391
393
|
};
|
|
392
|
-
|
|
394
|
+
rt.propTypes = {
|
|
393
395
|
isOpen: e.bool,
|
|
394
396
|
onClick: e.func,
|
|
395
397
|
title: e.string,
|
|
@@ -403,10 +405,10 @@ tt.propTypes = {
|
|
|
403
405
|
),
|
|
404
406
|
activeColor: e.string
|
|
405
407
|
};
|
|
406
|
-
const
|
|
407
|
-
const { t: a } =
|
|
408
|
+
const at = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r }) => {
|
|
409
|
+
const { t: a } = B(), { tematicalFiltersSelected: l } = F((c) => c);
|
|
408
410
|
return /* @__PURE__ */ s(
|
|
409
|
-
|
|
411
|
+
ne,
|
|
410
412
|
{
|
|
411
413
|
isOpen: i,
|
|
412
414
|
onClick: d,
|
|
@@ -416,7 +418,7 @@ const nt = ({ title: n, onClick: d, isOpen: i = !0, textColor: o = "#ffffff", ba
|
|
|
416
418
|
}
|
|
417
419
|
);
|
|
418
420
|
};
|
|
419
|
-
|
|
421
|
+
at.propTypes = {
|
|
420
422
|
isOpen: e.bool,
|
|
421
423
|
onClick: e.func,
|
|
422
424
|
title: e.string,
|
|
@@ -424,22 +426,22 @@ nt.propTypes = {
|
|
|
424
426
|
backgroundColor: e.string,
|
|
425
427
|
activeColor: e.string
|
|
426
428
|
};
|
|
427
|
-
const
|
|
428
|
-
checkboxContainer:
|
|
429
|
-
},
|
|
429
|
+
const F2 = "_checkboxContainer_zld97_2", V2 = {
|
|
430
|
+
checkboxContainer: F2
|
|
431
|
+
}, lt = ({
|
|
430
432
|
onClick: n,
|
|
431
433
|
containerStyles: d,
|
|
432
434
|
color: i = "#605B56",
|
|
433
435
|
indicator: o,
|
|
434
436
|
value: t
|
|
435
437
|
}) => {
|
|
436
|
-
const { t: r } =
|
|
438
|
+
const { t: r } = B(), { title: a } = o || {}, { fontColor: l, inputsColor: c } = F((u) => u);
|
|
437
439
|
return /* @__PURE__ */ p(
|
|
438
440
|
"div",
|
|
439
441
|
{
|
|
440
442
|
style: { ...d, color: i },
|
|
441
443
|
role: "checkbox",
|
|
442
|
-
className:
|
|
444
|
+
className: V2.checkboxContainer,
|
|
443
445
|
onClick: n,
|
|
444
446
|
children: [
|
|
445
447
|
/* @__PURE__ */ s(
|
|
@@ -460,7 +462,7 @@ const B2 = "_checkboxContainer_zld97_2", S2 = {
|
|
|
460
462
|
}
|
|
461
463
|
);
|
|
462
464
|
};
|
|
463
|
-
|
|
465
|
+
lt.propTypes = {
|
|
464
466
|
onClick: e.func,
|
|
465
467
|
value: e.bool,
|
|
466
468
|
containerStyles: e.object,
|
|
@@ -471,40 +473,40 @@ it.propTypes = {
|
|
|
471
473
|
}),
|
|
472
474
|
checkedColor: e.string
|
|
473
475
|
};
|
|
474
|
-
function
|
|
475
|
-
return
|
|
476
|
+
function Ae(n, d) {
|
|
477
|
+
return Ae = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(i, o) {
|
|
476
478
|
return i.__proto__ = o, i;
|
|
477
|
-
},
|
|
479
|
+
}, Ae(n, d);
|
|
478
480
|
}
|
|
479
|
-
function
|
|
480
|
-
n.prototype = Object.create(d.prototype), n.prototype.constructor = n,
|
|
481
|
+
function A2(n, d) {
|
|
482
|
+
n.prototype = Object.create(d.prototype), n.prototype.constructor = n, Ae(n, d);
|
|
481
483
|
}
|
|
482
|
-
function
|
|
484
|
+
function Be(n) {
|
|
483
485
|
return n && n.stopPropagation && n.stopPropagation(), n && n.preventDefault && n.preventDefault(), !1;
|
|
484
486
|
}
|
|
485
|
-
function
|
|
487
|
+
function Se(n) {
|
|
486
488
|
return n == null ? [] : Array.isArray(n) ? n.slice() : [n];
|
|
487
489
|
}
|
|
488
|
-
function
|
|
490
|
+
function fe(n) {
|
|
489
491
|
return n !== null && n.length === 1 ? n[0] : n.slice();
|
|
490
492
|
}
|
|
491
|
-
function
|
|
493
|
+
function be(n) {
|
|
492
494
|
Object.keys(n).forEach((d) => {
|
|
493
495
|
typeof document < "u" && document.addEventListener(d, n[d], !1);
|
|
494
496
|
});
|
|
495
497
|
}
|
|
496
|
-
function
|
|
497
|
-
return
|
|
498
|
+
function Y(n, d) {
|
|
499
|
+
return Ie(function(i, o) {
|
|
498
500
|
let t = i;
|
|
499
501
|
return t <= o.min && (t = o.min), t >= o.max && (t = o.max), t;
|
|
500
502
|
}(n, d), d);
|
|
501
503
|
}
|
|
502
|
-
function
|
|
504
|
+
function Ie(n, d) {
|
|
503
505
|
const i = (n - d.min) % d.step;
|
|
504
506
|
let o = n - i;
|
|
505
507
|
return 2 * Math.abs(i) >= d.step && (o += i > 0 ? d.step : -d.step), parseFloat(o.toFixed(5));
|
|
506
508
|
}
|
|
507
|
-
let
|
|
509
|
+
let Oe = function(n) {
|
|
508
510
|
function d(o) {
|
|
509
511
|
var t;
|
|
510
512
|
(t = n.call(this, o) || this).onKeyUp = () => {
|
|
@@ -524,8 +526,8 @@ let $e = function(n) {
|
|
|
524
526
|
t.setState({ pending: !0 });
|
|
525
527
|
const c = t.getTouchPosition(l);
|
|
526
528
|
if (t.isScrolling === void 0) {
|
|
527
|
-
const
|
|
528
|
-
t.isScrolling = Math.abs(_) > Math.abs(
|
|
529
|
+
const g = c[0] - t.startPosition[0], _ = c[1] - t.startPosition[1];
|
|
530
|
+
t.isScrolling = Math.abs(_) > Math.abs(g);
|
|
529
531
|
}
|
|
530
532
|
if (t.isScrolling) return void t.setState({ index: -1 });
|
|
531
533
|
const u = t.getDiffPosition(c[0]), m = t.getValueFromPosition(u);
|
|
@@ -561,28 +563,28 @@ let $e = function(n) {
|
|
|
561
563
|
if (t.setState({ pending: !0 }), !t.props.snapDragDisabled) {
|
|
562
564
|
const c = t.getMousePosition(l);
|
|
563
565
|
t.forceValueFromPosition(c[0], (u) => {
|
|
564
|
-
t.start(u, c[0]),
|
|
566
|
+
t.start(u, c[0]), be(t.getMouseEventMap());
|
|
565
567
|
});
|
|
566
568
|
}
|
|
567
|
-
|
|
569
|
+
Be(l);
|
|
568
570
|
}
|
|
569
571
|
}, t.onSliderClick = (l) => {
|
|
570
572
|
if (!t.props.disabled && t.props.onSliderClick && !t.hasMoved) {
|
|
571
|
-
const c = t.getMousePosition(l), u =
|
|
573
|
+
const c = t.getMousePosition(l), u = Y(t.calcValue(t.calcOffsetFromPosition(c[0])), t.props);
|
|
572
574
|
t.props.onSliderClick(u);
|
|
573
575
|
}
|
|
574
576
|
}, t.createOnKeyDown = (l) => (c) => {
|
|
575
|
-
t.props.disabled || (t.start(l),
|
|
577
|
+
t.props.disabled || (t.start(l), be(t.getKeyDownEventMap()), Be(c));
|
|
576
578
|
}, t.createOnMouseDown = (l) => (c) => {
|
|
577
579
|
if (t.props.disabled || c.button === 2) return;
|
|
578
580
|
t.setState({ pending: !0 });
|
|
579
581
|
const u = t.getMousePosition(c);
|
|
580
|
-
t.start(l, u[0]),
|
|
582
|
+
t.start(l, u[0]), be(t.getMouseEventMap()), Be(c);
|
|
581
583
|
}, t.createOnTouchStart = (l) => (c) => {
|
|
582
584
|
if (t.props.disabled || c.touches.length > 1) return;
|
|
583
585
|
t.setState({ pending: !0 });
|
|
584
586
|
const u = t.getTouchPosition(c);
|
|
585
|
-
t.startPosition = u, t.isScrolling = void 0, t.start(l, u[0]),
|
|
587
|
+
t.startPosition = u, t.isScrolling = void 0, t.start(l, u[0]), be(t.getTouchEventMap()), function(m) {
|
|
586
588
|
m.stopPropagation && m.stopPropagation();
|
|
587
589
|
}(c);
|
|
588
590
|
}, t.handleResize = () => {
|
|
@@ -593,25 +595,25 @@ let $e = function(n) {
|
|
|
593
595
|
}, t.renderThumb = (l, c) => {
|
|
594
596
|
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), m = { ref: (_) => {
|
|
595
597
|
t["thumb" + c] = _;
|
|
596
|
-
}, key: t.props.thumbClassName + "-" + c, className: u, style: l, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled },
|
|
597
|
-
return t.props.ariaValuetext && (m["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(
|
|
598
|
+
}, key: t.props.thumbClassName + "-" + c, className: u, style: l, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, g = { index: c, value: fe(t.state.value), valueNow: t.state.value[c] };
|
|
599
|
+
return t.props.ariaValuetext && (m["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(g)), t.props.renderThumb(m, g);
|
|
598
600
|
}, t.renderTrack = (l, c, u) => {
|
|
599
|
-
const m = { key: t.props.trackClassName + "-" + l, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + l, style: t.buildTrackStyle(c, t.state.upperBound - u) },
|
|
600
|
-
return t.props.renderTrack(m,
|
|
601
|
+
const m = { key: t.props.trackClassName + "-" + l, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + l, style: t.buildTrackStyle(c, t.state.upperBound - u) }, g = { index: l, value: fe(t.state.value) };
|
|
602
|
+
return t.props.renderTrack(m, g);
|
|
601
603
|
};
|
|
602
|
-
let r =
|
|
603
|
-
r.length || (r =
|
|
604
|
+
let r = Se(o.value);
|
|
605
|
+
r.length || (r = Se(o.defaultValue)), t.pendingResizeTimeouts = [];
|
|
604
606
|
const a = [];
|
|
605
|
-
for (let l = 0; l < r.length; l += 1) r[l] =
|
|
606
|
-
return t.resizeObserver = null, t.resizeElementRef =
|
|
607
|
+
for (let l = 0; l < r.length; l += 1) r[l] = Y(r[l], o), a.push(l);
|
|
608
|
+
return t.resizeObserver = null, t.resizeElementRef = $.createRef(), t.state = { index: -1, upperBound: 0, sliderLength: 0, value: r, zIndices: a }, t;
|
|
607
609
|
}
|
|
608
|
-
|
|
610
|
+
A2(d, n);
|
|
609
611
|
var i = d.prototype;
|
|
610
612
|
return i.componentDidMount = function() {
|
|
611
613
|
typeof window < "u" && (this.resizeObserver = new ResizeObserver(this.handleResize), this.resizeObserver.observe(this.resizeElementRef.current), this.resize());
|
|
612
614
|
}, d.getDerivedStateFromProps = function(o, t) {
|
|
613
|
-
const r =
|
|
614
|
-
return r.length ? t.pending ? null : { value: r.map((a) =>
|
|
615
|
+
const r = Se(o.value);
|
|
616
|
+
return r.length ? t.pending ? null : { value: r.map((a) => Y(a, o)) } : null;
|
|
615
617
|
}, i.componentDidUpdate = function() {
|
|
616
618
|
this.state.upperBound === 0 && this.resize();
|
|
617
619
|
}, i.componentWillUnmount = function() {
|
|
@@ -623,7 +625,7 @@ let $e = function(n) {
|
|
|
623
625
|
});
|
|
624
626
|
}(o), this.hasMoved && this.fireChangeEvent("onAfterChange"), this.setState({ pending: !1 }), this.hasMoved = !1;
|
|
625
627
|
}, i.getValue = function() {
|
|
626
|
-
return
|
|
628
|
+
return fe(this.state.value);
|
|
627
629
|
}, i.getClosestIndex = function(o) {
|
|
628
630
|
let t = Number.MAX_VALUE, r = -1;
|
|
629
631
|
const { value: a } = this.state, l = a.length;
|
|
@@ -645,15 +647,15 @@ let $e = function(n) {
|
|
|
645
647
|
return { touchmove: this.onTouchMove, touchend: this.onTouchEnd };
|
|
646
648
|
}, i.getValueFromPosition = function(o) {
|
|
647
649
|
const t = o / (this.state.sliderLength - this.state.thumbSize) * (this.props.max - this.props.min);
|
|
648
|
-
return
|
|
650
|
+
return Y(this.state.startValue + t, this.props);
|
|
649
651
|
}, i.getDiffPosition = function(o) {
|
|
650
652
|
let t = o - this.state.startPosition;
|
|
651
653
|
return this.props.invert && (t *= -1), t;
|
|
652
654
|
}, i.resize = function() {
|
|
653
655
|
const { slider: o, thumb0: t } = this;
|
|
654
656
|
if (!o || !t) return;
|
|
655
|
-
const r = this.sizeKey(), a = o.getBoundingClientRect(), l = o[r], c = a[this.posMaxKey()], u = a[this.posMinKey()], m = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()],
|
|
656
|
-
this.state.upperBound ===
|
|
657
|
+
const r = this.sizeKey(), a = o.getBoundingClientRect(), l = o[r], c = a[this.posMaxKey()], u = a[this.posMinKey()], m = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], g = l - m, _ = Math.abs(c - u);
|
|
658
|
+
this.state.upperBound === g && this.state.sliderLength === _ && this.state.thumbSize === m || this.setState({ upperBound: g, sliderLength: _, thumbSize: m });
|
|
657
659
|
}, i.calcOffset = function(o) {
|
|
658
660
|
const t = this.props.max - this.props.min;
|
|
659
661
|
return t === 0 ? 0 : (o - this.props.min) / t * this.state.upperBound;
|
|
@@ -664,7 +666,7 @@ let $e = function(n) {
|
|
|
664
666
|
let c = o - (window["page" + this.axisKey() + "Offset"] + (this.props.invert ? a : l));
|
|
665
667
|
return this.props.invert && (c = this.state.sliderLength - c), c -= this.state.thumbSize / 2, c;
|
|
666
668
|
}, i.forceValueFromPosition = function(o, t) {
|
|
667
|
-
const r = this.calcOffsetFromPosition(o), a = this.getClosestIndex(r), l =
|
|
669
|
+
const r = this.calcOffsetFromPosition(o), a = this.getClosestIndex(r), l = Y(this.calcValue(r), this.props), c = this.state.value.slice();
|
|
668
670
|
c[a] = l;
|
|
669
671
|
for (let u = 0; u < c.length - 1; u += 1) if (c[u + 1] - c[u] < this.props.minDistance) return;
|
|
670
672
|
this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0, this.setState({ value: c }, () => {
|
|
@@ -682,43 +684,43 @@ let $e = function(n) {
|
|
|
682
684
|
a.splice(a.indexOf(o), 1), a.push(o), this.setState((l) => ({ startValue: l.value[o], startPosition: t !== void 0 ? t : l.startPosition, index: o, zIndices: a }));
|
|
683
685
|
}, i.moveUpByStep = function(o) {
|
|
684
686
|
o === void 0 && (o = this.props.step);
|
|
685
|
-
const t = this.state.value[this.state.index], r =
|
|
687
|
+
const t = this.state.value[this.state.index], r = Y(this.props.invert && this.props.orientation === "horizontal" ? t - o : t + o, this.props);
|
|
686
688
|
this.move(Math.min(r, this.props.max));
|
|
687
689
|
}, i.moveDownByStep = function(o) {
|
|
688
690
|
o === void 0 && (o = this.props.step);
|
|
689
|
-
const t = this.state.value[this.state.index], r =
|
|
691
|
+
const t = this.state.value[this.state.index], r = Y(this.props.invert && this.props.orientation === "horizontal" ? t + o : t - o, this.props);
|
|
690
692
|
this.move(Math.max(r, this.props.min));
|
|
691
693
|
}, i.move = function(o) {
|
|
692
694
|
const t = this.state.value.slice(), { index: r } = this.state, { length: a } = t, l = t[r];
|
|
693
695
|
if (o === l) return;
|
|
694
696
|
this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
|
|
695
|
-
const { pearling: c, max: u, min: m, minDistance:
|
|
697
|
+
const { pearling: c, max: u, min: m, minDistance: g } = this.props;
|
|
696
698
|
if (!c) {
|
|
697
699
|
if (r > 0) {
|
|
698
700
|
const _ = t[r - 1];
|
|
699
|
-
o < _ +
|
|
701
|
+
o < _ + g && (o = _ + g);
|
|
700
702
|
}
|
|
701
703
|
if (r < a - 1) {
|
|
702
704
|
const _ = t[r + 1];
|
|
703
|
-
o > _ -
|
|
705
|
+
o > _ - g && (o = _ - g);
|
|
704
706
|
}
|
|
705
707
|
}
|
|
706
|
-
t[r] = o, c && a > 1 && (o > l ? (this.pushSucceeding(t,
|
|
707
|
-
for (let
|
|
708
|
-
const b =
|
|
709
|
-
|
|
708
|
+
t[r] = o, c && a > 1 && (o > l ? (this.pushSucceeding(t, g, r), function(_, v, C, h) {
|
|
709
|
+
for (let f = 0; f < _; f += 1) {
|
|
710
|
+
const b = h - f * C;
|
|
711
|
+
v[_ - 1 - f] > b && (v[_ - 1 - f] = b);
|
|
710
712
|
}
|
|
711
|
-
}(a, t,
|
|
712
|
-
for (let
|
|
713
|
-
const b =
|
|
714
|
-
f
|
|
713
|
+
}(a, t, g, u)) : o < l && (this.pushPreceding(t, g, r), function(_, v, C, h) {
|
|
714
|
+
for (let f = 0; f < _; f += 1) {
|
|
715
|
+
const b = h + f * C;
|
|
716
|
+
v[f] < b && (v[f] = b);
|
|
715
717
|
}
|
|
716
|
-
}(a, t,
|
|
718
|
+
}(a, t, g, m))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
717
719
|
}, i.pushSucceeding = function(o, t, r) {
|
|
718
720
|
let a, l;
|
|
719
|
-
for (a = r, l = o[a] + t; o[a + 1] !== null && l > o[a + 1]; a += 1, l = o[a] + t) o[a + 1] =
|
|
721
|
+
for (a = r, l = o[a] + t; o[a + 1] !== null && l > o[a + 1]; a += 1, l = o[a] + t) o[a + 1] = Ie(l, this.props);
|
|
720
722
|
}, i.pushPreceding = function(o, t, r) {
|
|
721
|
-
for (let a = r, l = o[a] - t; o[a - 1] !== null && l < o[a - 1]; a -= 1, l = o[a] - t) o[a - 1] =
|
|
723
|
+
for (let a = r, l = o[a] - t; o[a - 1] !== null && l < o[a - 1]; a -= 1, l = o[a] - t) o[a - 1] = Ie(l, this.props);
|
|
722
724
|
}, i.axisKey = function() {
|
|
723
725
|
return this.props.orientation === "vertical" ? "Y" : "X";
|
|
724
726
|
}, i.orthogonalAxisKey = function() {
|
|
@@ -730,7 +732,7 @@ let $e = function(n) {
|
|
|
730
732
|
}, i.sizeKey = function() {
|
|
731
733
|
return this.props.orientation === "vertical" ? "clientHeight" : "clientWidth";
|
|
732
734
|
}, i.fireChangeEvent = function(o) {
|
|
733
|
-
this.props[o] && this.props[o](
|
|
735
|
+
this.props[o] && this.props[o](fe(this.state.value), this.state.index);
|
|
734
736
|
}, i.buildThumbStyle = function(o, t) {
|
|
735
737
|
const r = { position: "absolute", touchAction: "none", willChange: this.state.index >= 0 ? this.posMinKey() : void 0, zIndex: this.state.zIndices.indexOf(t) + 1 };
|
|
736
738
|
return r[this.posMinKey()] = o + "px", r;
|
|
@@ -762,21 +764,21 @@ let $e = function(n) {
|
|
|
762
764
|
const o = [], { value: t } = this.state, r = t.length;
|
|
763
765
|
for (let u = 0; u < r; u += 1) o[u] = this.calcOffset(t[u], u);
|
|
764
766
|
const a = this.props.withTracks ? this.renderTracks(o) : null, l = this.renderThumbs(o), c = this.props.marks ? this.renderMarks() : null;
|
|
765
|
-
return
|
|
767
|
+
return $.createElement("div", { ref: (u) => {
|
|
766
768
|
this.slider = u, this.resizeElementRef.current = u;
|
|
767
769
|
}, style: { position: "relative" }, className: this.props.className + (this.props.disabled ? " disabled" : ""), onMouseDown: this.onSliderMouseDown, onClick: this.onSliderClick }, a, l, c);
|
|
768
770
|
}, d;
|
|
769
|
-
}(
|
|
770
|
-
|
|
771
|
-
var
|
|
772
|
-
const
|
|
773
|
-
container:
|
|
774
|
-
unitLabel:
|
|
775
|
-
slider:
|
|
776
|
-
thumb:
|
|
777
|
-
track:
|
|
778
|
-
labels:
|
|
779
|
-
},
|
|
771
|
+
}($.Component);
|
|
772
|
+
Oe.displayName = "ReactSlider", Oe.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) => $.createElement("div", n), renderTrack: (n) => $.createElement("div", n), renderMark: (n) => $.createElement("span", n) };
|
|
773
|
+
var ct = Oe;
|
|
774
|
+
const I2 = "_container_15vgv_2", O2 = "_unitLabel_15vgv_9", R2 = "_slider_15vgv_12", q2 = "_thumb_15vgv_18", E2 = "_track_15vgv_27", P2 = "_labels_15vgv_33", oe = {
|
|
775
|
+
container: I2,
|
|
776
|
+
unitLabel: O2,
|
|
777
|
+
slider: R2,
|
|
778
|
+
thumb: q2,
|
|
779
|
+
track: E2,
|
|
780
|
+
labels: P2
|
|
781
|
+
}, dt = ({
|
|
780
782
|
min: n = 0,
|
|
781
783
|
max: d = 100,
|
|
782
784
|
step: i = 1,
|
|
@@ -786,35 +788,35 @@ const L2 = "_container_15vgv_2", $2 = "_unitLabel_15vgv_9", F2 = "_slider_15vgv_
|
|
|
786
788
|
fontColor: a = "#605B56",
|
|
787
789
|
defaultValue: l
|
|
788
790
|
}) => {
|
|
789
|
-
const { t: c } =
|
|
791
|
+
const { t: c } = B(), [u, m] = D([n, d]), g = (_) => {
|
|
790
792
|
m(_), o == null || o({ min: _[0], max: _[1] });
|
|
791
793
|
};
|
|
792
|
-
return
|
|
794
|
+
return M(() => {
|
|
793
795
|
l || m([n, d]);
|
|
794
796
|
}, [l]), /* @__PURE__ */ p(
|
|
795
797
|
"div",
|
|
796
798
|
{
|
|
797
|
-
className:
|
|
799
|
+
className: oe.container,
|
|
798
800
|
style: { width: `${t}px`, color: `${a}` },
|
|
799
801
|
children: [
|
|
800
|
-
/* @__PURE__ */ s("div", { className:
|
|
802
|
+
/* @__PURE__ */ s("div", { className: oe.unitLabel, children: /* @__PURE__ */ s("span", { children: c(r) }) }),
|
|
801
803
|
/* @__PURE__ */ s(
|
|
802
|
-
|
|
804
|
+
ct,
|
|
803
805
|
{
|
|
804
|
-
className:
|
|
805
|
-
thumbClassName:
|
|
806
|
-
trackClassName:
|
|
806
|
+
className: oe.slider,
|
|
807
|
+
thumbClassName: oe.thumb,
|
|
808
|
+
trackClassName: oe.track,
|
|
807
809
|
min: n,
|
|
808
810
|
max: d,
|
|
809
811
|
step: i,
|
|
810
812
|
value: u,
|
|
811
|
-
onAfterChange:
|
|
813
|
+
onAfterChange: g,
|
|
812
814
|
withTracks: !0,
|
|
813
815
|
pearling: !0,
|
|
814
816
|
minDistance: 0.1
|
|
815
817
|
}
|
|
816
818
|
),
|
|
817
|
-
/* @__PURE__ */ p("div", { className:
|
|
819
|
+
/* @__PURE__ */ p("div", { className: oe.labels, children: [
|
|
818
820
|
/* @__PURE__ */ s("span", { children: u[0] }),
|
|
819
821
|
/* @__PURE__ */ s("span", { children: u[1] })
|
|
820
822
|
] })
|
|
@@ -822,7 +824,7 @@ const L2 = "_container_15vgv_2", $2 = "_unitLabel_15vgv_9", F2 = "_slider_15vgv_
|
|
|
822
824
|
}
|
|
823
825
|
);
|
|
824
826
|
};
|
|
825
|
-
|
|
827
|
+
dt.propTypes = {
|
|
826
828
|
min: e.number,
|
|
827
829
|
max: e.number,
|
|
828
830
|
step: e.number,
|
|
@@ -834,124 +836,132 @@ ot.propTypes = {
|
|
|
834
836
|
fontColor: e.string,
|
|
835
837
|
value: e.arrayOf(e.number)
|
|
836
838
|
};
|
|
837
|
-
const
|
|
838
|
-
tematicalFiltersInputContainer:
|
|
839
|
-
inputTypeContainer:
|
|
840
|
-
checkboxContainer:
|
|
841
|
-
absoluteSliderContainer:
|
|
842
|
-
},
|
|
839
|
+
const j2 = "_tematicalFiltersInputContainer_1vm1r_2", z2 = "_inputTypeContainer_1vm1r_2", Z2 = "_checkboxContainer_1vm1r_28", K2 = "_absoluteSliderContainer_1vm1r_37", _e = {
|
|
840
|
+
tematicalFiltersInputContainer: j2,
|
|
841
|
+
inputTypeContainer: z2,
|
|
842
|
+
checkboxContainer: Z2,
|
|
843
|
+
absoluteSliderContainer: K2
|
|
844
|
+
}, je = ({
|
|
843
845
|
indicator: n,
|
|
844
846
|
//onChangeBothType
|
|
845
847
|
activeColor: d
|
|
846
848
|
}) => {
|
|
847
|
-
const [i, o] =
|
|
849
|
+
const [i, o] = D(), {
|
|
848
850
|
type: t,
|
|
849
851
|
name: r,
|
|
850
852
|
values: a,
|
|
851
853
|
minValue: l,
|
|
852
854
|
maxValue: c,
|
|
853
855
|
unit: u,
|
|
854
|
-
step: m
|
|
855
|
-
|
|
856
|
+
step: m,
|
|
857
|
+
disabled: g
|
|
858
|
+
} = n || {}, _ = de(
|
|
856
859
|
() => t == "cat" || i == "cat",
|
|
857
860
|
[i, t]
|
|
858
|
-
),
|
|
859
|
-
() => t == "abs" || i == "abs",
|
|
860
|
-
|
|
861
|
+
), v = de(
|
|
862
|
+
() => t == "abs" || i == "abs" || [i, t]
|
|
863
|
+
), C = de(
|
|
864
|
+
() => t == "glb" || i == "glb" || [i, t]
|
|
861
865
|
), {
|
|
862
|
-
tematicalFiltersSelected:
|
|
863
|
-
selectedIndicator:
|
|
864
|
-
fontColor:
|
|
865
|
-
inputsColor:
|
|
866
|
-
} =
|
|
867
|
-
if (
|
|
868
|
-
const { min:
|
|
869
|
-
let
|
|
870
|
-
|
|
871
|
-
let
|
|
872
|
-
(V) => V.code ===
|
|
866
|
+
tematicalFiltersSelected: h,
|
|
867
|
+
selectedIndicator: f,
|
|
868
|
+
fontColor: b,
|
|
869
|
+
inputsColor: y
|
|
870
|
+
} = F((N) => N), w = (N) => {
|
|
871
|
+
if (N) {
|
|
872
|
+
const { min: k, max: S, valueClicked: O, allValues: A } = N || {}, { code: Z, type: ue } = n || {}, ie = v ? "abs" : _ ? "cat" : C ? "glb" : "both";
|
|
873
|
+
let E = Z[0];
|
|
874
|
+
ue == "both" && (E = ie == "cat" ? Z[1] : Z[0]), ie == "cat" ? F.setState((G) => {
|
|
875
|
+
let K = G.tematicalFiltersSelected.find(
|
|
876
|
+
(V) => V.code === E
|
|
873
877
|
);
|
|
874
|
-
if (
|
|
875
|
-
let V = [
|
|
876
|
-
return
|
|
877
|
-
(
|
|
878
|
-
) : V = [...
|
|
879
|
-
tematicalFiltersSelected:
|
|
880
|
-
(
|
|
878
|
+
if (K) {
|
|
879
|
+
let V = [K.values];
|
|
880
|
+
return K.values.includes(O) ? V = K.values.filter(
|
|
881
|
+
(R) => R !== O
|
|
882
|
+
) : V = [...K.values, O], V.length == A.length ? {
|
|
883
|
+
tematicalFiltersSelected: G.tematicalFiltersSelected.filter(
|
|
884
|
+
(R) => R.code !== E
|
|
881
885
|
)
|
|
882
886
|
} : {
|
|
883
|
-
tematicalFiltersSelected:
|
|
884
|
-
(
|
|
887
|
+
tematicalFiltersSelected: G.tematicalFiltersSelected.map(
|
|
888
|
+
(R) => R.code === E ? { ...R, values: V } : R
|
|
885
889
|
)
|
|
886
890
|
};
|
|
887
891
|
} else {
|
|
888
|
-
let V =
|
|
892
|
+
let V = A.map((R, kt) => kt);
|
|
889
893
|
return {
|
|
890
894
|
tematicalFiltersSelected: [
|
|
891
|
-
...
|
|
895
|
+
...h,
|
|
892
896
|
{
|
|
893
897
|
type: "cat",
|
|
894
|
-
code:
|
|
895
|
-
values: V.filter((
|
|
898
|
+
code: E,
|
|
899
|
+
values: V.filter((R) => R !== O),
|
|
896
900
|
name: n.name
|
|
897
901
|
}
|
|
898
902
|
]
|
|
899
903
|
};
|
|
900
904
|
}
|
|
901
|
-
}) :
|
|
902
|
-
let
|
|
903
|
-
(V) => V.code ===
|
|
905
|
+
}) : ie == "abs" && F.setState((G) => {
|
|
906
|
+
let K = G.tematicalFiltersSelected.find(
|
|
907
|
+
(V) => V.code === E
|
|
904
908
|
);
|
|
905
|
-
if (
|
|
909
|
+
if (k == n.minValue && S == n.maxValue)
|
|
906
910
|
return {
|
|
907
|
-
tematicalFiltersSelected:
|
|
908
|
-
(V) => V.code !==
|
|
911
|
+
tematicalFiltersSelected: G.tematicalFiltersSelected.filter(
|
|
912
|
+
(V) => V.code !== E
|
|
909
913
|
)
|
|
910
914
|
};
|
|
911
|
-
if (
|
|
912
|
-
let V = { ...
|
|
913
|
-
return V.min =
|
|
914
|
-
tematicalFiltersSelected:
|
|
915
|
-
(
|
|
915
|
+
if (K) {
|
|
916
|
+
let V = { ...K };
|
|
917
|
+
return V.min = k, V.max = S, {
|
|
918
|
+
tematicalFiltersSelected: G.tematicalFiltersSelected.map(
|
|
919
|
+
(R) => R.code === E ? V : R
|
|
916
920
|
)
|
|
917
921
|
};
|
|
918
922
|
} else
|
|
919
923
|
return {
|
|
920
924
|
tematicalFiltersSelected: [
|
|
921
|
-
...
|
|
922
|
-
{ type: "abs", code:
|
|
925
|
+
...h,
|
|
926
|
+
{ type: "abs", code: E, min: k, max: S, name: n.name }
|
|
923
927
|
]
|
|
924
928
|
};
|
|
925
929
|
});
|
|
926
930
|
}
|
|
927
|
-
},
|
|
928
|
-
const
|
|
929
|
-
if ((
|
|
930
|
-
for (const
|
|
931
|
-
|
|
932
|
-
return console.log("mapfilterSelected",
|
|
933
|
-
}, [
|
|
934
|
-
return /* @__PURE__ */ s("div", { className:
|
|
935
|
-
|
|
931
|
+
}, x = de(() => {
|
|
932
|
+
const N = {};
|
|
933
|
+
if ((h == null ? void 0 : h.length) > 0)
|
|
934
|
+
for (const k of h)
|
|
935
|
+
k.type === "cat" ? N[k.code] = new Set(k.values) : N[k.code] = [k.min, k.max];
|
|
936
|
+
return console.log("mapfilterSelected", N), N;
|
|
937
|
+
}, [h]);
|
|
938
|
+
return /* @__PURE__ */ s("div", { className: _e.tematicalFiltersInputContainer, children: /* @__PURE__ */ p(
|
|
939
|
+
ne,
|
|
936
940
|
{
|
|
937
|
-
titleFontStyles: {
|
|
941
|
+
titleFontStyles: {
|
|
942
|
+
fontSize: 16,
|
|
943
|
+
fontWeight: 400,
|
|
944
|
+
opacity: g ? 0.5 : 1
|
|
945
|
+
},
|
|
938
946
|
title: r,
|
|
939
|
-
isOpen:
|
|
940
|
-
onClick: () =>
|
|
941
|
-
|
|
942
|
-
|
|
947
|
+
isOpen: f == `id${r}`,
|
|
948
|
+
onClick: () => {
|
|
949
|
+
g || F.setState(() => ({
|
|
950
|
+
selectedIndicator: f == `id${r}` ? "" : `id${r}`
|
|
951
|
+
}));
|
|
952
|
+
},
|
|
943
953
|
showBottomBar: !1,
|
|
944
954
|
height: 42,
|
|
945
955
|
titleMarginChildren: 14,
|
|
946
956
|
className: "tematicalFiltersInputContainer",
|
|
947
|
-
color:
|
|
957
|
+
color: b,
|
|
948
958
|
activeColor: d,
|
|
949
959
|
children: [
|
|
950
960
|
t == "both" && /* @__PURE__ */ p(
|
|
951
961
|
"div",
|
|
952
962
|
{
|
|
953
|
-
className:
|
|
954
|
-
style: { color:
|
|
963
|
+
className: _e.inputTypeContainer,
|
|
964
|
+
style: { color: b },
|
|
955
965
|
children: [
|
|
956
966
|
/* @__PURE__ */ p("label", { children: [
|
|
957
967
|
/* @__PURE__ */ s(
|
|
@@ -965,8 +975,8 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
|
|
|
965
975
|
},
|
|
966
976
|
style: {
|
|
967
977
|
marginRight: 4,
|
|
968
|
-
backgroundColor: i == "abs" ?
|
|
969
|
-
border: `1.5px solid ${i == "abs" ?
|
|
978
|
+
backgroundColor: i == "abs" ? y : "white",
|
|
979
|
+
border: `1.5px solid ${i == "abs" ? y : b}`
|
|
970
980
|
}
|
|
971
981
|
}
|
|
972
982
|
),
|
|
@@ -984,8 +994,8 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
|
|
|
984
994
|
},
|
|
985
995
|
style: {
|
|
986
996
|
marginRight: 4,
|
|
987
|
-
backgroundColor: i == "cat" ?
|
|
988
|
-
border: `1.5px solid ${i == "cat" ?
|
|
997
|
+
backgroundColor: i == "cat" ? y : "white",
|
|
998
|
+
border: `1.5px solid ${i == "cat" ? y : b}`
|
|
989
999
|
}
|
|
990
1000
|
}
|
|
991
1001
|
),
|
|
@@ -994,26 +1004,26 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
|
|
|
994
1004
|
]
|
|
995
1005
|
}
|
|
996
1006
|
),
|
|
997
|
-
|
|
998
|
-
var
|
|
1007
|
+
_ && /* @__PURE__ */ s("div", { className: _e.checkboxContainer, children: a.map((N, k) => {
|
|
1008
|
+
var S;
|
|
999
1009
|
return /* @__PURE__ */ s(
|
|
1000
|
-
|
|
1010
|
+
lt,
|
|
1001
1011
|
{
|
|
1002
|
-
onClick: () =>
|
|
1003
|
-
indicator:
|
|
1004
|
-
value: ((
|
|
1012
|
+
onClick: () => w({ valueClicked: k, allValues: a }),
|
|
1013
|
+
indicator: N,
|
|
1014
|
+
value: ((S = x[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : S.has(k)) || !x[n.code[t == "both" ? 1 : 0]]
|
|
1005
1015
|
},
|
|
1006
|
-
`checkbox-${
|
|
1016
|
+
`checkbox-${k}`
|
|
1007
1017
|
);
|
|
1008
1018
|
}) }),
|
|
1009
|
-
|
|
1010
|
-
|
|
1019
|
+
v && /* @__PURE__ */ s("div", { className: _e.absoluteSliderContainer, children: /* @__PURE__ */ s(
|
|
1020
|
+
dt,
|
|
1011
1021
|
{
|
|
1012
|
-
onChange:
|
|
1022
|
+
onChange: w,
|
|
1013
1023
|
min: l,
|
|
1014
1024
|
max: c,
|
|
1015
1025
|
unit: u,
|
|
1016
|
-
defaultValue:
|
|
1026
|
+
defaultValue: x[n.code[0]] ? x[n.code[0]] : "",
|
|
1017
1027
|
step: m
|
|
1018
1028
|
}
|
|
1019
1029
|
) })
|
|
@@ -1021,7 +1031,7 @@ const I2 = "_tematicalFiltersInputContainer_1vm1r_2", O2 = "_inputTypeContainer_
|
|
|
1021
1031
|
}
|
|
1022
1032
|
) });
|
|
1023
1033
|
};
|
|
1024
|
-
|
|
1034
|
+
je.propTypes = {
|
|
1025
1035
|
indicator: e.shape({
|
|
1026
1036
|
name: e.string,
|
|
1027
1037
|
type: e.string,
|
|
@@ -1036,20 +1046,20 @@ Ie.propTypes = {
|
|
|
1036
1046
|
activeColor: e.string
|
|
1037
1047
|
//onChangeBothType: PropTypes.func,
|
|
1038
1048
|
};
|
|
1039
|
-
const
|
|
1049
|
+
const ut = ({
|
|
1040
1050
|
subcategory: n,
|
|
1041
1051
|
fontColor: d,
|
|
1042
1052
|
activeColor: i
|
|
1043
1053
|
//onChangeBothType,
|
|
1044
1054
|
}) => {
|
|
1045
|
-
const { activeSubcategory: o } =
|
|
1055
|
+
const { activeSubcategory: o } = F((a) => a), { name: t, indicators: r } = n || {};
|
|
1046
1056
|
return /* @__PURE__ */ s(
|
|
1047
|
-
|
|
1057
|
+
ne,
|
|
1048
1058
|
{
|
|
1049
1059
|
title: t,
|
|
1050
1060
|
isOpen: o == `id${t}`,
|
|
1051
1061
|
onClick: () => {
|
|
1052
|
-
|
|
1062
|
+
F.setState((a) => ({
|
|
1053
1063
|
activeSubcategory: a.activeSubcategory === `id${t}` ? "" : `id${t}`
|
|
1054
1064
|
}));
|
|
1055
1065
|
},
|
|
@@ -1060,7 +1070,7 @@ const st = ({
|
|
|
1060
1070
|
color: d,
|
|
1061
1071
|
activeColor: i,
|
|
1062
1072
|
children: r == null ? void 0 : r.map((a, l) => /* @__PURE__ */ s(
|
|
1063
|
-
|
|
1073
|
+
je,
|
|
1064
1074
|
{
|
|
1065
1075
|
indicator: a,
|
|
1066
1076
|
fontColor: d,
|
|
@@ -1071,7 +1081,7 @@ const st = ({
|
|
|
1071
1081
|
}
|
|
1072
1082
|
);
|
|
1073
1083
|
};
|
|
1074
|
-
|
|
1084
|
+
ut.propTypes = {
|
|
1075
1085
|
subcategory: e.shape({
|
|
1076
1086
|
name: e.string,
|
|
1077
1087
|
indicators: e.arrayOf(
|
|
@@ -1084,17 +1094,17 @@ st.propTypes = {
|
|
|
1084
1094
|
activeColor: e.string
|
|
1085
1095
|
//onChangeBothType: PropTypes.func,
|
|
1086
1096
|
};
|
|
1087
|
-
const
|
|
1097
|
+
const pt = ({
|
|
1088
1098
|
category: n,
|
|
1089
1099
|
// onChangeBothType,
|
|
1090
1100
|
activeColor: d
|
|
1091
1101
|
}) => {
|
|
1092
|
-
const { name: i, subcategories: o, indicators: t } = n || {}, { activeCategory: r, fontColor: a } =
|
|
1102
|
+
const { name: i, subcategories: o, indicators: t } = n || {}, { activeCategory: r, fontColor: a } = F((l) => l);
|
|
1093
1103
|
return n && /* @__PURE__ */ s(
|
|
1094
|
-
|
|
1104
|
+
ne,
|
|
1095
1105
|
{
|
|
1096
1106
|
onClick: () => {
|
|
1097
|
-
|
|
1107
|
+
F.setState((l) => ({
|
|
1098
1108
|
activeCategory: r === `id${i}` ? "" : `id${i}`
|
|
1099
1109
|
}));
|
|
1100
1110
|
},
|
|
@@ -1105,7 +1115,7 @@ const rt = ({
|
|
|
1105
1115
|
color: a,
|
|
1106
1116
|
activeColor: d,
|
|
1107
1117
|
children: o ? o.map((l, c) => /* @__PURE__ */ s(
|
|
1108
|
-
|
|
1118
|
+
ut,
|
|
1109
1119
|
{
|
|
1110
1120
|
subcategory: l,
|
|
1111
1121
|
fontColor: a,
|
|
@@ -1113,7 +1123,7 @@ const rt = ({
|
|
|
1113
1123
|
},
|
|
1114
1124
|
`subcategory-${c}`
|
|
1115
1125
|
)) : t && t.map((l, c) => /* @__PURE__ */ s(
|
|
1116
|
-
|
|
1126
|
+
je,
|
|
1117
1127
|
{
|
|
1118
1128
|
indicator: l,
|
|
1119
1129
|
fontColor: a,
|
|
@@ -1124,7 +1134,7 @@ const rt = ({
|
|
|
1124
1134
|
}
|
|
1125
1135
|
);
|
|
1126
1136
|
};
|
|
1127
|
-
|
|
1137
|
+
pt.propTypes = {
|
|
1128
1138
|
category: e.shape({
|
|
1129
1139
|
name: e.string.isRequired,
|
|
1130
1140
|
subcategories: e.array,
|
|
@@ -1133,7 +1143,7 @@ rt.propTypes = {
|
|
|
1133
1143
|
activeColor: e.string
|
|
1134
1144
|
//onChangeBothType: PropTypes.func,
|
|
1135
1145
|
};
|
|
1136
|
-
const
|
|
1146
|
+
const mt = ({
|
|
1137
1147
|
indicators: n,
|
|
1138
1148
|
isOpen: d = !0,
|
|
1139
1149
|
title: i,
|
|
@@ -1142,20 +1152,20 @@ const at = ({
|
|
|
1142
1152
|
inputsColor: t = "#605B56",
|
|
1143
1153
|
activeColor: r
|
|
1144
1154
|
}) => {
|
|
1145
|
-
const { tematicalFiltersSelected: a } =
|
|
1146
|
-
return
|
|
1147
|
-
o &&
|
|
1148
|
-
}, [o]),
|
|
1149
|
-
t &&
|
|
1155
|
+
const { tematicalFiltersSelected: a } = F((c) => c), { t: l } = B();
|
|
1156
|
+
return M(() => {
|
|
1157
|
+
o && F.setState(() => ({ fontColor: o }));
|
|
1158
|
+
}, [o]), M(() => {
|
|
1159
|
+
t && F.setState(() => ({ inputsColor: t }));
|
|
1150
1160
|
}, [t]), /* @__PURE__ */ s(
|
|
1151
|
-
|
|
1161
|
+
ne,
|
|
1152
1162
|
{
|
|
1153
1163
|
isOpen: d,
|
|
1154
1164
|
title: i ? l(i) : "Tematical filters",
|
|
1155
1165
|
color: o,
|
|
1156
1166
|
activeColor: r,
|
|
1157
1167
|
children: n == null ? void 0 : n.map((c, u) => /* @__PURE__ */ s(
|
|
1158
|
-
|
|
1168
|
+
pt,
|
|
1159
1169
|
{
|
|
1160
1170
|
category: c,
|
|
1161
1171
|
fontColor: o,
|
|
@@ -1166,7 +1176,7 @@ const at = ({
|
|
|
1166
1176
|
}
|
|
1167
1177
|
);
|
|
1168
1178
|
};
|
|
1169
|
-
|
|
1179
|
+
mt.propTypes = {
|
|
1170
1180
|
isOpen: e.bool,
|
|
1171
1181
|
title: e.string,
|
|
1172
1182
|
indicators: e.arrayOf(e.object),
|
|
@@ -1175,14 +1185,14 @@ at.propTypes = {
|
|
|
1175
1185
|
inputsColor: e.string,
|
|
1176
1186
|
activeColor: e.string
|
|
1177
1187
|
};
|
|
1178
|
-
const
|
|
1179
|
-
FiltersAmbitContainer:
|
|
1180
|
-
FiltersAmbitHeader:
|
|
1181
|
-
FiltersAmbitTitle:
|
|
1182
|
-
FiltersAmbitDescription:
|
|
1183
|
-
FiltersAmbitDescriptionTitle:
|
|
1184
|
-
warning:
|
|
1185
|
-
},
|
|
1188
|
+
const H2 = "_FiltersAmbitContainer_1g9xx_2", U2 = "_FiltersAmbitHeader_1g9xx_7", G2 = "_FiltersAmbitTitle_1g9xx_15", W2 = "_FiltersAmbitDescription_1g9xx_22", Y2 = "_FiltersAmbitDescriptionTitle_1g9xx_33", Q2 = "_warning_1g9xx_37", se = {
|
|
1189
|
+
FiltersAmbitContainer: H2,
|
|
1190
|
+
FiltersAmbitHeader: U2,
|
|
1191
|
+
FiltersAmbitTitle: G2,
|
|
1192
|
+
FiltersAmbitDescription: W2,
|
|
1193
|
+
FiltersAmbitDescriptionTitle: Y2,
|
|
1194
|
+
warning: Q2
|
|
1195
|
+
}, X2 = ({
|
|
1186
1196
|
ambitName: n,
|
|
1187
1197
|
ambitDescription: d,
|
|
1188
1198
|
defaultFilters: i,
|
|
@@ -1194,57 +1204,57 @@ const E2 = "_FiltersAmbitContainer_1g9xx_2", P2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1194
1204
|
saveAmbit: c,
|
|
1195
1205
|
namePlaceholder: u,
|
|
1196
1206
|
descPlaceholder: m,
|
|
1197
|
-
filtersTypes:
|
|
1207
|
+
filtersTypes: g = ["geographical", "tematical"],
|
|
1198
1208
|
nameRequiredText: _,
|
|
1199
|
-
onlyFilters:
|
|
1209
|
+
onlyFilters: v = !1
|
|
1200
1210
|
//usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
|
|
1201
1211
|
}) => {
|
|
1202
|
-
const { t:
|
|
1203
|
-
|
|
1204
|
-
i && i.length > 0 &&
|
|
1212
|
+
const { t: C } = B(), { tematicalFiltersSelected: h } = F((S) => S), [f, b] = D(n || null), [y, w] = D(d || null), [x, N] = D(!1);
|
|
1213
|
+
M(() => {
|
|
1214
|
+
i && i.length > 0 && F.setState((S) => ({
|
|
1205
1215
|
tematicalFiltersSelected: i
|
|
1206
1216
|
}));
|
|
1207
|
-
}, [i]),
|
|
1208
|
-
console.log("filtersSelected changed: ",
|
|
1209
|
-
}, [
|
|
1210
|
-
const
|
|
1211
|
-
|
|
1217
|
+
}, [i]), M(() => {
|
|
1218
|
+
console.log("filtersSelected changed: ", h), l(h);
|
|
1219
|
+
}, [h]);
|
|
1220
|
+
const k = () => {
|
|
1221
|
+
f ? c({ name: f, description: y }) : N(!0);
|
|
1212
1222
|
};
|
|
1213
|
-
return /* @__PURE__ */ p("div", { className:
|
|
1214
|
-
!
|
|
1215
|
-
/* @__PURE__ */ s("div", { className:
|
|
1223
|
+
return /* @__PURE__ */ p("div", { className: se.FiltersAmbitContainer, children: [
|
|
1224
|
+
!v && /* @__PURE__ */ p("div", { className: se.FiltersAmbitHeader, children: [
|
|
1225
|
+
/* @__PURE__ */ s("div", { className: se.FiltersAmbitTitle, children: /* @__PURE__ */ s(
|
|
1216
1226
|
"input",
|
|
1217
1227
|
{
|
|
1218
1228
|
type: "text",
|
|
1219
|
-
onChange: (
|
|
1220
|
-
N(!1), b(
|
|
1229
|
+
onChange: (S) => {
|
|
1230
|
+
N(!1), b(S.target.value);
|
|
1221
1231
|
},
|
|
1222
|
-
value:
|
|
1223
|
-
placeholder:
|
|
1232
|
+
value: f,
|
|
1233
|
+
placeholder: C(u)
|
|
1224
1234
|
}
|
|
1225
1235
|
) }),
|
|
1226
|
-
/* @__PURE__ */ s("div", { className:
|
|
1236
|
+
/* @__PURE__ */ s("div", { className: se.FiltersAmbitDescription, children: /* @__PURE__ */ s("div", { className: se.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ s(
|
|
1227
1237
|
"textarea",
|
|
1228
1238
|
{
|
|
1229
|
-
value:
|
|
1230
|
-
onChange: (
|
|
1231
|
-
placeholder:
|
|
1239
|
+
value: y,
|
|
1240
|
+
onChange: (S) => w(S.target.value),
|
|
1241
|
+
placeholder: C(m)
|
|
1232
1242
|
}
|
|
1233
1243
|
) }) })
|
|
1234
1244
|
] }),
|
|
1235
1245
|
/* @__PURE__ */ s(
|
|
1236
|
-
|
|
1246
|
+
rt,
|
|
1237
1247
|
{
|
|
1238
|
-
title:
|
|
1248
|
+
title: C("applied_filters"),
|
|
1239
1249
|
isOpen: !0,
|
|
1240
1250
|
textColor: r || "#fff",
|
|
1241
1251
|
backgroundColor: a || "#605B5680",
|
|
1242
1252
|
activeColor: t
|
|
1243
1253
|
}
|
|
1244
1254
|
),
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1255
|
+
g.includes("geographical") && /* @__PURE__ */ s(at, { activeColor: t }),
|
|
1256
|
+
g.includes("tematical") && /* @__PURE__ */ s(
|
|
1257
|
+
mt,
|
|
1248
1258
|
{
|
|
1249
1259
|
indicators: o,
|
|
1250
1260
|
inputsColor: t,
|
|
@@ -1253,11 +1263,11 @@ const E2 = "_FiltersAmbitContainer_1g9xx_2", P2 = "_FiltersAmbitHeader_1g9xx_7",
|
|
|
1253
1263
|
activeColor: t
|
|
1254
1264
|
}
|
|
1255
1265
|
),
|
|
1256
|
-
|
|
1257
|
-
!
|
|
1266
|
+
x && /* @__PURE__ */ s("div", { className: se.warning, children: C(_) }),
|
|
1267
|
+
!v && /* @__PURE__ */ s("div", { className: "buttonContainer", children: /* @__PURE__ */ s(ve, { onClick: () => k(), children: C("save_ambit") }) })
|
|
1258
1268
|
] });
|
|
1259
1269
|
};
|
|
1260
|
-
|
|
1270
|
+
X2.propTypes = {
|
|
1261
1271
|
indicators: e.arrayOf(e.object).isRequired,
|
|
1262
1272
|
ambitName: e.string,
|
|
1263
1273
|
ambitDescription: e.string,
|
|
@@ -1272,9 +1282,9 @@ H2.propTypes = {
|
|
|
1272
1282
|
filtersTypes: e.arrayOf(e.string).isRequired,
|
|
1273
1283
|
nameRequiredText: e.string
|
|
1274
1284
|
};
|
|
1275
|
-
const
|
|
1276
|
-
barChartContainer:
|
|
1277
|
-
},
|
|
1285
|
+
const J2 = "_barChartContainer_d2f1z_2", e0 = {
|
|
1286
|
+
barChartContainer: J2
|
|
1287
|
+
}, ht = ({
|
|
1278
1288
|
data: n,
|
|
1279
1289
|
width: d = 700,
|
|
1280
1290
|
barHeight: i = 25,
|
|
@@ -1286,13 +1296,13 @@ const U2 = "_barChartContainer_d2f1z_2", G2 = {
|
|
|
1286
1296
|
numberOfDivisions: c = 7,
|
|
1287
1297
|
maxValue: u = null
|
|
1288
1298
|
}) => {
|
|
1289
|
-
const { t: m } =
|
|
1299
|
+
const { t: m } = B(), { xScale: g, ticks: _, height: v } = de(() => {
|
|
1290
1300
|
if (n && n.length > 0) {
|
|
1291
|
-
const
|
|
1301
|
+
const C = (n == null ? void 0 : n.length) * (i + o) + r * 2, h = Ke.max(n, (y) => y.value) || 1, f = Ke.scaleLinear().domain([0, u || h]).range([0, d - l]), b = Array.from({ length: c + 1 }, (y, w) => u ? u / c * w : h / c * w);
|
|
1292
1302
|
return {
|
|
1293
|
-
xScale:
|
|
1303
|
+
xScale: f,
|
|
1294
1304
|
ticks: b,
|
|
1295
|
-
height:
|
|
1305
|
+
height: C,
|
|
1296
1306
|
width: d,
|
|
1297
1307
|
verticalPaddign: r,
|
|
1298
1308
|
horizontalPaddign: a
|
|
@@ -1309,32 +1319,32 @@ const U2 = "_barChartContainer_d2f1z_2", G2 = {
|
|
|
1309
1319
|
r,
|
|
1310
1320
|
u
|
|
1311
1321
|
]);
|
|
1312
|
-
return /* @__PURE__ */ s("div", { className:
|
|
1313
|
-
/* @__PURE__ */ s("g", { transform: `translate(${l + a}, 0)`, children: _.map((
|
|
1314
|
-
const
|
|
1315
|
-
return /* @__PURE__ */ p("g", { transform: `translate(${
|
|
1322
|
+
return /* @__PURE__ */ s("div", { className: e0.barChartContainer, children: /* @__PURE__ */ s("svg", { width: d + a * 2, height: v, children: /* @__PURE__ */ p("g", { transform: `translate(0,${o})`, children: [
|
|
1323
|
+
/* @__PURE__ */ s("g", { transform: `translate(${l + a}, 0)`, children: _.map((C, h) => {
|
|
1324
|
+
const f = g(C);
|
|
1325
|
+
return /* @__PURE__ */ p("g", { transform: `translate(${f}, 0)`, children: [
|
|
1316
1326
|
/* @__PURE__ */ s(
|
|
1317
1327
|
"line",
|
|
1318
1328
|
{
|
|
1319
1329
|
y1: 0,
|
|
1320
|
-
y2:
|
|
1330
|
+
y2: v - o * 2,
|
|
1321
1331
|
stroke: "#ccc"
|
|
1322
1332
|
}
|
|
1323
1333
|
),
|
|
1324
1334
|
/* @__PURE__ */ s(
|
|
1325
1335
|
"text",
|
|
1326
1336
|
{
|
|
1327
|
-
y:
|
|
1337
|
+
y: v - o,
|
|
1328
1338
|
textAnchor: "middle",
|
|
1329
1339
|
fontSize: 10,
|
|
1330
1340
|
fill: t,
|
|
1331
|
-
children: parseInt(
|
|
1341
|
+
children: parseInt(C)
|
|
1332
1342
|
}
|
|
1333
1343
|
)
|
|
1334
|
-
] },
|
|
1344
|
+
] }, h);
|
|
1335
1345
|
}) }),
|
|
1336
|
-
n && n.length > 0 && (n == null ? void 0 : n.map((
|
|
1337
|
-
const
|
|
1346
|
+
n && n.length > 0 && (n == null ? void 0 : n.map((C, h) => {
|
|
1347
|
+
const f = g(C.value), b = h * (i + o);
|
|
1338
1348
|
return /* @__PURE__ */ p(
|
|
1339
1349
|
"g",
|
|
1340
1350
|
{
|
|
@@ -1347,26 +1357,26 @@ const U2 = "_barChartContainer_d2f1z_2", G2 = {
|
|
|
1347
1357
|
y: i / 2 + 5,
|
|
1348
1358
|
textAnchor: "end",
|
|
1349
1359
|
fill: t,
|
|
1350
|
-
children: m(
|
|
1360
|
+
children: m(C.title)
|
|
1351
1361
|
}
|
|
1352
1362
|
),
|
|
1353
1363
|
/* @__PURE__ */ s(
|
|
1354
1364
|
"rect",
|
|
1355
1365
|
{
|
|
1356
|
-
width:
|
|
1366
|
+
width: f,
|
|
1357
1367
|
height: i,
|
|
1358
|
-
fill:
|
|
1368
|
+
fill: C.color,
|
|
1359
1369
|
rx: 0
|
|
1360
1370
|
}
|
|
1361
1371
|
)
|
|
1362
1372
|
]
|
|
1363
1373
|
},
|
|
1364
|
-
|
|
1374
|
+
h
|
|
1365
1375
|
);
|
|
1366
1376
|
}))
|
|
1367
1377
|
] }) }) });
|
|
1368
1378
|
};
|
|
1369
|
-
|
|
1379
|
+
ht.propTypes = {
|
|
1370
1380
|
data: e.arrayOf(
|
|
1371
1381
|
e.shape({
|
|
1372
1382
|
title: e.string,
|
|
@@ -1382,10 +1392,10 @@ lt.propTypes = {
|
|
|
1382
1392
|
numberOfDivisions: e.number,
|
|
1383
1393
|
fontColor: e.string
|
|
1384
1394
|
};
|
|
1385
|
-
const
|
|
1386
|
-
graphicContainer:
|
|
1387
|
-
titleContainer:
|
|
1388
|
-
},
|
|
1395
|
+
const t0 = "_graphicContainer_c9zrg_2", n0 = "_titleContainer_c9zrg_14", Ge = {
|
|
1396
|
+
graphicContainer: t0,
|
|
1397
|
+
titleContainer: n0
|
|
1398
|
+
}, i0 = ({
|
|
1389
1399
|
data: n,
|
|
1390
1400
|
graphWidth: d = 700,
|
|
1391
1401
|
containerStyle: i,
|
|
@@ -1396,19 +1406,19 @@ const Y2 = "_graphicContainer_c9zrg_2", W2 = "_titleContainer_c9zrg_14", je = {
|
|
|
1396
1406
|
numberOfDivisions: l = 7,
|
|
1397
1407
|
leftPadding: c = 200
|
|
1398
1408
|
}) => {
|
|
1399
|
-
const { t: u } =
|
|
1409
|
+
const { t: u } = B();
|
|
1400
1410
|
return /* @__PURE__ */ p(
|
|
1401
1411
|
"div",
|
|
1402
1412
|
{
|
|
1403
|
-
className:
|
|
1413
|
+
className: Ge.graphicContainer,
|
|
1404
1414
|
style: {
|
|
1405
1415
|
...i || {},
|
|
1406
1416
|
border: `1.5px solid ${o}`
|
|
1407
1417
|
},
|
|
1408
1418
|
children: [
|
|
1409
|
-
/* @__PURE__ */ s("div", { className:
|
|
1419
|
+
/* @__PURE__ */ s("div", { className: Ge.titleContainer, children: /* @__PURE__ */ s("h2", { children: u(t) }) }),
|
|
1410
1420
|
/* @__PURE__ */ s(
|
|
1411
|
-
|
|
1421
|
+
ht,
|
|
1412
1422
|
{
|
|
1413
1423
|
data: n,
|
|
1414
1424
|
width: d,
|
|
@@ -1422,7 +1432,7 @@ const Y2 = "_graphicContainer_c9zrg_2", W2 = "_titleContainer_c9zrg_14", je = {
|
|
|
1422
1432
|
}
|
|
1423
1433
|
);
|
|
1424
1434
|
};
|
|
1425
|
-
|
|
1435
|
+
i0.propTypes = {
|
|
1426
1436
|
data: e.arrayOf(
|
|
1427
1437
|
e.shape({
|
|
1428
1438
|
color: e.string.isRequired,
|
|
@@ -1439,22 +1449,22 @@ Q2.propTypes = {
|
|
|
1439
1449
|
numberOfDivisions: e.number,
|
|
1440
1450
|
leftPadding: e.number
|
|
1441
1451
|
};
|
|
1442
|
-
const
|
|
1443
|
-
indicatorsCategory:
|
|
1444
|
-
title:
|
|
1445
|
-
list:
|
|
1446
|
-
},
|
|
1447
|
-
indicatorContainer:
|
|
1448
|
-
indicatorNameContainer:
|
|
1449
|
-
dot:
|
|
1450
|
-
indicatorName:
|
|
1451
|
-
switchExternalContainer:
|
|
1452
|
-
switchType:
|
|
1453
|
-
switchTypeOptions:
|
|
1454
|
-
optionContainer:
|
|
1455
|
-
customRadious:
|
|
1456
|
-
optionText:
|
|
1457
|
-
},
|
|
1452
|
+
const o0 = "_indicatorsCategory_1cu33_2", s0 = "_title_1cu33_5", r0 = "_list_1cu33_11", $e = {
|
|
1453
|
+
indicatorsCategory: o0,
|
|
1454
|
+
title: s0,
|
|
1455
|
+
list: r0
|
|
1456
|
+
}, a0 = "_indicatorContainer_1go6h_2", l0 = "_indicatorNameContainer_1go6h_11", c0 = "_dot_1go6h_17", d0 = "_indicatorName_1go6h_11", u0 = "_switchExternalContainer_1go6h_28", p0 = "_switchType_1go6h_37", m0 = "_switchTypeOptions_1go6h_41", h0 = "_optionContainer_1go6h_52", g0 = "_customRadious_1go6h_62", C0 = "_optionText_1go6h_69", T = {
|
|
1457
|
+
indicatorContainer: a0,
|
|
1458
|
+
indicatorNameContainer: l0,
|
|
1459
|
+
dot: c0,
|
|
1460
|
+
indicatorName: d0,
|
|
1461
|
+
switchExternalContainer: u0,
|
|
1462
|
+
switchType: p0,
|
|
1463
|
+
switchTypeOptions: m0,
|
|
1464
|
+
optionContainer: h0,
|
|
1465
|
+
customRadious: g0,
|
|
1466
|
+
optionText: C0
|
|
1467
|
+
}, ze = ({
|
|
1458
1468
|
indicator: n,
|
|
1459
1469
|
values: d = [],
|
|
1460
1470
|
activeColor: i,
|
|
@@ -1465,25 +1475,25 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
|
|
|
1465
1475
|
multiple: l = !1,
|
|
1466
1476
|
onChangeType: c
|
|
1467
1477
|
}) => {
|
|
1468
|
-
const { t: u } =
|
|
1469
|
-
|
|
1470
|
-
t &&
|
|
1478
|
+
const { t: u } = B(), { name: m, type: g, disabled: _ } = n, [v, C] = D(!1);
|
|
1479
|
+
M(() => {
|
|
1480
|
+
t && C(
|
|
1471
1481
|
l ? t.some(
|
|
1472
|
-
(
|
|
1482
|
+
(b) => b.name == String(m)
|
|
1473
1483
|
) : t.name == m
|
|
1474
1484
|
);
|
|
1475
1485
|
}, [t]);
|
|
1476
|
-
const
|
|
1486
|
+
const h = () => /* @__PURE__ */ s("div", { className: T.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: T.switchType, children: /* @__PURE__ */ p("div", { className: T.switchTypeOptions, children: [
|
|
1477
1487
|
/* @__PURE__ */ p(
|
|
1478
1488
|
"div",
|
|
1479
1489
|
{
|
|
1480
|
-
className:
|
|
1490
|
+
className: T.optionContainer,
|
|
1481
1491
|
onClick: () => c("cat"),
|
|
1482
1492
|
children: [
|
|
1483
1493
|
/* @__PURE__ */ s(
|
|
1484
1494
|
"span",
|
|
1485
1495
|
{
|
|
1486
|
-
className: `${
|
|
1496
|
+
className: `${T.customRadious}`,
|
|
1487
1497
|
style: {
|
|
1488
1498
|
backgroundColor: r === "cat" ? i : "transparent",
|
|
1489
1499
|
borderColor: r === "cat" ? i : o
|
|
@@ -1493,7 +1503,7 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
|
|
|
1493
1503
|
/* @__PURE__ */ s(
|
|
1494
1504
|
"h4",
|
|
1495
1505
|
{
|
|
1496
|
-
className:
|
|
1506
|
+
className: T.optionText,
|
|
1497
1507
|
style: {
|
|
1498
1508
|
color: r === "cat" ? i : o
|
|
1499
1509
|
},
|
|
@@ -1506,13 +1516,13 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
|
|
|
1506
1516
|
/* @__PURE__ */ p(
|
|
1507
1517
|
"div",
|
|
1508
1518
|
{
|
|
1509
|
-
className:
|
|
1519
|
+
className: T.optionContainer,
|
|
1510
1520
|
onClick: () => c("abs"),
|
|
1511
1521
|
children: [
|
|
1512
1522
|
/* @__PURE__ */ s(
|
|
1513
1523
|
"span",
|
|
1514
1524
|
{
|
|
1515
|
-
className: `${
|
|
1525
|
+
className: `${T.customRadious}`,
|
|
1516
1526
|
style: {
|
|
1517
1527
|
backgroundColor: r === "abs" ? i : "transparent",
|
|
1518
1528
|
borderColor: r === "abs" ? i : o
|
|
@@ -1522,7 +1532,7 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
|
|
|
1522
1532
|
/* @__PURE__ */ s(
|
|
1523
1533
|
"h4",
|
|
1524
1534
|
{
|
|
1525
|
-
className:
|
|
1535
|
+
className: T.optionText,
|
|
1526
1536
|
style: {
|
|
1527
1537
|
color: r === "abs" ? i : o
|
|
1528
1538
|
},
|
|
@@ -1532,54 +1542,65 @@ const X2 = "_indicatorsCategory_1cu33_2", J2 = "_title_1cu33_5", e0 = "_list_1cu
|
|
|
1532
1542
|
]
|
|
1533
1543
|
}
|
|
1534
1544
|
)
|
|
1535
|
-
] }) }) }),
|
|
1545
|
+
] }) }) }), f = () => /* @__PURE__ */ s("div", { className: T.switchExternalContainer, children: /* @__PURE__ */ s("div", { className: T.switchType, children: /* @__PURE__ */ s("div", { className: T.switchTypeOptions, children: d.map((b, y) => /* @__PURE__ */ p(
|
|
1536
1546
|
"div",
|
|
1537
1547
|
{
|
|
1538
|
-
className:
|
|
1548
|
+
className: T.optionContainer,
|
|
1539
1549
|
children: [
|
|
1540
1550
|
/* @__PURE__ */ s(
|
|
1541
1551
|
"span",
|
|
1542
1552
|
{
|
|
1543
|
-
className:
|
|
1553
|
+
className: T.customRadious
|
|
1544
1554
|
}
|
|
1545
1555
|
),
|
|
1546
|
-
/* @__PURE__ */ s("h4", { children: u(
|
|
1556
|
+
/* @__PURE__ */ s("h4", { children: u(b.unit) })
|
|
1547
1557
|
]
|
|
1548
1558
|
},
|
|
1549
|
-
|
|
1559
|
+
y
|
|
1550
1560
|
)) }) }) });
|
|
1551
|
-
return /* @__PURE__ */ p("div", { className:
|
|
1561
|
+
return /* @__PURE__ */ p("div", { className: T.indicatorContainer, children: [
|
|
1552
1562
|
/* @__PURE__ */ p(
|
|
1553
1563
|
"div",
|
|
1554
1564
|
{
|
|
1555
|
-
className:
|
|
1556
|
-
onClick: () => a({ indicator: n }),
|
|
1565
|
+
className: T.indicatorNameContainer,
|
|
1566
|
+
onClick: () => !_ && a({ indicator: n }),
|
|
1557
1567
|
children: [
|
|
1558
1568
|
/* @__PURE__ */ s(
|
|
1559
1569
|
"div",
|
|
1560
1570
|
{
|
|
1561
1571
|
style: {
|
|
1562
|
-
border:
|
|
1572
|
+
border: v ? `1px solid ${i}` : `1px solid ${o}`,
|
|
1573
|
+
opacity: _ ? 0.5 : 1
|
|
1563
1574
|
},
|
|
1564
|
-
className:
|
|
1575
|
+
className: T.dot
|
|
1565
1576
|
}
|
|
1566
1577
|
),
|
|
1567
1578
|
/* @__PURE__ */ s(
|
|
1568
1579
|
"h4",
|
|
1569
1580
|
{
|
|
1570
|
-
className:
|
|
1571
|
-
style: {
|
|
1572
|
-
|
|
1581
|
+
className: T.indicatorName,
|
|
1582
|
+
style: {
|
|
1583
|
+
color: v ? i : o,
|
|
1584
|
+
opacity: _ ? 0.5 : 1
|
|
1585
|
+
},
|
|
1586
|
+
children: /* @__PURE__ */ s(
|
|
1587
|
+
Ee,
|
|
1588
|
+
{
|
|
1589
|
+
i18nKey: m,
|
|
1590
|
+
components: { sup: /* @__PURE__ */ s("sup", {}) },
|
|
1591
|
+
shouldUnescape: !0
|
|
1592
|
+
}
|
|
1593
|
+
)
|
|
1573
1594
|
}
|
|
1574
1595
|
)
|
|
1575
1596
|
]
|
|
1576
1597
|
}
|
|
1577
1598
|
),
|
|
1578
|
-
(t == null ? void 0 : t.name) === m &&
|
|
1579
|
-
(t == null ? void 0 : t.name) === m &&
|
|
1599
|
+
(t == null ? void 0 : t.name) === m && g === "both" && /* @__PURE__ */ s("div", { children: h() }),
|
|
1600
|
+
(t == null ? void 0 : t.name) === m && g === "twoUnits" && /* @__PURE__ */ s("div", { children: f() })
|
|
1580
1601
|
] });
|
|
1581
1602
|
};
|
|
1582
|
-
|
|
1603
|
+
ze.propTypes = {
|
|
1583
1604
|
indicator: e.shape({
|
|
1584
1605
|
name: e.string,
|
|
1585
1606
|
type: e.string
|
|
@@ -1591,10 +1612,10 @@ Oe.propTypes = {
|
|
|
1591
1612
|
multiple: e.bool,
|
|
1592
1613
|
onClickIndicator: e.func
|
|
1593
1614
|
};
|
|
1594
|
-
const
|
|
1595
|
-
indicatorsSubCategory:
|
|
1596
|
-
list:
|
|
1597
|
-
},
|
|
1615
|
+
const f0 = "_indicatorsSubCategory_1dzsi_2", b0 = "_list_1dzsi_8", We = {
|
|
1616
|
+
indicatorsSubCategory: f0,
|
|
1617
|
+
list: b0
|
|
1618
|
+
}, gt = ({
|
|
1598
1619
|
subcName: n,
|
|
1599
1620
|
indicators: d,
|
|
1600
1621
|
defaultColor: i,
|
|
@@ -1606,48 +1627,48 @@ const u0 = "_indicatorsSubCategory_1dzsi_2", p0 = "_list_1dzsi_8", Ze = {
|
|
|
1606
1627
|
onClickIndicator: c,
|
|
1607
1628
|
multiple: u,
|
|
1608
1629
|
activeIndicatorType: m,
|
|
1609
|
-
onChangeType:
|
|
1630
|
+
onChangeType: g
|
|
1610
1631
|
}) => {
|
|
1611
|
-
const { t: _ } =
|
|
1612
|
-
return
|
|
1613
|
-
|
|
1632
|
+
const { t: _ } = B(), [v, C] = D(!1);
|
|
1633
|
+
return M(() => {
|
|
1634
|
+
C(t == a);
|
|
1614
1635
|
}, [t, a]), /* @__PURE__ */ p(
|
|
1615
|
-
|
|
1636
|
+
Pe.div,
|
|
1616
1637
|
{
|
|
1617
|
-
className:
|
|
1638
|
+
className: We.indicatorsSubCategory,
|
|
1618
1639
|
initial: { height: "43px" },
|
|
1619
|
-
animate: { height:
|
|
1640
|
+
animate: { height: v ? "auto" : "43px" },
|
|
1620
1641
|
transition: { duration: 0.4 },
|
|
1621
1642
|
children: [
|
|
1622
|
-
/* @__PURE__ */ s("button", { onClick: () => r(a), children: /* @__PURE__ */ p("h3", { style: { color:
|
|
1623
|
-
/* @__PURE__ */ s("span", { style: { color:
|
|
1643
|
+
/* @__PURE__ */ s("button", { onClick: () => r(a), children: /* @__PURE__ */ p("h3", { style: { color: v ? o : i }, children: [
|
|
1644
|
+
/* @__PURE__ */ s("span", { style: { color: v ? o : i }, children: v ? "-" : "+" }),
|
|
1624
1645
|
/* @__PURE__ */ s(
|
|
1625
1646
|
"span",
|
|
1626
1647
|
{
|
|
1627
|
-
style: { marginLeft: 12, color:
|
|
1648
|
+
style: { marginLeft: 12, color: v ? o : i },
|
|
1628
1649
|
children: _(n)
|
|
1629
1650
|
}
|
|
1630
1651
|
)
|
|
1631
1652
|
] }) }),
|
|
1632
|
-
d && /* @__PURE__ */ s("div", { className:
|
|
1633
|
-
|
|
1653
|
+
d && /* @__PURE__ */ s("div", { className: We.list, children: d == null ? void 0 : d.map((h, f) => /* @__PURE__ */ s(
|
|
1654
|
+
ze,
|
|
1634
1655
|
{
|
|
1635
|
-
indicator:
|
|
1656
|
+
indicator: h,
|
|
1636
1657
|
defaultColor: i,
|
|
1637
1658
|
activeColor: o,
|
|
1638
1659
|
activeIndicator: l,
|
|
1639
1660
|
onClickIndicator: c,
|
|
1640
1661
|
multiple: u,
|
|
1641
1662
|
activeIndicatorType: m,
|
|
1642
|
-
onChangeType:
|
|
1663
|
+
onChangeType: g
|
|
1643
1664
|
},
|
|
1644
|
-
"indicator" +
|
|
1665
|
+
"indicator" + f
|
|
1645
1666
|
)) })
|
|
1646
1667
|
]
|
|
1647
1668
|
}
|
|
1648
1669
|
);
|
|
1649
1670
|
};
|
|
1650
|
-
|
|
1671
|
+
gt.propTypes = {
|
|
1651
1672
|
subcName: e.string,
|
|
1652
1673
|
indicators: e.array,
|
|
1653
1674
|
activeColor: e.string,
|
|
@@ -1659,7 +1680,7 @@ ct.propTypes = {
|
|
|
1659
1680
|
onClickSubCategory: e.func,
|
|
1660
1681
|
onClickIndicator: e.func
|
|
1661
1682
|
};
|
|
1662
|
-
const
|
|
1683
|
+
const Ct = ({
|
|
1663
1684
|
cat: n,
|
|
1664
1685
|
id: d,
|
|
1665
1686
|
activeColor: i,
|
|
@@ -1671,41 +1692,41 @@ const dt = ({
|
|
|
1671
1692
|
activeIndicator: c,
|
|
1672
1693
|
onClickIndicator: u,
|
|
1673
1694
|
multiple: m,
|
|
1674
|
-
activeIndicatorType:
|
|
1695
|
+
activeIndicatorType: g,
|
|
1675
1696
|
onChangeType: _
|
|
1676
1697
|
}) => {
|
|
1677
|
-
var
|
|
1678
|
-
const { t:
|
|
1679
|
-
return
|
|
1680
|
-
|
|
1698
|
+
var f;
|
|
1699
|
+
const { t: v } = B(), [C, h] = D(!1);
|
|
1700
|
+
return M(() => {
|
|
1701
|
+
h(r === d);
|
|
1681
1702
|
}, [r, d]), /* @__PURE__ */ p(
|
|
1682
|
-
|
|
1703
|
+
Pe.div,
|
|
1683
1704
|
{
|
|
1684
|
-
className:
|
|
1705
|
+
className: $e.indicatorsCategory,
|
|
1685
1706
|
initial: { height: "53px" },
|
|
1686
|
-
animate: { height:
|
|
1707
|
+
animate: { height: C ? "auto" : "53px" },
|
|
1687
1708
|
transition: { duration: 0.4 },
|
|
1688
1709
|
style: {
|
|
1689
1710
|
backgroundColor: "white",
|
|
1690
|
-
borderBottom:
|
|
1691
|
-
marginBottom:
|
|
1711
|
+
borderBottom: C ? `1px solid ${i}` : "0px",
|
|
1712
|
+
marginBottom: C ? "20px" : "0px"
|
|
1692
1713
|
},
|
|
1693
1714
|
children: [
|
|
1694
|
-
/* @__PURE__ */ p("h2", { className: `${
|
|
1695
|
-
/* @__PURE__ */ s("span", { style: { color:
|
|
1715
|
+
/* @__PURE__ */ p("h2", { className: `${$e.title}`, onClick: () => t(d), children: [
|
|
1716
|
+
/* @__PURE__ */ s("span", { style: { color: C ? i : o }, children: C ? "-" : "+" }),
|
|
1696
1717
|
/* @__PURE__ */ s(
|
|
1697
1718
|
"span",
|
|
1698
1719
|
{
|
|
1699
|
-
style: { marginLeft: 12, color:
|
|
1700
|
-
children:
|
|
1720
|
+
style: { marginLeft: 12, color: C ? i : o },
|
|
1721
|
+
children: v(n.name)
|
|
1701
1722
|
}
|
|
1702
1723
|
)
|
|
1703
1724
|
] }),
|
|
1704
1725
|
n.subcategories ? n.subcategories.map(
|
|
1705
|
-
({ name: b, subcategory:
|
|
1706
|
-
|
|
1726
|
+
({ name: b, subcategory: y, indicators: w }, x) => /* @__PURE__ */ s(
|
|
1727
|
+
gt,
|
|
1707
1728
|
{
|
|
1708
|
-
id:
|
|
1729
|
+
id: y,
|
|
1709
1730
|
activeSubCategory: a,
|
|
1710
1731
|
subcName: b,
|
|
1711
1732
|
onClickSubCategory: l,
|
|
@@ -1714,14 +1735,14 @@ const dt = ({
|
|
|
1714
1735
|
multiple: m,
|
|
1715
1736
|
activeColor: i,
|
|
1716
1737
|
defaultColor: o,
|
|
1717
|
-
indicators:
|
|
1718
|
-
activeIndicatorType:
|
|
1738
|
+
indicators: w,
|
|
1739
|
+
activeIndicatorType: g,
|
|
1719
1740
|
onChangeType: _
|
|
1720
1741
|
},
|
|
1721
|
-
`subcKey ${
|
|
1742
|
+
`subcKey ${x}`
|
|
1722
1743
|
)
|
|
1723
|
-
) : /* @__PURE__ */ s("div", { className:
|
|
1724
|
-
|
|
1744
|
+
) : /* @__PURE__ */ s("div", { className: $e.list, children: (f = n.indicators) == null ? void 0 : f.map((b, y) => /* @__PURE__ */ s(
|
|
1745
|
+
ze,
|
|
1725
1746
|
{
|
|
1726
1747
|
indicator: b,
|
|
1727
1748
|
values: b.type == "twoUnits" && b.values,
|
|
@@ -1730,16 +1751,16 @@ const dt = ({
|
|
|
1730
1751
|
activeIndicator: c,
|
|
1731
1752
|
onClickIndicator: u,
|
|
1732
1753
|
multiple: m,
|
|
1733
|
-
activeIndicatorType:
|
|
1754
|
+
activeIndicatorType: g,
|
|
1734
1755
|
onChangeType: _
|
|
1735
1756
|
},
|
|
1736
|
-
`indicator${
|
|
1757
|
+
`indicator${y}`
|
|
1737
1758
|
)) })
|
|
1738
1759
|
]
|
|
1739
1760
|
}
|
|
1740
1761
|
);
|
|
1741
1762
|
};
|
|
1742
|
-
|
|
1763
|
+
Ct.propTypes = {
|
|
1743
1764
|
cat: e.object,
|
|
1744
1765
|
id: e.string,
|
|
1745
1766
|
onChange: e.func,
|
|
@@ -1753,10 +1774,10 @@ dt.propTypes = {
|
|
|
1753
1774
|
activeColor: e.string,
|
|
1754
1775
|
defaultColor: e.string
|
|
1755
1776
|
};
|
|
1756
|
-
const
|
|
1757
|
-
indicatorsList:
|
|
1758
|
-
title:
|
|
1759
|
-
},
|
|
1777
|
+
const _0 = "_indicatorsList_fklyu_2", y0 = "_title_fklyu_6", Ye = {
|
|
1778
|
+
indicatorsList: _0,
|
|
1779
|
+
title: y0
|
|
1780
|
+
}, v0 = ({
|
|
1760
1781
|
indicators: n,
|
|
1761
1782
|
activeColor: d,
|
|
1762
1783
|
defaultColor: i = "#92898A",
|
|
@@ -1770,64 +1791,64 @@ const m0 = "_indicatorsList_fklyu_2", h0 = "_title_fklyu_6", Ke = {
|
|
|
1770
1791
|
changeIndType: a,
|
|
1771
1792
|
activeIndicatorType: l
|
|
1772
1793
|
}) => {
|
|
1773
|
-
const { t: c } =
|
|
1774
|
-
m(u ==
|
|
1775
|
-
},
|
|
1776
|
-
_(
|
|
1777
|
-
}, b = ({ indicator:
|
|
1778
|
-
console.log("onClickIndicator: ",
|
|
1779
|
-
},
|
|
1794
|
+
const { t: c } = B(), [u, m] = D(), [g, _] = D(), [v, C] = D(), h = (x) => {
|
|
1795
|
+
m(u == x ? null : x);
|
|
1796
|
+
}, f = (x) => {
|
|
1797
|
+
_(g == x ? null : x);
|
|
1798
|
+
}, b = ({ indicator: x }) => {
|
|
1799
|
+
console.log("onClickIndicator: ", x), y(x);
|
|
1800
|
+
}, y = (x) => {
|
|
1780
1801
|
if (!t)
|
|
1781
|
-
|
|
1782
|
-
(
|
|
1802
|
+
C(
|
|
1803
|
+
(v == null ? void 0 : v.name) == x.name ? null : x
|
|
1783
1804
|
);
|
|
1784
1805
|
else {
|
|
1785
|
-
let N =
|
|
1786
|
-
|
|
1806
|
+
let N = v && v.length > 0 ? [...v] : [];
|
|
1807
|
+
C(
|
|
1787
1808
|
N != null && N.some(
|
|
1788
|
-
(
|
|
1809
|
+
(k) => k.name == x.name
|
|
1789
1810
|
) ? N.filter(
|
|
1790
|
-
(
|
|
1791
|
-
) : [...N,
|
|
1792
|
-
),
|
|
1811
|
+
(k) => k.name != String(x.name)
|
|
1812
|
+
) : [...N, x]
|
|
1813
|
+
), x.type == "both" && a("cat");
|
|
1793
1814
|
}
|
|
1794
1815
|
};
|
|
1795
|
-
|
|
1796
|
-
console.log("activeindicator changed to: ",
|
|
1797
|
-
}, [
|
|
1798
|
-
if (r && !
|
|
1816
|
+
M(() => {
|
|
1817
|
+
console.log("activeindicator changed to: ", v), o && typeof o == "function" && v && o({ activeIndicator: v });
|
|
1818
|
+
}, [v]), Bt(() => {
|
|
1819
|
+
if (r && !v)
|
|
1799
1820
|
if (t && r && Array.isArray(r)) {
|
|
1800
|
-
let
|
|
1801
|
-
|
|
1821
|
+
let x = v && v.length > 0 ? [...v] : [];
|
|
1822
|
+
C([...x, ...r]), w(r[0].name);
|
|
1802
1823
|
} else
|
|
1803
|
-
|
|
1824
|
+
y(r), w(r.name);
|
|
1804
1825
|
}, []);
|
|
1805
|
-
const
|
|
1806
|
-
const N = n.find((
|
|
1807
|
-
if (
|
|
1808
|
-
let
|
|
1809
|
-
(
|
|
1826
|
+
const w = (x) => {
|
|
1827
|
+
const N = n.find((k) => {
|
|
1828
|
+
if (k.subcategories) {
|
|
1829
|
+
let S = k.subcategories.find(
|
|
1830
|
+
(O) => O.indicators.find((A) => A.name == x)
|
|
1810
1831
|
);
|
|
1811
|
-
if (
|
|
1812
|
-
return _(
|
|
1832
|
+
if (S)
|
|
1833
|
+
return _(S.subcategory), S;
|
|
1813
1834
|
} else
|
|
1814
|
-
return
|
|
1835
|
+
return k.indicators.some((S) => S.name == x);
|
|
1815
1836
|
});
|
|
1816
1837
|
N && m(N.category);
|
|
1817
1838
|
};
|
|
1818
|
-
return /* @__PURE__ */ p("div", { className:
|
|
1819
|
-
/* @__PURE__ */ s("h2", { className:
|
|
1820
|
-
n.map((
|
|
1821
|
-
|
|
1839
|
+
return /* @__PURE__ */ p("div", { className: Ye.indicatorsList, children: [
|
|
1840
|
+
/* @__PURE__ */ s("h2", { className: Ye.title, style: { color: i }, children: c("indicators.indicators") }),
|
|
1841
|
+
n.map((x, N) => /* @__PURE__ */ s(
|
|
1842
|
+
Ct,
|
|
1822
1843
|
{
|
|
1823
|
-
id:
|
|
1824
|
-
cat:
|
|
1825
|
-
onClickCategory:
|
|
1844
|
+
id: x.category,
|
|
1845
|
+
cat: x,
|
|
1846
|
+
onClickCategory: h,
|
|
1826
1847
|
activeCategory: u,
|
|
1827
|
-
onClickSubCategory:
|
|
1828
|
-
activeSubCategory:
|
|
1848
|
+
onClickSubCategory: f,
|
|
1849
|
+
activeSubCategory: g,
|
|
1829
1850
|
onClickIndicator: b,
|
|
1830
|
-
activeIndicator:
|
|
1851
|
+
activeIndicator: v,
|
|
1831
1852
|
activeColor: d,
|
|
1832
1853
|
defaultColor: i,
|
|
1833
1854
|
multiple: t,
|
|
@@ -1839,7 +1860,7 @@ const m0 = "_indicatorsList_fklyu_2", h0 = "_title_fklyu_6", Ke = {
|
|
|
1839
1860
|
))
|
|
1840
1861
|
] });
|
|
1841
1862
|
};
|
|
1842
|
-
|
|
1863
|
+
v0.propTypes = {
|
|
1843
1864
|
indicators: e.arrayOf(e.object),
|
|
1844
1865
|
activeColor: e.string,
|
|
1845
1866
|
defaultColor: e.string,
|
|
@@ -1850,35 +1871,35 @@ g0.propTypes = {
|
|
|
1850
1871
|
defaultValue: e.oneOfType([e.object, e.array]),
|
|
1851
1872
|
activeIndicatorType: e.string
|
|
1852
1873
|
};
|
|
1853
|
-
const
|
|
1854
|
-
langSelector:
|
|
1855
|
-
currentLang:
|
|
1856
|
-
arrow:
|
|
1857
|
-
prevImg:
|
|
1858
|
-
langMenu:
|
|
1859
|
-
},
|
|
1860
|
-
const [o, t] =
|
|
1874
|
+
const x0 = "_langSelector_o9enq_2", w0 = "_currentLang_o9enq_14", N0 = "_arrow_o9enq_26", k0 = "_prevImg_o9enq_29", B0 = "_langMenu_o9enq_33", re = {
|
|
1875
|
+
langSelector: x0,
|
|
1876
|
+
currentLang: w0,
|
|
1877
|
+
arrow: N0,
|
|
1878
|
+
prevImg: k0,
|
|
1879
|
+
langMenu: B0
|
|
1880
|
+
}, S0 = ({ langs: n, arrow: d, imgPrev: i }) => {
|
|
1881
|
+
const [o, t] = D(!1), { i18n: r } = B(), a = n.find((c) => c.code == r.language), l = (c) => {
|
|
1861
1882
|
r.changeLanguage(c), t(!1);
|
|
1862
1883
|
};
|
|
1863
|
-
return /* @__PURE__ */ p("div", { className:
|
|
1884
|
+
return /* @__PURE__ */ p("div", { className: re.langSelector, children: [
|
|
1864
1885
|
/* @__PURE__ */ p(
|
|
1865
1886
|
"div",
|
|
1866
1887
|
{
|
|
1867
|
-
className:
|
|
1888
|
+
className: re.currentLang,
|
|
1868
1889
|
onClick: () => {
|
|
1869
1890
|
t(!o);
|
|
1870
1891
|
},
|
|
1871
1892
|
children: [
|
|
1872
|
-
i && /* @__PURE__ */ s("img", { className:
|
|
1893
|
+
i && /* @__PURE__ */ s("img", { className: re.prevImg, src: i }),
|
|
1873
1894
|
(a == null ? void 0 : a.titleSelected) || (a == null ? void 0 : a.title),
|
|
1874
|
-
/* @__PURE__ */ s("img", { src: d, className:
|
|
1895
|
+
/* @__PURE__ */ s("img", { src: d, className: re.arrow })
|
|
1875
1896
|
]
|
|
1876
1897
|
}
|
|
1877
1898
|
),
|
|
1878
|
-
o && /* @__PURE__ */ s("div", { className:
|
|
1899
|
+
o && /* @__PURE__ */ s("div", { className: re.langMenu, children: n.map((c) => /* @__PURE__ */ s(
|
|
1879
1900
|
"button",
|
|
1880
1901
|
{
|
|
1881
|
-
className: (a == null ? void 0 : a.code) == c.code ?
|
|
1902
|
+
className: (a == null ? void 0 : a.code) == c.code ? re.active : "",
|
|
1882
1903
|
onClick: () => l(c.code),
|
|
1883
1904
|
children: c.title
|
|
1884
1905
|
},
|
|
@@ -1886,7 +1907,7 @@ const C0 = "_langSelector_o9enq_2", f0 = "_currentLang_o9enq_14", b0 = "_arrow_o
|
|
|
1886
1907
|
)) })
|
|
1887
1908
|
] });
|
|
1888
1909
|
};
|
|
1889
|
-
|
|
1910
|
+
S0.propTypes = {
|
|
1890
1911
|
langs: e.arrayOf(
|
|
1891
1912
|
e.shape({
|
|
1892
1913
|
code: e.string,
|
|
@@ -1900,23 +1921,23 @@ v0.propTypes = {
|
|
|
1900
1921
|
arrow: e.object,
|
|
1901
1922
|
imgPrev: e.object
|
|
1902
1923
|
};
|
|
1903
|
-
const
|
|
1904
|
-
legendContainer:
|
|
1905
|
-
closeButton:
|
|
1906
|
-
titleContainer:
|
|
1907
|
-
infoContainer:
|
|
1908
|
-
titleLegendList:
|
|
1909
|
-
legendListContainer:
|
|
1910
|
-
gridContainer:
|
|
1911
|
-
elementLegendContainer:
|
|
1912
|
-
colorDot:
|
|
1913
|
-
absoluteValueContainer:
|
|
1914
|
-
absoluteValueColor:
|
|
1915
|
-
absoluteValueText:
|
|
1916
|
-
noDataContainer:
|
|
1917
|
-
noData:
|
|
1918
|
-
moreInfoContainer:
|
|
1919
|
-
},
|
|
1924
|
+
const $0 = "_legendContainer_qs4x9_3", D0 = "_closeButton_qs4x9_31", M0 = "_titleContainer_qs4x9_59", L0 = "_infoContainer_qs4x9_65", T0 = "_titleLegendList_qs4x9_76", F0 = "_legendListContainer_qs4x9_82", V0 = "_gridContainer_qs4x9_82", A0 = "_elementLegendContainer_qs4x9_88", I0 = "_colorDot_qs4x9_94", O0 = "_absoluteValueContainer_qs4x9_100", R0 = "_absoluteValueColor_qs4x9_103", q0 = "_absoluteValueText_qs4x9_108", E0 = "_noDataContainer_qs4x9_120", P0 = "_noData_qs4x9_120", j0 = "_moreInfoContainer_qs4x9_141", L = {
|
|
1925
|
+
legendContainer: $0,
|
|
1926
|
+
closeButton: D0,
|
|
1927
|
+
titleContainer: M0,
|
|
1928
|
+
infoContainer: L0,
|
|
1929
|
+
titleLegendList: T0,
|
|
1930
|
+
legendListContainer: F0,
|
|
1931
|
+
gridContainer: V0,
|
|
1932
|
+
elementLegendContainer: A0,
|
|
1933
|
+
colorDot: I0,
|
|
1934
|
+
absoluteValueContainer: O0,
|
|
1935
|
+
absoluteValueColor: R0,
|
|
1936
|
+
absoluteValueText: q0,
|
|
1937
|
+
noDataContainer: E0,
|
|
1938
|
+
noData: P0,
|
|
1939
|
+
moreInfoContainer: j0
|
|
1940
|
+
}, z0 = ({
|
|
1920
1941
|
//JSON with the styles of the container (optional)
|
|
1921
1942
|
containerStyles: n,
|
|
1922
1943
|
//Title on top of the legend
|
|
@@ -1939,35 +1960,35 @@ const w0 = "_legendContainer_qs4x9_3", x0 = "_closeButton_qs4x9_31", N0 = "_titl
|
|
|
1939
1960
|
buttonTitle: l,
|
|
1940
1961
|
onClickClose: c
|
|
1941
1962
|
}) => {
|
|
1942
|
-
const { t: u } =
|
|
1963
|
+
const { t: u } = B();
|
|
1943
1964
|
return /* @__PURE__ */ p(
|
|
1944
1965
|
"div",
|
|
1945
1966
|
{
|
|
1946
1967
|
style: n ? { ...n } : {},
|
|
1947
|
-
className: `${
|
|
1968
|
+
className: `${L.legendContainer}`,
|
|
1948
1969
|
children: [
|
|
1949
|
-
/* @__PURE__ */ s("button", { className:
|
|
1950
|
-
d && /* @__PURE__ */ s("div", { className:
|
|
1951
|
-
i && i.length > 0 && /* @__PURE__ */ s("div", { className:
|
|
1952
|
-
/* @__PURE__ */ s("h3", { className:
|
|
1953
|
-
/* @__PURE__ */ p("span", { className:
|
|
1970
|
+
/* @__PURE__ */ s("button", { className: L.closeButton, onClick: c }),
|
|
1971
|
+
d && /* @__PURE__ */ s("div", { className: L.titleContainer, style: { marginBottom: (!i || i.length == 0) && "15px" }, children: /* @__PURE__ */ s("h2", { children: d }) }),
|
|
1972
|
+
i && i.length > 0 && /* @__PURE__ */ s("div", { className: L.infoContainer, children: /* @__PURE__ */ s("ul", { children: i.map(({ title: m, value: g }) => /* @__PURE__ */ p("li", { children: [
|
|
1973
|
+
/* @__PURE__ */ s("h3", { className: L.title, children: `${m}:` }),
|
|
1974
|
+
/* @__PURE__ */ p("span", { className: L.value, children: [
|
|
1954
1975
|
" ",
|
|
1955
|
-
|
|
1976
|
+
g
|
|
1956
1977
|
] })
|
|
1957
1978
|
] }, d)) }) }),
|
|
1958
|
-
/* @__PURE__ */ s("h3", { className:
|
|
1959
|
-
/* @__PURE__ */ p("div", { className:
|
|
1960
|
-
r ? /* @__PURE__ */ p("div", { className:
|
|
1979
|
+
/* @__PURE__ */ s("h3", { className: L.titleLegendList, style: { marginTop: i && i.length > 0 && "30px" }, children: t && /* @__PURE__ */ s(Ee, { i18nKey: t, components: { sup: /* @__PURE__ */ s("sup", {}) }, shouldUnescape: !0 }) }),
|
|
1980
|
+
/* @__PURE__ */ p("div", { className: L.legendListContainer, children: [
|
|
1981
|
+
r ? /* @__PURE__ */ p("div", { className: L.absoluteValueContainer, children: [
|
|
1961
1982
|
/* @__PURE__ */ s(
|
|
1962
1983
|
"div",
|
|
1963
1984
|
{
|
|
1964
|
-
className:
|
|
1985
|
+
className: L.absoluteValueColor,
|
|
1965
1986
|
style: {
|
|
1966
1987
|
background: `linear-gradient(to bottom, ${r.maxColor} 0%, ${r.midColor ? `${r.midColor} 50%,` : ""} ${r.minColor} 100%)`
|
|
1967
1988
|
}
|
|
1968
1989
|
}
|
|
1969
1990
|
),
|
|
1970
|
-
/* @__PURE__ */ p("div", { className:
|
|
1991
|
+
/* @__PURE__ */ p("div", { className: L.absoluteValueText, children: [
|
|
1971
1992
|
/* @__PURE__ */ p("span", { children: [
|
|
1972
1993
|
r.maxValue,
|
|
1973
1994
|
" ",
|
|
@@ -1984,40 +2005,40 @@ const w0 = "_legendContainer_qs4x9_3", x0 = "_closeButton_qs4x9_31", N0 = "_titl
|
|
|
1984
2005
|
u(r.unit)
|
|
1985
2006
|
] })
|
|
1986
2007
|
] })
|
|
1987
|
-
] }) : o && o.length > 0 && /* @__PURE__ */ s("div", { className:
|
|
1988
|
-
({ title: m, color:
|
|
2008
|
+
] }) : o && o.length > 0 && /* @__PURE__ */ s("div", { className: L.gridContainer, children: o.map(
|
|
2009
|
+
({ title: m, color: g }) => /* @__PURE__ */ p("div", { className: L.elementLegendContainer, children: [
|
|
1989
2010
|
/* @__PURE__ */ s(
|
|
1990
2011
|
"div",
|
|
1991
2012
|
{
|
|
1992
|
-
className:
|
|
1993
|
-
style: { backgroundColor:
|
|
2013
|
+
className: L.colorDot,
|
|
2014
|
+
style: { backgroundColor: g }
|
|
1994
2015
|
}
|
|
1995
2016
|
),
|
|
1996
|
-
/* @__PURE__ */ p("div", { className:
|
|
2017
|
+
/* @__PURE__ */ p("div", { className: L.titleLegendElement, children: [
|
|
1997
2018
|
u(m),
|
|
1998
2019
|
" "
|
|
1999
2020
|
] })
|
|
2000
2021
|
] }, d)
|
|
2001
2022
|
) }),
|
|
2002
|
-
r.noDataColor && /* @__PURE__ */ p("div", { className:
|
|
2023
|
+
r.noDataColor && /* @__PURE__ */ p("div", { className: L.noDataContainer, children: [
|
|
2003
2024
|
/* @__PURE__ */ s(
|
|
2004
2025
|
"div",
|
|
2005
2026
|
{
|
|
2006
|
-
className:
|
|
2027
|
+
className: L.noData,
|
|
2007
2028
|
style: {
|
|
2008
2029
|
background: r.noDataColor
|
|
2009
2030
|
}
|
|
2010
2031
|
}
|
|
2011
2032
|
),
|
|
2012
|
-
/* @__PURE__ */ s("div", { className:
|
|
2033
|
+
/* @__PURE__ */ s("div", { className: L.absoluteValueText, children: /* @__PURE__ */ s("span", { children: u(r.noDataText) }) })
|
|
2013
2034
|
] })
|
|
2014
2035
|
] }),
|
|
2015
|
-
a && /* @__PURE__ */ s("button", { className:
|
|
2036
|
+
a && /* @__PURE__ */ s("button", { className: L.moreInfoContainer, onClick: a, children: l || u("moreInformation") })
|
|
2016
2037
|
]
|
|
2017
2038
|
}
|
|
2018
2039
|
);
|
|
2019
2040
|
};
|
|
2020
|
-
|
|
2041
|
+
z0.propTypes = {
|
|
2021
2042
|
title: e.string,
|
|
2022
2043
|
containerStyles: e.object,
|
|
2023
2044
|
infoList: e.arrayOf(
|
|
@@ -2044,23 +2065,23 @@ O0.propTypes = {
|
|
|
2044
2065
|
onClickClose: e.func,
|
|
2045
2066
|
noDataColor: e.string
|
|
2046
2067
|
};
|
|
2047
|
-
const
|
|
2048
|
-
logo:
|
|
2049
|
-
},
|
|
2050
|
-
const { t: o } =
|
|
2051
|
-
return i ? /* @__PURE__ */ s("div", { className:
|
|
2068
|
+
const Z0 = "_logo_1ewa6_2", Qe = {
|
|
2069
|
+
logo: Z0
|
|
2070
|
+
}, K0 = ({ src: n, alt: d, href: i }) => {
|
|
2071
|
+
const { t: o } = B(), t = /* @__PURE__ */ s("img", { src: n, alt: o(d) });
|
|
2072
|
+
return i ? /* @__PURE__ */ s("div", { className: Qe.logo, children: /* @__PURE__ */ s("a", { href: i, children: t }) }) : /* @__PURE__ */ s("div", { className: Qe.logo, children: t });
|
|
2052
2073
|
};
|
|
2053
|
-
|
|
2074
|
+
K0.propTypes = {
|
|
2054
2075
|
src: e.string.isRequired,
|
|
2055
2076
|
alt: e.string.isRequired,
|
|
2056
2077
|
href: e.string,
|
|
2057
2078
|
className: e.string
|
|
2058
2079
|
};
|
|
2059
|
-
const
|
|
2060
|
-
mapContainer:
|
|
2080
|
+
const H0 = "_mapContainer_84pkf_2", U0 = {
|
|
2081
|
+
mapContainer: H0
|
|
2061
2082
|
};
|
|
2062
|
-
|
|
2063
|
-
const
|
|
2083
|
+
$t.accessToken = "pk.eyJ1IjoiY2ljbGljYSIsImEiOiJja3llODhxZ2UwYzF1Mm5xcHVhMzI3anhqIn0.-r56FLAzEH57eVsB2ZeVcA";
|
|
2084
|
+
const G0 = ({
|
|
2064
2085
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2065
2086
|
maxZoom: d = 17,
|
|
2066
2087
|
minZoom: i = 8,
|
|
@@ -2073,19 +2094,19 @@ const z0 = ({
|
|
|
2073
2094
|
sources: u = [],
|
|
2074
2095
|
layers: m = []
|
|
2075
2096
|
}) => {
|
|
2076
|
-
const
|
|
2077
|
-
return
|
|
2078
|
-
if (
|
|
2079
|
-
const
|
|
2080
|
-
|
|
2081
|
-
b.type == "symbol" && b.id != "professionals" && (
|
|
2097
|
+
const g = te(), [_, v] = D(null), C = Dt((h) => h.mapState.showTexts);
|
|
2098
|
+
return M(() => {
|
|
2099
|
+
if (g.current) {
|
|
2100
|
+
const h = g.current.getMap();
|
|
2101
|
+
h.getStyle().layers.map((b) => {
|
|
2102
|
+
b.type == "symbol" && b.id != "professionals" && (C ? h.setLayoutProperty(b.id, "visibility", "visible") : h.setLayoutProperty(b.id, "visibility", "none"));
|
|
2082
2103
|
});
|
|
2083
2104
|
}
|
|
2084
|
-
}, [
|
|
2085
|
-
|
|
2105
|
+
}, [C]), /* @__PURE__ */ s("div", { className: `${U0.mapContainer}`, style: r, children: /* @__PURE__ */ p(
|
|
2106
|
+
Lt,
|
|
2086
2107
|
{
|
|
2087
2108
|
initialViewState: n,
|
|
2088
|
-
ref:
|
|
2109
|
+
ref: g,
|
|
2089
2110
|
hash: !1,
|
|
2090
2111
|
maxZoom: d,
|
|
2091
2112
|
minZoom: i,
|
|
@@ -2093,31 +2114,31 @@ const z0 = ({
|
|
|
2093
2114
|
onClick: a,
|
|
2094
2115
|
interactiveLayerIds: l,
|
|
2095
2116
|
children: [
|
|
2096
|
-
u.length && u.map((
|
|
2097
|
-
|
|
2117
|
+
u.length && u.map((h, f) => /* @__PURE__ */ s(
|
|
2118
|
+
Tt,
|
|
2098
2119
|
{
|
|
2099
|
-
...
|
|
2100
|
-
children: m.length && m.map((b,
|
|
2101
|
-
if (b.sourceId ==
|
|
2102
|
-
|
|
2120
|
+
...h,
|
|
2121
|
+
children: m.length && m.map((b, y) => {
|
|
2122
|
+
if (b.sourceId == h.id) return /* @__PURE__ */ s(
|
|
2123
|
+
Ft,
|
|
2103
2124
|
{
|
|
2104
2125
|
...b.layer,
|
|
2105
2126
|
beforeId: t
|
|
2106
2127
|
},
|
|
2107
|
-
|
|
2128
|
+
y
|
|
2108
2129
|
);
|
|
2109
2130
|
})
|
|
2110
2131
|
},
|
|
2111
|
-
|
|
2132
|
+
f
|
|
2112
2133
|
)),
|
|
2113
|
-
/* @__PURE__ */ s(
|
|
2134
|
+
/* @__PURE__ */ s(Vt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2114
2135
|
c && _ && /* @__PURE__ */ s(
|
|
2115
|
-
|
|
2136
|
+
At,
|
|
2116
2137
|
{
|
|
2117
2138
|
longitude: c.longitude,
|
|
2118
2139
|
latitude: c.latitude,
|
|
2119
2140
|
anchor: c.anchor,
|
|
2120
|
-
onClose: () =>
|
|
2141
|
+
onClose: () => v(null),
|
|
2121
2142
|
children: c.content
|
|
2122
2143
|
}
|
|
2123
2144
|
)
|
|
@@ -2125,7 +2146,7 @@ const z0 = ({
|
|
|
2125
2146
|
}
|
|
2126
2147
|
) });
|
|
2127
2148
|
};
|
|
2128
|
-
|
|
2149
|
+
G0.propTypes = {
|
|
2129
2150
|
initialView: e.shape({
|
|
2130
2151
|
latitude: e.number.isRequired,
|
|
2131
2152
|
longitude: e.number.isRequired,
|
|
@@ -2170,25 +2191,25 @@ z0.propTypes = {
|
|
|
2170
2191
|
})
|
|
2171
2192
|
)
|
|
2172
2193
|
};
|
|
2173
|
-
const
|
|
2174
|
-
mapContainer:
|
|
2175
|
-
},
|
|
2176
|
-
FeaturePopUp:
|
|
2177
|
-
title:
|
|
2178
|
-
},
|
|
2179
|
-
const { t: d } =
|
|
2180
|
-
return /* @__PURE__ */ s("div", { className:
|
|
2181
|
-
/* @__PURE__ */ p("span", { className:
|
|
2182
|
-
/* @__PURE__ */ s(
|
|
2194
|
+
const W0 = "_mapContainer_b0pyr_3", Y0 = {
|
|
2195
|
+
mapContainer: W0
|
|
2196
|
+
}, Q0 = "_FeaturePopUp_mt8l5_2", X0 = "_title_mt8l5_9", Xe = {
|
|
2197
|
+
FeaturePopUp: Q0,
|
|
2198
|
+
title: X0
|
|
2199
|
+
}, J0 = ({ props: n }) => {
|
|
2200
|
+
const { t: d } = B();
|
|
2201
|
+
return /* @__PURE__ */ s("div", { className: Xe.FeaturePopUp, children: n.map((i) => /* @__PURE__ */ p("p", { children: [
|
|
2202
|
+
/* @__PURE__ */ p("span", { className: Xe.title, children: [
|
|
2203
|
+
/* @__PURE__ */ s(Ee, { i18nKey: i.name, components: { sup: /* @__PURE__ */ s("sup", {}) }, shouldUnescape: !0 }),
|
|
2183
2204
|
":"
|
|
2184
2205
|
] }),
|
|
2185
|
-
isNaN(i.value) ? /* @__PURE__ */ s(
|
|
2206
|
+
isNaN(i.value) ? /* @__PURE__ */ s(Ve, { children: d(i.value) }) : /* @__PURE__ */ p(Ve, { children: [
|
|
2186
2207
|
i.value.toLocaleString("de", { maximumFractionDigits: 2 }),
|
|
2187
2208
|
" ",
|
|
2188
2209
|
d(i.unit)
|
|
2189
2210
|
] })
|
|
2190
2211
|
] })) });
|
|
2191
|
-
},
|
|
2212
|
+
}, en = ({
|
|
2192
2213
|
initialView: n = { latitude: 39.4699, longitude: -0.3763, zoom: 12 },
|
|
2193
2214
|
maxZoom: d = 17,
|
|
2194
2215
|
minZoom: i = 8,
|
|
@@ -2200,30 +2221,30 @@ const j0 = "_mapContainer_b0pyr_3", Z0 = {
|
|
|
2200
2221
|
sources: c = [],
|
|
2201
2222
|
layers: u = [],
|
|
2202
2223
|
filters: m,
|
|
2203
|
-
popUpParams:
|
|
2224
|
+
popUpParams: g,
|
|
2204
2225
|
onClosePopUp: _,
|
|
2205
|
-
showTexts:
|
|
2226
|
+
showTexts: v
|
|
2206
2227
|
}) => {
|
|
2207
2228
|
console.log(m);
|
|
2208
|
-
const
|
|
2209
|
-
return
|
|
2210
|
-
if (
|
|
2211
|
-
const
|
|
2212
|
-
|
|
2213
|
-
b.type == "symbol" && b.id != "professionals" && (
|
|
2229
|
+
const C = te();
|
|
2230
|
+
return M(() => {
|
|
2231
|
+
if (C.current) {
|
|
2232
|
+
const h = C.current.getMap();
|
|
2233
|
+
h.getStyle().layers.map((b) => {
|
|
2234
|
+
b.type == "symbol" && b.id != "professionals" && (v ? h.setLayoutProperty(b.id, "visibility", "visible") : h.setLayoutProperty(b.id, "visibility", "none"));
|
|
2214
2235
|
});
|
|
2215
2236
|
}
|
|
2216
|
-
}, [
|
|
2217
|
-
let
|
|
2218
|
-
return
|
|
2219
|
-
|
|
2237
|
+
}, [v]), M(() => {
|
|
2238
|
+
let h = new It();
|
|
2239
|
+
return Ne.addProtocol("pmtiles", h.tile), () => {
|
|
2240
|
+
Ne.removeProtocol("pmtiles");
|
|
2220
2241
|
};
|
|
2221
|
-
}, []), /* @__PURE__ */ s("div", { className: `${
|
|
2222
|
-
|
|
2242
|
+
}, []), /* @__PURE__ */ s("div", { className: `${Y0.mapContainer}`, style: r && r, children: /* @__PURE__ */ p(
|
|
2243
|
+
Ot,
|
|
2223
2244
|
{
|
|
2224
|
-
mapLib:
|
|
2245
|
+
mapLib: Ne,
|
|
2225
2246
|
initialViewState: n,
|
|
2226
|
-
ref:
|
|
2247
|
+
ref: C,
|
|
2227
2248
|
hash: !1,
|
|
2228
2249
|
maxZoom: d,
|
|
2229
2250
|
minZoom: i,
|
|
@@ -2231,39 +2252,39 @@ const j0 = "_mapContainer_b0pyr_3", Z0 = {
|
|
|
2231
2252
|
onClick: a,
|
|
2232
2253
|
interactiveLayerIds: l,
|
|
2233
2254
|
children: [
|
|
2234
|
-
c.length && c.map((
|
|
2235
|
-
|
|
2255
|
+
c.length && c.map((h, f) => /* @__PURE__ */ s(
|
|
2256
|
+
Rt,
|
|
2236
2257
|
{
|
|
2237
|
-
...
|
|
2238
|
-
children: u.length && u.map((b,
|
|
2239
|
-
if (b.sourceId ==
|
|
2240
|
-
|
|
2258
|
+
...h,
|
|
2259
|
+
children: u.length && u.map((b, y) => {
|
|
2260
|
+
if (b.sourceId == h.id) return /* @__PURE__ */ s(
|
|
2261
|
+
qt,
|
|
2241
2262
|
{
|
|
2242
2263
|
...b.layer,
|
|
2243
2264
|
beforeId: t,
|
|
2244
2265
|
filter: m && m
|
|
2245
2266
|
},
|
|
2246
|
-
|
|
2267
|
+
y
|
|
2247
2268
|
);
|
|
2248
2269
|
})
|
|
2249
2270
|
},
|
|
2250
|
-
|
|
2271
|
+
f
|
|
2251
2272
|
)),
|
|
2252
|
-
/* @__PURE__ */ s(
|
|
2253
|
-
|
|
2254
|
-
|
|
2273
|
+
/* @__PURE__ */ s(Et, { position: "bottom-right", visualizePitch: !0 }),
|
|
2274
|
+
g && /* @__PURE__ */ s(
|
|
2275
|
+
Pt,
|
|
2255
2276
|
{
|
|
2256
|
-
longitude:
|
|
2257
|
-
latitude:
|
|
2277
|
+
longitude: g.lng,
|
|
2278
|
+
latitude: g.lat,
|
|
2258
2279
|
onClose: _,
|
|
2259
|
-
children: /* @__PURE__ */ s(
|
|
2280
|
+
children: /* @__PURE__ */ s(J0, { props: g.props })
|
|
2260
2281
|
}
|
|
2261
2282
|
)
|
|
2262
2283
|
]
|
|
2263
2284
|
}
|
|
2264
2285
|
) });
|
|
2265
2286
|
};
|
|
2266
|
-
|
|
2287
|
+
en.propTypes = {
|
|
2267
2288
|
initialView: e.shape({
|
|
2268
2289
|
latitude: e.number.isRequired,
|
|
2269
2290
|
longitude: e.number.isRequired,
|
|
@@ -2306,14 +2327,14 @@ G0.propTypes = {
|
|
|
2306
2327
|
popUpParams: e.object,
|
|
2307
2328
|
onClosePopUp: e.func
|
|
2308
2329
|
};
|
|
2309
|
-
const
|
|
2310
|
-
sectionBar:
|
|
2311
|
-
leftContent:
|
|
2312
|
-
textContainer:
|
|
2313
|
-
title:
|
|
2314
|
-
subtitle:
|
|
2315
|
-
rightContent:
|
|
2316
|
-
},
|
|
2330
|
+
const tn = "_sectionBar_1egwc_2", nn = "_leftContent_1egwc_14", on = "_textContainer_1egwc_20", sn = "_title_1egwc_27", rn = "_subtitle_1egwc_33", an = "_rightContent_1egwc_38", Q = {
|
|
2331
|
+
sectionBar: tn,
|
|
2332
|
+
leftContent: nn,
|
|
2333
|
+
textContainer: on,
|
|
2334
|
+
title: sn,
|
|
2335
|
+
subtitle: rn,
|
|
2336
|
+
rightContent: an
|
|
2337
|
+
}, Ri = ({
|
|
2317
2338
|
leftIcon: n,
|
|
2318
2339
|
title: d,
|
|
2319
2340
|
subtitle: i,
|
|
@@ -2321,18 +2342,18 @@ const Y0 = "_sectionBar_1egwc_2", W0 = "_leftContent_1egwc_14", Q0 = "_textConta
|
|
|
2321
2342
|
mainColor: t,
|
|
2322
2343
|
width: r
|
|
2323
2344
|
}) => {
|
|
2324
|
-
const { t: a } =
|
|
2325
|
-
return /* @__PURE__ */ p("div", { className:
|
|
2326
|
-
/* @__PURE__ */ p("div", { className:
|
|
2327
|
-
n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className:
|
|
2328
|
-
/* @__PURE__ */ p("div", { className:
|
|
2329
|
-
/* @__PURE__ */ s("div", { className:
|
|
2330
|
-
i && /* @__PURE__ */ s("div", { className:
|
|
2345
|
+
const { t: a } = B();
|
|
2346
|
+
return /* @__PURE__ */ p("div", { className: Q.sectionBar, style: { width: r && r }, children: [
|
|
2347
|
+
/* @__PURE__ */ p("div", { className: Q.leftContent, children: [
|
|
2348
|
+
n && /* @__PURE__ */ s("img", { src: n, alt: "Icono", className: Q.icon }),
|
|
2349
|
+
/* @__PURE__ */ p("div", { className: Q.textContainer, children: [
|
|
2350
|
+
/* @__PURE__ */ s("div", { className: Q.title, children: a(d) }),
|
|
2351
|
+
i && /* @__PURE__ */ s("div", { className: Q.subtitle, children: i })
|
|
2331
2352
|
] })
|
|
2332
2353
|
] }),
|
|
2333
|
-
/* @__PURE__ */ s("div", { className:
|
|
2354
|
+
/* @__PURE__ */ s("div", { className: Q.rightContent, children: o })
|
|
2334
2355
|
] });
|
|
2335
|
-
},
|
|
2356
|
+
}, ln = jt({
|
|
2336
2357
|
name: "mapSlice",
|
|
2337
2358
|
initialState: {
|
|
2338
2359
|
showTexts: !0,
|
|
@@ -2358,36 +2379,36 @@ const Y0 = "_sectionBar_1egwc_2", W0 = "_leftContent_1egwc_14", Q0 = "_textConta
|
|
|
2358
2379
|
n.activeIndicatorUnit = d.payload;
|
|
2359
2380
|
}
|
|
2360
2381
|
}
|
|
2361
|
-
}), { setShowTexts:
|
|
2362
|
-
slider:
|
|
2363
|
-
playButton:
|
|
2364
|
-
sliderOpen:
|
|
2365
|
-
sliderResults:
|
|
2366
|
-
},
|
|
2367
|
-
const [a, l] =
|
|
2368
|
-
l(
|
|
2369
|
-
}, [m,
|
|
2370
|
-
|
|
2371
|
-
},
|
|
2372
|
-
|
|
2382
|
+
}), { setShowTexts: qi, setYear: De, setActiveIndicatorKey: Ei, setActiveIndicatorType: Pi, setActiveIndicatorUnit: ji } = ln.actions, cn = "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", dn = "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", un = "_slider_a19yo_2", pn = "_playButton_a19yo_17", mn = "_sliderOpen_a19yo_28", hn = "_sliderResults_a19yo_32", me = {
|
|
2383
|
+
slider: un,
|
|
2384
|
+
playButton: pn,
|
|
2385
|
+
sliderOpen: mn,
|
|
2386
|
+
sliderResults: hn
|
|
2387
|
+
}, gn = ({ onResults: n = !1, defaultYear: d = 2025, firstYear: i = 2025, lastYear: o = 2050, zIndex: t = 10, rightBarOpen: r = !1 }) => {
|
|
2388
|
+
const [a, l] = D(d), c = Mt(), u = (b, y) => {
|
|
2389
|
+
l(y), c(De(y - 2e3));
|
|
2390
|
+
}, [m, g] = D(!1), _ = () => {
|
|
2391
|
+
g(!0);
|
|
2392
|
+
}, v = () => {
|
|
2393
|
+
g(!1);
|
|
2373
2394
|
};
|
|
2374
|
-
((b,
|
|
2375
|
-
const
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
}, [b]),
|
|
2379
|
-
function
|
|
2380
|
-
|
|
2395
|
+
((b, y) => {
|
|
2396
|
+
const w = te();
|
|
2397
|
+
M(() => {
|
|
2398
|
+
w.current = b;
|
|
2399
|
+
}, [b]), M(() => {
|
|
2400
|
+
function x() {
|
|
2401
|
+
w.current();
|
|
2381
2402
|
}
|
|
2382
2403
|
{
|
|
2383
|
-
let N = setInterval(
|
|
2404
|
+
let N = setInterval(x, y);
|
|
2384
2405
|
return () => clearInterval(N);
|
|
2385
2406
|
}
|
|
2386
|
-
}, [
|
|
2407
|
+
}, [y]);
|
|
2387
2408
|
})(() => {
|
|
2388
|
-
m && (a != 2050 ? (l(a + 1), c(
|
|
2409
|
+
m && (a != 2050 ? (l(a + 1), c(De(a - 2e3 + 1))) : (l(2025), c(De(25))));
|
|
2389
2410
|
}, 1e3);
|
|
2390
|
-
const
|
|
2411
|
+
const h = Zt({
|
|
2391
2412
|
palette: {
|
|
2392
2413
|
primary: {
|
|
2393
2414
|
main: "#605b56"
|
|
@@ -2409,28 +2430,28 @@ const Y0 = "_sectionBar_1egwc_2", W0 = "_leftContent_1egwc_14", Q0 = "_textConta
|
|
|
2409
2430
|
}
|
|
2410
2431
|
}
|
|
2411
2432
|
}
|
|
2412
|
-
}),
|
|
2433
|
+
}), f = [
|
|
2413
2434
|
{ label: "", value: 2025 },
|
|
2414
2435
|
{ label: "", value: 2032 },
|
|
2415
2436
|
{ label: "", value: 2041 },
|
|
2416
2437
|
{ label: "", value: 2050 }
|
|
2417
2438
|
];
|
|
2418
|
-
return /* @__PURE__ */ s(
|
|
2419
|
-
|
|
2439
|
+
return /* @__PURE__ */ s(Ht, { theme: h, children: /* @__PURE__ */ p(
|
|
2440
|
+
Kt,
|
|
2420
2441
|
{
|
|
2421
2442
|
sx: { width: 400 },
|
|
2422
|
-
className: `${n ?
|
|
2443
|
+
className: `${n ? me.sliderResults : me.slider} ${r ? me.sliderOpen : ""}`,
|
|
2423
2444
|
style: { zIndex: t },
|
|
2424
2445
|
children: [
|
|
2425
2446
|
i,
|
|
2426
2447
|
/* @__PURE__ */ s(
|
|
2427
|
-
|
|
2448
|
+
zt,
|
|
2428
2449
|
{
|
|
2429
2450
|
"aria-label": "TimeSlider",
|
|
2430
2451
|
value: a,
|
|
2431
2452
|
valueLabelDisplay: "on",
|
|
2432
2453
|
step: 1,
|
|
2433
|
-
marks:
|
|
2454
|
+
marks: f,
|
|
2434
2455
|
min: i,
|
|
2435
2456
|
max: o,
|
|
2436
2457
|
onChange: u,
|
|
@@ -2439,13 +2460,13 @@ const Y0 = "_sectionBar_1egwc_2", W0 = "_leftContent_1egwc_14", Q0 = "_textConta
|
|
|
2439
2460
|
}
|
|
2440
2461
|
),
|
|
2441
2462
|
o,
|
|
2442
|
-
!m && /* @__PURE__ */ s("button", { className:
|
|
2443
|
-
m && /* @__PURE__ */ s("button", { className:
|
|
2463
|
+
!m && /* @__PURE__ */ s("button", { className: me.playButton, onClick: _, children: /* @__PURE__ */ s("img", { src: cn, alt: "Play" }) }),
|
|
2464
|
+
m && /* @__PURE__ */ s("button", { className: me.playButton, onClick: v, children: /* @__PURE__ */ s("img", { src: dn, alt: "Pause" }) })
|
|
2444
2465
|
]
|
|
2445
2466
|
}
|
|
2446
2467
|
) });
|
|
2447
2468
|
};
|
|
2448
|
-
|
|
2469
|
+
gn.propTypes = {
|
|
2449
2470
|
defaultYear: e.number,
|
|
2450
2471
|
onResults: e.bool,
|
|
2451
2472
|
firstYear: e.number,
|
|
@@ -2453,11 +2474,11 @@ cn.propTypes = {
|
|
|
2453
2474
|
zIndex: e.number,
|
|
2454
2475
|
rightBarOpen: e.bool
|
|
2455
2476
|
};
|
|
2456
|
-
const
|
|
2457
|
-
TopNavMenuContainer:
|
|
2458
|
-
topNavOptions:
|
|
2459
|
-
active:
|
|
2460
|
-
},
|
|
2477
|
+
const Cn = "_TopNavMenuContainer_12mp4_2", fn = "_topNavOptions_12mp4_13", bn = "_active_12mp4_27", Me = {
|
|
2478
|
+
TopNavMenuContainer: Cn,
|
|
2479
|
+
topNavOptions: fn,
|
|
2480
|
+
active: bn
|
|
2481
|
+
}, _n = ({
|
|
2461
2482
|
options: n = [],
|
|
2462
2483
|
containerStyles: d,
|
|
2463
2484
|
borderColor: i = "red",
|
|
@@ -2466,12 +2487,12 @@ const dn = "_TopNavMenuContainer_12mp4_2", un = "_topNavOptions_12mp4_13", pn =
|
|
|
2466
2487
|
console.log("Changed NavLink", r);
|
|
2467
2488
|
}
|
|
2468
2489
|
}) => {
|
|
2469
|
-
const { t: r } =
|
|
2470
|
-
return /* @__PURE__ */ s("div", { className:
|
|
2471
|
-
|
|
2490
|
+
const { t: r } = B();
|
|
2491
|
+
return /* @__PURE__ */ s("div", { className: Me.TopNavMenuContainer, style: { ...d }, children: n.map((a, l) => /* @__PURE__ */ s(
|
|
2492
|
+
Ut,
|
|
2472
2493
|
{
|
|
2473
2494
|
to: a.url,
|
|
2474
|
-
className: ({ isActive: c }) => `${
|
|
2495
|
+
className: ({ isActive: c }) => `${Me.topNavOptions} ${c ? Me.active : ""} `,
|
|
2475
2496
|
onClick: () => t(a.url),
|
|
2476
2497
|
style: ({ isActive: c }) => ({
|
|
2477
2498
|
color: o,
|
|
@@ -2482,7 +2503,7 @@ const dn = "_TopNavMenuContainer_12mp4_2", un = "_topNavOptions_12mp4_13", pn =
|
|
|
2482
2503
|
l
|
|
2483
2504
|
)) });
|
|
2484
2505
|
};
|
|
2485
|
-
|
|
2506
|
+
_n.propTypes = {
|
|
2486
2507
|
options: e.arrayOf(e.object),
|
|
2487
2508
|
cssProps: e.shape({
|
|
2488
2509
|
borderColor: e.string.isRequired,
|
|
@@ -2492,9 +2513,9 @@ mn.propTypes = {
|
|
|
2492
2513
|
// activeColor: PropTypes.string,
|
|
2493
2514
|
// defaultColor: PropTypes.string
|
|
2494
2515
|
};
|
|
2495
|
-
const
|
|
2496
|
-
LogInButton:
|
|
2497
|
-
},
|
|
2516
|
+
const yn = "_LogInButton_1vxj5_2", vn = {
|
|
2517
|
+
LogInButton: yn
|
|
2518
|
+
}, xn = ({
|
|
2498
2519
|
cssClass: n,
|
|
2499
2520
|
notLoggedInLabel: d = "Log in",
|
|
2500
2521
|
loggedInLabel: i = "Log out",
|
|
@@ -2508,18 +2529,18 @@ const hn = "_LogInButton_1vxj5_2", gn = {
|
|
|
2508
2529
|
console.log("Logout clicked");
|
|
2509
2530
|
}
|
|
2510
2531
|
}) => {
|
|
2511
|
-
const { t: c } =
|
|
2532
|
+
const { t: c } = B();
|
|
2512
2533
|
return /* @__PURE__ */ s(
|
|
2513
2534
|
"div",
|
|
2514
2535
|
{
|
|
2515
2536
|
style: { ...o },
|
|
2516
|
-
className: `${
|
|
2537
|
+
className: `${vn.LogInButton} link ${n}`,
|
|
2517
2538
|
onClick: r ? l : a,
|
|
2518
2539
|
children: r ? t || c(i) : c(d)
|
|
2519
2540
|
}
|
|
2520
2541
|
);
|
|
2521
2542
|
};
|
|
2522
|
-
|
|
2543
|
+
xn.propTypes = {
|
|
2523
2544
|
cssClass: e.string,
|
|
2524
2545
|
notLoggedInLabel: e.string,
|
|
2525
2546
|
loggedInLabel: e.string,
|
|
@@ -2527,51 +2548,51 @@ Cn.propTypes = {
|
|
|
2527
2548
|
userName: e.string,
|
|
2528
2549
|
isLoggedIn: e.bool
|
|
2529
2550
|
};
|
|
2530
|
-
const
|
|
2531
|
-
elementSelector:
|
|
2532
|
-
header:
|
|
2533
|
-
nameDateContainer:
|
|
2534
|
-
elementName:
|
|
2535
|
-
elementDate:
|
|
2536
|
-
buttonsContainer:
|
|
2537
|
-
elementListContainer:
|
|
2538
|
-
newElementButtonContainer:
|
|
2539
|
-
},
|
|
2540
|
-
listElement:
|
|
2541
|
-
elementNameDate:
|
|
2542
|
-
elementNameContainer:
|
|
2543
|
-
elementName:
|
|
2544
|
-
elementDate:
|
|
2545
|
-
elementButtons:
|
|
2551
|
+
const wn = "_elementSelector_fd7az_2", Nn = "_header_fd7az_13", kn = "_nameDateContainer_fd7az_23", Bn = "_elementName_fd7az_39", Sn = "_elementDate_fd7az_53", $n = "_buttonsContainer_fd7az_67", Dn = "_elementListContainer_fd7az_76", Mn = "_newElementButtonContainer_fd7az_80", j = {
|
|
2552
|
+
elementSelector: wn,
|
|
2553
|
+
header: Nn,
|
|
2554
|
+
nameDateContainer: kn,
|
|
2555
|
+
elementName: Bn,
|
|
2556
|
+
elementDate: Sn,
|
|
2557
|
+
buttonsContainer: $n,
|
|
2558
|
+
elementListContainer: Dn,
|
|
2559
|
+
newElementButtonContainer: Mn
|
|
2560
|
+
}, Ln = "_listElement_1s506_2", Tn = "_elementNameDate_1s506_17", Fn = "_elementNameContainer_1s506_27", Vn = "_elementName_1s506_17", An = "_elementDate_1s506_42", In = "_elementButtons_1s506_45", On = "_moreInfoContainer_1s506_68", Rn = "_moreInfo_1s506_68", P = {
|
|
2561
|
+
listElement: Ln,
|
|
2562
|
+
elementNameDate: Tn,
|
|
2563
|
+
elementNameContainer: Fn,
|
|
2564
|
+
elementName: Vn,
|
|
2565
|
+
elementDate: An,
|
|
2566
|
+
elementButtons: In,
|
|
2546
2567
|
break: "_break_1s506_63",
|
|
2547
|
-
moreInfoContainer:
|
|
2548
|
-
moreInfo:
|
|
2549
|
-
}, Tn = "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", Vn = "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", An = "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", In = "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", On = "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";
|
|
2550
|
-
var
|
|
2551
|
-
function
|
|
2552
|
-
return
|
|
2568
|
+
moreInfoContainer: On,
|
|
2569
|
+
moreInfo: Rn
|
|
2570
|
+
}, qn = "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", En = "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", Pn = "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", jn = "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", zn = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%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";
|
|
2571
|
+
var Je;
|
|
2572
|
+
function Re() {
|
|
2573
|
+
return Re = Object.assign ? Object.assign.bind() : function(n) {
|
|
2553
2574
|
for (var d = 1; d < arguments.length; d++) {
|
|
2554
2575
|
var i = arguments[d];
|
|
2555
2576
|
for (var o in i) ({}).hasOwnProperty.call(i, o) && (n[o] = i[o]);
|
|
2556
2577
|
}
|
|
2557
2578
|
return n;
|
|
2558
|
-
},
|
|
2579
|
+
}, Re.apply(null, arguments);
|
|
2559
2580
|
}
|
|
2560
|
-
var
|
|
2561
|
-
return /* @__PURE__ */
|
|
2581
|
+
var Zn = function(d) {
|
|
2582
|
+
return /* @__PURE__ */ ce.createElement("svg", Re({
|
|
2562
2583
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2563
2584
|
width: 26,
|
|
2564
2585
|
height: 14,
|
|
2565
2586
|
fill: "none"
|
|
2566
|
-
}, d),
|
|
2587
|
+
}, d), Je || (Je = /* @__PURE__ */ ce.createElement("g", {
|
|
2567
2588
|
fill: "currentColor"
|
|
2568
|
-
}, /* @__PURE__ */
|
|
2589
|
+
}, /* @__PURE__ */ ce.createElement("path", {
|
|
2569
2590
|
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"
|
|
2570
|
-
}), /* @__PURE__ */
|
|
2591
|
+
}), /* @__PURE__ */ ce.createElement("path", {
|
|
2571
2592
|
d: "M12.951 10.297a3.307 3.307 0 1 0 0-6.614 3.307 3.307 0 0 0 0 6.614"
|
|
2572
2593
|
}))));
|
|
2573
2594
|
};
|
|
2574
|
-
const
|
|
2595
|
+
const Kn = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", ft = ({
|
|
2575
2596
|
listelement: n,
|
|
2576
2597
|
onClickElement: d,
|
|
2577
2598
|
isActive: i,
|
|
@@ -2581,65 +2602,62 @@ const qn = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2581
2602
|
columns: a,
|
|
2582
2603
|
elementButtons: l,
|
|
2583
2604
|
processTooltip: c,
|
|
2584
|
-
defaultTooltip: u
|
|
2605
|
+
defaultTooltip: u,
|
|
2606
|
+
showEye: m = !0
|
|
2585
2607
|
}) => {
|
|
2586
|
-
const { nom:
|
|
2608
|
+
const { nom: g, created_at: _, id: v, isBeingProcessed: C } = n, [h, f] = D(!1), { t: b } = B();
|
|
2587
2609
|
return /* @__PURE__ */ p(
|
|
2588
2610
|
"div",
|
|
2589
2611
|
{
|
|
2590
|
-
className:
|
|
2612
|
+
className: P.listElement,
|
|
2591
2613
|
style: { borderBottom: `1px solid ${t}` },
|
|
2592
2614
|
children: [
|
|
2593
|
-
/* @__PURE__ */
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
{
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
a.ambit && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.ambit }),
|
|
2606
|
-
a.escenari && /* @__PURE__ */ s("div", { className: O.elementDate, children: n.escenari })
|
|
2607
|
-
] }),
|
|
2608
|
-
/* @__PURE__ */ p("div", { className: O.elementButtons, children: [
|
|
2615
|
+
/* @__PURE__ */ s("div", { className: P.elementNameDate, onClick: () => d(v), children: Object.keys(a).map((y) => y === "nom" ? /* @__PURE__ */ s("div", { className: P.elementNameContainer, children: /* @__PURE__ */ p("div", { className: P.elementName, children: [
|
|
2616
|
+
m && (i ? /* @__PURE__ */ s(Zn, { style: { color: o, marginRight: 9 } }) : /* @__PURE__ */ s(
|
|
2617
|
+
"img",
|
|
2618
|
+
{
|
|
2619
|
+
style: { marginRight: 9 },
|
|
2620
|
+
src: Kn,
|
|
2621
|
+
alt: "eye"
|
|
2622
|
+
}
|
|
2623
|
+
)),
|
|
2624
|
+
/* @__PURE__ */ s("span", { style: { color: i ? o : t }, children: g })
|
|
2625
|
+
] }) }) : y == "data" ? /* @__PURE__ */ s("div", { className: P.elementDate, children: _ ? new Date(_).toLocaleDateString() : "" }) : /* @__PURE__ */ s("div", { className: P.elementDate, children: n[y] })) }),
|
|
2626
|
+
/* @__PURE__ */ p("div", { className: P.elementButtons, children: [
|
|
2609
2627
|
n.processing && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2610
|
-
/* @__PURE__ */ s("img", { src:
|
|
2611
|
-
/* @__PURE__ */ s(
|
|
2628
|
+
/* @__PURE__ */ s("img", { src: jn }),
|
|
2629
|
+
/* @__PURE__ */ s(ee, { text: c, position: "left" })
|
|
2612
2630
|
] }),
|
|
2613
2631
|
l.filter && !n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2614
|
-
/* @__PURE__ */ s("button", { onClick: () => l.filter.onclick(n), children: /* @__PURE__ */ s("img", { src:
|
|
2615
|
-
/* @__PURE__ */ s(
|
|
2632
|
+
/* @__PURE__ */ s("button", { onClick: () => l.filter.onclick(n), children: /* @__PURE__ */ s("img", { src: Pn }) }),
|
|
2633
|
+
/* @__PURE__ */ s(ee, { text: l.filter.tooltiptext, position: "left" })
|
|
2616
2634
|
] }),
|
|
2617
2635
|
l.copy && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2618
|
-
/* @__PURE__ */ s("button", { onClick: () => l.copy.onclick(n), children: /* @__PURE__ */ s("img", { src:
|
|
2619
|
-
/* @__PURE__ */ s(
|
|
2636
|
+
/* @__PURE__ */ s("button", { onClick: () => l.copy.onclick(n), children: /* @__PURE__ */ s("img", { src: En }) }),
|
|
2637
|
+
/* @__PURE__ */ s(ee, { text: l.copy.tooltiptext, position: "left" })
|
|
2620
2638
|
] }),
|
|
2621
2639
|
l.trash && !n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2622
|
-
/* @__PURE__ */ s("button", { onClick: () => l.trash.onclick(n), children: /* @__PURE__ */ s("img", { src:
|
|
2623
|
-
/* @__PURE__ */ s(
|
|
2640
|
+
/* @__PURE__ */ s("button", { onClick: () => l.trash.onclick(n), children: /* @__PURE__ */ s("img", { src: qn }) }),
|
|
2641
|
+
/* @__PURE__ */ s(ee, { text: l.trash.tooltiptext, position: "left" })
|
|
2624
2642
|
] }),
|
|
2625
2643
|
n.is_default && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
2626
|
-
/* @__PURE__ */ s("img", { src:
|
|
2627
|
-
/* @__PURE__ */ s(
|
|
2644
|
+
/* @__PURE__ */ s("img", { src: zn }),
|
|
2645
|
+
/* @__PURE__ */ s(ee, { text: u, position: "left" })
|
|
2628
2646
|
] })
|
|
2629
2647
|
] }),
|
|
2630
|
-
r && /* @__PURE__ */ s("div", { className:
|
|
2631
|
-
r && /* @__PURE__ */ p("div", { className:
|
|
2632
|
-
/* @__PURE__ */ p("div", { className:
|
|
2633
|
-
/* @__PURE__ */ s("span", { children:
|
|
2634
|
-
|
|
2648
|
+
r && /* @__PURE__ */ s("div", { className: P.break }),
|
|
2649
|
+
r && /* @__PURE__ */ p("div", { className: P.moreInfoContainer, children: [
|
|
2650
|
+
/* @__PURE__ */ p("div", { className: P.moreInfo, onClick: () => f(!h), children: [
|
|
2651
|
+
/* @__PURE__ */ s("span", { children: h ? "-" : "+" }),
|
|
2652
|
+
b(r.label)
|
|
2635
2653
|
] }),
|
|
2636
|
-
r &&
|
|
2654
|
+
r && h && /* @__PURE__ */ s("div", { className: P.moreInfoInfo, children: n[r.info] })
|
|
2637
2655
|
] })
|
|
2638
2656
|
]
|
|
2639
2657
|
}
|
|
2640
2658
|
);
|
|
2641
2659
|
};
|
|
2642
|
-
|
|
2660
|
+
ft.propTypes = {
|
|
2643
2661
|
listelement: e.shape({
|
|
2644
2662
|
nom: e.string.isRequired,
|
|
2645
2663
|
created_at: e.string,
|
|
@@ -2672,9 +2690,10 @@ ut.propTypes = {
|
|
|
2672
2690
|
})
|
|
2673
2691
|
}),
|
|
2674
2692
|
processTooltip: e.string,
|
|
2675
|
-
defaultTooltip: e.string
|
|
2693
|
+
defaultTooltip: e.string,
|
|
2694
|
+
showEye: e.bool
|
|
2676
2695
|
};
|
|
2677
|
-
const
|
|
2696
|
+
const et = "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", Hn = ({
|
|
2678
2697
|
elementsList: n,
|
|
2679
2698
|
activeElementId: d,
|
|
2680
2699
|
fontColor: i = "#605B56",
|
|
@@ -2682,87 +2701,85 @@ const Ye = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2682
2701
|
buttonContainerStyles: t = {},
|
|
2683
2702
|
containerStyles: r = {},
|
|
2684
2703
|
newElementButton: a,
|
|
2685
|
-
//{label: 'text', onClick: function()}/null
|
|
2686
|
-
onClickElement: l = (
|
|
2704
|
+
//{label: 'text', onClick: function(), disabled}/null
|
|
2705
|
+
onClickElement: l = (C) => console.log(`OnCLickElement: ${C}`),
|
|
2687
2706
|
columns: c,
|
|
2688
2707
|
// {'nom': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
|
|
2689
2708
|
elementButtons: u,
|
|
2690
2709
|
//{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
|
|
2691
2710
|
moreInfo: m = !1,
|
|
2692
2711
|
//{label: 'x'}
|
|
2693
|
-
processTooltip:
|
|
2712
|
+
processTooltip: g,
|
|
2694
2713
|
//texto para el tooltip del simbolo "En proceso"
|
|
2695
|
-
defaultTooltip: _
|
|
2714
|
+
defaultTooltip: _,
|
|
2696
2715
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
2716
|
+
showEye: v = !0
|
|
2697
2717
|
}) => {
|
|
2698
|
-
const { t:
|
|
2699
|
-
|
|
2700
|
-
n &&
|
|
2718
|
+
const { t: C } = B(), [h, f] = D(n);
|
|
2719
|
+
M(() => {
|
|
2720
|
+
n && f(n);
|
|
2701
2721
|
}, [n]);
|
|
2702
|
-
const
|
|
2703
|
-
if (
|
|
2704
|
-
let w = [...
|
|
2705
|
-
w.sort((x,
|
|
2722
|
+
const b = (y) => {
|
|
2723
|
+
if (h && h.length > 0) {
|
|
2724
|
+
let w = [...h];
|
|
2725
|
+
w.sort((x, N) => x[y].localeCompare(N[y])), f(w);
|
|
2706
2726
|
}
|
|
2707
2727
|
};
|
|
2708
2728
|
return /* @__PURE__ */ p(
|
|
2709
2729
|
"div",
|
|
2710
2730
|
{
|
|
2711
|
-
className:
|
|
2731
|
+
className: j.elementSelector,
|
|
2712
2732
|
style: { color: i, ...r },
|
|
2713
2733
|
children: [
|
|
2714
2734
|
/* @__PURE__ */ p(
|
|
2715
2735
|
"div",
|
|
2716
2736
|
{
|
|
2717
|
-
className:
|
|
2737
|
+
className: j.header,
|
|
2718
2738
|
style: { borderBottom: `1px solid ${i}` },
|
|
2719
2739
|
children: [
|
|
2720
|
-
/* @__PURE__ */
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
] }) }),
|
|
2729
|
-
c.ambit && /* @__PURE__ */ s("div", { className: P.elementDate, children: /* @__PURE__ */ s("span", { children: f(c.ambit) }) }),
|
|
2730
|
-
c.escenari && /* @__PURE__ */ s("div", { className: P.elementDate, children: /* @__PURE__ */ s("span", { children: f(c.escenari) }) })
|
|
2731
|
-
] }),
|
|
2732
|
-
/* @__PURE__ */ s("div", { className: P.buttonsContainer })
|
|
2740
|
+
/* @__PURE__ */ s("div", { className: j.nameDateContainer, children: Object.keys(c).map((y) => y === "nom" ? /* @__PURE__ */ s("div", { className: j.elementName, children: /* @__PURE__ */ p("button", { onClick: () => b("name"), children: [
|
|
2741
|
+
/* @__PURE__ */ s("span", { children: C(c.nom) }),
|
|
2742
|
+
/* @__PURE__ */ s("img", { src: et, alt: "order arrow" })
|
|
2743
|
+
] }) }, y) : y === "data" ? /* @__PURE__ */ s("div", { className: j.elementDate, children: /* @__PURE__ */ p("button", { onClick: () => b("date"), children: [
|
|
2744
|
+
/* @__PURE__ */ s("span", { children: C(c.data) }),
|
|
2745
|
+
/* @__PURE__ */ s("img", { src: et, alt: "order arrow" })
|
|
2746
|
+
] }) }, y) : /* @__PURE__ */ s("div", { className: j.elementDate, children: /* @__PURE__ */ s("span", { children: C(c[y]) }) }, y)) }),
|
|
2747
|
+
/* @__PURE__ */ s("div", { className: j.buttonsContainer })
|
|
2733
2748
|
]
|
|
2734
2749
|
}
|
|
2735
2750
|
),
|
|
2736
|
-
/* @__PURE__ */ s("div", { className:
|
|
2737
|
-
|
|
2751
|
+
/* @__PURE__ */ s("div", { className: j.elementListContainer, children: h && h.length > 0 && h.map((y) => /* @__PURE__ */ s(
|
|
2752
|
+
ft,
|
|
2738
2753
|
{
|
|
2739
|
-
isActive: d ==
|
|
2740
|
-
listelement:
|
|
2754
|
+
isActive: d == y.id,
|
|
2755
|
+
listelement: y,
|
|
2741
2756
|
fontColor: i,
|
|
2742
2757
|
activeColor: o,
|
|
2743
2758
|
onClickElement: l,
|
|
2744
2759
|
columns: c,
|
|
2745
2760
|
elementButtons: u,
|
|
2746
2761
|
moreInfo: m,
|
|
2747
|
-
processTooltip:
|
|
2748
|
-
defaultTooltip: _
|
|
2762
|
+
processTooltip: g,
|
|
2763
|
+
defaultTooltip: _,
|
|
2764
|
+
showEye: v
|
|
2749
2765
|
},
|
|
2750
|
-
`elementKey${
|
|
2766
|
+
`elementKey${y.id}`
|
|
2751
2767
|
)) }),
|
|
2752
|
-
a && /* @__PURE__ */ s("div", { className:
|
|
2753
|
-
|
|
2768
|
+
a && /* @__PURE__ */ s("div", { className: j.newElementButtonContainer, children: /* @__PURE__ */ s(
|
|
2769
|
+
ve,
|
|
2754
2770
|
{
|
|
2755
2771
|
style: { ...t },
|
|
2756
2772
|
onClick: a.onClick,
|
|
2757
2773
|
borderColor: "grey",
|
|
2758
|
-
|
|
2774
|
+
disabled: a.disabled || !1,
|
|
2775
|
+
children: C(a.label)
|
|
2759
2776
|
}
|
|
2760
2777
|
) })
|
|
2761
2778
|
]
|
|
2762
2779
|
}
|
|
2763
2780
|
);
|
|
2764
2781
|
};
|
|
2765
|
-
|
|
2782
|
+
Hn.propTypes = {
|
|
2766
2783
|
elementList: e.arrayOf(
|
|
2767
2784
|
e.shape({
|
|
2768
2785
|
nom: e.string.isRequired,
|
|
@@ -2806,70 +2823,71 @@ En.propTypes = {
|
|
|
2806
2823
|
info: e.any
|
|
2807
2824
|
}),
|
|
2808
2825
|
processTooltip: e.string,
|
|
2809
|
-
defaultTooltip: e.string
|
|
2826
|
+
defaultTooltip: e.string,
|
|
2827
|
+
showEye: e.bool
|
|
2810
2828
|
};
|
|
2811
2829
|
const he = {
|
|
2812
2830
|
text: "text",
|
|
2813
2831
|
password: "password",
|
|
2814
2832
|
radioList: "radioList",
|
|
2815
2833
|
select: "select"
|
|
2816
|
-
},
|
|
2817
|
-
textInputContainer:
|
|
2818
|
-
labelContainer:
|
|
2819
|
-
inputContainer:
|
|
2820
|
-
showPasswordButton:
|
|
2821
|
-
forgotPassButton:
|
|
2822
|
-
};
|
|
2823
|
-
var
|
|
2824
|
-
const
|
|
2825
|
-
var
|
|
2834
|
+
}, Un = "_textInputContainer_1o3iy_2", Gn = "_labelContainer_1o3iy_5", Wn = "_inputContainer_1o3iy_8", Yn = "_showPasswordButton_1o3iy_14", Qn = "_forgotPassButton_1o3iy_26", ge = {
|
|
2835
|
+
textInputContainer: Un,
|
|
2836
|
+
labelContainer: Gn,
|
|
2837
|
+
inputContainer: Wn,
|
|
2838
|
+
showPasswordButton: Yn,
|
|
2839
|
+
forgotPassButton: Qn
|
|
2840
|
+
};
|
|
2841
|
+
var Xn = (n) => n.type === "checkbox", Jn = (n) => n instanceof Date, bt = (n) => n == null;
|
|
2842
|
+
const e1 = (n) => typeof n == "object";
|
|
2843
|
+
var Ce = (n) => !bt(n) && !Array.isArray(n) && e1(n) && !Jn(n), t1 = (n) => Ce(n) && n.target ? Xn(n.target) ? n.target.checked : n.target.value : n, n1 = (n) => n.substring(0, n.search(/\.\d+(\.|$)/)) || n, i1 = (n, d) => n.has(n1(d)), o1 = (n) => {
|
|
2826
2844
|
const d = n.constructor && n.constructor.prototype;
|
|
2827
|
-
return
|
|
2828
|
-
},
|
|
2829
|
-
function
|
|
2845
|
+
return Ce(d) && d.hasOwnProperty("isPrototypeOf");
|
|
2846
|
+
}, s1 = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
2847
|
+
function _t(n) {
|
|
2830
2848
|
let d;
|
|
2831
2849
|
const i = Array.isArray(n), o = typeof FileList < "u" ? n instanceof FileList : !1;
|
|
2832
2850
|
if (n instanceof Date)
|
|
2833
2851
|
d = new Date(n);
|
|
2834
|
-
else if (!(
|
|
2835
|
-
if (d = i ? [] : {}, !i && !
|
|
2852
|
+
else if (!(s1 && (n instanceof Blob || o)) && (i || Ce(n)))
|
|
2853
|
+
if (d = i ? [] : {}, !i && !o1(n))
|
|
2836
2854
|
d = n;
|
|
2837
2855
|
else
|
|
2838
2856
|
for (const t in n)
|
|
2839
|
-
n.hasOwnProperty(t) && (d[t] =
|
|
2857
|
+
n.hasOwnProperty(t) && (d[t] = _t(n[t]));
|
|
2840
2858
|
else
|
|
2841
2859
|
return n;
|
|
2842
2860
|
return d;
|
|
2843
2861
|
}
|
|
2844
|
-
var
|
|
2845
|
-
if (!d || !
|
|
2862
|
+
var yt = (n) => /^\w*$/.test(n), qe = (n) => n === void 0, r1 = (n) => Array.isArray(n) ? n.filter(Boolean) : [], vt = (n) => r1(n.replace(/["|']|\]/g, "").split(/\.|\[/)), I = (n, d, i) => {
|
|
2863
|
+
if (!d || !Ce(n))
|
|
2846
2864
|
return i;
|
|
2847
|
-
const o = (
|
|
2848
|
-
return
|
|
2849
|
-
},
|
|
2865
|
+
const o = (yt(d) ? [d] : vt(d)).reduce((t, r) => bt(t) ? t : t[r], n);
|
|
2866
|
+
return qe(o) || o === n ? qe(n[d]) ? i : n[d] : o;
|
|
2867
|
+
}, Le = (n) => typeof n == "boolean", tt = (n, d, i) => {
|
|
2850
2868
|
let o = -1;
|
|
2851
|
-
const t =
|
|
2869
|
+
const t = yt(d) ? [d] : vt(d), r = t.length, a = r - 1;
|
|
2852
2870
|
for (; ++o < r; ) {
|
|
2853
2871
|
const l = t[o];
|
|
2854
2872
|
let c = i;
|
|
2855
2873
|
if (o !== a) {
|
|
2856
2874
|
const u = n[l];
|
|
2857
|
-
c =
|
|
2875
|
+
c = Ce(u) || Array.isArray(u) ? u : isNaN(+t[o + 1]) ? {} : [];
|
|
2858
2876
|
}
|
|
2859
2877
|
if (l === "__proto__" || l === "constructor" || l === "prototype")
|
|
2860
2878
|
return;
|
|
2861
2879
|
n[l] = c, n = n[l];
|
|
2862
2880
|
}
|
|
2863
2881
|
};
|
|
2864
|
-
const
|
|
2882
|
+
const nt = {
|
|
2865
2883
|
BLUR: "blur",
|
|
2866
2884
|
CHANGE: "change"
|
|
2867
|
-
},
|
|
2885
|
+
}, it = {
|
|
2868
2886
|
all: "all"
|
|
2869
|
-
},
|
|
2870
|
-
|
|
2871
|
-
const
|
|
2872
|
-
var
|
|
2887
|
+
}, xt = $.createContext(null);
|
|
2888
|
+
xt.displayName = "HookFormContext";
|
|
2889
|
+
const Ze = () => $.useContext(xt);
|
|
2890
|
+
var a1 = (n, d, i, o = !0) => {
|
|
2873
2891
|
const t = {
|
|
2874
2892
|
defaultValues: d._defaultValues
|
|
2875
2893
|
};
|
|
@@ -2877,14 +2895,14 @@ var t1 = (n, d, i, o = !0) => {
|
|
|
2877
2895
|
Object.defineProperty(t, r, {
|
|
2878
2896
|
get: () => {
|
|
2879
2897
|
const a = r;
|
|
2880
|
-
return d._proxyFormState[a] !==
|
|
2898
|
+
return d._proxyFormState[a] !== it.all && (d._proxyFormState[a] = !o || it.all), i && (i[a] = !0), n[a];
|
|
2881
2899
|
}
|
|
2882
2900
|
});
|
|
2883
2901
|
return t;
|
|
2884
2902
|
};
|
|
2885
|
-
const
|
|
2886
|
-
function
|
|
2887
|
-
const d =
|
|
2903
|
+
const wt = typeof window < "u" ? ce.useLayoutEffect : ce.useEffect;
|
|
2904
|
+
function l1(n) {
|
|
2905
|
+
const d = Ze(), { control: i = d.control, disabled: o, name: t, exact: r } = n || {}, [a, l] = $.useState(i._formState), c = $.useRef({
|
|
2888
2906
|
isDirty: !1,
|
|
2889
2907
|
isLoading: !1,
|
|
2890
2908
|
dirtyFields: !1,
|
|
@@ -2894,7 +2912,7 @@ function n1(n) {
|
|
|
2894
2912
|
isValid: !1,
|
|
2895
2913
|
errors: !1
|
|
2896
2914
|
});
|
|
2897
|
-
return
|
|
2915
|
+
return wt(() => i._subscribe({
|
|
2898
2916
|
name: t,
|
|
2899
2917
|
formState: c.current,
|
|
2900
2918
|
exact: r,
|
|
@@ -2904,130 +2922,130 @@ function n1(n) {
|
|
|
2904
2922
|
...u
|
|
2905
2923
|
});
|
|
2906
2924
|
}
|
|
2907
|
-
}), [t, o, r]),
|
|
2925
|
+
}), [t, o, r]), $.useEffect(() => {
|
|
2908
2926
|
c.current.isValid && i._setValid(!0);
|
|
2909
|
-
}, [i]),
|
|
2927
|
+
}, [i]), $.useMemo(() => a1(a, i, c.current, !1), [a, i]);
|
|
2910
2928
|
}
|
|
2911
|
-
var
|
|
2912
|
-
function
|
|
2913
|
-
const d =
|
|
2914
|
-
return
|
|
2929
|
+
var c1 = (n) => typeof n == "string", d1 = (n, d, i, o, t) => c1(n) ? I(i, n, t) : Array.isArray(n) ? n.map((r) => I(i, r)) : i;
|
|
2930
|
+
function u1(n) {
|
|
2931
|
+
const d = Ze(), { control: i = d.control, name: o, defaultValue: t, disabled: r, exact: a } = n || {}, l = $.useRef(t), [c, u] = $.useState(i._getWatch(o, l.current));
|
|
2932
|
+
return wt(() => i._subscribe({
|
|
2915
2933
|
name: o,
|
|
2916
2934
|
formState: {
|
|
2917
2935
|
values: !0
|
|
2918
2936
|
},
|
|
2919
2937
|
exact: a,
|
|
2920
|
-
callback: (m) => !r && u(
|
|
2921
|
-
}), [o, i, r, a]),
|
|
2938
|
+
callback: (m) => !r && u(d1(o, i._names, m.values || i._formValues, !1, l.current))
|
|
2939
|
+
}), [o, i, r, a]), $.useEffect(() => i._removeUnmounted()), c;
|
|
2922
2940
|
}
|
|
2923
|
-
function
|
|
2924
|
-
const d =
|
|
2941
|
+
function p1(n) {
|
|
2942
|
+
const d = Ze(), { name: i, disabled: o, control: t = d.control, shouldUnregister: r } = n, a = i1(t._names.array, i), l = u1({
|
|
2925
2943
|
control: t,
|
|
2926
2944
|
name: i,
|
|
2927
|
-
defaultValue:
|
|
2945
|
+
defaultValue: I(t._formValues, i, I(t._defaultValues, i, n.defaultValue)),
|
|
2928
2946
|
exact: !0
|
|
2929
|
-
}), c =
|
|
2947
|
+
}), c = l1({
|
|
2930
2948
|
control: t,
|
|
2931
2949
|
name: i,
|
|
2932
2950
|
exact: !0
|
|
2933
|
-
}), u =
|
|
2951
|
+
}), u = $.useRef(n), m = $.useRef(t.register(i, {
|
|
2934
2952
|
...n.rules,
|
|
2935
2953
|
value: l,
|
|
2936
|
-
...
|
|
2937
|
-
})),
|
|
2954
|
+
...Le(n.disabled) ? { disabled: n.disabled } : {}
|
|
2955
|
+
})), g = $.useMemo(() => Object.defineProperties({}, {
|
|
2938
2956
|
invalid: {
|
|
2939
2957
|
enumerable: !0,
|
|
2940
|
-
get: () => !!
|
|
2958
|
+
get: () => !!I(c.errors, i)
|
|
2941
2959
|
},
|
|
2942
2960
|
isDirty: {
|
|
2943
2961
|
enumerable: !0,
|
|
2944
|
-
get: () => !!
|
|
2962
|
+
get: () => !!I(c.dirtyFields, i)
|
|
2945
2963
|
},
|
|
2946
2964
|
isTouched: {
|
|
2947
2965
|
enumerable: !0,
|
|
2948
|
-
get: () => !!
|
|
2966
|
+
get: () => !!I(c.touchedFields, i)
|
|
2949
2967
|
},
|
|
2950
2968
|
isValidating: {
|
|
2951
2969
|
enumerable: !0,
|
|
2952
|
-
get: () => !!
|
|
2970
|
+
get: () => !!I(c.validatingFields, i)
|
|
2953
2971
|
},
|
|
2954
2972
|
error: {
|
|
2955
2973
|
enumerable: !0,
|
|
2956
|
-
get: () =>
|
|
2974
|
+
get: () => I(c.errors, i)
|
|
2957
2975
|
}
|
|
2958
|
-
}), [c, i]), _ =
|
|
2976
|
+
}), [c, i]), _ = $.useCallback((f) => m.current.onChange({
|
|
2959
2977
|
target: {
|
|
2960
|
-
value:
|
|
2978
|
+
value: t1(f),
|
|
2961
2979
|
name: i
|
|
2962
2980
|
},
|
|
2963
|
-
type:
|
|
2964
|
-
}), [i]),
|
|
2981
|
+
type: nt.CHANGE
|
|
2982
|
+
}), [i]), v = $.useCallback(() => m.current.onBlur({
|
|
2965
2983
|
target: {
|
|
2966
|
-
value:
|
|
2984
|
+
value: I(t._formValues, i),
|
|
2967
2985
|
name: i
|
|
2968
2986
|
},
|
|
2969
|
-
type:
|
|
2970
|
-
}), [i, t._formValues]),
|
|
2971
|
-
const b =
|
|
2972
|
-
b &&
|
|
2973
|
-
focus: () =>
|
|
2974
|
-
select: () =>
|
|
2975
|
-
setCustomValidity: (
|
|
2976
|
-
reportValidity: () =>
|
|
2987
|
+
type: nt.BLUR
|
|
2988
|
+
}), [i, t._formValues]), C = $.useCallback((f) => {
|
|
2989
|
+
const b = I(t._fields, i);
|
|
2990
|
+
b && f && (b._f.ref = {
|
|
2991
|
+
focus: () => f.focus && f.focus(),
|
|
2992
|
+
select: () => f.select && f.select(),
|
|
2993
|
+
setCustomValidity: (y) => f.setCustomValidity(y),
|
|
2994
|
+
reportValidity: () => f.reportValidity()
|
|
2977
2995
|
});
|
|
2978
|
-
}, [t._fields, i]),
|
|
2996
|
+
}, [t._fields, i]), h = $.useMemo(() => ({
|
|
2979
2997
|
name: i,
|
|
2980
2998
|
value: l,
|
|
2981
|
-
...
|
|
2999
|
+
...Le(o) || c.disabled ? { disabled: c.disabled || o } : {},
|
|
2982
3000
|
onChange: _,
|
|
2983
|
-
onBlur:
|
|
2984
|
-
ref:
|
|
2985
|
-
}), [i, o, c.disabled, _,
|
|
2986
|
-
return
|
|
2987
|
-
const
|
|
3001
|
+
onBlur: v,
|
|
3002
|
+
ref: C
|
|
3003
|
+
}), [i, o, c.disabled, _, v, C, l]);
|
|
3004
|
+
return $.useEffect(() => {
|
|
3005
|
+
const f = t._options.shouldUnregister || r;
|
|
2988
3006
|
t.register(i, {
|
|
2989
3007
|
...u.current.rules,
|
|
2990
|
-
...
|
|
3008
|
+
...Le(u.current.disabled) ? { disabled: u.current.disabled } : {}
|
|
2991
3009
|
});
|
|
2992
|
-
const b = (
|
|
2993
|
-
const
|
|
2994
|
-
|
|
3010
|
+
const b = (y, w) => {
|
|
3011
|
+
const x = I(t._fields, y);
|
|
3012
|
+
x && x._f && (x._f.mount = w);
|
|
2995
3013
|
};
|
|
2996
|
-
if (b(i, !0),
|
|
2997
|
-
const
|
|
2998
|
-
|
|
3014
|
+
if (b(i, !0), f) {
|
|
3015
|
+
const y = _t(I(t._options.defaultValues, i));
|
|
3016
|
+
tt(t._defaultValues, i, y), qe(I(t._formValues, i)) && tt(t._formValues, i, y);
|
|
2999
3017
|
}
|
|
3000
3018
|
return !a && t.register(i), () => {
|
|
3001
|
-
(a ?
|
|
3019
|
+
(a ? f && !t._state.action : f) ? t.unregister(i) : b(i, !1);
|
|
3002
3020
|
};
|
|
3003
|
-
}, [i, t, a, r]),
|
|
3021
|
+
}, [i, t, a, r]), $.useEffect(() => {
|
|
3004
3022
|
t._setDisabledField({
|
|
3005
3023
|
disabled: o,
|
|
3006
3024
|
name: i
|
|
3007
3025
|
});
|
|
3008
|
-
}, [o, i, t]),
|
|
3009
|
-
field:
|
|
3026
|
+
}, [o, i, t]), $.useMemo(() => ({
|
|
3027
|
+
field: h,
|
|
3010
3028
|
formState: c,
|
|
3011
|
-
fieldState:
|
|
3012
|
-
}), [
|
|
3029
|
+
fieldState: g
|
|
3030
|
+
}), [h, c, g]);
|
|
3013
3031
|
}
|
|
3014
|
-
const
|
|
3015
|
-
errorMessage:
|
|
3016
|
-
},
|
|
3032
|
+
const xe = (n) => n.render(p1(n)), m1 = "_errorMessage_1xiyb_2", h1 = {
|
|
3033
|
+
errorMessage: m1
|
|
3034
|
+
}, we = ({
|
|
3017
3035
|
errorMessage: n,
|
|
3018
3036
|
errorColor: d = "red",
|
|
3019
3037
|
containerStyles: i
|
|
3020
3038
|
}) => {
|
|
3021
|
-
const { t: o } =
|
|
3039
|
+
const { t: o } = B();
|
|
3022
3040
|
return /* @__PURE__ */ s(
|
|
3023
3041
|
"div",
|
|
3024
3042
|
{
|
|
3025
|
-
className:
|
|
3043
|
+
className: h1.errorMessage,
|
|
3026
3044
|
style: { color: d, ...i },
|
|
3027
3045
|
children: n ? o(n) : ""
|
|
3028
3046
|
}
|
|
3029
3047
|
);
|
|
3030
|
-
},
|
|
3048
|
+
}, ot = ({ input: n, reactHookFormInstance: d }) => {
|
|
3031
3049
|
const {
|
|
3032
3050
|
code: i,
|
|
3033
3051
|
type: o,
|
|
@@ -3038,65 +3056,65 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
|
|
|
3038
3056
|
placeholder: c,
|
|
3039
3057
|
errorColor: u = "red",
|
|
3040
3058
|
width: m = 325,
|
|
3041
|
-
onClickForgotPass:
|
|
3059
|
+
onClickForgotPass: g = () => {
|
|
3042
3060
|
console.log("Click on forgot password");
|
|
3043
3061
|
},
|
|
3044
3062
|
forgotPassLabel: _ = "forgot-password"
|
|
3045
|
-
} = n, { t:
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
}, [a, i,
|
|
3049
|
-
const
|
|
3063
|
+
} = n, { t: v } = B(), { control: C, trigger: h, clearErrors: f } = d, [b, y] = D(!1), w = te(a);
|
|
3064
|
+
M(() => {
|
|
3065
|
+
w.current !== a && (a ? h(i) : f(i), w.current = a);
|
|
3066
|
+
}, [a, i, h, f]);
|
|
3067
|
+
const x = () => o ? o === "password" && b ? "text" : o : "text";
|
|
3050
3068
|
return /* @__PURE__ */ s(
|
|
3051
|
-
|
|
3069
|
+
xe,
|
|
3052
3070
|
{
|
|
3053
3071
|
name: i,
|
|
3054
|
-
control:
|
|
3072
|
+
control: C,
|
|
3055
3073
|
rules: {
|
|
3056
|
-
required: a ? `${
|
|
3074
|
+
required: a ? `${v(t)} ${v("errorMessages.required")}` : !1,
|
|
3057
3075
|
maxLength: r || void 0,
|
|
3058
3076
|
validate: l || void 0
|
|
3059
3077
|
},
|
|
3060
|
-
render: ({ field: N, fieldState:
|
|
3061
|
-
var
|
|
3062
|
-
return /* @__PURE__ */ p("div", { className:
|
|
3063
|
-
/* @__PURE__ */ p("h3", { className:
|
|
3064
|
-
|
|
3078
|
+
render: ({ field: N, fieldState: k }) => {
|
|
3079
|
+
var S;
|
|
3080
|
+
return /* @__PURE__ */ p("div", { className: ge.textInputContainer, children: [
|
|
3081
|
+
/* @__PURE__ */ p("h3", { className: ge.labelContainer, children: [
|
|
3082
|
+
v(t),
|
|
3065
3083
|
" ",
|
|
3066
|
-
a && /* @__PURE__ */ s("label", { style: { color:
|
|
3084
|
+
a && /* @__PURE__ */ s("label", { style: { color: k.error ? u : "" }, children: "*" })
|
|
3067
3085
|
] }),
|
|
3068
3086
|
/* @__PURE__ */ p(
|
|
3069
3087
|
"div",
|
|
3070
3088
|
{
|
|
3071
3089
|
style: { position: "relative", width: m },
|
|
3072
|
-
className:
|
|
3090
|
+
className: ge.inputContainer,
|
|
3073
3091
|
children: [
|
|
3074
3092
|
/* @__PURE__ */ s(
|
|
3075
3093
|
"input",
|
|
3076
3094
|
{
|
|
3077
|
-
type:
|
|
3095
|
+
type: x(),
|
|
3078
3096
|
...N,
|
|
3079
|
-
placeholder: c ?
|
|
3097
|
+
placeholder: c ? v(c) : "",
|
|
3080
3098
|
maxLength: r || void 0
|
|
3081
3099
|
}
|
|
3082
3100
|
),
|
|
3083
3101
|
o == "password" && /* @__PURE__ */ s(
|
|
3084
3102
|
"button",
|
|
3085
3103
|
{
|
|
3086
|
-
onClick: () =>
|
|
3104
|
+
onClick: () => y(!b),
|
|
3087
3105
|
type: "button",
|
|
3088
|
-
className:
|
|
3106
|
+
className: ge.showPasswordButton,
|
|
3089
3107
|
children: b ? "🙈" : "👁️"
|
|
3090
3108
|
}
|
|
3091
3109
|
)
|
|
3092
3110
|
]
|
|
3093
3111
|
}
|
|
3094
3112
|
),
|
|
3095
|
-
o == "password" && /* @__PURE__ */ s("div", { className:
|
|
3113
|
+
o == "password" && /* @__PURE__ */ s("div", { className: ge.forgotPassButton, children: /* @__PURE__ */ s("button", { onClick: g, children: v(_) }) }),
|
|
3096
3114
|
/* @__PURE__ */ s(
|
|
3097
|
-
|
|
3115
|
+
we,
|
|
3098
3116
|
{
|
|
3099
|
-
errorMessage: (
|
|
3117
|
+
errorMessage: (S = k.error) == null ? void 0 : S.message,
|
|
3100
3118
|
errorColor: u
|
|
3101
3119
|
}
|
|
3102
3120
|
)
|
|
@@ -3104,20 +3122,20 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
|
|
|
3104
3122
|
}
|
|
3105
3123
|
}
|
|
3106
3124
|
);
|
|
3107
|
-
},
|
|
3108
|
-
formContainer:
|
|
3109
|
-
formObjectContainer:
|
|
3110
|
-
buttonContainer:
|
|
3111
|
-
},
|
|
3112
|
-
inputsContainer:
|
|
3113
|
-
},
|
|
3114
|
-
selectInputContainer:
|
|
3115
|
-
labelContainer:
|
|
3116
|
-
inputContainer:
|
|
3117
|
-
selectInput:
|
|
3118
|
-
option:
|
|
3119
|
-
dropdownArrow:
|
|
3120
|
-
},
|
|
3125
|
+
}, g1 = "_formContainer_b071f_2", C1 = "_formObjectContainer_b071f_11", f1 = "_buttonContainer_b071f_22", Te = {
|
|
3126
|
+
formContainer: g1,
|
|
3127
|
+
formObjectContainer: C1,
|
|
3128
|
+
buttonContainer: f1
|
|
3129
|
+
}, b1 = "_inputsContainer_10t9s_2", ae = {
|
|
3130
|
+
inputsContainer: b1
|
|
3131
|
+
}, _1 = "_selectInputContainer_1rj0h_2", y1 = "_labelContainer_1rj0h_6", v1 = "_inputContainer_1rj0h_9", x1 = "_selectInput_1rj0h_2", w1 = "_option_1rj0h_23", N1 = "_dropdownArrow_1rj0h_26", le = {
|
|
3132
|
+
selectInputContainer: _1,
|
|
3133
|
+
labelContainer: y1,
|
|
3134
|
+
inputContainer: v1,
|
|
3135
|
+
selectInput: x1,
|
|
3136
|
+
option: w1,
|
|
3137
|
+
dropdownArrow: N1
|
|
3138
|
+
}, k1 = "data:image/svg+xml,%3csvg%20width='19'%20height='10'%20viewBox='0%200%2019%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector%20311'%20d='M1%201.09961L8.79289%208.8925C9.18342%209.28303%209.81658%209.28303%2010.2071%208.8925L18%201.09961'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", B1 = ({ input: n, reactHookFormInstance: d }) => {
|
|
3121
3139
|
const {
|
|
3122
3140
|
code: i,
|
|
3123
3141
|
type: o,
|
|
@@ -3128,45 +3146,45 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
|
|
|
3128
3146
|
placeholder: c,
|
|
3129
3147
|
errorColor: u = "red",
|
|
3130
3148
|
width: m = 325,
|
|
3131
|
-
options:
|
|
3132
|
-
} = n, { t: _ } =
|
|
3133
|
-
return
|
|
3134
|
-
|
|
3135
|
-
}, [a, i,
|
|
3136
|
-
|
|
3149
|
+
options: g = []
|
|
3150
|
+
} = n, { t: _ } = B(), { control: v, trigger: C, clearErrors: h } = d, f = te(a);
|
|
3151
|
+
return M(() => {
|
|
3152
|
+
f.current !== a && (a ? C(i) : h(i), f.current = a);
|
|
3153
|
+
}, [a, i, C, h]), /* @__PURE__ */ s(
|
|
3154
|
+
xe,
|
|
3137
3155
|
{
|
|
3138
3156
|
name: i,
|
|
3139
|
-
control:
|
|
3157
|
+
control: v,
|
|
3140
3158
|
rules: {
|
|
3141
3159
|
required: a ? `${_(t)} ${_("errorMessages.required")}` : !1,
|
|
3142
3160
|
validate: l || void 0
|
|
3143
3161
|
},
|
|
3144
|
-
render: ({ field: b, fieldState:
|
|
3145
|
-
var
|
|
3146
|
-
return /* @__PURE__ */ p("div", { className:
|
|
3147
|
-
/* @__PURE__ */ p("h3", { className:
|
|
3162
|
+
render: ({ field: b, fieldState: y }) => {
|
|
3163
|
+
var w;
|
|
3164
|
+
return /* @__PURE__ */ p("div", { className: le.selectInputContainer, children: [
|
|
3165
|
+
/* @__PURE__ */ p("h3", { className: le.labelContainer, children: [
|
|
3148
3166
|
_(t),
|
|
3149
3167
|
" ",
|
|
3150
|
-
a && /* @__PURE__ */ s("label", { style: { color:
|
|
3168
|
+
a && /* @__PURE__ */ s("label", { style: { color: y.error ? u : "" }, children: "*" })
|
|
3151
3169
|
] }),
|
|
3152
|
-
/* @__PURE__ */ p("div", { className:
|
|
3170
|
+
/* @__PURE__ */ p("div", { className: le.inputContainer, style: { width: m }, children: [
|
|
3153
3171
|
/* @__PURE__ */ p(
|
|
3154
3172
|
"select",
|
|
3155
3173
|
{
|
|
3156
3174
|
...b,
|
|
3157
|
-
onChange: (
|
|
3158
|
-
const N =
|
|
3159
|
-
b.onChange(
|
|
3175
|
+
onChange: (x) => {
|
|
3176
|
+
const N = x.target.value, k = g.every((S) => typeof S.value == "number") ? Number(N) : N;
|
|
3177
|
+
b.onChange(k);
|
|
3160
3178
|
},
|
|
3161
|
-
className:
|
|
3179
|
+
className: le.selectInput,
|
|
3162
3180
|
children: [
|
|
3163
3181
|
/* @__PURE__ */ s("option", { value: "", disabled: !0, hidden: !0, children: _(c || "selectOption") }),
|
|
3164
|
-
|
|
3182
|
+
g.map((x, N) => /* @__PURE__ */ s(
|
|
3165
3183
|
"option",
|
|
3166
3184
|
{
|
|
3167
|
-
value:
|
|
3168
|
-
className:
|
|
3169
|
-
children: _(
|
|
3185
|
+
value: x.value,
|
|
3186
|
+
className: le.option,
|
|
3187
|
+
children: _(x.label)
|
|
3170
3188
|
},
|
|
3171
3189
|
N
|
|
3172
3190
|
))
|
|
@@ -3176,16 +3194,16 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
|
|
|
3176
3194
|
/* @__PURE__ */ s(
|
|
3177
3195
|
"img",
|
|
3178
3196
|
{
|
|
3179
|
-
src:
|
|
3197
|
+
src: k1,
|
|
3180
3198
|
alt: "Open",
|
|
3181
|
-
className:
|
|
3199
|
+
className: le.dropdownArrow
|
|
3182
3200
|
}
|
|
3183
3201
|
)
|
|
3184
3202
|
] }),
|
|
3185
3203
|
/* @__PURE__ */ s(
|
|
3186
|
-
|
|
3204
|
+
we,
|
|
3187
3205
|
{
|
|
3188
|
-
errorMessage: (
|
|
3206
|
+
errorMessage: (w = y.error) == null ? void 0 : w.message,
|
|
3189
3207
|
errorColor: u
|
|
3190
3208
|
}
|
|
3191
3209
|
)
|
|
@@ -3193,14 +3211,14 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
|
|
|
3193
3211
|
}
|
|
3194
3212
|
}
|
|
3195
3213
|
);
|
|
3196
|
-
},
|
|
3197
|
-
radioButtonContainer:
|
|
3198
|
-
wholeInputContainer:
|
|
3199
|
-
questionContainer:
|
|
3200
|
-
radioQuestion:
|
|
3201
|
-
inputContainer:
|
|
3202
|
-
radioInput:
|
|
3203
|
-
},
|
|
3214
|
+
}, S1 = "_radioButtonContainer_1e994_2", $1 = "_wholeInputContainer_1e994_5", D1 = "_questionContainer_1e994_27", M1 = "_radioQuestion_1e994_59", L1 = "_inputContainer_1e994_63", T1 = "_radioInput_1e994_93", X = {
|
|
3215
|
+
radioButtonContainer: S1,
|
|
3216
|
+
wholeInputContainer: $1,
|
|
3217
|
+
questionContainer: D1,
|
|
3218
|
+
radioQuestion: M1,
|
|
3219
|
+
inputContainer: L1,
|
|
3220
|
+
radioInput: T1
|
|
3221
|
+
}, F1 = ({ input: n, reactHookFormInstance: d }) => {
|
|
3204
3222
|
const {
|
|
3205
3223
|
code: i,
|
|
3206
3224
|
label: o,
|
|
@@ -3209,36 +3227,36 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
|
|
|
3209
3227
|
errorColor: a = "red",
|
|
3210
3228
|
options: l = [],
|
|
3211
3229
|
multi: c = !1
|
|
3212
|
-
} = n, { t: u } =
|
|
3213
|
-
if (c &&
|
|
3214
|
-
let
|
|
3215
|
-
b(
|
|
3230
|
+
} = n, { t: u } = B(), { control: m, trigger: g, clearErrors: _ } = d, v = ({ options: f, onChange: b, actualValue: y }) => {
|
|
3231
|
+
if (c && y && y.length > 0) {
|
|
3232
|
+
let w = y.filter((x) => x !== f);
|
|
3233
|
+
b(w);
|
|
3216
3234
|
}
|
|
3217
|
-
},
|
|
3218
|
-
c ?
|
|
3219
|
-
},
|
|
3220
|
-
return
|
|
3221
|
-
|
|
3222
|
-
}, [t, i,
|
|
3223
|
-
|
|
3235
|
+
}, C = ({ options: f, onChange: b, actualValue: y }) => {
|
|
3236
|
+
c ? y && y.length > 0 ? b([...y, f]) : b([f]) : b(f);
|
|
3237
|
+
}, h = te(t);
|
|
3238
|
+
return M(() => {
|
|
3239
|
+
h.current !== t && (t ? g(i) : _(i), h.current = t);
|
|
3240
|
+
}, [t, i, g, _]), /* @__PURE__ */ s(
|
|
3241
|
+
xe,
|
|
3224
3242
|
{
|
|
3225
3243
|
control: m,
|
|
3226
3244
|
name: i,
|
|
3227
3245
|
rules: {
|
|
3228
|
-
validate: (
|
|
3246
|
+
validate: (f) => t && (f == null || f === "") ? `${u(o)} ${u("errorMessages.required")}` : null
|
|
3229
3247
|
},
|
|
3230
3248
|
render: ({
|
|
3231
|
-
formState: { errors:
|
|
3232
|
-
field: { onChange: b, onBlur:
|
|
3249
|
+
formState: { errors: f },
|
|
3250
|
+
field: { onChange: b, onBlur: y, value: w, ref: x },
|
|
3233
3251
|
fieldState: N
|
|
3234
3252
|
}) => {
|
|
3235
|
-
var
|
|
3236
|
-
return /* @__PURE__ */ s("div", { id: i + "id", className:
|
|
3237
|
-
o && /* @__PURE__ */ s("div", { className:
|
|
3253
|
+
var k;
|
|
3254
|
+
return /* @__PURE__ */ s("div", { id: i + "id", className: X.radioButtonContainer, children: /* @__PURE__ */ p("div", { className: X.wholeInputContainer, children: [
|
|
3255
|
+
o && /* @__PURE__ */ s("div", { className: X.questionContainer, children: /* @__PURE__ */ p(
|
|
3238
3256
|
"h3",
|
|
3239
3257
|
{
|
|
3240
3258
|
htmlFor: i + "id",
|
|
3241
|
-
className: `${
|
|
3259
|
+
className: `${X.radioQuestion} ${t && X.required}`,
|
|
3242
3260
|
children: [
|
|
3243
3261
|
u(o),
|
|
3244
3262
|
" ",
|
|
@@ -3252,44 +3270,44 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
|
|
|
3252
3270
|
]
|
|
3253
3271
|
}
|
|
3254
3272
|
) }),
|
|
3255
|
-
/* @__PURE__ */ p("div", { className:
|
|
3273
|
+
/* @__PURE__ */ p("div", { className: X.inputContainer, children: [
|
|
3256
3274
|
l.map(
|
|
3257
3275
|
({
|
|
3258
|
-
label:
|
|
3259
|
-
value:
|
|
3260
|
-
disabled:
|
|
3261
|
-
italicLabel:
|
|
3262
|
-
},
|
|
3263
|
-
const
|
|
3276
|
+
label: S,
|
|
3277
|
+
value: O,
|
|
3278
|
+
disabled: A = !1,
|
|
3279
|
+
italicLabel: Z
|
|
3280
|
+
}, ue) => {
|
|
3281
|
+
const ie = w && c ? w.isArray && (w == null ? void 0 : w.length) > 0 && w.some((E) => E === O) : w === O;
|
|
3264
3282
|
return /* @__PURE__ */ p("label", { children: [
|
|
3265
3283
|
/* @__PURE__ */ s(
|
|
3266
3284
|
"input",
|
|
3267
3285
|
{
|
|
3268
3286
|
type: "radio",
|
|
3269
|
-
checked:
|
|
3287
|
+
checked: ie,
|
|
3270
3288
|
onChange: () => {
|
|
3271
|
-
c ?
|
|
3272
|
-
actualValue:
|
|
3289
|
+
c ? ie ? v({
|
|
3290
|
+
actualValue: w,
|
|
3273
3291
|
options: l,
|
|
3274
3292
|
onChange: b
|
|
3275
|
-
}) :
|
|
3276
|
-
actualValue:
|
|
3293
|
+
}) : C({
|
|
3294
|
+
actualValue: w,
|
|
3277
3295
|
options: l,
|
|
3278
3296
|
onChange: b
|
|
3279
|
-
}) : b(
|
|
3297
|
+
}) : b(O);
|
|
3280
3298
|
},
|
|
3281
|
-
className:
|
|
3299
|
+
className: X.radioInput
|
|
3282
3300
|
}
|
|
3283
3301
|
),
|
|
3284
3302
|
/* @__PURE__ */ s("span", { className: "radio-custom" }),
|
|
3285
|
-
u(
|
|
3286
|
-
] }, `inputRadio ${
|
|
3303
|
+
u(S)
|
|
3304
|
+
] }, `inputRadio ${ue}`);
|
|
3287
3305
|
}
|
|
3288
3306
|
),
|
|
3289
3307
|
/* @__PURE__ */ s(
|
|
3290
|
-
|
|
3308
|
+
we,
|
|
3291
3309
|
{
|
|
3292
|
-
errorMessage: (
|
|
3310
|
+
errorMessage: (k = N.error) == null ? void 0 : k.message,
|
|
3293
3311
|
errorColor: a
|
|
3294
3312
|
}
|
|
3295
3313
|
)
|
|
@@ -3298,29 +3316,128 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
|
|
|
3298
3316
|
}
|
|
3299
3317
|
}
|
|
3300
3318
|
);
|
|
3301
|
-
},
|
|
3319
|
+
}, V1 = "_rankingSliderContainer_1yj0p_2", A1 = "_labelContainer_1yj0p_11", I1 = "_inputContainer_1yj0p_15", O1 = "_slider_1yj0p_19", R1 = "_thumb_1yj0p_25", q1 = "_trackLeft_1yj0p_35", E1 = "_trackRight_1yj0p_40", P1 = "_labels_1yj0p_44", j1 = "_labelsText_1yj0p_60", q = {
|
|
3320
|
+
rankingSliderContainer: V1,
|
|
3321
|
+
labelContainer: A1,
|
|
3322
|
+
inputContainer: I1,
|
|
3323
|
+
slider: O1,
|
|
3324
|
+
thumb: R1,
|
|
3325
|
+
trackLeft: q1,
|
|
3326
|
+
trackRight: E1,
|
|
3327
|
+
labels: P1,
|
|
3328
|
+
labelsText: j1
|
|
3329
|
+
}, z1 = ({ input: n, reactHookFormInstance: d }) => {
|
|
3330
|
+
const {
|
|
3331
|
+
code: i,
|
|
3332
|
+
type: o,
|
|
3333
|
+
label: t,
|
|
3334
|
+
minValue: r = 1,
|
|
3335
|
+
maxValue: a = 5,
|
|
3336
|
+
defValue: l = 3,
|
|
3337
|
+
thumbColor: c = "#B32F5D",
|
|
3338
|
+
trackColors: u = ["#B32F5D", "#EFEFEF"],
|
|
3339
|
+
// [ LEFT, RIGHT ],
|
|
3340
|
+
required: m,
|
|
3341
|
+
errorColor: g = "red",
|
|
3342
|
+
width: _ = 265,
|
|
3343
|
+
minText: v,
|
|
3344
|
+
maxText: C
|
|
3345
|
+
} = n, { t: h } = B(), { control: f, trigger: b, clearErrors: y } = d, w = te(m);
|
|
3346
|
+
M(() => {
|
|
3347
|
+
w.current !== m && (m ? b(i) : y(i), w.current = m);
|
|
3348
|
+
}, [m, i, b, y]);
|
|
3349
|
+
const [x, N] = D(3), k = Array.from({ length: a - r + 1 }, (S, O) => r + O);
|
|
3350
|
+
return /* @__PURE__ */ s(
|
|
3351
|
+
xe,
|
|
3352
|
+
{
|
|
3353
|
+
name: i,
|
|
3354
|
+
control: f,
|
|
3355
|
+
rules: {
|
|
3356
|
+
// required: required
|
|
3357
|
+
// ? `${t(label)} ${t("errorMessages.required")}`
|
|
3358
|
+
// : false,
|
|
3359
|
+
// maxLength: maxLength || undefined,
|
|
3360
|
+
// validate: validateFunction || undefined,
|
|
3361
|
+
},
|
|
3362
|
+
render: ({ field: S, fieldState: O }) => /* @__PURE__ */ p("div", { className: q.rankingSliderContainer, children: [
|
|
3363
|
+
/* @__PURE__ */ p("p", { className: q.labelContainer, children: [
|
|
3364
|
+
h(t),
|
|
3365
|
+
" "
|
|
3366
|
+
] }),
|
|
3367
|
+
/* @__PURE__ */ p("div", { className: q.inputContainer, style: { width: _ }, children: [
|
|
3368
|
+
/* @__PURE__ */ s(
|
|
3369
|
+
ct,
|
|
3370
|
+
{
|
|
3371
|
+
min: r,
|
|
3372
|
+
max: a,
|
|
3373
|
+
step: 1,
|
|
3374
|
+
value: x,
|
|
3375
|
+
defaultValue: l,
|
|
3376
|
+
onChange: N,
|
|
3377
|
+
marks: !0,
|
|
3378
|
+
className: q.slider,
|
|
3379
|
+
thumbClassName: q.thumb,
|
|
3380
|
+
renderThumb: (A, Z) => /* @__PURE__ */ s(
|
|
3381
|
+
"div",
|
|
3382
|
+
{
|
|
3383
|
+
...A,
|
|
3384
|
+
style: {
|
|
3385
|
+
...A.style,
|
|
3386
|
+
backgroundColor: c
|
|
3387
|
+
}
|
|
3388
|
+
}
|
|
3389
|
+
),
|
|
3390
|
+
renderTrack: (A, Z) => {
|
|
3391
|
+
const ue = `${A.className || ""} ${Z.index === 0 ? q.trackLeft : q.trackRight}`;
|
|
3392
|
+
return /* @__PURE__ */ s(
|
|
3393
|
+
"div",
|
|
3394
|
+
{
|
|
3395
|
+
...A,
|
|
3396
|
+
className: ue,
|
|
3397
|
+
style: {
|
|
3398
|
+
...A.style,
|
|
3399
|
+
backgroundColor: u[Z.index] || "#000"
|
|
3400
|
+
// color según índice
|
|
3401
|
+
}
|
|
3402
|
+
}
|
|
3403
|
+
);
|
|
3404
|
+
},
|
|
3405
|
+
trackClassName: q.track,
|
|
3406
|
+
markClassName: q.mark
|
|
3407
|
+
}
|
|
3408
|
+
),
|
|
3409
|
+
/* @__PURE__ */ s("div", { className: q.labels, children: k.map((A) => /* @__PURE__ */ s("span", { children: A }, A)) }),
|
|
3410
|
+
/* @__PURE__ */ p("div", { className: q.labels, children: [
|
|
3411
|
+
/* @__PURE__ */ s("span", { className: q.labelsText, children: h(v) }),
|
|
3412
|
+
/* @__PURE__ */ s("span", { className: q.labelsText, children: h(C) })
|
|
3413
|
+
] })
|
|
3414
|
+
] })
|
|
3415
|
+
] })
|
|
3416
|
+
}
|
|
3417
|
+
);
|
|
3418
|
+
}, Fe = ({
|
|
3302
3419
|
inputs: n,
|
|
3303
3420
|
inputContainerStyles: d,
|
|
3304
3421
|
reactHookFormInstance: i
|
|
3305
3422
|
}) => {
|
|
3306
|
-
const { watch: o } = i, t = o(), r =
|
|
3423
|
+
const { watch: o } = i, t = o(), r = de(() => n.map((a) => {
|
|
3307
3424
|
const l = typeof a.required == "function" ? a.required(t) : a.required;
|
|
3308
3425
|
return {
|
|
3309
3426
|
...a,
|
|
3310
3427
|
required: l
|
|
3311
3428
|
};
|
|
3312
3429
|
}), [n, t]);
|
|
3313
|
-
return /* @__PURE__ */ s("div", { className:
|
|
3430
|
+
return /* @__PURE__ */ s("div", { className: ae.inputsContainer, children: r == null ? void 0 : r.map((a, l) => {
|
|
3314
3431
|
const { inputType: c } = a;
|
|
3315
3432
|
switch (c) {
|
|
3316
3433
|
case he.text:
|
|
3317
3434
|
return /* @__PURE__ */ s(
|
|
3318
3435
|
"div",
|
|
3319
3436
|
{
|
|
3320
|
-
className:
|
|
3437
|
+
className: ae.inputContainer,
|
|
3321
3438
|
style: { ...d },
|
|
3322
3439
|
children: /* @__PURE__ */ s(
|
|
3323
|
-
|
|
3440
|
+
ot,
|
|
3324
3441
|
{
|
|
3325
3442
|
input: a,
|
|
3326
3443
|
reactHookFormInstance: i
|
|
@@ -3333,10 +3450,10 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
|
|
|
3333
3450
|
return /* @__PURE__ */ s(
|
|
3334
3451
|
"div",
|
|
3335
3452
|
{
|
|
3336
|
-
className:
|
|
3453
|
+
className: ae.inputContainer,
|
|
3337
3454
|
style: { ...d },
|
|
3338
3455
|
children: /* @__PURE__ */ s(
|
|
3339
|
-
|
|
3456
|
+
ot,
|
|
3340
3457
|
{
|
|
3341
3458
|
input: a,
|
|
3342
3459
|
reactHookFormInstance: i
|
|
@@ -3349,10 +3466,10 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
|
|
|
3349
3466
|
return /* @__PURE__ */ s(
|
|
3350
3467
|
"div",
|
|
3351
3468
|
{
|
|
3352
|
-
className:
|
|
3469
|
+
className: ae.inputContainer,
|
|
3353
3470
|
style: { ...d },
|
|
3354
3471
|
children: /* @__PURE__ */ s(
|
|
3355
|
-
|
|
3472
|
+
B1,
|
|
3356
3473
|
{
|
|
3357
3474
|
input: a,
|
|
3358
3475
|
reactHookFormInstance: i
|
|
@@ -3365,10 +3482,26 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
|
|
|
3365
3482
|
return /* @__PURE__ */ s(
|
|
3366
3483
|
"div",
|
|
3367
3484
|
{
|
|
3368
|
-
className:
|
|
3485
|
+
className: ae.inputContainer,
|
|
3486
|
+
style: { ...d },
|
|
3487
|
+
children: /* @__PURE__ */ s(
|
|
3488
|
+
F1,
|
|
3489
|
+
{
|
|
3490
|
+
input: a,
|
|
3491
|
+
reactHookFormInstance: i
|
|
3492
|
+
}
|
|
3493
|
+
)
|
|
3494
|
+
},
|
|
3495
|
+
`${a.code}${l}`
|
|
3496
|
+
);
|
|
3497
|
+
case he.rankingSlider:
|
|
3498
|
+
return /* @__PURE__ */ s(
|
|
3499
|
+
"div",
|
|
3500
|
+
{
|
|
3501
|
+
className: ae.inputContainer,
|
|
3369
3502
|
style: { ...d },
|
|
3370
3503
|
children: /* @__PURE__ */ s(
|
|
3371
|
-
|
|
3504
|
+
z1,
|
|
3372
3505
|
{
|
|
3373
3506
|
input: a,
|
|
3374
3507
|
reactHookFormInstance: i
|
|
@@ -3381,7 +3514,7 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
|
|
|
3381
3514
|
return /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s("h4", { children: "Default" }) }, `${a.code}${l}`);
|
|
3382
3515
|
}
|
|
3383
3516
|
}) });
|
|
3384
|
-
},
|
|
3517
|
+
}, zi = ({
|
|
3385
3518
|
reactHookFormInstance: n,
|
|
3386
3519
|
formObject: d,
|
|
3387
3520
|
//Component with {title, children} as props.
|
|
@@ -3399,87 +3532,180 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
|
|
|
3399
3532
|
}) => {
|
|
3400
3533
|
const {
|
|
3401
3534
|
handleSubmit: m,
|
|
3402
|
-
control:
|
|
3535
|
+
control: g,
|
|
3403
3536
|
formState: { errors: _ }
|
|
3404
|
-
} = n, { t:
|
|
3405
|
-
return (
|
|
3406
|
-
/* "
|
|
3407
|
-
|
|
3408
|
-
/* @__PURE__ */ s(
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
children: /* @__PURE__ */ s(
|
|
3422
|
-
Se,
|
|
3423
|
-
{
|
|
3424
|
-
inputs: C,
|
|
3425
|
-
control: h,
|
|
3426
|
-
inputContainerStyles: o,
|
|
3427
|
-
errorColor: r,
|
|
3428
|
-
formInstance: n
|
|
3429
|
-
}
|
|
3430
|
-
)
|
|
3431
|
-
},
|
|
3432
|
-
`${g.category}${y}`
|
|
3433
|
-
)
|
|
3434
|
-
}
|
|
3435
|
-
) : /* @__PURE__ */ p(
|
|
3436
|
-
"div",
|
|
3437
|
-
{
|
|
3438
|
-
style: {
|
|
3439
|
-
width: "100%",
|
|
3440
|
-
display: c && g.categoryId !== c ? "none" : "flex",
|
|
3441
|
-
flexDirection: "column"
|
|
3442
|
-
},
|
|
3443
|
-
children: [
|
|
3444
|
-
/* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children: f(g.category) }),
|
|
3445
|
-
/* @__PURE__ */ s("div", { style: { paddingTop: 50, width: "100%" }, children: /* @__PURE__ */ s(
|
|
3446
|
-
Se,
|
|
3537
|
+
} = n, { t: v } = B();
|
|
3538
|
+
return /* @__PURE__ */ p("form", { className: Te.formContainer, onSubmit: m(u), children: [
|
|
3539
|
+
/* @__PURE__ */ s("div", { className: Te.formObjectContainer, children: d && d.map((C, h) => {
|
|
3540
|
+
const { inputs: f } = C;
|
|
3541
|
+
return C.category ? i ? /* @__PURE__ */ s(
|
|
3542
|
+
"div",
|
|
3543
|
+
{
|
|
3544
|
+
style: {
|
|
3545
|
+
display: c && C.categoryId !== c ? "none" : "inherit",
|
|
3546
|
+
width: "100%"
|
|
3547
|
+
},
|
|
3548
|
+
children: /* @__PURE__ */ s(
|
|
3549
|
+
i,
|
|
3550
|
+
{
|
|
3551
|
+
title: C.category,
|
|
3552
|
+
children: /* @__PURE__ */ s(
|
|
3553
|
+
Fe,
|
|
3447
3554
|
{
|
|
3448
|
-
inputs:
|
|
3449
|
-
control:
|
|
3555
|
+
inputs: f,
|
|
3556
|
+
control: g,
|
|
3450
3557
|
inputContainerStyles: o,
|
|
3451
3558
|
errorColor: r,
|
|
3452
|
-
|
|
3559
|
+
formInstance: n
|
|
3453
3560
|
}
|
|
3454
|
-
)
|
|
3455
|
-
|
|
3561
|
+
)
|
|
3562
|
+
},
|
|
3563
|
+
`${C.category}${h}`
|
|
3564
|
+
)
|
|
3565
|
+
}
|
|
3566
|
+
) : /* @__PURE__ */ p(
|
|
3567
|
+
"div",
|
|
3568
|
+
{
|
|
3569
|
+
style: {
|
|
3570
|
+
width: "100%",
|
|
3571
|
+
display: c && C.categoryId !== c ? "none" : "flex",
|
|
3572
|
+
flexDirection: "column"
|
|
3456
3573
|
},
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3574
|
+
children: [
|
|
3575
|
+
/* @__PURE__ */ s("h2", { style: { marginBottom: 20 }, children: v(C.category) }),
|
|
3576
|
+
/* @__PURE__ */ s("div", { style: { paddingTop: 50, width: "100%" }, children: /* @__PURE__ */ s(
|
|
3577
|
+
Fe,
|
|
3578
|
+
{
|
|
3579
|
+
inputs: f,
|
|
3580
|
+
control: g,
|
|
3581
|
+
inputContainerStyles: o,
|
|
3582
|
+
errorColor: r,
|
|
3583
|
+
reactHookFormInstance: n
|
|
3584
|
+
}
|
|
3585
|
+
) })
|
|
3586
|
+
]
|
|
3587
|
+
},
|
|
3588
|
+
`${C.category}${h}`
|
|
3589
|
+
) : /* @__PURE__ */ s("div", { style: { width: "100%" }, children: /* @__PURE__ */ s(
|
|
3590
|
+
Fe,
|
|
3591
|
+
{
|
|
3592
|
+
inputContainerStyles: o,
|
|
3593
|
+
inputs: f,
|
|
3594
|
+
control: g,
|
|
3595
|
+
errorColor: r,
|
|
3596
|
+
reactHookFormInstance: n
|
|
3597
|
+
}
|
|
3598
|
+
) }, `inputKey${h}`);
|
|
3599
|
+
}) }),
|
|
3600
|
+
/* @__PURE__ */ p("div", { className: Te.buttonContainer, children: [
|
|
3601
|
+
/* @__PURE__ */ s(ve, { containerStyles: l, type: "submit", children: v(a) }),
|
|
3602
|
+
/* @__PURE__ */ s(we, { errorMessage: t, errorColor: r })
|
|
3474
3603
|
] })
|
|
3475
|
-
);
|
|
3476
|
-
},
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3604
|
+
] });
|
|
3605
|
+
}, Z1 = "_overlay_mnd4j_2", K1 = "_modal_mnd4j_15", H1 = "_closeButton_mnd4j_29", U1 = "_icon_mnd4j_39", G1 = "_message_mnd4j_45", W1 = "_submessage_mnd4j_51", Y1 = "_buttonsContainer_mnd4j_57", Q1 = "_buttonWrapper_mnd4j_64", U = {
|
|
3606
|
+
overlay: Z1,
|
|
3607
|
+
modal: K1,
|
|
3608
|
+
closeButton: H1,
|
|
3609
|
+
icon: U1,
|
|
3610
|
+
message: G1,
|
|
3611
|
+
submessage: W1,
|
|
3612
|
+
buttonsContainer: Y1,
|
|
3613
|
+
buttonWrapper: Q1
|
|
3614
|
+
}, X1 = ({
|
|
3615
|
+
onClose: n,
|
|
3616
|
+
icon: d,
|
|
3617
|
+
message: i,
|
|
3618
|
+
submessage: o,
|
|
3619
|
+
buttons: t,
|
|
3620
|
+
maxHeight: r = "450px",
|
|
3621
|
+
maxWidth: a = "450px"
|
|
3622
|
+
}) => /* @__PURE__ */ s("div", { className: U.overlay, children: /* @__PURE__ */ p(
|
|
3623
|
+
"div",
|
|
3624
|
+
{
|
|
3625
|
+
className: U.modal,
|
|
3626
|
+
style: { maxHeight: r, maxWidth: a },
|
|
3627
|
+
children: [
|
|
3628
|
+
/* @__PURE__ */ s("button", { className: U.closeButton, onClick: n, "aria-label": "Close modal", children: "✕" }),
|
|
3629
|
+
d && /* @__PURE__ */ s("img", { src: d, alt: "icon", className: U.icon }),
|
|
3630
|
+
/* @__PURE__ */ s("p", { className: U.message, children: i }),
|
|
3631
|
+
o && /* @__PURE__ */ s("p", { className: U.submessage, children: o }),
|
|
3632
|
+
t.length > 0 && /* @__PURE__ */ s("div", { className: U.buttonsContainer, children: t.map((l, c) => /* @__PURE__ */ s("div", { className: U.buttonWrapper, children: l }, c)) })
|
|
3633
|
+
]
|
|
3634
|
+
}
|
|
3635
|
+
) });
|
|
3636
|
+
X1.propTypes = {
|
|
3637
|
+
/** Función que se ejecuta al clicar la "X" de cierre */
|
|
3638
|
+
onClose: e.func.isRequired,
|
|
3639
|
+
/** URL de la imagen opcional que aparece sobre el mensaje */
|
|
3640
|
+
icon: e.string,
|
|
3641
|
+
/** Texto principal del modal */
|
|
3642
|
+
message: e.string.isRequired,
|
|
3643
|
+
/** Texto opcional debajo del mensaje principal */
|
|
3644
|
+
submessage: e.string,
|
|
3645
|
+
/** Array de componentes de botones a renderizar en el modal */
|
|
3646
|
+
buttons: e.arrayOf(e.node),
|
|
3647
|
+
/** Altura máxima del modal (por defecto 400px) */
|
|
3648
|
+
maxHeight: e.string,
|
|
3649
|
+
/** Anchura máxima del modal (por defecto 400px) */
|
|
3650
|
+
maxWidth: e.string
|
|
3651
|
+
};
|
|
3652
|
+
const J1 = "_stepsContainer_1cyua_3", ei = "_stepWrapper_1cyua_9", ti = "_circleContainer_1cyua_19", ni = "_circle_1cyua_19", ii = "_active_1cyua_39", oi = "_completed_1cyua_44", si = "_label_1cyua_50", ri = "_labelActive_1cyua_56", ai = "_connector_1cyua_61", z = {
|
|
3653
|
+
stepsContainer: J1,
|
|
3654
|
+
stepWrapper: ei,
|
|
3655
|
+
circleContainer: ti,
|
|
3656
|
+
circle: ni,
|
|
3657
|
+
active: ii,
|
|
3658
|
+
completed: oi,
|
|
3659
|
+
label: si,
|
|
3660
|
+
labelActive: ri,
|
|
3661
|
+
connector: ai
|
|
3662
|
+
}, Nt = ({ steps: n, activeColor: d }) => /* @__PURE__ */ s("div", { className: z.stepsContainer, children: n.map((i, o) => {
|
|
3663
|
+
const t = i.status === "active", r = i.status === "completed";
|
|
3664
|
+
return /* @__PURE__ */ p("div", { className: z.stepWrapper, children: [
|
|
3665
|
+
/* @__PURE__ */ p("div", { className: z.circleContainer, children: [
|
|
3666
|
+
/* @__PURE__ */ s(
|
|
3667
|
+
"div",
|
|
3668
|
+
{
|
|
3669
|
+
className: `${z.circle}
|
|
3670
|
+
${t ? z.active : ""}
|
|
3671
|
+
${r ? z.completed : ""}`,
|
|
3672
|
+
style: t ? { backgroundColor: d } : {},
|
|
3673
|
+
onClick: i.onClick,
|
|
3674
|
+
children: o + 1
|
|
3675
|
+
}
|
|
3676
|
+
),
|
|
3677
|
+
o < n.length - 1 && /* @__PURE__ */ s("div", { className: z.connector })
|
|
3678
|
+
] }),
|
|
3679
|
+
/* @__PURE__ */ s(
|
|
3680
|
+
"div",
|
|
3681
|
+
{
|
|
3682
|
+
className: `${z.label} ${t ? z.labelActive : ""}`,
|
|
3683
|
+
children: i.name
|
|
3684
|
+
}
|
|
3685
|
+
)
|
|
3686
|
+
] }, o);
|
|
3687
|
+
}) });
|
|
3688
|
+
Nt.propTypes = {
|
|
3689
|
+
steps: e.arrayOf(
|
|
3690
|
+
e.shape({
|
|
3691
|
+
name: e.string.isRequired,
|
|
3692
|
+
onClick: e.func,
|
|
3693
|
+
status: e.oneOf(["inactive", "active", "completed"]).isRequired
|
|
3694
|
+
})
|
|
3695
|
+
).isRequired,
|
|
3696
|
+
activeColor: e.string
|
|
3697
|
+
};
|
|
3698
|
+
Nt.defaultProps = {
|
|
3699
|
+
activeColor: "#C2185B"
|
|
3700
|
+
// color por defecto
|
|
3701
|
+
};
|
|
3702
|
+
const li = "_header_13kbt_2", ci = "_leftComponents_13kbt_13", di = "_centerComponents_13kbt_14", ui = "_rightComponents_13kbt_15", pi = "_componentsContainer_13kbt_32", J = {
|
|
3703
|
+
header: li,
|
|
3704
|
+
leftComponents: ci,
|
|
3705
|
+
centerComponents: di,
|
|
3706
|
+
rightComponents: ui,
|
|
3707
|
+
componentsContainer: pi
|
|
3708
|
+
}, mi = ({
|
|
3483
3709
|
cssProps: n,
|
|
3484
3710
|
leftComponents: d = [],
|
|
3485
3711
|
centerComponents: i = [],
|
|
@@ -3492,7 +3718,7 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
|
|
|
3492
3718
|
}) => /* @__PURE__ */ p(
|
|
3493
3719
|
"div",
|
|
3494
3720
|
{
|
|
3495
|
-
className:
|
|
3721
|
+
className: J.header,
|
|
3496
3722
|
style: {
|
|
3497
3723
|
...n,
|
|
3498
3724
|
zIndex: t,
|
|
@@ -3502,13 +3728,13 @@ const qe = (n) => n.render(r1(n)), a1 = "_errorMessage_1xiyb_2", l1 = {
|
|
|
3502
3728
|
bottom: l ? 0 : "auto"
|
|
3503
3729
|
},
|
|
3504
3730
|
children: [
|
|
3505
|
-
/* @__PURE__ */ s("div", { className:
|
|
3506
|
-
/* @__PURE__ */ s("div", { className:
|
|
3507
|
-
/* @__PURE__ */ s("div", { className:
|
|
3731
|
+
/* @__PURE__ */ s("div", { className: J.leftComponents, children: d.map((c, u) => /* @__PURE__ */ s("div", { className: J.componentsContainer, children: c }, u)) }),
|
|
3732
|
+
/* @__PURE__ */ s("div", { className: J.centerComponents, children: i.map((c, u) => /* @__PURE__ */ s("div", { className: J.componentsContainer, children: c }, u)) }),
|
|
3733
|
+
/* @__PURE__ */ s("div", { className: J.rightComponents, children: o.map((c, u) => /* @__PURE__ */ s("div", { className: J.componentsContainer, children: c }, u)) })
|
|
3508
3734
|
]
|
|
3509
3735
|
}
|
|
3510
3736
|
);
|
|
3511
|
-
|
|
3737
|
+
mi.propTypes = {
|
|
3512
3738
|
leftComponents: e.arrayOf(e.node),
|
|
3513
3739
|
centerComponents: e.arrayOf(e.node),
|
|
3514
3740
|
rightComponents: e.arrayOf(e.node),
|
|
@@ -3518,12 +3744,12 @@ T1.propTypes = {
|
|
|
3518
3744
|
backgroundColor: e.string,
|
|
3519
3745
|
isFooter: e.bool
|
|
3520
3746
|
};
|
|
3521
|
-
const
|
|
3522
|
-
sidebar:
|
|
3523
|
-
open:
|
|
3524
|
-
content:
|
|
3525
|
-
closeButton:
|
|
3526
|
-
},
|
|
3747
|
+
const hi = "_sidebar_1fmjn_2", gi = "_open_1fmjn_16", Ci = "_content_1fmjn_20", fi = "_closeButton_1fmjn_26", ye = {
|
|
3748
|
+
sidebar: hi,
|
|
3749
|
+
open: gi,
|
|
3750
|
+
content: Ci,
|
|
3751
|
+
closeButton: fi
|
|
3752
|
+
}, bi = "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", _i = ({
|
|
3527
3753
|
width: n = "300px",
|
|
3528
3754
|
children: d,
|
|
3529
3755
|
showRightBar: i,
|
|
@@ -3535,45 +3761,49 @@ const V1 = "_sidebar_1fmjn_2", A1 = "_open_1fmjn_16", I1 = "_content_1fmjn_20",
|
|
|
3535
3761
|
return /* @__PURE__ */ s(
|
|
3536
3762
|
"div",
|
|
3537
3763
|
{
|
|
3538
|
-
className: `${
|
|
3764
|
+
className: `${ye.sidebar} ${i ? ye.open : ""}`,
|
|
3539
3765
|
style: { width: i ? n : 0 },
|
|
3540
|
-
children: i && /* @__PURE__ */ p("div", { className:
|
|
3541
|
-
/* @__PURE__ */ s("button", { className:
|
|
3766
|
+
children: i && /* @__PURE__ */ p("div", { className: ye.content, children: [
|
|
3767
|
+
/* @__PURE__ */ s("button", { className: ye.closeButton, onClick: t, children: /* @__PURE__ */ s("img", { src: bi, alt: "Close Sidebar" }) }),
|
|
3542
3768
|
d
|
|
3543
3769
|
] })
|
|
3544
3770
|
}
|
|
3545
3771
|
);
|
|
3546
3772
|
};
|
|
3547
|
-
|
|
3773
|
+
_i.propTypes = {
|
|
3548
3774
|
width: e.string,
|
|
3549
3775
|
children: e.node,
|
|
3550
3776
|
showRightBar: e.bool,
|
|
3551
3777
|
onCloseBar: e.func
|
|
3552
3778
|
};
|
|
3553
3779
|
export {
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
v0 as
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
G0 as
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3780
|
+
g2 as AmbitSelector,
|
|
3781
|
+
S2 as ButtonsList,
|
|
3782
|
+
ne as DropdownList,
|
|
3783
|
+
Oi as EditAmbit,
|
|
3784
|
+
we as ErrorMessage,
|
|
3785
|
+
X2 as FiltersAmbit,
|
|
3786
|
+
zi as Form,
|
|
3787
|
+
ve as GeneralButton,
|
|
3788
|
+
i0 as Graphic,
|
|
3789
|
+
mi as HeaderSection,
|
|
3790
|
+
v0 as IndicatorsList,
|
|
3791
|
+
S0 as LangSelector,
|
|
3792
|
+
z0 as Legend,
|
|
3793
|
+
Hn as ListSelector,
|
|
3794
|
+
xn as LogInButton,
|
|
3795
|
+
K0 as LogoApp,
|
|
3796
|
+
G0 as MapboxMap,
|
|
3797
|
+
en as MaplibreMap,
|
|
3798
|
+
X1 as ModalAlert,
|
|
3799
|
+
F1 as RadioButtonInput,
|
|
3800
|
+
z1 as RankingSlider,
|
|
3801
|
+
_i as RightSidebar,
|
|
3802
|
+
Ri as SectionBar,
|
|
3803
|
+
B1 as SelectInput,
|
|
3804
|
+
Nt as Steps,
|
|
3805
|
+
ot as TextInput,
|
|
3806
|
+
gn as TimeSlider,
|
|
3807
|
+
ee as Tooltip,
|
|
3808
|
+
_n as TopNavMenu
|
|
3579
3809
|
};
|