@tmf_ciclica/ciclicastorybook 1.2.85 → 1.2.86

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -3,11 +3,11 @@ import { jsxs as h, jsx as i, Fragment as et } from "react/jsx-runtime";
3
3
  import * as Ve from "react";
4
4
  import E, { useState as I, useEffect as O, useMemo as Fe, useRef as Y, useLayoutEffect as k2 } from "react";
5
5
  import e from "prop-types";
6
- import { useTranslation as A, Trans as kt } from "react-i18next";
7
- import { motion as $t } from "framer-motion";
8
- import { create as Xt } from "zustand";
6
+ import { useTranslation as A, Trans as $t } from "react-i18next";
7
+ import { motion as St } from "framer-motion";
8
+ import { create as Qt } from "zustand";
9
9
  import * as dt from "d3";
10
- import { select as Ne, min as tt, max as nt, scaleBand as ft, scaleLinear as Qt, scaleOrdinal as Jt, axisBottom as Yt, axisLeft as yt, line as $2, curveMonotoneX as S2 } from "d3";
10
+ import { select as Ne, min as tt, max as nt, scaleBand as ft, scaleLinear as Jt, scaleOrdinal as Yt, axisBottom as e2, axisLeft as yt, line as $2, curveMonotoneX as S2 } from "d3";
11
11
  import L2 from "mapbox-gl";
12
12
  import { useSelector as M2 } from "react-redux";
13
13
  import T2, { Source as D2, Layer as B2, NavigationControl as V2, Popup as F2 } from "react-map-gl/mapbox";
@@ -18,7 +18,7 @@ import { createSlice as z2 } from "@reduxjs/toolkit";
18
18
  import P2 from "@mui/material/Slider";
19
19
  import { createTheme as Z2, Box as j2 } from "@mui/material";
20
20
  import { ThemeProvider as H2 } from "@emotion/react";
21
- import { NavLink as e2 } from "react-router-dom";
21
+ import { NavLink as t2 } from "react-router-dom";
22
22
  const W2 = "_ambitSelector_mcunf_2", K2 = "_header_mcunf_13", U2 = "_nameDateContainer_mcunf_23", G2 = "_ambitName_mcunf_39", X2 = "_ambitDate_mcunf_53", Q2 = "_buttonsContainer_mcunf_67", J2 = "_ambitListContainer_mcunf_76", Y2 = "_newAmbitButtonContainer_mcunf_80", ge = {
23
23
  ambitSelector: W2,
24
24
  header: K2,
@@ -34,7 +34,7 @@ const W2 = "_ambitSelector_mcunf_2", K2 = "_header_mcunf_13", U2 = "_nameDateCon
34
34
  ambitName: n0,
35
35
  ambitDate: i0,
36
36
  ambitButtons: s0
37
- }, r0 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", o0 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", a0 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", l0 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", c0 = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205138'%3e%3cpath%20id='Vector'%20d='M12.95%200.408447C7.659%200.408447%202.84899%202.77185%200.0832465%206.72621C-0.0277488%206.88808%20-0.0277488%207.09621%200.0832465%207.25807C2.84439%2011.2125%207.65437%2013.5712%2012.95%2013.5712C18.2456%2013.5712%2023.0556%2011.2125%2025.8168%207.25807C25.9278%207.0962%2025.9278%206.88807%2025.8168%206.72621C23.051%202.77184%2018.241%200.408447%2012.95%200.408447ZM12.95%2011.2217C10.619%2011.2217%208.71812%209.32083%208.71812%206.98984C8.71812%204.65885%2010.619%202.75796%2012.95%202.75796C15.281%202.75796%2017.1819%204.65883%2017.1819%206.98984C17.1819%209.32085%2015.281%2011.2217%2012.95%2011.2217Z'%20fill='%23B32F5D'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%2010.2966C14.7777%2010.2966%2016.2583%208.81607%2016.2583%206.98974C16.2583%205.1634%2014.7777%203.68286%2012.9514%203.68286C11.1251%203.68286%209.64453%205.1634%209.64453%206.98974C9.64453%208.81607%2011.1251%2010.2966%2012.9514%2010.2966Z'%20fill='%23B32F5D'/%3e%3c/g%3e%3c/svg%3e", d0 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", t2 = ({
37
+ }, r0 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", o0 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", a0 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", l0 = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", c0 = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205138'%3e%3cpath%20id='Vector'%20d='M12.95%200.408447C7.659%200.408447%202.84899%202.77185%200.0832465%206.72621C-0.0277488%206.88808%20-0.0277488%207.09621%200.0832465%207.25807C2.84439%2011.2125%207.65437%2013.5712%2012.95%2013.5712C18.2456%2013.5712%2023.0556%2011.2125%2025.8168%207.25807C25.9278%207.0962%2025.9278%206.88807%2025.8168%206.72621C23.051%202.77184%2018.241%200.408447%2012.95%200.408447ZM12.95%2011.2217C10.619%2011.2217%208.71812%209.32083%208.71812%206.98984C8.71812%204.65885%2010.619%202.75796%2012.95%202.75796C15.281%202.75796%2017.1819%204.65883%2017.1819%206.98984C17.1819%209.32085%2015.281%2011.2217%2012.95%2011.2217Z'%20fill='%23B32F5D'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%2010.2966C14.7777%2010.2966%2016.2583%208.81607%2016.2583%206.98974C16.2583%205.1634%2014.7777%203.68286%2012.9514%203.68286C11.1251%203.68286%209.64453%205.1634%209.64453%206.98974C9.64453%208.81607%2011.1251%2010.2966%2012.9514%2010.2966Z'%20fill='%23B32F5D'/%3e%3c/g%3e%3c/svg%3e", d0 = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205207'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", n2 = ({
38
38
  ambit: n,
39
39
  onClickCopy: c,
40
40
  onClickDelete: s,
@@ -45,14 +45,14 @@ const W2 = "_ambitSelector_mcunf_2", K2 = "_header_mcunf_13", U2 = "_nameDateCon
45
45
  fontColor: a,
46
46
  moreInfo: l
47
47
  }) => {
48
- const { name: u, created_at: g, id: C, isBeingProcessed: f } = n;
48
+ const { name: u, created_at: C, id: m, isBeingProcessed: f } = n;
49
49
  return /* @__PURE__ */ h(
50
50
  "div",
51
51
  {
52
52
  className: Ae.ambitItem,
53
53
  style: { borderBottom: `1px solid ${a}` },
54
54
  children: [
55
- /* @__PURE__ */ h("div", { className: Ae.ambitNameDate, onClick: () => t(C), children: [
55
+ /* @__PURE__ */ h("div", { className: Ae.ambitNameDate, onClick: () => t(m), children: [
56
56
  /* @__PURE__ */ h("div", { className: Ae.ambitName, children: [
57
57
  /* @__PURE__ */ i(
58
58
  "img",
@@ -63,19 +63,19 @@ const W2 = "_ambitSelector_mcunf_2", K2 = "_header_mcunf_13", U2 = "_nameDateCon
63
63
  ),
64
64
  /* @__PURE__ */ i("span", { style: { color: o ? d : a }, children: u })
65
65
  ] }),
66
- /* @__PURE__ */ i("div", { className: Ae.ambitDate, children: g ? new Date(g).toLocaleDateString() : "" })
66
+ /* @__PURE__ */ i("div", { className: Ae.ambitDate, children: C ? new Date(C).toLocaleDateString() : "" })
67
67
  ] }),
68
68
  /* @__PURE__ */ h("div", { className: Ae.ambitButtons, children: [
69
69
  f && /* @__PURE__ */ i("img", { src: l0 }),
70
- /* @__PURE__ */ i("button", { onClick: () => r(C), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: a0 }) }),
71
- /* @__PURE__ */ i("button", { onClick: () => c(C), children: /* @__PURE__ */ i("img", { src: o0 }) }),
72
- /* @__PURE__ */ i("button", { onClick: () => s(C), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: r0 }) })
70
+ /* @__PURE__ */ i("button", { onClick: () => r(m), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: a0 }) }),
71
+ /* @__PURE__ */ i("button", { onClick: () => c(m), children: /* @__PURE__ */ i("img", { src: o0 }) }),
72
+ /* @__PURE__ */ i("button", { onClick: () => s(m), disabled: n.is_default, children: /* @__PURE__ */ i("img", { src: r0 }) })
73
73
  ] })
74
74
  ]
75
75
  }
76
76
  );
77
77
  };
