@tmf_ciclica/ciclicastorybook 1.2.153 → 1.2.154
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +19 -23
- package/dist/index.es.js +1175 -1154
- package/package.json +12 -13
package/dist/index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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_r9cd6_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_r9cd6_3{width:250px}}._legendContainer_r9cd6_3 ._sectionContainer_r9cd6_24:not(:first-child){margin-top:30px;padding-top:20px;border-top:1px solid #e0e0e0}._legendContainer_r9cd6_3::-webkit-scrollbar{width:8px}._legendContainer_r9cd6_3::-webkit-scrollbar-track{background:transparent;margin:5px 0}._legendContainer_r9cd6_3::-webkit-scrollbar-thumb{background-color:#ebebeb;border-radius:20px}._legendContainer_r9cd6_3 ._closeButton_r9cd6_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_r9cd6_3 ._closeButton_r9cd6_43:before,._legendContainer_r9cd6_3 ._closeButton_r9cd6_43:after{content:"";position:absolute;width:16px;height:2px;background-color:#333}._legendContainer_r9cd6_3 ._closeButton_r9cd6_43:before{transform:rotate(45deg)}._legendContainer_r9cd6_3 ._closeButton_r9cd6_43:after{transform:rotate(-45deg)}._legendContainer_r9cd6_3 ._titleContainer_r9cd6_71{border-bottom:solid 1.5px #605b56}._legendContainer_r9cd6_3 ._titleContainer_r9cd6_71 h2{padding-bottom:16px}._legendContainer_r9cd6_3 ._infoContainer_r9cd6_77{padding-top:20px}._legendContainer_r9cd6_3 ._infoContainer_r9cd6_77 ul li{display:flex;flex-wrap:nowrap;justify-content:start;gap:0;flex-direction:row;align-items:center}._legendContainer_r9cd6_3 ._titleLegendList_r9cd6_88{padding-bottom:20px;margin-bottom:20px;border-bottom:solid 1.5px #605b56;padding-right:30px}._legendContainer_r9cd6_3 ._legendListContainer_r9cd6_94 ._gridContainer_r9cd6_94{display:grid;grid-template-columns:auto;column-gap:20px;row-gap:15px}._legendContainer_r9cd6_3 ._legendListContainer_r9cd6_94 ._gridContainer_r9cd6_94 ._elementLegendContainer_r9cd6_100{display:grid;grid-template-columns:23px auto;align-items:center;gap:5px}._legendContainer_r9cd6_3 ._legendListContainer_r9cd6_94 ._gridContainer_r9cd6_94 ._elementLegendContainer_r9cd6_100 ._colorDot_r9cd6_106{width:22px;height:22px;border-radius:50%;margin-right:10px}._legendContainer_r9cd6_3 ._legendListContainer_r9cd6_94 ._absoluteValueContainer_r9cd6_112{position:relative}._legendContainer_r9cd6_3 ._legendListContainer_r9cd6_94 ._absoluteValueContainer_r9cd6_112 ._absoluteValueColor_r9cd6_115{height:130px;width:22px;border-radius:20px}._legendContainer_r9cd6_3 ._legendListContainer_r9cd6_94 ._absoluteValueContainer_r9cd6_112 ._absoluteValueText_r9cd6_120{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_r9cd6_3 ._legendListContainer_r9cd6_94 ._noDataContainer_r9cd6_132{position:relative;margin-top:10px}._legendContainer_r9cd6_3 ._legendListContainer_r9cd6_94 ._noDataContainer_r9cd6_132 ._noData_r9cd6_132{height:22px;width:22px;border-radius:20px}._legendContainer_r9cd6_3 ._legendListContainer_r9cd6_94 ._noDataContainer_r9cd6_132 ._absoluteValueText_r9cd6_120{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_r9cd6_3 ._moreInfoContainer_r9cd6_153{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_oymb1_2{padding:15px;color:#92898a}._FeaturePopUp_oymb1_2 p{margin-bottom:10px;font-weight:600}._FeaturePopUp_oymb1_2 ._title_oymb1_10{font-weight:400;margin-right:5px;color:#92898a}._FeaturePopUp_oymb1_2 ._button_oymb1_15{background:#fdfdfd;width:100%;margin-top:8px;padding:8px 16px;color:#92898a;border:1px solid #92898a;border-radius:20px;font-size:14px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px}._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}._overlay_1vbid_2{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999;animation:_fadeIn_1vbid_1 .3s ease-out}._modal_1vbid_16{background:#fff;border-radius:12px;border:2px solid transparent;padding:24px 32px;min-width:300px;max-width:500px;box-shadow:0 4px 20px #0003;animation:_slideUp_1vbid_1 .3s ease-out;position:relative}._content_1vbid_28{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px}._iconContainer_1vbid_36{display:flex;align-items:center;justify-content:center;margin-bottom:8px}._iconSvg_1vbid_43{width:48px;height:48px}._textContainer_1vbid_48{display:flex;flex-direction:column;gap:8px;width:100%}._title_1vbid_55{font-size:20px;font-weight:600;margin:0;line-height:1.4}._message_1vbid_62{font-size:16px;margin:0;line-height:1.5;opacity:.9}._closeButton_1vbid_69{position:absolute;top:12px;right:12px;background:transparent;border:none;font-size:20px;cursor:pointer;padding:4px 8px;border-radius:4px;transition:background-color .2s}._closeButton_1vbid_69:hover{background-color:#0000001a}._closeButton_1vbid_69:focus{outline:2px solid currentColor;outline-offset:2px}@keyframes _fadeIn_1vbid_1{0%{opacity:0}to{opacity:1}}@keyframes _slideUp_1vbid_1{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}._errorModal_1vbid_107{background:#fff5f5;border-color:#feb2b2}._errorModal_1vbid_107 ._title_1vbid_55,._errorModal_1vbid_107 ._message_1vbid_62,._errorModal_1vbid_107 ._closeButton_1vbid_69,._errorModal_1vbid_107 ._iconSvg_1vbid_43{color:#c53030}._successModal_1vbid_120{background:#f0fff4;border-color:#9ae6b4}._successModal_1vbid_120 ._title_1vbid_55,._successModal_1vbid_120 ._message_1vbid_62,._successModal_1vbid_120 ._closeButton_1vbid_69,._successModal_1vbid_120 ._iconSvg_1vbid_43{color:#276749}._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 T, jsx as u, Fragment as hn } from "react/jsx-runtime";
|
|
3
3
|
import * as Q from "react";
|
|
4
|
-
import ie, { useState as
|
|
5
|
-
import { useTranslation as
|
|
4
|
+
import ie, { useState as se, useEffect as te, useMemo as qe, useRef as Ce, useLayoutEffect as Pi, useContext as Qt, useImperativeHandle as Qn, memo as Mt, forwardRef as Jr, cloneElement as Hs, useCallback as go } from "react";
|
|
5
|
+
import { useTranslation as ae, Trans as eo } from "react-i18next";
|
|
6
6
|
import { motion as to } from "framer-motion";
|
|
7
7
|
import { create as no } from "zustand";
|
|
8
8
|
import * as yr from "d3";
|
|
@@ -36,7 +36,7 @@ const oa = "_ambitSelector_mcunf_2", ia = "_header_mcunf_13", sa = "_nameDateCon
|
|
|
36
36
|
function wa(e) {
|
|
37
37
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
38
38
|
}
|
|
39
|
-
var Sn = { exports: {} }, kn = { exports: {} },
|
|
39
|
+
var Sn = { exports: {} }, kn = { exports: {} }, de = {};
|
|
40
40
|
/** @license React v16.13.1
|
|
41
41
|
* react-is.production.min.js
|
|
42
42
|
*
|
|
@@ -47,7 +47,7 @@ var Sn = { exports: {} }, kn = { exports: {} }, fe = {};
|
|
|
47
47
|
*/
|
|
48
48
|
var yo;
|
|
49
49
|
function Sa() {
|
|
50
|
-
if (yo) return
|
|
50
|
+
if (yo) return de;
|
|
51
51
|
yo = 1;
|
|
52
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, x = e ? Symbol.for("react.responder") : 60118, w = e ? Symbol.for("react.scope") : 60119;
|
|
53
53
|
function N(C) {
|
|
@@ -83,35 +83,35 @@ function Sa() {
|
|
|
83
83
|
function v(C) {
|
|
84
84
|
return N(C) === d;
|
|
85
85
|
}
|
|
86
|
-
return
|
|
86
|
+
return de.AsyncMode = c, de.ConcurrentMode = d, de.ContextConsumer = l, de.ContextProvider = a, de.Element = t, de.ForwardRef = m, de.Fragment = r, de.Lazy = b, de.Memo = h, de.Portal = n, de.Profiler = s, de.StrictMode = o, de.Suspense = g, de.isAsyncMode = function(C) {
|
|
87
87
|
return v(C) || N(C) === c;
|
|
88
|
-
},
|
|
88
|
+
}, de.isConcurrentMode = v, de.isContextConsumer = function(C) {
|
|
89
89
|
return N(C) === l;
|
|
90
|
-
},
|
|
90
|
+
}, de.isContextProvider = function(C) {
|
|
91
91
|
return N(C) === a;
|
|
92
|
-
},
|
|
92
|
+
}, de.isElement = function(C) {
|
|
93
93
|
return typeof C == "object" && C !== null && C.$$typeof === t;
|
|
94
|
-
},
|
|
94
|
+
}, de.isForwardRef = function(C) {
|
|
95
95
|
return N(C) === m;
|
|
96
|
-
},
|
|
96
|
+
}, de.isFragment = function(C) {
|
|
97
97
|
return N(C) === r;
|
|
98
|
-
},
|
|
98
|
+
}, de.isLazy = function(C) {
|
|
99
99
|
return N(C) === b;
|
|
100
|
-
},
|
|
100
|
+
}, de.isMemo = function(C) {
|
|
101
101
|
return N(C) === h;
|
|
102
|
-
},
|
|
102
|
+
}, de.isPortal = function(C) {
|
|
103
103
|
return N(C) === n;
|
|
104
|
-
},
|
|
104
|
+
}, de.isProfiler = function(C) {
|
|
105
105
|
return N(C) === s;
|
|
106
|
-
},
|
|
106
|
+
}, de.isStrictMode = function(C) {
|
|
107
107
|
return N(C) === o;
|
|
108
|
-
},
|
|
108
|
+
}, de.isSuspense = function(C) {
|
|
109
109
|
return N(C) === g;
|
|
110
|
-
},
|
|
110
|
+
}, de.isValidElementType = function(C) {
|
|
111
111
|
return typeof C == "string" || typeof C == "function" || C === r || C === d || C === s || C === o || C === g || C === y || typeof C == "object" && C !== null && (C.$$typeof === b || C.$$typeof === h || C.$$typeof === a || C.$$typeof === l || C.$$typeof === m || C.$$typeof === _ || C.$$typeof === x || C.$$typeof === w || C.$$typeof === f);
|
|
112
|
-
},
|
|
112
|
+
}, de.typeOf = N, de;
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var fe = {};
|
|
115
115
|
/** @license React v16.13.1
|
|
116
116
|
* react-is.development.js
|
|
117
117
|
*
|
|
@@ -124,84 +124,84 @@ var bo;
|
|
|
124
124
|
function ka() {
|
|
125
125
|
return bo || (bo = 1, process.env.NODE_ENV !== "production" && function() {
|
|
126
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, x = e ? Symbol.for("react.responder") : 60118, w = e ? Symbol.for("react.scope") : 60119;
|
|
127
|
-
function N(
|
|
128
|
-
return typeof
|
|
129
|
-
|
|
130
|
-
}
|
|
131
|
-
function v(
|
|
132
|
-
if (typeof
|
|
133
|
-
var
|
|
134
|
-
switch (
|
|
127
|
+
function N(F) {
|
|
128
|
+
return typeof F == "string" || typeof F == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
129
|
+
F === r || F === d || F === s || F === o || F === g || F === y || typeof F == "object" && F !== null && (F.$$typeof === b || F.$$typeof === h || F.$$typeof === a || F.$$typeof === l || F.$$typeof === m || F.$$typeof === _ || F.$$typeof === x || F.$$typeof === w || F.$$typeof === f);
|
|
130
|
+
}
|
|
131
|
+
function v(F) {
|
|
132
|
+
if (typeof F == "object" && F !== null) {
|
|
133
|
+
var ue = F.$$typeof;
|
|
134
|
+
switch (ue) {
|
|
135
135
|
case t:
|
|
136
|
-
var
|
|
137
|
-
switch (
|
|
136
|
+
var Se = F.type;
|
|
137
|
+
switch (Se) {
|
|
138
138
|
case c:
|
|
139
139
|
case d:
|
|
140
140
|
case r:
|
|
141
141
|
case s:
|
|
142
142
|
case o:
|
|
143
143
|
case g:
|
|
144
|
-
return
|
|
144
|
+
return Se;
|
|
145
145
|
default:
|
|
146
|
-
var
|
|
147
|
-
switch (
|
|
146
|
+
var pt = Se && Se.$$typeof;
|
|
147
|
+
switch (pt) {
|
|
148
148
|
case l:
|
|
149
149
|
case m:
|
|
150
150
|
case b:
|
|
151
151
|
case h:
|
|
152
152
|
case a:
|
|
153
|
-
return
|
|
153
|
+
return pt;
|
|
154
154
|
default:
|
|
155
|
-
return
|
|
155
|
+
return ue;
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
case n:
|
|
159
|
-
return
|
|
159
|
+
return ue;
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
|
-
var C = c, S = d, O = l, k = a,
|
|
164
|
-
function
|
|
165
|
-
return
|
|
163
|
+
var C = c, S = d, O = l, k = a, $ = t, V = m, R = r, p = b, A = h, E = n, z = s, q = o, Y = g, U = !1;
|
|
164
|
+
function be(F) {
|
|
165
|
+
return U || (U = !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.")), M(F) || v(F) === c;
|
|
166
166
|
}
|
|
167
|
-
function
|
|
168
|
-
return v(
|
|
167
|
+
function M(F) {
|
|
168
|
+
return v(F) === d;
|
|
169
169
|
}
|
|
170
|
-
function
|
|
171
|
-
return v(
|
|
170
|
+
function D(F) {
|
|
171
|
+
return v(F) === l;
|
|
172
172
|
}
|
|
173
|
-
function
|
|
174
|
-
return v(
|
|
173
|
+
function K(F) {
|
|
174
|
+
return v(F) === a;
|
|
175
175
|
}
|
|
176
|
-
function
|
|
177
|
-
return typeof
|
|
176
|
+
function J(F) {
|
|
177
|
+
return typeof F == "object" && F !== null && F.$$typeof === t;
|
|
178
178
|
}
|
|
179
|
-
function B(
|
|
180
|
-
return v(
|
|
179
|
+
function B(F) {
|
|
180
|
+
return v(F) === m;
|
|
181
181
|
}
|
|
182
|
-
function Z(
|
|
183
|
-
return v(
|
|
182
|
+
function Z(F) {
|
|
183
|
+
return v(F) === r;
|
|
184
184
|
}
|
|
185
|
-
function
|
|
186
|
-
return v(
|
|
185
|
+
function re(F) {
|
|
186
|
+
return v(F) === b;
|
|
187
187
|
}
|
|
188
|
-
function
|
|
189
|
-
return v(
|
|
188
|
+
function ne(F) {
|
|
189
|
+
return v(F) === h;
|
|
190
190
|
}
|
|
191
|
-
function
|
|
192
|
-
return v(
|
|
191
|
+
function oe(F) {
|
|
192
|
+
return v(F) === n;
|
|
193
193
|
}
|
|
194
|
-
function
|
|
195
|
-
return v(
|
|
194
|
+
function ee(F) {
|
|
195
|
+
return v(F) === s;
|
|
196
196
|
}
|
|
197
|
-
function
|
|
198
|
-
return v(
|
|
197
|
+
function H(F) {
|
|
198
|
+
return v(F) === o;
|
|
199
199
|
}
|
|
200
|
-
function
|
|
201
|
-
return v(
|
|
200
|
+
function _e(F) {
|
|
201
|
+
return v(F) === g;
|
|
202
202
|
}
|
|
203
|
-
|
|
204
|
-
}()),
|
|
203
|
+
fe.AsyncMode = C, fe.ConcurrentMode = S, fe.ContextConsumer = O, fe.ContextProvider = k, fe.Element = $, fe.ForwardRef = V, fe.Fragment = R, fe.Lazy = p, fe.Memo = A, fe.Portal = E, fe.Profiler = z, fe.StrictMode = q, fe.Suspense = Y, fe.isAsyncMode = be, fe.isConcurrentMode = M, fe.isContextConsumer = D, fe.isContextProvider = K, fe.isElement = J, fe.isForwardRef = B, fe.isFragment = Z, fe.isLazy = re, fe.isMemo = ne, fe.isPortal = oe, fe.isProfiler = ee, fe.isStrictMode = H, fe.isSuspense = _e, fe.isValidElementType = N, fe.typeOf = v;
|
|
204
|
+
}()), fe;
|
|
205
205
|
}
|
|
206
206
|
var vo;
|
|
207
207
|
function Wi() {
|
|
@@ -337,10 +337,10 @@ function Na() {
|
|
|
337
337
|
}
|
|
338
338
|
return wr = function(l, c) {
|
|
339
339
|
var d = typeof Symbol == "function" && Symbol.iterator, m = "@@iterator";
|
|
340
|
-
function g(
|
|
341
|
-
var
|
|
342
|
-
if (typeof
|
|
343
|
-
return
|
|
340
|
+
function g(M) {
|
|
341
|
+
var D = M && (d && M[d] || M[m]);
|
|
342
|
+
if (typeof D == "function")
|
|
343
|
+
return D;
|
|
344
344
|
}
|
|
345
345
|
var y = "<<anonymous>>", h = {
|
|
346
346
|
array: x("array"),
|
|
@@ -359,238 +359,238 @@ function Na() {
|
|
|
359
359
|
node: V(),
|
|
360
360
|
objectOf: k,
|
|
361
361
|
oneOf: O,
|
|
362
|
-
oneOfType:
|
|
362
|
+
oneOfType: $,
|
|
363
363
|
shape: p,
|
|
364
364
|
exact: A
|
|
365
365
|
};
|
|
366
|
-
function b(
|
|
367
|
-
return
|
|
366
|
+
function b(M, D) {
|
|
367
|
+
return M === D ? M !== 0 || 1 / M === 1 / D : M !== M && D !== D;
|
|
368
368
|
}
|
|
369
|
-
function f(
|
|
370
|
-
this.message =
|
|
369
|
+
function f(M, D) {
|
|
370
|
+
this.message = M, this.data = D && typeof D == "object" ? D : {}, this.stack = "";
|
|
371
371
|
}
|
|
372
372
|
f.prototype = Error.prototype;
|
|
373
|
-
function _(
|
|
373
|
+
function _(M) {
|
|
374
374
|
if (process.env.NODE_ENV !== "production")
|
|
375
|
-
var
|
|
376
|
-
function
|
|
377
|
-
if (
|
|
375
|
+
var D = {}, K = 0;
|
|
376
|
+
function J(Z, re, ne, oe, ee, H, _e) {
|
|
377
|
+
if (oe = oe || y, H = H || ne, _e !== n) {
|
|
378
378
|
if (c) {
|
|
379
|
-
var
|
|
379
|
+
var F = new Error(
|
|
380
380
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
381
381
|
);
|
|
382
|
-
throw
|
|
382
|
+
throw F.name = "Invariant Violation", F;
|
|
383
383
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
384
|
-
var
|
|
385
|
-
!
|
|
386
|
-
|
|
387
|
-
"You are manually calling a React.PropTypes validation function for the `" +
|
|
388
|
-
),
|
|
384
|
+
var ue = oe + ":" + ne;
|
|
385
|
+
!D[ue] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
386
|
+
K < 3 && (s(
|
|
387
|
+
"You are manually calling a React.PropTypes validation function for the `" + H + "` prop on `" + oe + "`. 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
|
+
), D[ue] = !0, K++);
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
|
-
return ne
|
|
391
|
+
return re[ne] == null ? Z ? re[ne] === null ? new f("The " + ee + " `" + H + "` is marked as required " + ("in `" + oe + "`, but its value is `null`.")) : new f("The " + ee + " `" + H + "` is marked as required in " + ("`" + oe + "`, but its value is `undefined`.")) : null : M(re, ne, oe, ee, H);
|
|
392
392
|
}
|
|
393
|
-
var B =
|
|
394
|
-
return B.isRequired =
|
|
395
|
-
}
|
|
396
|
-
function x(
|
|
397
|
-
function
|
|
398
|
-
var
|
|
399
|
-
if (
|
|
400
|
-
var
|
|
393
|
+
var B = J.bind(null, !1);
|
|
394
|
+
return B.isRequired = J.bind(null, !0), B;
|
|
395
|
+
}
|
|
396
|
+
function x(M) {
|
|
397
|
+
function D(K, J, B, Z, re, ne) {
|
|
398
|
+
var oe = K[J], ee = q(oe);
|
|
399
|
+
if (ee !== M) {
|
|
400
|
+
var H = Y(oe);
|
|
401
401
|
return new f(
|
|
402
|
-
"Invalid " + Z + " `" +
|
|
403
|
-
{ expectedType:
|
|
402
|
+
"Invalid " + Z + " `" + re + "` of type " + ("`" + H + "` supplied to `" + B + "`, expected ") + ("`" + M + "`."),
|
|
403
|
+
{ expectedType: M }
|
|
404
404
|
);
|
|
405
405
|
}
|
|
406
406
|
return null;
|
|
407
407
|
}
|
|
408
|
-
return _(
|
|
408
|
+
return _(D);
|
|
409
409
|
}
|
|
410
410
|
function w() {
|
|
411
411
|
return _(a);
|
|
412
412
|
}
|
|
413
|
-
function N(
|
|
414
|
-
function
|
|
415
|
-
if (typeof
|
|
416
|
-
return new f("Property `" +
|
|
417
|
-
var
|
|
418
|
-
if (!Array.isArray(
|
|
419
|
-
var
|
|
420
|
-
return new f("Invalid " + Z + " `" +
|
|
413
|
+
function N(M) {
|
|
414
|
+
function D(K, J, B, Z, re) {
|
|
415
|
+
if (typeof M != "function")
|
|
416
|
+
return new f("Property `" + re + "` of component `" + B + "` has invalid PropType notation inside arrayOf.");
|
|
417
|
+
var ne = K[J];
|
|
418
|
+
if (!Array.isArray(ne)) {
|
|
419
|
+
var oe = q(ne);
|
|
420
|
+
return new f("Invalid " + Z + " `" + re + "` of type " + ("`" + oe + "` supplied to `" + B + "`, expected an array."));
|
|
421
421
|
}
|
|
422
|
-
for (var
|
|
423
|
-
var
|
|
424
|
-
if (
|
|
425
|
-
return
|
|
422
|
+
for (var ee = 0; ee < ne.length; ee++) {
|
|
423
|
+
var H = M(ne, ee, B, Z, re + "[" + ee + "]", n);
|
|
424
|
+
if (H instanceof Error)
|
|
425
|
+
return H;
|
|
426
426
|
}
|
|
427
427
|
return null;
|
|
428
428
|
}
|
|
429
|
-
return _(
|
|
429
|
+
return _(D);
|
|
430
430
|
}
|
|
431
431
|
function v() {
|
|
432
|
-
function
|
|
433
|
-
var
|
|
434
|
-
if (!l(
|
|
435
|
-
var
|
|
436
|
-
return new f("Invalid " + B + " `" + Z + "` of type " + ("`" +
|
|
432
|
+
function M(D, K, J, B, Z) {
|
|
433
|
+
var re = D[K];
|
|
434
|
+
if (!l(re)) {
|
|
435
|
+
var ne = q(re);
|
|
436
|
+
return new f("Invalid " + B + " `" + Z + "` of type " + ("`" + ne + "` supplied to `" + J + "`, expected a single ReactElement."));
|
|
437
437
|
}
|
|
438
438
|
return null;
|
|
439
439
|
}
|
|
440
|
-
return _(
|
|
440
|
+
return _(M);
|
|
441
441
|
}
|
|
442
442
|
function C() {
|
|
443
|
-
function
|
|
444
|
-
var
|
|
445
|
-
if (!e.isValidElementType(
|
|
446
|
-
var
|
|
447
|
-
return new f("Invalid " + B + " `" + Z + "` of type " + ("`" +
|
|
443
|
+
function M(D, K, J, B, Z) {
|
|
444
|
+
var re = D[K];
|
|
445
|
+
if (!e.isValidElementType(re)) {
|
|
446
|
+
var ne = q(re);
|
|
447
|
+
return new f("Invalid " + B + " `" + Z + "` of type " + ("`" + ne + "` supplied to `" + J + "`, expected a single ReactElement type."));
|
|
448
448
|
}
|
|
449
449
|
return null;
|
|
450
450
|
}
|
|
451
|
-
return _(
|
|
451
|
+
return _(M);
|
|
452
452
|
}
|
|
453
|
-
function S(
|
|
454
|
-
function
|
|
455
|
-
if (!(J
|
|
456
|
-
var
|
|
457
|
-
return new f("Invalid " + Z + " `" +
|
|
453
|
+
function S(M) {
|
|
454
|
+
function D(K, J, B, Z, re) {
|
|
455
|
+
if (!(K[J] instanceof M)) {
|
|
456
|
+
var ne = M.name || y, oe = be(K[J]);
|
|
457
|
+
return new f("Invalid " + Z + " `" + re + "` of type " + ("`" + oe + "` supplied to `" + B + "`, expected ") + ("instance of `" + ne + "`."));
|
|
458
458
|
}
|
|
459
459
|
return null;
|
|
460
460
|
}
|
|
461
|
-
return _(
|
|
461
|
+
return _(D);
|
|
462
462
|
}
|
|
463
|
-
function O(
|
|
464
|
-
if (!Array.isArray(
|
|
463
|
+
function O(M) {
|
|
464
|
+
if (!Array.isArray(M))
|
|
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
|
|
469
|
-
for (var
|
|
470
|
-
if (b(
|
|
468
|
+
function D(K, J, B, Z, re) {
|
|
469
|
+
for (var ne = K[J], oe = 0; oe < M.length; oe++)
|
|
470
|
+
if (b(ne, M[oe]))
|
|
471
471
|
return null;
|
|
472
|
-
var
|
|
473
|
-
var
|
|
474
|
-
return
|
|
472
|
+
var ee = JSON.stringify(M, function(_e, F) {
|
|
473
|
+
var ue = Y(F);
|
|
474
|
+
return ue === "symbol" ? String(F) : F;
|
|
475
475
|
});
|
|
476
|
-
return new f("Invalid " + Z + " `" +
|
|
476
|
+
return new f("Invalid " + Z + " `" + re + "` of value `" + String(ne) + "` " + ("supplied to `" + B + "`, expected one of " + ee + "."));
|
|
477
477
|
}
|
|
478
|
-
return _(
|
|
479
|
-
}
|
|
480
|
-
function k(
|
|
481
|
-
function
|
|
482
|
-
if (typeof
|
|
483
|
-
return new f("Property `" +
|
|
484
|
-
var
|
|
485
|
-
if (
|
|
486
|
-
return new f("Invalid " + Z + " `" +
|
|
487
|
-
for (var
|
|
488
|
-
if (r(
|
|
489
|
-
var
|
|
490
|
-
if (
|
|
491
|
-
return
|
|
478
|
+
return _(D);
|
|
479
|
+
}
|
|
480
|
+
function k(M) {
|
|
481
|
+
function D(K, J, B, Z, re) {
|
|
482
|
+
if (typeof M != "function")
|
|
483
|
+
return new f("Property `" + re + "` of component `" + B + "` has invalid PropType notation inside objectOf.");
|
|
484
|
+
var ne = K[J], oe = q(ne);
|
|
485
|
+
if (oe !== "object")
|
|
486
|
+
return new f("Invalid " + Z + " `" + re + "` of type " + ("`" + oe + "` supplied to `" + B + "`, expected an object."));
|
|
487
|
+
for (var ee in ne)
|
|
488
|
+
if (r(ne, ee)) {
|
|
489
|
+
var H = M(ne, ee, B, Z, re + "." + ee, n);
|
|
490
|
+
if (H instanceof Error)
|
|
491
|
+
return H;
|
|
492
492
|
}
|
|
493
493
|
return null;
|
|
494
494
|
}
|
|
495
|
-
return _(
|
|
495
|
+
return _(D);
|
|
496
496
|
}
|
|
497
|
-
function
|
|
498
|
-
if (!Array.isArray(
|
|
497
|
+
function $(M) {
|
|
498
|
+
if (!Array.isArray(M))
|
|
499
499
|
return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), a;
|
|
500
|
-
for (var
|
|
501
|
-
var
|
|
502
|
-
if (typeof
|
|
500
|
+
for (var D = 0; D < M.length; D++) {
|
|
501
|
+
var K = M[D];
|
|
502
|
+
if (typeof K != "function")
|
|
503
503
|
return s(
|
|
504
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
504
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + U(K) + " at index " + D + "."
|
|
505
505
|
), a;
|
|
506
506
|
}
|
|
507
|
-
function
|
|
508
|
-
for (var
|
|
509
|
-
var
|
|
510
|
-
if (
|
|
507
|
+
function J(B, Z, re, ne, oe) {
|
|
508
|
+
for (var ee = [], H = 0; H < M.length; H++) {
|
|
509
|
+
var _e = M[H], F = _e(B, Z, re, ne, oe, n);
|
|
510
|
+
if (F == null)
|
|
511
511
|
return null;
|
|
512
|
-
|
|
512
|
+
F.data && r(F.data, "expectedType") && ee.push(F.data.expectedType);
|
|
513
513
|
}
|
|
514
|
-
var
|
|
515
|
-
return new f("Invalid " +
|
|
514
|
+
var ue = ee.length > 0 ? ", expected one of type [" + ee.join(", ") + "]" : "";
|
|
515
|
+
return new f("Invalid " + ne + " `" + oe + "` supplied to " + ("`" + re + "`" + ue + "."));
|
|
516
516
|
}
|
|
517
|
-
return _(
|
|
517
|
+
return _(J);
|
|
518
518
|
}
|
|
519
519
|
function V() {
|
|
520
|
-
function
|
|
521
|
-
return
|
|
520
|
+
function M(D, K, J, B, Z) {
|
|
521
|
+
return E(D[K]) ? null : new f("Invalid " + B + " `" + Z + "` supplied to " + ("`" + J + "`, expected a ReactNode."));
|
|
522
522
|
}
|
|
523
|
-
return _(
|
|
523
|
+
return _(M);
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function R(M, D, K, J, B) {
|
|
526
526
|
return new f(
|
|
527
|
-
(
|
|
527
|
+
(M || "React class") + ": " + D + " type `" + K + "." + J + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + B + "`."
|
|
528
528
|
);
|
|
529
529
|
}
|
|
530
|
-
function p(
|
|
531
|
-
function
|
|
532
|
-
var
|
|
533
|
-
if (
|
|
534
|
-
return new f("Invalid " + Z + " `" +
|
|
535
|
-
for (var
|
|
536
|
-
var
|
|
537
|
-
if (typeof
|
|
538
|
-
return
|
|
539
|
-
var
|
|
540
|
-
if (
|
|
541
|
-
return
|
|
530
|
+
function p(M) {
|
|
531
|
+
function D(K, J, B, Z, re) {
|
|
532
|
+
var ne = K[J], oe = q(ne);
|
|
533
|
+
if (oe !== "object")
|
|
534
|
+
return new f("Invalid " + Z + " `" + re + "` of type `" + oe + "` " + ("supplied to `" + B + "`, expected `object`."));
|
|
535
|
+
for (var ee in M) {
|
|
536
|
+
var H = M[ee];
|
|
537
|
+
if (typeof H != "function")
|
|
538
|
+
return R(B, Z, re, ee, Y(H));
|
|
539
|
+
var _e = H(ne, ee, B, Z, re + "." + ee, n);
|
|
540
|
+
if (_e)
|
|
541
|
+
return _e;
|
|
542
542
|
}
|
|
543
543
|
return null;
|
|
544
544
|
}
|
|
545
|
-
return _(
|
|
546
|
-
}
|
|
547
|
-
function A(
|
|
548
|
-
function
|
|
549
|
-
var
|
|
550
|
-
if (
|
|
551
|
-
return new f("Invalid " + Z + " `" +
|
|
552
|
-
var
|
|
553
|
-
for (var
|
|
554
|
-
var
|
|
555
|
-
if (r(
|
|
556
|
-
return
|
|
557
|
-
if (!
|
|
545
|
+
return _(D);
|
|
546
|
+
}
|
|
547
|
+
function A(M) {
|
|
548
|
+
function D(K, J, B, Z, re) {
|
|
549
|
+
var ne = K[J], oe = q(ne);
|
|
550
|
+
if (oe !== "object")
|
|
551
|
+
return new f("Invalid " + Z + " `" + re + "` of type `" + oe + "` " + ("supplied to `" + B + "`, expected `object`."));
|
|
552
|
+
var ee = t({}, K[J], M);
|
|
553
|
+
for (var H in ee) {
|
|
554
|
+
var _e = M[H];
|
|
555
|
+
if (r(M, H) && typeof _e != "function")
|
|
556
|
+
return R(B, Z, re, H, Y(_e));
|
|
557
|
+
if (!_e)
|
|
558
558
|
return new f(
|
|
559
|
-
"Invalid " + Z + " `" +
|
|
560
|
-
Valid keys: ` + JSON.stringify(Object.keys(
|
|
559
|
+
"Invalid " + Z + " `" + re + "` key `" + H + "` supplied to `" + B + "`.\nBad object: " + JSON.stringify(K[J], null, " ") + `
|
|
560
|
+
Valid keys: ` + JSON.stringify(Object.keys(M), null, " ")
|
|
561
561
|
);
|
|
562
|
-
var
|
|
563
|
-
if (
|
|
564
|
-
return
|
|
562
|
+
var F = _e(ne, H, B, Z, re + "." + H, n);
|
|
563
|
+
if (F)
|
|
564
|
+
return F;
|
|
565
565
|
}
|
|
566
566
|
return null;
|
|
567
567
|
}
|
|
568
|
-
return _(
|
|
568
|
+
return _(D);
|
|
569
569
|
}
|
|
570
|
-
function
|
|
571
|
-
switch (typeof
|
|
570
|
+
function E(M) {
|
|
571
|
+
switch (typeof M) {
|
|
572
572
|
case "number":
|
|
573
573
|
case "string":
|
|
574
574
|
case "undefined":
|
|
575
575
|
return !0;
|
|
576
576
|
case "boolean":
|
|
577
|
-
return !
|
|
577
|
+
return !M;
|
|
578
578
|
case "object":
|
|
579
|
-
if (Array.isArray(
|
|
580
|
-
return
|
|
581
|
-
if (
|
|
579
|
+
if (Array.isArray(M))
|
|
580
|
+
return M.every(E);
|
|
581
|
+
if (M === null || l(M))
|
|
582
582
|
return !0;
|
|
583
|
-
var
|
|
584
|
-
if (
|
|
585
|
-
var
|
|
586
|
-
if (
|
|
587
|
-
for (; !(
|
|
588
|
-
if (
|
|
583
|
+
var D = g(M);
|
|
584
|
+
if (D) {
|
|
585
|
+
var K = D.call(M), J;
|
|
586
|
+
if (D !== M.entries) {
|
|
587
|
+
for (; !(J = K.next()).done; )
|
|
588
|
+
if (!E(J.value))
|
|
589
589
|
return !1;
|
|
590
590
|
} else
|
|
591
|
-
for (; !(
|
|
592
|
-
var B =
|
|
593
|
-
if (B &&
|
|
591
|
+
for (; !(J = K.next()).done; ) {
|
|
592
|
+
var B = J.value;
|
|
593
|
+
if (B && !E(B[1]))
|
|
594
594
|
return !1;
|
|
595
595
|
}
|
|
596
596
|
} else
|
|
@@ -600,41 +600,41 @@ Valid keys: ` + JSON.stringify(Object.keys(I), null, " ")
|
|
|
600
600
|
return !1;
|
|
601
601
|
}
|
|
602
602
|
}
|
|
603
|
-
function z(
|
|
604
|
-
return
|
|
603
|
+
function z(M, D) {
|
|
604
|
+
return M === "symbol" ? !0 : D ? D["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && D instanceof Symbol : !1;
|
|
605
605
|
}
|
|
606
|
-
function
|
|
607
|
-
var
|
|
608
|
-
return Array.isArray(
|
|
606
|
+
function q(M) {
|
|
607
|
+
var D = typeof M;
|
|
608
|
+
return Array.isArray(M) ? "array" : M instanceof RegExp ? "object" : z(D, M) ? "symbol" : D;
|
|
609
609
|
}
|
|
610
|
-
function Y(
|
|
611
|
-
if (typeof
|
|
612
|
-
return "" +
|
|
613
|
-
var
|
|
614
|
-
if (
|
|
615
|
-
if (
|
|
610
|
+
function Y(M) {
|
|
611
|
+
if (typeof M > "u" || M === null)
|
|
612
|
+
return "" + M;
|
|
613
|
+
var D = q(M);
|
|
614
|
+
if (D === "object") {
|
|
615
|
+
if (M instanceof Date)
|
|
616
616
|
return "date";
|
|
617
|
-
if (
|
|
617
|
+
if (M instanceof RegExp)
|
|
618
618
|
return "regexp";
|
|
619
619
|
}
|
|
620
|
-
return
|
|
620
|
+
return D;
|
|
621
621
|
}
|
|
622
|
-
function
|
|
623
|
-
var
|
|
624
|
-
switch (
|
|
622
|
+
function U(M) {
|
|
623
|
+
var D = Y(M);
|
|
624
|
+
switch (D) {
|
|
625
625
|
case "array":
|
|
626
626
|
case "object":
|
|
627
|
-
return "an " +
|
|
627
|
+
return "an " + D;
|
|
628
628
|
case "boolean":
|
|
629
629
|
case "date":
|
|
630
630
|
case "regexp":
|
|
631
|
-
return "a " +
|
|
631
|
+
return "a " + D;
|
|
632
632
|
default:
|
|
633
|
-
return
|
|
633
|
+
return D;
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
|
-
function
|
|
637
|
-
return !
|
|
636
|
+
function be(M) {
|
|
637
|
+
return !M.constructor || !M.constructor.name ? y : M.constructor.name;
|
|
638
638
|
}
|
|
639
639
|
return h.checkPropTypes = o, h.resetWarningCache = o.resetWarningCache, h.PropTypes = h, h;
|
|
640
640
|
}, wr;
|
|
@@ -799,8 +799,8 @@ const $o = "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 } =
|
|
803
|
-
|
|
802
|
+
const { t: b } = ae(), [f, _] = se(e);
|
|
803
|
+
te(() => {
|
|
804
804
|
e && _(e);
|
|
805
805
|
}, [e]);
|
|
806
806
|
const x = (w) => {
|
|
@@ -896,11 +896,11 @@ const Da = "_buttonsContainer_1ks7x_2", Ia = "_vertical_1ks7x_6", Va = "_horizon
|
|
|
896
896
|
top: ja,
|
|
897
897
|
bottom: qa,
|
|
898
898
|
right: Wa
|
|
899
|
-
},
|
|
900
|
-
const { t: r } =
|
|
899
|
+
}, ct = ({ text: e, position: t, styleCustom: n = null }) => {
|
|
900
|
+
const { t: r } = ae();
|
|
901
901
|
return /* @__PURE__ */ u("div", { className: `tooltip ${Ua[t]}`, style: n, children: r(e) });
|
|
902
902
|
};
|
|
903
|
-
|
|
903
|
+
ct.propTypes = {
|
|
904
904
|
text: i.string.isRequired,
|
|
905
905
|
position: i.oneOf(["top", "bottom", "left", "right"]).isRequired,
|
|
906
906
|
styleCustom: i.object
|
|
@@ -913,7 +913,7 @@ const Za = ({
|
|
|
913
913
|
useTooltip: o = !1,
|
|
914
914
|
tooltipPosition: s = "top"
|
|
915
915
|
}) => {
|
|
916
|
-
const { t: a } =
|
|
916
|
+
const { t: a } = ae();
|
|
917
917
|
return /* @__PURE__ */ u(
|
|
918
918
|
"div",
|
|
919
919
|
{
|
|
@@ -943,7 +943,7 @@ const Za = ({
|
|
|
943
943
|
children: f
|
|
944
944
|
}
|
|
945
945
|
),
|
|
946
|
-
o && /* @__PURE__ */ u(
|
|
946
|
+
o && /* @__PURE__ */ u(ct, { text: y, position: s })
|
|
947
947
|
] }, c);
|
|
948
948
|
})
|
|
949
949
|
}
|
|
@@ -986,7 +986,7 @@ const Ha = "_indicatorsCategory_11gdl_2", Ka = "_title_11gdl_6", Ga = "_mainTitl
|
|
|
986
986
|
titleMarginChildren: d = 15,
|
|
987
987
|
mainTitle: m = !1
|
|
988
988
|
}) => {
|
|
989
|
-
const { t: g } =
|
|
989
|
+
const { t: g } = ae();
|
|
990
990
|
return /* @__PURE__ */ T(
|
|
991
991
|
to.div,
|
|
992
992
|
{
|
|
@@ -1043,7 +1043,7 @@ const um = () => /* @__PURE__ */ u("div", { children: "EditAmbit" }), Ya = "data
|
|
|
1043
1043
|
inputsColor: "#605B56",
|
|
1044
1044
|
activeFiltersType: null
|
|
1045
1045
|
})), Hi = ({ title: e, onClick: t, isOpen: n = !0, textColor: r = "#ffffff", backgroundColor: o = "#605B5680", activeColor: s, fontColor: a = "#605B56" }) => {
|
|
1046
|
-
const { t: l } =
|
|
1046
|
+
const { t: l } = ae(), { tematicalFiltersSelected: c, activeFiltersType: d } = ve((y) => y), m = (y) => {
|
|
1047
1047
|
ve.setState((h) => ({
|
|
1048
1048
|
tematicalFiltersSelected: h.tematicalFiltersSelected.filter(
|
|
1049
1049
|
(b) => b.code !== y
|
|
@@ -1094,7 +1094,7 @@ const Ja = "_layersList_cn837_25", el = "_layerName_cn837_34", Eo = {
|
|
|
1094
1094
|
geoLayers: s = [],
|
|
1095
1095
|
onGeoLayersChange: a
|
|
1096
1096
|
}) => {
|
|
1097
|
-
const { t: l } =
|
|
1097
|
+
const { t: l } = ae(), { activeFiltersType: c } = ve((g) => g), d = () => {
|
|
1098
1098
|
c === "geographical" ? ve.setState({ activeFiltersType: null }) : ve.setState({ activeFiltersType: "geographical" });
|
|
1099
1099
|
}, m = (g) => {
|
|
1100
1100
|
const y = s.map((h) => ({
|
|
@@ -1145,7 +1145,7 @@ const tl = "_checkboxContainer_1nxra_2", nl = {
|
|
|
1145
1145
|
indicator: r,
|
|
1146
1146
|
value: o
|
|
1147
1147
|
}) => {
|
|
1148
|
-
const { t: s } =
|
|
1148
|
+
const { t: s } = ae(), { title: a } = r || {}, { fontColor: l, inputsColor: c } = ve((d) => d);
|
|
1149
1149
|
return /* @__PURE__ */ T(
|
|
1150
1150
|
"div",
|
|
1151
1151
|
{
|
|
@@ -1499,10 +1499,10 @@ const ol = "_container_4u41i_2", il = "_unitLabel_4u41i_8", sl = "_slider_4u41i_
|
|
|
1499
1499
|
defaultValue: l,
|
|
1500
1500
|
isDate: c
|
|
1501
1501
|
}) => {
|
|
1502
|
-
const { t: d } =
|
|
1502
|
+
const { t: d } = ae(), m = c ? new Date(e).getTime() : null, g = c ? new Date(t).getTime() : null, [y, h] = se(c ? [m, g] : [e, t]), b = (f) => {
|
|
1503
1503
|
h(f), r == null || r({ min: f[0], max: f[1] });
|
|
1504
1504
|
};
|
|
1505
|
-
return
|
|
1505
|
+
return te(() => {
|
|
1506
1506
|
l || h(c ? [m, g] : [e, t]);
|
|
1507
1507
|
}, [l, c]), /* @__PURE__ */ T(
|
|
1508
1508
|
"div",
|
|
@@ -1565,7 +1565,7 @@ const ul = "_tematicalFiltersInputContainer_1vm1r_2", dl = "_inputTypeContainer_
|
|
|
1565
1565
|
//onChangeBothType
|
|
1566
1566
|
activeColor: t
|
|
1567
1567
|
}) => {
|
|
1568
|
-
const [n, r] =
|
|
1568
|
+
const [n, r] = se(), {
|
|
1569
1569
|
type: o,
|
|
1570
1570
|
name: s,
|
|
1571
1571
|
values: a,
|
|
@@ -1575,10 +1575,10 @@ const ul = "_tematicalFiltersInputContainer_1vm1r_2", dl = "_inputTypeContainer_
|
|
|
1575
1575
|
step: m,
|
|
1576
1576
|
disabled: g,
|
|
1577
1577
|
isDate: y
|
|
1578
|
-
} = e || {}, h =
|
|
1578
|
+
} = e || {}, h = qe(
|
|
1579
1579
|
() => o == "cat" || n == "cat",
|
|
1580
1580
|
[n, o]
|
|
1581
|
-
), b =
|
|
1581
|
+
), b = qe(
|
|
1582
1582
|
() => o == "abs" || n == "abs",
|
|
1583
1583
|
[n, o]
|
|
1584
1584
|
), {
|
|
@@ -1588,34 +1588,34 @@ const ul = "_tematicalFiltersInputContainer_1vm1r_2", dl = "_inputTypeContainer_
|
|
|
1588
1588
|
inputsColor: w
|
|
1589
1589
|
} = ve((C) => C), N = (C) => {
|
|
1590
1590
|
if (C) {
|
|
1591
|
-
const { min: S, max: O, valueClicked: k, allValues:
|
|
1592
|
-
let
|
|
1593
|
-
|
|
1594
|
-
let
|
|
1595
|
-
(Y) => Y.code ===
|
|
1591
|
+
const { min: S, max: O, valueClicked: k, allValues: $ } = C || {}, { code: V, type: R, source: p } = e || {}, A = b ? "abs" : h ? "cat" : "both";
|
|
1592
|
+
let E = V[0];
|
|
1593
|
+
R == "both" && (E = A == "cat" ? V[1] : V[0]), A == "cat" ? ve.setState((z) => {
|
|
1594
|
+
let q = z.tematicalFiltersSelected.find(
|
|
1595
|
+
(Y) => Y.code === E
|
|
1596
1596
|
);
|
|
1597
|
-
if (
|
|
1598
|
-
let Y = [
|
|
1599
|
-
return
|
|
1600
|
-
(
|
|
1601
|
-
) : Y = [...
|
|
1597
|
+
if (q) {
|
|
1598
|
+
let Y = [q.values];
|
|
1599
|
+
return q.values.includes(k) ? Y = q.values.filter(
|
|
1600
|
+
(U) => U !== k
|
|
1601
|
+
) : Y = [...q.values, k], Y.length == $.length ? {
|
|
1602
1602
|
tematicalFiltersSelected: z.tematicalFiltersSelected.filter(
|
|
1603
|
-
(
|
|
1603
|
+
(U) => U.code !== E
|
|
1604
1604
|
)
|
|
1605
1605
|
} : {
|
|
1606
1606
|
tematicalFiltersSelected: z.tematicalFiltersSelected.map(
|
|
1607
|
-
(
|
|
1607
|
+
(U) => U.code === E ? { ...U, values: Y } : U
|
|
1608
1608
|
)
|
|
1609
1609
|
};
|
|
1610
1610
|
} else {
|
|
1611
|
-
let Y = (
|
|
1611
|
+
let Y = ($ || []).map((U, be) => be);
|
|
1612
1612
|
return {
|
|
1613
1613
|
tematicalFiltersSelected: [
|
|
1614
1614
|
...f,
|
|
1615
1615
|
{
|
|
1616
1616
|
type: "cat",
|
|
1617
|
-
code:
|
|
1618
|
-
values: Y.filter((
|
|
1617
|
+
code: E,
|
|
1618
|
+
values: Y.filter((U) => U !== k),
|
|
1619
1619
|
name: e.name,
|
|
1620
1620
|
source: p,
|
|
1621
1621
|
isDate: y
|
|
@@ -1624,20 +1624,20 @@ const ul = "_tematicalFiltersInputContainer_1vm1r_2", dl = "_inputTypeContainer_
|
|
|
1624
1624
|
};
|
|
1625
1625
|
}
|
|
1626
1626
|
}) : A == "abs" && ve.setState((z) => {
|
|
1627
|
-
let
|
|
1628
|
-
(Y) => Y.code ===
|
|
1627
|
+
let q = z.tematicalFiltersSelected.find(
|
|
1628
|
+
(Y) => Y.code === E
|
|
1629
1629
|
);
|
|
1630
1630
|
if (S == e.minValue && O == e.maxValue)
|
|
1631
1631
|
return {
|
|
1632
1632
|
tematicalFiltersSelected: z.tematicalFiltersSelected.filter(
|
|
1633
|
-
(Y) => Y.code !==
|
|
1633
|
+
(Y) => Y.code !== E
|
|
1634
1634
|
)
|
|
1635
1635
|
};
|
|
1636
|
-
if (
|
|
1637
|
-
let Y = { ...
|
|
1636
|
+
if (q) {
|
|
1637
|
+
let Y = { ...q, min: S, max: O, type: A, isDate: y };
|
|
1638
1638
|
return {
|
|
1639
1639
|
tematicalFiltersSelected: z.tematicalFiltersSelected.map(
|
|
1640
|
-
(
|
|
1640
|
+
(U) => U.code === E ? Y : U
|
|
1641
1641
|
)
|
|
1642
1642
|
};
|
|
1643
1643
|
} else
|
|
@@ -1646,7 +1646,7 @@ const ul = "_tematicalFiltersInputContainer_1vm1r_2", dl = "_inputTypeContainer_
|
|
|
1646
1646
|
...f,
|
|
1647
1647
|
{
|
|
1648
1648
|
type: A,
|
|
1649
|
-
code:
|
|
1649
|
+
code: E,
|
|
1650
1650
|
min: S,
|
|
1651
1651
|
max: O,
|
|
1652
1652
|
name: e.name,
|
|
@@ -1656,7 +1656,7 @@ const ul = "_tematicalFiltersInputContainer_1vm1r_2", dl = "_inputTypeContainer_
|
|
|
1656
1656
|
};
|
|
1657
1657
|
});
|
|
1658
1658
|
}
|
|
1659
|
-
}, v =
|
|
1659
|
+
}, v = qe(() => {
|
|
1660
1660
|
const C = {};
|
|
1661
1661
|
if ((f == null ? void 0 : f.length) > 0)
|
|
1662
1662
|
for (const S of f)
|
|
@@ -1884,10 +1884,10 @@ const Ur = ({
|
|
|
1884
1884
|
}) => {
|
|
1885
1885
|
const { tematicalFiltersSelected: l, activeFiltersType: c } = ve(
|
|
1886
1886
|
(g) => g
|
|
1887
|
-
), { t: d } =
|
|
1888
|
-
|
|
1887
|
+
), { t: d } = ae();
|
|
1888
|
+
te(() => {
|
|
1889
1889
|
r && ve.setState(() => ({ fontColor: r }));
|
|
1890
|
-
}, [r]),
|
|
1890
|
+
}, [r]), te(() => {
|
|
1891
1891
|
o && ve.setState(() => ({ inputsColor: o }));
|
|
1892
1892
|
}, [o]);
|
|
1893
1893
|
const m = () => {
|
|
@@ -1954,20 +1954,20 @@ const ml = "_FiltersAmbitContainer_1hv16_2", hl = "_FiltersContainer_1hv16_15",
|
|
|
1954
1954
|
//campo descripción required
|
|
1955
1955
|
extraLists: x = !1
|
|
1956
1956
|
}) => {
|
|
1957
|
-
const { t: w } =
|
|
1957
|
+
const { t: w } = ae(), { tematicalFiltersSelected: N, activeFiltersType: v } = ve(
|
|
1958
1958
|
(p) => p
|
|
1959
|
-
), [C, S] =
|
|
1960
|
-
|
|
1959
|
+
), [C, S] = se(e || null), [O, k] = se(t || null), [$, V] = se(!1);
|
|
1960
|
+
te(() => {
|
|
1961
1961
|
ve.setState({
|
|
1962
1962
|
tematicalFiltersSelected: n || []
|
|
1963
1963
|
});
|
|
1964
|
-
}, [n]), Ce(!1),
|
|
1964
|
+
}, [n]), Ce(!1), te(() => {
|
|
1965
1965
|
l(N);
|
|
1966
1966
|
}, [N]);
|
|
1967
|
-
const
|
|
1967
|
+
const R = () => {
|
|
1968
1968
|
_ ? C && O ? c({ name: C, description: O }) : V(!0) : C ? c({ name: C, description: O }) : V(!0);
|
|
1969
1969
|
};
|
|
1970
|
-
return
|
|
1970
|
+
return te(() => {
|
|
1971
1971
|
if (g.includes("geographical") && v != "geographical" && h.length > 0) {
|
|
1972
1972
|
const p = h.map((A) => ({
|
|
1973
1973
|
...A,
|
|
@@ -2043,8 +2043,8 @@ const ml = "_FiltersAmbitContainer_1hv16_2", hl = "_FiltersContainer_1hv16_15",
|
|
|
2043
2043
|
)
|
|
2044
2044
|
] }),
|
|
2045
2045
|
!f && /* @__PURE__ */ T("div", { className: ht.buttonContainer, children: [
|
|
2046
|
-
|
|
2047
|
-
/* @__PURE__ */ u(Jn, { onClick: () =>
|
|
2046
|
+
$ && /* @__PURE__ */ u("div", { className: ht.warning, children: w(y) }),
|
|
2047
|
+
/* @__PURE__ */ u(Jn, { onClick: () => R(), children: w("save_ambit") })
|
|
2048
2048
|
] })
|
|
2049
2049
|
] });
|
|
2050
2050
|
};
|
|
@@ -2097,37 +2097,37 @@ const wl = "_barChartContainer_1ly7h_2", Oo = {
|
|
|
2097
2097
|
svgWidth: N,
|
|
2098
2098
|
svgHeight: v,
|
|
2099
2099
|
contentWidth: C
|
|
2100
|
-
} =
|
|
2100
|
+
} = qe(() => {
|
|
2101
2101
|
if (e && e.length > 0) {
|
|
2102
2102
|
const S = yr.max(e, (k) => k.value) || 1, O = a || S;
|
|
2103
2103
|
if (l === "vertical") {
|
|
2104
|
-
const k = e.length * (t + n) + c * 2,
|
|
2104
|
+
const k = e.length * (t + n) + c * 2, $ = Math.max(k, g || 0), V = y, p = yr.scaleLinear().domain([0, O]).range([V - 100, d]), A = Array.from(
|
|
2105
2105
|
{ length: s + 1 },
|
|
2106
|
-
(
|
|
2106
|
+
(E, z) => O / s * z
|
|
2107
2107
|
);
|
|
2108
2108
|
return {
|
|
2109
2109
|
yScale: p,
|
|
2110
2110
|
ticks: A,
|
|
2111
2111
|
height: V,
|
|
2112
|
-
chartWidth:
|
|
2113
|
-
svgWidth:
|
|
2112
|
+
chartWidth: $,
|
|
2113
|
+
svgWidth: $,
|
|
2114
2114
|
svgHeight: V,
|
|
2115
2115
|
contentWidth: k
|
|
2116
2116
|
};
|
|
2117
2117
|
} else {
|
|
2118
2118
|
const k = e.length * (t + n);
|
|
2119
2119
|
console.log("barsHeight: ", k);
|
|
2120
|
-
const
|
|
2120
|
+
const $ = k + d * 2 + m + 30, V = g + o + c * 2, R = yr.scaleLinear().domain([0, O]).range([0, g - c * 2]), p = Array.from(
|
|
2121
2121
|
{ length: s + 1 },
|
|
2122
|
-
(A,
|
|
2122
|
+
(A, E) => O / s * E
|
|
2123
2123
|
);
|
|
2124
2124
|
return {
|
|
2125
|
-
xScale:
|
|
2125
|
+
xScale: R,
|
|
2126
2126
|
ticks: p,
|
|
2127
|
-
height:
|
|
2127
|
+
height: $,
|
|
2128
2128
|
chartWidth: g,
|
|
2129
2129
|
svgWidth: V,
|
|
2130
|
-
svgHeight:
|
|
2130
|
+
svgHeight: $,
|
|
2131
2131
|
contentWidth: V
|
|
2132
2132
|
};
|
|
2133
2133
|
}
|
|
@@ -2202,12 +2202,12 @@ const wl = "_barChartContainer_1ly7h_2", Oo = {
|
|
|
2202
2202
|
] }, O);
|
|
2203
2203
|
}) }),
|
|
2204
2204
|
e && e.length > 0 && e.map((S, O) => {
|
|
2205
|
-
const k = f(0) - f(S.value),
|
|
2205
|
+
const k = f(0) - f(S.value), $ = O * (t + n), V = f(S.value);
|
|
2206
2206
|
return /* @__PURE__ */ T("g", { children: [
|
|
2207
2207
|
/* @__PURE__ */ u(
|
|
2208
2208
|
"rect",
|
|
2209
2209
|
{
|
|
2210
|
-
x:
|
|
2210
|
+
x: $,
|
|
2211
2211
|
y: V,
|
|
2212
2212
|
width: t,
|
|
2213
2213
|
height: k,
|
|
@@ -2218,12 +2218,12 @@ const wl = "_barChartContainer_1ly7h_2", Oo = {
|
|
|
2218
2218
|
/* @__PURE__ */ u(
|
|
2219
2219
|
"text",
|
|
2220
2220
|
{
|
|
2221
|
-
x:
|
|
2221
|
+
x: $ + t / 2,
|
|
2222
2222
|
y: x - m,
|
|
2223
2223
|
textAnchor: "start",
|
|
2224
2224
|
fill: r,
|
|
2225
2225
|
fontSize: 12,
|
|
2226
|
-
transform: `rotate(-90, ${
|
|
2226
|
+
transform: `rotate(-90, ${$ + t / 2}, ${x - m})`,
|
|
2227
2227
|
children: S.title
|
|
2228
2228
|
}
|
|
2229
2229
|
)
|
|
@@ -2279,11 +2279,11 @@ const wl = "_barChartContainer_1ly7h_2", Oo = {
|
|
|
2279
2279
|
] }, O);
|
|
2280
2280
|
}) }),
|
|
2281
2281
|
e && e.length > 0 && e.map((S, O) => {
|
|
2282
|
-
const k = b(S.value),
|
|
2283
|
-
return console.log("y: ",
|
|
2282
|
+
const k = b(S.value), $ = O * (t + n);
|
|
2283
|
+
return console.log("y: ", $), /* @__PURE__ */ T(
|
|
2284
2284
|
"g",
|
|
2285
2285
|
{
|
|
2286
|
-
transform: `translate(${o + c}, ${
|
|
2286
|
+
transform: `translate(${o + c}, ${$})`,
|
|
2287
2287
|
children: [
|
|
2288
2288
|
/* @__PURE__ */ u(
|
|
2289
2289
|
"text",
|
|
@@ -2356,7 +2356,7 @@ const Sl = "_graphicContainer_1ozwp_2", kl = "_titleContainer_1ozwp_13", Ao = {
|
|
|
2356
2356
|
xLabelPadding: m = 0,
|
|
2357
2357
|
mainColor: g
|
|
2358
2358
|
}) => {
|
|
2359
|
-
const { t: y } =
|
|
2359
|
+
const { t: y } = ae();
|
|
2360
2360
|
return /* @__PURE__ */ T(
|
|
2361
2361
|
"div",
|
|
2362
2362
|
{
|
|
@@ -2408,7 +2408,7 @@ const $l = "_indicatorsCategory_arwy3_2", Nl = "_title_arwy3_5", El = "_list_arw
|
|
|
2408
2408
|
indicatorsCategory: $l,
|
|
2409
2409
|
title: Nl,
|
|
2410
2410
|
list: El
|
|
2411
|
-
}, Ol = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.32549%200H4.65882V3.40392H8V4.61176H4.65882V8H3.32549V4.61176H0V3.40392H3.32549V0Z'%20fill='%23605B56'/%3e%3c/svg%3e", Al = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.32549%200H4.65882V3.40392H8V4.61176H4.65882V8H3.32549V4.61176H0V3.40392H3.32549V0Z'%20fill='%23ffffff'/%3e%3c/svg%3e",
|
|
2411
|
+
}, Ol = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.32549%200H4.65882V3.40392H8V4.61176H4.65882V8H3.32549V4.61176H0V3.40392H3.32549V0Z'%20fill='%23605B56'/%3e%3c/svg%3e", Al = "data:image/svg+xml,%3csvg%20width='8'%20height='8'%20viewBox='0%200%208%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.32549%200H4.65882V3.40392H8V4.61176H4.65882V8H3.32549V4.61176H0V3.40392H3.32549V0Z'%20fill='%23ffffff'/%3e%3c/svg%3e", rt = no((e) => ({
|
|
2412
2412
|
activeColor: null,
|
|
2413
2413
|
defaultColor: "#92898A",
|
|
2414
2414
|
multiple: !1,
|
|
@@ -2429,7 +2429,7 @@ const $l = "_indicatorsCategory_arwy3_2", Nl = "_title_arwy3_5", El = "_list_arw
|
|
|
2429
2429
|
}), Object.entries(e).forEach(([s, a]) => {
|
|
2430
2430
|
!s.includes("_subcat_") && !o.has(s) && (r[s] = a);
|
|
2431
2431
|
}), r.activeIndicatorSubcategory = n, r;
|
|
2432
|
-
}, Ll = "_indicatorContainer_swmx0_2", Ml = "_indicatorNameContainer_swmx0_12", Rl = "_dot_swmx0_19", Dl = "_indicatorName_swmx0_12", Il = "_switchExternalContainer_swmx0_33", Vl = "_switchType_swmx0_42", Pl = "_switchTypeOptions_swmx0_46", Bl = "_optionContainer_swmx0_57", Fl = "_customRadious_swmx0_67", zl = "_optionText_swmx0_74",
|
|
2432
|
+
}, Ll = "_indicatorContainer_swmx0_2", Ml = "_indicatorNameContainer_swmx0_12", Rl = "_dot_swmx0_19", Dl = "_indicatorName_swmx0_12", Il = "_switchExternalContainer_swmx0_33", Vl = "_switchType_swmx0_42", Pl = "_switchTypeOptions_swmx0_46", Bl = "_optionContainer_swmx0_57", Fl = "_customRadious_swmx0_67", zl = "_optionText_swmx0_74", xe = {
|
|
2433
2433
|
indicatorContainer: Ll,
|
|
2434
2434
|
indicatorNameContainer: Ml,
|
|
2435
2435
|
dot: Rl,
|
|
@@ -2448,33 +2448,33 @@ const $l = "_indicatorsCategory_arwy3_2", Nl = "_title_arwy3_5", El = "_list_arw
|
|
|
2448
2448
|
onChangeType: o,
|
|
2449
2449
|
onChangeIndicatorSubcategory: s
|
|
2450
2450
|
}) => {
|
|
2451
|
-
const { t: a } =
|
|
2451
|
+
const { t: a } = ae(), { name: l, type: c, disabled: d, indicatorSubcategories: m } = e, {
|
|
2452
2452
|
activeIndicatorType: g,
|
|
2453
2453
|
activeColor: y,
|
|
2454
2454
|
defaultColor: h,
|
|
2455
2455
|
multiple: b,
|
|
2456
2456
|
activeIndicatorSubcategory: f
|
|
2457
|
-
} =
|
|
2458
|
-
|
|
2457
|
+
} = rt((C) => C), [_, x] = se(!1);
|
|
2458
|
+
te(() => {
|
|
2459
2459
|
n && x(
|
|
2460
2460
|
b ? n.some(
|
|
2461
2461
|
(C) => C.name == String(l)
|
|
2462
2462
|
) : n.name == l
|
|
2463
2463
|
);
|
|
2464
2464
|
}, [n]);
|
|
2465
|
-
const w = () => /* @__PURE__ */ u("div", { className:
|
|
2465
|
+
const w = () => /* @__PURE__ */ u("div", { className: xe.switchExternalContainer, children: /* @__PURE__ */ u("div", { className: xe.switchType, children: /* @__PURE__ */ T("div", { className: xe.switchTypeOptions, children: [
|
|
2466
2466
|
/* @__PURE__ */ T(
|
|
2467
2467
|
"div",
|
|
2468
2468
|
{
|
|
2469
|
-
className:
|
|
2469
|
+
className: xe.optionContainer,
|
|
2470
2470
|
onClick: () => {
|
|
2471
|
-
|
|
2471
|
+
rt.setState((C) => ({ ...C, activeIndicatorType: "cat" })), o("cat");
|
|
2472
2472
|
},
|
|
2473
2473
|
children: [
|
|
2474
2474
|
/* @__PURE__ */ u(
|
|
2475
2475
|
"span",
|
|
2476
2476
|
{
|
|
2477
|
-
className: `${
|
|
2477
|
+
className: `${xe.customRadious}`,
|
|
2478
2478
|
style: {
|
|
2479
2479
|
backgroundColor: g === "cat" ? y : "transparent",
|
|
2480
2480
|
borderColor: g === "cat" ? y : h
|
|
@@ -2484,7 +2484,7 @@ const $l = "_indicatorsCategory_arwy3_2", Nl = "_title_arwy3_5", El = "_list_arw
|
|
|
2484
2484
|
/* @__PURE__ */ u(
|
|
2485
2485
|
"h4",
|
|
2486
2486
|
{
|
|
2487
|
-
className:
|
|
2487
|
+
className: xe.optionText,
|
|
2488
2488
|
style: {
|
|
2489
2489
|
color: g === "cat" ? y : h
|
|
2490
2490
|
},
|
|
@@ -2497,15 +2497,15 @@ const $l = "_indicatorsCategory_arwy3_2", Nl = "_title_arwy3_5", El = "_list_arw
|
|
|
2497
2497
|
/* @__PURE__ */ T(
|
|
2498
2498
|
"div",
|
|
2499
2499
|
{
|
|
2500
|
-
className:
|
|
2500
|
+
className: xe.optionContainer,
|
|
2501
2501
|
onClick: () => {
|
|
2502
|
-
|
|
2502
|
+
rt.setState((C) => ({ ...C, activeIndicatorType: "abs" })), o("abs");
|
|
2503
2503
|
},
|
|
2504
2504
|
children: [
|
|
2505
2505
|
/* @__PURE__ */ u(
|
|
2506
2506
|
"span",
|
|
2507
2507
|
{
|
|
2508
|
-
className: `${
|
|
2508
|
+
className: `${xe.customRadious}`,
|
|
2509
2509
|
style: {
|
|
2510
2510
|
backgroundColor: g === "abs" ? y : "transparent",
|
|
2511
2511
|
borderColor: g === "abs" ? y : h
|
|
@@ -2515,7 +2515,7 @@ const $l = "_indicatorsCategory_arwy3_2", Nl = "_title_arwy3_5", El = "_list_arw
|
|
|
2515
2515
|
/* @__PURE__ */ u(
|
|
2516
2516
|
"h4",
|
|
2517
2517
|
{
|
|
2518
|
-
className:
|
|
2518
|
+
className: xe.optionText,
|
|
2519
2519
|
style: {
|
|
2520
2520
|
color: g === "abs" ? y : h
|
|
2521
2521
|
},
|
|
@@ -2525,12 +2525,12 @@ const $l = "_indicatorsCategory_arwy3_2", Nl = "_title_arwy3_5", El = "_list_arw
|
|
|
2525
2525
|
]
|
|
2526
2526
|
}
|
|
2527
2527
|
)
|
|
2528
|
-
] }) }) }), N = () => /* @__PURE__ */ u("div", { className:
|
|
2528
|
+
] }) }) }), N = () => /* @__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, S) => /* @__PURE__ */ T(
|
|
2529
2529
|
"div",
|
|
2530
2530
|
{
|
|
2531
|
-
className:
|
|
2531
|
+
className: xe.optionContainer,
|
|
2532
2532
|
onClick: () => {
|
|
2533
|
-
|
|
2533
|
+
rt.setState((k) => ({ ...k, activeIndicatorSubcategory: C.title }));
|
|
2534
2534
|
let O = es({
|
|
2535
2535
|
indicator: e,
|
|
2536
2536
|
subcatIndex: S,
|
|
@@ -2542,7 +2542,7 @@ const $l = "_indicatorsCategory_arwy3_2", Nl = "_title_arwy3_5", El = "_list_arw
|
|
|
2542
2542
|
/* @__PURE__ */ u(
|
|
2543
2543
|
"span",
|
|
2544
2544
|
{
|
|
2545
|
-
className: `${
|
|
2545
|
+
className: `${xe.customRadious}`,
|
|
2546
2546
|
style: {
|
|
2547
2547
|
backgroundColor: f === C.title ? y : "transparent",
|
|
2548
2548
|
borderColor: f === C.title ? y : h
|
|
@@ -2552,7 +2552,7 @@ const $l = "_indicatorsCategory_arwy3_2", Nl = "_title_arwy3_5", El = "_list_arw
|
|
|
2552
2552
|
/* @__PURE__ */ u(
|
|
2553
2553
|
"h4",
|
|
2554
2554
|
{
|
|
2555
|
-
className:
|
|
2555
|
+
className: xe.optionText,
|
|
2556
2556
|
style: {
|
|
2557
2557
|
color: f === C.title ? y : h
|
|
2558
2558
|
},
|
|
@@ -2562,15 +2562,15 @@ const $l = "_indicatorsCategory_arwy3_2", Nl = "_title_arwy3_5", El = "_list_arw
|
|
|
2562
2562
|
]
|
|
2563
2563
|
},
|
|
2564
2564
|
`indicatorSubcategory-${C.title}`
|
|
2565
|
-
)) }) }) }), v = () => /* @__PURE__ */ u("div", { className:
|
|
2565
|
+
)) }) }) }), v = () => /* @__PURE__ */ u("div", { className: xe.switchExternalContainer, children: /* @__PURE__ */ u("div", { className: xe.switchType, children: /* @__PURE__ */ u("div", { className: xe.switchTypeOptions, children: t.map((C, S) => /* @__PURE__ */ T(
|
|
2566
2566
|
"div",
|
|
2567
2567
|
{
|
|
2568
|
-
className:
|
|
2568
|
+
className: xe.optionContainer,
|
|
2569
2569
|
children: [
|
|
2570
2570
|
/* @__PURE__ */ u(
|
|
2571
2571
|
"span",
|
|
2572
2572
|
{
|
|
2573
|
-
className:
|
|
2573
|
+
className: xe.customRadious
|
|
2574
2574
|
}
|
|
2575
2575
|
),
|
|
2576
2576
|
/* @__PURE__ */ u("h4", { children: a(C.unit) })
|
|
@@ -2578,11 +2578,11 @@ const $l = "_indicatorsCategory_arwy3_2", Nl = "_title_arwy3_5", El = "_list_arw
|
|
|
2578
2578
|
},
|
|
2579
2579
|
S
|
|
2580
2580
|
)) }) }) });
|
|
2581
|
-
return /* @__PURE__ */ T("div", { className:
|
|
2581
|
+
return /* @__PURE__ */ T("div", { className: xe.indicatorContainer, children: [
|
|
2582
2582
|
/* @__PURE__ */ T(
|
|
2583
2583
|
"div",
|
|
2584
2584
|
{
|
|
2585
|
-
className:
|
|
2585
|
+
className: xe.indicatorNameContainer,
|
|
2586
2586
|
onClick: () => !d && r({ indicator: e }),
|
|
2587
2587
|
children: [
|
|
2588
2588
|
/* @__PURE__ */ u(
|
|
@@ -2593,14 +2593,14 @@ const $l = "_indicatorsCategory_arwy3_2", Nl = "_title_arwy3_5", El = "_list_arw
|
|
|
2593
2593
|
opacity: d ? 0.5 : 1,
|
|
2594
2594
|
backgroundColor: _ ? y : "transparent"
|
|
2595
2595
|
},
|
|
2596
|
-
className:
|
|
2596
|
+
className: xe.dot,
|
|
2597
2597
|
children: b && /* @__PURE__ */ u("img", { src: _ ? Al : Ol, alt: "" })
|
|
2598
2598
|
}
|
|
2599
2599
|
),
|
|
2600
2600
|
/* @__PURE__ */ u(
|
|
2601
2601
|
"h4",
|
|
2602
2602
|
{
|
|
2603
|
-
className:
|
|
2603
|
+
className: xe.indicatorName,
|
|
2604
2604
|
style: {
|
|
2605
2605
|
color: _ ? y : h,
|
|
2606
2606
|
opacity: d ? 0.5 : 1
|
|
@@ -2649,8 +2649,8 @@ const jl = "_indicatorsSubCategory_1nuug_2", ql = "_list_1nuug_11", Lo = {
|
|
|
2649
2649
|
onChangeType: l,
|
|
2650
2650
|
onChangeIndicatorSubcategory: c
|
|
2651
2651
|
}) => {
|
|
2652
|
-
const { t: d } =
|
|
2653
|
-
|
|
2652
|
+
const { t: d } = ae(), [m, g] = se(!1);
|
|
2653
|
+
te(() => {
|
|
2654
2654
|
g(n == o);
|
|
2655
2655
|
}, [n, o]);
|
|
2656
2656
|
const {
|
|
@@ -2659,7 +2659,7 @@ const jl = "_indicatorsSubCategory_1nuug_2", ql = "_list_1nuug_11", Lo = {
|
|
|
2659
2659
|
defaultColor: b,
|
|
2660
2660
|
multiple: f,
|
|
2661
2661
|
activeIndicatorSubcategory: _
|
|
2662
|
-
} =
|
|
2662
|
+
} = rt((x) => x);
|
|
2663
2663
|
return /* @__PURE__ */ T(
|
|
2664
2664
|
to.div,
|
|
2665
2665
|
{
|
|
@@ -2712,8 +2712,8 @@ const ns = ({
|
|
|
2712
2712
|
onChangeIndicatorSubcategory: d
|
|
2713
2713
|
}) => {
|
|
2714
2714
|
var x;
|
|
2715
|
-
const { t: m } =
|
|
2716
|
-
return
|
|
2715
|
+
const { t: m } = ae(), { activeIndicatorType: g, activeColor: y, defaultColor: h, multiple: b } = rt((w) => w), [f, _] = se(!1);
|
|
2716
|
+
return te(() => {
|
|
2717
2717
|
_(r === t);
|
|
2718
2718
|
}, [r, t]), /* @__PURE__ */ T(
|
|
2719
2719
|
to.div,
|
|
@@ -2813,9 +2813,9 @@ const Wl = "_indicatorsList_13b3m_2", Ul = "_title_13b3m_6", Mo = {
|
|
|
2813
2813
|
activeIndicatorType: l,
|
|
2814
2814
|
onChangeIndicatorSubcategory: c
|
|
2815
2815
|
}) => {
|
|
2816
|
-
const { t: d } =
|
|
2817
|
-
|
|
2818
|
-
|
|
2816
|
+
const { t: d } = ae(), [m, g] = se(), [y, h] = se(), [b, f] = se(), _ = Ce(s), x = Ce(!1);
|
|
2817
|
+
te(() => {
|
|
2818
|
+
rt.setState({
|
|
2819
2819
|
activeColor: t || "",
|
|
2820
2820
|
defaultColor: n || "",
|
|
2821
2821
|
multiple: o || !1,
|
|
@@ -2828,31 +2828,31 @@ const Wl = "_indicatorsList_13b3m_2", Ul = "_title_13b3m_6", Mo = {
|
|
|
2828
2828
|
h(y == k ? null : k);
|
|
2829
2829
|
}, v = ({ indicator: k }) => {
|
|
2830
2830
|
if (k != null && k.indicatorSubcategories && k.indicatorSubcategories.length > 0) {
|
|
2831
|
-
const
|
|
2831
|
+
const $ = k.indicatorSubcategories[0], V = es({
|
|
2832
2832
|
indicator: k,
|
|
2833
2833
|
subcatIndex: 0,
|
|
2834
|
-
indicatorSubcategory:
|
|
2834
|
+
indicatorSubcategory: $.title
|
|
2835
2835
|
});
|
|
2836
|
-
|
|
2837
|
-
activeIndicatorSubcategory:
|
|
2836
|
+
rt.setState({
|
|
2837
|
+
activeIndicatorSubcategory: $.title
|
|
2838
2838
|
}), S(V, !0), c && c({ indicator: V });
|
|
2839
2839
|
} else
|
|
2840
|
-
|
|
2840
|
+
rt.setState({ activeIndicatorSubcategory: null }), S(k);
|
|
2841
2841
|
}, C = ({ indicator: k }) => {
|
|
2842
2842
|
S(k, !0), c && c({ indicator: k });
|
|
2843
|
-
}, S = (k,
|
|
2843
|
+
}, S = (k, $ = !1, V = !1) => {
|
|
2844
2844
|
if (o) {
|
|
2845
|
-
let
|
|
2846
|
-
const p =
|
|
2847
|
-
(
|
|
2845
|
+
let R = b && b.length > 0 ? [...b] : [];
|
|
2846
|
+
const p = R == null ? void 0 : R.some(
|
|
2847
|
+
(E) => E.name == k.name
|
|
2848
2848
|
);
|
|
2849
2849
|
let A;
|
|
2850
|
-
|
|
2851
|
-
(
|
|
2852
|
-
) : [...
|
|
2850
|
+
$ ? A = k : A = p ? R.filter(
|
|
2851
|
+
(E) => E.name != String(k.name)
|
|
2852
|
+
) : [...R, k], f(A), k.type == "both" && a("cat"), r && typeof r == "function" && ($ || !(k != null && k.indicatorSubcategories)) && !V && r({ activeIndicator: A });
|
|
2853
2853
|
} else {
|
|
2854
|
-
let
|
|
2855
|
-
|
|
2854
|
+
let R;
|
|
2855
|
+
$ ? R = k : R = (b == null ? void 0 : b.name) == k.name ? null : k, f(R), (k == null ? void 0 : k.type) == "both" && a("cat"), r && typeof r == "function" && ($ || !(k != null && k.indicatorSubcategories)) && !V && r({ activeIndicator: R });
|
|
2856
2856
|
}
|
|
2857
2857
|
};
|
|
2858
2858
|
Pi(() => {
|
|
@@ -2869,34 +2869,34 @@ const Wl = "_indicatorsList_13b3m_2", Ul = "_title_13b3m_6", Mo = {
|
|
|
2869
2869
|
x.current = !1;
|
|
2870
2870
|
}
|
|
2871
2871
|
}
|
|
2872
|
-
}, []),
|
|
2872
|
+
}, []), te(() => {
|
|
2873
2873
|
var k;
|
|
2874
2874
|
if (!x.current && !Zr(s, b)) {
|
|
2875
2875
|
x.current = !0;
|
|
2876
2876
|
try {
|
|
2877
|
-
const { activeIndicatorSubcategory:
|
|
2878
|
-
|
|
2877
|
+
const { activeIndicatorSubcategory: $ } = s || {};
|
|
2878
|
+
$ && rt.setState({ activeIndicatorSubcategory: $ }), o && Array.isArray(s) ? (f([...s]), O((k = s[0]) == null ? void 0 : k.name)) : s ? (S(s, !1, !0), O(s.name)) : (f(o ? [] : null), g(null), h(null));
|
|
2879
2879
|
} finally {
|
|
2880
2880
|
x.current = !1;
|
|
2881
2881
|
}
|
|
2882
2882
|
}
|
|
2883
2883
|
}, [s]);
|
|
2884
2884
|
const O = (k) => {
|
|
2885
|
-
const
|
|
2885
|
+
const $ = e.find((V) => {
|
|
2886
2886
|
if (V.subcategories) {
|
|
2887
|
-
let
|
|
2887
|
+
let R = V.subcategories.find(
|
|
2888
2888
|
(p) => p.indicators.find((A) => A.name == k)
|
|
2889
2889
|
);
|
|
2890
|
-
if (
|
|
2891
|
-
return h(
|
|
2890
|
+
if (R)
|
|
2891
|
+
return h(R.subcategory), R;
|
|
2892
2892
|
} else
|
|
2893
|
-
return V.indicators.some((
|
|
2893
|
+
return V.indicators.some((R) => R.name == k);
|
|
2894
2894
|
});
|
|
2895
|
-
|
|
2895
|
+
$ && g($.category);
|
|
2896
2896
|
};
|
|
2897
2897
|
return /* @__PURE__ */ T("div", { className: Mo.indicatorsList, children: [
|
|
2898
2898
|
/* @__PURE__ */ u("h2", { className: Mo.title, style: { color: n }, children: d("indicators.indicators") }),
|
|
2899
|
-
e.map((k,
|
|
2899
|
+
e.map((k, $) => /* @__PURE__ */ u(
|
|
2900
2900
|
ns,
|
|
2901
2901
|
{
|
|
2902
2902
|
id: k.category,
|
|
@@ -2911,7 +2911,7 @@ const Wl = "_indicatorsList_13b3m_2", Ul = "_title_13b3m_6", Mo = {
|
|
|
2911
2911
|
onChangeType: a,
|
|
2912
2912
|
onChangeIndicatorSubcategory: C
|
|
2913
2913
|
},
|
|
2914
|
-
`categoryKey${
|
|
2914
|
+
`categoryKey${$}`
|
|
2915
2915
|
))
|
|
2916
2916
|
] });
|
|
2917
2917
|
};
|
|
@@ -2934,7 +2934,7 @@ const Hl = "_langSelector_o9enq_2", Kl = "_currentLang_o9enq_14", Gl = "_arrow_o
|
|
|
2934
2934
|
prevImg: Yl,
|
|
2935
2935
|
langMenu: Xl
|
|
2936
2936
|
}, Ql = ({ langs: e, arrow: t, imgPrev: n }) => {
|
|
2937
|
-
const [r, o] =
|
|
2937
|
+
const [r, o] = se(!1), { i18n: s } = ae(), a = e.find((c) => c.code == s.language), l = (c) => {
|
|
2938
2938
|
s.changeLanguage(c), o(!1);
|
|
2939
2939
|
};
|
|
2940
2940
|
return /* @__PURE__ */ T("div", { className: Pt.langSelector, children: [
|
|
@@ -2977,7 +2977,7 @@ Ql.propTypes = {
|
|
|
2977
2977
|
arrow: i.object,
|
|
2978
2978
|
imgPrev: i.object
|
|
2979
2979
|
};
|
|
2980
|
-
const Jl = "_legendContainer_r9cd6_3", ec = "_closeButton_r9cd6_43", tc = "_titleContainer_r9cd6_71", nc = "_infoContainer_r9cd6_77", rc = "_titleLegendList_r9cd6_88", oc = "_legendListContainer_r9cd6_94", ic = "_gridContainer_r9cd6_94", sc = "_elementLegendContainer_r9cd6_100", ac = "_colorDot_r9cd6_106", lc = "_absoluteValueContainer_r9cd6_112", cc = "_absoluteValueColor_r9cd6_115", uc = "_absoluteValueText_r9cd6_120", dc = "_noDataContainer_r9cd6_132", fc = "_noData_r9cd6_132", pc = "_moreInfoContainer_r9cd6_153",
|
|
2980
|
+
const Jl = "_legendContainer_r9cd6_3", ec = "_closeButton_r9cd6_43", tc = "_titleContainer_r9cd6_71", nc = "_infoContainer_r9cd6_77", rc = "_titleLegendList_r9cd6_88", oc = "_legendListContainer_r9cd6_94", ic = "_gridContainer_r9cd6_94", sc = "_elementLegendContainer_r9cd6_100", ac = "_colorDot_r9cd6_106", lc = "_absoluteValueContainer_r9cd6_112", cc = "_absoluteValueColor_r9cd6_115", uc = "_absoluteValueText_r9cd6_120", dc = "_noDataContainer_r9cd6_132", fc = "_noData_r9cd6_132", pc = "_moreInfoContainer_r9cd6_153", Re = {
|
|
2981
2981
|
legendContainer: Jl,
|
|
2982
2982
|
closeButton: ec,
|
|
2983
2983
|
titleContainer: tc,
|
|
@@ -3009,27 +3009,27 @@ const Jl = "_legendContainer_r9cd6_3", ec = "_closeButton_r9cd6_43", tc = "_titl
|
|
|
3009
3009
|
buttonTitle: s,
|
|
3010
3010
|
onClickClose: a
|
|
3011
3011
|
}) => {
|
|
3012
|
-
const { t: l } =
|
|
3012
|
+
const { t: l } = ae();
|
|
3013
3013
|
return /* @__PURE__ */ T(
|
|
3014
3014
|
"div",
|
|
3015
3015
|
{
|
|
3016
3016
|
style: e ? { ...e } : {},
|
|
3017
|
-
className: `${
|
|
3017
|
+
className: `${Re.legendContainer}`,
|
|
3018
3018
|
children: [
|
|
3019
|
-
/* @__PURE__ */ u("button", { className:
|
|
3019
|
+
/* @__PURE__ */ u("button", { className: Re.closeButton, onClick: a }),
|
|
3020
3020
|
t && /* @__PURE__ */ u(
|
|
3021
3021
|
"div",
|
|
3022
3022
|
{
|
|
3023
|
-
className:
|
|
3023
|
+
className: Re.titleContainer,
|
|
3024
3024
|
style: {
|
|
3025
3025
|
marginBottom: (!n || n.length == 0) && "15px"
|
|
3026
3026
|
},
|
|
3027
3027
|
children: /* @__PURE__ */ u("h2", { children: t })
|
|
3028
3028
|
}
|
|
3029
3029
|
),
|
|
3030
|
-
n && n.length > 0 && /* @__PURE__ */ u("div", { className:
|
|
3031
|
-
/* @__PURE__ */ u("h3", { className:
|
|
3032
|
-
/* @__PURE__ */ T("span", { className:
|
|
3030
|
+
n && n.length > 0 && /* @__PURE__ */ u("div", { className: Re.infoContainer, children: /* @__PURE__ */ u("ul", { children: n.map(({ title: c, value: d }) => /* @__PURE__ */ T("li", { children: [
|
|
3031
|
+
/* @__PURE__ */ u("h3", { className: Re.title, children: `${c}:` }),
|
|
3032
|
+
/* @__PURE__ */ T("span", { className: Re.value, children: [
|
|
3033
3033
|
" ",
|
|
3034
3034
|
d
|
|
3035
3035
|
] })
|
|
@@ -3038,7 +3038,7 @@ const Jl = "_legendContainer_r9cd6_3", ec = "_closeButton_r9cd6_43", tc = "_titl
|
|
|
3038
3038
|
/* @__PURE__ */ u(
|
|
3039
3039
|
"h3",
|
|
3040
3040
|
{
|
|
3041
|
-
className:
|
|
3041
|
+
className: Re.titleLegendList,
|
|
3042
3042
|
style: {
|
|
3043
3043
|
marginTop: n && n.length > 0 && d === 0 ? "30px" : d > 0 ? "20px" : "0px"
|
|
3044
3044
|
},
|
|
@@ -3052,18 +3052,18 @@ const Jl = "_legendContainer_r9cd6_3", ec = "_closeButton_r9cd6_43", tc = "_titl
|
|
|
3052
3052
|
)
|
|
3053
3053
|
}
|
|
3054
3054
|
),
|
|
3055
|
-
/* @__PURE__ */ T("div", { className:
|
|
3056
|
-
c.absolute ? /* @__PURE__ */ T("div", { className:
|
|
3055
|
+
/* @__PURE__ */ T("div", { className: Re.legendListContainer, children: [
|
|
3056
|
+
c.absolute ? /* @__PURE__ */ T("div", { className: Re.absoluteValueContainer, children: [
|
|
3057
3057
|
/* @__PURE__ */ u(
|
|
3058
3058
|
"div",
|
|
3059
3059
|
{
|
|
3060
|
-
className:
|
|
3060
|
+
className: Re.absoluteValueColor,
|
|
3061
3061
|
style: {
|
|
3062
3062
|
background: `linear-gradient(to bottom, ${c.absolute.maxColor} 0%, ${c.absolute.midColor ? `${c.absolute.midColor} 50%,` : ""} ${c.absolute.minColor} 100%)`
|
|
3063
3063
|
}
|
|
3064
3064
|
}
|
|
3065
3065
|
),
|
|
3066
|
-
/* @__PURE__ */ T("div", { className:
|
|
3066
|
+
/* @__PURE__ */ T("div", { className: Re.absoluteValueText, children: [
|
|
3067
3067
|
/* @__PURE__ */ T("span", { children: [
|
|
3068
3068
|
c.absolute.maxValue,
|
|
3069
3069
|
" ",
|
|
@@ -3084,20 +3084,20 @@ const Jl = "_legendContainer_r9cd6_3", ec = "_closeButton_r9cd6_43", tc = "_titl
|
|
|
3084
3084
|
c.absolute.offlimits && l(c.lessText)
|
|
3085
3085
|
] })
|
|
3086
3086
|
] })
|
|
3087
|
-
] }) : c.categories && c.categories.length > 0 && /* @__PURE__ */ u("div", { className:
|
|
3087
|
+
] }) : c.categories && c.categories.length > 0 && /* @__PURE__ */ u("div", { className: Re.gridContainer, children: c.categories.map(
|
|
3088
3088
|
({ title: m, color: g }, y) => /* @__PURE__ */ T(
|
|
3089
3089
|
"div",
|
|
3090
3090
|
{
|
|
3091
|
-
className:
|
|
3091
|
+
className: Re.elementLegendContainer,
|
|
3092
3092
|
children: [
|
|
3093
3093
|
/* @__PURE__ */ u(
|
|
3094
3094
|
"div",
|
|
3095
3095
|
{
|
|
3096
|
-
className:
|
|
3096
|
+
className: Re.colorDot,
|
|
3097
3097
|
style: { backgroundColor: g }
|
|
3098
3098
|
}
|
|
3099
3099
|
),
|
|
3100
|
-
/* @__PURE__ */ T("div", { className:
|
|
3100
|
+
/* @__PURE__ */ T("div", { className: Re.titleLegendElement, children: [
|
|
3101
3101
|
l(m),
|
|
3102
3102
|
" "
|
|
3103
3103
|
] })
|
|
@@ -3106,21 +3106,21 @@ const Jl = "_legendContainer_r9cd6_3", ec = "_closeButton_r9cd6_43", tc = "_titl
|
|
|
3106
3106
|
y
|
|
3107
3107
|
)
|
|
3108
3108
|
) }),
|
|
3109
|
-
c.absolute && c.absolute.noDataColor && /* @__PURE__ */ T("div", { className:
|
|
3109
|
+
c.absolute && c.absolute.noDataColor && /* @__PURE__ */ T("div", { className: Re.noDataContainer, children: [
|
|
3110
3110
|
/* @__PURE__ */ u(
|
|
3111
3111
|
"div",
|
|
3112
3112
|
{
|
|
3113
|
-
className:
|
|
3113
|
+
className: Re.noData,
|
|
3114
3114
|
style: {
|
|
3115
3115
|
background: c.absolute.noDataColor
|
|
3116
3116
|
}
|
|
3117
3117
|
}
|
|
3118
3118
|
),
|
|
3119
|
-
/* @__PURE__ */ u("div", { className:
|
|
3119
|
+
/* @__PURE__ */ u("div", { className: Re.absoluteValueText, children: /* @__PURE__ */ u("span", { children: l(c.absolute.noDataText) }) })
|
|
3120
3120
|
] })
|
|
3121
3121
|
] })
|
|
3122
3122
|
] }, d)),
|
|
3123
|
-
o && /* @__PURE__ */ u("button", { className:
|
|
3123
|
+
o && /* @__PURE__ */ u("button", { className: Re.moreInfoContainer, onClick: o, children: s || l("moreInformation") })
|
|
3124
3124
|
]
|
|
3125
3125
|
}
|
|
3126
3126
|
);
|
|
@@ -3163,7 +3163,7 @@ mc.propTypes = {
|
|
|
3163
3163
|
const hc = "_logo_1ewa6_2", Ro = {
|
|
3164
3164
|
logo: hc
|
|
3165
3165
|
}, gc = ({ src: e, alt: t, href: n }) => {
|
|
3166
|
-
const { t: r } =
|
|
3166
|
+
const { t: r } = ae(), o = /* @__PURE__ */ u("img", { src: e, alt: r(t) });
|
|
3167
3167
|
return n ? /* @__PURE__ */ u("div", { className: Ro.logo, children: /* @__PURE__ */ u("a", { href: n, children: o }) }) : /* @__PURE__ */ u("div", { className: Ro.logo, children: o });
|
|
3168
3168
|
};
|
|
3169
3169
|
gc.propTypes = {
|
|
@@ -3656,7 +3656,7 @@ function Tc(e) {
|
|
|
3656
3656
|
}
|
|
3657
3657
|
return Array.from(t);
|
|
3658
3658
|
}
|
|
3659
|
-
const $c = typeof document < "u" ? Pi :
|
|
3659
|
+
const $c = typeof document < "u" ? Pi : te, Nc = [
|
|
3660
3660
|
"baseApiUrl",
|
|
3661
3661
|
"maxParallelImageRequests",
|
|
3662
3662
|
"workerClass",
|
|
@@ -3673,8 +3673,8 @@ function Ec(e, t) {
|
|
|
3673
3673
|
}
|
|
3674
3674
|
const Jt = Q.createContext(null);
|
|
3675
3675
|
function Oc(e, t, n) {
|
|
3676
|
-
const r = Qt(yc), [o, s] =
|
|
3677
|
-
|
|
3676
|
+
const r = Qt(yc), [o, s] = se(null), a = Ce(), { current: l } = Ce({ mapLib: null, map: null });
|
|
3677
|
+
te(() => {
|
|
3678
3678
|
const m = e.mapLib;
|
|
3679
3679
|
let g = !0, y;
|
|
3680
3680
|
return Promise.resolve(m || n).then((h) => {
|
|
@@ -3703,7 +3703,7 @@ function Oc(e, t, n) {
|
|
|
3703
3703
|
}, []), $c(() => {
|
|
3704
3704
|
o && o.setProps(e);
|
|
3705
3705
|
}), Qn(t, () => l.map, [o]);
|
|
3706
|
-
const c =
|
|
3706
|
+
const c = qe(() => ({
|
|
3707
3707
|
position: "relative",
|
|
3708
3708
|
width: "100%",
|
|
3709
3709
|
height: "100%",
|
|
@@ -3730,7 +3730,7 @@ function Dt(e, t) {
|
|
|
3730
3730
|
function Lc(e, t) {
|
|
3731
3731
|
const { map: n, mapLib: r } = Qt(Jt), o = Ce({ props: e });
|
|
3732
3732
|
o.current.props = e;
|
|
3733
|
-
const s =
|
|
3733
|
+
const s = qe(() => {
|
|
3734
3734
|
let f = !1;
|
|
3735
3735
|
Q.Children.forEach(e.children, (w) => {
|
|
3736
3736
|
w && (f = !0);
|
|
@@ -3760,11 +3760,11 @@ function Lc(e, t) {
|
|
|
3760
3760
|
C.lngLat = s.getLngLat(), (v = (N = o.current.props).onDragEnd) === null || v === void 0 || v.call(N, C);
|
|
3761
3761
|
}), x;
|
|
3762
3762
|
}, []);
|
|
3763
|
-
|
|
3763
|
+
te(() => (s.addTo(n.getMap()), () => {
|
|
3764
3764
|
s.remove();
|
|
3765
3765
|
}), []);
|
|
3766
3766
|
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;
|
|
3767
|
-
return
|
|
3767
|
+
return te(() => {
|
|
3768
3768
|
Dt(s.getElement(), d);
|
|
3769
3769
|
}, [d]), Qn(t, () => s, []), (s.getLngLat().lng !== a || s.getLngLat().lat !== l) && s.setLngLat([a, l]), c && !bc(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), ji(e.children, s.getElement());
|
|
3770
3770
|
}
|
|
@@ -3773,16 +3773,16 @@ function jo(e) {
|
|
|
3773
3773
|
return new Set(e ? e.trim().split(/\s+/) : []);
|
|
3774
3774
|
}
|
|
3775
3775
|
function Mc(e, t) {
|
|
3776
|
-
const { map: n, mapLib: r } = Qt(Jt), o =
|
|
3776
|
+
const { map: n, mapLib: r } = Qt(Jt), o = qe(() => document.createElement("div"), []), s = Ce({ props: e });
|
|
3777
3777
|
s.current.props = e;
|
|
3778
|
-
const a =
|
|
3778
|
+
const a = qe(() => {
|
|
3779
3779
|
const l = { ...e }, c = new r.Popup(l);
|
|
3780
3780
|
return c.setLngLat([e.longitude, e.latitude]), c.once("open", (d) => {
|
|
3781
3781
|
var m, g;
|
|
3782
3782
|
(g = (m = s.current.props).onOpen) === null || g === void 0 || g.call(m, d);
|
|
3783
3783
|
}), c;
|
|
3784
3784
|
}, []);
|
|
3785
|
-
if (
|
|
3785
|
+
if (te(() => {
|
|
3786
3786
|
const l = (c) => {
|
|
3787
3787
|
var d, m;
|
|
3788
3788
|
(m = (d = s.current.props).onClose) === null || m === void 0 || m.call(d, c);
|
|
@@ -3790,7 +3790,7 @@ function Mc(e, t) {
|
|
|
3790
3790
|
return a.on("close", l), a.setDOMContent(o).addTo(n.getMap()), () => {
|
|
3791
3791
|
a.off("close", l), a.isOpen() && a.remove();
|
|
3792
3792
|
};
|
|
3793
|
-
}, []),
|
|
3793
|
+
}, []), te(() => {
|
|
3794
3794
|
Dt(a.getElement(), e.style);
|
|
3795
3795
|
}, [e.style]), Qn(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)) {
|
|
3796
3796
|
const l = jo(a.options.className), c = jo(e.className);
|
|
@@ -3804,8 +3804,8 @@ function Mc(e, t) {
|
|
|
3804
3804
|
}
|
|
3805
3805
|
const Rc = Mt(Jr(Mc));
|
|
3806
3806
|
function yn(e, t, n, r) {
|
|
3807
|
-
const o = Qt(Jt), s =
|
|
3808
|
-
return
|
|
3807
|
+
const o = Qt(Jt), s = qe(() => e(o), []);
|
|
3808
|
+
return te(() => {
|
|
3809
3809
|
const a = t, l = null, c = typeof t == "function" ? t : null, { map: d } = o;
|
|
3810
3810
|
return d.hasControl(s) || (d.addControl(s, a == null ? void 0 : a.position), l && l(o)), () => {
|
|
3811
3811
|
c && c(o), d.hasControl(s) && d.removeControl(s);
|
|
@@ -3816,7 +3816,7 @@ function Dc(e) {
|
|
|
3816
3816
|
const t = yn(({ mapLib: n }) => new n.AttributionControl(e), {
|
|
3817
3817
|
position: e.position
|
|
3818
3818
|
});
|
|
3819
|
-
return
|
|
3819
|
+
return te(() => {
|
|
3820
3820
|
Dt(t._container, e.style);
|
|
3821
3821
|
}, [e.style]), null;
|
|
3822
3822
|
}
|
|
@@ -3825,7 +3825,7 @@ function Ic(e) {
|
|
|
3825
3825
|
const t = yn(({ mapLib: n }) => new n.FullscreenControl({
|
|
3826
3826
|
container: e.containerId && document.getElementById(e.containerId)
|
|
3827
3827
|
}), { position: e.position });
|
|
3828
|
-
return
|
|
3828
|
+
return te(() => {
|
|
3829
3829
|
Dt(t._controlContainer, e.style);
|
|
3830
3830
|
}, [e.style]), null;
|
|
3831
3831
|
}
|
|
@@ -3852,7 +3852,7 @@ function Vc(e, t) {
|
|
|
3852
3852
|
(d = (c = n.current.props).onTrackUserLocationEnd) === null || d === void 0 || d.call(c, l);
|
|
3853
3853
|
}), s;
|
|
3854
3854
|
}, { position: e.position });
|
|
3855
|
-
return n.current.props = e, Qn(t, () => r, []),
|
|
3855
|
+
return n.current.props = e, Qn(t, () => r, []), te(() => {
|
|
3856
3856
|
Dt(r._container, e.style);
|
|
3857
3857
|
}, [e.style]), null;
|
|
3858
3858
|
}
|
|
@@ -3861,7 +3861,7 @@ function Pc(e) {
|
|
|
3861
3861
|
const t = yn(({ mapLib: n }) => new n.NavigationControl(e), {
|
|
3862
3862
|
position: e.position
|
|
3863
3863
|
});
|
|
3864
|
-
return
|
|
3864
|
+
return te(() => {
|
|
3865
3865
|
Dt(t._container, e.style);
|
|
3866
3866
|
}, [e.style]), null;
|
|
3867
3867
|
}
|
|
@@ -3872,7 +3872,7 @@ function Fc(e) {
|
|
|
3872
3872
|
}), n = Ce(e), r = n.current;
|
|
3873
3873
|
n.current = e;
|
|
3874
3874
|
const { style: o } = e;
|
|
3875
|
-
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),
|
|
3875
|
+
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), te(() => {
|
|
3876
3876
|
Dt(t._container, o);
|
|
3877
3877
|
}, [o]), null;
|
|
3878
3878
|
}
|
|
@@ -3909,8 +3909,8 @@ function jc(e, t, n) {
|
|
|
3909
3909
|
}
|
|
3910
3910
|
let qc = 0;
|
|
3911
3911
|
function Wc(e) {
|
|
3912
|
-
const t = Qt(Jt).map.getMap(), n = Ce(e), [, r] =
|
|
3913
|
-
if (
|
|
3912
|
+
const t = Qt(Jt).map.getMap(), n = Ce(e), [, r] = se(0), o = qe(() => e.id || `jsx-layer-${qc++}`, []);
|
|
3913
|
+
if (te(() => {
|
|
3914
3914
|
if (t) {
|
|
3915
3915
|
const a = () => r((l) => l + 1);
|
|
3916
3916
|
return t.on("styledata", a), a(), () => {
|
|
@@ -3949,8 +3949,8 @@ function Hc(e, t, n) {
|
|
|
3949
3949
|
}) : "setCoordinates" in e && o === 1 && r === "coordinates" ? e.setCoordinates(t.coordinates) : "setUrl" in e && r === "url" ? e.setUrl(t.url) : "setTiles" in e && r === "tiles" ? e.setTiles(t.tiles) : console.warn(`Unable to update <Source> prop: ${r}`);
|
|
3950
3950
|
}
|
|
3951
3951
|
function Kc(e) {
|
|
3952
|
-
const t = Qt(Jt).map.getMap(), n = Ce(e), [, r] =
|
|
3953
|
-
|
|
3952
|
+
const t = Qt(Jt).map.getMap(), n = Ce(e), [, r] = se(0), o = qe(() => e.id || `jsx-source-${Uc++}`, []);
|
|
3953
|
+
te(() => {
|
|
3954
3954
|
if (t) {
|
|
3955
3955
|
const a = () => setTimeout(() => r((l) => l + 1), 0);
|
|
3956
3956
|
return t.on("styledata", a), a(), () => {
|
|
@@ -3989,8 +3989,8 @@ const Qc = ({
|
|
|
3989
3989
|
sources: d = [],
|
|
3990
3990
|
layers: m = []
|
|
3991
3991
|
}) => {
|
|
3992
|
-
const g = Ce(), [y, h] =
|
|
3993
|
-
return
|
|
3992
|
+
const g = Ce(), [y, h] = se(null), b = Xs((f) => f.mapState.showTexts);
|
|
3993
|
+
return te(() => {
|
|
3994
3994
|
if (g.current) {
|
|
3995
3995
|
const f = g.current.getMap();
|
|
3996
3996
|
f.getStyle().layers.map((x) => {
|
|
@@ -4087,7 +4087,7 @@ const Jc = "_mapContainer_1r3q4_3", e0 = {
|
|
|
4087
4087
|
title: n0,
|
|
4088
4088
|
button: r0
|
|
4089
4089
|
}, o0 = ({ props: e }) => {
|
|
4090
|
-
const { t } =
|
|
4090
|
+
const { t } = ae();
|
|
4091
4091
|
return /* @__PURE__ */ u("div", { className: Nr.FeaturePopUp, children: e.map(
|
|
4092
4092
|
(n) => n.type != "button" ? /* @__PURE__ */ T("p", { children: [
|
|
4093
4093
|
/* @__PURE__ */ T("span", { className: Nr.title, children: [
|
|
@@ -4125,14 +4125,14 @@ const Jc = "_mapContainer_1r3q4_3", e0 = {
|
|
|
4125
4125
|
hash: h = !1
|
|
4126
4126
|
}) => {
|
|
4127
4127
|
const b = Ce();
|
|
4128
|
-
return
|
|
4128
|
+
return te(() => {
|
|
4129
4129
|
if (b.current) {
|
|
4130
4130
|
const f = b.current.getMap();
|
|
4131
4131
|
f.getStyle().layers.map((x) => {
|
|
4132
4132
|
x.type == "symbol" && x.id != "professionals" && (y ? f.setLayoutProperty(x.id, "visibility", "visible") : f.setLayoutProperty(x.id, "visibility", "none"));
|
|
4133
4133
|
});
|
|
4134
4134
|
}
|
|
4135
|
-
}, [y]),
|
|
4135
|
+
}, [y]), te(() => {
|
|
4136
4136
|
let f = new Qs();
|
|
4137
4137
|
return br.addProtocol("pmtiles", f.tile), () => {
|
|
4138
4138
|
br.removeProtocol("pmtiles");
|
|
@@ -4241,7 +4241,7 @@ const s0 = "_sectionBar_yf2vy_2", a0 = "_leftContent_yf2vy_14", l0 = "_textConta
|
|
|
4241
4241
|
subTitleColor: l = "#605b56",
|
|
4242
4242
|
borderTop: c = !1
|
|
4243
4243
|
}) => {
|
|
4244
|
-
const { t: d } =
|
|
4244
|
+
const { t: d } = ae();
|
|
4245
4245
|
return /* @__PURE__ */ T(
|
|
4246
4246
|
"div",
|
|
4247
4247
|
{
|
|
@@ -4646,289 +4646,289 @@ function A0(e) {
|
|
|
4646
4646
|
shiftStep: _ = 10,
|
|
4647
4647
|
tabIndex: x,
|
|
4648
4648
|
value: w
|
|
4649
|
-
} = e, N = Q.useRef(void 0), [v, C] = Q.useState(-1), [S, O] = Q.useState(-1), [k,
|
|
4649
|
+
} = e, N = Q.useRef(void 0), [v, C] = Q.useState(-1), [S, O] = Q.useState(-1), [k, $] = Q.useState(!1), V = Q.useRef(0), R = Q.useRef(null), [p, A] = x0({
|
|
4650
4650
|
controlled: w,
|
|
4651
4651
|
default: n ?? c,
|
|
4652
4652
|
name: "Slider"
|
|
4653
|
-
}),
|
|
4654
|
-
const
|
|
4655
|
-
Object.defineProperty(
|
|
4653
|
+
}), E = m && ((I, P, W) => {
|
|
4654
|
+
const X = I.nativeEvent || I, le = new X.constructor(X.type, X);
|
|
4655
|
+
Object.defineProperty(le, "target", {
|
|
4656
4656
|
writable: !0,
|
|
4657
4657
|
value: {
|
|
4658
|
-
value:
|
|
4658
|
+
value: P,
|
|
4659
4659
|
name: d
|
|
4660
4660
|
}
|
|
4661
|
-
}),
|
|
4661
|
+
}), R.current = P, m(le, P, W);
|
|
4662
4662
|
}), z = Array.isArray(p);
|
|
4663
|
-
let
|
|
4664
|
-
|
|
4665
|
-
const Y = a === !0 && f !== null ? [...Array(Math.floor((l - c) / f) + 1)].map((
|
|
4666
|
-
value: c + f *
|
|
4667
|
-
})) : a || [],
|
|
4668
|
-
var
|
|
4669
|
-
const
|
|
4670
|
-
Uo(
|
|
4671
|
-
}, B = (
|
|
4672
|
-
var
|
|
4673
|
-
Uo(
|
|
4674
|
-
}, Z = (
|
|
4675
|
-
const
|
|
4676
|
-
let
|
|
4663
|
+
let q = z ? p.slice().sort(ds) : [p];
|
|
4664
|
+
q = q.map((I) => I == null ? c : Kt(I, c, l));
|
|
4665
|
+
const Y = a === !0 && f !== null ? [...Array(Math.floor((l - c) / f) + 1)].map((I, P) => ({
|
|
4666
|
+
value: c + f * P
|
|
4667
|
+
})) : a || [], U = Y.map((I) => I.value), [be, M] = Q.useState(-1), D = Q.useRef(null), K = cs(h, D), J = (I) => (P) => {
|
|
4668
|
+
var X;
|
|
4669
|
+
const W = Number(P.currentTarget.getAttribute("data-index"));
|
|
4670
|
+
Uo(P.target) && M(W), O(W), (X = I == null ? void 0 : I.onFocus) == null || X.call(I, P);
|
|
4671
|
+
}, B = (I) => (P) => {
|
|
4672
|
+
var W;
|
|
4673
|
+
Uo(P.target) || M(-1), O(-1), (W = I == null ? void 0 : I.onBlur) == null || W.call(I, P);
|
|
4674
|
+
}, Z = (I, P) => {
|
|
4675
|
+
const W = Number(I.currentTarget.getAttribute("data-index")), X = q[W], le = U.indexOf(X);
|
|
4676
|
+
let G = P;
|
|
4677
4677
|
if (Y && f == null) {
|
|
4678
|
-
const
|
|
4679
|
-
|
|
4680
|
-
}
|
|
4681
|
-
if (
|
|
4682
|
-
o && (
|
|
4683
|
-
const
|
|
4684
|
-
|
|
4685
|
-
values:
|
|
4686
|
-
newValue:
|
|
4687
|
-
index:
|
|
4678
|
+
const De = U[U.length - 1];
|
|
4679
|
+
G >= De ? G = De : G <= U[0] ? G = U[0] : G = G < X ? U[le - 1] : U[le + 1];
|
|
4680
|
+
}
|
|
4681
|
+
if (G = Kt(G, c, l), z) {
|
|
4682
|
+
o && (G = Kt(G, q[W - 1] || -1 / 0, q[W + 1] || 1 / 0));
|
|
4683
|
+
const De = G;
|
|
4684
|
+
G = Ho({
|
|
4685
|
+
values: q,
|
|
4686
|
+
newValue: G,
|
|
4687
|
+
index: W
|
|
4688
4688
|
});
|
|
4689
|
-
let Pe =
|
|
4690
|
-
o || (Pe =
|
|
4691
|
-
sliderRef:
|
|
4689
|
+
let Pe = W;
|
|
4690
|
+
o || (Pe = G.indexOf(De)), Ln({
|
|
4691
|
+
sliderRef: D,
|
|
4692
4692
|
activeIndex: Pe
|
|
4693
4693
|
});
|
|
4694
4694
|
}
|
|
4695
|
-
A(
|
|
4696
|
-
},
|
|
4697
|
-
var
|
|
4698
|
-
if (["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "PageUp", "PageDown", "Home", "End"].includes(
|
|
4699
|
-
|
|
4700
|
-
const
|
|
4701
|
-
let
|
|
4695
|
+
A(G), M(W), E && !Mn(G, p) && E(I, G, W), g && g(I, R.current ?? G);
|
|
4696
|
+
}, re = (I) => (P) => {
|
|
4697
|
+
var W;
|
|
4698
|
+
if (["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "PageUp", "PageDown", "Home", "End"].includes(P.key)) {
|
|
4699
|
+
P.preventDefault();
|
|
4700
|
+
const X = Number(P.currentTarget.getAttribute("data-index")), le = q[X];
|
|
4701
|
+
let G = null;
|
|
4702
4702
|
if (f != null) {
|
|
4703
|
-
const
|
|
4704
|
-
switch (
|
|
4703
|
+
const De = P.shiftKey ? _ : f;
|
|
4704
|
+
switch (P.key) {
|
|
4705
4705
|
case "ArrowUp":
|
|
4706
|
-
|
|
4706
|
+
G = Bt(le, De, 1, c, l);
|
|
4707
4707
|
break;
|
|
4708
4708
|
case "ArrowRight":
|
|
4709
|
-
|
|
4709
|
+
G = Bt(le, De, s ? -1 : 1, c, l);
|
|
4710
4710
|
break;
|
|
4711
4711
|
case "ArrowDown":
|
|
4712
|
-
|
|
4712
|
+
G = Bt(le, De, -1, c, l);
|
|
4713
4713
|
break;
|
|
4714
4714
|
case "ArrowLeft":
|
|
4715
|
-
|
|
4715
|
+
G = Bt(le, De, s ? 1 : -1, c, l);
|
|
4716
4716
|
break;
|
|
4717
4717
|
case "PageUp":
|
|
4718
|
-
|
|
4718
|
+
G = Bt(le, _, 1, c, l);
|
|
4719
4719
|
break;
|
|
4720
4720
|
case "PageDown":
|
|
4721
|
-
|
|
4721
|
+
G = Bt(le, _, -1, c, l);
|
|
4722
4722
|
break;
|
|
4723
4723
|
case "Home":
|
|
4724
|
-
|
|
4724
|
+
G = c;
|
|
4725
4725
|
break;
|
|
4726
4726
|
case "End":
|
|
4727
|
-
|
|
4727
|
+
G = l;
|
|
4728
4728
|
break;
|
|
4729
4729
|
}
|
|
4730
4730
|
} else if (Y) {
|
|
4731
|
-
const
|
|
4732
|
-
|
|
4731
|
+
const De = U[U.length - 1], Pe = U.indexOf(le), Me = [s ? "ArrowRight" : "ArrowLeft", "ArrowDown", "PageDown", "Home"], Ke = [s ? "ArrowLeft" : "ArrowRight", "ArrowUp", "PageUp", "End"];
|
|
4732
|
+
Me.includes(P.key) ? Pe === 0 ? G = U[0] : G = U[Pe - 1] : Ke.includes(P.key) && (Pe === U.length - 1 ? G = De : G = U[Pe + 1]);
|
|
4733
4733
|
}
|
|
4734
|
-
|
|
4734
|
+
G != null && Z(P, G);
|
|
4735
4735
|
}
|
|
4736
|
-
(
|
|
4736
|
+
(W = I == null ? void 0 : I.onKeyDown) == null || W.call(I, P);
|
|
4737
4737
|
};
|
|
4738
4738
|
us(() => {
|
|
4739
|
-
var
|
|
4740
|
-
r &&
|
|
4741
|
-
}, [r]), r && v !== -1 && C(-1), r &&
|
|
4742
|
-
const
|
|
4743
|
-
var
|
|
4744
|
-
(
|
|
4745
|
-
},
|
|
4746
|
-
let
|
|
4747
|
-
s && y === "horizontal" && (
|
|
4748
|
-
const
|
|
4749
|
-
finger:
|
|
4750
|
-
move:
|
|
4739
|
+
var I;
|
|
4740
|
+
r && D.current.contains(document.activeElement) && ((I = document.activeElement) == null || I.blur());
|
|
4741
|
+
}, [r]), r && v !== -1 && C(-1), r && be !== -1 && M(-1);
|
|
4742
|
+
const ne = (I) => (P) => {
|
|
4743
|
+
var W;
|
|
4744
|
+
(W = I.onChange) == null || W.call(I, P), Z(P, P.target.valueAsNumber);
|
|
4745
|
+
}, oe = Q.useRef(void 0);
|
|
4746
|
+
let ee = y;
|
|
4747
|
+
s && y === "horizontal" && (ee += "-reverse");
|
|
4748
|
+
const H = ({
|
|
4749
|
+
finger: I,
|
|
4750
|
+
move: P = !1
|
|
4751
4751
|
}) => {
|
|
4752
4752
|
const {
|
|
4753
|
-
current:
|
|
4754
|
-
} =
|
|
4755
|
-
width:
|
|
4756
|
-
height:
|
|
4757
|
-
bottom:
|
|
4758
|
-
left:
|
|
4759
|
-
} =
|
|
4753
|
+
current: W
|
|
4754
|
+
} = D, {
|
|
4755
|
+
width: X,
|
|
4756
|
+
height: le,
|
|
4757
|
+
bottom: G,
|
|
4758
|
+
left: De
|
|
4759
|
+
} = W.getBoundingClientRect();
|
|
4760
4760
|
let Pe;
|
|
4761
|
-
|
|
4762
|
-
let
|
|
4763
|
-
if (
|
|
4764
|
-
|
|
4761
|
+
ee.startsWith("vertical") ? Pe = (G - I.y) / le : Pe = (I.x - De) / X, ee.includes("-reverse") && (Pe = 1 - Pe);
|
|
4762
|
+
let Me;
|
|
4763
|
+
if (Me = T0(Pe, c, l), f)
|
|
4764
|
+
Me = N0(Me, f, c);
|
|
4765
4765
|
else {
|
|
4766
|
-
const tn = Zo(
|
|
4767
|
-
|
|
4766
|
+
const tn = Zo(U, Me);
|
|
4767
|
+
Me = U[tn];
|
|
4768
4768
|
}
|
|
4769
|
-
|
|
4769
|
+
Me = Kt(Me, c, l);
|
|
4770
4770
|
let Ke = 0;
|
|
4771
4771
|
if (z) {
|
|
4772
|
-
|
|
4773
|
-
const tn =
|
|
4774
|
-
|
|
4775
|
-
values:
|
|
4776
|
-
newValue:
|
|
4772
|
+
P ? Ke = oe.current : Ke = Zo(q, Me), o && (Me = Kt(Me, q[Ke - 1] || -1 / 0, q[Ke + 1] || 1 / 0));
|
|
4773
|
+
const tn = Me;
|
|
4774
|
+
Me = Ho({
|
|
4775
|
+
values: q,
|
|
4776
|
+
newValue: Me,
|
|
4777
4777
|
index: Ke
|
|
4778
|
-
}), o &&
|
|
4778
|
+
}), o && P || (Ke = Me.indexOf(tn), oe.current = Ke);
|
|
4779
4779
|
}
|
|
4780
4780
|
return {
|
|
4781
|
-
newValue:
|
|
4781
|
+
newValue: Me,
|
|
4782
4782
|
activeIndex: Ke
|
|
4783
4783
|
};
|
|
4784
|
-
},
|
|
4785
|
-
const
|
|
4786
|
-
if (!
|
|
4784
|
+
}, _e = Er((I) => {
|
|
4785
|
+
const P = An(I, N);
|
|
4786
|
+
if (!P)
|
|
4787
4787
|
return;
|
|
4788
|
-
if (V.current += 1,
|
|
4789
|
-
|
|
4788
|
+
if (V.current += 1, I.type === "mousemove" && I.buttons === 0) {
|
|
4789
|
+
F(I);
|
|
4790
4790
|
return;
|
|
4791
4791
|
}
|
|
4792
4792
|
const {
|
|
4793
|
-
newValue:
|
|
4794
|
-
activeIndex:
|
|
4795
|
-
} =
|
|
4796
|
-
finger:
|
|
4793
|
+
newValue: W,
|
|
4794
|
+
activeIndex: X
|
|
4795
|
+
} = H({
|
|
4796
|
+
finger: P,
|
|
4797
4797
|
move: !0
|
|
4798
4798
|
});
|
|
4799
4799
|
Ln({
|
|
4800
|
-
sliderRef:
|
|
4801
|
-
activeIndex:
|
|
4800
|
+
sliderRef: D,
|
|
4801
|
+
activeIndex: X,
|
|
4802
4802
|
setActive: C
|
|
4803
|
-
}), A(
|
|
4804
|
-
}),
|
|
4805
|
-
const
|
|
4806
|
-
if (
|
|
4803
|
+
}), A(W), !k && V.current > k0 && $(!0), E && !Mn(W, p) && E(I, W, X);
|
|
4804
|
+
}), F = Er((I) => {
|
|
4805
|
+
const P = An(I, N);
|
|
4806
|
+
if ($(!1), !P)
|
|
4807
4807
|
return;
|
|
4808
4808
|
const {
|
|
4809
|
-
newValue:
|
|
4810
|
-
} =
|
|
4811
|
-
finger:
|
|
4809
|
+
newValue: W
|
|
4810
|
+
} = H({
|
|
4811
|
+
finger: P,
|
|
4812
4812
|
move: !0
|
|
4813
4813
|
});
|
|
4814
|
-
C(-1),
|
|
4815
|
-
}),
|
|
4814
|
+
C(-1), I.type === "touchend" && O(-1), g && g(I, R.current ?? W), N.current = void 0, Se();
|
|
4815
|
+
}), ue = Er((I) => {
|
|
4816
4816
|
if (r)
|
|
4817
4817
|
return;
|
|
4818
|
-
Ko() ||
|
|
4819
|
-
const
|
|
4820
|
-
|
|
4821
|
-
const
|
|
4822
|
-
if (
|
|
4818
|
+
Ko() || I.preventDefault();
|
|
4819
|
+
const P = I.changedTouches[0];
|
|
4820
|
+
P != null && (N.current = P.identifier);
|
|
4821
|
+
const W = An(I, N);
|
|
4822
|
+
if (W !== !1) {
|
|
4823
4823
|
const {
|
|
4824
|
-
newValue:
|
|
4825
|
-
activeIndex:
|
|
4826
|
-
} =
|
|
4827
|
-
finger:
|
|
4824
|
+
newValue: le,
|
|
4825
|
+
activeIndex: G
|
|
4826
|
+
} = H({
|
|
4827
|
+
finger: W
|
|
4828
4828
|
});
|
|
4829
4829
|
Ln({
|
|
4830
|
-
sliderRef:
|
|
4831
|
-
activeIndex:
|
|
4830
|
+
sliderRef: D,
|
|
4831
|
+
activeIndex: G,
|
|
4832
4832
|
setActive: C
|
|
4833
|
-
}), A(
|
|
4833
|
+
}), A(le), E && !Mn(le, p) && E(I, le, G);
|
|
4834
4834
|
}
|
|
4835
4835
|
V.current = 0;
|
|
4836
|
-
const
|
|
4837
|
-
|
|
4836
|
+
const X = jn(D.current);
|
|
4837
|
+
X.addEventListener("touchmove", _e, {
|
|
4838
4838
|
passive: !0
|
|
4839
|
-
}),
|
|
4839
|
+
}), X.addEventListener("touchend", F, {
|
|
4840
4840
|
passive: !0
|
|
4841
4841
|
});
|
|
4842
|
-
}),
|
|
4843
|
-
const
|
|
4844
|
-
|
|
4845
|
-
}, [
|
|
4842
|
+
}), Se = Q.useCallback(() => {
|
|
4843
|
+
const I = jn(D.current);
|
|
4844
|
+
I.removeEventListener("mousemove", _e), I.removeEventListener("mouseup", F), I.removeEventListener("touchmove", _e), I.removeEventListener("touchend", F);
|
|
4845
|
+
}, [F, _e]);
|
|
4846
4846
|
Q.useEffect(() => {
|
|
4847
4847
|
const {
|
|
4848
|
-
current:
|
|
4849
|
-
} =
|
|
4850
|
-
return
|
|
4848
|
+
current: I
|
|
4849
|
+
} = D;
|
|
4850
|
+
return I.addEventListener("touchstart", ue, {
|
|
4851
4851
|
passive: Ko()
|
|
4852
4852
|
}), () => {
|
|
4853
|
-
|
|
4853
|
+
I.removeEventListener("touchstart", ue), Se();
|
|
4854
4854
|
};
|
|
4855
|
-
}, [
|
|
4856
|
-
r &&
|
|
4857
|
-
}, [r,
|
|
4858
|
-
const
|
|
4859
|
-
var
|
|
4860
|
-
if ((
|
|
4855
|
+
}, [Se, ue]), Q.useEffect(() => {
|
|
4856
|
+
r && Se();
|
|
4857
|
+
}, [r, Se]);
|
|
4858
|
+
const pt = (I) => (P) => {
|
|
4859
|
+
var le;
|
|
4860
|
+
if ((le = I.onMouseDown) == null || le.call(I, P), r || P.defaultPrevented || P.button !== 0)
|
|
4861
4861
|
return;
|
|
4862
|
-
|
|
4863
|
-
const
|
|
4864
|
-
if (
|
|
4862
|
+
P.preventDefault();
|
|
4863
|
+
const W = An(P, N);
|
|
4864
|
+
if (W !== !1) {
|
|
4865
4865
|
const {
|
|
4866
|
-
newValue:
|
|
4867
|
-
activeIndex:
|
|
4868
|
-
} =
|
|
4869
|
-
finger:
|
|
4866
|
+
newValue: G,
|
|
4867
|
+
activeIndex: De
|
|
4868
|
+
} = H({
|
|
4869
|
+
finger: W
|
|
4870
4870
|
});
|
|
4871
4871
|
Ln({
|
|
4872
|
-
sliderRef:
|
|
4873
|
-
activeIndex:
|
|
4872
|
+
sliderRef: D,
|
|
4873
|
+
activeIndex: De,
|
|
4874
4874
|
setActive: C
|
|
4875
|
-
}), A(
|
|
4875
|
+
}), A(G), E && !Mn(G, p) && E(P, G, De);
|
|
4876
4876
|
}
|
|
4877
4877
|
V.current = 0;
|
|
4878
|
-
const
|
|
4879
|
-
|
|
4878
|
+
const X = jn(D.current);
|
|
4879
|
+
X.addEventListener("mousemove", _e, {
|
|
4880
4880
|
passive: !0
|
|
4881
|
-
}),
|
|
4882
|
-
},
|
|
4883
|
-
const
|
|
4884
|
-
onMouseDown:
|
|
4885
|
-
},
|
|
4886
|
-
...
|
|
4887
|
-
...
|
|
4881
|
+
}), X.addEventListener("mouseup", F);
|
|
4882
|
+
}, Fe = Kn(z ? q[0] : c, c, l), Le = Kn(q[q.length - 1], c, l) - Fe, ot = (I = {}) => {
|
|
4883
|
+
const P = zn(I), W = {
|
|
4884
|
+
onMouseDown: pt(P || {})
|
|
4885
|
+
}, X = {
|
|
4886
|
+
...P,
|
|
4887
|
+
...W
|
|
4888
4888
|
};
|
|
4889
4889
|
return {
|
|
4890
|
-
...
|
|
4891
|
-
ref:
|
|
4892
|
-
...
|
|
4890
|
+
...I,
|
|
4891
|
+
ref: K,
|
|
4892
|
+
...X
|
|
4893
4893
|
};
|
|
4894
|
-
},
|
|
4895
|
-
var
|
|
4896
|
-
(
|
|
4897
|
-
const
|
|
4898
|
-
O(
|
|
4899
|
-
},
|
|
4900
|
-
var
|
|
4901
|
-
(
|
|
4902
|
-
},
|
|
4903
|
-
const
|
|
4904
|
-
onMouseOver:
|
|
4905
|
-
onMouseLeave:
|
|
4894
|
+
}, j = (I) => (P) => {
|
|
4895
|
+
var X;
|
|
4896
|
+
(X = I.onMouseOver) == null || X.call(I, P);
|
|
4897
|
+
const W = Number(P.currentTarget.getAttribute("data-index"));
|
|
4898
|
+
O(W);
|
|
4899
|
+
}, ce = (I) => (P) => {
|
|
4900
|
+
var W;
|
|
4901
|
+
(W = I.onMouseLeave) == null || W.call(I, P), O(-1);
|
|
4902
|
+
}, he = (I = {}) => {
|
|
4903
|
+
const P = zn(I), W = {
|
|
4904
|
+
onMouseOver: j(P || {}),
|
|
4905
|
+
onMouseLeave: ce(P || {})
|
|
4906
4906
|
};
|
|
4907
4907
|
return {
|
|
4908
|
-
...
|
|
4909
|
-
...
|
|
4910
|
-
...
|
|
4908
|
+
...I,
|
|
4909
|
+
...P,
|
|
4910
|
+
...W
|
|
4911
4911
|
};
|
|
4912
|
-
},
|
|
4912
|
+
}, ke = (I) => ({
|
|
4913
4913
|
// So the non active thumb doesn't show its label on hover.
|
|
4914
|
-
pointerEvents: v !== -1 && v !==
|
|
4914
|
+
pointerEvents: v !== -1 && v !== I ? "none" : void 0
|
|
4915
4915
|
});
|
|
4916
|
-
let
|
|
4917
|
-
return y === "vertical" && (
|
|
4916
|
+
let Ee;
|
|
4917
|
+
return y === "vertical" && (Ee = s ? "vertical-rl" : "vertical-lr"), {
|
|
4918
4918
|
active: v,
|
|
4919
|
-
axis:
|
|
4919
|
+
axis: ee,
|
|
4920
4920
|
axisProps: E0,
|
|
4921
4921
|
dragging: k,
|
|
4922
|
-
focusedThumbIndex:
|
|
4923
|
-
getHiddenInputProps: (
|
|
4924
|
-
const
|
|
4925
|
-
onChange:
|
|
4926
|
-
onFocus:
|
|
4927
|
-
onBlur: B(
|
|
4928
|
-
onKeyDown:
|
|
4929
|
-
},
|
|
4930
|
-
...
|
|
4931
|
-
...
|
|
4922
|
+
focusedThumbIndex: be,
|
|
4923
|
+
getHiddenInputProps: (I = {}) => {
|
|
4924
|
+
const P = zn(I), W = {
|
|
4925
|
+
onChange: ne(P || {}),
|
|
4926
|
+
onFocus: J(P || {}),
|
|
4927
|
+
onBlur: B(P || {}),
|
|
4928
|
+
onKeyDown: re(P || {})
|
|
4929
|
+
}, X = {
|
|
4930
|
+
...P,
|
|
4931
|
+
...W
|
|
4932
4932
|
};
|
|
4933
4933
|
return {
|
|
4934
4934
|
tabIndex: x,
|
|
@@ -4942,35 +4942,35 @@ function A0(e) {
|
|
|
4942
4942
|
max: e.max,
|
|
4943
4943
|
step: e.step === null && e.marks ? "any" : e.step ?? void 0,
|
|
4944
4944
|
disabled: r,
|
|
4945
|
-
...
|
|
4946
|
-
...
|
|
4945
|
+
...I,
|
|
4946
|
+
...X,
|
|
4947
4947
|
style: {
|
|
4948
4948
|
...w0,
|
|
4949
4949
|
direction: s ? "rtl" : "ltr",
|
|
4950
4950
|
// So that VoiceOver's focus indicator matches the thumb's dimensions
|
|
4951
4951
|
width: "100%",
|
|
4952
4952
|
height: "100%",
|
|
4953
|
-
writingMode:
|
|
4953
|
+
writingMode: Ee
|
|
4954
4954
|
}
|
|
4955
4955
|
};
|
|
4956
4956
|
},
|
|
4957
|
-
getRootProps:
|
|
4958
|
-
getThumbProps:
|
|
4957
|
+
getRootProps: ot,
|
|
4958
|
+
getThumbProps: he,
|
|
4959
4959
|
marks: Y,
|
|
4960
4960
|
open: S,
|
|
4961
4961
|
range: z,
|
|
4962
|
-
rootRef:
|
|
4963
|
-
trackLeap:
|
|
4964
|
-
trackOffset:
|
|
4965
|
-
values:
|
|
4966
|
-
getThumbStyle:
|
|
4962
|
+
rootRef: K,
|
|
4963
|
+
trackLeap: Le,
|
|
4964
|
+
trackOffset: Fe,
|
|
4965
|
+
values: q,
|
|
4966
|
+
getThumbStyle: ke
|
|
4967
4967
|
};
|
|
4968
4968
|
}
|
|
4969
4969
|
function At(e, ...t) {
|
|
4970
4970
|
const n = new URL(`https://mui.com/production-error/?code=${e}`);
|
|
4971
4971
|
return t.forEach((r) => n.searchParams.append("args[]", r)), `Minified MUI error #${e}; visit ${n} for the full message.`;
|
|
4972
4972
|
}
|
|
4973
|
-
function
|
|
4973
|
+
function Je(e) {
|
|
4974
4974
|
if (typeof e != "string")
|
|
4975
4975
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : At(7));
|
|
4976
4976
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
@@ -5128,14 +5128,14 @@ function R0() {
|
|
|
5128
5128
|
return Xo || (Xo = 1, process.env.NODE_ENV === "production" ? Dn.exports = /* @__PURE__ */ L0() : Dn.exports = /* @__PURE__ */ M0()), Dn.exports;
|
|
5129
5129
|
}
|
|
5130
5130
|
var Gn = /* @__PURE__ */ R0();
|
|
5131
|
-
function
|
|
5131
|
+
function ut(e) {
|
|
5132
5132
|
if (typeof e != "object" || e === null)
|
|
5133
5133
|
return !1;
|
|
5134
5134
|
const t = Object.getPrototypeOf(e);
|
|
5135
5135
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
5136
5136
|
}
|
|
5137
5137
|
function fs(e) {
|
|
5138
|
-
if (/* @__PURE__ */ Q.isValidElement(e) || Gn.isValidElementType(e) || !
|
|
5138
|
+
if (/* @__PURE__ */ Q.isValidElement(e) || Gn.isValidElementType(e) || !ut(e))
|
|
5139
5139
|
return e;
|
|
5140
5140
|
const t = {};
|
|
5141
5141
|
return Object.keys(e).forEach((n) => {
|
|
@@ -5148,9 +5148,9 @@ function He(e, t, n = {
|
|
|
5148
5148
|
const r = n.clone ? {
|
|
5149
5149
|
...e
|
|
5150
5150
|
} : e;
|
|
5151
|
-
return
|
|
5152
|
-
/* @__PURE__ */ Q.isValidElement(t[o]) || Gn.isValidElementType(t[o]) ? r[o] = t[o] :
|
|
5153
|
-
Object.prototype.hasOwnProperty.call(e, o) &&
|
|
5151
|
+
return ut(e) && ut(t) && Object.keys(t).forEach((o) => {
|
|
5152
|
+
/* @__PURE__ */ Q.isValidElement(t[o]) || Gn.isValidElementType(t[o]) ? r[o] = t[o] : ut(t[o]) && // Avoid prototype pollution
|
|
5153
|
+
Object.prototype.hasOwnProperty.call(e, o) && ut(e[o]) ? r[o] = He(e[o], t[o], n) : n.clone ? r[o] = ut(t[o]) ? fs(t[o]) : t[o] : r[o] = t[o];
|
|
5154
5154
|
}), r;
|
|
5155
5155
|
}
|
|
5156
5156
|
function mn(e, t) {
|
|
@@ -5230,7 +5230,7 @@ const er = {
|
|
|
5230
5230
|
}
|
|
5231
5231
|
})
|
|
5232
5232
|
};
|
|
5233
|
-
function
|
|
5233
|
+
function ft(e, t, n) {
|
|
5234
5234
|
const r = e.theme || {};
|
|
5235
5235
|
if (Array.isArray(t)) {
|
|
5236
5236
|
const s = r.breakpoints || Jo;
|
|
@@ -5291,9 +5291,9 @@ function Ne(e) {
|
|
|
5291
5291
|
if (a[t] == null)
|
|
5292
5292
|
return null;
|
|
5293
5293
|
const l = a[t], c = a.theme, d = tr(c, r) || {};
|
|
5294
|
-
return
|
|
5294
|
+
return ft(a, l, (g) => {
|
|
5295
5295
|
let y = Yn(d, o, g);
|
|
5296
|
-
return g === y && typeof g == "string" && (y = Yn(d, o, `${t}${g === "default" ? "" :
|
|
5296
|
+
return g === y && typeof g == "string" && (y = Yn(d, o, `${t}${g === "default" ? "" : Je(g)}`, g)), n === !1 ? y : {
|
|
5297
5297
|
[n]: y
|
|
5298
5298
|
};
|
|
5299
5299
|
});
|
|
@@ -5358,7 +5358,7 @@ function Z0(e, t, n, r) {
|
|
|
5358
5358
|
if (!t.includes(n))
|
|
5359
5359
|
return null;
|
|
5360
5360
|
const o = q0(n), s = U0(o, r), a = e[n];
|
|
5361
|
-
return
|
|
5361
|
+
return ft(e, a, s);
|
|
5362
5362
|
}
|
|
5363
5363
|
function ps(e, t) {
|
|
5364
5364
|
const n = so(e.theme);
|
|
@@ -5396,7 +5396,7 @@ const H0 = Qe("border", Ye), K0 = Qe("borderTop", Ye), G0 = Qe("borderRight", Ye
|
|
|
5396
5396
|
const t = bn(e.theme, "shape.borderRadius", 4, "borderRadius"), n = (r) => ({
|
|
5397
5397
|
borderRadius: vn(t, r)
|
|
5398
5398
|
});
|
|
5399
|
-
return
|
|
5399
|
+
return ft(e, e.borderRadius, n);
|
|
5400
5400
|
}
|
|
5401
5401
|
return null;
|
|
5402
5402
|
};
|
|
@@ -5410,7 +5410,7 @@ const sr = (e) => {
|
|
|
5410
5410
|
const t = bn(e.theme, "spacing", 8, "gap"), n = (r) => ({
|
|
5411
5411
|
gap: vn(t, r)
|
|
5412
5412
|
});
|
|
5413
|
-
return
|
|
5413
|
+
return ft(e, e.gap, n);
|
|
5414
5414
|
}
|
|
5415
5415
|
return null;
|
|
5416
5416
|
};
|
|
@@ -5423,7 +5423,7 @@ const ar = (e) => {
|
|
|
5423
5423
|
const t = bn(e.theme, "spacing", 8, "columnGap"), n = (r) => ({
|
|
5424
5424
|
columnGap: vn(t, r)
|
|
5425
5425
|
});
|
|
5426
|
-
return
|
|
5426
|
+
return ft(e, e.columnGap, n);
|
|
5427
5427
|
}
|
|
5428
5428
|
return null;
|
|
5429
5429
|
};
|
|
@@ -5436,7 +5436,7 @@ const lr = (e) => {
|
|
|
5436
5436
|
const t = bn(e.theme, "spacing", 8, "rowGap"), n = (r) => ({
|
|
5437
5437
|
rowGap: vn(t, r)
|
|
5438
5438
|
});
|
|
5439
|
-
return
|
|
5439
|
+
return ft(e, e.rowGap, n);
|
|
5440
5440
|
}
|
|
5441
5441
|
return null;
|
|
5442
5442
|
};
|
|
@@ -5501,7 +5501,7 @@ const y2 = Ne({
|
|
|
5501
5501
|
maxWidth: Ze(n)
|
|
5502
5502
|
};
|
|
5503
5503
|
};
|
|
5504
|
-
return
|
|
5504
|
+
return ft(e, e.maxWidth, t);
|
|
5505
5505
|
}
|
|
5506
5506
|
return null;
|
|
5507
5507
|
};
|
|
@@ -5851,9 +5851,9 @@ function k2() {
|
|
|
5851
5851
|
[n]: r
|
|
5852
5852
|
};
|
|
5853
5853
|
const y = tr(o, d) || {};
|
|
5854
|
-
return g ? g(a) :
|
|
5854
|
+
return g ? g(a) : ft(a, r, (b) => {
|
|
5855
5855
|
let f = Yn(y, m, b);
|
|
5856
|
-
return b === f && typeof b == "string" && (f = Yn(y, m, `${n}${b === "default" ? "" :
|
|
5856
|
+
return b === f && typeof b == "string" && (f = Yn(y, m, `${n}${b === "default" ? "" : Je(b)}`, b)), c === !1 ? f : {
|
|
5857
5857
|
[c]: f
|
|
5858
5858
|
};
|
|
5859
5859
|
});
|
|
@@ -5884,7 +5884,7 @@ function k2() {
|
|
|
5884
5884
|
if (a[h])
|
|
5885
5885
|
y = mn(y, e(h, b, o, a));
|
|
5886
5886
|
else {
|
|
5887
|
-
const f =
|
|
5887
|
+
const f = ft({
|
|
5888
5888
|
theme: o
|
|
5889
5889
|
}, b, (_) => ({
|
|
5890
5890
|
[h]: _
|
|
@@ -6406,41 +6406,41 @@ function H2(e = {}) {
|
|
|
6406
6406
|
return function(k) {
|
|
6407
6407
|
return qn(k, S, k.theme.modularCssLayers ? f : void 0);
|
|
6408
6408
|
};
|
|
6409
|
-
if (
|
|
6409
|
+
if (ut(S)) {
|
|
6410
6410
|
const O = bs(S);
|
|
6411
|
-
return function(
|
|
6412
|
-
return O.variants ? qn(
|
|
6411
|
+
return function($) {
|
|
6412
|
+
return O.variants ? qn($, O, $.theme.modularCssLayers ? f : void 0) : $.theme.modularCssLayers ? Et(O.style, f) : O.style;
|
|
6413
6413
|
};
|
|
6414
6414
|
}
|
|
6415
6415
|
return S;
|
|
6416
6416
|
}, C = (...S) => {
|
|
6417
|
-
const O = [], k = S.map(v),
|
|
6418
|
-
if (O.push(s), d && h &&
|
|
6419
|
-
var Y,
|
|
6420
|
-
const z = (
|
|
6417
|
+
const O = [], k = S.map(v), $ = [];
|
|
6418
|
+
if (O.push(s), d && h && $.push(function(A) {
|
|
6419
|
+
var Y, U;
|
|
6420
|
+
const z = (U = (Y = A.theme.components) == null ? void 0 : Y[d]) == null ? void 0 : U.styleOverrides;
|
|
6421
6421
|
if (!z)
|
|
6422
6422
|
return null;
|
|
6423
|
-
const
|
|
6424
|
-
for (const
|
|
6425
|
-
|
|
6426
|
-
return h(A,
|
|
6427
|
-
}), d && !_ &&
|
|
6428
|
-
var
|
|
6429
|
-
const
|
|
6423
|
+
const q = {};
|
|
6424
|
+
for (const be in z)
|
|
6425
|
+
q[be] = qn(A, z[be], A.theme.modularCssLayers ? "theme" : void 0);
|
|
6426
|
+
return h(A, q);
|
|
6427
|
+
}), d && !_ && $.push(function(A) {
|
|
6428
|
+
var q, Y;
|
|
6429
|
+
const E = A.theme, z = (Y = (q = E == null ? void 0 : E.components) == null ? void 0 : q[d]) == null ? void 0 : Y.variants;
|
|
6430
6430
|
return z ? vs(A, z, [], A.theme.modularCssLayers ? "theme" : void 0) : null;
|
|
6431
|
-
}), x ||
|
|
6432
|
-
const p = k.shift(), A = new Array(O.length).fill(""),
|
|
6431
|
+
}), x || $.push(Xt), Array.isArray(k[0])) {
|
|
6432
|
+
const p = k.shift(), A = new Array(O.length).fill(""), E = new Array($.length).fill("");
|
|
6433
6433
|
let z;
|
|
6434
|
-
z = [...A, ...p,
|
|
6434
|
+
z = [...A, ...p, ...E], z.raw = [...A, ...p.raw, ...E], O.unshift(z);
|
|
6435
6435
|
}
|
|
6436
|
-
const V = [...O, ...k,
|
|
6437
|
-
return l.muiName && (
|
|
6436
|
+
const V = [...O, ...k, ...$], R = N(...V);
|
|
6437
|
+
return l.muiName && (R.muiName = l.muiName), process.env.NODE_ENV !== "production" && (R.displayName = K2(d, m, l)), R;
|
|
6438
6438
|
};
|
|
6439
6439
|
return N.withConfig && (C.withConfig = N.withConfig), C;
|
|
6440
6440
|
};
|
|
6441
6441
|
}
|
|
6442
6442
|
function K2(e, t, n) {
|
|
6443
|
-
return e ? `${e}${
|
|
6443
|
+
return e ? `${e}${Je(t || "")}` : `Styled(${q2(n)})`;
|
|
6444
6444
|
}
|
|
6445
6445
|
function G2(e, t) {
|
|
6446
6446
|
let n;
|
|
@@ -6585,7 +6585,7 @@ function dr(e, t) {
|
|
|
6585
6585
|
e.values[n] *= 1 - t;
|
|
6586
6586
|
return ur(e);
|
|
6587
6587
|
}
|
|
6588
|
-
function
|
|
6588
|
+
function pe(e, t, n) {
|
|
6589
6589
|
try {
|
|
6590
6590
|
return dr(e, t);
|
|
6591
6591
|
} catch {
|
|
@@ -6603,7 +6603,7 @@ function fr(e, t) {
|
|
|
6603
6603
|
e.values[n] += (1 - e.values[n]) * t;
|
|
6604
6604
|
return ur(e);
|
|
6605
6605
|
}
|
|
6606
|
-
function
|
|
6606
|
+
function me(e, t, n) {
|
|
6607
6607
|
try {
|
|
6608
6608
|
return fr(e, t);
|
|
6609
6609
|
} catch {
|
|
@@ -6771,14 +6771,14 @@ function lu(e, t = {}) {
|
|
|
6771
6771
|
}), v;
|
|
6772
6772
|
},
|
|
6773
6773
|
generateStyleSheets: () => {
|
|
6774
|
-
var
|
|
6774
|
+
var $, V;
|
|
6775
6775
|
const v = [], C = e.defaultColorScheme || "light";
|
|
6776
|
-
function S(
|
|
6777
|
-
Object.keys(p).length && v.push(typeof
|
|
6778
|
-
[
|
|
6776
|
+
function S(R, p) {
|
|
6777
|
+
Object.keys(p).length && v.push(typeof R == "string" ? {
|
|
6778
|
+
[R]: {
|
|
6779
6779
|
...p
|
|
6780
6780
|
}
|
|
6781
|
-
} :
|
|
6781
|
+
} : R);
|
|
6782
6782
|
}
|
|
6783
6783
|
S(n(void 0, {
|
|
6784
6784
|
...g
|
|
@@ -6789,30 +6789,30 @@ function lu(e, t = {}) {
|
|
|
6789
6789
|
} = b;
|
|
6790
6790
|
if (O) {
|
|
6791
6791
|
const {
|
|
6792
|
-
css:
|
|
6793
|
-
} = O, p = (V = (
|
|
6792
|
+
css: R
|
|
6793
|
+
} = O, p = (V = ($ = a[C]) == null ? void 0 : $.palette) == null ? void 0 : V.mode, A = !r && p ? {
|
|
6794
6794
|
colorScheme: p,
|
|
6795
|
-
...
|
|
6795
|
+
...R
|
|
6796
6796
|
} : {
|
|
6797
|
-
...
|
|
6797
|
+
...R
|
|
6798
6798
|
};
|
|
6799
6799
|
S(n(C, {
|
|
6800
6800
|
...A
|
|
6801
6801
|
}), A);
|
|
6802
6802
|
}
|
|
6803
|
-
return Object.entries(k).forEach(([
|
|
6803
|
+
return Object.entries(k).forEach(([R, {
|
|
6804
6804
|
css: p
|
|
6805
6805
|
}]) => {
|
|
6806
|
-
var z,
|
|
6807
|
-
const A = (
|
|
6806
|
+
var z, q;
|
|
6807
|
+
const A = (q = (z = a[R]) == null ? void 0 : z.palette) == null ? void 0 : q.mode, E = !r && A ? {
|
|
6808
6808
|
colorScheme: A,
|
|
6809
6809
|
...p
|
|
6810
6810
|
} : {
|
|
6811
6811
|
...p
|
|
6812
6812
|
};
|
|
6813
|
-
S(n(
|
|
6814
|
-
|
|
6815
|
-
}),
|
|
6813
|
+
S(n(R, {
|
|
6814
|
+
...E
|
|
6815
|
+
}), E);
|
|
6816
6816
|
}), s && v.push({
|
|
6817
6817
|
":root": {
|
|
6818
6818
|
// use double underscore to indicate that these are private variables
|
|
@@ -7242,10 +7242,10 @@ function _u(e, t) {
|
|
|
7242
7242
|
});
|
|
7243
7243
|
}
|
|
7244
7244
|
const xu = 0.2, wu = 0.14, Su = 0.12;
|
|
7245
|
-
function
|
|
7245
|
+
function we(...e) {
|
|
7246
7246
|
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${xu})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${wu})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Su})`].join(",");
|
|
7247
7247
|
}
|
|
7248
|
-
const ku = ["none",
|
|
7248
|
+
const ku = ["none", we(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), we(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), we(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), we(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), we(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), we(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), we(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), we(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), we(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), we(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), we(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), we(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), we(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), we(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), we(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), we(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), we(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), we(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), we(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), we(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), we(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), we(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), we(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), we(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Tu = {
|
|
7249
7249
|
// This is the most common easing curve.
|
|
7250
7250
|
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
7251
7251
|
// Objects enter the screen at full velocity from off-screen and
|
|
@@ -7317,7 +7317,7 @@ const Ou = {
|
|
|
7317
7317
|
tooltip: 1500
|
|
7318
7318
|
};
|
|
7319
7319
|
function Au(e) {
|
|
7320
|
-
return
|
|
7320
|
+
return ut(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
|
|
7321
7321
|
}
|
|
7322
7322
|
function Ts(e = {}) {
|
|
7323
7323
|
const t = {
|
|
@@ -7327,7 +7327,7 @@ function Ts(e = {}) {
|
|
|
7327
7327
|
const o = Object.entries(r);
|
|
7328
7328
|
for (let s = 0; s < o.length; s++) {
|
|
7329
7329
|
const [a, l] = o[s];
|
|
7330
|
-
!Au(l) || a.startsWith("unstable_") ? delete r[a] :
|
|
7330
|
+
!Au(l) || a.startsWith("unstable_") ? delete r[a] : ut(l) && (r[a] = {
|
|
7331
7331
|
...l
|
|
7332
7332
|
}, n(r[a]));
|
|
7333
7333
|
}
|
|
@@ -7534,14 +7534,14 @@ function L(e, t, n) {
|
|
|
7534
7534
|
function dn(e) {
|
|
7535
7535
|
return typeof e != "string" || !e.startsWith("hsl") ? e : _s(e);
|
|
7536
7536
|
}
|
|
7537
|
-
function
|
|
7537
|
+
function st(e, t) {
|
|
7538
7538
|
`${t}Channel` in e || (e[`${t}Channel`] = un(dn(e[t]), `MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
7539
7539
|
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
|
|
7540
7540
|
}
|
|
7541
7541
|
function zu(e) {
|
|
7542
7542
|
return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
|
|
7543
7543
|
}
|
|
7544
|
-
const
|
|
7544
|
+
const et = (e) => {
|
|
7545
7545
|
try {
|
|
7546
7546
|
return e();
|
|
7547
7547
|
} catch {
|
|
@@ -7626,34 +7626,34 @@ function qu(e = {}, ...t) {
|
|
|
7626
7626
|
},
|
|
7627
7627
|
spacing: zu(m.spacing)
|
|
7628
7628
|
};
|
|
7629
|
-
Object.keys(S.colorSchemes).forEach((
|
|
7630
|
-
const p = S.colorSchemes[
|
|
7631
|
-
const
|
|
7632
|
-
return h(z, p[Y][
|
|
7629
|
+
Object.keys(S.colorSchemes).forEach((R) => {
|
|
7630
|
+
const p = S.colorSchemes[R].palette, A = (z) => {
|
|
7631
|
+
const q = z.split("-"), Y = q[1], U = q[2];
|
|
7632
|
+
return h(z, p[Y][U]);
|
|
7633
7633
|
};
|
|
7634
7634
|
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"));
|
|
7635
|
-
function
|
|
7635
|
+
function E(z, q, Y) {
|
|
7636
7636
|
if (v) {
|
|
7637
|
-
let
|
|
7638
|
-
return z === Tt && (
|
|
7637
|
+
let U;
|
|
7638
|
+
return z === Tt && (U = `transparent ${((1 - Y) * 100).toFixed(0)}%`), z === pe && (U = `#000 ${(Y * 100).toFixed(0)}%`), z === me && (U = `#fff ${(Y * 100).toFixed(0)}%`), `color-mix(in ${v}, ${q}, ${U})`;
|
|
7639
7639
|
}
|
|
7640
|
-
return z(
|
|
7640
|
+
return z(q, Y);
|
|
7641
7641
|
}
|
|
7642
7642
|
if (Fu(p, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), p.mode === "light") {
|
|
7643
|
-
L(p.Alert, "errorColor",
|
|
7644
|
-
const z = v ?
|
|
7645
|
-
L(p.SnackbarContent, "bg", z), L(p.SnackbarContent, "color",
|
|
7643
|
+
L(p.Alert, "errorColor", E(pe, a ? h("palette-error-light") : p.error.light, 0.6)), L(p.Alert, "infoColor", E(pe, a ? h("palette-info-light") : p.info.light, 0.6)), L(p.Alert, "successColor", E(pe, a ? h("palette-success-light") : p.success.light, 0.6)), L(p.Alert, "warningColor", E(pe, 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", et(() => p.getContrastText(p.error.main))), L(p.Alert, "infoFilledColor", et(() => p.getContrastText(p.info.main))), L(p.Alert, "successFilledColor", et(() => p.getContrastText(p.success.main))), L(p.Alert, "warningFilledColor", et(() => p.getContrastText(p.warning.main))), L(p.Alert, "errorStandardBg", E(me, a ? h("palette-error-light") : p.error.light, 0.9)), L(p.Alert, "infoStandardBg", E(me, a ? h("palette-info-light") : p.info.light, 0.9)), L(p.Alert, "successStandardBg", E(me, a ? h("palette-success-light") : p.success.light, 0.9)), L(p.Alert, "warningStandardBg", E(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-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", E(me, a ? h("palette-primary-main") : p.primary.main, 0.62)), L(p.LinearProgress, "secondaryBg", E(me, a ? h("palette-secondary-main") : p.secondary.main, 0.62)), L(p.LinearProgress, "errorBg", E(me, a ? h("palette-error-main") : p.error.main, 0.62)), L(p.LinearProgress, "infoBg", E(me, a ? h("palette-info-main") : p.info.main, 0.62)), L(p.LinearProgress, "successBg", E(me, a ? h("palette-success-main") : p.success.main, 0.62)), L(p.LinearProgress, "warningBg", E(me, a ? h("palette-warning-light") : p.warning.main, 0.62)), L(p.Skeleton, "bg", v ? E(Tt, a ? h("palette-text-primary") : p.text.primary, 0.11) : `rgba(${A("palette-text-primaryChannel")} / 0.11)`), L(p.Slider, "primaryTrack", E(me, a ? h("palette-primary-main") : p.primary.main, 0.62)), L(p.Slider, "secondaryTrack", E(me, a ? h("palette-secondary-main") : p.secondary.main, 0.62)), L(p.Slider, "errorTrack", E(me, a ? h("palette-error-main") : p.error.main, 0.62)), L(p.Slider, "infoTrack", E(me, a ? h("palette-info-main") : p.info.main, 0.62)), L(p.Slider, "successTrack", E(me, a ? h("palette-success-main") : p.success.main, 0.62)), L(p.Slider, "warningTrack", E(me, a ? h("palette-warning-main") : p.warning.main, 0.62));
|
|
7644
|
+
const z = v ? E(pe, a ? h("palette-background-default") : p.background.default, 0.6825) : In(p.background.default, 0.8);
|
|
7645
|
+
L(p.SnackbarContent, "bg", z), L(p.SnackbarContent, "color", et(() => v ? Gr.text.primary : p.getContrastText(z))), L(p.SpeedDialAction, "fabHoverBg", In(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", E(me, a ? h("palette-primary-main") : p.primary.main, 0.62)), L(p.Switch, "secondaryDisabledColor", E(me, a ? h("palette-secondary-main") : p.secondary.main, 0.62)), L(p.Switch, "errorDisabledColor", E(me, a ? h("palette-error-main") : p.error.main, 0.62)), L(p.Switch, "infoDisabledColor", E(me, a ? h("palette-info-main") : p.info.main, 0.62)), L(p.Switch, "successDisabledColor", E(me, a ? h("palette-success-main") : p.success.main, 0.62)), L(p.Switch, "warningDisabledColor", E(me, a ? h("palette-warning-main") : p.warning.main, 0.62)), L(p.TableCell, "border", E(me, Tt(a ? h("palette-divider") : p.divider, 1), 0.88)), L(p.Tooltip, "bg", E(Tt, a ? h("palette-grey-700") : p.grey[700], 0.92));
|
|
7646
7646
|
}
|
|
7647
7647
|
if (p.mode === "dark") {
|
|
7648
|
-
L(p.Alert, "errorColor",
|
|
7649
|
-
const z = v ?
|
|
7650
|
-
L(p.SnackbarContent, "bg", z), L(p.SnackbarContent, "color",
|
|
7648
|
+
L(p.Alert, "errorColor", E(me, a ? h("palette-error-light") : p.error.light, 0.6)), L(p.Alert, "infoColor", E(me, a ? h("palette-info-light") : p.info.light, 0.6)), L(p.Alert, "successColor", E(me, a ? h("palette-success-light") : p.success.light, 0.6)), L(p.Alert, "warningColor", E(me, 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", et(() => p.getContrastText(p.error.dark))), L(p.Alert, "infoFilledColor", et(() => p.getContrastText(p.info.dark))), L(p.Alert, "successFilledColor", et(() => p.getContrastText(p.success.dark))), L(p.Alert, "warningFilledColor", et(() => p.getContrastText(p.warning.dark))), L(p.Alert, "errorStandardBg", E(pe, a ? h("palette-error-light") : p.error.light, 0.9)), L(p.Alert, "infoStandardBg", E(pe, a ? h("palette-info-light") : p.info.light, 0.9)), L(p.Alert, "successStandardBg", E(pe, a ? h("palette-success-light") : p.success.light, 0.9)), L(p.Alert, "warningStandardBg", E(pe, 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", E(pe, a ? h("palette-primary-main") : p.primary.main, 0.5)), L(p.LinearProgress, "secondaryBg", E(pe, a ? h("palette-secondary-main") : p.secondary.main, 0.5)), L(p.LinearProgress, "errorBg", E(pe, a ? h("palette-error-main") : p.error.main, 0.5)), L(p.LinearProgress, "infoBg", E(pe, a ? h("palette-info-main") : p.info.main, 0.5)), L(p.LinearProgress, "successBg", E(pe, a ? h("palette-success-main") : p.success.main, 0.5)), L(p.LinearProgress, "warningBg", E(pe, a ? h("palette-warning-main") : p.warning.main, 0.5)), L(p.Skeleton, "bg", v ? E(Tt, a ? h("palette-text-primary") : p.text.primary, 0.13) : `rgba(${A("palette-text-primaryChannel")} / 0.13)`), L(p.Slider, "primaryTrack", E(pe, a ? h("palette-primary-main") : p.primary.main, 0.5)), L(p.Slider, "secondaryTrack", E(pe, a ? h("palette-secondary-main") : p.secondary.main, 0.5)), L(p.Slider, "errorTrack", E(pe, a ? h("palette-error-main") : p.error.main, 0.5)), L(p.Slider, "infoTrack", E(pe, a ? h("palette-info-main") : p.info.main, 0.5)), L(p.Slider, "successTrack", E(pe, a ? h("palette-success-main") : p.success.main, 0.5)), L(p.Slider, "warningTrack", E(pe, a ? h("palette-warning-light") : p.warning.main, 0.5));
|
|
7649
|
+
const z = v ? E(me, a ? h("palette-background-default") : p.background.default, 0.985) : In(p.background.default, 0.98);
|
|
7650
|
+
L(p.SnackbarContent, "bg", z), L(p.SnackbarContent, "color", et(() => v ? Ss.text.primary : p.getContrastText(z))), L(p.SpeedDialAction, "fabHoverBg", In(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", E(pe, a ? h("palette-primary-main") : p.primary.main, 0.55)), L(p.Switch, "secondaryDisabledColor", E(pe, a ? h("palette-secondary-main") : p.secondary.main, 0.55)), L(p.Switch, "errorDisabledColor", E(pe, a ? h("palette-error-main") : p.error.main, 0.55)), L(p.Switch, "infoDisabledColor", E(pe, a ? h("palette-info-main") : p.info.main, 0.55)), L(p.Switch, "successDisabledColor", E(pe, a ? h("palette-success-main") : p.success.main, 0.55)), L(p.Switch, "warningDisabledColor", E(pe, a ? h("palette-warning-light") : p.warning.main, 0.55)), L(p.TableCell, "border", E(pe, Tt(a ? h("palette-divider") : p.divider, 1), 0.68)), L(p.Tooltip, "bg", E(Tt, a ? h("palette-grey-700") : p.grey[700], 0.92));
|
|
7651
7651
|
}
|
|
7652
|
-
a || (
|
|
7653
|
-
const
|
|
7654
|
-
z !== "tonalOffset" && !a &&
|
|
7652
|
+
a || (st(p.background, "default"), st(p.background, "paper"), st(p.common, "background"), st(p.common, "onBackground"), st(p, "divider")), Object.keys(p).forEach((z) => {
|
|
7653
|
+
const q = p[z];
|
|
7654
|
+
z !== "tonalOffset" && !a && q && typeof q == "object" && (q.main && L(p[z], "mainChannel", un(dn(q.main))), q.light && L(p[z], "lightChannel", un(dn(q.light))), q.dark && L(p[z], "darkChannel", un(dn(q.dark))), q.contrastText && L(p[z], "contrastTextChannel", un(dn(q.contrastText))), z === "text" && (st(p[z], "primary"), st(p[z], "secondary")), z === "action" && (q.active && st(p[z], "active"), q.selected && st(p[z], "selected")));
|
|
7655
7655
|
});
|
|
7656
|
-
}), S = t.reduce((
|
|
7656
|
+
}), S = t.reduce((R, p) => He(R, p), S);
|
|
7657
7657
|
const O = {
|
|
7658
7658
|
prefix: s,
|
|
7659
7659
|
disableCssColorScheme: o,
|
|
@@ -7662,12 +7662,12 @@ function qu(e = {}, ...t) {
|
|
|
7662
7662
|
enableContrastVars: a
|
|
7663
7663
|
}, {
|
|
7664
7664
|
vars: k,
|
|
7665
|
-
generateThemeVars:
|
|
7665
|
+
generateThemeVars: $,
|
|
7666
7666
|
generateStyleSheets: V
|
|
7667
7667
|
} = lu(S, O);
|
|
7668
|
-
return S.vars = k, Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([
|
|
7669
|
-
S[
|
|
7670
|
-
}), S.generateThemeVars =
|
|
7668
|
+
return S.vars = k, Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([R, p]) => {
|
|
7669
|
+
S[R] = p;
|
|
7670
|
+
}), S.generateThemeVars = $, S.generateStyleSheets = V, S.generateSpacing = function() {
|
|
7671
7671
|
return hs(m.spacing, so(this));
|
|
7672
7672
|
}, S.getColorSchemeSelector = cu(c), S.spacing = S.generateSpacing(), S.shouldSkipGeneratingVar = l, S.unstable_sxConfig = {
|
|
7673
7673
|
...cr,
|
|
@@ -7811,7 +7811,7 @@ const e1 = It("span", {
|
|
|
7811
7811
|
const {
|
|
7812
7812
|
ownerState: n
|
|
7813
7813
|
} = e;
|
|
7814
|
-
return [t.root, t[`color${
|
|
7814
|
+
return [t.root, t[`color${Je(n.color)}`], n.size !== "medium" && t[`size${Je(n.size)}`], n.marked && t.marked, n.orientation === "vertical" && t.vertical, n.track === "inverted" && t.trackInverted, n.track === !1 && t.trackFalse];
|
|
7815
7815
|
}
|
|
7816
7816
|
})(en(({
|
|
7817
7817
|
theme: e
|
|
@@ -8015,7 +8015,7 @@ const e1 = It("span", {
|
|
|
8015
8015
|
const {
|
|
8016
8016
|
ownerState: n
|
|
8017
8017
|
} = e;
|
|
8018
|
-
return [t.thumb, t[`thumbColor${
|
|
8018
|
+
return [t.thumb, t[`thumbColor${Je(n.color)}`], n.size !== "medium" && t[`thumbSize${Je(n.size)}`]];
|
|
8019
8019
|
}
|
|
8020
8020
|
})(en(({
|
|
8021
8021
|
theme: e
|
|
@@ -8301,7 +8301,7 @@ const o1 = It("span", {
|
|
|
8301
8301
|
color: l,
|
|
8302
8302
|
size: c
|
|
8303
8303
|
} = e, d = {
|
|
8304
|
-
root: ["root", t && "disabled", n && "dragging", r && "marked", o === "vertical" && "vertical", s === "inverted" && "trackInverted", s === !1 && "trackFalse", l && `color${
|
|
8304
|
+
root: ["root", t && "disabled", n && "dragging", r && "marked", o === "vertical" && "vertical", s === "inverted" && "trackInverted", s === !1 && "trackFalse", l && `color${Je(l)}`, c && `size${Je(c)}`],
|
|
8305
8305
|
rail: ["rail"],
|
|
8306
8306
|
track: ["track"],
|
|
8307
8307
|
mark: ["mark"],
|
|
@@ -8309,7 +8309,7 @@ const o1 = It("span", {
|
|
|
8309
8309
|
markLabel: ["markLabel"],
|
|
8310
8310
|
markLabelActive: ["markLabelActive"],
|
|
8311
8311
|
valueLabel: ["valueLabel"],
|
|
8312
|
-
thumb: ["thumb", t && "disabled", c && `thumbSize${
|
|
8312
|
+
thumb: ["thumb", t && "disabled", c && `thumbSize${Je(c)}`, l && `thumbColor${Je(l)}`],
|
|
8313
8313
|
active: ["active"],
|
|
8314
8314
|
disabled: ["disabled"],
|
|
8315
8315
|
focusVisible: ["focusVisible"]
|
|
@@ -8343,19 +8343,19 @@ const o1 = It("span", {
|
|
|
8343
8343
|
onChange: S,
|
|
8344
8344
|
onChangeCommitted: O,
|
|
8345
8345
|
orientation: k = "horizontal",
|
|
8346
|
-
shiftStep:
|
|
8346
|
+
shiftStep: $ = 10,
|
|
8347
8347
|
size: V = "medium",
|
|
8348
|
-
step:
|
|
8348
|
+
step: R = 1,
|
|
8349
8349
|
scale: p = bi,
|
|
8350
8350
|
slotProps: A,
|
|
8351
|
-
slots:
|
|
8351
|
+
slots: E,
|
|
8352
8352
|
tabIndex: z,
|
|
8353
|
-
track:
|
|
8353
|
+
track: q = "normal",
|
|
8354
8354
|
value: Y,
|
|
8355
|
-
valueLabelDisplay:
|
|
8356
|
-
valueLabelFormat:
|
|
8357
|
-
...
|
|
8358
|
-
} = r,
|
|
8355
|
+
valueLabelDisplay: U = "off",
|
|
8356
|
+
valueLabelFormat: be = bi,
|
|
8357
|
+
...M
|
|
8358
|
+
} = r, D = {
|
|
8359
8359
|
...r,
|
|
8360
8360
|
isRtl: o,
|
|
8361
8361
|
max: N,
|
|
@@ -8367,170 +8367,170 @@ const o1 = It("span", {
|
|
|
8367
8367
|
marks: w,
|
|
8368
8368
|
color: g,
|
|
8369
8369
|
size: V,
|
|
8370
|
-
step:
|
|
8371
|
-
shiftStep:
|
|
8370
|
+
step: R,
|
|
8371
|
+
shiftStep: $,
|
|
8372
8372
|
scale: p,
|
|
8373
|
-
track:
|
|
8374
|
-
valueLabelDisplay:
|
|
8375
|
-
valueLabelFormat:
|
|
8373
|
+
track: q,
|
|
8374
|
+
valueLabelDisplay: U,
|
|
8375
|
+
valueLabelFormat: be
|
|
8376
8376
|
}, {
|
|
8377
|
-
axisProps:
|
|
8378
|
-
getRootProps:
|
|
8377
|
+
axisProps: K,
|
|
8378
|
+
getRootProps: J,
|
|
8379
8379
|
getHiddenInputProps: B,
|
|
8380
8380
|
getThumbProps: Z,
|
|
8381
|
-
open:
|
|
8382
|
-
active:
|
|
8383
|
-
axis:
|
|
8384
|
-
focusedThumbIndex:
|
|
8385
|
-
range:
|
|
8386
|
-
dragging:
|
|
8387
|
-
marks:
|
|
8388
|
-
values:
|
|
8389
|
-
trackOffset:
|
|
8390
|
-
trackLeap:
|
|
8391
|
-
getThumbStyle:
|
|
8381
|
+
open: re,
|
|
8382
|
+
active: ne,
|
|
8383
|
+
axis: oe,
|
|
8384
|
+
focusedThumbIndex: ee,
|
|
8385
|
+
range: H,
|
|
8386
|
+
dragging: _e,
|
|
8387
|
+
marks: F,
|
|
8388
|
+
values: ue,
|
|
8389
|
+
trackOffset: Se,
|
|
8390
|
+
trackLeap: pt,
|
|
8391
|
+
getThumbStyle: Fe
|
|
8392
8392
|
} = A0({
|
|
8393
|
-
...
|
|
8393
|
+
...D,
|
|
8394
8394
|
rootRef: n
|
|
8395
8395
|
});
|
|
8396
|
-
|
|
8397
|
-
const
|
|
8398
|
-
elementType:
|
|
8399
|
-
getSlotProps:
|
|
8400
|
-
externalSlotProps:
|
|
8401
|
-
externalForwardedProps:
|
|
8396
|
+
D.marked = F.length > 0 && F.some((Oe) => Oe.label), D.dragging = _e, D.focusedThumbIndex = ee;
|
|
8397
|
+
const Le = s1(D), ot = (E == null ? void 0 : E.root) ?? d.Root ?? e1, j = (E == null ? void 0 : E.rail) ?? d.Rail ?? t1, ce = (E == null ? void 0 : E.track) ?? d.Track ?? n1, he = (E == null ? void 0 : E.thumb) ?? d.Thumb ?? r1, ke = (E == null ? void 0 : E.valueLabel) ?? d.ValueLabel ?? Os, Ee = (E == null ? void 0 : E.mark) ?? d.Mark ?? o1, We = (E == null ? void 0 : E.markLabel) ?? d.MarkLabel ?? i1, I = (E == null ? void 0 : E.input) ?? d.Input ?? "input", P = (A == null ? void 0 : A.root) ?? m.root, W = (A == null ? void 0 : A.rail) ?? m.rail, X = (A == null ? void 0 : A.track) ?? m.track, le = (A == null ? void 0 : A.thumb) ?? m.thumb, G = (A == null ? void 0 : A.valueLabel) ?? m.valueLabel, De = (A == null ? void 0 : A.mark) ?? m.mark, Pe = (A == null ? void 0 : A.markLabel) ?? m.markLabel, Me = (A == null ? void 0 : A.input) ?? m.input, Ke = gt({
|
|
8398
|
+
elementType: ot,
|
|
8399
|
+
getSlotProps: J,
|
|
8400
|
+
externalSlotProps: P,
|
|
8401
|
+
externalForwardedProps: M,
|
|
8402
8402
|
additionalProps: {
|
|
8403
|
-
...Gu(
|
|
8403
|
+
...Gu(ot) && {
|
|
8404
8404
|
as: c
|
|
8405
8405
|
}
|
|
8406
8406
|
},
|
|
8407
8407
|
ownerState: {
|
|
8408
|
-
...
|
|
8409
|
-
...
|
|
8408
|
+
...D,
|
|
8409
|
+
...P == null ? void 0 : P.ownerState
|
|
8410
8410
|
},
|
|
8411
|
-
className: [
|
|
8411
|
+
className: [Le.root, h]
|
|
8412
8412
|
}), tn = gt({
|
|
8413
|
-
elementType:
|
|
8414
|
-
externalSlotProps:
|
|
8415
|
-
ownerState:
|
|
8416
|
-
className:
|
|
8413
|
+
elementType: j,
|
|
8414
|
+
externalSlotProps: W,
|
|
8415
|
+
ownerState: D,
|
|
8416
|
+
className: Le.rail
|
|
8417
8417
|
}), Ws = gt({
|
|
8418
|
-
elementType:
|
|
8419
|
-
externalSlotProps:
|
|
8418
|
+
elementType: ce,
|
|
8419
|
+
externalSlotProps: X,
|
|
8420
8420
|
additionalProps: {
|
|
8421
8421
|
style: {
|
|
8422
|
-
...
|
|
8423
|
-
...
|
|
8422
|
+
...K[oe].offset(Se),
|
|
8423
|
+
...K[oe].leap(pt)
|
|
8424
8424
|
}
|
|
8425
8425
|
},
|
|
8426
8426
|
ownerState: {
|
|
8427
|
-
...
|
|
8428
|
-
...
|
|
8427
|
+
...D,
|
|
8428
|
+
...X == null ? void 0 : X.ownerState
|
|
8429
8429
|
},
|
|
8430
|
-
className:
|
|
8430
|
+
className: Le.track
|
|
8431
8431
|
}), pr = gt({
|
|
8432
|
-
elementType:
|
|
8432
|
+
elementType: he,
|
|
8433
8433
|
getSlotProps: Z,
|
|
8434
|
-
externalSlotProps:
|
|
8434
|
+
externalSlotProps: le,
|
|
8435
8435
|
ownerState: {
|
|
8436
|
-
...
|
|
8437
|
-
...
|
|
8436
|
+
...D,
|
|
8437
|
+
...le == null ? void 0 : le.ownerState
|
|
8438
8438
|
},
|
|
8439
|
-
className:
|
|
8439
|
+
className: Le.thumb
|
|
8440
8440
|
}), Us = gt({
|
|
8441
|
-
elementType:
|
|
8442
|
-
externalSlotProps:
|
|
8441
|
+
elementType: ke,
|
|
8442
|
+
externalSlotProps: G,
|
|
8443
8443
|
ownerState: {
|
|
8444
|
-
...
|
|
8445
|
-
...
|
|
8444
|
+
...D,
|
|
8445
|
+
...G == null ? void 0 : G.ownerState
|
|
8446
8446
|
},
|
|
8447
|
-
className:
|
|
8447
|
+
className: Le.valueLabel
|
|
8448
8448
|
}), mr = gt({
|
|
8449
|
-
elementType:
|
|
8450
|
-
externalSlotProps:
|
|
8451
|
-
ownerState:
|
|
8452
|
-
className:
|
|
8449
|
+
elementType: Ee,
|
|
8450
|
+
externalSlotProps: De,
|
|
8451
|
+
ownerState: D,
|
|
8452
|
+
className: Le.mark
|
|
8453
8453
|
}), hr = gt({
|
|
8454
8454
|
elementType: We,
|
|
8455
8455
|
externalSlotProps: Pe,
|
|
8456
|
-
ownerState:
|
|
8457
|
-
className:
|
|
8456
|
+
ownerState: D,
|
|
8457
|
+
className: Le.markLabel
|
|
8458
8458
|
}), Zs = gt({
|
|
8459
|
-
elementType:
|
|
8459
|
+
elementType: I,
|
|
8460
8460
|
getSlotProps: B,
|
|
8461
|
-
externalSlotProps:
|
|
8462
|
-
ownerState:
|
|
8461
|
+
externalSlotProps: Me,
|
|
8462
|
+
ownerState: D
|
|
8463
8463
|
});
|
|
8464
|
-
return /* @__PURE__ */ T(
|
|
8464
|
+
return /* @__PURE__ */ T(ot, {
|
|
8465
8465
|
...Ke,
|
|
8466
|
-
children: [/* @__PURE__ */ u(
|
|
8466
|
+
children: [/* @__PURE__ */ u(j, {
|
|
8467
8467
|
...tn
|
|
8468
|
-
}), /* @__PURE__ */ u(
|
|
8468
|
+
}), /* @__PURE__ */ u(ce, {
|
|
8469
8469
|
...Ws
|
|
8470
|
-
}),
|
|
8471
|
-
const gr = Kn(
|
|
8472
|
-
let
|
|
8473
|
-
return
|
|
8474
|
-
children: [/* @__PURE__ */ u(
|
|
8475
|
-
"data-index":
|
|
8470
|
+
}), F.filter((Oe) => Oe.value >= v && Oe.value <= N).map((Oe, Ie) => {
|
|
8471
|
+
const gr = Kn(Oe.value, v, N), wn = K[oe].offset(gr);
|
|
8472
|
+
let it;
|
|
8473
|
+
return q === !1 ? it = ue.includes(Oe.value) : it = q === "normal" && (H ? Oe.value >= ue[0] && Oe.value <= ue[ue.length - 1] : Oe.value <= ue[0]) || q === "inverted" && (H ? Oe.value <= ue[0] || Oe.value >= ue[ue.length - 1] : Oe.value >= ue[0]), /* @__PURE__ */ T(Q.Fragment, {
|
|
8474
|
+
children: [/* @__PURE__ */ u(Ee, {
|
|
8475
|
+
"data-index": Ie,
|
|
8476
8476
|
...mr,
|
|
8477
|
-
...!pn(
|
|
8478
|
-
markActive:
|
|
8477
|
+
...!pn(Ee) && {
|
|
8478
|
+
markActive: it
|
|
8479
8479
|
},
|
|
8480
8480
|
style: {
|
|
8481
8481
|
...wn,
|
|
8482
8482
|
...mr.style
|
|
8483
8483
|
},
|
|
8484
|
-
className: Ct(mr.className,
|
|
8485
|
-
}),
|
|
8484
|
+
className: Ct(mr.className, it && Le.markActive)
|
|
8485
|
+
}), Oe.label != null ? /* @__PURE__ */ u(We, {
|
|
8486
8486
|
"aria-hidden": !0,
|
|
8487
|
-
"data-index":
|
|
8487
|
+
"data-index": Ie,
|
|
8488
8488
|
...hr,
|
|
8489
8489
|
...!pn(We) && {
|
|
8490
|
-
markLabelActive:
|
|
8490
|
+
markLabelActive: it
|
|
8491
8491
|
},
|
|
8492
8492
|
style: {
|
|
8493
8493
|
...wn,
|
|
8494
8494
|
...hr.style
|
|
8495
8495
|
},
|
|
8496
|
-
className: Ct(
|
|
8497
|
-
children:
|
|
8496
|
+
className: Ct(Le.markLabel, hr.className, it && Le.markLabelActive),
|
|
8497
|
+
children: Oe.label
|
|
8498
8498
|
}) : null]
|
|
8499
|
-
},
|
|
8500
|
-
}),
|
|
8501
|
-
const gr = Kn(
|
|
8499
|
+
}, Ie);
|
|
8500
|
+
}), ue.map((Oe, Ie) => {
|
|
8501
|
+
const gr = Kn(Oe, v, N), wn = K[oe].offset(gr), it = U === "off" ? a1 : ke;
|
|
8502
8502
|
return (
|
|
8503
8503
|
/* 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. */
|
|
8504
|
-
/* @__PURE__ */ u(
|
|
8505
|
-
...!pn(
|
|
8506
|
-
valueLabelFormat:
|
|
8507
|
-
valueLabelDisplay:
|
|
8508
|
-
value: typeof
|
|
8509
|
-
index:
|
|
8510
|
-
open:
|
|
8504
|
+
/* @__PURE__ */ u(it, {
|
|
8505
|
+
...!pn(it) && {
|
|
8506
|
+
valueLabelFormat: be,
|
|
8507
|
+
valueLabelDisplay: U,
|
|
8508
|
+
value: typeof be == "function" ? be(p(Oe), Ie) : be,
|
|
8509
|
+
index: Ie,
|
|
8510
|
+
open: re === Ie || ne === Ie || U === "on",
|
|
8511
8511
|
disabled: f
|
|
8512
8512
|
},
|
|
8513
8513
|
...Us,
|
|
8514
|
-
children: /* @__PURE__ */ u(
|
|
8515
|
-
"data-index":
|
|
8514
|
+
children: /* @__PURE__ */ u(he, {
|
|
8515
|
+
"data-index": Ie,
|
|
8516
8516
|
...pr,
|
|
8517
|
-
className: Ct(
|
|
8517
|
+
className: Ct(Le.thumb, pr.className, ne === Ie && Le.active, ee === Ie && Le.focusVisible),
|
|
8518
8518
|
style: {
|
|
8519
8519
|
...wn,
|
|
8520
|
-
...
|
|
8520
|
+
...Fe(Ie),
|
|
8521
8521
|
...pr.style
|
|
8522
8522
|
},
|
|
8523
|
-
children: /* @__PURE__ */ u(
|
|
8524
|
-
"data-index":
|
|
8525
|
-
"aria-label": _ ? _(
|
|
8526
|
-
"aria-valuenow": p(
|
|
8523
|
+
children: /* @__PURE__ */ u(I, {
|
|
8524
|
+
"data-index": Ie,
|
|
8525
|
+
"aria-label": _ ? _(Ie) : s,
|
|
8526
|
+
"aria-valuenow": p(Oe),
|
|
8527
8527
|
"aria-labelledby": l,
|
|
8528
|
-
"aria-valuetext": x ? x(p(
|
|
8529
|
-
value:
|
|
8528
|
+
"aria-valuetext": x ? x(p(Oe), Ie) : a,
|
|
8529
|
+
value: ue[Ie],
|
|
8530
8530
|
...Zs
|
|
8531
8531
|
})
|
|
8532
8532
|
})
|
|
8533
|
-
},
|
|
8533
|
+
}, Ie)
|
|
8534
8534
|
);
|
|
8535
8535
|
})]
|
|
8536
8536
|
});
|
|
@@ -8826,16 +8826,16 @@ const l1 = "_slider_1prh1_2", c1 = "_playButton_1prh1_14", u1 = "_sliderOpen_1pr
|
|
|
8826
8826
|
for (let k = O; k < C; k += 10)
|
|
8827
8827
|
S.push({ label: "", value: k });
|
|
8828
8828
|
return S[S.length - 1].value !== C && S.push({ label: "", value: C }), S;
|
|
8829
|
-
})(n, r), [g, y] =
|
|
8830
|
-
|
|
8829
|
+
})(n, r), [g, y] = se(t);
|
|
8830
|
+
te(() => {
|
|
8831
8831
|
y(t);
|
|
8832
8832
|
}, [t]);
|
|
8833
8833
|
const h = (v, C) => {
|
|
8834
8834
|
y(C), c(C);
|
|
8835
|
-
}, [b, f] =
|
|
8836
|
-
|
|
8835
|
+
}, [b, f] = se(!1);
|
|
8836
|
+
te(() => {
|
|
8837
8837
|
t && console.log("defaultYear changed:", t), t && y(t);
|
|
8838
|
-
}, [t]),
|
|
8838
|
+
}, [t]), te(() => {
|
|
8839
8839
|
l === !1 && f(!1);
|
|
8840
8840
|
}, [l]);
|
|
8841
8841
|
const _ = () => {
|
|
@@ -8845,15 +8845,15 @@ const l1 = "_slider_1prh1_2", c1 = "_playButton_1prh1_14", u1 = "_sliderOpen_1pr
|
|
|
8845
8845
|
};
|
|
8846
8846
|
((v, C, S = []) => {
|
|
8847
8847
|
const O = Ce();
|
|
8848
|
-
|
|
8848
|
+
te(() => {
|
|
8849
8849
|
O.current = v;
|
|
8850
|
-
}, [v]),
|
|
8850
|
+
}, [v]), te(() => {
|
|
8851
8851
|
function k() {
|
|
8852
8852
|
O.current();
|
|
8853
8853
|
}
|
|
8854
8854
|
{
|
|
8855
|
-
let
|
|
8856
|
-
return () => clearInterval(
|
|
8855
|
+
let $ = setInterval(k, C);
|
|
8856
|
+
return () => clearInterval($);
|
|
8857
8857
|
}
|
|
8858
8858
|
}, [C, ...S]);
|
|
8859
8859
|
})(
|
|
@@ -8947,7 +8947,7 @@ const p1 = "_TopNavMenuContainer_12mp4_2", m1 = "_topNavOptions_12mp4_13", h1 =
|
|
|
8947
8947
|
console.log("Changed NavLink", s);
|
|
8948
8948
|
}
|
|
8949
8949
|
}) => {
|
|
8950
|
-
const { t: s } =
|
|
8950
|
+
const { t: s } = ae();
|
|
8951
8951
|
return /* @__PURE__ */ u("div", { className: Rr.TopNavMenuContainer, style: { ...t }, children: e.map((a, l) => /* @__PURE__ */ u(
|
|
8952
8952
|
qi,
|
|
8953
8953
|
{
|
|
@@ -8989,7 +8989,7 @@ const y1 = "_LogInButton_1vxj5_2", b1 = {
|
|
|
8989
8989
|
console.log("Logout clicked");
|
|
8990
8990
|
}
|
|
8991
8991
|
}) => {
|
|
8992
|
-
const { t: c } =
|
|
8992
|
+
const { t: c } = ae();
|
|
8993
8993
|
return /* @__PURE__ */ u(
|
|
8994
8994
|
"div",
|
|
8995
8995
|
{
|
|
@@ -9008,7 +9008,7 @@ v1.propTypes = {
|
|
|
9008
9008
|
userName: i.string,
|
|
9009
9009
|
isLoggedIn: i.bool
|
|
9010
9010
|
};
|
|
9011
|
-
const C1 = "_elementSelector_1ox68_2", _1 = "_header_1ox68_14", x1 = "_nameDateContainer_1ox68_24", w1 = "_elementName_1ox68_40", S1 = "_elementDate_1ox68_54", k1 = "_buttonsContainer_1ox68_68", T1 = "_elementListContainer_1ox68_77", $1 = "_newElementButtonContainer_1ox68_81",
|
|
9011
|
+
const C1 = "_elementSelector_1ox68_2", _1 = "_header_1ox68_14", x1 = "_nameDateContainer_1ox68_24", w1 = "_elementName_1ox68_40", S1 = "_elementDate_1ox68_54", k1 = "_buttonsContainer_1ox68_68", T1 = "_elementListContainer_1ox68_77", $1 = "_newElementButtonContainer_1ox68_81", at = {
|
|
9012
9012
|
elementSelector: C1,
|
|
9013
9013
|
header: _1,
|
|
9014
9014
|
nameDateContainer: x1,
|
|
@@ -9066,7 +9066,7 @@ const U1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
9066
9066
|
defaultTooltip: d,
|
|
9067
9067
|
showEye: m = !0
|
|
9068
9068
|
}) => {
|
|
9069
|
-
const { name: g, created_at: y, id: h, isBeingProcessed: b } = e, [f, _] =
|
|
9069
|
+
const { name: g, created_at: y, id: h, isBeingProcessed: b } = e, [f, _] = se(!1), { t: x } = ae(), w = l && l.edit && !e.is_default && !e.is_baseline, N = l && l.trash && !e.is_default && !e.is_baseline;
|
|
9070
9070
|
return /* @__PURE__ */ T(
|
|
9071
9071
|
"div",
|
|
9072
9072
|
{
|
|
@@ -9098,7 +9098,7 @@ const U1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
9098
9098
|
/* @__PURE__ */ T("div", { className: Ge.elementButtons, children: [
|
|
9099
9099
|
e.processing && /* @__PURE__ */ T("div", { className: "tooltip-parent", children: [
|
|
9100
9100
|
/* @__PURE__ */ u("img", { src: F1 }),
|
|
9101
|
-
/* @__PURE__ */ u(
|
|
9101
|
+
/* @__PURE__ */ u(ct, { text: c, position: "left" })
|
|
9102
9102
|
] }),
|
|
9103
9103
|
l.filter && !e.is_default && /* @__PURE__ */ T("div", { className: "tooltip-parent", children: [
|
|
9104
9104
|
/* @__PURE__ */ u(
|
|
@@ -9110,7 +9110,7 @@ const U1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
9110
9110
|
}
|
|
9111
9111
|
),
|
|
9112
9112
|
/* @__PURE__ */ u(
|
|
9113
|
-
|
|
9113
|
+
ct,
|
|
9114
9114
|
{
|
|
9115
9115
|
text: l.filter.tooltiptext,
|
|
9116
9116
|
position: "left"
|
|
@@ -9126,7 +9126,7 @@ const U1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
9126
9126
|
children: /* @__PURE__ */ u("img", { src: P1 })
|
|
9127
9127
|
}
|
|
9128
9128
|
),
|
|
9129
|
-
/* @__PURE__ */ u(
|
|
9129
|
+
/* @__PURE__ */ u(ct, { text: l.copy.tooltiptext, position: "left" })
|
|
9130
9130
|
] }),
|
|
9131
9131
|
w && /* @__PURE__ */ T("div", { className: "tooltip-parent", children: [
|
|
9132
9132
|
/* @__PURE__ */ u(
|
|
@@ -9137,7 +9137,7 @@ const U1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
9137
9137
|
children: /* @__PURE__ */ u("img", { src: j1 })
|
|
9138
9138
|
}
|
|
9139
9139
|
),
|
|
9140
|
-
/* @__PURE__ */ u(
|
|
9140
|
+
/* @__PURE__ */ u(ct, { text: l.edit.tooltiptext, position: "left" })
|
|
9141
9141
|
] }),
|
|
9142
9142
|
l.info && e.is_default && /* @__PURE__ */ T("div", { className: "tooltip-parent", children: [
|
|
9143
9143
|
/* @__PURE__ */ u(
|
|
@@ -9148,7 +9148,7 @@ const U1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
9148
9148
|
children: /* @__PURE__ */ u("img", { src: q1 })
|
|
9149
9149
|
}
|
|
9150
9150
|
),
|
|
9151
|
-
/* @__PURE__ */ u(
|
|
9151
|
+
/* @__PURE__ */ u(ct, { text: l.info.tooltiptext, position: "left" })
|
|
9152
9152
|
] }),
|
|
9153
9153
|
N && /* @__PURE__ */ T("div", { className: "tooltip-parent", children: [
|
|
9154
9154
|
/* @__PURE__ */ u(
|
|
@@ -9160,7 +9160,7 @@ const U1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
9160
9160
|
}
|
|
9161
9161
|
),
|
|
9162
9162
|
/* @__PURE__ */ u(
|
|
9163
|
-
|
|
9163
|
+
ct,
|
|
9164
9164
|
{
|
|
9165
9165
|
text: l.trash.tooltiptext,
|
|
9166
9166
|
position: "left"
|
|
@@ -9169,7 +9169,7 @@ const U1 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
9169
9169
|
] }),
|
|
9170
9170
|
e.is_default && /* @__PURE__ */ T("div", { className: "tooltip-parent", children: [
|
|
9171
9171
|
/* @__PURE__ */ u("img", { src: z1 }),
|
|
9172
|
-
/* @__PURE__ */ u(
|
|
9172
|
+
/* @__PURE__ */ u(ct, { text: d, position: "left" })
|
|
9173
9173
|
] })
|
|
9174
9174
|
] }),
|
|
9175
9175
|
s && /* @__PURE__ */ u("div", { className: Ge.break }),
|
|
@@ -9249,8 +9249,8 @@ const Ci = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
9249
9249
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
9250
9250
|
showEye: h = !0
|
|
9251
9251
|
}) => {
|
|
9252
|
-
const { t: b } =
|
|
9253
|
-
|
|
9252
|
+
const { t: b } = ae(), [f, _] = se(e);
|
|
9253
|
+
te(() => {
|
|
9254
9254
|
e && _(e);
|
|
9255
9255
|
}, [e]);
|
|
9256
9256
|
const x = (v) => {
|
|
@@ -9266,43 +9266,43 @@ const Ci = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
9266
9266
|
if (!f || f.length === 0) return;
|
|
9267
9267
|
let C = [...f];
|
|
9268
9268
|
const S = C.find((k) => k[v] !== null && k[v] !== void 0), O = S ? w(S[v]) : !1;
|
|
9269
|
-
C.sort((k,
|
|
9270
|
-
const V = k[v],
|
|
9271
|
-
if (V == null &&
|
|
9269
|
+
C.sort((k, $) => {
|
|
9270
|
+
const V = k[v], R = $[v];
|
|
9271
|
+
if (V == null && R == null) return 0;
|
|
9272
9272
|
if (V == null) return 1;
|
|
9273
|
-
if (
|
|
9273
|
+
if (R == null) return -1;
|
|
9274
9274
|
if (O) {
|
|
9275
|
-
const
|
|
9276
|
-
return
|
|
9275
|
+
const E = x(V), z = x(R);
|
|
9276
|
+
return !E && !z ? 0 : E ? z ? E - z : -1 : 1;
|
|
9277
9277
|
}
|
|
9278
|
-
const p = String(V || "").trim(), A = String(
|
|
9278
|
+
const p = String(V || "").trim(), A = String(R || "").trim();
|
|
9279
9279
|
return p.localeCompare(A);
|
|
9280
9280
|
}), _(C);
|
|
9281
9281
|
};
|
|
9282
9282
|
return /* @__PURE__ */ T(
|
|
9283
9283
|
"div",
|
|
9284
9284
|
{
|
|
9285
|
-
className:
|
|
9285
|
+
className: at.elementSelector,
|
|
9286
9286
|
style: { color: n, ...s },
|
|
9287
9287
|
children: [
|
|
9288
9288
|
/* @__PURE__ */ T(
|
|
9289
9289
|
"div",
|
|
9290
9290
|
{
|
|
9291
|
-
className:
|
|
9291
|
+
className: at.header,
|
|
9292
9292
|
style: { borderBottom: `1px solid ${n}` },
|
|
9293
9293
|
children: [
|
|
9294
|
-
/* @__PURE__ */ u("div", { className:
|
|
9294
|
+
/* @__PURE__ */ u("div", { className: at.nameDateContainer, children: Object.keys(c).map((v) => v === "name" ? /* @__PURE__ */ u("div", { className: at.elementName, children: /* @__PURE__ */ T("button", { onClick: () => N("name"), children: [
|
|
9295
9295
|
/* @__PURE__ */ u("span", { children: b(c.name) }),
|
|
9296
9296
|
/* @__PURE__ */ u("img", { src: Ci, alt: "order arrow" })
|
|
9297
|
-
] }) }, v) : v === "data" ? /* @__PURE__ */ u("div", { className:
|
|
9297
|
+
] }) }, v) : v === "data" ? /* @__PURE__ */ u("div", { className: at.elementDate, children: /* @__PURE__ */ T("button", { onClick: () => N("created_at"), children: [
|
|
9298
9298
|
/* @__PURE__ */ u("span", { children: b(c.data) }),
|
|
9299
9299
|
/* @__PURE__ */ u("img", { src: Ci, alt: "order arrow" })
|
|
9300
|
-
] }) }, v) : /* @__PURE__ */ u("div", { className:
|
|
9301
|
-
/* @__PURE__ */ u("div", { className:
|
|
9300
|
+
] }) }, v) : /* @__PURE__ */ u("div", { className: at.elementDate, children: /* @__PURE__ */ u("span", { children: b(c[v]) }) }, v)) }),
|
|
9301
|
+
/* @__PURE__ */ u("div", { className: at.buttonsContainer })
|
|
9302
9302
|
]
|
|
9303
9303
|
}
|
|
9304
9304
|
),
|
|
9305
|
-
/* @__PURE__ */ u("div", { className:
|
|
9305
|
+
/* @__PURE__ */ u("div", { className: at.elementListContainer, children: f && f.length > 0 && f.map((v) => /* @__PURE__ */ u(
|
|
9306
9306
|
Ls,
|
|
9307
9307
|
{
|
|
9308
9308
|
isActive: t == v.id,
|
|
@@ -9319,7 +9319,7 @@ const Ci = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
9319
9319
|
},
|
|
9320
9320
|
`elementKey${v.id}`
|
|
9321
9321
|
)) }),
|
|
9322
|
-
a && /* @__PURE__ */ u("div", { className:
|
|
9322
|
+
a && /* @__PURE__ */ u("div", { className: at.newElementButtonContainer, children: /* @__PURE__ */ u(
|
|
9323
9323
|
Jn,
|
|
9324
9324
|
{
|
|
9325
9325
|
style: { ...o },
|
|
@@ -9413,7 +9413,7 @@ function Rs(e) {
|
|
|
9413
9413
|
Object.prototype.hasOwnProperty.call(e, o) && (r[o] = Rs(e[o]));
|
|
9414
9414
|
return r;
|
|
9415
9415
|
}
|
|
9416
|
-
var Ds = (e) => /^\w*$/.test(e), Qr = (e) => e === void 0, nd = (e) => Array.isArray(e) ? e.filter(Boolean) : [], Is = (e) => nd(e.replace(/["|']|\]/g, "").split(/\.|\[/)),
|
|
9416
|
+
var Ds = (e) => /^\w*$/.test(e), Qr = (e) => e === void 0, nd = (e) => Array.isArray(e) ? e.filter(Boolean) : [], Is = (e) => nd(e.replace(/["|']|\]/g, "").split(/\.|\[/)), je = (e, t, n) => {
|
|
9417
9417
|
if (!t || !Lt(e))
|
|
9418
9418
|
return n;
|
|
9419
9419
|
const r = (Ds(t) ? [t] : Is(t)).reduce((o, s) => mo(o) ? o : o[s], e);
|
|
@@ -9480,7 +9480,7 @@ function od(e) {
|
|
|
9480
9480
|
c.current.isValid && n._setValid(!0);
|
|
9481
9481
|
}, [n]), ie.useMemo(() => rd(a, n, c.current, !1), [a, n]);
|
|
9482
9482
|
}
|
|
9483
|
-
var id = (e) => typeof e == "string", Si = (e, t, n, r, o) => id(e) ?
|
|
9483
|
+
var id = (e) => typeof e == "string", Si = (e, t, n, r, o) => id(e) ? je(n, e, o) : Array.isArray(e) ? e.map((s) => je(n, s)) : n, ki = (e) => mo(e) || !Ms(e);
|
|
9484
9484
|
function Wn(e, t, n = /* @__PURE__ */ new WeakSet()) {
|
|
9485
9485
|
if (ki(e) || ki(t))
|
|
9486
9486
|
return Object.is(e, t);
|
|
@@ -9542,7 +9542,7 @@ function sd(e) {
|
|
|
9542
9542
|
return N !== null ? N : h;
|
|
9543
9543
|
}
|
|
9544
9544
|
function ad(e) {
|
|
9545
|
-
const t = ho(), { name: n, disabled: r, control: o = t, shouldUnregister: s, defaultValue: a, exact: l = !0 } = e, c = J1(o._names.array, n), d = ie.useMemo(() =>
|
|
9545
|
+
const t = ho(), { name: n, disabled: r, control: o = t, shouldUnregister: s, defaultValue: a, exact: l = !0 } = e, c = J1(o._names.array, n), d = ie.useMemo(() => je(o._formValues, n, je(o._defaultValues, n, a)), [o, n, a]), m = sd({
|
|
9546
9546
|
control: o,
|
|
9547
9547
|
name: n,
|
|
9548
9548
|
defaultValue: d,
|
|
@@ -9560,23 +9560,23 @@ function ad(e) {
|
|
|
9560
9560
|
const f = ie.useMemo(() => Object.defineProperties({}, {
|
|
9561
9561
|
invalid: {
|
|
9562
9562
|
enumerable: !0,
|
|
9563
|
-
get: () => !!
|
|
9563
|
+
get: () => !!je(g.errors, n)
|
|
9564
9564
|
},
|
|
9565
9565
|
isDirty: {
|
|
9566
9566
|
enumerable: !0,
|
|
9567
|
-
get: () => !!
|
|
9567
|
+
get: () => !!je(g.dirtyFields, n)
|
|
9568
9568
|
},
|
|
9569
9569
|
isTouched: {
|
|
9570
9570
|
enumerable: !0,
|
|
9571
|
-
get: () => !!
|
|
9571
|
+
get: () => !!je(g.touchedFields, n)
|
|
9572
9572
|
},
|
|
9573
9573
|
isValidating: {
|
|
9574
9574
|
enumerable: !0,
|
|
9575
|
-
get: () => !!
|
|
9575
|
+
get: () => !!je(g.validatingFields, n)
|
|
9576
9576
|
},
|
|
9577
9577
|
error: {
|
|
9578
9578
|
enumerable: !0,
|
|
9579
|
-
get: () =>
|
|
9579
|
+
get: () => je(g.errors, n)
|
|
9580
9580
|
}
|
|
9581
9581
|
}), [g, n]), _ = ie.useCallback((v) => b.current.onChange({
|
|
9582
9582
|
target: {
|
|
@@ -9586,12 +9586,12 @@ function ad(e) {
|
|
|
9586
9586
|
type: xi.CHANGE
|
|
9587
9587
|
}), [n]), x = ie.useCallback(() => b.current.onBlur({
|
|
9588
9588
|
target: {
|
|
9589
|
-
value:
|
|
9589
|
+
value: je(o._formValues, n),
|
|
9590
9590
|
name: n
|
|
9591
9591
|
},
|
|
9592
9592
|
type: xi.BLUR
|
|
9593
9593
|
}), [n, o._formValues]), w = ie.useCallback((v) => {
|
|
9594
|
-
const C =
|
|
9594
|
+
const C = je(o._fields, n);
|
|
9595
9595
|
C && C._f && v && (C._f.ref = {
|
|
9596
9596
|
focus: () => Vn(v.focus) && v.focus(),
|
|
9597
9597
|
select: () => Vn(v.select) && v.select(),
|
|
@@ -9613,12 +9613,12 @@ function ad(e) {
|
|
|
9613
9613
|
...Dr(y.current.disabled) ? { disabled: y.current.disabled } : {}
|
|
9614
9614
|
});
|
|
9615
9615
|
const S = (O, k) => {
|
|
9616
|
-
const
|
|
9617
|
-
|
|
9616
|
+
const $ = je(o._fields, O);
|
|
9617
|
+
$ && $._f && ($._f.mount = k);
|
|
9618
9618
|
};
|
|
9619
9619
|
if (S(n, !0), v) {
|
|
9620
|
-
const O = Rs(
|
|
9621
|
-
_i(o._defaultValues, n, O), Qr(
|
|
9620
|
+
const O = Rs(je(o._options.defaultValues, n, y.current.defaultValue));
|
|
9621
|
+
_i(o._defaultValues, n, O), Qr(je(o._formValues, n)) && _i(o._formValues, n, O);
|
|
9622
9622
|
}
|
|
9623
9623
|
return !c && o.register(n), h.current = n, () => {
|
|
9624
9624
|
(c ? v && !o._state.action : v) ? o.unregister(n) : S(n, !1);
|
|
@@ -9649,7 +9649,7 @@ const cd = "_textInputContainer_1o3iy_2", ud = "_labelContainer_1o3iy_5", dd = "
|
|
|
9649
9649
|
errorColor: t = "red",
|
|
9650
9650
|
containerStyles: n
|
|
9651
9651
|
}) => {
|
|
9652
|
-
const { t: r } =
|
|
9652
|
+
const { t: r } = ae();
|
|
9653
9653
|
return /* @__PURE__ */ u(
|
|
9654
9654
|
"div",
|
|
9655
9655
|
{
|
|
@@ -9678,7 +9678,7 @@ const cd = "_textInputContainer_1o3iy_2", ud = "_labelContainer_1o3iy_5", dd = "
|
|
|
9678
9678
|
//Lógica extra al onChange además de actualizar el valor en RHF
|
|
9679
9679
|
onChangeExtraFunction: h = () => {
|
|
9680
9680
|
}
|
|
9681
|
-
} = e, { t: b } =
|
|
9681
|
+
} = e, { t: b } = ae(), { control: f, trigger: _, clearErrors: x } = t, { errorColor: w } = xn((S) => S), [N, v] = se(!1);
|
|
9682
9682
|
Ce(a);
|
|
9683
9683
|
const C = () => r ? r === "password" && N ? "text" : r : "text";
|
|
9684
9684
|
return /* @__PURE__ */ u(
|
|
@@ -9692,8 +9692,8 @@ const cd = "_textInputContainer_1o3iy_2", ud = "_labelContainer_1o3iy_5", dd = "
|
|
|
9692
9692
|
validate: l || void 0
|
|
9693
9693
|
},
|
|
9694
9694
|
render: ({ field: S, fieldState: O }) => {
|
|
9695
|
-
var
|
|
9696
|
-
const { onChange: k,
|
|
9695
|
+
var R;
|
|
9696
|
+
const { onChange: k, ...$ } = S, V = (p) => {
|
|
9697
9697
|
k(p), h && h(p);
|
|
9698
9698
|
};
|
|
9699
9699
|
return /* @__PURE__ */ T("div", { className: an.textInputContainer, children: [
|
|
@@ -9711,7 +9711,7 @@ const cd = "_textInputContainer_1o3iy_2", ud = "_labelContainer_1o3iy_5", dd = "
|
|
|
9711
9711
|
/* @__PURE__ */ u(
|
|
9712
9712
|
"input",
|
|
9713
9713
|
{
|
|
9714
|
-
|
|
9714
|
+
...$,
|
|
9715
9715
|
type: C(),
|
|
9716
9716
|
onChange: V,
|
|
9717
9717
|
placeholder: c ? b(c) : "",
|
|
@@ -9740,7 +9740,7 @@ const cd = "_textInputContainer_1o3iy_2", ud = "_labelContainer_1o3iy_5", dd = "
|
|
|
9740
9740
|
/* @__PURE__ */ u(
|
|
9741
9741
|
_n,
|
|
9742
9742
|
{
|
|
9743
|
-
errorMessage: (
|
|
9743
|
+
errorMessage: (R = O.error) == null ? void 0 : R.message,
|
|
9744
9744
|
errorColor: w || d
|
|
9745
9745
|
}
|
|
9746
9746
|
)
|
|
@@ -9771,10 +9771,10 @@ const cd = "_textInputContainer_1o3iy_2", ud = "_labelContainer_1o3iy_5", dd = "
|
|
|
9771
9771
|
width: g = 325,
|
|
9772
9772
|
options: y = []
|
|
9773
9773
|
//Used if we dont use react hook form
|
|
9774
|
-
} = e, { t: h } =
|
|
9774
|
+
} = e, { t: h } = ae(), { control: b, trigger: f, clearErrors: _ } = t || {}, { errorColor: x } = xn((v) => v);
|
|
9775
9775
|
Ce(l);
|
|
9776
|
-
const [w, N] =
|
|
9777
|
-
return
|
|
9776
|
+
const [w, N] = se(null);
|
|
9777
|
+
return te(() => {
|
|
9778
9778
|
w && n && n(w);
|
|
9779
9779
|
}, [w, n]), t ? /* @__PURE__ */ u(
|
|
9780
9780
|
Cn,
|
|
@@ -9807,20 +9807,20 @@ const cd = "_textInputContainer_1o3iy_2", ud = "_labelContainer_1o3iy_5", dd = "
|
|
|
9807
9807
|
...v,
|
|
9808
9808
|
value: v.value ?? "",
|
|
9809
9809
|
onChange: (k) => {
|
|
9810
|
-
const
|
|
9810
|
+
const $ = k.target.value, V = y.every((R) => typeof R.value == "number") ? Number($) : $;
|
|
9811
9811
|
v.onChange(V);
|
|
9812
9812
|
},
|
|
9813
9813
|
className: Be.selectInput,
|
|
9814
9814
|
children: [
|
|
9815
9815
|
/* @__PURE__ */ u("option", { value: "", disabled: !0, hidden: !0, children: h(d || "selectOption") }),
|
|
9816
|
-
y.map((k,
|
|
9816
|
+
y.map((k, $) => /* @__PURE__ */ u(
|
|
9817
9817
|
"option",
|
|
9818
9818
|
{
|
|
9819
9819
|
value: k.value,
|
|
9820
9820
|
className: Be.option,
|
|
9821
9821
|
children: h(k.label)
|
|
9822
9822
|
},
|
|
9823
|
-
|
|
9823
|
+
$
|
|
9824
9824
|
))
|
|
9825
9825
|
]
|
|
9826
9826
|
}
|
|
@@ -9901,7 +9901,7 @@ const cd = "_textInputContainer_1o3iy_2", ud = "_labelContainer_1o3iy_5", dd = "
|
|
|
9901
9901
|
errorColor: a = "red",
|
|
9902
9902
|
options: l = [],
|
|
9903
9903
|
multi: c = !1
|
|
9904
|
-
} = e, { t: d } =
|
|
9904
|
+
} = e, { t: d } = ae(), { control: m, trigger: g, clearErrors: y } = t, { errorColor: h } = xn((_) => _), b = ({ options: _, onChange: x, actualValue: w }) => {
|
|
9905
9905
|
if (c && w && w.length > 0) {
|
|
9906
9906
|
let N = w.filter((v) => v !== _);
|
|
9907
9907
|
x(N);
|
|
@@ -9947,9 +9947,9 @@ const cd = "_textInputContainer_1o3iy_2", ud = "_labelContainer_1o3iy_5", dd = "
|
|
|
9947
9947
|
({
|
|
9948
9948
|
label: O,
|
|
9949
9949
|
value: k,
|
|
9950
|
-
disabled:
|
|
9950
|
+
disabled: $ = !1,
|
|
9951
9951
|
italicLabel: V
|
|
9952
|
-
},
|
|
9952
|
+
}, R) => {
|
|
9953
9953
|
const p = N && c ? N.isArray && (N == null ? void 0 : N.length) > 0 && N.some((A) => A === k) : N === k;
|
|
9954
9954
|
return /* @__PURE__ */ T("label", { children: [
|
|
9955
9955
|
/* @__PURE__ */ u(
|
|
@@ -9973,7 +9973,7 @@ const cd = "_textInputContainer_1o3iy_2", ud = "_labelContainer_1o3iy_5", dd = "
|
|
|
9973
9973
|
),
|
|
9974
9974
|
/* @__PURE__ */ u("span", { className: "radio-custom" }),
|
|
9975
9975
|
d(O)
|
|
9976
|
-
] }, `inputRadio ${
|
|
9976
|
+
] }, `inputRadio ${R}`);
|
|
9977
9977
|
}
|
|
9978
9978
|
),
|
|
9979
9979
|
/* @__PURE__ */ u(
|
|
@@ -9988,7 +9988,7 @@ const cd = "_textInputContainer_1o3iy_2", ud = "_labelContainer_1o3iy_5", dd = "
|
|
|
9988
9988
|
}
|
|
9989
9989
|
}
|
|
9990
9990
|
);
|
|
9991
|
-
}, Rd = "_rankingSliderContainer_1dvpb_2", Dd = "_labelContainer_1dvpb_6", Id = "_inputContainer_1dvpb_10", Vd = "_slider_1dvpb_20", Pd = "_thumb_1dvpb_27", Bd = "_labels_1dvpb_37", Fd = "_minLabel_1dvpb_67", zd = "_maxLabel_1dvpb_68",
|
|
9991
|
+
}, Rd = "_rankingSliderContainer_1dvpb_2", Dd = "_labelContainer_1dvpb_6", Id = "_inputContainer_1dvpb_10", Vd = "_slider_1dvpb_20", Pd = "_thumb_1dvpb_27", Bd = "_labels_1dvpb_37", Fd = "_minLabel_1dvpb_67", zd = "_maxLabel_1dvpb_68", Ae = {
|
|
9992
9992
|
rankingSliderContainer: Rd,
|
|
9993
9993
|
labelContainer: Dd,
|
|
9994
9994
|
inputContainer: Id,
|
|
@@ -10015,12 +10015,12 @@ const cd = "_textInputContainer_1o3iy_2", ud = "_labelContainer_1o3iy_5", dd = "
|
|
|
10015
10015
|
disabled: f = !1,
|
|
10016
10016
|
marks: _ = Array.from(
|
|
10017
10017
|
{ length: a - s + 1 },
|
|
10018
|
-
(
|
|
10018
|
+
($, V) => s + V
|
|
10019
10019
|
),
|
|
10020
10020
|
showMarksNumber: x = !0
|
|
10021
|
-
} = e, { t: w } =
|
|
10021
|
+
} = e, { t: w } = ae(), { control: N, trigger: v, clearErrors: C } = t || {};
|
|
10022
10022
|
Ce(d);
|
|
10023
|
-
const { errorColorForm: S } = xn((
|
|
10023
|
+
const { errorColorForm: S } = xn(($) => $), [O, k] = se(l);
|
|
10024
10024
|
return t ? /* @__PURE__ */ u(
|
|
10025
10025
|
Cn,
|
|
10026
10026
|
{
|
|
@@ -10030,12 +10030,12 @@ const cd = "_textInputContainer_1o3iy_2", ud = "_labelContainer_1o3iy_5", dd = "
|
|
|
10030
10030
|
rules: {
|
|
10031
10031
|
required: d ? `${w(o)} ${w("errorMessages.required")}` : !1
|
|
10032
10032
|
},
|
|
10033
|
-
render: ({ field:
|
|
10034
|
-
var
|
|
10033
|
+
render: ({ field: $, fieldState: V }) => {
|
|
10034
|
+
var R;
|
|
10035
10035
|
return /* @__PURE__ */ T(
|
|
10036
10036
|
"div",
|
|
10037
10037
|
{
|
|
10038
|
-
className:
|
|
10038
|
+
className: Ae.rankingSliderContainer,
|
|
10039
10039
|
style: {
|
|
10040
10040
|
gridTemplateColumns: `${o && g} ${y}`
|
|
10041
10041
|
},
|
|
@@ -10043,13 +10043,13 @@ const cd = "_textInputContainer_1o3iy_2", ud = "_labelContainer_1o3iy_5", dd = "
|
|
|
10043
10043
|
o && /* @__PURE__ */ u(
|
|
10044
10044
|
"p",
|
|
10045
10045
|
{
|
|
10046
|
-
className:
|
|
10046
|
+
className: Ae.labelContainer,
|
|
10047
10047
|
style: { color: f ? "#CCCCCC" : "#605B56" },
|
|
10048
10048
|
children: w(o)
|
|
10049
10049
|
}
|
|
10050
10050
|
),
|
|
10051
|
-
/* @__PURE__ */ T("div", { className:
|
|
10052
|
-
h && /* @__PURE__ */ u("div", { className:
|
|
10051
|
+
/* @__PURE__ */ T("div", { className: Ae.inputContainer, children: [
|
|
10052
|
+
h && /* @__PURE__ */ u("div", { className: Ae.minLabel, children: w(h) }),
|
|
10053
10053
|
/* @__PURE__ */ T("div", { children: [
|
|
10054
10054
|
/* @__PURE__ */ u(
|
|
10055
10055
|
Wr,
|
|
@@ -10057,13 +10057,13 @@ const cd = "_textInputContainer_1o3iy_2", ud = "_labelContainer_1o3iy_5", dd = "
|
|
|
10057
10057
|
min: s,
|
|
10058
10058
|
max: a,
|
|
10059
10059
|
step: 1,
|
|
10060
|
-
value:
|
|
10060
|
+
value: $.value ?? l,
|
|
10061
10061
|
onChange: (p) => {
|
|
10062
|
-
|
|
10062
|
+
$.onChange(p);
|
|
10063
10063
|
},
|
|
10064
10064
|
marks: !0,
|
|
10065
|
-
className:
|
|
10066
|
-
thumbClassName:
|
|
10065
|
+
className: Ae.slider,
|
|
10066
|
+
thumbClassName: Ae.thumb,
|
|
10067
10067
|
renderThumb: (p) => /* @__PURE__ */ u(
|
|
10068
10068
|
"div",
|
|
10069
10069
|
{
|
|
@@ -10075,19 +10075,19 @@ const cd = "_textInputContainer_1o3iy_2", ud = "_labelContainer_1o3iy_5", dd = "
|
|
|
10075
10075
|
}
|
|
10076
10076
|
}
|
|
10077
10077
|
),
|
|
10078
|
-
trackClassName:
|
|
10079
|
-
markClassName:
|
|
10078
|
+
trackClassName: Ae.track,
|
|
10079
|
+
markClassName: Ae.mark,
|
|
10080
10080
|
disabled: f
|
|
10081
10081
|
}
|
|
10082
10082
|
),
|
|
10083
|
-
_ && /* @__PURE__ */ u("div", { className:
|
|
10083
|
+
_ && /* @__PURE__ */ u("div", { className: Ae.labels, children: _.map((p) => /* @__PURE__ */ u("span", { children: x && p }, p)) })
|
|
10084
10084
|
] }),
|
|
10085
|
-
b && /* @__PURE__ */ u("div", { className:
|
|
10085
|
+
b && /* @__PURE__ */ u("div", { className: Ae.maxLabel, children: w(b) })
|
|
10086
10086
|
] }),
|
|
10087
10087
|
/* @__PURE__ */ u(
|
|
10088
10088
|
_n,
|
|
10089
10089
|
{
|
|
10090
|
-
errorMessage: (
|
|
10090
|
+
errorMessage: (R = V.error) == null ? void 0 : R.message,
|
|
10091
10091
|
errorColor: S || m
|
|
10092
10092
|
}
|
|
10093
10093
|
)
|
|
@@ -10099,19 +10099,19 @@ const cd = "_textInputContainer_1o3iy_2", ud = "_labelContainer_1o3iy_5", dd = "
|
|
|
10099
10099
|
) : /* @__PURE__ */ T(
|
|
10100
10100
|
"div",
|
|
10101
10101
|
{
|
|
10102
|
-
className:
|
|
10102
|
+
className: Ae.rankingSliderContainer,
|
|
10103
10103
|
style: { gridTemplateColumns: `${o && g} ${y}` },
|
|
10104
10104
|
children: [
|
|
10105
10105
|
o && /* @__PURE__ */ u(
|
|
10106
10106
|
"p",
|
|
10107
10107
|
{
|
|
10108
|
-
className:
|
|
10108
|
+
className: Ae.labelContainer,
|
|
10109
10109
|
style: { color: f ? "#CCCCCC" : "#605B56" },
|
|
10110
10110
|
children: w(o)
|
|
10111
10111
|
}
|
|
10112
10112
|
),
|
|
10113
|
-
/* @__PURE__ */ T("div", { className:
|
|
10114
|
-
h && /* @__PURE__ */ u("div", { className:
|
|
10113
|
+
/* @__PURE__ */ T("div", { className: Ae.inputContainer, children: [
|
|
10114
|
+
h && /* @__PURE__ */ u("div", { className: Ae.minLabel, children: w(h) }),
|
|
10115
10115
|
/* @__PURE__ */ T("div", { children: [
|
|
10116
10116
|
/* @__PURE__ */ u(
|
|
10117
10117
|
Wr,
|
|
@@ -10120,31 +10120,31 @@ const cd = "_textInputContainer_1o3iy_2", ud = "_labelContainer_1o3iy_5", dd = "
|
|
|
10120
10120
|
max: a,
|
|
10121
10121
|
step: 1,
|
|
10122
10122
|
value: O,
|
|
10123
|
-
onChange: (
|
|
10124
|
-
k(
|
|
10123
|
+
onChange: ($) => {
|
|
10124
|
+
k($), n && n($);
|
|
10125
10125
|
},
|
|
10126
10126
|
marks: !0,
|
|
10127
|
-
className:
|
|
10128
|
-
thumbClassName:
|
|
10129
|
-
renderThumb: (
|
|
10127
|
+
className: Ae.slider,
|
|
10128
|
+
thumbClassName: Ae.thumb,
|
|
10129
|
+
renderThumb: ($) => /* @__PURE__ */ u(
|
|
10130
10130
|
"div",
|
|
10131
10131
|
{
|
|
10132
|
-
|
|
10132
|
+
...$,
|
|
10133
10133
|
style: {
|
|
10134
|
-
|
|
10134
|
+
...$.style,
|
|
10135
10135
|
backgroundColor: f ? "#CCCCCC" : c,
|
|
10136
10136
|
cursor: f ? "not-allowed" : "grab"
|
|
10137
10137
|
}
|
|
10138
10138
|
}
|
|
10139
10139
|
),
|
|
10140
|
-
trackClassName:
|
|
10141
|
-
markClassName:
|
|
10140
|
+
trackClassName: Ae.track,
|
|
10141
|
+
markClassName: Ae.mark,
|
|
10142
10142
|
disabled: f
|
|
10143
10143
|
}
|
|
10144
10144
|
),
|
|
10145
|
-
_ && /* @__PURE__ */ u("div", { className:
|
|
10145
|
+
_ && /* @__PURE__ */ u("div", { className: Ae.labels, children: _.map(($) => /* @__PURE__ */ u("span", { children: x && $ }, $)) })
|
|
10146
10146
|
] }),
|
|
10147
|
-
b && /* @__PURE__ */ u("div", { className:
|
|
10147
|
+
b && /* @__PURE__ */ u("div", { className: Ae.maxLabel, children: w(b) })
|
|
10148
10148
|
] })
|
|
10149
10149
|
]
|
|
10150
10150
|
}
|
|
@@ -10183,7 +10183,7 @@ const jd = "_textDescriptionContainer_163pc_2", qd = "_textDescriptionText_163pc
|
|
|
10183
10183
|
inputContainerStyles: t,
|
|
10184
10184
|
reactHookFormInstance: n
|
|
10185
10185
|
}) => {
|
|
10186
|
-
const { watch: r } = n, o = r(), s =
|
|
10186
|
+
const { watch: r } = n, o = r(), s = qe(() => e == null ? void 0 : e.map((a) => {
|
|
10187
10187
|
const l = typeof a.required == "function" ? a.required(o) : a.required;
|
|
10188
10188
|
return {
|
|
10189
10189
|
...a,
|
|
@@ -10299,7 +10299,7 @@ const jd = "_textDescriptionContainer_163pc_2", qd = "_textDescriptionText_163pc
|
|
|
10299
10299
|
containerStyles: o = {},
|
|
10300
10300
|
categoriesWithErrors: s = []
|
|
10301
10301
|
}) => {
|
|
10302
|
-
const { t: a } =
|
|
10302
|
+
const { t: a } = ae(), l = (c) => {
|
|
10303
10303
|
t(c);
|
|
10304
10304
|
};
|
|
10305
10305
|
return /* @__PURE__ */ u(
|
|
@@ -10347,33 +10347,33 @@ const jd = "_textDescriptionContainer_163pc_2", qd = "_textDescriptionText_163pc
|
|
|
10347
10347
|
categoriesWithErrors: h = [],
|
|
10348
10348
|
onSubmit: b = (f) => console.log("Form submitted with: ", f)
|
|
10349
10349
|
}) => {
|
|
10350
|
-
const { t: f } =
|
|
10351
|
-
|
|
10350
|
+
const { t: f } = ae(), { handleSubmit: _, control: x } = e;
|
|
10351
|
+
te(() => {
|
|
10352
10352
|
s && xn.setState(() => ({ errorColor: s }));
|
|
10353
10353
|
}, [s]);
|
|
10354
|
-
const w =
|
|
10354
|
+
const w = qe(() => t ? t.filter(($) => $.category).map(($) => {
|
|
10355
10355
|
var V;
|
|
10356
10356
|
return {
|
|
10357
|
-
id:
|
|
10358
|
-
label:
|
|
10359
|
-
hasSubcategories: ((V =
|
|
10357
|
+
id: $.categoryId,
|
|
10358
|
+
label: $.category,
|
|
10359
|
+
hasSubcategories: ((V = $.subcategories) == null ? void 0 : V.length) > 0
|
|
10360
10360
|
};
|
|
10361
|
-
}) : [], [t]), N = (
|
|
10362
|
-
const V = t == null ? void 0 : t.find((
|
|
10361
|
+
}) : [], [t]), N = ($) => {
|
|
10362
|
+
const V = t == null ? void 0 : t.find((R) => R.categoryId === $);
|
|
10363
10363
|
return (V == null ? void 0 : V.subcategories) || [];
|
|
10364
|
-
}, [v, C] =
|
|
10364
|
+
}, [v, C] = se(
|
|
10365
10365
|
g || d || null
|
|
10366
|
-
), [S, O] =
|
|
10367
|
-
|
|
10366
|
+
), [S, O] = se(null);
|
|
10367
|
+
te(() => {
|
|
10368
10368
|
!v && w.length > 0 && C(w[0].id);
|
|
10369
|
-
}, [w, v]),
|
|
10370
|
-
const
|
|
10371
|
-
!S && (
|
|
10369
|
+
}, [w, v]), te(() => {
|
|
10370
|
+
const $ = N(v);
|
|
10371
|
+
!S && ($ == null ? void 0 : $.length) > 0 && O($[0].id);
|
|
10372
10372
|
}, [v, S, t]);
|
|
10373
|
-
const k = (
|
|
10374
|
-
var
|
|
10375
|
-
if (((
|
|
10376
|
-
const p =
|
|
10373
|
+
const k = ($, V) => {
|
|
10374
|
+
var R;
|
|
10375
|
+
if (((R = $.subcategories) == null ? void 0 : R.length) > 0) {
|
|
10376
|
+
const p = $.subcategories;
|
|
10377
10377
|
return /* @__PURE__ */ T("div", { children: [
|
|
10378
10378
|
/* @__PURE__ */ u(
|
|
10379
10379
|
"div",
|
|
@@ -10390,9 +10390,9 @@ const jd = "_textDescriptionContainer_163pc_2", qd = "_textDescriptionText_163pc
|
|
|
10390
10390
|
}
|
|
10391
10391
|
)
|
|
10392
10392
|
},
|
|
10393
|
-
|
|
10393
|
+
$.categoryId
|
|
10394
10394
|
),
|
|
10395
|
-
p.map((A,
|
|
10395
|
+
p.map((A, E) => {
|
|
10396
10396
|
const z = !S || A.id === S;
|
|
10397
10397
|
return n ? /* @__PURE__ */ u(
|
|
10398
10398
|
"div",
|
|
@@ -10412,7 +10412,7 @@ const jd = "_textDescriptionContainer_163pc_2", qd = "_textDescriptionText_163pc
|
|
|
10412
10412
|
}
|
|
10413
10413
|
) }, A.id)
|
|
10414
10414
|
},
|
|
10415
|
-
`${A.id}${
|
|
10415
|
+
`${A.id}${E}`
|
|
10416
10416
|
) : /* @__PURE__ */ T(
|
|
10417
10417
|
"div",
|
|
10418
10418
|
{
|
|
@@ -10434,33 +10434,33 @@ const jd = "_textDescriptionContainer_163pc_2", qd = "_textDescriptionText_163pc
|
|
|
10434
10434
|
)
|
|
10435
10435
|
]
|
|
10436
10436
|
},
|
|
10437
|
-
`${A.id}${
|
|
10437
|
+
`${A.id}${E}`
|
|
10438
10438
|
);
|
|
10439
10439
|
})
|
|
10440
10440
|
] });
|
|
10441
10441
|
}
|
|
10442
|
-
return n ? /* @__PURE__ */ u(n, { title:
|
|
10442
|
+
return n ? /* @__PURE__ */ u(n, { title: $.category, children: /* @__PURE__ */ u(
|
|
10443
10443
|
ln,
|
|
10444
10444
|
{
|
|
10445
|
-
inputs:
|
|
10445
|
+
inputs: $.inputs,
|
|
10446
10446
|
control: x,
|
|
10447
10447
|
inputContainerStyles: r,
|
|
10448
10448
|
errorColor: s,
|
|
10449
10449
|
reactHookFormInstance: e
|
|
10450
10450
|
}
|
|
10451
|
-
) },
|
|
10452
|
-
/* @__PURE__ */ u("h2", { children: f(
|
|
10451
|
+
) }, $.categoryId) : /* @__PURE__ */ T("div", { style: { width: "100%" }, children: [
|
|
10452
|
+
/* @__PURE__ */ u("h2", { children: f($.category) }),
|
|
10453
10453
|
/* @__PURE__ */ u(
|
|
10454
10454
|
ln,
|
|
10455
10455
|
{
|
|
10456
|
-
inputs:
|
|
10456
|
+
inputs: $.inputs,
|
|
10457
10457
|
control: x,
|
|
10458
10458
|
inputContainerStyles: r,
|
|
10459
10459
|
errorColor: s,
|
|
10460
10460
|
reactHookFormInstance: e
|
|
10461
10461
|
}
|
|
10462
10462
|
)
|
|
10463
|
-
] },
|
|
10463
|
+
] }, $.categoryId);
|
|
10464
10464
|
};
|
|
10465
10465
|
return /* @__PURE__ */ T("form", { className: sn.formContainer, onSubmit: _(b), children: [
|
|
10466
10466
|
c && w.length > 0 && /* @__PURE__ */ u("div", { className: sn.categorySelectorContainer, children: /* @__PURE__ */ u(
|
|
@@ -10469,28 +10469,28 @@ const jd = "_textDescriptionContainer_163pc_2", qd = "_textDescriptionText_163pc
|
|
|
10469
10469
|
activeCategory: v,
|
|
10470
10470
|
categories: w,
|
|
10471
10471
|
categoriesWithErrors: h,
|
|
10472
|
-
onChange: (
|
|
10473
|
-
C(
|
|
10472
|
+
onChange: ($) => {
|
|
10473
|
+
C($), O(null);
|
|
10474
10474
|
},
|
|
10475
10475
|
activeColor: y
|
|
10476
10476
|
}
|
|
10477
10477
|
) }),
|
|
10478
|
-
/* @__PURE__ */ u("div", { className: sn.formObjectContainer, children: t == null ? void 0 : t.map((
|
|
10479
|
-
const
|
|
10480
|
-
return
|
|
10478
|
+
/* @__PURE__ */ u("div", { className: sn.formObjectContainer, children: t == null ? void 0 : t.map(($, V) => {
|
|
10479
|
+
const R = $.categoryId === v;
|
|
10480
|
+
return $.category ? /* @__PURE__ */ u(
|
|
10481
10481
|
"div",
|
|
10482
10482
|
{
|
|
10483
10483
|
style: {
|
|
10484
10484
|
width: "100%",
|
|
10485
|
-
display:
|
|
10485
|
+
display: R ? "block" : "none"
|
|
10486
10486
|
},
|
|
10487
|
-
children: k(
|
|
10487
|
+
children: k($)
|
|
10488
10488
|
},
|
|
10489
|
-
|
|
10489
|
+
$.categoryId
|
|
10490
10490
|
) : /* @__PURE__ */ u(
|
|
10491
10491
|
ln,
|
|
10492
10492
|
{
|
|
10493
|
-
inputs:
|
|
10493
|
+
inputs: $.inputs,
|
|
10494
10494
|
control: x,
|
|
10495
10495
|
inputContainerStyles: r,
|
|
10496
10496
|
errorColor: s,
|
|
@@ -10551,7 +10551,7 @@ rf.propTypes = {
|
|
|
10551
10551
|
/** Anchura máxima del modal (por defecto 400px) */
|
|
10552
10552
|
maxWidth: i.string
|
|
10553
10553
|
};
|
|
10554
|
-
const of = "_stepsContainer_1cyua_3", sf = "_stepWrapper_1cyua_9", af = "_circleContainer_1cyua_19", lf = "_circle_1cyua_19", cf = "_active_1cyua_39", uf = "_completed_1cyua_44", df = "_label_1cyua_50", ff = "_labelActive_1cyua_56", pf = "_connector_1cyua_61",
|
|
10554
|
+
const of = "_stepsContainer_1cyua_3", sf = "_stepWrapper_1cyua_9", af = "_circleContainer_1cyua_19", lf = "_circle_1cyua_19", cf = "_active_1cyua_39", uf = "_completed_1cyua_44", df = "_label_1cyua_50", ff = "_labelActive_1cyua_56", pf = "_connector_1cyua_61", lt = {
|
|
10555
10555
|
stepsContainer: of,
|
|
10556
10556
|
stepWrapper: sf,
|
|
10557
10557
|
circleContainer: af,
|
|
@@ -10561,27 +10561,27 @@ const of = "_stepsContainer_1cyua_3", sf = "_stepWrapper_1cyua_9", af = "_circle
|
|
|
10561
10561
|
label: df,
|
|
10562
10562
|
labelActive: ff,
|
|
10563
10563
|
connector: pf
|
|
10564
|
-
}, Fs = ({ steps: e, activeColor: t }) => /* @__PURE__ */ u("div", { className:
|
|
10564
|
+
}, Fs = ({ steps: e, activeColor: t }) => /* @__PURE__ */ u("div", { className: lt.stepsContainer, children: e.map((n, r) => {
|
|
10565
10565
|
const o = n.status === "active", s = n.status === "completed";
|
|
10566
|
-
return /* @__PURE__ */ T("div", { className:
|
|
10567
|
-
/* @__PURE__ */ T("div", { className:
|
|
10566
|
+
return /* @__PURE__ */ T("div", { className: lt.stepWrapper, children: [
|
|
10567
|
+
/* @__PURE__ */ T("div", { className: lt.circleContainer, children: [
|
|
10568
10568
|
/* @__PURE__ */ u(
|
|
10569
10569
|
"div",
|
|
10570
10570
|
{
|
|
10571
|
-
className: `${
|
|
10572
|
-
${o ?
|
|
10573
|
-
${s ?
|
|
10571
|
+
className: `${lt.circle}
|
|
10572
|
+
${o ? lt.active : ""}
|
|
10573
|
+
${s ? lt.completed : ""}`,
|
|
10574
10574
|
style: o ? { backgroundColor: t } : {},
|
|
10575
10575
|
onClick: n.onClick,
|
|
10576
10576
|
children: r + 1
|
|
10577
10577
|
}
|
|
10578
10578
|
),
|
|
10579
|
-
r < e.length - 1 && /* @__PURE__ */ u("div", { className:
|
|
10579
|
+
r < e.length - 1 && /* @__PURE__ */ u("div", { className: lt.connector })
|
|
10580
10580
|
] }),
|
|
10581
10581
|
/* @__PURE__ */ u(
|
|
10582
10582
|
"div",
|
|
10583
10583
|
{
|
|
10584
|
-
className: `${
|
|
10584
|
+
className: `${lt.label} ${o ? lt.labelActive : ""}`,
|
|
10585
10585
|
children: n.name
|
|
10586
10586
|
}
|
|
10587
10587
|
)
|
|
@@ -10619,7 +10619,7 @@ const gf = "_buttonsContainer_1c7dw_2", yf = "_button_1c7dw_2", bf = "_active_1c
|
|
|
10619
10619
|
}, vf = ({
|
|
10620
10620
|
buttons: e = []
|
|
10621
10621
|
}) => {
|
|
10622
|
-
const { t } =
|
|
10622
|
+
const { t } = ae();
|
|
10623
10623
|
return /* @__PURE__ */ u("div", { className: `${Pn.buttonsContainer}`, children: e.map((n, r) => {
|
|
10624
10624
|
const {
|
|
10625
10625
|
isActive: o,
|
|
@@ -10663,7 +10663,7 @@ const Cf = "_switchContainer_194wl_2", _f = "_labelRight_194wl_9", xf = "_labelL
|
|
|
10663
10663
|
colorOn: c = "#5A514D",
|
|
10664
10664
|
disabled: d = !1,
|
|
10665
10665
|
width: m = 240
|
|
10666
|
-
} = e, { t: g } =
|
|
10666
|
+
} = e, { t: g } = ae(), { control: y } = t || {}, [h, b] = se(l), f = (x) => {
|
|
10667
10667
|
b(x), n && n(x);
|
|
10668
10668
|
}, _ = (x, w) => /* @__PURE__ */ T("div", { className: Ht.switchContainer, style: { width: `${m}px` }, children: [
|
|
10669
10669
|
s && /* @__PURE__ */ u(
|
|
@@ -10738,7 +10738,7 @@ Of.propTypes = {
|
|
|
10738
10738
|
gifSrc: i.string,
|
|
10739
10739
|
message: i.string
|
|
10740
10740
|
};
|
|
10741
|
-
const Af = "_container_1pl8d_3", Lf = "_burger_1pl8d_10", Mf = "_menu_1pl8d_21", Rf = "_menuOpen_1pl8d_35", Df = "_menuClose_1pl8d_40", If = "_list_1pl8d_46", Vf = "_item_1pl8d_56", Pf = "_button_1pl8d_91",
|
|
10741
|
+
const Af = "_container_1pl8d_3", Lf = "_burger_1pl8d_10", Mf = "_menu_1pl8d_21", Rf = "_menuOpen_1pl8d_35", Df = "_menuClose_1pl8d_40", If = "_list_1pl8d_46", Vf = "_item_1pl8d_56", Pf = "_button_1pl8d_91", tt = {
|
|
10742
10742
|
container: Af,
|
|
10743
10743
|
burger: Lf,
|
|
10744
10744
|
menu: Mf,
|
|
@@ -10753,9 +10753,9 @@ const Af = "_container_1pl8d_3", Lf = "_burger_1pl8d_10", Mf = "_menu_1pl8d_21",
|
|
|
10753
10753
|
textColor: n,
|
|
10754
10754
|
iconColor: r
|
|
10755
10755
|
}) => {
|
|
10756
|
-
const [o, s] =
|
|
10757
|
-
return /* @__PURE__ */ T("div", { className:
|
|
10758
|
-
/* @__PURE__ */ u("button", { onClick: a, className:
|
|
10756
|
+
const [o, s] = se(!1), a = () => s((b) => !b), l = () => s(!1), c = 7, d = o ? 11 : 0, m = o ? 13 : 0, g = o ? -11.51666 : 0, y = o ? -13 : 0, h = "0.35s";
|
|
10757
|
+
return /* @__PURE__ */ T("div", { className: tt.container, children: [
|
|
10758
|
+
/* @__PURE__ */ u("button", { onClick: a, className: tt.burger, children: /* @__PURE__ */ T(
|
|
10759
10759
|
"svg",
|
|
10760
10760
|
{
|
|
10761
10761
|
width: "40",
|
|
@@ -10826,14 +10826,14 @@ const Af = "_container_1pl8d_3", Lf = "_burger_1pl8d_10", Mf = "_menu_1pl8d_21",
|
|
|
10826
10826
|
/* @__PURE__ */ u(
|
|
10827
10827
|
"div",
|
|
10828
10828
|
{
|
|
10829
|
-
className: `${
|
|
10829
|
+
className: `${tt.menu} ${o ? tt.menuOpen : tt.menuClose}`,
|
|
10830
10830
|
style: { backgroundColor: t, color: n },
|
|
10831
|
-
children: /* @__PURE__ */ u("ul", { className:
|
|
10831
|
+
children: /* @__PURE__ */ u("ul", { className: tt.list, children: e.map((b, f) => /* @__PURE__ */ T("li", { className: tt.item, children: [
|
|
10832
10832
|
b.url && /* @__PURE__ */ u(
|
|
10833
10833
|
qi,
|
|
10834
10834
|
{
|
|
10835
10835
|
to: b.url,
|
|
10836
|
-
className: ({ isActive: _ }) => `${
|
|
10836
|
+
className: ({ isActive: _ }) => `${tt.link} ${_ ? tt.active : ""}`,
|
|
10837
10837
|
onClick: l,
|
|
10838
10838
|
style: { color: n },
|
|
10839
10839
|
children: b.name
|
|
@@ -10842,7 +10842,7 @@ const Af = "_container_1pl8d_3", Lf = "_burger_1pl8d_10", Mf = "_menu_1pl8d_21",
|
|
|
10842
10842
|
b.onclick && /* @__PURE__ */ u(
|
|
10843
10843
|
"button",
|
|
10844
10844
|
{
|
|
10845
|
-
className:
|
|
10845
|
+
className: tt.button,
|
|
10846
10846
|
onClick: () => {
|
|
10847
10847
|
b.onclick(), l();
|
|
10848
10848
|
},
|
|
@@ -10891,41 +10891,41 @@ const Bf = "_svgContainer_1rxoe_2", Ff = "_svg_1rxoe_2", Oi = {
|
|
|
10891
10891
|
xAxisLabel: w,
|
|
10892
10892
|
yAxisLabel: N
|
|
10893
10893
|
}) => {
|
|
10894
|
-
const v = Ce(), C = Ce(), [S, O] =
|
|
10895
|
-
return
|
|
10894
|
+
const v = Ce(), C = Ce(), [S, O] = se({ width: 0, height: 0 });
|
|
10895
|
+
return te(() => {
|
|
10896
10896
|
const k = () => {
|
|
10897
10897
|
if (C.current) {
|
|
10898
|
-
const
|
|
10898
|
+
const $ = C.current.getBoundingClientRect().width;
|
|
10899
10899
|
O({
|
|
10900
|
-
width: typeof r == "number" ? r :
|
|
10900
|
+
width: typeof r == "number" ? r : $,
|
|
10901
10901
|
height: o
|
|
10902
10902
|
});
|
|
10903
10903
|
}
|
|
10904
10904
|
};
|
|
10905
10905
|
return k(), window.addEventListener("resize", k), () => window.removeEventListener("resize", k);
|
|
10906
|
-
}, [r, o]),
|
|
10906
|
+
}, [r, o]), te(() => {
|
|
10907
10907
|
if (!e || e.length === 0 || S.width === 0) return;
|
|
10908
|
-
const k = bt(v.current),
|
|
10909
|
-
if (
|
|
10910
|
-
const A = e.map((B) => B.anyo || B.year || B.x),
|
|
10908
|
+
const k = bt(v.current), $ = S.width, V = S.height, R = $ - s.left - s.right, p = V - s.top - s.bottom;
|
|
10909
|
+
if (R <= 0 || p <= 0) return;
|
|
10910
|
+
const A = e.map((B) => B.anyo || B.year || B.x), E = t, z = Un(e, (B) => Un(E, (Z) => B[Z])) || 0, q = Zn(e, (B) => Zn(E, (Z) => B[Z])) || 0, Y = Br().domain(A).rangeRound([0, R]).paddingInner(y), U = Br().domain(E).rangeRound([0, Y.bandwidth()]).padding(h), be = Bi().domain([Math.min(0, z), q]).nice().rangeRound([p, 0]), M = Fi().domain(E).range(Array.isArray(n) ? n : Object.values(n || {}));
|
|
10911
10911
|
k.selectAll("*").remove();
|
|
10912
|
-
const
|
|
10913
|
-
x && k.append("text").attr("x",
|
|
10912
|
+
const D = k.append("g").attr("transform", `translate(${s.left},${s.top})`);
|
|
10913
|
+
x && k.append("text").attr("x", $ / 2).attr("y", s.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(x), d && D.append("g").attr("class", "grid").selectAll("line").data(be.ticks()).enter().append("line").attr("x1", 0).attr("x2", R).attr("y1", (B) => be(B)).attr("y2", (B) => be(B)).style("stroke", "#e0e0e0").style("stroke-width", 0.5), l && (D.append("g").attr("transform", `translate(0,${p})`).call(zi(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"), w && D.append("text").attr(
|
|
10914
10914
|
"transform",
|
|
10915
|
-
`translate(${
|
|
10916
|
-
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(w)), c && (
|
|
10917
|
-
const
|
|
10918
|
-
(B) =>
|
|
10915
|
+
`translate(${R / 2}, ${p + s.bottom - 5})`
|
|
10916
|
+
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(w)), c && (D.append("g").call(Fr(be).ticks(6).tickFormat(g)).attr("class", "y-axis").call((B) => B.select(".domain").remove()), N && D.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(N));
|
|
10917
|
+
const J = D.append("g").selectAll(".bar-group").data(e).enter().append("g").attr("class", "bar-group").attr("transform", (B) => `translate(${Y(B.anyo || B.year || B.x)},0)`).selectAll(".bar").data(
|
|
10918
|
+
(B) => E.map((Z) => ({
|
|
10919
10919
|
key: Z,
|
|
10920
10920
|
value: B[Z],
|
|
10921
10921
|
data: B
|
|
10922
10922
|
}))
|
|
10923
|
-
).enter().append("rect").attr("class", "bar").attr("x", (B) =>
|
|
10924
|
-
|
|
10923
|
+
).enter().append("rect").attr("class", "bar").attr("x", (B) => U(B.key)).attr("y", p).attr("width", U.bandwidth()).attr("height", 0).attr("fill", (B) => M(B.key)).style("cursor", f || _ ? "pointer" : "default");
|
|
10924
|
+
J.transition().duration(b).attr("y", (B) => be(Math.max(0, B.value))).attr("height", (B) => Math.abs(be(B.value) - be(0))), f && J.on("mouseover", function(B, Z) {
|
|
10925
10925
|
bt(this).style("opacity", 0.8), f(B, Z);
|
|
10926
10926
|
}).on("mouseout", function(B, Z) {
|
|
10927
10927
|
bt(this).style("opacity", 1);
|
|
10928
|
-
}), _ &&
|
|
10928
|
+
}), _ && J.on("click", _);
|
|
10929
10929
|
}, [
|
|
10930
10930
|
e,
|
|
10931
10931
|
t,
|
|
@@ -11010,7 +11010,7 @@ const jf = "_svgContainer_7fkic_2", qf = "_svg_7fkic_2", Ai = {
|
|
|
11010
11010
|
showYAxisLabels: d = !0,
|
|
11011
11011
|
showGrid: m = !0,
|
|
11012
11012
|
xAxisTickRotation: g = -90,
|
|
11013
|
-
yAxisTickFormat: y = (
|
|
11013
|
+
yAxisTickFormat: y = (V) => V.toLocaleString("es-ES"),
|
|
11014
11014
|
barPadding: h = 0.4,
|
|
11015
11015
|
animationDuration: b = 750,
|
|
11016
11016
|
onBarHover: f,
|
|
@@ -11023,169 +11023,188 @@ const jf = "_svgContainer_7fkic_2", qf = "_svg_7fkic_2", Ai = {
|
|
|
11023
11023
|
showTooltip: C = !0,
|
|
11024
11024
|
reverseKeys: S = !0,
|
|
11025
11025
|
minBarSlotWidth: O = 60,
|
|
11026
|
-
wrapXAxisLabels: k = !0
|
|
11026
|
+
wrapXAxisLabels: k = !0,
|
|
11027
|
+
mode: $ = "stacked"
|
|
11028
|
+
// "single" or "stacked"
|
|
11027
11029
|
}) => {
|
|
11028
|
-
const
|
|
11030
|
+
const V = Ce(), R = Ce();
|
|
11029
11031
|
Ce();
|
|
11030
|
-
const [
|
|
11032
|
+
const [p, A] = se({
|
|
11031
11033
|
containerWidth: 0,
|
|
11032
11034
|
height: 0
|
|
11033
|
-
}), { t:
|
|
11034
|
-
return
|
|
11035
|
-
const
|
|
11036
|
-
if (
|
|
11037
|
-
const
|
|
11038
|
-
|
|
11039
|
-
containerWidth: typeof o == "number" ? o :
|
|
11035
|
+
}), { t: E } = ae();
|
|
11036
|
+
return te(() => {
|
|
11037
|
+
const z = () => {
|
|
11038
|
+
if (R.current) {
|
|
11039
|
+
const q = R.current.getBoundingClientRect().width;
|
|
11040
|
+
A({
|
|
11041
|
+
containerWidth: typeof o == "number" ? o : q,
|
|
11040
11042
|
height: s
|
|
11041
11043
|
});
|
|
11042
11044
|
}
|
|
11043
11045
|
};
|
|
11044
|
-
return
|
|
11045
|
-
}, [o, s]),
|
|
11046
|
-
if (!e || e.length === 0 ||
|
|
11047
|
-
const
|
|
11048
|
-
if (
|
|
11049
|
-
|
|
11050
|
-
const J = S ? [...t].reverse() : t,
|
|
11051
|
-
e.forEach((
|
|
11052
|
-
const
|
|
11053
|
-
|
|
11054
|
-
|
|
11055
|
-
|
|
11056
|
-
|
|
11057
|
-
|
|
11058
|
-
|
|
11059
|
-
|
|
11060
|
-
|
|
11061
|
-
|
|
11062
|
-
|
|
11063
|
-
|
|
11064
|
-
|
|
11065
|
-
|
|
11066
|
-
|
|
11067
|
-
|
|
11068
|
-
|
|
11069
|
-
|
|
11070
|
-
}),
|
|
11071
|
-
|
|
11072
|
-
|
|
11073
|
-
|
|
11074
|
-
|
|
11075
|
-
|
|
11076
|
-
|
|
11077
|
-
|
|
11078
|
-
|
|
11079
|
-
|
|
11080
|
-
|
|
11081
|
-
|
|
11082
|
-
|
|
11083
|
-
|
|
11084
|
-
|
|
11046
|
+
return z(), window.addEventListener("resize", z), () => window.removeEventListener("resize", z);
|
|
11047
|
+
}, [o, s]), te(() => {
|
|
11048
|
+
if (!e || e.length === 0 || p.containerWidth === 0) return;
|
|
11049
|
+
const z = bt(V.current), { containerWidth: q, height: Y } = p, U = q - a.left - a.right, be = e.length * O, M = Math.max(U, be), D = M + a.left + a.right, K = Y - a.top - a.bottom;
|
|
11050
|
+
if (M <= 0 || K <= 0) return;
|
|
11051
|
+
z.attr("width", D).attr("height", Y);
|
|
11052
|
+
const J = $ === "stacked" ? S ? [...t].reverse() : t : [], B = (j) => $ === "single" ? j.title : j.any || j.year || j.x, Z = [];
|
|
11053
|
+
e.forEach((j) => {
|
|
11054
|
+
const ce = B(j);
|
|
11055
|
+
if ($ === "single") {
|
|
11056
|
+
const he = Number(j.value) || 0;
|
|
11057
|
+
Z.push({
|
|
11058
|
+
key: j.title,
|
|
11059
|
+
value: he,
|
|
11060
|
+
y0: Math.min(0, he),
|
|
11061
|
+
y1: Math.max(0, he),
|
|
11062
|
+
height: Math.abs(he),
|
|
11063
|
+
data: j,
|
|
11064
|
+
xKey: ce,
|
|
11065
|
+
color: j.color
|
|
11066
|
+
});
|
|
11067
|
+
} else {
|
|
11068
|
+
const he = J.map((P) => ({
|
|
11069
|
+
key: P,
|
|
11070
|
+
value: Number(j[P]) || 0,
|
|
11071
|
+
data: j
|
|
11072
|
+
})), ke = he.filter((P) => P.value < 0), Ee = he.filter((P) => P.value >= 0);
|
|
11073
|
+
let We = 0;
|
|
11074
|
+
ke.forEach((P) => {
|
|
11075
|
+
const W = We, X = We + P.value, le = Math.abs(X - W);
|
|
11076
|
+
Z.push({
|
|
11077
|
+
key: P.key,
|
|
11078
|
+
value: P.value,
|
|
11079
|
+
y0: Math.max(W, X),
|
|
11080
|
+
// El punto más alto
|
|
11081
|
+
y1: Math.min(W, X),
|
|
11082
|
+
// El punto más bajo
|
|
11083
|
+
height: le,
|
|
11084
|
+
data: P.data,
|
|
11085
|
+
xKey: ce
|
|
11086
|
+
}), We = X;
|
|
11087
|
+
});
|
|
11088
|
+
let I = 0;
|
|
11089
|
+
Ee.forEach((P) => {
|
|
11090
|
+
const W = I, X = I + P.value, le = X - W;
|
|
11091
|
+
Z.push({
|
|
11092
|
+
key: P.key,
|
|
11093
|
+
value: P.value,
|
|
11094
|
+
y0: Math.min(W, X),
|
|
11095
|
+
y1: Math.max(W, X),
|
|
11096
|
+
height: le,
|
|
11097
|
+
data: P.data,
|
|
11098
|
+
xKey: ce
|
|
11099
|
+
}), I = X;
|
|
11100
|
+
});
|
|
11101
|
+
}
|
|
11085
11102
|
});
|
|
11086
|
-
const
|
|
11087
|
-
Un(
|
|
11088
|
-
Zn(
|
|
11103
|
+
const re = [
|
|
11104
|
+
Un(Z, (j) => Math.min(j.y0, j.y1)) || 0,
|
|
11105
|
+
Zn(Z, (j) => Math.max(j.y0, j.y1)) || 0
|
|
11089
11106
|
];
|
|
11090
|
-
let
|
|
11091
|
-
r && r.length > 0 && (
|
|
11092
|
-
const
|
|
11093
|
-
Math.min(
|
|
11094
|
-
Math.max(
|
|
11095
|
-
],
|
|
11096
|
-
const
|
|
11097
|
-
return { x:
|
|
11107
|
+
let ne = [0, 0];
|
|
11108
|
+
r && r.length > 0 && (ne = [Un(r) || 0, Zn(r) || 0]);
|
|
11109
|
+
const oe = [
|
|
11110
|
+
Math.min(re[0], ne[0]),
|
|
11111
|
+
Math.max(re[1], ne[1])
|
|
11112
|
+
], ee = Br().domain(e.map((j) => B(j))).range([0, M]).padding(h), H = Bi().domain([oe[0], oe[1]]).nice(6).range([K, 0]), _e = t ? Fi().domain(t).range(Array.isArray(n) ? n : Object.values(n || {})) : null, F = $ === "single" ? (j) => j.color || (Array.isArray(n) ? n[0] : Object.values(n || {})[0]) || "#888" : (j) => _e(j.key), ue = r && r.length > 0 ? e.map((j, ce) => {
|
|
11113
|
+
const he = ee(B(j)) + ee.bandwidth() / 2, ke = H(r[ce] || 0);
|
|
11114
|
+
return { x: he, y: ke };
|
|
11098
11115
|
}) : [];
|
|
11099
|
-
|
|
11100
|
-
const
|
|
11101
|
-
x &&
|
|
11102
|
-
const
|
|
11103
|
-
if (!k ||
|
|
11104
|
-
const
|
|
11105
|
-
let
|
|
11106
|
-
for (let
|
|
11107
|
-
if (
|
|
11108
|
-
|
|
11116
|
+
z.selectAll("*").remove();
|
|
11117
|
+
const Se = z.append("g").attr("transform", `translate(${a.left},${a.top})`);
|
|
11118
|
+
x && z.append("text").attr("x", D / 2).attr("y", a.top - 4).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(x), m && Se.append("g").attr("class", "grid").selectAll("line").data(H.ticks(6)).enter().append("line").attr("x1", 0).attr("x2", M).attr("y1", (j) => H(j)).attr("y2", (j) => H(j)).style("stroke", "#e0e0e0").style("stroke-width", 0.5);
|
|
11119
|
+
const pt = (j, ce = 12) => {
|
|
11120
|
+
if (!k || j.length <= ce) return [j];
|
|
11121
|
+
const he = Math.floor(j.length / 2);
|
|
11122
|
+
let ke = he;
|
|
11123
|
+
for (let Ee = he; Ee >= 0; Ee--)
|
|
11124
|
+
if (j[Ee] === " ") {
|
|
11125
|
+
ke = Ee;
|
|
11109
11126
|
break;
|
|
11110
11127
|
}
|
|
11111
|
-
if (
|
|
11112
|
-
for (let
|
|
11113
|
-
if (
|
|
11114
|
-
|
|
11128
|
+
if (ke === he) {
|
|
11129
|
+
for (let Ee = he; Ee < j.length; Ee++)
|
|
11130
|
+
if (j[Ee] === " ") {
|
|
11131
|
+
ke = Ee;
|
|
11115
11132
|
break;
|
|
11116
11133
|
}
|
|
11117
11134
|
}
|
|
11118
|
-
return
|
|
11135
|
+
return ke === he && (ke = he), [j.substring(0, ke), j.substring(ke + 1)];
|
|
11119
11136
|
};
|
|
11120
|
-
c && (
|
|
11137
|
+
c && (Se.append("g").attr("class", "x-axis").attr("transform", `translate(0, ${K})`).call(zi(ee).tickSizeOuter(0)).selectAll("text").remove(), Se.append("g").attr("class", "x-axis-labels").attr("transform", `translate(0, ${K})`).selectAll(".x-label-group").data(e).enter().append("g").attr("class", "x-label-group").attr(
|
|
11121
11138
|
"transform",
|
|
11122
|
-
(
|
|
11123
|
-
).each(function(
|
|
11124
|
-
const
|
|
11125
|
-
if (
|
|
11126
|
-
|
|
11139
|
+
(ke) => `translate(${ee(B(ke)) + ee.bandwidth() / 2}, 0)`
|
|
11140
|
+
).each(function(ke) {
|
|
11141
|
+
const Ee = String(B(ke)), We = pt(Ee), I = bt(this);
|
|
11142
|
+
if (We.length === 1)
|
|
11143
|
+
I.append("text").attr("y", 19).style(
|
|
11127
11144
|
"text-anchor",
|
|
11128
11145
|
g === 0 ? "middle" : g < 0 ? "end" : "start"
|
|
11129
11146
|
).style("font-size", "12px").style("fill", "#605B56").attr(
|
|
11130
11147
|
"transform",
|
|
11131
11148
|
g !== 0 ? `rotate(${g} 0 15)` : null
|
|
11132
|
-
).text(
|
|
11149
|
+
).text(We[0]);
|
|
11133
11150
|
else {
|
|
11134
|
-
const
|
|
11135
|
-
|
|
11136
|
-
|
|
11151
|
+
const X = -(We.length * 14 / 2) + 14 / 2;
|
|
11152
|
+
We.forEach((le, G) => {
|
|
11153
|
+
I.append("text").attr("x", X + G * 14).attr("y", 19).style("text-anchor", "end").style("font-size", "11px").style("fill", "#605B56").attr(
|
|
11137
11154
|
"transform",
|
|
11138
|
-
`rotate(${g} ${
|
|
11139
|
-
).text(
|
|
11155
|
+
`rotate(${g} ${X + G * 14} 15)`
|
|
11156
|
+
).text(le);
|
|
11140
11157
|
});
|
|
11141
11158
|
}
|
|
11142
|
-
}), w &&
|
|
11159
|
+
}), w && Se.append("text").attr(
|
|
11143
11160
|
"transform",
|
|
11144
|
-
`translate(${
|
|
11145
|
-
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(w)), d && (
|
|
11146
|
-
let
|
|
11147
|
-
C && (
|
|
11148
|
-
const
|
|
11149
|
-
|
|
11150
|
-
const
|
|
11161
|
+
`translate(${M / 2}, ${K + a.bottom - 5})`
|
|
11162
|
+
).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(w)), d && (Se.append("g").attr("class", "y-axis").call(Fr(H).ticks(6).tickFormat(y)).call((j) => j.select(".domain").remove()), Se.append("g").attr("class", "y-ticks").attr("transform", `translate(${M}, 0)`).call(Fr(H).ticks(6).tickSizeInner(M)).call((j) => j.select(".domain").remove()).call((j) => j.selectAll(".tick text").remove()), N && Se.append("text").attr("transform", "rotate(-90)").attr("y", 0 - a.left).attr("x", 0 - K / 2).attr("dy", "1em").style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(N));
|
|
11163
|
+
let Fe;
|
|
11164
|
+
C && (Fe = bt("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"));
|
|
11165
|
+
const Le = Se.selectAll(".segment").data(Z, (j) => `${j.xKey}-${j.key}`);
|
|
11166
|
+
Le.exit().remove();
|
|
11167
|
+
const ot = Le.enter().append("rect").attr("class", "segment").attr("x", (j) => ee(j.xKey)).attr("width", ee.bandwidth()).attr("y", (j) => H(0)).attr("height", 0).attr("fill", (j) => F(j)).style(
|
|
11151
11168
|
"cursor",
|
|
11152
11169
|
f || _ || C ? "pointer" : "default"
|
|
11153
|
-
).merge(
|
|
11154
|
-
if (
|
|
11155
|
-
const
|
|
11156
|
-
C &&
|
|
11157
|
-
|
|
11158
|
-
|
|
11159
|
-
|
|
11160
|
-
|
|
11161
|
-
|
|
11162
|
-
|
|
11163
|
-
|
|
11170
|
+
).merge(Le);
|
|
11171
|
+
if (ot.transition().duration(b).attr("x", (j) => ee(j.xKey)).attr("y", (j) => Math.min(H(j.y0), H(j.y1))).attr("height", (j) => Math.abs(H(j.y1) - H(j.y0))), (C || f) && ot.on("mouseover", function(j, ce) {
|
|
11172
|
+
const he = ce.value;
|
|
11173
|
+
if (C && Fe) {
|
|
11174
|
+
const ke = $ === "single" ? ce.data.title : E(ce.key);
|
|
11175
|
+
Fe.style("visibility", "visible").html(
|
|
11176
|
+
$ === "single" ? `<strong>${ke}</strong><br/>${y(he)}` : `<strong>${ke}</strong><br/>${ce.xKey}<br/>${y(he)}`
|
|
11177
|
+
);
|
|
11178
|
+
}
|
|
11179
|
+
bt(this).style("opacity", 0.8), f && f(j, {
|
|
11180
|
+
key: ce.key,
|
|
11181
|
+
value: he,
|
|
11182
|
+
data: ce.data
|
|
11164
11183
|
});
|
|
11165
|
-
}).on("mousemove", function(
|
|
11166
|
-
C &&
|
|
11184
|
+
}).on("mousemove", function(j) {
|
|
11185
|
+
C && Fe && Fe.style("top", j.pageY - 10 + "px").style("left", j.pageX + 10 + "px");
|
|
11167
11186
|
}).on("mouseout", function() {
|
|
11168
|
-
C &&
|
|
11169
|
-
}), _ &&
|
|
11170
|
-
const
|
|
11171
|
-
_(
|
|
11172
|
-
key:
|
|
11173
|
-
value:
|
|
11174
|
-
data:
|
|
11187
|
+
C && Fe && Fe.style("visibility", "hidden"), bt(this).style("opacity", 1);
|
|
11188
|
+
}), _ && ot.on("click", function(j, ce) {
|
|
11189
|
+
const he = ce.value;
|
|
11190
|
+
_(j, {
|
|
11191
|
+
key: ce.key,
|
|
11192
|
+
value: he,
|
|
11193
|
+
data: ce.data
|
|
11175
11194
|
});
|
|
11176
|
-
}),
|
|
11177
|
-
const
|
|
11178
|
-
|
|
11195
|
+
}), ue && ue.length > 1) {
|
|
11196
|
+
const j = Ks().x((ce) => ce.x).y((ce) => ce.y).curve(Gs);
|
|
11197
|
+
Se.append("path").datum(ue).attr("class", "line").attr("d", j).attr("fill", "none").attr("stroke", "#ff6b6b").attr("stroke-width", 2).attr("stroke-linecap", "round").attr("stroke-linejoin", "round"), Se.selectAll(".line-point").data(ue).enter().append("circle").attr("class", "line-point").attr("cx", (ce) => ce.x).attr("cy", (ce) => ce.y).attr("r", 4).attr("fill", "#ff6b6b").attr("stroke", "white").attr("stroke-width", 1);
|
|
11179
11198
|
}
|
|
11180
11199
|
return () => {
|
|
11181
|
-
|
|
11200
|
+
Fe && Fe.remove();
|
|
11182
11201
|
};
|
|
11183
11202
|
}, [
|
|
11184
11203
|
e,
|
|
11185
11204
|
t,
|
|
11186
11205
|
n,
|
|
11187
11206
|
r,
|
|
11188
|
-
|
|
11207
|
+
p,
|
|
11189
11208
|
a,
|
|
11190
11209
|
h,
|
|
11191
11210
|
c,
|
|
@@ -11202,24 +11221,25 @@ const jf = "_svgContainer_7fkic_2", qf = "_svg_7fkic_2", Ai = {
|
|
|
11202
11221
|
v,
|
|
11203
11222
|
C,
|
|
11204
11223
|
S,
|
|
11205
|
-
k
|
|
11224
|
+
k,
|
|
11225
|
+
$
|
|
11206
11226
|
]), /* @__PURE__ */ u(
|
|
11207
11227
|
"div",
|
|
11208
11228
|
{
|
|
11209
|
-
ref:
|
|
11229
|
+
ref: R,
|
|
11210
11230
|
className: `${Ai.svgContainer} ${l}`,
|
|
11211
11231
|
style: {
|
|
11212
11232
|
width: o,
|
|
11213
11233
|
height: s + a.top + a.bottom,
|
|
11214
11234
|
overflowX: "auto"
|
|
11215
11235
|
},
|
|
11216
|
-
children: /* @__PURE__ */ u("svg", { ref:
|
|
11236
|
+
children: /* @__PURE__ */ u("svg", { ref: V, className: Ai.svg })
|
|
11217
11237
|
}
|
|
11218
11238
|
);
|
|
11219
11239
|
};
|
|
11220
11240
|
Wf.propTypes = {
|
|
11221
11241
|
data: i.arrayOf(i.object).isRequired,
|
|
11222
|
-
keys: i.arrayOf(i.string)
|
|
11242
|
+
keys: i.arrayOf(i.string),
|
|
11223
11243
|
colors: i.oneOfType([
|
|
11224
11244
|
i.arrayOf(i.string),
|
|
11225
11245
|
i.object
|
|
@@ -11256,9 +11276,10 @@ Wf.propTypes = {
|
|
|
11256
11276
|
showTooltip: i.bool,
|
|
11257
11277
|
reverseKeys: i.bool,
|
|
11258
11278
|
minBarSlotWidth: i.number,
|
|
11259
|
-
wrapXAxisLabels: i.bool
|
|
11279
|
+
wrapXAxisLabels: i.bool,
|
|
11280
|
+
mode: i.oneOf(["single", "stacked"])
|
|
11260
11281
|
};
|
|
11261
|
-
const Uf = "_externalContainer_1er0i_2", Zf = "_externalSintetic_1er0i_9", Hf = "_titles_1er0i_13", Kf = "_titleContainer_1er0i_22", Gf = "_yearTitles_1er0i_36", Yf = "_yearTitle_1er0i_36", Xf = "_yearDatas_1er0i_50", Qf = "_yearDataContainer_1er0i_58", Jf = "_yearDataContent_1er0i_66", ep = "_bigNumber_1er0i_79", tp = "_circle_1er0i_82", np = "_totalContainer_1er0i_99", rp = "_total_1er0i_99",
|
|
11282
|
+
const Uf = "_externalContainer_1er0i_2", Zf = "_externalSintetic_1er0i_9", Hf = "_titles_1er0i_13", Kf = "_titleContainer_1er0i_22", Gf = "_yearTitles_1er0i_36", Yf = "_yearTitle_1er0i_36", Xf = "_yearDatas_1er0i_50", Qf = "_yearDataContainer_1er0i_58", Jf = "_yearDataContent_1er0i_66", ep = "_bigNumber_1er0i_79", tp = "_circle_1er0i_82", np = "_totalContainer_1er0i_99", rp = "_total_1er0i_99", ze = {
|
|
11262
11283
|
externalContainer: Uf,
|
|
11263
11284
|
externalSintetic: Zf,
|
|
11264
11285
|
titles: Hf,
|
|
@@ -11305,28 +11326,28 @@ const Uf = "_externalContainer_1er0i_2", Zf = "_externalSintetic_1er0i_9", Hf =
|
|
|
11305
11326
|
return /* @__PURE__ */ T(
|
|
11306
11327
|
"div",
|
|
11307
11328
|
{
|
|
11308
|
-
className: `${
|
|
11329
|
+
className: `${ze.externalContainer} ${a === "sin" ? ze.externalSintetic : ""}`,
|
|
11309
11330
|
children: [
|
|
11310
11331
|
s === !0 && /* @__PURE__ */ T(hn, { children: [
|
|
11311
11332
|
/* @__PURE__ */ u("div", {}),
|
|
11312
|
-
/* @__PURE__ */ u("div", { className:
|
|
11333
|
+
/* @__PURE__ */ u("div", { className: ze.yearTitles, children: e.map((h, b) => /* @__PURE__ */ u("div", { className: ze.yearTitle, style: { width: m }, children: h.anyo }, b)) })
|
|
11313
11334
|
] }),
|
|
11314
|
-
/* @__PURE__ */ u("div", { className:
|
|
11335
|
+
/* @__PURE__ */ u("div", { className: ze.titles, children: t.map((h, b) => /* @__PURE__ */ T("div", { className: ze.titleContainer, children: [
|
|
11315
11336
|
g(r[h]),
|
|
11316
11337
|
a !== "sin" && /* @__PURE__ */ u(
|
|
11317
11338
|
"span",
|
|
11318
11339
|
{
|
|
11319
|
-
className:
|
|
11340
|
+
className: ze.circle,
|
|
11320
11341
|
style: { background: n[h] }
|
|
11321
11342
|
}
|
|
11322
11343
|
)
|
|
11323
11344
|
] }, b)) }),
|
|
11324
|
-
o === !0 && /* @__PURE__ */ u("div", { className:
|
|
11345
|
+
o === !0 && /* @__PURE__ */ u("div", { className: ze.totalContainer, children: t.map((h, b) => {
|
|
11325
11346
|
var f;
|
|
11326
11347
|
return /* @__PURE__ */ T(
|
|
11327
11348
|
"div",
|
|
11328
11349
|
{
|
|
11329
|
-
className: `${
|
|
11350
|
+
className: `${ze.total} ${d(h, e) > 9999 || d(h, e) < -9999 ? ze.bigNumber : ""}`,
|
|
11330
11351
|
children: [
|
|
11331
11352
|
(f = d(h, e)) == null ? void 0 : f.toLocaleString("es-ES"),
|
|
11332
11353
|
" ",
|
|
@@ -11336,13 +11357,13 @@ const Uf = "_externalContainer_1er0i_2", Zf = "_externalSintetic_1er0i_9", Hf =
|
|
|
11336
11357
|
b
|
|
11337
11358
|
);
|
|
11338
11359
|
}) }),
|
|
11339
|
-
/* @__PURE__ */ u("div", { className:
|
|
11360
|
+
/* @__PURE__ */ u("div", { className: ze.yearDatas, children: e.map((h, b) => /* @__PURE__ */ u("div", { className: ze.yearDataContainer, style: { width: m }, children: t.map(
|
|
11340
11361
|
(f, _) => {
|
|
11341
11362
|
var x, w;
|
|
11342
11363
|
return isNaN(h[f]) ? null : /* @__PURE__ */ u(
|
|
11343
11364
|
"div",
|
|
11344
11365
|
{
|
|
11345
|
-
className: `${
|
|
11366
|
+
className: `${ze.yearDataContent} ${h[f] > 9999 || h[f] < -9999 ? ze.bigNumber : ""}`,
|
|
11346
11367
|
children: h[f] < 1e4 || h[f] > -1e4 ? (x = op(h[f])) == null ? void 0 : x.toLocaleString("es-ES") : (w = h[f]) == null ? void 0 : w.toLocaleString("es-ES")
|
|
11347
11368
|
},
|
|
11348
11369
|
_
|
|
@@ -11522,7 +11543,7 @@ lp.propTypes = {
|
|
|
11522
11543
|
redColor: i.string
|
|
11523
11544
|
};
|
|
11524
11545
|
const Vr = "#ffffff", cp = "#ffffff";
|
|
11525
|
-
function
|
|
11546
|
+
function dt(e, t, n, r) {
|
|
11526
11547
|
const o = (r - 90) * Math.PI / 180;
|
|
11527
11548
|
return { x: e + n * Math.cos(o), y: t + n * Math.sin(o) };
|
|
11528
11549
|
}
|
|
@@ -11532,10 +11553,10 @@ function Li(e, t, n, r, o, s) {
|
|
|
11532
11553
|
`M ${e - r} ${t} A ${r} ${r} 0 1 1 ${e + r} ${t} A ${r} ${r} 0 1 1 ${e - r} ${t} Z`,
|
|
11533
11554
|
`M ${e - n} ${t} A ${n} ${n} 0 1 0 ${e + n} ${t} A ${n} ${n} 0 1 0 ${e - n} ${t} Z`
|
|
11534
11555
|
].join(" ");
|
|
11535
|
-
const a =
|
|
11556
|
+
const a = dt(e, t, r, o), l = dt(e, t, r, s), c = s - o > 180 ? 1 : 0;
|
|
11536
11557
|
if (n === 0)
|
|
11537
11558
|
return `M ${e} ${t} L ${a.x} ${a.y} A ${r} ${r} 0 ${c} 1 ${l.x} ${l.y} Z`;
|
|
11538
|
-
const d =
|
|
11559
|
+
const d = dt(e, t, n, s), m = dt(e, t, n, o);
|
|
11539
11560
|
return [
|
|
11540
11561
|
`M ${a.x} ${a.y}`,
|
|
11541
11562
|
`A ${r} ${r} 0 ${c} 1 ${l.x} ${l.y}`,
|
|
@@ -11553,7 +11574,7 @@ function up(e) {
|
|
|
11553
11574
|
});
|
|
11554
11575
|
}
|
|
11555
11576
|
function Mi(e, t, n, r, o) {
|
|
11556
|
-
const s = n + (r - n) / 2, a =
|
|
11577
|
+
const s = n + (r - n) / 2, a = dt(e, t, o, s);
|
|
11557
11578
|
return { tx: a.x - e, ty: a.y - t };
|
|
11558
11579
|
}
|
|
11559
11580
|
const dp = ({
|
|
@@ -11570,7 +11591,7 @@ const dp = ({
|
|
|
11570
11591
|
containerStyles: m = {},
|
|
11571
11592
|
alignLeft: g = !1
|
|
11572
11593
|
}) => {
|
|
11573
|
-
const [y, h] =
|
|
11594
|
+
const [y, h] = se(null), b = r / 2, f = r / 2, _ = r / 2 - 14, x = e === "donut" ? _ - o : 0, w = e === "donut" ? _ - o / 2 : _ * 0.62, N = qe(() => up(t), [t]), v = y !== null ? N[y] : null, C = N.some((O) => O.ea - O.sa >= 359.99), S = a || (l === "transparent" ? cp : l);
|
|
11574
11595
|
return /* @__PURE__ */ T(
|
|
11575
11596
|
"div",
|
|
11576
11597
|
{
|
|
@@ -11674,11 +11695,11 @@ const dp = ({
|
|
|
11674
11695
|
style: { overflow: "visible" },
|
|
11675
11696
|
children: [
|
|
11676
11697
|
N.map((O, k) => {
|
|
11677
|
-
const
|
|
11698
|
+
const $ = y === k, { tx: V, ty: R } = $ && !C ? Mi(b, f, O.sa, O.ea, 10) : { tx: 0, ty: 0 };
|
|
11678
11699
|
return /* @__PURE__ */ u(
|
|
11679
11700
|
"g",
|
|
11680
11701
|
{
|
|
11681
|
-
transform: `translate(${V}, ${
|
|
11702
|
+
transform: `translate(${V}, ${R})`,
|
|
11682
11703
|
style: {
|
|
11683
11704
|
transition: "transform 0.18s ease",
|
|
11684
11705
|
pointerEvents: "none"
|
|
@@ -11689,7 +11710,7 @@ const dp = ({
|
|
|
11689
11710
|
d: Li(b, f, x, _, O.sa, O.ea),
|
|
11690
11711
|
fill: O.color || Vr,
|
|
11691
11712
|
style: {
|
|
11692
|
-
filter:
|
|
11713
|
+
filter: $ ? "brightness(1.25)" : "brightness(1)",
|
|
11693
11714
|
transition: "filter 0.18s ease"
|
|
11694
11715
|
}
|
|
11695
11716
|
}
|
|
@@ -11699,14 +11720,14 @@ const dp = ({
|
|
|
11699
11720
|
);
|
|
11700
11721
|
}),
|
|
11701
11722
|
!C && N.map((O, k) => {
|
|
11702
|
-
const
|
|
11723
|
+
const $ = dt(b, f, _, O.sa), V = e === "cheese" ? b : dt(b, f, x, O.sa).x, R = e === "cheese" ? f : dt(b, f, x, O.sa).y;
|
|
11703
11724
|
return /* @__PURE__ */ u(
|
|
11704
11725
|
"line",
|
|
11705
11726
|
{
|
|
11706
11727
|
x1: V,
|
|
11707
|
-
y1:
|
|
11708
|
-
x2:
|
|
11709
|
-
y2:
|
|
11728
|
+
y1: R,
|
|
11729
|
+
x2: $.x,
|
|
11730
|
+
y2: $.y,
|
|
11710
11731
|
stroke: S,
|
|
11711
11732
|
strokeWidth: s,
|
|
11712
11733
|
strokeLinecap: "butt",
|
|
@@ -11717,12 +11738,12 @@ const dp = ({
|
|
|
11717
11738
|
}),
|
|
11718
11739
|
N.map((O, k) => {
|
|
11719
11740
|
if (O.ea - O.sa < 20) return null;
|
|
11720
|
-
const
|
|
11741
|
+
const $ = y === k, { tx: V, ty: R } = $ && !C ? Mi(b, f, O.sa, O.ea, 10) : { tx: 0, ty: 0 }, p = O.sa + (O.ea - O.sa) / 2, A = dt(b, f, w, p);
|
|
11721
11742
|
return /* @__PURE__ */ T(
|
|
11722
11743
|
"text",
|
|
11723
11744
|
{
|
|
11724
11745
|
x: A.x + V,
|
|
11725
|
-
y: A.y +
|
|
11746
|
+
y: A.y + R,
|
|
11726
11747
|
textAnchor: "middle",
|
|
11727
11748
|
dominantBaseline: "middle",
|
|
11728
11749
|
fill: d,
|
|
@@ -11850,8 +11871,8 @@ const Ri = [
|
|
|
11850
11871
|
fontColorInside: c = "white",
|
|
11851
11872
|
borderFontColorInside: d
|
|
11852
11873
|
}) => {
|
|
11853
|
-
const [m, g] =
|
|
11854
|
-
|
|
11874
|
+
const [m, g] = se(s ? 0 : 1);
|
|
11875
|
+
te(() => {
|
|
11855
11876
|
if (!s) return;
|
|
11856
11877
|
const b = requestAnimationFrame(() => g(1));
|
|
11857
11878
|
return () => cancelAnimationFrame(b);
|
|
@@ -12000,8 +12021,8 @@ const Di = [
|
|
|
12000
12021
|
separatorColor: d,
|
|
12001
12022
|
containerStyles: m = {}
|
|
12002
12023
|
}) => {
|
|
12003
|
-
const [g, y] =
|
|
12004
|
-
|
|
12024
|
+
const [g, y] = se(c ? 0 : 1);
|
|
12025
|
+
te(() => {
|
|
12005
12026
|
if (!c) return;
|
|
12006
12027
|
const N = requestAnimationFrame(
|
|
12007
12028
|
() => requestAnimationFrame(() => y(1))
|
|
@@ -12212,8 +12233,8 @@ const mp = "_percentageBarContainer_lgkme_3", hp = "_barContainer_lgkme_10", gp
|
|
|
12212
12233
|
labelTextColor: a,
|
|
12213
12234
|
labelValueColor: l
|
|
12214
12235
|
}) => {
|
|
12215
|
-
const [c, d] =
|
|
12216
|
-
|
|
12236
|
+
const [c, d] = se(() => Ii(e)), m = Ce(null), g = Ce(null);
|
|
12237
|
+
te(() => {
|
|
12217
12238
|
e && e.length > 0 && d(Ii(e));
|
|
12218
12239
|
}, [e]);
|
|
12219
12240
|
const y = go(
|
|
@@ -12221,14 +12242,14 @@ const mp = "_percentageBarContainer_lgkme_3", hp = "_barContainer_lgkme_10", gp
|
|
|
12221
12242
|
if (!m.current || !g.current) return;
|
|
12222
12243
|
const { dividerIndex: _ } = m.current, x = g.current.getBoundingClientRect(), w = (f.touches ? f.touches[0].clientX : f.clientX) - x.left, N = Math.max(0, Math.min(100, w / x.width * 100));
|
|
12223
12244
|
d((v) => {
|
|
12224
|
-
const C = [...v], S = v.slice(0, _).reduce((V,
|
|
12225
|
-
let k = N - S,
|
|
12226
|
-
if (k < o && (k = o,
|
|
12245
|
+
const C = [...v], S = v.slice(0, _).reduce((V, R) => V + R, 0), O = S + v[_] + v[_ + 1];
|
|
12246
|
+
let k = N - S, $ = O - N;
|
|
12247
|
+
if (k < o && (k = o, $ = O - S - o), $ < o && ($ = o, k = O - S - o), C[_] = k, C[_ + 1] = $, r)
|
|
12227
12248
|
try {
|
|
12228
|
-
const V = e.reduce((
|
|
12249
|
+
const V = e.reduce((R, p) => R + p.value, 0);
|
|
12229
12250
|
r(
|
|
12230
|
-
e.map((
|
|
12231
|
-
...
|
|
12251
|
+
e.map((R, p) => ({
|
|
12252
|
+
...R,
|
|
12232
12253
|
value: C[p] / 100 * V
|
|
12233
12254
|
}))
|
|
12234
12255
|
);
|
|
@@ -12355,7 +12376,7 @@ Tp.propTypes = {
|
|
|
12355
12376
|
labelTextColor: i.string,
|
|
12356
12377
|
labelValueColor: i.string
|
|
12357
12378
|
};
|
|
12358
|
-
const $p = "_overlay_1vbid_2", Np = "_modal_1vbid_16", Ep = "_content_1vbid_28", Op = "_iconContainer_1vbid_36", Ap = "_iconSvg_1vbid_43", Lp = "_textContainer_1vbid_48", Mp = "_title_1vbid_55", Rp = "_message_1vbid_62", Dp = "_closeButton_1vbid_69",
|
|
12379
|
+
const $p = "_overlay_1vbid_2", Np = "_modal_1vbid_16", Ep = "_content_1vbid_28", Op = "_iconContainer_1vbid_36", Ap = "_iconSvg_1vbid_43", Lp = "_textContainer_1vbid_48", Mp = "_title_1vbid_55", Rp = "_message_1vbid_62", Dp = "_closeButton_1vbid_69", nt = {
|
|
12359
12380
|
overlay: $p,
|
|
12360
12381
|
modal: Np,
|
|
12361
12382
|
content: Ep,
|
|
@@ -12402,7 +12423,7 @@ const $p = "_overlay_1vbid_2", Np = "_modal_1vbid_16", Ep = "_content_1vbid_28",
|
|
|
12402
12423
|
"svg",
|
|
12403
12424
|
{
|
|
12404
12425
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12405
|
-
className:
|
|
12426
|
+
className: nt.iconSvg,
|
|
12406
12427
|
style: _(),
|
|
12407
12428
|
viewBox: "0 0 24 24",
|
|
12408
12429
|
fill: "none",
|
|
@@ -12418,7 +12439,7 @@ const $p = "_overlay_1vbid_2", Np = "_modal_1vbid_16", Ep = "_content_1vbid_28",
|
|
|
12418
12439
|
"svg",
|
|
12419
12440
|
{
|
|
12420
12441
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12421
|
-
className:
|
|
12442
|
+
className: nt.iconSvg,
|
|
12422
12443
|
style: _(),
|
|
12423
12444
|
viewBox: "0 0 24 24",
|
|
12424
12445
|
fill: "none",
|
|
@@ -12430,16 +12451,16 @@ const $p = "_overlay_1vbid_2", Np = "_modal_1vbid_16", Ep = "_content_1vbid_28",
|
|
|
12430
12451
|
]
|
|
12431
12452
|
}
|
|
12432
12453
|
) : null);
|
|
12433
|
-
return /* @__PURE__ */ u("div", { className:
|
|
12434
|
-
/* @__PURE__ */ u("div", { className:
|
|
12435
|
-
/* @__PURE__ */ T("div", { className:
|
|
12436
|
-
n && /* @__PURE__ */ u("h3", { className:
|
|
12437
|
-
/* @__PURE__ */ u("p", { className:
|
|
12454
|
+
return /* @__PURE__ */ u("div", { className: nt.overlay, children: /* @__PURE__ */ u("div", { className: nt.modal, style: b(), children: /* @__PURE__ */ T("div", { className: nt.content, children: [
|
|
12455
|
+
/* @__PURE__ */ u("div", { className: nt.iconContainer, children: x() }),
|
|
12456
|
+
/* @__PURE__ */ T("div", { className: nt.textContainer, children: [
|
|
12457
|
+
n && /* @__PURE__ */ u("h3", { className: nt.title, style: f(), children: n }),
|
|
12458
|
+
/* @__PURE__ */ u("p", { className: nt.message, style: f(), children: r })
|
|
12438
12459
|
] }),
|
|
12439
12460
|
g && /* @__PURE__ */ u(
|
|
12440
12461
|
"button",
|
|
12441
12462
|
{
|
|
12442
|
-
className:
|
|
12463
|
+
className: nt.closeButton,
|
|
12443
12464
|
onClick: t,
|
|
12444
12465
|
"aria-label": "Close modal",
|
|
12445
12466
|
style: f(),
|
|
@@ -12605,7 +12626,7 @@ export {
|
|
|
12605
12626
|
kf as Switch,
|
|
12606
12627
|
Ti as TextInput,
|
|
12607
12628
|
f1 as TimeSlider,
|
|
12608
|
-
|
|
12629
|
+
ct as Tooltip,
|
|
12609
12630
|
g1 as TopNavMenu,
|
|
12610
12631
|
pp as VerticalBarChart
|
|
12611
12632
|
};
|