@tmf_ciclica/ciclicastorybook 1.2.136 → 1.2.138
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 +23 -23
- package/dist/index.es.js +951 -949
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_phq4n_2{padding:5px 95px;border-radius:100px}._generalButton_phq4n_2:disabled{opacity:.6}._buttonsContainer_1ks7x_2{display:flex;gap:8px}._buttonsContainer_1ks7x_2._vertical_1ks7x_6{flex-direction:column}._buttonsContainer_1ks7x_2._horizontal_1ks7x_9{flex-direction:row}._button_1ks7x_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1ks7x_2:hover{opacity:.8}._button_1ks7x_2._active_1ks7x_25{font-weight:700}._button_1ks7x_2 ._buttonName_1ks7x_28{margin:0 4px}._button_1ks7x_2:disabled{opacity:.5!important;cursor:auto}._left_1l4m4_2{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_1l4m4_2:before{content:"";position:absolute;top:50%;left:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent transparent #ccc;z-index:-2}._left_1l4m4_2:after{content:"";position:absolute;top:50%;left:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent transparent #fff;z-index:-1}._top_1l4m4_40{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._top_1l4m4_40:before{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:#ccc transparent transparent transparent;z-index:-2}._top_1l4m4_40:after{content:"";position:absolute;top:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:#fff transparent transparent transparent;z-index:-1}._bottom_1l4m4_79{position:absolute;width:auto;top:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._bottom_1l4m4_79:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent #ccc transparent;z-index:-2}._bottom_1l4m4_79:after{content:"";position:absolute;bottom:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent #fff transparent;z-index:-1}._right_1l4m4_118{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:20px;margin:0;white-space:nowrap;color:#000;z-index:10}._right_1l4m4_118:before{content:"";position:absolute;top:50%;right:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent #ccc transparent transparent;z-index:-2}._right_1l4m4_118:after{content:"";position:absolute;top:50%;right:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent #fff transparent transparent;z-index:-1}._indicatorsCategory_11gdl_2{overflow:hidden;min-height:50px}._indicatorsCategory_11gdl_2 ._title_11gdl_6{align-items:center;gap:10px;cursor:pointer;display:grid;height:50px;grid-template-columns:12px auto}._indicatorsCategory_11gdl_2 ._title_11gdl_6._mainTitle_11gdl_14{border-bottom:1px solid;height:70px}._indicatorsCategory_11gdl_2 ._list_11gdl_18{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._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}._GeographicalFilters_cn837_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start}._GeographicalFilters_cn837_2 ._AppliedFilterContent_cn837_10{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:20px;border-radius:100px}._layersList_cn837_25{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:column;align-items:flex-start}._layerName_cn837_34{padding-left:25px;cursor:pointer}._checkboxContainer_1nxra_2{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_1nxra_2 input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:1px;background-color:#fff;cursor:pointer}._container_4u41i_2,._container_4u41i_2 span{font-size:14px}._container_4u41i_2 ._unitLabel_4u41i_8{height:40px}._container_4u41i_2 ._slider_4u41i_11{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_4u41i_2 ._thumb_4u41i_17{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_4u41i_2 ._track_4u41i_26{top:0;bottom:0;background:#605b56;border-radius:3px}._container_4u41i_2 ._labels_4u41i_32{display:flex;justify-content:space-between;font-size:14px;margin-top:10px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 label,._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input{cursor:pointer;font-size:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background-color:#fff;transition:background-color .2s ease;cursor:pointer;vertical-align:middle}._tematicalFiltersInputContainer_1vm1r_2 ._checkboxContainer_1vm1r_28{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px}._tematicalFiltersInputContainer_1vm1r_2 ._absoluteSliderContainer_1vm1r_37{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:flex-start}._FiltersAmbitContainer_1hv16_2{width:100%;height:100%;padding-left:24px;position:relative;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:start;gap:20px}._FiltersAmbitContainer_1hv16_2 ._FiltersContainer_1hv16_15{width:100%}._FiltersAmbitContainer_1hv16_2 ._FiltersAmbitHeader_1hv16_18{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1hv16_2 ._FiltersAmbitHeader_1hv16_18 ._FiltersAmbitTitle_1hv16_26{font-size:18px;font-weight:600;border-bottom:1.5px solid #605b56;width:100%;height:70px;display:flex;align-items:center}._FiltersAmbitContainer_1hv16_2 ._FiltersAmbitHeader_1hv16_18 ._FiltersAmbitDescription_1hv16_35{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_1hv16_2 ._FiltersAmbitHeader_1hv16_18 ._FiltersAmbitDescription_1hv16_35 ._FiltersAmbitDescriptionTitle_1hv16_46{font-size:18px;font-weight:600}._FiltersAmbitContainer_1hv16_2 ._warning_1hv16_50{color:red}._FiltersAmbitContainer_1hv16_2 ._buttonContainer_1hv16_53{width:100%;margin-left:-24px;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:column;align-items:center;margin-bottom:20px;height:60px}._barChartContainer_1ly7h_2{position:relative;overflow-x:scroll;overflow-y:scroll;scrollbar-width:thin;scrollbar-color:var(--main-color) transparent}._barChartContainer_1ly7h_2::-webkit-scrollbar{height:6px}._barChartContainer_1ly7h_2::-webkit-scrollbar-track{background:transparent}._barChartContainer_1ly7h_2::-webkit-scrollbar-thumb{background-color:var(--main-color);border-radius:3px}._barChartContainer_1ly7h_2::-webkit-scrollbar{display:none}._graphicContainer_1ozwp_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;padding:33px 50px;border-radius:20px}._graphicContainer_1ozwp_2 ._titleContainer_1ozwp_13{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_arwy3_2{overflow:hidden}._indicatorsCategory_arwy3_2 ._title_arwy3_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px;display:grid;grid-template-columns:12px auto}._indicatorsCategory_arwy3_2 ._list_arwy3_13{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_17b40_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_17b40_2 ._indicatorNameContainer_17b40_11{gap:8px;display:grid;grid-template-columns:15px auto;align-items:center}._indicatorContainer_17b40_2 ._dot_17b40_17{border-radius:100px;width:13px;height:13px;display:flex;align-items:center;justify-content:center}._indicatorContainer_17b40_2 ._indicatorName_17b40_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_17b40_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start}._switchExternalContainer_17b40_31 ._switchType_17b40_39{margin:0;width:100%}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:9px;cursor:pointer}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54 ._customRadious_17b40_64{width:13px;height:13px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54 ._optionText_17b40_71{font-weight:400}._indicatorsSubCategory_1nuug_2{overflow:hidden}._indicatorsSubCategory_1nuug_2 h3{text-align:left;display:grid;gap:10px;grid-template-columns:12px auto}._indicatorsSubCategory_1nuug_2 ._list_1nuug_11{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_13b3m_2{width:100%;padding-left:30px}._indicatorsList_13b3m_2 ._title_13b3m_6{border-bottom:1px solid;height:70px;display:flex;align-items:center;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_1l2pz_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}@media (max-width: 500px){._legendContainer_1l2pz_3{width:250px}}._legendContainer_1l2pz_3 ._sectionContainer_1l2pz_24:not(:first-child){margin-top:30px;padding-top:20px;border-top:1px solid #e0e0e0}._legendContainer_1l2pz_3::-webkit-scrollbar{width:8px}._legendContainer_1l2pz_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_1l2pz_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_1l2pz_3 ._closeButton_1l2pz_43{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_1l2pz_3 ._closeButton_1l2pz_43:before,._legendContainer_1l2pz_3 ._closeButton_1l2pz_43:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_1l2pz_3 ._closeButton_1l2pz_43:before{transform:rotate(45deg)}._legendContainer_1l2pz_3 ._closeButton_1l2pz_43:after{transform:rotate(-45deg)}._legendContainer_1l2pz_3 ._titleContainer_1l2pz_71{border-bottom:solid 1.5px #605b56}._legendContainer_1l2pz_3 ._titleContainer_1l2pz_71 h2{padding-bottom:16px}._legendContainer_1l2pz_3 ._infoContainer_1l2pz_77{padding-top:20px}._legendContainer_1l2pz_3 ._infoContainer_1l2pz_77 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_1l2pz_3 ._titleLegendList_1l2pz_88{padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56}._legendContainer_1l2pz_3 ._legendListContainer_1l2pz_93 ._gridContainer_1l2pz_93{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_1l2pz_3 ._legendListContainer_1l2pz_93 ._gridContainer_1l2pz_93 ._elementLegendContainer_1l2pz_99{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_1l2pz_3 ._legendListContainer_1l2pz_93 ._gridContainer_1l2pz_93 ._elementLegendContainer_1l2pz_99 ._colorDot_1l2pz_105{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_1l2pz_3 ._legendListContainer_1l2pz_93 ._absoluteValueContainer_1l2pz_111{position:relative}._legendContainer_1l2pz_3 ._legendListContainer_1l2pz_93 ._absoluteValueContainer_1l2pz_111 ._absoluteValueColor_1l2pz_114{height:130px;width:22px;border-radius:20px}._legendContainer_1l2pz_3 ._legendListContainer_1l2pz_93 ._absoluteValueContainer_1l2pz_111 ._absoluteValueText_1l2pz_119{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_1l2pz_3 ._legendListContainer_1l2pz_93 ._noDataContainer_1l2pz_131{position:relative;margin-top:10px}._legendContainer_1l2pz_3 ._legendListContainer_1l2pz_93 ._noDataContainer_1l2pz_131 ._noData_1l2pz_131{height:22px;width:22px;border-radius:20px}._legendContainer_1l2pz_3 ._legendListContainer_1l2pz_93 ._noDataContainer_1l2pz_131 ._absoluteValueText_1l2pz_119{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_1l2pz_3 ._moreInfoContainer_1l2pz_152{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_4sba4_2{padding:15px;color:#92898a}._FeaturePopUp_4sba4_2 p{margin-bottom:10px;font-weight:600}._FeaturePopUp_4sba4_2 ._title_4sba4_10{font-weight:400;margin-right:5px;color:#92898a}._sectionBar_yf2vy_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_yf2vy_14{display:flex;align-items:center;gap:12px}._textContainer_yf2vy_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_yf2vy_27{font-size:16px;font-weight:600;color:#605b56}._subtitle_yf2vy_33{font-size:16px;color:#605b56}._rightContent_yf2vy_38{display:flex;align-items:center;gap:8px}._slider_1prh1_2{padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._slider_1prh1_2 ._playButton_1prh1_14,._slider_1prh1_2 ._playButton_1prh1_14._hover_1prh1_17{background-color:transparent!important}._slider_1prh1_2 ._playButton_1prh1_14 img{height:30px;width:30px}._sliderOpen_1prh1_25{right:490px}._sliderResults_1prh1_29{position:absolute;top:75px;right:430px;padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._sliderResults_1prh1_29 ._playButton_1prh1_14,._sliderResults_1prh1_29 ._playButton_1prh1_14._hover_1prh1_17{background-color:transparent!important}._sliderResults_1prh1_29 ._playButton_1prh1_14 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._LogInButton_1vxj5_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._elementSelector_1ox68_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;padding-left:24px;min-height:100%;flex:1}._elementSelector_1ox68_2 ._header_1ox68_14{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;height:70px}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24{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_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementName_1ox68_40{font-size:18px;font-weight:600;flex:1}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementName_1ox68_40 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementDate_1ox68_54{font-size:18px;font-weight:600;flex:.5}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementDate_1ox68_54 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1ox68_2 ._header_1ox68_14 ._buttonsContainer_1ox68_68{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_1ox68_2 ._elementListContainer_1ox68_77{flex:1;width:100%}._elementSelector_1ox68_2 ._newElementButtonContainer_1ox68_81{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px;padding-top:50px}._listElement_s4s4h_3{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;padding-right:15px}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;gap:5px}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19 ._elementNameContainer_s4s4h_30{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative;overflow-wrap:break-word;word-break:break-word}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19 ._elementName_s4s4h_19{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19 ._elementDate_s4s4h_47{flex:.5}._listElement_s4s4h_3 ._nameAndEye_s4s4h_50{display:grid!important;grid-template-columns:26px auto;gap:9px!important}._listElement_s4s4h_3 ._elementButtons_s4s4h_55{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_s4s4h_3 ._elementButtons_s4s4h_55 button:disabled{opacity:.5;cursor:default}._listElement_s4s4h_3 ._elementButtons_s4s4h_55 img{display:inline}._break_s4s4h_73{flex-basis:100%;height:0}._moreInfoContainer_s4s4h_78 ._moreInfo_s4s4h_78{display:flex;gap:5px;cursor:pointer}._formContainer_asv64_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_asv64_2 ._categorySelectorContainer_asv64_11{margin-bottom:5px;width:100%}._formContainer_asv64_2 ._formObjectContainer_asv64_15{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:center;flex:1;width:100%;gap:80px}._formContainer_asv64_2 ._buttonContainer_asv64_26{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._textInputContainer_1o3iy_2{width:100%}._textInputContainer_1o3iy_2 ._labelContainer_1o3iy_5{margin-bottom:25px}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8{background-color:#605b5620;padding:7px;border-radius:4px;position:relative}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 ._showPasswordButton_1o3iy_14{position:absolute;right:15px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 input{width:100%}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26{margin-top:10px;cursor:pointer}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26 button{text-decoration:underline}._errorMessage_1xiyb_2{min-height:25px}._inputsContainer_10t9s_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;gap:30px}._selectInputContainer_zzz6o_2{width:100%;position:relative}._selectInputContainer_zzz6o_2 ._labelContainer_zzz6o_6{margin-bottom:25px}._selectInputContainer_zzz6o_2 ._selectWrapper_zzz6o_9{display:flex;flex-direction:row;gap:15px;align-items:center}._selectInputContainer_zzz6o_2 ._inputContainer_zzz6o_15{position:relative}._selectInputContainer_zzz6o_2 ._inputContainer_zzz6o_15 ._selectInput_zzz6o_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_zzz6o_2 ._inputContainer_zzz6o_15 ._selectInput_zzz6o_2 ._option_zzz6o_29{cursor:pointer}._selectInputContainer_zzz6o_2 ._inputContainer_zzz6o_15 ._dropdownArrow_zzz6o_32{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_1dvpb_2{display:grid;width:100%}._rankingSliderContainer_1dvpb_2 ._labelContainer_1dvpb_6{margin-bottom:25px;color:#605b56}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10{width:100%;position:relative;display:flex;gap:14px;align-items:center;flex-wrap:nowrap;justify-content:center;height:48px}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._slider_1dvpb_20{height:3px;background:#efefef;border-radius:3px;position:relative;min-width:250px}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._thumb_1dvpb_27{height:15px;width:15px;border-radius:50%;top:-100%;transform:translateY(-20%);outline:none}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._labels_1dvpb_37{display:flex;justify-content:space-between;margin-top:8px;font-size:14px;color:#444}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._labels_1dvpb_37 span{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:10px;height:20px;position:relative}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._labels_1dvpb_37 span:before{content:"";background:#efefef;width:10px;height:10px;position:absolute;top:-14.5px;border-radius:50%}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._labels_1dvpb_37 ._labelsText_1dvpb_64{color:#605b56}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._minLabel_1dvpb_67,._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._maxLabel_1dvpb_68{align-self:baseline;padding-top:10px;color:#605b56;font-size:12px;white-space:nowrap;margin-top:-7px}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._minLabel_1dvpb_67{text-align:right}._textDescriptionContainer_163pc_2{margin:10px 0}._textDescriptionText_163pc_6{margin:0}._categorySelector_1guuv_2{min-height:50px;width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:10px;background-color:#efefef;border-radius:10px;padding:5px}._categorySelector_1guuv_2 ._sectionItemActive_1guuv_16{color:#fff}._categorySelector_1guuv_2 ._sectionItem_1guuv_16{border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;padding:5px;min-width:120px;height:100%;position:relative}._categorySelector_1guuv_2 ._sectionItemError_1guuv_32{border:1px solid #e74c3c}._categorySelector_1guuv_2 ._errorDot_1guuv_35{width:8px;height:8px;border-radius:50%;background-color:#e74c3c;display:inline-block;margin-right:6px}._overlay_mnd4j_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#0009;display:flex;align-items:center;justify-content:center;z-index:9999}._modal_mnd4j_15{background:#fff;border-radius:12px;position:relative;padding:24px 32px;display:flex;flex-direction:column;align-items:center;text-align:center;box-shadow:0 4px 20px #0003;overflow:hidden;min-width:300px}._closeButton_mnd4j_29{position:absolute;top:3px;right:8px;background:transparent;border:none;font-size:20px;cursor:pointer}._icon_mnd4j_39{width:60px;height:60px;margin-bottom:16px}._message_mnd4j_45{font-size:18px;font-weight:700;margin-bottom:8px}._submessage_mnd4j_51{font-size:14px;color:#666;margin-bottom:20px}._buttonsContainer_mnd4j_57{display:flex;gap:12px;justify-content:center;flex-wrap:nowrap}._buttonWrapper_mnd4j_64{display:inline-flex}._stepsContainer_1cyua_3{display:flex;flex-direction:column;position:relative}._stepWrapper_1cyua_9{display:flex;align-items:center;position:relative;margin-bottom:1.5rem}._stepWrapper_1cyua_9:last-child{margin-bottom:0}._circleContainer_1cyua_19{position:relative}._circle_1cyua_19{width:28px;height:28px;border-radius:50%;border:2px solid #ccc;background-color:#fff;color:#aaa;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;cursor:pointer;z-index:1}._active_1cyua_39{color:#fff;border:none}._completed_1cyua_44{background-color:#ccc;color:#fff;border:none}._label_1cyua_50{margin-left:10px;font-size:14px;color:#aaa}._labelActive_1cyua_56{font-weight:700;color:#333}._connector_1cyua_61{position:absolute;left:50%;transform:translate(-50%);top:32px;width:1px;height:calc(100% - 10px);background-color:#ccc;z-index:0}._statusTextContainer_ch14r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:128px;height:31px;border-radius:200px}._statusTextContainer_ch14r_2 span{font-size:16px;color:#605b56}._buttonsContainer_1c7dw_2{padding:5px 7px;background-color:#efefef;border-radius:10px;display:flex;gap:8px}._buttonsContainer_1c7dw_2 ._button_1c7dw_2{border-radius:10px;display:flex;align-items:center;cursor:pointer;padding:4px;color:#605b56}._buttonsContainer_1c7dw_2 ._button_1c7dw_2:hover{opacity:.8}._buttonsContainer_1c7dw_2 ._button_1c7dw_2._active_1c7dw_20{background:#b32f5d;color:#efefef}._switchContainer_194wl_2{display:flex;align-items:center;gap:10px;font-size:12px;justify-content:center}._switchContainer_194wl_2 ._labelRight_194wl_9,._switchContainer_194wl_2 ._labelLeft_194wl_9{white-space:nowrap;color:#605b56}._switchContainer_194wl_2 ._labelLeft_194wl_9{text-align:right}._switch_194wl_2{position:relative;display:inline-block;width:44px;height:24px}._switch_194wl_2 input{opacity:0;width:0;height:0}._switch_194wl_2 ._slider_194wl_28{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#fff;border-radius:24px;transition:background-color .3s;border:2px solid #605b56}._switch_194wl_2 ._slider_194wl_28:before{position:absolute;content:"";height:16px;width:16px;left:3px;bottom:2.5px;background-color:var(--switch-thumb-color, #ccc);border-radius:50%;transition:transform .3s,background-color .3s}._switch_194wl_2 input:checked+._slider_194wl_28:before{transform:translate(20px)}._switch_194wl_2._disabled_194wl_54{opacity:.5;pointer-events:none}._overlay_1xyw2_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999}._popup_1xyw2_15{background:#fff;padding:2rem;border-radius:12px;display:flex;flex-direction:column;align-items:center;box-shadow:0 4px 20px #0003}._gif_1xyw2_25{width:120px;height:auto;margin-bottom:1rem}._message_1xyw2_31{font-size:1.1rem;text-align:center}._container_1pl8d_3{position:relative;display:flex;align-intems:center}._burger_1pl8d_10{position:fixed;top:10px;right:25px;background:none;border:none;cursor:pointer;z-index:1000}._menu_1pl8d_21{position:fixed;top:0;right:0;width:250px;height:100vh;padding:1.5rem;box-shadow:-2px 0 8px #00000026;z-index:999;transform:translate(100%);transition:transform .35s cubic-bezier(.4,0,.2,1)}._menuOpen_1pl8d_35{transform:translate(0)}._menuClose_1pl8d_40{transform:translate(100%);pointer-events:none}._list_1pl8d_46{list-style:none;padding:0;margin-top:50px;display:flex;flex-direction:column;gap:1rem}._item_1pl8d_56{opacity:0;transform:translate(20px);transition:opacity .3s ease,transform .3s ease;font-size:16px!important}._menuOpen_1pl8d_35 ._item_1pl8d_56{opacity:1;transform:translate(0)}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(1){transition-delay:.05s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(2){transition-delay:.1s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(3){transition-delay:.15s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(4){transition-delay:.2s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(5){transition-delay:.25s}._button_1pl8d_91{background:none;border:none;color:inherit;font-size:18px;cursor:pointer;padding:0}._svgContainer_1rxoe_2{width:100%;box-sizing:border-box;position:relative}._svgContainer_1rxoe_2 ._svg_1rxoe_2{width:100%;height:100%;overflow:visible;display:block}@media (max-width: 768px){._svgContainer_1rxoe_2{padding:10px}}@media (max-width: 480px){._svgContainer_1rxoe_2{padding:5px}}.bar{transition:opacity .2s ease-in-out}.bar:hover{opacity:.8}.x-axis ._domain_1rxoe_31,.y-axis ._domain_1rxoe_31{stroke:#333;stroke-width:1px}.x-axis ._tick_1rxoe_36 line,.y-axis ._tick_1rxoe_36 line{stroke:#333;stroke-width:1px}.x-axis ._tick_1rxoe_36 text,.y-axis ._tick_1rxoe_36 text{fill:#605b56;font-family:Arial,sans-serif}._svgContainer_7fkic_2{width:100%;box-sizing:border-box;position:relative;overflow-x:auto}._svgContainer_7fkic_2 ._svg_7fkic_2{overflow:visible;display:block;max-width:none}@media (max-width: 768px){._svgContainer_7fkic_2{padding:10px}}@media (max-width: 480px){._svgContainer_7fkic_2{padding:5px}}.layer rect{transition:opacity .2s ease-in-out}.layer rect:hover{opacity:.8}.x-axis ._domain_7fkic_32,.y-axis ._domain_7fkic_32{stroke:#333;stroke-width:1px}.x-axis ._tick_7fkic_37 line,.y-axis ._tick_7fkic_37 line{stroke:#333;stroke-width:1px}.x-axis ._tick_7fkic_37 text,.y-axis ._tick_7fkic_37 text{fill:#605b56;font-family:Arial,sans-serif}.y-ticks ._tick_7fkic_37 line{stroke:#e0e0e0;stroke-width:.5px}.grid{opacity:.5}.chart-tooltip{font-family:Arial,sans-serif;box-shadow:0 2px 4px #0003}._externalContainer_1er0i_2{display:grid;grid-template-columns:170px auto;width:100%;padding:20px;grid-column-gap:5px}._externalContainer_1er0i_2._externalSintetic_1er0i_9{grid-template-columns:250px 80px 1fr;row-gap:20px}._externalContainer_1er0i_2 ._titles_1er0i_13{display:flex;flex-wrap:nowrap;justify-content:end;gap:0;flex-direction:column;align-items:end;padding-right:5px}._externalContainer_1er0i_2 ._titles_1er0i_13 ._titleContainer_1er0i_22{display:flex;flex-wrap:nowrap;justify-content:end;gap:0;flex-direction:row;align-items:center;gap:12px;font-size:12px;font-style:normal;font-weight:400;color:#605b56;height:54px}._externalContainer_1er0i_2 ._yearTitles_1er0i_36{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._externalContainer_1er0i_2 ._yearTitles_1er0i_36 ._yearTitle_1er0i_36{transform:rotate(-90deg);color:#605b56;font-size:13px;flex-shrink:0}._externalContainer_1er0i_2 ._yearDatas_1er0i_50{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._externalContainer_1er0i_2 ._yearDataContainer_1er0i_58{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:center}._externalContainer_1er0i_2 ._yearDataContainer_1er0i_58 ._yearDataContent_1er0i_66{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;border-bottom:1px solid #605b56;font-size:9px;color:#605b56;height:54px}._externalContainer_1er0i_2 ._yearDataContainer_1er0i_58 ._bigNumber_1er0i_79{font-size:8px}._externalContainer_1er0i_2 ._circle_1er0i_82{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:12px;height:12px;border-radius:50%;flex-shrink:0}._externalContainer_1er0i_2::-webkit-scrollbar{display:none}._totalContainer_1er0i_99{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:center;gap:7px;width:100%}._totalContainer_1er0i_99 ._total_1er0i_99{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;font-size:9px;font-weight:700;color:#605b56;height:54px;text-align:center}._totalTitle_1er0i_124{font-size:11px;color:#605b56;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._speedGraphic_d1k72_2{display:flex;justify-content:center;align-items:center;width:100%;height:100%;flex-direction:column}._speedGraphic_d1k72_2 svg{width:100%;height:auto;max-width:244px}._percentageBarContainer_1g3hk_3{width:100%;font-family:Arial,sans-serif;-webkit-user-select:none;user-select:none}._barContainer_1g3hk_10{display:flex;width:100%;height:20px;border-radius:4px;overflow:visible;position:relative}._segment_1g3hk_19{height:100%;position:relative;transition:width .05s linear;box-sizing:border-box}._segment_1g3hk_19:first-child{border-radius:4px 0 0 4px}._segment_1g3hk_19:last-child{border-radius:0 4px 4px 0}._segment_1g3hk_19:only-child{border-radius:4px}._handle_1g3hk_36{position:absolute;width:14px;height:28px;top:50%;left:0;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #888;border-radius:4px;cursor:ew-resize;z-index:10;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 3px #00000040;touch-action:none}._handle_1g3hk_36:before{content:"";width:2px;height:10px;border-left:1px solid #bbb;border-right:1px solid #bbb}._handle_1g3hk_36:hover,._handle_1g3hk_36:active{border-color:#444;background-color:#f5f5f5}._labelsContainer_1g3hk_68{display:flex;width:100%;margin-top:8px}._labelsContainer_1g3hk_68 ._labelItem_1g3hk_73{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:4px 2px;box-sizing:border-box;font-size:12px;overflow:hidden;min-width:0}._labelsListContainer_1g3hk_85{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-top:18px}._labelsListContainer_1g3hk_85 ._labelItem_1g3hk_73{display:flex;flex-direction:row;gap:6px;align-items:center;justify-content:flex-start;padding:4px 2px;box-sizing:border-box;font-size:12px;overflow:hidden;min-width:0}._labelColor_1g3hk_105{display:inline-block;width:10px;height:10px;border-radius:2px;margin-bottom:2px;flex-shrink:0}._labelText_1g3hk_114{font-weight:600;margin-bottom:2px;text-align:center;word-break:break-word;line-height:1.2}._labelValue_1g3hk_122{color:#555;margin-bottom:2px}._labelTranslation_1g3hk_127{color:#888;font-size:11px;font-style:italic}._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_1kaqu_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_1kaqu_16{border-left:1px solid #ddd}._content_1kaqu_20{position:relative;height:100%}._closeButton_1kaqu_25{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease;z-index:10}._closeButton_1kaqu_25:hover{color:#000}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@charset "UTF-8";@import"https://unpkg.com/maplibre-gl@^5.3.0/dist/maplibre-gl.css";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap";._ambitSelector_mcunf_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;height:100%;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;padding-bottom:26px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23{justify-content:flex-start;width:100%;flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39{font-size:18px;font-weight:600;flex:1}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitName_mcunf_39 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53{font-size:18px;font-weight:600;flex:.5}._ambitSelector_mcunf_2 ._header_mcunf_13 ._nameDateContainer_mcunf_23 ._ambitDate_mcunf_53 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._ambitSelector_mcunf_2 ._header_mcunf_13 ._buttonsContainer_mcunf_67{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._ambitSelector_mcunf_2 ._ambitListContainer_mcunf_76{flex:1;width:100%}._ambitSelector_mcunf_2 ._newAmbitButtonContainer_mcunf_80{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px}._ambitItem_1qa6u_2{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;gap:10px;width:100%;padding-bottom:30px;padding-top:30px}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitName_1qa6u_16{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;flex:1}._ambitItem_1qa6u_2 ._ambitNameDate_1qa6u_16 ._ambitDate_1qa6u_35{flex:.5}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._ambitItem_1qa6u_2 ._ambitButtons_1qa6u_38 button:disabled{opacity:.5;cursor:default}._generalButton_phq4n_2{padding:5px 95px;border-radius:100px}._generalButton_phq4n_2:disabled{opacity:.6}._buttonsContainer_1ks7x_2{display:flex;gap:8px}._buttonsContainer_1ks7x_2._vertical_1ks7x_6{flex-direction:column}._buttonsContainer_1ks7x_2._horizontal_1ks7x_9{flex-direction:row}._button_1ks7x_2{background:transparent;border:none;display:flex;align-items:center;cursor:pointer;padding:4px;position:relative}._button_1ks7x_2:hover{opacity:.8}._button_1ks7x_2._active_1ks7x_25{font-weight:700}._button_1ks7x_2 ._buttonName_1ks7x_28{margin:0 4px}._button_1ks7x_2:disabled{opacity:.5!important;cursor:auto}._left_1l4m4_2{position:absolute;width:auto;bottom:50%;right:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000}._left_1l4m4_2:before{content:"";position:absolute;top:50%;left:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent transparent #ccc;z-index:-2}._left_1l4m4_2:after{content:"";position:absolute;top:50%;left:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent transparent #fff;z-index:-1}._top_1l4m4_40{position:absolute;width:auto;bottom:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._top_1l4m4_40:before{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:#ccc transparent transparent transparent;z-index:-2}._top_1l4m4_40:after{content:"";position:absolute;top:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:#fff transparent transparent transparent;z-index:-1}._bottom_1l4m4_79{position:absolute;width:auto;top:calc(100% + 10px);right:50%;transform:translate(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:10px;margin:0;white-space:nowrap;color:#000;z-index:10}._bottom_1l4m4_79:before{content:"";position:absolute;bottom:100%;left:50%;transform:translate(-50%);border-width:.6em;border-style:solid;border-color:transparent transparent #ccc transparent;z-index:-2}._bottom_1l4m4_79:after{content:"";position:absolute;bottom:calc(100% - 1px);left:50%;transform:translate(-50%);border-width:.5em;border-style:solid;border-color:transparent transparent #fff transparent;z-index:-1}._right_1l4m4_118{position:absolute;width:auto;bottom:50%;left:calc(100% + 10px);transform:translateY(50%);font-size:16px;background-color:#fff;border:1px solid #ccc;border-radius:4px;padding:20px;margin:0;white-space:nowrap;color:#000;z-index:10}._right_1l4m4_118:before{content:"";position:absolute;top:50%;right:100%;transform:translateY(-50%);border-width:.6em;border-style:solid;border-color:transparent #ccc transparent transparent;z-index:-2}._right_1l4m4_118:after{content:"";position:absolute;top:50%;right:calc(100% - 1px);transform:translateY(-50%);border-width:.5em;border-style:solid;border-color:transparent #fff transparent transparent;z-index:-1}._indicatorsCategory_11gdl_2{overflow:hidden;min-height:50px}._indicatorsCategory_11gdl_2 ._title_11gdl_6{align-items:center;gap:10px;cursor:pointer;display:grid;height:50px;grid-template-columns:12px auto}._indicatorsCategory_11gdl_2 ._title_11gdl_6._mainTitle_11gdl_14{border-bottom:1px solid;height:70px}._indicatorsCategory_11gdl_2 ._list_11gdl_18{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._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}._GeographicalFilters_cn837_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:10px;flex-direction:row;align-items:start}._GeographicalFilters_cn837_2 ._AppliedFilterContent_cn837_10{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:row;align-items:center;font-size:16px;font-weight:400;height:35px;width:fit-content;padding:20px;border-radius:100px}._layersList_cn837_25{display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;flex-direction:column;align-items:flex-start}._layerName_cn837_34{padding-left:25px;cursor:pointer}._checkboxContainer_1nxra_2{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:400;cursor:pointer}._checkboxContainer_1nxra_2 input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:1px;background-color:#fff;cursor:pointer}._container_4u41i_2,._container_4u41i_2 span{font-size:14px}._container_4u41i_2 ._unitLabel_4u41i_8{height:40px}._container_4u41i_2 ._slider_4u41i_11{height:6px;background-color:#ddd;border-radius:3px;position:relative}._container_4u41i_2 ._thumb_4u41i_17{height:20px;width:20px;background-color:#605b56;border-radius:50%;cursor:grab;top:-7px;position:absolute}._container_4u41i_2 ._track_4u41i_26{top:0;bottom:0;background:#605b56;border-radius:3px}._container_4u41i_2 ._labels_4u41i_32{display:flex;justify-content:space-between;font-size:14px;margin-top:10px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 label,._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input{cursor:pointer;font-size:14px}._tematicalFiltersInputContainer_1vm1r_2 ._inputTypeContainer_1vm1r_2 input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:16px;height:16px;border-radius:50%;background-color:#fff;transition:background-color .2s ease;cursor:pointer;vertical-align:middle}._tematicalFiltersInputContainer_1vm1r_2 ._checkboxContainer_1vm1r_28{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;gap:14px}._tematicalFiltersInputContainer_1vm1r_2 ._absoluteSliderContainer_1vm1r_37{width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:flex-start}._FiltersAmbitContainer_1hv16_2{width:100%;height:100%;padding-left:24px;position:relative;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:start;gap:20px}._FiltersAmbitContainer_1hv16_2 ._FiltersContainer_1hv16_15{width:100%}._FiltersAmbitContainer_1hv16_2 ._FiltersAmbitHeader_1hv16_18{display:flex;flex-wrap:nowrap;justify-content:start;gap:30px;flex-direction:column;align-items:start}._FiltersAmbitContainer_1hv16_2 ._FiltersAmbitHeader_1hv16_18 ._FiltersAmbitTitle_1hv16_26{font-size:18px;font-weight:600;border-bottom:1.5px solid #605b56;width:100%;height:70px;display:flex;align-items:center}._FiltersAmbitContainer_1hv16_2 ._FiltersAmbitHeader_1hv16_18 ._FiltersAmbitDescription_1hv16_35{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_1hv16_2 ._FiltersAmbitHeader_1hv16_18 ._FiltersAmbitDescription_1hv16_35 ._FiltersAmbitDescriptionTitle_1hv16_46{font-size:18px;font-weight:600}._FiltersAmbitContainer_1hv16_2 ._warning_1hv16_50{color:red}._FiltersAmbitContainer_1hv16_2 ._buttonContainer_1hv16_53{width:100%;margin-left:-24px;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:column;align-items:center;margin-bottom:20px;height:60px}._barChartContainer_1ly7h_2{position:relative;overflow-x:scroll;overflow-y:scroll;scrollbar-width:thin;scrollbar-color:var(--main-color) transparent}._barChartContainer_1ly7h_2::-webkit-scrollbar{height:6px}._barChartContainer_1ly7h_2::-webkit-scrollbar-track{background:transparent}._barChartContainer_1ly7h_2::-webkit-scrollbar-thumb{background-color:var(--main-color);border-radius:3px}._barChartContainer_1ly7h_2::-webkit-scrollbar{display:none}._graphicContainer_1ozwp_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;width:100%;padding:33px 50px;border-radius:20px}._graphicContainer_1ozwp_2 ._titleContainer_1ozwp_13{display:flex;flex-wrap:nowrap;gap:0;flex-direction:row;align-items:center;justify-content:center;margin-bottom:83px}._indicatorsCategory_arwy3_2{overflow:hidden}._indicatorsCategory_arwy3_2 ._title_arwy3_5{align-items:center;gap:10px;cursor:pointer;margin-bottom:25px;display:grid;grid-template-columns:12px auto}._indicatorsCategory_arwy3_2 ._list_arwy3_13{display:flex;flex-wrap:nowrap;justify-content:start;flex-direction:column;align-items:start;width:100%;gap:20px;padding-bottom:20px}._indicatorContainer_17b40_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:center;gap:10px}._indicatorContainer_17b40_2 ._indicatorNameContainer_17b40_11{gap:8px;display:grid;grid-template-columns:15px auto;align-items:center}._indicatorContainer_17b40_2 ._dot_17b40_17{border-radius:100px;width:13px;height:13px;display:flex;align-items:center;justify-content:center}._indicatorContainer_17b40_2 ._indicatorName_17b40_11{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_17b40_31{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start}._switchExternalContainer_17b40_31 ._switchType_17b40_39{margin:0;width:100%}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:9px;cursor:pointer}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54 ._customRadious_17b40_64{width:13px;height:13px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_17b40_31 ._switchType_17b40_39 ._switchTypeOptions_17b40_43 ._optionContainer_17b40_54 ._optionText_17b40_71{font-weight:400}._indicatorsSubCategory_1nuug_2{overflow:hidden}._indicatorsSubCategory_1nuug_2 h3{text-align:left;display:grid;gap:10px;grid-template-columns:12px auto}._indicatorsSubCategory_1nuug_2 ._list_1nuug_11{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:start;margin:20px 0;gap:20px}._indicatorsList_13b3m_2{width:100%;padding-left:30px}._indicatorsList_13b3m_2 ._title_13b3m_6{border-bottom:1px solid;height:70px;display:flex;align-items:center;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_1l2pz_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}@media (max-width: 500px){._legendContainer_1l2pz_3{width:250px}}._legendContainer_1l2pz_3 ._sectionContainer_1l2pz_24:not(:first-child){margin-top:30px;padding-top:20px;border-top:1px solid #e0e0e0}._legendContainer_1l2pz_3::-webkit-scrollbar{width:8px}._legendContainer_1l2pz_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_1l2pz_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_1l2pz_3 ._closeButton_1l2pz_43{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_1l2pz_3 ._closeButton_1l2pz_43:before,._legendContainer_1l2pz_3 ._closeButton_1l2pz_43:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_1l2pz_3 ._closeButton_1l2pz_43:before{transform:rotate(45deg)}._legendContainer_1l2pz_3 ._closeButton_1l2pz_43:after{transform:rotate(-45deg)}._legendContainer_1l2pz_3 ._titleContainer_1l2pz_71{border-bottom:solid 1.5px #605b56}._legendContainer_1l2pz_3 ._titleContainer_1l2pz_71 h2{padding-bottom:16px}._legendContainer_1l2pz_3 ._infoContainer_1l2pz_77{padding-top:20px}._legendContainer_1l2pz_3 ._infoContainer_1l2pz_77 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_1l2pz_3 ._titleLegendList_1l2pz_88{padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56}._legendContainer_1l2pz_3 ._legendListContainer_1l2pz_93 ._gridContainer_1l2pz_93{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_1l2pz_3 ._legendListContainer_1l2pz_93 ._gridContainer_1l2pz_93 ._elementLegendContainer_1l2pz_99{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_1l2pz_3 ._legendListContainer_1l2pz_93 ._gridContainer_1l2pz_93 ._elementLegendContainer_1l2pz_99 ._colorDot_1l2pz_105{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_1l2pz_3 ._legendListContainer_1l2pz_93 ._absoluteValueContainer_1l2pz_111{position:relative}._legendContainer_1l2pz_3 ._legendListContainer_1l2pz_93 ._absoluteValueContainer_1l2pz_111 ._absoluteValueColor_1l2pz_114{height:130px;width:22px;border-radius:20px}._legendContainer_1l2pz_3 ._legendListContainer_1l2pz_93 ._absoluteValueContainer_1l2pz_111 ._absoluteValueText_1l2pz_119{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_1l2pz_3 ._legendListContainer_1l2pz_93 ._noDataContainer_1l2pz_131{position:relative;margin-top:10px}._legendContainer_1l2pz_3 ._legendListContainer_1l2pz_93 ._noDataContainer_1l2pz_131 ._noData_1l2pz_131{height:22px;width:22px;border-radius:20px}._legendContainer_1l2pz_3 ._legendListContainer_1l2pz_93 ._noDataContainer_1l2pz_131 ._absoluteValueText_1l2pz_119{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_1l2pz_3 ._moreInfoContainer_1l2pz_152{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_4sba4_2{padding:15px;color:#92898a}._FeaturePopUp_4sba4_2 p{margin-bottom:10px;font-weight:600}._FeaturePopUp_4sba4_2 ._title_4sba4_10{font-weight:400;margin-right:5px;color:#92898a}._sectionBar_yf2vy_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_yf2vy_14{display:flex;align-items:center;gap:12px}._textContainer_yf2vy_20{display:flex;flex-direction:row;align-items:center;gap:8px}._title_yf2vy_27{font-size:16px;font-weight:600;color:#605b56}._subtitle_yf2vy_33{font-size:16px;color:#605b56}._rightContent_yf2vy_38{display:flex;align-items:center;gap:8px}._slider_1prh1_2{padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._slider_1prh1_2 ._playButton_1prh1_14,._slider_1prh1_2 ._playButton_1prh1_14._hover_1prh1_17{background-color:transparent!important}._slider_1prh1_2 ._playButton_1prh1_14 img{height:30px;width:30px}._sliderOpen_1prh1_25{right:490px}._sliderResults_1prh1_29{position:absolute;top:75px;right:430px;padding:5px 20px;border:1px solid;border-radius:10px;display:flex;gap:20px;color:#605b56;justify-content:center;align-items:center;background-color:#fff;transition:all .5s ease-out}._sliderResults_1prh1_29 ._playButton_1prh1_14,._sliderResults_1prh1_29 ._playButton_1prh1_14._hover_1prh1_17{background-color:transparent!important}._sliderResults_1prh1_29 ._playButton_1prh1_14 img{height:30px;width:30px}._TopNavMenuContainer_12mp4_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:fit-content;gap:80px;height:100%}._TopNavMenuContainer_12mp4_2 ._topNavOptions_12mp4_13{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;padding:0 10px;text-align:center;border-bottom:5px solid transparent;border-top:5px solid transparent;height:100%}._TopNavMenuContainer_12mp4_2 ._active_12mp4_27{border-bottom:5px solid white}._LogInButton_1vxj5_2{height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center}._elementSelector_1ox68_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;padding-left:24px;min-height:100%;flex:1}._elementSelector_1ox68_2 ._header_1ox68_14{width:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:row;align-items:center;height:70px}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24{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_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementName_1ox68_40{font-size:18px;font-weight:600;flex:1}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementName_1ox68_40 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementDate_1ox68_54{font-size:18px;font-weight:600;flex:.5}._elementSelector_1ox68_2 ._header_1ox68_14 ._nameDateContainer_1ox68_24 ._elementDate_1ox68_54 button{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:5px}._elementSelector_1ox68_2 ._header_1ox68_14 ._buttonsContainer_1ox68_68{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center}._elementSelector_1ox68_2 ._elementListContainer_1ox68_77{flex:1;width:100%}._elementSelector_1ox68_2 ._newElementButtonContainer_1ox68_81{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;padding-bottom:20px;padding-top:50px}._listElement_s4s4h_3{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;padding-right:15px}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19{flex:1;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;cursor:pointer;gap:5px}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19 ._elementNameContainer_s4s4h_30{flex:1;display:flex;flex-direction:column;align-items:flex-start;position:relative;overflow-wrap:break-word;word-break:break-word}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19 ._elementName_s4s4h_19{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._listElement_s4s4h_3 ._elementNameDate_s4s4h_19 ._elementDate_s4s4h_47{flex:.5}._listElement_s4s4h_3 ._nameAndEye_s4s4h_50{display:grid!important;grid-template-columns:26px auto;gap:9px!important}._listElement_s4s4h_3 ._elementButtons_s4s4h_55{flex:.3;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:0;flex-direction:row;align-items:center;gap:8px}._listElement_s4s4h_3 ._elementButtons_s4s4h_55 button:disabled{opacity:.5;cursor:default}._listElement_s4s4h_3 ._elementButtons_s4s4h_55 img{display:inline}._break_s4s4h_73{flex-basis:100%;height:0}._moreInfoContainer_s4s4h_78 ._moreInfo_s4s4h_78{display:flex;gap:5px;cursor:pointer}._formContainer_asv64_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:flex-start;flex-direction:column}._formContainer_asv64_2 ._categorySelectorContainer_asv64_11{margin-bottom:5px;width:100%}._formContainer_asv64_2 ._formObjectContainer_asv64_15{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:column;align-items:center;flex:1;width:100%;gap:80px}._formContainer_asv64_2 ._buttonContainer_asv64_26{width:100%;margin-top:30px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:center;gap:20px}._textInputContainer_1o3iy_2{width:100%}._textInputContainer_1o3iy_2 ._labelContainer_1o3iy_5{margin-bottom:25px}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8{background-color:#605b5620;padding:7px;border-radius:4px;position:relative}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 ._showPasswordButton_1o3iy_14{position:absolute;right:15px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer}._textInputContainer_1o3iy_2 ._inputContainer_1o3iy_8 input{width:100%}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26{margin-top:10px;cursor:pointer}._textInputContainer_1o3iy_2 ._forgotPassButton_1o3iy_26 button{text-decoration:underline}._errorMessage_1xiyb_2{min-height:25px}._inputsContainer_10t9s_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:column;align-items:flex-start;width:100%;gap:30px}._selectInputContainer_zzz6o_2{width:100%;position:relative}._selectInputContainer_zzz6o_2 ._labelContainer_zzz6o_6{margin-bottom:25px}._selectInputContainer_zzz6o_2 ._selectWrapper_zzz6o_9{display:flex;flex-direction:row;gap:15px;align-items:center}._selectInputContainer_zzz6o_2 ._inputContainer_zzz6o_15{position:relative}._selectInputContainer_zzz6o_2 ._inputContainer_zzz6o_15 ._selectInput_zzz6o_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_zzz6o_2 ._inputContainer_zzz6o_15 ._selectInput_zzz6o_2 ._option_zzz6o_29{cursor:pointer}._selectInputContainer_zzz6o_2 ._inputContainer_zzz6o_15 ._dropdownArrow_zzz6o_32{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_1dvpb_2{display:grid;width:100%}._rankingSliderContainer_1dvpb_2 ._labelContainer_1dvpb_6{margin-bottom:25px;color:#605b56}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10{width:100%;position:relative;display:flex;gap:14px;align-items:center;flex-wrap:nowrap;justify-content:center;height:48px}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._slider_1dvpb_20{height:3px;background:#efefef;border-radius:3px;position:relative;min-width:250px}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._thumb_1dvpb_27{height:15px;width:15px;border-radius:50%;top:-100%;transform:translateY(-20%);outline:none}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._labels_1dvpb_37{display:flex;justify-content:space-between;margin-top:8px;font-size:14px;color:#444}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._labels_1dvpb_37 span{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:10px;height:20px;position:relative}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._labels_1dvpb_37 span:before{content:"";background:#efefef;width:10px;height:10px;position:absolute;top:-14.5px;border-radius:50%}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._labels_1dvpb_37 ._labelsText_1dvpb_64{color:#605b56}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._minLabel_1dvpb_67,._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._maxLabel_1dvpb_68{align-self:baseline;padding-top:10px;color:#605b56;font-size:12px;white-space:nowrap;margin-top:-7px}._rankingSliderContainer_1dvpb_2 ._inputContainer_1dvpb_10 ._minLabel_1dvpb_67{text-align:right}._textDescriptionContainer_163pc_2{margin:10px 0}._textDescriptionText_163pc_6{margin:0}._categorySelector_1guuv_2{min-height:50px;width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center;gap:10px;background-color:#efefef;border-radius:10px;padding:5px}._categorySelector_1guuv_2 ._sectionItemActive_1guuv_16{color:#fff}._categorySelector_1guuv_2 ._sectionItem_1guuv_16{border-radius:10px;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;padding:5px;min-width:120px;height:100%;position:relative}._categorySelector_1guuv_2 ._sectionItemError_1guuv_32{border:1px solid #e74c3c}._categorySelector_1guuv_2 ._errorDot_1guuv_35{width:8px;height:8px;border-radius:50%;background-color:#e74c3c;display:inline-block;margin-right:6px}._overlay_mnd4j_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#0009;display:flex;align-items:center;justify-content:center;z-index:9999}._modal_mnd4j_15{background:#fff;border-radius:12px;position:relative;padding:24px 32px;display:flex;flex-direction:column;align-items:center;text-align:center;box-shadow:0 4px 20px #0003;overflow:hidden;min-width:300px}._closeButton_mnd4j_29{position:absolute;top:3px;right:8px;background:transparent;border:none;font-size:20px;cursor:pointer}._icon_mnd4j_39{width:60px;height:60px;margin-bottom:16px}._message_mnd4j_45{font-size:18px;font-weight:700;margin-bottom:8px}._submessage_mnd4j_51{font-size:14px;color:#666;margin-bottom:20px}._buttonsContainer_mnd4j_57{display:flex;gap:12px;justify-content:center;flex-wrap:nowrap}._buttonWrapper_mnd4j_64{display:inline-flex}._stepsContainer_1cyua_3{display:flex;flex-direction:column;position:relative}._stepWrapper_1cyua_9{display:flex;align-items:center;position:relative;margin-bottom:1.5rem}._stepWrapper_1cyua_9:last-child{margin-bottom:0}._circleContainer_1cyua_19{position:relative}._circle_1cyua_19{width:28px;height:28px;border-radius:50%;border:2px solid #ccc;background-color:#fff;color:#aaa;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;cursor:pointer;z-index:1}._active_1cyua_39{color:#fff;border:none}._completed_1cyua_44{background-color:#ccc;color:#fff;border:none}._label_1cyua_50{margin-left:10px;font-size:14px;color:#aaa}._labelActive_1cyua_56{font-weight:700;color:#333}._connector_1cyua_61{position:absolute;left:50%;transform:translate(-50%);top:32px;width:1px;height:calc(100% - 10px);background-color:#ccc;z-index:0}._statusTextContainer_ch14r_2{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:128px;height:31px;border-radius:200px}._statusTextContainer_ch14r_2 span{font-size:16px;color:#605b56}._buttonsContainer_1c7dw_2{padding:5px 7px;background-color:#efefef;border-radius:10px;display:flex;gap:8px}._buttonsContainer_1c7dw_2 ._button_1c7dw_2{border-radius:10px;display:flex;align-items:center;cursor:pointer;padding:4px;color:#605b56}._buttonsContainer_1c7dw_2 ._button_1c7dw_2:hover{opacity:.8}._buttonsContainer_1c7dw_2 ._button_1c7dw_2._active_1c7dw_20{background:#b32f5d;color:#efefef}._switchContainer_194wl_2{display:flex;align-items:center;gap:10px;font-size:12px;justify-content:center}._switchContainer_194wl_2 ._labelRight_194wl_9,._switchContainer_194wl_2 ._labelLeft_194wl_9{white-space:nowrap;color:#605b56}._switchContainer_194wl_2 ._labelLeft_194wl_9{text-align:right}._switch_194wl_2{position:relative;display:inline-block;width:44px;height:24px}._switch_194wl_2 input{opacity:0;width:0;height:0}._switch_194wl_2 ._slider_194wl_28{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#fff;border-radius:24px;transition:background-color .3s;border:2px solid #605b56}._switch_194wl_2 ._slider_194wl_28:before{position:absolute;content:"";height:16px;width:16px;left:3px;bottom:2.5px;background-color:var(--switch-thumb-color, #ccc);border-radius:50%;transition:transform .3s,background-color .3s}._switch_194wl_2 input:checked+._slider_194wl_28:before{transform:translate(20px)}._switch_194wl_2._disabled_194wl_54{opacity:.5;pointer-events:none}._overlay_1xyw2_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999}._popup_1xyw2_15{background:#fff;padding:2rem;border-radius:12px;display:flex;flex-direction:column;align-items:center;box-shadow:0 4px 20px #0003}._gif_1xyw2_25{width:120px;height:auto;margin-bottom:1rem}._message_1xyw2_31{font-size:1.1rem;text-align:center}._container_1pl8d_3{position:relative;display:flex;align-intems:center}._burger_1pl8d_10{position:fixed;top:10px;right:25px;background:none;border:none;cursor:pointer;z-index:1000}._menu_1pl8d_21{position:fixed;top:0;right:0;width:250px;height:100vh;padding:1.5rem;box-shadow:-2px 0 8px #00000026;z-index:999;transform:translate(100%);transition:transform .35s cubic-bezier(.4,0,.2,1)}._menuOpen_1pl8d_35{transform:translate(0)}._menuClose_1pl8d_40{transform:translate(100%);pointer-events:none}._list_1pl8d_46{list-style:none;padding:0;margin-top:50px;display:flex;flex-direction:column;gap:1rem}._item_1pl8d_56{opacity:0;transform:translate(20px);transition:opacity .3s ease,transform .3s ease;font-size:16px!important}._menuOpen_1pl8d_35 ._item_1pl8d_56{opacity:1;transform:translate(0)}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(1){transition-delay:.05s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(2){transition-delay:.1s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(3){transition-delay:.15s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(4){transition-delay:.2s}._menuOpen_1pl8d_35 ._item_1pl8d_56:nth-child(5){transition-delay:.25s}._button_1pl8d_91{background:none;border:none;color:inherit;font-size:18px;cursor:pointer;padding:0}._svgContainer_1rxoe_2{width:100%;box-sizing:border-box;position:relative}._svgContainer_1rxoe_2 ._svg_1rxoe_2{width:100%;height:100%;overflow:visible;display:block}@media (max-width: 768px){._svgContainer_1rxoe_2{padding:10px}}@media (max-width: 480px){._svgContainer_1rxoe_2{padding:5px}}.bar{transition:opacity .2s ease-in-out}.bar:hover{opacity:.8}.x-axis ._domain_1rxoe_31,.y-axis ._domain_1rxoe_31{stroke:#333;stroke-width:1px}.x-axis ._tick_1rxoe_36 line,.y-axis ._tick_1rxoe_36 line{stroke:#333;stroke-width:1px}.x-axis ._tick_1rxoe_36 text,.y-axis ._tick_1rxoe_36 text{fill:#605b56;font-family:Arial,sans-serif}._svgContainer_7fkic_2{width:100%;box-sizing:border-box;position:relative;overflow-x:auto}._svgContainer_7fkic_2 ._svg_7fkic_2{overflow:visible;display:block;max-width:none}@media (max-width: 768px){._svgContainer_7fkic_2{padding:10px}}@media (max-width: 480px){._svgContainer_7fkic_2{padding:5px}}.layer rect{transition:opacity .2s ease-in-out}.layer rect:hover{opacity:.8}.x-axis ._domain_7fkic_32,.y-axis ._domain_7fkic_32{stroke:#333;stroke-width:1px}.x-axis ._tick_7fkic_37 line,.y-axis ._tick_7fkic_37 line{stroke:#333;stroke-width:1px}.x-axis ._tick_7fkic_37 text,.y-axis ._tick_7fkic_37 text{fill:#605b56;font-family:Arial,sans-serif}.y-ticks ._tick_7fkic_37 line{stroke:#e0e0e0;stroke-width:.5px}.grid{opacity:.5}.chart-tooltip{font-family:Arial,sans-serif;box-shadow:0 2px 4px #0003}._externalContainer_1er0i_2{display:grid;grid-template-columns:170px auto;width:100%;padding:20px;grid-column-gap:5px}._externalContainer_1er0i_2._externalSintetic_1er0i_9{grid-template-columns:250px 80px 1fr;row-gap:20px}._externalContainer_1er0i_2 ._titles_1er0i_13{display:flex;flex-wrap:nowrap;justify-content:end;gap:0;flex-direction:column;align-items:end;padding-right:5px}._externalContainer_1er0i_2 ._titles_1er0i_13 ._titleContainer_1er0i_22{display:flex;flex-wrap:nowrap;justify-content:end;gap:0;flex-direction:row;align-items:center;gap:12px;font-size:12px;font-style:normal;font-weight:400;color:#605b56;height:54px}._externalContainer_1er0i_2 ._yearTitles_1er0i_36{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._externalContainer_1er0i_2 ._yearTitles_1er0i_36 ._yearTitle_1er0i_36{transform:rotate(-90deg);color:#605b56;font-size:13px;flex-shrink:0}._externalContainer_1er0i_2 ._yearDatas_1er0i_50{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:0;flex-direction:row;align-items:center}._externalContainer_1er0i_2 ._yearDataContainer_1er0i_58{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:center}._externalContainer_1er0i_2 ._yearDataContainer_1er0i_58 ._yearDataContent_1er0i_66{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;border-bottom:1px solid #605b56;font-size:9px;color:#605b56;height:54px}._externalContainer_1er0i_2 ._yearDataContainer_1er0i_58 ._bigNumber_1er0i_79{font-size:8px}._externalContainer_1er0i_2 ._circle_1er0i_82{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:12px;height:12px;border-radius:50%;flex-shrink:0}._externalContainer_1er0i_2::-webkit-scrollbar{display:none}._totalContainer_1er0i_99{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:0;flex-direction:column;align-items:center;gap:7px;width:100%}._totalContainer_1er0i_99 ._total_1er0i_99{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;width:100%;font-size:9px;font-weight:700;color:#605b56;height:54px;text-align:center}._totalTitle_1er0i_124{font-size:11px;color:#605b56;display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center}._speedGraphic_d1k72_2{display:flex;justify-content:center;align-items:center;width:100%;height:100%;flex-direction:column}._speedGraphic_d1k72_2 svg{width:100%;height:auto;max-width:244px}._percentageBarContainer_lgkme_3{width:100%;font-family:Arial,sans-serif;-webkit-user-select:none;user-select:none}._barContainer_lgkme_10{display:flex;width:100%;height:20px;border-radius:4px;overflow:visible;position:relative}._segment_lgkme_19{height:100%;position:relative;transition:width .05s linear;box-sizing:border-box}._segment_lgkme_19:first-child{border-radius:4px 0 0 4px}._segment_lgkme_19:last-child{border-radius:0 4px 4px 0}._segment_lgkme_19:only-child{border-radius:4px}._handle_lgkme_36{position:absolute;width:14px;height:28px;top:50%;left:0;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #888;border-radius:4px;cursor:ew-resize;z-index:10;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 3px #00000040;touch-action:none}._handle_lgkme_36:before{content:"";width:2px;height:10px;border-left:1px solid #bbb;border-right:1px solid #bbb}._handle_lgkme_36:hover,._handle_lgkme_36:active{border-color:#444;background-color:#f5f5f5}._labelsContainer_lgkme_68{display:flex;width:100%;margin-top:8px}._labelsContainer_lgkme_68 ._labelItem_lgkme_73{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:4px 2px;box-sizing:border-box;font-size:12px;overflow:hidden;min-width:0}._labelsListContainer_lgkme_85{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-top:18px}._labelsListContainer_lgkme_85 ._labelItem_lgkme_73{display:flex;flex-direction:row;gap:6px;align-items:center;justify-content:flex-start;padding:4px 2px;box-sizing:border-box;font-size:12px;overflow:hidden;min-width:0}._labelColor_lgkme_105{display:inline-block;width:10px;height:10px;border-radius:2px;margin-bottom:2px;flex-shrink:0}._labelText_lgkme_114{font-weight:600;margin-bottom:2px;text-align:center;word-break:break-word;line-height:1.2}._labelValue_lgkme_122{margin-bottom:2px}._labelTranslation_lgkme_126{color:#fff;font-size:11px;font-style:italic}._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_1kaqu_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_1kaqu_16{border-left:1px solid #ddd}._content_1kaqu_20{position:relative;height:100%}._closeButton_1kaqu_25{position:absolute;top:28px;right:28px;font-size:24px;background:none;border:none;cursor:pointer;color:#333;transition:color .2s ease;z-index:10}._closeButton_1kaqu_25:hover{color:#000}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
2
|
import { jsxs as S, jsx as u, Fragment as pn } from "react/jsx-runtime";
|
|
3
3
|
import * as Q from "react";
|
|
4
4
|
import ie, { useState as le, useEffect as J, useMemo as je, useRef as Se, useLayoutEffect as Mi, useContext as Yt, useImperativeHandle as Yn, memo as At, forwardRef as Kr, cloneElement as zs, useCallback as co } from "react";
|
|
@@ -49,7 +49,7 @@ var uo;
|
|
|
49
49
|
function ba() {
|
|
50
50
|
if (uo) return fe;
|
|
51
51
|
uo = 1;
|
|
52
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113,
|
|
52
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
|
|
53
53
|
function $(C) {
|
|
54
54
|
if (typeof C == "object" && C !== null) {
|
|
55
55
|
var w = C.$$typeof;
|
|
@@ -67,8 +67,8 @@ function ba() {
|
|
|
67
67
|
switch (C = C && C.$$typeof, C) {
|
|
68
68
|
case l:
|
|
69
69
|
case h:
|
|
70
|
-
case
|
|
71
|
-
case
|
|
70
|
+
case y:
|
|
71
|
+
case p:
|
|
72
72
|
case a:
|
|
73
73
|
return C;
|
|
74
74
|
default:
|
|
@@ -83,7 +83,7 @@ function ba() {
|
|
|
83
83
|
function v(C) {
|
|
84
84
|
return $(C) === d;
|
|
85
85
|
}
|
|
86
|
-
return fe.AsyncMode = c, fe.ConcurrentMode = d, fe.ContextConsumer = l, fe.ContextProvider = a, fe.Element = t, fe.ForwardRef = h, fe.Fragment = r, fe.Lazy =
|
|
86
|
+
return fe.AsyncMode = c, fe.ConcurrentMode = d, fe.ContextConsumer = l, fe.ContextProvider = a, fe.Element = t, fe.ForwardRef = h, fe.Fragment = r, fe.Lazy = y, fe.Memo = p, fe.Portal = n, fe.Profiler = s, fe.StrictMode = o, fe.Suspense = g, fe.isAsyncMode = function(C) {
|
|
87
87
|
return v(C) || $(C) === c;
|
|
88
88
|
}, fe.isConcurrentMode = v, fe.isContextConsumer = function(C) {
|
|
89
89
|
return $(C) === l;
|
|
@@ -96,9 +96,9 @@ function ba() {
|
|
|
96
96
|
}, fe.isFragment = function(C) {
|
|
97
97
|
return $(C) === r;
|
|
98
98
|
}, fe.isLazy = function(C) {
|
|
99
|
-
return $(C) ===
|
|
99
|
+
return $(C) === y;
|
|
100
100
|
}, fe.isMemo = function(C) {
|
|
101
|
-
return $(C) ===
|
|
101
|
+
return $(C) === p;
|
|
102
102
|
}, fe.isPortal = function(C) {
|
|
103
103
|
return $(C) === n;
|
|
104
104
|
}, fe.isProfiler = function(C) {
|
|
@@ -108,7 +108,7 @@ function ba() {
|
|
|
108
108
|
}, fe.isSuspense = function(C) {
|
|
109
109
|
return $(C) === g;
|
|
110
110
|
}, fe.isValidElementType = function(C) {
|
|
111
|
-
return typeof C == "string" || typeof C == "function" || C === r || C === d || C === s || C === o || C === g || C ===
|
|
111
|
+
return typeof C == "string" || typeof C == "function" || C === r || C === d || C === s || C === o || C === g || C === b || typeof C == "object" && C !== null && (C.$$typeof === y || C.$$typeof === p || C.$$typeof === a || C.$$typeof === l || C.$$typeof === h || C.$$typeof === _ || C.$$typeof === x || C.$$typeof === k || C.$$typeof === f);
|
|
112
112
|
}, fe.typeOf = $, fe;
|
|
113
113
|
}
|
|
114
114
|
var pe = {};
|
|
@@ -123,10 +123,10 @@ var pe = {};
|
|
|
123
123
|
var fo;
|
|
124
124
|
function va() {
|
|
125
125
|
return fo || (fo = 1, process.env.NODE_ENV !== "production" && function() {
|
|
126
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113,
|
|
126
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
|
|
127
127
|
function $(I) {
|
|
128
128
|
return typeof I == "string" || typeof I == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
129
|
-
I === r || I === d || I === s || I === o || I === g || I ===
|
|
129
|
+
I === r || I === d || I === s || I === o || I === g || I === b || typeof I == "object" && I !== null && (I.$$typeof === y || I.$$typeof === p || I.$$typeof === a || I.$$typeof === l || I.$$typeof === h || I.$$typeof === _ || I.$$typeof === x || I.$$typeof === k || I.$$typeof === f);
|
|
130
130
|
}
|
|
131
131
|
function v(I) {
|
|
132
132
|
if (typeof I == "object" && I !== null) {
|
|
@@ -147,8 +147,8 @@ function va() {
|
|
|
147
147
|
switch (tt) {
|
|
148
148
|
case l:
|
|
149
149
|
case h:
|
|
150
|
-
case
|
|
151
|
-
case
|
|
150
|
+
case y:
|
|
151
|
+
case p:
|
|
152
152
|
case a:
|
|
153
153
|
return tt;
|
|
154
154
|
default:
|
|
@@ -160,7 +160,7 @@ function va() {
|
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
|
-
var C = c, w = d, N = l, L = a,
|
|
163
|
+
var C = c, w = d, N = l, L = a, E = t, B = h, V = r, m = y, O = p, T = n, z = s, j = o, Y = g, W = !1;
|
|
164
164
|
function ue(I) {
|
|
165
165
|
return W || (W = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), D(I) || v(I) === c;
|
|
166
166
|
}
|
|
@@ -183,10 +183,10 @@ function va() {
|
|
|
183
183
|
return v(I) === r;
|
|
184
184
|
}
|
|
185
185
|
function ne(I) {
|
|
186
|
-
return v(I) ===
|
|
186
|
+
return v(I) === y;
|
|
187
187
|
}
|
|
188
188
|
function G(I) {
|
|
189
|
-
return v(I) ===
|
|
189
|
+
return v(I) === p;
|
|
190
190
|
}
|
|
191
191
|
function U(I) {
|
|
192
192
|
return v(I) === n;
|
|
@@ -200,7 +200,7 @@ function va() {
|
|
|
200
200
|
function de(I) {
|
|
201
201
|
return v(I) === g;
|
|
202
202
|
}
|
|
203
|
-
pe.AsyncMode = C, pe.ConcurrentMode = w, pe.ContextConsumer = N, pe.ContextProvider = L, pe.Element =
|
|
203
|
+
pe.AsyncMode = C, pe.ConcurrentMode = w, pe.ContextConsumer = N, pe.ContextProvider = L, pe.Element = E, pe.ForwardRef = B, pe.Fragment = V, pe.Lazy = m, pe.Memo = O, pe.Portal = T, pe.Profiler = z, pe.StrictMode = j, pe.Suspense = Y, pe.isAsyncMode = ue, pe.isConcurrentMode = D, pe.isContextConsumer = M, pe.isContextProvider = ee, pe.isElement = K, pe.isForwardRef = P, pe.isFragment = Z, pe.isLazy = ne, pe.isMemo = G, pe.isPortal = U, pe.isProfiler = oe, pe.isStrictMode = te, pe.isSuspense = de, pe.isValidElementType = $, pe.typeOf = v;
|
|
204
204
|
}()), pe;
|
|
205
205
|
}
|
|
206
206
|
var po;
|
|
@@ -251,8 +251,8 @@ function Ca() {
|
|
|
251
251
|
t.call(l, g) && (c[g] = l[g]);
|
|
252
252
|
if (e) {
|
|
253
253
|
d = e(l);
|
|
254
|
-
for (var
|
|
255
|
-
n.call(l, d[
|
|
254
|
+
for (var b = 0; b < d.length; b++)
|
|
255
|
+
n.call(l, d[b]) && (c[d[b]] = l[d[b]]);
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
return c;
|
|
@@ -293,22 +293,22 @@ function _a() {
|
|
|
293
293
|
var g;
|
|
294
294
|
try {
|
|
295
295
|
if (typeof s[h] != "function") {
|
|
296
|
-
var
|
|
296
|
+
var b = Error(
|
|
297
297
|
(c || "React class") + ": " + l + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
298
298
|
);
|
|
299
|
-
throw
|
|
299
|
+
throw b.name = "Invariant Violation", b;
|
|
300
300
|
}
|
|
301
301
|
g = s[h](a, h, c, l, null, t);
|
|
302
|
-
} catch (
|
|
303
|
-
g =
|
|
302
|
+
} catch (y) {
|
|
303
|
+
g = y;
|
|
304
304
|
}
|
|
305
305
|
if (g && !(g instanceof Error) && e(
|
|
306
306
|
(c || "React class") + ": type specification of " + l + " `" + h + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof g + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
307
307
|
), g instanceof Error && !(g.message in n)) {
|
|
308
308
|
n[g.message] = !0;
|
|
309
|
-
var
|
|
309
|
+
var p = d ? d() : "";
|
|
310
310
|
e(
|
|
311
|
-
"Failed " + l + " type: " + g.message + (
|
|
311
|
+
"Failed " + l + " type: " + g.message + (p ?? "")
|
|
312
312
|
);
|
|
313
313
|
}
|
|
314
314
|
}
|
|
@@ -342,7 +342,7 @@ function xa() {
|
|
|
342
342
|
if (typeof M == "function")
|
|
343
343
|
return M;
|
|
344
344
|
}
|
|
345
|
-
var
|
|
345
|
+
var b = "<<anonymous>>", p = {
|
|
346
346
|
array: x("array"),
|
|
347
347
|
bigint: x("bigint"),
|
|
348
348
|
bool: x("boolean"),
|
|
@@ -356,25 +356,25 @@ function xa() {
|
|
|
356
356
|
element: v(),
|
|
357
357
|
elementType: C(),
|
|
358
358
|
instanceOf: w,
|
|
359
|
-
node:
|
|
359
|
+
node: B(),
|
|
360
360
|
objectOf: L,
|
|
361
361
|
oneOf: N,
|
|
362
|
-
oneOfType:
|
|
362
|
+
oneOfType: E,
|
|
363
363
|
shape: m,
|
|
364
|
-
exact:
|
|
364
|
+
exact: O
|
|
365
365
|
};
|
|
366
|
-
function
|
|
366
|
+
function y(D, M) {
|
|
367
367
|
return D === M ? D !== 0 || 1 / D === 1 / M : D !== D && M !== M;
|
|
368
368
|
}
|
|
369
|
-
function
|
|
369
|
+
function f(D, M) {
|
|
370
370
|
this.message = D, this.data = M && typeof M == "object" ? M : {}, this.stack = "";
|
|
371
371
|
}
|
|
372
|
-
|
|
372
|
+
f.prototype = Error.prototype;
|
|
373
373
|
function _(D) {
|
|
374
374
|
if (process.env.NODE_ENV !== "production")
|
|
375
375
|
var M = {}, ee = 0;
|
|
376
376
|
function K(Z, ne, G, U, oe, te, de) {
|
|
377
|
-
if (U = U ||
|
|
377
|
+
if (U = U || b, te = te || G, de !== n) {
|
|
378
378
|
if (c) {
|
|
379
379
|
var I = new Error(
|
|
380
380
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -388,17 +388,17 @@ function xa() {
|
|
|
388
388
|
), M[se] = !0, ee++);
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
|
-
return ne[G] == null ? Z ? ne[G] === null ? new
|
|
391
|
+
return ne[G] == null ? Z ? ne[G] === null ? new f("The " + oe + " `" + te + "` is marked as required " + ("in `" + U + "`, but its value is `null`.")) : new f("The " + oe + " `" + te + "` is marked as required in " + ("`" + U + "`, but its value is `undefined`.")) : null : D(ne, G, U, oe, te);
|
|
392
392
|
}
|
|
393
393
|
var P = K.bind(null, !1);
|
|
394
394
|
return P.isRequired = K.bind(null, !0), P;
|
|
395
395
|
}
|
|
396
396
|
function x(D) {
|
|
397
397
|
function M(ee, K, P, Z, ne, G) {
|
|
398
|
-
var U = ee[K], oe =
|
|
398
|
+
var U = ee[K], oe = j(U);
|
|
399
399
|
if (oe !== D) {
|
|
400
400
|
var te = Y(U);
|
|
401
|
-
return new
|
|
401
|
+
return new f(
|
|
402
402
|
"Invalid " + Z + " `" + ne + "` of type " + ("`" + te + "` supplied to `" + P + "`, expected ") + ("`" + D + "`."),
|
|
403
403
|
{ expectedType: D }
|
|
404
404
|
);
|
|
@@ -413,11 +413,11 @@ function xa() {
|
|
|
413
413
|
function $(D) {
|
|
414
414
|
function M(ee, K, P, Z, ne) {
|
|
415
415
|
if (typeof D != "function")
|
|
416
|
-
return new
|
|
416
|
+
return new f("Property `" + ne + "` of component `" + P + "` has invalid PropType notation inside arrayOf.");
|
|
417
417
|
var G = ee[K];
|
|
418
418
|
if (!Array.isArray(G)) {
|
|
419
|
-
var U =
|
|
420
|
-
return new
|
|
419
|
+
var U = j(G);
|
|
420
|
+
return new f("Invalid " + Z + " `" + ne + "` of type " + ("`" + U + "` supplied to `" + P + "`, expected an array."));
|
|
421
421
|
}
|
|
422
422
|
for (var oe = 0; oe < G.length; oe++) {
|
|
423
423
|
var te = D(G, oe, P, Z, ne + "[" + oe + "]", n);
|
|
@@ -432,8 +432,8 @@ function xa() {
|
|
|
432
432
|
function D(M, ee, K, P, Z) {
|
|
433
433
|
var ne = M[ee];
|
|
434
434
|
if (!l(ne)) {
|
|
435
|
-
var G =
|
|
436
|
-
return new
|
|
435
|
+
var G = j(ne);
|
|
436
|
+
return new f("Invalid " + P + " `" + Z + "` of type " + ("`" + G + "` supplied to `" + K + "`, expected a single ReactElement."));
|
|
437
437
|
}
|
|
438
438
|
return null;
|
|
439
439
|
}
|
|
@@ -443,8 +443,8 @@ function xa() {
|
|
|
443
443
|
function D(M, ee, K, P, Z) {
|
|
444
444
|
var ne = M[ee];
|
|
445
445
|
if (!e.isValidElementType(ne)) {
|
|
446
|
-
var G =
|
|
447
|
-
return new
|
|
446
|
+
var G = j(ne);
|
|
447
|
+
return new f("Invalid " + P + " `" + Z + "` of type " + ("`" + G + "` supplied to `" + K + "`, expected a single ReactElement type."));
|
|
448
448
|
}
|
|
449
449
|
return null;
|
|
450
450
|
}
|
|
@@ -453,8 +453,8 @@ function xa() {
|
|
|
453
453
|
function w(D) {
|
|
454
454
|
function M(ee, K, P, Z, ne) {
|
|
455
455
|
if (!(ee[K] instanceof D)) {
|
|
456
|
-
var G = D.name ||
|
|
457
|
-
return new
|
|
456
|
+
var G = D.name || b, U = ue(ee[K]);
|
|
457
|
+
return new f("Invalid " + Z + " `" + ne + "` of type " + ("`" + U + "` supplied to `" + P + "`, expected ") + ("instance of `" + G + "`."));
|
|
458
458
|
}
|
|
459
459
|
return null;
|
|
460
460
|
}
|
|
@@ -467,23 +467,23 @@ function xa() {
|
|
|
467
467
|
) : s("Invalid argument supplied to oneOf, expected an array.")), a;
|
|
468
468
|
function M(ee, K, P, Z, ne) {
|
|
469
469
|
for (var G = ee[K], U = 0; U < D.length; U++)
|
|
470
|
-
if (
|
|
470
|
+
if (y(G, D[U]))
|
|
471
471
|
return null;
|
|
472
472
|
var oe = JSON.stringify(D, function(de, I) {
|
|
473
473
|
var se = Y(I);
|
|
474
474
|
return se === "symbol" ? String(I) : I;
|
|
475
475
|
});
|
|
476
|
-
return new
|
|
476
|
+
return new f("Invalid " + Z + " `" + ne + "` of value `" + String(G) + "` " + ("supplied to `" + P + "`, expected one of " + oe + "."));
|
|
477
477
|
}
|
|
478
478
|
return _(M);
|
|
479
479
|
}
|
|
480
480
|
function L(D) {
|
|
481
481
|
function M(ee, K, P, Z, ne) {
|
|
482
482
|
if (typeof D != "function")
|
|
483
|
-
return new
|
|
484
|
-
var G = ee[K], U =
|
|
483
|
+
return new f("Property `" + ne + "` of component `" + P + "` has invalid PropType notation inside objectOf.");
|
|
484
|
+
var G = ee[K], U = j(G);
|
|
485
485
|
if (U !== "object")
|
|
486
|
-
return new
|
|
486
|
+
return new f("Invalid " + Z + " `" + ne + "` of type " + ("`" + U + "` supplied to `" + P + "`, expected an object."));
|
|
487
487
|
for (var oe in G)
|
|
488
488
|
if (r(G, oe)) {
|
|
489
489
|
var te = D(G, oe, P, Z, ne + "." + oe, n);
|
|
@@ -494,7 +494,7 @@ function xa() {
|
|
|
494
494
|
}
|
|
495
495
|
return _(M);
|
|
496
496
|
}
|
|
497
|
-
function
|
|
497
|
+
function E(D) {
|
|
498
498
|
if (!Array.isArray(D))
|
|
499
499
|
return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), a;
|
|
500
500
|
for (var M = 0; M < D.length; M++) {
|
|
@@ -512,26 +512,26 @@ function xa() {
|
|
|
512
512
|
I.data && r(I.data, "expectedType") && oe.push(I.data.expectedType);
|
|
513
513
|
}
|
|
514
514
|
var se = oe.length > 0 ? ", expected one of type [" + oe.join(", ") + "]" : "";
|
|
515
|
-
return new
|
|
515
|
+
return new f("Invalid " + G + " `" + U + "` supplied to " + ("`" + ne + "`" + se + "."));
|
|
516
516
|
}
|
|
517
517
|
return _(K);
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function B() {
|
|
520
520
|
function D(M, ee, K, P, Z) {
|
|
521
|
-
return T(M[ee]) ? null : new
|
|
521
|
+
return T(M[ee]) ? null : new f("Invalid " + P + " `" + Z + "` supplied to " + ("`" + K + "`, expected a ReactNode."));
|
|
522
522
|
}
|
|
523
523
|
return _(D);
|
|
524
524
|
}
|
|
525
525
|
function V(D, M, ee, K, P) {
|
|
526
|
-
return new
|
|
526
|
+
return new f(
|
|
527
527
|
(D || "React class") + ": " + M + " type `" + ee + "." + K + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + P + "`."
|
|
528
528
|
);
|
|
529
529
|
}
|
|
530
530
|
function m(D) {
|
|
531
531
|
function M(ee, K, P, Z, ne) {
|
|
532
|
-
var G = ee[K], U =
|
|
532
|
+
var G = ee[K], U = j(G);
|
|
533
533
|
if (U !== "object")
|
|
534
|
-
return new
|
|
534
|
+
return new f("Invalid " + Z + " `" + ne + "` of type `" + U + "` " + ("supplied to `" + P + "`, expected `object`."));
|
|
535
535
|
for (var oe in D) {
|
|
536
536
|
var te = D[oe];
|
|
537
537
|
if (typeof te != "function")
|
|
@@ -544,18 +544,18 @@ function xa() {
|
|
|
544
544
|
}
|
|
545
545
|
return _(M);
|
|
546
546
|
}
|
|
547
|
-
function
|
|
547
|
+
function O(D) {
|
|
548
548
|
function M(ee, K, P, Z, ne) {
|
|
549
|
-
var G = ee[K], U =
|
|
549
|
+
var G = ee[K], U = j(G);
|
|
550
550
|
if (U !== "object")
|
|
551
|
-
return new
|
|
551
|
+
return new f("Invalid " + Z + " `" + ne + "` of type `" + U + "` " + ("supplied to `" + P + "`, expected `object`."));
|
|
552
552
|
var oe = t({}, ee[K], D);
|
|
553
553
|
for (var te in oe) {
|
|
554
554
|
var de = D[te];
|
|
555
555
|
if (r(D, te) && typeof de != "function")
|
|
556
556
|
return V(P, Z, ne, te, Y(de));
|
|
557
557
|
if (!de)
|
|
558
|
-
return new
|
|
558
|
+
return new f(
|
|
559
559
|
"Invalid " + Z + " `" + ne + "` key `" + te + "` supplied to `" + P + "`.\nBad object: " + JSON.stringify(ee[K], null, " ") + `
|
|
560
560
|
Valid keys: ` + JSON.stringify(Object.keys(D), null, " ")
|
|
561
561
|
);
|
|
@@ -600,17 +600,17 @@ Valid keys: ` + JSON.stringify(Object.keys(D), null, " ")
|
|
|
600
600
|
return !1;
|
|
601
601
|
}
|
|
602
602
|
}
|
|
603
|
-
function
|
|
603
|
+
function z(D, M) {
|
|
604
604
|
return D === "symbol" ? !0 : M ? M["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && M instanceof Symbol : !1;
|
|
605
605
|
}
|
|
606
|
-
function
|
|
606
|
+
function j(D) {
|
|
607
607
|
var M = typeof D;
|
|
608
|
-
return Array.isArray(D) ? "array" : D instanceof RegExp ? "object" :
|
|
608
|
+
return Array.isArray(D) ? "array" : D instanceof RegExp ? "object" : z(M, D) ? "symbol" : M;
|
|
609
609
|
}
|
|
610
610
|
function Y(D) {
|
|
611
611
|
if (typeof D > "u" || D === null)
|
|
612
612
|
return "" + D;
|
|
613
|
-
var M =
|
|
613
|
+
var M = j(D);
|
|
614
614
|
if (M === "object") {
|
|
615
615
|
if (D instanceof Date)
|
|
616
616
|
return "date";
|
|
@@ -634,9 +634,9 @@ Valid keys: ` + JSON.stringify(Object.keys(D), null, " ")
|
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
636
|
function ue(D) {
|
|
637
|
-
return !D.constructor || !D.constructor.name ?
|
|
637
|
+
return !D.constructor || !D.constructor.name ? b : D.constructor.name;
|
|
638
638
|
}
|
|
639
|
-
return
|
|
639
|
+
return p.checkPropTypes = o, p.resetWarningCache = o.resetWarningCache, p.PropTypes = p, p;
|
|
640
640
|
}, _r;
|
|
641
641
|
}
|
|
642
642
|
var xr, vo;
|
|
@@ -651,10 +651,10 @@ function wa() {
|
|
|
651
651
|
return n.resetWarningCache = t, xr = function() {
|
|
652
652
|
function r(a, l, c, d, h, g) {
|
|
653
653
|
if (g !== e) {
|
|
654
|
-
var
|
|
654
|
+
var b = new Error(
|
|
655
655
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
656
656
|
);
|
|
657
|
-
throw
|
|
657
|
+
throw b.name = "Invariant Violation", b;
|
|
658
658
|
}
|
|
659
659
|
}
|
|
660
660
|
r.isRequired = r;
|
|
@@ -709,7 +709,7 @@ const i = /* @__PURE__ */ ya(ka), ji = ({
|
|
|
709
709
|
fontColor: l,
|
|
710
710
|
moreInfo: c
|
|
711
711
|
}) => {
|
|
712
|
-
const { name: d, created_at: h, id: g, isBeingProcessed:
|
|
712
|
+
const { name: d, created_at: h, id: g, isBeingProcessed: b } = e;
|
|
713
713
|
return /* @__PURE__ */ S(
|
|
714
714
|
"div",
|
|
715
715
|
{
|
|
@@ -730,7 +730,7 @@ const i = /* @__PURE__ */ ya(ka), ji = ({
|
|
|
730
730
|
/* @__PURE__ */ u("div", { className: en.ambitDate, children: h ? new Date(h).toLocaleDateString() : "" })
|
|
731
731
|
] }),
|
|
732
732
|
/* @__PURE__ */ S("div", { className: en.ambitButtons, children: [
|
|
733
|
-
|
|
733
|
+
b && /* @__PURE__ */ u("img", { src: ma }),
|
|
734
734
|
/* @__PURE__ */ u("button", { onClick: () => r(g), disabled: e.is_default, children: /* @__PURE__ */ u("img", { src: pa }) }),
|
|
735
735
|
/* @__PURE__ */ u("button", { onClick: () => t(g), children: /* @__PURE__ */ u("img", { src: fa }) }),
|
|
736
736
|
/* @__PURE__ */ u("button", { onClick: () => n(g), disabled: e.is_default, children: /* @__PURE__ */ u("img", { src: da }) })
|
|
@@ -794,18 +794,18 @@ const _o = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
794
794
|
buttonContainerStyles: l = {},
|
|
795
795
|
containerStyles: c = {},
|
|
796
796
|
onCLickNewAmbit: d = () => console.log("New ambit clicked"),
|
|
797
|
-
onClickCopy: h = (
|
|
798
|
-
onCLickDelete: g = (
|
|
799
|
-
onClickFilters:
|
|
800
|
-
onClickAmbit:
|
|
797
|
+
onClickCopy: h = (y) => console.log(`Copy ambit: ${y}`),
|
|
798
|
+
onCLickDelete: g = (y) => console.log(`Delete ambit: ${y}`),
|
|
799
|
+
onClickFilters: b = (y) => console.log(`Filters clicked: ${y}`),
|
|
800
|
+
onClickAmbit: p = (y) => console.log(`OnCLickAmbit: ${y}`)
|
|
801
801
|
}) => {
|
|
802
|
-
const { t:
|
|
802
|
+
const { t: y } = ce(), [f, _] = le(e);
|
|
803
803
|
J(() => {
|
|
804
804
|
e && _(e);
|
|
805
805
|
}, [e]);
|
|
806
806
|
const x = (k) => {
|
|
807
|
-
if (
|
|
808
|
-
let $ = [...
|
|
807
|
+
if (f && f.length > 0) {
|
|
808
|
+
let $ = [...f];
|
|
809
809
|
$.sort((v, C) => v[k].localeCompare(C[k])), _($);
|
|
810
810
|
}
|
|
811
811
|
};
|
|
@@ -823,11 +823,11 @@ const _o = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
823
823
|
children: [
|
|
824
824
|
/* @__PURE__ */ S("div", { className: ft.nameDateContainer, children: [
|
|
825
825
|
/* @__PURE__ */ u("div", { className: ft.ambitName, children: /* @__PURE__ */ S("button", { onClick: () => x("name"), children: [
|
|
826
|
-
/* @__PURE__ */ u("span", { children:
|
|
826
|
+
/* @__PURE__ */ u("span", { children: y(o) }),
|
|
827
827
|
/* @__PURE__ */ u("img", { src: _o })
|
|
828
828
|
] }) }),
|
|
829
829
|
/* @__PURE__ */ u("div", { className: ft.ambitDate, children: /* @__PURE__ */ S("button", { onClick: () => x("date"), children: [
|
|
830
|
-
/* @__PURE__ */ u("span", { children:
|
|
830
|
+
/* @__PURE__ */ u("span", { children: y(s) }),
|
|
831
831
|
/* @__PURE__ */ u("img", { src: _o })
|
|
832
832
|
] }) })
|
|
833
833
|
] }),
|
|
@@ -835,7 +835,7 @@ const _o = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
835
835
|
]
|
|
836
836
|
}
|
|
837
837
|
),
|
|
838
|
-
/* @__PURE__ */ u("div", { className: ft.ambitListContainer, children:
|
|
838
|
+
/* @__PURE__ */ u("div", { className: ft.ambitListContainer, children: f && f.length > 0 && f.map((k) => /* @__PURE__ */ u(
|
|
839
839
|
ji,
|
|
840
840
|
{
|
|
841
841
|
isActive: t == k.id,
|
|
@@ -844,8 +844,8 @@ const _o = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
844
844
|
activeColor: r,
|
|
845
845
|
onClickCopy: h,
|
|
846
846
|
onClickDelete: g,
|
|
847
|
-
onClickFilters:
|
|
848
|
-
onClickAmbit:
|
|
847
|
+
onClickFilters: b,
|
|
848
|
+
onClickAmbit: p
|
|
849
849
|
},
|
|
850
850
|
`ambitKey${k.id}`
|
|
851
851
|
)) }),
|
|
@@ -855,7 +855,7 @@ const _o = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
855
855
|
style: { ...l },
|
|
856
856
|
onClick: d,
|
|
857
857
|
borderColor: "grey",
|
|
858
|
-
children:
|
|
858
|
+
children: y(a)
|
|
859
859
|
}
|
|
860
860
|
) })
|
|
861
861
|
]
|
|
@@ -924,26 +924,26 @@ const Ba = ({
|
|
|
924
924
|
icon: d,
|
|
925
925
|
activeIcon: h,
|
|
926
926
|
isActive: g,
|
|
927
|
-
name:
|
|
928
|
-
onClick:
|
|
929
|
-
disabled:
|
|
930
|
-
} = l,
|
|
931
|
-
n && r === "left" && /* @__PURE__ */ u("span", { className: _t.buttonName, children: a(
|
|
932
|
-
/* @__PURE__ */ u("img", { src: g ? h : d, alt: a(
|
|
933
|
-
n && r === "right" && /* @__PURE__ */ u("span", { className: _t.buttonName, children: a(
|
|
927
|
+
name: b,
|
|
928
|
+
onClick: p,
|
|
929
|
+
disabled: y
|
|
930
|
+
} = l, f = /* @__PURE__ */ S(pn, { children: [
|
|
931
|
+
n && r === "left" && /* @__PURE__ */ u("span", { className: _t.buttonName, children: a(b) }),
|
|
932
|
+
/* @__PURE__ */ u("img", { src: g ? h : d, alt: a(b) }),
|
|
933
|
+
n && r === "right" && /* @__PURE__ */ u("span", { className: _t.buttonName, children: a(b) })
|
|
934
934
|
] });
|
|
935
935
|
return /* @__PURE__ */ S("div", { className: "tooltip-parent", children: [
|
|
936
936
|
/* @__PURE__ */ u(
|
|
937
937
|
"button",
|
|
938
938
|
{
|
|
939
|
-
onClick:
|
|
939
|
+
onClick: p,
|
|
940
940
|
className: `${_t.button}
|
|
941
941
|
${g && _t.active}`,
|
|
942
|
-
disabled:
|
|
943
|
-
children:
|
|
942
|
+
disabled: y,
|
|
943
|
+
children: f
|
|
944
944
|
}
|
|
945
945
|
),
|
|
946
|
-
o && /* @__PURE__ */ u(lt, { text:
|
|
946
|
+
o && /* @__PURE__ */ u(lt, { text: b, position: s })
|
|
947
947
|
] }, c);
|
|
948
948
|
})
|
|
949
949
|
}
|
|
@@ -1043,10 +1043,10 @@ const Kp = () => /* @__PURE__ */ u("div", { children: "EditAmbit" }), Wa = "data
|
|
|
1043
1043
|
inputsColor: "#605B56",
|
|
1044
1044
|
activeFiltersType: null
|
|
1045
1045
|
})), qi = ({ title: e, onClick: t, isOpen: n = !0, textColor: r = "#ffffff", backgroundColor: o = "#605B5680", activeColor: s, fontColor: a = "#605B56" }) => {
|
|
1046
|
-
const { t: l } = ce(), { tematicalFiltersSelected: c, activeFiltersType: d } = ve((
|
|
1047
|
-
ve.setState((
|
|
1048
|
-
tematicalFiltersSelected:
|
|
1049
|
-
(
|
|
1046
|
+
const { t: l } = ce(), { tematicalFiltersSelected: c, activeFiltersType: d } = ve((b) => b), h = (b) => {
|
|
1047
|
+
ve.setState((p) => ({
|
|
1048
|
+
tematicalFiltersSelected: p.tematicalFiltersSelected.filter(
|
|
1049
|
+
(y) => y.code !== b
|
|
1050
1050
|
)
|
|
1051
1051
|
}));
|
|
1052
1052
|
};
|
|
@@ -1061,10 +1061,10 @@ const Kp = () => /* @__PURE__ */ u("div", { children: "EditAmbit" }), Wa = "data
|
|
|
1061
1061
|
activeColor: s,
|
|
1062
1062
|
mainTitle: !0,
|
|
1063
1063
|
color: a,
|
|
1064
|
-
children: /* @__PURE__ */ u("div", { className: xo.AppliedFiltersContainer, children: c == null ? void 0 : c.map((
|
|
1065
|
-
l(
|
|
1066
|
-
/* @__PURE__ */ u("img", { src: Wa, alt: "CloseIcon", onClick: () => h(
|
|
1067
|
-
] },
|
|
1064
|
+
children: /* @__PURE__ */ u("div", { className: xo.AppliedFiltersContainer, children: c == null ? void 0 : c.map((b, p) => /* @__PURE__ */ S("div", { className: xo.AppliedFilterContent, style: { color: r, background: o }, children: [
|
|
1065
|
+
l(b.name),
|
|
1066
|
+
/* @__PURE__ */ u("img", { src: Wa, alt: "CloseIcon", onClick: () => h(b.code), style: { cursor: "pointer" } })
|
|
1067
|
+
] }, p)) })
|
|
1068
1068
|
}
|
|
1069
1069
|
);
|
|
1070
1070
|
};
|
|
@@ -1097,11 +1097,11 @@ const Ha = "_layersList_cn837_25", Ka = "_layerName_cn837_34", wo = {
|
|
|
1097
1097
|
const { t: l } = ce(), { activeFiltersType: c } = ve((g) => g), d = () => {
|
|
1098
1098
|
c === "geographical" ? ve.setState({ activeFiltersType: null }) : ve.setState({ activeFiltersType: "geographical" });
|
|
1099
1099
|
}, h = (g) => {
|
|
1100
|
-
const
|
|
1101
|
-
...
|
|
1102
|
-
active:
|
|
1100
|
+
const b = s.map((p) => ({
|
|
1101
|
+
...p,
|
|
1102
|
+
active: p.name === g.name
|
|
1103
1103
|
}));
|
|
1104
|
-
a == null || a(
|
|
1104
|
+
a == null || a(b);
|
|
1105
1105
|
};
|
|
1106
1106
|
return /* @__PURE__ */ u(
|
|
1107
1107
|
Lt,
|
|
@@ -1236,8 +1236,8 @@ let Fr = function(e) {
|
|
|
1236
1236
|
o.setState({ pending: !0 });
|
|
1237
1237
|
const c = o.getTouchPosition(l);
|
|
1238
1238
|
if (o.isScrolling === void 0) {
|
|
1239
|
-
const g = c[0] - o.startPosition[0],
|
|
1240
|
-
o.isScrolling = Math.abs(
|
|
1239
|
+
const g = c[0] - o.startPosition[0], b = c[1] - o.startPosition[1];
|
|
1240
|
+
o.isScrolling = Math.abs(b) > Math.abs(g);
|
|
1241
1241
|
}
|
|
1242
1242
|
if (o.isScrolling) return void o.setState({ index: -1 });
|
|
1243
1243
|
const d = o.getDiffPosition(c[0]), h = o.getValueFromPosition(d);
|
|
@@ -1303,8 +1303,8 @@ let Fr = function(e) {
|
|
|
1303
1303
|
}, 0);
|
|
1304
1304
|
o.pendingResizeTimeouts.push(l);
|
|
1305
1305
|
}, o.renderThumb = (l, c) => {
|
|
1306
|
-
const d = o.props.thumbClassName + " " + o.props.thumbClassName + "-" + c + " " + (o.state.index === c ? o.props.thumbActiveClassName : ""), h = { ref: (
|
|
1307
|
-
o["thumb" + c] =
|
|
1306
|
+
const d = o.props.thumbClassName + " " + o.props.thumbClassName + "-" + c + " " + (o.state.index === c ? o.props.thumbActiveClassName : ""), h = { ref: (b) => {
|
|
1307
|
+
o["thumb" + c] = b;
|
|
1308
1308
|
}, key: o.props.thumbClassName + "-" + c, className: d, style: l, onMouseDown: o.createOnMouseDown(c), onTouchStart: o.createOnTouchStart(c), onFocus: o.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": o.props.orientation, "aria-valuenow": o.state.value[c], "aria-valuemin": o.props.min, "aria-valuemax": o.props.max, "aria-label": Array.isArray(o.props.ariaLabel) ? o.props.ariaLabel[c] : o.props.ariaLabel, "aria-labelledby": Array.isArray(o.props.ariaLabelledby) ? o.props.ariaLabelledby[c] : o.props.ariaLabelledby, "aria-disabled": o.props.disabled }, g = { index: c, value: kn(o.state.value), valueNow: o.state.value[c] };
|
|
1309
1309
|
return o.props.ariaValuetext && (h["aria-valuetext"] = typeof o.props.ariaValuetext == "string" ? o.props.ariaValuetext : o.props.ariaValuetext(g)), o.props.renderThumb(h, g);
|
|
1310
1310
|
}, o.renderTrack = (l, c, d) => {
|
|
@@ -1364,8 +1364,8 @@ let Fr = function(e) {
|
|
|
1364
1364
|
}, n.resize = function() {
|
|
1365
1365
|
const { slider: r, thumb0: o } = this;
|
|
1366
1366
|
if (!r || !o) return;
|
|
1367
|
-
const s = this.sizeKey(), a = r.getBoundingClientRect(), l = r[s], c = a[this.posMaxKey()], d = a[this.posMinKey()], h = o.getBoundingClientRect()[s.replace("client", "").toLowerCase()], g = l - h,
|
|
1368
|
-
this.state.upperBound === g && this.state.sliderLength ===
|
|
1367
|
+
const s = this.sizeKey(), a = r.getBoundingClientRect(), l = r[s], c = a[this.posMaxKey()], d = a[this.posMinKey()], h = o.getBoundingClientRect()[s.replace("client", "").toLowerCase()], g = l - h, b = Math.abs(c - d);
|
|
1368
|
+
this.state.upperBound === g && this.state.sliderLength === b && this.state.thumbSize === h || this.setState({ upperBound: g, sliderLength: b, thumbSize: h });
|
|
1369
1369
|
}, n.calcOffset = function(r) {
|
|
1370
1370
|
const o = this.props.max - this.props.min;
|
|
1371
1371
|
return o === 0 ? 0 : (r - this.props.min) / o * this.state.upperBound;
|
|
@@ -1407,23 +1407,23 @@ let Fr = function(e) {
|
|
|
1407
1407
|
const { pearling: c, max: d, min: h, minDistance: g } = this.props;
|
|
1408
1408
|
if (!c) {
|
|
1409
1409
|
if (s > 0) {
|
|
1410
|
-
const
|
|
1411
|
-
r <
|
|
1410
|
+
const b = o[s - 1];
|
|
1411
|
+
r < b + g && (r = b + g);
|
|
1412
1412
|
}
|
|
1413
1413
|
if (s < a - 1) {
|
|
1414
|
-
const
|
|
1415
|
-
r >
|
|
1414
|
+
const b = o[s + 1];
|
|
1415
|
+
r > b - g && (r = b - g);
|
|
1416
1416
|
}
|
|
1417
1417
|
}
|
|
1418
|
-
o[s] = r, c && a > 1 && (r > l ? (this.pushSucceeding(o, g, s), function(
|
|
1419
|
-
for (let _ = 0; _ <
|
|
1420
|
-
const x =
|
|
1421
|
-
|
|
1418
|
+
o[s] = r, c && a > 1 && (r > l ? (this.pushSucceeding(o, g, s), function(b, p, y, f) {
|
|
1419
|
+
for (let _ = 0; _ < b; _ += 1) {
|
|
1420
|
+
const x = f - _ * y;
|
|
1421
|
+
p[b - 1 - _] > x && (p[b - 1 - _] = x);
|
|
1422
1422
|
}
|
|
1423
|
-
}(a, o, g, d)) : r < l && (this.pushPreceding(o, g, s), function(
|
|
1424
|
-
for (let _ = 0; _ <
|
|
1425
|
-
const x =
|
|
1426
|
-
|
|
1423
|
+
}(a, o, g, d)) : r < l && (this.pushPreceding(o, g, s), function(b, p, y, f) {
|
|
1424
|
+
for (let _ = 0; _ < b; _ += 1) {
|
|
1425
|
+
const x = f + _ * y;
|
|
1426
|
+
p[_] < x && (p[_] = x);
|
|
1427
1427
|
}
|
|
1428
1428
|
}(a, o, g, h))), this.setState({ value: o }, this.fireChangeEvent.bind(this, "onChange"));
|
|
1429
1429
|
}, n.pushSucceeding = function(r, o, s) {
|
|
@@ -1499,11 +1499,11 @@ const Qa = "_container_4u41i_2", Ja = "_unitLabel_4u41i_8", el = "_slider_4u41i_
|
|
|
1499
1499
|
defaultValue: l,
|
|
1500
1500
|
isDate: c
|
|
1501
1501
|
}) => {
|
|
1502
|
-
const { t: d } = ce(), h = c ? new Date(e).getTime() : null, g = c ? new Date(t).getTime() : null, [
|
|
1503
|
-
f
|
|
1502
|
+
const { t: d } = ce(), h = c ? new Date(e).getTime() : null, g = c ? new Date(t).getTime() : null, [b, p] = le(c ? [h, g] : [e, t]), y = (f) => {
|
|
1503
|
+
p(f), r == null || r({ min: f[0], max: f[1] });
|
|
1504
1504
|
};
|
|
1505
1505
|
return J(() => {
|
|
1506
|
-
l ||
|
|
1506
|
+
l || p(c ? [h, g] : [e, t]);
|
|
1507
1507
|
}, [l, c]), /* @__PURE__ */ S(
|
|
1508
1508
|
"div",
|
|
1509
1509
|
{
|
|
@@ -1520,24 +1520,24 @@ const Qa = "_container_4u41i_2", Ja = "_unitLabel_4u41i_8", el = "_slider_4u41i_
|
|
|
1520
1520
|
min: c ? h : e,
|
|
1521
1521
|
max: c ? g : t,
|
|
1522
1522
|
step: c ? (g - h) / 30 : n,
|
|
1523
|
-
value:
|
|
1524
|
-
onAfterChange:
|
|
1523
|
+
value: b,
|
|
1524
|
+
onAfterChange: y,
|
|
1525
1525
|
withTracks: !0,
|
|
1526
1526
|
pearling: !c,
|
|
1527
1527
|
minDistance: c ? 0 : 0.1
|
|
1528
1528
|
}
|
|
1529
1529
|
),
|
|
1530
1530
|
/* @__PURE__ */ S("div", { className: Dt.labels, children: [
|
|
1531
|
-
/* @__PURE__ */ u("span", { children: c ? new Date(
|
|
1531
|
+
/* @__PURE__ */ u("span", { children: c ? new Date(b[0]).toLocaleDateString("en-EN", {
|
|
1532
1532
|
day: "2-digit",
|
|
1533
1533
|
month: "short",
|
|
1534
1534
|
year: "numeric"
|
|
1535
|
-
}) :
|
|
1536
|
-
/* @__PURE__ */ u("span", { children: c ? new Date(
|
|
1535
|
+
}) : b[0] }),
|
|
1536
|
+
/* @__PURE__ */ u("span", { children: c ? new Date(b[1]).toLocaleDateString("en-EN", {
|
|
1537
1537
|
day: "2-digit",
|
|
1538
1538
|
month: "short",
|
|
1539
1539
|
year: "numeric"
|
|
1540
|
-
}) :
|
|
1540
|
+
}) : b[1] })
|
|
1541
1541
|
] })
|
|
1542
1542
|
]
|
|
1543
1543
|
}
|
|
@@ -1574,78 +1574,78 @@ const ol = "_tematicalFiltersInputContainer_1vm1r_2", il = "_inputTypeContainer_
|
|
|
1574
1574
|
unit: d,
|
|
1575
1575
|
step: h,
|
|
1576
1576
|
disabled: g,
|
|
1577
|
-
isDate:
|
|
1578
|
-
} = e || {},
|
|
1577
|
+
isDate: b
|
|
1578
|
+
} = e || {}, p = je(
|
|
1579
1579
|
() => o == "cat" || n == "cat",
|
|
1580
1580
|
[n, o]
|
|
1581
|
-
),
|
|
1581
|
+
), y = je(
|
|
1582
1582
|
() => o == "abs" || n == "abs",
|
|
1583
1583
|
[n, o]
|
|
1584
1584
|
), {
|
|
1585
|
-
tematicalFiltersSelected:
|
|
1585
|
+
tematicalFiltersSelected: f,
|
|
1586
1586
|
selectedIndicator: _,
|
|
1587
1587
|
fontColor: x,
|
|
1588
1588
|
inputsColor: k
|
|
1589
1589
|
} = ve((C) => C), $ = (C) => {
|
|
1590
1590
|
if (C) {
|
|
1591
|
-
const { min: w, max: N, valueClicked: L, allValues:
|
|
1592
|
-
let T =
|
|
1593
|
-
V == "both" && (T =
|
|
1594
|
-
let
|
|
1591
|
+
const { min: w, max: N, valueClicked: L, allValues: E } = C || {}, { code: B, type: V, source: m } = e || {}, O = y ? "abs" : p ? "cat" : "both";
|
|
1592
|
+
let T = B[0];
|
|
1593
|
+
V == "both" && (T = O == "cat" ? B[1] : B[0]), O == "cat" ? ve.setState((z) => {
|
|
1594
|
+
let j = z.tematicalFiltersSelected.find(
|
|
1595
1595
|
(Y) => Y.code === T
|
|
1596
1596
|
);
|
|
1597
|
-
if (
|
|
1598
|
-
let Y = [
|
|
1599
|
-
return
|
|
1597
|
+
if (j) {
|
|
1598
|
+
let Y = [j.values];
|
|
1599
|
+
return j.values.includes(L) ? Y = j.values.filter(
|
|
1600
1600
|
(W) => W !== L
|
|
1601
|
-
) : Y = [...
|
|
1602
|
-
tematicalFiltersSelected:
|
|
1601
|
+
) : Y = [...j.values, L], Y.length == E.length ? {
|
|
1602
|
+
tematicalFiltersSelected: z.tematicalFiltersSelected.filter(
|
|
1603
1603
|
(W) => W.code !== T
|
|
1604
1604
|
)
|
|
1605
1605
|
} : {
|
|
1606
|
-
tematicalFiltersSelected:
|
|
1606
|
+
tematicalFiltersSelected: z.tematicalFiltersSelected.map(
|
|
1607
1607
|
(W) => W.code === T ? { ...W, values: Y } : W
|
|
1608
1608
|
)
|
|
1609
1609
|
};
|
|
1610
1610
|
} else {
|
|
1611
|
-
let Y = (
|
|
1611
|
+
let Y = (E || []).map((W, ue) => ue);
|
|
1612
1612
|
return {
|
|
1613
1613
|
tematicalFiltersSelected: [
|
|
1614
|
-
...
|
|
1614
|
+
...f,
|
|
1615
1615
|
{
|
|
1616
1616
|
type: "cat",
|
|
1617
1617
|
code: T,
|
|
1618
1618
|
values: Y.filter((W) => W !== L),
|
|
1619
1619
|
name: e.name,
|
|
1620
1620
|
source: m,
|
|
1621
|
-
isDate:
|
|
1621
|
+
isDate: b
|
|
1622
1622
|
}
|
|
1623
1623
|
]
|
|
1624
1624
|
};
|
|
1625
1625
|
}
|
|
1626
|
-
}) :
|
|
1627
|
-
let
|
|
1626
|
+
}) : O == "abs" && ve.setState((z) => {
|
|
1627
|
+
let j = z.tematicalFiltersSelected.find(
|
|
1628
1628
|
(Y) => Y.code === T
|
|
1629
1629
|
);
|
|
1630
1630
|
if (w == e.minValue && N == e.maxValue)
|
|
1631
1631
|
return {
|
|
1632
|
-
tematicalFiltersSelected:
|
|
1632
|
+
tematicalFiltersSelected: z.tematicalFiltersSelected.filter(
|
|
1633
1633
|
(Y) => Y.code !== T
|
|
1634
1634
|
)
|
|
1635
1635
|
};
|
|
1636
|
-
if (
|
|
1637
|
-
let Y = { ...
|
|
1636
|
+
if (j) {
|
|
1637
|
+
let Y = { ...j, min: w, max: N, type: O, isDate: b };
|
|
1638
1638
|
return {
|
|
1639
|
-
tematicalFiltersSelected:
|
|
1639
|
+
tematicalFiltersSelected: z.tematicalFiltersSelected.map(
|
|
1640
1640
|
(W) => W.code === T ? Y : W
|
|
1641
1641
|
)
|
|
1642
1642
|
};
|
|
1643
1643
|
} else
|
|
1644
1644
|
return {
|
|
1645
1645
|
tematicalFiltersSelected: [
|
|
1646
|
-
...
|
|
1646
|
+
...f,
|
|
1647
1647
|
{
|
|
1648
|
-
type:
|
|
1648
|
+
type: O,
|
|
1649
1649
|
code: T,
|
|
1650
1650
|
min: w,
|
|
1651
1651
|
max: N,
|
|
@@ -1658,11 +1658,11 @@ const ol = "_tematicalFiltersInputContainer_1vm1r_2", il = "_inputTypeContainer_
|
|
|
1658
1658
|
}
|
|
1659
1659
|
}, v = je(() => {
|
|
1660
1660
|
const C = {};
|
|
1661
|
-
if ((
|
|
1662
|
-
for (const w of
|
|
1661
|
+
if ((f == null ? void 0 : f.length) > 0)
|
|
1662
|
+
for (const w of f)
|
|
1663
1663
|
w.type === "cat" ? C[w.code] = new Set(w.values) : C[w.code] = [w.min, w.max];
|
|
1664
1664
|
return C;
|
|
1665
|
-
}, [
|
|
1665
|
+
}, [f]);
|
|
1666
1666
|
return /* @__PURE__ */ u("div", { className: $n.tematicalFiltersInputContainer, children: /* @__PURE__ */ S(
|
|
1667
1667
|
Lt,
|
|
1668
1668
|
{
|
|
@@ -1732,7 +1732,7 @@ const ol = "_tematicalFiltersInputContainer_1vm1r_2", il = "_inputTypeContainer_
|
|
|
1732
1732
|
]
|
|
1733
1733
|
}
|
|
1734
1734
|
),
|
|
1735
|
-
|
|
1735
|
+
p && /* @__PURE__ */ u("div", { className: $n.checkboxContainer, children: (a || []).map((C, w) => {
|
|
1736
1736
|
var N;
|
|
1737
1737
|
return /* @__PURE__ */ u(
|
|
1738
1738
|
Ui,
|
|
@@ -1744,7 +1744,7 @@ const ol = "_tematicalFiltersInputContainer_1vm1r_2", il = "_inputTypeContainer_
|
|
|
1744
1744
|
`checkbox-${w}`
|
|
1745
1745
|
);
|
|
1746
1746
|
}) }),
|
|
1747
|
-
(
|
|
1747
|
+
(y || o == "glb") && /* @__PURE__ */ u("div", { className: $n.absoluteSliderContainer, children: /* @__PURE__ */ u(
|
|
1748
1748
|
Zi,
|
|
1749
1749
|
{
|
|
1750
1750
|
onChange: $,
|
|
@@ -1752,7 +1752,7 @@ const ol = "_tematicalFiltersInputContainer_1vm1r_2", il = "_inputTypeContainer_
|
|
|
1752
1752
|
max: c,
|
|
1753
1753
|
unit: d,
|
|
1754
1754
|
defaultValue: v[e.code[0]] ? v[e.code[0]] : "",
|
|
1755
|
-
isDate:
|
|
1755
|
+
isDate: b,
|
|
1756
1756
|
step: h
|
|
1757
1757
|
}
|
|
1758
1758
|
) })
|
|
@@ -1902,14 +1902,14 @@ const zr = ({
|
|
|
1902
1902
|
activeColor: s,
|
|
1903
1903
|
onClick: h,
|
|
1904
1904
|
mainTitle: !0,
|
|
1905
|
-
children: e == null ? void 0 : e.map((g,
|
|
1905
|
+
children: e == null ? void 0 : e.map((g, b) => /* @__PURE__ */ u(
|
|
1906
1906
|
Ki,
|
|
1907
1907
|
{
|
|
1908
1908
|
category: g,
|
|
1909
1909
|
fontColor: r,
|
|
1910
1910
|
activeColor: s
|
|
1911
1911
|
},
|
|
1912
|
-
`category-${
|
|
1912
|
+
`category-${b}`
|
|
1913
1913
|
))
|
|
1914
1914
|
}
|
|
1915
1915
|
);
|
|
@@ -1945,10 +1945,10 @@ const ll = "_FiltersAmbitContainer_1hv16_2", cl = "_FiltersContainer_1hv16_15",
|
|
|
1945
1945
|
namePlaceholder: d,
|
|
1946
1946
|
descPlaceholder: h,
|
|
1947
1947
|
filtersTypes: g = ["geographical", "tematical"],
|
|
1948
|
-
nameRequiredText:
|
|
1949
|
-
geoLayers:
|
|
1950
|
-
onGeoLayersChange:
|
|
1951
|
-
onlyFilters:
|
|
1948
|
+
nameRequiredText: b,
|
|
1949
|
+
geoLayers: p = [],
|
|
1950
|
+
onGeoLayersChange: y,
|
|
1951
|
+
onlyFilters: f = !1,
|
|
1952
1952
|
//usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
|
|
1953
1953
|
descriptionRequired: _ = !1,
|
|
1954
1954
|
//campo descripción required
|
|
@@ -1956,7 +1956,7 @@ const ll = "_FiltersAmbitContainer_1hv16_2", cl = "_FiltersContainer_1hv16_15",
|
|
|
1956
1956
|
}) => {
|
|
1957
1957
|
const { t: k } = ce(), { tematicalFiltersSelected: $, activeFiltersType: v } = ve(
|
|
1958
1958
|
(m) => m
|
|
1959
|
-
), [C, w] = le(e || null), [N, L] = le(t || null), [
|
|
1959
|
+
), [C, w] = le(e || null), [N, L] = le(t || null), [E, B] = le(!1);
|
|
1960
1960
|
J(() => {
|
|
1961
1961
|
ve.setState({
|
|
1962
1962
|
tematicalFiltersSelected: n || []
|
|
@@ -1965,25 +1965,25 @@ const ll = "_FiltersAmbitContainer_1hv16_2", cl = "_FiltersContainer_1hv16_15",
|
|
|
1965
1965
|
l($);
|
|
1966
1966
|
}, [$]);
|
|
1967
1967
|
const V = () => {
|
|
1968
|
-
_ ? C && N ? c({ name: C, description: N }) :
|
|
1968
|
+
_ ? C && N ? c({ name: C, description: N }) : B(!0) : C ? c({ name: C, description: N }) : B(!0);
|
|
1969
1969
|
};
|
|
1970
1970
|
return J(() => {
|
|
1971
|
-
if (g.includes("geographical") && v != "geographical" &&
|
|
1972
|
-
const m =
|
|
1973
|
-
...
|
|
1971
|
+
if (g.includes("geographical") && v != "geographical" && p.length > 0) {
|
|
1972
|
+
const m = p.map((O) => ({
|
|
1973
|
+
...O,
|
|
1974
1974
|
active: !1
|
|
1975
1975
|
}));
|
|
1976
|
-
|
|
1976
|
+
y == null || y(m);
|
|
1977
1977
|
}
|
|
1978
1978
|
}, [v]), /* @__PURE__ */ S("div", { className: pt.FiltersAmbitContainer, children: [
|
|
1979
1979
|
/* @__PURE__ */ S("div", { className: pt.FiltersContainer, children: [
|
|
1980
|
-
!
|
|
1980
|
+
!f && /* @__PURE__ */ S("div", { className: pt.FiltersAmbitHeader, children: [
|
|
1981
1981
|
/* @__PURE__ */ u("div", { className: pt.FiltersAmbitTitle, children: /* @__PURE__ */ u(
|
|
1982
1982
|
"input",
|
|
1983
1983
|
{
|
|
1984
1984
|
type: "text",
|
|
1985
1985
|
onChange: (m) => {
|
|
1986
|
-
|
|
1986
|
+
B(!1), w(m.target.value);
|
|
1987
1987
|
},
|
|
1988
1988
|
value: C,
|
|
1989
1989
|
placeholder: k(d)
|
|
@@ -1994,7 +1994,7 @@ const ll = "_FiltersAmbitContainer_1hv16_2", cl = "_FiltersContainer_1hv16_15",
|
|
|
1994
1994
|
{
|
|
1995
1995
|
value: N,
|
|
1996
1996
|
onChange: (m) => {
|
|
1997
|
-
_ &&
|
|
1997
|
+
_ && B(!1), L(m.target.value);
|
|
1998
1998
|
},
|
|
1999
1999
|
placeholder: k(h)
|
|
2000
2000
|
}
|
|
@@ -2015,8 +2015,8 @@ const ll = "_FiltersAmbitContainer_1hv16_2", cl = "_FiltersContainer_1hv16_15",
|
|
|
2015
2015
|
{
|
|
2016
2016
|
title: "geo_filters",
|
|
2017
2017
|
activeColor: o,
|
|
2018
|
-
geoLayers:
|
|
2019
|
-
onGeoLayersChange:
|
|
2018
|
+
geoLayers: p,
|
|
2019
|
+
onGeoLayersChange: y
|
|
2020
2020
|
}
|
|
2021
2021
|
),
|
|
2022
2022
|
g.includes("extra") && x.map((m) => /* @__PURE__ */ u(
|
|
@@ -2042,8 +2042,8 @@ const ll = "_FiltersAmbitContainer_1hv16_2", cl = "_FiltersContainer_1hv16_15",
|
|
|
2042
2042
|
}
|
|
2043
2043
|
)
|
|
2044
2044
|
] }),
|
|
2045
|
-
!
|
|
2046
|
-
|
|
2045
|
+
!f && /* @__PURE__ */ S("div", { className: pt.buttonContainer, children: [
|
|
2046
|
+
E && /* @__PURE__ */ u("div", { className: pt.warning, children: k(b) }),
|
|
2047
2047
|
/* @__PURE__ */ u(Xn, { onClick: () => V(), children: k("save_ambit") })
|
|
2048
2048
|
] })
|
|
2049
2049
|
] });
|
|
@@ -2085,12 +2085,12 @@ const yl = "_barChartContainer_1ly7h_2", So = {
|
|
|
2085
2085
|
verticalPadding: d = 10,
|
|
2086
2086
|
xLabelPadding: h = l == "vertical" ? 50 : 40,
|
|
2087
2087
|
containerWidth: g = 700,
|
|
2088
|
-
containerHeight:
|
|
2089
|
-
mainColor:
|
|
2088
|
+
containerHeight: b = 500,
|
|
2089
|
+
mainColor: p = "#000"
|
|
2090
2090
|
}) => {
|
|
2091
2091
|
const {
|
|
2092
|
-
xScale:
|
|
2093
|
-
yScale:
|
|
2092
|
+
xScale: y,
|
|
2093
|
+
yScale: f,
|
|
2094
2094
|
ticks: _,
|
|
2095
2095
|
height: x,
|
|
2096
2096
|
chartWidth: k,
|
|
@@ -2101,34 +2101,34 @@ const yl = "_barChartContainer_1ly7h_2", So = {
|
|
|
2101
2101
|
if (e && e.length > 0) {
|
|
2102
2102
|
const w = hr.max(e, (L) => L.value) || 1, N = a || w;
|
|
2103
2103
|
if (l === "vertical") {
|
|
2104
|
-
const L = e.length * (t + n) + c * 2,
|
|
2104
|
+
const L = e.length * (t + n) + c * 2, E = Math.max(L, g || 0), B = b, m = hr.scaleLinear().domain([0, N]).range([B - 100, d]), O = Array.from(
|
|
2105
2105
|
{ length: s + 1 },
|
|
2106
|
-
(T,
|
|
2106
|
+
(T, z) => N / s * z
|
|
2107
2107
|
);
|
|
2108
2108
|
return {
|
|
2109
2109
|
yScale: m,
|
|
2110
|
-
ticks:
|
|
2111
|
-
height:
|
|
2112
|
-
chartWidth:
|
|
2113
|
-
svgWidth:
|
|
2114
|
-
svgHeight:
|
|
2110
|
+
ticks: O,
|
|
2111
|
+
height: B,
|
|
2112
|
+
chartWidth: E,
|
|
2113
|
+
svgWidth: E,
|
|
2114
|
+
svgHeight: B,
|
|
2115
2115
|
contentWidth: L
|
|
2116
2116
|
};
|
|
2117
2117
|
} else {
|
|
2118
2118
|
const L = e.length * (t + n);
|
|
2119
2119
|
console.log("barsHeight: ", L);
|
|
2120
|
-
const
|
|
2120
|
+
const E = L + d * 2 + h + 30, B = g + o + c * 2, V = hr.scaleLinear().domain([0, N]).range([0, g - c * 2]), m = Array.from(
|
|
2121
2121
|
{ length: s + 1 },
|
|
2122
|
-
(
|
|
2122
|
+
(O, T) => N / s * T
|
|
2123
2123
|
);
|
|
2124
2124
|
return {
|
|
2125
2125
|
xScale: V,
|
|
2126
2126
|
ticks: m,
|
|
2127
|
-
height:
|
|
2127
|
+
height: E,
|
|
2128
2128
|
chartWidth: g,
|
|
2129
|
-
svgWidth:
|
|
2130
|
-
svgHeight:
|
|
2131
|
-
contentWidth:
|
|
2129
|
+
svgWidth: B,
|
|
2130
|
+
svgHeight: E,
|
|
2131
|
+
contentWidth: B
|
|
2132
2132
|
};
|
|
2133
2133
|
}
|
|
2134
2134
|
} else
|
|
@@ -2150,7 +2150,7 @@ const yl = "_barChartContainer_1ly7h_2", So = {
|
|
|
2150
2150
|
l,
|
|
2151
2151
|
o,
|
|
2152
2152
|
g,
|
|
2153
|
-
|
|
2153
|
+
b
|
|
2154
2154
|
]);
|
|
2155
2155
|
return l === "vertical" ? /* @__PURE__ */ u(
|
|
2156
2156
|
"div",
|
|
@@ -2158,8 +2158,8 @@ const yl = "_barChartContainer_1ly7h_2", So = {
|
|
|
2158
2158
|
style: {
|
|
2159
2159
|
//width: containerWidth ? `${containerWidth}px` : "100%",
|
|
2160
2160
|
width: "100%",
|
|
2161
|
-
height:
|
|
2162
|
-
"--main-color":
|
|
2161
|
+
height: b ? `${b}px` : "100%",
|
|
2162
|
+
"--main-color": p
|
|
2163
2163
|
},
|
|
2164
2164
|
className: So.barChartContainer,
|
|
2165
2165
|
children: /* @__PURE__ */ u(
|
|
@@ -2172,11 +2172,11 @@ const yl = "_barChartContainer_1ly7h_2", So = {
|
|
|
2172
2172
|
width: $,
|
|
2173
2173
|
height: v,
|
|
2174
2174
|
maxWidth: "none",
|
|
2175
|
-
"--main-color":
|
|
2175
|
+
"--main-color": p
|
|
2176
2176
|
},
|
|
2177
2177
|
children: /* @__PURE__ */ S("g", { transform: `translate(${c}, 0)`, children: [
|
|
2178
2178
|
/* @__PURE__ */ u("g", { children: _.map((w, N) => {
|
|
2179
|
-
const L =
|
|
2179
|
+
const L = f(w);
|
|
2180
2180
|
return /* @__PURE__ */ S("g", { children: [
|
|
2181
2181
|
/* @__PURE__ */ u(
|
|
2182
2182
|
"line",
|
|
@@ -2202,13 +2202,13 @@ const yl = "_barChartContainer_1ly7h_2", So = {
|
|
|
2202
2202
|
] }, N);
|
|
2203
2203
|
}) }),
|
|
2204
2204
|
e && e.length > 0 && e.map((w, N) => {
|
|
2205
|
-
const L =
|
|
2205
|
+
const L = f(0) - f(w.value), E = N * (t + n), B = f(w.value);
|
|
2206
2206
|
return /* @__PURE__ */ S("g", { children: [
|
|
2207
2207
|
/* @__PURE__ */ u(
|
|
2208
2208
|
"rect",
|
|
2209
2209
|
{
|
|
2210
|
-
x:
|
|
2211
|
-
y:
|
|
2210
|
+
x: E,
|
|
2211
|
+
y: B,
|
|
2212
2212
|
width: t,
|
|
2213
2213
|
height: L,
|
|
2214
2214
|
fill: w.color,
|
|
@@ -2218,12 +2218,12 @@ const yl = "_barChartContainer_1ly7h_2", So = {
|
|
|
2218
2218
|
/* @__PURE__ */ u(
|
|
2219
2219
|
"text",
|
|
2220
2220
|
{
|
|
2221
|
-
x:
|
|
2221
|
+
x: E + t / 2,
|
|
2222
2222
|
y: x - h,
|
|
2223
2223
|
textAnchor: "start",
|
|
2224
2224
|
fill: r,
|
|
2225
2225
|
fontSize: 12,
|
|
2226
|
-
transform: `rotate(-90, ${
|
|
2226
|
+
transform: `rotate(-90, ${E + t / 2}, ${x - h})`,
|
|
2227
2227
|
children: w.title
|
|
2228
2228
|
}
|
|
2229
2229
|
)
|
|
@@ -2239,8 +2239,8 @@ const yl = "_barChartContainer_1ly7h_2", So = {
|
|
|
2239
2239
|
style: {
|
|
2240
2240
|
width: "100%",
|
|
2241
2241
|
//width: containerWidth ? `${containerWidth}px` : "100%",
|
|
2242
|
-
height:
|
|
2243
|
-
"--main-color":
|
|
2242
|
+
height: b ? `${b}px` : "100%",
|
|
2243
|
+
"--main-color": p
|
|
2244
2244
|
},
|
|
2245
2245
|
className: So.barChartContainer,
|
|
2246
2246
|
children: /* @__PURE__ */ u(
|
|
@@ -2256,7 +2256,7 @@ const yl = "_barChartContainer_1ly7h_2", So = {
|
|
|
2256
2256
|
},
|
|
2257
2257
|
children: /* @__PURE__ */ S("g", { transform: `translate(0,${d})`, children: [
|
|
2258
2258
|
/* @__PURE__ */ u("g", { transform: `translate(${o + c}, 0)`, children: _.map((w, N) => {
|
|
2259
|
-
const L =
|
|
2259
|
+
const L = y(w);
|
|
2260
2260
|
return /* @__PURE__ */ S("g", { transform: `translate(${L}, 0)`, children: [
|
|
2261
2261
|
/* @__PURE__ */ u(
|
|
2262
2262
|
"line",
|
|
@@ -2279,11 +2279,11 @@ const yl = "_barChartContainer_1ly7h_2", So = {
|
|
|
2279
2279
|
] }, N);
|
|
2280
2280
|
}) }),
|
|
2281
2281
|
e && e.length > 0 && e.map((w, N) => {
|
|
2282
|
-
const L =
|
|
2283
|
-
return console.log("y: ",
|
|
2282
|
+
const L = y(w.value), E = N * (t + n);
|
|
2283
|
+
return console.log("y: ", E), /* @__PURE__ */ S(
|
|
2284
2284
|
"g",
|
|
2285
2285
|
{
|
|
2286
|
-
transform: `translate(${o + c}, ${
|
|
2286
|
+
transform: `translate(${o + c}, ${E})`,
|
|
2287
2287
|
children: [
|
|
2288
2288
|
/* @__PURE__ */ u(
|
|
2289
2289
|
"text",
|
|
@@ -2356,7 +2356,7 @@ const bl = "_graphicContainer_1ozwp_2", vl = "_titleContainer_1ozwp_13", ko = {
|
|
|
2356
2356
|
xLabelPadding: h = 0,
|
|
2357
2357
|
mainColor: g
|
|
2358
2358
|
}) => {
|
|
2359
|
-
const { t:
|
|
2359
|
+
const { t: b } = ce();
|
|
2360
2360
|
return /* @__PURE__ */ S(
|
|
2361
2361
|
"div",
|
|
2362
2362
|
{
|
|
@@ -2366,7 +2366,7 @@ const bl = "_graphicContainer_1ozwp_2", vl = "_titleContainer_1ozwp_13", ko = {
|
|
|
2366
2366
|
paddingBottom: 40
|
|
2367
2367
|
},
|
|
2368
2368
|
children: [
|
|
2369
|
-
/* @__PURE__ */ u("div", { className: ko.titleContainer, children: /* @__PURE__ */ u("h2", { children:
|
|
2369
|
+
/* @__PURE__ */ u("div", { className: ko.titleContainer, children: /* @__PURE__ */ u("h2", { children: b(o) }) }),
|
|
2370
2370
|
/* @__PURE__ */ u(
|
|
2371
2371
|
Gi,
|
|
2372
2372
|
{
|
|
@@ -2430,15 +2430,15 @@ const _l = "_indicatorsCategory_arwy3_2", xl = "_title_arwy3_5", wl = "_list_arw
|
|
|
2430
2430
|
multiple: l = !1,
|
|
2431
2431
|
onChangeType: c
|
|
2432
2432
|
}) => {
|
|
2433
|
-
const { t: d } = ce(), { name: h, type: g, disabled:
|
|
2433
|
+
const { t: d } = ce(), { name: h, type: g, disabled: b } = e, [p, y] = le(!1);
|
|
2434
2434
|
J(() => {
|
|
2435
|
-
o &&
|
|
2435
|
+
o && y(
|
|
2436
2436
|
l ? o.some(
|
|
2437
2437
|
(x) => x.name == String(h)
|
|
2438
2438
|
) : o.name == h
|
|
2439
2439
|
);
|
|
2440
2440
|
}, [o]);
|
|
2441
|
-
const
|
|
2441
|
+
const f = () => /* @__PURE__ */ u("div", { className: Re.switchExternalContainer, children: /* @__PURE__ */ u("div", { className: Re.switchType, children: /* @__PURE__ */ S("div", { className: Re.switchTypeOptions, children: [
|
|
2442
2442
|
/* @__PURE__ */ S(
|
|
2443
2443
|
"div",
|
|
2444
2444
|
{
|
|
@@ -2518,18 +2518,18 @@ const _l = "_indicatorsCategory_arwy3_2", xl = "_title_arwy3_5", wl = "_list_arw
|
|
|
2518
2518
|
"div",
|
|
2519
2519
|
{
|
|
2520
2520
|
className: Re.indicatorNameContainer,
|
|
2521
|
-
onClick: () => !
|
|
2521
|
+
onClick: () => !b && a({ indicator: e }),
|
|
2522
2522
|
children: [
|
|
2523
2523
|
/* @__PURE__ */ u(
|
|
2524
2524
|
"div",
|
|
2525
2525
|
{
|
|
2526
2526
|
style: {
|
|
2527
|
-
border:
|
|
2528
|
-
opacity:
|
|
2529
|
-
backgroundColor:
|
|
2527
|
+
border: p ? `1px solid ${n}` : `1px solid ${r}`,
|
|
2528
|
+
opacity: b ? 0.5 : 1,
|
|
2529
|
+
backgroundColor: p ? n : "transparent"
|
|
2530
2530
|
},
|
|
2531
2531
|
className: Re.dot,
|
|
2532
|
-
children: l && /* @__PURE__ */ u("img", { src:
|
|
2532
|
+
children: l && /* @__PURE__ */ u("img", { src: p ? kl : Sl, alt: "" })
|
|
2533
2533
|
}
|
|
2534
2534
|
),
|
|
2535
2535
|
/* @__PURE__ */ u(
|
|
@@ -2537,8 +2537,8 @@ const _l = "_indicatorsCategory_arwy3_2", xl = "_title_arwy3_5", wl = "_list_arw
|
|
|
2537
2537
|
{
|
|
2538
2538
|
className: Re.indicatorName,
|
|
2539
2539
|
style: {
|
|
2540
|
-
color:
|
|
2541
|
-
opacity:
|
|
2540
|
+
color: p ? n : r,
|
|
2541
|
+
opacity: b ? 0.5 : 1
|
|
2542
2542
|
},
|
|
2543
2543
|
children: /* @__PURE__ */ u(
|
|
2544
2544
|
Gr,
|
|
@@ -2553,7 +2553,7 @@ const _l = "_indicatorsCategory_arwy3_2", xl = "_title_arwy3_5", wl = "_list_arw
|
|
|
2553
2553
|
]
|
|
2554
2554
|
}
|
|
2555
2555
|
),
|
|
2556
|
-
(o == null ? void 0 : o.name) === h && g === "both" && /* @__PURE__ */ u("div", { children:
|
|
2556
|
+
(o == null ? void 0 : o.name) === h && g === "both" && /* @__PURE__ */ u("div", { children: f() }),
|
|
2557
2557
|
(o == null ? void 0 : o.name) === h && g === "twoUnits" && /* @__PURE__ */ u("div", { children: _() })
|
|
2558
2558
|
] });
|
|
2559
2559
|
};
|
|
@@ -2586,31 +2586,31 @@ const Il = "_indicatorsSubCategory_1nuug_2", Pl = "_list_1nuug_11", To = {
|
|
|
2586
2586
|
activeIndicatorType: h,
|
|
2587
2587
|
onChangeType: g
|
|
2588
2588
|
}) => {
|
|
2589
|
-
const { t:
|
|
2589
|
+
const { t: b } = ce(), [p, y] = le(!1);
|
|
2590
2590
|
return J(() => {
|
|
2591
|
-
|
|
2591
|
+
y(o == a);
|
|
2592
2592
|
}, [o, a]), /* @__PURE__ */ S(
|
|
2593
2593
|
Yr.div,
|
|
2594
2594
|
{
|
|
2595
2595
|
className: To.indicatorsSubCategory,
|
|
2596
2596
|
initial: { height: "43px" },
|
|
2597
|
-
animate: { height:
|
|
2597
|
+
animate: { height: p ? "auto" : "43px" },
|
|
2598
2598
|
transition: { duration: 0.4 },
|
|
2599
2599
|
children: [
|
|
2600
|
-
/* @__PURE__ */ u("button", { onClick: () => s(a), children: /* @__PURE__ */ S("h3", { style: { color:
|
|
2601
|
-
/* @__PURE__ */ u("span", { style: { color:
|
|
2600
|
+
/* @__PURE__ */ u("button", { onClick: () => s(a), children: /* @__PURE__ */ S("h3", { style: { color: p ? r : n }, children: [
|
|
2601
|
+
/* @__PURE__ */ u("span", { style: { color: p ? r : n }, children: p ? "-" : "+" }),
|
|
2602
2602
|
/* @__PURE__ */ u(
|
|
2603
2603
|
"span",
|
|
2604
2604
|
{
|
|
2605
|
-
style: { color:
|
|
2606
|
-
children:
|
|
2605
|
+
style: { color: p ? r : n },
|
|
2606
|
+
children: b(e)
|
|
2607
2607
|
}
|
|
2608
2608
|
)
|
|
2609
2609
|
] }) }),
|
|
2610
|
-
t && /* @__PURE__ */ u("div", { className: To.list, children: t == null ? void 0 : t.map((
|
|
2610
|
+
t && /* @__PURE__ */ u("div", { className: To.list, children: t == null ? void 0 : t.map((f, _) => /* @__PURE__ */ u(
|
|
2611
2611
|
Jr,
|
|
2612
2612
|
{
|
|
2613
|
-
indicator:
|
|
2613
|
+
indicator: f,
|
|
2614
2614
|
defaultColor: n,
|
|
2615
2615
|
activeColor: r,
|
|
2616
2616
|
activeIndicator: l,
|
|
@@ -2650,32 +2650,32 @@ const Xi = ({
|
|
|
2650
2650
|
onClickIndicator: d,
|
|
2651
2651
|
multiple: h,
|
|
2652
2652
|
activeIndicatorType: g,
|
|
2653
|
-
onChangeType:
|
|
2653
|
+
onChangeType: b
|
|
2654
2654
|
}) => {
|
|
2655
2655
|
var _;
|
|
2656
|
-
const { t:
|
|
2656
|
+
const { t: p } = ce(), [y, f] = le(!1);
|
|
2657
2657
|
return J(() => {
|
|
2658
|
-
|
|
2658
|
+
f(s === t);
|
|
2659
2659
|
}, [s, t]), /* @__PURE__ */ S(
|
|
2660
2660
|
Yr.div,
|
|
2661
2661
|
{
|
|
2662
2662
|
className: Nn.indicatorsCategory,
|
|
2663
2663
|
initial: { height: "53px" },
|
|
2664
|
-
animate: { height:
|
|
2664
|
+
animate: { height: y ? "auto" : "53px" },
|
|
2665
2665
|
transition: { duration: 0.4 },
|
|
2666
2666
|
style: {
|
|
2667
2667
|
backgroundColor: "white",
|
|
2668
|
-
borderBottom:
|
|
2669
|
-
marginBottom:
|
|
2668
|
+
borderBottom: y ? `1px solid ${n}` : "0px",
|
|
2669
|
+
marginBottom: y ? "20px" : "0px"
|
|
2670
2670
|
},
|
|
2671
2671
|
children: [
|
|
2672
2672
|
/* @__PURE__ */ S("h2", { className: `${Nn.title}`, onClick: () => o(t), children: [
|
|
2673
|
-
/* @__PURE__ */ u("span", { className: Nn.plus, style: { color:
|
|
2673
|
+
/* @__PURE__ */ u("span", { className: Nn.plus, style: { color: y ? n : r }, children: y ? "-" : "+" }),
|
|
2674
2674
|
/* @__PURE__ */ u(
|
|
2675
2675
|
"span",
|
|
2676
2676
|
{
|
|
2677
|
-
style: { color:
|
|
2678
|
-
children:
|
|
2677
|
+
style: { color: y ? n : r },
|
|
2678
|
+
children: p(e.name)
|
|
2679
2679
|
}
|
|
2680
2680
|
)
|
|
2681
2681
|
] }),
|
|
@@ -2694,7 +2694,7 @@ const Xi = ({
|
|
|
2694
2694
|
defaultColor: r,
|
|
2695
2695
|
indicators: $,
|
|
2696
2696
|
activeIndicatorType: g,
|
|
2697
|
-
onChangeType:
|
|
2697
|
+
onChangeType: b
|
|
2698
2698
|
},
|
|
2699
2699
|
`subcKey ${v}`
|
|
2700
2700
|
)
|
|
@@ -2709,7 +2709,7 @@ const Xi = ({
|
|
|
2709
2709
|
onClickIndicator: d,
|
|
2710
2710
|
multiple: h,
|
|
2711
2711
|
activeIndicatorType: g,
|
|
2712
|
-
onChangeType:
|
|
2712
|
+
onChangeType: b
|
|
2713
2713
|
},
|
|
2714
2714
|
`indicator${k}`
|
|
2715
2715
|
)) })
|
|
@@ -2748,20 +2748,20 @@ const Vl = "_indicatorsList_13b3m_2", Fl = "_title_13b3m_6", $o = {
|
|
|
2748
2748
|
changeIndType: a,
|
|
2749
2749
|
activeIndicatorType: l
|
|
2750
2750
|
}) => {
|
|
2751
|
-
const { t: c } = ce(), [d, h] = le(), [g,
|
|
2751
|
+
const { t: c } = ce(), [d, h] = le(), [g, b] = le(), [p, y] = le(), f = (v) => {
|
|
2752
2752
|
h(d == v ? null : v);
|
|
2753
2753
|
}, _ = (v) => {
|
|
2754
|
-
|
|
2754
|
+
b(g == v ? null : v);
|
|
2755
2755
|
}, x = ({ indicator: v }) => {
|
|
2756
2756
|
k(v);
|
|
2757
2757
|
}, k = (v) => {
|
|
2758
2758
|
if (!o)
|
|
2759
|
-
|
|
2760
|
-
(
|
|
2759
|
+
y(
|
|
2760
|
+
(p == null ? void 0 : p.name) == v.name ? null : v
|
|
2761
2761
|
);
|
|
2762
2762
|
else {
|
|
2763
|
-
let C =
|
|
2764
|
-
|
|
2763
|
+
let C = p && p.length > 0 ? [...p] : [];
|
|
2764
|
+
y(
|
|
2765
2765
|
C != null && C.some(
|
|
2766
2766
|
(w) => w.name == v.name
|
|
2767
2767
|
) ? C.filter(
|
|
@@ -2771,19 +2771,19 @@ const Vl = "_indicatorsList_13b3m_2", Fl = "_title_13b3m_6", $o = {
|
|
|
2771
2771
|
}
|
|
2772
2772
|
};
|
|
2773
2773
|
J(() => {
|
|
2774
|
-
r && typeof r == "function" &&
|
|
2775
|
-
}, [
|
|
2776
|
-
if (s && !
|
|
2774
|
+
r && typeof r == "function" && p && r({ activeIndicator: p });
|
|
2775
|
+
}, [p]), Mi(() => {
|
|
2776
|
+
if (s && !p)
|
|
2777
2777
|
if (o && s && Array.isArray(s)) {
|
|
2778
|
-
let v =
|
|
2779
|
-
|
|
2778
|
+
let v = p && p.length > 0 ? [...p] : [];
|
|
2779
|
+
y([...v, ...s]), $(s[0].name);
|
|
2780
2780
|
} else
|
|
2781
2781
|
k(s), $(s.name);
|
|
2782
2782
|
}, []), J(() => {
|
|
2783
|
-
if (s !=
|
|
2783
|
+
if (s != p)
|
|
2784
2784
|
if (o && s && Array.isArray(s)) {
|
|
2785
|
-
let v =
|
|
2786
|
-
|
|
2785
|
+
let v = p && p.length > 0 ? [...p] : [];
|
|
2786
|
+
y([...v, ...s]), $(s[0].name);
|
|
2787
2787
|
} else
|
|
2788
2788
|
k(s), $(s.name);
|
|
2789
2789
|
}, [s]);
|
|
@@ -2791,10 +2791,10 @@ const Vl = "_indicatorsList_13b3m_2", Fl = "_title_13b3m_6", $o = {
|
|
|
2791
2791
|
const C = e.find((w) => {
|
|
2792
2792
|
if (w.subcategories) {
|
|
2793
2793
|
let N = w.subcategories.find(
|
|
2794
|
-
(L) => L.indicators.find((
|
|
2794
|
+
(L) => L.indicators.find((E) => E.name == v)
|
|
2795
2795
|
);
|
|
2796
2796
|
if (N)
|
|
2797
|
-
return
|
|
2797
|
+
return b(N.subcategory), N;
|
|
2798
2798
|
} else
|
|
2799
2799
|
return w.indicators.some((N) => N.name == v);
|
|
2800
2800
|
});
|
|
@@ -2807,12 +2807,12 @@ const Vl = "_indicatorsList_13b3m_2", Fl = "_title_13b3m_6", $o = {
|
|
|
2807
2807
|
{
|
|
2808
2808
|
id: v.category,
|
|
2809
2809
|
cat: v,
|
|
2810
|
-
onClickCategory:
|
|
2810
|
+
onClickCategory: f,
|
|
2811
2811
|
activeCategory: d,
|
|
2812
2812
|
onClickSubCategory: _,
|
|
2813
2813
|
activeSubCategory: g,
|
|
2814
2814
|
onClickIndicator: x,
|
|
2815
|
-
activeIndicator:
|
|
2815
|
+
activeIndicator: p,
|
|
2816
2816
|
activeColor: t,
|
|
2817
2817
|
defaultColor: n,
|
|
2818
2818
|
multiple: o,
|
|
@@ -2993,7 +2993,7 @@ const Hl = "_legendContainer_1l2pz_3", Kl = "_closeButton_1l2pz_43", Gl = "_titl
|
|
|
2993
2993
|
] })
|
|
2994
2994
|
] })
|
|
2995
2995
|
] }) : c.categories && c.categories.length > 0 && /* @__PURE__ */ u("div", { className: Ae.gridContainer, children: c.categories.map(
|
|
2996
|
-
({ title: h, color: g },
|
|
2996
|
+
({ title: h, color: g }, b) => /* @__PURE__ */ S(
|
|
2997
2997
|
"div",
|
|
2998
2998
|
{
|
|
2999
2999
|
className: Ae.elementLegendContainer,
|
|
@@ -3011,7 +3011,7 @@ const Hl = "_legendContainer_1l2pz_3", Kl = "_closeButton_1l2pz_43", Gl = "_titl
|
|
|
3011
3011
|
] })
|
|
3012
3012
|
]
|
|
3013
3013
|
},
|
|
3014
|
-
|
|
3014
|
+
b
|
|
3015
3015
|
)
|
|
3016
3016
|
) }),
|
|
3017
3017
|
c.absolute && c.absolute.noDataColor && /* @__PURE__ */ S("div", { className: Ae.noDataContainer, children: [
|
|
@@ -3584,29 +3584,29 @@ function Sc(e, t, n) {
|
|
|
3584
3584
|
const r = Yt(dc), [o, s] = le(null), a = Se(), { current: l } = Se({ mapLib: null, map: null });
|
|
3585
3585
|
J(() => {
|
|
3586
3586
|
const h = e.mapLib;
|
|
3587
|
-
let g = !0,
|
|
3588
|
-
return Promise.resolve(h || n).then((
|
|
3587
|
+
let g = !0, b;
|
|
3588
|
+
return Promise.resolve(h || n).then((p) => {
|
|
3589
3589
|
if (!g)
|
|
3590
3590
|
return;
|
|
3591
|
-
if (!
|
|
3591
|
+
if (!p)
|
|
3592
3592
|
throw new Error("Invalid mapLib");
|
|
3593
|
-
const
|
|
3594
|
-
if (!
|
|
3593
|
+
const y = "Map" in p ? p : p.default;
|
|
3594
|
+
if (!y.Map)
|
|
3595
3595
|
throw new Error("Invalid mapLib");
|
|
3596
|
-
if (wc(
|
|
3597
|
-
e.reuseMaps && (
|
|
3596
|
+
if (wc(y, e), !y.supported || y.supported(e))
|
|
3597
|
+
e.reuseMaps && (b = Kt.reuse(e, a.current)), b || (b = new Kt(y.Map, e, a.current)), l.map = vc(b), l.mapLib = y, s(b), r == null || r.onMapMount(l.map, e.id);
|
|
3598
3598
|
else
|
|
3599
3599
|
throw new Error("Map is not supported by this browser");
|
|
3600
|
-
}).catch((
|
|
3601
|
-
const { onError:
|
|
3602
|
-
|
|
3600
|
+
}).catch((p) => {
|
|
3601
|
+
const { onError: y } = e;
|
|
3602
|
+
y ? y({
|
|
3603
3603
|
type: "error",
|
|
3604
3604
|
target: null,
|
|
3605
3605
|
originalEvent: null,
|
|
3606
|
-
error:
|
|
3607
|
-
}) : console.error(
|
|
3606
|
+
error: p
|
|
3607
|
+
}) : console.error(p);
|
|
3608
3608
|
}), () => {
|
|
3609
|
-
g = !1,
|
|
3609
|
+
g = !1, b && (r == null || r.onMapUnmount(e.id), e.reuseMaps ? b.recycle() : b.destroy());
|
|
3610
3610
|
};
|
|
3611
3611
|
}, []), _c(() => {
|
|
3612
3612
|
o && o.setProps(e);
|
|
@@ -3639,13 +3639,13 @@ function Tc(e, t) {
|
|
|
3639
3639
|
const { map: n, mapLib: r } = Yt(Xt), o = Se({ props: e });
|
|
3640
3640
|
o.current.props = e;
|
|
3641
3641
|
const s = je(() => {
|
|
3642
|
-
let
|
|
3642
|
+
let f = !1;
|
|
3643
3643
|
Q.Children.forEach(e.children, (k) => {
|
|
3644
|
-
k && (
|
|
3644
|
+
k && (f = !0);
|
|
3645
3645
|
});
|
|
3646
3646
|
const _ = {
|
|
3647
3647
|
...e,
|
|
3648
|
-
element:
|
|
3648
|
+
element: f ? document.createElement("div") : null
|
|
3649
3649
|
}, x = new r.Marker(_);
|
|
3650
3650
|
return x.setLngLat([e.longitude, e.latitude]), x.getElement().addEventListener("click", (k) => {
|
|
3651
3651
|
var $, v;
|
|
@@ -3671,10 +3671,10 @@ function Tc(e, t) {
|
|
|
3671
3671
|
J(() => (s.addTo(n.getMap()), () => {
|
|
3672
3672
|
s.remove();
|
|
3673
3673
|
}), []);
|
|
3674
|
-
const { longitude: a, latitude: l, offset: c, style: d, draggable: h = !1, popup: g = null, rotation:
|
|
3674
|
+
const { longitude: a, latitude: l, offset: c, style: d, draggable: h = !1, popup: g = null, rotation: b = 0, rotationAlignment: p = "auto", pitchAlignment: y = "auto" } = e;
|
|
3675
3675
|
return J(() => {
|
|
3676
3676
|
Mt(s.getElement(), d);
|
|
3677
|
-
}, [d]), Yn(t, () => s, []), (s.getLngLat().lng !== a || s.getLngLat().lat !== l) && s.setLngLat([a, l]), c && !fc(s.getOffset(), c) && s.setOffset(c), s.isDraggable() !== h && s.setDraggable(h), s.getRotation() !==
|
|
3677
|
+
}, [d]), Yn(t, () => s, []), (s.getLngLat().lng !== a || s.getLngLat().lat !== l) && s.setLngLat([a, l]), c && !fc(s.getOffset(), c) && s.setOffset(c), s.isDraggable() !== h && s.setDraggable(h), s.getRotation() !== b && s.setRotation(b), s.getRotationAlignment() !== p && s.setRotationAlignment(p), s.getPitchAlignment() !== y && s.setPitchAlignment(y), s.getPopup() !== g && s.setPopup(g), Vi(e.children, s.getElement());
|
|
3678
3678
|
}
|
|
3679
3679
|
At(Kr(Tc));
|
|
3680
3680
|
function Io(e) {
|
|
@@ -3897,15 +3897,15 @@ const Zc = ({
|
|
|
3897
3897
|
sources: d = [],
|
|
3898
3898
|
layers: h = []
|
|
3899
3899
|
}) => {
|
|
3900
|
-
const g = Se(), [
|
|
3900
|
+
const g = Se(), [b, p] = le(null), y = Us((f) => f.mapState.showTexts);
|
|
3901
3901
|
return J(() => {
|
|
3902
3902
|
if (g.current) {
|
|
3903
|
-
const
|
|
3904
|
-
|
|
3905
|
-
x.type == "symbol" && x.id != "professionals" && (
|
|
3903
|
+
const f = g.current.getMap();
|
|
3904
|
+
f.getStyle().layers.map((x) => {
|
|
3905
|
+
x.type == "symbol" && x.id != "professionals" && (y ? f.setLayoutProperty(x.id, "visibility", "visible") : f.setLayoutProperty(x.id, "visibility", "none"));
|
|
3906
3906
|
});
|
|
3907
3907
|
}
|
|
3908
|
-
}, [
|
|
3908
|
+
}, [y]), /* @__PURE__ */ u("div", { className: `${Uc.mapContainer}`, style: s, children: /* @__PURE__ */ S(
|
|
3909
3909
|
Qi,
|
|
3910
3910
|
{
|
|
3911
3911
|
initialViewState: e,
|
|
@@ -3917,8 +3917,8 @@ const Zc = ({
|
|
|
3917
3917
|
onClick: a,
|
|
3918
3918
|
interactiveLayerIds: l,
|
|
3919
3919
|
children: [
|
|
3920
|
-
d.length && d.map((
|
|
3921
|
-
if (x.sourceId ==
|
|
3920
|
+
d.length && d.map((f, _) => /* @__PURE__ */ u(ns, { ...f, children: h.length && h.map((x, k) => {
|
|
3921
|
+
if (x.sourceId == f.id)
|
|
3922
3922
|
return /* @__PURE__ */ u(
|
|
3923
3923
|
ts,
|
|
3924
3924
|
{
|
|
@@ -3929,13 +3929,13 @@ const Zc = ({
|
|
|
3929
3929
|
);
|
|
3930
3930
|
}) }, _)),
|
|
3931
3931
|
/* @__PURE__ */ u(es, { position: "bottom-right", visualizePitch: !0 }),
|
|
3932
|
-
c &&
|
|
3932
|
+
c && b && /* @__PURE__ */ u(
|
|
3933
3933
|
Ji,
|
|
3934
3934
|
{
|
|
3935
3935
|
longitude: c.longitude,
|
|
3936
3936
|
latitude: c.latitude,
|
|
3937
3937
|
anchor: c.anchor,
|
|
3938
|
-
onClose: () =>
|
|
3938
|
+
onClose: () => p(null),
|
|
3939
3939
|
children: c.content
|
|
3940
3940
|
}
|
|
3941
3941
|
)
|
|
@@ -4019,20 +4019,20 @@ const Hc = "_mapContainer_b0pyr_3", Kc = {
|
|
|
4019
4019
|
layers: d = [],
|
|
4020
4020
|
popUpParams: h,
|
|
4021
4021
|
onClosePopUp: g,
|
|
4022
|
-
showTexts:
|
|
4023
|
-
hash:
|
|
4022
|
+
showTexts: b,
|
|
4023
|
+
hash: p = !1
|
|
4024
4024
|
}) => {
|
|
4025
|
-
const
|
|
4025
|
+
const y = Se();
|
|
4026
4026
|
return J(() => {
|
|
4027
|
-
if (
|
|
4028
|
-
const
|
|
4029
|
-
|
|
4030
|
-
x.type == "symbol" && x.id != "professionals" && (
|
|
4027
|
+
if (y.current) {
|
|
4028
|
+
const f = y.current.getMap();
|
|
4029
|
+
f.getStyle().layers.map((x) => {
|
|
4030
|
+
x.type == "symbol" && x.id != "professionals" && (b ? f.setLayoutProperty(x.id, "visibility", "visible") : f.setLayoutProperty(x.id, "visibility", "none"));
|
|
4031
4031
|
});
|
|
4032
4032
|
}
|
|
4033
|
-
}, [
|
|
4034
|
-
let
|
|
4035
|
-
return gr.addProtocol("pmtiles",
|
|
4033
|
+
}, [b]), J(() => {
|
|
4034
|
+
let f = new Zs();
|
|
4035
|
+
return gr.addProtocol("pmtiles", f.tile), () => {
|
|
4036
4036
|
gr.removeProtocol("pmtiles");
|
|
4037
4037
|
};
|
|
4038
4038
|
}, []), /* @__PURE__ */ u("div", { className: `${Kc.mapContainer}`, style: s, children: /* @__PURE__ */ S(
|
|
@@ -4040,16 +4040,16 @@ const Hc = "_mapContainer_b0pyr_3", Kc = {
|
|
|
4040
4040
|
{
|
|
4041
4041
|
mapLib: gr,
|
|
4042
4042
|
initialViewState: e,
|
|
4043
|
-
ref:
|
|
4044
|
-
hash:
|
|
4043
|
+
ref: y,
|
|
4044
|
+
hash: p,
|
|
4045
4045
|
maxZoom: t,
|
|
4046
4046
|
minZoom: n,
|
|
4047
4047
|
mapStyle: r,
|
|
4048
4048
|
onClick: a,
|
|
4049
4049
|
interactiveLayerIds: l,
|
|
4050
4050
|
children: [
|
|
4051
|
-
c.length && c.map((
|
|
4052
|
-
if (x.sourceId ==
|
|
4051
|
+
c.length && c.map((f, _) => /* @__PURE__ */ u(ns, { ...f, children: d.length && d.map((x, k) => {
|
|
4052
|
+
if (x.sourceId == f.id)
|
|
4053
4053
|
return /* @__PURE__ */ u(
|
|
4054
4054
|
ts,
|
|
4055
4055
|
{
|
|
@@ -4297,17 +4297,17 @@ function p0(e) {
|
|
|
4297
4297
|
className: s
|
|
4298
4298
|
} = e;
|
|
4299
4299
|
if (!t) {
|
|
4300
|
-
const
|
|
4300
|
+
const p = bt(n == null ? void 0 : n.className, s, o == null ? void 0 : o.className, r == null ? void 0 : r.className), y = {
|
|
4301
4301
|
...n == null ? void 0 : n.style,
|
|
4302
4302
|
...o == null ? void 0 : o.style,
|
|
4303
4303
|
...r == null ? void 0 : r.style
|
|
4304
|
-
},
|
|
4304
|
+
}, f = {
|
|
4305
4305
|
...n,
|
|
4306
4306
|
...o,
|
|
4307
4307
|
...r
|
|
4308
4308
|
};
|
|
4309
|
-
return
|
|
4310
|
-
props:
|
|
4309
|
+
return p.length > 0 && (f.className = p), Object.keys(y).length > 0 && (f.style = y), {
|
|
4310
|
+
props: f,
|
|
4311
4311
|
internalRef: void 0
|
|
4312
4312
|
};
|
|
4313
4313
|
}
|
|
@@ -4319,14 +4319,14 @@ function p0(e) {
|
|
|
4319
4319
|
...n == null ? void 0 : n.style,
|
|
4320
4320
|
...o == null ? void 0 : o.style,
|
|
4321
4321
|
...r == null ? void 0 : r.style
|
|
4322
|
-
},
|
|
4322
|
+
}, b = {
|
|
4323
4323
|
...d,
|
|
4324
4324
|
...n,
|
|
4325
4325
|
...c,
|
|
4326
4326
|
...l
|
|
4327
4327
|
};
|
|
4328
|
-
return h.length > 0 && (
|
|
4329
|
-
props:
|
|
4328
|
+
return h.length > 0 && (b.className = h), Object.keys(g).length > 0 && (b.style = g), {
|
|
4329
|
+
props: b,
|
|
4330
4330
|
internalRef: d.ref
|
|
4331
4331
|
};
|
|
4332
4332
|
}
|
|
@@ -4537,14 +4537,14 @@ function S0(e) {
|
|
|
4537
4537
|
name: d,
|
|
4538
4538
|
onChange: h,
|
|
4539
4539
|
onChangeCommitted: g,
|
|
4540
|
-
orientation:
|
|
4541
|
-
rootRef:
|
|
4542
|
-
scale:
|
|
4543
|
-
step:
|
|
4540
|
+
orientation: b = "horizontal",
|
|
4541
|
+
rootRef: p,
|
|
4542
|
+
scale: y = w0,
|
|
4543
|
+
step: f = 1,
|
|
4544
4544
|
shiftStep: _ = 10,
|
|
4545
4545
|
tabIndex: x,
|
|
4546
4546
|
value: k
|
|
4547
|
-
} = e, $ = Q.useRef(void 0), [v, C] = Q.useState(-1), [w, N] = Q.useState(-1), [L,
|
|
4547
|
+
} = e, $ = Q.useRef(void 0), [v, C] = Q.useState(-1), [w, N] = Q.useState(-1), [L, E] = Q.useState(!1), B = Q.useRef(0), V = Q.useRef(null), [m, O] = h0({
|
|
4548
4548
|
controlled: k,
|
|
4549
4549
|
default: n ?? c,
|
|
4550
4550
|
name: "Slider"
|
|
@@ -4557,12 +4557,12 @@ function S0(e) {
|
|
|
4557
4557
|
name: d
|
|
4558
4558
|
}
|
|
4559
4559
|
}), V.current = F, h(be, F, H);
|
|
4560
|
-
}),
|
|
4561
|
-
let
|
|
4562
|
-
|
|
4563
|
-
const Y = a === !0 &&
|
|
4564
|
-
value: c +
|
|
4565
|
-
})) : a || [], W = Y.map((R) => R.value), [ue, D] = Q.useState(-1), M = Q.useRef(null), ee = os(
|
|
4560
|
+
}), z = Array.isArray(m);
|
|
4561
|
+
let j = z ? m.slice().sort(ss) : [m];
|
|
4562
|
+
j = j.map((R) => R == null ? c : Zt(R, c, l));
|
|
4563
|
+
const Y = a === !0 && f !== null ? [...Array(Math.floor((l - c) / f) + 1)].map((R, F) => ({
|
|
4564
|
+
value: c + f * F
|
|
4565
|
+
})) : a || [], W = Y.map((R) => R.value), [ue, D] = Q.useState(-1), M = Q.useRef(null), ee = os(p, M), K = (R) => (F) => {
|
|
4566
4566
|
var ae;
|
|
4567
4567
|
const H = Number(F.currentTarget.getAttribute("data-index"));
|
|
4568
4568
|
Bo(F.target) && D(H), N(H), (ae = R == null ? void 0 : R.onFocus) == null || ae.call(R, F);
|
|
@@ -4570,17 +4570,17 @@ function S0(e) {
|
|
|
4570
4570
|
var H;
|
|
4571
4571
|
Bo(F.target) || D(-1), N(-1), (H = R == null ? void 0 : R.onBlur) == null || H.call(R, F);
|
|
4572
4572
|
}, Z = (R, F) => {
|
|
4573
|
-
const H = Number(R.currentTarget.getAttribute("data-index")), ae =
|
|
4573
|
+
const H = Number(R.currentTarget.getAttribute("data-index")), ae = j[H], be = W.indexOf(ae);
|
|
4574
4574
|
let X = F;
|
|
4575
|
-
if (Y &&
|
|
4575
|
+
if (Y && f == null) {
|
|
4576
4576
|
const Me = W[W.length - 1];
|
|
4577
4577
|
X >= Me ? X = Me : X <= W[0] ? X = W[0] : X = X < ae ? W[be - 1] : W[be + 1];
|
|
4578
4578
|
}
|
|
4579
|
-
if (X = Zt(X, c, l),
|
|
4580
|
-
o && (X = Zt(X,
|
|
4579
|
+
if (X = Zt(X, c, l), z) {
|
|
4580
|
+
o && (X = Zt(X, j[H - 1] || -1 / 0, j[H + 1] || 1 / 0));
|
|
4581
4581
|
const Me = X;
|
|
4582
4582
|
X = jo({
|
|
4583
|
-
values:
|
|
4583
|
+
values: j,
|
|
4584
4584
|
newValue: X,
|
|
4585
4585
|
index: H
|
|
4586
4586
|
});
|
|
@@ -4590,15 +4590,15 @@ function S0(e) {
|
|
|
4590
4590
|
activeIndex: Ve
|
|
4591
4591
|
});
|
|
4592
4592
|
}
|
|
4593
|
-
|
|
4593
|
+
O(X), D(H), T && !An(X, m) && T(R, X, H), g && g(R, V.current ?? X);
|
|
4594
4594
|
}, ne = (R) => (F) => {
|
|
4595
4595
|
var H;
|
|
4596
4596
|
if (["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "PageUp", "PageDown", "Home", "End"].includes(F.key)) {
|
|
4597
4597
|
F.preventDefault();
|
|
4598
|
-
const ae = Number(F.currentTarget.getAttribute("data-index")), be =
|
|
4598
|
+
const ae = Number(F.currentTarget.getAttribute("data-index")), be = j[ae];
|
|
4599
4599
|
let X = null;
|
|
4600
|
-
if (
|
|
4601
|
-
const Me = F.shiftKey ? _ :
|
|
4600
|
+
if (f != null) {
|
|
4601
|
+
const Me = F.shiftKey ? _ : f;
|
|
4602
4602
|
switch (F.key) {
|
|
4603
4603
|
case "ArrowUp":
|
|
4604
4604
|
X = Pt(be, Me, 1, c, l);
|
|
@@ -4641,8 +4641,8 @@ function S0(e) {
|
|
|
4641
4641
|
var H;
|
|
4642
4642
|
(H = R.onChange) == null || H.call(R, F), Z(F, F.target.valueAsNumber);
|
|
4643
4643
|
}, U = Q.useRef(void 0);
|
|
4644
|
-
let oe =
|
|
4645
|
-
s &&
|
|
4644
|
+
let oe = b;
|
|
4645
|
+
s && b === "horizontal" && (oe += "-reverse");
|
|
4646
4646
|
const te = ({
|
|
4647
4647
|
finger: R,
|
|
4648
4648
|
move: F = !1
|
|
@@ -4658,19 +4658,19 @@ function S0(e) {
|
|
|
4658
4658
|
let Ve;
|
|
4659
4659
|
oe.startsWith("vertical") ? Ve = (X - R.y) / be : Ve = (R.x - Me) / ae, oe.includes("-reverse") && (Ve = 1 - Ve);
|
|
4660
4660
|
let Oe;
|
|
4661
|
-
if (Oe = v0(Ve, c, l),
|
|
4662
|
-
Oe = _0(Oe,
|
|
4661
|
+
if (Oe = v0(Ve, c, l), f)
|
|
4662
|
+
Oe = _0(Oe, f, c);
|
|
4663
4663
|
else {
|
|
4664
4664
|
const Jt = zo(W, Oe);
|
|
4665
4665
|
Oe = W[Jt];
|
|
4666
4666
|
}
|
|
4667
4667
|
Oe = Zt(Oe, c, l);
|
|
4668
4668
|
let Ke = 0;
|
|
4669
|
-
if (
|
|
4670
|
-
F ? Ke = U.current : Ke = zo(
|
|
4669
|
+
if (z) {
|
|
4670
|
+
F ? Ke = U.current : Ke = zo(j, Oe), o && (Oe = Zt(Oe, j[Ke - 1] || -1 / 0, j[Ke + 1] || 1 / 0));
|
|
4671
4671
|
const Jt = Oe;
|
|
4672
4672
|
Oe = jo({
|
|
4673
|
-
values:
|
|
4673
|
+
values: j,
|
|
4674
4674
|
newValue: Oe,
|
|
4675
4675
|
index: Ke
|
|
4676
4676
|
}), o && F || (Ke = Oe.indexOf(Jt), U.current = Ke);
|
|
@@ -4683,7 +4683,7 @@ function S0(e) {
|
|
|
4683
4683
|
const F = En(R, $);
|
|
4684
4684
|
if (!F)
|
|
4685
4685
|
return;
|
|
4686
|
-
if (
|
|
4686
|
+
if (B.current += 1, R.type === "mousemove" && R.buttons === 0) {
|
|
4687
4687
|
I(R);
|
|
4688
4688
|
return;
|
|
4689
4689
|
}
|
|
@@ -4698,10 +4698,10 @@ function S0(e) {
|
|
|
4698
4698
|
sliderRef: M,
|
|
4699
4699
|
activeIndex: ae,
|
|
4700
4700
|
setActive: C
|
|
4701
|
-
}),
|
|
4701
|
+
}), O(H), !L && B.current > b0 && E(!0), T && !An(H, m) && T(R, H, ae);
|
|
4702
4702
|
}), I = Tr((R) => {
|
|
4703
4703
|
const F = En(R, $);
|
|
4704
|
-
if (
|
|
4704
|
+
if (E(!1), !F)
|
|
4705
4705
|
return;
|
|
4706
4706
|
const {
|
|
4707
4707
|
newValue: H
|
|
@@ -4728,9 +4728,9 @@ function S0(e) {
|
|
|
4728
4728
|
sliderRef: M,
|
|
4729
4729
|
activeIndex: X,
|
|
4730
4730
|
setActive: C
|
|
4731
|
-
}),
|
|
4731
|
+
}), O(be), T && !An(be, m) && T(R, be, X);
|
|
4732
4732
|
}
|
|
4733
|
-
|
|
4733
|
+
B.current = 0;
|
|
4734
4734
|
const ae = Bn(M.current);
|
|
4735
4735
|
ae.addEventListener("touchmove", de, {
|
|
4736
4736
|
passive: !0
|
|
@@ -4770,14 +4770,14 @@ function S0(e) {
|
|
|
4770
4770
|
sliderRef: M,
|
|
4771
4771
|
activeIndex: Me,
|
|
4772
4772
|
setActive: C
|
|
4773
|
-
}),
|
|
4773
|
+
}), O(X), T && !An(X, m) && T(F, X, Me);
|
|
4774
4774
|
}
|
|
4775
|
-
|
|
4775
|
+
B.current = 0;
|
|
4776
4776
|
const ae = Bn(M.current);
|
|
4777
4777
|
ae.addEventListener("mousemove", de, {
|
|
4778
4778
|
passive: !0
|
|
4779
4779
|
}), ae.addEventListener("mouseup", I);
|
|
4780
|
-
}, q = Zn(
|
|
4780
|
+
}, q = Zn(z ? j[0] : c, c, l), re = Zn(j[j.length - 1], c, l) - q, we = (R = {}) => {
|
|
4781
4781
|
const F = Fn(R), H = {
|
|
4782
4782
|
onMouseDown: tt(F || {})
|
|
4783
4783
|
}, ae = {
|
|
@@ -4812,7 +4812,7 @@ function S0(e) {
|
|
|
4812
4812
|
pointerEvents: v !== -1 && v !== R ? "none" : void 0
|
|
4813
4813
|
});
|
|
4814
4814
|
let _e;
|
|
4815
|
-
return
|
|
4815
|
+
return b === "vertical" && (_e = s ? "vertical-rl" : "vertical-lr"), {
|
|
4816
4816
|
active: v,
|
|
4817
4817
|
axis: oe,
|
|
4818
4818
|
axisProps: x0,
|
|
@@ -4831,9 +4831,9 @@ function S0(e) {
|
|
|
4831
4831
|
return {
|
|
4832
4832
|
tabIndex: x,
|
|
4833
4833
|
"aria-labelledby": t,
|
|
4834
|
-
"aria-orientation":
|
|
4835
|
-
"aria-valuemax":
|
|
4836
|
-
"aria-valuemin":
|
|
4834
|
+
"aria-orientation": b,
|
|
4835
|
+
"aria-valuemax": y(l),
|
|
4836
|
+
"aria-valuemin": y(c),
|
|
4837
4837
|
name: d,
|
|
4838
4838
|
type: "range",
|
|
4839
4839
|
min: e.min,
|
|
@@ -4856,11 +4856,11 @@ function S0(e) {
|
|
|
4856
4856
|
getThumbProps: qe,
|
|
4857
4857
|
marks: Y,
|
|
4858
4858
|
open: w,
|
|
4859
|
-
range:
|
|
4859
|
+
range: z,
|
|
4860
4860
|
rootRef: ee,
|
|
4861
4861
|
trackLeap: re,
|
|
4862
4862
|
trackOffset: q,
|
|
4863
|
-
values:
|
|
4863
|
+
values: j,
|
|
4864
4864
|
getThumbStyle: Je
|
|
4865
4865
|
};
|
|
4866
4866
|
}
|
|
@@ -4887,29 +4887,29 @@ var Wo;
|
|
|
4887
4887
|
function k0() {
|
|
4888
4888
|
if (Wo) return ge;
|
|
4889
4889
|
Wo = 1;
|
|
4890
|
-
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), a = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), g = Symbol.for("react.lazy"),
|
|
4891
|
-
function
|
|
4892
|
-
if (typeof
|
|
4893
|
-
var _ =
|
|
4890
|
+
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), a = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), b = Symbol.for("react.view_transition"), p = Symbol.for("react.client.reference");
|
|
4891
|
+
function y(f) {
|
|
4892
|
+
if (typeof f == "object" && f !== null) {
|
|
4893
|
+
var _ = f.$$typeof;
|
|
4894
4894
|
switch (_) {
|
|
4895
4895
|
case e:
|
|
4896
|
-
switch (
|
|
4896
|
+
switch (f = f.type, f) {
|
|
4897
4897
|
case n:
|
|
4898
4898
|
case o:
|
|
4899
4899
|
case r:
|
|
4900
4900
|
case c:
|
|
4901
4901
|
case d:
|
|
4902
|
-
case
|
|
4903
|
-
return
|
|
4902
|
+
case b:
|
|
4903
|
+
return f;
|
|
4904
4904
|
default:
|
|
4905
|
-
switch (
|
|
4905
|
+
switch (f = f && f.$$typeof, f) {
|
|
4906
4906
|
case a:
|
|
4907
4907
|
case l:
|
|
4908
4908
|
case g:
|
|
4909
4909
|
case h:
|
|
4910
|
-
return
|
|
4910
|
+
return f;
|
|
4911
4911
|
case s:
|
|
4912
|
-
return
|
|
4912
|
+
return f;
|
|
4913
4913
|
default:
|
|
4914
4914
|
return _;
|
|
4915
4915
|
}
|
|
@@ -4919,33 +4919,33 @@ function k0() {
|
|
|
4919
4919
|
}
|
|
4920
4920
|
}
|
|
4921
4921
|
}
|
|
4922
|
-
return ge.ContextConsumer = s, ge.ContextProvider = a, ge.Element = e, ge.ForwardRef = l, ge.Fragment = n, ge.Lazy = g, ge.Memo = h, ge.Portal = t, ge.Profiler = o, ge.StrictMode = r, ge.Suspense = c, ge.SuspenseList = d, ge.isContextConsumer = function(
|
|
4923
|
-
return
|
|
4924
|
-
}, ge.isContextProvider = function(
|
|
4925
|
-
return
|
|
4926
|
-
}, ge.isElement = function(
|
|
4927
|
-
return typeof
|
|
4928
|
-
}, ge.isForwardRef = function(
|
|
4929
|
-
return
|
|
4930
|
-
}, ge.isFragment = function(
|
|
4931
|
-
return
|
|
4932
|
-
}, ge.isLazy = function(
|
|
4933
|
-
return
|
|
4934
|
-
}, ge.isMemo = function(
|
|
4935
|
-
return
|
|
4936
|
-
}, ge.isPortal = function(
|
|
4937
|
-
return
|
|
4938
|
-
}, ge.isProfiler = function(
|
|
4939
|
-
return
|
|
4940
|
-
}, ge.isStrictMode = function(
|
|
4941
|
-
return
|
|
4942
|
-
}, ge.isSuspense = function(
|
|
4943
|
-
return
|
|
4944
|
-
}, ge.isSuspenseList = function(
|
|
4945
|
-
return
|
|
4946
|
-
}, ge.isValidElementType = function(
|
|
4947
|
-
return typeof
|
|
4948
|
-
}, ge.typeOf =
|
|
4922
|
+
return ge.ContextConsumer = s, ge.ContextProvider = a, ge.Element = e, ge.ForwardRef = l, ge.Fragment = n, ge.Lazy = g, ge.Memo = h, ge.Portal = t, ge.Profiler = o, ge.StrictMode = r, ge.Suspense = c, ge.SuspenseList = d, ge.isContextConsumer = function(f) {
|
|
4923
|
+
return y(f) === s;
|
|
4924
|
+
}, ge.isContextProvider = function(f) {
|
|
4925
|
+
return y(f) === a;
|
|
4926
|
+
}, ge.isElement = function(f) {
|
|
4927
|
+
return typeof f == "object" && f !== null && f.$$typeof === e;
|
|
4928
|
+
}, ge.isForwardRef = function(f) {
|
|
4929
|
+
return y(f) === l;
|
|
4930
|
+
}, ge.isFragment = function(f) {
|
|
4931
|
+
return y(f) === n;
|
|
4932
|
+
}, ge.isLazy = function(f) {
|
|
4933
|
+
return y(f) === g;
|
|
4934
|
+
}, ge.isMemo = function(f) {
|
|
4935
|
+
return y(f) === h;
|
|
4936
|
+
}, ge.isPortal = function(f) {
|
|
4937
|
+
return y(f) === t;
|
|
4938
|
+
}, ge.isProfiler = function(f) {
|
|
4939
|
+
return y(f) === o;
|
|
4940
|
+
}, ge.isStrictMode = function(f) {
|
|
4941
|
+
return y(f) === r;
|
|
4942
|
+
}, ge.isSuspense = function(f) {
|
|
4943
|
+
return y(f) === c;
|
|
4944
|
+
}, ge.isSuspenseList = function(f) {
|
|
4945
|
+
return y(f) === d;
|
|
4946
|
+
}, ge.isValidElementType = function(f) {
|
|
4947
|
+
return typeof f == "string" || typeof f == "function" || f === n || f === o || f === r || f === c || f === d || typeof f == "object" && f !== null && (f.$$typeof === g || f.$$typeof === h || f.$$typeof === a || f.$$typeof === s || f.$$typeof === l || f.$$typeof === p || f.getModuleId !== void 0);
|
|
4948
|
+
}, ge.typeOf = y, ge;
|
|
4949
4949
|
}
|
|
4950
4950
|
var ye = {};
|
|
4951
4951
|
/**
|
|
@@ -4960,28 +4960,28 @@ var ye = {};
|
|
|
4960
4960
|
var Uo;
|
|
4961
4961
|
function T0() {
|
|
4962
4962
|
return Uo || (Uo = 1, process.env.NODE_ENV !== "production" && function() {
|
|
4963
|
-
function e(
|
|
4964
|
-
if (typeof
|
|
4965
|
-
var _ =
|
|
4963
|
+
function e(f) {
|
|
4964
|
+
if (typeof f == "object" && f !== null) {
|
|
4965
|
+
var _ = f.$$typeof;
|
|
4966
4966
|
switch (_) {
|
|
4967
4967
|
case t:
|
|
4968
|
-
switch (
|
|
4968
|
+
switch (f = f.type, f) {
|
|
4969
4969
|
case r:
|
|
4970
4970
|
case s:
|
|
4971
4971
|
case o:
|
|
4972
4972
|
case d:
|
|
4973
4973
|
case h:
|
|
4974
|
-
case
|
|
4975
|
-
return
|
|
4974
|
+
case p:
|
|
4975
|
+
return f;
|
|
4976
4976
|
default:
|
|
4977
|
-
switch (
|
|
4977
|
+
switch (f = f && f.$$typeof, f) {
|
|
4978
4978
|
case l:
|
|
4979
4979
|
case c:
|
|
4980
|
-
case
|
|
4980
|
+
case b:
|
|
4981
4981
|
case g:
|
|
4982
|
-
return
|
|
4982
|
+
return f;
|
|
4983
4983
|
case a:
|
|
4984
|
-
return
|
|
4984
|
+
return f;
|
|
4985
4985
|
default:
|
|
4986
4986
|
return _;
|
|
4987
4987
|
}
|
|
@@ -4991,33 +4991,33 @@ function T0() {
|
|
|
4991
4991
|
}
|
|
4992
4992
|
}
|
|
4993
4993
|
}
|
|
4994
|
-
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"),
|
|
4995
|
-
ye.ContextConsumer = a, ye.ContextProvider = l, ye.Element = t, ye.ForwardRef = c, ye.Fragment = r, ye.Lazy =
|
|
4996
|
-
return e(
|
|
4997
|
-
}, ye.isContextProvider = function(
|
|
4998
|
-
return e(
|
|
4999
|
-
}, ye.isElement = function(
|
|
5000
|
-
return typeof
|
|
5001
|
-
}, ye.isForwardRef = function(
|
|
5002
|
-
return e(
|
|
5003
|
-
}, ye.isFragment = function(
|
|
5004
|
-
return e(
|
|
5005
|
-
}, ye.isLazy = function(
|
|
5006
|
-
return e(
|
|
5007
|
-
}, ye.isMemo = function(
|
|
5008
|
-
return e(
|
|
5009
|
-
}, ye.isPortal = function(
|
|
5010
|
-
return e(
|
|
5011
|
-
}, ye.isProfiler = function(
|
|
5012
|
-
return e(
|
|
5013
|
-
}, ye.isStrictMode = function(
|
|
5014
|
-
return e(
|
|
5015
|
-
}, ye.isSuspense = function(
|
|
5016
|
-
return e(
|
|
5017
|
-
}, ye.isSuspenseList = function(
|
|
5018
|
-
return e(
|
|
5019
|
-
}, ye.isValidElementType = function(
|
|
5020
|
-
return typeof
|
|
4994
|
+
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition"), y = Symbol.for("react.client.reference");
|
|
4995
|
+
ye.ContextConsumer = a, ye.ContextProvider = l, ye.Element = t, ye.ForwardRef = c, ye.Fragment = r, ye.Lazy = b, ye.Memo = g, ye.Portal = n, ye.Profiler = s, ye.StrictMode = o, ye.Suspense = d, ye.SuspenseList = h, ye.isContextConsumer = function(f) {
|
|
4996
|
+
return e(f) === a;
|
|
4997
|
+
}, ye.isContextProvider = function(f) {
|
|
4998
|
+
return e(f) === l;
|
|
4999
|
+
}, ye.isElement = function(f) {
|
|
5000
|
+
return typeof f == "object" && f !== null && f.$$typeof === t;
|
|
5001
|
+
}, ye.isForwardRef = function(f) {
|
|
5002
|
+
return e(f) === c;
|
|
5003
|
+
}, ye.isFragment = function(f) {
|
|
5004
|
+
return e(f) === r;
|
|
5005
|
+
}, ye.isLazy = function(f) {
|
|
5006
|
+
return e(f) === b;
|
|
5007
|
+
}, ye.isMemo = function(f) {
|
|
5008
|
+
return e(f) === g;
|
|
5009
|
+
}, ye.isPortal = function(f) {
|
|
5010
|
+
return e(f) === n;
|
|
5011
|
+
}, ye.isProfiler = function(f) {
|
|
5012
|
+
return e(f) === s;
|
|
5013
|
+
}, ye.isStrictMode = function(f) {
|
|
5014
|
+
return e(f) === o;
|
|
5015
|
+
}, ye.isSuspense = function(f) {
|
|
5016
|
+
return e(f) === d;
|
|
5017
|
+
}, ye.isSuspenseList = function(f) {
|
|
5018
|
+
return e(f) === h;
|
|
5019
|
+
}, ye.isValidElementType = function(f) {
|
|
5020
|
+
return typeof f == "string" || typeof f == "function" || f === r || f === s || f === o || f === d || f === h || typeof f == "object" && f !== null && (f.$$typeof === b || f.$$typeof === g || f.$$typeof === l || f.$$typeof === a || f.$$typeof === c || f.$$typeof === y || f.getModuleId !== void 0);
|
|
5021
5021
|
}, ye.typeOf = e;
|
|
5022
5022
|
}()), ye;
|
|
5023
5023
|
}
|
|
@@ -5190,9 +5190,9 @@ function $e(e) {
|
|
|
5190
5190
|
return null;
|
|
5191
5191
|
const l = a[t], c = a.theme, d = Jn(c, r) || {};
|
|
5192
5192
|
return dt(a, l, (g) => {
|
|
5193
|
-
let
|
|
5194
|
-
return g ===
|
|
5195
|
-
[n]:
|
|
5193
|
+
let b = Kn(d, o, g);
|
|
5194
|
+
return g === b && typeof g == "string" && (b = Kn(d, o, `${t}${g === "default" ? "" : et(g)}`, g)), n === !1 ? b : {
|
|
5195
|
+
[n]: b
|
|
5196
5196
|
};
|
|
5197
5197
|
});
|
|
5198
5198
|
};
|
|
@@ -5748,11 +5748,11 @@ function b2() {
|
|
|
5748
5748
|
return {
|
|
5749
5749
|
[n]: r
|
|
5750
5750
|
};
|
|
5751
|
-
const
|
|
5752
|
-
return g ? g(a) : dt(a, r, (
|
|
5753
|
-
let
|
|
5754
|
-
return
|
|
5755
|
-
[c]:
|
|
5751
|
+
const b = Jn(o, d) || {};
|
|
5752
|
+
return g ? g(a) : dt(a, r, (y) => {
|
|
5753
|
+
let f = Kn(b, h, y);
|
|
5754
|
+
return y === f && typeof y == "string" && (f = Kn(b, h, `${n}${y === "default" ? "" : et(y)}`, y)), c === !1 ? f : {
|
|
5755
|
+
[c]: f
|
|
5756
5756
|
};
|
|
5757
5757
|
});
|
|
5758
5758
|
}
|
|
@@ -5774,30 +5774,30 @@ function b2() {
|
|
|
5774
5774
|
if (!d)
|
|
5775
5775
|
return null;
|
|
5776
5776
|
const h = L0(o.breakpoints), g = Object.keys(h);
|
|
5777
|
-
let
|
|
5778
|
-
return Object.keys(d).forEach((
|
|
5779
|
-
const
|
|
5780
|
-
if (
|
|
5781
|
-
if (typeof
|
|
5782
|
-
if (a[
|
|
5783
|
-
|
|
5777
|
+
let b = h;
|
|
5778
|
+
return Object.keys(d).forEach((p) => {
|
|
5779
|
+
const y = y2(d[p], o);
|
|
5780
|
+
if (y != null)
|
|
5781
|
+
if (typeof y == "object")
|
|
5782
|
+
if (a[p])
|
|
5783
|
+
b = fn(b, e(p, y, o, a));
|
|
5784
5784
|
else {
|
|
5785
|
-
const
|
|
5785
|
+
const f = dt({
|
|
5786
5786
|
theme: o
|
|
5787
|
-
},
|
|
5788
|
-
[
|
|
5787
|
+
}, y, (_) => ({
|
|
5788
|
+
[p]: _
|
|
5789
5789
|
}));
|
|
5790
|
-
g2(
|
|
5791
|
-
sx:
|
|
5790
|
+
g2(f, y) ? b[p] = t({
|
|
5791
|
+
sx: y,
|
|
5792
5792
|
theme: o,
|
|
5793
5793
|
nested: !0
|
|
5794
|
-
}) :
|
|
5794
|
+
}) : b = fn(b, f);
|
|
5795
5795
|
}
|
|
5796
5796
|
else
|
|
5797
|
-
|
|
5797
|
+
b = fn(b, e(p, y, o, a));
|
|
5798
5798
|
}), !s && o.modularCssLayers ? {
|
|
5799
|
-
"@layer sx": Ho(o, Go(g,
|
|
5800
|
-
} : Ho(o, Go(g,
|
|
5799
|
+
"@layer sx": Ho(o, Go(g, b))
|
|
5800
|
+
} : Ho(o, Go(g, b));
|
|
5801
5801
|
}
|
|
5802
5802
|
return Array.isArray(r) ? r.map(l) : l(r);
|
|
5803
5803
|
}
|
|
@@ -6046,22 +6046,22 @@ function E2(e) {
|
|
|
6046
6046
|
step: r = 5,
|
|
6047
6047
|
...o
|
|
6048
6048
|
} = e, s = N2(t), a = Object.keys(s);
|
|
6049
|
-
function l(
|
|
6050
|
-
return `@media (min-width:${typeof t[
|
|
6049
|
+
function l(b) {
|
|
6050
|
+
return `@media (min-width:${typeof t[b] == "number" ? t[b] : b}${n})`;
|
|
6051
6051
|
}
|
|
6052
|
-
function c(
|
|
6053
|
-
return `@media (max-width:${(typeof t[
|
|
6052
|
+
function c(b) {
|
|
6053
|
+
return `@media (max-width:${(typeof t[b] == "number" ? t[b] : b) - r / 100}${n})`;
|
|
6054
6054
|
}
|
|
6055
|
-
function d(
|
|
6056
|
-
const
|
|
6057
|
-
return `@media (min-width:${typeof t[
|
|
6055
|
+
function d(b, p) {
|
|
6056
|
+
const y = a.indexOf(p);
|
|
6057
|
+
return `@media (min-width:${typeof t[b] == "number" ? t[b] : b}${n}) and (max-width:${(y !== -1 && typeof t[a[y]] == "number" ? t[a[y]] : p) - r / 100}${n})`;
|
|
6058
6058
|
}
|
|
6059
|
-
function h(
|
|
6060
|
-
return a.indexOf(
|
|
6059
|
+
function h(b) {
|
|
6060
|
+
return a.indexOf(b) + 1 < a.length ? d(b, a[a.indexOf(b) + 1]) : l(b);
|
|
6061
6061
|
}
|
|
6062
|
-
function g(
|
|
6063
|
-
const
|
|
6064
|
-
return
|
|
6062
|
+
function g(b) {
|
|
6063
|
+
const p = a.indexOf(b);
|
|
6064
|
+
return p === 0 ? l(a[1]) : p === a.length - 1 ? c(a[p]) : d(b, a[a.indexOf(b) + 1]).replace("@media", "@media not all and");
|
|
6065
6065
|
}
|
|
6066
6066
|
return {
|
|
6067
6067
|
keys: a,
|
|
@@ -6281,57 +6281,57 @@ function B2(e = {}) {
|
|
|
6281
6281
|
name: d,
|
|
6282
6282
|
slot: h,
|
|
6283
6283
|
skipVariantsResolver: g,
|
|
6284
|
-
skipSx:
|
|
6284
|
+
skipSx: b,
|
|
6285
6285
|
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
6286
6286
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
6287
|
-
overridesResolver:
|
|
6288
|
-
...
|
|
6289
|
-
} = c,
|
|
6287
|
+
overridesResolver: p = V2(hs(h)),
|
|
6288
|
+
...y
|
|
6289
|
+
} = c, f = d && d.startsWith("Mui") || h ? "components" : "custom", _ = g !== void 0 ? g : (
|
|
6290
6290
|
// TODO v6: remove `Root` in the next major release
|
|
6291
6291
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
6292
6292
|
h && h !== "Root" && h !== "root" || !1
|
|
6293
|
-
), x =
|
|
6293
|
+
), x = b || !1;
|
|
6294
6294
|
let k = Nr;
|
|
6295
6295
|
h === "Root" || h === "root" ? k = r : h ? k = o : W2(l) && (k = void 0);
|
|
6296
6296
|
const $ = T2(l, {
|
|
6297
6297
|
shouldForwardProp: k,
|
|
6298
6298
|
label: j2(d, h),
|
|
6299
|
-
...
|
|
6299
|
+
...y
|
|
6300
6300
|
}), v = (w) => {
|
|
6301
6301
|
if (w.__emotion_real === w)
|
|
6302
6302
|
return w;
|
|
6303
6303
|
if (typeof w == "function")
|
|
6304
6304
|
return function(L) {
|
|
6305
|
-
return zn(L, w, L.theme.modularCssLayers ?
|
|
6305
|
+
return zn(L, w, L.theme.modularCssLayers ? f : void 0);
|
|
6306
6306
|
};
|
|
6307
6307
|
if (ct(w)) {
|
|
6308
6308
|
const N = ps(w);
|
|
6309
|
-
return function(
|
|
6310
|
-
return N.variants ? zn(
|
|
6309
|
+
return function(E) {
|
|
6310
|
+
return N.variants ? zn(E, N, E.theme.modularCssLayers ? f : void 0) : E.theme.modularCssLayers ? $t(N.style, f) : N.style;
|
|
6311
6311
|
};
|
|
6312
6312
|
}
|
|
6313
6313
|
return w;
|
|
6314
6314
|
}, C = (...w) => {
|
|
6315
|
-
const N = [], L = w.map(v),
|
|
6316
|
-
if (N.push(s), d &&
|
|
6315
|
+
const N = [], L = w.map(v), E = [];
|
|
6316
|
+
if (N.push(s), d && p && E.push(function(O) {
|
|
6317
6317
|
var Y, W;
|
|
6318
|
-
const
|
|
6319
|
-
if (!
|
|
6318
|
+
const z = (W = (Y = O.theme.components) == null ? void 0 : Y[d]) == null ? void 0 : W.styleOverrides;
|
|
6319
|
+
if (!z)
|
|
6320
6320
|
return null;
|
|
6321
|
-
const
|
|
6322
|
-
for (const ue in
|
|
6323
|
-
|
|
6324
|
-
return
|
|
6325
|
-
}), d && !_ &&
|
|
6326
|
-
var
|
|
6327
|
-
const T =
|
|
6328
|
-
return
|
|
6329
|
-
}), x ||
|
|
6330
|
-
const m = L.shift(),
|
|
6331
|
-
let
|
|
6332
|
-
|
|
6321
|
+
const j = {};
|
|
6322
|
+
for (const ue in z)
|
|
6323
|
+
j[ue] = zn(O, z[ue], O.theme.modularCssLayers ? "theme" : void 0);
|
|
6324
|
+
return p(O, j);
|
|
6325
|
+
}), d && !_ && E.push(function(O) {
|
|
6326
|
+
var j, Y;
|
|
6327
|
+
const T = O.theme, z = (Y = (j = T == null ? void 0 : T.components) == null ? void 0 : j[d]) == null ? void 0 : Y.variants;
|
|
6328
|
+
return z ? ms(O, z, [], O.theme.modularCssLayers ? "theme" : void 0) : null;
|
|
6329
|
+
}), x || E.push(Gt), Array.isArray(L[0])) {
|
|
6330
|
+
const m = L.shift(), O = new Array(N.length).fill(""), T = new Array(E.length).fill("");
|
|
6331
|
+
let z;
|
|
6332
|
+
z = [...O, ...m, ...T], z.raw = [...O, ...m.raw, ...T], N.unshift(z);
|
|
6333
6333
|
}
|
|
6334
|
-
const
|
|
6334
|
+
const B = [...N, ...L, ...E], V = $(...B);
|
|
6335
6335
|
return l.muiName && (V.muiName = l.muiName), process.env.NODE_ENV !== "production" && (V.displayName = z2(d, h, l)), V;
|
|
6336
6336
|
};
|
|
6337
6337
|
return $.withConfig && (C.withConfig = $.withConfig), C;
|
|
@@ -6613,11 +6613,11 @@ function t1(e, t = {}) {
|
|
|
6613
6613
|
} = e, {
|
|
6614
6614
|
vars: h,
|
|
6615
6615
|
css: g,
|
|
6616
|
-
varsWithDefaults:
|
|
6616
|
+
varsWithDefaults: b
|
|
6617
6617
|
} = Er(d, t);
|
|
6618
|
-
let
|
|
6619
|
-
const
|
|
6620
|
-
[c]:
|
|
6618
|
+
let p = b;
|
|
6619
|
+
const y = {}, {
|
|
6620
|
+
[c]: f,
|
|
6621
6621
|
..._
|
|
6622
6622
|
} = a;
|
|
6623
6623
|
if (Object.entries(_ || {}).forEach(([v, C]) => {
|
|
@@ -6626,17 +6626,17 @@ function t1(e, t = {}) {
|
|
|
6626
6626
|
css: N,
|
|
6627
6627
|
varsWithDefaults: L
|
|
6628
6628
|
} = Er(C, t);
|
|
6629
|
-
|
|
6629
|
+
p = He(p, L), y[v] = {
|
|
6630
6630
|
css: N,
|
|
6631
6631
|
vars: w
|
|
6632
6632
|
};
|
|
6633
|
-
}),
|
|
6633
|
+
}), f) {
|
|
6634
6634
|
const {
|
|
6635
6635
|
css: v,
|
|
6636
6636
|
vars: C,
|
|
6637
6637
|
varsWithDefaults: w
|
|
6638
|
-
} = Er(
|
|
6639
|
-
|
|
6638
|
+
} = Er(f, t);
|
|
6639
|
+
p = He(p, w), y[c] = {
|
|
6640
6640
|
css: v,
|
|
6641
6641
|
vars: C
|
|
6642
6642
|
};
|
|
@@ -6657,19 +6657,19 @@ function t1(e, t = {}) {
|
|
|
6657
6657
|
return ":root";
|
|
6658
6658
|
}
|
|
6659
6659
|
return {
|
|
6660
|
-
vars:
|
|
6660
|
+
vars: p,
|
|
6661
6661
|
generateThemeVars: () => {
|
|
6662
6662
|
let v = {
|
|
6663
6663
|
...h
|
|
6664
6664
|
};
|
|
6665
|
-
return Object.entries(
|
|
6665
|
+
return Object.entries(y).forEach(([, {
|
|
6666
6666
|
vars: C
|
|
6667
6667
|
}]) => {
|
|
6668
6668
|
v = He(v, C);
|
|
6669
6669
|
}), v;
|
|
6670
6670
|
},
|
|
6671
6671
|
generateStyleSheets: () => {
|
|
6672
|
-
var
|
|
6672
|
+
var E, B;
|
|
6673
6673
|
const v = [], C = e.defaultColorScheme || "light";
|
|
6674
6674
|
function w(V, m) {
|
|
6675
6675
|
Object.keys(m).length && v.push(typeof V == "string" ? {
|
|
@@ -6684,26 +6684,26 @@ function t1(e, t = {}) {
|
|
|
6684
6684
|
const {
|
|
6685
6685
|
[C]: N,
|
|
6686
6686
|
...L
|
|
6687
|
-
} =
|
|
6687
|
+
} = y;
|
|
6688
6688
|
if (N) {
|
|
6689
6689
|
const {
|
|
6690
6690
|
css: V
|
|
6691
|
-
} = N, m = (
|
|
6691
|
+
} = N, m = (B = (E = a[C]) == null ? void 0 : E.palette) == null ? void 0 : B.mode, O = !r && m ? {
|
|
6692
6692
|
colorScheme: m,
|
|
6693
6693
|
...V
|
|
6694
6694
|
} : {
|
|
6695
6695
|
...V
|
|
6696
6696
|
};
|
|
6697
6697
|
w(n(C, {
|
|
6698
|
-
...
|
|
6699
|
-
}),
|
|
6698
|
+
...O
|
|
6699
|
+
}), O);
|
|
6700
6700
|
}
|
|
6701
6701
|
return Object.entries(L).forEach(([V, {
|
|
6702
6702
|
css: m
|
|
6703
6703
|
}]) => {
|
|
6704
|
-
var
|
|
6705
|
-
const
|
|
6706
|
-
colorScheme:
|
|
6704
|
+
var z, j;
|
|
6705
|
+
const O = (j = (z = a[V]) == null ? void 0 : z.palette) == null ? void 0 : j.mode, T = !r && O ? {
|
|
6706
|
+
colorScheme: O,
|
|
6707
6707
|
...m
|
|
6708
6708
|
} : {
|
|
6709
6709
|
...m
|
|
@@ -6941,7 +6941,7 @@ function oo(e) {
|
|
|
6941
6941
|
colorSpace: o,
|
|
6942
6942
|
...s
|
|
6943
6943
|
} = e, a = e.primary || o1(t), l = e.secondary || i1(t), c = e.error || s1(t), d = e.info || a1(t), h = e.success || l1(t), g = e.warning || c1(t);
|
|
6944
|
-
function
|
|
6944
|
+
function b(_) {
|
|
6945
6945
|
if (o)
|
|
6946
6946
|
return u1(_);
|
|
6947
6947
|
const x = ri(_, Wr.text.primary) >= n ? Wr.text.primary : vs.text.primary;
|
|
@@ -6952,7 +6952,7 @@ function oo(e) {
|
|
|
6952
6952
|
}
|
|
6953
6953
|
return x;
|
|
6954
6954
|
}
|
|
6955
|
-
const
|
|
6955
|
+
const p = ({
|
|
6956
6956
|
color: _,
|
|
6957
6957
|
name: x,
|
|
6958
6958
|
mainShade: k = 500,
|
|
@@ -6979,10 +6979,10 @@ const theme1 = createTheme({ palette: {
|
|
|
6979
6979
|
const theme2 = createTheme({ palette: {
|
|
6980
6980
|
primary: { main: green[500] },
|
|
6981
6981
|
} });` : Et(12, x ? ` (${x})` : "", JSON.stringify(_.main)));
|
|
6982
|
-
return o ? (ai(o, _, "light", $, r), ai(o, _, "dark", v, r)) : (si(_, "light", $, r), si(_, "dark", v, r)), _.contrastText || (_.contrastText =
|
|
6982
|
+
return o ? (ai(o, _, "light", $, r), ai(o, _, "dark", v, r)) : (si(_, "light", $, r), si(_, "dark", v, r)), _.contrastText || (_.contrastText = b(_.main)), _;
|
|
6983
6983
|
};
|
|
6984
|
-
let
|
|
6985
|
-
return t === "light" ?
|
|
6984
|
+
let y;
|
|
6985
|
+
return t === "light" ? y = bs() : t === "dark" && (y = Cs()), process.env.NODE_ENV !== "production" && (y || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), He({
|
|
6986
6986
|
// A collection of common colors.
|
|
6987
6987
|
common: {
|
|
6988
6988
|
...mn
|
|
@@ -6991,12 +6991,12 @@ const theme2 = createTheme({ palette: {
|
|
|
6991
6991
|
// The palette mode, can be light or dark.
|
|
6992
6992
|
mode: t,
|
|
6993
6993
|
// The colors used to represent primary interface elements for a user.
|
|
6994
|
-
primary:
|
|
6994
|
+
primary: p({
|
|
6995
6995
|
color: a,
|
|
6996
6996
|
name: "primary"
|
|
6997
6997
|
}),
|
|
6998
6998
|
// The colors used to represent secondary interface elements for a user.
|
|
6999
|
-
secondary:
|
|
6999
|
+
secondary: p({
|
|
7000
7000
|
color: l,
|
|
7001
7001
|
name: "secondary",
|
|
7002
7002
|
mainShade: "A400",
|
|
@@ -7004,22 +7004,22 @@ const theme2 = createTheme({ palette: {
|
|
|
7004
7004
|
darkShade: "A700"
|
|
7005
7005
|
}),
|
|
7006
7006
|
// The colors used to represent interface elements that the user should be made aware of.
|
|
7007
|
-
error:
|
|
7007
|
+
error: p({
|
|
7008
7008
|
color: c,
|
|
7009
7009
|
name: "error"
|
|
7010
7010
|
}),
|
|
7011
7011
|
// The colors used to represent potentially dangerous actions or important messages.
|
|
7012
|
-
warning:
|
|
7012
|
+
warning: p({
|
|
7013
7013
|
color: g,
|
|
7014
7014
|
name: "warning"
|
|
7015
7015
|
}),
|
|
7016
7016
|
// The colors used to present information to the user that is neutral and not necessarily important.
|
|
7017
|
-
info:
|
|
7017
|
+
info: p({
|
|
7018
7018
|
color: d,
|
|
7019
7019
|
name: "info"
|
|
7020
7020
|
}),
|
|
7021
7021
|
// The colors used to indicate the successful completion of an action that user triggered.
|
|
7022
|
-
success:
|
|
7022
|
+
success: p({
|
|
7023
7023
|
color: h,
|
|
7024
7024
|
name: "success"
|
|
7025
7025
|
}),
|
|
@@ -7029,15 +7029,15 @@ const theme2 = createTheme({ palette: {
|
|
|
7029
7029
|
// the background and the text.
|
|
7030
7030
|
contrastThreshold: n,
|
|
7031
7031
|
// Takes a background color and returns the text color that maximizes the contrast.
|
|
7032
|
-
getContrastText:
|
|
7032
|
+
getContrastText: b,
|
|
7033
7033
|
// Generate a rich color object.
|
|
7034
|
-
augmentColor:
|
|
7034
|
+
augmentColor: p,
|
|
7035
7035
|
// Used by the functions below to shift a color's luminance by approximately
|
|
7036
7036
|
// two indexes within its tonal palette.
|
|
7037
7037
|
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
7038
7038
|
tonalOffset: r,
|
|
7039
7039
|
// The light and dark mode object.
|
|
7040
|
-
...
|
|
7040
|
+
...y
|
|
7041
7041
|
}, s);
|
|
7042
7042
|
}
|
|
7043
7043
|
function d1(e) {
|
|
@@ -7088,10 +7088,10 @@ function m1(e, t) {
|
|
|
7088
7088
|
...g
|
|
7089
7089
|
} = typeof t == "function" ? t(e) : t;
|
|
7090
7090
|
process.env.NODE_ENV !== "production" && (typeof r != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof c != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
7091
|
-
const
|
|
7091
|
+
const b = r / 14, p = h || ((_) => `${_ / c * b}rem`), y = (_, x, k, $, v) => ({
|
|
7092
7092
|
fontFamily: n,
|
|
7093
7093
|
fontWeight: _,
|
|
7094
|
-
fontSize:
|
|
7094
|
+
fontSize: p(x),
|
|
7095
7095
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
7096
7096
|
lineHeight: k,
|
|
7097
7097
|
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
@@ -7101,20 +7101,20 @@ function m1(e, t) {
|
|
|
7101
7101
|
} : {},
|
|
7102
7102
|
...v,
|
|
7103
7103
|
...d
|
|
7104
|
-
}),
|
|
7105
|
-
h1:
|
|
7106
|
-
h2:
|
|
7107
|
-
h3:
|
|
7108
|
-
h4:
|
|
7109
|
-
h5:
|
|
7110
|
-
h6:
|
|
7111
|
-
subtitle1:
|
|
7112
|
-
subtitle2:
|
|
7113
|
-
body1:
|
|
7114
|
-
body2:
|
|
7115
|
-
button:
|
|
7116
|
-
caption:
|
|
7117
|
-
overline:
|
|
7104
|
+
}), f = {
|
|
7105
|
+
h1: y(o, 96, 1.167, -1.5),
|
|
7106
|
+
h2: y(o, 60, 1.2, -0.5),
|
|
7107
|
+
h3: y(s, 48, 1.167, 0),
|
|
7108
|
+
h4: y(s, 34, 1.235, 0.25),
|
|
7109
|
+
h5: y(s, 24, 1.334, 0),
|
|
7110
|
+
h6: y(a, 20, 1.6, 0.15),
|
|
7111
|
+
subtitle1: y(s, 16, 1.75, 0.15),
|
|
7112
|
+
subtitle2: y(a, 14, 1.57, 0.1),
|
|
7113
|
+
body1: y(s, 16, 1.5, 0.15),
|
|
7114
|
+
body2: y(s, 14, 1.43, 0.15),
|
|
7115
|
+
button: y(a, 14, 1.75, 0.4, li),
|
|
7116
|
+
caption: y(s, 12, 1.66, 0.4),
|
|
7117
|
+
overline: y(s, 12, 2.66, 1, li),
|
|
7118
7118
|
// TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
|
|
7119
7119
|
inherit: {
|
|
7120
7120
|
fontFamily: "inherit",
|
|
@@ -7126,14 +7126,14 @@ function m1(e, t) {
|
|
|
7126
7126
|
};
|
|
7127
7127
|
return He({
|
|
7128
7128
|
htmlFontSize: c,
|
|
7129
|
-
pxToRem:
|
|
7129
|
+
pxToRem: p,
|
|
7130
7130
|
fontFamily: n,
|
|
7131
7131
|
fontSize: r,
|
|
7132
7132
|
fontWeightLight: o,
|
|
7133
7133
|
fontWeightRegular: s,
|
|
7134
7134
|
fontWeightMedium: a,
|
|
7135
7135
|
fontWeightBold: l,
|
|
7136
|
-
...
|
|
7136
|
+
...f
|
|
7137
7137
|
}, g, {
|
|
7138
7138
|
clone: !1
|
|
7139
7139
|
// No need to clone deep
|
|
@@ -7193,7 +7193,7 @@ function x1(e) {
|
|
|
7193
7193
|
...d
|
|
7194
7194
|
} = s;
|
|
7195
7195
|
if (process.env.NODE_ENV !== "production") {
|
|
7196
|
-
const h = (
|
|
7196
|
+
const h = (b) => typeof b == "string", g = (b) => !Number.isNaN(parseFloat(b));
|
|
7197
7197
|
!h(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !g(a) && !h(a) && console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`), h(l) || console.error('MUI: Argument "easing" must be a string.'), !g(c) && !h(c) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof s != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
7198
7198
|
`)), Object.keys(d).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`);
|
|
7199
7199
|
}
|
|
@@ -7288,9 +7288,9 @@ function Ur(e = {}, ...t) {
|
|
|
7288
7288
|
const g = oo({
|
|
7289
7289
|
...s,
|
|
7290
7290
|
colorSpace: d
|
|
7291
|
-
}),
|
|
7292
|
-
let
|
|
7293
|
-
mixins: f1(
|
|
7291
|
+
}), b = ds(e);
|
|
7292
|
+
let p = He(b, {
|
|
7293
|
+
mixins: f1(b.breakpoints, r),
|
|
7294
7294
|
palette: g,
|
|
7295
7295
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
7296
7296
|
shadows: b1.slice(),
|
|
@@ -7300,12 +7300,12 @@ function Ur(e = {}, ...t) {
|
|
|
7300
7300
|
...w1
|
|
7301
7301
|
}
|
|
7302
7302
|
});
|
|
7303
|
-
if (
|
|
7304
|
-
const
|
|
7303
|
+
if (p = He(p, h), p = t.reduce((y, f) => He(y, f), p), process.env.NODE_ENV !== "production") {
|
|
7304
|
+
const y = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], f = (_, x) => {
|
|
7305
7305
|
let k;
|
|
7306
7306
|
for (k in _) {
|
|
7307
7307
|
const $ = _[k];
|
|
7308
|
-
if (
|
|
7308
|
+
if (y.includes(k) && Object.keys($).length > 0) {
|
|
7309
7309
|
if (process.env.NODE_ENV !== "production") {
|
|
7310
7310
|
const v = no("", k);
|
|
7311
7311
|
console.error([`MUI: The \`${x}\` component increases the CSS specificity of the \`${k}\` internal state.`, "You can not override it like this: ", JSON.stringify(_, null, 2), "", `Instead, you need to use the '&.${v}' syntax:`, JSON.stringify({
|
|
@@ -7319,20 +7319,20 @@ function Ur(e = {}, ...t) {
|
|
|
7319
7319
|
}
|
|
7320
7320
|
}
|
|
7321
7321
|
};
|
|
7322
|
-
Object.keys(
|
|
7323
|
-
const x =
|
|
7324
|
-
x && _.startsWith("Mui") &&
|
|
7322
|
+
Object.keys(p.components).forEach((_) => {
|
|
7323
|
+
const x = p.components[_].styleOverrides;
|
|
7324
|
+
x && _.startsWith("Mui") && f(x, _);
|
|
7325
7325
|
});
|
|
7326
7326
|
}
|
|
7327
|
-
return
|
|
7327
|
+
return p.unstable_sxConfig = {
|
|
7328
7328
|
...ar,
|
|
7329
7329
|
...h == null ? void 0 : h.unstable_sxConfig
|
|
7330
|
-
},
|
|
7330
|
+
}, p.unstable_sx = function(f) {
|
|
7331
7331
|
return Gt({
|
|
7332
|
-
sx:
|
|
7332
|
+
sx: f,
|
|
7333
7333
|
theme: this
|
|
7334
7334
|
});
|
|
7335
|
-
},
|
|
7335
|
+
}, p.toRuntimeSource = _s, T1(p), p;
|
|
7336
7336
|
}
|
|
7337
7337
|
function $1(e) {
|
|
7338
7338
|
let t;
|
|
@@ -7426,7 +7426,7 @@ function M1(e, t) {
|
|
|
7426
7426
|
e[n] || (e[n] = {});
|
|
7427
7427
|
});
|
|
7428
7428
|
}
|
|
7429
|
-
function
|
|
7429
|
+
function A(e, t, n) {
|
|
7430
7430
|
!e[t] && n && (e[t] = n);
|
|
7431
7431
|
}
|
|
7432
7432
|
function cn(e) {
|
|
@@ -7495,28 +7495,28 @@ function I1(e = {}, ...t) {
|
|
|
7495
7495
|
colorSchemeSelector: c = n.light && n.dark ? "media" : void 0,
|
|
7496
7496
|
rootSelector: d = ":root",
|
|
7497
7497
|
...h
|
|
7498
|
-
} = e, g = Object.keys(n)[0],
|
|
7499
|
-
[
|
|
7500
|
-
light:
|
|
7498
|
+
} = e, g = Object.keys(n)[0], b = r || (n.light && g !== "light" ? "light" : g), p = D1(s), {
|
|
7499
|
+
[b]: y,
|
|
7500
|
+
light: f,
|
|
7501
7501
|
dark: _,
|
|
7502
7502
|
...x
|
|
7503
7503
|
} = n, k = {
|
|
7504
7504
|
...x
|
|
7505
7505
|
};
|
|
7506
|
-
let $ =
|
|
7507
|
-
if ((
|
|
7508
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${
|
|
7506
|
+
let $ = y;
|
|
7507
|
+
if ((b === "dark" && !("dark" in n) || b === "light" && !("light" in n)) && ($ = !0), !$)
|
|
7508
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${b}\` option is either missing or invalid.` : Et(21, b));
|
|
7509
7509
|
let v;
|
|
7510
7510
|
a && (v = "oklch");
|
|
7511
|
-
const C = Or(v, k, $, h,
|
|
7512
|
-
|
|
7511
|
+
const C = Or(v, k, $, h, b);
|
|
7512
|
+
f && !k.light && Or(v, k, f, void 0, "light"), _ && !k.dark && Or(v, k, _, void 0, "dark");
|
|
7513
7513
|
let w = {
|
|
7514
|
-
defaultColorScheme:
|
|
7514
|
+
defaultColorScheme: b,
|
|
7515
7515
|
...C,
|
|
7516
7516
|
cssVarPrefix: s,
|
|
7517
7517
|
colorSchemeSelector: c,
|
|
7518
7518
|
rootSelector: d,
|
|
7519
|
-
getCssVar:
|
|
7519
|
+
getCssVar: p,
|
|
7520
7520
|
colorSchemes: k,
|
|
7521
7521
|
font: {
|
|
7522
7522
|
...d1(C.typography),
|
|
@@ -7525,31 +7525,31 @@ function I1(e = {}, ...t) {
|
|
|
7525
7525
|
spacing: R1(h.spacing)
|
|
7526
7526
|
};
|
|
7527
7527
|
Object.keys(w.colorSchemes).forEach((V) => {
|
|
7528
|
-
const m = w.colorSchemes[V].palette,
|
|
7529
|
-
const
|
|
7530
|
-
return
|
|
7528
|
+
const m = w.colorSchemes[V].palette, O = (z) => {
|
|
7529
|
+
const j = z.split("-"), Y = j[1], W = j[2];
|
|
7530
|
+
return p(z, m[Y][W]);
|
|
7531
7531
|
};
|
|
7532
|
-
m.mode === "light" && (
|
|
7533
|
-
function T(
|
|
7532
|
+
m.mode === "light" && (A(m.common, "background", "#fff"), A(m.common, "onBackground", "#000")), m.mode === "dark" && (A(m.common, "background", "#000"), A(m.common, "onBackground", "#fff"));
|
|
7533
|
+
function T(z, j, Y) {
|
|
7534
7534
|
if (v) {
|
|
7535
7535
|
let W;
|
|
7536
|
-
return
|
|
7536
|
+
return z === St && (W = `transparent ${((1 - Y) * 100).toFixed(0)}%`), z === me && (W = `#000 ${(Y * 100).toFixed(0)}%`), z === he && (W = `#fff ${(Y * 100).toFixed(0)}%`), `color-mix(in ${v}, ${j}, ${W})`;
|
|
7537
7537
|
}
|
|
7538
|
-
return
|
|
7538
|
+
return z(j, Y);
|
|
7539
7539
|
}
|
|
7540
7540
|
if (M1(m, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), m.mode === "light") {
|
|
7541
|
-
|
|
7542
|
-
const
|
|
7543
|
-
|
|
7541
|
+
A(m.Alert, "errorColor", T(me, a ? p("palette-error-light") : m.error.light, 0.6)), A(m.Alert, "infoColor", T(me, a ? p("palette-info-light") : m.info.light, 0.6)), A(m.Alert, "successColor", T(me, a ? p("palette-success-light") : m.success.light, 0.6)), A(m.Alert, "warningColor", T(me, a ? p("palette-warning-light") : m.warning.light, 0.6)), A(m.Alert, "errorFilledBg", O("palette-error-main")), A(m.Alert, "infoFilledBg", O("palette-info-main")), A(m.Alert, "successFilledBg", O("palette-success-main")), A(m.Alert, "warningFilledBg", O("palette-warning-main")), A(m.Alert, "errorFilledColor", nt(() => m.getContrastText(m.error.main))), A(m.Alert, "infoFilledColor", nt(() => m.getContrastText(m.info.main))), A(m.Alert, "successFilledColor", nt(() => m.getContrastText(m.success.main))), A(m.Alert, "warningFilledColor", nt(() => m.getContrastText(m.warning.main))), A(m.Alert, "errorStandardBg", T(he, a ? p("palette-error-light") : m.error.light, 0.9)), A(m.Alert, "infoStandardBg", T(he, a ? p("palette-info-light") : m.info.light, 0.9)), A(m.Alert, "successStandardBg", T(he, a ? p("palette-success-light") : m.success.light, 0.9)), A(m.Alert, "warningStandardBg", T(he, a ? p("palette-warning-light") : m.warning.light, 0.9)), A(m.Alert, "errorIconColor", O("palette-error-main")), A(m.Alert, "infoIconColor", O("palette-info-main")), A(m.Alert, "successIconColor", O("palette-success-main")), A(m.Alert, "warningIconColor", O("palette-warning-main")), A(m.AppBar, "defaultBg", O("palette-grey-100")), A(m.Avatar, "defaultBg", O("palette-grey-400")), A(m.Button, "inheritContainedBg", O("palette-grey-300")), A(m.Button, "inheritContainedHoverBg", O("palette-grey-A100")), A(m.Chip, "defaultBorder", O("palette-grey-400")), A(m.Chip, "defaultAvatarColor", O("palette-grey-700")), A(m.Chip, "defaultIconColor", O("palette-grey-700")), A(m.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), A(m.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), A(m.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), A(m.LinearProgress, "primaryBg", T(he, a ? p("palette-primary-main") : m.primary.main, 0.62)), A(m.LinearProgress, "secondaryBg", T(he, a ? p("palette-secondary-main") : m.secondary.main, 0.62)), A(m.LinearProgress, "errorBg", T(he, a ? p("palette-error-main") : m.error.main, 0.62)), A(m.LinearProgress, "infoBg", T(he, a ? p("palette-info-main") : m.info.main, 0.62)), A(m.LinearProgress, "successBg", T(he, a ? p("palette-success-main") : m.success.main, 0.62)), A(m.LinearProgress, "warningBg", T(he, a ? p("palette-warning-light") : m.warning.main, 0.62)), A(m.Skeleton, "bg", v ? T(St, a ? p("palette-text-primary") : m.text.primary, 0.11) : `rgba(${O("palette-text-primaryChannel")} / 0.11)`), A(m.Slider, "primaryTrack", T(he, a ? p("palette-primary-main") : m.primary.main, 0.62)), A(m.Slider, "secondaryTrack", T(he, a ? p("palette-secondary-main") : m.secondary.main, 0.62)), A(m.Slider, "errorTrack", T(he, a ? p("palette-error-main") : m.error.main, 0.62)), A(m.Slider, "infoTrack", T(he, a ? p("palette-info-main") : m.info.main, 0.62)), A(m.Slider, "successTrack", T(he, a ? p("palette-success-main") : m.success.main, 0.62)), A(m.Slider, "warningTrack", T(he, a ? p("palette-warning-main") : m.warning.main, 0.62));
|
|
7542
|
+
const z = v ? T(me, a ? p("palette-background-default") : m.background.default, 0.6825) : Rn(m.background.default, 0.8);
|
|
7543
|
+
A(m.SnackbarContent, "bg", z), A(m.SnackbarContent, "color", nt(() => v ? Wr.text.primary : m.getContrastText(z))), A(m.SpeedDialAction, "fabHoverBg", Rn(m.background.paper, 0.15)), A(m.StepConnector, "border", O("palette-grey-400")), A(m.StepContent, "border", O("palette-grey-400")), A(m.Switch, "defaultColor", O("palette-common-white")), A(m.Switch, "defaultDisabledColor", O("palette-grey-100")), A(m.Switch, "primaryDisabledColor", T(he, a ? p("palette-primary-main") : m.primary.main, 0.62)), A(m.Switch, "secondaryDisabledColor", T(he, a ? p("palette-secondary-main") : m.secondary.main, 0.62)), A(m.Switch, "errorDisabledColor", T(he, a ? p("palette-error-main") : m.error.main, 0.62)), A(m.Switch, "infoDisabledColor", T(he, a ? p("palette-info-main") : m.info.main, 0.62)), A(m.Switch, "successDisabledColor", T(he, a ? p("palette-success-main") : m.success.main, 0.62)), A(m.Switch, "warningDisabledColor", T(he, a ? p("palette-warning-main") : m.warning.main, 0.62)), A(m.TableCell, "border", T(he, St(a ? p("palette-divider") : m.divider, 1), 0.88)), A(m.Tooltip, "bg", T(St, a ? p("palette-grey-700") : m.grey[700], 0.92));
|
|
7544
7544
|
}
|
|
7545
7545
|
if (m.mode === "dark") {
|
|
7546
|
-
|
|
7547
|
-
const
|
|
7548
|
-
|
|
7546
|
+
A(m.Alert, "errorColor", T(he, a ? p("palette-error-light") : m.error.light, 0.6)), A(m.Alert, "infoColor", T(he, a ? p("palette-info-light") : m.info.light, 0.6)), A(m.Alert, "successColor", T(he, a ? p("palette-success-light") : m.success.light, 0.6)), A(m.Alert, "warningColor", T(he, a ? p("palette-warning-light") : m.warning.light, 0.6)), A(m.Alert, "errorFilledBg", O("palette-error-dark")), A(m.Alert, "infoFilledBg", O("palette-info-dark")), A(m.Alert, "successFilledBg", O("palette-success-dark")), A(m.Alert, "warningFilledBg", O("palette-warning-dark")), A(m.Alert, "errorFilledColor", nt(() => m.getContrastText(m.error.dark))), A(m.Alert, "infoFilledColor", nt(() => m.getContrastText(m.info.dark))), A(m.Alert, "successFilledColor", nt(() => m.getContrastText(m.success.dark))), A(m.Alert, "warningFilledColor", nt(() => m.getContrastText(m.warning.dark))), A(m.Alert, "errorStandardBg", T(me, a ? p("palette-error-light") : m.error.light, 0.9)), A(m.Alert, "infoStandardBg", T(me, a ? p("palette-info-light") : m.info.light, 0.9)), A(m.Alert, "successStandardBg", T(me, a ? p("palette-success-light") : m.success.light, 0.9)), A(m.Alert, "warningStandardBg", T(me, a ? p("palette-warning-light") : m.warning.light, 0.9)), A(m.Alert, "errorIconColor", O("palette-error-main")), A(m.Alert, "infoIconColor", O("palette-info-main")), A(m.Alert, "successIconColor", O("palette-success-main")), A(m.Alert, "warningIconColor", O("palette-warning-main")), A(m.AppBar, "defaultBg", O("palette-grey-900")), A(m.AppBar, "darkBg", O("palette-background-paper")), A(m.AppBar, "darkColor", O("palette-text-primary")), A(m.Avatar, "defaultBg", O("palette-grey-600")), A(m.Button, "inheritContainedBg", O("palette-grey-800")), A(m.Button, "inheritContainedHoverBg", O("palette-grey-700")), A(m.Chip, "defaultBorder", O("palette-grey-700")), A(m.Chip, "defaultAvatarColor", O("palette-grey-300")), A(m.Chip, "defaultIconColor", O("palette-grey-300")), A(m.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), A(m.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), A(m.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), A(m.LinearProgress, "primaryBg", T(me, a ? p("palette-primary-main") : m.primary.main, 0.5)), A(m.LinearProgress, "secondaryBg", T(me, a ? p("palette-secondary-main") : m.secondary.main, 0.5)), A(m.LinearProgress, "errorBg", T(me, a ? p("palette-error-main") : m.error.main, 0.5)), A(m.LinearProgress, "infoBg", T(me, a ? p("palette-info-main") : m.info.main, 0.5)), A(m.LinearProgress, "successBg", T(me, a ? p("palette-success-main") : m.success.main, 0.5)), A(m.LinearProgress, "warningBg", T(me, a ? p("palette-warning-main") : m.warning.main, 0.5)), A(m.Skeleton, "bg", v ? T(St, a ? p("palette-text-primary") : m.text.primary, 0.13) : `rgba(${O("palette-text-primaryChannel")} / 0.13)`), A(m.Slider, "primaryTrack", T(me, a ? p("palette-primary-main") : m.primary.main, 0.5)), A(m.Slider, "secondaryTrack", T(me, a ? p("palette-secondary-main") : m.secondary.main, 0.5)), A(m.Slider, "errorTrack", T(me, a ? p("palette-error-main") : m.error.main, 0.5)), A(m.Slider, "infoTrack", T(me, a ? p("palette-info-main") : m.info.main, 0.5)), A(m.Slider, "successTrack", T(me, a ? p("palette-success-main") : m.success.main, 0.5)), A(m.Slider, "warningTrack", T(me, a ? p("palette-warning-light") : m.warning.main, 0.5));
|
|
7547
|
+
const z = v ? T(he, a ? p("palette-background-default") : m.background.default, 0.985) : Rn(m.background.default, 0.98);
|
|
7548
|
+
A(m.SnackbarContent, "bg", z), A(m.SnackbarContent, "color", nt(() => v ? vs.text.primary : m.getContrastText(z))), A(m.SpeedDialAction, "fabHoverBg", Rn(m.background.paper, 0.15)), A(m.StepConnector, "border", O("palette-grey-600")), A(m.StepContent, "border", O("palette-grey-600")), A(m.Switch, "defaultColor", O("palette-grey-300")), A(m.Switch, "defaultDisabledColor", O("palette-grey-600")), A(m.Switch, "primaryDisabledColor", T(me, a ? p("palette-primary-main") : m.primary.main, 0.55)), A(m.Switch, "secondaryDisabledColor", T(me, a ? p("palette-secondary-main") : m.secondary.main, 0.55)), A(m.Switch, "errorDisabledColor", T(me, a ? p("palette-error-main") : m.error.main, 0.55)), A(m.Switch, "infoDisabledColor", T(me, a ? p("palette-info-main") : m.info.main, 0.55)), A(m.Switch, "successDisabledColor", T(me, a ? p("palette-success-main") : m.success.main, 0.55)), A(m.Switch, "warningDisabledColor", T(me, a ? p("palette-warning-light") : m.warning.main, 0.55)), A(m.TableCell, "border", T(me, St(a ? p("palette-divider") : m.divider, 1), 0.68)), A(m.Tooltip, "bg", T(St, a ? p("palette-grey-700") : m.grey[700], 0.92));
|
|
7549
7549
|
}
|
|
7550
|
-
a || (it(m.background, "default"), it(m.background, "paper"), it(m.common, "background"), it(m.common, "onBackground"), it(m, "divider")), Object.keys(m).forEach((
|
|
7551
|
-
const
|
|
7552
|
-
|
|
7550
|
+
a || (it(m.background, "default"), it(m.background, "paper"), it(m.common, "background"), it(m.common, "onBackground"), it(m, "divider")), Object.keys(m).forEach((z) => {
|
|
7551
|
+
const j = m[z];
|
|
7552
|
+
z !== "tonalOffset" && !a && j && typeof j == "object" && (j.main && A(m[z], "mainChannel", ln(cn(j.main))), j.light && A(m[z], "lightChannel", ln(cn(j.light))), j.dark && A(m[z], "darkChannel", ln(cn(j.dark))), j.contrastText && A(m[z], "contrastTextChannel", ln(cn(j.contrastText))), z === "text" && (it(m[z], "primary"), it(m[z], "secondary")), z === "action" && (j.active && it(m[z], "active"), j.selected && it(m[z], "selected")));
|
|
7553
7553
|
});
|
|
7554
7554
|
}), w = t.reduce((V, m) => He(V, m), w);
|
|
7555
7555
|
const N = {
|
|
@@ -7560,12 +7560,12 @@ function I1(e = {}, ...t) {
|
|
|
7560
7560
|
enableContrastVars: a
|
|
7561
7561
|
}, {
|
|
7562
7562
|
vars: L,
|
|
7563
|
-
generateThemeVars:
|
|
7564
|
-
generateStyleSheets:
|
|
7563
|
+
generateThemeVars: E,
|
|
7564
|
+
generateStyleSheets: B
|
|
7565
7565
|
} = t1(w, N);
|
|
7566
7566
|
return w.vars = L, Object.entries(w.colorSchemes[w.defaultColorScheme]).forEach(([V, m]) => {
|
|
7567
7567
|
w[V] = m;
|
|
7568
|
-
}), w.generateThemeVars =
|
|
7568
|
+
}), w.generateThemeVars = E, w.generateStyleSheets = B, w.generateSpacing = function() {
|
|
7569
7569
|
return us(h.spacing, eo(this));
|
|
7570
7570
|
}, w.getColorSchemeSelector = n1(c), w.spacing = w.generateSpacing(), w.shouldSkipGeneratingVar = l, w.unstable_sxConfig = {
|
|
7571
7571
|
...ar,
|
|
@@ -8228,10 +8228,10 @@ const X1 = Rt("span", {
|
|
|
8228
8228
|
components: d = {},
|
|
8229
8229
|
componentsProps: h = {},
|
|
8230
8230
|
color: g = "primary",
|
|
8231
|
-
classes:
|
|
8232
|
-
className:
|
|
8233
|
-
disableSwap:
|
|
8234
|
-
disabled:
|
|
8231
|
+
classes: b,
|
|
8232
|
+
className: p,
|
|
8233
|
+
disableSwap: y = !1,
|
|
8234
|
+
disabled: f = !1,
|
|
8235
8235
|
getAriaLabel: _,
|
|
8236
8236
|
getAriaValueText: x,
|
|
8237
8237
|
marks: k = !1,
|
|
@@ -8241,14 +8241,14 @@ const X1 = Rt("span", {
|
|
|
8241
8241
|
onChange: w,
|
|
8242
8242
|
onChangeCommitted: N,
|
|
8243
8243
|
orientation: L = "horizontal",
|
|
8244
|
-
shiftStep:
|
|
8245
|
-
size:
|
|
8244
|
+
shiftStep: E = 10,
|
|
8245
|
+
size: B = "medium",
|
|
8246
8246
|
step: V = 1,
|
|
8247
8247
|
scale: m = pi,
|
|
8248
|
-
slotProps:
|
|
8248
|
+
slotProps: O,
|
|
8249
8249
|
slots: T,
|
|
8250
|
-
tabIndex:
|
|
8251
|
-
track:
|
|
8250
|
+
tabIndex: z,
|
|
8251
|
+
track: j = "normal",
|
|
8252
8252
|
value: Y,
|
|
8253
8253
|
valueLabelDisplay: W = "off",
|
|
8254
8254
|
valueLabelFormat: ue = pi,
|
|
@@ -8258,17 +8258,17 @@ const X1 = Rt("span", {
|
|
|
8258
8258
|
isRtl: o,
|
|
8259
8259
|
max: $,
|
|
8260
8260
|
min: v,
|
|
8261
|
-
classes:
|
|
8262
|
-
disabled:
|
|
8263
|
-
disableSwap:
|
|
8261
|
+
classes: b,
|
|
8262
|
+
disabled: f,
|
|
8263
|
+
disableSwap: y,
|
|
8264
8264
|
orientation: L,
|
|
8265
8265
|
marks: k,
|
|
8266
8266
|
color: g,
|
|
8267
|
-
size:
|
|
8267
|
+
size: B,
|
|
8268
8268
|
step: V,
|
|
8269
|
-
shiftStep:
|
|
8269
|
+
shiftStep: E,
|
|
8270
8270
|
scale: m,
|
|
8271
|
-
track:
|
|
8271
|
+
track: j,
|
|
8272
8272
|
valueLabelDisplay: W,
|
|
8273
8273
|
valueLabelFormat: ue
|
|
8274
8274
|
}, {
|
|
@@ -8292,7 +8292,7 @@ const X1 = Rt("span", {
|
|
|
8292
8292
|
rootRef: n
|
|
8293
8293
|
});
|
|
8294
8294
|
M.marked = I.length > 0 && I.some((Ne) => Ne.label), M.dragging = de, M.focusedThumbIndex = oe;
|
|
8295
|
-
const re = J1(M), we = (T == null ? void 0 : T.root) ?? d.Root ?? H1, Ce = (T == null ? void 0 : T.rail) ?? d.Rail ?? K1, Le = (T == null ? void 0 : T.track) ?? d.Track ?? G1, qe = (T == null ? void 0 : T.thumb) ?? d.Thumb ?? Y1, Je = (T == null ? void 0 : T.valueLabel) ?? d.ValueLabel ?? ks, _e = (T == null ? void 0 : T.mark) ?? d.Mark ?? X1, We = (T == null ? void 0 : T.markLabel) ?? d.MarkLabel ?? Q1, R = (T == null ? void 0 : T.input) ?? d.Input ?? "input", F = (
|
|
8295
|
+
const re = J1(M), we = (T == null ? void 0 : T.root) ?? d.Root ?? H1, Ce = (T == null ? void 0 : T.rail) ?? d.Rail ?? K1, Le = (T == null ? void 0 : T.track) ?? d.Track ?? G1, qe = (T == null ? void 0 : T.thumb) ?? d.Thumb ?? Y1, Je = (T == null ? void 0 : T.valueLabel) ?? d.ValueLabel ?? ks, _e = (T == null ? void 0 : T.mark) ?? d.Mark ?? X1, We = (T == null ? void 0 : T.markLabel) ?? d.MarkLabel ?? Q1, R = (T == null ? void 0 : T.input) ?? d.Input ?? "input", F = (O == null ? void 0 : O.root) ?? h.root, H = (O == null ? void 0 : O.rail) ?? h.rail, ae = (O == null ? void 0 : O.track) ?? h.track, be = (O == null ? void 0 : O.thumb) ?? h.thumb, X = (O == null ? void 0 : O.valueLabel) ?? h.valueLabel, Me = (O == null ? void 0 : O.mark) ?? h.mark, Ve = (O == null ? void 0 : O.markLabel) ?? h.markLabel, Oe = (O == null ? void 0 : O.input) ?? h.input, Ke = mt({
|
|
8296
8296
|
elementType: we,
|
|
8297
8297
|
getSlotProps: K,
|
|
8298
8298
|
externalSlotProps: F,
|
|
@@ -8306,7 +8306,7 @@ const X1 = Rt("span", {
|
|
|
8306
8306
|
...M,
|
|
8307
8307
|
...F == null ? void 0 : F.ownerState
|
|
8308
8308
|
},
|
|
8309
|
-
className: [re.root,
|
|
8309
|
+
className: [re.root, p]
|
|
8310
8310
|
}), Jt = mt({
|
|
8311
8311
|
elementType: Ce,
|
|
8312
8312
|
externalSlotProps: H,
|
|
@@ -8368,7 +8368,7 @@ const X1 = Rt("span", {
|
|
|
8368
8368
|
}), I.filter((Ne) => Ne.value >= v && Ne.value <= $).map((Ne, De) => {
|
|
8369
8369
|
const mr = Zn(Ne.value, v, $), _n = ee[U].offset(mr);
|
|
8370
8370
|
let ot;
|
|
8371
|
-
return
|
|
8371
|
+
return j === !1 ? ot = se.includes(Ne.value) : ot = j === "normal" && (te ? Ne.value >= se[0] && Ne.value <= se[se.length - 1] : Ne.value <= se[0]) || j === "inverted" && (te ? Ne.value <= se[0] || Ne.value >= se[se.length - 1] : Ne.value >= se[0]), /* @__PURE__ */ S(Q.Fragment, {
|
|
8372
8372
|
children: [/* @__PURE__ */ u(_e, {
|
|
8373
8373
|
"data-index": De,
|
|
8374
8374
|
...fr,
|
|
@@ -8406,7 +8406,7 @@ const X1 = Rt("span", {
|
|
|
8406
8406
|
value: typeof ue == "function" ? ue(m(Ne), De) : ue,
|
|
8407
8407
|
index: De,
|
|
8408
8408
|
open: ne === De || G === De || W === "on",
|
|
8409
|
-
disabled:
|
|
8409
|
+
disabled: f
|
|
8410
8410
|
},
|
|
8411
8411
|
...Fs,
|
|
8412
8412
|
children: /* @__PURE__ */ u(qe, {
|
|
@@ -8724,22 +8724,22 @@ const tu = "_slider_1prh1_2", nu = "_playButton_1prh1_14", ru = "_sliderOpen_1pr
|
|
|
8724
8724
|
for (let L = N; L < C; L += 10)
|
|
8725
8725
|
w.push({ label: "", value: L });
|
|
8726
8726
|
return w[w.length - 1].value !== C && w.push({ label: "", value: C }), w;
|
|
8727
|
-
})(n, r), [g,
|
|
8727
|
+
})(n, r), [g, b] = le(t);
|
|
8728
8728
|
J(() => {
|
|
8729
|
-
|
|
8729
|
+
b(t);
|
|
8730
8730
|
}, [t]);
|
|
8731
|
-
const
|
|
8732
|
-
|
|
8733
|
-
}, [
|
|
8731
|
+
const p = (v, C) => {
|
|
8732
|
+
b(C), c(C);
|
|
8733
|
+
}, [y, f] = le(!1);
|
|
8734
8734
|
J(() => {
|
|
8735
|
-
t && console.log("defaultYear changed:", t), t &&
|
|
8735
|
+
t && console.log("defaultYear changed:", t), t && b(t);
|
|
8736
8736
|
}, [t]), J(() => {
|
|
8737
|
-
l === !1 &&
|
|
8737
|
+
l === !1 && f(!1);
|
|
8738
8738
|
}, [l]);
|
|
8739
8739
|
const _ = () => {
|
|
8740
|
-
|
|
8740
|
+
f(!0);
|
|
8741
8741
|
}, x = () => {
|
|
8742
|
-
|
|
8742
|
+
f(!1);
|
|
8743
8743
|
};
|
|
8744
8744
|
((v, C, w = []) => {
|
|
8745
8745
|
const N = Se();
|
|
@@ -8750,19 +8750,19 @@ const tu = "_slider_1prh1_2", nu = "_playButton_1prh1_14", ru = "_sliderOpen_1pr
|
|
|
8750
8750
|
N.current();
|
|
8751
8751
|
}
|
|
8752
8752
|
{
|
|
8753
|
-
let
|
|
8754
|
-
return () => clearInterval(
|
|
8753
|
+
let E = setInterval(L, C);
|
|
8754
|
+
return () => clearInterval(E);
|
|
8755
8755
|
}
|
|
8756
8756
|
}, [C, ...w]);
|
|
8757
8757
|
})(
|
|
8758
8758
|
() => {
|
|
8759
|
-
|
|
8759
|
+
y && b((v) => {
|
|
8760
8760
|
const C = v + 1;
|
|
8761
8761
|
return C > r ? (c(n), n) : (c(C), C);
|
|
8762
8762
|
});
|
|
8763
8763
|
},
|
|
8764
8764
|
1e3,
|
|
8765
|
-
[n, r,
|
|
8765
|
+
[n, r, y]
|
|
8766
8766
|
);
|
|
8767
8767
|
const $ = Ks({
|
|
8768
8768
|
palette: {
|
|
@@ -8805,14 +8805,14 @@ const tu = "_slider_1prh1_2", nu = "_playButton_1prh1_14", ru = "_sliderOpen_1pr
|
|
|
8805
8805
|
marks: h,
|
|
8806
8806
|
min: n,
|
|
8807
8807
|
max: r,
|
|
8808
|
-
onChange:
|
|
8808
|
+
onChange: p,
|
|
8809
8809
|
color: "primary",
|
|
8810
8810
|
size: "small"
|
|
8811
8811
|
}
|
|
8812
8812
|
),
|
|
8813
8813
|
r,
|
|
8814
|
-
!
|
|
8815
|
-
|
|
8814
|
+
!y && /* @__PURE__ */ u("button", { className: nn.playButton, onClick: _, children: /* @__PURE__ */ u("img", { src: a0, alt: "Play" }) }),
|
|
8815
|
+
y && /* @__PURE__ */ u("button", { className: nn.playButton, onClick: x, children: /* @__PURE__ */ u("img", { src: l0, alt: "Pause" }) })
|
|
8816
8816
|
]
|
|
8817
8817
|
}
|
|
8818
8818
|
) });
|
|
@@ -8964,7 +8964,7 @@ const Vu = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
8964
8964
|
defaultTooltip: d,
|
|
8965
8965
|
showEye: h = !0
|
|
8966
8966
|
}) => {
|
|
8967
|
-
const { name: g, created_at:
|
|
8967
|
+
const { name: g, created_at: b, id: p, isBeingProcessed: y } = e, [f, _] = le(!1), { t: x } = ce();
|
|
8968
8968
|
J(() => {
|
|
8969
8969
|
console.log("elementButtons: ", l);
|
|
8970
8970
|
}, [l]);
|
|
@@ -8975,7 +8975,7 @@ const Vu = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
8975
8975
|
className: Ge.listElement,
|
|
8976
8976
|
style: { borderBottom: `1px solid ${o}` },
|
|
8977
8977
|
children: [
|
|
8978
|
-
/* @__PURE__ */ u("div", { className: Ge.elementNameDate, onClick: () => t(
|
|
8978
|
+
/* @__PURE__ */ u("div", { className: Ge.elementNameDate, onClick: () => t(p), children: Object.keys(a).map((v, C) => v === "name" ? /* @__PURE__ */ u("div", { className: Ge.elementNameContainer, children: /* @__PURE__ */ S(
|
|
8979
8979
|
"div",
|
|
8980
8980
|
{
|
|
8981
8981
|
className: `${Ge.elementName} ${h && Ge.nameAndEye}`,
|
|
@@ -8996,7 +8996,7 @@ const Vu = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
8996
8996
|
/* @__PURE__ */ u("span", { style: { color: n ? r : o }, children: g })
|
|
8997
8997
|
]
|
|
8998
8998
|
}
|
|
8999
|
-
) }, `col${C}`) : v == "data" ? /* @__PURE__ */ u("div", { className: Ge.elementDate, children:
|
|
8999
|
+
) }, `col${C}`) : v == "data" ? /* @__PURE__ */ u("div", { className: Ge.elementDate, children: b ? new Date(b).toLocaleDateString() : "" }, `col${C}data`) : /* @__PURE__ */ u("div", { className: Ge.elementDate, children: e[v] }, `col${C}other`)) }),
|
|
9000
9000
|
/* @__PURE__ */ S("div", { className: Ge.elementButtons, children: [
|
|
9001
9001
|
e.processing && /* @__PURE__ */ S("div", { className: "tooltip-parent", children: [
|
|
9002
9002
|
/* @__PURE__ */ u("img", { src: Mu }),
|
|
@@ -9080,14 +9080,14 @@ const Vu = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
9080
9080
|
"div",
|
|
9081
9081
|
{
|
|
9082
9082
|
className: Ge.moreInfo,
|
|
9083
|
-
onClick: () => _(!
|
|
9083
|
+
onClick: () => _(!f),
|
|
9084
9084
|
children: [
|
|
9085
|
-
/* @__PURE__ */ u("span", { children:
|
|
9085
|
+
/* @__PURE__ */ u("span", { children: f ? "-" : "+" }),
|
|
9086
9086
|
x(s.label)
|
|
9087
9087
|
]
|
|
9088
9088
|
}
|
|
9089
9089
|
),
|
|
9090
|
-
s &&
|
|
9090
|
+
s && f && /* @__PURE__ */ u("div", { className: Ge.moreInfoInfo, children: e[s.info] })
|
|
9091
9091
|
] })
|
|
9092
9092
|
]
|
|
9093
9093
|
}
|
|
@@ -9138,7 +9138,7 @@ const hi = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
9138
9138
|
containerStyles: s = {},
|
|
9139
9139
|
newElementButton: a,
|
|
9140
9140
|
//{label: 'text', onClick: function(), disabled}/null
|
|
9141
|
-
onClickElement: l = (
|
|
9141
|
+
onClickElement: l = (y) => console.log(`OnCLickElement: ${y}`),
|
|
9142
9142
|
columns: c,
|
|
9143
9143
|
// {'name': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
|
|
9144
9144
|
elementButtons: d,
|
|
@@ -9147,11 +9147,11 @@ const hi = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
9147
9147
|
//{label: 'x'}
|
|
9148
9148
|
processTooltip: g,
|
|
9149
9149
|
//texto para el tooltip del simbolo "En proceso"
|
|
9150
|
-
defaultTooltip:
|
|
9150
|
+
defaultTooltip: b,
|
|
9151
9151
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
9152
|
-
showEye:
|
|
9152
|
+
showEye: p = !0
|
|
9153
9153
|
}) => {
|
|
9154
|
-
const { t:
|
|
9154
|
+
const { t: y } = ce(), [f, _] = le(e);
|
|
9155
9155
|
J(() => {
|
|
9156
9156
|
e && _(e);
|
|
9157
9157
|
}, [e]);
|
|
@@ -9165,20 +9165,20 @@ const hi = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
9165
9165
|
const w = /^(\d{2})[-/]\s*(\d{2})[-/]\s*(\d{4})$/.exec(v);
|
|
9166
9166
|
return w ? parseInt(w[1]) > 12 ? /* @__PURE__ */ new Date(`${w[3]}-${w[2]}-${w[1]}`) : /* @__PURE__ */ new Date(`${w[3]}-${w[1]}-${w[2]}`) : null;
|
|
9167
9167
|
}, k = (v) => x(v) !== null, $ = (v) => {
|
|
9168
|
-
if (!
|
|
9169
|
-
let C = [...
|
|
9168
|
+
if (!f || f.length === 0) return;
|
|
9169
|
+
let C = [...f];
|
|
9170
9170
|
const w = C.find((L) => L[v] !== null && L[v] !== void 0), N = w ? k(w[v]) : !1;
|
|
9171
|
-
C.sort((L,
|
|
9172
|
-
const
|
|
9173
|
-
if (
|
|
9174
|
-
if (
|
|
9171
|
+
C.sort((L, E) => {
|
|
9172
|
+
const B = L[v], V = E[v];
|
|
9173
|
+
if (B == null && V == null) return 0;
|
|
9174
|
+
if (B == null) return 1;
|
|
9175
9175
|
if (V == null) return -1;
|
|
9176
9176
|
if (N) {
|
|
9177
|
-
const T = x(
|
|
9178
|
-
return !T && !
|
|
9177
|
+
const T = x(B), z = x(V);
|
|
9178
|
+
return !T && !z ? 0 : T ? z ? T - z : -1 : 1;
|
|
9179
9179
|
}
|
|
9180
|
-
const m = String(
|
|
9181
|
-
return m.localeCompare(
|
|
9180
|
+
const m = String(B || "").trim(), O = String(V || "").trim();
|
|
9181
|
+
return m.localeCompare(O);
|
|
9182
9182
|
}), _(C);
|
|
9183
9183
|
};
|
|
9184
9184
|
return /* @__PURE__ */ S(
|
|
@@ -9194,17 +9194,17 @@ const hi = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
9194
9194
|
style: { borderBottom: `1px solid ${n}` },
|
|
9195
9195
|
children: [
|
|
9196
9196
|
/* @__PURE__ */ u("div", { className: st.nameDateContainer, children: Object.keys(c).map((v) => v === "name" ? /* @__PURE__ */ u("div", { className: st.elementName, children: /* @__PURE__ */ S("button", { onClick: () => $("name"), children: [
|
|
9197
|
-
/* @__PURE__ */ u("span", { children:
|
|
9197
|
+
/* @__PURE__ */ u("span", { children: y(c.name) }),
|
|
9198
9198
|
/* @__PURE__ */ u("img", { src: hi, alt: "order arrow" })
|
|
9199
9199
|
] }) }, v) : v === "data" ? /* @__PURE__ */ u("div", { className: st.elementDate, children: /* @__PURE__ */ S("button", { onClick: () => $("created_at"), children: [
|
|
9200
|
-
/* @__PURE__ */ u("span", { children:
|
|
9200
|
+
/* @__PURE__ */ u("span", { children: y(c.data) }),
|
|
9201
9201
|
/* @__PURE__ */ u("img", { src: hi, alt: "order arrow" })
|
|
9202
|
-
] }) }, v) : /* @__PURE__ */ u("div", { className: st.elementDate, children: /* @__PURE__ */ u("span", { children:
|
|
9202
|
+
] }) }, v) : /* @__PURE__ */ u("div", { className: st.elementDate, children: /* @__PURE__ */ u("span", { children: y(c[v]) }) }, v)) }),
|
|
9203
9203
|
/* @__PURE__ */ u("div", { className: st.buttonsContainer })
|
|
9204
9204
|
]
|
|
9205
9205
|
}
|
|
9206
9206
|
),
|
|
9207
|
-
/* @__PURE__ */ u("div", { className: st.elementListContainer, children:
|
|
9207
|
+
/* @__PURE__ */ u("div", { className: st.elementListContainer, children: f && f.length > 0 && f.map((v) => /* @__PURE__ */ u(
|
|
9208
9208
|
$s,
|
|
9209
9209
|
{
|
|
9210
9210
|
isActive: t == v.id,
|
|
@@ -9216,8 +9216,8 @@ const hi = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
9216
9216
|
elementButtons: d,
|
|
9217
9217
|
moreInfo: h,
|
|
9218
9218
|
processTooltip: g,
|
|
9219
|
-
defaultTooltip:
|
|
9220
|
-
showEye:
|
|
9219
|
+
defaultTooltip: b,
|
|
9220
|
+
showEye: p
|
|
9221
9221
|
},
|
|
9222
9222
|
`elementKey${v.id}`
|
|
9223
9223
|
)) }),
|
|
@@ -9228,7 +9228,7 @@ const hi = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
9228
9228
|
onClick: a.onClick,
|
|
9229
9229
|
borderColor: "grey",
|
|
9230
9230
|
disabled: a.disabled || !1,
|
|
9231
|
-
children:
|
|
9231
|
+
children: y(a.label)
|
|
9232
9232
|
}
|
|
9233
9233
|
) })
|
|
9234
9234
|
]
|
|
@@ -9407,12 +9407,12 @@ function jn(e, t, n = /* @__PURE__ */ new WeakSet()) {
|
|
|
9407
9407
|
return !0;
|
|
9408
9408
|
}
|
|
9409
9409
|
function Ju(e) {
|
|
9410
|
-
const t = lo(), { control: n = t, name: r, defaultValue: o, disabled: s, exact: a, compute: l } = e || {}, c = ie.useRef(o), d = ie.useRef(l), h = ie.useRef(void 0), g = ie.useRef(n),
|
|
9410
|
+
const t = lo(), { control: n = t, name: r, defaultValue: o, disabled: s, exact: a, compute: l } = e || {}, c = ie.useRef(o), d = ie.useRef(l), h = ie.useRef(void 0), g = ie.useRef(n), b = ie.useRef(r);
|
|
9411
9411
|
d.current = l;
|
|
9412
|
-
const [
|
|
9412
|
+
const [p, y] = ie.useState(() => {
|
|
9413
9413
|
const v = n._getWatch(r, c.current);
|
|
9414
9414
|
return d.current ? d.current(v) : v;
|
|
9415
|
-
}),
|
|
9415
|
+
}), f = ie.useCallback((v) => {
|
|
9416
9416
|
const C = vi(r, n._names, v || n._formValues, !1, c.current);
|
|
9417
9417
|
return d.current ? d.current(C) : C;
|
|
9418
9418
|
}, [n._formValues, n._names, r]), _ = ie.useCallback((v) => {
|
|
@@ -9420,12 +9420,12 @@ function Ju(e) {
|
|
|
9420
9420
|
const C = vi(r, n._names, v || n._formValues, !1, c.current);
|
|
9421
9421
|
if (d.current) {
|
|
9422
9422
|
const w = d.current(C);
|
|
9423
|
-
jn(w, h.current) || (
|
|
9423
|
+
jn(w, h.current) || (y(w), h.current = w);
|
|
9424
9424
|
} else
|
|
9425
|
-
|
|
9425
|
+
y(C);
|
|
9426
9426
|
}
|
|
9427
9427
|
}, [n._formValues, n._names, s, r]);
|
|
9428
|
-
Ms(() => ((g.current !== n || !jn(
|
|
9428
|
+
Ms(() => ((g.current !== n || !jn(b.current, r)) && (g.current = n, b.current = r, _()), n._subscribe({
|
|
9429
9429
|
name: r,
|
|
9430
9430
|
formState: {
|
|
9431
9431
|
values: !0
|
|
@@ -9435,13 +9435,13 @@ function Ju(e) {
|
|
|
9435
9435
|
_(v.values);
|
|
9436
9436
|
}
|
|
9437
9437
|
})), [n, a, r, _]), ie.useEffect(() => n._removeUnmounted());
|
|
9438
|
-
const x = g.current !== n, k =
|
|
9438
|
+
const x = g.current !== n, k = b.current, $ = ie.useMemo(() => {
|
|
9439
9439
|
if (s)
|
|
9440
9440
|
return null;
|
|
9441
9441
|
const v = !x && !jn(k, r);
|
|
9442
|
-
return x || v ?
|
|
9443
|
-
}, [s, x, r, k,
|
|
9444
|
-
return $ !== null ? $ :
|
|
9442
|
+
return x || v ? f() : null;
|
|
9443
|
+
}, [s, x, r, k, f]);
|
|
9444
|
+
return $ !== null ? $ : p;
|
|
9445
9445
|
}
|
|
9446
9446
|
function ed(e) {
|
|
9447
9447
|
const t = lo(), { name: n, disabled: r, control: o = t, shouldUnregister: s, defaultValue: a, exact: l = !0 } = e, c = Zu(o._names.array, n), d = ie.useMemo(() => ze(o._formValues, n, ze(o._defaultValues, n, a)), [o, n, a]), h = Ju({
|
|
@@ -9453,13 +9453,13 @@ function ed(e) {
|
|
|
9453
9453
|
control: o,
|
|
9454
9454
|
name: n,
|
|
9455
9455
|
exact: l
|
|
9456
|
-
}),
|
|
9456
|
+
}), b = ie.useRef(e), p = ie.useRef(void 0), y = ie.useRef(o.register(n, {
|
|
9457
9457
|
...e.rules,
|
|
9458
9458
|
value: h,
|
|
9459
9459
|
...Lr(e.disabled) ? { disabled: e.disabled } : {}
|
|
9460
9460
|
}));
|
|
9461
|
-
|
|
9462
|
-
const
|
|
9461
|
+
b.current = e;
|
|
9462
|
+
const f = ie.useMemo(() => Object.defineProperties({}, {
|
|
9463
9463
|
invalid: {
|
|
9464
9464
|
enumerable: !0,
|
|
9465
9465
|
get: () => !!ze(g.errors, n)
|
|
@@ -9480,13 +9480,13 @@ function ed(e) {
|
|
|
9480
9480
|
enumerable: !0,
|
|
9481
9481
|
get: () => ze(g.errors, n)
|
|
9482
9482
|
}
|
|
9483
|
-
}), [g, n]), _ = ie.useCallback((v) =>
|
|
9483
|
+
}), [g, n]), _ = ie.useCallback((v) => y.current.onChange({
|
|
9484
9484
|
target: {
|
|
9485
9485
|
value: Uu(v),
|
|
9486
9486
|
name: n
|
|
9487
9487
|
},
|
|
9488
9488
|
type: yi.CHANGE
|
|
9489
|
-
}), [n]), x = ie.useCallback(() =>
|
|
9489
|
+
}), [n]), x = ie.useCallback(() => y.current.onBlur({
|
|
9490
9490
|
target: {
|
|
9491
9491
|
value: ze(o._formValues, n),
|
|
9492
9492
|
name: n
|
|
@@ -9509,20 +9509,20 @@ function ed(e) {
|
|
|
9509
9509
|
ref: k
|
|
9510
9510
|
}), [n, r, g.disabled, _, x, k, h]);
|
|
9511
9511
|
return ie.useEffect(() => {
|
|
9512
|
-
const v = o._options.shouldUnregister || s, C =
|
|
9512
|
+
const v = o._options.shouldUnregister || s, C = p.current;
|
|
9513
9513
|
C && C !== n && !c && o.unregister(C), o.register(n, {
|
|
9514
|
-
...
|
|
9515
|
-
...Lr(
|
|
9514
|
+
...b.current.rules,
|
|
9515
|
+
...Lr(b.current.disabled) ? { disabled: b.current.disabled } : {}
|
|
9516
9516
|
});
|
|
9517
9517
|
const w = (N, L) => {
|
|
9518
|
-
const
|
|
9519
|
-
|
|
9518
|
+
const E = ze(o._fields, N);
|
|
9519
|
+
E && E._f && (E._f.mount = L);
|
|
9520
9520
|
};
|
|
9521
9521
|
if (w(n, !0), v) {
|
|
9522
|
-
const N = Es(ze(o._options.defaultValues, n,
|
|
9522
|
+
const N = Es(ze(o._options.defaultValues, n, b.current.defaultValue));
|
|
9523
9523
|
gi(o._defaultValues, n, N), Hr(ze(o._formValues, n)) && gi(o._formValues, n, N);
|
|
9524
9524
|
}
|
|
9525
|
-
return !c && o.register(n),
|
|
9525
|
+
return !c && o.register(n), p.current = n, () => {
|
|
9526
9526
|
(c ? v && !o._state.action : v) ? o.unregister(n) : w(n, !1);
|
|
9527
9527
|
};
|
|
9528
9528
|
}, [n, o, c, s]), ie.useEffect(() => {
|
|
@@ -9533,8 +9533,8 @@ function ed(e) {
|
|
|
9533
9533
|
}, [r, n, o]), ie.useMemo(() => ({
|
|
9534
9534
|
field: $,
|
|
9535
9535
|
formState: g,
|
|
9536
|
-
fieldState:
|
|
9537
|
-
}), [$, g,
|
|
9536
|
+
fieldState: f
|
|
9537
|
+
}), [$, g, f]);
|
|
9538
9538
|
}
|
|
9539
9539
|
const bn = (e) => e.render(ed(e)), td = ie.createContext(null);
|
|
9540
9540
|
td.displayName = "HookFormContext";
|
|
@@ -9576,31 +9576,31 @@ const nd = "_textInputContainer_1o3iy_2", rd = "_labelContainer_1o3iy_5", od = "
|
|
|
9576
9576
|
onClickForgotPass: g = () => {
|
|
9577
9577
|
console.log("Click on forgot password");
|
|
9578
9578
|
},
|
|
9579
|
-
forgotPassLabel:
|
|
9579
|
+
forgotPassLabel: b = "forgot-password",
|
|
9580
9580
|
//Lógica extra al onChange además de actualizar el valor en RHF
|
|
9581
|
-
onChangeExtraFunction:
|
|
9581
|
+
onChangeExtraFunction: p = () => {
|
|
9582
9582
|
}
|
|
9583
|
-
} = e, { t:
|
|
9583
|
+
} = e, { t: y } = ce(), { control: f, trigger: _, clearErrors: x } = t, { errorColor: k } = Cn((w) => w), [$, v] = le(!1);
|
|
9584
9584
|
Se(a);
|
|
9585
9585
|
const C = () => r ? r === "password" && $ ? "text" : r : "text";
|
|
9586
9586
|
return /* @__PURE__ */ u(
|
|
9587
9587
|
bn,
|
|
9588
9588
|
{
|
|
9589
9589
|
name: n,
|
|
9590
|
-
control:
|
|
9590
|
+
control: f,
|
|
9591
9591
|
rules: {
|
|
9592
|
-
required: a ? `${
|
|
9592
|
+
required: a ? `${y(o)} ${y("errorMessages.required")}` : !1,
|
|
9593
9593
|
maxLength: s || void 0,
|
|
9594
9594
|
validate: l || void 0
|
|
9595
9595
|
},
|
|
9596
9596
|
render: ({ field: w, fieldState: N }) => {
|
|
9597
9597
|
var V;
|
|
9598
|
-
const { onChange: L, ...
|
|
9599
|
-
L(m),
|
|
9598
|
+
const { onChange: L, ...E } = w, B = (m) => {
|
|
9599
|
+
L(m), p && p(m);
|
|
9600
9600
|
};
|
|
9601
9601
|
return /* @__PURE__ */ S("div", { className: on.textInputContainer, children: [
|
|
9602
9602
|
/* @__PURE__ */ S("h3", { className: on.labelContainer, children: [
|
|
9603
|
-
|
|
9603
|
+
y(o),
|
|
9604
9604
|
" ",
|
|
9605
9605
|
a && /* @__PURE__ */ u("label", { style: { color: N.error ? d : "" }, children: "*" })
|
|
9606
9606
|
] }),
|
|
@@ -9613,10 +9613,10 @@ const nd = "_textInputContainer_1o3iy_2", rd = "_labelContainer_1o3iy_5", od = "
|
|
|
9613
9613
|
/* @__PURE__ */ u(
|
|
9614
9614
|
"input",
|
|
9615
9615
|
{
|
|
9616
|
-
...
|
|
9616
|
+
...E,
|
|
9617
9617
|
type: C(),
|
|
9618
|
-
onChange:
|
|
9619
|
-
placeholder: c ?
|
|
9618
|
+
onChange: B,
|
|
9619
|
+
placeholder: c ? y(c) : "",
|
|
9620
9620
|
maxLength: s || void 0
|
|
9621
9621
|
}
|
|
9622
9622
|
),
|
|
@@ -9630,7 +9630,7 @@ const nd = "_textInputContainer_1o3iy_2", rd = "_labelContainer_1o3iy_5", od = "
|
|
|
9630
9630
|
"img",
|
|
9631
9631
|
{
|
|
9632
9632
|
src: $ ? ud : cd,
|
|
9633
|
-
alt:
|
|
9633
|
+
alt: y("show-password")
|
|
9634
9634
|
}
|
|
9635
9635
|
)
|
|
9636
9636
|
}
|
|
@@ -9638,7 +9638,7 @@ const nd = "_textInputContainer_1o3iy_2", rd = "_labelContainer_1o3iy_5", od = "
|
|
|
9638
9638
|
]
|
|
9639
9639
|
}
|
|
9640
9640
|
),
|
|
9641
|
-
r == "password" && /* @__PURE__ */ u("div", { className: on.forgotPassButton, children: /* @__PURE__ */ u("button", { onClick: g, children: b
|
|
9641
|
+
r == "password" && /* @__PURE__ */ u("div", { className: on.forgotPassButton, children: /* @__PURE__ */ u("button", { onClick: g, children: y(b) }) }),
|
|
9642
9642
|
/* @__PURE__ */ u(
|
|
9643
9643
|
vn,
|
|
9644
9644
|
{
|
|
@@ -9671,9 +9671,9 @@ const nd = "_textInputContainer_1o3iy_2", rd = "_labelContainer_1o3iy_5", od = "
|
|
|
9671
9671
|
placeholder: d,
|
|
9672
9672
|
errorColor: h = "red",
|
|
9673
9673
|
width: g = 325,
|
|
9674
|
-
options:
|
|
9674
|
+
options: b = []
|
|
9675
9675
|
//Used if we dont use react hook form
|
|
9676
|
-
} = e, { t:
|
|
9676
|
+
} = e, { t: p } = ce(), { control: y, trigger: f, clearErrors: _ } = t || {}, { errorColor: x } = Cn((v) => v);
|
|
9677
9677
|
Se(l);
|
|
9678
9678
|
const [k, $] = le(null);
|
|
9679
9679
|
return J(() => {
|
|
@@ -9682,9 +9682,9 @@ const nd = "_textInputContainer_1o3iy_2", rd = "_labelContainer_1o3iy_5", od = "
|
|
|
9682
9682
|
bn,
|
|
9683
9683
|
{
|
|
9684
9684
|
name: r,
|
|
9685
|
-
control:
|
|
9685
|
+
control: y,
|
|
9686
9686
|
rules: {
|
|
9687
|
-
required: l ? `${
|
|
9687
|
+
required: l ? `${p(s)} ${p("errorMessages.required")}` : !1,
|
|
9688
9688
|
validate: c ? (v) => {
|
|
9689
9689
|
let C = t.getValues();
|
|
9690
9690
|
return c(v, C);
|
|
@@ -9692,12 +9692,12 @@ const nd = "_textInputContainer_1o3iy_2", rd = "_labelContainer_1o3iy_5", od = "
|
|
|
9692
9692
|
},
|
|
9693
9693
|
render: ({ field: v, fieldState: C }) => {
|
|
9694
9694
|
var N;
|
|
9695
|
-
const w =
|
|
9695
|
+
const w = b.find(
|
|
9696
9696
|
(L) => L.value === v.value
|
|
9697
9697
|
);
|
|
9698
9698
|
return /* @__PURE__ */ S("div", { className: Fe.selectInputContainer, children: [
|
|
9699
9699
|
s && /* @__PURE__ */ S("h3", { className: Fe.labelContainer, children: [
|
|
9700
|
-
|
|
9700
|
+
p(s),
|
|
9701
9701
|
" ",
|
|
9702
9702
|
l && /* @__PURE__ */ u("label", { style: { color: C.error ? h : "" }, children: "*" })
|
|
9703
9703
|
] }),
|
|
@@ -9709,20 +9709,20 @@ const nd = "_textInputContainer_1o3iy_2", rd = "_labelContainer_1o3iy_5", od = "
|
|
|
9709
9709
|
...v,
|
|
9710
9710
|
value: v.value ?? "",
|
|
9711
9711
|
onChange: (L) => {
|
|
9712
|
-
const
|
|
9713
|
-
v.onChange(
|
|
9712
|
+
const E = L.target.value, B = b.every((V) => typeof V.value == "number") ? Number(E) : E;
|
|
9713
|
+
v.onChange(B);
|
|
9714
9714
|
},
|
|
9715
9715
|
className: Fe.selectInput,
|
|
9716
9716
|
children: [
|
|
9717
|
-
/* @__PURE__ */ u("option", { value: "", disabled: !0, hidden: !0, children:
|
|
9718
|
-
|
|
9717
|
+
/* @__PURE__ */ u("option", { value: "", disabled: !0, hidden: !0, children: p(d || "selectOption") }),
|
|
9718
|
+
b.map((L, E) => /* @__PURE__ */ u(
|
|
9719
9719
|
"option",
|
|
9720
9720
|
{
|
|
9721
9721
|
value: L.value,
|
|
9722
9722
|
className: Fe.option,
|
|
9723
|
-
children:
|
|
9723
|
+
children: p(L.label)
|
|
9724
9724
|
},
|
|
9725
|
-
|
|
9725
|
+
E
|
|
9726
9726
|
))
|
|
9727
9727
|
]
|
|
9728
9728
|
}
|
|
@@ -9736,7 +9736,7 @@ const nd = "_textInputContainer_1o3iy_2", rd = "_labelContainer_1o3iy_5", od = "
|
|
|
9736
9736
|
}
|
|
9737
9737
|
)
|
|
9738
9738
|
] }),
|
|
9739
|
-
w && w.description && /* @__PURE__ */ u("div", { className: Fe.optionDescription, children:
|
|
9739
|
+
w && w.description && /* @__PURE__ */ u("div", { className: Fe.optionDescription, children: p(w.description) })
|
|
9740
9740
|
] }),
|
|
9741
9741
|
/* @__PURE__ */ u(
|
|
9742
9742
|
vn,
|
|
@@ -9750,7 +9750,7 @@ const nd = "_textInputContainer_1o3iy_2", rd = "_labelContainer_1o3iy_5", od = "
|
|
|
9750
9750
|
}
|
|
9751
9751
|
) : /* @__PURE__ */ S("div", { className: Fe.selectInputContainer, children: [
|
|
9752
9752
|
s && /* @__PURE__ */ S("h3", { className: Fe.labelContainer, children: [
|
|
9753
|
-
|
|
9753
|
+
p(s),
|
|
9754
9754
|
" ",
|
|
9755
9755
|
l && /* @__PURE__ */ u("label", { children: "*" })
|
|
9756
9756
|
] }),
|
|
@@ -9760,18 +9760,18 @@ const nd = "_textInputContainer_1o3iy_2", rd = "_labelContainer_1o3iy_5", od = "
|
|
|
9760
9760
|
{
|
|
9761
9761
|
value: k ?? "",
|
|
9762
9762
|
onChange: (v) => {
|
|
9763
|
-
const C = v.target.value, w =
|
|
9763
|
+
const C = v.target.value, w = b.every((N) => typeof N.value == "number") ? Number(C) : C;
|
|
9764
9764
|
$(w);
|
|
9765
9765
|
},
|
|
9766
9766
|
className: Fe.selectInput,
|
|
9767
9767
|
children: [
|
|
9768
|
-
/* @__PURE__ */ u("option", { value: "", disabled: !0, hidden: !0, children:
|
|
9769
|
-
|
|
9768
|
+
/* @__PURE__ */ u("option", { value: "", disabled: !0, hidden: !0, children: p(d || "selectOption") }),
|
|
9769
|
+
b.map((v, C) => /* @__PURE__ */ u(
|
|
9770
9770
|
"option",
|
|
9771
9771
|
{
|
|
9772
9772
|
value: v.value,
|
|
9773
9773
|
className: Fe.option,
|
|
9774
|
-
children:
|
|
9774
|
+
children: p(v.label)
|
|
9775
9775
|
},
|
|
9776
9776
|
C
|
|
9777
9777
|
))
|
|
@@ -9781,10 +9781,10 @@ const nd = "_textInputContainer_1o3iy_2", rd = "_labelContainer_1o3iy_5", od = "
|
|
|
9781
9781
|
/* @__PURE__ */ u("img", { src: xi, alt: "Open", className: Fe.dropdownArrow })
|
|
9782
9782
|
] }),
|
|
9783
9783
|
(() => {
|
|
9784
|
-
const v =
|
|
9784
|
+
const v = b.find(
|
|
9785
9785
|
(C) => C.value === k
|
|
9786
9786
|
);
|
|
9787
|
-
return v && v.description ? /* @__PURE__ */ u("div", { className: Fe.optionDescription, children:
|
|
9787
|
+
return v && v.description ? /* @__PURE__ */ u("div", { className: Fe.optionDescription, children: p(v.description) }) : null;
|
|
9788
9788
|
})()
|
|
9789
9789
|
] });
|
|
9790
9790
|
}, Cd = "_radioButtonContainer_1e994_2", _d = "_wholeInputContainer_1e994_5", xd = "_questionContainer_1e994_27", wd = "_radioQuestion_1e994_59", Sd = "_inputContainer_1e994_63", kd = "_radioInput_1e994_93", kt = {
|
|
@@ -9803,12 +9803,12 @@ const nd = "_textInputContainer_1o3iy_2", rd = "_labelContainer_1o3iy_5", od = "
|
|
|
9803
9803
|
errorColor: a = "red",
|
|
9804
9804
|
options: l = [],
|
|
9805
9805
|
multi: c = !1
|
|
9806
|
-
} = e, { t: d } = ce(), { control: h, trigger: g, clearErrors:
|
|
9806
|
+
} = e, { t: d } = ce(), { control: h, trigger: g, clearErrors: b } = t, { errorColor: p } = Cn((_) => _), y = ({ options: _, onChange: x, actualValue: k }) => {
|
|
9807
9807
|
if (c && k && k.length > 0) {
|
|
9808
9808
|
let $ = k.filter((v) => v !== _);
|
|
9809
9809
|
x($);
|
|
9810
9810
|
}
|
|
9811
|
-
},
|
|
9811
|
+
}, f = ({ options: _, onChange: x, actualValue: k }) => {
|
|
9812
9812
|
c ? k && k.length > 0 ? x([...k, _]) : x([_]) : x(_);
|
|
9813
9813
|
};
|
|
9814
9814
|
return Se(o), /* @__PURE__ */ u(
|
|
@@ -9849,10 +9849,10 @@ const nd = "_textInputContainer_1o3iy_2", rd = "_labelContainer_1o3iy_5", od = "
|
|
|
9849
9849
|
({
|
|
9850
9850
|
label: N,
|
|
9851
9851
|
value: L,
|
|
9852
|
-
disabled:
|
|
9853
|
-
italicLabel:
|
|
9852
|
+
disabled: E = !1,
|
|
9853
|
+
italicLabel: B
|
|
9854
9854
|
}, V) => {
|
|
9855
|
-
const m = $ && c ? $.isArray && ($ == null ? void 0 : $.length) > 0 && $.some((
|
|
9855
|
+
const m = $ && c ? $.isArray && ($ == null ? void 0 : $.length) > 0 && $.some((O) => O === L) : $ === L;
|
|
9856
9856
|
return /* @__PURE__ */ S("label", { children: [
|
|
9857
9857
|
/* @__PURE__ */ u(
|
|
9858
9858
|
"input",
|
|
@@ -9860,11 +9860,11 @@ const nd = "_textInputContainer_1o3iy_2", rd = "_labelContainer_1o3iy_5", od = "
|
|
|
9860
9860
|
type: "radio",
|
|
9861
9861
|
checked: m,
|
|
9862
9862
|
onChange: () => {
|
|
9863
|
-
c ? m ?
|
|
9863
|
+
c ? m ? y({
|
|
9864
9864
|
actualValue: $,
|
|
9865
9865
|
options: l,
|
|
9866
9866
|
onChange: x
|
|
9867
|
-
}) :
|
|
9867
|
+
}) : f({
|
|
9868
9868
|
actualValue: $,
|
|
9869
9869
|
options: l,
|
|
9870
9870
|
onChange: x
|
|
@@ -9882,7 +9882,7 @@ const nd = "_textInputContainer_1o3iy_2", rd = "_labelContainer_1o3iy_5", od = "
|
|
|
9882
9882
|
vn,
|
|
9883
9883
|
{
|
|
9884
9884
|
errorMessage: (w = C.error) == null ? void 0 : w.message,
|
|
9885
|
-
errorColor:
|
|
9885
|
+
errorColor: p || a
|
|
9886
9886
|
}
|
|
9887
9887
|
)
|
|
9888
9888
|
] })
|
|
@@ -9911,18 +9911,18 @@ const nd = "_textInputContainer_1o3iy_2", rd = "_labelContainer_1o3iy_5", od = "
|
|
|
9911
9911
|
required: d,
|
|
9912
9912
|
errorColor: h = "red",
|
|
9913
9913
|
labelWidth: g = "300px",
|
|
9914
|
-
sliderWidth:
|
|
9915
|
-
minText:
|
|
9916
|
-
maxText:
|
|
9917
|
-
disabled:
|
|
9914
|
+
sliderWidth: b = "300px",
|
|
9915
|
+
minText: p,
|
|
9916
|
+
maxText: y,
|
|
9917
|
+
disabled: f = !1,
|
|
9918
9918
|
marks: _ = Array.from(
|
|
9919
9919
|
{ length: a - s + 1 },
|
|
9920
|
-
(
|
|
9920
|
+
(E, B) => s + B
|
|
9921
9921
|
),
|
|
9922
9922
|
showMarksNumber: x = !0
|
|
9923
9923
|
} = e, { t: k } = ce(), { control: $, trigger: v, clearErrors: C } = t || {};
|
|
9924
9924
|
Se(d);
|
|
9925
|
-
const { errorColorForm: w } = Cn((
|
|
9925
|
+
const { errorColorForm: w } = Cn((E) => E), [N, L] = le(l);
|
|
9926
9926
|
return t ? /* @__PURE__ */ u(
|
|
9927
9927
|
bn,
|
|
9928
9928
|
{
|
|
@@ -9932,26 +9932,26 @@ const nd = "_textInputContainer_1o3iy_2", rd = "_labelContainer_1o3iy_5", od = "
|
|
|
9932
9932
|
rules: {
|
|
9933
9933
|
required: d ? `${k(o)} ${k("errorMessages.required")}` : !1
|
|
9934
9934
|
},
|
|
9935
|
-
render: ({ field:
|
|
9935
|
+
render: ({ field: E, fieldState: B }) => {
|
|
9936
9936
|
var V;
|
|
9937
9937
|
return /* @__PURE__ */ S(
|
|
9938
9938
|
"div",
|
|
9939
9939
|
{
|
|
9940
9940
|
className: Ee.rankingSliderContainer,
|
|
9941
9941
|
style: {
|
|
9942
|
-
gridTemplateColumns: `${o && g} ${
|
|
9942
|
+
gridTemplateColumns: `${o && g} ${b}`
|
|
9943
9943
|
},
|
|
9944
9944
|
children: [
|
|
9945
9945
|
o && /* @__PURE__ */ u(
|
|
9946
9946
|
"p",
|
|
9947
9947
|
{
|
|
9948
9948
|
className: Ee.labelContainer,
|
|
9949
|
-
style: { color:
|
|
9949
|
+
style: { color: f ? "#CCCCCC" : "#605B56" },
|
|
9950
9950
|
children: k(o)
|
|
9951
9951
|
}
|
|
9952
9952
|
),
|
|
9953
9953
|
/* @__PURE__ */ S("div", { className: Ee.inputContainer, children: [
|
|
9954
|
-
|
|
9954
|
+
p && /* @__PURE__ */ u("div", { className: Ee.minLabel, children: k(p) }),
|
|
9955
9955
|
/* @__PURE__ */ S("div", { children: [
|
|
9956
9956
|
/* @__PURE__ */ u(
|
|
9957
9957
|
Br,
|
|
@@ -9959,9 +9959,9 @@ const nd = "_textInputContainer_1o3iy_2", rd = "_labelContainer_1o3iy_5", od = "
|
|
|
9959
9959
|
min: s,
|
|
9960
9960
|
max: a,
|
|
9961
9961
|
step: 1,
|
|
9962
|
-
value:
|
|
9962
|
+
value: E.value ?? l,
|
|
9963
9963
|
onChange: (m) => {
|
|
9964
|
-
|
|
9964
|
+
E.onChange(m);
|
|
9965
9965
|
},
|
|
9966
9966
|
marks: !0,
|
|
9967
9967
|
className: Ee.slider,
|
|
@@ -9972,24 +9972,24 @@ const nd = "_textInputContainer_1o3iy_2", rd = "_labelContainer_1o3iy_5", od = "
|
|
|
9972
9972
|
...m,
|
|
9973
9973
|
style: {
|
|
9974
9974
|
...m.style,
|
|
9975
|
-
backgroundColor:
|
|
9976
|
-
cursor:
|
|
9975
|
+
backgroundColor: f ? "#CCCCCC" : c,
|
|
9976
|
+
cursor: f ? "not-allowed" : "grab"
|
|
9977
9977
|
}
|
|
9978
9978
|
}
|
|
9979
9979
|
),
|
|
9980
9980
|
trackClassName: Ee.track,
|
|
9981
9981
|
markClassName: Ee.mark,
|
|
9982
|
-
disabled:
|
|
9982
|
+
disabled: f
|
|
9983
9983
|
}
|
|
9984
9984
|
),
|
|
9985
9985
|
_ && /* @__PURE__ */ u("div", { className: Ee.labels, children: _.map((m) => /* @__PURE__ */ u("span", { children: x && m }, m)) })
|
|
9986
9986
|
] }),
|
|
9987
|
-
|
|
9987
|
+
y && /* @__PURE__ */ u("div", { className: Ee.maxLabel, children: k(y) })
|
|
9988
9988
|
] }),
|
|
9989
9989
|
/* @__PURE__ */ u(
|
|
9990
9990
|
vn,
|
|
9991
9991
|
{
|
|
9992
|
-
errorMessage: (V =
|
|
9992
|
+
errorMessage: (V = B.error) == null ? void 0 : V.message,
|
|
9993
9993
|
errorColor: w || h
|
|
9994
9994
|
}
|
|
9995
9995
|
)
|
|
@@ -10002,18 +10002,18 @@ const nd = "_textInputContainer_1o3iy_2", rd = "_labelContainer_1o3iy_5", od = "
|
|
|
10002
10002
|
"div",
|
|
10003
10003
|
{
|
|
10004
10004
|
className: Ee.rankingSliderContainer,
|
|
10005
|
-
style: { gridTemplateColumns: `${o && g} ${
|
|
10005
|
+
style: { gridTemplateColumns: `${o && g} ${b}` },
|
|
10006
10006
|
children: [
|
|
10007
10007
|
o && /* @__PURE__ */ u(
|
|
10008
10008
|
"p",
|
|
10009
10009
|
{
|
|
10010
10010
|
className: Ee.labelContainer,
|
|
10011
|
-
style: { color:
|
|
10011
|
+
style: { color: f ? "#CCCCCC" : "#605B56" },
|
|
10012
10012
|
children: k(o)
|
|
10013
10013
|
}
|
|
10014
10014
|
),
|
|
10015
10015
|
/* @__PURE__ */ S("div", { className: Ee.inputContainer, children: [
|
|
10016
|
-
|
|
10016
|
+
p && /* @__PURE__ */ u("div", { className: Ee.minLabel, children: k(p) }),
|
|
10017
10017
|
/* @__PURE__ */ S("div", { children: [
|
|
10018
10018
|
/* @__PURE__ */ u(
|
|
10019
10019
|
Br,
|
|
@@ -10022,31 +10022,31 @@ const nd = "_textInputContainer_1o3iy_2", rd = "_labelContainer_1o3iy_5", od = "
|
|
|
10022
10022
|
max: a,
|
|
10023
10023
|
step: 1,
|
|
10024
10024
|
value: N,
|
|
10025
|
-
onChange: (
|
|
10026
|
-
L(
|
|
10025
|
+
onChange: (E) => {
|
|
10026
|
+
L(E), n && n(E);
|
|
10027
10027
|
},
|
|
10028
10028
|
marks: !0,
|
|
10029
10029
|
className: Ee.slider,
|
|
10030
10030
|
thumbClassName: Ee.thumb,
|
|
10031
|
-
renderThumb: (
|
|
10031
|
+
renderThumb: (E) => /* @__PURE__ */ u(
|
|
10032
10032
|
"div",
|
|
10033
10033
|
{
|
|
10034
|
-
...
|
|
10034
|
+
...E,
|
|
10035
10035
|
style: {
|
|
10036
|
-
...
|
|
10037
|
-
backgroundColor:
|
|
10038
|
-
cursor:
|
|
10036
|
+
...E.style,
|
|
10037
|
+
backgroundColor: f ? "#CCCCCC" : c,
|
|
10038
|
+
cursor: f ? "not-allowed" : "grab"
|
|
10039
10039
|
}
|
|
10040
10040
|
}
|
|
10041
10041
|
),
|
|
10042
10042
|
trackClassName: Ee.track,
|
|
10043
10043
|
markClassName: Ee.mark,
|
|
10044
|
-
disabled:
|
|
10044
|
+
disabled: f
|
|
10045
10045
|
}
|
|
10046
10046
|
),
|
|
10047
|
-
_ && /* @__PURE__ */ u("div", { className: Ee.labels, children: _.map((
|
|
10047
|
+
_ && /* @__PURE__ */ u("div", { className: Ee.labels, children: _.map((E) => /* @__PURE__ */ u("span", { children: x && E }, E)) })
|
|
10048
10048
|
] }),
|
|
10049
|
-
|
|
10049
|
+
y && /* @__PURE__ */ u("div", { className: Ee.maxLabel, children: k(y) })
|
|
10050
10050
|
] })
|
|
10051
10051
|
]
|
|
10052
10052
|
}
|
|
@@ -10210,18 +10210,18 @@ const Dd = "_textDescriptionContainer_163pc_2", Id = "_textDescriptionText_163pc
|
|
|
10210
10210
|
className: an.categorySelector,
|
|
10211
10211
|
style: o ? { ...o } : {},
|
|
10212
10212
|
children: e.map((c, d) => {
|
|
10213
|
-
const { id: h, label: g } = c,
|
|
10213
|
+
const { id: h, label: g } = c, b = n == h, p = s.includes(h);
|
|
10214
10214
|
return /* @__PURE__ */ u(
|
|
10215
10215
|
"button",
|
|
10216
10216
|
{
|
|
10217
|
-
className: `${an.sectionItem} ${
|
|
10217
|
+
className: `${an.sectionItem} ${b ? an.sectionItemActive : ""} ${p ? an.sectionItemError : ""}`,
|
|
10218
10218
|
type: "button",
|
|
10219
|
-
style: { backgroundColor:
|
|
10219
|
+
style: { backgroundColor: b ? r : "inherit" },
|
|
10220
10220
|
onClick: () => l(h),
|
|
10221
10221
|
children: /* @__PURE__ */ u(
|
|
10222
10222
|
"span",
|
|
10223
10223
|
{
|
|
10224
|
-
style: { color:
|
|
10224
|
+
style: { color: b ? "white" : "inherit" },
|
|
10225
10225
|
className: an.sectionLabel,
|
|
10226
10226
|
children: a(g)
|
|
10227
10227
|
}
|
|
@@ -10245,37 +10245,37 @@ const Dd = "_textDescriptionContainer_163pc_2", Id = "_textDescriptionText_163pc
|
|
|
10245
10245
|
defaultCategory: d = null,
|
|
10246
10246
|
categoryLabel: h = "Select Category",
|
|
10247
10247
|
activeCategory: g = null,
|
|
10248
|
-
activeCategoryColor:
|
|
10249
|
-
categoriesWithErrors:
|
|
10250
|
-
onSubmit:
|
|
10248
|
+
activeCategoryColor: b = "#b32f5d",
|
|
10249
|
+
categoriesWithErrors: p = [],
|
|
10250
|
+
onSubmit: y = (f) => console.log("Form submitted with: ", f)
|
|
10251
10251
|
}) => {
|
|
10252
|
-
const { t:
|
|
10252
|
+
const { t: f } = ce(), { handleSubmit: _, control: x } = e;
|
|
10253
10253
|
J(() => {
|
|
10254
10254
|
s && Cn.setState(() => ({ errorColor: s }));
|
|
10255
10255
|
}, [s]);
|
|
10256
|
-
const k = je(() => t ? t.filter((
|
|
10257
|
-
var
|
|
10256
|
+
const k = je(() => t ? t.filter((E) => E.category).map((E) => {
|
|
10257
|
+
var B;
|
|
10258
10258
|
return {
|
|
10259
|
-
id:
|
|
10260
|
-
label:
|
|
10261
|
-
hasSubcategories: ((
|
|
10259
|
+
id: E.categoryId,
|
|
10260
|
+
label: E.category,
|
|
10261
|
+
hasSubcategories: ((B = E.subcategories) == null ? void 0 : B.length) > 0
|
|
10262
10262
|
};
|
|
10263
|
-
}) : [], [t]), $ = (
|
|
10264
|
-
const
|
|
10265
|
-
return (
|
|
10263
|
+
}) : [], [t]), $ = (E) => {
|
|
10264
|
+
const B = t == null ? void 0 : t.find((V) => V.categoryId === E);
|
|
10265
|
+
return (B == null ? void 0 : B.subcategories) || [];
|
|
10266
10266
|
}, [v, C] = le(
|
|
10267
10267
|
g || d || null
|
|
10268
10268
|
), [w, N] = le(null);
|
|
10269
10269
|
J(() => {
|
|
10270
10270
|
!v && k.length > 0 && C(k[0].id);
|
|
10271
10271
|
}, [k, v]), J(() => {
|
|
10272
|
-
const
|
|
10273
|
-
!w && (
|
|
10272
|
+
const E = $(v);
|
|
10273
|
+
!w && (E == null ? void 0 : E.length) > 0 && N(E[0].id);
|
|
10274
10274
|
}, [v, w, t]);
|
|
10275
|
-
const L = (
|
|
10275
|
+
const L = (E, B) => {
|
|
10276
10276
|
var V;
|
|
10277
|
-
if (((V =
|
|
10278
|
-
const m =
|
|
10277
|
+
if (((V = E.subcategories) == null ? void 0 : V.length) > 0) {
|
|
10278
|
+
const m = E.subcategories;
|
|
10279
10279
|
return /* @__PURE__ */ S("div", { children: [
|
|
10280
10280
|
/* @__PURE__ */ u(
|
|
10281
10281
|
"div",
|
|
@@ -10286,48 +10286,48 @@ const Dd = "_textDescriptionContainer_163pc_2", Id = "_textDescriptionText_163pc
|
|
|
10286
10286
|
{
|
|
10287
10287
|
activeCategory: w,
|
|
10288
10288
|
categories: m,
|
|
10289
|
-
categoriesWithErrors:
|
|
10290
|
-
onChange: (
|
|
10291
|
-
activeColor:
|
|
10289
|
+
categoriesWithErrors: p,
|
|
10290
|
+
onChange: (O) => N(O),
|
|
10291
|
+
activeColor: b
|
|
10292
10292
|
}
|
|
10293
10293
|
)
|
|
10294
10294
|
},
|
|
10295
|
-
|
|
10295
|
+
E.categoryId
|
|
10296
10296
|
),
|
|
10297
|
-
m.map((
|
|
10298
|
-
const
|
|
10297
|
+
m.map((O, T) => {
|
|
10298
|
+
const z = !w || O.id === w;
|
|
10299
10299
|
return n ? /* @__PURE__ */ u(
|
|
10300
10300
|
"div",
|
|
10301
10301
|
{
|
|
10302
10302
|
style: {
|
|
10303
|
-
display:
|
|
10303
|
+
display: z ? "block" : "none",
|
|
10304
10304
|
width: "100%"
|
|
10305
10305
|
},
|
|
10306
|
-
children: /* @__PURE__ */ u(n, { title:
|
|
10306
|
+
children: /* @__PURE__ */ u(n, { title: O.label, children: /* @__PURE__ */ u(
|
|
10307
10307
|
sn,
|
|
10308
10308
|
{
|
|
10309
|
-
inputs:
|
|
10309
|
+
inputs: O.inputs,
|
|
10310
10310
|
control: x,
|
|
10311
10311
|
inputContainerStyles: r,
|
|
10312
10312
|
errorColor: s,
|
|
10313
10313
|
reactHookFormInstance: e
|
|
10314
10314
|
}
|
|
10315
|
-
) },
|
|
10315
|
+
) }, O.id)
|
|
10316
10316
|
},
|
|
10317
|
-
`${
|
|
10317
|
+
`${O.id}${T}`
|
|
10318
10318
|
) : /* @__PURE__ */ S(
|
|
10319
10319
|
"div",
|
|
10320
10320
|
{
|
|
10321
10321
|
style: {
|
|
10322
10322
|
width: "100%",
|
|
10323
|
-
display:
|
|
10323
|
+
display: z ? "block" : "none"
|
|
10324
10324
|
},
|
|
10325
10325
|
children: [
|
|
10326
|
-
/* @__PURE__ */ u("h3", { style: { marginBottom: 15 }, children:
|
|
10326
|
+
/* @__PURE__ */ u("h3", { style: { marginBottom: 15 }, children: f(O.label) }),
|
|
10327
10327
|
/* @__PURE__ */ u(
|
|
10328
10328
|
sn,
|
|
10329
10329
|
{
|
|
10330
|
-
inputs:
|
|
10330
|
+
inputs: O.inputs,
|
|
10331
10331
|
control: x,
|
|
10332
10332
|
inputContainerStyles: r,
|
|
10333
10333
|
errorColor: s,
|
|
@@ -10336,73 +10336,73 @@ const Dd = "_textDescriptionContainer_163pc_2", Id = "_textDescriptionText_163pc
|
|
|
10336
10336
|
)
|
|
10337
10337
|
]
|
|
10338
10338
|
},
|
|
10339
|
-
`${
|
|
10339
|
+
`${O.id}${T}`
|
|
10340
10340
|
);
|
|
10341
10341
|
})
|
|
10342
10342
|
] });
|
|
10343
10343
|
}
|
|
10344
|
-
return n ? /* @__PURE__ */ u(n, { title:
|
|
10344
|
+
return n ? /* @__PURE__ */ u(n, { title: E.category, children: /* @__PURE__ */ u(
|
|
10345
10345
|
sn,
|
|
10346
10346
|
{
|
|
10347
|
-
inputs:
|
|
10347
|
+
inputs: E.inputs,
|
|
10348
10348
|
control: x,
|
|
10349
10349
|
inputContainerStyles: r,
|
|
10350
10350
|
errorColor: s,
|
|
10351
10351
|
reactHookFormInstance: e
|
|
10352
10352
|
}
|
|
10353
|
-
) },
|
|
10354
|
-
/* @__PURE__ */ u("h2", { children:
|
|
10353
|
+
) }, E.categoryId) : /* @__PURE__ */ S("div", { style: { width: "100%" }, children: [
|
|
10354
|
+
/* @__PURE__ */ u("h2", { children: f(E.category) }),
|
|
10355
10355
|
/* @__PURE__ */ u(
|
|
10356
10356
|
sn,
|
|
10357
10357
|
{
|
|
10358
|
-
inputs:
|
|
10358
|
+
inputs: E.inputs,
|
|
10359
10359
|
control: x,
|
|
10360
10360
|
inputContainerStyles: r,
|
|
10361
10361
|
errorColor: s,
|
|
10362
10362
|
reactHookFormInstance: e
|
|
10363
10363
|
}
|
|
10364
10364
|
)
|
|
10365
|
-
] },
|
|
10365
|
+
] }, E.categoryId);
|
|
10366
10366
|
};
|
|
10367
|
-
return /* @__PURE__ */ S("form", { className: rn.formContainer, onSubmit: _(
|
|
10367
|
+
return /* @__PURE__ */ S("form", { className: rn.formContainer, onSubmit: _(y), children: [
|
|
10368
10368
|
c && k.length > 0 && /* @__PURE__ */ u("div", { className: rn.categorySelectorContainer, children: /* @__PURE__ */ u(
|
|
10369
10369
|
Si,
|
|
10370
10370
|
{
|
|
10371
10371
|
activeCategory: v,
|
|
10372
10372
|
categories: k,
|
|
10373
|
-
categoriesWithErrors:
|
|
10374
|
-
onChange: (
|
|
10375
|
-
C(
|
|
10373
|
+
categoriesWithErrors: p,
|
|
10374
|
+
onChange: (E) => {
|
|
10375
|
+
C(E), N(null);
|
|
10376
10376
|
},
|
|
10377
|
-
activeColor:
|
|
10377
|
+
activeColor: b
|
|
10378
10378
|
}
|
|
10379
10379
|
) }),
|
|
10380
|
-
/* @__PURE__ */ u("div", { className: rn.formObjectContainer, children: t == null ? void 0 : t.map((
|
|
10381
|
-
const V =
|
|
10382
|
-
return
|
|
10380
|
+
/* @__PURE__ */ u("div", { className: rn.formObjectContainer, children: t == null ? void 0 : t.map((E, B) => {
|
|
10381
|
+
const V = E.categoryId === v;
|
|
10382
|
+
return E.category ? /* @__PURE__ */ u(
|
|
10383
10383
|
"div",
|
|
10384
10384
|
{
|
|
10385
10385
|
style: {
|
|
10386
10386
|
width: "100%",
|
|
10387
10387
|
display: V ? "block" : "none"
|
|
10388
10388
|
},
|
|
10389
|
-
children: L(
|
|
10389
|
+
children: L(E)
|
|
10390
10390
|
},
|
|
10391
|
-
|
|
10391
|
+
E.categoryId
|
|
10392
10392
|
) : /* @__PURE__ */ u(
|
|
10393
10393
|
sn,
|
|
10394
10394
|
{
|
|
10395
|
-
inputs:
|
|
10395
|
+
inputs: E.inputs,
|
|
10396
10396
|
control: x,
|
|
10397
10397
|
inputContainerStyles: r,
|
|
10398
10398
|
errorColor: s,
|
|
10399
10399
|
reactHookFormInstance: e
|
|
10400
10400
|
},
|
|
10401
|
-
`no-category-${
|
|
10401
|
+
`no-category-${B}`
|
|
10402
10402
|
);
|
|
10403
10403
|
}) }),
|
|
10404
10404
|
/* @__PURE__ */ S("div", { className: rn.buttonContainer, children: [
|
|
10405
|
-
/* @__PURE__ */ u(Xn, { containerStyles: l, type: "submit", children:
|
|
10405
|
+
/* @__PURE__ */ u(Xn, { containerStyles: l, type: "submit", children: f(a) }),
|
|
10406
10406
|
/* @__PURE__ */ u(vn, { errorMessage: o, errorColor: s })
|
|
10407
10407
|
] })
|
|
10408
10408
|
] });
|
|
@@ -10565,8 +10565,8 @@ const pf = "_switchContainer_194wl_2", mf = "_labelRight_194wl_9", hf = "_labelL
|
|
|
10565
10565
|
colorOn: c = "#5A514D",
|
|
10566
10566
|
disabled: d = !1,
|
|
10567
10567
|
width: h = 240
|
|
10568
|
-
} = e, { t: g } = ce(), { control:
|
|
10569
|
-
|
|
10568
|
+
} = e, { t: g } = ce(), { control: b } = t || {}, [p, y] = le(l), f = (x) => {
|
|
10569
|
+
y(x), n && n(x);
|
|
10570
10570
|
}, _ = (x, k) => /* @__PURE__ */ S("div", { className: Ut.switchContainer, style: { width: `${h}px` }, children: [
|
|
10571
10571
|
s && /* @__PURE__ */ u(
|
|
10572
10572
|
"span",
|
|
@@ -10602,11 +10602,11 @@ const pf = "_switchContainer_194wl_2", mf = "_labelRight_194wl_9", hf = "_labelL
|
|
|
10602
10602
|
bn,
|
|
10603
10603
|
{
|
|
10604
10604
|
name: o,
|
|
10605
|
-
control:
|
|
10605
|
+
control: b,
|
|
10606
10606
|
defaultValue: l,
|
|
10607
10607
|
render: ({ field: x }) => _(x.value, x.onChange)
|
|
10608
10608
|
}
|
|
10609
|
-
) : _(
|
|
10609
|
+
) : _(p, f);
|
|
10610
10610
|
};
|
|
10611
10611
|
bf.propTypes = {
|
|
10612
10612
|
input: i.shape({
|
|
@@ -10655,7 +10655,7 @@ const Sf = "_container_1pl8d_3", kf = "_burger_1pl8d_10", Tf = "_menu_1pl8d_21",
|
|
|
10655
10655
|
textColor: n,
|
|
10656
10656
|
iconColor: r
|
|
10657
10657
|
}) => {
|
|
10658
|
-
const [o, s] = le(!1), a = () => s((
|
|
10658
|
+
const [o, s] = le(!1), a = () => s((y) => !y), l = () => s(!1), c = 7, d = o ? 11 : 0, h = o ? 13 : 0, g = o ? -11.51666 : 0, b = o ? -13 : 0, p = "0.35s";
|
|
10659
10659
|
return /* @__PURE__ */ S("div", { className: rt.container, children: [
|
|
10660
10660
|
/* @__PURE__ */ u("button", { onClick: a, className: rt.burger, children: /* @__PURE__ */ S(
|
|
10661
10661
|
"svg",
|
|
@@ -10671,7 +10671,7 @@ const Sf = "_container_1pl8d_3", kf = "_burger_1pl8d_10", Tf = "_menu_1pl8d_21",
|
|
|
10671
10671
|
{
|
|
10672
10672
|
style: {
|
|
10673
10673
|
transform: `translateY(${d}px)`,
|
|
10674
|
-
transition: `transform ${
|
|
10674
|
+
transition: `transform ${p} cubic-bezier(0.42, 0, 0.58, 1)`
|
|
10675
10675
|
},
|
|
10676
10676
|
children: /* @__PURE__ */ u("circle", { cx: "20", cy: "9", r: c, fill: r })
|
|
10677
10677
|
}
|
|
@@ -10681,7 +10681,7 @@ const Sf = "_container_1pl8d_3", kf = "_burger_1pl8d_10", Tf = "_menu_1pl8d_21",
|
|
|
10681
10681
|
{
|
|
10682
10682
|
style: {
|
|
10683
10683
|
transform: `translate(${h}px, ${g}px)`,
|
|
10684
|
-
transition: `transform ${
|
|
10684
|
+
transition: `transform ${p} cubic-bezier(0.42, 0, 0.58, 1)`
|
|
10685
10685
|
},
|
|
10686
10686
|
children: /* @__PURE__ */ u("circle", { cx: "7", cy: "31.51666", r: c, fill: r })
|
|
10687
10687
|
}
|
|
@@ -10690,8 +10690,8 @@ const Sf = "_container_1pl8d_3", kf = "_burger_1pl8d_10", Tf = "_menu_1pl8d_21",
|
|
|
10690
10690
|
"g",
|
|
10691
10691
|
{
|
|
10692
10692
|
style: {
|
|
10693
|
-
transform: `translate(${
|
|
10694
|
-
transition: `transform ${
|
|
10693
|
+
transform: `translate(${b}px, ${g}px)`,
|
|
10694
|
+
transition: `transform ${p} cubic-bezier(0.42, 0, 0.58, 1)`
|
|
10695
10695
|
},
|
|
10696
10696
|
children: /* @__PURE__ */ u("circle", { cx: "33", cy: "31.51666", r: c, fill: r })
|
|
10697
10697
|
}
|
|
@@ -10701,7 +10701,7 @@ const Sf = "_container_1pl8d_3", kf = "_burger_1pl8d_10", Tf = "_menu_1pl8d_21",
|
|
|
10701
10701
|
{
|
|
10702
10702
|
style: {
|
|
10703
10703
|
opacity: o ? 1 : 0,
|
|
10704
|
-
transition: `opacity ${
|
|
10704
|
+
transition: `opacity ${p} cubic-bezier(0.42, 0, 0.58, 1)`
|
|
10705
10705
|
},
|
|
10706
10706
|
children: /* @__PURE__ */ u("circle", { cx: "20", cy: "20", r: "10", fill: r })
|
|
10707
10707
|
}
|
|
@@ -10714,7 +10714,7 @@ const Sf = "_container_1pl8d_3", kf = "_burger_1pl8d_10", Tf = "_menu_1pl8d_21",
|
|
|
10714
10714
|
strokeLinecap: "round",
|
|
10715
10715
|
style: {
|
|
10716
10716
|
opacity: o ? 1 : 0,
|
|
10717
|
-
transition: `opacity ${
|
|
10717
|
+
transition: `opacity ${p} cubic-bezier(0.42, 0, 0.58, 1)`
|
|
10718
10718
|
},
|
|
10719
10719
|
children: [
|
|
10720
10720
|
/* @__PURE__ */ u("line", { x1: "17", y1: "17", x2: "23", y2: "23" }),
|
|
@@ -10730,29 +10730,29 @@ const Sf = "_container_1pl8d_3", kf = "_burger_1pl8d_10", Tf = "_menu_1pl8d_21",
|
|
|
10730
10730
|
{
|
|
10731
10731
|
className: `${rt.menu} ${o ? rt.menuOpen : rt.menuClose}`,
|
|
10732
10732
|
style: { backgroundColor: t, color: n },
|
|
10733
|
-
children: /* @__PURE__ */ u("ul", { className: rt.list, children: e.map((
|
|
10734
|
-
|
|
10733
|
+
children: /* @__PURE__ */ u("ul", { className: rt.list, children: e.map((y, f) => /* @__PURE__ */ S("li", { className: rt.item, children: [
|
|
10734
|
+
y.url && /* @__PURE__ */ u(
|
|
10735
10735
|
Fi,
|
|
10736
10736
|
{
|
|
10737
|
-
to:
|
|
10737
|
+
to: y.url,
|
|
10738
10738
|
className: ({ isActive: _ }) => `${rt.link} ${_ ? rt.active : ""}`,
|
|
10739
10739
|
onClick: l,
|
|
10740
10740
|
style: { color: n },
|
|
10741
|
-
children:
|
|
10741
|
+
children: y.name
|
|
10742
10742
|
}
|
|
10743
10743
|
),
|
|
10744
|
-
|
|
10744
|
+
y.onclick && /* @__PURE__ */ u(
|
|
10745
10745
|
"button",
|
|
10746
10746
|
{
|
|
10747
10747
|
className: rt.button,
|
|
10748
10748
|
onClick: () => {
|
|
10749
|
-
|
|
10749
|
+
y.onclick(), l();
|
|
10750
10750
|
},
|
|
10751
|
-
children:
|
|
10751
|
+
children: y.name
|
|
10752
10752
|
}
|
|
10753
10753
|
),
|
|
10754
|
-
|
|
10755
|
-
] },
|
|
10754
|
+
y.component && y.component
|
|
10755
|
+
] }, f)) })
|
|
10756
10756
|
}
|
|
10757
10757
|
)
|
|
10758
10758
|
] });
|
|
@@ -10784,10 +10784,10 @@ const Lf = "_svgContainer_1rxoe_2", Mf = "_svg_1rxoe_2", ki = {
|
|
|
10784
10784
|
showGrid: d = !0,
|
|
10785
10785
|
xAxisTickRotation: h = -90,
|
|
10786
10786
|
yAxisTickFormat: g = (v) => v.toLocaleString("es-ES"),
|
|
10787
|
-
barPadding:
|
|
10788
|
-
groupPadding:
|
|
10789
|
-
animationDuration:
|
|
10790
|
-
onBarHover:
|
|
10787
|
+
barPadding: b = 0.1,
|
|
10788
|
+
groupPadding: p = 0.05,
|
|
10789
|
+
animationDuration: y = 750,
|
|
10790
|
+
onBarHover: f,
|
|
10791
10791
|
onBarClick: _,
|
|
10792
10792
|
title: x,
|
|
10793
10793
|
xAxisLabel: k,
|
|
@@ -10797,9 +10797,9 @@ const Lf = "_svgContainer_1rxoe_2", Mf = "_svg_1rxoe_2", ki = {
|
|
|
10797
10797
|
return J(() => {
|
|
10798
10798
|
const L = () => {
|
|
10799
10799
|
if (C.current) {
|
|
10800
|
-
const
|
|
10800
|
+
const E = C.current.getBoundingClientRect().width;
|
|
10801
10801
|
N({
|
|
10802
|
-
width: typeof r == "number" ? r :
|
|
10802
|
+
width: typeof r == "number" ? r : E,
|
|
10803
10803
|
height: o
|
|
10804
10804
|
});
|
|
10805
10805
|
}
|
|
@@ -10807,12 +10807,12 @@ const Lf = "_svgContainer_1rxoe_2", Mf = "_svg_1rxoe_2", ki = {
|
|
|
10807
10807
|
return L(), window.addEventListener("resize", L), () => window.removeEventListener("resize", L);
|
|
10808
10808
|
}, [r, o]), J(() => {
|
|
10809
10809
|
if (!e || e.length === 0 || w.width === 0) return;
|
|
10810
|
-
const L = gt(v.current),
|
|
10810
|
+
const L = gt(v.current), E = w.width, B = w.height, V = E - s.left - s.right, m = B - s.top - s.bottom;
|
|
10811
10811
|
if (V <= 0 || m <= 0) return;
|
|
10812
|
-
const
|
|
10812
|
+
const O = e.map((P) => P.anyo || P.year || P.x), T = t, z = qn(e, (P) => qn(T, (Z) => P[Z])) || 0, j = Wn(e, (P) => Wn(T, (Z) => P[Z])) || 0, Y = Dr().domain(O).rangeRound([0, V]).paddingInner(b), W = Dr().domain(T).rangeRound([0, Y.bandwidth()]).padding(p), ue = Di().domain([Math.min(0, z), j]).nice().rangeRound([m, 0]), D = Ii().domain(T).range(Array.isArray(n) ? n : Object.values(n || {}));
|
|
10813
10813
|
L.selectAll("*").remove();
|
|
10814
10814
|
const M = L.append("g").attr("transform", `translate(${s.left},${s.top})`);
|
|
10815
|
-
x && L.append("text").attr("x",
|
|
10815
|
+
x && L.append("text").attr("x", E / 2).attr("y", s.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(x), d && M.append("g").attr("class", "grid").selectAll("line").data(ue.ticks()).enter().append("line").attr("x1", 0).attr("x2", V).attr("y1", (P) => ue(P)).attr("y2", (P) => ue(P)).style("stroke", "#e0e0e0").style("stroke-width", 0.5), l && (M.append("g").attr("transform", `translate(0,${m})`).call(Pi(Y).tickSizeOuter(0)).attr("class", "x-axis").selectAll("text").attr("transform", `translate(0,10)rotate(${h})`).style("text-anchor", h < 0 ? "end" : "middle").style("font-size", "12px").style("fill", "#605B56"), k && M.append("text").attr(
|
|
10816
10816
|
"transform",
|
|
10817
10817
|
`translate(${V / 2}, ${m + s.bottom - 5})`
|
|
10818
10818
|
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(k)), c && (M.append("g").call(Ir(ue).ticks(6).tickFormat(g)).attr("class", "y-axis").call((P) => P.select(".domain").remove()), $ && M.append("text").attr("transform", "rotate(-90)").attr("y", 0 - s.left).attr("x", 0 - m / 2).attr("dy", "1em").style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text($));
|
|
@@ -10822,9 +10822,9 @@ const Lf = "_svgContainer_1rxoe_2", Mf = "_svg_1rxoe_2", ki = {
|
|
|
10822
10822
|
value: P[Z],
|
|
10823
10823
|
data: P
|
|
10824
10824
|
}))
|
|
10825
|
-
).enter().append("rect").attr("class", "bar").attr("x", (P) => W(P.key)).attr("y", m).attr("width", W.bandwidth()).attr("height", 0).attr("fill", (P) => D(P.key)).style("cursor",
|
|
10826
|
-
K.transition().duration(
|
|
10827
|
-
gt(this).style("opacity", 0.8),
|
|
10825
|
+
).enter().append("rect").attr("class", "bar").attr("x", (P) => W(P.key)).attr("y", m).attr("width", W.bandwidth()).attr("height", 0).attr("fill", (P) => D(P.key)).style("cursor", f || _ ? "pointer" : "default");
|
|
10826
|
+
K.transition().duration(y).attr("y", (P) => ue(Math.max(0, P.value))).attr("height", (P) => Math.abs(ue(P.value) - ue(0))), f && K.on("mouseover", function(P, Z) {
|
|
10827
|
+
gt(this).style("opacity", 0.8), f(P, Z);
|
|
10828
10828
|
}).on("mouseout", function(P, Z) {
|
|
10829
10829
|
gt(this).style("opacity", 1);
|
|
10830
10830
|
}), _ && K.on("click", _);
|
|
@@ -10834,15 +10834,15 @@ const Lf = "_svgContainer_1rxoe_2", Mf = "_svg_1rxoe_2", ki = {
|
|
|
10834
10834
|
n,
|
|
10835
10835
|
w,
|
|
10836
10836
|
s,
|
|
10837
|
-
|
|
10838
|
-
|
|
10837
|
+
b,
|
|
10838
|
+
p,
|
|
10839
10839
|
l,
|
|
10840
10840
|
c,
|
|
10841
10841
|
d,
|
|
10842
10842
|
h,
|
|
10843
10843
|
g,
|
|
10844
|
-
|
|
10845
|
-
|
|
10844
|
+
y,
|
|
10845
|
+
f,
|
|
10846
10846
|
_,
|
|
10847
10847
|
x,
|
|
10848
10848
|
k,
|
|
@@ -10912,10 +10912,10 @@ const Df = "_svgContainer_7fkic_2", If = "_svg_7fkic_2", Ti = {
|
|
|
10912
10912
|
showYAxisLabels: d = !0,
|
|
10913
10913
|
showGrid: h = !0,
|
|
10914
10914
|
xAxisTickRotation: g = -90,
|
|
10915
|
-
yAxisTickFormat:
|
|
10916
|
-
barPadding:
|
|
10917
|
-
animationDuration:
|
|
10918
|
-
onBarHover:
|
|
10915
|
+
yAxisTickFormat: b = (E) => E.toLocaleString("es-ES"),
|
|
10916
|
+
barPadding: p = 0.4,
|
|
10917
|
+
animationDuration: y = 750,
|
|
10918
|
+
onBarHover: f,
|
|
10919
10919
|
onBarClick: _,
|
|
10920
10920
|
title: x,
|
|
10921
10921
|
xAxisLabel: k,
|
|
@@ -10927,18 +10927,18 @@ const Df = "_svgContainer_7fkic_2", If = "_svg_7fkic_2", Ti = {
|
|
|
10927
10927
|
minBarSlotWidth: N = 60,
|
|
10928
10928
|
wrapXAxisLabels: L = !0
|
|
10929
10929
|
}) => {
|
|
10930
|
-
const
|
|
10930
|
+
const E = Se(), B = Se();
|
|
10931
10931
|
Se();
|
|
10932
10932
|
const [V, m] = le({
|
|
10933
10933
|
containerWidth: 0,
|
|
10934
10934
|
height: 0
|
|
10935
|
-
}), { t:
|
|
10935
|
+
}), { t: O } = ce();
|
|
10936
10936
|
return J(() => {
|
|
10937
10937
|
const T = () => {
|
|
10938
|
-
if (
|
|
10939
|
-
const
|
|
10938
|
+
if (B.current) {
|
|
10939
|
+
const z = B.current.getBoundingClientRect().width;
|
|
10940
10940
|
m({
|
|
10941
|
-
containerWidth: typeof o == "number" ? o :
|
|
10941
|
+
containerWidth: typeof o == "number" ? o : z,
|
|
10942
10942
|
height: s
|
|
10943
10943
|
});
|
|
10944
10944
|
}
|
|
@@ -10946,9 +10946,9 @@ const Df = "_svgContainer_7fkic_2", If = "_svg_7fkic_2", Ti = {
|
|
|
10946
10946
|
return T(), window.addEventListener("resize", T), () => window.removeEventListener("resize", T);
|
|
10947
10947
|
}, [o, s]), J(() => {
|
|
10948
10948
|
if (!e || e.length === 0 || V.containerWidth === 0) return;
|
|
10949
|
-
const T = gt(
|
|
10949
|
+
const T = gt(E.current), { containerWidth: z, height: j } = V, Y = z - a.left - a.right, W = e.length * N, ue = Math.max(Y, W), D = ue + a.left + a.right, M = j - a.top - a.bottom;
|
|
10950
10950
|
if (ue <= 0 || M <= 0) return;
|
|
10951
|
-
T.attr("width", D).attr("height",
|
|
10951
|
+
T.attr("width", D).attr("height", j);
|
|
10952
10952
|
const ee = w ? [...t].reverse() : t, K = [];
|
|
10953
10953
|
e.forEach((q) => {
|
|
10954
10954
|
const re = q.any || q.year || q.x, we = ee.map((_e) => ({
|
|
@@ -10994,7 +10994,7 @@ const Df = "_svgContainer_7fkic_2", If = "_svg_7fkic_2", Ti = {
|
|
|
10994
10994
|
const ne = [
|
|
10995
10995
|
Math.min(P[0], Z[0]),
|
|
10996
10996
|
Math.max(P[1], Z[1])
|
|
10997
|
-
], G = Dr().domain(e.map((q) => q.any || q.year || q.x)).range([0, ue]).padding(
|
|
10997
|
+
], G = Dr().domain(e.map((q) => q.any || q.year || q.x)).range([0, ue]).padding(p), U = Di().domain([ne[0], ne[1]]).nice(6).range([M, 0]), oe = Ii().domain(t).range(Array.isArray(n) ? n : Object.values(n || {})), te = r && r.length > 0 ? e.map((q, re) => {
|
|
10998
10998
|
const we = G(q.any || q.year || q.x) + G.bandwidth() / 2, Ce = U(r[re] || 0);
|
|
10999
10999
|
return { x: we, y: Ce };
|
|
11000
11000
|
}) : [];
|
|
@@ -11044,22 +11044,22 @@ const Df = "_svgContainer_7fkic_2", If = "_svg_7fkic_2", Ti = {
|
|
|
11044
11044
|
}), k && de.append("text").attr(
|
|
11045
11045
|
"transform",
|
|
11046
11046
|
`translate(${ue / 2}, ${M + a.bottom - 5})`
|
|
11047
|
-
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(k)), d && (de.append("g").attr("class", "y-axis").call(Ir(U).ticks(6).tickFormat(
|
|
11047
|
+
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(k)), d && (de.append("g").attr("class", "y-axis").call(Ir(U).ticks(6).tickFormat(b)).call((q) => q.select(".domain").remove()), de.append("g").attr("class", "y-ticks").attr("transform", `translate(${ue}, 0)`).call(Ir(U).ticks(6).tickSizeInner(ue)).call((q) => q.select(".domain").remove()).call((q) => q.selectAll(".tick text").remove()), $ && de.append("text").attr("transform", "rotate(-90)").attr("y", 0 - a.left).attr("x", 0 - M / 2).attr("dy", "1em").style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text($));
|
|
11048
11048
|
let se;
|
|
11049
11049
|
C && (se = gt("body").append("div").attr("class", "chart-tooltip").style("position", "absolute").style("visibility", "hidden").style("background", "rgba(0, 0, 0, 0.8)").style("color", "white").style("padding", "8px").style("border-radius", "4px").style("font-size", "12px").style("pointer-events", "none").style("z-index", "1000"));
|
|
11050
11050
|
const Ie = de.selectAll(".segment").data(K, (q) => `${q.xKey}-${q.key}`);
|
|
11051
11051
|
Ie.exit().remove();
|
|
11052
11052
|
const tt = Ie.enter().append("rect").attr("class", "segment").attr("x", (q) => G(q.xKey)).attr("width", G.bandwidth()).attr("y", (q) => U(0)).attr("height", 0).attr("fill", (q) => oe(q.key)).style(
|
|
11053
11053
|
"cursor",
|
|
11054
|
-
|
|
11054
|
+
f || _ || C ? "pointer" : "default"
|
|
11055
11055
|
).merge(Ie);
|
|
11056
|
-
if (tt.transition().duration(
|
|
11056
|
+
if (tt.transition().duration(y).attr("x", (q) => G(q.xKey)).attr("y", (q) => Math.min(U(q.y0), U(q.y1))).attr("height", (q) => Math.abs(U(q.y1) - U(q.y0))), (C || f) && tt.on("mouseover", function(q, re) {
|
|
11057
11057
|
const we = re.value;
|
|
11058
11058
|
C && se && se.style("visibility", "visible").html(`
|
|
11059
|
-
<strong>${
|
|
11059
|
+
<strong>${O(re.key)}</strong><br/>
|
|
11060
11060
|
${re.xKey}<br/>
|
|
11061
|
-
${
|
|
11062
|
-
`), gt(this).style("opacity", 0.8),
|
|
11061
|
+
${b(we)}
|
|
11062
|
+
`), gt(this).style("opacity", 0.8), f && f(q, {
|
|
11063
11063
|
key: re.key,
|
|
11064
11064
|
value: we,
|
|
11065
11065
|
data: re.data
|
|
@@ -11089,14 +11089,14 @@ const Df = "_svgContainer_7fkic_2", If = "_svg_7fkic_2", Ti = {
|
|
|
11089
11089
|
r,
|
|
11090
11090
|
V,
|
|
11091
11091
|
a,
|
|
11092
|
-
|
|
11092
|
+
p,
|
|
11093
11093
|
c,
|
|
11094
11094
|
d,
|
|
11095
11095
|
h,
|
|
11096
11096
|
g,
|
|
11097
|
-
y,
|
|
11098
11097
|
b,
|
|
11099
|
-
|
|
11098
|
+
y,
|
|
11099
|
+
f,
|
|
11100
11100
|
_,
|
|
11101
11101
|
x,
|
|
11102
11102
|
k,
|
|
@@ -11108,14 +11108,14 @@ const Df = "_svgContainer_7fkic_2", If = "_svg_7fkic_2", Ti = {
|
|
|
11108
11108
|
]), /* @__PURE__ */ u(
|
|
11109
11109
|
"div",
|
|
11110
11110
|
{
|
|
11111
|
-
ref:
|
|
11111
|
+
ref: B,
|
|
11112
11112
|
className: `${Ti.svgContainer} ${l}`,
|
|
11113
11113
|
style: {
|
|
11114
11114
|
width: o,
|
|
11115
11115
|
height: s + a.top + a.bottom,
|
|
11116
11116
|
overflowX: "auto"
|
|
11117
11117
|
},
|
|
11118
|
-
children: /* @__PURE__ */ u("svg", { ref:
|
|
11118
|
+
children: /* @__PURE__ */ u("svg", { ref: E, className: Ti.svg })
|
|
11119
11119
|
}
|
|
11120
11120
|
);
|
|
11121
11121
|
};
|
|
@@ -11203,7 +11203,7 @@ const Vf = "_externalContainer_1er0i_2", Ff = "_externalSintetic_1er0i_9", Bf =
|
|
|
11203
11203
|
getTotal: d = Qf,
|
|
11204
11204
|
columnWidth: h = 50
|
|
11205
11205
|
}) => {
|
|
11206
|
-
const g = c || ((
|
|
11206
|
+
const g = c || ((p) => p), b = (p) => p === "demanda_red" || p === "reduccio_demanda_red" ? (l.demanda || "").replace("(", "").replace(")", "") : l[p] || "";
|
|
11207
11207
|
return /* @__PURE__ */ S(
|
|
11208
11208
|
"div",
|
|
11209
11209
|
{
|
|
@@ -11211,46 +11211,46 @@ const Vf = "_externalContainer_1er0i_2", Ff = "_externalSintetic_1er0i_9", Bf =
|
|
|
11211
11211
|
children: [
|
|
11212
11212
|
s === !0 && /* @__PURE__ */ S(pn, { children: [
|
|
11213
11213
|
/* @__PURE__ */ u("div", {}),
|
|
11214
|
-
/* @__PURE__ */ u("div", { className: Be.yearTitles, children: e.map((
|
|
11214
|
+
/* @__PURE__ */ u("div", { className: Be.yearTitles, children: e.map((p, y) => /* @__PURE__ */ u("div", { className: Be.yearTitle, style: { width: h }, children: p.anyo }, y)) })
|
|
11215
11215
|
] }),
|
|
11216
|
-
/* @__PURE__ */ u("div", { className: Be.titles, children: t.map((
|
|
11217
|
-
g(r[
|
|
11216
|
+
/* @__PURE__ */ u("div", { className: Be.titles, children: t.map((p, y) => /* @__PURE__ */ S("div", { className: Be.titleContainer, children: [
|
|
11217
|
+
g(r[p]),
|
|
11218
11218
|
a !== "sin" && /* @__PURE__ */ u(
|
|
11219
11219
|
"span",
|
|
11220
11220
|
{
|
|
11221
11221
|
className: Be.circle,
|
|
11222
|
-
style: { background: n[
|
|
11222
|
+
style: { background: n[p] }
|
|
11223
11223
|
}
|
|
11224
11224
|
)
|
|
11225
|
-
] },
|
|
11226
|
-
o === !0 && /* @__PURE__ */ u("div", { className: Be.totalContainer, children: t.map((
|
|
11227
|
-
var
|
|
11225
|
+
] }, y)) }),
|
|
11226
|
+
o === !0 && /* @__PURE__ */ u("div", { className: Be.totalContainer, children: t.map((p, y) => {
|
|
11227
|
+
var f;
|
|
11228
11228
|
return /* @__PURE__ */ S(
|
|
11229
11229
|
"div",
|
|
11230
11230
|
{
|
|
11231
|
-
className: `${Be.total} ${d(
|
|
11231
|
+
className: `${Be.total} ${d(p, e) > 9999 || d(p, e) < -9999 ? Be.bigNumber : ""}`,
|
|
11232
11232
|
children: [
|
|
11233
|
-
(
|
|
11233
|
+
(f = d(p, e)) == null ? void 0 : f.toLocaleString("es-ES"),
|
|
11234
11234
|
" ",
|
|
11235
|
-
|
|
11235
|
+
b(p)
|
|
11236
11236
|
]
|
|
11237
11237
|
},
|
|
11238
|
-
|
|
11238
|
+
y
|
|
11239
11239
|
);
|
|
11240
11240
|
}) }),
|
|
11241
|
-
/* @__PURE__ */ u("div", { className: Be.yearDatas, children: e.map((
|
|
11242
|
-
(
|
|
11241
|
+
/* @__PURE__ */ u("div", { className: Be.yearDatas, children: e.map((p, y) => /* @__PURE__ */ u("div", { className: Be.yearDataContainer, style: { width: h }, children: t.map(
|
|
11242
|
+
(f, _) => {
|
|
11243
11243
|
var x, k;
|
|
11244
|
-
return isNaN(f
|
|
11244
|
+
return isNaN(p[f]) ? null : /* @__PURE__ */ u(
|
|
11245
11245
|
"div",
|
|
11246
11246
|
{
|
|
11247
|
-
className: `${Be.yearDataContent} ${f
|
|
11248
|
-
children: f
|
|
11247
|
+
className: `${Be.yearDataContent} ${p[f] > 9999 || p[f] < -9999 ? Be.bigNumber : ""}`,
|
|
11248
|
+
children: p[f] < 1e4 || p[f] > -1e4 ? (x = Xf(p[f])) == null ? void 0 : x.toLocaleString("es-ES") : (k = p[f]) == null ? void 0 : k.toLocaleString("es-ES")
|
|
11249
11249
|
},
|
|
11250
11250
|
_
|
|
11251
11251
|
);
|
|
11252
11252
|
}
|
|
11253
|
-
) },
|
|
11253
|
+
) }, y)) })
|
|
11254
11254
|
]
|
|
11255
11255
|
}
|
|
11256
11256
|
);
|
|
@@ -11472,7 +11472,7 @@ const op = ({
|
|
|
11472
11472
|
containerStyles: h = {},
|
|
11473
11473
|
alignLeft: g = !1
|
|
11474
11474
|
}) => {
|
|
11475
|
-
const [
|
|
11475
|
+
const [b, p] = le(null), y = r / 2, f = r / 2, _ = r / 2 - 14, x = e === "donut" ? _ - o : 0, k = e === "donut" ? _ - o / 2 : _ * 0.62, $ = je(() => rp(t), [t]), v = b !== null ? $[b] : null, C = $.some((N) => N.ea - N.sa >= 359.99), w = a || (l === "transparent" ? np : l);
|
|
11476
11476
|
return /* @__PURE__ */ S(
|
|
11477
11477
|
"div",
|
|
11478
11478
|
{
|
|
@@ -11576,11 +11576,11 @@ const op = ({
|
|
|
11576
11576
|
style: { overflow: "visible" },
|
|
11577
11577
|
children: [
|
|
11578
11578
|
$.map((N, L) => {
|
|
11579
|
-
const
|
|
11579
|
+
const E = b === L, { tx: B, ty: V } = E && !C ? Ni(y, f, N.sa, N.ea, 10) : { tx: 0, ty: 0 };
|
|
11580
11580
|
return /* @__PURE__ */ u(
|
|
11581
11581
|
"g",
|
|
11582
11582
|
{
|
|
11583
|
-
transform: `translate(${
|
|
11583
|
+
transform: `translate(${B}, ${V})`,
|
|
11584
11584
|
style: {
|
|
11585
11585
|
transition: "transform 0.18s ease",
|
|
11586
11586
|
pointerEvents: "none"
|
|
@@ -11588,10 +11588,10 @@ const op = ({
|
|
|
11588
11588
|
children: /* @__PURE__ */ u(
|
|
11589
11589
|
"path",
|
|
11590
11590
|
{
|
|
11591
|
-
d: $i(
|
|
11591
|
+
d: $i(y, f, x, _, N.sa, N.ea),
|
|
11592
11592
|
fill: N.color || Rr,
|
|
11593
11593
|
style: {
|
|
11594
|
-
filter:
|
|
11594
|
+
filter: E ? "brightness(1.25)" : "brightness(1)",
|
|
11595
11595
|
transition: "filter 0.18s ease"
|
|
11596
11596
|
}
|
|
11597
11597
|
}
|
|
@@ -11601,14 +11601,14 @@ const op = ({
|
|
|
11601
11601
|
);
|
|
11602
11602
|
}),
|
|
11603
11603
|
!C && $.map((N, L) => {
|
|
11604
|
-
const
|
|
11604
|
+
const E = ut(y, f, _, N.sa), B = e === "cheese" ? y : ut(y, f, x, N.sa).x, V = e === "cheese" ? f : ut(y, f, x, N.sa).y;
|
|
11605
11605
|
return /* @__PURE__ */ u(
|
|
11606
11606
|
"line",
|
|
11607
11607
|
{
|
|
11608
|
-
x1:
|
|
11608
|
+
x1: B,
|
|
11609
11609
|
y1: V,
|
|
11610
|
-
x2:
|
|
11611
|
-
y2:
|
|
11610
|
+
x2: E.x,
|
|
11611
|
+
y2: E.y,
|
|
11612
11612
|
stroke: w,
|
|
11613
11613
|
strokeWidth: s,
|
|
11614
11614
|
strokeLinecap: "butt",
|
|
@@ -11619,12 +11619,12 @@ const op = ({
|
|
|
11619
11619
|
}),
|
|
11620
11620
|
$.map((N, L) => {
|
|
11621
11621
|
if (N.ea - N.sa < 20) return null;
|
|
11622
|
-
const
|
|
11622
|
+
const E = b === L, { tx: B, ty: V } = E && !C ? Ni(y, f, N.sa, N.ea, 10) : { tx: 0, ty: 0 }, m = N.sa + (N.ea - N.sa) / 2, O = ut(y, f, k, m);
|
|
11623
11623
|
return /* @__PURE__ */ S(
|
|
11624
11624
|
"text",
|
|
11625
11625
|
{
|
|
11626
|
-
x:
|
|
11627
|
-
y:
|
|
11626
|
+
x: O.x + B,
|
|
11627
|
+
y: O.y + V,
|
|
11628
11628
|
textAnchor: "middle",
|
|
11629
11629
|
dominantBaseline: "middle",
|
|
11630
11630
|
fill: d,
|
|
@@ -11644,11 +11644,11 @@ const op = ({
|
|
|
11644
11644
|
$.map((N, L) => /* @__PURE__ */ u(
|
|
11645
11645
|
"path",
|
|
11646
11646
|
{
|
|
11647
|
-
d: $i(
|
|
11647
|
+
d: $i(y, f, x, _, N.sa, N.ea),
|
|
11648
11648
|
fill: "transparent",
|
|
11649
11649
|
style: { cursor: "pointer" },
|
|
11650
|
-
onMouseEnter: () =>
|
|
11651
|
-
onMouseLeave: () =>
|
|
11650
|
+
onMouseEnter: () => p(L),
|
|
11651
|
+
onMouseLeave: () => p(null)
|
|
11652
11652
|
},
|
|
11653
11653
|
`hit-${L}`
|
|
11654
11654
|
))
|
|
@@ -11672,11 +11672,11 @@ const op = ({
|
|
|
11672
11672
|
alignItems: "center",
|
|
11673
11673
|
gap: "8px",
|
|
11674
11674
|
cursor: "pointer",
|
|
11675
|
-
opacity:
|
|
11675
|
+
opacity: b === null || b === L ? 1 : 0.4,
|
|
11676
11676
|
transition: "opacity 0.15s"
|
|
11677
11677
|
},
|
|
11678
|
-
onMouseEnter: () =>
|
|
11679
|
-
onMouseLeave: () =>
|
|
11678
|
+
onMouseEnter: () => p(L),
|
|
11679
|
+
onMouseLeave: () => p(null),
|
|
11680
11680
|
children: [
|
|
11681
11681
|
/* @__PURE__ */ u(
|
|
11682
11682
|
"span",
|
|
@@ -11755,10 +11755,10 @@ const Ei = [
|
|
|
11755
11755
|
const [h, g] = le(s ? 0 : 1);
|
|
11756
11756
|
J(() => {
|
|
11757
11757
|
if (!s) return;
|
|
11758
|
-
const
|
|
11759
|
-
return () => cancelAnimationFrame(
|
|
11758
|
+
const y = requestAnimationFrame(() => g(1));
|
|
11759
|
+
return () => cancelAnimationFrame(y);
|
|
11760
11760
|
}, [s]);
|
|
11761
|
-
const
|
|
11761
|
+
const b = Math.max(...e.map((y) => y.value), 1), p = a ?? "6px";
|
|
11762
11762
|
return /* @__PURE__ */ S(
|
|
11763
11763
|
"div",
|
|
11764
11764
|
{
|
|
@@ -11786,8 +11786,8 @@ const Ei = [
|
|
|
11786
11786
|
children: t
|
|
11787
11787
|
}
|
|
11788
11788
|
),
|
|
11789
|
-
/* @__PURE__ */ u("div", { style: { display: "flex", flexDirection: "column", gap: "18px" }, children: e.map((
|
|
11790
|
-
const _ =
|
|
11789
|
+
/* @__PURE__ */ u("div", { style: { display: "flex", flexDirection: "column", gap: "18px" }, children: e.map((y, f) => {
|
|
11790
|
+
const _ = y.color || Ei[f % Ei.length], x = y.value / b * 100 * h;
|
|
11791
11791
|
return /* @__PURE__ */ S(
|
|
11792
11792
|
"div",
|
|
11793
11793
|
{
|
|
@@ -11802,7 +11802,7 @@ const Ei = [
|
|
|
11802
11802
|
fontWeight: "400",
|
|
11803
11803
|
opacity: 0.9
|
|
11804
11804
|
},
|
|
11805
|
-
children:
|
|
11805
|
+
children: y.title
|
|
11806
11806
|
}
|
|
11807
11807
|
),
|
|
11808
11808
|
/* @__PURE__ */ S(
|
|
@@ -11812,7 +11812,7 @@ const Ei = [
|
|
|
11812
11812
|
position: "relative",
|
|
11813
11813
|
height: `${o}px`,
|
|
11814
11814
|
background: "transparent",
|
|
11815
|
-
borderRadius:
|
|
11815
|
+
borderRadius: p,
|
|
11816
11816
|
overflow: "hidden"
|
|
11817
11817
|
},
|
|
11818
11818
|
children: [
|
|
@@ -11826,7 +11826,7 @@ const Ei = [
|
|
|
11826
11826
|
height: "100%",
|
|
11827
11827
|
width: `${x}%`,
|
|
11828
11828
|
background: _,
|
|
11829
|
-
borderRadius:
|
|
11829
|
+
borderRadius: p,
|
|
11830
11830
|
transition: s ? "width 0.8s cubic-bezier(0.16, 1, 0.3, 1)" : "none"
|
|
11831
11831
|
}
|
|
11832
11832
|
}
|
|
@@ -11850,7 +11850,7 @@ const Ei = [
|
|
|
11850
11850
|
paintOrder: "stroke fill"
|
|
11851
11851
|
} : {}
|
|
11852
11852
|
},
|
|
11853
|
-
children:
|
|
11853
|
+
children: y.value
|
|
11854
11854
|
}
|
|
11855
11855
|
)
|
|
11856
11856
|
]
|
|
@@ -11858,7 +11858,7 @@ const Ei = [
|
|
|
11858
11858
|
)
|
|
11859
11859
|
]
|
|
11860
11860
|
},
|
|
11861
|
-
|
|
11861
|
+
f
|
|
11862
11862
|
);
|
|
11863
11863
|
}) })
|
|
11864
11864
|
]
|
|
@@ -11902,15 +11902,15 @@ const Oi = [
|
|
|
11902
11902
|
separatorColor: d,
|
|
11903
11903
|
containerStyles: h = {}
|
|
11904
11904
|
}) => {
|
|
11905
|
-
const [g,
|
|
11905
|
+
const [g, b] = le(c ? 0 : 1);
|
|
11906
11906
|
J(() => {
|
|
11907
11907
|
if (!c) return;
|
|
11908
11908
|
const _ = requestAnimationFrame(
|
|
11909
|
-
() => requestAnimationFrame(() =>
|
|
11909
|
+
() => requestAnimationFrame(() => b(1))
|
|
11910
11910
|
);
|
|
11911
11911
|
return () => cancelAnimationFrame(_);
|
|
11912
11912
|
}, [c]);
|
|
11913
|
-
const
|
|
11913
|
+
const p = Math.max(...e.map((_) => _.value), 1), y = d || (r === "#ffffff" ? "rgba(255,255,255,0.25)" : "rgba(0,0,0,0.15)"), f = {
|
|
11914
11914
|
fontSize: "15px",
|
|
11915
11915
|
fontWeight: "700",
|
|
11916
11916
|
letterSpacing: "-0.3px",
|
|
@@ -11956,7 +11956,7 @@ const Oi = [
|
|
|
11956
11956
|
height: `${l}px`
|
|
11957
11957
|
},
|
|
11958
11958
|
children: e.map((_, x) => {
|
|
11959
|
-
const k = _.color || Oi[x % Oi.length], $ = _.value === 0, v = $ ? 0 : _.value /
|
|
11959
|
+
const k = _.color || Oi[x % Oi.length], $ = _.value === 0, v = $ ? 0 : _.value / p * l * g;
|
|
11960
11960
|
return /* @__PURE__ */ u(
|
|
11961
11961
|
"div",
|
|
11962
11962
|
{
|
|
@@ -11970,7 +11970,7 @@ const Oi = [
|
|
|
11970
11970
|
},
|
|
11971
11971
|
children: $ ? (
|
|
11972
11972
|
// Value sits just above the separator, no bar rendered
|
|
11973
|
-
/* @__PURE__ */ u("span", { style: { ...
|
|
11973
|
+
/* @__PURE__ */ u("span", { style: { ...f, color: o, marginBottom: "6px" }, children: _.value })
|
|
11974
11974
|
) : /* @__PURE__ */ u(
|
|
11975
11975
|
"div",
|
|
11976
11976
|
{
|
|
@@ -11986,7 +11986,7 @@ const Oi = [
|
|
|
11986
11986
|
justifyContent: "center",
|
|
11987
11987
|
paddingTop: "10px"
|
|
11988
11988
|
},
|
|
11989
|
-
children: /* @__PURE__ */ u("span", { style: { ...
|
|
11989
|
+
children: /* @__PURE__ */ u("span", { style: { ...f, color: o }, children: _.value })
|
|
11990
11990
|
}
|
|
11991
11991
|
)
|
|
11992
11992
|
},
|
|
@@ -12000,7 +12000,7 @@ const Oi = [
|
|
|
12000
12000
|
{
|
|
12001
12001
|
style: {
|
|
12002
12002
|
height: "1.5px",
|
|
12003
|
-
background:
|
|
12003
|
+
background: y,
|
|
12004
12004
|
borderRadius: "1px"
|
|
12005
12005
|
}
|
|
12006
12006
|
}
|
|
@@ -12047,7 +12047,7 @@ sp.propTypes = {
|
|
|
12047
12047
|
separatorColor: i.string,
|
|
12048
12048
|
containerStyles: i.object
|
|
12049
12049
|
};
|
|
12050
|
-
const ap = "
|
|
12050
|
+
const ap = "_percentageBarContainer_lgkme_3", lp = "_barContainer_lgkme_10", cp = "_segment_lgkme_19", up = "_handle_lgkme_36", dp = "_labelsContainer_lgkme_68", fp = "_labelItem_lgkme_73", pp = "_labelsListContainer_lgkme_85", mp = "_labelColor_lgkme_105", hp = "_labelText_lgkme_114", gp = "_labelValue_lgkme_122", yp = "_labelTranslation_lgkme_126", Pe = {
|
|
12051
12051
|
percentageBarContainer: ap,
|
|
12052
12052
|
barContainer: lp,
|
|
12053
12053
|
segment: cp,
|
|
@@ -12074,64 +12074,66 @@ const ap = "_percentageBarContainer_1g3hk_3", lp = "_barContainer_1g3hk_10", cp
|
|
|
12074
12074
|
showLabels: t = "bar",
|
|
12075
12075
|
showTranslations: n = !0,
|
|
12076
12076
|
onChange: r,
|
|
12077
|
-
minPercentage: o = bp
|
|
12077
|
+
minPercentage: o = bp,
|
|
12078
|
+
labelTextColor: s,
|
|
12079
|
+
labelValueColor: a
|
|
12078
12080
|
}) => {
|
|
12079
|
-
const [
|
|
12081
|
+
const [l, c] = le(() => Ai(e)), d = Se(null), h = Se(null);
|
|
12080
12082
|
J(() => {
|
|
12081
|
-
e && e.length > 0 &&
|
|
12083
|
+
e && e.length > 0 && c(Ai(e));
|
|
12082
12084
|
}, [e]);
|
|
12083
|
-
const
|
|
12085
|
+
const g = co(
|
|
12084
12086
|
(y) => {
|
|
12085
|
-
if (!
|
|
12086
|
-
const { dividerIndex: f } =
|
|
12087
|
-
|
|
12088
|
-
const
|
|
12089
|
-
let
|
|
12090
|
-
if (
|
|
12087
|
+
if (!d.current || !h.current) return;
|
|
12088
|
+
const { dividerIndex: f } = d.current, _ = h.current.getBoundingClientRect(), x = (y.touches ? y.touches[0].clientX : y.clientX) - _.left, k = Math.max(0, Math.min(100, x / _.width * 100));
|
|
12089
|
+
c(($) => {
|
|
12090
|
+
const v = [...$], C = $.slice(0, f).reduce((E, B) => E + B, 0), w = C + $[f] + $[f + 1];
|
|
12091
|
+
let N = k - C, L = w - k;
|
|
12092
|
+
if (N < o && (N = o, L = w - C - o), L < o && (L = o, N = w - C - o), v[f] = N, v[f + 1] = L, r)
|
|
12091
12093
|
try {
|
|
12092
12094
|
r(
|
|
12093
|
-
e.map((
|
|
12094
|
-
...
|
|
12095
|
-
value:
|
|
12095
|
+
e.map((E, B) => ({
|
|
12096
|
+
...E,
|
|
12097
|
+
value: v[B]
|
|
12096
12098
|
}))
|
|
12097
12099
|
);
|
|
12098
|
-
} catch (
|
|
12099
|
-
console.error("PercentageBar onChange error:",
|
|
12100
|
+
} catch (E) {
|
|
12101
|
+
console.error("PercentageBar onChange error:", E);
|
|
12100
12102
|
}
|
|
12101
|
-
return
|
|
12103
|
+
return v;
|
|
12102
12104
|
});
|
|
12103
12105
|
},
|
|
12104
12106
|
[o, r, e]
|
|
12105
|
-
),
|
|
12106
|
-
|
|
12107
|
-
e.map((f,
|
|
12107
|
+
), b = co(() => {
|
|
12108
|
+
d.current && (d.current = null, document.removeEventListener("mousemove", g), document.removeEventListener("mouseup", b), document.removeEventListener("touchmove", g), document.removeEventListener("touchend", b), c((y) => (r && r(
|
|
12109
|
+
e.map((f, _) => ({
|
|
12108
12110
|
...f,
|
|
12109
|
-
value: y[
|
|
12111
|
+
value: y[_]
|
|
12110
12112
|
}))
|
|
12111
12113
|
), y)));
|
|
12112
|
-
}, [
|
|
12113
|
-
f.preventDefault(),
|
|
12114
|
+
}, [g, r, e]), p = (y, f) => {
|
|
12115
|
+
f.preventDefault(), d.current = { dividerIndex: y }, document.addEventListener("mousemove", g), document.addEventListener("mouseup", b), document.addEventListener("touchmove", g, { passive: !1 }), document.addEventListener("touchend", b);
|
|
12114
12116
|
};
|
|
12115
12117
|
return /* @__PURE__ */ S("div", { className: Pe.percentageBarContainer, children: [
|
|
12116
|
-
/* @__PURE__ */ u("div", { className: Pe.barContainer, ref:
|
|
12117
|
-
var
|
|
12118
|
+
/* @__PURE__ */ u("div", { className: Pe.barContainer, ref: h, children: e.map((y, f) => {
|
|
12119
|
+
var _;
|
|
12118
12120
|
return /* @__PURE__ */ u(
|
|
12119
12121
|
"div",
|
|
12120
12122
|
{
|
|
12121
12123
|
className: Pe.segment,
|
|
12122
12124
|
style: {
|
|
12123
|
-
width: `${
|
|
12125
|
+
width: `${l[f]}%`,
|
|
12124
12126
|
backgroundColor: y.color || "#ccc"
|
|
12125
12127
|
},
|
|
12126
12128
|
children: f > 0 && /* @__PURE__ */ u(
|
|
12127
12129
|
"div",
|
|
12128
12130
|
{
|
|
12129
12131
|
className: Pe.handle,
|
|
12130
|
-
onMouseDown: (
|
|
12131
|
-
onTouchStart: (
|
|
12132
|
+
onMouseDown: (x) => p(f - 1, x),
|
|
12133
|
+
onTouchStart: (x) => p(f - 1, x),
|
|
12132
12134
|
role: "slider",
|
|
12133
|
-
"aria-label": `Divisor entre ${(
|
|
12134
|
-
"aria-valuenow": Math.round(
|
|
12135
|
+
"aria-label": `Divisor entre ${(_ = e[f - 1]) == null ? void 0 : _.title} y ${y.title}`,
|
|
12136
|
+
"aria-valuenow": Math.round(l[f]),
|
|
12135
12137
|
tabIndex: 0
|
|
12136
12138
|
}
|
|
12137
12139
|
)
|
|
@@ -12143,7 +12145,7 @@ const ap = "_percentageBarContainer_1g3hk_3", lp = "_barContainer_1g3hk_10", cp
|
|
|
12143
12145
|
"div",
|
|
12144
12146
|
{
|
|
12145
12147
|
className: Pe.labelItem,
|
|
12146
|
-
style: { width: `${
|
|
12148
|
+
style: { width: `${l[f]}%` },
|
|
12147
12149
|
children: [
|
|
12148
12150
|
/* @__PURE__ */ u(
|
|
12149
12151
|
"span",
|
|
@@ -12152,14 +12154,14 @@ const ap = "_percentageBarContainer_1g3hk_3", lp = "_barContainer_1g3hk_10", cp
|
|
|
12152
12154
|
style: { backgroundColor: y.color }
|
|
12153
12155
|
}
|
|
12154
12156
|
),
|
|
12155
|
-
/* @__PURE__ */ u("span", { className: Pe.labelText, children: y.title }),
|
|
12156
|
-
/* @__PURE__ */ S("span", { className: Pe.labelValue, children: [
|
|
12157
|
-
|
|
12157
|
+
/* @__PURE__ */ u("span", { className: Pe.labelText, style: { color: s || "#fff" }, children: y.title }),
|
|
12158
|
+
/* @__PURE__ */ S("span", { className: Pe.labelValue, style: { color: a || "#fff" }, children: [
|
|
12159
|
+
l[f].toFixed(1),
|
|
12158
12160
|
"%"
|
|
12159
12161
|
] }),
|
|
12160
12162
|
n && y.translationFormula && /* @__PURE__ */ S("span", { className: Pe.labelTranslation, children: [
|
|
12161
12163
|
"(",
|
|
12162
|
-
Li(
|
|
12164
|
+
Li(l[f], y.translationFormula),
|
|
12163
12165
|
")"
|
|
12164
12166
|
] })
|
|
12165
12167
|
]
|
|
@@ -12180,12 +12182,12 @@ const ap = "_percentageBarContainer_1g3hk_3", lp = "_barContainer_1g3hk_10", cp
|
|
|
12180
12182
|
),
|
|
12181
12183
|
/* @__PURE__ */ u("span", { className: Pe.labelText, children: y.title }),
|
|
12182
12184
|
/* @__PURE__ */ S("span", { className: Pe.labelValue, children: [
|
|
12183
|
-
|
|
12185
|
+
l[f].toFixed(1),
|
|
12184
12186
|
"%"
|
|
12185
12187
|
] }),
|
|
12186
12188
|
n && y.translationFormula && /* @__PURE__ */ S("span", { className: Pe.labelTranslation, children: [
|
|
12187
12189
|
"(",
|
|
12188
|
-
Li(
|
|
12190
|
+
Li(l[f], y.translationFormula),
|
|
12189
12191
|
")"
|
|
12190
12192
|
] })
|
|
12191
12193
|
]
|