78
- t2.propTypes = {
78
+ n2.propTypes = {
79
79
  ambit: e.shape({
80
80
  name: e.string.isRequired,
81
81
  created_at: e.string,
@@ -93,7 +93,7 @@ t2.propTypes = {
93
93
  moreInfo: e.object
94
94
  // Optional, can be used for additional info
95
95
  };
96
- const Tt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", u0 = "_generalButton_phq4n_2", p0 = {
96
+ const Dt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", u0 = "_generalButton_phq4n_2", p0 = {
97
97
  generalButton: u0
98
98
  }, it = ({
99
99
  children: n,
@@ -130,8 +130,8 @@ const Tt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
130
130
  buttonContainerStyles: a = {},
131
131
  containerStyles: l = {},
132
132
  onCLickNewAmbit: u = () => console.log("New ambit clicked"),
133
- onClickCopy: g = (y) => console.log(`Copy ambit: ${y}`),
134
- onCLickDelete: C = (y) => console.log(`Delete ambit: ${y}`),
133
+ onClickCopy: C = (y) => console.log(`Copy ambit: ${y}`),
134
+ onCLickDelete: m = (y) => console.log(`Delete ambit: ${y}`),
135
135
  onClickFilters: f = (y) => console.log(`Filters clicked: ${y}`),
136
136
  onClickAmbit: p = (y) => console.log(`OnCLickAmbit: ${y}`)
137
137
  }) => {
@@ -139,10 +139,10 @@ const Tt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
139
139
  O(() => {
140
140
  n && v(n);
141
141
  }, [n]);
142
- const _ = (N) => {
142
+ const _ = (w) => {
143
143
  if (b && b.length > 0) {
144
- let S = [...b];
145
- S.sort((m, k) => m[N].localeCompare(k[N])), v(S);
144
+ let L = [...b];
145
+ L.sort((g, N) => g[w].localeCompare(N[w])), v(L);
146
146
  }
147
147
  };
148
148
  return /* @__PURE__ */ h(
@@ -160,30 +160,30 @@ const Tt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
160
160
  /* @__PURE__ */ h("div", { className: ge.nameDateContainer, children: [
161
161
  /* @__PURE__ */ i("div", { className: ge.ambitName, children: /* @__PURE__ */ h("button", { onClick: () => _("name"), children: [
162
162
  /* @__PURE__ */ i("span", { children: y(t) }),
163
- /* @__PURE__ */ i("img", { src: Tt })
163
+ /* @__PURE__ */ i("img", { src: Dt })
164
164
  ] }) }),
165
165
  /* @__PURE__ */ i("div", { className: ge.ambitDate, children: /* @__PURE__ */ h("button", { onClick: () => _("date"), children: [
166
166
  /* @__PURE__ */ i("span", { children: y(o) }),
167
- /* @__PURE__ */ i("img", { src: Tt })
167
+ /* @__PURE__ */ i("img", { src: Dt })
168
168
  ] }) })
169
169
  ] }),
170
170
  /* @__PURE__ */ i("div", { className: ge.buttonsContainer })
171
171
  ]
172
172
  }
173
173
  ),
174
- /* @__PURE__ */ i("div", { className: ge.ambitListContainer, children: b && b.length > 0 && b.map((N) => /* @__PURE__ */ i(
175
- t2,
174
+ /* @__PURE__ */ i("div", { className: ge.ambitListContainer, children: b && b.length > 0 && b.map((w) => /* @__PURE__ */ i(
175
+ n2,
176
176
  {
177
- isActive: c == N.id,
178
- ambit: N,
177
+ isActive: c == w.id,
178
+ ambit: w,
179
179
  fontColor: s,
180
180
  activeColor: r,
181
- onClickCopy: g,
182
- onClickDelete: C,
181
+ onClickCopy: C,
182
+ onClickDelete: m,
183
183
  onClickFilters: f,
184
184
  onClickAmbit: p
185
185
  },
186
- `ambitKey${N.id}`
186
+ `ambitKey${w.id}`
187
187
  )) }),
188
188
  /* @__PURE__ */ i("div", { className: ge.newAmbitButtonContainer, children: /* @__PURE__ */ i(
189
189
  it,
@@ -258,14 +258,14 @@ const k0 = ({
258
258
  children: n.map((a, l) => {
259
259
  const {
260
260
  icon: u,
261
- activeIcon: g,
262
- isActive: C,
261
+ activeIcon: C,
262
+ isActive: m,
263
263
  name: f,
264
264
  onClick: p,
265
265
  disabled: y
266
266
  } = a, b = /* @__PURE__ */ h(et, { children: [
267
267
  s && r === "left" && /* @__PURE__ */ i("span", { className: be.buttonName, children: d(f) }),
268
- /* @__PURE__ */ i("img", { src: C ? g : u, alt: d(f) }),
268
+ /* @__PURE__ */ i("img", { src: m ? C : u, alt: d(f) }),
269
269
  s && r === "right" && /* @__PURE__ */ i("span", { className: be.buttonName, children: d(f) })
270
270
  ] });
271
271
  return /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
@@ -274,7 +274,7 @@ const k0 = ({
274
274
  {
275
275
  onClick: p,
276
276
  className: `${be.button}
277
- ${C && be.active}`,
277
+ ${m && be.active}`,
278
278
  disabled: y,
279
279
  children: b
280
280
  }
@@ -320,11 +320,11 @@ const $0 = "_indicatorsCategory_11gdl_2", S0 = "_title_11gdl_6", L0 = "_mainTitl
320
320
  titleFontStyles: a,
321
321
  showBottomBar: l = !0,
322
322
  titleMarginChildren: u = 15,
323
- mainTitle: g = !1
323
+ mainTitle: C = !1
324
324
  }) => {
325
- const { t: C } = A();
325
+ const { t: m } = A();
326
326
  return /* @__PURE__ */ h(
327
- $t.div,
327
+ St.div,
328
328
  {
329
329
  className: We.indicatorsCategory,
330
330
  initial: { height: `${d}px` },
@@ -333,7 +333,7 @@ const $0 = "_indicatorsCategory_11gdl_2", S0 = "_title_11gdl_6", L0 = "_mainTitl
333
333
  style: {
334
334
  backgroundColor: "white",
335
335
  borderBottom: n && l ? `1px solid ${t}` : "0px",
336
- minHeight: g ? "70px" : "50px"
336
+ minHeight: C ? "70px" : "50px"
337
337
  },
338
338
  children: [
339
339
  /* @__PURE__ */ h(
@@ -343,15 +343,15 @@ const $0 = "_indicatorsCategory_11gdl_2", S0 = "_title_11gdl_6", L0 = "_mainTitl
343
343
  ...a
344
344
  //marginBottom: titleMarginChildren ? titleMarginChildren : "auto",
345
345
  },
346
- className: `${We.title} ${g && We.mainTitle}`,
346
+ className: `${We.title} ${C && We.mainTitle}`,
347
347
  onClick: c,
348
348
  children: [
349
349
  /* @__PURE__ */ i("span", { style: { color: n ? t : r }, children: n ? "-" : "+" }),
350
- /* @__PURE__ */ i("span", { style: { color: n ? t : r }, children: C(o) })
350
+ /* @__PURE__ */ i("span", { style: { color: n ? t : r }, children: m(o) })
351
351
  ]
352
352
  }
353
353
  ),
354
- /* @__PURE__ */ i("div", { className: We.content, style: { padding: g ? "20px 0px" : "0px" }, children: s })
354
+ /* @__PURE__ */ i("div", { className: We.content, style: { padding: C ? "20px 0px" : "0px" }, children: s })
355
355
  ]
356
356
  }
357
357
  );
@@ -367,10 +367,10 @@ ke.propTypes = {
367
367
  showBottomBar: e.bool,
368
368
  titleFontStyles: e.object
369
369
  };
370
- const G1 = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), M0 = "data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%201L13.9996%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20d='M14%201L1.00044%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", T0 = "_AppliedFiltersContainer_cokx9_2", D0 = "_AppliedFilterContent_cokx9_11", Dt = {
370
+ const G1 = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), M0 = "data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%201L13.9996%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20d='M14%201L1.00044%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", T0 = "_AppliedFiltersContainer_cokx9_2", D0 = "_AppliedFilterContent_cokx9_11", Bt = {
371
371
  AppliedFiltersContainer: T0,
372
372
  AppliedFilterContent: D0
373
- }, P = Xt((n) => ({
373
+ }, P = Qt((n) => ({
374
374
  activeCategory: "",
375
375
  activeSubCategory: "",
376
376
  selectedIndicator: "",
@@ -378,8 +378,8 @@ const G1 = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), M0 = "data
378
378
  fontColor: "#605B56",
379
379
  inputsColor: "#605B56",
380
380
  activeFiltersType: null
381
- })), n2 = ({ title: n, onClick: c, isOpen: s = !0, textColor: r = "#ffffff", backgroundColor: t = "#605B5680", activeColor: o, fontColor: d = "#605B56" }) => {
382
- const { t: a } = A(), { tematicalFiltersSelected: l, activeFiltersType: u } = P((f) => f), g = (f) => {
381
+ })), i2 = ({ title: n, onClick: c, isOpen: s = !0, textColor: r = "#ffffff", backgroundColor: t = "#605B5680", activeColor: o, fontColor: d = "#605B56" }) => {
382
+ const { t: a } = A(), { tematicalFiltersSelected: l, activeFiltersType: u } = P((f) => f), C = (f) => {
383
383
  P.setState((p) => ({
384
384
  tematicalFiltersSelected: p.tematicalFiltersSelected.filter(
385
385
  (y) => y.code !== f
@@ -397,14 +397,14 @@ const G1 = () => /* @__PURE__ */ i("div", { children: "EditAmbit" }), M0 = "data
397
397
  activeColor: o,
398
398
  mainTitle: !0,
399
399
  color: d,
400
- children: /* @__PURE__ */ i("div", { className: Dt.AppliedFiltersContainer, children: l == null ? void 0 : l.map((f, p) => /* @__PURE__ */ h("div", { className: Dt.AppliedFilterContent, style: { color: r, background: t }, children: [
400
+ children: /* @__PURE__ */ i("div", { className: Bt.AppliedFiltersContainer, children: l == null ? void 0 : l.map((f, p) => /* @__PURE__ */ h("div", { className: Bt.AppliedFilterContent, style: { color: r, background: t }, children: [
401
401
  a(f.name),
402
- /* @__PURE__ */ i("img", { src: M0, alt: "CloseIcon", onClick: () => g(f.code), style: { cursor: "pointer" } })
402
+ /* @__PURE__ */ i("img", { src: M0, alt: "CloseIcon", onClick: () => C(f.code), style: { cursor: "pointer" } })
403
403
  ] }, p)) })
404
404
  }
405
405
  );
406
406
  };
407
- n2.propTypes = {
407
+ i2.propTypes = {
408
408
  isOpen: e.bool,
409
409
  onClick: e.func,
410
410
  title: e.string,
@@ -418,10 +418,10 @@ n2.propTypes = {
418
418
  ),
419
419
  activeColor: e.string
420
420
  };
421
- const B0 = "_layersList_cn837_25", V0 = "_layerName_cn837_34", Bt = {
421
+ const B0 = "_layersList_cn837_25", V0 = "_layerName_cn837_34", Vt = {
422
422
  layersList: B0,
423
423
  layerName: V0
424
- }, i2 = ({
424
+ }, s2 = ({
425
425
  title: n,
426
426
  isOpen: c = !0,
427
427
  fontColor: s = "#605B56",
@@ -430,12 +430,12 @@ const B0 = "_layersList_cn837_25", V0 = "_layerName_cn837_34", Bt = {
430
430
  geoLayers: o = [],
431
431
  onGeoLayersChange: d
432
432
  }) => {
433
- const { t: a } = A(), { activeFiltersType: l } = P((C) => C), u = () => {
433
+ const { t: a } = A(), { activeFiltersType: l } = P((m) => m), u = () => {
434
434
  l === "geographical" ? P.setState({ activeFiltersType: null }) : P.setState({ activeFiltersType: "geographical" });
435
- }, g = (C) => {
435
+ }, C = (m) => {
436
436
  const f = o.map((p) => ({
437
437
  ...p,
438
- active: p.name === C.name
438
+ active: p.name === m.name
439
439
  }));
440
440
  d == null || d(f);
441
441
  };
@@ -448,23 +448,23 @@ const B0 = "_layersList_cn837_25", V0 = "_layerName_cn837_34", Bt = {
448
448
  activeColor: t,
449
449
  color: s,
450
450
  mainTitle: !0,
451
- children: /* @__PURE__ */ i("div", { className: Bt.layersList, children: o.map((C) => /* @__PURE__ */ i(
451
+ children: /* @__PURE__ */ i("div", { className: Vt.layersList, children: o.map((m) => /* @__PURE__ */ i(
452
452
  "div",
453
453
  {
454
- className: Bt.layerName,
454
+ className: Vt.layerName,
455
455
  style: {
456
- color: C.active ? t : s,
457
- fontWeight: C.active ? "bold" : "normal"
456
+ color: m.active ? t : s,
457
+ fontWeight: m.active ? "bold" : "normal"
458
458
  },
459
- onClick: () => g(C),
460
- children: a(C.name)
459
+ onClick: () => C(m),
460
+ children: a(m.name)
461
461
  },
462
- C.name
462
+ m.name
463
463
  )) })
464
464
  }
465
465
  );
466
466
  };
467
- i2.propTypes = {
467
+ s2.propTypes = {
468
468
  isOpen: e.bool,
469
469
  onClick: e.func,
470
470
  title: e.string,
@@ -474,7 +474,7 @@ i2.propTypes = {
474
474
  };
475
475
  const F0 = "_checkboxContainer_1nxra_2", A0 = {
476
476
  checkboxContainer: F0
477
- }, s2 = ({
477
+ }, r2 = ({
478
478
  onClick: n,
479
479
  containerStyles: c,
480
480
  color: s = "#605B56",
@@ -508,7 +508,7 @@ const F0 = "_checkboxContainer_1nxra_2", A0 = {
508
508
  }
509
509
  );
510
510
  };
511
- s2.propTypes = {
511
+ r2.propTypes = {
512
512
  onClick: e.func,
513
513
  value: e.bool,
514
514
  containerStyles: e.object,
@@ -565,19 +565,19 @@ let vt = function(n) {
565
565
  t.setState({ index: -1 }, t.onEnd(t.getKeyDownEventMap()));
566
566
  }, t.onMouseMove = (a) => {
567
567
  t.setState({ pending: !0 });
568
- const l = t.getMousePosition(a), u = t.getDiffPosition(l[0]), g = t.getValueFromPosition(u);
569
- t.move(g);
568
+ const l = t.getMousePosition(a), u = t.getDiffPosition(l[0]), C = t.getValueFromPosition(u);
569
+ t.move(C);
570
570
  }, t.onTouchMove = (a) => {
571
571
  if (a.touches.length > 1) return;
572
572
  t.setState({ pending: !0 });
573
573
  const l = t.getTouchPosition(a);
574
574
  if (t.isScrolling === void 0) {
575
- const C = l[0] - t.startPosition[0], f = l[1] - t.startPosition[1];
576
- t.isScrolling = Math.abs(f) > Math.abs(C);
575
+ const m = l[0] - t.startPosition[0], f = l[1] - t.startPosition[1];
576
+ t.isScrolling = Math.abs(f) > Math.abs(m);
577
577
  }
578
578
  if (t.isScrolling) return void t.setState({ index: -1 });
579
- const u = t.getDiffPosition(l[0]), g = t.getValueFromPosition(u);
580
- t.move(g);
579
+ const u = t.getDiffPosition(l[0]), C = t.getValueFromPosition(u);
580
+ t.move(C);
581
581
  }, t.onKeyDown = (a) => {
582
582
  if (!(a.ctrlKey || a.shiftKey || a.altKey || a.metaKey)) switch (t.setState({ pending: !0 }), a.key) {
583
583
  case "ArrowLeft":
@@ -630,8 +630,8 @@ let vt = function(n) {
630
630
  if (t.props.disabled || l.touches.length > 1) return;
631
631
  t.setState({ pending: !0 });
632
632
  const u = t.getTouchPosition(l);
633
- t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]), Ue(t.getTouchEventMap()), function(g) {
634
- g.stopPropagation && g.stopPropagation();
633
+ t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]), Ue(t.getTouchEventMap()), function(C) {
634
+ C.stopPropagation && C.stopPropagation();
635
635
  }(l);
636
636
  }, t.handleResize = () => {
637
637
  const a = window.setTimeout(() => {
@@ -639,13 +639,13 @@ let vt = function(n) {
639
639
  }, 0);
640
640
  t.pendingResizeTimeouts.push(a);
641
641
  }, t.renderThumb = (a, l) => {
642
- const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + l + " " + (t.state.index === l ? t.props.thumbActiveClassName : ""), g = { ref: (f) => {
642
+ const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + l + " " + (t.state.index === l ? t.props.thumbActiveClassName : ""), C = { ref: (f) => {
643
643
  t["thumb" + l] = f;
644
- }, key: t.props.thumbClassName + "-" + l, className: u, style: a, onMouseDown: t.createOnMouseDown(l), onTouchStart: t.createOnTouchStart(l), onFocus: t.createOnKeyDown(l), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[l], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[l] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[l] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, C = { index: l, value: Ke(t.state.value), valueNow: t.state.value[l] };
645
- return t.props.ariaValuetext && (g["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(C)), t.props.renderThumb(g, C);
644
+ }, key: t.props.thumbClassName + "-" + l, className: u, style: a, onMouseDown: t.createOnMouseDown(l), onTouchStart: t.createOnTouchStart(l), onFocus: t.createOnKeyDown(l), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[l], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[l] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[l] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, m = { index: l, value: Ke(t.state.value), valueNow: t.state.value[l] };
645
+ return t.props.ariaValuetext && (C["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(m)), t.props.renderThumb(C, m);
646
646
  }, t.renderTrack = (a, l, u) => {
647
- const g = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(l, t.state.upperBound - u) }, C = { index: a, value: Ke(t.state.value) };
648
- return t.props.renderTrack(g, C);
647
+ const C = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(l, t.state.upperBound - u) }, m = { index: a, value: Ke(t.state.value) };
648
+ return t.props.renderTrack(C, m);
649
649
  };
650
650
  let o = ht(r.value);
651
651
  o.length || (o = ht(r.defaultValue)), t.pendingResizeTimeouts = [];
@@ -676,8 +676,8 @@ let vt = function(n) {
676
676
  let t = Number.MAX_VALUE, o = -1;
677
677
  const { value: d } = this.state, a = d.length;
678
678
  for (let l = 0; l < a; l += 1) {
679
- const u = this.calcOffset(d[l]), g = Math.abs(r - u);
680
- g < t && (t = g, o = l);
679
+ const u = this.calcOffset(d[l]), C = Math.abs(r - u);
680
+ C < t && (t = C, o = l);
681
681
  }
682
682
  return o;
683
683
  }, s.getMousePosition = function(r) {
@@ -700,8 +700,8 @@ let vt = function(n) {
700
700
  }, s.resize = function() {
701
701
  const { slider: r, thumb0: t } = this;
702
702
  if (!r || !t) return;
703
- const o = this.sizeKey(), d = r.getBoundingClientRect(), a = r[o], l = d[this.posMaxKey()], u = d[this.posMinKey()], g = t.getBoundingClientRect()[o.replace("client", "").toLowerCase()], C = a - g, f = Math.abs(l - u);
704
- this.state.upperBound === C && this.state.sliderLength === f && this.state.thumbSize === g || this.setState({ upperBound: C, sliderLength: f, thumbSize: g });
703
+ const o = this.sizeKey(), d = r.getBoundingClientRect(), a = r[o], l = d[this.posMaxKey()], u = d[this.posMinKey()], C = t.getBoundingClientRect()[o.replace("client", "").toLowerCase()], m = a - C, f = Math.abs(l - u);
704
+ this.state.upperBound === m && this.state.sliderLength === f && this.state.thumbSize === C || this.setState({ upperBound: m, sliderLength: f, thumbSize: C });
705
705
  }, s.calcOffset = function(r) {
706
706
  const t = this.props.max - this.props.min;
707
707
  return t === 0 ? 0 : (r - this.props.min) / t * this.state.upperBound;
@@ -740,28 +740,28 @@ let vt = function(n) {
740
740
  const t = this.state.value.slice(), { index: o } = this.state, { length: d } = t, a = t[o];
741
741
  if (r === a) return;
742
742
  this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
743
- const { pearling: l, max: u, min: g, minDistance: C } = this.props;
743
+ const { pearling: l, max: u, min: C, minDistance: m } = this.props;
744
744
  if (!l) {
745
745
  if (o > 0) {
746
746
  const f = t[o - 1];
747
- r < f + C && (r = f + C);
747
+ r < f + m && (r = f + m);
748
748
  }
749
749
  if (o < d - 1) {
750
750
  const f = t[o + 1];
751
- r > f - C && (r = f - C);
751
+ r > f - m && (r = f - m);
752
752
  }
753
753
  }
754
- t[o] = r, l && d > 1 && (r > a ? (this.pushSucceeding(t, C, o), function(f, p, y, b) {
754
+ t[o] = r, l && d > 1 && (r > a ? (this.pushSucceeding(t, m, o), function(f, p, y, b) {
755
755
  for (let v = 0; v < f; v += 1) {
756
756
  const _ = b - v * y;
757
757
  p[f - 1 - v] > _ && (p[f - 1 - v] = _);
758
758
  }
759
- }(d, t, C, u)) : r < a && (this.pushPreceding(t, C, o), function(f, p, y, b) {
759
+ }(d, t, m, u)) : r < a && (this.pushPreceding(t, m, o), function(f, p, y, b) {
760
760
  for (let v = 0; v < f; v += 1) {
761
761
  const _ = b + v * y;
762
762
  p[v] < _ && (p[v] = _);
763
763
  }
764
- }(d, t, C, g))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
764
+ }(d, t, m, C))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
765
765
  }, s.pushSucceeding = function(r, t, o) {
766
766
  let d, a;
767
767
  for (d = o, a = r[d] + t; r[d + 1] !== null && a > r[d + 1]; d += 1, a = r[d] + t) r[d + 1] = _t(a, this.props);
@@ -824,7 +824,7 @@ const R0 = "_container_4u41i_2", I0 = "_unitLabel_4u41i_8", E0 = "_slider_4u41i_
824
824
  thumb: q0,
825
825
  track: z0,
826
826
  labels: P0
827
- }, r2 = ({
827
+ }, o2 = ({
828
828
  min: n = 0,
829
829
  max: c = 100,
830
830
  step: s = 1,
@@ -835,11 +835,11 @@ const R0 = "_container_4u41i_2", I0 = "_unitLabel_4u41i_8", E0 = "_slider_4u41i_
835
835
  defaultValue: a,
836
836
  isDate: l
837
837
  }) => {
838
- const { t: u } = A(), g = l ? new Date(n).getTime() : null, C = l ? new Date(c).getTime() : null, [f, p] = I(l ? [g, C] : [n, c]), y = (b) => {
838
+ const { t: u } = A(), C = l ? new Date(n).getTime() : null, m = l ? new Date(c).getTime() : null, [f, p] = I(l ? [C, m] : [n, c]), y = (b) => {
839
839
  p(b), r == null || r({ min: b[0], max: b[1] });
840
840
  };
841
841
  return O(() => {
842
- a || p(l ? [g, C] : [n, c]);
842
+ a || p(l ? [C, m] : [n, c]);
843
843
  }, [a, l]), /* @__PURE__ */ h(
844
844
  "div",
845
845
  {
@@ -853,9 +853,9 @@ const R0 = "_container_4u41i_2", I0 = "_unitLabel_4u41i_8", E0 = "_slider_4u41i_
853
853
  className: Le.slider,
854
854
  thumbClassName: Le.thumb,
855
855
  trackClassName: Le.track,
856
- min: l ? g : n,
857
- max: l ? C : c,
858
- step: l ? (C - g) / 30 : s,
856
+ min: l ? C : n,
857
+ max: l ? m : c,
858
+ step: l ? (m - C) / 30 : s,
859
859
  value: f,
860
860
  onAfterChange: y,
861
861
  withTracks: !0,
@@ -879,7 +879,7 @@ const R0 = "_container_4u41i_2", I0 = "_unitLabel_4u41i_8", E0 = "_slider_4u41i_
879
879
  }
880
880
  );
881
881
  };
882
- r2.propTypes = {
882
+ o2.propTypes = {
883
883
  min: e.number,
884
884
  max: e.number,
885
885
  step: e.number,
@@ -896,7 +896,7 @@ const Z0 = "_tematicalFiltersInputContainer_1vm1r_2", j0 = "_inputTypeContainer_
896
896
  inputTypeContainer: j0,
897
897
  checkboxContainer: H0,
898
898
  absoluteSliderContainer: W0
899
- }, St = ({
899
+ }, Lt = ({
900
900
  indicator: n,
901
901
  //onChangeBothType
902
902
  activeColor: c
@@ -908,8 +908,8 @@ const Z0 = "_tematicalFiltersInputContainer_1vm1r_2", j0 = "_inputTypeContainer_
908
908
  minValue: a,
909
909
  maxValue: l,
910
910
  unit: u,
911
- step: g,
912
- disabled: C,
911
+ step: C,
912
+ disabled: m,
913
913
  isDate: f
914
914
  } = n || {}, p = Fe(
915
915
  () => t == "cat" || s == "cat",
@@ -921,12 +921,12 @@ const Z0 = "_tematicalFiltersInputContainer_1vm1r_2", j0 = "_inputTypeContainer_
921
921
  tematicalFiltersSelected: b,
922
922
  selectedIndicator: v,
923
923
  fontColor: _,
924
- inputsColor: N
925
- } = P((k) => k), S = (k) => {
926
- if (k) {
927
- const { min: x, max: L, valueClicked: $, allValues: w } = k || {}, { code: T, type: D, source: V } = n || {}, F = y ? "abs" : p ? "cat" : "both";
924
+ inputsColor: w
925
+ } = P((N) => N), L = (N) => {
926
+ if (N) {
927
+ const { min: x, max: S, valueClicked: $, allValues: k } = N || {}, { code: T, type: F, source: D } = n || {}, B = y ? "abs" : p ? "cat" : "both";
928
928
  let R = T[0];
929
- D == "both" && (R = F == "cat" ? T[1] : T[0]), F == "cat" ? P.setState((Z) => {
929
+ F == "both" && (R = B == "cat" ? T[1] : T[0]), B == "cat" ? P.setState((Z) => {
930
930
  let ee = Z.tematicalFiltersSelected.find(
931
931
  (H) => H.code === R
932
932
  );
@@ -934,7 +934,7 @@ const Z0 = "_tematicalFiltersInputContainer_1vm1r_2", j0 = "_inputTypeContainer_
934
934
  let H = [ee.values];
935
935
  return ee.values.includes($) ? H = ee.values.filter(
936
936
  (q) => q !== $
937
- ) : H = [...ee.values, $], H.length == w.length ? {
937
+ ) : H = [...ee.values, $], H.length == k.length ? {
938
938
  tematicalFiltersSelected: Z.tematicalFiltersSelected.filter(
939
939
  (q) => q.code !== R
940
940
  )
@@ -944,7 +944,7 @@ const Z0 = "_tematicalFiltersInputContainer_1vm1r_2", j0 = "_inputTypeContainer_
944
944
  )
945
945
  };
946
946
  } else {
947
- let H = (w || []).map((q, ie) => ie);
947
+ let H = (k || []).map((q, ie) => ie);
948
948
  return {
949
949
  tematicalFiltersSelected: [
950
950
  ...b,
@@ -953,24 +953,24 @@ const Z0 = "_tematicalFiltersInputContainer_1vm1r_2", j0 = "_inputTypeContainer_
953
953
  code: R,
954
954
  values: H.filter((q) => q !== $),
955
955
  name: n.name,
956
- source: V,
956
+ source: D,
957
957
  isDate: f
958
958
  }
959
959
  ]
960
960
  };
961
961
  }
962
- }) : F == "abs" && P.setState((Z) => {
962
+ }) : B == "abs" && P.setState((Z) => {
963
963
  let ee = Z.tematicalFiltersSelected.find(
964
964
  (H) => H.code === R
965
965
  );
966
- if (x == n.minValue && L == n.maxValue)
966
+ if (x == n.minValue && S == n.maxValue)
967
967
  return {
968
968
  tematicalFiltersSelected: Z.tematicalFiltersSelected.filter(
969
969
  (H) => H.code !== R
970
970
  )
971
971
  };
972
972
  if (ee) {
973
- let H = { ...ee, min: x, max: L, type: F, isDate: f };
973
+ let H = { ...ee, min: x, max: S, type: B, isDate: f };
974
974
  return {
975
975
  tematicalFiltersSelected: Z.tematicalFiltersSelected.map(
976
976
  (q) => q.code === R ? H : q
@@ -981,10 +981,10 @@ const Z0 = "_tematicalFiltersInputContainer_1vm1r_2", j0 = "_inputTypeContainer_
981
981
  tematicalFiltersSelected: [
982
982
  ...b,
983
983
  {
984
- type: F,
984
+ type: B,
985
985
  code: R,
986
986
  min: x,
987
- max: L,
987
+ max: S,
988
988
  name: n.name,
989
989
  source: n.source
990
990
  }
@@ -992,12 +992,12 @@ const Z0 = "_tematicalFiltersInputContainer_1vm1r_2", j0 = "_inputTypeContainer_
992
992
  };
993
993
  });
994
994
  }
995
- }, m = Fe(() => {
996
- const k = {};
995
+ }, g = Fe(() => {
996
+ const N = {};
997
997
  if ((b == null ? void 0 : b.length) > 0)
998
998
  for (const x of b)
999
- x.type === "cat" ? k[x.code] = new Set(x.values) : k[x.code] = [x.min, x.max];
1000
- return k;
999
+ x.type === "cat" ? N[x.code] = new Set(x.values) : N[x.code] = [x.min, x.max];
1000
+ return N;
1001
1001
  }, [b]);
1002
1002
  return /* @__PURE__ */ i("div", { className: Ge.tematicalFiltersInputContainer, children: /* @__PURE__ */ h(
1003
1003
  ke,
@@ -1005,12 +1005,12 @@ const Z0 = "_tematicalFiltersInputContainer_1vm1r_2", j0 = "_inputTypeContainer_
1005
1005
  titleFontStyles: {
1006
1006
  fontSize: 16,
1007
1007
  fontWeight: 400,
1008
- opacity: C ? 0.5 : 1
1008
+ opacity: m ? 0.5 : 1
1009
1009
  },
1010
1010
  title: o,
1011
1011
  isOpen: v == `id${o}`,
1012
1012
  onClick: () => {
1013
- C || P.setState(() => ({
1013
+ m || P.setState(() => ({
1014
1014
  selectedIndicator: v == `id${o}` ? "" : `id${o}`
1015
1015
  }));
1016
1016
  },
@@ -1039,8 +1039,8 @@ const Z0 = "_tematicalFiltersInputContainer_1vm1r_2", j0 = "_inputTypeContainer_
1039
1039
  },
1040
1040
  style: {
1041
1041
  marginRight: 4,
1042
- backgroundColor: s == "abs" ? N : "white",
1043
- border: `1.5px solid ${s == "abs" ? N : _}`
1042
+ backgroundColor: s == "abs" ? w : "white",
1043
+ border: `1.5px solid ${s == "abs" ? w : _}`
1044
1044
  }
1045
1045
  }
1046
1046
  ),
@@ -1058,8 +1058,8 @@ const Z0 = "_tematicalFiltersInputContainer_1vm1r_2", j0 = "_inputTypeContainer_
1058
1058
  },
1059
1059
  style: {
1060
1060
  marginRight: 4,
1061
- backgroundColor: s == "cat" ? N : "white",
1062
- border: `1.5px solid ${s == "cat" ? N : _}`
1061
+ backgroundColor: s == "cat" ? w : "white",
1062
+ border: `1.5px solid ${s == "cat" ? w : _}`
1063
1063
  }
1064
1064
  }
1065
1065
  ),
@@ -1068,35 +1068,35 @@ const Z0 = "_tematicalFiltersInputContainer_1vm1r_2", j0 = "_inputTypeContainer_
1068
1068
  ]
1069
1069
  }
1070
1070
  ),
1071
- p && /* @__PURE__ */ i("div", { className: Ge.checkboxContainer, children: (d || []).map((k, x) => {
1072
- var L;
1071
+ p && /* @__PURE__ */ i("div", { className: Ge.checkboxContainer, children: (d || []).map((N, x) => {
1072
+ var S;
1073
1073
  return /* @__PURE__ */ i(
1074
- s2,
1074
+ r2,
1075
1075
  {
1076
- onClick: () => S({ valueClicked: x, allValues: d }),
1077
- indicator: k,
1078
- value: ((L = m[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : L.has(x)) || !m[n.code[t == "both" ? 1 : 0]]
1076
+ onClick: () => L({ valueClicked: x, allValues: d }),
1077
+ indicator: N,
1078
+ value: ((S = g[n.code[t == "both" ? 1 : 0]]) == null ? void 0 : S.has(x)) || !g[n.code[t == "both" ? 1 : 0]]
1079
1079
  },
1080
1080
  `checkbox-${x}`
1081
1081
  );
1082
1082
  }) }),
1083
1083
  (y || t == "glb") && /* @__PURE__ */ i("div", { className: Ge.absoluteSliderContainer, children: /* @__PURE__ */ i(
1084
- r2,
1084
+ o2,
1085
1085
  {
1086
- onChange: S,
1086
+ onChange: L,
1087
1087
  min: a,
1088
1088
  max: l,
1089
1089
  unit: u,
1090
- defaultValue: m[n.code[0]] ? m[n.code[0]] : "",
1090
+ defaultValue: g[n.code[0]] ? g[n.code[0]] : "",
1091
1091
  isDate: f,
1092
- step: g
1092
+ step: C
1093
1093
  }
1094
1094
  ) })
1095
1095
  ]
1096
1096
  }
1097
1097
  ) });
1098
1098
  };
1099
- St.propTypes = {
1099
+ Lt.propTypes = {
1100
1100
  indicator: e.shape({
1101
1101
  name: e.string,
1102
1102
  type: e.string,
@@ -1111,7 +1111,7 @@ St.propTypes = {
1111
1111
  activeColor: e.string
1112
1112
  //onChangeBothType: PropTypes.func,
1113
1113
  };
1114
- const o2 = ({
1114
+ const a2 = ({
1115
1115
  subcategory: n,
1116
1116
  fontColor: c,
1117
1117
  activeColor: s
@@ -1135,7 +1135,7 @@ const o2 = ({
1135
1135
  color: c,
1136
1136
  activeColor: s,
1137
1137
  children: o == null ? void 0 : o.map((d, a) => /* @__PURE__ */ i(
1138
- St,
1138
+ Lt,
1139
1139
  {
1140
1140
  indicator: d,
1141
1141
  fontColor: c,
@@ -1146,7 +1146,7 @@ const o2 = ({
1146
1146
  }
1147
1147
  );
1148
1148
  };
1149
- o2.propTypes = {
1149
+ a2.propTypes = {
1150
1150
  subcategory: e.shape({
1151
1151
  name: e.string,
1152
1152
  indicators: e.arrayOf(
@@ -1159,7 +1159,7 @@ o2.propTypes = {
1159
1159
  activeColor: e.string
1160
1160
  //onChangeBothType: PropTypes.func,
1161
1161
  };
1162
- const a2 = ({
1162
+ const l2 = ({
1163
1163
  category: n,
1164
1164
  // onChangeBothType,
1165
1165
  activeColor: c
@@ -1180,7 +1180,7 @@ const a2 = ({
1180
1180
  color: d,
1181
1181
  activeColor: c,
1182
1182
  children: r ? r.map((a, l) => /* @__PURE__ */ i(
1183
- o2,
1183
+ a2,
1184
1184
  {
1185
1185
  subcategory: a,
1186
1186
  fontColor: d,
@@ -1188,7 +1188,7 @@ const a2 = ({
1188
1188
  },
1189
1189
  `subcategory-${l}`
1190
1190
  )) : t && t.map((a, l) => /* @__PURE__ */ i(
1191
- St,
1191
+ Lt,
1192
1192
  {
1193
1193
  indicator: a,
1194
1194
  fontColor: d,
@@ -1199,7 +1199,7 @@ const a2 = ({
1199
1199
  }
1200
1200
  );
1201
1201
  };
1202
- a2.propTypes = {
1202
+ l2.propTypes = {
1203
1203
  category: e.shape({
1204
1204
  name: e.string.isRequired,
1205
1205
  subcategories: e.array,
@@ -1208,7 +1208,7 @@ a2.propTypes = {
1208
1208
  activeColor: e.string
1209
1209
  //onChangeBothType: PropTypes.func,
1210
1210
  };
1211
- const l2 = ({
1211
+ const wt = ({
1212
1212
  indicators: n,
1213
1213
  isOpen: c = !0,
1214
1214
  title: s,
@@ -1217,7 +1217,7 @@ const l2 = ({
1217
1217
  inputsColor: t = "#605B56",
1218
1218
  activeColor: o
1219
1219
  }) => {
1220
- const { tematicalFiltersSelected: d, activeFiltersType: a } = P((g) => g), { t: l } = A();
1220
+ const { tematicalFiltersSelected: d, activeFiltersType: a } = P((C) => C), { t: l } = A();
1221
1221
  O(() => {
1222
1222
  }, [d]), O(() => {
1223
1223
  r && P.setState(() => ({ fontColor: r }));
@@ -1236,19 +1236,19 @@ const l2 = ({
1236
1236
  activeColor: o,
1237
1237
  onClick: u,
1238
1238
  mainTitle: !0,
1239
- children: n == null ? void 0 : n.map((g, C) => /* @__PURE__ */ i(
1240
- a2,
1239
+ children: n == null ? void 0 : n.map((C, m) => /* @__PURE__ */ i(
1240
+ l2,
1241
1241
  {
1242
- category: g,
1242
+ category: C,
1243
1243
  fontColor: r,
1244
1244
  activeColor: o
1245
1245
  },
1246
- `category-${C}`
1246
+ `category-${m}`
1247
1247
  ))
1248
1248
  }
1249
1249
  );
1250
1250
  };
1251
- l2.propTypes = {
1251
+ wt.propTypes = {
1252
1252
  isOpen: e.bool,
1253
1253
  title: e.string,
1254
1254
  indicators: e.arrayOf(e.object),
@@ -1277,38 +1277,39 @@ const K0 = "_FiltersAmbitContainer_1hv16_2", U0 = "_FiltersContainer_1hv16_15",
1277
1277
  onChangeAppliedFilters: a,
1278
1278
  saveAmbit: l,
1279
1279
  namePlaceholder: u,
1280
- descPlaceholder: g,
1281
- filtersTypes: C = ["geographical", "tematical"],
1280
+ descPlaceholder: C,
1281
+ filtersTypes: m = ["geographical", "tematical"],
1282
1282
  nameRequiredText: f,
1283
1283
  geoLayers: p = [],
1284
1284
  onGeoLayersChange: y,
1285
1285
  onlyFilters: b = !1,
1286
1286
  //usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
1287
- descriptionRequired: v = !1
1287
+ descriptionRequired: v = !1,
1288
1288
  //campo descripción required
1289
+ extraLists: _ = !1
1289
1290
  }) => {
1290
- const { t: _ } = A(), { tematicalFiltersSelected: N, activeFiltersType: S } = P(
1291
+ const { t: w } = A(), { tematicalFiltersSelected: L, activeFiltersType: g } = P(
1291
1292
  (D) => D
1292
- ), [m, k] = I(n || null), [x, L] = I(c || null), [$, w] = I(!1);
1293
+ ), [N, x] = I(n || null), [S, $] = I(c || null), [k, T] = I(!1);
1293
1294
  O(() => {
1294
1295
  P.setState({
1295
1296
  tematicalFiltersSelected: s || []
1296
1297
  });
1297
1298
  }, [s]), Y(!1), O(() => {
1298
- a(N);
1299
- }, [N]);
1300
- const T = () => {
1301
- v ? m && x ? l({ name: m, description: x }) : w(!0) : m ? l({ name: m, description: x }) : w(!0);
1299
+ a(L);
1300
+ }, [L]);
1301
+ const F = () => {
1302
+ v ? N && S ? l({ name: N, description: S }) : T(!0) : N ? l({ name: N, description: S }) : T(!0);
1302
1303
  };
1303
1304
  return O(() => {
1304
- if (C.includes("geographical") && S != "geographical" && p.length > 0) {
1305
- const D = p.map((V) => ({
1306
- ...V,
1305
+ if (m.includes("geographical") && g != "geographical" && p.length > 0) {
1306
+ const D = p.map((B) => ({
1307
+ ...B,
1307
1308
  active: !1
1308
1309
  }));
1309
1310
  y == null || y(D);
1310
1311
  }
1311
- }, [S]), /* @__PURE__ */ h("div", { className: Ce.FiltersAmbitContainer, children: [
1312
+ }, [g]), /* @__PURE__ */ h("div", { className: Ce.FiltersAmbitContainer, children: [
1312
1313
  /* @__PURE__ */ h("div", { className: Ce.FiltersContainer, children: [
1313
1314
  !b && /* @__PURE__ */ h("div", { className: Ce.FiltersAmbitHeader, children: [
1314
1315
  /* @__PURE__ */ i("div", { className: Ce.FiltersAmbitTitle, children: /* @__PURE__ */ i(
@@ -1316,35 +1317,35 @@ const K0 = "_FiltersAmbitContainer_1hv16_2", U0 = "_FiltersContainer_1hv16_15",
1316
1317
  {
1317
1318
  type: "text",
1318
1319
  onChange: (D) => {
1319
- w(!1), k(D.target.value);
1320
+ T(!1), x(D.target.value);
1320
1321
  },
1321
- value: m,
1322
- placeholder: _(u)
1322
+ value: N,
1323
+ placeholder: w(u)
1323
1324
  }
1324
1325
  ) }),
1325
1326
  /* @__PURE__ */ i("div", { className: Ce.FiltersAmbitDescription, children: /* @__PURE__ */ i("div", { className: Ce.FiltersAmbitDescriptionTitle, children: /* @__PURE__ */ i(
1326
1327
  "textarea",
1327
1328
  {
1328
- value: x,
1329
+ value: S,
1329
1330
  onChange: (D) => {
1330
- v && w(!1), L(D.target.value);
1331
+ v && T(!1), $(D.target.value);
1331
1332
  },
1332
- placeholder: _(g)
1333
+ placeholder: w(C)
1333
1334
  }
1334
1335
  ) }) })
1335
1336
  ] }),
1336
1337
  /* @__PURE__ */ i(
1337
- n2,
1338
+ i2,
1338
1339
  {
1339
- title: _("applied_filters"),
1340
- isOpen: S == "applied",
1340
+ title: w("applied_filters"),
1341
+ isOpen: g == "applied",
1341
1342
  textColor: o || "#fff",
1342
1343
  backgroundColor: d || "#605B5680",
1343
1344
  activeColor: t
1344
1345
  }
1345
1346
  ),
1346
- C.includes("geographical") && /* @__PURE__ */ i(
1347
- i2,
1347
+ m.includes("geographical") && /* @__PURE__ */ i(
1348
+ s2,
1348
1349
  {
1349
1350
  title: "geo_filters",
1350
1351
  activeColor: t,
@@ -1352,8 +1353,18 @@ const K0 = "_FiltersAmbitContainer_1hv16_2", U0 = "_FiltersContainer_1hv16_15",
1352
1353
  onGeoLayersChange: y
1353
1354
  }
1354
1355
  ),
1355
- C.includes("tematical") && /* @__PURE__ */ i(
1356
- l2,
1356
+ m.includes("extra") && _.map((D) => /* @__PURE__ */ i(
1357
+ wt,
1358
+ {
1359
+ indicators: D.indicators,
1360
+ inputsColor: t,
1361
+ textColor: o,
1362
+ title: D.title,
1363
+ activeColor: t
1364
+ }
1365
+ )),
1366
+ m.includes("tematical") && /* @__PURE__ */ i(
1367
+ wt,
1357
1368
  {
1358
1369
  indicators: r,
1359
1370
  inputsColor: t,
@@ -1364,8 +1375,8 @@ const K0 = "_FiltersAmbitContainer_1hv16_2", U0 = "_FiltersContainer_1hv16_15",
1364
1375
  )
1365
1376
  ] }),
1366
1377
  !b && /* @__PURE__ */ h("div", { className: Ce.buttonContainer, children: [
1367
- $ && /* @__PURE__ */ i("div", { className: Ce.warning, children: _(f) }),
1368
- /* @__PURE__ */ i(it, { onClick: () => T(), children: _("save_ambit") })
1378
+ k && /* @__PURE__ */ i("div", { className: Ce.warning, children: w(f) }),
1379
+ /* @__PURE__ */ i(it, { onClick: () => F(), children: w("save_ambit") })
1369
1380
  ] })
1370
1381
  ] });
1371
1382
  };
@@ -1382,9 +1393,10 @@ tn.propTypes = {
1382
1393
  namePlaceholder: e.string,
1383
1394
  descPlaceholder: e.string,
1384
1395
  filtersTypes: e.arrayOf(e.string).isRequired,
1385
- nameRequiredText: e.string
1396
+ nameRequiredText: e.string,
1397
+ extraLists: e.arrayOf(e.object)
1386
1398
  };
1387
- const nn = "_barChartContainer_1ly7h_2", Vt = {
1399
+ const nn = "_barChartContainer_1ly7h_2", Ft = {
1388
1400
  barChartContainer: nn
1389
1401
  }, c2 = ({
1390
1402
  data: n,
@@ -1403,8 +1415,8 @@ const nn = "_barChartContainer_1ly7h_2", Vt = {
1403
1415
  orientation: a = "horizontal",
1404
1416
  horizontalPadding: l = a == "vertical" ? 50 : 20,
1405
1417
  verticalPadding: u = 10,
1406
- xLabelPadding: g = a == "vertical" ? 50 : 40,
1407
- containerWidth: C = 700,
1418
+ xLabelPadding: C = a == "vertical" ? 50 : 40,
1419
+ containerWidth: m = 700,
1408
1420
  containerHeight: f = 500,
1409
1421
  mainColor: p = "#000"
1410
1422
  }) => {
@@ -1413,41 +1425,41 @@ const nn = "_barChartContainer_1ly7h_2", Vt = {
1413
1425
  yScale: b,
1414
1426
  ticks: v,
1415
1427
  height: _,
1416
- chartWidth: N,
1417
- svgWidth: S,
1418
- svgHeight: m,
1419
- contentWidth: k
1428
+ chartWidth: w,
1429
+ svgWidth: L,
1430
+ svgHeight: g,
1431
+ contentWidth: N
1420
1432
  } = Fe(() => {
1421
1433
  if (n && n.length > 0) {
1422
- const x = dt.max(n, ($) => $.value) || 1, L = d || x;
1434
+ const x = dt.max(n, ($) => $.value) || 1, S = d || x;
1423
1435
  if (a === "vertical") {
1424
- const $ = n.length * (c + s) + l * 2, w = Math.max($, C || 0), T = f, V = dt.scaleLinear().domain([0, L]).range([T - 100, u]), F = Array.from(
1436
+ const $ = n.length * (c + s) + l * 2, k = Math.max($, m || 0), T = f, D = dt.scaleLinear().domain([0, S]).range([T - 100, u]), B = Array.from(
1425
1437
  { length: o + 1 },
1426
- (R, Z) => L / o * Z
1438
+ (R, Z) => S / o * Z
1427
1439
  );
1428
1440
  return {
1429
- yScale: V,
1430
- ticks: F,
1441
+ yScale: D,
1442
+ ticks: B,
1431
1443
  height: T,
1432
- chartWidth: w,
1433
- svgWidth: w,
1444
+ chartWidth: k,
1445
+ svgWidth: k,
1434
1446
  svgHeight: T,
1435
1447
  contentWidth: $
1436
1448
  };
1437
1449
  } else {
1438
1450
  const $ = n.length * (c + s);
1439
1451
  console.log("barsHeight: ", $);
1440
- const w = $ + u * 2 + g + 30, T = C + t + l * 2, D = dt.scaleLinear().domain([0, L]).range([0, C - l * 2]), V = Array.from(
1452
+ const k = $ + u * 2 + C + 30, T = m + t + l * 2, F = dt.scaleLinear().domain([0, S]).range([0, m - l * 2]), D = Array.from(
1441
1453
  { length: o + 1 },
1442
- (F, R) => L / o * R
1454
+ (B, R) => S / o * R
1443
1455
  );
1444
1456
  return {
1445
- xScale: D,
1446
- ticks: V,
1447
- height: w,
1448
- chartWidth: C,
1457
+ xScale: F,
1458
+ ticks: D,
1459
+ height: k,
1460
+ chartWidth: m,
1449
1461
  svgWidth: T,
1450
- svgHeight: w,
1462
+ svgHeight: k,
1451
1463
  contentWidth: T
1452
1464
  };
1453
1465
  }
@@ -1469,7 +1481,7 @@ const nn = "_barChartContainer_1ly7h_2", Vt = {
1469
1481
  d,
1470
1482
  a,
1471
1483
  t,
1472
- C,
1484
+ m,
1473
1485
  f
1474
1486
  ]);
1475
1487
  return a === "vertical" ? /* @__PURE__ */ i(
@@ -1481,28 +1493,28 @@ const nn = "_barChartContainer_1ly7h_2", Vt = {
1481
1493
  height: f ? `${f}px` : "100%",
1482
1494
  "--main-color": p
1483
1495
  },
1484
- className: Vt.barChartContainer,
1496
+ className: Ft.barChartContainer,
1485
1497
  children: /* @__PURE__ */ i(
1486
1498
  "svg",
1487
1499
  {
1488
- width: S,
1489
- height: m,
1500
+ width: L,
1501
+ height: g,
1490
1502
  style: {
1491
1503
  display: "block",
1492
- width: S,
1493
- height: m,
1504
+ width: L,
1505
+ height: g,
1494
1506
  maxWidth: "none",
1495
1507
  "--main-color": p
1496
1508
  },
1497
1509
  children: /* @__PURE__ */ h("g", { transform: `translate(${l}, 0)`, children: [
1498
- /* @__PURE__ */ i("g", { children: v.map((x, L) => {
1510
+ /* @__PURE__ */ i("g", { children: v.map((x, S) => {
1499
1511
  const $ = b(x);
1500
1512
  return /* @__PURE__ */ h("g", { children: [
1501
1513
  /* @__PURE__ */ i(
1502
1514
  "line",
1503
1515
  {
1504
1516
  x1: 0,
1505
- x2: N - l * 2,
1517
+ x2: w - l * 2,
1506
1518
  y1: $,
1507
1519
  y2: $,
1508
1520
  stroke: "#ccc"
@@ -1519,15 +1531,15 @@ const nn = "_barChartContainer_1ly7h_2", Vt = {
1519
1531
  children: parseInt(x)
1520
1532
  }
1521
1533
  )
1522
- ] }, L);
1534
+ ] }, S);
1523
1535
  }) }),
1524
- n && n.length > 0 && n.map((x, L) => {
1525
- const $ = b(0) - b(x.value), w = L * (c + s), T = b(x.value);
1536
+ n && n.length > 0 && n.map((x, S) => {
1537
+ const $ = b(0) - b(x.value), k = S * (c + s), T = b(x.value);
1526
1538
  return /* @__PURE__ */ h("g", { children: [
1527
1539
  /* @__PURE__ */ i(
1528
1540
  "rect",
1529
1541
  {
1530
- x: w,
1542
+ x: k,
1531
1543
  y: T,
1532
1544
  width: c,
1533
1545
  height: $,
@@ -1538,22 +1550,22 @@ const nn = "_barChartContainer_1ly7h_2", Vt = {
1538
1550
  /* @__PURE__ */ i(
1539
1551
  "text",
1540
1552
  {
1541
- x: w + c / 2,
1542
- y: _ - g,
1553
+ x: k + c / 2,
1554
+ y: _ - C,
1543
1555
  textAnchor: "start",
1544
1556
  fill: r,
1545
1557
  fontSize: 12,
1546
- transform: `rotate(-90, ${w + c / 2}, ${_ - g})`,
1558
+ transform: `rotate(-90, ${k + c / 2}, ${_ - C})`,
1547
1559
  children: x.title
1548
1560
  }
1549
1561
  )
1550
- ] }, L);
1562
+ ] }, S);
1551
1563
  })
1552
1564
  ] })
1553
1565
  }
1554
1566
  )
1555
1567
  }
1556
- ) : (console.log("svgHeight: ", m), /* @__PURE__ */ i(
1568
+ ) : (console.log("svgHeight: ", g), /* @__PURE__ */ i(
1557
1569
  "div",
1558
1570
  {
1559
1571
  style: {
@@ -1562,20 +1574,20 @@ const nn = "_barChartContainer_1ly7h_2", Vt = {
1562
1574
  height: f ? `${f}px` : "100%",
1563
1575
  "--main-color": p
1564
1576
  },
1565
- className: Vt.barChartContainer,
1577
+ className: Ft.barChartContainer,
1566
1578
  children: /* @__PURE__ */ i(
1567
1579
  "svg",
1568
1580
  {
1569
- width: S,
1570
- height: m,
1581
+ width: L,
1582
+ height: g,
1571
1583
  style: {
1572
1584
  minWidth: "100%",
1573
- height: m,
1574
- width: k,
1585
+ height: g,
1586
+ width: N,
1575
1587
  maxWidth: "none"
1576
1588
  },
1577
1589
  children: /* @__PURE__ */ h("g", { transform: `translate(0,${u})`, children: [
1578
- /* @__PURE__ */ i("g", { transform: `translate(${t + l}, 0)`, children: v.map((x, L) => {
1590
+ /* @__PURE__ */ i("g", { transform: `translate(${t + l}, 0)`, children: v.map((x, S) => {
1579
1591
  const $ = y(x);
1580
1592
  return /* @__PURE__ */ h("g", { transform: `translate(${$}, 0)`, children: [
1581
1593
  /* @__PURE__ */ i(
@@ -1596,14 +1608,14 @@ const nn = "_barChartContainer_1ly7h_2", Vt = {
1596
1608
  children: parseInt(x)
1597
1609
  }
1598
1610
  )
1599
- ] }, L);
1611
+ ] }, S);
1600
1612
  }) }),
1601
- n && n.length > 0 && n.map((x, L) => {
1602
- const $ = y(x.value), w = L * (c + s);
1603
- return console.log("y: ", w), /* @__PURE__ */ h(
1613
+ n && n.length > 0 && n.map((x, S) => {
1614
+ const $ = y(x.value), k = S * (c + s);
1615
+ return console.log("y: ", k), /* @__PURE__ */ h(
1604
1616
  "g",
1605
1617
  {
1606
- transform: `translate(${t + l}, ${w})`,
1618
+ transform: `translate(${t + l}, ${k})`,
1607
1619
  children: [
1608
1620
  /* @__PURE__ */ i(
1609
1621
  "text",
@@ -1627,7 +1639,7 @@ const nn = "_barChartContainer_1ly7h_2", Vt = {
1627
1639
  )
1628
1640
  ]
1629
1641
  },
1630
- L
1642
+ S
1631
1643
  );
1632
1644
  })
1633
1645
  ] })
@@ -1659,7 +1671,7 @@ c2.propTypes = {
1659
1671
  containerHeight: e.number,
1660
1672
  minBarWidth: e.number
1661
1673
  };
1662
- const sn = "_graphicContainer_1ozwp_2", rn = "_titleContainer_1ozwp_13", Ft = {
1674
+ const sn = "_graphicContainer_1ozwp_2", rn = "_titleContainer_1ozwp_13", At = {
1663
1675
  graphicContainer: sn,
1664
1676
  titleContainer: rn
1665
1677
  }, on = ({
@@ -1673,20 +1685,20 @@ const sn = "_graphicContainer_1ozwp_2", rn = "_titleContainer_1ozwp_13", Ft = {
1673
1685
  numberOfDivisions: a = 7,
1674
1686
  leftPadding: l = -200,
1675
1687
  orientation: u = "horizontal",
1676
- xLabelPadding: g = 0,
1677
- mainColor: C
1688
+ xLabelPadding: C = 0,
1689
+ mainColor: m
1678
1690
  }) => {
1679
1691
  const { t: f } = A();
1680
1692
  return /* @__PURE__ */ h(
1681
1693
  "div",
1682
1694
  {
1683
- className: Ft.graphicContainer,
1695
+ className: At.graphicContainer,
1684
1696
  style: {
1685
1697
  ...s || {},
1686
1698
  paddingBottom: 40
1687
1699
  },
1688
1700
  children: [
1689
- /* @__PURE__ */ i("div", { className: Ft.titleContainer, children: /* @__PURE__ */ i("h2", { children: f(t) }) }),
1701
+ /* @__PURE__ */ i("div", { className: At.titleContainer, children: /* @__PURE__ */ i("h2", { children: f(t) }) }),
1690
1702
  /* @__PURE__ */ i(
1691
1703
  c2,
1692
1704
  {
@@ -1697,8 +1709,8 @@ const sn = "_graphicContainer_1ozwp_2", rn = "_titleContainer_1ozwp_13", Ft = {
1697
1709
  numberOfDivisions: a,
1698
1710
  leftPadding: l,
1699
1711
  orientation: u,
1700
- xLabelPadding: g,
1701
- mainColor: C
1712
+ xLabelPadding: C,
1713
+ mainColor: m
1702
1714
  }
1703
1715
  )
1704
1716
  ]
@@ -1739,7 +1751,7 @@ const an = "_indicatorsCategory_arwy3_2", ln = "_title_arwy3_5", cn = "_list_arw
1739
1751
  optionContainer: bn,
1740
1752
  customRadious: _n,
1741
1753
  optionText: vn
1742
- }, Lt = ({
1754
+ }, Mt = ({
1743
1755
  indicator: n,
1744
1756
  values: c = [],
1745
1757
  activeColor: s,
@@ -1750,12 +1762,12 @@ const an = "_indicatorsCategory_arwy3_2", ln = "_title_arwy3_5", cn = "_list_arw
1750
1762
  multiple: a = !1,
1751
1763
  onChangeType: l
1752
1764
  }) => {
1753
- const { t: u } = A(), { name: g, type: C, disabled: f } = n, [p, y] = I(!1);
1765
+ const { t: u } = A(), { name: C, type: m, disabled: f } = n, [p, y] = I(!1);
1754
1766
  O(() => {
1755
1767
  t && y(
1756
1768
  a ? t.some(
1757
- (_) => _.name == String(g)
1758
- ) : t.name == g
1769
+ (_) => _.name == String(C)
1770
+ ) : t.name == C
1759
1771
  );
1760
1772
  }, [t]);
1761
1773
  const b = () => /* @__PURE__ */ i("div", { className: U.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: U.switchType, children: /* @__PURE__ */ h("div", { className: U.switchTypeOptions, children: [
@@ -1817,7 +1829,7 @@ const an = "_indicatorsCategory_arwy3_2", ln = "_title_arwy3_5", cn = "_list_arw
1817
1829
  ]
1818
1830
  }
1819
1831
  )
1820
- ] }) }) }), v = () => /* @__PURE__ */ i("div", { className: U.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: U.switchType, children: /* @__PURE__ */ i("div", { className: U.switchTypeOptions, children: c.map((_, N) => /* @__PURE__ */ h(
1832
+ ] }) }) }), v = () => /* @__PURE__ */ i("div", { className: U.switchExternalContainer, children: /* @__PURE__ */ i("div", { className: U.switchType, children: /* @__PURE__ */ i("div", { className: U.switchTypeOptions, children: c.map((_, w) => /* @__PURE__ */ h(
1821
1833
  "div",
1822
1834
  {
1823
1835
  className: U.optionContainer,
@@ -1831,7 +1843,7 @@ const an = "_indicatorsCategory_arwy3_2", ln = "_title_arwy3_5", cn = "_list_arw
1831
1843
  /* @__PURE__ */ i("h4", { children: u(_.unit) })
1832
1844
  ]
1833
1845
  },
1834
- N
1846
+ w
1835
1847
  )) }) }) });
1836
1848
  return /* @__PURE__ */ h("div", { className: U.indicatorContainer, children: [
1837
1849
  /* @__PURE__ */ h(
@@ -1861,9 +1873,9 @@ const an = "_indicatorsCategory_arwy3_2", ln = "_title_arwy3_5", cn = "_list_arw
1861
1873
  opacity: f ? 0.5 : 1
1862
1874
  },
1863
1875
  children: /* @__PURE__ */ i(
1864
- kt,
1876
+ $t,
1865
1877
  {
1866
- i18nKey: g,
1878
+ i18nKey: C,
1867
1879
  components: { sup: /* @__PURE__ */ i("sup", {}) },
1868
1880
  shouldUnescape: !0
1869
1881
  }
@@ -1873,11 +1885,11 @@ const an = "_indicatorsCategory_arwy3_2", ln = "_title_arwy3_5", cn = "_list_arw
1873
1885
  ]
1874
1886
  }
1875
1887
  ),
1876
- (t == null ? void 0 : t.name) === g && C === "both" && /* @__PURE__ */ i("div", { children: b() }),
1877
- (t == null ? void 0 : t.name) === g && C === "twoUnits" && /* @__PURE__ */ i("div", { children: v() })
1888
+ (t == null ? void 0 : t.name) === C && m === "both" && /* @__PURE__ */ i("div", { children: b() }),
1889
+ (t == null ? void 0 : t.name) === C && m === "twoUnits" && /* @__PURE__ */ i("div", { children: v() })
1878
1890
  ] });
1879
1891
  };
1880
- Lt.propTypes = {
1892
+ Mt.propTypes = {
1881
1893
  indicator: e.shape({
1882
1894
  name: e.string,
1883
1895
  type: e.string
@@ -1889,7 +1901,7 @@ Lt.propTypes = {
1889
1901
  multiple: e.bool,
1890
1902
  onClickIndicator: e.func
1891
1903
  };
1892
- const xn = "_indicatorsSubCategory_1nuug_2", wn = "_list_1nuug_11", At = {
1904
+ const xn = "_indicatorsSubCategory_1nuug_2", wn = "_list_1nuug_11", Ot = {
1893
1905
  indicatorsSubCategory: xn,
1894
1906
  list: wn
1895
1907
  }, d2 = ({
@@ -1903,16 +1915,16 @@ const xn = "_indicatorsSubCategory_1nuug_2", wn = "_list_1nuug_11", At = {
1903
1915
  activeIndicator: a,
1904
1916
  onClickIndicator: l,
1905
1917
  multiple: u,
1906
- activeIndicatorType: g,
1907
- onChangeType: C
1918
+ activeIndicatorType: C,
1919
+ onChangeType: m
1908
1920
  }) => {
1909
1921
  const { t: f } = A(), [p, y] = I(!1);
1910
1922
  return O(() => {
1911
1923
  y(t == d);
1912
1924
  }, [t, d]), /* @__PURE__ */ h(
1913
- $t.div,
1925
+ St.div,
1914
1926
  {
1915
- className: At.indicatorsSubCategory,
1927
+ className: Ot.indicatorsSubCategory,
1916
1928
  initial: { height: "43px" },
1917
1929
  animate: { height: p ? "auto" : "43px" },
1918
1930
  transition: { duration: 0.4 },
@@ -1927,8 +1939,8 @@ const xn = "_indicatorsSubCategory_1nuug_2", wn = "_list_1nuug_11", At = {
1927
1939
  }
1928
1940
  )
1929
1941
  ] }) }),
1930
- c && /* @__PURE__ */ i("div", { className: At.list, children: c == null ? void 0 : c.map((b, v) => /* @__PURE__ */ i(
1931
- Lt,
1942
+ c && /* @__PURE__ */ i("div", { className: Ot.list, children: c == null ? void 0 : c.map((b, v) => /* @__PURE__ */ i(
1943
+ Mt,
1932
1944
  {
1933
1945
  indicator: b,
1934
1946
  defaultColor: s,
@@ -1936,8 +1948,8 @@ const xn = "_indicatorsSubCategory_1nuug_2", wn = "_list_1nuug_11", At = {
1936
1948
  activeIndicator: a,
1937
1949
  onClickIndicator: l,
1938
1950
  multiple: u,
1939
- activeIndicatorType: g,
1940
- onChangeType: C
1951
+ activeIndicatorType: C,
1952
+ onChangeType: m
1941
1953
  },
1942
1954
  "indicator" + v
1943
1955
  )) })
@@ -1968,8 +1980,8 @@ const u2 = ({
1968
1980
  onClickSubCategory: a,
1969
1981
  activeIndicator: l,
1970
1982
  onClickIndicator: u,
1971
- multiple: g,
1972
- activeIndicatorType: C,
1983
+ multiple: C,
1984
+ activeIndicatorType: m,
1973
1985
  onChangeType: f
1974
1986
  }) => {
1975
1987
  var v;
@@ -1977,7 +1989,7 @@ const u2 = ({
1977
1989
  return O(() => {
1978
1990
  b(o === c);
1979
1991
  }, [o, c]), /* @__PURE__ */ h(
1980
- $t.div,
1992
+ St.div,
1981
1993
  {
1982
1994
  className: Xe.indicatorsCategory,
1983
1995
  initial: { height: "53px" },
@@ -2000,26 +2012,26 @@ const u2 = ({
2000
2012
  )
2001
2013
  ] }),
2002
2014
  n.subcategories ? n.subcategories.map(
2003
- ({ name: _, subcategory: N, indicators: S }, m) => /* @__PURE__ */ i(
2015
+ ({ name: _, subcategory: w, indicators: L }, g) => /* @__PURE__ */ i(
2004
2016
  d2,
2005
2017
  {
2006
- id: N,
2018
+ id: w,
2007
2019
  activeSubCategory: d,
2008
2020
  subcName: _,
2009
2021
  onClickSubCategory: a,
2010
2022
  activeIndicator: l,
2011
2023
  onClickIndicator: u,
2012
- multiple: g,
2024
+ multiple: C,
2013
2025
  activeColor: s,
2014
2026
  defaultColor: r,
2015
- indicators: S,
2016
- activeIndicatorType: C,
2027
+ indicators: L,
2028
+ activeIndicatorType: m,
2017
2029
  onChangeType: f
2018
2030
  },
2019
- `subcKey ${m}`
2031
+ `subcKey ${g}`
2020
2032
  )
2021
- ) : /* @__PURE__ */ i("div", { className: Xe.list, children: (v = n.indicators) == null ? void 0 : v.map((_, N) => /* @__PURE__ */ i(
2022
- Lt,
2033
+ ) : /* @__PURE__ */ i("div", { className: Xe.list, children: (v = n.indicators) == null ? void 0 : v.map((_, w) => /* @__PURE__ */ i(
2034
+ Mt,
2023
2035
  {
2024
2036
  indicator: _,
2025
2037
  values: _.type == "twoUnits" && _.values,
@@ -2027,11 +2039,11 @@ const u2 = ({
2027
2039
  defaultColor: r,
2028
2040
  activeIndicator: l,
2029
2041
  onClickIndicator: u,
2030
- multiple: g,
2031
- activeIndicatorType: C,
2042
+ multiple: C,
2043
+ activeIndicatorType: m,
2032
2044
  onChangeType: f
2033
2045
  },
2034
- `indicator${N}`
2046
+ `indicator${w}`
2035
2047
  )) })
2036
2048
  ]
2037
2049
  }
@@ -2051,7 +2063,7 @@ u2.propTypes = {
2051
2063
  activeColor: e.string,
2052
2064
  defaultColor: e.string
2053
2065
  };
2054
- const Nn = "_indicatorsList_13b3m_2", kn = "_title_13b3m_6", Ot = {
2066
+ const Nn = "_indicatorsList_13b3m_2", kn = "_title_13b3m_6", Rt = {
2055
2067
  indicatorsList: Nn,
2056
2068
  title: kn
2057
2069
  }, $n = ({
@@ -2068,26 +2080,26 @@ const Nn = "_indicatorsList_13b3m_2", kn = "_title_13b3m_6", Ot = {
2068
2080
  changeIndType: d,
2069
2081
  activeIndicatorType: a
2070
2082
  }) => {
2071
- const { t: l } = A(), [u, g] = I(), [C, f] = I(), [p, y] = I(), b = (m) => {
2072
- g(u == m ? null : m);
2073
- }, v = (m) => {
2074
- f(C == m ? null : m);
2075
- }, _ = ({ indicator: m }) => {
2076
- N(m);
2077
- }, N = (m) => {
2083
+ const { t: l } = A(), [u, C] = I(), [m, f] = I(), [p, y] = I(), b = (g) => {
2084
+ C(u == g ? null : g);
2085
+ }, v = (g) => {
2086
+ f(m == g ? null : g);
2087
+ }, _ = ({ indicator: g }) => {
2088
+ w(g);
2089
+ }, w = (g) => {
2078
2090
  if (!t)
2079
2091
  y(
2080
- (p == null ? void 0 : p.name) == m.name ? null : m
2092
+ (p == null ? void 0 : p.name) == g.name ? null : g
2081
2093
  );
2082
2094
  else {
2083
- let k = p && p.length > 0 ? [...p] : [];
2095
+ let N = p && p.length > 0 ? [...p] : [];
2084
2096
  y(
2085
- k != null && k.some(
2086
- (x) => x.name == m.name
2087
- ) ? k.filter(
2088
- (x) => x.name != String(m.name)
2089
- ) : [...k, m]
2090
- ), m.type == "both" && d("cat");
2097
+ N != null && N.some(
2098
+ (x) => x.name == g.name
2099
+ ) ? N.filter(
2100
+ (x) => x.name != String(g.name)
2101
+ ) : [...N, g]
2102
+ ), g.type == "both" && d("cat");
2091
2103
  }
2092
2104
  };
2093
2105
  O(() => {
@@ -2095,42 +2107,42 @@ const Nn = "_indicatorsList_13b3m_2", kn = "_title_13b3m_6", Ot = {
2095
2107
  }, [p]), k2(() => {
2096
2108
  if (o && !p)
2097
2109
  if (t && o && Array.isArray(o)) {
2098
- let m = p && p.length > 0 ? [...p] : [];
2099
- y([...m, ...o]), S(o[0].name);
2110
+ let g = p && p.length > 0 ? [...p] : [];
2111
+ y([...g, ...o]), L(o[0].name);
2100
2112
  } else
2101
- N(o), S(o.name);
2113
+ w(o), L(o.name);
2102
2114
  }, []), O(() => {
2103
2115
  if (o != p)
2104
2116
  if (t && o && Array.isArray(o)) {
2105
- let m = p && p.length > 0 ? [...p] : [];
2106
- y([...m, ...o]), S(o[0].name);
2117
+ let g = p && p.length > 0 ? [...p] : [];
2118
+ y([...g, ...o]), L(o[0].name);
2107
2119
  } else
2108
- N(o), S(o.name);
2120
+ w(o), L(o.name);
2109
2121
  }, [o]);
2110
- const S = (m) => {
2111
- const k = n.find((x) => {
2122
+ const L = (g) => {
2123
+ const N = n.find((x) => {
2112
2124
  if (x.subcategories) {
2113
- let L = x.subcategories.find(
2114
- ($) => $.indicators.find((w) => w.name == m)
2125
+ let S = x.subcategories.find(
2126
+ ($) => $.indicators.find((k) => k.name == g)
2115
2127
  );
2116
- if (L)
2117
- return f(L.subcategory), L;
2128
+ if (S)
2129
+ return f(S.subcategory), S;
2118
2130
  } else
2119
- return x.indicators.some((L) => L.name == m);
2131
+ return x.indicators.some((S) => S.name == g);
2120
2132
  });
2121
- k && g(k.category);
2133
+ N && C(N.category);
2122
2134
  };
2123
- return /* @__PURE__ */ h("div", { className: Ot.indicatorsList, children: [
2124
- /* @__PURE__ */ i("h2", { className: Ot.title, style: { color: s }, children: l("indicators.indicators") }),
2125
- n.map((m, k) => /* @__PURE__ */ i(
2135
+ return /* @__PURE__ */ h("div", { className: Rt.indicatorsList, children: [
2136
+ /* @__PURE__ */ i("h2", { className: Rt.title, style: { color: s }, children: l("indicators.indicators") }),
2137
+ n.map((g, N) => /* @__PURE__ */ i(
2126
2138
  u2,
2127
2139
  {
2128
- id: m.category,
2129
- cat: m,
2140
+ id: g.category,
2141
+ cat: g,
2130
2142
  onClickCategory: b,
2131
2143
  activeCategory: u,
2132
2144
  onClickSubCategory: v,
2133
- activeSubCategory: C,
2145
+ activeSubCategory: m,
2134
2146
  onClickIndicator: _,
2135
2147
  activeIndicator: p,
2136
2148
  activeColor: c,
@@ -2140,7 +2152,7 @@ const Nn = "_indicatorsList_13b3m_2", kn = "_title_13b3m_6", Ot = {
2140
2152
  onChangeType: d,
2141
2153
  activeIndicatorType: a
2142
2154
  },
2143
- `categoryKey${k}`
2155
+ `categoryKey${N}`
2144
2156
  ))
2145
2157
  ] });
2146
2158
  };
@@ -2271,7 +2283,7 @@ const Vn = "_legendContainer_4ndr8_3", Fn = "_closeButton_4ndr8_41", An = "_titl
2271
2283
  marginTop: s && s.length > 0 && u === 0 ? "30px" : u > 0 ? "20px" : "0px"
2272
2284
  },
2273
2285
  children: l.title && /* @__PURE__ */ i(
2274
- kt,
2286
+ $t,
2275
2287
  {
2276
2288
  i18nKey: l.title,
2277
2289
  components: { sup: /* @__PURE__ */ i("sup", {}) },
@@ -2309,7 +2321,7 @@ const Vn = "_legendContainer_4ndr8_3", Fn = "_closeButton_4ndr8_41", An = "_titl
2309
2321
  ] })
2310
2322
  ] })
2311
2323
  ] }) : l.categories && l.categories.length > 0 && /* @__PURE__ */ i("div", { className: K.gridContainer, children: l.categories.map(
2312
- ({ title: g, color: C }, f) => /* @__PURE__ */ h(
2324
+ ({ title: C, color: m }, f) => /* @__PURE__ */ h(
2313
2325
  "div",
2314
2326
  {
2315
2327
  className: K.elementLegendContainer,
@@ -2318,11 +2330,11 @@ const Vn = "_legendContainer_4ndr8_3", Fn = "_closeButton_4ndr8_41", An = "_titl
2318
2330
  "div",
2319
2331
  {
2320
2332
  className: K.colorDot,
2321
- style: { backgroundColor: C }
2333
+ style: { backgroundColor: m }
2322
2334
  }
2323
2335
  ),
2324
2336
  /* @__PURE__ */ h("div", { className: K.titleLegendElement, children: [
2325
- a(g),
2337
+ a(C),
2326
2338
  " "
2327
2339
  ] })
2328
2340
  ]
@@ -2384,11 +2396,11 @@ Un.propTypes = {
2384
2396
  buttonTitle: e.string,
2385
2397
  onClickClose: e.func
2386
2398
  };
2387
- const Gn = "_logo_1ewa6_2", Rt = {
2399
+ const Gn = "_logo_1ewa6_2", It = {
2388
2400
  logo: Gn
2389
2401
  }, Xn = ({ src: n, alt: c, href: s }) => {
2390
2402
  const { t: r } = A(), t = /* @__PURE__ */ i("img", { src: n, alt: r(c) });
2391
- return s ? /* @__PURE__ */ i("div", { className: Rt.logo, children: /* @__PURE__ */ i("a", { href: s, children: t }) }) : /* @__PURE__ */ i("div", { className: Rt.logo, children: t });
2403
+ return s ? /* @__PURE__ */ i("div", { className: It.logo, children: /* @__PURE__ */ i("a", { href: s, children: t }) }) : /* @__PURE__ */ i("div", { className: It.logo, children: t });
2392
2404
  };
2393
2405
  Xn.propTypes = {
2394
2406
  src: e.string.isRequired,
@@ -2411,12 +2423,12 @@ const Yn = ({
2411
2423
  interactiveLayers: a = [],
2412
2424
  popUp: l = !1,
2413
2425
  sources: u = [],
2414
- layers: g = []
2426
+ layers: C = []
2415
2427
  }) => {
2416
- const C = Y(), [f, p] = I(null), y = M2((b) => b.mapState.showTexts);
2428
+ const m = Y(), [f, p] = I(null), y = M2((b) => b.mapState.showTexts);
2417
2429
  return O(() => {
2418
- if (C.current) {
2419
- const b = C.current.getMap();
2430
+ if (m.current) {
2431
+ const b = m.current.getMap();
2420
2432
  b.getStyle().layers.map((_) => {
2421
2433
  _.type == "symbol" && _.id != "professionals" && (y ? b.setLayoutProperty(_.id, "visibility", "visible") : b.setLayoutProperty(_.id, "visibility", "none"));
2422
2434
  });
@@ -2425,7 +2437,7 @@ const Yn = ({
2425
2437
  T2,
2426
2438
  {
2427
2439
  initialViewState: n,
2428
- ref: C,
2440
+ ref: m,
2429
2441
  hash: !1,
2430
2442
  maxZoom: c,
2431
2443
  minZoom: s,
@@ -2437,14 +2449,14 @@ const Yn = ({
2437
2449
  D2,
2438
2450
  {
2439
2451
  ...b,
2440
- children: g.length && g.map((_, N) => {
2452
+ children: C.length && C.map((_, w) => {
2441
2453
  if (_.sourceId == b.id) return /* @__PURE__ */ i(
2442
2454
  B2,
2443
2455
  {
2444
2456
  ..._.layer,
2445
2457
  beforeId: t
2446
2458
  },
2447
- N
2459
+ w
2448
2460
  );
2449
2461
  })
2450
2462
  },
@@ -2512,14 +2524,14 @@ Yn.propTypes = {
2512
2524
  };
2513
2525
  const ei = "_mapContainer_b0pyr_3", ti = {
2514
2526
  mapContainer: ei
2515
- }, ni = "_FeaturePopUp_mt8l5_2", ii = "_title_mt8l5_9", It = {
2527
+ }, ni = "_FeaturePopUp_mt8l5_2", ii = "_title_mt8l5_9", Et = {
2516
2528
  FeaturePopUp: ni,
2517
2529
  title: ii
2518
2530
  }, si = ({ props: n }) => {
2519
2531
  const { t: c } = A();
2520
- return /* @__PURE__ */ i("div", { className: It.FeaturePopUp, children: n.map((s) => /* @__PURE__ */ h("p", { children: [
2521
- /* @__PURE__ */ h("span", { className: It.title, children: [
2522
- /* @__PURE__ */ i(kt, { i18nKey: s.name, components: { sup: /* @__PURE__ */ i("sup", {}) }, shouldUnescape: !0 }),
2532
+ return /* @__PURE__ */ i("div", { className: Et.FeaturePopUp, children: n.map((s) => /* @__PURE__ */ h("p", { children: [
2533
+ /* @__PURE__ */ h("span", { className: Et.title, children: [
2534
+ /* @__PURE__ */ i($t, { i18nKey: s.name, components: { sup: /* @__PURE__ */ i("sup", {}) }, shouldUnescape: !0 }),
2523
2535
  ":"
2524
2536
  ] }),
2525
2537
  isNaN(s.value) ? /* @__PURE__ */ i(et, { children: c(s.value) }) : /* @__PURE__ */ h(et, { children: [
@@ -2539,8 +2551,8 @@ const ei = "_mapContainer_b0pyr_3", ti = {
2539
2551
  interactiveLayers: a = [],
2540
2552
  sources: l = [],
2541
2553
  layers: u = [],
2542
- popUpParams: g,
2543
- onClosePopUp: C,
2554
+ popUpParams: C,
2555
+ onClosePopUp: m,
2544
2556
  showTexts: f,
2545
2557
  hash: p = !1
2546
2558
  }) => {
@@ -2574,7 +2586,7 @@ const ei = "_mapContainer_b0pyr_3", ti = {
2574
2586
  R2,
2575
2587
  {
2576
2588
  ...b,
2577
- children: u.length && u.map((_, N) => {
2589
+ children: u.length && u.map((_, w) => {
2578
2590
  if (_.sourceId == b.id) return /* @__PURE__ */ i(
2579
2591
  I2,
2580
2592
  {
@@ -2585,20 +2597,20 @@ const ei = "_mapContainer_b0pyr_3", ti = {
2585
2597
  visibility: _.layer.visibility || "visible"
2586
2598
  }
2587
2599
  },
2588
- N
2600
+ w
2589
2601
  );
2590
2602
  })
2591
2603
  },
2592
2604
  v
2593
2605
  )),
2594
2606
  /* @__PURE__ */ i(E2, { position: "bottom-right", visualizePitch: !0 }),
2595
- g && /* @__PURE__ */ i(
2607
+ C && /* @__PURE__ */ i(
2596
2608
  q2,
2597
2609
  {
2598
- longitude: g.lng,
2599
- latitude: g.lat,
2600
- onClose: C,
2601
- children: /* @__PURE__ */ i(si, { props: g.props })
2610
+ longitude: C.lng,
2611
+ latitude: C.lat,
2612
+ onClose: m,
2613
+ children: /* @__PURE__ */ i(si, { props: C.props })
2602
2614
  }
2603
2615
  )
2604
2616
  ]
@@ -2749,19 +2761,19 @@ const hi = z2({
2749
2761
  console.log("year changed to ", u);
2750
2762
  }
2751
2763
  }) => {
2752
- const g = t || ((m, k) => {
2764
+ const C = t || ((g, N) => {
2753
2765
  const x = [];
2754
- x.push({ label: "", value: m });
2755
- const L = Math.ceil(m / 10) * 10;
2756
- for (let $ = L; $ < k; $ += 10)
2766
+ x.push({ label: "", value: g });
2767
+ const S = Math.ceil(g / 10) * 10;
2768
+ for (let $ = S; $ < N; $ += 10)
2757
2769
  x.push({ label: "", value: $ });
2758
- return x[x.length - 1].value !== k && x.push({ label: "", value: k }), x;
2759
- })(s, r), [C, f] = I(c);
2770
+ return x[x.length - 1].value !== N && x.push({ label: "", value: N }), x;
2771
+ })(s, r), [m, f] = I(c);
2760
2772
  O(() => {
2761
2773
  f(c);
2762
2774
  }, [c]);
2763
- const p = (m, k) => {
2764
- f(k), l(k);
2775
+ const p = (g, N) => {
2776
+ f(N), l(N);
2765
2777
  }, [y, b] = I(!1);
2766
2778
  O(() => {
2767
2779
  c && console.log("defaultYear changed:", c), c && f(c);
@@ -2773,30 +2785,30 @@ const hi = z2({
2773
2785
  }, _ = () => {
2774
2786
  b(!1);
2775
2787
  };
2776
- ((m, k, x = []) => {
2777
- const L = Y();
2788
+ ((g, N, x = []) => {
2789
+ const S = Y();
2778
2790
  O(() => {
2779
- L.current = m;
2780
- }, [m]), O(() => {
2791
+ S.current = g;
2792
+ }, [g]), O(() => {
2781
2793
  function $() {
2782
- L.current();
2794
+ S.current();
2783
2795
  }
2784
2796
  {
2785
- let w = setInterval($, k);
2786
- return () => clearInterval(w);
2797
+ let k = setInterval($, N);
2798
+ return () => clearInterval(k);
2787
2799
  }
2788
- }, [k, ...x]);
2800
+ }, [N, ...x]);
2789
2801
  })(
2790
2802
  () => {
2791
- y && f((m) => {
2792
- const k = m + 1;
2793
- return k > r ? (l(s), s) : (l(k), k);
2803
+ y && f((g) => {
2804
+ const N = g + 1;
2805
+ return N > r ? (l(s), s) : (l(N), N);
2794
2806
  });
2795
2807
  },
2796
2808
  1e3,
2797
2809
  [s, r, y]
2798
2810
  );
2799
- const S = Z2({
2811
+ const L = Z2({
2800
2812
  palette: {
2801
2813
  primary: {
2802
2814
  main: "#605b56"
@@ -2819,7 +2831,7 @@ const hi = z2({
2819
2831
  }
2820
2832
  }
2821
2833
  });
2822
- return /* @__PURE__ */ i(H2, { theme: S, children: /* @__PURE__ */ h(
2834
+ return /* @__PURE__ */ i(H2, { theme: L, children: /* @__PURE__ */ h(
2823
2835
  j2,
2824
2836
  {
2825
2837
  sx: { width: 400 },
@@ -2831,10 +2843,10 @@ const hi = z2({
2831
2843
  P2,
2832
2844
  {
2833
2845
  "aria-label": "TimeSlider",
2834
- value: C,
2846
+ value: m,
2835
2847
  valueLabelDisplay: "on",
2836
2848
  step: 1,
2837
- marks: g,
2849
+ marks: C,
2838
2850
  min: s,
2839
2851
  max: r,
2840
2852
  onChange: p,
@@ -2879,7 +2891,7 @@ const vi = "_TopNavMenuContainer_12mp4_2", xi = "_topNavOptions_12mp4_13", wi =
2879
2891
  }) => {
2880
2892
  const { t: o } = A();
2881
2893
  return /* @__PURE__ */ i("div", { className: mt.TopNavMenuContainer, style: { ...c }, children: n.map((d, a) => /* @__PURE__ */ i(
2882
- e2,
2894
+ t2,
2883
2895
  {
2884
2896
  to: d.url,
2885
2897
  className: ({ isActive: l }) => `${mt.topNavOptions} ${l ? mt.active : ""} `,
@@ -2959,23 +2971,23 @@ const Li = "_elementSelector_1ox68_2", Mi = "_header_1ox68_14", Ti = "_nameDateC
2959
2971
  moreInfoContainer: Zi,
2960
2972
  moreInfo: ji
2961
2973
  }, Hi = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Eliminar'%3e%3ccircle%20id='Ellipse%20220'%20cx='15.5106'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M20.8581%2010.5548H17.5491V10.4015C17.5491%209.17493%2016.6257%208.255%2015.4714%208.255C14.3171%208.255%2013.3167%209.17493%2013.3167%2010.4015V10.5548H10.0846C9.69985%2010.5548%209.46899%2010.7848%209.46899%2011.1681C9.46899%2011.5514%209.69985%2011.7814%2010.0846%2011.7814H10.2385V21.2106C10.2385%2022.3605%2011.162%2023.3571%2012.3932%2023.3571H18.5495C19.7038%2023.3571%2020.7042%2022.4372%2020.7042%2021.2106V11.7047H20.9351C21.2429%2011.7047%2021.5507%2011.4747%2021.5507%2011.0914C21.5507%2010.7081%2021.1659%2010.5548%2020.8581%2010.5548ZM14.471%2010.4015C14.471%209.86488%2014.9327%209.40491%2015.4714%209.40491C16.01%209.40491%2016.3948%209.86488%2016.3948%2010.4015V10.5548H14.471V10.4015ZM16.3948%2018.8342V15.0011C16.3948%2014.6178%2016.6257%2014.3878%2017.0104%2014.3878C17.3952%2014.3878%2017.6261%2014.6178%2017.6261%2015.0011V18.8342C17.6261%2019.1408%2017.3952%2019.4474%2017.0104%2019.4474C16.6257%2019.4474%2016.3948%2019.1408%2016.3948%2018.8342ZM13.3167%2018.8342V15.0011C13.3167%2014.6178%2013.5475%2014.3878%2013.9323%2014.3878C14.3171%2014.3878%2014.5479%2014.6178%2014.5479%2015.0011V18.8342C14.5479%2019.1408%2014.3171%2019.4474%2013.9323%2019.4474C13.5475%2019.4474%2013.3167%2019.1408%2013.3167%2018.8342Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", Wi = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209259'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.3062'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203973'%3e%3cg%20id='Rectangle%20495'%3e%3cmask%20id='path-2-inside-1_4451_10560'%20fill='white'%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'/%3e%3c/mask%3e%3crect%20x='10.4033'%20y='7.70422'%20width='12.8'%20height='12.8'%20rx='1'%20stroke='%23605B56'%20stroke-width='3'%20mask='url(%23path-2-inside-1_4451_10560)'/%3e%3c/g%3e%3cg%20id='Group%203972'%3e%3crect%20id='Rectangle%20496'%20x='7.2041'%20y='10.9042'%20width='12.8'%20height='12.8'%20rx='1'%20fill='%23605B56'/%3e%3cpath%20id='+'%20d='M16.3785%2018.0509H14.3838V20.0776H12.9331V18.0509H10.9385V16.6749H12.9331V14.6376H14.3838V16.6749H16.3785V18.0509Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Ki = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%209260'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.8063'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='Vector'%20d='M8.20744%208.70422C7.34769%208.70422%206.88873%209.71735%207.45568%2010.3637L13.3518%2017.085C13.5118%2017.2675%2013.6%2017.5018%2013.6%2017.7445V23.2443C13.6%2023.6283%2013.8199%2023.9783%2014.1658%2024.1451L15.9658%2025.0128C16.6297%2025.3329%2017.4%2024.8491%2017.4%2024.112V17.7445C17.4%2017.5018%2017.4882%2017.2675%2017.6482%2017.085L23.5443%2010.3637C24.1113%209.71735%2023.6523%208.70422%2022.7926%208.70422H8.20744Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e", Ui = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206725'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.7148'%20r='14.3521'%20stroke='%23605B56'%20stroke-opacity='0.5'%20stroke-width='1.5'/%3e%3cg%20id='Group%206724'%3e%3cpath%20id='Vector'%20d='M17.4114%2023.3302C17.4114%2024.5419%2016.4269%2027.4724%2015.2126%2027.4724C13.9982%2027.4724%2013.0137%2024.5419%2013.0137%2023.3302C13.0137%2022.7483%2013.2453%2022.1902%2013.6577%2021.7787C14.0701%2021.3673%2014.6294%2021.1361%2015.2126%2021.1361C15.7957%2021.1361%2016.355%2021.3673%2016.7674%2021.7787C17.1798%2022.1902%2017.4114%2022.7483%2017.4114%2023.3302Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union'%20d='M15.2919%2020.6088H11.2899L11.289%2020.6078C10.6273%2020.7718%209.36856%2021.3396%209.39931%2023.2845C9.39931%2023.2845%207.41254%2021.7976%208.17372%2019.0179L8.25575%2018.7445C8.59675%2017.7118%209.66004%2016.7306%2010.7714%2016.2435C10.7337%2012.8666%2011.5045%208.19644%2015.2919%204.724V20.6088ZM10.6835%2017.4164C10.5323%2017.5091%2010.3819%2017.6125%2010.2372%2017.7279C9.77215%2018.099%209.43634%2018.5195%209.26747%2018.8988L9.20595%2019.058C8.95666%2019.8145%208.9632%2020.4347%209.07607%2020.9291C9.34144%2020.5645%209.66233%2020.2832%209.9999%2020.0746C10.2365%2019.9284%2010.4715%2019.8251%2010.6835%2019.7494V17.4164Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Union_2'%20d='M15.293%204.724C19.0931%208.20817%2019.8548%2012.8981%2019.8115%2016.2777C20.8629%2016.7859%2021.8411%2017.7218%2022.165%2018.7045C23.1398%2021.6599%2021.0225%2023.2445%2021.0225%2023.2445C21.051%2021.4361%2019.9648%2020.8184%2019.2803%2020.6088H15.293V4.724ZM19.7676%2017.3949C19.7586%2017.5313%2019.7493%2017.6646%2019.7383%2017.7943V19.7094C19.9502%2019.7851%2020.1854%2019.8884%2020.4219%2020.0345C20.7595%2020.2432%2021.0794%2020.5253%2021.3447%2020.89C21.4466%2020.444%2021.4627%2019.8956%2021.2812%2019.2367L21.2148%2019.0179C21.0772%2018.6004%2020.7157%2018.1118%2020.1846%2017.6879C20.0493%2017.58%2019.9088%2017.4829%2019.7676%2017.3949Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cg%20id='Vector_2'%3e%3cpath%20d='M12.541%208.28445C12.541%208.28445%2014.8218%209.81829%2018.0434%208.28445C18.0434%208.28445%2016.9978%206.03912%2015.2919%204.61267C15.2919%204.61267%2013.7894%205.92343%2012.541%208.28445Z'%20fill='%23FDFDFD'/%3e%3cpath%20d='M15.3057%205.29626C15.9532%205.9116%2016.4918%206.63792%2016.8867%207.2533C17.0801%207.55466%2017.2355%207.82605%2017.3516%208.03748C16.0573%208.54342%2014.966%208.52427%2014.1807%208.36951C13.781%208.29074%2013.4584%208.17533%2013.2266%208.07556C13.7607%207.14513%2014.32%206.40895%2014.7646%205.88806C14.9759%205.64056%2015.1621%205.44302%2015.3057%205.29626Z'%20stroke='%23605B56'%20stroke-opacity='0.5'/%3e%3c/g%3e%3cpath%20id='Vector_3'%20d='M17.6984%2012.9862C17.6985%2013.4539%2017.5596%2013.9111%2017.2993%2014.3001C17.039%2014.689%2016.669%2014.9922%2016.236%2015.1712C15.803%2015.3503%2015.3265%2015.3972%2014.8668%2015.3061C14.4071%2015.2149%2013.9848%2014.9898%2013.6533%2014.6591C13.3218%2014.3285%2013.0961%2013.9072%2013.0046%2013.4485C12.9131%2012.9898%2012.96%2012.5143%2013.1393%2012.0822C13.3186%2011.6501%2013.6224%2011.2808%2014.0121%2011.021C14.4018%2010.7611%2014.86%2010.6224%2015.3287%2010.6224C15.957%2010.6224%2016.5597%2010.8715%2017.004%2011.3147C17.4484%2011.758%2017.6982%2012.3593%2017.6984%2012.9862Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_4'%20d='M17.1358%2013.0038C17.1358%2013.36%2017.0299%2013.7083%2016.8316%2014.0045C16.6332%2014.3007%2016.3513%2014.5316%2016.0214%2014.6679C15.6916%2014.8042%2015.3286%2014.8399%2014.9784%2014.7704C14.6282%2014.7009%2014.3066%2014.5294%2014.0541%2014.2774C13.8017%2014.0255%2013.6297%2013.7046%2013.5601%2013.3552C13.4904%2013.0058%2013.5262%2012.6436%2013.6628%2012.3145C13.7994%2011.9853%2014.0308%2011.704%2014.3277%2011.5061C14.6245%2011.3082%2014.9736%2011.2025%2015.3306%2011.2025C15.8094%2011.2025%2016.2685%2011.3923%2016.6071%2011.7301C16.9456%2012.0679%2017.1358%2012.526%2017.1358%2013.0038Z'%20fill='%23605B56'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_5'%20d='M16.7061%2013.2093C16.6508%2013.2093%2016.5978%2013.1874%2016.5588%2013.1485C16.5197%2013.1095%2016.4978%2013.0566%2016.4978%2013.0015C16.4974%2012.7236%2016.3866%2012.4572%2016.1897%2012.2607C15.9928%2012.0642%2015.7258%2011.9537%2015.4473%2011.9533C15.4175%2011.9582%2015.3869%2011.9566%2015.3578%2011.9485C15.3287%2011.9405%2015.3017%2011.9262%2015.2786%2011.9067C15.2556%2011.8872%2015.237%2011.8629%2015.2244%2011.8356C15.2117%2011.8082%2015.2051%2011.7784%2015.2051%2011.7482C15.2051%2011.7181%2015.2117%2011.6883%2015.2244%2011.6609C15.237%2011.6336%2015.2556%2011.6093%2015.2786%2011.5898C15.3017%2011.5703%2015.3287%2011.556%2015.3578%2011.5479C15.3869%2011.5399%2015.4175%2011.5383%2015.4473%2011.5432C15.8348%2011.5435%2016.2063%2011.6973%2016.4803%2011.9707C16.7543%2012.2441%2016.9084%2012.6148%2016.9088%2013.0015C16.9088%2013.0557%2016.8876%2013.1077%2016.8498%2013.1465C16.8119%2013.1854%2016.7603%2013.2079%2016.7061%2013.2093Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_6'%20d='M16.8082%2013.6607C16.8082%2013.7106%2016.7934%2013.7594%2016.7656%2013.8008C16.7378%2013.8423%2016.6984%2013.8746%2016.6522%2013.8937C16.606%2013.9128%2016.5552%2013.9178%2016.5062%2013.9081C16.4571%2013.8983%2016.4121%2013.8743%2016.3768%2013.8391C16.3414%2013.8038%2016.3173%2013.7589%2016.3076%2013.7099C16.2978%2013.661%2016.3028%2013.6103%2016.322%2013.5642C16.3411%2013.5182%2016.3735%2013.4788%2016.4151%2013.4511C16.4566%2013.4234%2016.5055%2013.4086%2016.5555%2013.4086C16.6225%2013.4086%2016.6868%2013.4351%2016.7342%2013.4824C16.7816%2013.5297%2016.8082%2013.5939%2016.8082%2013.6607Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_7'%20d='M15.6008%2016.0612C15.5633%2016.0097%2015.5141%2015.9677%2015.4573%2015.9388C15.4005%2015.9099%2015.3376%2015.8949%2015.2738%2015.8949H15.1898C15.126%2015.8948%2015.0631%2015.9099%2015.0062%2015.9388C14.9494%2015.9677%2014.9002%2016.0096%2014.8627%2016.0612C14.8627%2016.0612%2013.6074%2017.4973%2014.1816%2021.0915C14.4989%2023.0777%2015.2314%2023.6694%2015.2314%2023.6694C15.2314%2023.6694%2015.9639%2023.0777%2016.2819%2021.0915C16.8561%2017.4973%2015.6008%2016.0612%2015.6008%2016.0612Z'%20fill='%23FDFDFD'/%3e%3cpath%20id='Vector_8'%20d='M15.1468%2015.8949C15.083%2015.8948%2015.0201%2015.9099%2014.9632%2015.9388C14.9064%2015.9677%2014.8572%2016.0096%2014.8198%2016.0612C14.8198%2016.0612%2013.5645%2017.4973%2014.1387%2021.0915C14.456%2023.0777%2015.1884%2023.6694%2015.1884%2023.6694V15.8949H15.1468Z'%20fill='%23FDFDFD'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Gi = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='15.3062'%20cy='15.2144'%20r='14.3521'%20stroke='%2392898A'%20stroke-width='1.5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9898%2012.7234V9.89008C11.9898%208.88815%2012.3811%207.92726%2013.0777%207.21879C13.7743%206.51032%2014.719%206.1123%2015.7041%206.1123C16.6892%206.1123%2017.6339%206.51032%2018.3305%207.21879C19.0271%207.92726%2019.4184%208.88815%2019.4184%209.89008V12.7234H20.347C20.8395%2012.7234%2021.3119%2012.9224%2021.6602%2013.2767C22.0084%2013.6309%2022.2041%2014.1113%2022.2041%2014.6123V21.2234C22.2041%2021.7244%2022.0084%2022.2048%2021.6602%2022.5591C21.3119%2022.9133%2020.8395%2023.1123%2020.347%2023.1123H11.0612C10.5687%2023.1123%2010.0963%2022.9133%209.74805%2022.5591C9.39976%2022.2048%209.2041%2021.7244%209.2041%2021.2234V14.6123C9.2041%2014.1113%209.39976%2013.6309%209.74805%2013.2767C10.0963%2012.9224%2010.5687%2012.7234%2011.0612%2012.7234H11.9898ZM13.847%209.89008C13.847%209.38912%2014.0426%208.90867%2014.3909%208.55444C14.7392%208.2002%2015.2116%208.00119%2015.7041%208.00119C16.1966%208.00119%2016.669%208.2002%2017.0173%208.55444C17.3656%208.90867%2017.5612%209.38912%2017.5612%209.89008V12.7234H13.847V9.89008ZM15.7041%2015.5567C15.9504%2015.5567%2016.1866%2015.6563%2016.3607%2015.8334C16.5348%2016.0105%2016.6327%2016.2507%2016.6327%2016.5012V19.3345C16.6327%2019.585%2016.5348%2019.8252%2016.3607%2020.0023C16.1866%2020.1795%2015.9504%2020.279%2015.7041%2020.279C15.4578%2020.279%2015.2216%2020.1795%2015.0475%2020.0023C14.8734%2019.8252%2014.7755%2019.585%2014.7755%2019.3345V16.5012C14.7755%2016.2507%2014.8734%2016.0105%2015.0475%2015.8334C15.2216%2015.6563%2015.4578%2015.5567%2015.7041%2015.5567Z'%20fill='%2392898A'/%3e%3c/svg%3e", Xi = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Editar'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.1021'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cg%20id='Group%203792'%3e%3cpath%20id='Vector%20530'%20d='M22.469%2010.8343L19.54%207.90531C19.3447%207.71005%2019.0281%207.71005%2018.8329%207.90531L8.39131%2018.3469C8.31762%2018.4206%208.2688%2018.5154%208.25167%2018.6182L7.66586%2022.1331C7.60946%2022.4715%207.90285%2022.7649%208.24126%2022.7085L11.7561%2022.1227C11.8589%2022.1055%2011.9538%2022.0567%2012.0275%2021.983L22.469%2011.5415C22.6643%2011.3462%2022.6643%2011.0296%2022.469%2010.8343Z'%20stroke='%23605B56'/%3e%3cpath%20id='Vector%20531'%20d='M9.00391%2017.7334L12.6401%2021.3695'%20stroke='%23605B56'/%3e%3cpath%20id='Vector%20614'%20d='M19.4292%207.55176L9.24805%2017.733L12.6418%2021.1267L22.823%2010.9455L19.4292%207.55176Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Qi = "data:image/svg+xml,%3csvg%20width='31'%20height='31'%20viewBox='0%200%2031%2031'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%206729'%3e%3ccircle%20id='Ellipse%20219'%20cx='15.1021'%20cy='15.1021'%20r='14.3521'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20id='i'%20d='M14%209.008C14%208.708%2014.102%208.468%2014.306%208.288C14.51%208.096%2014.78%208%2015.116%208C15.452%208%2015.722%208.096%2015.926%208.288C16.13%208.468%2016.232%208.708%2016.232%209.008C16.232%209.308%2016.13%209.554%2015.926%209.746C15.722%209.926%2015.452%2010.016%2015.116%2010.016C14.78%2010.016%2014.51%209.926%2014.306%209.746C14.102%209.554%2014%209.308%2014%209.008ZM15.926%2011.906V21.788H14.288V11.906H15.926Z'%20fill='%23605B56'/%3e%3c/g%3e%3c/svg%3e";
2962
- var Et;
2963
- function wt() {
2964
- return wt = Object.assign ? Object.assign.bind() : function(n) {
2974
+ var qt;
2975
+ function Nt() {
2976
+ return Nt = Object.assign ? Object.assign.bind() : function(n) {
2965
2977
  for (var c = 1; c < arguments.length; c++) {
2966
2978
  var s = arguments[c];
2967
2979
  for (var r in s) ({}).hasOwnProperty.call(s, r) && (n[r] = s[r]);
2968
2980
  }
2969
2981
  return n;
2970
- }, wt.apply(null, arguments);
2982
+ }, Nt.apply(null, arguments);
2971
2983
  }
2972
2984
  var Ji = function(c) {
2973
- return /* @__PURE__ */ Ve.createElement("svg", wt({
2985
+ return /* @__PURE__ */ Ve.createElement("svg", Nt({
2974
2986
  xmlns: "http://www.w3.org/2000/svg",
2975
2987
  width: 26,
2976
2988
  height: 14,
2977
2989
  fill: "none"
2978
- }, c), Et || (Et = /* @__PURE__ */ Ve.createElement("g", {
2990
+ }, c), qt || (qt = /* @__PURE__ */ Ve.createElement("g", {
2979
2991
  fill: "currentColor"
2980
2992
  }, /* @__PURE__ */ Ve.createElement("path", {
2981
2993
  d: "M12.95.408C7.659.408 2.849 2.772.083 6.726a.47.47 0 0 0 0 .532c2.761 3.955 7.571 6.313 12.867 6.313s10.106-2.358 12.867-6.313a.47.47 0 0 0 0-.532C23.05 2.772 18.24.408 12.95.408m0 10.814A4.24 4.24 0 0 1 8.718 6.99a4.24 4.24 0 0 1 4.232-4.232 4.24 4.24 0 0 1 4.232 4.232 4.24 4.24 0 0 1-4.232 4.232"
@@ -2994,25 +3006,25 @@ const Yi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
2994
3006
  elementButtons: a,
2995
3007
  processTooltip: l,
2996
3008
  defaultTooltip: u,
2997
- showEye: g = !0
3009
+ showEye: C = !0
2998
3010
  }) => {
2999
- const { name: C, created_at: f, id: p, isBeingProcessed: y } = n, [b, v] = I(!1), { t: _ } = A();
3011
+ const { name: m, created_at: f, id: p, isBeingProcessed: y } = n, [b, v] = I(!1), { t: _ } = A();
3000
3012
  O(() => {
3001
3013
  console.log("elementButtons: ", a);
3002
3014
  }, [a]);
3003
- const N = a && a.edit && !n.is_default && !n.is_baseline, S = a && a.trash && !n.is_default && !n.is_baseline;
3015
+ const w = a && a.edit && !n.is_default && !n.is_baseline, L = a && a.trash && !n.is_default && !n.is_baseline;
3004
3016
  return /* @__PURE__ */ h(
3005
3017
  "div",
3006
3018
  {
3007
3019
  className: ne.listElement,
3008
3020
  style: { borderBottom: `1px solid ${t}` },
3009
3021
  children: [
3010
- /* @__PURE__ */ i("div", { className: ne.elementNameDate, onClick: () => c(p), children: Object.keys(d).map((m) => m === "name" ? /* @__PURE__ */ i("div", { className: ne.elementNameContainer, children: /* @__PURE__ */ h(
3022
+ /* @__PURE__ */ i("div", { className: ne.elementNameDate, onClick: () => c(p), children: Object.keys(d).map((g) => g === "name" ? /* @__PURE__ */ i("div", { className: ne.elementNameContainer, children: /* @__PURE__ */ h(
3011
3023
  "div",
3012
3024
  {
3013
- className: `${ne.elementName} ${g && ne.nameAndEye}`,
3025
+ className: `${ne.elementName} ${C && ne.nameAndEye}`,
3014
3026
  children: [
3015
- g && (s ? /* @__PURE__ */ i(
3027
+ C && (s ? /* @__PURE__ */ i(
3016
3028
  Ji,
3017
3029
  {
3018
3030
  style: { color: r, marginRight: 9 }
@@ -3025,10 +3037,10 @@ const Yi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
3025
3037
  alt: "eye"
3026
3038
  }
3027
3039
  )),
3028
- /* @__PURE__ */ i("span", { style: { color: s ? r : t }, children: C })
3040
+ /* @__PURE__ */ i("span", { style: { color: s ? r : t }, children: m })
3029
3041
  ]
3030
3042
  }
3031
- ) }) : m == "data" ? /* @__PURE__ */ i("div", { className: ne.elementDate, children: f ? new Date(f).toLocaleDateString() : "" }) : /* @__PURE__ */ i("div", { className: ne.elementDate, children: n[m] })) }),
3043
+ ) }) : g == "data" ? /* @__PURE__ */ i("div", { className: ne.elementDate, children: f ? new Date(f).toLocaleDateString() : "" }) : /* @__PURE__ */ i("div", { className: ne.elementDate, children: n[g] })) }),
3032
3044
  /* @__PURE__ */ h("div", { className: ne.elementButtons, children: [
3033
3045
  n.processing && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
3034
3046
  /* @__PURE__ */ i("img", { src: Ui }),
@@ -3062,7 +3074,7 @@ const Yi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
3062
3074
  ),
3063
3075
  /* @__PURE__ */ i(pe, { text: a.copy.tooltiptext, position: "left" })
3064
3076
  ] }),
3065
- N && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
3077
+ w && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
3066
3078
  /* @__PURE__ */ i(
3067
3079
  "button",
3068
3080
  {
@@ -3084,7 +3096,7 @@ const Yi = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
3084
3096
  ),
3085
3097
  /* @__PURE__ */ i(pe, { text: a.info.tooltiptext, position: "left" })
3086
3098
  ] }),
3087
- S && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
3099
+ L && /* @__PURE__ */ h("div", { className: "tooltip-parent", children: [
3088
3100
  /* @__PURE__ */ i(
3089
3101
  "button",
3090
3102
  {
@@ -3161,7 +3173,7 @@ p2.propTypes = {
3161
3173
  defaultTooltip: e.string,
3162
3174
  showEye: e.bool
3163
3175
  };
3164
- const qt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", es = ({
3176
+ const zt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7%2015L7%201M7%2015L1%209M7%2015L13%209'%20stroke='%23605B56'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", es = ({
3165
3177
  elementsList: n,
3166
3178
  activeElementId: c,
3167
3179
  fontColor: s = "#605B56",
@@ -3175,9 +3187,9 @@ const qt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
3175
3187
  // {'name': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
3176
3188
  elementButtons: u,
3177
3189
  //{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
3178
- moreInfo: g = !1,
3190
+ moreInfo: C = !1,
3179
3191
  //{label: 'x'}
3180
- processTooltip: C,
3192
+ processTooltip: m,
3181
3193
  //texto para el tooltip del simbolo "En proceso"
3182
3194
  defaultTooltip: f,
3183
3195
  //texto para el tooltip del símbolo de candado para los elementos default
@@ -3187,31 +3199,31 @@ const qt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
3187
3199
  O(() => {
3188
3200
  n && v(n);
3189
3201
  }, [n]);
3190
- const _ = (m) => {
3191
- if (typeof m != "string") return null;
3192
- if (/^\d{4}[-/]\d{2}[-/]\d{2}$/.test(m))
3193
- return new Date(m);
3194
- const k = /^(\d{2})[-/.]\s*(\d{2})[-/.]\s*(\d{4})$/.exec(m);
3195
- if (k)
3196
- return /* @__PURE__ */ new Date(`${k[3]}-${k[2]}-${k[1]}`);
3197
- const x = /^(\d{2})[-/]\s*(\d{2})[-/]\s*(\d{4})$/.exec(m);
3202
+ const _ = (g) => {
3203
+ if (typeof g != "string") return null;
3204
+ if (/^\d{4}[-/]\d{2}[-/]\d{2}$/.test(g))
3205
+ return new Date(g);
3206
+ const N = /^(\d{2})[-/.]\s*(\d{2})[-/.]\s*(\d{4})$/.exec(g);
3207
+ if (N)
3208
+ return /* @__PURE__ */ new Date(`${N[3]}-${N[2]}-${N[1]}`);
3209
+ const x = /^(\d{2})[-/]\s*(\d{2})[-/]\s*(\d{4})$/.exec(g);
3198
3210
  return x ? parseInt(x[1]) > 12 ? /* @__PURE__ */ new Date(`${x[3]}-${x[2]}-${x[1]}`) : /* @__PURE__ */ new Date(`${x[3]}-${x[1]}-${x[2]}`) : null;
3199
- }, N = (m) => _(m) !== null, S = (m) => {
3211
+ }, w = (g) => _(g) !== null, L = (g) => {
3200
3212
  if (!b || b.length === 0) return;
3201
- let k = [...b];
3202
- const x = k.find(($) => $[m] !== null && $[m] !== void 0), L = x ? N(x[m]) : !1;
3203
- k.sort(($, w) => {
3204
- const T = $[m], D = w[m];
3205
- if (T == null && D == null) return 0;
3213
+ let N = [...b];
3214
+ const x = N.find(($) => $[g] !== null && $[g] !== void 0), S = x ? w(x[g]) : !1;
3215
+ N.sort(($, k) => {
3216
+ const T = $[g], F = k[g];
3217
+ if (T == null && F == null) return 0;
3206
3218
  if (T == null) return 1;
3207
- if (D == null) return -1;
3208
- if (L) {
3209
- const R = _(T), Z = _(D);
3219
+ if (F == null) return -1;
3220
+ if (S) {
3221
+ const R = _(T), Z = _(F);
3210
3222
  return !R && !Z ? 0 : R ? Z ? R - Z : -1 : 1;
3211
3223
  }
3212
- const V = String(T || "").trim(), F = String(D || "").trim();
3213
- return V.localeCompare(F);
3214
- }), v(k);
3224
+ const D = String(T || "").trim(), B = String(F || "").trim();
3225
+ return D.localeCompare(B);
3226
+ }), v(N);
3215
3227
  };
3216
3228
  return /* @__PURE__ */ h(
3217
3229
  "div",
@@ -3225,33 +3237,33 @@ const qt = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
3225
3237
  className: de.header,
3226
3238
  style: { borderBottom: `1px solid ${s}` },
3227
3239
  children: [
3228
- /* @__PURE__ */ i("div", { className: de.nameDateContainer, children: Object.keys(l).map((m) => m === "name" ? /* @__PURE__ */ i("div", { className: de.elementName, children: /* @__PURE__ */ h("button", { onClick: () => S("name"), children: [
3240
+ /* @__PURE__ */ i("div", { className: de.nameDateContainer, children: Object.keys(l).map((g) => g === "name" ? /* @__PURE__ */ i("div", { className: de.elementName, children: /* @__PURE__ */ h("button", { onClick: () => L("name"), children: [
3229
3241
  /* @__PURE__ */ i("span", { children: y(l.name) }),
3230
- /* @__PURE__ */ i("img", { src: qt, alt: "order arrow" })
3231
- ] }) }, m) : m === "data" ? /* @__PURE__ */ i("div", { className: de.elementDate, children: /* @__PURE__ */ h("button", { onClick: () => S("created_at"), children: [
3242
+ /* @__PURE__ */ i("img", { src: zt, alt: "order arrow" })
3243
+ ] }) }, g) : g === "data" ? /* @__PURE__ */ i("div", { className: de.elementDate, children: /* @__PURE__ */ h("button", { onClick: () => L("created_at"), children: [
3232
3244
  /* @__PURE__ */ i("span", { children: y(l.data) }),
3233
- /* @__PURE__ */ i("img", { src: qt, alt: "order arrow" })
3234
- ] }) }, m) : /* @__PURE__ */ i("div", { className: de.elementDate, children: /* @__PURE__ */ i("span", { children: y(l[m]) }) }, m)) }),
3245
+ /* @__PURE__ */ i("img", { src: zt, alt: "order arrow" })
3246
+ ] }) }, g) : /* @__PURE__ */ i("div", { className: de.elementDate, children: /* @__PURE__ */ i("span", { children: y(l[g]) }) }, g)) }),
3235
3247
  /* @__PURE__ */ i("div", { className: de.buttonsContainer })
3236
3248
  ]
3237
3249
  }
3238
3250
  ),
3239
- /* @__PURE__ */ i("div", { className: de.elementListContainer, children: b && b.length > 0 && b.map((m) => /* @__PURE__ */ i(
3251
+ /* @__PURE__ */ i("div", { className: de.elementListContainer, children: b && b.length > 0 && b.map((g) => /* @__PURE__ */ i(
3240
3252
  p2,
3241
3253
  {
3242
- isActive: c == m.id,
3243
- listelement: m,
3254
+ isActive: c == g.id,
3255
+ listelement: g,
3244
3256
  fontColor: s,
3245
3257
  activeColor: r,
3246
3258
  onClickElement: a,
3247
3259
  columns: l,
3248
3260
  elementButtons: u,
3249
- moreInfo: g,
3250
- processTooltip: C,
3261
+ moreInfo: C,
3262
+ processTooltip: m,
3251
3263
  defaultTooltip: f,
3252
3264
  showEye: p
3253
3265
  },
3254
- `elementKey${m.id}`
3266
+ `elementKey${g.id}`
3255
3267
  )) }),
3256
3268
  d && /* @__PURE__ */ i("div", { className: de.newElementButtonContainer, children: /* @__PURE__ */ i(
3257
3269
  it,
@@ -3347,12 +3359,12 @@ function m2(n) {
3347
3359
  return n;
3348
3360
  return c;
3349
3361
  }
3350
- var g2 = (n) => /^\w*$/.test(n), Nt = (n) => n === void 0, hs = (n) => Array.isArray(n) ? n.filter(Boolean) : [], C2 = (n) => hs(n.replace(/["|']|\]/g, "").split(/\.|\[/)), J = (n, c, s) => {
3362
+ var g2 = (n) => /^\w*$/.test(n), kt = (n) => n === void 0, hs = (n) => Array.isArray(n) ? n.filter(Boolean) : [], C2 = (n) => hs(n.replace(/["|']|\]/g, "").split(/\.|\[/)), J = (n, c, s) => {
3351
3363
  if (!c || !ze(n))
3352
3364
  return s;
3353
3365
  const r = (g2(c) ? [c] : C2(c)).reduce((t, o) => h2(t) ? t : t[o], n);
3354
- return Nt(r) || r === n ? Nt(n[c]) ? s : n[c] : r;
3355
- }, gt = (n) => typeof n == "boolean", zt = (n, c, s) => {
3366
+ return kt(r) || r === n ? kt(n[c]) ? s : n[c] : r;
3367
+ }, gt = (n) => typeof n == "boolean", Pt = (n, c, s) => {
3356
3368
  let r = -1;
3357
3369
  const t = g2(c) ? [c] : C2(c), o = t.length, d = o - 1;
3358
3370
  for (; ++r < o; ) {
@@ -3367,14 +3379,14 @@ var g2 = (n) => /^\w*$/.test(n), Nt = (n) => n === void 0, hs = (n) => Array.isA
3367
3379
  n[a] = l, n = n[a];
3368
3380
  }
3369
3381
  };
3370
- const Pt = {
3382
+ const Zt = {
3371
3383
  BLUR: "blur",
3372
3384
  CHANGE: "change"
3373
- }, Zt = {
3385
+ }, jt = {
3374
3386
  all: "all"
3375
3387
  }, f2 = E.createContext(null);
3376
3388
  f2.displayName = "HookFormContext";
3377
- const Mt = () => E.useContext(f2);
3389
+ const Tt = () => E.useContext(f2);
3378
3390
  var ms = (n, c, s, r = !0) => {
3379
3391
  const t = {
3380
3392
  defaultValues: c._defaultValues
@@ -3383,14 +3395,14 @@ var ms = (n, c, s, r = !0) => {
3383
3395
  Object.defineProperty(t, o, {
3384
3396
  get: () => {
3385
3397
  const d = o;
3386
- return c._proxyFormState[d] !== Zt.all && (c._proxyFormState[d] = !r || Zt.all), s && (s[d] = !0), n[d];
3398
+ return c._proxyFormState[d] !== jt.all && (c._proxyFormState[d] = !r || jt.all), s && (s[d] = !0), n[d];
3387
3399
  }
3388
3400
  });
3389
3401
  return t;
3390
3402
  };
3391
3403
  const y2 = typeof window < "u" ? Ve.useLayoutEffect : Ve.useEffect;
3392
3404
  function gs(n) {
3393
- const c = Mt(), { control: s = c.control, disabled: r, name: t, exact: o } = n || {}, [d, a] = E.useState(s._formState), l = E.useRef({
3405
+ const c = Tt(), { control: s = c.control, disabled: r, name: t, exact: o } = n || {}, [d, a] = E.useState(s._formState), l = E.useRef({
3394
3406
  isDirty: !1,
3395
3407
  isLoading: !1,
3396
3408
  dirtyFields: !1,
@@ -3416,18 +3428,18 @@ function gs(n) {
3416
3428
  }
3417
3429
  var Cs = (n) => typeof n == "string", fs = (n, c, s, r, t) => Cs(n) ? J(s, n, t) : Array.isArray(n) ? n.map((o) => J(s, o)) : s;
3418
3430
  function ys(n) {
3419
- const c = Mt(), { control: s = c.control, name: r, defaultValue: t, disabled: o, exact: d } = n || {}, a = E.useRef(t), [l, u] = E.useState(s._getWatch(r, a.current));
3431
+ const c = Tt(), { control: s = c.control, name: r, defaultValue: t, disabled: o, exact: d } = n || {}, a = E.useRef(t), [l, u] = E.useState(s._getWatch(r, a.current));
3420
3432
  return y2(() => s._subscribe({
3421
3433
  name: r,
3422
3434
  formState: {
3423
3435
  values: !0
3424
3436
  },
3425
3437
  exact: d,
3426
- callback: (g) => !o && u(fs(r, s._names, g.values || s._formValues, !1, a.current))
3438
+ callback: (C) => !o && u(fs(r, s._names, C.values || s._formValues, !1, a.current))
3427
3439
  }), [r, s, o, d]), E.useEffect(() => s._removeUnmounted()), l;
3428
3440
  }
3429
3441
  function bs(n) {
3430
- const c = Mt(), { name: s, disabled: r, control: t = c.control, shouldUnregister: o } = n, d = ds(t._names.array, s), a = ys({
3442
+ const c = Tt(), { name: s, disabled: r, control: t = c.control, shouldUnregister: o } = n, d = ds(t._names.array, s), a = ys({
3431
3443
  control: t,
3432
3444
  name: s,
3433
3445
  defaultValue: J(t._formValues, s, J(t._defaultValues, s, n.defaultValue)),
@@ -3436,11 +3448,11 @@ function bs(n) {
3436
3448
  control: t,
3437
3449
  name: s,
3438
3450
  exact: !0
3439
- }), u = E.useRef(n), g = E.useRef(t.register(s, {
3451
+ }), u = E.useRef(n), C = E.useRef(t.register(s, {
3440
3452
  ...n.rules,
3441
3453
  value: a,
3442
3454
  ...gt(n.disabled) ? { disabled: n.disabled } : {}
3443
- })), C = E.useMemo(() => Object.defineProperties({}, {
3455
+ })), m = E.useMemo(() => Object.defineProperties({}, {
3444
3456
  invalid: {
3445
3457
  enumerable: !0,
3446
3458
  get: () => !!J(l.errors, s)
@@ -3461,24 +3473,24 @@ function bs(n) {
3461
3473
  enumerable: !0,
3462
3474
  get: () => J(l.errors, s)
3463
3475
  }
3464
- }), [l, s]), f = E.useCallback((v) => g.current.onChange({
3476
+ }), [l, s]), f = E.useCallback((v) => C.current.onChange({
3465
3477
  target: {
3466
3478
  value: ls(v),
3467
3479
  name: s
3468
3480
  },
3469
- type: Pt.CHANGE
3470
- }), [s]), p = E.useCallback(() => g.current.onBlur({
3481
+ type: Zt.CHANGE
3482
+ }), [s]), p = E.useCallback(() => C.current.onBlur({
3471
3483
  target: {
3472
3484
  value: J(t._formValues, s),
3473
3485
  name: s
3474
3486
  },
3475
- type: Pt.BLUR
3487
+ type: Zt.BLUR
3476
3488
  }), [s, t._formValues]), y = E.useCallback((v) => {
3477
3489
  const _ = J(t._fields, s);
3478
3490
  _ && v && (_._f.ref = {
3479
3491
  focus: () => v.focus && v.focus(),
3480
3492
  select: () => v.select && v.select(),
3481
- setCustomValidity: (N) => v.setCustomValidity(N),
3493
+ setCustomValidity: (w) => v.setCustomValidity(w),
3482
3494
  reportValidity: () => v.reportValidity()
3483
3495
  });
3484
3496
  }, [t._fields, s]), b = E.useMemo(() => ({
@@ -3495,13 +3507,13 @@ function bs(n) {
3495
3507
  ...u.current.rules,
3496
3508
  ...gt(u.current.disabled) ? { disabled: u.current.disabled } : {}
3497
3509
  });
3498
- const _ = (N, S) => {
3499
- const m = J(t._fields, N);
3500
- m && m._f && (m._f.mount = S);
3510
+ const _ = (w, L) => {
3511
+ const g = J(t._fields, w);
3512
+ g && g._f && (g._f.mount = L);
3501
3513
  };
3502
3514
  if (_(s, !0), v) {
3503
- const N = m2(J(t._options.defaultValues, s));
3504
- zt(t._defaultValues, s, N), Nt(J(t._formValues, s)) && zt(t._formValues, s, N);
3515
+ const w = m2(J(t._options.defaultValues, s));
3516
+ Pt(t._defaultValues, s, w), kt(J(t._formValues, s)) && Pt(t._formValues, s, w);
3505
3517
  }
3506
3518
  return !d && t.register(s), () => {
3507
3519
  (d ? v && !t._state.action : v) ? t.unregister(s) : _(s, !1);
@@ -3514,8 +3526,8 @@ function bs(n) {
3514
3526
  }, [r, s, t]), E.useMemo(() => ({
3515
3527
  field: b,
3516
3528
  formState: l,
3517
- fieldState: C
3518
- }), [b, l, C]);
3529
+ fieldState: m
3530
+ }), [b, l, m]);
3519
3531
  }
3520
3532
  const Pe = (n) => n.render(bs(n)), _s = "_textInputContainer_1o3iy_2", vs = "_labelContainer_1o3iy_5", xs = "_inputContainer_1o3iy_8", ws = "_showPasswordButton_1o3iy_14", Ns = "_forgotPassButton_1o3iy_26", Ie = {
3521
3533
  textInputContainer: _s,
@@ -3539,9 +3551,9 @@ const Pe = (n) => n.render(bs(n)), _s = "_textInputContainer_1o3iy_2", vs = "_la
3539
3551
  children: n ? r(n) : ""
3540
3552
  }
3541
3553
  );
3542
- }, Ss = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205763'%3e%3cpath%20id='Vector'%20d='M12.95%200C7.659%200%202.84899%202.3634%200.0832465%206.31776C-0.0277488%206.47963%20-0.0277488%206.68776%200.0832465%206.84962C2.84439%2010.804%207.65437%2013.1628%2012.95%2013.1628C18.2456%2013.1628%2023.0556%2010.804%2025.8168%206.84962C25.9278%206.68775%2025.9278%206.47963%2025.8168%206.31776C23.051%202.36339%2018.241%200%2012.95%200ZM12.95%2010.8132C10.619%2010.8132%208.71812%208.91238%208.71812%206.58139C8.71812%204.25041%2010.619%202.34951%2012.95%202.34951C15.281%202.34951%2017.1819%204.25038%2017.1819%206.58139C17.1819%208.91241%2015.281%2010.8132%2012.95%2010.8132Z'%20fill='white'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%209.88816C14.7777%209.88816%2016.2583%208.40763%2016.2583%206.58129C16.2583%204.75495%2014.7777%203.27441%2012.9514%203.27441C11.1251%203.27441%209.64453%204.75495%209.64453%206.58129C9.64453%208.40763%2011.1251%209.88816%2012.9514%209.88816Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e", Ls = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205995'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", je = Xt((n) => ({
3554
+ }, Ss = "data:image/svg+xml,%3csvg%20width='26'%20height='14'%20viewBox='0%200%2026%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205763'%3e%3cpath%20id='Vector'%20d='M12.95%200C7.659%200%202.84899%202.3634%200.0832465%206.31776C-0.0277488%206.47963%20-0.0277488%206.68776%200.0832465%206.84962C2.84439%2010.804%207.65437%2013.1628%2012.95%2013.1628C18.2456%2013.1628%2023.0556%2010.804%2025.8168%206.84962C25.9278%206.68775%2025.9278%206.47963%2025.8168%206.31776C23.051%202.36339%2018.241%200%2012.95%200ZM12.95%2010.8132C10.619%2010.8132%208.71812%208.91238%208.71812%206.58139C8.71812%204.25041%2010.619%202.34951%2012.95%202.34951C15.281%202.34951%2017.1819%204.25038%2017.1819%206.58139C17.1819%208.91241%2015.281%2010.8132%2012.95%2010.8132Z'%20fill='white'/%3e%3cpath%20id='Vector_2'%20d='M12.9514%209.88816C14.7777%209.88816%2016.2583%208.40763%2016.2583%206.58129C16.2583%204.75495%2014.7777%203.27441%2012.9514%203.27441C11.1251%203.27441%209.64453%204.75495%209.64453%206.58129C9.64453%208.40763%2011.1251%209.88816%2012.9514%209.88816Z'%20fill='white'/%3e%3c/g%3e%3c/svg%3e", Ls = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%200%2026%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%205995'%3e%3cpath%20id='Vector'%20d='M12.9837%206.40625C11.1707%206.40625%209.69531%207.88162%209.69531%209.69462C9.69531%2010.0276%209.74618%2010.3514%209.83869%2010.652C9.93579%2010.9711%2010.0792%2011.2718%2010.2642%2011.54L14.8291%206.97512C14.5562%206.79013%2014.2602%206.64676%2013.9411%206.54962C13.6404%206.45712%2013.3167%206.40625%2012.9837%206.40625Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_2'%20d='M19.4938%204.44079C19.318%204.36678%2019.1191%204.40841%2018.985%204.53792L16.3534%207.16955V7.17415C16.543%207.42855%2016.7049%207.70604%2016.8344%208.00204C17.0656%208.52004%2017.1905%209.09354%2017.1905%209.69478C17.1905%2012.0165%2015.3035%2013.9035%2012.9818%2013.9035C12.3805%2013.9035%2011.807%2013.7787%2011.289%2013.5474C10.993%2013.4179%2010.7155%2013.256%2010.4611%2013.0664H10.4565L8.52788%2014.995C8.41225%2015.1153%208.36601%2015.2864%208.41225%2015.4437C8.45389%2015.6055%208.57875%2015.7304%208.74063%2015.772C10.0958%2016.1189%2011.511%2016.2947%2012.9494%2016.2947C18.245%2016.2947%2023.055%2013.9359%2025.8161%209.98153C25.9271%209.82429%2025.9271%209.61153%2025.8161%209.45427C24.2991%207.27591%2022.1115%205.54154%2019.4938%204.44079Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_3'%20d='M12.9843%2012.979C14.7973%2012.979%2016.268%2011.5082%2016.268%209.6952C16.268%209.35295%2016.2171%209.0292%2016.12%208.71933C16.0229%208.4002%2015.8749%208.10419%2015.6899%207.83594L11.125%2012.4008C11.3933%2012.5858%2011.6893%2012.7338%2012.0084%2012.831C12.3183%2012.9281%2012.6466%2012.979%2012.9843%2012.979Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20id='Vector_4'%20d='M9.12048%2011.3694C8.89386%2010.856%208.769%2010.2918%208.769%209.69516C8.769%207.3734%2010.656%205.48178%2012.9824%205.48178C13.579%205.48178%2014.1433%205.60667%2014.6566%205.83329C14.9526%205.95815%2015.2347%206.12004%2015.4891%206.31428L17.3808%204.42267L21.0114%200.792026C21.1918%200.611646%2021.1918%200.315664%2021.0114%200.135285C20.831%20-0.0450949%2020.535%20-0.0450949%2020.3546%200.135285L16.8951%203.59478C15.6186%203.28491%2014.2959%203.13228%2012.95%203.13228C7.65437%203.13228%202.84439%205.49565%200.0832465%209.45464C-0.0277488%209.61191%20-0.0277488%209.82467%200.0832465%209.9819C1.48001%2011.9845%203.44563%2013.6079%205.78125%2014.7087L3.37162%2017.1183C3.19127%2017.2986%203.19127%2017.5947%203.37162%2017.775C3.46412%2017.8629%203.57975%2017.9091%203.7%2017.9091C3.82026%2017.9091%203.93588%2017.8629%204.02839%2017.775L9.60151%2012.2019C9.40727%2011.9429%209.24536%2011.6654%209.12048%2011.3694Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/g%3e%3c/svg%3e", je = Qt((n) => ({
3543
3555
  errorColor: "red"
3544
- })), jt = ({ input: n, reactHookFormInstance: c }) => {
3556
+ })), Ht = ({ input: n, reactHookFormInstance: c }) => {
3545
3557
  const {
3546
3558
  code: s,
3547
3559
  type: r,
@@ -3551,17 +3563,17 @@ const Pe = (n) => n.render(bs(n)), _s = "_textInputContainer_1o3iy_2", vs = "_la
3551
3563
  validateFunction: a,
3552
3564
  placeholder: l,
3553
3565
  errorColor: u = "red",
3554
- width: g = 325,
3555
- onClickForgotPass: C = () => {
3566
+ width: C = 325,
3567
+ onClickForgotPass: m = () => {
3556
3568
  console.log("Click on forgot password");
3557
3569
  },
3558
3570
  forgotPassLabel: f = "forgot-password",
3559
3571
  //Lógica extra al onChange además de actualizar el valor en RHF
3560
3572
  onChangeExtraFunction: p = () => {
3561
3573
  }
3562
- } = n, { t: y } = A(), { control: b, trigger: v, clearErrors: _ } = c, { errorColor: N } = je((x) => x), [S, m] = I(!1);
3574
+ } = n, { t: y } = A(), { control: b, trigger: v, clearErrors: _ } = c, { errorColor: w } = je((x) => x), [L, g] = I(!1);
3563
3575
  Y(d);
3564
- const k = () => r ? r === "password" && S ? "text" : r : "text";
3576
+ const N = () => r ? r === "password" && L ? "text" : r : "text";
3565
3577
  return /* @__PURE__ */ i(
3566
3578
  Pe,
3567
3579
  {
@@ -3572,28 +3584,28 @@ const Pe = (n) => n.render(bs(n)), _s = "_textInputContainer_1o3iy_2", vs = "_la
3572
3584
  maxLength: o || void 0,
3573
3585
  validate: a || void 0
3574
3586
  },
3575
- render: ({ field: x, fieldState: L }) => {
3576
- var D;
3577
- const { onChange: $, ...w } = x, T = (V) => {
3578
- $(V), p && p(V);
3587
+ render: ({ field: x, fieldState: S }) => {
3588
+ var F;
3589
+ const { onChange: $, ...k } = x, T = (D) => {
3590
+ $(D), p && p(D);
3579
3591
  };
3580
3592
  return /* @__PURE__ */ h("div", { className: Ie.textInputContainer, children: [
3581
3593
  /* @__PURE__ */ h("h3", { className: Ie.labelContainer, children: [
3582
3594
  y(t),
3583
3595
  " ",
3584
- d && /* @__PURE__ */ i("label", { style: { color: L.error ? u : "" }, children: "*" })
3596
+ d && /* @__PURE__ */ i("label", { style: { color: S.error ? u : "" }, children: "*" })
3585
3597
  ] }),
3586
3598
  /* @__PURE__ */ h(
3587
3599
  "div",
3588
3600
  {
3589
- style: { position: "relative", width: g },
3601
+ style: { position: "relative", width: C },
3590
3602
  className: Ie.inputContainer,
3591
3603
  children: [
3592
3604
  /* @__PURE__ */ i(
3593
3605
  "input",
3594
3606
  {
3595
- ...w,
3596
- type: k(),
3607
+ ...k,
3608
+ type: N(),
3597
3609
  onChange: T,
3598
3610
  placeholder: l ? y(l) : "",
3599
3611
  maxLength: o || void 0
@@ -3602,13 +3614,13 @@ const Pe = (n) => n.render(bs(n)), _s = "_textInputContainer_1o3iy_2", vs = "_la
3602
3614
  r == "password" && /* @__PURE__ */ i(
3603
3615
  "button",
3604
3616
  {
3605
- onClick: () => m(!S),
3617
+ onClick: () => g(!L),
3606
3618
  type: "button",
3607
3619
  className: Ie.showPasswordButton,
3608
3620
  children: /* @__PURE__ */ i(
3609
3621
  "img",
3610
3622
  {
3611
- src: S ? Ls : Ss,
3623
+ src: L ? Ls : Ss,
3612
3624
  alt: y("show-password")
3613
3625
  }
3614
3626
  )
@@ -3617,12 +3629,12 @@ const Pe = (n) => n.render(bs(n)), _s = "_textInputContainer_1o3iy_2", vs = "_la
3617
3629
  ]
3618
3630
  }
3619
3631
  ),
3620
- r == "password" && /* @__PURE__ */ i("div", { className: Ie.forgotPassButton, children: /* @__PURE__ */ i("button", { onClick: C, children: y(f) }) }),
3632
+ r == "password" && /* @__PURE__ */ i("div", { className: Ie.forgotPassButton, children: /* @__PURE__ */ i("button", { onClick: m, children: y(f) }) }),
3621
3633
  /* @__PURE__ */ i(
3622
3634
  Ze,
3623
3635
  {
3624
- errorMessage: (D = L.error) == null ? void 0 : D.message,
3625
- errorColor: N || u
3636
+ errorMessage: (F = S.error) == null ? void 0 : F.message,
3637
+ errorColor: w || u
3626
3638
  }
3627
3639
  )
3628
3640
  ] });
@@ -3639,7 +3651,7 @@ const Pe = (n) => n.render(bs(n)), _s = "_textInputContainer_1o3iy_2", vs = "_la
3639
3651
  selectInput: Fs,
3640
3652
  option: As,
3641
3653
  dropdownArrow: Os
3642
- }, Ht = "data:image/svg+xml,%3csvg%20width='19'%20height='10'%20viewBox='0%200%2019%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector%20311'%20d='M1%201.09961L8.79289%208.8925C9.18342%209.28303%209.81658%209.28303%2010.2071%208.8925L18%201.09961'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", Rs = ({ input: n, reactHookFormInstance: c, onChange: s }) => {
3654
+ }, Wt = "data:image/svg+xml,%3csvg%20width='19'%20height='10'%20viewBox='0%200%2019%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector%20311'%20d='M1%201.09961L8.79289%208.8925C9.18342%209.28303%209.81658%209.28303%2010.2071%208.8925L18%201.09961'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", Rs = ({ input: n, reactHookFormInstance: c, onChange: s }) => {
3643
3655
  const {
3644
3656
  code: r,
3645
3657
  type: t,
@@ -3648,60 +3660,60 @@ const Pe = (n) => n.render(bs(n)), _s = "_textInputContainer_1o3iy_2", vs = "_la
3648
3660
  required: a,
3649
3661
  validateFunction: l,
3650
3662
  placeholder: u,
3651
- errorColor: g = "red",
3652
- width: C = 325,
3663
+ errorColor: C = "red",
3664
+ width: m = 325,
3653
3665
  options: f = []
3654
3666
  //Used if we dont use react hook form
3655
- } = n, { t: p } = A(), { control: y, trigger: b, clearErrors: v } = c || {}, { errorColor: _ } = je((m) => m);
3667
+ } = n, { t: p } = A(), { control: y, trigger: b, clearErrors: v } = c || {}, { errorColor: _ } = je((g) => g);
3656
3668
  Y(a);
3657
- const [N, S] = I(null);
3669
+ const [w, L] = I(null);
3658
3670
  return O(() => {
3659
- N && s && s(N);
3660
- }, [N, s]), c ? /* @__PURE__ */ i(
3671
+ w && s && s(w);
3672
+ }, [w, s]), c ? /* @__PURE__ */ i(
3661
3673
  Pe,
3662
3674
  {
3663
3675
  name: r,
3664
3676
  control: y,
3665
3677
  rules: {
3666
3678
  required: a ? `${p(o)} ${p("errorMessages.required")}` : !1,
3667
- validate: l ? (m) => {
3668
- let k = c.getValues();
3669
- return l(m, k);
3679
+ validate: l ? (g) => {
3680
+ let N = c.getValues();
3681
+ return l(g, N);
3670
3682
  } : void 0
3671
3683
  },
3672
- render: ({ field: m, fieldState: k }) => {
3673
- var L;
3684
+ render: ({ field: g, fieldState: N }) => {
3685
+ var S;
3674
3686
  const x = f.find(
3675
- ($) => $.value === m.value
3687
+ ($) => $.value === g.value
3676
3688
  );
3677
3689
  return /* @__PURE__ */ h("div", { className: X.selectInputContainer, children: [
3678
3690
  o && /* @__PURE__ */ h("h3", { className: X.labelContainer, children: [
3679
3691
  p(o),
3680
3692
  " ",
3681
- a && /* @__PURE__ */ i("label", { style: { color: k.error ? g : "" }, children: "*" })
3693
+ a && /* @__PURE__ */ i("label", { style: { color: N.error ? C : "" }, children: "*" })
3682
3694
  ] }),
3683
3695
  /* @__PURE__ */ h("div", { className: X.selectWrapper, children: [
3684
- /* @__PURE__ */ h("div", { className: X.inputContainer, style: { width: C }, children: [
3696
+ /* @__PURE__ */ h("div", { className: X.inputContainer, style: { width: m }, children: [
3685
3697
  /* @__PURE__ */ h(
3686
3698
  "select",
3687
3699
  {
3688
- ...m,
3689
- value: m.value ?? "",
3700
+ ...g,
3701
+ value: g.value ?? "",
3690
3702
  onChange: ($) => {
3691
- const w = $.target.value, T = f.every((D) => typeof D.value == "number") ? Number(w) : w;
3692
- m.onChange(T);
3703
+ const k = $.target.value, T = f.every((F) => typeof F.value == "number") ? Number(k) : k;
3704
+ g.onChange(T);
3693
3705
  },
3694
3706
  className: X.selectInput,
3695
3707
  children: [
3696
3708
  /* @__PURE__ */ i("option", { value: "", disabled: !0, hidden: !0, children: p(u || "selectOption") }),
3697
- f.map(($, w) => /* @__PURE__ */ i(
3709
+ f.map(($, k) => /* @__PURE__ */ i(
3698
3710
  "option",
3699
3711
  {
3700
3712
  value: $.value,
3701
3713
  className: X.option,
3702
3714
  children: p($.label)
3703
3715
  },
3704
- w
3716
+ k
3705
3717
  ))
3706
3718
  ]
3707
3719
  }
@@ -3709,7 +3721,7 @@ const Pe = (n) => n.render(bs(n)), _s = "_textInputContainer_1o3iy_2", vs = "_la
3709
3721
  /* @__PURE__ */ i(
3710
3722
  "img",
3711
3723
  {
3712
- src: Ht,
3724
+ src: Wt,
3713
3725
  alt: "Open",
3714
3726
  className: X.dropdownArrow
3715
3727
  }
@@ -3720,8 +3732,8 @@ const Pe = (n) => n.render(bs(n)), _s = "_textInputContainer_1o3iy_2", vs = "_la
3720
3732
  /* @__PURE__ */ i(
3721
3733
  Ze,
3722
3734
  {
3723
- errorMessage: (L = k.error) == null ? void 0 : L.message,
3724
- errorColor: _ || g
3735
+ errorMessage: (S = N.error) == null ? void 0 : S.message,
3736
+ errorColor: _ || C
3725
3737
  }
3726
3738
  )
3727
3739
  ] });
@@ -3733,37 +3745,37 @@ const Pe = (n) => n.render(bs(n)), _s = "_textInputContainer_1o3iy_2", vs = "_la
3733
3745
  " ",
3734
3746
  a && /* @__PURE__ */ i("label", { children: "*" })
3735
3747
  ] }),
3736
- /* @__PURE__ */ h("div", { className: X.inputContainer, style: { width: C }, children: [
3748
+ /* @__PURE__ */ h("div", { className: X.inputContainer, style: { width: m }, children: [
3737
3749
  /* @__PURE__ */ h(
3738
3750
  "select",
3739
3751
  {
3740
- value: N ?? "",
3741
- onChange: (m) => {
3742
- const k = m.target.value, x = f.every((L) => typeof L.value == "number") ? Number(k) : k;
3743
- S(x);
3752
+ value: w ?? "",
3753
+ onChange: (g) => {
3754
+ const N = g.target.value, x = f.every((S) => typeof S.value == "number") ? Number(N) : N;
3755
+ L(x);
3744
3756
  },
3745
3757
  className: X.selectInput,
3746
3758
  children: [
3747
3759
  /* @__PURE__ */ i("option", { value: "", disabled: !0, hidden: !0, children: p(u || "selectOption") }),
3748
- f.map((m, k) => /* @__PURE__ */ i(
3760
+ f.map((g, N) => /* @__PURE__ */ i(
3749
3761
  "option",
3750
3762
  {
3751
- value: m.value,
3763
+ value: g.value,
3752
3764
  className: X.option,
3753
- children: p(m.label)
3765
+ children: p(g.label)
3754
3766
  },
3755
- k
3767
+ N
3756
3768
  ))
3757
3769
  ]
3758
3770
  }
3759
3771
  ),
3760
- /* @__PURE__ */ i("img", { src: Ht, alt: "Open", className: X.dropdownArrow })
3772
+ /* @__PURE__ */ i("img", { src: Wt, alt: "Open", className: X.dropdownArrow })
3761
3773
  ] }),
3762
3774
  (() => {
3763
- const m = f.find(
3764
- (k) => k.value === N
3775
+ const g = f.find(
3776
+ (N) => N.value === w
3765
3777
  );
3766
- return m && m.description ? /* @__PURE__ */ i("div", { className: X.optionDescription, children: p(m.description) }) : null;
3778
+ return g && g.description ? /* @__PURE__ */ i("div", { className: X.optionDescription, children: p(g.description) }) : null;
3767
3779
  })()
3768
3780
  ] });
3769
3781
  }, Is = "_radioButtonContainer_1e994_2", Es = "_wholeInputContainer_1e994_5", qs = "_questionContainer_1e994_27", zs = "_radioQuestion_1e994_59", Ps = "_inputContainer_1e994_63", Zs = "_radioInput_1e994_93", xe = {
@@ -3782,26 +3794,26 @@ const Pe = (n) => n.render(bs(n)), _s = "_textInputContainer_1o3iy_2", vs = "_la
3782
3794
  errorColor: d = "red",
3783
3795
  options: a = [],
3784
3796
  multi: l = !1
3785
- } = n, { t: u } = A(), { control: g, trigger: C, clearErrors: f } = c, { errorColor: p } = je((v) => v), y = ({ options: v, onChange: _, actualValue: N }) => {
3786
- if (l && N && N.length > 0) {
3787
- let S = N.filter((m) => m !== v);
3788
- _(S);
3797
+ } = n, { t: u } = A(), { control: C, trigger: m, clearErrors: f } = c, { errorColor: p } = je((v) => v), y = ({ options: v, onChange: _, actualValue: w }) => {
3798
+ if (l && w && w.length > 0) {
3799
+ let L = w.filter((g) => g !== v);
3800
+ _(L);
3789
3801
  }
3790
- }, b = ({ options: v, onChange: _, actualValue: N }) => {
3791
- l ? N && N.length > 0 ? _([...N, v]) : _([v]) : _(v);
3802
+ }, b = ({ options: v, onChange: _, actualValue: w }) => {
3803
+ l ? w && w.length > 0 ? _([...w, v]) : _([v]) : _(v);
3792
3804
  };
3793
3805
  return Y(t), /* @__PURE__ */ i(
3794
3806
  Pe,
3795
3807
  {
3796
- control: g,
3808
+ control: C,
3797
3809
  name: s,
3798
3810
  rules: {
3799
3811
  validate: (v) => t && (v == null || v === "") ? `${u(r)} ${u("errorMessages.required")}` : null
3800
3812
  },
3801
3813
  render: ({
3802
3814
  formState: { errors: v },
3803
- field: { onChange: _, onBlur: N, value: S, ref: m },
3804
- fieldState: k
3815
+ field: { onChange: _, onBlur: w, value: L, ref: g },
3816
+ fieldState: N
3805
3817
  }) => {
3806
3818
  var x;
3807
3819
  return /* @__PURE__ */ i("div", { id: s + "id", className: xe.radioButtonContainer, children: /* @__PURE__ */ h("div", { className: xe.wholeInputContainer, children: [
@@ -3816,7 +3828,7 @@ const Pe = (n) => n.render(bs(n)), _s = "_textInputContainer_1o3iy_2", vs = "_la
3816
3828
  t && /* @__PURE__ */ i(
3817
3829
  "label",
3818
3830
  {
3819
- style: { color: k.error ? d : "" },
3831
+ style: { color: N.error ? d : "" },
3820
3832
  children: "*"
3821
3833
  }
3822
3834
  )
@@ -3826,25 +3838,25 @@ const Pe = (n) => n.render(bs(n)), _s = "_textInputContainer_1o3iy_2", vs = "_la
3826
3838
  /* @__PURE__ */ h("div", { className: xe.inputContainer, children: [
3827
3839
  a.map(
3828
3840
  ({
3829
- label: L,
3841
+ label: S,
3830
3842
  value: $,
3831
- disabled: w = !1,
3843
+ disabled: k = !1,
3832
3844
  italicLabel: T
3833
- }, D) => {
3834
- const V = S && l ? S.isArray && (S == null ? void 0 : S.length) > 0 && S.some((F) => F === $) : S === $;
3845
+ }, F) => {
3846
+ const D = L && l ? L.isArray && (L == null ? void 0 : L.length) > 0 && L.some((B) => B === $) : L === $;
3835
3847
  return /* @__PURE__ */ h("label", { children: [
3836
3848
  /* @__PURE__ */ i(
3837
3849
  "input",
3838
3850
  {
3839
3851
  type: "radio",
3840
- checked: V,
3852
+ checked: D,
3841
3853
  onChange: () => {
3842
- l ? V ? y({
3843
- actualValue: S,
3854
+ l ? D ? y({
3855
+ actualValue: L,
3844
3856
  options: a,
3845
3857
  onChange: _
3846
3858
  }) : b({
3847
- actualValue: S,
3859
+ actualValue: L,
3848
3860
  options: a,
3849
3861
  onChange: _
3850
3862
  }) : _($);
@@ -3853,14 +3865,14 @@ const Pe = (n) => n.render(bs(n)), _s = "_textInputContainer_1o3iy_2", vs = "_la
3853
3865
  }
3854
3866
  ),
3855
3867
  /* @__PURE__ */ i("span", { className: "radio-custom" }),
3856
- u(L)
3857
- ] }, `inputRadio ${D}`);
3868
+ u(S)
3869
+ ] }, `inputRadio ${F}`);
3858
3870
  }
3859
3871
  ),
3860
3872
  /* @__PURE__ */ i(
3861
3873
  Ze,
3862
3874
  {
3863
- errorMessage: (x = k.error) == null ? void 0 : x.message,
3875
+ errorMessage: (x = N.error) == null ? void 0 : x.message,
3864
3876
  errorColor: p || d
3865
3877
  }
3866
3878
  )
@@ -3888,42 +3900,42 @@ const Pe = (n) => n.render(bs(n)), _s = "_textInputContainer_1o3iy_2", vs = "_la
3888
3900
  thumbColor: l = "#B32F5D",
3889
3901
  //trackColors = ["#B32F5D", "#EFEFEF"],
3890
3902
  required: u,
3891
- errorColor: g = "red",
3892
- labelWidth: C = "300px",
3903
+ errorColor: C = "red",
3904
+ labelWidth: m = "300px",
3893
3905
  sliderWidth: f = "300px",
3894
3906
  minText: p,
3895
3907
  maxText: y,
3896
3908
  disabled: b = !1,
3897
3909
  marks: v = Array.from(
3898
3910
  { length: d - o + 1 },
3899
- (w, T) => o + T
3911
+ (k, T) => o + T
3900
3912
  ),
3901
3913
  showMarksNumber: _ = !0
3902
- } = n, { t: N } = A(), { control: S, trigger: m, clearErrors: k } = c || {};
3914
+ } = n, { t: w } = A(), { control: L, trigger: g, clearErrors: N } = c || {};
3903
3915
  Y(u);
3904
- const { errorColorForm: x } = je((w) => w), [L, $] = I(a);
3916
+ const { errorColorForm: x } = je((k) => k), [S, $] = I(a);
3905
3917
  return c ? /* @__PURE__ */ i(
3906
3918
  Pe,
3907
3919
  {
3908
3920
  name: r,
3909
- control: S,
3921
+ control: L,
3910
3922
  defaultValue: a,
3911
3923
  rules: {
3912
- required: u ? `${N(t)} ${N("errorMessages.required")}` : !1
3924
+ required: u ? `${w(t)} ${w("errorMessages.required")}` : !1
3913
3925
  },
3914
- render: ({ field: w, fieldState: T }) => {
3915
- var D;
3926
+ render: ({ field: k, fieldState: T }) => {
3927
+ var F;
3916
3928
  return /* @__PURE__ */ h(
3917
3929
  "div",
3918
3930
  {
3919
3931
  className: W.rankingSliderContainer,
3920
3932
  style: {
3921
- gridTemplateColumns: `${t && C} ${f}`
3933
+ gridTemplateColumns: `${t && m} ${f}`
3922
3934
  },
3923
3935
  children: [
3924
- t && /* @__PURE__ */ i("p", { className: W.labelContainer, children: N(t) }),
3936
+ t && /* @__PURE__ */ i("p", { className: W.labelContainer, children: w(t) }),
3925
3937
  /* @__PURE__ */ h("div", { className: W.inputContainer, children: [
3926
- p && /* @__PURE__ */ i("div", { className: W.minLabel, children: N(p) }),
3938
+ p && /* @__PURE__ */ i("div", { className: W.minLabel, children: w(p) }),
3927
3939
  /* @__PURE__ */ h("div", { children: [
3928
3940
  /* @__PURE__ */ i(
3929
3941
  xt,
@@ -3931,16 +3943,16 @@ const Pe = (n) => n.render(bs(n)), _s = "_textInputContainer_1o3iy_2", vs = "_la
3931
3943
  min: o,
3932
3944
  max: d,
3933
3945
  step: 1,
3934
- value: w.value ?? a,
3935
- onChange: (V) => w.onChange(V),
3946
+ value: k.value ?? a,
3947
+ onChange: (D) => k.onChange(D),
3936
3948
  marks: !0,
3937
3949
  className: W.slider,
3938
3950
  thumbClassName: W.thumb,
3939
- renderThumb: (V) => /* @__PURE__ */ i(
3951
+ renderThumb: (D) => /* @__PURE__ */ i(
3940
3952
  "div",
3941
3953
  {
3942
- ...V,
3943
- style: { ...V.style, backgroundColor: l }
3954
+ ...D,
3955
+ style: { ...D.style, backgroundColor: l }
3944
3956
  }
3945
3957
  ),
3946
3958
  trackClassName: W.track,
@@ -3948,15 +3960,15 @@ const Pe = (n) => n.render(bs(n)), _s = "_textInputContainer_1o3iy_2", vs = "_la
3948
3960
  disabled: b
3949
3961
  }
3950
3962
  ),
3951
- v && /* @__PURE__ */ i("div", { className: W.labels, children: v.map((V) => /* @__PURE__ */ i("span", { children: _ && V }, V)) })
3963
+ v && /* @__PURE__ */ i("div", { className: W.labels, children: v.map((D) => /* @__PURE__ */ i("span", { children: _ && D }, D)) })
3952
3964
  ] }),
3953
- y && /* @__PURE__ */ i("div", { className: W.maxLabel, children: N(y) })
3965
+ y && /* @__PURE__ */ i("div", { className: W.maxLabel, children: w(y) })
3954
3966
  ] }),
3955
3967
  /* @__PURE__ */ i(
3956
3968
  Ze,
3957
3969
  {
3958
- errorMessage: (D = T.error) == null ? void 0 : D.message,
3959
- errorColor: x || g
3970
+ errorMessage: (F = T.error) == null ? void 0 : F.message,
3971
+ errorColor: x || C
3960
3972
  }
3961
3973
  )
3962
3974
  ]
@@ -3968,11 +3980,11 @@ const Pe = (n) => n.render(bs(n)), _s = "_textInputContainer_1o3iy_2", vs = "_la
3968
3980
  "div",
3969
3981
  {
3970
3982
  className: W.rankingSliderContainer,
3971
- style: { gridTemplateColumns: `${t && C} ${f}` },
3983
+ style: { gridTemplateColumns: `${t && m} ${f}` },
3972
3984
  children: [
3973
- t && /* @__PURE__ */ i("p", { className: W.labelContainer, children: N(t) }),
3985
+ t && /* @__PURE__ */ i("p", { className: W.labelContainer, children: w(t) }),
3974
3986
  /* @__PURE__ */ h("div", { className: W.inputContainer, children: [
3975
- p && /* @__PURE__ */ i("div", { className: W.minLabel, children: N(p) }),
3987
+ p && /* @__PURE__ */ i("div", { className: W.minLabel, children: w(p) }),
3976
3988
  /* @__PURE__ */ h("div", { children: [
3977
3989
  /* @__PURE__ */ i(
3978
3990
  xt,
@@ -3980,18 +3992,18 @@ const Pe = (n) => n.render(bs(n)), _s = "_textInputContainer_1o3iy_2", vs = "_la
3980
3992
  min: o,
3981
3993
  max: d,
3982
3994
  step: 1,
3983
- value: L,
3984
- onChange: (w) => {
3985
- $(w), s && s(w);
3995
+ value: S,
3996
+ onChange: (k) => {
3997
+ $(k), s && s(k);
3986
3998
  },
3987
3999
  marks: !0,
3988
4000
  className: W.slider,
3989
4001
  thumbClassName: W.thumb,
3990
- renderThumb: (w) => /* @__PURE__ */ i(
4002
+ renderThumb: (k) => /* @__PURE__ */ i(
3991
4003
  "div",
3992
4004
  {
3993
- ...w,
3994
- style: { ...w.style, backgroundColor: l }
4005
+ ...k,
4006
+ style: { ...k.style, backgroundColor: l }
3995
4007
  }
3996
4008
  ),
3997
4009
  trackClassName: W.track,
@@ -3999,9 +4011,9 @@ const Pe = (n) => n.render(bs(n)), _s = "_textInputContainer_1o3iy_2", vs = "_la
3999
4011
  disabled: b
4000
4012
  }
4001
4013
  ),
4002
- v && /* @__PURE__ */ i("div", { className: W.labels, children: v.map((w) => /* @__PURE__ */ i("span", { children: _ && w }, w)) })
4014
+ v && /* @__PURE__ */ i("div", { className: W.labels, children: v.map((k) => /* @__PURE__ */ i("span", { children: _ && k }, k)) })
4003
4015
  ] }),
4004
- y && /* @__PURE__ */ i("div", { className: W.maxLabel, children: N(y) })
4016
+ y && /* @__PURE__ */ i("div", { className: W.maxLabel, children: w(y) })
4005
4017
  ] })
4006
4018
  ]
4007
4019
  }
@@ -4025,15 +4037,15 @@ b2.propTypes = {
4025
4037
  }),
4026
4038
  reactHookFormInstance: e.object
4027
4039
  };
4028
- const Ys = "_textDescriptionContainer_163pc_2", er = "_textDescriptionText_163pc_6", Wt = {
4040
+ const Ys = "_textDescriptionContainer_163pc_2", er = "_textDescriptionText_163pc_6", Kt = {
4029
4041
  textDescriptionContainer: Ys,
4030
4042
  textDescriptionText: er
4031
4043
  }, tr = ({ input: n, inputContainerStyles: c }) => /* @__PURE__ */ i(
4032
4044
  "div",
4033
4045
  {
4034
- className: Wt.textDescriptionContainer,
4046
+ className: Kt.textDescriptionContainer,
4035
4047
  style: { margin: "10px 0", ...c },
4036
- children: /* @__PURE__ */ i("p", { className: Wt.textDescriptionText, children: n.text })
4048
+ children: /* @__PURE__ */ i("p", { className: Kt.textDescriptionText, children: n.text })
4037
4049
  }
4038
4050
  ), Ee = ({
4039
4051
  inputs: n,
@@ -4057,7 +4069,7 @@ const Ys = "_textDescriptionContainer_163pc_2", er = "_textDescriptionText_163pc
4057
4069
  className: De.inputContainer,
4058
4070
  style: { ...c },
4059
4071
  children: /* @__PURE__ */ i(
4060
- jt,
4072
+ Ht,
4061
4073
  {
4062
4074
  input: d,
4063
4075
  reactHookFormInstance: s
@@ -4073,7 +4085,7 @@ const Ys = "_textDescriptionContainer_163pc_2", er = "_textDescriptionText_163pc
4073
4085
  className: De.inputContainer,
4074
4086
  style: { ...c },
4075
4087
  children: /* @__PURE__ */ i(
4076
- jt,
4088
+ Ht,
4077
4089
  {
4078
4090
  input: d,
4079
4091
  reactHookFormInstance: s
@@ -4148,7 +4160,7 @@ const Ys = "_textDescriptionContainer_163pc_2", er = "_textDescriptionText_163pc
4148
4160
  sectionItemActive: ir,
4149
4161
  sectionItem: sr,
4150
4162
  sectionItemError: rr
4151
- }, Kt = ({
4163
+ }, Ut = ({
4152
4164
  categories: n,
4153
4165
  onChange: c,
4154
4166
  activeCategory: s,
@@ -4165,20 +4177,20 @@ const Ys = "_textDescriptionContainer_163pc_2", er = "_textDescriptionText_163pc
4165
4177
  className: qe.categorySelector,
4166
4178
  style: t ? { ...t } : {},
4167
4179
  children: n.map((l, u) => {
4168
- const { id: g, label: C } = l, f = s == g, p = o.includes(g);
4180
+ const { id: C, label: m } = l, f = s == C, p = o.includes(C);
4169
4181
  return /* @__PURE__ */ i(
4170
4182
  "button",
4171
4183
  {
4172
4184
  className: `${qe.sectionItem} ${f ? qe.sectionItemActive : ""} ${p ? qe.sectionItemError : ""}`,
4173
4185
  type: "button",
4174
4186
  style: { backgroundColor: f ? r : "inherit" },
4175
- onClick: () => a(g),
4187
+ onClick: () => a(C),
4176
4188
  children: /* @__PURE__ */ i(
4177
4189
  "span",
4178
4190
  {
4179
4191
  style: { color: f ? "white" : "inherit" },
4180
4192
  className: qe.sectionLabel,
4181
- children: d(C)
4193
+ children: d(m)
4182
4194
  }
4183
4195
  )
4184
4196
  },
@@ -4198,8 +4210,8 @@ const Ys = "_textDescriptionContainer_163pc_2", er = "_textDescriptionText_163pc
4198
4210
  submitButtonStyles: a = { width: 325 },
4199
4211
  showCategorySelector: l = !0,
4200
4212
  defaultCategory: u = null,
4201
- categoryLabel: g = "Select Category",
4202
- activeCategory: C = null,
4213
+ categoryLabel: C = "Select Category",
4214
+ activeCategory: m = null,
4203
4215
  activeCategoryColor: f = "#b32f5d",
4204
4216
  categoriesWithErrors: p = [],
4205
4217
  onSubmit: y = (b) => console.log("Form submitted with: ", b)
@@ -4208,49 +4220,49 @@ const Ys = "_textDescriptionContainer_163pc_2", er = "_textDescriptionText_163pc
4208
4220
  O(() => {
4209
4221
  o && je.setState(() => ({ errorColor: o }));
4210
4222
  }, [o]);
4211
- const N = Fe(() => c ? c.filter((w) => w.category).map((w) => {
4223
+ const w = Fe(() => c ? c.filter((k) => k.category).map((k) => {
4212
4224
  var T;
4213
4225
  return {
4214
- id: w.categoryId,
4215
- label: w.category,
4216
- hasSubcategories: ((T = w.subcategories) == null ? void 0 : T.length) > 0
4226
+ id: k.categoryId,
4227
+ label: k.category,
4228
+ hasSubcategories: ((T = k.subcategories) == null ? void 0 : T.length) > 0
4217
4229
  };
4218
- }) : [], [c]), S = (w) => {
4219
- const T = c == null ? void 0 : c.find((D) => D.categoryId === w);
4230
+ }) : [], [c]), L = (k) => {
4231
+ const T = c == null ? void 0 : c.find((F) => F.categoryId === k);
4220
4232
  return (T == null ? void 0 : T.subcategories) || [];
4221
- }, [m, k] = I(
4222
- C || u || null
4223
- ), [x, L] = I(null);
4233
+ }, [g, N] = I(
4234
+ m || u || null
4235
+ ), [x, S] = I(null);
4224
4236
  O(() => {
4225
- !m && N.length > 0 && k(N[0].id);
4226
- }, [N, m]), O(() => {
4227
- const w = S(m);
4228
- !x && (w == null ? void 0 : w.length) > 0 && L(w[0].id);
4229
- }, [m, x, c]);
4230
- const $ = (w, T) => {
4231
- var D;
4232
- if (((D = w.subcategories) == null ? void 0 : D.length) > 0) {
4233
- const V = w.subcategories;
4237
+ !g && w.length > 0 && N(w[0].id);
4238
+ }, [w, g]), O(() => {
4239
+ const k = L(g);
4240
+ !x && (k == null ? void 0 : k.length) > 0 && S(k[0].id);
4241
+ }, [g, x, c]);
4242
+ const $ = (k, T) => {
4243
+ var F;
4244
+ if (((F = k.subcategories) == null ? void 0 : F.length) > 0) {
4245
+ const D = k.subcategories;
4234
4246
  return /* @__PURE__ */ h("div", { children: [
4235
4247
  /* @__PURE__ */ i(
4236
4248
  "div",
4237
4249
  {
4238
4250
  className: Re.categorySelectorContainer,
4239
4251
  children: /* @__PURE__ */ i(
4240
- Kt,
4252
+ Ut,
4241
4253
  {
4242
4254
  activeCategory: x,
4243
- categories: V,
4255
+ categories: D,
4244
4256
  categoriesWithErrors: p,
4245
- onChange: (F) => L(F),
4257
+ onChange: (B) => S(B),
4246
4258
  activeColor: f
4247
4259
  }
4248
4260
  )
4249
4261
  },
4250
- w.categoryId
4262
+ k.categoryId
4251
4263
  ),
4252
- V.map((F, R) => {
4253
- const Z = !x || F.id === x;
4264
+ D.map((B, R) => {
4265
+ const Z = !x || B.id === x;
4254
4266
  return s ? /* @__PURE__ */ i(
4255
4267
  "div",
4256
4268
  {
@@ -4258,18 +4270,18 @@ const Ys = "_textDescriptionContainer_163pc_2", er = "_textDescriptionText_163pc
4258
4270
  display: Z ? "block" : "none",
4259
4271
  width: "100%"
4260
4272
  },
4261
- children: /* @__PURE__ */ i(s, { title: F.label, children: /* @__PURE__ */ i(
4273
+ children: /* @__PURE__ */ i(s, { title: B.label, children: /* @__PURE__ */ i(
4262
4274
  Ee,
4263
4275
  {
4264
- inputs: F.inputs,
4276
+ inputs: B.inputs,
4265
4277
  control: _,
4266
4278
  inputContainerStyles: r,
4267
4279
  errorColor: o,
4268
4280
  reactHookFormInstance: n
4269
4281
  }
4270
- ) }, F.id)
4282
+ ) }, B.id)
4271
4283
  },
4272
- `${F.id}${R}`
4284
+ `${B.id}${R}`
4273
4285
  ) : /* @__PURE__ */ h(
4274
4286
  "div",
4275
4287
  {
@@ -4278,11 +4290,11 @@ const Ys = "_textDescriptionContainer_163pc_2", er = "_textDescriptionText_163pc
4278
4290
  display: Z ? "block" : "none"
4279
4291
  },
4280
4292
  children: [
4281
- /* @__PURE__ */ i("h3", { style: { marginBottom: 15 }, children: b(F.label) }),
4293
+ /* @__PURE__ */ i("h3", { style: { marginBottom: 15 }, children: b(B.label) }),
4282
4294
  /* @__PURE__ */ i(
4283
4295
  Ee,
4284
4296
  {
4285
- inputs: F.inputs,
4297
+ inputs: B.inputs,
4286
4298
  control: _,
4287
4299
  inputContainerStyles: r,
4288
4300
  errorColor: o,
@@ -4291,63 +4303,63 @@ const Ys = "_textDescriptionContainer_163pc_2", er = "_textDescriptionText_163pc
4291
4303
  )
4292
4304
  ]
4293
4305
  },
4294
- `${F.id}${R}`
4306
+ `${B.id}${R}`
4295
4307
  );
4296
4308
  })
4297
4309
  ] });
4298
4310
  }
4299
- return s ? /* @__PURE__ */ i(s, { title: w.category, children: /* @__PURE__ */ i(
4311
+ return s ? /* @__PURE__ */ i(s, { title: k.category, children: /* @__PURE__ */ i(
4300
4312
  Ee,
4301
4313
  {
4302
- inputs: w.inputs,
4314
+ inputs: k.inputs,
4303
4315
  control: _,
4304
4316
  inputContainerStyles: r,
4305
4317
  errorColor: o,
4306
4318
  reactHookFormInstance: n
4307
4319
  }
4308
- ) }, w.categoryId) : /* @__PURE__ */ h("div", { style: { width: "100%" }, children: [
4309
- /* @__PURE__ */ i("h2", { children: b(w.category) }),
4320
+ ) }, k.categoryId) : /* @__PURE__ */ h("div", { style: { width: "100%" }, children: [
4321
+ /* @__PURE__ */ i("h2", { children: b(k.category) }),
4310
4322
  /* @__PURE__ */ i(
4311
4323
  Ee,
4312
4324
  {
4313
- inputs: w.inputs,
4325
+ inputs: k.inputs,
4314
4326
  control: _,
4315
4327
  inputContainerStyles: r,
4316
4328
  errorColor: o,
4317
4329
  reactHookFormInstance: n
4318
4330
  }
4319
4331
  )
4320
- ] }, w.categoryId);
4332
+ ] }, k.categoryId);
4321
4333
  };
4322
4334
  return /* @__PURE__ */ h("form", { className: Re.formContainer, onSubmit: v(y), children: [
4323
- l && N.length > 0 && /* @__PURE__ */ i("div", { className: Re.categorySelectorContainer, children: /* @__PURE__ */ i(
4324
- Kt,
4335
+ l && w.length > 0 && /* @__PURE__ */ i("div", { className: Re.categorySelectorContainer, children: /* @__PURE__ */ i(
4336
+ Ut,
4325
4337
  {
4326
- activeCategory: m,
4327
- categories: N,
4338
+ activeCategory: g,
4339
+ categories: w,
4328
4340
  categoriesWithErrors: p,
4329
- onChange: (w) => {
4330
- k(w), L(null);
4341
+ onChange: (k) => {
4342
+ N(k), S(null);
4331
4343
  },
4332
4344
  activeColor: f
4333
4345
  }
4334
4346
  ) }),
4335
- /* @__PURE__ */ i("div", { className: Re.formObjectContainer, children: c == null ? void 0 : c.map((w, T) => {
4336
- const D = w.categoryId === m;
4337
- return w.category ? /* @__PURE__ */ i(
4347
+ /* @__PURE__ */ i("div", { className: Re.formObjectContainer, children: c == null ? void 0 : c.map((k, T) => {
4348
+ const F = k.categoryId === g;
4349
+ return k.category ? /* @__PURE__ */ i(
4338
4350
  "div",
4339
4351
  {
4340
4352
  style: {
4341
4353
  width: "100%",
4342
- display: D ? "block" : "none"
4354
+ display: F ? "block" : "none"
4343
4355
  },
4344
- children: $(w)
4356
+ children: $(k)
4345
4357
  },
4346
- w.categoryId
4358
+ k.categoryId
4347
4359
  ) : /* @__PURE__ */ i(
4348
4360
  Ee,
4349
4361
  {
4350
- inputs: w.inputs,
4362
+ inputs: k.inputs,
4351
4363
  control: _,
4352
4364
  inputContainerStyles: r,
4353
4365
  errorColor: o,
@@ -4519,16 +4531,16 @@ const Tr = "_switchContainer_194wl_2", Dr = "_labelRight_194wl_9", Br = "_labelL
4519
4531
  defValue: a = !1,
4520
4532
  colorOn: l = "#5A514D",
4521
4533
  disabled: u = !1,
4522
- width: g = 240
4523
- } = n, { t: C } = A(), { control: f } = c || {}, [p, y] = I(a), b = (_) => {
4534
+ width: C = 240
4535
+ } = n, { t: m } = A(), { control: f } = c || {}, [p, y] = I(a), b = (_) => {
4524
4536
  y(_), s && s(_);
4525
- }, v = (_, N) => /* @__PURE__ */ h("div", { className: Be.switchContainer, style: { width: `${g}px` }, children: [
4537
+ }, v = (_, w) => /* @__PURE__ */ h("div", { className: Be.switchContainer, style: { width: `${C}px` }, children: [
4526
4538
  o && /* @__PURE__ */ i(
4527
4539
  "span",
4528
4540
  {
4529
4541
  className: Be.labelLeft,
4530
- style: { width: `${(g - 74) / 2}px` },
4531
- children: C(o)
4542
+ style: { width: `${(C - 74) / 2}px` },
4543
+ children: m(o)
4532
4544
  }
4533
4545
  ),
4534
4546
  /* @__PURE__ */ h("label", { className: `${Be.switch} ${u ? Be.disabled : ""}`, children: [
@@ -4537,7 +4549,7 @@ const Tr = "_switchContainer_194wl_2", Dr = "_labelRight_194wl_9", Br = "_labelL
4537
4549
  {
4538
4550
  type: "checkbox",
4539
4551
  checked: !!_,
4540
- onChange: () => N(!_),
4552
+ onChange: () => w(!_),
4541
4553
  disabled: u
4542
4554
  }
4543
4555
  ),
@@ -4551,7 +4563,7 @@ const Tr = "_switchContainer_194wl_2", Dr = "_labelRight_194wl_9", Br = "_labelL
4551
4563
  }
4552
4564
  )
4553
4565
  ] }),
4554
- d && /* @__PURE__ */ i("span", { className: Be.labelRight, style: { width: `${(g - 74) / 2}px` }, children: C(d) })
4566
+ d && /* @__PURE__ */ i("span", { className: Be.labelRight, style: { width: `${(C - 74) / 2}px` }, children: m(d) })
4555
4567
  ] });
4556
4568
  return c ? /* @__PURE__ */ i(
4557
4569
  Pe,
@@ -4610,7 +4622,7 @@ const zr = "_container_1pl8d_3", Pr = "_burger_1pl8d_10", Zr = "_menu_1pl8d_21",
4610
4622
  textColor: s,
4611
4623
  iconColor: r
4612
4624
  }) => {
4613
- const [t, o] = I(!1), d = () => o((y) => !y), a = () => o(!1), l = 7, u = t ? 11 : 0, g = t ? 13 : 0, C = t ? -11.51666 : 0, f = t ? -13 : 0, p = "0.35s";
4625
+ const [t, o] = I(!1), d = () => o((y) => !y), a = () => o(!1), l = 7, u = t ? 11 : 0, C = t ? 13 : 0, m = t ? -11.51666 : 0, f = t ? -13 : 0, p = "0.35s";
4614
4626
  return /* @__PURE__ */ h("div", { className: ae.container, children: [
4615
4627
  /* @__PURE__ */ i("button", { onClick: d, className: ae.burger, children: /* @__PURE__ */ h(
4616
4628
  "svg",
@@ -4635,7 +4647,7 @@ const zr = "_container_1pl8d_3", Pr = "_burger_1pl8d_10", Zr = "_menu_1pl8d_21",
4635
4647
  "g",
4636
4648
  {
4637
4649
  style: {
4638
- transform: `translate(${g}px, ${C}px)`,
4650
+ transform: `translate(${C}px, ${m}px)`,
4639
4651
  transition: `transform ${p} cubic-bezier(0.42, 0, 0.58, 1)`
4640
4652
  },
4641
4653
  children: /* @__PURE__ */ i("circle", { cx: "7", cy: "31.51666", r: l, fill: r })
@@ -4645,7 +4657,7 @@ const zr = "_container_1pl8d_3", Pr = "_burger_1pl8d_10", Zr = "_menu_1pl8d_21",
4645
4657
  "g",
4646
4658
  {
4647
4659
  style: {
4648
- transform: `translate(${f}px, ${C}px)`,
4660
+ transform: `translate(${f}px, ${m}px)`,
4649
4661
  transition: `transform ${p} cubic-bezier(0.42, 0, 0.58, 1)`
4650
4662
  },
4651
4663
  children: /* @__PURE__ */ i("circle", { cx: "33", cy: "31.51666", r: l, fill: r })
@@ -4687,7 +4699,7 @@ const zr = "_container_1pl8d_3", Pr = "_burger_1pl8d_10", Zr = "_menu_1pl8d_21",
4687
4699
  style: { backgroundColor: c, color: s },
4688
4700
  children: /* @__PURE__ */ i("ul", { className: ae.list, children: n.map((y, b) => /* @__PURE__ */ h("li", { className: ae.item, children: [
4689
4701
  y.url && /* @__PURE__ */ i(
4690
- e2,
4702
+ t2,
4691
4703
  {
4692
4704
  to: y.url,
4693
4705
  className: ({ isActive: v }) => `${ae.link} ${v ? ae.active : ""}`,
@@ -4723,7 +4735,7 @@ x2.defaultProps = {
4723
4735
  textColor: "#000000",
4724
4736
  iconColor: "#000000"
4725
4737
  };
4726
- const Gr = "_svgContainer_1rxoe_2", Xr = "_svg_1rxoe_2", Ut = {
4738
+ const Gr = "_svgContainer_1rxoe_2", Xr = "_svg_1rxoe_2", Gt = {
4727
4739
  svgContainer: Gr,
4728
4740
  svg: Xr
4729
4741
  }, Qr = ({
@@ -4737,24 +4749,24 @@ const Gr = "_svgContainer_1rxoe_2", Xr = "_svg_1rxoe_2", Ut = {
4737
4749
  showXAxisLabels: a = !0,
4738
4750
  showYAxisLabels: l = !0,
4739
4751
  showGrid: u = !0,
4740
- xAxisTickRotation: g = -90,
4741
- yAxisTickFormat: C = (m) => m.toLocaleString("es-ES"),
4752
+ xAxisTickRotation: C = -90,
4753
+ yAxisTickFormat: m = (g) => g.toLocaleString("es-ES"),
4742
4754
  barPadding: f = 0.1,
4743
4755
  groupPadding: p = 0.05,
4744
4756
  animationDuration: y = 750,
4745
4757
  onBarHover: b,
4746
4758
  onBarClick: v,
4747
4759
  title: _,
4748
- xAxisLabel: N,
4749
- yAxisLabel: S
4760
+ xAxisLabel: w,
4761
+ yAxisLabel: L
4750
4762
  }) => {
4751
- const m = Y(), k = Y(), [x, L] = I({ width: 0, height: 0 });
4763
+ const g = Y(), N = Y(), [x, S] = I({ width: 0, height: 0 });
4752
4764
  return O(() => {
4753
4765
  const $ = () => {
4754
- if (k.current) {
4755
- const w = k.current.getBoundingClientRect().width;
4756
- L({
4757
- width: typeof r == "number" ? r : w,
4766
+ if (N.current) {
4767
+ const k = N.current.getBoundingClientRect().width;
4768
+ S({
4769
+ width: typeof r == "number" ? r : k,
4758
4770
  height: t
4759
4771
  });
4760
4772
  }
@@ -4762,25 +4774,25 @@ const Gr = "_svgContainer_1rxoe_2", Xr = "_svg_1rxoe_2", Ut = {
4762
4774
  return $(), window.addEventListener("resize", $), () => window.removeEventListener("resize", $);
4763
4775
  }, [r, t]), O(() => {
4764
4776
  if (!n || n.length === 0 || x.width === 0) return;
4765
- const $ = Ne(m.current), w = x.width, T = x.height, D = w - o.left - o.right, V = T - o.top - o.bottom;
4766
- if (D <= 0 || V <= 0) return;
4767
- const F = n.map((B) => B.anyo || B.year || B.x), R = c, Z = tt(n, (B) => tt(R, (te) => B[te])) || 0, ee = nt(n, (B) => nt(R, (te) => B[te])) || 0, H = ft().domain(F).rangeRound([0, D]).paddingInner(f), q = ft().domain(R).rangeRound([0, H.bandwidth()]).padding(p), ie = Qt().domain([Math.min(0, Z), ee]).nice().rangeRound([V, 0]), he = Jt().domain(R).range(Array.isArray(s) ? s : Object.values(s || {}));
4777
+ const $ = Ne(g.current), k = x.width, T = x.height, F = k - o.left - o.right, D = T - o.top - o.bottom;
4778
+ if (F <= 0 || D <= 0) return;
4779
+ const B = n.map((V) => V.anyo || V.year || V.x), R = c, Z = tt(n, (V) => tt(R, (te) => V[te])) || 0, ee = nt(n, (V) => nt(R, (te) => V[te])) || 0, H = ft().domain(B).rangeRound([0, F]).paddingInner(f), q = ft().domain(R).rangeRound([0, H.bandwidth()]).padding(p), ie = Jt().domain([Math.min(0, Z), ee]).nice().rangeRound([D, 0]), he = Yt().domain(R).range(Array.isArray(s) ? s : Object.values(s || {}));
4768
4780
  $.selectAll("*").remove();
4769
4781
  const me = $.append("g").attr("transform", `translate(${o.left},${o.top})`);
4770
- _ && $.append("text").attr("x", w / 2).attr("y", o.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(_), u && me.append("g").attr("class", "grid").selectAll("line").data(ie.ticks()).enter().append("line").attr("x1", 0).attr("x2", D).attr("y1", (B) => ie(B)).attr("y2", (B) => ie(B)).style("stroke", "#e0e0e0").style("stroke-width", 0.5), a && (me.append("g").attr("transform", `translate(0,${V})`).call(Yt(H).tickSizeOuter(0)).attr("class", "x-axis").selectAll("text").attr("transform", `translate(0,10)rotate(${g})`).style("text-anchor", g < 0 ? "end" : "middle").style("font-size", "12px").style("fill", "#605B56"), N && me.append("text").attr(
4782
+ _ && $.append("text").attr("x", k / 2).attr("y", o.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(_), u && me.append("g").attr("class", "grid").selectAll("line").data(ie.ticks()).enter().append("line").attr("x1", 0).attr("x2", F).attr("y1", (V) => ie(V)).attr("y2", (V) => ie(V)).style("stroke", "#e0e0e0").style("stroke-width", 0.5), a && (me.append("g").attr("transform", `translate(0,${D})`).call(e2(H).tickSizeOuter(0)).attr("class", "x-axis").selectAll("text").attr("transform", `translate(0,10)rotate(${C})`).style("text-anchor", C < 0 ? "end" : "middle").style("font-size", "12px").style("fill", "#605B56"), w && me.append("text").attr(
4771
4783
  "transform",
4772
- `translate(${D / 2}, ${V + o.bottom - 5})`
4773
- ).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(N)), l && (me.append("g").call(yt(ie).ticks(6).tickFormat(C)).attr("class", "y-axis").call((B) => B.select(".domain").remove()), S && me.append("text").attr("transform", "rotate(-90)").attr("y", 0 - o.left).attr("x", 0 - V / 2).attr("dy", "1em").style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(S));
4774
- const Se = me.append("g").selectAll(".bar-group").data(n).enter().append("g").attr("class", "bar-group").attr("transform", (B) => `translate(${H(B.anyo || B.year || B.x)},0)`).selectAll(".bar").data(
4775
- (B) => R.map((te) => ({
4784
+ `translate(${F / 2}, ${D + o.bottom - 5})`
4785
+ ).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(w)), l && (me.append("g").call(yt(ie).ticks(6).tickFormat(m)).attr("class", "y-axis").call((V) => V.select(".domain").remove()), L && me.append("text").attr("transform", "rotate(-90)").attr("y", 0 - o.left).attr("x", 0 - D / 2).attr("dy", "1em").style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(L));
4786
+ const Se = me.append("g").selectAll(".bar-group").data(n).enter().append("g").attr("class", "bar-group").attr("transform", (V) => `translate(${H(V.anyo || V.year || V.x)},0)`).selectAll(".bar").data(
4787
+ (V) => R.map((te) => ({
4776
4788
  key: te,
4777
- value: B[te],
4778
- data: B
4789
+ value: V[te],
4790
+ data: V
4779
4791
  }))
4780
- ).enter().append("rect").attr("class", "bar").attr("x", (B) => q(B.key)).attr("y", V).attr("width", q.bandwidth()).attr("height", 0).attr("fill", (B) => he(B.key)).style("cursor", b || v ? "pointer" : "default");
4781
- Se.transition().duration(y).attr("y", (B) => ie(Math.max(0, B.value))).attr("height", (B) => Math.abs(ie(B.value) - ie(0))), b && Se.on("mouseover", function(B, te) {
4782
- Ne(this).style("opacity", 0.8), b(B, te);
4783
- }).on("mouseout", function(B, te) {
4792
+ ).enter().append("rect").attr("class", "bar").attr("x", (V) => q(V.key)).attr("y", D).attr("width", q.bandwidth()).attr("height", 0).attr("fill", (V) => he(V.key)).style("cursor", b || v ? "pointer" : "default");
4793
+ Se.transition().duration(y).attr("y", (V) => ie(Math.max(0, V.value))).attr("height", (V) => Math.abs(ie(V.value) - ie(0))), b && Se.on("mouseover", function(V, te) {
4794
+ Ne(this).style("opacity", 0.8), b(V, te);
4795
+ }).on("mouseout", function(V, te) {
4784
4796
  Ne(this).style("opacity", 1);
4785
4797
  }), v && Se.on("click", v);
4786
4798
  }, [
@@ -4794,25 +4806,25 @@ const Gr = "_svgContainer_1rxoe_2", Xr = "_svg_1rxoe_2", Ut = {
4794
4806
  a,
4795
4807
  l,
4796
4808
  u,
4797
- g,
4798
4809
  C,
4810
+ m,
4799
4811
  y,
4800
4812
  b,
4801
4813
  v,
4802
4814
  _,
4803
- N,
4804
- S
4815
+ w,
4816
+ L
4805
4817
  ]), /* @__PURE__ */ i(
4806
4818
  "div",
4807
4819
  {
4808
- ref: k,
4809
- className: `${Ut.svgContainer} ${d}`,
4820
+ ref: N,
4821
+ className: `${Gt.svgContainer} ${d}`,
4810
4822
  style: { width: r, height: t + o.top + o.bottom },
4811
4823
  children: /* @__PURE__ */ i(
4812
4824
  "svg",
4813
4825
  {
4814
- ref: m,
4815
- className: Ut.svg,
4826
+ ref: g,
4827
+ className: Gt.svg,
4816
4828
  width: x.width,
4817
4829
  height: x.height
4818
4830
  }
@@ -4850,7 +4862,7 @@ Qr.propTypes = {
4850
4862
  xAxisLabel: e.string,
4851
4863
  yAxisLabel: e.string
4852
4864
  };
4853
- const Jr = "_svgContainer_7fkic_2", Yr = "_svg_7fkic_2", Gt = {
4865
+ const Jr = "_svgContainer_7fkic_2", Yr = "_svg_7fkic_2", Xt = {
4854
4866
  svgContainer: Jr,
4855
4867
  svg: Yr
4856
4868
  }, e1 = ({
@@ -4865,44 +4877,44 @@ const Jr = "_svgContainer_7fkic_2", Yr = "_svg_7fkic_2", Gt = {
4865
4877
  className: a = "",
4866
4878
  showXAxisLabels: l = !0,
4867
4879
  showYAxisLabels: u = !0,
4868
- showGrid: g = !0,
4869
- xAxisTickRotation: C = -90,
4880
+ showGrid: C = !0,
4881
+ xAxisTickRotation: m = -90,
4870
4882
  yAxisTickFormat: f = ($) => $.toLocaleString("es-ES"),
4871
4883
  barPadding: p = 0.4,
4872
4884
  animationDuration: y = 750,
4873
4885
  onBarHover: b,
4874
4886
  onBarClick: v,
4875
4887
  title: _,
4876
- xAxisLabel: N,
4877
- yAxisLabel: S,
4878
- stackOrder: m = "reverse",
4888
+ xAxisLabel: w,
4889
+ yAxisLabel: L,
4890
+ stackOrder: g = "reverse",
4879
4891
  // "reverse", "ascending", "descending", "insideOut", "none"
4880
- showTooltip: k = !0,
4892
+ showTooltip: N = !0,
4881
4893
  reverseKeys: x = !0,
4882
- minBarSlotWidth: L = 60
4894
+ minBarSlotWidth: S = 60
4883
4895
  }) => {
4884
- const $ = Y(), w = Y();
4896
+ const $ = Y(), k = Y();
4885
4897
  Y();
4886
- const [T, D] = I({
4898
+ const [T, F] = I({
4887
4899
  containerWidth: 0,
4888
4900
  height: 0
4889
- }), { t: V } = A();
4901
+ }), { t: D } = A();
4890
4902
  return O(() => {
4891
- const F = () => {
4892
- if (w.current) {
4893
- const R = w.current.getBoundingClientRect().width;
4894
- D({
4903
+ const B = () => {
4904
+ if (k.current) {
4905
+ const R = k.current.getBoundingClientRect().width;
4906
+ F({
4895
4907
  containerWidth: typeof t == "number" ? t : R,
4896
4908
  height: o
4897
4909
  });
4898
4910
  }
4899
4911
  };
4900
- return F(), window.addEventListener("resize", F), () => window.removeEventListener("resize", F);
4912
+ return B(), window.addEventListener("resize", B), () => window.removeEventListener("resize", B);
4901
4913
  }, [t, o]), O(() => {
4902
4914
  if (!n || n.length === 0 || T.containerWidth === 0) return;
4903
- const F = Ne($.current), { containerWidth: R, height: Z } = T, ee = R - d.left - d.right, H = n.length * L, q = Math.max(ee, H), ie = q + d.left + d.right, he = Z - d.top - d.bottom;
4915
+ const B = Ne($.current), { containerWidth: R, height: Z } = T, ee = R - d.left - d.right, H = n.length * S, q = Math.max(ee, H), ie = q + d.left + d.right, he = Z - d.top - d.bottom;
4904
4916
  if (q <= 0 || he <= 0) return;
4905
- F.attr("width", ie).attr("height", Z);
4917
+ B.attr("width", ie).attr("height", Z);
4906
4918
  const me = x ? [...c].reverse() : c, $e = [];
4907
4919
  n.forEach((M) => {
4908
4920
  const z = M.any || M.year || M.x, j = me.map((G) => ({
@@ -4943,42 +4955,42 @@ const Jr = "_svgContainer_7fkic_2", Yr = "_svg_7fkic_2", Gt = {
4943
4955
  tt($e, (M) => Math.min(M.y0, M.y1)) || 0,
4944
4956
  nt($e, (M) => Math.max(M.y0, M.y1)) || 0
4945
4957
  ];
4946
- let B = [0, 0];
4947
- r && r.length > 0 && (B = [tt(r) || 0, nt(r) || 0]);
4958
+ let V = [0, 0];
4959
+ r && r.length > 0 && (V = [tt(r) || 0, nt(r) || 0]);
4948
4960
  const te = [
4949
- Math.min(Se[0], B[0]),
4950
- Math.max(Se[1], B[1])
4951
- ], re = ft().domain(n.map((M) => M.any || M.year || M.x)).range([0, q]).padding(p), se = Qt().domain([te[0], te[1]]).nice(6).range([he, 0]), w2 = Jt().domain(c).range(Array.isArray(s) ? s : Object.values(s || {})), He = r && r.length > 0 ? n.map((M, z) => {
4961
+ Math.min(Se[0], V[0]),
4962
+ Math.max(Se[1], V[1])
4963
+ ], re = ft().domain(n.map((M) => M.any || M.year || M.x)).range([0, q]).padding(p), se = Jt().domain([te[0], te[1]]).nice(6).range([he, 0]), w2 = Yt().domain(c).range(Array.isArray(s) ? s : Object.values(s || {})), He = r && r.length > 0 ? n.map((M, z) => {
4952
4964
  const j = re(M.any || M.year || M.x) + re.bandwidth() / 2, ot = se(r[z] || 0);
4953
4965
  return { x: j, y: ot };
4954
4966
  }) : [];
4955
- F.selectAll("*").remove();
4956
- const oe = F.append("g").attr("transform", `translate(${d.left},${d.top})`);
4957
- _ && F.append("text").attr("x", svgWidth / 2).attr("y", d.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(_), g && oe.append("g").attr("class", "grid").selectAll("line").data(se.ticks(6)).enter().append("line").attr("x1", 0).attr("x2", q).attr("y1", (M) => se(M)).attr("y2", (M) => se(M)).style("stroke", "#e0e0e0").style("stroke-width", 0.5), l && (oe.append("g").attr("class", "x-axis").attr("transform", `translate(0, ${he})`).call(Yt(re).tickSizeOuter(0)).selectAll("text").remove(), oe.append("g").attr("class", "x-axis-labels").attr("transform", `translate(0, ${he})`).selectAll("text").data(n).enter().append("text").attr(
4967
+ B.selectAll("*").remove();
4968
+ const oe = B.append("g").attr("transform", `translate(${d.left},${d.top})`);
4969
+ _ && B.append("text").attr("x", svgWidth / 2).attr("y", d.top / 2).attr("text-anchor", "middle").style("font-size", "16px").style("font-weight", "bold").style("fill", "#333").text(_), C && oe.append("g").attr("class", "grid").selectAll("line").data(se.ticks(6)).enter().append("line").attr("x1", 0).attr("x2", q).attr("y1", (M) => se(M)).attr("y2", (M) => se(M)).style("stroke", "#e0e0e0").style("stroke-width", 0.5), l && (oe.append("g").attr("class", "x-axis").attr("transform", `translate(0, ${he})`).call(e2(re).tickSizeOuter(0)).selectAll("text").remove(), oe.append("g").attr("class", "x-axis-labels").attr("transform", `translate(0, ${he})`).selectAll("text").data(n).enter().append("text").attr(
4958
4970
  "x",
4959
4971
  (j) => re(j.any || j.year || j.x) + re.bandwidth() / 2
4960
4972
  ).attr("y", 19).style(
4961
4973
  "text-anchor",
4962
- C === 0 ? "middle" : C < 0 ? "end" : "start"
4974
+ m === 0 ? "middle" : m < 0 ? "end" : "start"
4963
4975
  ).style("font-size", "12px").style("fill", "#605B56").attr(
4964
4976
  "transform",
4965
- (j) => `rotate(${C} ${re(j.any || j.year || j.x) + re.bandwidth() / 2} 15)`
4966
- ).text((j) => j.any || j.year || j.x), N && oe.append("text").attr(
4977
+ (j) => `rotate(${m} ${re(j.any || j.year || j.x) + re.bandwidth() / 2} 15)`
4978
+ ).text((j) => j.any || j.year || j.x), w && oe.append("text").attr(
4967
4979
  "transform",
4968
4980
  `translate(${q / 2}, ${he + d.bottom - 5})`
4969
- ).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(N)), u && (oe.append("g").attr("class", "y-axis").call(yt(se).ticks(6).tickFormat(f)).call((M) => M.select(".domain").remove()), oe.append("g").attr("class", "y-ticks").attr("transform", `translate(${q}, 0)`).call(yt(se).ticks(6).tickSizeInner(q)).call((M) => M.select(".domain").remove()).call((M) => M.selectAll(".tick text").remove()), S && oe.append("text").attr("transform", "rotate(-90)").attr("y", 0 - d.left).attr("x", 0 - he / 2).attr("dy", "1em").style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(S));
4981
+ ).style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(w)), u && (oe.append("g").attr("class", "y-axis").call(yt(se).ticks(6).tickFormat(f)).call((M) => M.select(".domain").remove()), oe.append("g").attr("class", "y-ticks").attr("transform", `translate(${q}, 0)`).call(yt(se).ticks(6).tickSizeInner(q)).call((M) => M.select(".domain").remove()).call((M) => M.selectAll(".tick text").remove()), L && oe.append("text").attr("transform", "rotate(-90)").attr("y", 0 - d.left).attr("x", 0 - he / 2).attr("dy", "1em").style("text-anchor", "middle").style("font-size", "14px").style("fill", "#333").text(L));
4970
4982
  let le;
4971
- k && (le = Ne("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"));
4983
+ N && (le = Ne("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"));
4972
4984
  const st = oe.selectAll(".segment").data($e, (M) => `${M.xKey}-${M.key}`);
4973
4985
  st.exit().remove();
4974
4986
  const rt = st.enter().append("rect").attr("class", "segment").attr("x", (M) => re(M.xKey)).attr("width", re.bandwidth()).attr("y", (M) => se(0)).attr("height", 0).attr("fill", (M) => w2(M.key)).style(
4975
4987
  "cursor",
4976
- b || v || k ? "pointer" : "default"
4988
+ b || v || N ? "pointer" : "default"
4977
4989
  ).merge(st);
4978
- if (rt.transition().duration(y).attr("x", (M) => re(M.xKey)).attr("y", (M) => Math.min(se(M.y0), se(M.y1))).attr("height", (M) => Math.abs(se(M.y1) - se(M.y0))), (k || b) && rt.on("mouseover", function(M, z) {
4990
+ if (rt.transition().duration(y).attr("x", (M) => re(M.xKey)).attr("y", (M) => Math.min(se(M.y0), se(M.y1))).attr("height", (M) => Math.abs(se(M.y1) - se(M.y0))), (N || b) && rt.on("mouseover", function(M, z) {
4979
4991
  const j = z.value;
4980
- k && le && le.style("visibility", "visible").html(`
4981
- <strong>${V(z.key)}</strong><br/>
4992
+ N && le && le.style("visibility", "visible").html(`
4993
+ <strong>${D(z.key)}</strong><br/>
4982
4994
  ${z.xKey}<br/>
4983
4995
  ${f(j)}
4984
4996
  `), Ne(this).style("opacity", 0.8), b && b(M, {
@@ -4987,9 +4999,9 @@ const Jr = "_svgContainer_7fkic_2", Yr = "_svg_7fkic_2", Gt = {
4987
4999
  data: z.data
4988
5000
  });
4989
5001
  }).on("mousemove", function(M) {
4990
- k && le && le.style("top", M.pageY - 10 + "px").style("left", M.pageX + 10 + "px");
5002
+ N && le && le.style("top", M.pageY - 10 + "px").style("left", M.pageX + 10 + "px");
4991
5003
  }).on("mouseout", function() {
4992
- k && le && le.style("visibility", "hidden"), Ne(this).style("opacity", 1);
5004
+ N && le && le.style("visibility", "hidden"), Ne(this).style("opacity", 1);
4993
5005
  }), v && rt.on("click", function(M, z) {
4994
5006
  const j = z.value;
4995
5007
  v(M, {
@@ -5014,29 +5026,29 @@ const Jr = "_svgContainer_7fkic_2", Yr = "_svg_7fkic_2", Gt = {
5014
5026
  p,
5015
5027
  l,
5016
5028
  u,
5017
- g,
5018
5029
  C,
5030
+ m,
5019
5031
  f,
5020
5032
  y,
5021
5033
  b,
5022
5034
  v,
5023
5035
  _,
5036
+ w,
5037
+ L,
5038
+ g,
5024
5039
  N,
5025
- S,
5026
- m,
5027
- k,
5028
5040
  x
5029
5041
  ]), /* @__PURE__ */ i(
5030
5042
  "div",
5031
5043
  {
5032
- ref: w,
5033
- className: `${Gt.svgContainer} ${a}`,
5044
+ ref: k,
5045
+ className: `${Xt.svgContainer} ${a}`,
5034
5046
  style: {
5035
5047
  width: t,
5036
5048
  height: o + d.top + d.bottom,
5037
5049
  overflowX: "auto"
5038
5050
  },
5039
- children: /* @__PURE__ */ i("svg", { ref: $, className: Gt.svg })
5051
+ children: /* @__PURE__ */ i("svg", { ref: $, className: Xt.svg })
5040
5052
  }
5041
5053
  );
5042
5054
  };
@@ -5121,9 +5133,9 @@ const t1 = "_externalContainer_1er0i_2", n1 = "_externalSintetic_1er0i_9", i1 =
5121
5133
  units: a = {},
5122
5134
  translate: l,
5123
5135
  getTotal: u = g1,
5124
- columnWidth: g = 50
5136
+ columnWidth: C = 50
5125
5137
  }) => {
5126
- const C = l || ((p) => p), f = (p) => p === "demanda_red" || p === "reduccio_demanda_red" ? (a.demanda || "").replace("(", "").replace(")", "") : a[p] || "";
5138
+ const m = l || ((p) => p), f = (p) => p === "demanda_red" || p === "reduccio_demanda_red" ? (a.demanda || "").replace("(", "").replace(")", "") : a[p] || "";
5127
5139
  return /* @__PURE__ */ h(
5128
5140
  "div",
5129
5141
  {
@@ -5131,10 +5143,10 @@ const t1 = "_externalContainer_1er0i_2", n1 = "_externalSintetic_1er0i_9", i1 =
5131
5143
  children: [
5132
5144
  o === !0 && /* @__PURE__ */ h(et, { children: [
5133
5145
  /* @__PURE__ */ i("div", {}),
5134
- /* @__PURE__ */ i("div", { className: Q.yearTitles, children: n.map((p, y) => /* @__PURE__ */ i("div", { className: Q.yearTitle, style: { width: g }, children: p.anyo }, y)) })
5146
+ /* @__PURE__ */ i("div", { className: Q.yearTitles, children: n.map((p, y) => /* @__PURE__ */ i("div", { className: Q.yearTitle, style: { width: C }, children: p.anyo }, y)) })
5135
5147
  ] }),
5136
5148
  /* @__PURE__ */ i("div", { className: Q.titles, children: c.map((p, y) => /* @__PURE__ */ h("div", { className: Q.titleContainer, children: [
5137
- C(r[p]),
5149
+ m(r[p]),
5138
5150
  d !== "sin" && /* @__PURE__ */ i(
5139
5151
  "span",
5140
5152
  {
@@ -5158,14 +5170,14 @@ const t1 = "_externalContainer_1er0i_2", n1 = "_externalSintetic_1er0i_9", i1 =
5158
5170
  y
5159
5171
  );
5160
5172
  }) }),
5161
- /* @__PURE__ */ i("div", { className: Q.yearDatas, children: n.map((p, y) => /* @__PURE__ */ i("div", { className: Q.yearDataContainer, style: { width: g }, children: c.map(
5173
+ /* @__PURE__ */ i("div", { className: Q.yearDatas, children: n.map((p, y) => /* @__PURE__ */ i("div", { className: Q.yearDataContainer, style: { width: C }, children: c.map(
5162
5174
  (b, v) => {
5163
- var _, N;
5175
+ var _, w;
5164
5176
  return isNaN(p[b]) ? null : /* @__PURE__ */ i(
5165
5177
  "div",
5166
5178
  {
5167
5179
  className: `${Q.yearDataContent} ${p[b] > 9999 || p[b] < -9999 ? Q.bigNumber : ""}`,
5168
- children: p[b] < 1e4 || p[b] > -1e4 ? (_ = m1(p[b])) == null ? void 0 : _.toLocaleString("es-ES") : (N = p[b]) == null ? void 0 : N.toLocaleString("es-ES")
5180
+ children: p[b] < 1e4 || p[b] > -1e4 ? (_ = m1(p[b])) == null ? void 0 : _.toLocaleString("es-ES") : (w = p[b]) == null ? void 0 : w.toLocaleString("es-ES")
5169
5181
  },
5170
5182
  v
5171
5183
  );
@@ -5217,7 +5229,7 @@ const f1 = "_speedGraphic_d1k72_2", Ct = {
5217
5229
  redColor: l = "#FF1E37"
5218
5230
  }) => {
5219
5231
  s < n && (s = n), s > c && (s = c);
5220
- const u = (s - n) / (c - n), g = 270 + u * 180, C = t ? Math.round(u * 100) : s;
5232
+ const u = (s - n) / (c - n), C = 270 + u * 180, m = t ? Math.round(u * 100) : s;
5221
5233
  return /* @__PURE__ */ h("div", { className: Ct.speedGraphic, children: [
5222
5234
  /* @__PURE__ */ h(
5223
5235
  "svg",
@@ -5312,7 +5324,7 @@ const f1 = "_speedGraphic_d1k72_2", Ct = {
5312
5324
  fill: l
5313
5325
  }
5314
5326
  ),
5315
- /* @__PURE__ */ i("g", { transform: `rotate(${g} 122 122)`, children: /* @__PURE__ */ i(
5327
+ /* @__PURE__ */ i("g", { transform: `rotate(${C} 122 122)`, children: /* @__PURE__ */ i(
5316
5328
  "path",
5317
5329
  {
5318
5330
  id: "aguja",
@@ -5325,7 +5337,7 @@ const f1 = "_speedGraphic_d1k72_2", Ct = {
5325
5337
  }
5326
5338
  ),
5327
5339
  /* @__PURE__ */ h("div", { className: Ct.value, children: [
5328
- C,
5340
+ m,
5329
5341
  t && "%",
5330
5342
  o && o
5331
5343
  ] }),
@@ -5426,7 +5438,7 @@ export {
5426
5438
  x2 as BurgerMenu,
5427
5439
  Mr as ButtonsBar,
5428
5440
  k0 as ButtonsList,
5429
- Kt as CategorySelector,
5441
+ Ut as CategorySelector,
5430
5442
  ke as DropdownList,
5431
5443
  G1 as EditAmbit,
5432
5444
  Ze as ErrorMessage,
@@ -5457,7 +5469,7 @@ export {
5457
5469
  v2 as StatusText,
5458
5470
  _2 as Steps,
5459
5471
  Ar as Switch,
5460
- jt as TextInput,
5472
+ Ht as TextInput,
5461
5473
  _i as TimeSlider,
5462
5474
  pe as Tooltip,
5463
5475
  Ni as TopNavMenu