@tmf_ciclica/ciclicastorybook 1.2.145 → 1.2.146

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.es.js CHANGED
@@ -1,7 +1,7 @@
1
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_swmx0_2{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:stretch;gap:10px;width:100%}._indicatorContainer_swmx0_2 ._indicatorNameContainer_swmx0_12{gap:8px;display:grid;grid-template-columns:15px auto;align-items:center;width:100%}._indicatorContainer_swmx0_2 ._dot_swmx0_19{border-radius:100px;width:13px;height:13px;display:flex;align-items:center;justify-content:center}._indicatorContainer_swmx0_2 ._indicatorName_swmx0_12{cursor:pointer;font-weight:400;text-align:left}._switchExternalContainer_swmx0_33{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;width:100%}._switchExternalContainer_swmx0_33 ._switchType_swmx0_42{margin:0;width:100%}._switchExternalContainer_swmx0_33 ._switchType_swmx0_42 ._switchTypeOptions_swmx0_46{gap:20px;display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:column;align-items:start;margin:0 0 20px 23px}._switchExternalContainer_swmx0_33 ._switchType_swmx0_42 ._switchTypeOptions_swmx0_46 ._optionContainer_swmx0_57{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;flex-direction:row;align-items:center;gap:9px;cursor:pointer}._switchExternalContainer_swmx0_33 ._switchType_swmx0_42 ._switchTypeOptions_swmx0_46 ._optionContainer_swmx0_57 ._customRadious_swmx0_67{width:13px;height:13px;border-radius:100px;border:1px solid;padding:0}._switchExternalContainer_swmx0_33 ._switchType_swmx0_42 ._switchTypeOptions_swmx0_46 ._optionContainer_swmx0_57 ._optionText_swmx0_74{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_1r3q4_3{width:100%;height:100%;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 k, jsx as u, Fragment as mn } from "react/jsx-runtime";
3
3
  import * as Q from "react";
4
- import ie, { useState as le, useEffect as J, useMemo as je, useRef as ke, useLayoutEffect as Ii, useContext as Xt, useImperativeHandle as Xn, memo as Lt, forwardRef as Yr, cloneElement as qs, useCallback as po } from "react";
4
+ import ie, { useState as le, useEffect as ee, useMemo as je, useRef as ke, useLayoutEffect as Ii, useContext as Xt, useImperativeHandle as Xn, memo as Lt, forwardRef as Yr, cloneElement as qs, useCallback as po } from "react";
5
5
  import { useTranslation as ce, Trans as Xr } from "react-i18next";
6
6
  import { motion as Qr } from "framer-motion";
7
7
  import { create as Jr } from "zustand";
@@ -49,66 +49,66 @@ var mo;
49
49
  function Ca() {
50
50
  if (mo) return fe;
51
51
  mo = 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, m = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
53
- function $(v) {
54
- if (typeof v == "object" && v !== null) {
55
- var x = v.$$typeof;
56
- switch (x) {
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, m = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
53
+ function $(_) {
54
+ if (typeof _ == "object" && _ !== null) {
55
+ var C = _.$$typeof;
56
+ switch (C) {
57
57
  case t:
58
- switch (v = v.type, v) {
58
+ switch (_ = _.type, _) {
59
59
  case c:
60
60
  case d:
61
61
  case r:
62
62
  case s:
63
63
  case o:
64
64
  case g:
65
- return v;
65
+ return _;
66
66
  default:
67
- switch (v = v && v.$$typeof, v) {
67
+ switch (_ = _ && _.$$typeof, _) {
68
68
  case l:
69
69
  case m:
70
70
  case b:
71
71
  case h:
72
72
  case a:
73
- return v;
73
+ return _;
74
74
  default:
75
- return x;
75
+ return C;
76
76
  }
77
77
  }
78
78
  case n:
79
- return x;
79
+ return C;
80
80
  }
81
81
  }
82
82
  }
83
- function C(v) {
84
- return $(v) === d;
83
+ function v(_) {
84
+ return $(_) === d;
85
85
  }
86
- return fe.AsyncMode = c, fe.ConcurrentMode = d, fe.ContextConsumer = l, fe.ContextProvider = a, fe.Element = t, fe.ForwardRef = m, fe.Fragment = r, fe.Lazy = b, fe.Memo = h, fe.Portal = n, fe.Profiler = s, fe.StrictMode = o, fe.Suspense = g, fe.isAsyncMode = function(v) {
87
- return C(v) || $(v) === c;
88
- }, fe.isConcurrentMode = C, fe.isContextConsumer = function(v) {
89
- return $(v) === l;
90
- }, fe.isContextProvider = function(v) {
91
- return $(v) === a;
92
- }, fe.isElement = function(v) {
93
- return typeof v == "object" && v !== null && v.$$typeof === t;
94
- }, fe.isForwardRef = function(v) {
95
- return $(v) === m;
96
- }, fe.isFragment = function(v) {
97
- return $(v) === r;
98
- }, fe.isLazy = function(v) {
99
- return $(v) === b;
100
- }, fe.isMemo = function(v) {
101
- return $(v) === h;
102
- }, fe.isPortal = function(v) {
103
- return $(v) === n;
104
- }, fe.isProfiler = function(v) {
105
- return $(v) === s;
106
- }, fe.isStrictMode = function(v) {
107
- return $(v) === o;
108
- }, fe.isSuspense = function(v) {
109
- return $(v) === g;
110
- }, fe.isValidElementType = function(v) {
111
- return typeof v == "string" || typeof v == "function" || v === r || v === d || v === s || v === o || v === g || v === y || typeof v == "object" && v !== null && (v.$$typeof === b || v.$$typeof === h || v.$$typeof === a || v.$$typeof === l || v.$$typeof === m || v.$$typeof === _ || v.$$typeof === w || v.$$typeof === S || v.$$typeof === f);
86
+ return fe.AsyncMode = c, fe.ConcurrentMode = d, fe.ContextConsumer = l, fe.ContextProvider = a, fe.Element = t, fe.ForwardRef = m, fe.Fragment = r, fe.Lazy = b, fe.Memo = h, fe.Portal = n, fe.Profiler = s, fe.StrictMode = o, fe.Suspense = g, fe.isAsyncMode = function(_) {
87
+ return v(_) || $(_) === c;
88
+ }, fe.isConcurrentMode = v, fe.isContextConsumer = function(_) {
89
+ return $(_) === l;
90
+ }, fe.isContextProvider = function(_) {
91
+ return $(_) === a;
92
+ }, fe.isElement = function(_) {
93
+ return typeof _ == "object" && _ !== null && _.$$typeof === t;
94
+ }, fe.isForwardRef = function(_) {
95
+ return $(_) === m;
96
+ }, fe.isFragment = function(_) {
97
+ return $(_) === r;
98
+ }, fe.isLazy = function(_) {
99
+ return $(_) === b;
100
+ }, fe.isMemo = function(_) {
101
+ return $(_) === h;
102
+ }, fe.isPortal = function(_) {
103
+ return $(_) === n;
104
+ }, fe.isProfiler = function(_) {
105
+ return $(_) === s;
106
+ }, fe.isStrictMode = function(_) {
107
+ return $(_) === o;
108
+ }, fe.isSuspense = function(_) {
109
+ return $(_) === g;
110
+ }, fe.isValidElementType = function(_) {
111
+ return typeof _ == "string" || typeof _ == "function" || _ === r || _ === d || _ === s || _ === o || _ === g || _ === y || typeof _ == "object" && _ !== null && (_.$$typeof === b || _.$$typeof === h || _.$$typeof === a || _.$$typeof === l || _.$$typeof === m || _.$$typeof === x || _.$$typeof === w || _.$$typeof === S || _.$$typeof === f);
112
112
  }, fe.typeOf = $, fe;
113
113
  }
114
114
  var pe = {};
@@ -123,12 +123,12 @@ var pe = {};
123
123
  var ho;
124
124
  function _a() {
125
125
  return ho || (ho = 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, m = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, _ = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
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, m = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
127
127
  function $(V) {
128
128
  return typeof V == "string" || typeof V == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
129
- V === r || V === d || V === s || V === o || V === g || V === y || typeof V == "object" && V !== null && (V.$$typeof === b || V.$$typeof === h || V.$$typeof === a || V.$$typeof === l || V.$$typeof === m || V.$$typeof === _ || V.$$typeof === w || V.$$typeof === S || V.$$typeof === f);
129
+ V === r || V === d || V === s || V === o || V === g || V === y || typeof V == "object" && V !== null && (V.$$typeof === b || V.$$typeof === h || V.$$typeof === a || V.$$typeof === l || V.$$typeof === m || V.$$typeof === x || V.$$typeof === w || V.$$typeof === S || V.$$typeof === f);
130
130
  }
131
- function C(V) {
131
+ function v(V) {
132
132
  if (typeof V == "object" && V !== null) {
133
133
  var se = V.$$typeof;
134
134
  switch (se) {
@@ -160,47 +160,47 @@ function _a() {
160
160
  }
161
161
  }
162
162
  }
163
- var v = c, x = d, N = l, L = a, E = t, P = m, I = r, p = b, O = h, T = n, F = s, j = o, Y = g, W = !1;
163
+ var _ = c, C = d, N = l, O = a, E = t, P = m, I = r, p = b, A = h, T = n, F = s, j = o, Y = g, W = !1;
164
164
  function ue(V) {
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(V) || C(V) === c;
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(V) || v(V) === c;
166
166
  }
167
167
  function D(V) {
168
- return C(V) === d;
168
+ return v(V) === d;
169
169
  }
170
170
  function M(V) {
171
- return C(V) === l;
171
+ return v(V) === l;
172
172
  }
173
- function ee(V) {
174
- return C(V) === a;
173
+ function J(V) {
174
+ return v(V) === a;
175
175
  }
176
176
  function K(V) {
177
177
  return typeof V == "object" && V !== null && V.$$typeof === t;
178
178
  }
179
179
  function B(V) {
180
- return C(V) === m;
180
+ return v(V) === m;
181
181
  }
182
182
  function Z(V) {
183
- return C(V) === r;
183
+ return v(V) === r;
184
184
  }
185
185
  function ne(V) {
186
- return C(V) === b;
186
+ return v(V) === b;
187
187
  }
188
188
  function G(V) {
189
- return C(V) === h;
189
+ return v(V) === h;
190
190
  }
191
191
  function U(V) {
192
- return C(V) === n;
192
+ return v(V) === n;
193
193
  }
194
194
  function oe(V) {
195
- return C(V) === s;
195
+ return v(V) === s;
196
196
  }
197
197
  function te(V) {
198
- return C(V) === o;
198
+ return v(V) === o;
199
199
  }
200
200
  function de(V) {
201
- return C(V) === g;
201
+ return v(V) === g;
202
202
  }
203
- pe.AsyncMode = v, pe.ConcurrentMode = x, pe.ContextConsumer = N, pe.ContextProvider = L, pe.Element = E, pe.ForwardRef = P, pe.Fragment = I, pe.Lazy = p, pe.Memo = O, pe.Portal = T, pe.Profiler = F, pe.StrictMode = j, pe.Suspense = Y, pe.isAsyncMode = ue, pe.isConcurrentMode = D, pe.isContextConsumer = M, pe.isContextProvider = ee, pe.isElement = K, pe.isForwardRef = B, 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 = C;
203
+ pe.AsyncMode = _, pe.ConcurrentMode = C, pe.ContextConsumer = N, pe.ContextProvider = O, pe.Element = E, pe.ForwardRef = P, pe.Fragment = I, pe.Lazy = p, pe.Memo = A, pe.Portal = T, pe.Profiler = F, pe.StrictMode = j, pe.Suspense = Y, pe.isAsyncMode = ue, pe.isConcurrentMode = D, pe.isContextConsumer = M, pe.isContextProvider = J, pe.isElement = K, pe.isForwardRef = B, 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 go;
@@ -353,15 +353,15 @@ function Sa() {
353
353
  symbol: w("symbol"),
354
354
  any: S(),
355
355
  arrayOf: $,
356
- element: C(),
357
- elementType: v(),
358
- instanceOf: x,
356
+ element: v(),
357
+ elementType: _(),
358
+ instanceOf: C,
359
359
  node: P(),
360
- objectOf: L,
360
+ objectOf: O,
361
361
  oneOf: N,
362
362
  oneOfType: E,
363
363
  shape: p,
364
- exact: O
364
+ exact: A
365
365
  };
366
366
  function b(D, M) {
367
367
  return D === M ? D !== 0 || 1 / D === 1 / M : D !== D && M !== M;
@@ -370,9 +370,9 @@ function Sa() {
370
370
  this.message = D, this.data = M && typeof M == "object" ? M : {}, this.stack = "";
371
371
  }
372
372
  f.prototype = Error.prototype;
373
- function _(D) {
373
+ function x(D) {
374
374
  if (process.env.NODE_ENV !== "production")
375
- var M = {}, ee = 0;
375
+ var M = {}, J = 0;
376
376
  function K(Z, ne, G, U, oe, te, de) {
377
377
  if (U = U || y, te = te || G, de !== n) {
378
378
  if (c) {
@@ -383,9 +383,9 @@ function Sa() {
383
383
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
384
384
  var se = U + ":" + G;
385
385
  !M[se] && // Avoid spamming the console because they are often not actionable except for lib authors
386
- ee < 3 && (s(
386
+ J < 3 && (s(
387
387
  "You are manually calling a React.PropTypes validation function for the `" + te + "` prop on `" + U + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
388
- ), M[se] = !0, ee++);
388
+ ), M[se] = !0, J++);
389
389
  }
390
390
  }
391
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);
@@ -394,8 +394,8 @@ function Sa() {
394
394
  return B.isRequired = K.bind(null, !0), B;
395
395
  }
396
396
  function w(D) {
397
- function M(ee, K, B, Z, ne, G) {
398
- var U = ee[K], oe = j(U);
397
+ function M(J, K, B, Z, ne, G) {
398
+ var U = J[K], oe = j(U);
399
399
  if (oe !== D) {
400
400
  var te = Y(U);
401
401
  return new f(
@@ -405,16 +405,16 @@ function Sa() {
405
405
  }
406
406
  return null;
407
407
  }
408
- return _(M);
408
+ return x(M);
409
409
  }
410
410
  function S() {
411
- return _(a);
411
+ return x(a);
412
412
  }
413
413
  function $(D) {
414
- function M(ee, K, B, Z, ne) {
414
+ function M(J, K, B, Z, ne) {
415
415
  if (typeof D != "function")
416
416
  return new f("Property `" + ne + "` of component `" + B + "` has invalid PropType notation inside arrayOf.");
417
- var G = ee[K];
417
+ var G = J[K];
418
418
  if (!Array.isArray(G)) {
419
419
  var U = j(G);
420
420
  return new f("Invalid " + Z + " `" + ne + "` of type " + ("`" + U + "` supplied to `" + B + "`, expected an array."));
@@ -426,47 +426,47 @@ function Sa() {
426
426
  }
427
427
  return null;
428
428
  }
429
- return _(M);
429
+ return x(M);
430
430
  }
431
- function C() {
432
- function D(M, ee, K, B, Z) {
433
- var ne = M[ee];
431
+ function v() {
432
+ function D(M, J, K, B, Z) {
433
+ var ne = M[J];
434
434
  if (!l(ne)) {
435
435
  var G = j(ne);
436
436
  return new f("Invalid " + B + " `" + Z + "` of type " + ("`" + G + "` supplied to `" + K + "`, expected a single ReactElement."));
437
437
  }
438
438
  return null;
439
439
  }
440
- return _(D);
440
+ return x(D);
441
441
  }
442
- function v() {
443
- function D(M, ee, K, B, Z) {
444
- var ne = M[ee];
442
+ function _() {
443
+ function D(M, J, K, B, Z) {
444
+ var ne = M[J];
445
445
  if (!e.isValidElementType(ne)) {
446
446
  var G = j(ne);
447
447
  return new f("Invalid " + B + " `" + Z + "` of type " + ("`" + G + "` supplied to `" + K + "`, expected a single ReactElement type."));
448
448
  }
449
449
  return null;
450
450
  }
451
- return _(D);
451
+ return x(D);
452
452
  }
453
- function x(D) {
454
- function M(ee, K, B, Z, ne) {
455
- if (!(ee[K] instanceof D)) {
456
- var G = D.name || y, U = ue(ee[K]);
453
+ function C(D) {
454
+ function M(J, K, B, Z, ne) {
455
+ if (!(J[K] instanceof D)) {
456
+ var G = D.name || y, U = ue(J[K]);
457
457
  return new f("Invalid " + Z + " `" + ne + "` of type " + ("`" + U + "` supplied to `" + B + "`, expected ") + ("instance of `" + G + "`."));
458
458
  }
459
459
  return null;
460
460
  }
461
- return _(M);
461
+ return x(M);
462
462
  }
463
463
  function N(D) {
464
464
  if (!Array.isArray(D))
465
465
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
466
466
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
467
467
  ) : s("Invalid argument supplied to oneOf, expected an array.")), a;
468
- function M(ee, K, B, Z, ne) {
469
- for (var G = ee[K], U = 0; U < D.length; U++)
468
+ function M(J, K, B, Z, ne) {
469
+ for (var G = J[K], U = 0; U < D.length; U++)
470
470
  if (b(G, D[U]))
471
471
  return null;
472
472
  var oe = JSON.stringify(D, function(de, V) {
@@ -475,13 +475,13 @@ function Sa() {
475
475
  });
476
476
  return new f("Invalid " + Z + " `" + ne + "` of value `" + String(G) + "` " + ("supplied to `" + B + "`, expected one of " + oe + "."));
477
477
  }
478
- return _(M);
478
+ return x(M);
479
479
  }
480
- function L(D) {
481
- function M(ee, K, B, Z, ne) {
480
+ function O(D) {
481
+ function M(J, K, B, Z, ne) {
482
482
  if (typeof D != "function")
483
483
  return new f("Property `" + ne + "` of component `" + B + "` has invalid PropType notation inside objectOf.");
484
- var G = ee[K], U = j(G);
484
+ var G = J[K], U = j(G);
485
485
  if (U !== "object")
486
486
  return new f("Invalid " + Z + " `" + ne + "` of type " + ("`" + U + "` supplied to `" + B + "`, expected an object."));
487
487
  for (var oe in G)
@@ -492,16 +492,16 @@ function Sa() {
492
492
  }
493
493
  return null;
494
494
  }
495
- return _(M);
495
+ return x(M);
496
496
  }
497
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++) {
501
- var ee = D[M];
502
- if (typeof ee != "function")
501
+ var J = D[M];
502
+ if (typeof J != "function")
503
503
  return s(
504
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + W(ee) + " at index " + M + "."
504
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + W(J) + " at index " + M + "."
505
505
  ), a;
506
506
  }
507
507
  function K(B, Z, ne, G, U) {
@@ -514,22 +514,22 @@ function Sa() {
514
514
  var se = oe.length > 0 ? ", expected one of type [" + oe.join(", ") + "]" : "";
515
515
  return new f("Invalid " + G + " `" + U + "` supplied to " + ("`" + ne + "`" + se + "."));
516
516
  }
517
- return _(K);
517
+ return x(K);
518
518
  }
519
519
  function P() {
520
- function D(M, ee, K, B, Z) {
521
- return T(M[ee]) ? null : new f("Invalid " + B + " `" + Z + "` supplied to " + ("`" + K + "`, expected a ReactNode."));
520
+ function D(M, J, K, B, Z) {
521
+ return T(M[J]) ? null : new f("Invalid " + B + " `" + Z + "` supplied to " + ("`" + K + "`, expected a ReactNode."));
522
522
  }
523
- return _(D);
523
+ return x(D);
524
524
  }
525
- function I(D, M, ee, K, B) {
525
+ function I(D, M, J, K, B) {
526
526
  return new f(
527
- (D || "React class") + ": " + M + " type `" + ee + "." + K + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + B + "`."
527
+ (D || "React class") + ": " + M + " type `" + J + "." + K + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + B + "`."
528
528
  );
529
529
  }
530
530
  function p(D) {
531
- function M(ee, K, B, Z, ne) {
532
- var G = ee[K], U = j(G);
531
+ function M(J, K, B, Z, ne) {
532
+ var G = J[K], U = j(G);
533
533
  if (U !== "object")
534
534
  return new f("Invalid " + Z + " `" + ne + "` of type `" + U + "` " + ("supplied to `" + B + "`, expected `object`."));
535
535
  for (var oe in D) {
@@ -542,21 +542,21 @@ function Sa() {
542
542
  }
543
543
  return null;
544
544
  }
545
- return _(M);
545
+ return x(M);
546
546
  }
547
- function O(D) {
548
- function M(ee, K, B, Z, ne) {
549
- var G = ee[K], U = j(G);
547
+ function A(D) {
548
+ function M(J, K, B, Z, ne) {
549
+ var G = J[K], U = j(G);
550
550
  if (U !== "object")
551
551
  return new f("Invalid " + Z + " `" + ne + "` of type `" + U + "` " + ("supplied to `" + B + "`, expected `object`."));
552
- var oe = t({}, ee[K], D);
552
+ var oe = t({}, J[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 I(B, Z, ne, te, Y(de));
557
557
  if (!de)
558
558
  return new f(
559
- "Invalid " + Z + " `" + ne + "` key `" + te + "` supplied to `" + B + "`.\nBad object: " + JSON.stringify(ee[K], null, " ") + `
559
+ "Invalid " + Z + " `" + ne + "` key `" + te + "` supplied to `" + B + "`.\nBad object: " + JSON.stringify(J[K], null, " ") + `
560
560
  Valid keys: ` + JSON.stringify(Object.keys(D), null, " ")
561
561
  );
562
562
  var V = de(G, te, B, Z, ne + "." + te, n);
@@ -565,7 +565,7 @@ Valid keys: ` + JSON.stringify(Object.keys(D), null, " ")
565
565
  }
566
566
  return null;
567
567
  }
568
- return _(M);
568
+ return x(M);
569
569
  }
570
570
  function T(D) {
571
571
  switch (typeof D) {
@@ -582,13 +582,13 @@ Valid keys: ` + JSON.stringify(Object.keys(D), null, " ")
582
582
  return !0;
583
583
  var M = g(D);
584
584
  if (M) {
585
- var ee = M.call(D), K;
585
+ var J = M.call(D), K;
586
586
  if (M !== D.entries) {
587
- for (; !(K = ee.next()).done; )
587
+ for (; !(K = J.next()).done; )
588
588
  if (!T(K.value))
589
589
  return !1;
590
590
  } else
591
- for (; !(K = ee.next()).done; ) {
591
+ for (; !(K = J.next()).done; ) {
592
592
  var B = K.value;
593
593
  if (B && !T(B[1]))
594
594
  return !1;
@@ -799,14 +799,14 @@ const So = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
799
799
  onClickFilters: y = (b) => console.log(`Filters clicked: ${b}`),
800
800
  onClickAmbit: h = (b) => console.log(`OnCLickAmbit: ${b}`)
801
801
  }) => {
802
- const { t: b } = ce(), [f, _] = le(e);
803
- J(() => {
804
- e && _(e);
802
+ const { t: b } = ce(), [f, x] = le(e);
803
+ ee(() => {
804
+ e && x(e);
805
805
  }, [e]);
806
806
  const w = (S) => {
807
807
  if (f && f.length > 0) {
808
808
  let $ = [...f];
809
- $.sort((C, v) => C[S].localeCompare(v[S])), _($);
809
+ $.sort((v, _) => v[S].localeCompare(_[S])), x($);
810
810
  }
811
811
  };
812
812
  return /* @__PURE__ */ k(
@@ -1416,14 +1416,14 @@ let zr = function(e) {
1416
1416
  }
1417
1417
  }
1418
1418
  o[s] = r, c && a > 1 && (r > l ? (this.pushSucceeding(o, g, s), function(y, h, b, f) {
1419
- for (let _ = 0; _ < y; _ += 1) {
1420
- const w = f - _ * b;
1421
- h[y - 1 - _] > w && (h[y - 1 - _] = w);
1419
+ for (let x = 0; x < y; x += 1) {
1420
+ const w = f - x * b;
1421
+ h[y - 1 - x] > w && (h[y - 1 - x] = w);
1422
1422
  }
1423
1423
  }(a, o, g, d)) : r < l && (this.pushPreceding(o, g, s), function(y, h, b, f) {
1424
- for (let _ = 0; _ < y; _ += 1) {
1425
- const w = f + _ * b;
1426
- h[_] < w && (h[_] = w);
1424
+ for (let x = 0; x < y; x += 1) {
1425
+ const w = f + x * b;
1426
+ h[x] < w && (h[x] = w);
1427
1427
  }
1428
1428
  }(a, o, g, m))), this.setState({ value: o }, this.fireChangeEvent.bind(this, "onChange"));
1429
1429
  }, n.pushSucceeding = function(r, o, s) {
@@ -1502,7 +1502,7 @@ const el = "_container_4u41i_2", tl = "_unitLabel_4u41i_8", nl = "_slider_4u41i_
1502
1502
  const { t: d } = ce(), m = c ? new Date(e).getTime() : null, g = c ? new Date(t).getTime() : null, [y, h] = le(c ? [m, g] : [e, t]), b = (f) => {
1503
1503
  h(f), r == null || r({ min: f[0], max: f[1] });
1504
1504
  };
1505
- return J(() => {
1505
+ return ee(() => {
1506
1506
  l || h(c ? [m, g] : [e, t]);
1507
1507
  }, [l, c]), /* @__PURE__ */ k(
1508
1508
  "div",
@@ -1583,22 +1583,22 @@ const sl = "_tematicalFiltersInputContainer_1vm1r_2", al = "_inputTypeContainer_
1583
1583
  [n, o]
1584
1584
  ), {
1585
1585
  tematicalFiltersSelected: f,
1586
- selectedIndicator: _,
1586
+ selectedIndicator: x,
1587
1587
  fontColor: w,
1588
1588
  inputsColor: S
1589
- } = ve((v) => v), $ = (v) => {
1590
- if (v) {
1591
- const { min: x, max: N, valueClicked: L, allValues: E } = v || {}, { code: P, type: I, source: p } = e || {}, O = b ? "abs" : h ? "cat" : "both";
1589
+ } = ve((_) => _), $ = (_) => {
1590
+ if (_) {
1591
+ const { min: C, max: N, valueClicked: O, allValues: E } = _ || {}, { code: P, type: I, source: p } = e || {}, A = b ? "abs" : h ? "cat" : "both";
1592
1592
  let T = P[0];
1593
- I == "both" && (T = O == "cat" ? P[1] : P[0]), O == "cat" ? ve.setState((F) => {
1593
+ I == "both" && (T = A == "cat" ? P[1] : P[0]), A == "cat" ? ve.setState((F) => {
1594
1594
  let j = F.tematicalFiltersSelected.find(
1595
1595
  (Y) => Y.code === T
1596
1596
  );
1597
1597
  if (j) {
1598
1598
  let Y = [j.values];
1599
- return j.values.includes(L) ? Y = j.values.filter(
1600
- (W) => W !== L
1601
- ) : Y = [...j.values, L], Y.length == E.length ? {
1599
+ return j.values.includes(O) ? Y = j.values.filter(
1600
+ (W) => W !== O
1601
+ ) : Y = [...j.values, O], Y.length == E.length ? {
1602
1602
  tematicalFiltersSelected: F.tematicalFiltersSelected.filter(
1603
1603
  (W) => W.code !== T
1604
1604
  )
@@ -1615,7 +1615,7 @@ const sl = "_tematicalFiltersInputContainer_1vm1r_2", al = "_inputTypeContainer_
1615
1615
  {
1616
1616
  type: "cat",
1617
1617
  code: T,
1618
- values: Y.filter((W) => W !== L),
1618
+ values: Y.filter((W) => W !== O),
1619
1619
  name: e.name,
1620
1620
  source: p,
1621
1621
  isDate: y
@@ -1623,18 +1623,18 @@ const sl = "_tematicalFiltersInputContainer_1vm1r_2", al = "_inputTypeContainer_
1623
1623
  ]
1624
1624
  };
1625
1625
  }
1626
- }) : O == "abs" && ve.setState((F) => {
1626
+ }) : A == "abs" && ve.setState((F) => {
1627
1627
  let j = F.tematicalFiltersSelected.find(
1628
1628
  (Y) => Y.code === T
1629
1629
  );
1630
- if (x == e.minValue && N == e.maxValue)
1630
+ if (C == e.minValue && N == e.maxValue)
1631
1631
  return {
1632
1632
  tematicalFiltersSelected: F.tematicalFiltersSelected.filter(
1633
1633
  (Y) => Y.code !== T
1634
1634
  )
1635
1635
  };
1636
1636
  if (j) {
1637
- let Y = { ...j, min: x, max: N, type: O, isDate: y };
1637
+ let Y = { ...j, min: C, max: N, type: A, isDate: y };
1638
1638
  return {
1639
1639
  tematicalFiltersSelected: F.tematicalFiltersSelected.map(
1640
1640
  (W) => W.code === T ? Y : W
@@ -1645,9 +1645,9 @@ const sl = "_tematicalFiltersInputContainer_1vm1r_2", al = "_inputTypeContainer_
1645
1645
  tematicalFiltersSelected: [
1646
1646
  ...f,
1647
1647
  {
1648
- type: O,
1648
+ type: A,
1649
1649
  code: T,
1650
- min: x,
1650
+ min: C,
1651
1651
  max: N,
1652
1652
  name: e.name,
1653
1653
  source: e.source
@@ -1656,12 +1656,12 @@ const sl = "_tematicalFiltersInputContainer_1vm1r_2", al = "_inputTypeContainer_
1656
1656
  };
1657
1657
  });
1658
1658
  }
1659
- }, C = je(() => {
1660
- const v = {};
1659
+ }, v = je(() => {
1660
+ const _ = {};
1661
1661
  if ((f == null ? void 0 : f.length) > 0)
1662
- for (const x of f)
1663
- x.type === "cat" ? v[x.code] = new Set(x.values) : v[x.code] = [x.min, x.max];
1664
- return v;
1662
+ for (const C of f)
1663
+ C.type === "cat" ? _[C.code] = new Set(C.values) : _[C.code] = [C.min, C.max];
1664
+ return _;
1665
1665
  }, [f]);
1666
1666
  return /* @__PURE__ */ u("div", { className: Nn.tematicalFiltersInputContainer, children: /* @__PURE__ */ k(
1667
1667
  Mt,
@@ -1672,10 +1672,10 @@ const sl = "_tematicalFiltersInputContainer_1vm1r_2", al = "_inputTypeContainer_
1672
1672
  opacity: g ? 0.5 : 1
1673
1673
  },
1674
1674
  title: s,
1675
- isOpen: _ == `id${s}`,
1675
+ isOpen: x == `id${s}`,
1676
1676
  onClick: () => {
1677
1677
  g || ve.setState(() => ({
1678
- selectedIndicator: _ == `id${s}` ? "" : `id${s}`
1678
+ selectedIndicator: x == `id${s}` ? "" : `id${s}`
1679
1679
  }));
1680
1680
  },
1681
1681
  showBottomBar: !1,
@@ -1732,16 +1732,16 @@ const sl = "_tematicalFiltersInputContainer_1vm1r_2", al = "_inputTypeContainer_
1732
1732
  ]
1733
1733
  }
1734
1734
  ),
1735
- h && /* @__PURE__ */ u("div", { className: Nn.checkboxContainer, children: (a || []).map((v, x) => {
1735
+ h && /* @__PURE__ */ u("div", { className: Nn.checkboxContainer, children: (a || []).map((_, C) => {
1736
1736
  var N;
1737
1737
  return /* @__PURE__ */ u(
1738
1738
  Hi,
1739
1739
  {
1740
- onClick: () => $({ valueClicked: x, allValues: a }),
1741
- indicator: v,
1742
- value: ((N = C[e.code[o == "both" ? 1 : 0]]) == null ? void 0 : N.has(x)) || !C[e.code[o == "both" ? 1 : 0]]
1740
+ onClick: () => $({ valueClicked: C, allValues: a }),
1741
+ indicator: _,
1742
+ value: ((N = v[e.code[o == "both" ? 1 : 0]]) == null ? void 0 : N.has(C)) || !v[e.code[o == "both" ? 1 : 0]]
1743
1743
  },
1744
- `checkbox-${x}`
1744
+ `checkbox-${C}`
1745
1745
  );
1746
1746
  }) }),
1747
1747
  (b || o == "glb") && /* @__PURE__ */ u("div", { className: Nn.absoluteSliderContainer, children: /* @__PURE__ */ u(
@@ -1751,7 +1751,7 @@ const sl = "_tematicalFiltersInputContainer_1vm1r_2", al = "_inputTypeContainer_
1751
1751
  min: l,
1752
1752
  max: c,
1753
1753
  unit: d,
1754
- defaultValue: C[e.code[0]] ? C[e.code[0]] : "",
1754
+ defaultValue: v[e.code[0]] ? v[e.code[0]] : "",
1755
1755
  isDate: y,
1756
1756
  step: m
1757
1757
  }
@@ -1885,9 +1885,9 @@ const qr = ({
1885
1885
  const { tematicalFiltersSelected: l, activeFiltersType: c } = ve(
1886
1886
  (g) => g
1887
1887
  ), { t: d } = ce();
1888
- J(() => {
1888
+ ee(() => {
1889
1889
  r && ve.setState(() => ({ fontColor: r }));
1890
- }, [r]), J(() => {
1890
+ }, [r]), ee(() => {
1891
1891
  o && ve.setState(() => ({ inputsColor: o }));
1892
1892
  }, [o]);
1893
1893
  const m = () => {
@@ -1950,32 +1950,32 @@ const ul = "_FiltersAmbitContainer_1hv16_2", dl = "_FiltersContainer_1hv16_15",
1950
1950
  onGeoLayersChange: b,
1951
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
- descriptionRequired: _ = !1,
1953
+ descriptionRequired: x = !1,
1954
1954
  //campo descripción required
1955
1955
  extraLists: w = !1
1956
1956
  }) => {
1957
- const { t: S } = ce(), { tematicalFiltersSelected: $, activeFiltersType: C } = ve(
1957
+ const { t: S } = ce(), { tematicalFiltersSelected: $, activeFiltersType: v } = ve(
1958
1958
  (p) => p
1959
- ), [v, x] = le(e || null), [N, L] = le(t || null), [E, P] = le(!1);
1960
- J(() => {
1959
+ ), [_, C] = le(e || null), [N, O] = le(t || null), [E, P] = le(!1);
1960
+ ee(() => {
1961
1961
  ve.setState({
1962
1962
  tematicalFiltersSelected: n || []
1963
1963
  });
1964
- }, [n]), ke(!1), J(() => {
1964
+ }, [n]), ke(!1), ee(() => {
1965
1965
  l($);
1966
1966
  }, [$]);
1967
1967
  const I = () => {
1968
- _ ? v && N ? c({ name: v, description: N }) : P(!0) : v ? c({ name: v, description: N }) : P(!0);
1968
+ x ? _ && N ? c({ name: _, description: N }) : P(!0) : _ ? c({ name: _, description: N }) : P(!0);
1969
1969
  };
1970
- return J(() => {
1971
- if (g.includes("geographical") && C != "geographical" && h.length > 0) {
1972
- const p = h.map((O) => ({
1973
- ...O,
1970
+ return ee(() => {
1971
+ if (g.includes("geographical") && v != "geographical" && h.length > 0) {
1972
+ const p = h.map((A) => ({
1973
+ ...A,
1974
1974
  active: !1
1975
1975
  }));
1976
1976
  b == null || b(p);
1977
1977
  }
1978
- }, [C]), /* @__PURE__ */ k("div", { className: pt.FiltersAmbitContainer, children: [
1978
+ }, [v]), /* @__PURE__ */ k("div", { className: pt.FiltersAmbitContainer, children: [
1979
1979
  /* @__PURE__ */ k("div", { className: pt.FiltersContainer, children: [
1980
1980
  !f && /* @__PURE__ */ k("div", { className: pt.FiltersAmbitHeader, children: [
1981
1981
  /* @__PURE__ */ u("div", { className: pt.FiltersAmbitTitle, children: /* @__PURE__ */ u(
@@ -1983,9 +1983,9 @@ const ul = "_FiltersAmbitContainer_1hv16_2", dl = "_FiltersContainer_1hv16_15",
1983
1983
  {
1984
1984
  type: "text",
1985
1985
  onChange: (p) => {
1986
- P(!1), x(p.target.value);
1986
+ P(!1), C(p.target.value);
1987
1987
  },
1988
- value: v,
1988
+ value: _,
1989
1989
  placeholder: S(d)
1990
1990
  }
1991
1991
  ) }),
@@ -1994,7 +1994,7 @@ const ul = "_FiltersAmbitContainer_1hv16_2", dl = "_FiltersContainer_1hv16_15",
1994
1994
  {
1995
1995
  value: N,
1996
1996
  onChange: (p) => {
1997
- _ && P(!1), L(p.target.value);
1997
+ x && P(!1), O(p.target.value);
1998
1998
  },
1999
1999
  placeholder: S(m)
2000
2000
  }
@@ -2004,7 +2004,7 @@ const ul = "_FiltersAmbitContainer_1hv16_2", dl = "_FiltersContainer_1hv16_15",
2004
2004
  Ui,
2005
2005
  {
2006
2006
  title: S("applied_filters"),
2007
- isOpen: C == "applied",
2007
+ isOpen: v == "applied",
2008
2008
  textColor: s || "#fff",
2009
2009
  backgroundColor: a || "#605B5680",
2010
2010
  activeColor: o
@@ -2091,35 +2091,35 @@ const vl = "_barChartContainer_1ly7h_2", $o = {
2091
2091
  const {
2092
2092
  xScale: b,
2093
2093
  yScale: f,
2094
- ticks: _,
2094
+ ticks: x,
2095
2095
  height: w,
2096
2096
  chartWidth: S,
2097
2097
  svgWidth: $,
2098
- svgHeight: C,
2099
- contentWidth: v
2098
+ svgHeight: v,
2099
+ contentWidth: _
2100
2100
  } = je(() => {
2101
2101
  if (e && e.length > 0) {
2102
- const x = gr.max(e, (L) => L.value) || 1, N = a || x;
2102
+ const C = gr.max(e, (O) => O.value) || 1, N = a || C;
2103
2103
  if (l === "vertical") {
2104
- const L = e.length * (t + n) + c * 2, E = Math.max(L, g || 0), P = y, p = gr.scaleLinear().domain([0, N]).range([P - 100, d]), O = Array.from(
2104
+ const O = e.length * (t + n) + c * 2, E = Math.max(O, g || 0), P = y, p = gr.scaleLinear().domain([0, N]).range([P - 100, d]), A = Array.from(
2105
2105
  { length: s + 1 },
2106
2106
  (T, F) => N / s * F
2107
2107
  );
2108
2108
  return {
2109
2109
  yScale: p,
2110
- ticks: O,
2110
+ ticks: A,
2111
2111
  height: P,
2112
2112
  chartWidth: E,
2113
2113
  svgWidth: E,
2114
2114
  svgHeight: P,
2115
- contentWidth: L
2115
+ contentWidth: O
2116
2116
  };
2117
2117
  } else {
2118
- const L = e.length * (t + n);
2119
- console.log("barsHeight: ", L);
2120
- const E = L + d * 2 + m + 30, P = g + o + c * 2, I = gr.scaleLinear().domain([0, N]).range([0, g - c * 2]), p = Array.from(
2118
+ const O = e.length * (t + n);
2119
+ console.log("barsHeight: ", O);
2120
+ const E = O + d * 2 + m + 30, P = g + o + c * 2, I = gr.scaleLinear().domain([0, N]).range([0, g - c * 2]), p = Array.from(
2121
2121
  { length: s + 1 },
2122
- (O, T) => N / s * T
2122
+ (A, T) => N / s * T
2123
2123
  );
2124
2124
  return {
2125
2125
  xScale: I,
@@ -2166,25 +2166,25 @@ const vl = "_barChartContainer_1ly7h_2", $o = {
2166
2166
  "svg",
2167
2167
  {
2168
2168
  width: $,
2169
- height: C,
2169
+ height: v,
2170
2170
  style: {
2171
2171
  display: "block",
2172
2172
  width: $,
2173
- height: C,
2173
+ height: v,
2174
2174
  maxWidth: "none",
2175
2175
  "--main-color": h
2176
2176
  },
2177
2177
  children: /* @__PURE__ */ k("g", { transform: `translate(${c}, 0)`, children: [
2178
- /* @__PURE__ */ u("g", { children: _.map((x, N) => {
2179
- const L = f(x);
2178
+ /* @__PURE__ */ u("g", { children: x.map((C, N) => {
2179
+ const O = f(C);
2180
2180
  return /* @__PURE__ */ k("g", { children: [
2181
2181
  /* @__PURE__ */ u(
2182
2182
  "line",
2183
2183
  {
2184
2184
  x1: 0,
2185
2185
  x2: S - c * 2,
2186
- y1: L,
2187
- y2: L,
2186
+ y1: O,
2187
+ y2: O,
2188
2188
  stroke: "#ccc"
2189
2189
  }
2190
2190
  ),
@@ -2192,17 +2192,17 @@ const vl = "_barChartContainer_1ly7h_2", $o = {
2192
2192
  "text",
2193
2193
  {
2194
2194
  x: -10,
2195
- y: L + 4,
2195
+ y: O + 4,
2196
2196
  textAnchor: "end",
2197
2197
  fontSize: 10,
2198
2198
  fill: r,
2199
- children: parseInt(x)
2199
+ children: parseInt(C)
2200
2200
  }
2201
2201
  )
2202
2202
  ] }, N);
2203
2203
  }) }),
2204
- e && e.length > 0 && e.map((x, N) => {
2205
- const L = f(0) - f(x.value), E = N * (t + n), P = f(x.value);
2204
+ e && e.length > 0 && e.map((C, N) => {
2205
+ const O = f(0) - f(C.value), E = N * (t + n), P = f(C.value);
2206
2206
  return /* @__PURE__ */ k("g", { children: [
2207
2207
  /* @__PURE__ */ u(
2208
2208
  "rect",
@@ -2210,8 +2210,8 @@ const vl = "_barChartContainer_1ly7h_2", $o = {
2210
2210
  x: E,
2211
2211
  y: P,
2212
2212
  width: t,
2213
- height: L,
2214
- fill: x.color,
2213
+ height: O,
2214
+ fill: C.color,
2215
2215
  rx: 0
2216
2216
  }
2217
2217
  ),
@@ -2224,7 +2224,7 @@ const vl = "_barChartContainer_1ly7h_2", $o = {
2224
2224
  fill: r,
2225
2225
  fontSize: 12,
2226
2226
  transform: `rotate(-90, ${E + t / 2}, ${w - m})`,
2227
- children: x.title
2227
+ children: C.title
2228
2228
  }
2229
2229
  )
2230
2230
  ] }, N);
@@ -2233,7 +2233,7 @@ const vl = "_barChartContainer_1ly7h_2", $o = {
2233
2233
  }
2234
2234
  )
2235
2235
  }
2236
- ) : (console.log("svgHeight: ", C), /* @__PURE__ */ u(
2236
+ ) : (console.log("svgHeight: ", v), /* @__PURE__ */ u(
2237
2237
  "div",
2238
2238
  {
2239
2239
  style: {
@@ -2247,17 +2247,17 @@ const vl = "_barChartContainer_1ly7h_2", $o = {
2247
2247
  "svg",
2248
2248
  {
2249
2249
  width: $,
2250
- height: C,
2250
+ height: v,
2251
2251
  style: {
2252
2252
  minWidth: "100%",
2253
- height: C,
2254
- width: v,
2253
+ height: v,
2254
+ width: _,
2255
2255
  maxWidth: "none"
2256
2256
  },
2257
2257
  children: /* @__PURE__ */ k("g", { transform: `translate(0,${d})`, children: [
2258
- /* @__PURE__ */ u("g", { transform: `translate(${o + c}, 0)`, children: _.map((x, N) => {
2259
- const L = b(x);
2260
- return /* @__PURE__ */ k("g", { transform: `translate(${L}, 0)`, children: [
2258
+ /* @__PURE__ */ u("g", { transform: `translate(${o + c}, 0)`, children: x.map((C, N) => {
2259
+ const O = b(C);
2260
+ return /* @__PURE__ */ k("g", { transform: `translate(${O}, 0)`, children: [
2261
2261
  /* @__PURE__ */ u(
2262
2262
  "line",
2263
2263
  {
@@ -2273,13 +2273,13 @@ const vl = "_barChartContainer_1ly7h_2", $o = {
2273
2273
  textAnchor: "middle",
2274
2274
  fontSize: 10,
2275
2275
  fill: r,
2276
- children: parseInt(x)
2276
+ children: parseInt(C)
2277
2277
  }
2278
2278
  )
2279
2279
  ] }, N);
2280
2280
  }) }),
2281
- e && e.length > 0 && e.map((x, N) => {
2282
- const L = b(x.value), E = N * (t + n);
2281
+ e && e.length > 0 && e.map((C, N) => {
2282
+ const O = b(C.value), E = N * (t + n);
2283
2283
  return console.log("y: ", E), /* @__PURE__ */ k(
2284
2284
  "g",
2285
2285
  {
@@ -2293,15 +2293,15 @@ const vl = "_barChartContainer_1ly7h_2", $o = {
2293
2293
  textAnchor: "end",
2294
2294
  fill: r,
2295
2295
  fontSize: 12,
2296
- children: x.title
2296
+ children: C.title
2297
2297
  }
2298
2298
  ),
2299
2299
  /* @__PURE__ */ u(
2300
2300
  "rect",
2301
2301
  {
2302
- width: L,
2302
+ width: O,
2303
2303
  height: t,
2304
- fill: x.color,
2304
+ fill: C.color,
2305
2305
  rx: 0
2306
2306
  }
2307
2307
  )
@@ -2439,11 +2439,11 @@ const wl = "_indicatorsCategory_arwy3_2", Sl = "_title_arwy3_5", kl = "_list_arw
2439
2439
  defaultColor: h,
2440
2440
  multiple: b,
2441
2441
  activeIndicatorSubcategory: f
2442
- } = $t((x) => x), [_, w] = le(!1);
2443
- J(() => {
2442
+ } = $t((C) => C), [x, w] = le(!1);
2443
+ ee(() => {
2444
2444
  n && w(
2445
2445
  b ? n.some(
2446
- (x) => x.name == String(l)
2446
+ (C) => C.name == String(l)
2447
2447
  ) : n.name == l
2448
2448
  );
2449
2449
  }, [n]);
@@ -2453,7 +2453,7 @@ const wl = "_indicatorsCategory_arwy3_2", Sl = "_title_arwy3_5", kl = "_list_arw
2453
2453
  {
2454
2454
  className: xe.optionContainer,
2455
2455
  onClick: () => {
2456
- $t.setState((x) => ({ ...x, activeIndicatorType: "cat" })), o("cat");
2456
+ $t.setState((C) => ({ ...C, activeIndicatorType: "cat" })), o("cat");
2457
2457
  },
2458
2458
  children: [
2459
2459
  /* @__PURE__ */ u(
@@ -2484,7 +2484,7 @@ const wl = "_indicatorsCategory_arwy3_2", Sl = "_title_arwy3_5", kl = "_list_arw
2484
2484
  {
2485
2485
  className: xe.optionContainer,
2486
2486
  onClick: () => {
2487
- $t.setState((x) => ({ ...x, activeIndicatorType: "abs" })), o("abs");
2487
+ $t.setState((C) => ({ ...C, activeIndicatorType: "abs" })), o("abs");
2488
2488
  },
2489
2489
  children: [
2490
2490
  /* @__PURE__ */ u(
@@ -2510,31 +2510,33 @@ const wl = "_indicatorsCategory_arwy3_2", Sl = "_title_arwy3_5", kl = "_list_arw
2510
2510
  ]
2511
2511
  }
2512
2512
  )
2513
- ] }) }) }), $ = ({ indicator: x, subcatIndex: N }) => {
2514
- const L = {}, E = /* @__PURE__ */ new Set();
2515
- return Object.entries(x).forEach(([P, I]) => {
2516
- const p = P.match(/^(.*)_subcat_(\d+)$/);
2517
- if (p) {
2518
- const [O, T, F] = p;
2519
- Number(F) === N && (L[T] = I, E.add(T));
2513
+ ] }) }) }), $ = ({
2514
+ indicator: C,
2515
+ subcatIndex: N,
2516
+ indicatorSubcategory: O
2517
+ }) => {
2518
+ const E = {}, P = /* @__PURE__ */ new Set();
2519
+ return Object.entries(C).forEach(([I, p]) => {
2520
+ const A = I.match(/^(.*)_subcat_(\d+)$/);
2521
+ if (A) {
2522
+ const [T, F, j] = A;
2523
+ Number(j) === N && (E[F] = p, P.add(F));
2520
2524
  }
2521
- }), Object.entries(x).forEach(([P, I]) => {
2522
- !P.includes("_subcat_") && !E.has(P) && (L[P] = I);
2523
- }), L;
2524
- }, C = () => /* @__PURE__ */ u("div", { className: xe.switchExternalContainer, children: /* @__PURE__ */ u("div", { className: xe.switchType, children: /* @__PURE__ */ u("div", { className: xe.switchTypeOptions, children: m == null ? void 0 : m.map((x, N) => /* @__PURE__ */ k(
2525
+ }), Object.entries(C).forEach(([I, p]) => {
2526
+ !I.includes("_subcat_") && !P.has(I) && (E[I] = p);
2527
+ }), E.activeIndicatorSubcategory = O, E;
2528
+ }, v = () => /* @__PURE__ */ u("div", { className: xe.switchExternalContainer, children: /* @__PURE__ */ u("div", { className: xe.switchType, children: /* @__PURE__ */ u("div", { className: xe.switchTypeOptions, children: m == null ? void 0 : m.map((C, N) => /* @__PURE__ */ k(
2525
2529
  "div",
2526
2530
  {
2527
2531
  className: xe.optionContainer,
2528
2532
  onClick: () => {
2529
- $t.setState((E) => ({ ...E, activeIndicatorSubcategory: x.title }));
2530
- let L = $({
2533
+ $t.setState((E) => ({ ...E, activeIndicatorSubcategory: C.title }));
2534
+ let O = $({
2531
2535
  indicator: e,
2532
- subcatIndex: N
2533
- });
2534
- s({
2535
- subcatTitle: x.title,
2536
- activeIndicator: L
2536
+ subcatIndex: N,
2537
+ indicatorSubcategory: C.title
2537
2538
  });
2539
+ s && s({ indicator: O });
2538
2540
  },
2539
2541
  children: [
2540
2542
  /* @__PURE__ */ u(
@@ -2542,8 +2544,8 @@ const wl = "_indicatorsCategory_arwy3_2", Sl = "_title_arwy3_5", kl = "_list_arw
2542
2544
  {
2543
2545
  className: `${xe.customRadious}`,
2544
2546
  style: {
2545
- backgroundColor: f === x.title ? y : "transparent",
2546
- borderColor: f === x.title ? y : h
2547
+ backgroundColor: f === C.title ? y : "transparent",
2548
+ borderColor: f === C.title ? y : h
2547
2549
  }
2548
2550
  }
2549
2551
  ),
@@ -2552,15 +2554,15 @@ const wl = "_indicatorsCategory_arwy3_2", Sl = "_title_arwy3_5", kl = "_list_arw
2552
2554
  {
2553
2555
  className: xe.optionText,
2554
2556
  style: {
2555
- color: f === x.title ? y : h
2557
+ color: f === C.title ? y : h
2556
2558
  },
2557
- children: a(x.title)
2559
+ children: a(C.title)
2558
2560
  }
2559
2561
  )
2560
2562
  ]
2561
2563
  },
2562
- `indicatorSubcategory-${x.title}`
2563
- )) }) }) }), v = () => /* @__PURE__ */ u("div", { className: xe.switchExternalContainer, children: /* @__PURE__ */ u("div", { className: xe.switchType, children: /* @__PURE__ */ u("div", { className: xe.switchTypeOptions, children: t.map((x, N) => /* @__PURE__ */ k(
2564
+ `indicatorSubcategory-${C.title}`
2565
+ )) }) }) }), _ = () => /* @__PURE__ */ u("div", { className: xe.switchExternalContainer, children: /* @__PURE__ */ u("div", { className: xe.switchType, children: /* @__PURE__ */ u("div", { className: xe.switchTypeOptions, children: t.map((C, N) => /* @__PURE__ */ k(
2564
2566
  "div",
2565
2567
  {
2566
2568
  className: xe.optionContainer,
@@ -2571,7 +2573,7 @@ const wl = "_indicatorsCategory_arwy3_2", Sl = "_title_arwy3_5", kl = "_list_arw
2571
2573
  className: xe.customRadious
2572
2574
  }
2573
2575
  ),
2574
- /* @__PURE__ */ u("h4", { children: a(x.unit) })
2576
+ /* @__PURE__ */ u("h4", { children: a(C.unit) })
2575
2577
  ]
2576
2578
  },
2577
2579
  N
@@ -2587,12 +2589,12 @@ const wl = "_indicatorsCategory_arwy3_2", Sl = "_title_arwy3_5", kl = "_list_arw
2587
2589
  "div",
2588
2590
  {
2589
2591
  style: {
2590
- border: _ ? `1px solid ${y}` : `1px solid ${h}`,
2592
+ border: x ? `1px solid ${y}` : `1px solid ${h}`,
2591
2593
  opacity: d ? 0.5 : 1,
2592
- backgroundColor: _ ? y : "transparent"
2594
+ backgroundColor: x ? y : "transparent"
2593
2595
  },
2594
2596
  className: xe.dot,
2595
- children: b && /* @__PURE__ */ u("img", { src: _ ? $l : Tl, alt: "" })
2597
+ children: b && /* @__PURE__ */ u("img", { src: x ? $l : Tl, alt: "" })
2596
2598
  }
2597
2599
  ),
2598
2600
  /* @__PURE__ */ u(
@@ -2600,7 +2602,7 @@ const wl = "_indicatorsCategory_arwy3_2", Sl = "_title_arwy3_5", kl = "_list_arw
2600
2602
  {
2601
2603
  className: xe.indicatorName,
2602
2604
  style: {
2603
- color: _ ? y : h,
2605
+ color: x ? y : h,
2604
2606
  opacity: d ? 0.5 : 1
2605
2607
  },
2606
2608
  children: /* @__PURE__ */ u(
@@ -2617,8 +2619,8 @@ const wl = "_indicatorsCategory_arwy3_2", Sl = "_title_arwy3_5", kl = "_list_arw
2617
2619
  }
2618
2620
  ),
2619
2621
  (n == null ? void 0 : n.name) === l && c === "both" && S(),
2620
- (n == null ? void 0 : n.name) === l && c === "twoUnits" && v(),
2621
- (n == null ? void 0 : n.name) === l && m && m.length > 0 && C()
2622
+ (n == null ? void 0 : n.name) === l && c === "twoUnits" && _(),
2623
+ (n == null ? void 0 : n.name) === l && m && m.length > 0 && v()
2622
2624
  ] });
2623
2625
  };
2624
2626
  no.propTypes = {
@@ -2648,7 +2650,7 @@ const Vl = "_indicatorsSubCategory_1nuug_2", Bl = "_list_1nuug_11", Eo = {
2648
2650
  onChangeIndicatorSubcategory: c
2649
2651
  }) => {
2650
2652
  const { t: d } = ce(), [m, g] = le(!1);
2651
- J(() => {
2653
+ ee(() => {
2652
2654
  g(n == o);
2653
2655
  }, [n, o]);
2654
2656
  const {
@@ -2656,7 +2658,7 @@ const Vl = "_indicatorsSubCategory_1nuug_2", Bl = "_list_1nuug_11", Eo = {
2656
2658
  activeColor: h,
2657
2659
  defaultColor: b,
2658
2660
  multiple: f,
2659
- activeIndicatorSubcategory: _
2661
+ activeIndicatorSubcategory: x
2660
2662
  } = $t((w) => w);
2661
2663
  return /* @__PURE__ */ k(
2662
2664
  Qr.div,
@@ -2710,9 +2712,9 @@ const Ji = ({
2710
2712
  onChangeIndicatorSubcategory: d
2711
2713
  }) => {
2712
2714
  var w;
2713
- const { t: m } = ce(), { activeIndicatorType: g, activeColor: y, defaultColor: h, multiple: b } = $t((S) => S), [f, _] = le(!1);
2714
- return J(() => {
2715
- _(r === t);
2715
+ const { t: m } = ce(), { activeIndicatorType: g, activeColor: y, defaultColor: h, multiple: b } = $t((S) => S), [f, x] = le(!1);
2716
+ return ee(() => {
2717
+ x(r === t);
2716
2718
  }, [r, t]), /* @__PURE__ */ k(
2717
2719
  Qr.div,
2718
2720
  {
@@ -2738,7 +2740,7 @@ const Ji = ({
2738
2740
  /* @__PURE__ */ u("span", { style: { color: f ? y : h }, children: m(e.name) })
2739
2741
  ] }),
2740
2742
  e.subcategories ? e.subcategories.map(
2741
- ({ name: S, subcategory: $, indicators: C }, v) => /* @__PURE__ */ u(
2743
+ ({ name: S, subcategory: $, indicators: v }, _) => /* @__PURE__ */ u(
2742
2744
  Qi,
2743
2745
  {
2744
2746
  id: $,
@@ -2747,11 +2749,11 @@ const Ji = ({
2747
2749
  onClickSubCategory: s,
2748
2750
  activeIndicator: a,
2749
2751
  onClickIndicator: l,
2750
- indicators: C,
2752
+ indicators: v,
2751
2753
  onChangeType: c,
2752
2754
  onChangeIndicatorSubcategory: d
2753
2755
  },
2754
- `subcKey ${v}`
2756
+ `subcKey ${_}`
2755
2757
  )
2756
2758
  ) : /* @__PURE__ */ u("div", { className: En.list, children: (w = e.indicators) == null ? void 0 : w.map((S, $) => /* @__PURE__ */ u(
2757
2759
  no,
@@ -2802,7 +2804,7 @@ const Fl = "_indicatorsList_13b3m_2", zl = "_title_13b3m_6", Oo = {
2802
2804
  onChangeIndicatorSubcategory: c
2803
2805
  }) => {
2804
2806
  const { t: d } = ce(), [m, g] = le(), [y, h] = le(), [b, f] = le();
2805
- J(() => {
2807
+ ee(() => {
2806
2808
  $t.setState({
2807
2809
  activeColor: t || "",
2808
2810
  defaultColor: n || "",
@@ -2810,66 +2812,65 @@ const Fl = "_indicatorsList_13b3m_2", zl = "_title_13b3m_6", Oo = {
2810
2812
  activeIndicatorType: l || null
2811
2813
  });
2812
2814
  }, [t, n, o, l]);
2813
- const _ = (v) => {
2814
- g(m == v ? null : v);
2815
- }, w = (v) => {
2816
- h(y == v ? null : v);
2817
- }, S = ({ indicator: v }) => {
2818
- $(v);
2819
- }, $ = (v) => {
2820
- if (!o)
2821
- f(
2822
- (b == null ? void 0 : b.name) == v.name ? null : v
2815
+ const x = (C) => {
2816
+ g(m == C ? null : C);
2817
+ }, w = (C) => {
2818
+ h(y == C ? null : C);
2819
+ }, S = ({ indicator: C }) => {
2820
+ v(C);
2821
+ }, $ = ({ indicator: C }) => {
2822
+ v(C, !0), c && c({ indicator: C });
2823
+ }, v = (C, N = !1) => {
2824
+ if (o) {
2825
+ let O = b && b.length > 0 ? [...b] : [];
2826
+ const E = O == null ? void 0 : O.some(
2827
+ (I) => I.name == C.name
2823
2828
  );
2824
- else {
2825
- let x = b && b.length > 0 ? [...b] : [];
2826
- f(
2827
- x != null && x.some(
2828
- (N) => N.name == v.name
2829
- ) ? x.filter(
2830
- (N) => N.name != String(v.name)
2831
- ) : [...x, v]
2832
- ), v.type == "both" && a("cat");
2829
+ let P;
2830
+ N ? P = C : P = E ? O.filter(
2831
+ (I) => I.name != String(C.name)
2832
+ ) : [...O, C], f(P), C.type == "both" && a("cat"), r && typeof r == "function" && (N || !(C != null && C.indicatorSubcategories)) && r({ activeIndicator: P });
2833
+ } else {
2834
+ let O;
2835
+ N ? O = C : O = (b == null ? void 0 : b.name) == C.name ? null : C, f(O), (C == null ? void 0 : C.type) == "both" && a("cat"), r && typeof r == "function" && (N || !(C != null && C.indicatorSubcategories)) && r({ activeIndicator: O });
2833
2836
  }
2834
2837
  };
2835
- J(() => {
2836
- r && typeof r == "function" && b && r({ activeIndicator: b });
2837
- }, [b]), Ii(() => {
2838
+ Ii(() => {
2838
2839
  if (s && !b)
2839
2840
  if (o && s && Array.isArray(s)) {
2840
- let v = b && b.length > 0 ? [...b] : [];
2841
- f([...v, ...s]), C(s[0].name);
2841
+ let C = b && b.length > 0 ? [...b] : [];
2842
+ f([...C, ...s]), _(s[0].name);
2842
2843
  } else
2843
- $(s), C(s.name);
2844
- }, []), J(() => {
2844
+ v(s), _(s.name);
2845
+ }, []), ee(() => {
2845
2846
  if (s != b)
2846
2847
  if (o && s && Array.isArray(s)) {
2847
- let v = b && b.length > 0 ? [...b] : [];
2848
- f([...v, ...s]), C(s[0].name);
2848
+ let C = b && b.length > 0 ? [...b] : [];
2849
+ f([...C, ...s]), _(s[0].name);
2849
2850
  } else
2850
- $(s), C(s.name);
2851
+ v(s), _(s.name);
2851
2852
  }, [s]);
2852
- const C = (v) => {
2853
- const x = e.find((N) => {
2854
- if (N.subcategories) {
2855
- let L = N.subcategories.find(
2856
- (E) => E.indicators.find((P) => P.name == v)
2853
+ const _ = (C) => {
2854
+ const N = e.find((O) => {
2855
+ if (O.subcategories) {
2856
+ let E = O.subcategories.find(
2857
+ (P) => P.indicators.find((I) => I.name == C)
2857
2858
  );
2858
- if (L)
2859
- return h(L.subcategory), L;
2859
+ if (E)
2860
+ return h(E.subcategory), E;
2860
2861
  } else
2861
- return N.indicators.some((L) => L.name == v);
2862
+ return O.indicators.some((E) => E.name == C);
2862
2863
  });
2863
- x && g(x.category);
2864
+ N && g(N.category);
2864
2865
  };
2865
2866
  return /* @__PURE__ */ k("div", { className: Oo.indicatorsList, children: [
2866
2867
  /* @__PURE__ */ u("h2", { className: Oo.title, style: { color: n }, children: d("indicators.indicators") }),
2867
- e.map((v, x) => /* @__PURE__ */ u(
2868
+ e.map((C, N) => /* @__PURE__ */ u(
2868
2869
  Ji,
2869
2870
  {
2870
- id: v.category,
2871
- cat: v,
2872
- onClickCategory: _,
2871
+ id: C.category,
2872
+ cat: C,
2873
+ onClickCategory: x,
2873
2874
  activeCategory: m,
2874
2875
  onClickSubCategory: w,
2875
2876
  activeSubCategory: y,
@@ -2877,9 +2878,9 @@ const Fl = "_indicatorsList_13b3m_2", zl = "_title_13b3m_6", Oo = {
2877
2878
  activeIndicator: b,
2878
2879
  onChange: r,
2879
2880
  onChangeType: a,
2880
- onChangeIndicatorSubcategory: c
2881
+ onChangeIndicatorSubcategory: $
2881
2882
  },
2882
- `categoryKey${x}`
2883
+ `categoryKey${N}`
2883
2884
  ))
2884
2885
  ] });
2885
2886
  };
@@ -3624,7 +3625,7 @@ function xc(e) {
3624
3625
  }
3625
3626
  return Array.from(t);
3626
3627
  }
3627
- const wc = typeof document < "u" ? Ii : J, Sc = [
3628
+ const wc = typeof document < "u" ? Ii : ee, Sc = [
3628
3629
  "baseApiUrl",
3629
3630
  "maxParallelImageRequests",
3630
3631
  "workerClass",
@@ -3642,7 +3643,7 @@ function kc(e, t) {
3642
3643
  const Qt = Q.createContext(null);
3643
3644
  function Tc(e, t, n) {
3644
3645
  const r = Xt(pc), [o, s] = le(null), a = ke(), { current: l } = ke({ mapLib: null, map: null });
3645
- J(() => {
3646
+ ee(() => {
3646
3647
  const m = e.mapLib;
3647
3648
  let g = !0, y;
3648
3649
  return Promise.resolve(m || n).then((h) => {
@@ -3703,36 +3704,36 @@ function Nc(e, t) {
3703
3704
  Q.Children.forEach(e.children, (S) => {
3704
3705
  S && (f = !0);
3705
3706
  });
3706
- const _ = {
3707
+ const x = {
3707
3708
  ...e,
3708
3709
  element: f ? document.createElement("div") : null
3709
- }, w = new r.Marker(_);
3710
+ }, w = new r.Marker(x);
3710
3711
  return w.setLngLat([e.longitude, e.latitude]), w.getElement().addEventListener("click", (S) => {
3711
- var $, C;
3712
- (C = ($ = o.current.props).onClick) === null || C === void 0 || C.call($, {
3712
+ var $, v;
3713
+ (v = ($ = o.current.props).onClick) === null || v === void 0 || v.call($, {
3713
3714
  type: "click",
3714
3715
  target: w,
3715
3716
  originalEvent: S
3716
3717
  });
3717
3718
  }), w.on("dragstart", (S) => {
3718
- var $, C;
3719
- const v = S;
3720
- v.lngLat = s.getLngLat(), (C = ($ = o.current.props).onDragStart) === null || C === void 0 || C.call($, v);
3719
+ var $, v;
3720
+ const _ = S;
3721
+ _.lngLat = s.getLngLat(), (v = ($ = o.current.props).onDragStart) === null || v === void 0 || v.call($, _);
3721
3722
  }), w.on("drag", (S) => {
3722
- var $, C;
3723
- const v = S;
3724
- v.lngLat = s.getLngLat(), (C = ($ = o.current.props).onDrag) === null || C === void 0 || C.call($, v);
3723
+ var $, v;
3724
+ const _ = S;
3725
+ _.lngLat = s.getLngLat(), (v = ($ = o.current.props).onDrag) === null || v === void 0 || v.call($, _);
3725
3726
  }), w.on("dragend", (S) => {
3726
- var $, C;
3727
- const v = S;
3728
- v.lngLat = s.getLngLat(), (C = ($ = o.current.props).onDragEnd) === null || C === void 0 || C.call($, v);
3727
+ var $, v;
3728
+ const _ = S;
3729
+ _.lngLat = s.getLngLat(), (v = ($ = o.current.props).onDragEnd) === null || v === void 0 || v.call($, _);
3729
3730
  }), w;
3730
3731
  }, []);
3731
- J(() => (s.addTo(n.getMap()), () => {
3732
+ ee(() => (s.addTo(n.getMap()), () => {
3732
3733
  s.remove();
3733
3734
  }), []);
3734
3735
  const { longitude: a, latitude: l, offset: c, style: d, draggable: m = !1, popup: g = null, rotation: y = 0, rotationAlignment: h = "auto", pitchAlignment: b = "auto" } = e;
3735
- return J(() => {
3736
+ return ee(() => {
3736
3737
  Rt(s.getElement(), d);
3737
3738
  }, [d]), Xn(t, () => s, []), (s.getLngLat().lng !== a || s.getLngLat().lat !== l) && s.setLngLat([a, l]), c && !mc(s.getOffset(), c) && s.setOffset(c), s.isDraggable() !== m && s.setDraggable(m), s.getRotation() !== y && s.setRotation(y), s.getRotationAlignment() !== h && s.setRotationAlignment(h), s.getPitchAlignment() !== b && s.setPitchAlignment(b), s.getPopup() !== g && s.setPopup(g), Fi(e.children, s.getElement());
3738
3739
  }
@@ -3750,7 +3751,7 @@ function Ec(e, t) {
3750
3751
  (g = (m = s.current.props).onOpen) === null || g === void 0 || g.call(m, d);
3751
3752
  }), c;
3752
3753
  }, []);
3753
- if (J(() => {
3754
+ if (ee(() => {
3754
3755
  const l = (c) => {
3755
3756
  var d, m;
3756
3757
  (m = (d = s.current.props).onClose) === null || m === void 0 || m.call(d, c);
@@ -3758,7 +3759,7 @@ function Ec(e, t) {
3758
3759
  return a.on("close", l), a.setDOMContent(o).addTo(n.getMap()), () => {
3759
3760
  a.off("close", l), a.isOpen() && a.remove();
3760
3761
  };
3761
- }, []), J(() => {
3762
+ }, []), ee(() => {
3762
3763
  Rt(a.getElement(), e.style);
3763
3764
  }, [e.style]), Xn(t, () => a, []), a.isOpen() && ((a.getLngLat().lng !== e.longitude || a.getLngLat().lat !== e.latitude) && a.setLngLat([e.longitude, e.latitude]), e.offset && !Ue(a.options.offset, e.offset) && a.setOffset(e.offset), (a.options.anchor !== e.anchor || a.options.maxWidth !== e.maxWidth) && (a.options.anchor = e.anchor, a.setMaxWidth(e.maxWidth)), a.options.className !== e.className)) {
3764
3765
  const l = Bo(a.options.className), c = Bo(e.className);
@@ -3773,7 +3774,7 @@ function Ec(e, t) {
3773
3774
  const Oc = Lt(Yr(Ec));
3774
3775
  function gn(e, t, n, r) {
3775
3776
  const o = Xt(Qt), s = je(() => e(o), []);
3776
- return J(() => {
3777
+ return ee(() => {
3777
3778
  const a = t, l = null, c = typeof t == "function" ? t : null, { map: d } = o;
3778
3779
  return d.hasControl(s) || (d.addControl(s, a == null ? void 0 : a.position), l && l(o)), () => {
3779
3780
  c && c(o), d.hasControl(s) && d.removeControl(s);
@@ -3784,7 +3785,7 @@ function Ac(e) {
3784
3785
  const t = gn(({ mapLib: n }) => new n.AttributionControl(e), {
3785
3786
  position: e.position
3786
3787
  });
3787
- return J(() => {
3788
+ return ee(() => {
3788
3789
  Rt(t._container, e.style);
3789
3790
  }, [e.style]), null;
3790
3791
  }
@@ -3793,7 +3794,7 @@ function Lc(e) {
3793
3794
  const t = gn(({ mapLib: n }) => new n.FullscreenControl({
3794
3795
  container: e.containerId && document.getElementById(e.containerId)
3795
3796
  }), { position: e.position });
3796
- return J(() => {
3797
+ return ee(() => {
3797
3798
  Rt(t._controlContainer, e.style);
3798
3799
  }, [e.style]), null;
3799
3800
  }
@@ -3820,7 +3821,7 @@ function Mc(e, t) {
3820
3821
  (d = (c = n.current.props).onTrackUserLocationEnd) === null || d === void 0 || d.call(c, l);
3821
3822
  }), s;
3822
3823
  }, { position: e.position });
3823
- return n.current.props = e, Xn(t, () => r, []), J(() => {
3824
+ return n.current.props = e, Xn(t, () => r, []), ee(() => {
3824
3825
  Rt(r._container, e.style);
3825
3826
  }, [e.style]), null;
3826
3827
  }
@@ -3829,7 +3830,7 @@ function Rc(e) {
3829
3830
  const t = gn(({ mapLib: n }) => new n.NavigationControl(e), {
3830
3831
  position: e.position
3831
3832
  });
3832
- return J(() => {
3833
+ return ee(() => {
3833
3834
  Rt(t._container, e.style);
3834
3835
  }, [e.style]), null;
3835
3836
  }
@@ -3840,7 +3841,7 @@ function Ic(e) {
3840
3841
  }), n = ke(e), r = n.current;
3841
3842
  n.current = e;
3842
3843
  const { style: o } = e;
3843
- return e.maxWidth !== void 0 && e.maxWidth !== r.maxWidth && (t.options.maxWidth = e.maxWidth), e.unit !== void 0 && e.unit !== r.unit && t.setUnit(e.unit), J(() => {
3844
+ return e.maxWidth !== void 0 && e.maxWidth !== r.maxWidth && (t.options.maxWidth = e.maxWidth), e.unit !== void 0 && e.unit !== r.unit && t.setUnit(e.unit), ee(() => {
3844
3845
  Rt(t._container, o);
3845
3846
  }, [o]), null;
3846
3847
  }
@@ -3878,7 +3879,7 @@ function Vc(e, t, n) {
3878
3879
  let Bc = 0;
3879
3880
  function Fc(e) {
3880
3881
  const t = Xt(Qt).map.getMap(), n = ke(e), [, r] = le(0), o = je(() => e.id || `jsx-layer-${Bc++}`, []);
3881
- if (J(() => {
3882
+ if (ee(() => {
3882
3883
  if (t) {
3883
3884
  const a = () => r((l) => l + 1);
3884
3885
  return t.on("styledata", a), a(), () => {
@@ -3918,7 +3919,7 @@ function qc(e, t, n) {
3918
3919
  }
3919
3920
  function Wc(e) {
3920
3921
  const t = Xt(Qt).map.getMap(), n = ke(e), [, r] = le(0), o = je(() => e.id || `jsx-source-${zc++}`, []);
3921
- J(() => {
3922
+ ee(() => {
3922
3923
  if (t) {
3923
3924
  const a = () => setTimeout(() => r((l) => l + 1), 0);
3924
3925
  return t.on("styledata", a), a(), () => {
@@ -3958,7 +3959,7 @@ const Kc = ({
3958
3959
  layers: m = []
3959
3960
  }) => {
3960
3961
  const g = ke(), [y, h] = le(null), b = Hs((f) => f.mapState.showTexts);
3961
- return J(() => {
3962
+ return ee(() => {
3962
3963
  if (g.current) {
3963
3964
  const f = g.current.getMap();
3964
3965
  f.getStyle().layers.map((w) => {
@@ -3977,7 +3978,7 @@ const Kc = ({
3977
3978
  onClick: a,
3978
3979
  interactiveLayerIds: l,
3979
3980
  children: [
3980
- d.length && d.map((f, _) => /* @__PURE__ */ u(os, { ...f, children: m.length && m.map((w, S) => {
3981
+ d.length && d.map((f, x) => /* @__PURE__ */ u(os, { ...f, children: m.length && m.map((w, S) => {
3981
3982
  if (w.sourceId == f.id)
3982
3983
  return /* @__PURE__ */ u(
3983
3984
  rs,
@@ -3987,7 +3988,7 @@ const Kc = ({
3987
3988
  },
3988
3989
  S
3989
3990
  );
3990
- }) }, _)),
3991
+ }) }, x)),
3991
3992
  /* @__PURE__ */ u(ns, { position: "bottom-right", visualizePitch: !0 }),
3992
3993
  c && y && /* @__PURE__ */ u(
3993
3994
  ts,
@@ -4083,14 +4084,14 @@ const Gc = "_mapContainer_1r3q4_3", Yc = {
4083
4084
  hash: h = !1
4084
4085
  }) => {
4085
4086
  const b = ke();
4086
- return J(() => {
4087
+ return ee(() => {
4087
4088
  if (b.current) {
4088
4089
  const f = b.current.getMap();
4089
4090
  f.getStyle().layers.map((w) => {
4090
4091
  w.type == "symbol" && w.id != "professionals" && (y ? f.setLayoutProperty(w.id, "visibility", "visible") : f.setLayoutProperty(w.id, "visibility", "none"));
4091
4092
  });
4092
4093
  }
4093
- }, [y]), J(() => {
4094
+ }, [y]), ee(() => {
4094
4095
  let f = new Ks();
4095
4096
  return yr.addProtocol("pmtiles", f.tile), () => {
4096
4097
  yr.removeProtocol("pmtiles");
@@ -4108,7 +4109,7 @@ const Gc = "_mapContainer_1r3q4_3", Yc = {
4108
4109
  onClick: a,
4109
4110
  interactiveLayerIds: l,
4110
4111
  children: [
4111
- c.length && c.map((f, _) => /* @__PURE__ */ u(os, { ...f, children: d.length && d.map((w, S) => {
4112
+ c.length && c.map((f, x) => /* @__PURE__ */ u(os, { ...f, children: d.length && d.map((w, S) => {
4112
4113
  if (w.sourceId == f.id)
4113
4114
  return /* @__PURE__ */ u(
4114
4115
  rs,
@@ -4122,7 +4123,7 @@ const Gc = "_mapContainer_1r3q4_3", Yc = {
4122
4123
  },
4123
4124
  S
4124
4125
  );
4125
- }) }, _)),
4126
+ }) }, x)),
4126
4127
  /* @__PURE__ */ u(ns, { position: "bottom-right", visualizePitch: !0 }),
4127
4128
  m && /* @__PURE__ */ u(
4128
4129
  ts,
@@ -4601,10 +4602,10 @@ function T0(e) {
4601
4602
  rootRef: h,
4602
4603
  scale: b = k0,
4603
4604
  step: f = 1,
4604
- shiftStep: _ = 10,
4605
+ shiftStep: x = 10,
4605
4606
  tabIndex: w,
4606
4607
  value: S
4607
- } = e, $ = Q.useRef(void 0), [C, v] = Q.useState(-1), [x, N] = Q.useState(-1), [L, E] = Q.useState(!1), P = Q.useRef(0), I = Q.useRef(null), [p, O] = y0({
4608
+ } = e, $ = Q.useRef(void 0), [v, _] = Q.useState(-1), [C, N] = Q.useState(-1), [O, E] = Q.useState(!1), P = Q.useRef(0), I = Q.useRef(null), [p, A] = y0({
4608
4609
  controlled: S,
4609
4610
  default: n ?? c,
4610
4611
  name: "Slider"
@@ -4622,7 +4623,7 @@ function T0(e) {
4622
4623
  j = j.map((R) => R == null ? c : Ht(R, c, l));
4623
4624
  const Y = a === !0 && f !== null ? [...Array(Math.floor((l - c) / f) + 1)].map((R, z) => ({
4624
4625
  value: c + f * z
4625
- })) : a || [], W = Y.map((R) => R.value), [ue, D] = Q.useState(-1), M = Q.useRef(null), ee = ss(h, M), K = (R) => (z) => {
4626
+ })) : a || [], W = Y.map((R) => R.value), [ue, D] = Q.useState(-1), M = Q.useRef(null), J = ss(h, M), K = (R) => (z) => {
4626
4627
  var ae;
4627
4628
  const H = Number(z.currentTarget.getAttribute("data-index"));
4628
4629
  qo(z.target) && D(H), N(H), (ae = R == null ? void 0 : R.onFocus) == null || ae.call(R, z);
@@ -4650,7 +4651,7 @@ function T0(e) {
4650
4651
  activeIndex: Ve
4651
4652
  });
4652
4653
  }
4653
- O(X), D(H), T && !Ln(X, p) && T(R, X, H), g && g(R, I.current ?? X);
4654
+ A(X), D(H), T && !Ln(X, p) && T(R, X, H), g && g(R, I.current ?? X);
4654
4655
  }, ne = (R) => (z) => {
4655
4656
  var H;
4656
4657
  if (["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "PageUp", "PageDown", "Home", "End"].includes(z.key)) {
@@ -4658,7 +4659,7 @@ function T0(e) {
4658
4659
  const ae = Number(z.currentTarget.getAttribute("data-index")), be = j[ae];
4659
4660
  let X = null;
4660
4661
  if (f != null) {
4661
- const Re = z.shiftKey ? _ : f;
4662
+ const Re = z.shiftKey ? x : f;
4662
4663
  switch (z.key) {
4663
4664
  case "ArrowUp":
4664
4665
  X = Vt(be, Re, 1, c, l);
@@ -4673,10 +4674,10 @@ function T0(e) {
4673
4674
  X = Vt(be, Re, s ? 1 : -1, c, l);
4674
4675
  break;
4675
4676
  case "PageUp":
4676
- X = Vt(be, _, 1, c, l);
4677
+ X = Vt(be, x, 1, c, l);
4677
4678
  break;
4678
4679
  case "PageDown":
4679
- X = Vt(be, _, -1, c, l);
4680
+ X = Vt(be, x, -1, c, l);
4680
4681
  break;
4681
4682
  case "Home":
4682
4683
  X = c;
@@ -4696,7 +4697,7 @@ function T0(e) {
4696
4697
  as(() => {
4697
4698
  var R;
4698
4699
  r && M.current.contains(document.activeElement) && ((R = document.activeElement) == null || R.blur());
4699
- }, [r]), r && C !== -1 && v(-1), r && ue !== -1 && D(-1);
4700
+ }, [r]), r && v !== -1 && _(-1), r && ue !== -1 && D(-1);
4700
4701
  const G = (R) => (z) => {
4701
4702
  var H;
4702
4703
  (H = R.onChange) == null || H.call(R, z), Z(z, z.target.valueAsNumber);
@@ -4757,8 +4758,8 @@ function T0(e) {
4757
4758
  An({
4758
4759
  sliderRef: M,
4759
4760
  activeIndex: ae,
4760
- setActive: v
4761
- }), O(H), !L && P.current > C0 && E(!0), T && !Ln(H, p) && T(R, H, ae);
4761
+ setActive: _
4762
+ }), A(H), !O && P.current > C0 && E(!0), T && !Ln(H, p) && T(R, H, ae);
4762
4763
  }), V = $r((R) => {
4763
4764
  const z = On(R, $);
4764
4765
  if (E(!1), !z)
@@ -4769,7 +4770,7 @@ function T0(e) {
4769
4770
  finger: z,
4770
4771
  move: !0
4771
4772
  });
4772
- v(-1), R.type === "touchend" && N(-1), g && g(R, I.current ?? H), $.current = void 0, Ie();
4773
+ _(-1), R.type === "touchend" && N(-1), g && g(R, I.current ?? H), $.current = void 0, Ie();
4773
4774
  }), se = $r((R) => {
4774
4775
  if (r)
4775
4776
  return;
@@ -4787,8 +4788,8 @@ function T0(e) {
4787
4788
  An({
4788
4789
  sliderRef: M,
4789
4790
  activeIndex: X,
4790
- setActive: v
4791
- }), O(be), T && !Ln(be, p) && T(R, be, X);
4791
+ setActive: _
4792
+ }), A(be), T && !Ln(be, p) && T(R, be, X);
4792
4793
  }
4793
4794
  P.current = 0;
4794
4795
  const ae = zn(M.current);
@@ -4829,8 +4830,8 @@ function T0(e) {
4829
4830
  An({
4830
4831
  sliderRef: M,
4831
4832
  activeIndex: Re,
4832
- setActive: v
4833
- }), O(X), T && !Ln(X, p) && T(z, X, Re);
4833
+ setActive: _
4834
+ }), A(X), T && !Ln(X, p) && T(z, X, Re);
4834
4835
  }
4835
4836
  P.current = 0;
4836
4837
  const ae = zn(M.current);
@@ -4846,7 +4847,7 @@ function T0(e) {
4846
4847
  };
4847
4848
  return {
4848
4849
  ...R,
4849
- ref: ee,
4850
+ ref: J,
4850
4851
  ...ae
4851
4852
  };
4852
4853
  }, Ce = (R) => (z) => {
@@ -4869,14 +4870,14 @@ function T0(e) {
4869
4870
  };
4870
4871
  }, Je = (R) => ({
4871
4872
  // So the non active thumb doesn't show its label on hover.
4872
- pointerEvents: C !== -1 && C !== R ? "none" : void 0
4873
+ pointerEvents: v !== -1 && v !== R ? "none" : void 0
4873
4874
  });
4874
4875
  let _e;
4875
4876
  return y === "vertical" && (_e = s ? "vertical-rl" : "vertical-lr"), {
4876
- active: C,
4877
+ active: v,
4877
4878
  axis: oe,
4878
4879
  axisProps: S0,
4879
- dragging: L,
4880
+ dragging: O,
4880
4881
  focusedThumbIndex: ue,
4881
4882
  getHiddenInputProps: (R = {}) => {
4882
4883
  const z = Fn(R), H = {
@@ -4915,9 +4916,9 @@ function T0(e) {
4915
4916
  getRootProps: Se,
4916
4917
  getThumbProps: qe,
4917
4918
  marks: Y,
4918
- open: x,
4919
+ open: C,
4919
4920
  range: F,
4920
- rootRef: ee,
4921
+ rootRef: J,
4921
4922
  trackLeap: re,
4922
4923
  trackOffset: q,
4923
4924
  values: j,
@@ -4950,8 +4951,8 @@ function $0() {
4950
4951
  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"), m = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), y = Symbol.for("react.view_transition"), h = Symbol.for("react.client.reference");
4951
4952
  function b(f) {
4952
4953
  if (typeof f == "object" && f !== null) {
4953
- var _ = f.$$typeof;
4954
- switch (_) {
4954
+ var x = f.$$typeof;
4955
+ switch (x) {
4955
4956
  case e:
4956
4957
  switch (f = f.type, f) {
4957
4958
  case n:
@@ -4971,11 +4972,11 @@ function $0() {
4971
4972
  case s:
4972
4973
  return f;
4973
4974
  default:
4974
- return _;
4975
+ return x;
4975
4976
  }
4976
4977
  }
4977
4978
  case t:
4978
- return _;
4979
+ return x;
4979
4980
  }
4980
4981
  }
4981
4982
  }
@@ -5022,8 +5023,8 @@ function N0() {
5022
5023
  return Ko || (Ko = 1, process.env.NODE_ENV !== "production" && function() {
5023
5024
  function e(f) {
5024
5025
  if (typeof f == "object" && f !== null) {
5025
- var _ = f.$$typeof;
5026
- switch (_) {
5026
+ var x = f.$$typeof;
5027
+ switch (x) {
5027
5028
  case t:
5028
5029
  switch (f = f.type, f) {
5029
5030
  case r:
@@ -5043,11 +5044,11 @@ function N0() {
5043
5044
  case a:
5044
5045
  return f;
5045
5046
  default:
5046
- return _;
5047
+ return x;
5047
5048
  }
5048
5049
  }
5049
5050
  case n:
5050
- return _;
5051
+ return x;
5051
5052
  }
5052
5053
  }
5053
5054
  }
@@ -5844,8 +5845,8 @@ function C2() {
5844
5845
  else {
5845
5846
  const f = dt({
5846
5847
  theme: o
5847
- }, b, (_) => ({
5848
- [h]: _
5848
+ }, b, (x) => ({
5849
+ [h]: x
5849
5850
  }));
5850
5851
  b2(f, b) ? y[h] = t({
5851
5852
  sx: b,
@@ -6336,7 +6337,7 @@ function j2(e = {}) {
6336
6337
  z2(l, t, n);
6337
6338
  }
6338
6339
  return (l, c = {}) => {
6339
- E2(l, (x) => x.filter((N) => N !== Yt));
6340
+ E2(l, (C) => C.filter((N) => N !== Yt));
6340
6341
  const {
6341
6342
  name: d,
6342
6343
  slot: m,
@@ -6346,7 +6347,7 @@ function j2(e = {}) {
6346
6347
  // For more details: https://github.com/mui/material-ui/pull/37908
6347
6348
  overridesResolver: h = F2(ys(m)),
6348
6349
  ...b
6349
- } = c, f = d && d.startsWith("Mui") || m ? "components" : "custom", _ = g !== void 0 ? g : (
6350
+ } = c, f = d && d.startsWith("Mui") || m ? "components" : "custom", x = g !== void 0 ? g : (
6350
6351
  // TODO v6: remove `Root` in the next major release
6351
6352
  // For more details: https://github.com/mui/material-ui/pull/37908
6352
6353
  m && m !== "Root" && m !== "root" || !1
@@ -6357,44 +6358,44 @@ function j2(e = {}) {
6357
6358
  shouldForwardProp: S,
6358
6359
  label: W2(d, m),
6359
6360
  ...b
6360
- }), C = (x) => {
6361
- if (x.__emotion_real === x)
6362
- return x;
6363
- if (typeof x == "function")
6364
- return function(L) {
6365
- return jn(L, x, L.theme.modularCssLayers ? f : void 0);
6361
+ }), v = (C) => {
6362
+ if (C.__emotion_real === C)
6363
+ return C;
6364
+ if (typeof C == "function")
6365
+ return function(O) {
6366
+ return jn(O, C, O.theme.modularCssLayers ? f : void 0);
6366
6367
  };
6367
- if (ct(x)) {
6368
- const N = hs(x);
6368
+ if (ct(C)) {
6369
+ const N = hs(C);
6369
6370
  return function(E) {
6370
6371
  return N.variants ? jn(E, N, E.theme.modularCssLayers ? f : void 0) : E.theme.modularCssLayers ? Nt(N.style, f) : N.style;
6371
6372
  };
6372
6373
  }
6373
- return x;
6374
- }, v = (...x) => {
6375
- const N = [], L = x.map(C), E = [];
6376
- if (N.push(s), d && h && E.push(function(O) {
6374
+ return C;
6375
+ }, _ = (...C) => {
6376
+ const N = [], O = C.map(v), E = [];
6377
+ if (N.push(s), d && h && E.push(function(A) {
6377
6378
  var Y, W;
6378
- const F = (W = (Y = O.theme.components) == null ? void 0 : Y[d]) == null ? void 0 : W.styleOverrides;
6379
+ const F = (W = (Y = A.theme.components) == null ? void 0 : Y[d]) == null ? void 0 : W.styleOverrides;
6379
6380
  if (!F)
6380
6381
  return null;
6381
6382
  const j = {};
6382
6383
  for (const ue in F)
6383
- j[ue] = jn(O, F[ue], O.theme.modularCssLayers ? "theme" : void 0);
6384
- return h(O, j);
6385
- }), d && !_ && E.push(function(O) {
6384
+ j[ue] = jn(A, F[ue], A.theme.modularCssLayers ? "theme" : void 0);
6385
+ return h(A, j);
6386
+ }), d && !x && E.push(function(A) {
6386
6387
  var j, Y;
6387
- const T = O.theme, F = (Y = (j = T == null ? void 0 : T.components) == null ? void 0 : j[d]) == null ? void 0 : Y.variants;
6388
- return F ? gs(O, F, [], O.theme.modularCssLayers ? "theme" : void 0) : null;
6389
- }), w || E.push(Yt), Array.isArray(L[0])) {
6390
- const p = L.shift(), O = new Array(N.length).fill(""), T = new Array(E.length).fill("");
6388
+ const T = A.theme, F = (Y = (j = T == null ? void 0 : T.components) == null ? void 0 : j[d]) == null ? void 0 : Y.variants;
6389
+ return F ? gs(A, F, [], A.theme.modularCssLayers ? "theme" : void 0) : null;
6390
+ }), w || E.push(Yt), Array.isArray(O[0])) {
6391
+ const p = O.shift(), A = new Array(N.length).fill(""), T = new Array(E.length).fill("");
6391
6392
  let F;
6392
- F = [...O, ...p, ...T], F.raw = [...O, ...p.raw, ...T], N.unshift(F);
6393
+ F = [...A, ...p, ...T], F.raw = [...A, ...p.raw, ...T], N.unshift(F);
6393
6394
  }
6394
- const P = [...N, ...L, ...E], I = $(...P);
6395
+ const P = [...N, ...O, ...E], I = $(...P);
6395
6396
  return l.muiName && (I.muiName = l.muiName), process.env.NODE_ENV !== "production" && (I.displayName = q2(d, m, l)), I;
6396
6397
  };
6397
- return $.withConfig && (v.withConfig = $.withConfig), v;
6398
+ return $.withConfig && (_.withConfig = $.withConfig), _;
6398
6399
  };
6399
6400
  }
6400
6401
  function q2(e, t, n) {
@@ -6678,100 +6679,100 @@ function ru(e, t = {}) {
6678
6679
  let h = y;
6679
6680
  const b = {}, {
6680
6681
  [c]: f,
6681
- ..._
6682
+ ...x
6682
6683
  } = a;
6683
- if (Object.entries(_ || {}).forEach(([C, v]) => {
6684
+ if (Object.entries(x || {}).forEach(([v, _]) => {
6684
6685
  const {
6685
- vars: x,
6686
+ vars: C,
6686
6687
  css: N,
6687
- varsWithDefaults: L
6688
- } = Or(v, t);
6689
- h = He(h, L), b[C] = {
6688
+ varsWithDefaults: O
6689
+ } = Or(_, t);
6690
+ h = He(h, O), b[v] = {
6690
6691
  css: N,
6691
- vars: x
6692
+ vars: C
6692
6693
  };
6693
6694
  }), f) {
6694
6695
  const {
6695
- css: C,
6696
- vars: v,
6697
- varsWithDefaults: x
6696
+ css: v,
6697
+ vars: _,
6698
+ varsWithDefaults: C
6698
6699
  } = Or(f, t);
6699
- h = He(h, x), b[c] = {
6700
- css: C,
6701
- vars: v
6700
+ h = He(h, C), b[c] = {
6701
+ css: v,
6702
+ vars: _
6702
6703
  };
6703
6704
  }
6704
- function w(C, v) {
6705
- var N, L;
6706
- let x = o;
6707
- if (o === "class" && (x = ".%s"), o === "data" && (x = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (x = `[${o}="%s"]`), C) {
6708
- if (x === "media")
6709
- return e.defaultColorScheme === C ? ":root" : {
6710
- [`@media (prefers-color-scheme: ${((L = (N = a[C]) == null ? void 0 : N.palette) == null ? void 0 : L.mode) || C})`]: {
6711
- ":root": v
6705
+ function w(v, _) {
6706
+ var N, O;
6707
+ let C = o;
6708
+ if (o === "class" && (C = ".%s"), o === "data" && (C = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (C = `[${o}="%s"]`), v) {
6709
+ if (C === "media")
6710
+ return e.defaultColorScheme === v ? ":root" : {
6711
+ [`@media (prefers-color-scheme: ${((O = (N = a[v]) == null ? void 0 : N.palette) == null ? void 0 : O.mode) || v})`]: {
6712
+ ":root": _
6712
6713
  }
6713
6714
  };
6714
- if (x)
6715
- return e.defaultColorScheme === C ? `:root, ${x.replace("%s", String(C))}` : x.replace("%s", String(C));
6715
+ if (C)
6716
+ return e.defaultColorScheme === v ? `:root, ${C.replace("%s", String(v))}` : C.replace("%s", String(v));
6716
6717
  }
6717
6718
  return ":root";
6718
6719
  }
6719
6720
  return {
6720
6721
  vars: h,
6721
6722
  generateThemeVars: () => {
6722
- let C = {
6723
+ let v = {
6723
6724
  ...m
6724
6725
  };
6725
6726
  return Object.entries(b).forEach(([, {
6726
- vars: v
6727
+ vars: _
6727
6728
  }]) => {
6728
- C = He(C, v);
6729
- }), C;
6729
+ v = He(v, _);
6730
+ }), v;
6730
6731
  },
6731
6732
  generateStyleSheets: () => {
6732
6733
  var E, P;
6733
- const C = [], v = e.defaultColorScheme || "light";
6734
- function x(I, p) {
6735
- Object.keys(p).length && C.push(typeof I == "string" ? {
6734
+ const v = [], _ = e.defaultColorScheme || "light";
6735
+ function C(I, p) {
6736
+ Object.keys(p).length && v.push(typeof I == "string" ? {
6736
6737
  [I]: {
6737
6738
  ...p
6738
6739
  }
6739
6740
  } : I);
6740
6741
  }
6741
- x(n(void 0, {
6742
+ C(n(void 0, {
6742
6743
  ...g
6743
6744
  }), g);
6744
6745
  const {
6745
- [v]: N,
6746
- ...L
6746
+ [_]: N,
6747
+ ...O
6747
6748
  } = b;
6748
6749
  if (N) {
6749
6750
  const {
6750
6751
  css: I
6751
- } = N, p = (P = (E = a[v]) == null ? void 0 : E.palette) == null ? void 0 : P.mode, O = !r && p ? {
6752
+ } = N, p = (P = (E = a[_]) == null ? void 0 : E.palette) == null ? void 0 : P.mode, A = !r && p ? {
6752
6753
  colorScheme: p,
6753
6754
  ...I
6754
6755
  } : {
6755
6756
  ...I
6756
6757
  };
6757
- x(n(v, {
6758
- ...O
6759
- }), O);
6758
+ C(n(_, {
6759
+ ...A
6760
+ }), A);
6760
6761
  }
6761
- return Object.entries(L).forEach(([I, {
6762
+ return Object.entries(O).forEach(([I, {
6762
6763
  css: p
6763
6764
  }]) => {
6764
6765
  var F, j;
6765
- const O = (j = (F = a[I]) == null ? void 0 : F.palette) == null ? void 0 : j.mode, T = !r && O ? {
6766
- colorScheme: O,
6766
+ const A = (j = (F = a[I]) == null ? void 0 : F.palette) == null ? void 0 : j.mode, T = !r && A ? {
6767
+ colorScheme: A,
6767
6768
  ...p
6768
6769
  } : {
6769
6770
  ...p
6770
6771
  };
6771
- x(n(I, {
6772
+ C(n(I, {
6772
6773
  ...T
6773
6774
  }), T);
6774
- }), s && C.push({
6775
+ }), s && v.push({
6775
6776
  ":root": {
6776
6777
  // use double underscore to indicate that these are private variables
6777
6778
  "--__l-threshold": "0.7",
@@ -6779,7 +6780,7 @@ function ru(e, t = {}) {
6779
6780
  "--__a": "clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"
6780
6781
  // 0.87 is the default alpha value for black text.
6781
6782
  }
6782
- }), C;
6783
+ }), v;
6783
6784
  }
6784
6785
  };
6785
6786
  }
@@ -7001,32 +7002,32 @@ function ao(e) {
7001
7002
  colorSpace: o,
7002
7003
  ...s
7003
7004
  } = e, a = e.primary || su(t), l = e.secondary || au(t), c = e.error || lu(t), d = e.info || cu(t), m = e.success || uu(t), g = e.warning || du(t);
7004
- function y(_) {
7005
+ function y(x) {
7005
7006
  if (o)
7006
- return fu(_);
7007
- const w = si(_, Zr.text.primary) >= n ? Zr.text.primary : _s.text.primary;
7007
+ return fu(x);
7008
+ const w = si(x, Zr.text.primary) >= n ? Zr.text.primary : _s.text.primary;
7008
7009
  if (process.env.NODE_ENV !== "production") {
7009
- const S = si(_, w);
7010
- S < 3 && console.error([`MUI: The contrast ratio of ${S}:1 for ${w} on ${_}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
7010
+ const S = si(x, w);
7011
+ S < 3 && console.error([`MUI: The contrast ratio of ${S}:1 for ${w} on ${x}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
7011
7012
  `));
7012
7013
  }
7013
7014
  return w;
7014
7015
  }
7015
7016
  const h = ({
7016
- color: _,
7017
+ color: x,
7017
7018
  name: w,
7018
7019
  mainShade: S = 500,
7019
7020
  lightShade: $ = 300,
7020
- darkShade: C = 700
7021
+ darkShade: v = 700
7021
7022
  }) => {
7022
- if (_ = {
7023
- ..._
7024
- }, !_.main && _[S] && (_.main = _[S]), !_.hasOwnProperty("main"))
7023
+ if (x = {
7024
+ ...x
7025
+ }, !x.main && x[S] && (x.main = x[S]), !x.hasOwnProperty("main"))
7025
7026
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${w ? ` (${w})` : ""} provided to augmentColor(color) is invalid.
7026
7027
  The color object needs to have a \`main\` property or a \`${S}\` property.` : Ot(11, w ? ` (${w})` : "", S));
7027
- if (typeof _.main != "string")
7028
+ if (typeof x.main != "string")
7028
7029
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${w ? ` (${w})` : ""} provided to augmentColor(color) is invalid.
7029
- \`color.main\` should be a string, but \`${JSON.stringify(_.main)}\` was provided instead.
7030
+ \`color.main\` should be a string, but \`${JSON.stringify(x.main)}\` was provided instead.
7030
7031
 
7031
7032
  Did you intend to use one of the following approaches?
7032
7033
 
@@ -7038,8 +7039,8 @@ const theme1 = createTheme({ palette: {
7038
7039
 
7039
7040
  const theme2 = createTheme({ palette: {
7040
7041
  primary: { main: green[500] },
7041
- } });` : Ot(12, w ? ` (${w})` : "", JSON.stringify(_.main)));
7042
- return o ? (ui(o, _, "light", $, r), ui(o, _, "dark", C, r)) : (ci(_, "light", $, r), ci(_, "dark", C, r)), _.contrastText || (_.contrastText = y(_.main)), _;
7042
+ } });` : Ot(12, w ? ` (${w})` : "", JSON.stringify(x.main)));
7043
+ return o ? (ui(o, x, "light", $, r), ui(o, x, "dark", v, r)) : (ci(x, "light", $, r), ci(x, "dark", v, r)), x.contrastText || (x.contrastText = y(x.main)), x;
7043
7044
  };
7044
7045
  let b;
7045
7046
  return t === "light" ? b = Cs() : t === "dark" && (b = xs()), process.env.NODE_ENV !== "production" && (b || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), He({
@@ -7148,9 +7149,9 @@ function gu(e, t) {
7148
7149
  ...g
7149
7150
  } = typeof t == "function" ? t(e) : t;
7150
7151
  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."));
7151
- const y = r / 14, h = m || ((_) => `${_ / c * y}rem`), b = (_, w, S, $, C) => ({
7152
+ const y = r / 14, h = m || ((x) => `${x / c * y}rem`), b = (x, w, S, $, v) => ({
7152
7153
  fontFamily: n,
7153
- fontWeight: _,
7154
+ fontWeight: x,
7154
7155
  fontSize: h(w),
7155
7156
  // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
7156
7157
  lineHeight: S,
@@ -7159,7 +7160,7 @@ function gu(e, t) {
7159
7160
  ...n === fi ? {
7160
7161
  letterSpacing: `${hu($ / w)}em`
7161
7162
  } : {},
7162
- ...C,
7163
+ ...v,
7163
7164
  ...d
7164
7165
  }), f = {
7165
7166
  h1: b(o, 96, 1.167, -1.5),
@@ -7361,27 +7362,27 @@ function Hr(e = {}, ...t) {
7361
7362
  }
7362
7363
  });
7363
7364
  if (h = He(h, m), h = t.reduce((b, f) => He(b, f), h), process.env.NODE_ENV !== "production") {
7364
- const b = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], f = (_, w) => {
7365
+ const b = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], f = (x, w) => {
7365
7366
  let S;
7366
- for (S in _) {
7367
- const $ = _[S];
7367
+ for (S in x) {
7368
+ const $ = x[S];
7368
7369
  if (b.includes(S) && Object.keys($).length > 0) {
7369
7370
  if (process.env.NODE_ENV !== "production") {
7370
- const C = io("", S);
7371
- console.error([`MUI: The \`${w}\` component increases the CSS specificity of the \`${S}\` internal state.`, "You can not override it like this: ", JSON.stringify(_, null, 2), "", `Instead, you need to use the '&.${C}' syntax:`, JSON.stringify({
7371
+ const v = io("", S);
7372
+ console.error([`MUI: The \`${w}\` component increases the CSS specificity of the \`${S}\` internal state.`, "You can not override it like this: ", JSON.stringify(x, null, 2), "", `Instead, you need to use the '&.${v}' syntax:`, JSON.stringify({
7372
7373
  root: {
7373
- [`&.${C}`]: $
7374
+ [`&.${v}`]: $
7374
7375
  }
7375
7376
  }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
7376
7377
  `));
7377
7378
  }
7378
- _[S] = {};
7379
+ x[S] = {};
7379
7380
  }
7380
7381
  }
7381
7382
  };
7382
- Object.keys(h.components).forEach((_) => {
7383
- const w = h.components[_].styleOverrides;
7384
- w && _.startsWith("Mui") && f(w, _);
7383
+ Object.keys(h.components).forEach((x) => {
7384
+ const w = h.components[x].styleOverrides;
7385
+ w && x.startsWith("Mui") && f(w, x);
7385
7386
  });
7386
7387
  }
7387
7388
  return h.unstable_sxConfig = {
@@ -7486,7 +7487,7 @@ function Du(e, t) {
7486
7487
  e[n] || (e[n] = {});
7487
7488
  });
7488
7489
  }
7489
- function A(e, t, n) {
7490
+ function L(e, t, n) {
7490
7491
  !e[t] && n && (e[t] = n);
7491
7492
  }
7492
7493
  function un(e) {
@@ -7558,7 +7559,7 @@ function Vu(e = {}, ...t) {
7558
7559
  } = e, g = Object.keys(n)[0], y = r || (n.light && g !== "light" ? "light" : g), h = Pu(s), {
7559
7560
  [y]: b,
7560
7561
  light: f,
7561
- dark: _,
7562
+ dark: x,
7562
7563
  ...w
7563
7564
  } = n, S = {
7564
7565
  ...w
@@ -7566,76 +7567,76 @@ function Vu(e = {}, ...t) {
7566
7567
  let $ = b;
7567
7568
  if ((y === "dark" && !("dark" in n) || y === "light" && !("light" in n)) && ($ = !0), !$)
7568
7569
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${y}\` option is either missing or invalid.` : Ot(21, y));
7569
- let C;
7570
- a && (C = "oklch");
7571
- const v = Ar(C, S, $, m, y);
7572
- f && !S.light && Ar(C, S, f, void 0, "light"), _ && !S.dark && Ar(C, S, _, void 0, "dark");
7573
- let x = {
7570
+ let v;
7571
+ a && (v = "oklch");
7572
+ const _ = Ar(v, S, $, m, y);
7573
+ f && !S.light && Ar(v, S, f, void 0, "light"), x && !S.dark && Ar(v, S, x, void 0, "dark");
7574
+ let C = {
7574
7575
  defaultColorScheme: y,
7575
- ...v,
7576
+ ..._,
7576
7577
  cssVarPrefix: s,
7577
7578
  colorSchemeSelector: c,
7578
7579
  rootSelector: d,
7579
7580
  getCssVar: h,
7580
7581
  colorSchemes: S,
7581
7582
  font: {
7582
- ...pu(v.typography),
7583
- ...v.font
7583
+ ...pu(_.typography),
7584
+ ..._.font
7584
7585
  },
7585
7586
  spacing: Iu(m.spacing)
7586
7587
  };
7587
- Object.keys(x.colorSchemes).forEach((I) => {
7588
- const p = x.colorSchemes[I].palette, O = (F) => {
7588
+ Object.keys(C.colorSchemes).forEach((I) => {
7589
+ const p = C.colorSchemes[I].palette, A = (F) => {
7589
7590
  const j = F.split("-"), Y = j[1], W = j[2];
7590
7591
  return h(F, p[Y][W]);
7591
7592
  };
7592
- p.mode === "light" && (A(p.common, "background", "#fff"), A(p.common, "onBackground", "#000")), p.mode === "dark" && (A(p.common, "background", "#000"), A(p.common, "onBackground", "#fff"));
7593
+ p.mode === "light" && (L(p.common, "background", "#fff"), L(p.common, "onBackground", "#000")), p.mode === "dark" && (L(p.common, "background", "#000"), L(p.common, "onBackground", "#fff"));
7593
7594
  function T(F, j, Y) {
7594
- if (C) {
7595
+ if (v) {
7595
7596
  let W;
7596
- return F === St && (W = `transparent ${((1 - Y) * 100).toFixed(0)}%`), F === me && (W = `#000 ${(Y * 100).toFixed(0)}%`), F === he && (W = `#fff ${(Y * 100).toFixed(0)}%`), `color-mix(in ${C}, ${j}, ${W})`;
7597
+ return F === St && (W = `transparent ${((1 - Y) * 100).toFixed(0)}%`), F === me && (W = `#000 ${(Y * 100).toFixed(0)}%`), F === he && (W = `#fff ${(Y * 100).toFixed(0)}%`), `color-mix(in ${v}, ${j}, ${W})`;
7597
7598
  }
7598
7599
  return F(j, Y);
7599
7600
  }
7600
7601
  if (Du(p, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), p.mode === "light") {
7601
- A(p.Alert, "errorColor", T(me, a ? h("palette-error-light") : p.error.light, 0.6)), A(p.Alert, "infoColor", T(me, a ? h("palette-info-light") : p.info.light, 0.6)), A(p.Alert, "successColor", T(me, a ? h("palette-success-light") : p.success.light, 0.6)), A(p.Alert, "warningColor", T(me, a ? h("palette-warning-light") : p.warning.light, 0.6)), A(p.Alert, "errorFilledBg", O("palette-error-main")), A(p.Alert, "infoFilledBg", O("palette-info-main")), A(p.Alert, "successFilledBg", O("palette-success-main")), A(p.Alert, "warningFilledBg", O("palette-warning-main")), A(p.Alert, "errorFilledColor", nt(() => p.getContrastText(p.error.main))), A(p.Alert, "infoFilledColor", nt(() => p.getContrastText(p.info.main))), A(p.Alert, "successFilledColor", nt(() => p.getContrastText(p.success.main))), A(p.Alert, "warningFilledColor", nt(() => p.getContrastText(p.warning.main))), A(p.Alert, "errorStandardBg", T(he, a ? h("palette-error-light") : p.error.light, 0.9)), A(p.Alert, "infoStandardBg", T(he, a ? h("palette-info-light") : p.info.light, 0.9)), A(p.Alert, "successStandardBg", T(he, a ? h("palette-success-light") : p.success.light, 0.9)), A(p.Alert, "warningStandardBg", T(he, a ? h("palette-warning-light") : p.warning.light, 0.9)), A(p.Alert, "errorIconColor", O("palette-error-main")), A(p.Alert, "infoIconColor", O("palette-info-main")), A(p.Alert, "successIconColor", O("palette-success-main")), A(p.Alert, "warningIconColor", O("palette-warning-main")), A(p.AppBar, "defaultBg", O("palette-grey-100")), A(p.Avatar, "defaultBg", O("palette-grey-400")), A(p.Button, "inheritContainedBg", O("palette-grey-300")), A(p.Button, "inheritContainedHoverBg", O("palette-grey-A100")), A(p.Chip, "defaultBorder", O("palette-grey-400")), A(p.Chip, "defaultAvatarColor", O("palette-grey-700")), A(p.Chip, "defaultIconColor", O("palette-grey-700")), A(p.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), A(p.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), A(p.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), A(p.LinearProgress, "primaryBg", T(he, a ? h("palette-primary-main") : p.primary.main, 0.62)), A(p.LinearProgress, "secondaryBg", T(he, a ? h("palette-secondary-main") : p.secondary.main, 0.62)), A(p.LinearProgress, "errorBg", T(he, a ? h("palette-error-main") : p.error.main, 0.62)), A(p.LinearProgress, "infoBg", T(he, a ? h("palette-info-main") : p.info.main, 0.62)), A(p.LinearProgress, "successBg", T(he, a ? h("palette-success-main") : p.success.main, 0.62)), A(p.LinearProgress, "warningBg", T(he, a ? h("palette-warning-light") : p.warning.main, 0.62)), A(p.Skeleton, "bg", C ? T(St, a ? h("palette-text-primary") : p.text.primary, 0.11) : `rgba(${O("palette-text-primaryChannel")} / 0.11)`), A(p.Slider, "primaryTrack", T(he, a ? h("palette-primary-main") : p.primary.main, 0.62)), A(p.Slider, "secondaryTrack", T(he, a ? h("palette-secondary-main") : p.secondary.main, 0.62)), A(p.Slider, "errorTrack", T(he, a ? h("palette-error-main") : p.error.main, 0.62)), A(p.Slider, "infoTrack", T(he, a ? h("palette-info-main") : p.info.main, 0.62)), A(p.Slider, "successTrack", T(he, a ? h("palette-success-main") : p.success.main, 0.62)), A(p.Slider, "warningTrack", T(he, a ? h("palette-warning-main") : p.warning.main, 0.62));
7602
- const F = C ? T(me, a ? h("palette-background-default") : p.background.default, 0.6825) : Dn(p.background.default, 0.8);
7603
- A(p.SnackbarContent, "bg", F), A(p.SnackbarContent, "color", nt(() => C ? Zr.text.primary : p.getContrastText(F))), A(p.SpeedDialAction, "fabHoverBg", Dn(p.background.paper, 0.15)), A(p.StepConnector, "border", O("palette-grey-400")), A(p.StepContent, "border", O("palette-grey-400")), A(p.Switch, "defaultColor", O("palette-common-white")), A(p.Switch, "defaultDisabledColor", O("palette-grey-100")), A(p.Switch, "primaryDisabledColor", T(he, a ? h("palette-primary-main") : p.primary.main, 0.62)), A(p.Switch, "secondaryDisabledColor", T(he, a ? h("palette-secondary-main") : p.secondary.main, 0.62)), A(p.Switch, "errorDisabledColor", T(he, a ? h("palette-error-main") : p.error.main, 0.62)), A(p.Switch, "infoDisabledColor", T(he, a ? h("palette-info-main") : p.info.main, 0.62)), A(p.Switch, "successDisabledColor", T(he, a ? h("palette-success-main") : p.success.main, 0.62)), A(p.Switch, "warningDisabledColor", T(he, a ? h("palette-warning-main") : p.warning.main, 0.62)), A(p.TableCell, "border", T(he, St(a ? h("palette-divider") : p.divider, 1), 0.88)), A(p.Tooltip, "bg", T(St, a ? h("palette-grey-700") : p.grey[700], 0.92));
7602
+ L(p.Alert, "errorColor", T(me, a ? h("palette-error-light") : p.error.light, 0.6)), L(p.Alert, "infoColor", T(me, a ? h("palette-info-light") : p.info.light, 0.6)), L(p.Alert, "successColor", T(me, a ? h("palette-success-light") : p.success.light, 0.6)), L(p.Alert, "warningColor", T(me, a ? h("palette-warning-light") : p.warning.light, 0.6)), L(p.Alert, "errorFilledBg", A("palette-error-main")), L(p.Alert, "infoFilledBg", A("palette-info-main")), L(p.Alert, "successFilledBg", A("palette-success-main")), L(p.Alert, "warningFilledBg", A("palette-warning-main")), L(p.Alert, "errorFilledColor", nt(() => p.getContrastText(p.error.main))), L(p.Alert, "infoFilledColor", nt(() => p.getContrastText(p.info.main))), L(p.Alert, "successFilledColor", nt(() => p.getContrastText(p.success.main))), L(p.Alert, "warningFilledColor", nt(() => p.getContrastText(p.warning.main))), L(p.Alert, "errorStandardBg", T(he, a ? h("palette-error-light") : p.error.light, 0.9)), L(p.Alert, "infoStandardBg", T(he, a ? h("palette-info-light") : p.info.light, 0.9)), L(p.Alert, "successStandardBg", T(he, a ? h("palette-success-light") : p.success.light, 0.9)), L(p.Alert, "warningStandardBg", T(he, a ? h("palette-warning-light") : p.warning.light, 0.9)), L(p.Alert, "errorIconColor", A("palette-error-main")), L(p.Alert, "infoIconColor", A("palette-info-main")), L(p.Alert, "successIconColor", A("palette-success-main")), L(p.Alert, "warningIconColor", A("palette-warning-main")), L(p.AppBar, "defaultBg", A("palette-grey-100")), L(p.Avatar, "defaultBg", A("palette-grey-400")), L(p.Button, "inheritContainedBg", A("palette-grey-300")), L(p.Button, "inheritContainedHoverBg", A("palette-grey-A100")), L(p.Chip, "defaultBorder", A("palette-grey-400")), L(p.Chip, "defaultAvatarColor", A("palette-grey-700")), L(p.Chip, "defaultIconColor", A("palette-grey-700")), L(p.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), L(p.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), L(p.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), L(p.LinearProgress, "primaryBg", T(he, a ? h("palette-primary-main") : p.primary.main, 0.62)), L(p.LinearProgress, "secondaryBg", T(he, a ? h("palette-secondary-main") : p.secondary.main, 0.62)), L(p.LinearProgress, "errorBg", T(he, a ? h("palette-error-main") : p.error.main, 0.62)), L(p.LinearProgress, "infoBg", T(he, a ? h("palette-info-main") : p.info.main, 0.62)), L(p.LinearProgress, "successBg", T(he, a ? h("palette-success-main") : p.success.main, 0.62)), L(p.LinearProgress, "warningBg", T(he, a ? h("palette-warning-light") : p.warning.main, 0.62)), L(p.Skeleton, "bg", v ? T(St, a ? h("palette-text-primary") : p.text.primary, 0.11) : `rgba(${A("palette-text-primaryChannel")} / 0.11)`), L(p.Slider, "primaryTrack", T(he, a ? h("palette-primary-main") : p.primary.main, 0.62)), L(p.Slider, "secondaryTrack", T(he, a ? h("palette-secondary-main") : p.secondary.main, 0.62)), L(p.Slider, "errorTrack", T(he, a ? h("palette-error-main") : p.error.main, 0.62)), L(p.Slider, "infoTrack", T(he, a ? h("palette-info-main") : p.info.main, 0.62)), L(p.Slider, "successTrack", T(he, a ? h("palette-success-main") : p.success.main, 0.62)), L(p.Slider, "warningTrack", T(he, a ? h("palette-warning-main") : p.warning.main, 0.62));
7603
+ const F = v ? T(me, a ? h("palette-background-default") : p.background.default, 0.6825) : Dn(p.background.default, 0.8);
7604
+ L(p.SnackbarContent, "bg", F), L(p.SnackbarContent, "color", nt(() => v ? Zr.text.primary : p.getContrastText(F))), L(p.SpeedDialAction, "fabHoverBg", Dn(p.background.paper, 0.15)), L(p.StepConnector, "border", A("palette-grey-400")), L(p.StepContent, "border", A("palette-grey-400")), L(p.Switch, "defaultColor", A("palette-common-white")), L(p.Switch, "defaultDisabledColor", A("palette-grey-100")), L(p.Switch, "primaryDisabledColor", T(he, a ? h("palette-primary-main") : p.primary.main, 0.62)), L(p.Switch, "secondaryDisabledColor", T(he, a ? h("palette-secondary-main") : p.secondary.main, 0.62)), L(p.Switch, "errorDisabledColor", T(he, a ? h("palette-error-main") : p.error.main, 0.62)), L(p.Switch, "infoDisabledColor", T(he, a ? h("palette-info-main") : p.info.main, 0.62)), L(p.Switch, "successDisabledColor", T(he, a ? h("palette-success-main") : p.success.main, 0.62)), L(p.Switch, "warningDisabledColor", T(he, a ? h("palette-warning-main") : p.warning.main, 0.62)), L(p.TableCell, "border", T(he, St(a ? h("palette-divider") : p.divider, 1), 0.88)), L(p.Tooltip, "bg", T(St, a ? h("palette-grey-700") : p.grey[700], 0.92));
7604
7605
  }
7605
7606
  if (p.mode === "dark") {
7606
- A(p.Alert, "errorColor", T(he, a ? h("palette-error-light") : p.error.light, 0.6)), A(p.Alert, "infoColor", T(he, a ? h("palette-info-light") : p.info.light, 0.6)), A(p.Alert, "successColor", T(he, a ? h("palette-success-light") : p.success.light, 0.6)), A(p.Alert, "warningColor", T(he, a ? h("palette-warning-light") : p.warning.light, 0.6)), A(p.Alert, "errorFilledBg", O("palette-error-dark")), A(p.Alert, "infoFilledBg", O("palette-info-dark")), A(p.Alert, "successFilledBg", O("palette-success-dark")), A(p.Alert, "warningFilledBg", O("palette-warning-dark")), A(p.Alert, "errorFilledColor", nt(() => p.getContrastText(p.error.dark))), A(p.Alert, "infoFilledColor", nt(() => p.getContrastText(p.info.dark))), A(p.Alert, "successFilledColor", nt(() => p.getContrastText(p.success.dark))), A(p.Alert, "warningFilledColor", nt(() => p.getContrastText(p.warning.dark))), A(p.Alert, "errorStandardBg", T(me, a ? h("palette-error-light") : p.error.light, 0.9)), A(p.Alert, "infoStandardBg", T(me, a ? h("palette-info-light") : p.info.light, 0.9)), A(p.Alert, "successStandardBg", T(me, a ? h("palette-success-light") : p.success.light, 0.9)), A(p.Alert, "warningStandardBg", T(me, a ? h("palette-warning-light") : p.warning.light, 0.9)), A(p.Alert, "errorIconColor", O("palette-error-main")), A(p.Alert, "infoIconColor", O("palette-info-main")), A(p.Alert, "successIconColor", O("palette-success-main")), A(p.Alert, "warningIconColor", O("palette-warning-main")), A(p.AppBar, "defaultBg", O("palette-grey-900")), A(p.AppBar, "darkBg", O("palette-background-paper")), A(p.AppBar, "darkColor", O("palette-text-primary")), A(p.Avatar, "defaultBg", O("palette-grey-600")), A(p.Button, "inheritContainedBg", O("palette-grey-800")), A(p.Button, "inheritContainedHoverBg", O("palette-grey-700")), A(p.Chip, "defaultBorder", O("palette-grey-700")), A(p.Chip, "defaultAvatarColor", O("palette-grey-300")), A(p.Chip, "defaultIconColor", O("palette-grey-300")), A(p.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), A(p.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), A(p.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), A(p.LinearProgress, "primaryBg", T(me, a ? h("palette-primary-main") : p.primary.main, 0.5)), A(p.LinearProgress, "secondaryBg", T(me, a ? h("palette-secondary-main") : p.secondary.main, 0.5)), A(p.LinearProgress, "errorBg", T(me, a ? h("palette-error-main") : p.error.main, 0.5)), A(p.LinearProgress, "infoBg", T(me, a ? h("palette-info-main") : p.info.main, 0.5)), A(p.LinearProgress, "successBg", T(me, a ? h("palette-success-main") : p.success.main, 0.5)), A(p.LinearProgress, "warningBg", T(me, a ? h("palette-warning-main") : p.warning.main, 0.5)), A(p.Skeleton, "bg", C ? T(St, a ? h("palette-text-primary") : p.text.primary, 0.13) : `rgba(${O("palette-text-primaryChannel")} / 0.13)`), A(p.Slider, "primaryTrack", T(me, a ? h("palette-primary-main") : p.primary.main, 0.5)), A(p.Slider, "secondaryTrack", T(me, a ? h("palette-secondary-main") : p.secondary.main, 0.5)), A(p.Slider, "errorTrack", T(me, a ? h("palette-error-main") : p.error.main, 0.5)), A(p.Slider, "infoTrack", T(me, a ? h("palette-info-main") : p.info.main, 0.5)), A(p.Slider, "successTrack", T(me, a ? h("palette-success-main") : p.success.main, 0.5)), A(p.Slider, "warningTrack", T(me, a ? h("palette-warning-light") : p.warning.main, 0.5));
7607
- const F = C ? T(he, a ? h("palette-background-default") : p.background.default, 0.985) : Dn(p.background.default, 0.98);
7608
- A(p.SnackbarContent, "bg", F), A(p.SnackbarContent, "color", nt(() => C ? _s.text.primary : p.getContrastText(F))), A(p.SpeedDialAction, "fabHoverBg", Dn(p.background.paper, 0.15)), A(p.StepConnector, "border", O("palette-grey-600")), A(p.StepContent, "border", O("palette-grey-600")), A(p.Switch, "defaultColor", O("palette-grey-300")), A(p.Switch, "defaultDisabledColor", O("palette-grey-600")), A(p.Switch, "primaryDisabledColor", T(me, a ? h("palette-primary-main") : p.primary.main, 0.55)), A(p.Switch, "secondaryDisabledColor", T(me, a ? h("palette-secondary-main") : p.secondary.main, 0.55)), A(p.Switch, "errorDisabledColor", T(me, a ? h("palette-error-main") : p.error.main, 0.55)), A(p.Switch, "infoDisabledColor", T(me, a ? h("palette-info-main") : p.info.main, 0.55)), A(p.Switch, "successDisabledColor", T(me, a ? h("palette-success-main") : p.success.main, 0.55)), A(p.Switch, "warningDisabledColor", T(me, a ? h("palette-warning-light") : p.warning.main, 0.55)), A(p.TableCell, "border", T(me, St(a ? h("palette-divider") : p.divider, 1), 0.68)), A(p.Tooltip, "bg", T(St, a ? h("palette-grey-700") : p.grey[700], 0.92));
7607
+ L(p.Alert, "errorColor", T(he, a ? h("palette-error-light") : p.error.light, 0.6)), L(p.Alert, "infoColor", T(he, a ? h("palette-info-light") : p.info.light, 0.6)), L(p.Alert, "successColor", T(he, a ? h("palette-success-light") : p.success.light, 0.6)), L(p.Alert, "warningColor", T(he, a ? h("palette-warning-light") : p.warning.light, 0.6)), L(p.Alert, "errorFilledBg", A("palette-error-dark")), L(p.Alert, "infoFilledBg", A("palette-info-dark")), L(p.Alert, "successFilledBg", A("palette-success-dark")), L(p.Alert, "warningFilledBg", A("palette-warning-dark")), L(p.Alert, "errorFilledColor", nt(() => p.getContrastText(p.error.dark))), L(p.Alert, "infoFilledColor", nt(() => p.getContrastText(p.info.dark))), L(p.Alert, "successFilledColor", nt(() => p.getContrastText(p.success.dark))), L(p.Alert, "warningFilledColor", nt(() => p.getContrastText(p.warning.dark))), L(p.Alert, "errorStandardBg", T(me, a ? h("palette-error-light") : p.error.light, 0.9)), L(p.Alert, "infoStandardBg", T(me, a ? h("palette-info-light") : p.info.light, 0.9)), L(p.Alert, "successStandardBg", T(me, a ? h("palette-success-light") : p.success.light, 0.9)), L(p.Alert, "warningStandardBg", T(me, a ? h("palette-warning-light") : p.warning.light, 0.9)), L(p.Alert, "errorIconColor", A("palette-error-main")), L(p.Alert, "infoIconColor", A("palette-info-main")), L(p.Alert, "successIconColor", A("palette-success-main")), L(p.Alert, "warningIconColor", A("palette-warning-main")), L(p.AppBar, "defaultBg", A("palette-grey-900")), L(p.AppBar, "darkBg", A("palette-background-paper")), L(p.AppBar, "darkColor", A("palette-text-primary")), L(p.Avatar, "defaultBg", A("palette-grey-600")), L(p.Button, "inheritContainedBg", A("palette-grey-800")), L(p.Button, "inheritContainedHoverBg", A("palette-grey-700")), L(p.Chip, "defaultBorder", A("palette-grey-700")), L(p.Chip, "defaultAvatarColor", A("palette-grey-300")), L(p.Chip, "defaultIconColor", A("palette-grey-300")), L(p.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), L(p.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), L(p.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), L(p.LinearProgress, "primaryBg", T(me, a ? h("palette-primary-main") : p.primary.main, 0.5)), L(p.LinearProgress, "secondaryBg", T(me, a ? h("palette-secondary-main") : p.secondary.main, 0.5)), L(p.LinearProgress, "errorBg", T(me, a ? h("palette-error-main") : p.error.main, 0.5)), L(p.LinearProgress, "infoBg", T(me, a ? h("palette-info-main") : p.info.main, 0.5)), L(p.LinearProgress, "successBg", T(me, a ? h("palette-success-main") : p.success.main, 0.5)), L(p.LinearProgress, "warningBg", T(me, a ? h("palette-warning-main") : p.warning.main, 0.5)), L(p.Skeleton, "bg", v ? T(St, a ? h("palette-text-primary") : p.text.primary, 0.13) : `rgba(${A("palette-text-primaryChannel")} / 0.13)`), L(p.Slider, "primaryTrack", T(me, a ? h("palette-primary-main") : p.primary.main, 0.5)), L(p.Slider, "secondaryTrack", T(me, a ? h("palette-secondary-main") : p.secondary.main, 0.5)), L(p.Slider, "errorTrack", T(me, a ? h("palette-error-main") : p.error.main, 0.5)), L(p.Slider, "infoTrack", T(me, a ? h("palette-info-main") : p.info.main, 0.5)), L(p.Slider, "successTrack", T(me, a ? h("palette-success-main") : p.success.main, 0.5)), L(p.Slider, "warningTrack", T(me, a ? h("palette-warning-light") : p.warning.main, 0.5));
7608
+ const F = v ? T(he, a ? h("palette-background-default") : p.background.default, 0.985) : Dn(p.background.default, 0.98);
7609
+ L(p.SnackbarContent, "bg", F), L(p.SnackbarContent, "color", nt(() => v ? _s.text.primary : p.getContrastText(F))), L(p.SpeedDialAction, "fabHoverBg", Dn(p.background.paper, 0.15)), L(p.StepConnector, "border", A("palette-grey-600")), L(p.StepContent, "border", A("palette-grey-600")), L(p.Switch, "defaultColor", A("palette-grey-300")), L(p.Switch, "defaultDisabledColor", A("palette-grey-600")), L(p.Switch, "primaryDisabledColor", T(me, a ? h("palette-primary-main") : p.primary.main, 0.55)), L(p.Switch, "secondaryDisabledColor", T(me, a ? h("palette-secondary-main") : p.secondary.main, 0.55)), L(p.Switch, "errorDisabledColor", T(me, a ? h("palette-error-main") : p.error.main, 0.55)), L(p.Switch, "infoDisabledColor", T(me, a ? h("palette-info-main") : p.info.main, 0.55)), L(p.Switch, "successDisabledColor", T(me, a ? h("palette-success-main") : p.success.main, 0.55)), L(p.Switch, "warningDisabledColor", T(me, a ? h("palette-warning-light") : p.warning.main, 0.55)), L(p.TableCell, "border", T(me, St(a ? h("palette-divider") : p.divider, 1), 0.68)), L(p.Tooltip, "bg", T(St, a ? h("palette-grey-700") : p.grey[700], 0.92));
7609
7610
  }
7610
7611
  a || (it(p.background, "default"), it(p.background, "paper"), it(p.common, "background"), it(p.common, "onBackground"), it(p, "divider")), Object.keys(p).forEach((F) => {
7611
7612
  const j = p[F];
7612
- F !== "tonalOffset" && !a && j && typeof j == "object" && (j.main && A(p[F], "mainChannel", cn(un(j.main))), j.light && A(p[F], "lightChannel", cn(un(j.light))), j.dark && A(p[F], "darkChannel", cn(un(j.dark))), j.contrastText && A(p[F], "contrastTextChannel", cn(un(j.contrastText))), F === "text" && (it(p[F], "primary"), it(p[F], "secondary")), F === "action" && (j.active && it(p[F], "active"), j.selected && it(p[F], "selected")));
7613
+ F !== "tonalOffset" && !a && j && typeof j == "object" && (j.main && L(p[F], "mainChannel", cn(un(j.main))), j.light && L(p[F], "lightChannel", cn(un(j.light))), j.dark && L(p[F], "darkChannel", cn(un(j.dark))), j.contrastText && L(p[F], "contrastTextChannel", cn(un(j.contrastText))), F === "text" && (it(p[F], "primary"), it(p[F], "secondary")), F === "action" && (j.active && it(p[F], "active"), j.selected && it(p[F], "selected")));
7613
7614
  });
7614
- }), x = t.reduce((I, p) => He(I, p), x);
7615
+ }), C = t.reduce((I, p) => He(I, p), C);
7615
7616
  const N = {
7616
7617
  prefix: s,
7617
7618
  disableCssColorScheme: o,
7618
7619
  shouldSkipGeneratingVar: l,
7619
- getSelector: Ru(x),
7620
+ getSelector: Ru(C),
7620
7621
  enableContrastVars: a
7621
7622
  }, {
7622
- vars: L,
7623
+ vars: O,
7623
7624
  generateThemeVars: E,
7624
7625
  generateStyleSheets: P
7625
- } = ru(x, N);
7626
- return x.vars = L, Object.entries(x.colorSchemes[x.defaultColorScheme]).forEach(([I, p]) => {
7627
- x[I] = p;
7628
- }), x.generateThemeVars = E, x.generateStyleSheets = P, x.generateSpacing = function() {
7626
+ } = ru(C, N);
7627
+ return C.vars = O, Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([I, p]) => {
7628
+ C[I] = p;
7629
+ }), C.generateThemeVars = E, C.generateStyleSheets = P, C.generateSpacing = function() {
7629
7630
  return fs(m.spacing, ro(this));
7630
- }, x.getColorSchemeSelector = ou(c), x.spacing = x.generateSpacing(), x.shouldSkipGeneratingVar = l, x.unstable_sxConfig = {
7631
+ }, C.getColorSchemeSelector = ou(c), C.spacing = C.generateSpacing(), C.shouldSkipGeneratingVar = l, C.unstable_sxConfig = {
7631
7632
  ...lr,
7632
7633
  ...m == null ? void 0 : m.unstable_sxConfig
7633
- }, x.unstable_sx = function(p) {
7634
+ }, C.unstable_sx = function(p) {
7634
7635
  return Yt({
7635
7636
  sx: p,
7636
7637
  theme: this
7637
7638
  });
7638
- }, x.toRuntimeSource = ws, x;
7639
+ }, C.toRuntimeSource = ws, C;
7639
7640
  }
7640
7641
  function hi(e, t, n) {
7641
7642
  e.colorSchemes && n && (e.colorSchemes[t] = {
@@ -8292,20 +8293,20 @@ const Ju = Dt("span", {
8292
8293
  className: h,
8293
8294
  disableSwap: b = !1,
8294
8295
  disabled: f = !1,
8295
- getAriaLabel: _,
8296
+ getAriaLabel: x,
8296
8297
  getAriaValueText: w,
8297
8298
  marks: S = !1,
8298
8299
  max: $ = 100,
8299
- min: C = 0,
8300
- name: v,
8301
- onChange: x,
8300
+ min: v = 0,
8301
+ name: _,
8302
+ onChange: C,
8302
8303
  onChangeCommitted: N,
8303
- orientation: L = "horizontal",
8304
+ orientation: O = "horizontal",
8304
8305
  shiftStep: E = 10,
8305
8306
  size: P = "medium",
8306
8307
  step: I = 1,
8307
8308
  scale: p = gi,
8308
- slotProps: O,
8309
+ slotProps: A,
8309
8310
  slots: T,
8310
8311
  tabIndex: F,
8311
8312
  track: j = "normal",
@@ -8317,11 +8318,11 @@ const Ju = Dt("span", {
8317
8318
  ...r,
8318
8319
  isRtl: o,
8319
8320
  max: $,
8320
- min: C,
8321
+ min: v,
8321
8322
  classes: y,
8322
8323
  disabled: f,
8323
8324
  disableSwap: b,
8324
- orientation: L,
8325
+ orientation: O,
8325
8326
  marks: S,
8326
8327
  color: g,
8327
8328
  size: P,
@@ -8332,7 +8333,7 @@ const Ju = Dt("span", {
8332
8333
  valueLabelDisplay: W,
8333
8334
  valueLabelFormat: ue
8334
8335
  }, {
8335
- axisProps: ee,
8336
+ axisProps: J,
8336
8337
  getRootProps: K,
8337
8338
  getHiddenInputProps: B,
8338
8339
  getThumbProps: Z,
@@ -8352,7 +8353,7 @@ const Ju = Dt("span", {
8352
8353
  rootRef: n
8353
8354
  });
8354
8355
  M.marked = V.length > 0 && V.some((Ee) => Ee.label), M.dragging = de, M.focusedThumbIndex = oe;
8355
- const re = t1(M), Se = (T == null ? void 0 : T.root) ?? d.Root ?? Gu, Ce = (T == null ? void 0 : T.rail) ?? d.Rail ?? Yu, Me = (T == null ? void 0 : T.track) ?? d.Track ?? Xu, qe = (T == null ? void 0 : T.thumb) ?? d.Thumb ?? Qu, Je = (T == null ? void 0 : T.valueLabel) ?? d.ValueLabel ?? $s, _e = (T == null ? void 0 : T.mark) ?? d.Mark ?? Ju, We = (T == null ? void 0 : T.markLabel) ?? d.MarkLabel ?? e1, R = (T == null ? void 0 : T.input) ?? d.Input ?? "input", z = (O == null ? void 0 : O.root) ?? m.root, H = (O == null ? void 0 : O.rail) ?? m.rail, ae = (O == null ? void 0 : O.track) ?? m.track, be = (O == null ? void 0 : O.thumb) ?? m.thumb, X = (O == null ? void 0 : O.valueLabel) ?? m.valueLabel, Re = (O == null ? void 0 : O.mark) ?? m.mark, Ve = (O == null ? void 0 : O.markLabel) ?? m.markLabel, Ae = (O == null ? void 0 : O.input) ?? m.input, Ke = mt({
8356
+ const re = t1(M), Se = (T == null ? void 0 : T.root) ?? d.Root ?? Gu, Ce = (T == null ? void 0 : T.rail) ?? d.Rail ?? Yu, Me = (T == null ? void 0 : T.track) ?? d.Track ?? Xu, qe = (T == null ? void 0 : T.thumb) ?? d.Thumb ?? Qu, Je = (T == null ? void 0 : T.valueLabel) ?? d.ValueLabel ?? $s, _e = (T == null ? void 0 : T.mark) ?? d.Mark ?? Ju, We = (T == null ? void 0 : T.markLabel) ?? d.MarkLabel ?? e1, R = (T == null ? void 0 : T.input) ?? d.Input ?? "input", z = (A == null ? void 0 : A.root) ?? m.root, H = (A == null ? void 0 : A.rail) ?? m.rail, ae = (A == null ? void 0 : A.track) ?? m.track, be = (A == null ? void 0 : A.thumb) ?? m.thumb, X = (A == null ? void 0 : A.valueLabel) ?? m.valueLabel, Re = (A == null ? void 0 : A.mark) ?? m.mark, Ve = (A == null ? void 0 : A.markLabel) ?? m.markLabel, Ae = (A == null ? void 0 : A.input) ?? m.input, Ke = mt({
8356
8357
  elementType: Se,
8357
8358
  getSlotProps: K,
8358
8359
  externalSlotProps: z,
@@ -8377,8 +8378,8 @@ const Ju = Dt("span", {
8377
8378
  externalSlotProps: ae,
8378
8379
  additionalProps: {
8379
8380
  style: {
8380
- ...ee[U].offset(Ie),
8381
- ...ee[U].leap(tt)
8381
+ ...J[U].offset(Ie),
8382
+ ...J[U].leap(tt)
8382
8383
  }
8383
8384
  },
8384
8385
  ownerState: {
@@ -8425,8 +8426,8 @@ const Ju = Dt("span", {
8425
8426
  ...en
8426
8427
  }), /* @__PURE__ */ u(Me, {
8427
8428
  ...Fs
8428
- }), V.filter((Ee) => Ee.value >= C && Ee.value <= $).map((Ee, De) => {
8429
- const hr = Hn(Ee.value, C, $), xn = ee[U].offset(hr);
8429
+ }), V.filter((Ee) => Ee.value >= v && Ee.value <= $).map((Ee, De) => {
8430
+ const hr = Hn(Ee.value, v, $), xn = J[U].offset(hr);
8430
8431
  let ot;
8431
8432
  return j === !1 ? ot = se.includes(Ee.value) : ot = j === "normal" && (te ? Ee.value >= se[0] && Ee.value <= se[se.length - 1] : Ee.value <= se[0]) || j === "inverted" && (te ? Ee.value <= se[0] || Ee.value >= se[se.length - 1] : Ee.value >= se[0]), /* @__PURE__ */ k(Q.Fragment, {
8432
8433
  children: [/* @__PURE__ */ u(_e, {
@@ -8456,7 +8457,7 @@ const Ju = Dt("span", {
8456
8457
  }) : null]
8457
8458
  }, De);
8458
8459
  }), se.map((Ee, De) => {
8459
- const hr = Hn(Ee, C, $), xn = ee[U].offset(hr), ot = W === "off" ? n1 : Je;
8460
+ const hr = Hn(Ee, v, $), xn = J[U].offset(hr), ot = W === "off" ? n1 : Je;
8460
8461
  return (
8461
8462
  /* TODO v6: Change component structure. It will help in avoiding the complicated React.cloneElement API added in SliderValueLabel component. Should be: Thumb -> Input, ValueLabel. Follow Joy UI's Slider structure. */
8462
8463
  /* @__PURE__ */ u(ot, {
@@ -8480,7 +8481,7 @@ const Ju = Dt("span", {
8480
8481
  },
8481
8482
  children: /* @__PURE__ */ u(R, {
8482
8483
  "data-index": De,
8483
- "aria-label": _ ? _(De) : s,
8484
+ "aria-label": x ? x(De) : s,
8484
8485
  "aria-valuenow": p(Ee),
8485
8486
  "aria-labelledby": l,
8486
8487
  "aria-valuetext": w ? w(p(Ee), De) : a,
@@ -8777,48 +8778,48 @@ const r1 = "_slider_1prh1_2", o1 = "_playButton_1prh1_14", i1 = "_sliderOpen_1pr
8777
8778
  console.log("year changed to ", d);
8778
8779
  }
8779
8780
  }) => {
8780
- const m = o || ((C, v) => {
8781
- const x = [];
8782
- x.push({ label: "", value: C });
8783
- const N = Math.ceil(C / 10) * 10;
8784
- for (let L = N; L < v; L += 10)
8785
- x.push({ label: "", value: L });
8786
- return x[x.length - 1].value !== v && x.push({ label: "", value: v }), x;
8781
+ const m = o || ((v, _) => {
8782
+ const C = [];
8783
+ C.push({ label: "", value: v });
8784
+ const N = Math.ceil(v / 10) * 10;
8785
+ for (let O = N; O < _; O += 10)
8786
+ C.push({ label: "", value: O });
8787
+ return C[C.length - 1].value !== _ && C.push({ label: "", value: _ }), C;
8787
8788
  })(n, r), [g, y] = le(t);
8788
- J(() => {
8789
+ ee(() => {
8789
8790
  y(t);
8790
8791
  }, [t]);
8791
- const h = (C, v) => {
8792
- y(v), c(v);
8792
+ const h = (v, _) => {
8793
+ y(_), c(_);
8793
8794
  }, [b, f] = le(!1);
8794
- J(() => {
8795
+ ee(() => {
8795
8796
  t && console.log("defaultYear changed:", t), t && y(t);
8796
- }, [t]), J(() => {
8797
+ }, [t]), ee(() => {
8797
8798
  l === !1 && f(!1);
8798
8799
  }, [l]);
8799
- const _ = () => {
8800
+ const x = () => {
8800
8801
  f(!0);
8801
8802
  }, w = () => {
8802
8803
  f(!1);
8803
8804
  };
8804
- ((C, v, x = []) => {
8805
+ ((v, _, C = []) => {
8805
8806
  const N = ke();
8806
- J(() => {
8807
- N.current = C;
8808
- }, [C]), J(() => {
8809
- function L() {
8807
+ ee(() => {
8808
+ N.current = v;
8809
+ }, [v]), ee(() => {
8810
+ function O() {
8810
8811
  N.current();
8811
8812
  }
8812
8813
  {
8813
- let E = setInterval(L, v);
8814
+ let E = setInterval(O, _);
8814
8815
  return () => clearInterval(E);
8815
8816
  }
8816
- }, [v, ...x]);
8817
+ }, [_, ...C]);
8817
8818
  })(
8818
8819
  () => {
8819
- b && y((C) => {
8820
- const v = C + 1;
8821
- return v > r ? (c(n), n) : (c(v), v);
8820
+ b && y((v) => {
8821
+ const _ = v + 1;
8822
+ return _ > r ? (c(n), n) : (c(_), _);
8822
8823
  });
8823
8824
  },
8824
8825
  1e3,
@@ -8871,7 +8872,7 @@ const r1 = "_slider_1prh1_2", o1 = "_playButton_1prh1_14", i1 = "_sliderOpen_1pr
8871
8872
  }
8872
8873
  ),
8873
8874
  r,
8874
- !b && /* @__PURE__ */ u("button", { className: rn.playButton, onClick: _, children: /* @__PURE__ */ u("img", { src: c0, alt: "Play" }) }),
8875
+ !b && /* @__PURE__ */ u("button", { className: rn.playButton, onClick: x, children: /* @__PURE__ */ u("img", { src: c0, alt: "Play" }) }),
8875
8876
  b && /* @__PURE__ */ u("button", { className: rn.playButton, onClick: w, children: /* @__PURE__ */ u("img", { src: u0, alt: "Pause" }) })
8876
8877
  ]
8877
8878
  }
@@ -9024,14 +9025,14 @@ const F1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
9024
9025
  defaultTooltip: d,
9025
9026
  showEye: m = !0
9026
9027
  }) => {
9027
- const { name: g, created_at: y, id: h, isBeingProcessed: b } = e, [f, _] = le(!1), { t: w } = ce(), S = l && l.edit && !e.is_default && !e.is_baseline, $ = l && l.trash && !e.is_default && !e.is_baseline;
9028
+ const { name: g, created_at: y, id: h, isBeingProcessed: b } = e, [f, x] = le(!1), { t: w } = ce(), S = l && l.edit && !e.is_default && !e.is_baseline, $ = l && l.trash && !e.is_default && !e.is_baseline;
9028
9029
  return /* @__PURE__ */ k(
9029
9030
  "div",
9030
9031
  {
9031
9032
  className: Ge.listElement,
9032
9033
  style: { borderBottom: `1px solid ${o}` },
9033
9034
  children: [
9034
- /* @__PURE__ */ u("div", { className: Ge.elementNameDate, onClick: () => t(h), children: Object.keys(a).map((C, v) => C === "name" ? /* @__PURE__ */ u("div", { className: Ge.elementNameContainer, children: /* @__PURE__ */ k(
9035
+ /* @__PURE__ */ u("div", { className: Ge.elementNameDate, onClick: () => t(h), children: Object.keys(a).map((v, _) => v === "name" ? /* @__PURE__ */ u("div", { className: Ge.elementNameContainer, children: /* @__PURE__ */ k(
9035
9036
  "div",
9036
9037
  {
9037
9038
  className: `${Ge.elementName} ${m && Ge.nameAndEye}`,
@@ -9052,7 +9053,7 @@ const F1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
9052
9053
  /* @__PURE__ */ u("span", { style: { color: n ? r : o }, children: g })
9053
9054
  ]
9054
9055
  }
9055
- ) }, `col${v}`) : C == "data" ? /* @__PURE__ */ u("div", { className: Ge.elementDate, children: y ? new Date(y).toLocaleDateString() : "" }, `col${v}data`) : /* @__PURE__ */ u("div", { className: Ge.elementDate, children: e[C] }, `col${v}other`)) }),
9056
+ ) }, `col${_}`) : v == "data" ? /* @__PURE__ */ u("div", { className: Ge.elementDate, children: y ? new Date(y).toLocaleDateString() : "" }, `col${_}data`) : /* @__PURE__ */ u("div", { className: Ge.elementDate, children: e[v] }, `col${_}other`)) }),
9056
9057
  /* @__PURE__ */ k("div", { className: Ge.elementButtons, children: [
9057
9058
  e.processing && /* @__PURE__ */ k("div", { className: "tooltip-parent", children: [
9058
9059
  /* @__PURE__ */ u("img", { src: D1 }),
@@ -9136,7 +9137,7 @@ const F1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
9136
9137
  "div",
9137
9138
  {
9138
9139
  className: Ge.moreInfo,
9139
- onClick: () => _(!f),
9140
+ onClick: () => x(!f),
9140
9141
  children: [
9141
9142
  /* @__PURE__ */ u("span", { children: f ? "-" : "+" }),
9142
9143
  w(s.label)
@@ -9207,25 +9208,25 @@ const bi = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
9207
9208
  //texto para el tooltip del símbolo de candado para los elementos default
9208
9209
  showEye: h = !0
9209
9210
  }) => {
9210
- const { t: b } = ce(), [f, _] = le(e);
9211
- J(() => {
9212
- e && _(e);
9211
+ const { t: b } = ce(), [f, x] = le(e);
9212
+ ee(() => {
9213
+ e && x(e);
9213
9214
  }, [e]);
9214
- const w = (C) => {
9215
- if (typeof C != "string") return null;
9216
- if (/^\d{4}[-/]\d{2}[-/]\d{2}$/.test(C))
9217
- return new Date(C);
9218
- const v = /^(\d{2})[-/.]\s*(\d{2})[-/.]\s*(\d{4})$/.exec(C);
9219
- if (v)
9220
- return /* @__PURE__ */ new Date(`${v[3]}-${v[2]}-${v[1]}`);
9221
- const x = /^(\d{2})[-/]\s*(\d{2})[-/]\s*(\d{4})$/.exec(C);
9222
- return x ? parseInt(x[1]) > 12 ? /* @__PURE__ */ new Date(`${x[3]}-${x[2]}-${x[1]}`) : /* @__PURE__ */ new Date(`${x[3]}-${x[1]}-${x[2]}`) : null;
9223
- }, S = (C) => w(C) !== null, $ = (C) => {
9215
+ const w = (v) => {
9216
+ if (typeof v != "string") return null;
9217
+ if (/^\d{4}[-/]\d{2}[-/]\d{2}$/.test(v))
9218
+ return new Date(v);
9219
+ const _ = /^(\d{2})[-/.]\s*(\d{2})[-/.]\s*(\d{4})$/.exec(v);
9220
+ if (_)
9221
+ return /* @__PURE__ */ new Date(`${_[3]}-${_[2]}-${_[1]}`);
9222
+ const C = /^(\d{2})[-/]\s*(\d{2})[-/]\s*(\d{4})$/.exec(v);
9223
+ return C ? parseInt(C[1]) > 12 ? /* @__PURE__ */ new Date(`${C[3]}-${C[2]}-${C[1]}`) : /* @__PURE__ */ new Date(`${C[3]}-${C[1]}-${C[2]}`) : null;
9224
+ }, S = (v) => w(v) !== null, $ = (v) => {
9224
9225
  if (!f || f.length === 0) return;
9225
- let v = [...f];
9226
- const x = v.find((L) => L[C] !== null && L[C] !== void 0), N = x ? S(x[C]) : !1;
9227
- v.sort((L, E) => {
9228
- const P = L[C], I = E[C];
9226
+ let _ = [...f];
9227
+ const C = _.find((O) => O[v] !== null && O[v] !== void 0), N = C ? S(C[v]) : !1;
9228
+ _.sort((O, E) => {
9229
+ const P = O[v], I = E[v];
9229
9230
  if (P == null && I == null) return 0;
9230
9231
  if (P == null) return 1;
9231
9232
  if (I == null) return -1;
@@ -9233,9 +9234,9 @@ const bi = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
9233
9234
  const T = w(P), F = w(I);
9234
9235
  return !T && !F ? 0 : T ? F ? T - F : -1 : 1;
9235
9236
  }
9236
- const p = String(P || "").trim(), O = String(I || "").trim();
9237
- return p.localeCompare(O);
9238
- }), _(v);
9237
+ const p = String(P || "").trim(), A = String(I || "").trim();
9238
+ return p.localeCompare(A);
9239
+ }), x(_);
9239
9240
  };
9240
9241
  return /* @__PURE__ */ k(
9241
9242
  "div",
@@ -9249,22 +9250,22 @@ const bi = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
9249
9250
  className: st.header,
9250
9251
  style: { borderBottom: `1px solid ${n}` },
9251
9252
  children: [
9252
- /* @__PURE__ */ u("div", { className: st.nameDateContainer, children: Object.keys(c).map((C) => C === "name" ? /* @__PURE__ */ u("div", { className: st.elementName, children: /* @__PURE__ */ k("button", { onClick: () => $("name"), children: [
9253
+ /* @__PURE__ */ u("div", { className: st.nameDateContainer, children: Object.keys(c).map((v) => v === "name" ? /* @__PURE__ */ u("div", { className: st.elementName, children: /* @__PURE__ */ k("button", { onClick: () => $("name"), children: [
9253
9254
  /* @__PURE__ */ u("span", { children: b(c.name) }),
9254
9255
  /* @__PURE__ */ u("img", { src: bi, alt: "order arrow" })
9255
- ] }) }, C) : C === "data" ? /* @__PURE__ */ u("div", { className: st.elementDate, children: /* @__PURE__ */ k("button", { onClick: () => $("created_at"), children: [
9256
+ ] }) }, v) : v === "data" ? /* @__PURE__ */ u("div", { className: st.elementDate, children: /* @__PURE__ */ k("button", { onClick: () => $("created_at"), children: [
9256
9257
  /* @__PURE__ */ u("span", { children: b(c.data) }),
9257
9258
  /* @__PURE__ */ u("img", { src: bi, alt: "order arrow" })
9258
- ] }) }, C) : /* @__PURE__ */ u("div", { className: st.elementDate, children: /* @__PURE__ */ u("span", { children: b(c[C]) }) }, C)) }),
9259
+ ] }) }, v) : /* @__PURE__ */ u("div", { className: st.elementDate, children: /* @__PURE__ */ u("span", { children: b(c[v]) }) }, v)) }),
9259
9260
  /* @__PURE__ */ u("div", { className: st.buttonsContainer })
9260
9261
  ]
9261
9262
  }
9262
9263
  ),
9263
- /* @__PURE__ */ u("div", { className: st.elementListContainer, children: f && f.length > 0 && f.map((C) => /* @__PURE__ */ u(
9264
+ /* @__PURE__ */ u("div", { className: st.elementListContainer, children: f && f.length > 0 && f.map((v) => /* @__PURE__ */ u(
9264
9265
  Es,
9265
9266
  {
9266
- isActive: t == C.id,
9267
- listelement: C,
9267
+ isActive: t == v.id,
9268
+ listelement: v,
9268
9269
  fontColor: n,
9269
9270
  activeColor: r,
9270
9271
  onClickElement: l,
@@ -9275,7 +9276,7 @@ const bi = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
9275
9276
  defaultTooltip: y,
9276
9277
  showEye: h
9277
9278
  },
9278
- `elementKey${C.id}`
9279
+ `elementKey${v.id}`
9279
9280
  )) }),
9280
9281
  a && /* @__PURE__ */ u("div", { className: st.newElementButtonContainer, children: /* @__PURE__ */ u(
9281
9282
  Qn,
@@ -9466,36 +9467,36 @@ function td(e) {
9466
9467
  const t = fo(), { control: n = t, name: r, defaultValue: o, disabled: s, exact: a, compute: l } = e || {}, c = ie.useRef(o), d = ie.useRef(l), m = ie.useRef(void 0), g = ie.useRef(n), y = ie.useRef(r);
9467
9468
  d.current = l;
9468
9469
  const [h, b] = ie.useState(() => {
9469
- const C = n._getWatch(r, c.current);
9470
- return d.current ? d.current(C) : C;
9471
- }), f = ie.useCallback((C) => {
9472
- const v = xi(r, n._names, C || n._formValues, !1, c.current);
9470
+ const v = n._getWatch(r, c.current);
9473
9471
  return d.current ? d.current(v) : v;
9474
- }, [n._formValues, n._names, r]), _ = ie.useCallback((C) => {
9472
+ }), f = ie.useCallback((v) => {
9473
+ const _ = xi(r, n._names, v || n._formValues, !1, c.current);
9474
+ return d.current ? d.current(_) : _;
9475
+ }, [n._formValues, n._names, r]), x = ie.useCallback((v) => {
9475
9476
  if (!s) {
9476
- const v = xi(r, n._names, C || n._formValues, !1, c.current);
9477
+ const _ = xi(r, n._names, v || n._formValues, !1, c.current);
9477
9478
  if (d.current) {
9478
- const x = d.current(v);
9479
- qn(x, m.current) || (b(x), m.current = x);
9479
+ const C = d.current(_);
9480
+ qn(C, m.current) || (b(C), m.current = C);
9480
9481
  } else
9481
- b(v);
9482
+ b(_);
9482
9483
  }
9483
9484
  }, [n._formValues, n._names, s, r]);
9484
- Ds(() => ((g.current !== n || !qn(y.current, r)) && (g.current = n, y.current = r, _()), n._subscribe({
9485
+ Ds(() => ((g.current !== n || !qn(y.current, r)) && (g.current = n, y.current = r, x()), n._subscribe({
9485
9486
  name: r,
9486
9487
  formState: {
9487
9488
  values: !0
9488
9489
  },
9489
9490
  exact: a,
9490
- callback: (C) => {
9491
- _(C.values);
9491
+ callback: (v) => {
9492
+ x(v.values);
9492
9493
  }
9493
- })), [n, a, r, _]), ie.useEffect(() => n._removeUnmounted());
9494
+ })), [n, a, r, x]), ie.useEffect(() => n._removeUnmounted());
9494
9495
  const w = g.current !== n, S = y.current, $ = ie.useMemo(() => {
9495
9496
  if (s)
9496
9497
  return null;
9497
- const C = !w && !qn(S, r);
9498
- return w || C ? f() : null;
9498
+ const v = !w && !qn(S, r);
9499
+ return w || v ? f() : null;
9499
9500
  }, [s, w, r, S, f]);
9500
9501
  return $ !== null ? $ : h;
9501
9502
  }
@@ -9536,9 +9537,9 @@ function nd(e) {
9536
9537
  enumerable: !0,
9537
9538
  get: () => ze(g.errors, n)
9538
9539
  }
9539
- }), [g, n]), _ = ie.useCallback((C) => b.current.onChange({
9540
+ }), [g, n]), x = ie.useCallback((v) => b.current.onChange({
9540
9541
  target: {
9541
- value: H1(C),
9542
+ value: H1(v),
9542
9543
  name: n
9543
9544
  },
9544
9545
  type: Ci.CHANGE
@@ -9548,38 +9549,38 @@ function nd(e) {
9548
9549
  name: n
9549
9550
  },
9550
9551
  type: Ci.BLUR
9551
- }), [n, o._formValues]), S = ie.useCallback((C) => {
9552
- const v = ze(o._fields, n);
9553
- v && v._f && C && (v._f.ref = {
9554
- focus: () => In(C.focus) && C.focus(),
9555
- select: () => In(C.select) && C.select(),
9556
- setCustomValidity: (x) => In(C.setCustomValidity) && C.setCustomValidity(x),
9557
- reportValidity: () => In(C.reportValidity) && C.reportValidity()
9552
+ }), [n, o._formValues]), S = ie.useCallback((v) => {
9553
+ const _ = ze(o._fields, n);
9554
+ _ && _._f && v && (_._f.ref = {
9555
+ focus: () => In(v.focus) && v.focus(),
9556
+ select: () => In(v.select) && v.select(),
9557
+ setCustomValidity: (C) => In(v.setCustomValidity) && v.setCustomValidity(C),
9558
+ reportValidity: () => In(v.reportValidity) && v.reportValidity()
9558
9559
  });
9559
9560
  }, [o._fields, n]), $ = ie.useMemo(() => ({
9560
9561
  name: n,
9561
9562
  value: m,
9562
9563
  ...Mr(r) || g.disabled ? { disabled: g.disabled || r } : {},
9563
- onChange: _,
9564
+ onChange: x,
9564
9565
  onBlur: w,
9565
9566
  ref: S
9566
- }), [n, r, g.disabled, _, w, S, m]);
9567
+ }), [n, r, g.disabled, x, w, S, m]);
9567
9568
  return ie.useEffect(() => {
9568
- const C = o._options.shouldUnregister || s, v = h.current;
9569
- v && v !== n && !c && o.unregister(v), o.register(n, {
9569
+ const v = o._options.shouldUnregister || s, _ = h.current;
9570
+ _ && _ !== n && !c && o.unregister(_), o.register(n, {
9570
9571
  ...y.current.rules,
9571
9572
  ...Mr(y.current.disabled) ? { disabled: y.current.disabled } : {}
9572
9573
  });
9573
- const x = (N, L) => {
9574
+ const C = (N, O) => {
9574
9575
  const E = ze(o._fields, N);
9575
- E && E._f && (E._f.mount = L);
9576
+ E && E._f && (E._f.mount = O);
9576
9577
  };
9577
- if (x(n, !0), C) {
9578
+ if (C(n, !0), v) {
9578
9579
  const N = As(ze(o._options.defaultValues, n, y.current.defaultValue));
9579
9580
  vi(o._defaultValues, n, N), Gr(ze(o._formValues, n)) && vi(o._formValues, n, N);
9580
9581
  }
9581
9582
  return !c && o.register(n), h.current = n, () => {
9582
- (c ? C && !o._state.action : C) ? o.unregister(n) : x(n, !1);
9583
+ (c ? v && !o._state.action : v) ? o.unregister(n) : C(n, !1);
9583
9584
  };
9584
9585
  }, [n, o, c, s]), ie.useEffect(() => {
9585
9586
  o._setDisabledField({
@@ -9636,9 +9637,9 @@ const od = "_textInputContainer_1o3iy_2", id = "_labelContainer_1o3iy_5", sd = "
9636
9637
  //Lógica extra al onChange además de actualizar el valor en RHF
9637
9638
  onChangeExtraFunction: h = () => {
9638
9639
  }
9639
- } = e, { t: b } = ce(), { control: f, trigger: _, clearErrors: w } = t, { errorColor: S } = _n((x) => x), [$, C] = le(!1);
9640
+ } = e, { t: b } = ce(), { control: f, trigger: x, clearErrors: w } = t, { errorColor: S } = _n((C) => C), [$, v] = le(!1);
9640
9641
  ke(a);
9641
- const v = () => r ? r === "password" && $ ? "text" : r : "text";
9642
+ const _ = () => r ? r === "password" && $ ? "text" : r : "text";
9642
9643
  return /* @__PURE__ */ u(
9643
9644
  vn,
9644
9645
  {
@@ -9649,10 +9650,10 @@ const od = "_textInputContainer_1o3iy_2", id = "_labelContainer_1o3iy_5", sd = "
9649
9650
  maxLength: s || void 0,
9650
9651
  validate: l || void 0
9651
9652
  },
9652
- render: ({ field: x, fieldState: N }) => {
9653
+ render: ({ field: C, fieldState: N }) => {
9653
9654
  var I;
9654
- const { onChange: L, ...E } = x, P = (p) => {
9655
- L(p), h && h(p);
9655
+ const { onChange: O, ...E } = C, P = (p) => {
9656
+ O(p), h && h(p);
9656
9657
  };
9657
9658
  return /* @__PURE__ */ k("div", { className: sn.textInputContainer, children: [
9658
9659
  /* @__PURE__ */ k("h3", { className: sn.labelContainer, children: [
@@ -9670,7 +9671,7 @@ const od = "_textInputContainer_1o3iy_2", id = "_labelContainer_1o3iy_5", sd = "
9670
9671
  "input",
9671
9672
  {
9672
9673
  ...E,
9673
- type: v(),
9674
+ type: _(),
9674
9675
  onChange: P,
9675
9676
  placeholder: c ? b(c) : "",
9676
9677
  maxLength: s || void 0
@@ -9679,7 +9680,7 @@ const od = "_textInputContainer_1o3iy_2", id = "_labelContainer_1o3iy_5", sd = "
9679
9680
  r == "password" && /* @__PURE__ */ u(
9680
9681
  "button",
9681
9682
  {
9682
- onClick: () => C(!$),
9683
+ onClick: () => v(!$),
9683
9684
  type: "button",
9684
9685
  className: sn.showPasswordButton,
9685
9686
  children: /* @__PURE__ */ u(
@@ -9729,10 +9730,10 @@ const od = "_textInputContainer_1o3iy_2", id = "_labelContainer_1o3iy_5", sd = "
9729
9730
  width: g = 325,
9730
9731
  options: y = []
9731
9732
  //Used if we dont use react hook form
9732
- } = e, { t: h } = ce(), { control: b, trigger: f, clearErrors: _ } = t || {}, { errorColor: w } = _n((C) => C);
9733
+ } = e, { t: h } = ce(), { control: b, trigger: f, clearErrors: x } = t || {}, { errorColor: w } = _n((v) => v);
9733
9734
  ke(l);
9734
9735
  const [S, $] = le(null);
9735
- return J(() => {
9736
+ return ee(() => {
9736
9737
  S && n && n(S);
9737
9738
  }, [S, n]), t ? /* @__PURE__ */ u(
9738
9739
  vn,
@@ -9741,42 +9742,42 @@ const od = "_textInputContainer_1o3iy_2", id = "_labelContainer_1o3iy_5", sd = "
9741
9742
  control: b,
9742
9743
  rules: {
9743
9744
  required: l ? `${h(s)} ${h("errorMessages.required")}` : !1,
9744
- validate: c ? (C) => {
9745
- let v = t.getValues();
9746
- return c(C, v);
9745
+ validate: c ? (v) => {
9746
+ let _ = t.getValues();
9747
+ return c(v, _);
9747
9748
  } : void 0
9748
9749
  },
9749
- render: ({ field: C, fieldState: v }) => {
9750
+ render: ({ field: v, fieldState: _ }) => {
9750
9751
  var N;
9751
- const x = y.find(
9752
- (L) => L.value === C.value
9752
+ const C = y.find(
9753
+ (O) => O.value === v.value
9753
9754
  );
9754
9755
  return /* @__PURE__ */ k("div", { className: Be.selectInputContainer, children: [
9755
9756
  s && /* @__PURE__ */ k("h3", { className: Be.labelContainer, children: [
9756
9757
  h(s),
9757
9758
  " ",
9758
- l && /* @__PURE__ */ u("label", { style: { color: v.error ? m : "" }, children: "*" })
9759
+ l && /* @__PURE__ */ u("label", { style: { color: _.error ? m : "" }, children: "*" })
9759
9760
  ] }),
9760
9761
  /* @__PURE__ */ k("div", { className: Be.selectWrapper, children: [
9761
9762
  /* @__PURE__ */ k("div", { className: Be.inputContainer, style: { width: g }, children: [
9762
9763
  /* @__PURE__ */ k(
9763
9764
  "select",
9764
9765
  {
9765
- ...C,
9766
- value: C.value ?? "",
9767
- onChange: (L) => {
9768
- const E = L.target.value, P = y.every((I) => typeof I.value == "number") ? Number(E) : E;
9769
- C.onChange(P);
9766
+ ...v,
9767
+ value: v.value ?? "",
9768
+ onChange: (O) => {
9769
+ const E = O.target.value, P = y.every((I) => typeof I.value == "number") ? Number(E) : E;
9770
+ v.onChange(P);
9770
9771
  },
9771
9772
  className: Be.selectInput,
9772
9773
  children: [
9773
9774
  /* @__PURE__ */ u("option", { value: "", disabled: !0, hidden: !0, children: h(d || "selectOption") }),
9774
- y.map((L, E) => /* @__PURE__ */ u(
9775
+ y.map((O, E) => /* @__PURE__ */ u(
9775
9776
  "option",
9776
9777
  {
9777
- value: L.value,
9778
+ value: O.value,
9778
9779
  className: Be.option,
9779
- children: h(L.label)
9780
+ children: h(O.label)
9780
9781
  },
9781
9782
  E
9782
9783
  ))
@@ -9792,12 +9793,12 @@ const od = "_textInputContainer_1o3iy_2", id = "_labelContainer_1o3iy_5", sd = "
9792
9793
  }
9793
9794
  )
9794
9795
  ] }),
9795
- x && x.description && /* @__PURE__ */ u("div", { className: Be.optionDescription, children: h(x.description) })
9796
+ C && C.description && /* @__PURE__ */ u("div", { className: Be.optionDescription, children: h(C.description) })
9796
9797
  ] }),
9797
9798
  /* @__PURE__ */ u(
9798
9799
  Cn,
9799
9800
  {
9800
- errorMessage: (N = v.error) == null ? void 0 : N.message,
9801
+ errorMessage: (N = _.error) == null ? void 0 : N.message,
9801
9802
  errorColor: w || m
9802
9803
  }
9803
9804
  )
@@ -9815,21 +9816,21 @@ const od = "_textInputContainer_1o3iy_2", id = "_labelContainer_1o3iy_5", sd = "
9815
9816
  "select",
9816
9817
  {
9817
9818
  value: S ?? "",
9818
- onChange: (C) => {
9819
- const v = C.target.value, x = y.every((N) => typeof N.value == "number") ? Number(v) : v;
9820
- $(x);
9819
+ onChange: (v) => {
9820
+ const _ = v.target.value, C = y.every((N) => typeof N.value == "number") ? Number(_) : _;
9821
+ $(C);
9821
9822
  },
9822
9823
  className: Be.selectInput,
9823
9824
  children: [
9824
9825
  /* @__PURE__ */ u("option", { value: "", disabled: !0, hidden: !0, children: h(d || "selectOption") }),
9825
- y.map((C, v) => /* @__PURE__ */ u(
9826
+ y.map((v, _) => /* @__PURE__ */ u(
9826
9827
  "option",
9827
9828
  {
9828
- value: C.value,
9829
+ value: v.value,
9829
9830
  className: Be.option,
9830
- children: h(C.label)
9831
+ children: h(v.label)
9831
9832
  },
9832
- v
9833
+ _
9833
9834
  ))
9834
9835
  ]
9835
9836
  }
@@ -9837,10 +9838,10 @@ const od = "_textInputContainer_1o3iy_2", id = "_labelContainer_1o3iy_5", sd = "
9837
9838
  /* @__PURE__ */ u("img", { src: ki, alt: "Open", className: Be.dropdownArrow })
9838
9839
  ] }),
9839
9840
  (() => {
9840
- const C = y.find(
9841
- (v) => v.value === S
9841
+ const v = y.find(
9842
+ (_) => _.value === S
9842
9843
  );
9843
- return C && C.description ? /* @__PURE__ */ u("div", { className: Be.optionDescription, children: h(C.description) }) : null;
9844
+ return v && v.description ? /* @__PURE__ */ u("div", { className: Be.optionDescription, children: h(v.description) }) : null;
9844
9845
  })()
9845
9846
  ] });
9846
9847
  }, xd = "_radioButtonContainer_1e994_2", wd = "_wholeInputContainer_1e994_5", Sd = "_questionContainer_1e994_27", kd = "_radioQuestion_1e994_59", Td = "_inputContainer_1e994_63", $d = "_radioInput_1e994_93", kt = {
@@ -9859,13 +9860,13 @@ const od = "_textInputContainer_1o3iy_2", id = "_labelContainer_1o3iy_5", sd = "
9859
9860
  errorColor: a = "red",
9860
9861
  options: l = [],
9861
9862
  multi: c = !1
9862
- } = e, { t: d } = ce(), { control: m, trigger: g, clearErrors: y } = t, { errorColor: h } = _n((_) => _), b = ({ options: _, onChange: w, actualValue: S }) => {
9863
+ } = e, { t: d } = ce(), { control: m, trigger: g, clearErrors: y } = t, { errorColor: h } = _n((x) => x), b = ({ options: x, onChange: w, actualValue: S }) => {
9863
9864
  if (c && S && S.length > 0) {
9864
- let $ = S.filter((C) => C !== _);
9865
+ let $ = S.filter((v) => v !== x);
9865
9866
  w($);
9866
9867
  }
9867
- }, f = ({ options: _, onChange: w, actualValue: S }) => {
9868
- c ? S && S.length > 0 ? w([...S, _]) : w([_]) : w(_);
9868
+ }, f = ({ options: x, onChange: w, actualValue: S }) => {
9869
+ c ? S && S.length > 0 ? w([...S, x]) : w([x]) : w(x);
9869
9870
  };
9870
9871
  return ke(o), /* @__PURE__ */ u(
9871
9872
  vn,
@@ -9873,14 +9874,14 @@ const od = "_textInputContainer_1o3iy_2", id = "_labelContainer_1o3iy_5", sd = "
9873
9874
  control: m,
9874
9875
  name: n,
9875
9876
  rules: {
9876
- validate: (_) => o && (_ == null || _ === "") ? `${d(r)} ${d("errorMessages.required")}` : null
9877
+ validate: (x) => o && (x == null || x === "") ? `${d(r)} ${d("errorMessages.required")}` : null
9877
9878
  },
9878
9879
  render: ({
9879
- formState: { errors: _ },
9880
- field: { onChange: w, onBlur: S, value: $, ref: C },
9881
- fieldState: v
9880
+ formState: { errors: x },
9881
+ field: { onChange: w, onBlur: S, value: $, ref: v },
9882
+ fieldState: _
9882
9883
  }) => {
9883
- var x;
9884
+ var C;
9884
9885
  return /* @__PURE__ */ u("div", { id: n + "id", className: kt.radioButtonContainer, children: /* @__PURE__ */ k("div", { className: kt.wholeInputContainer, children: [
9885
9886
  r && /* @__PURE__ */ u("div", { className: kt.questionContainer, children: /* @__PURE__ */ k(
9886
9887
  "h3",
@@ -9893,7 +9894,7 @@ const od = "_textInputContainer_1o3iy_2", id = "_labelContainer_1o3iy_5", sd = "
9893
9894
  o && /* @__PURE__ */ u(
9894
9895
  "label",
9895
9896
  {
9896
- style: { color: v.error ? a : "" },
9897
+ style: { color: _.error ? a : "" },
9897
9898
  children: "*"
9898
9899
  }
9899
9900
  )
@@ -9904,11 +9905,11 @@ const od = "_textInputContainer_1o3iy_2", id = "_labelContainer_1o3iy_5", sd = "
9904
9905
  l.map(
9905
9906
  ({
9906
9907
  label: N,
9907
- value: L,
9908
+ value: O,
9908
9909
  disabled: E = !1,
9909
9910
  italicLabel: P
9910
9911
  }, I) => {
9911
- const p = $ && c ? $.isArray && ($ == null ? void 0 : $.length) > 0 && $.some((O) => O === L) : $ === L;
9912
+ const p = $ && c ? $.isArray && ($ == null ? void 0 : $.length) > 0 && $.some((A) => A === O) : $ === O;
9912
9913
  return /* @__PURE__ */ k("label", { children: [
9913
9914
  /* @__PURE__ */ u(
9914
9915
  "input",
@@ -9924,7 +9925,7 @@ const od = "_textInputContainer_1o3iy_2", id = "_labelContainer_1o3iy_5", sd = "
9924
9925
  actualValue: $,
9925
9926
  options: l,
9926
9927
  onChange: w
9927
- }) : w(L);
9928
+ }) : w(O);
9928
9929
  },
9929
9930
  className: kt.radioInput
9930
9931
  }
@@ -9937,7 +9938,7 @@ const od = "_textInputContainer_1o3iy_2", id = "_labelContainer_1o3iy_5", sd = "
9937
9938
  /* @__PURE__ */ u(
9938
9939
  Cn,
9939
9940
  {
9940
- errorMessage: (x = v.error) == null ? void 0 : x.message,
9941
+ errorMessage: (C = _.error) == null ? void 0 : C.message,
9941
9942
  errorColor: h || a
9942
9943
  }
9943
9944
  )
@@ -9971,14 +9972,14 @@ const od = "_textInputContainer_1o3iy_2", id = "_labelContainer_1o3iy_5", sd = "
9971
9972
  minText: h,
9972
9973
  maxText: b,
9973
9974
  disabled: f = !1,
9974
- marks: _ = Array.from(
9975
+ marks: x = Array.from(
9975
9976
  { length: a - s + 1 },
9976
9977
  (E, P) => s + P
9977
9978
  ),
9978
9979
  showMarksNumber: w = !0
9979
- } = e, { t: S } = ce(), { control: $, trigger: C, clearErrors: v } = t || {};
9980
+ } = e, { t: S } = ce(), { control: $, trigger: v, clearErrors: _ } = t || {};
9980
9981
  ke(d);
9981
- const { errorColorForm: x } = _n((E) => E), [N, L] = le(l);
9982
+ const { errorColorForm: C } = _n((E) => E), [N, O] = le(l);
9982
9983
  return t ? /* @__PURE__ */ u(
9983
9984
  vn,
9984
9985
  {
@@ -10038,7 +10039,7 @@ const od = "_textInputContainer_1o3iy_2", id = "_labelContainer_1o3iy_5", sd = "
10038
10039
  disabled: f
10039
10040
  }
10040
10041
  ),
10041
- _ && /* @__PURE__ */ u("div", { className: Oe.labels, children: _.map((p) => /* @__PURE__ */ u("span", { children: w && p }, p)) })
10042
+ x && /* @__PURE__ */ u("div", { className: Oe.labels, children: x.map((p) => /* @__PURE__ */ u("span", { children: w && p }, p)) })
10042
10043
  ] }),
10043
10044
  b && /* @__PURE__ */ u("div", { className: Oe.maxLabel, children: S(b) })
10044
10045
  ] }),
@@ -10046,7 +10047,7 @@ const od = "_textInputContainer_1o3iy_2", id = "_labelContainer_1o3iy_5", sd = "
10046
10047
  Cn,
10047
10048
  {
10048
10049
  errorMessage: (I = P.error) == null ? void 0 : I.message,
10049
- errorColor: x || m
10050
+ errorColor: C || m
10050
10051
  }
10051
10052
  )
10052
10053
  ]
@@ -10079,7 +10080,7 @@ const od = "_textInputContainer_1o3iy_2", id = "_labelContainer_1o3iy_5", sd = "
10079
10080
  step: 1,
10080
10081
  value: N,
10081
10082
  onChange: (E) => {
10082
- L(E), n && n(E);
10083
+ O(E), n && n(E);
10083
10084
  },
10084
10085
  marks: !0,
10085
10086
  className: Oe.slider,
@@ -10100,7 +10101,7 @@ const od = "_textInputContainer_1o3iy_2", id = "_labelContainer_1o3iy_5", sd = "
10100
10101
  disabled: f
10101
10102
  }
10102
10103
  ),
10103
- _ && /* @__PURE__ */ u("div", { className: Oe.labels, children: _.map((E) => /* @__PURE__ */ u("span", { children: w && E }, E)) })
10104
+ x && /* @__PURE__ */ u("div", { className: Oe.labels, children: x.map((E) => /* @__PURE__ */ u("span", { children: w && E }, E)) })
10104
10105
  ] }),
10105
10106
  b && /* @__PURE__ */ u("div", { className: Oe.maxLabel, children: S(b) })
10106
10107
  ] })
@@ -10305,8 +10306,8 @@ const Pd = "_textDescriptionContainer_163pc_2", Vd = "_textDescriptionText_163pc
10305
10306
  categoriesWithErrors: h = [],
10306
10307
  onSubmit: b = (f) => console.log("Form submitted with: ", f)
10307
10308
  }) => {
10308
- const { t: f } = ce(), { handleSubmit: _, control: w } = e;
10309
- J(() => {
10309
+ const { t: f } = ce(), { handleSubmit: x, control: w } = e;
10310
+ ee(() => {
10310
10311
  s && _n.setState(() => ({ errorColor: s }));
10311
10312
  }, [s]);
10312
10313
  const S = je(() => t ? t.filter((E) => E.category).map((E) => {
@@ -10319,16 +10320,16 @@ const Pd = "_textDescriptionContainer_163pc_2", Vd = "_textDescriptionText_163pc
10319
10320
  }) : [], [t]), $ = (E) => {
10320
10321
  const P = t == null ? void 0 : t.find((I) => I.categoryId === E);
10321
10322
  return (P == null ? void 0 : P.subcategories) || [];
10322
- }, [C, v] = le(
10323
+ }, [v, _] = le(
10323
10324
  g || d || null
10324
- ), [x, N] = le(null);
10325
- J(() => {
10326
- !C && S.length > 0 && v(S[0].id);
10327
- }, [S, C]), J(() => {
10328
- const E = $(C);
10329
- !x && (E == null ? void 0 : E.length) > 0 && N(E[0].id);
10330
- }, [C, x, t]);
10331
- const L = (E, P) => {
10325
+ ), [C, N] = le(null);
10326
+ ee(() => {
10327
+ !v && S.length > 0 && _(S[0].id);
10328
+ }, [S, v]), ee(() => {
10329
+ const E = $(v);
10330
+ !C && (E == null ? void 0 : E.length) > 0 && N(E[0].id);
10331
+ }, [v, C, t]);
10332
+ const O = (E, P) => {
10332
10333
  var I;
10333
10334
  if (((I = E.subcategories) == null ? void 0 : I.length) > 0) {
10334
10335
  const p = E.subcategories;
@@ -10340,18 +10341,18 @@ const Pd = "_textDescriptionContainer_163pc_2", Vd = "_textDescriptionText_163pc
10340
10341
  children: /* @__PURE__ */ u(
10341
10342
  $i,
10342
10343
  {
10343
- activeCategory: x,
10344
+ activeCategory: C,
10344
10345
  categories: p,
10345
10346
  categoriesWithErrors: h,
10346
- onChange: (O) => N(O),
10347
+ onChange: (A) => N(A),
10347
10348
  activeColor: y
10348
10349
  }
10349
10350
  )
10350
10351
  },
10351
10352
  E.categoryId
10352
10353
  ),
10353
- p.map((O, T) => {
10354
- const F = !x || O.id === x;
10354
+ p.map((A, T) => {
10355
+ const F = !C || A.id === C;
10355
10356
  return n ? /* @__PURE__ */ u(
10356
10357
  "div",
10357
10358
  {
@@ -10359,18 +10360,18 @@ const Pd = "_textDescriptionContainer_163pc_2", Vd = "_textDescriptionText_163pc
10359
10360
  display: F ? "block" : "none",
10360
10361
  width: "100%"
10361
10362
  },
10362
- children: /* @__PURE__ */ u(n, { title: O.label, children: /* @__PURE__ */ u(
10363
+ children: /* @__PURE__ */ u(n, { title: A.label, children: /* @__PURE__ */ u(
10363
10364
  an,
10364
10365
  {
10365
- inputs: O.inputs,
10366
+ inputs: A.inputs,
10366
10367
  control: w,
10367
10368
  inputContainerStyles: r,
10368
10369
  errorColor: s,
10369
10370
  reactHookFormInstance: e
10370
10371
  }
10371
- ) }, O.id)
10372
+ ) }, A.id)
10372
10373
  },
10373
- `${O.id}${T}`
10374
+ `${A.id}${T}`
10374
10375
  ) : /* @__PURE__ */ k(
10375
10376
  "div",
10376
10377
  {
@@ -10379,11 +10380,11 @@ const Pd = "_textDescriptionContainer_163pc_2", Vd = "_textDescriptionText_163pc
10379
10380
  display: F ? "block" : "none"
10380
10381
  },
10381
10382
  children: [
10382
- /* @__PURE__ */ u("h3", { style: { marginBottom: 15 }, children: f(O.label) }),
10383
+ /* @__PURE__ */ u("h3", { style: { marginBottom: 15 }, children: f(A.label) }),
10383
10384
  /* @__PURE__ */ u(
10384
10385
  an,
10385
10386
  {
10386
- inputs: O.inputs,
10387
+ inputs: A.inputs,
10387
10388
  control: w,
10388
10389
  inputContainerStyles: r,
10389
10390
  errorColor: s,
@@ -10392,7 +10393,7 @@ const Pd = "_textDescriptionContainer_163pc_2", Vd = "_textDescriptionText_163pc
10392
10393
  )
10393
10394
  ]
10394
10395
  },
10395
- `${O.id}${T}`
10396
+ `${A.id}${T}`
10396
10397
  );
10397
10398
  })
10398
10399
  ] });
@@ -10420,21 +10421,21 @@ const Pd = "_textDescriptionContainer_163pc_2", Vd = "_textDescriptionText_163pc
10420
10421
  )
10421
10422
  ] }, E.categoryId);
10422
10423
  };
10423
- return /* @__PURE__ */ k("form", { className: on.formContainer, onSubmit: _(b), children: [
10424
+ return /* @__PURE__ */ k("form", { className: on.formContainer, onSubmit: x(b), children: [
10424
10425
  c && S.length > 0 && /* @__PURE__ */ u("div", { className: on.categorySelectorContainer, children: /* @__PURE__ */ u(
10425
10426
  $i,
10426
10427
  {
10427
- activeCategory: C,
10428
+ activeCategory: v,
10428
10429
  categories: S,
10429
10430
  categoriesWithErrors: h,
10430
10431
  onChange: (E) => {
10431
- v(E), N(null);
10432
+ _(E), N(null);
10432
10433
  },
10433
10434
  activeColor: y
10434
10435
  }
10435
10436
  ) }),
10436
10437
  /* @__PURE__ */ u("div", { className: on.formObjectContainer, children: t == null ? void 0 : t.map((E, P) => {
10437
- const I = E.categoryId === C;
10438
+ const I = E.categoryId === v;
10438
10439
  return E.category ? /* @__PURE__ */ u(
10439
10440
  "div",
10440
10441
  {
@@ -10442,7 +10443,7 @@ const Pd = "_textDescriptionContainer_163pc_2", Vd = "_textDescriptionText_163pc
10442
10443
  width: "100%",
10443
10444
  display: I ? "block" : "none"
10444
10445
  },
10445
- children: L(E)
10446
+ children: O(E)
10446
10447
  },
10447
10448
  E.categoryId
10448
10449
  ) : /* @__PURE__ */ u(
@@ -10623,7 +10624,7 @@ const hf = "_switchContainer_194wl_2", gf = "_labelRight_194wl_9", yf = "_labelL
10623
10624
  width: m = 240
10624
10625
  } = e, { t: g } = ce(), { control: y } = t || {}, [h, b] = le(l), f = (w) => {
10625
10626
  b(w), n && n(w);
10626
- }, _ = (w, S) => /* @__PURE__ */ k("div", { className: Zt.switchContainer, style: { width: `${m}px` }, children: [
10627
+ }, x = (w, S) => /* @__PURE__ */ k("div", { className: Zt.switchContainer, style: { width: `${m}px` }, children: [
10627
10628
  s && /* @__PURE__ */ u(
10628
10629
  "span",
10629
10630
  {
@@ -10660,9 +10661,9 @@ const hf = "_switchContainer_194wl_2", gf = "_labelRight_194wl_9", yf = "_labelL
10660
10661
  name: o,
10661
10662
  control: y,
10662
10663
  defaultValue: l,
10663
- render: ({ field: w }) => _(w.value, w.onChange)
10664
+ render: ({ field: w }) => x(w.value, w.onChange)
10664
10665
  }
10665
- ) : _(h, f);
10666
+ ) : x(h, f);
10666
10667
  };
10667
10668
  Cf.propTypes = {
10668
10669
  input: i.shape({
@@ -10791,7 +10792,7 @@ const Tf = "_container_1pl8d_3", $f = "_burger_1pl8d_10", Nf = "_menu_1pl8d_21",
10791
10792
  zi,
10792
10793
  {
10793
10794
  to: b.url,
10794
- className: ({ isActive: _ }) => `${rt.link} ${_ ? rt.active : ""}`,
10795
+ className: ({ isActive: x }) => `${rt.link} ${x ? rt.active : ""}`,
10795
10796
  onClick: l,
10796
10797
  style: { color: n },
10797
10798
  children: b.name
@@ -10839,36 +10840,36 @@ const Rf = "_svgContainer_1rxoe_2", Df = "_svg_1rxoe_2", Ni = {
10839
10840
  showYAxisLabels: c = !0,
10840
10841
  showGrid: d = !0,
10841
10842
  xAxisTickRotation: m = -90,
10842
- yAxisTickFormat: g = (C) => C.toLocaleString("es-ES"),
10843
+ yAxisTickFormat: g = (v) => v.toLocaleString("es-ES"),
10843
10844
  barPadding: y = 0.1,
10844
10845
  groupPadding: h = 0.05,
10845
10846
  animationDuration: b = 750,
10846
10847
  onBarHover: f,
10847
- onBarClick: _,
10848
+ onBarClick: x,
10848
10849
  title: w,
10849
10850
  xAxisLabel: S,
10850
10851
  yAxisLabel: $
10851
10852
  }) => {
10852
- const C = ke(), v = ke(), [x, N] = le({ width: 0, height: 0 });
10853
- return J(() => {
10854
- const L = () => {
10855
- if (v.current) {
10856
- const E = v.current.getBoundingClientRect().width;
10853
+ const v = ke(), _ = ke(), [C, N] = le({ width: 0, height: 0 });
10854
+ return ee(() => {
10855
+ const O = () => {
10856
+ if (_.current) {
10857
+ const E = _.current.getBoundingClientRect().width;
10857
10858
  N({
10858
10859
  width: typeof r == "number" ? r : E,
10859
10860
  height: o
10860
10861
  });
10861
10862
  }
10862
10863
  };
10863
- return L(), window.addEventListener("resize", L), () => window.removeEventListener("resize", L);
10864
- }, [r, o]), J(() => {
10865
- if (!e || e.length === 0 || x.width === 0) return;
10866
- const L = gt(C.current), E = x.width, P = x.height, I = E - s.left - s.right, p = P - s.top - s.bottom;
10864
+ return O(), window.addEventListener("resize", O), () => window.removeEventListener("resize", O);
10865
+ }, [r, o]), ee(() => {
10866
+ if (!e || e.length === 0 || C.width === 0) return;
10867
+ const O = gt(v.current), E = C.width, P = C.height, I = E - s.left - s.right, p = P - s.top - s.bottom;
10867
10868
  if (I <= 0 || p <= 0) return;
10868
- const O = e.map((B) => B.anyo || B.year || B.x), T = t, F = Wn(e, (B) => Wn(T, (Z) => B[Z])) || 0, j = Un(e, (B) => Un(T, (Z) => B[Z])) || 0, Y = Pr().domain(O).rangeRound([0, I]).paddingInner(y), W = Pr().domain(T).rangeRound([0, Y.bandwidth()]).padding(h), ue = Pi().domain([Math.min(0, F), j]).nice().rangeRound([p, 0]), D = Vi().domain(T).range(Array.isArray(n) ? n : Object.values(n || {}));
10869
- L.selectAll("*").remove();
10870
- const M = L.append("g").attr("transform", `translate(${s.left},${s.top})`);
10871
- w && 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(w), d && M.append("g").attr("class", "grid").selectAll("line").data(ue.ticks()).enter().append("line").attr("x1", 0).attr("x2", I).attr("y1", (B) => ue(B)).attr("y2", (B) => ue(B)).style("stroke", "#e0e0e0").style("stroke-width", 0.5), l && (M.append("g").attr("transform", `translate(0,${p})`).call(Bi(Y).tickSizeOuter(0)).attr("class", "x-axis").selectAll("text").attr("transform", `translate(0,10)rotate(${m})`).style("text-anchor", m < 0 ? "end" : "middle").style("font-size", "12px").style("fill", "#605B56"), S && M.append("text").attr(
10869
+ const A = e.map((B) => B.anyo || B.year || B.x), T = t, F = Wn(e, (B) => Wn(T, (Z) => B[Z])) || 0, j = Un(e, (B) => Un(T, (Z) => B[Z])) || 0, Y = Pr().domain(A).rangeRound([0, I]).paddingInner(y), W = Pr().domain(T).rangeRound([0, Y.bandwidth()]).padding(h), ue = Pi().domain([Math.min(0, F), j]).nice().rangeRound([p, 0]), D = Vi().domain(T).range(Array.isArray(n) ? n : Object.values(n || {}));
10870
+ O.selectAll("*").remove();
10871
+ const M = O.append("g").attr("transform", `translate(${s.left},${s.top})`);
10872
+ w && O.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(w), d && M.append("g").attr("class", "grid").selectAll("line").data(ue.ticks()).enter().append("line").attr("x1", 0).attr("x2", I).attr("y1", (B) => ue(B)).attr("y2", (B) => ue(B)).style("stroke", "#e0e0e0").style("stroke-width", 0.5), l && (M.append("g").attr("transform", `translate(0,${p})`).call(Bi(Y).tickSizeOuter(0)).attr("class", "x-axis").selectAll("text").attr("transform", `translate(0,10)rotate(${m})`).style("text-anchor", m < 0 ? "end" : "middle").style("font-size", "12px").style("fill", "#605B56"), S && M.append("text").attr(
10872
10873
  "transform",
10873
10874
  `translate(${I / 2}, ${p + s.bottom - 5})`
10874
10875
  ).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(S)), c && (M.append("g").call(Vr(ue).ticks(6).tickFormat(g)).attr("class", "y-axis").call((B) => B.select(".domain").remove()), $ && M.append("text").attr("transform", "rotate(-90)").attr("y", 0 - s.left).attr("x", 0 - p / 2).attr("dy", "1em").style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text($));
@@ -10878,17 +10879,17 @@ const Rf = "_svgContainer_1rxoe_2", Df = "_svg_1rxoe_2", Ni = {
10878
10879
  value: B[Z],
10879
10880
  data: B
10880
10881
  }))
10881
- ).enter().append("rect").attr("class", "bar").attr("x", (B) => W(B.key)).attr("y", p).attr("width", W.bandwidth()).attr("height", 0).attr("fill", (B) => D(B.key)).style("cursor", f || _ ? "pointer" : "default");
10882
+ ).enter().append("rect").attr("class", "bar").attr("x", (B) => W(B.key)).attr("y", p).attr("width", W.bandwidth()).attr("height", 0).attr("fill", (B) => D(B.key)).style("cursor", f || x ? "pointer" : "default");
10882
10883
  K.transition().duration(b).attr("y", (B) => ue(Math.max(0, B.value))).attr("height", (B) => Math.abs(ue(B.value) - ue(0))), f && K.on("mouseover", function(B, Z) {
10883
10884
  gt(this).style("opacity", 0.8), f(B, Z);
10884
10885
  }).on("mouseout", function(B, Z) {
10885
10886
  gt(this).style("opacity", 1);
10886
- }), _ && K.on("click", _);
10887
+ }), x && K.on("click", x);
10887
10888
  }, [
10888
10889
  e,
10889
10890
  t,
10890
10891
  n,
10891
- x,
10892
+ C,
10892
10893
  s,
10893
10894
  y,
10894
10895
  h,
@@ -10899,23 +10900,23 @@ const Rf = "_svgContainer_1rxoe_2", Df = "_svg_1rxoe_2", Ni = {
10899
10900
  g,
10900
10901
  b,
10901
10902
  f,
10902
- _,
10903
+ x,
10903
10904
  w,
10904
10905
  S,
10905
10906
  $
10906
10907
  ]), /* @__PURE__ */ u(
10907
10908
  "div",
10908
10909
  {
10909
- ref: v,
10910
+ ref: _,
10910
10911
  className: `${Ni.svgContainer} ${a}`,
10911
10912
  style: { width: r, height: o + s.top + s.bottom },
10912
10913
  children: /* @__PURE__ */ u(
10913
10914
  "svg",
10914
10915
  {
10915
- ref: C,
10916
+ ref: v,
10916
10917
  className: Ni.svg,
10917
- width: x.width,
10918
- height: x.height
10918
+ width: C.width,
10919
+ height: C.height
10919
10920
  }
10920
10921
  )
10921
10922
  }
@@ -10972,24 +10973,24 @@ const Pf = "_svgContainer_7fkic_2", Vf = "_svg_7fkic_2", Ei = {
10972
10973
  barPadding: h = 0.4,
10973
10974
  animationDuration: b = 750,
10974
10975
  onBarHover: f,
10975
- onBarClick: _,
10976
+ onBarClick: x,
10976
10977
  title: w,
10977
10978
  xAxisLabel: S,
10978
10979
  yAxisLabel: $,
10979
- stackOrder: C = "reverse",
10980
+ stackOrder: v = "reverse",
10980
10981
  // "reverse", "ascending", "descending", "insideOut", "none"
10981
- showTooltip: v = !0,
10982
- reverseKeys: x = !0,
10982
+ showTooltip: _ = !0,
10983
+ reverseKeys: C = !0,
10983
10984
  minBarSlotWidth: N = 60,
10984
- wrapXAxisLabels: L = !0
10985
+ wrapXAxisLabels: O = !0
10985
10986
  }) => {
10986
10987
  const E = ke(), P = ke();
10987
10988
  ke();
10988
10989
  const [I, p] = le({
10989
10990
  containerWidth: 0,
10990
10991
  height: 0
10991
- }), { t: O } = ce();
10992
- return J(() => {
10992
+ }), { t: A } = ce();
10993
+ return ee(() => {
10993
10994
  const T = () => {
10994
10995
  if (P.current) {
10995
10996
  const F = P.current.getBoundingClientRect().width;
@@ -11000,14 +11001,14 @@ const Pf = "_svgContainer_7fkic_2", Vf = "_svg_7fkic_2", Ei = {
11000
11001
  }
11001
11002
  };
11002
11003
  return T(), window.addEventListener("resize", T), () => window.removeEventListener("resize", T);
11003
- }, [o, s]), J(() => {
11004
+ }, [o, s]), ee(() => {
11004
11005
  if (!e || e.length === 0 || I.containerWidth === 0) return;
11005
11006
  const T = gt(E.current), { containerWidth: F, height: j } = I, Y = F - 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;
11006
11007
  if (ue <= 0 || M <= 0) return;
11007
11008
  T.attr("width", D).attr("height", j);
11008
- const ee = x ? [...t].reverse() : t, K = [];
11009
+ const J = C ? [...t].reverse() : t, K = [];
11009
11010
  e.forEach((q) => {
11010
- const re = q.any || q.year || q.x, Se = ee.map((_e) => ({
11011
+ const re = q.any || q.year || q.x, Se = J.map((_e) => ({
11011
11012
  key: _e,
11012
11013
  value: Number(q[_e]) || 0,
11013
11014
  data: q
@@ -11058,7 +11059,7 @@ const Pf = "_svgContainer_7fkic_2", Vf = "_svg_7fkic_2", Ei = {
11058
11059
  const de = T.append("g").attr("transform", `translate(${a.left},${a.top})`);
11059
11060
  w && T.append("text").attr("x", svgWidth / 2).attr("y", a.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(w), m && de.append("g").attr("class", "grid").selectAll("line").data(U.ticks(6)).enter().append("line").attr("x1", 0).attr("x2", ue).attr("y1", (q) => U(q)).attr("y2", (q) => U(q)).style("stroke", "#e0e0e0").style("stroke-width", 0.5);
11060
11061
  const V = (q, re = 12) => {
11061
- if (!L || q.length <= re) return [q];
11062
+ if (!O || q.length <= re) return [q];
11062
11063
  const Se = Math.floor(q.length / 2);
11063
11064
  let Ce = Se;
11064
11065
  for (let Me = Se; Me >= 0; Me--)
@@ -11102,17 +11103,17 @@ const Pf = "_svgContainer_7fkic_2", Vf = "_svg_7fkic_2", Ei = {
11102
11103
  `translate(${ue / 2}, ${M + a.bottom - 5})`
11103
11104
  ).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(S)), d && (de.append("g").attr("class", "y-axis").call(Vr(U).ticks(6).tickFormat(y)).call((q) => q.select(".domain").remove()), de.append("g").attr("class", "y-ticks").attr("transform", `translate(${ue}, 0)`).call(Vr(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($));
11104
11105
  let se;
11105
- v && (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"));
11106
+ _ && (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"));
11106
11107
  const Ie = de.selectAll(".segment").data(K, (q) => `${q.xKey}-${q.key}`);
11107
11108
  Ie.exit().remove();
11108
11109
  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(
11109
11110
  "cursor",
11110
- f || _ || v ? "pointer" : "default"
11111
+ f || x || _ ? "pointer" : "default"
11111
11112
  ).merge(Ie);
11112
- if (tt.transition().duration(b).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))), (v || f) && tt.on("mouseover", function(q, re) {
11113
+ if (tt.transition().duration(b).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))), (_ || f) && tt.on("mouseover", function(q, re) {
11113
11114
  const Se = re.value;
11114
- v && se && se.style("visibility", "visible").html(`
11115
- <strong>${O(re.key)}</strong><br/>
11115
+ _ && se && se.style("visibility", "visible").html(`
11116
+ <strong>${A(re.key)}</strong><br/>
11116
11117
  ${re.xKey}<br/>
11117
11118
  ${y(Se)}
11118
11119
  `), gt(this).style("opacity", 0.8), f && f(q, {
@@ -11121,12 +11122,12 @@ const Pf = "_svgContainer_7fkic_2", Vf = "_svg_7fkic_2", Ei = {
11121
11122
  data: re.data
11122
11123
  });
11123
11124
  }).on("mousemove", function(q) {
11124
- v && se && se.style("top", q.pageY - 10 + "px").style("left", q.pageX + 10 + "px");
11125
+ _ && se && se.style("top", q.pageY - 10 + "px").style("left", q.pageX + 10 + "px");
11125
11126
  }).on("mouseout", function() {
11126
- v && se && se.style("visibility", "hidden"), gt(this).style("opacity", 1);
11127
- }), _ && tt.on("click", function(q, re) {
11127
+ _ && se && se.style("visibility", "hidden"), gt(this).style("opacity", 1);
11128
+ }), x && tt.on("click", function(q, re) {
11128
11129
  const Se = re.value;
11129
- _(q, {
11130
+ x(q, {
11130
11131
  key: re.key,
11131
11132
  value: Se,
11132
11133
  data: re.data
@@ -11153,14 +11154,14 @@ const Pf = "_svgContainer_7fkic_2", Vf = "_svg_7fkic_2", Ei = {
11153
11154
  y,
11154
11155
  b,
11155
11156
  f,
11156
- _,
11157
+ x,
11157
11158
  w,
11158
11159
  S,
11159
11160
  $,
11160
- C,
11161
11161
  v,
11162
- x,
11163
- L
11162
+ _,
11163
+ C,
11164
+ O
11164
11165
  ]), /* @__PURE__ */ u(
11165
11166
  "div",
11166
11167
  {
@@ -11295,7 +11296,7 @@ const Ff = "_externalContainer_1er0i_2", zf = "_externalSintetic_1er0i_9", jf =
11295
11296
  );
11296
11297
  }) }),
11297
11298
  /* @__PURE__ */ u("div", { className: Fe.yearDatas, children: e.map((h, b) => /* @__PURE__ */ u("div", { className: Fe.yearDataContainer, style: { width: m }, children: t.map(
11298
- (f, _) => {
11299
+ (f, x) => {
11299
11300
  var w, S;
11300
11301
  return isNaN(h[f]) ? null : /* @__PURE__ */ u(
11301
11302
  "div",
@@ -11303,7 +11304,7 @@ const Ff = "_externalContainer_1er0i_2", zf = "_externalSintetic_1er0i_9", jf =
11303
11304
  className: `${Fe.yearDataContent} ${h[f] > 9999 || h[f] < -9999 ? Fe.bigNumber : ""}`,
11304
11305
  children: h[f] < 1e4 || h[f] > -1e4 ? (w = Jf(h[f])) == null ? void 0 : w.toLocaleString("es-ES") : (S = h[f]) == null ? void 0 : S.toLocaleString("es-ES")
11305
11306
  },
11306
- _
11307
+ x
11307
11308
  );
11308
11309
  }
11309
11310
  ) }, b)) })
@@ -11528,7 +11529,7 @@ const sp = ({
11528
11529
  containerStyles: m = {},
11529
11530
  alignLeft: g = !1
11530
11531
  }) => {
11531
- const [y, h] = le(null), b = r / 2, f = r / 2, _ = r / 2 - 14, w = e === "donut" ? _ - o : 0, S = e === "donut" ? _ - o / 2 : _ * 0.62, $ = je(() => ip(t), [t]), C = y !== null ? $[y] : null, v = $.some((N) => N.ea - N.sa >= 359.99), x = a || (l === "transparent" ? op : l);
11532
+ const [y, h] = le(null), b = r / 2, f = r / 2, x = r / 2 - 14, w = e === "donut" ? x - o : 0, S = e === "donut" ? x - o / 2 : x * 0.62, $ = je(() => ip(t), [t]), v = y !== null ? $[y] : null, _ = $.some((N) => N.ea - N.sa >= 359.99), C = a || (l === "transparent" ? op : l);
11532
11533
  return /* @__PURE__ */ k(
11533
11534
  "div",
11534
11535
  {
@@ -11575,9 +11576,9 @@ const sp = ({
11575
11576
  alignItems: "center",
11576
11577
  gap: "8px",
11577
11578
  transition: "opacity 0.15s",
11578
- opacity: C ? 1 : 0
11579
+ opacity: v ? 1 : 0
11579
11580
  },
11580
- children: C && /* @__PURE__ */ k(mn, { children: [
11581
+ children: v && /* @__PURE__ */ k(mn, { children: [
11581
11582
  /* @__PURE__ */ u(
11582
11583
  "span",
11583
11584
  {
@@ -11586,7 +11587,7 @@ const sp = ({
11586
11587
  width: "10px",
11587
11588
  height: "10px",
11588
11589
  borderRadius: "50%",
11589
- background: C.color || Dr,
11590
+ background: v.color || Dr,
11590
11591
  flexShrink: 0
11591
11592
  }
11592
11593
  }
@@ -11600,9 +11601,9 @@ const sp = ({
11600
11601
  fontWeight: "600"
11601
11602
  },
11602
11603
  children: [
11603
- C.title,
11604
+ v.title,
11604
11605
  " — ",
11605
- C.value,
11606
+ v.value,
11606
11607
  "%"
11607
11608
  ]
11608
11609
  }
@@ -11631,8 +11632,8 @@ const sp = ({
11631
11632
  viewBox: `0 0 ${r} ${r}`,
11632
11633
  style: { overflow: "visible" },
11633
11634
  children: [
11634
- $.map((N, L) => {
11635
- const E = y === L, { tx: P, ty: I } = E && !v ? Ai(b, f, N.sa, N.ea, 10) : { tx: 0, ty: 0 };
11635
+ $.map((N, O) => {
11636
+ const E = y === O, { tx: P, ty: I } = E && !_ ? Ai(b, f, N.sa, N.ea, 10) : { tx: 0, ty: 0 };
11636
11637
  return /* @__PURE__ */ u(
11637
11638
  "g",
11638
11639
  {
@@ -11644,7 +11645,7 @@ const sp = ({
11644
11645
  children: /* @__PURE__ */ u(
11645
11646
  "path",
11646
11647
  {
11647
- d: Oi(b, f, w, _, N.sa, N.ea),
11648
+ d: Oi(b, f, w, x, N.sa, N.ea),
11648
11649
  fill: N.color || Dr,
11649
11650
  style: {
11650
11651
  filter: E ? "brightness(1.25)" : "brightness(1)",
@@ -11653,11 +11654,11 @@ const sp = ({
11653
11654
  }
11654
11655
  )
11655
11656
  },
11656
- L
11657
+ O
11657
11658
  );
11658
11659
  }),
11659
- !v && $.map((N, L) => {
11660
- const E = ut(b, f, _, N.sa), P = e === "cheese" ? b : ut(b, f, w, N.sa).x, I = e === "cheese" ? f : ut(b, f, w, N.sa).y;
11660
+ !_ && $.map((N, O) => {
11661
+ const E = ut(b, f, x, N.sa), P = e === "cheese" ? b : ut(b, f, w, N.sa).x, I = e === "cheese" ? f : ut(b, f, w, N.sa).y;
11661
11662
  return /* @__PURE__ */ u(
11662
11663
  "line",
11663
11664
  {
@@ -11665,22 +11666,22 @@ const sp = ({
11665
11666
  y1: I,
11666
11667
  x2: E.x,
11667
11668
  y2: E.y,
11668
- stroke: x,
11669
+ stroke: C,
11669
11670
  strokeWidth: s,
11670
11671
  strokeLinecap: "butt",
11671
11672
  style: { pointerEvents: "none" }
11672
11673
  },
11673
- `gap-${L}`
11674
+ `gap-${O}`
11674
11675
  );
11675
11676
  }),
11676
- $.map((N, L) => {
11677
+ $.map((N, O) => {
11677
11678
  if (N.ea - N.sa < 20) return null;
11678
- const E = y === L, { tx: P, ty: I } = E && !v ? Ai(b, f, N.sa, N.ea, 10) : { tx: 0, ty: 0 }, p = N.sa + (N.ea - N.sa) / 2, O = ut(b, f, S, p);
11679
+ const E = y === O, { tx: P, ty: I } = E && !_ ? Ai(b, f, N.sa, N.ea, 10) : { tx: 0, ty: 0 }, p = N.sa + (N.ea - N.sa) / 2, A = ut(b, f, S, p);
11679
11680
  return /* @__PURE__ */ k(
11680
11681
  "text",
11681
11682
  {
11682
- x: O.x + P,
11683
- y: O.y + I,
11683
+ x: A.x + P,
11684
+ y: A.y + I,
11684
11685
  textAnchor: "middle",
11685
11686
  dominantBaseline: "middle",
11686
11687
  fill: d,
@@ -11694,19 +11695,19 @@ const sp = ({
11694
11695
  "%"
11695
11696
  ]
11696
11697
  },
11697
- `lbl-${L}`
11698
+ `lbl-${O}`
11698
11699
  );
11699
11700
  }),
11700
- $.map((N, L) => /* @__PURE__ */ u(
11701
+ $.map((N, O) => /* @__PURE__ */ u(
11701
11702
  "path",
11702
11703
  {
11703
- d: Oi(b, f, w, _, N.sa, N.ea),
11704
+ d: Oi(b, f, w, x, N.sa, N.ea),
11704
11705
  fill: "transparent",
11705
11706
  style: { cursor: "pointer" },
11706
- onMouseEnter: () => h(L),
11707
+ onMouseEnter: () => h(O),
11707
11708
  onMouseLeave: () => h(null)
11708
11709
  },
11709
- `hit-${L}`
11710
+ `hit-${O}`
11710
11711
  ))
11711
11712
  ]
11712
11713
  }
@@ -11720,7 +11721,7 @@ const sp = ({
11720
11721
  gap: "12px 24px",
11721
11722
  justifyContent: g ? "flex-start" : "center"
11722
11723
  },
11723
- children: t.map((N, L) => /* @__PURE__ */ k(
11724
+ children: t.map((N, O) => /* @__PURE__ */ k(
11724
11725
  "div",
11725
11726
  {
11726
11727
  style: {
@@ -11728,10 +11729,10 @@ const sp = ({
11728
11729
  alignItems: "center",
11729
11730
  gap: "8px",
11730
11731
  cursor: "pointer",
11731
- opacity: y === null || y === L ? 1 : 0.4,
11732
+ opacity: y === null || y === O ? 1 : 0.4,
11732
11733
  transition: "opacity 0.15s"
11733
11734
  },
11734
- onMouseEnter: () => h(L),
11735
+ onMouseEnter: () => h(O),
11735
11736
  onMouseLeave: () => h(null),
11736
11737
  children: [
11737
11738
  /* @__PURE__ */ u(
@@ -11759,7 +11760,7 @@ const sp = ({
11759
11760
  )
11760
11761
  ]
11761
11762
  },
11762
- L
11763
+ O
11763
11764
  ))
11764
11765
  }
11765
11766
  )
@@ -11809,7 +11810,7 @@ const Li = [
11809
11810
  borderFontColorInside: d
11810
11811
  }) => {
11811
11812
  const [m, g] = le(s ? 0 : 1);
11812
- J(() => {
11813
+ ee(() => {
11813
11814
  if (!s) return;
11814
11815
  const b = requestAnimationFrame(() => g(1));
11815
11816
  return () => cancelAnimationFrame(b);
@@ -11843,7 +11844,7 @@ const Li = [
11843
11844
  }
11844
11845
  ),
11845
11846
  /* @__PURE__ */ u("div", { style: { display: "flex", flexDirection: "column", gap: "18px" }, children: e.map((b, f) => {
11846
- const _ = b.color || Li[f % Li.length], w = b.value / y * 100 * m;
11847
+ const x = b.color || Li[f % Li.length], w = b.value / y * 100 * m;
11847
11848
  return /* @__PURE__ */ k(
11848
11849
  "div",
11849
11850
  {
@@ -11881,7 +11882,7 @@ const Li = [
11881
11882
  top: 0,
11882
11883
  height: "100%",
11883
11884
  width: `${w}%`,
11884
- background: _,
11885
+ background: x,
11885
11886
  borderRadius: h,
11886
11887
  transition: s ? "width 0.8s cubic-bezier(0.16, 1, 0.3, 1)" : "none"
11887
11888
  }
@@ -11959,14 +11960,14 @@ const Mi = [
11959
11960
  containerStyles: m = {}
11960
11961
  }) => {
11961
11962
  const [g, y] = le(c ? 0 : 1);
11962
- J(() => {
11963
+ ee(() => {
11963
11964
  if (!c) return;
11964
11965
  const $ = requestAnimationFrame(
11965
11966
  () => requestAnimationFrame(() => y(1))
11966
11967
  );
11967
11968
  return () => cancelAnimationFrame($);
11968
11969
  }, [c]);
11969
- const h = Math.max(...e.map(($) => $.value), 1), b = d || (r === "#ffffff" ? "rgba(255,255,255,0.25)" : "rgba(0,0,0,0.15)"), f = 12, _ = 12, w = e.length * a + Math.max(0, e.length - 1) * f, S = {
11970
+ const h = Math.max(...e.map(($) => $.value), 1), b = d || (r === "#ffffff" ? "rgba(255,255,255,0.25)" : "rgba(0,0,0,0.15)"), f = 12, x = 12, w = e.length * a + Math.max(0, e.length - 1) * f, S = {
11970
11971
  fontSize: "15px",
11971
11972
  fontWeight: "700",
11972
11973
  letterSpacing: "-0.3px",
@@ -12024,8 +12025,8 @@ const Mi = [
12024
12025
  width: `${w}px`,
12025
12026
  height: `${l}px`
12026
12027
  },
12027
- children: e.map(($, C) => {
12028
- const v = $.color || Mi[C % Mi.length], x = $.value === 0, N = x ? 0 : $.value / h * l * g;
12028
+ children: e.map(($, v) => {
12029
+ const _ = $.color || Mi[v % Mi.length], C = $.value === 0, N = C ? 0 : $.value / h * l * g;
12029
12030
  return /* @__PURE__ */ u(
12030
12031
  "div",
12031
12032
  {
@@ -12037,7 +12038,7 @@ const Mi = [
12037
12038
  width: `${a}px`,
12038
12039
  height: "100%"
12039
12040
  },
12040
- children: x ? /* @__PURE__ */ u(
12041
+ children: C ? /* @__PURE__ */ u(
12041
12042
  "span",
12042
12043
  {
12043
12044
  style: {
@@ -12054,7 +12055,7 @@ const Mi = [
12054
12055
  position: "relative",
12055
12056
  width: "100%",
12056
12057
  height: `${N}px`,
12057
- background: v,
12058
+ background: _,
12058
12059
  borderRadius: "6px 6px 0 0",
12059
12060
  transition: c ? "height 0.85s cubic-bezier(0.16, 1, 0.3, 1)" : "none",
12060
12061
  display: "flex",
@@ -12066,7 +12067,7 @@ const Mi = [
12066
12067
  }
12067
12068
  )
12068
12069
  },
12069
- C
12070
+ v
12070
12071
  );
12071
12072
  })
12072
12073
  }
@@ -12075,8 +12076,8 @@ const Mi = [
12075
12076
  "div",
12076
12077
  {
12077
12078
  style: {
12078
- width: `${w + _ * 2}px`,
12079
- marginLeft: `-${_}px`,
12079
+ width: `${w + x * 2}px`,
12080
+ marginLeft: `-${x}px`,
12080
12081
  height: "1.5px",
12081
12082
  background: b,
12082
12083
  borderRadius: "1px"
@@ -12092,7 +12093,7 @@ const Mi = [
12092
12093
  width: `${w}px`,
12093
12094
  marginTop: "10px"
12094
12095
  },
12095
- children: e.map(($, C) => /* @__PURE__ */ u(
12096
+ children: e.map(($, v) => /* @__PURE__ */ u(
12096
12097
  "div",
12097
12098
  {
12098
12099
  style: {
@@ -12108,7 +12109,7 @@ const Mi = [
12108
12109
  },
12109
12110
  children: $.title
12110
12111
  },
12111
- C
12112
+ v
12112
12113
  ))
12113
12114
  }
12114
12115
  )
@@ -12171,80 +12172,80 @@ const cp = "_percentageBarContainer_lgkme_3", up = "_barContainer_lgkme_10", dp
12171
12172
  labelValueColor: l
12172
12173
  }) => {
12173
12174
  const [c, d] = le(() => Ri(e)), m = ke(null), g = ke(null);
12174
- J(() => {
12175
+ ee(() => {
12175
12176
  e && e.length > 0 && d(Ri(e));
12176
12177
  }, [e]);
12177
12178
  const y = po(
12178
12179
  (f) => {
12179
12180
  if (!m.current || !g.current) return;
12180
- const { dividerIndex: _ } = m.current, w = g.current.getBoundingClientRect(), S = (f.touches ? f.touches[0].clientX : f.clientX) - w.left, $ = Math.max(0, Math.min(100, S / w.width * 100));
12181
- d((C) => {
12182
- const v = [...C], x = C.slice(0, _).reduce((P, I) => P + I, 0), N = x + C[_] + C[_ + 1];
12183
- let L = $ - x, E = N - $;
12184
- if (L < o && (L = o, E = N - x - o), E < o && (E = o, L = N - x - o), v[_] = L, v[_ + 1] = E, r)
12181
+ const { dividerIndex: x } = m.current, w = g.current.getBoundingClientRect(), S = (f.touches ? f.touches[0].clientX : f.clientX) - w.left, $ = Math.max(0, Math.min(100, S / w.width * 100));
12182
+ d((v) => {
12183
+ const _ = [...v], C = v.slice(0, x).reduce((P, I) => P + I, 0), N = C + v[x] + v[x + 1];
12184
+ let O = $ - C, E = N - $;
12185
+ if (O < o && (O = o, E = N - C - o), E < o && (E = o, O = N - C - o), _[x] = O, _[x + 1] = E, r)
12185
12186
  try {
12186
12187
  const P = e.reduce((I, p) => I + p.value, 0);
12187
12188
  r(
12188
12189
  e.map((I, p) => ({
12189
12190
  ...I,
12190
- value: v[p] / 100 * P
12191
+ value: _[p] / 100 * P
12191
12192
  }))
12192
12193
  );
12193
12194
  } catch (P) {
12194
12195
  console.error("PercentageBar onChange error:", P);
12195
12196
  }
12196
- return v;
12197
+ return _;
12197
12198
  });
12198
12199
  },
12199
12200
  [o, r, e]
12200
12201
  ), h = po(() => {
12201
12202
  m.current && (m.current = null, document.removeEventListener("mousemove", y), document.removeEventListener("mouseup", h), document.removeEventListener("touchmove", y), document.removeEventListener("touchend", h), d((f) => {
12202
12203
  if (r) {
12203
- const _ = e.reduce((w, S) => w + S.value, 0);
12204
+ const x = e.reduce((w, S) => w + S.value, 0);
12204
12205
  r(
12205
12206
  e.map((w, S) => ({
12206
12207
  ...w,
12207
- value: f[S] / 100 * _
12208
+ value: f[S] / 100 * x
12208
12209
  }))
12209
12210
  );
12210
12211
  }
12211
12212
  return f;
12212
12213
  }));
12213
- }, [y, r, e]), b = (f, _) => {
12214
- _.preventDefault(), m.current = { dividerIndex: f }, document.addEventListener("mousemove", y), document.addEventListener("mouseup", h), document.addEventListener("touchmove", y, { passive: !1 }), document.addEventListener("touchend", h);
12214
+ }, [y, r, e]), b = (f, x) => {
12215
+ x.preventDefault(), m.current = { dividerIndex: f }, document.addEventListener("mousemove", y), document.addEventListener("mouseup", h), document.addEventListener("touchmove", y, { passive: !1 }), document.addEventListener("touchend", h);
12215
12216
  };
12216
12217
  return /* @__PURE__ */ k("div", { className: Pe.percentageBarContainer, children: [
12217
- /* @__PURE__ */ u("div", { className: Pe.barContainer, ref: g, children: e.map((f, _) => {
12218
+ /* @__PURE__ */ u("div", { className: Pe.barContainer, ref: g, children: e.map((f, x) => {
12218
12219
  var w;
12219
12220
  return /* @__PURE__ */ u(
12220
12221
  "div",
12221
12222
  {
12222
12223
  className: Pe.segment,
12223
12224
  style: {
12224
- width: `${c[_]}%`,
12225
+ width: `${c[x]}%`,
12225
12226
  backgroundColor: f.color || "#ccc"
12226
12227
  },
12227
- children: _ > 0 && /* @__PURE__ */ u(
12228
+ children: x > 0 && /* @__PURE__ */ u(
12228
12229
  "div",
12229
12230
  {
12230
12231
  className: Pe.handle,
12231
- onMouseDown: (S) => b(_ - 1, S),
12232
- onTouchStart: (S) => b(_ - 1, S),
12232
+ onMouseDown: (S) => b(x - 1, S),
12233
+ onTouchStart: (S) => b(x - 1, S),
12233
12234
  role: "slider",
12234
- "aria-label": `Divisor entre ${(w = e[_ - 1]) == null ? void 0 : w.title} y ${f.title}`,
12235
- "aria-valuenow": Math.round(c[_]),
12235
+ "aria-label": `Divisor entre ${(w = e[x - 1]) == null ? void 0 : w.title} y ${f.title}`,
12236
+ "aria-valuenow": Math.round(c[x]),
12236
12237
  tabIndex: 0
12237
12238
  }
12238
12239
  )
12239
12240
  },
12240
- f.id ?? _
12241
+ f.id ?? x
12241
12242
  );
12242
12243
  }) }),
12243
- t === "bar" && /* @__PURE__ */ u("div", { className: Pe.labelsContainer, children: e.map((f, _) => /* @__PURE__ */ k(
12244
+ t === "bar" && /* @__PURE__ */ u("div", { className: Pe.labelsContainer, children: e.map((f, x) => /* @__PURE__ */ k(
12244
12245
  "div",
12245
12246
  {
12246
12247
  className: Pe.labelItem,
12247
- style: { width: `${c[_]}%` },
12248
+ style: { width: `${c[x]}%` },
12248
12249
  children: [
12249
12250
  /* @__PURE__ */ u(
12250
12251
  "span",
@@ -12255,19 +12256,19 @@ const cp = "_percentageBarContainer_lgkme_3", up = "_barContainer_lgkme_10", dp
12255
12256
  ),
12256
12257
  /* @__PURE__ */ u("span", { className: Pe.labelText, style: { color: a || "#fff" }, children: f.title }),
12257
12258
  /* @__PURE__ */ k("span", { className: Pe.labelValue, style: { color: l || "#fff" }, children: [
12258
- Ir(e, s)[_].toFixed(1),
12259
+ Ir(e, s)[x].toFixed(1),
12259
12260
  "%"
12260
12261
  ] }),
12261
12262
  n && f.translationFormula && /* @__PURE__ */ k("span", { className: Pe.labelTranslation, children: [
12262
12263
  "(",
12263
- Di(c[_], f.translationFormula),
12264
+ Di(c[x], f.translationFormula),
12264
12265
  ")"
12265
12266
  ] })
12266
12267
  ]
12267
12268
  },
12268
- f.id ?? _
12269
+ f.id ?? x
12269
12270
  )) }),
12270
- t === "list" && /* @__PURE__ */ u("div", { className: Pe.labelsListContainer, children: e.map((f, _) => /* @__PURE__ */ k(
12271
+ t === "list" && /* @__PURE__ */ u("div", { className: Pe.labelsListContainer, children: e.map((f, x) => /* @__PURE__ */ k(
12271
12272
  "div",
12272
12273
  {
12273
12274
  className: Pe.labelItem,
@@ -12281,17 +12282,17 @@ const cp = "_percentageBarContainer_lgkme_3", up = "_barContainer_lgkme_10", dp
12281
12282
  ),
12282
12283
  /* @__PURE__ */ u("span", { className: Pe.labelText, children: f.title }),
12283
12284
  /* @__PURE__ */ k("span", { className: Pe.labelValue, children: [
12284
- Ir(e, s)[_].toFixed(1),
12285
+ Ir(e, s)[x].toFixed(1),
12285
12286
  "%"
12286
12287
  ] }),
12287
12288
  n && f.translationFormula && /* @__PURE__ */ k("span", { className: Pe.labelTranslation, children: [
12288
12289
  "(",
12289
- Di(Ir(e, s)[_], f.translationFormula),
12290
+ Di(Ir(e, s)[x], f.translationFormula),
12290
12291
  ")"
12291
12292
  ] })
12292
12293
  ]
12293
12294
  },
12294
- f.id ?? _
12295
+ f.id ?? x
12295
12296
  )) })
12296
12297
  ] });
12297
12298
  };