@scmlatam/web-ui 0.2.16 → 0.2.17
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.
|
@@ -12,8 +12,8 @@ export { PillsTabs, PillsTabs as RbPillsTabs, } from '../rb-components/navigatio
|
|
|
12
12
|
export type { PillsTabItem, PillsTabsProps } from '../rb-components/navigation';
|
|
13
13
|
export { Button as RBButton, Input, AutoCustomCompleteField, CustomDatefield, CustomDatePicker, CustomTimefield, CustomDateRangefield, CustomDateRangePicker, CustomDateRangeCalendar, RbInlineChipField, CalendarChipIcon, ClockChipIcon, Card, CardHeader, CardTitle, CardContent, CardFooter, IconButton as RbIconButton, Tooltip, Portal, RbContextMenu, Checkbox, Radio, cn, } from '../rb-components/ui';
|
|
14
14
|
export type { AutoValueItem, ButtonProps as RBButtonProps, InputProps, CustomAutoCompleteFieldProps, CustomDatefieldProps, CustomDatePickerProps, CustomTimefieldProps, CustomDateRangefieldProps, CustomDateRangePickerProps, CustomDateRangeCalendarProps, RbInlineChipFieldProps, RbInlineChipFieldAction, RbContextMenuAlign, RbContextMenuItem, RbContextMenuPosition, RbContextMenuProps, RbContextMenuVariant, CardProps, IconButtonProps as RbIconButtonProps, CheckboxProps, CheckboxSize, RadioProps, PortalProps, TooltipProps, } from '../rb-components/ui';
|
|
15
|
-
export { RbTable, RbExcelTable, RbTableToolbar, RbToolbarActionButton, RbToolbarDateRangeField, RbToolbarMultiSelectField, RbToolbarSearchField, RbToolbarSelectField, formatRbExcelDate, formatRbExcelTime, getRbExcelValueAtPath, isRbExcelEmptyValue, isValidRbExcelDate, isValidRbExcelNumber, isValidRbExcelTime, parseRbExcelValue, setRbExcelValueAtPath, } from '../rb-components/table';
|
|
16
|
-
export type { RbExcelCellContext, RbExcelCreateRowContext, RbExcelEditorContext, RbExcelFieldType, RbExcelImportContext, RbExcelParseContext, RbExcelRenderContext, RbExcelRowsChangeMeta, RbExcelRowsChangeSource, RbExcelTableActions, RbExcelTableColumn, RbExcelTableLabels, RbExcelTableProps, RbExcelTableRef, RbExcelValidationError, RbExcelValidationErrorInput, RbExcelValidationErrorSource, RbExcelValidationResult, RbExcelValueSource, RbTableColumn, RbTableRowId, RbTableProps, RbTableCellParams, RbTableRowParams, RbTableInitialState, RbTablePinnedColumns, RbTableBaseRow, RbTableSize, RbTableDensity, RbTableAlign, RbTableCellContextMenuParams, RbTableCellContextMenuPosition, RbTablePaginationMode, RbTablePaginationModel, RbRowSelectionModel, RbRowsPerPageOption, RbToolbarDateRangeFieldProps, RbToolbarDateRangeValue, RbAnyTableColumn, RbLegacyGridColumn, } from '../rb-components/table';
|
|
15
|
+
export { RbTable, RbExcelTable, RbTableToolbar, RbToolbarActionButton, RbToolbarActions, RbToolbarDateRangeField, RbToolbarMultiSelectField, RbToolbarSearchField, RbToolbarSelectField, formatRbExcelDate, formatRbExcelTime, getRbExcelValueAtPath, isRbExcelEmptyValue, isValidRbExcelDate, isValidRbExcelNumber, isValidRbExcelTime, parseRbExcelValue, setRbExcelValueAtPath, } from '../rb-components/table';
|
|
16
|
+
export type { RbExcelCellContext, RbExcelCreateRowContext, RbExcelEditorContext, RbExcelFieldType, RbExcelImportContext, RbExcelParseContext, RbExcelRenderContext, RbExcelRowsChangeMeta, RbExcelRowsChangeSource, RbExcelTableActions, RbExcelTableColumn, RbExcelTableLabels, RbExcelTableProps, RbExcelTableRef, RbExcelValidationError, RbExcelValidationErrorInput, RbExcelValidationErrorSource, RbExcelValidationResult, RbExcelValueSource, RbTableColumn, RbTableRowId, RbTableProps, RbTableCellParams, RbTableRowParams, RbTableInitialState, RbTablePinnedColumns, RbTableBaseRow, RbTableSize, RbTableDensity, RbTableAlign, RbTableCellContextMenuParams, RbTableCellContextMenuPosition, RbTablePaginationMode, RbTablePaginationModel, RbRowSelectionModel, RbRowsPerPageOption, RbToolbarActionsProps, RbToolbarDateRangeFieldProps, RbToolbarDateRangeValue, RbAnyTableColumn, RbLegacyGridColumn, } from '../rb-components/table';
|
|
17
17
|
export { DashboardShell, ShellContent } from '../rb-components/shell';
|
|
18
18
|
export { Sidebar, SidebarContent, SidebarFooter, SidebarHeader, } from '../rb-components/sidebar';
|
|
19
19
|
export { TopBar, TopBarUserMenu } from '../rb-components/topbar';
|
|
@@ -2,12 +2,12 @@ export { RbTable } from './RbTable';
|
|
|
2
2
|
export { RbExcelTable } from './RbExcelTable';
|
|
3
3
|
export { RbTableToolbar } from './RbTableToolbar';
|
|
4
4
|
export { RbToolbarActionButton } from './toolbar/RbToolbarActionButton';
|
|
5
|
+
export { RbToolbarActions } from './toolbar/RbToolbarActions';
|
|
5
6
|
export { RbToolbarDateRangeField } from './toolbar/RbToolbarDateRangeField';
|
|
6
7
|
export { RbToolbarMultiSelectField } from './toolbar/RbToolbarMultiSelectField';
|
|
7
8
|
export { RbToolbarSearchField } from './toolbar/RbToolbarSearchField';
|
|
8
9
|
export { RbToolbarSelectField } from './toolbar/RbToolbarSelectField';
|
|
9
10
|
export { formatRbExcelDate, formatRbExcelTime, getRbExcelValueAtPath, isRbExcelEmptyValue, isValidRbExcelDate, isValidRbExcelNumber, isValidRbExcelTime, parseRbExcelValue, setRbExcelValueAtPath, } from './excel/excel.helpers';
|
|
10
11
|
export type { RbExcelCellContext, RbExcelCreateRowContext, RbExcelEditorContext, RbExcelFieldType, RbExcelImportContext, RbExcelParseContext, RbExcelRenderContext, RbExcelRowsChangeMeta, RbExcelRowsChangeSource, RbExcelTableActions, RbExcelTableColumn, RbExcelTableLabels, RbExcelTableProps, RbExcelTableRef, RbExcelValidationError, RbExcelValidationErrorInput, RbExcelValidationErrorSource, RbExcelValidationResult, RbExcelValueSource, } from './excel/excel.types';
|
|
11
|
-
export
|
|
12
|
-
export type { RbToolbarDateRangeValue, RbToolbarDateRangeFieldProps, } from './toolbar/RbToolbarDateRangeField';
|
|
12
|
+
export type { RbToolbarActionButtonProps, RbToolbarActionButtonVariant, RbToolbarActionsProps, RbToolbarDateRangeFieldProps, RbToolbarDateRangeValue, RbToolbarMultiSelectFieldProps, RbToolbarSearchFieldProps, RbToolbarSelectFieldProps, RbToolbarSelectOption, } from './toolbar';
|
|
13
13
|
export type { RbAnyTableColumn, RbLegacyGridColumn, RbRowSelectionModel, RbRowsPerPageOption, RbTableAlign, RbTableBaseRow, RbTableCellParams, RbTableColumn, RbTableDensity, RbTableInitialState, RbTablePaginationMode, RbTablePaginationModel, RbTablePinnedColumns, RbTableProps, RbTableRowId, RbTableRowParams, RbTableSize, RbTableCellContextMenuParams, RbTableCellContextMenuPosition, } from './types';
|
package/dist/web-ui.js
CHANGED
|
@@ -35749,8 +35749,20 @@ function HH({ children: e, icon: t, loading: n = !1, disabled: r, variant: i = "
|
|
|
35749
35749
|
});
|
|
35750
35750
|
}
|
|
35751
35751
|
//#endregion
|
|
35752
|
+
//#region src/rb-components/table/toolbar/RbToolbarActions.tsx
|
|
35753
|
+
var UH = z.forwardRef(function({ children: e, className: t, ...n }, r) {
|
|
35754
|
+
return /* @__PURE__ */ H("div", {
|
|
35755
|
+
ref: r,
|
|
35756
|
+
...n,
|
|
35757
|
+
"data-toolbar-actions": "true",
|
|
35758
|
+
className: oE("flex w-max max-w-full", "flex-wrap items-center", "justify-end gap-2", t),
|
|
35759
|
+
children: e
|
|
35760
|
+
});
|
|
35761
|
+
});
|
|
35762
|
+
UH.displayName = "RbToolbarActions", UH.rbToolbarActions = !0;
|
|
35763
|
+
//#endregion
|
|
35752
35764
|
//#region src/rb-components/table/toolbar/RbToolbarDateRangeField.tsx
|
|
35753
|
-
function
|
|
35765
|
+
function WH({ label: e = "Rango de días", value: t, onChange: n, initialValue: r = [null, null], calendars: i = 1, disabled: a = !1, className: o }) {
|
|
35754
35766
|
return /* @__PURE__ */ H("div", {
|
|
35755
35767
|
"data-toolbar-field": "true",
|
|
35756
35768
|
className: oE("min-w-0 w-full max-w-full overflow-visible", o),
|
|
@@ -35769,7 +35781,7 @@ function UH({ label: e = "Rango de días", value: t, onChange: n, initialValue:
|
|
|
35769
35781
|
}
|
|
35770
35782
|
//#endregion
|
|
35771
35783
|
//#region src/rb-components/table/toolbar/RbToolbarMultiSelectField.tsx
|
|
35772
|
-
function
|
|
35784
|
+
function GH({ open: e = !1 }) {
|
|
35773
35785
|
return /* @__PURE__ */ H("svg", {
|
|
35774
35786
|
viewBox: "0 0 20 20",
|
|
35775
35787
|
fill: "none",
|
|
@@ -35784,7 +35796,7 @@ function WH({ open: e = !1 }) {
|
|
|
35784
35796
|
})
|
|
35785
35797
|
});
|
|
35786
35798
|
}
|
|
35787
|
-
function
|
|
35799
|
+
function KH(e, t) {
|
|
35788
35800
|
z.useEffect(() => {
|
|
35789
35801
|
let n = (n) => {
|
|
35790
35802
|
e.current && (e.current.contains(n.target) || t());
|
|
@@ -35792,9 +35804,9 @@ function GH(e, t) {
|
|
|
35792
35804
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
35793
35805
|
}, [e, t]);
|
|
35794
35806
|
}
|
|
35795
|
-
function
|
|
35807
|
+
function qH({ label: e, ariaLabel: t, value: n, onChange: r, options: i = [], placeholder: a = "Seleccionar", className: o, disabled: s = !1, search: c }) {
|
|
35796
35808
|
let l = z.useId(), u = z.useRef(null), [d, f] = z.useState(!1);
|
|
35797
|
-
|
|
35809
|
+
KH(u, z.useCallback(() => {
|
|
35798
35810
|
f(!1);
|
|
35799
35811
|
}, []));
|
|
35800
35812
|
let p = i.filter((e) => n.includes(String(e.value))), m = c?.value ?? "", h = z.useMemo(() => {
|
|
@@ -35845,7 +35857,7 @@ function KH({ label: e, ariaLabel: t, value: n, onChange: r, options: i = [], pl
|
|
|
35845
35857
|
}) : null] })
|
|
35846
35858
|
}), /* @__PURE__ */ H("span", {
|
|
35847
35859
|
className: "pointer-events-none absolute right-4 top-1/2 flex h-4 w-4 -translate-y-1/2 items-center justify-center text-white/70",
|
|
35848
|
-
children: /* @__PURE__ */ H(
|
|
35860
|
+
children: /* @__PURE__ */ H(GH, { open: d })
|
|
35849
35861
|
})]
|
|
35850
35862
|
}),
|
|
35851
35863
|
d ? /* @__PURE__ */ U("div", {
|
|
@@ -35914,7 +35926,7 @@ function KH({ label: e, ariaLabel: t, value: n, onChange: r, options: i = [], pl
|
|
|
35914
35926
|
}
|
|
35915
35927
|
//#endregion
|
|
35916
35928
|
//#region src/rb-components/table/toolbar/RbToolbarSearchField.tsx
|
|
35917
|
-
function
|
|
35929
|
+
function JH() {
|
|
35918
35930
|
return /* @__PURE__ */ H("svg", {
|
|
35919
35931
|
viewBox: "0 0 24 24",
|
|
35920
35932
|
fill: "none",
|
|
@@ -35928,13 +35940,13 @@ function qH() {
|
|
|
35928
35940
|
})
|
|
35929
35941
|
});
|
|
35930
35942
|
}
|
|
35931
|
-
function
|
|
35943
|
+
function YH({ value: e, onChange: t, placeholder: n = "Buscar...", className: r, disabled: i = !1, ariaLabel: a, ...o }) {
|
|
35932
35944
|
return /* @__PURE__ */ U("div", {
|
|
35933
35945
|
"data-toolbar-field": "true",
|
|
35934
35946
|
className: oE("relative w-full min-w-0", "rounded-[var(--r-l)]", "border border-transparent", "bg-[var(--g-700)]", "transition-[border-color,box-shadow]", "duration-150", "focus-within:border-[var(--azulino-main)]", "focus-within:shadow-[var(--focus-ring-shadow)]", i && "cursor-not-allowed opacity-60", r),
|
|
35935
35947
|
children: [/* @__PURE__ */ H("span", {
|
|
35936
35948
|
className: "\n pointer-events-none\n absolute left-4 top-1/2\n -translate-y-1/2\n ",
|
|
35937
|
-
children: /* @__PURE__ */ H(
|
|
35949
|
+
children: /* @__PURE__ */ H(JH, {})
|
|
35938
35950
|
}), /* @__PURE__ */ H("input", {
|
|
35939
35951
|
...o,
|
|
35940
35952
|
type: "search",
|
|
@@ -35949,7 +35961,7 @@ function JH({ value: e, onChange: t, placeholder: n = "Buscar...", className: r,
|
|
|
35949
35961
|
}
|
|
35950
35962
|
//#endregion
|
|
35951
35963
|
//#region src/rb-components/table/toolbar/RbToolbarSelectField.tsx
|
|
35952
|
-
function
|
|
35964
|
+
function XH({ open: e = !1 }) {
|
|
35953
35965
|
return /* @__PURE__ */ H("svg", {
|
|
35954
35966
|
viewBox: "0 0 20 20",
|
|
35955
35967
|
fill: "none",
|
|
@@ -35964,7 +35976,7 @@ function YH({ open: e = !1 }) {
|
|
|
35964
35976
|
})
|
|
35965
35977
|
});
|
|
35966
35978
|
}
|
|
35967
|
-
function
|
|
35979
|
+
function ZH(e, t) {
|
|
35968
35980
|
z.useEffect(() => {
|
|
35969
35981
|
let n = (n) => {
|
|
35970
35982
|
e.current && (e.current.contains(n.target) || t());
|
|
@@ -35972,9 +35984,9 @@ function XH(e, t) {
|
|
|
35972
35984
|
return document.addEventListener("mousedown", n), () => document.removeEventListener("mousedown", n);
|
|
35973
35985
|
}, [e, t]);
|
|
35974
35986
|
}
|
|
35975
|
-
function
|
|
35987
|
+
function QH({ label: e, ariaLabel: t, value: n, onChange: r, options: i = [], placeholder: a = "Seleccionar", className: o, disabled: s = !1, search: c }) {
|
|
35976
35988
|
let l = z.useId(), u = z.useRef(null), [d, f] = z.useState(!1);
|
|
35977
|
-
|
|
35989
|
+
ZH(u, z.useCallback(() => {
|
|
35978
35990
|
f(!1);
|
|
35979
35991
|
}, []));
|
|
35980
35992
|
let p = i.find((e) => String(e.value) === String(n)), m = c?.value ?? "", h = z.useMemo(() => {
|
|
@@ -36010,7 +36022,7 @@ function ZH({ label: e, ariaLabel: t, value: n, onChange: r, options: i = [], pl
|
|
|
36010
36022
|
children: p?.label ?? a
|
|
36011
36023
|
}), /* @__PURE__ */ H("span", {
|
|
36012
36024
|
className: "pointer-events-none absolute right-4 top-1/2 flex size-4 -translate-y-1/2 items-center justify-center text-[var(--on-dark-muted)]",
|
|
36013
|
-
children: /* @__PURE__ */ H(
|
|
36025
|
+
children: /* @__PURE__ */ H(XH, { open: d })
|
|
36014
36026
|
})]
|
|
36015
36027
|
}),
|
|
36016
36028
|
d ? /* @__PURE__ */ U("div", {
|
|
@@ -36066,18 +36078,6 @@ function ZH({ label: e, ariaLabel: t, value: n, onChange: r, options: i = [], pl
|
|
|
36066
36078
|
});
|
|
36067
36079
|
}
|
|
36068
36080
|
//#endregion
|
|
36069
|
-
//#region src/rb-components/table/toolbar/RbToolbarActions.tsx
|
|
36070
|
-
var QH = z.forwardRef(function({ children: e, className: t, ...n }, r) {
|
|
36071
|
-
return /* @__PURE__ */ H("div", {
|
|
36072
|
-
ref: r,
|
|
36073
|
-
...n,
|
|
36074
|
-
"data-toolbar-actions": "true",
|
|
36075
|
-
className: oE("flex w-max max-w-full", "flex-wrap items-center", "justify-end gap-2", t),
|
|
36076
|
-
children: e
|
|
36077
|
-
});
|
|
36078
|
-
});
|
|
36079
|
-
QH.displayName = "RbToolbarActions", QH.rbToolbarActions = !0;
|
|
36080
|
-
//#endregion
|
|
36081
36081
|
//#region src/assets/gr-imagotipo-oscuro-amarillo-light.svg
|
|
36082
36082
|
var $H = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%203000%20551.6'%3e%3cdefs%3e%3cstyle%3e.cls-1{fill:%23190007;}.cls-1,.cls-2,.cls-3{stroke-width:0px;}.cls-2{fill:%23f0c300;}.cls-3{fill:%23ebeae0;}%3c/style%3e%3c/defs%3e%3cpath%20class='cls-3'%20d='m871.49,259.5v9.04c-9.81,0-17.5.94-23.05,2.83-5.55,1.88-9.6,5.43-12.16,10.65-2.56,5.23-4.16,12.65-4.8,22.26-.64,9.61-.96,21.94-.96,36.97v119.73c-6.82,11.28-14.9,21.11-24.26,29.46-8.09,7.53-18.21,14.42-30.34,20.68-12.13,6.26-26.51,9.4-43.1,9.4-17.88,0-34.7-5.85-50.45-17.55-15.75-11.7-29.38-28.41-40.87-50.14s-20.54-47.75-27.14-78.04c-6.6-30.29-9.9-64.25-9.9-101.86,0-44.29,4.03-81.79,12.11-112.5,8.07-30.71,18.27-55.57,30.6-74.59,12.32-19.01,26.14-32.8,41.45-41.37,15.3-8.56,29.96-12.85,44-12.85,8.93,0,16.58,1.05,22.95,3.12,6.37,2.07,12,4.25,16.89,6.53,4.89,2.28,9.14,4.46,12.75,6.54,3.62,2.07,6.91,3.11,9.89,3.11,3.82,0,6.58-2.2,8.29-6.63.87-1.6,1.52-3.62,1.95-6.03h14.33v149.21h-12.06c-2.98-26.31-7.43-49.7-13.37-70.16-2.54-8.76-5.41-17.32-8.59-25.68-3.18-8.35-7-15.86-11.45-22.55-4.46-6.68-9.54-12-15.27-15.98-5.73-3.97-11.99-5.95-18.77-5.95-12.73,0-23.55,5.44-32.46,16.31-8.91,10.87-16.12,26.14-21.63,45.79-5.52,19.65-9.55,43.39-12.09,71.19-2.54,27.81-3.81,58.64-3.81,92.52,0,41.82,1.59,77.15,4.79,106.01,3.19,28.86,7.77,52.28,13.73,70.26,5.96,17.98,13.41,30.94,22.36,38.88,8.94,7.95,19.16,11.92,30.66,11.92,10.64,0,17.46-3.14,20.44-9.41s4.47-15.89,4.47-28.86v-128.6c0-13.38-.54-24.36-1.6-32.93-1.07-8.57-3.64-15.17-7.69-19.76-4.06-4.6-10.14-7.73-18.25-9.41-8.11-1.68-19.21-2.51-33.29-2.51v-9.04h165.7Z'/%3e%3cpath%20class='cls-3'%20d='m1103.45,333.04c0,31.29-3.32,58.31-9.95,81.04s-15.51,41.52-26.64,56.33c-11.13,14.81-23.86,25.76-38.2,32.85-14.34,7.08-29.2,10.63-44.6,10.63s-30.17-3.55-44.29-10.63c-14.12-7.09-26.74-18.05-37.87-32.85-11.13-14.81-20.01-33.59-26.64-56.33s-9.95-49.75-9.95-81.04,3.32-58.31,9.95-81.04,15.5-41.41,26.64-56.01c11.12-14.6,23.75-25.45,37.87-32.54,14.12-7.09,28.88-10.64,44.29-10.64s30.26,3.55,44.6,10.64c14.34,7.09,27.06,17.94,38.2,32.54,11.12,14.6,20.01,33.27,26.64,56.01s9.95,49.75,9.95,81.04Zm-59.68,0c0-22.94-1.07-44.41-3.21-64.44-2.15-20.02-5.68-37.54-10.6-52.55-4.92-15.01-11.12-26.89-18.61-35.65-7.49-8.76-16.58-13.14-27.28-13.14s-19.8,4.38-27.29,13.14c-7.49,8.76-13.58,20.64-18.29,35.65-4.71,15.01-8.13,32.53-10.27,52.55-2.15,20.03-3.21,41.5-3.21,64.44s1.06,44.53,3.21,64.75c2.14,20.23,5.56,37.85,10.27,52.86,4.71,15.01,10.8,26.8,18.29,35.35,7.49,8.55,16.59,12.82,27.29,12.82s19.79-4.27,27.28-12.82c7.49-8.55,13.7-20.34,18.61-35.35,4.92-15.01,8.45-32.63,10.6-52.86,2.14-20.22,3.21-41.8,3.21-64.75Z'/%3e%3cpath%20class='cls-3'%20d='m1360.25,333.04c0,31.29-3.32,58.31-9.95,81.04-6.63,22.74-15.51,41.52-26.64,56.33-11.13,14.81-23.86,25.76-38.2,32.85-14.34,7.08-29.2,10.63-44.6,10.63s-30.17-3.55-44.29-10.63c-14.12-7.09-26.74-18.05-37.87-32.85-11.13-14.81-20.01-33.59-26.64-56.33s-9.95-49.75-9.95-81.04,3.32-58.31,9.95-81.04,15.5-41.41,26.64-56.01c11.12-14.6,23.75-25.45,37.87-32.54,14.12-7.09,28.88-10.64,44.29-10.64s30.26,3.55,44.6,10.64c14.34,7.09,27.06,17.94,38.2,32.54,11.12,14.6,20.01,33.27,26.64,56.01,6.63,22.74,9.95,49.75,9.95,81.04Zm-59.68,0c0-22.94-1.07-44.41-3.21-64.44-2.15-20.02-5.68-37.54-10.6-52.55-4.92-15.01-11.12-26.89-18.61-35.65-7.49-8.76-16.58-13.14-27.28-13.14s-19.8,4.38-27.29,13.14c-7.49,8.76-13.58,20.64-18.29,35.65-4.71,15.01-8.13,32.53-10.27,52.55-2.15,20.03-3.21,41.5-3.21,64.44s1.06,44.53,3.21,64.75c2.14,20.23,5.56,37.85,10.27,52.86,4.71,15.01,10.8,26.8,18.29,35.35s16.59,12.82,27.29,12.82,19.79-4.27,27.28-12.82c7.49-8.55,13.7-20.34,18.61-35.35,4.92-15.01,8.45-32.63,10.6-52.86,2.14-20.22,3.21-41.8,3.21-64.75Z'/%3e%3cpath%20class='cls-3'%20d='m1617.66,426.25c0,16.28.42,29.21,1.28,38.8.85,9.6,2.67,16.9,5.43,21.9,2.77,5.01,6.83,8.24,12.17,9.7,5.33,1.46,12.48,2.19,21.45,2.19v9.04h-100.01v-44.67c-8.56,16.28-19.79,28.79-33.69,37.55-13.9,8.75-29.2,13.14-45.88,13.14-12.84,0-25.14-4.17-36.9-12.52-11.76-8.35-22.35-20.23-31.76-35.67-9.42-15.43-16.91-34.42-22.47-56.95-5.56-22.53-8.34-47.77-8.34-75.72s2.78-53.61,8.34-75.72c5.56-22.12,13.05-40.99,22.47-56.64,9.41-15.65,20-27.53,31.76-35.67,11.76-8.14,24.07-12.21,36.9-12.21,16.68,0,31.98,4.28,45.88,12.83,13.9,8.55,25.13,21.17,33.69,37.86v-58.12c0-12.5-.75-22.81-2.24-30.93-1.5-8.12-3.84-14.58-7.05-19.38-3.2-4.79-7.47-8.02-12.8-9.68-5.34-1.67-11.63-2.51-18.89-2.51v-9.04c20.48-.41,38.74-3.43,54.78-9.04,16.03-5.61,28.33-14.46,36.89-26.52h8.99v387.98Zm-59.68-141.35c0-33.76-5.36-59.39-16.06-76.9-10.71-17.5-23.98-26.26-39.82-26.26-7.71,0-15.21,2.3-22.48,6.88-7.28,4.59-13.81,12.61-19.59,24.08-5.78,11.46-10.5,26.88-14.14,46.27-3.64,19.38-5.45,44.07-5.45,74.08s1.82,54.71,5.45,74.09c3.64,19.38,8.35,34.91,14.14,46.58,5.78,11.67,12.31,19.8,19.59,24.38,7.27,4.59,14.77,6.88,22.48,6.88,15.84,0,29.12-8.85,39.82-26.57,10.7-17.71,16.06-43.24,16.06-76.59v-96.91Z'/%3e%3cpath%20class='cls-3'%20d='m1899.3,426.35c5.12,15,9.71,27.18,13.76,36.56,4.05,9.37,8.53,16.56,13.44,21.55,4.91,5,10.35,8.44,16.33,10.31,5.97,1.87,13.44,3.23,22.41,4.06v9.04h-56.98c-19.64,0-34.04-2.39-43.22-7.2-9.17-4.79-16.12-14.7-20.81-29.72l-47.56-145.78c-3.43-11.27-9-19.39-16.72-24.41-7.71-5-15.43-7.51-23.13-7.51h-3.62v133.09c0,15,.32,27.29.96,36.87.64,9.59,2.24,16.98,4.8,22.18,2.56,5.21,6.61,8.75,12.16,10.63s13.44,2.81,23.69,2.81v9.04h-146.49v-9.04c9.81,0,17.49-.93,23.04-2.82,5.55-1.87,9.61-5.42,12.17-10.63,2.56-5.21,4.16-12.61,4.8-22.2s.96-21.89.96-36.9V111.09c0-13.34-.32-24.17-.96-32.52-.64-8.34-2.35-14.8-5.12-19.38-2.78-4.59-6.94-7.71-12.49-9.38-5.55-1.67-13.02-2.51-22.4-2.51v-9.04h124.66c25.12,0,46.52,3.24,64.19,9.71,17.67,6.48,32.26,15.35,43.76,26.63,11.5,11.28,19.91,24.65,25.23,40.1,5.32,15.46,7.99,32.37,7.99,50.75,0,30.08-7.03,55.97-21.08,77.69-14.05,21.72-37.06,36.55-68.99,44.48,10.39,2.51,19.01,7.39,25.87,14.68,6.85,7.29,13.05,19.06,18.6,35.3l30.73,88.74Zm-126.27-148.76c12.78,0,23.97-1.87,33.56-5.63,9.59-3.76,17.47-10.02,23.65-18.8,6.18-8.77,10.76-20.36,13.74-34.77,2.98-14.41,4.47-32.05,4.47-52.94s-1.92-38.42-5.76-52.63c-3.84-14.19-8.84-25.68-15.02-34.46-6.18-8.77-13.32-15.03-21.42-18.79-8.1-3.76-16.62-5.64-25.56-5.64s-16.3,3.24-20.78,9.71c-4.47,6.48-6.71,15.35-6.71,26.63v187.31h19.82Z'/%3e%3cpath%20class='cls-3'%20d='m2149.7,426.25c0,16.28.42,29.21,1.28,38.8.85,9.6,2.67,16.9,5.44,21.9,2.77,5.01,6.93,8.24,12.48,9.7,5.55,1.46,12.8,2.19,21.77,2.19v9.04h-100.65l.03-49.67c-7.27,17.94-17.11,31.71-29.51,41.3-12.4,9.59-26.3,14.39-41.69,14.39-10.69,0-20.96-1.36-30.79-4.06-9.83-2.71-18.28-7.3-25.34-13.76-7.06-6.46-12.72-14.9-16.99-25.32-4.28-10.42-6.41-23.34-6.41-38.77,0-18.33,3.74-33.97,11.22-46.89,7.48-12.92,16.79-24.07,27.9-33.45,11.11-9.38,23.19-17.41,36.24-24.08,13.04-6.67,25.12-12.91,36.24-18.75s20.41-11.67,27.89-17.51c7.48-5.83,11.23-12.5,11.23-20.01v-6.25c0-28.34-5.56-50.02-16.67-65.02-11.11-15-25.65-22.51-43.6-22.51-13.25,0-24.58,3.92-33.98,11.76-9.4,7.84-16.24,20.42-20.52,37.74,3.41-1.24,7.05-1.87,10.89-1.87,9.4,0,17.41,3.23,24.03,9.69,6.61,6.46,9.93,14.49,9.93,24.08s-3.33,16.99-9.96,23.45c-6.64,6.46-14.67,9.69-24.09,9.69s-18.09-3.22-24.73-9.67c-6.64-6.45-9.96-14.26-9.96-23.43,0-15.4,2.46-29.56,7.38-42.46,4.92-12.9,11.88-24.04,20.86-33.4s19.68-16.76,32.09-22.17c12.41-5.41,26.1-8.12,41.08-8.12,13.7,0,26.53,2.51,38.52,7.51,11.98,5.01,22.25,12.83,30.81,23.46,8.55,10.64,15.3,24.2,20.21,40.67,4.92,16.48,7.38,36.4,7.38,59.76v142.04Zm-59.68-125.75c-6.84,7.09-15.49,13.66-25.97,19.71-10.47,6.05-20.52,13.23-30.12,21.57-9.62,8.35-17.84,18.66-24.68,30.96-6.84,12.3-10.26,28.25-10.26,47.84,0,24.19,2.99,40.86,8.98,50.04,5.98,9.17,14.32,13.75,25,13.75,13.24,0,25.22-6.25,35.9-18.76,10.68-12.51,17.74-30.85,21.16-55.04v-110.06Z'/%3e%3cpath%20class='cls-3'%20d='m2353.01,152.8c12.79,0,25.17,4.07,37.12,12.21,11.94,8.14,22.51,20.03,31.69,35.67,9.17,15.65,16.63,34.52,22.4,56.64,5.76,22.12,8.65,47.35,8.65,75.72s-2.88,53.19-8.64,75.72c-5.76,22.53-13.22,41.52-22.38,56.95-9.17,15.44-19.72,27.33-31.66,35.67-11.94,8.35-24.3,12.52-37.09,12.52-16.63,0-31.77-4.35-45.41-13.04-13.65-8.68-24.74-21.17-33.26-37.46v44.47h-100.01v-9.04c8.96,0,16.11-.73,21.44-2.19s9.39-4.69,12.17-9.7c2.77-5,4.59-12.3,5.44-21.89.85-9.59,1.28-22.51,1.28-38.78V145.43c0-12.51-.75-22.83-2.24-30.96-1.5-8.13-3.84-14.59-7.05-19.39-3.2-4.79-7.36-8.03-12.48-9.69-5.12-1.67-11.31-2.51-18.57-2.51v-9.04c20.48-.41,38.64-3.43,54.46-9.04,15.82-5.61,28.01-14.46,36.57-26.52h8.99l-.15,165.22c8.53-16.68,19.62-29.3,33.28-37.86s28.8-12.83,45.46-12.83Zm38.36,180.24c0-30.01-1.82-54.7-5.43-74.08-3.62-19.38-8.31-34.8-14.05-46.27-5.76-11.46-12.36-19.49-19.82-24.08-7.46-4.58-15.01-6.88-22.68-6.88-15.34,0-28.34,8.76-38.99,26.26-10.65,17.51-15.98,43.14-15.98,76.9v96.91c0,33.34,5.32,58.88,15.98,76.59,10.64,17.72,23.64,26.57,38.99,26.57,7.67,0,15.22-2.29,22.68-6.88,7.46-4.58,14.06-12.71,19.82-24.38,5.75-11.67,10.44-27.19,14.05-46.58,3.62-19.38,5.43-44.08,5.43-74.09Z'/%3e%3cpath%20class='cls-3'%20d='m2618.79,152.8c12.79,0,25.17,4.07,37.12,12.21,11.94,8.14,22.51,20.03,31.69,35.67,9.17,15.65,16.63,34.52,22.4,56.64,5.76,22.12,8.65,47.35,8.65,75.72s-2.88,53.19-8.64,75.72c-5.76,22.53-13.22,41.52-22.38,56.95-9.17,15.44-19.72,27.33-31.66,35.67-11.94,8.35-24.3,12.52-37.09,12.52-16.63,0-31.77-4.35-45.41-13.04-13.65-8.68-24.74-21.17-33.26-37.46v44.47h-100.01v-9.04c8.96,0,16.11-.73,21.44-2.19s9.39-4.69,12.17-9.7c2.77-5,4.59-12.3,5.44-21.89.85-9.59,1.28-22.51,1.28-38.78V145.43c0-12.51-.75-22.83-2.24-30.96-1.5-8.13-3.84-14.59-7.05-19.39-3.2-4.79-7.36-8.03-12.48-9.69-5.12-1.67-11.31-2.51-18.57-2.51v-9.04c20.48-.41,38.64-3.43,54.46-9.04,15.82-5.61,28.01-14.46,36.57-26.52h8.99l-.15,165.22c8.53-16.68,19.62-29.3,33.28-37.86s28.8-12.83,45.46-12.83Zm38.36,180.24c0-30.01-1.82-54.7-5.43-74.08-3.62-19.38-8.31-34.8-14.05-46.27-5.76-11.46-12.36-19.49-19.82-24.08-7.46-4.58-15.01-6.88-22.68-6.88-15.34,0-28.34,8.76-38.99,26.26-10.65,17.51-15.98,43.14-15.98,76.9v96.91c0,33.34,5.32,58.88,15.98,76.59,10.64,17.72,23.64,26.57,38.99,26.57,7.67,0,15.22-2.29,22.68-6.88,7.46-4.58,14.06-12.71,19.82-24.38,5.75-11.67,10.44-27.19,14.05-46.58,3.62-19.38,5.43-44.08,5.43-74.09Z'/%3e%3cpath%20class='cls-3'%20d='m2806.58,426.17c0,16.29.42,29.23,1.28,38.84.85,9.61,2.67,16.91,5.43,21.92,2.77,5.01,6.93,8.25,12.48,9.71,5.55,1.47,12.81,2.19,21.78,2.19v9.04h-140.99v-9.04c8.96,0,16.11-.73,21.44-2.19s9.39-4.69,12.17-9.7c2.77-5.01,4.59-12.31,5.44-21.91.85-9.59,1.28-22.52,1.28-38.8v-160.84c0-12.52-.75-22.84-2.24-30.98-1.5-8.14-3.84-14.5-7.05-19.08-3.2-4.59-7.36-7.71-12.48-9.39-5.12-1.67-11.31-2.51-18.57-2.51v-9.04c20.48-.83,38.74-4.07,54.78-9.7,16.03-5.63,28.33-14.3,36.89-26h8.35v267.47Zm-34.95-306.52c-11.92,0-22.14-4.06-30.65-12.19-8.52-8.12-12.77-18.02-12.77-29.7s4.26-22.19,12.77-30.32c8.52-8.12,18.73-12.19,30.65-12.19s22.02,4.07,30.33,12.19c8.3,8.13,12.45,18.24,12.45,30.32s-4.15,21.58-12.45,29.7c-8.31,8.13-18.41,12.19-30.33,12.19Z'/%3e%3cpath%20class='cls-3'%20d='m2927.66,158.83h72.34v15.67h-72.34v265.37c0,30.46,8.53,45.69,25.61,45.69,5.97,0,11.19-1.25,15.67-3.76,4.48-2.51,8.43-5.43,11.85-8.77,3.84-3.76,7.25-7.93,10.25-12.53l8.96,6.89c-4.27,8.78-9.81,16.51-16.64,23.21-5.56,5.88-12.59,11.24-21.13,16.06-8.53,4.81-18.78,7.23-30.73,7.23-8.99,0-17.32-1.36-25.03-4.07-7.71-2.71-14.44-7.4-20.21-14.09-5.77-6.68-10.27-15.65-13.47-26.92-3.21-11.27-4.81-25.25-4.81-41.96v-252.35h-40.33v-15.67c27.74-2.51,47.28-10.02,58.62-22.55,11.34-12.53,18.29-30.48,20.86-53.87h20.53v76.42Z'/%3e%3crect%20class='cls-2'%20x='0'%20y='0'%20width='514.22'%20height='551.6'%20rx='237.65'%20ry='237.65'/%3e%3cpath%20class='cls-1'%20d='m403.42,360.77c-4.51-3.91-34.29-24.06-34.29-24.06,0,0-9.02,12.63-10.23,11.43-.9-.9,6.62-9.93,8.42-17.44.6-2.5,2.41-9.02,3.01-13.23.6-4.21-1.2-15.34.3-15.34s4.51,7.82,4.51,7.82c0,0-.6-9.93-1.5-17.74-.9-7.82-4.51-16.24-7.52-19.25-3.01-3.01-15.34-1.49-15.34-3.91,0-1.5,12.93-1.2,25.26-.9,12.33.3,19.25-4.21,19.55-5.11.3-.9-.6-1.5,0-2.41.6-.9,1.8-1.5,2.71-3.01.9-1.5,1.8-4.51,3.61-3.91,1.8.6-1.2,4.51.6,5.41,1.8.9,3.61-2.41,5.41-5.71,1.8-3.31.9-9.62.9-9.62,0,0,0-.3-.3.3-.3.6-1.5,1.2-2.71,2.41-1.2,1.2-1.8,3.61-3.31,3.31s-.3-2.71-1.5-3.61c-1.2-.9-8.72-4.51-7.82-6.02.9-1.5,7.22,1.5,9.62,2.11,2.41.6,5.41-.3,5.41-.3,0,0,2.11-5.41,1.8-9.62-.3-4.21-6.32-11.13-10.23-16.84-3.91-5.71-4.21-14.14-14.74-27.07-10.53-12.93-30.68-14.14-33.68-16.54-3.01-2.41-5.41-11.43-7.52-24.06-2.11-12.63,1.5-12.63-3.01-33.08-4.51-20.45-25.26-45.41-31.88-43.91-6.62,1.5-6.62,36.09-6.02,46.92.6,10.83,21.96,47.52,24.06,50.83,2.11,3.31,6.62,4.81,4.81,7.52-1.8,2.71-15.64-18.35-22.26-31.28-6.62-12.93-18.65-30.68-28.27-39.7-9.62-9.02-47.22-30.98-53.53-25.56s2.71,36.99,6.62,46.62c3.91,9.62,11.28,23.31,20.9,32.63,9.62,9.32,37.9,23.46,40.9,25.26,3.01,1.8,5.41,4.81,5.41,4.81,0,0-1.2,5.71-1.2,9.32s1.2,12.63,1.5,17.44c.3,4.81-.3,7.22-.9,11.43-.6,4.21-3.01,6.92-3.31,9.62-.3,2.71.9,1.8.9,1.8,0,0-2.71,6.32-7.22,8.72-4.51,2.41-13.83-1.5-22.26-3.91-8.42-2.41-19.25-2.41-19.25-2.41l6.47,4.36s0,1.2-1.5.3-35.19,0-40.9.3c-5.71.3-12.8,1.81-12.8,1.81,0,0,4.68,1.49,4.68,2.7s-23.46,5.41-48.12,30.08c-24.66,24.66-28.27,64.66-28.87,64.66s-2.11-13.53-2.71-14.44c-.6-.9-3.01-2.41-9.93-2.11-6.92.3-9.62,3.61-9.62,3.91s1.2,1.5,1.2,2.11-6.02,3.61-6.02,4.21,2.41,1.8,2.41,2.41-.9,1.2-2.71,2.71c-1.8,1.5-3.91,4.51-3.61,5.11.3.6,2.11.9,2.41,2.11.3,1.2-.9,4.21-1.2,7.52-.3,3.31,1.8,5.41,2.11,5.41s1.2-3.31,1.8-3.31,1.2,5.11,1.5,6.32c.3,1.2.3,1.8.3,4.21s1.5,4.21,1.8,4.21-.3-3.61.6-1.5c.9,2.11,10.23,9.32,15.34,9.62,5.11.3,6.92-2.11,8.12-2.11s2.71,3.01,3.31,2.41c.6-.6,0-12.63,1.2-12.63s1.2,2.41,1.5,3.31c.3.9,4.81,8.72,7.82,12.93,3.01,4.21,9.92,9.93,12.03,15.34,2.11,5.41-11.73,22.26-13.23,26.77-1.5,4.51.3,13.23,18.95,33.68,18.65,20.45,44.51,18.05,46.62,16.54s0-6.32-6.62-16.54c-6.62-10.23-19.25-22.26-19.25-22.86s3.31-1.2,6.32-1.8c3.01-.6,21.35-6.32,21.65-5.71s-8.72,4.21-11.13,4.81-3.61,5.41-1.5,8.72c2.11,3.31,13.53,9.32,34.29,14.14,20.75,4.81,46.62.9,47.22-3.61.6-4.51-6.02-9.02-12.93-12.93-6.92-3.91-30.68-9.32-30.68-11.13s7.52-3.31,19.25-12.63c11.73-9.32,14.14-19.25,14.74-21.96.6-2.71.3-4.51,0-4.51s-.6.9-1.5,3.01c-.9,2.11-6.02,9.62-7.22,8.72-1.2-.9.9-5.41,2.11-7.52,1.2-2.11,5.41-15.64,5.71-17.14.3-1.5.6-5.71,2.41-5.71s.9,3.91,3.01,4.81c2.11.9,25.87-7.52,25.87-7.52,0,0-2.41-9.32-4.51-15.94-2.11-6.62-2.41-14.14-1.2-14.44.92-.23,1.2,3.31,3.61,11.73,2.4,8.39,6.62,17.14,16.24,25.56,9.62,8.42,27.37,16.54,36.99,31.58,9.62,15.04,23.76,19.55,27.37,17.14,3.61-2.41-8.12-25.26-9.62-29.47-1.5-4.21-13.53-24.66-15.94-30.38-2.41-5.71-2.11-6.32-3.91-12.33-1.8-6.02.9-11.73,2.71-11.73s1.5,10.53,2.41,15.94c.9,5.41,2.71,7.82,5.41,9.62,2.71,1.8,16.54,2.11,19.25,2.71,2.71.6,21.05,7.22,24.06,8.12,3.01.9,10.23,2.41,12.63-2.11,2.41-4.51-8.12-13.83-12.63-17.74Zm-57.19-134.7c-1.68-1.68-2.52-5.7-3.42-9.96-.48-2.29-1.17-5.59-1.83-6.81-.72.39-1.39.64-2.05.64-2.48,0-4.05-2.28-4.59-3.62l2.56-1.03c.2.49,1.01,1.9,2.03,1.9.46-.01,1.81-.98,2.8-1.68,2.39-1.71,5.36-3.83,8.78-3.83,5.65,0,10.41,4.83,12.77,8.96,1.64,2.87,5.39,11.18,4.52,13.8-.27.82-1.07,1.51-4.05,2.21-2.04.48-6.32,1.15-10.23,1.15-3.12,0-6-.43-7.29-1.72Z'/%3e%3cpath%20class='cls-1'%20d='m356.83,224.89c4.31-.34,7.44-1.13,8.37-1.58-.03-1.64-2.13-7.48-4.32-11.31-2.15-3.77-6.2-7.57-10.38-7.57-2.53,0-5.11,1.84-7.18,3.31-.02.02-.04.03-.06.04.88,1.5,1.46,4.05,2.24,7.76.7,3.33,1.57,7.48,2.67,8.58.47.46,2.87,1.22,8.65.77Z'/%3e%3c/svg%3e", eU = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20514.22%20551.6'%3e%3cdefs%3e%3cstyle%3e.cls-1{fill:%23190007;}.cls-1,.cls-2{stroke-width:0px;}.cls-2{fill:%23f0c300;}%3c/style%3e%3c/defs%3e%3crect%20class='cls-2'%20x='0'%20y='0'%20width='514.22'%20height='551.6'%20rx='237.65'%20ry='237.65'/%3e%3cpath%20class='cls-1'%20d='m403.42,360.77c-4.51-3.91-34.29-24.06-34.29-24.06,0,0-9.02,12.63-10.23,11.43-.9-.9,6.62-9.93,8.42-17.44.6-2.5,2.41-9.02,3.01-13.23.6-4.21-1.2-15.34.3-15.34s4.51,7.82,4.51,7.82c0,0-.6-9.93-1.5-17.74-.9-7.82-4.51-16.24-7.52-19.25-3.01-3.01-15.34-1.49-15.34-3.91,0-1.5,12.93-1.2,25.26-.9,12.33.3,19.25-4.21,19.55-5.11.3-.9-.6-1.5,0-2.41.6-.9,1.8-1.5,2.71-3.01.9-1.5,1.8-4.51,3.61-3.91,1.8.6-1.2,4.51.6,5.41,1.8.9,3.61-2.41,5.41-5.71,1.8-3.31.9-9.62.9-9.62,0,0,0-.3-.3.3-.3.6-1.5,1.2-2.71,2.41-1.2,1.2-1.8,3.61-3.31,3.31s-.3-2.71-1.5-3.61c-1.2-.9-8.72-4.51-7.82-6.02.9-1.5,7.22,1.5,9.62,2.11,2.41.6,5.41-.3,5.41-.3,0,0,2.11-5.41,1.8-9.62-.3-4.21-6.32-11.13-10.23-16.84-3.91-5.71-4.21-14.14-14.74-27.07-10.53-12.93-30.68-14.14-33.68-16.54-3.01-2.41-5.41-11.43-7.52-24.06-2.11-12.63,1.5-12.63-3.01-33.08-4.51-20.45-25.26-45.41-31.88-43.91-6.62,1.5-6.62,36.09-6.02,46.92.6,10.83,21.96,47.52,24.06,50.83,2.11,3.31,6.62,4.81,4.81,7.52-1.8,2.71-15.64-18.35-22.26-31.28-6.62-12.93-18.65-30.68-28.27-39.7-9.62-9.02-47.22-30.98-53.53-25.56-6.32,5.41,2.71,36.99,6.62,46.62,3.91,9.62,11.28,23.31,20.9,32.63,9.62,9.32,37.9,23.46,40.9,25.26,3.01,1.8,5.41,4.81,5.41,4.81,0,0-1.2,5.71-1.2,9.32s1.2,12.63,1.5,17.44c.3,4.81-.3,7.22-.9,11.43-.6,4.21-3.01,6.92-3.31,9.62-.3,2.71.9,1.8.9,1.8,0,0-2.71,6.32-7.22,8.72-4.51,2.41-13.83-1.5-22.26-3.91-8.42-2.41-19.25-2.41-19.25-2.41l6.47,4.36s0,1.2-1.5.3-35.19,0-40.9.3c-5.71.3-12.8,1.81-12.8,1.81,0,0,4.68,1.49,4.68,2.7s-23.46,5.41-48.12,30.08c-24.66,24.66-28.27,64.66-28.87,64.66s-2.11-13.53-2.71-14.44c-.6-.9-3.01-2.41-9.93-2.11-6.92.3-9.62,3.61-9.62,3.91s1.2,1.5,1.2,2.11-6.02,3.61-6.02,4.21,2.41,1.8,2.41,2.41-.9,1.2-2.71,2.71c-1.8,1.5-3.91,4.51-3.61,5.11.3.6,2.11.9,2.41,2.11.3,1.2-.9,4.21-1.2,7.52-.3,3.31,1.8,5.41,2.11,5.41s1.2-3.31,1.8-3.31,1.2,5.11,1.5,6.32c.3,1.2.3,1.8.3,4.21s1.5,4.21,1.8,4.21-.3-3.61.6-1.5c.9,2.11,10.23,9.32,15.34,9.62,5.11.3,6.92-2.11,8.12-2.11s2.71,3.01,3.31,2.41c.6-.6,0-12.63,1.2-12.63s1.2,2.41,1.5,3.31c.3.9,4.81,8.72,7.82,12.93,3.01,4.21,9.92,9.93,12.03,15.34,2.11,5.41-11.73,22.26-13.23,26.77-1.5,4.51.3,13.23,18.95,33.68,18.65,20.45,44.51,18.05,46.62,16.54s0-6.32-6.62-16.54c-6.62-10.23-19.25-22.26-19.25-22.86s3.31-1.2,6.32-1.8c3.01-.6,21.35-6.32,21.65-5.71s-8.72,4.21-11.13,4.81-3.61,5.41-1.5,8.72c2.11,3.31,13.53,9.32,34.29,14.14,20.75,4.81,46.62.9,47.22-3.61.6-4.51-6.02-9.02-12.93-12.93-6.92-3.91-30.68-9.32-30.68-11.13s7.52-3.31,19.25-12.63c11.73-9.32,14.14-19.25,14.74-21.96.6-2.71.3-4.51,0-4.51s-.6.9-1.5,3.01-6.02,9.62-7.22,8.72c-1.2-.9.9-5.41,2.11-7.52,1.2-2.11,5.41-15.64,5.71-17.14.3-1.5.6-5.71,2.41-5.71s.9,3.91,3.01,4.81c2.11.9,25.87-7.52,25.87-7.52,0,0-2.41-9.32-4.51-15.94-2.11-6.62-2.41-14.14-1.2-14.44.92-.23,1.2,3.31,3.61,11.73,2.4,8.39,6.62,17.14,16.24,25.56,9.62,8.42,27.37,16.54,36.99,31.58,9.62,15.04,23.76,19.55,27.37,17.14,3.61-2.41-8.12-25.26-9.62-29.47-1.5-4.21-13.53-24.66-15.94-30.38-2.41-5.71-2.11-6.32-3.91-12.33-1.8-6.02.9-11.73,2.71-11.73s1.5,10.53,2.41,15.94c.9,5.41,2.71,7.82,5.41,9.62,2.71,1.8,16.54,2.11,19.25,2.71,2.71.6,21.05,7.22,24.06,8.12,3.01.9,10.23,2.41,12.63-2.11,2.41-4.51-8.12-13.83-12.63-17.74Zm-57.19-134.7c-1.68-1.68-2.52-5.7-3.42-9.96-.48-2.29-1.17-5.59-1.83-6.81-.72.39-1.39.64-2.05.64-2.48,0-4.05-2.28-4.59-3.62l2.56-1.03c.2.49,1.01,1.9,2.03,1.9.46-.01,1.81-.98,2.8-1.68,2.39-1.71,5.36-3.83,8.78-3.83,5.65,0,10.41,4.83,12.77,8.96,1.64,2.87,5.39,11.18,4.52,13.8-.27.82-1.07,1.51-4.05,2.21-2.04.48-6.32,1.15-10.23,1.15-3.12,0-6-.43-7.29-1.72Z'/%3e%3cpath%20class='cls-1'%20d='m356.83,224.89c4.31-.34,7.44-1.13,8.37-1.58-.03-1.64-2.13-7.48-4.32-11.31-2.15-3.77-6.2-7.57-10.38-7.57-2.53,0-5.11,1.84-7.18,3.31-.02.02-.04.03-.06.04.88,1.5,1.46,4.05,2.24,7.76.7,3.33,1.57,7.48,2.67,8.58.47.46,2.87,1.22,8.65.77Z'/%3e%3c/svg%3e", tU = ({ tooltips: e, state: t, setState: n }) => {
|
|
36083
36083
|
switch (t) {
|
|
@@ -36923,4 +36923,4 @@ function MU({ title: e, ariaLabel: t, items: n = [], selectedIds: r, defaultSele
|
|
|
36923
36923
|
});
|
|
36924
36924
|
}
|
|
36925
36925
|
//#endregion
|
|
36926
|
-
export { Uv as AuthLanguageDropdown, Pw as AuthPasswordInput, Hv as AuthShell, ty as AutoCustomCompleteField, XC as CalendarChipIcon, pw as Card, gw as CardContent, _w as CardFooter, mw as CardHeader, hw as CardTitle, Aw as Checkbox, ZC as ClockChipIcon, vT as Core, bt as CoreContext, yT as CoreProvider, LC as CustomDatePicker, WC as CustomDateRangeCalendar, UC as CustomDateRangePicker, BC as CustomDateRangefield, IC as CustomDatefield, MT as CustomSelect, RC as CustomTimefield, e as DGEnUs, t as DGEsEs, hT as DashboardShell, VT as Form, tE as FormField, eE as FormGrid, XT as FormShell, vt as GoodRabbitDarkTheme, yt as GoodRabbitLightTheme, Ow as Input, FT as LegacyCustomTimefield, WT as MessageAlert, aE as PillsTabs, aE as RbPillsTabs, Nw as Portal, Kv as RBButton, Mw as Radio, qC as RbContextMenu, VH as RbExcelTable, yw as RbIconButton, dw as RbInlineChipField, nE as RbList, rE as RbListItem, BE as RbTable, SE as RbTableToolbar, HH as RbToolbarActionButton, UH as RbToolbarDateRangeField,
|
|
36926
|
+
export { Uv as AuthLanguageDropdown, Pw as AuthPasswordInput, Hv as AuthShell, ty as AutoCustomCompleteField, XC as CalendarChipIcon, pw as Card, gw as CardContent, _w as CardFooter, mw as CardHeader, hw as CardTitle, Aw as Checkbox, ZC as ClockChipIcon, vT as Core, bt as CoreContext, yT as CoreProvider, LC as CustomDatePicker, WC as CustomDateRangeCalendar, UC as CustomDateRangePicker, BC as CustomDateRangefield, IC as CustomDatefield, MT as CustomSelect, RC as CustomTimefield, e as DGEnUs, t as DGEsEs, hT as DashboardShell, VT as Form, tE as FormField, eE as FormGrid, XT as FormShell, vt as GoodRabbitDarkTheme, yt as GoodRabbitLightTheme, Ow as Input, FT as LegacyCustomTimefield, WT as MessageAlert, aE as PillsTabs, aE as RbPillsTabs, Nw as Portal, Kv as RBButton, Mw as Radio, qC as RbContextMenu, VH as RbExcelTable, yw as RbIconButton, dw as RbInlineChipField, nE as RbList, rE as RbListItem, BE as RbTable, SE as RbTableToolbar, HH as RbToolbarActionButton, UH as RbToolbarActions, WH as RbToolbarDateRangeField, qH as RbToolbarMultiSelectField, YH as RbToolbarSearchField, QH as RbToolbarSelectField, Gw as ShellContent, Jm as Sidebar, sU as SidebarContent, lU as SidebarFooter, nU as SidebarHeader, dT as SystemAlert, DT as Table, Dw as Tooltip, Xw as TopBar, Kw as TopBarUserMenu, MU as TreePanel, zv as chekingSSOMS, Z as cn, n as coreEnUS, r as coreEsES, vU as findNodeById, _U as flattenTree, bH as formatRbExcelDate, xH as formatRbExcelTime, yU as getExpandableNodeIds, CU as getNodeSelectionState, hH as getRbExcelValueAtPath, Lm as getRbImageUrl, xU as getSelectableDescendantIds, bU as getSelectableSubtreeIds, gU as hasNodeChildren, Bv as initializeAuth, mU as isNodeSelectable, hU as isNodeSelectionMutable, _H as isRbExcelEmptyValue, CH as isValidRbExcelDate, TH as isValidRbExcelNumber, wH as isValidRbExcelTime, SU as normalizeHierarchicalSelection, Vv as observeSSO, SH as parseRbExcelValue, i as pickersEnUS, a as pickersEsES, Im as rbImages, gH as setRbExcelValueAtPath, TU as toggleExpandedNode, wU as toggleNodeSelection, pT as useRbSystemAlert, kT as useSystemAlert, OT as useTable };
|
package/dist/web-ui.umd.cjs
CHANGED
|
@@ -307,15 +307,15 @@
|
|
|
307
307
|
rounded-full
|
|
308
308
|
border-2 border-current
|
|
309
309
|
border-t-transparent
|
|
310
|
-
`,"aria-hidden":`true`}):t}):(0,d.jsx)(R_,{...s,"data-toolbar-action":`true`,type:o,variant:`secondaryPrimary`,size:`s`,loading:n,disabled:r,leftIcon:t,className:Qw(`h-11 min-h-11`,`min-w-[6.75rem] shrink-0`,`px-5`,`max-sm:w-auto`,`[&_svg]:size-5`,a),children:e})}function PV({label:e=`Rango de días`,value:t,onChange:n,initialValue:r=[null,null],calendars:i=1,disabled:a=!1,className:o}){return(0,d.jsx)(`div`,{"data-toolbar-field":`true`,className:Qw(`min-w-0 w-full max-w-full overflow-visible`,o),children:(0,d.jsx)(FS,{label:e,initialValue:r,value:t,setValue:n,calendars:i,disabled:a,white:!1,fullWidth:!0,compact:!0})})}function
|
|
310
|
+
`,"aria-hidden":`true`}):t}):(0,d.jsx)(R_,{...s,"data-toolbar-action":`true`,type:o,variant:`secondaryPrimary`,size:`s`,loading:n,disabled:r,leftIcon:t,className:Qw(`h-11 min-h-11`,`min-w-[6.75rem] shrink-0`,`px-5`,`max-sm:w-auto`,`[&_svg]:size-5`,a),children:e})}var PV=l.default.forwardRef(function({children:e,className:t,...n},r){return(0,d.jsx)(`div`,{ref:r,...n,"data-toolbar-actions":`true`,className:Qw(`flex w-max max-w-full`,`flex-wrap items-center`,`justify-end gap-2`,t),children:e})});PV.displayName=`RbToolbarActions`,PV.rbToolbarActions=!0;function FV({label:e=`Rango de días`,value:t,onChange:n,initialValue:r=[null,null],calendars:i=1,disabled:a=!1,className:o}){return(0,d.jsx)(`div`,{"data-toolbar-field":`true`,className:Qw(`min-w-0 w-full max-w-full overflow-visible`,o),children:(0,d.jsx)(FS,{label:e,initialValue:r,value:t,setValue:n,calendars:i,disabled:a,white:!1,fullWidth:!0,compact:!0})})}function IV({open:e=!1}){return(0,d.jsx)(`svg`,{viewBox:`0 0 20 20`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,className:Qw(`h-4 w-4 transition-transform`,e&&`rotate-180`),"aria-hidden":`true`,children:(0,d.jsx)(`path`,{d:`M5 7.5 10 12.5l5-5`,strokeLinecap:`round`,strokeLinejoin:`round`})})}function LV(e,t){l.default.useEffect(()=>{let n=n=>{e.current&&(e.current.contains(n.target)||t())};return document.addEventListener(`mousedown`,n),()=>document.removeEventListener(`mousedown`,n)},[e,t])}function RV({label:e,ariaLabel:t,value:n,onChange:r,options:i=[],placeholder:a=`Seleccionar`,className:o,disabled:s=!1,search:c}){let u=l.default.useId(),f=l.default.useRef(null),[p,m]=l.default.useState(!1);LV(f,l.default.useCallback(()=>{m(!1)},[]));let h=i.filter(e=>n.includes(String(e.value))),g=c?.value??``,_=l.default.useMemo(()=>{let e=g.trim().toLowerCase();return e?i.filter(t=>`${typeof t.label==`string`?t.label:String(t.value)} ${typeof t.sublabel==`string`?t.sublabel:``}`.toLowerCase().includes(e)):i},[i,g]),v=e=>{if(n.includes(e)){r(n.filter(t=>t!==e));return}r([...n,e])};return(0,d.jsx)(`div`,{ref:f,"data-toolbar-field":`true`,className:Qw(`grid min-w-0 w-full max-w-full gap-2 overflow-visible`,o),children:(0,d.jsxs)(`div`,{className:Qw(`relative overflow-visible`,s&&`opacity-60`),children:[e?(0,d.jsx)(`label`,{htmlFor:u,className:Qw(`pointer-events-none absolute left-[1.125rem] -top-[0.625rem] z-10 px-2`,`p3 bg-[var(--base-dark)] text-[color-mix(in_oklab,var(--white)_72%,transparent)]`),children:e}):null,(0,d.jsxs)(`button`,{id:u,type:`button`,disabled:s,"aria-haspopup":`listbox`,"aria-controls":p?`${u}-listbox`:void 0,"aria-label":t??(typeof e==`string`?e:a),"aria-expanded":p,onClick:()=>{s||m(e=>!e)},className:Qw(`relative flex min-h-11 w-full items-center rounded-[var(--r-s)] border px-4 py-0 text-left`,`border-[var(--primary)] bg-[var(--base-dark)] text-[var(--white)]`,`transition-[border-color,box-shadow,background-color] duration-150`,`focus-visible:outline-none focus-visible:shadow-[var(--focus-ring-shadow)]`,s&&`cursor-not-allowed`),children:[(0,d.jsx)(`span`,{className:`flex min-w-0 flex-1 items-center gap-1.5 overflow-hidden pr-10`,children:h.length===0?(0,d.jsx)(`span`,{className:`p1 min-w-0 truncate text-[color-mix(in_oklab,var(--white)_72%,transparent)]`,children:a}):(0,d.jsxs)(d.Fragment,{children:[h.slice(0,2).map(e=>(0,d.jsx)(`span`,{className:`p3 max-w-[7rem] truncate rounded-full bg-[var(--g-700)] px-2 py-1 text-[var(--on-dark-text)]`,children:e.label},e.value)),h.length>2?(0,d.jsxs)(`span`,{className:`p3 rounded-full bg-[var(--g-700)] px-2 py-1 text-[var(--on-dark-text)]`,children:[`+`,h.length-2]}):null]})}),(0,d.jsx)(`span`,{className:`pointer-events-none absolute right-4 top-1/2 flex h-4 w-4 -translate-y-1/2 items-center justify-center text-white/70`,children:(0,d.jsx)(IV,{open:p})})]}),p?(0,d.jsxs)(`div`,{className:Qw(`absolute left-0 top-full z-[var(--z-popover)] mt-2 w-full min-w-0 max-w-full overflow-hidden`,`rounded-[var(--r-m)] bg-[var(--base-dark)] text-white shadow-[var(--shadow-lg)]`),children:[c?(0,d.jsx)(`div`,{className:`border-b border-white/10 p-3`,children:(0,d.jsx)(`input`,{type:`text`,value:c.value,placeholder:c.placeholder??`Buscar...`,"aria-label":c.placeholder??`Buscar opciones de ${typeof e==`string`?e:`selección`}`,onChange:e=>c.onChange(e.target.value),className:Qw(`h-10 w-full rounded-[var(--r-s)] border border-[var(--g-600)] bg-[var(--base-dark)] px-3`,`p2 text-white outline-none placeholder:text-[color-mix(in_oklab,var(--white)_72%,transparent)]`,`transition-[border-color,box-shadow] duration-150`,`focus:border-[var(--g-500)] focus:shadow-[0_0_0_3px_color-mix(in_oklab,var(--g-600)_35%,transparent)]`)})}):null,(0,d.jsx)(`div`,{id:`${u}-listbox`,role:`listbox`,"aria-multiselectable":`true`,"aria-label":typeof e==`string`?`Opciones de ${e}`:`Opciones disponibles`,className:`max-h-[20rem] overflow-y-auto py-2 text-white [&_*]:text-white`,children:_.length===0?(0,d.jsx)(`div`,{className:`px-5 py-3 p2 !text-white/60`,children:`Sin resultados`}):_.map(e=>{let t=String(e.value),r=n.includes(t);return(0,d.jsxs)(`button`,{type:`button`,role:`option`,disabled:e.disabled,"aria-selected":r,onClick:()=>{e.disabled||v(t)},className:Qw(`flex w-full min-w-0 items-start gap-3 px-5 py-3 text-left transition-colors`,r?`bg-white/15 text-white`:`text-white hover:bg-white/10`,e.disabled&&`cursor-not-allowed opacity-45 hover:bg-transparent`),children:[(0,d.jsx)(`span`,{className:Qw(`mt-0.5 grid size-4 shrink-0 place-items-center rounded border`,r?`border-[var(--primary)] bg-[var(--primary)] text-[var(--base-dark)]`:`border-[var(--on-dark-border)] bg-transparent text-transparent`),children:(0,d.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,className:`size-3`,children:(0,d.jsx)(`path`,{d:`m5 12 4 4L19 6`,stroke:`currentColor`,strokeWidth:`3`,strokeLinecap:`round`,strokeLinejoin:`round`})})}),(0,d.jsxs)(`span`,{className:`grid min-w-0 gap-0.5 text-white`,children:[(0,d.jsx)(`span`,{className:`min-w-0 truncate p1 text-white`,children:e.label}),e.sublabel?(0,d.jsx)(`span`,{className:`min-w-0 truncate p3 !text-white/60`,children:e.sublabel}):null]})]},e.value)})})]}):null]})})}function zV(){return(0,d.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,className:`
|
|
311
311
|
size-6
|
|
312
312
|
text-[var(--on-dark-muted)]
|
|
313
|
-
`,"aria-hidden":`true`,children:(0,d.jsx)(`path`,{d:`M21 21l-4.3-4.3m1.3-5.2a7.5 7.5 0 11-15 0 7.5 7.5 0 0115 0z`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`})})}function
|
|
313
|
+
`,"aria-hidden":`true`,children:(0,d.jsx)(`path`,{d:`M21 21l-4.3-4.3m1.3-5.2a7.5 7.5 0 11-15 0 7.5 7.5 0 0115 0z`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`})})}function BV({value:e,onChange:t,placeholder:n=`Buscar...`,className:r,disabled:i=!1,ariaLabel:a,...o}){return(0,d.jsxs)(`div`,{"data-toolbar-field":`true`,className:Qw(`relative w-full min-w-0`,`rounded-[var(--r-l)]`,`border border-transparent`,`bg-[var(--g-700)]`,`transition-[border-color,box-shadow]`,`duration-150`,`focus-within:border-[var(--azulino-main)]`,`focus-within:shadow-[var(--focus-ring-shadow)]`,i&&`cursor-not-allowed opacity-60`,r),children:[(0,d.jsx)(`span`,{className:`
|
|
314
314
|
pointer-events-none
|
|
315
315
|
absolute left-4 top-1/2
|
|
316
316
|
-translate-y-1/2
|
|
317
|
-
`,children:(0,d.jsx)(RV,{})}),(0,d.jsx)(`input`,{...o,type:`search`,value:e,disabled:i,placeholder:n,"aria-label":a??n,onChange:e=>t(e.target.value),className:Qw(`p1 h-11 w-full min-w-0`,`rounded-[var(--r-l)]`,`bg-transparent`,`pl-12 pr-4`,`text-[var(--on-dark-text)]`,`outline-none`,`focus:outline-none`,`focus:ring-0`,`focus:shadow-none`,`placeholder:text-[var(--on-dark-muted)]`,`selection:bg-[var(--azulino-main)]`,`selection:text-[var(--white)]`,i&&`cursor-not-allowed`)})]})}function BV({open:e=!1}){return(0,d.jsx)(`svg`,{viewBox:`0 0 20 20`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,className:Qw(`size-4 transition-transform`,e&&`rotate-180`),"aria-hidden":`true`,children:(0,d.jsx)(`path`,{d:`M5 7.5 10 12.5l5-5`,strokeLinecap:`round`,strokeLinejoin:`round`})})}function VV(e,t){l.default.useEffect(()=>{let n=n=>{e.current&&(e.current.contains(n.target)||t())};return document.addEventListener(`mousedown`,n),()=>document.removeEventListener(`mousedown`,n)},[e,t])}function HV({label:e,ariaLabel:t,value:n,onChange:r,options:i=[],placeholder:a=`Seleccionar`,className:o,disabled:s=!1,search:c}){let u=l.default.useId(),f=l.default.useRef(null),[p,m]=l.default.useState(!1);VV(f,l.default.useCallback(()=>{m(!1)},[]));let h=i.find(e=>String(e.value)===String(n)),g=c?.value??``,_=l.default.useMemo(()=>{let e=g.trim().toLowerCase();return e?i.filter(t=>`${typeof t.label==`string`?t.label:String(t.value)} ${typeof t.sublabel==`string`?t.sublabel:``}`.toLowerCase().includes(e)):i},[i,g]);return(0,d.jsx)(`div`,{ref:f,"data-toolbar-field":`true`,className:Qw(`grid min-w-0 w-full max-w-full gap-2 overflow-visible`,o),children:(0,d.jsxs)(`div`,{className:Qw(`relative overflow-visible`,s&&`opacity-60`),children:[e?(0,d.jsx)(`label`,{htmlFor:u,className:Qw(`pointer-events-none absolute left-[1.125rem] -top-[0.625rem] z-10 px-2`,`p3 bg-[var(--base-dark)] text-[var(--on-dark-muted)]`),children:e}):null,(0,d.jsxs)(`button`,{id:u,type:`button`,disabled:s,"aria-haspopup":`listbox`,"aria-expanded":p,"aria-controls":p?`${u}-listbox`:void 0,"aria-label":t??(typeof e==`string`?e:a),onClick:()=>{s||m(e=>!e)},className:Qw(`relative flex min-h-11 w-full items-center rounded-[var(--r-s)] border px-4 py-0 text-left`,`border-[var(--primary)] bg-[var(--base-dark)] text-[var(--on-dark-text)]`,`transition-[border-color,box-shadow,background-color] duration-150`,`focus-visible:outline-none focus-visible:shadow-[var(--focus-ring-shadow)]`,s&&`cursor-not-allowed`),children:[(0,d.jsx)(`span`,{className:Qw(`p1 min-w-0 flex-1 truncate pr-10`,h?`text-[var(--on-dark-text)]`:`text-[var(--on-dark-muted)]`),children:h?.label??a}),(0,d.jsx)(`span`,{className:`pointer-events-none absolute right-4 top-1/2 flex size-4 -translate-y-1/2 items-center justify-center text-[var(--on-dark-muted)]`,children:(0,d.jsx)(BV,{open:p})})]}),p?(0,d.jsxs)(`div`,{className:Qw(`absolute left-0 top-full z-[var(--z-popover)] mt-2 w-full min-w-0 max-w-full overflow-hidden`,`rounded-[var(--r-m)] bg-[var(--base-dark)] text-[var(--on-dark-text)] shadow-[var(--shadow-lg)]`),children:[c?(0,d.jsx)(`div`,{className:`border-b border-[var(--on-dark-border)] p-3`,children:(0,d.jsx)(`input`,{type:`text`,value:c.value,placeholder:c.placeholder??`Buscar...`,"aria-label":c.placeholder??`Buscar opciones de ${typeof e==`string`?e:`selección`}`,onChange:e=>c.onChange(e.target.value),className:Qw(`h-10 w-full rounded-[var(--r-s)] border border-[var(--on-dark-border)] bg-[var(--on-dark-hover)] px-3`,`p2 text-[var(--on-dark-text)] outline-none placeholder:text-[var(--on-dark-muted)]`,`transition-[border-color,box-shadow] duration-150`,`focus:border-[var(--azulino-main)] focus:shadow-[var(--focus-ring-shadow)]`)})}):null,(0,d.jsx)(`div`,{id:`${u}-listbox`,role:`listbox`,"aria-label":typeof e==`string`?`Opciones de ${e}`:`Opciones disponibles`,className:`max-h-80 overflow-y-auto py-2`,children:_.length===0?(0,d.jsx)(`div`,{className:`p2 px-5 py-3 text-[var(--on-dark-muted)]`,children:`Sin resultados`}):_.map(e=>{let t=String(e.value)===String(n);return(0,d.jsxs)(`button`,{type:`button`,role:`option`,disabled:e.disabled,"aria-selected":t,onClick:()=>{e.disabled||(r(e.value),m(!1))},className:Qw(`flex w-full min-w-0 items-start gap-3 px-5 py-3 text-left transition-colors`,t?`bg-[var(--on-dark-selected)] text-[var(--on-dark-text)]`:`text-[var(--on-dark-text)] hover:bg-[var(--on-dark-hover)]`,e.disabled&&`cursor-not-allowed opacity-45 hover:bg-transparent`),children:[e.icon?(0,d.jsx)(`span`,{className:`mt-0.5 flex size-5 shrink-0 items-center justify-center text-[var(--on-dark-text)]`,children:e.icon}):null,(0,d.jsxs)(`span`,{className:`grid min-w-0 gap-0.5 text-[var(--on-dark-text)]`,children:[(0,d.jsx)(`span`,{className:`p1 min-w-0 truncate text-[var(--on-dark-text)]`,children:e.label}),e.sublabel?(0,d.jsx)(`span`,{className:`p3 min-w-0 truncate text-[var(--on-dark-muted)]`,children:e.sublabel}):null]})]},e.value)})})]}):null]})})}var UV=l.default.forwardRef(function({children:e,className:t,...n},r){return(0,d.jsx)(`div`,{ref:r,...n,"data-toolbar-actions":`true`,className:Qw(`flex w-max max-w-full`,`flex-wrap items-center`,`justify-end gap-2`,t),children:e})});UV.displayName=`RbToolbarActions`,UV.rbToolbarActions=!0;var WV=`data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%203000%20551.6'%3e%3cdefs%3e%3cstyle%3e.cls-1{fill:%23190007;}.cls-1,.cls-2,.cls-3{stroke-width:0px;}.cls-2{fill:%23f0c300;}.cls-3{fill:%23ebeae0;}%3c/style%3e%3c/defs%3e%3cpath%20class='cls-3'%20d='m871.49,259.5v9.04c-9.81,0-17.5.94-23.05,2.83-5.55,1.88-9.6,5.43-12.16,10.65-2.56,5.23-4.16,12.65-4.8,22.26-.64,9.61-.96,21.94-.96,36.97v119.73c-6.82,11.28-14.9,21.11-24.26,29.46-8.09,7.53-18.21,14.42-30.34,20.68-12.13,6.26-26.51,9.4-43.1,9.4-17.88,0-34.7-5.85-50.45-17.55-15.75-11.7-29.38-28.41-40.87-50.14s-20.54-47.75-27.14-78.04c-6.6-30.29-9.9-64.25-9.9-101.86,0-44.29,4.03-81.79,12.11-112.5,8.07-30.71,18.27-55.57,30.6-74.59,12.32-19.01,26.14-32.8,41.45-41.37,15.3-8.56,29.96-12.85,44-12.85,8.93,0,16.58,1.05,22.95,3.12,6.37,2.07,12,4.25,16.89,6.53,4.89,2.28,9.14,4.46,12.75,6.54,3.62,2.07,6.91,3.11,9.89,3.11,3.82,0,6.58-2.2,8.29-6.63.87-1.6,1.52-3.62,1.95-6.03h14.33v149.21h-12.06c-2.98-26.31-7.43-49.7-13.37-70.16-2.54-8.76-5.41-17.32-8.59-25.68-3.18-8.35-7-15.86-11.45-22.55-4.46-6.68-9.54-12-15.27-15.98-5.73-3.97-11.99-5.95-18.77-5.95-12.73,0-23.55,5.44-32.46,16.31-8.91,10.87-16.12,26.14-21.63,45.79-5.52,19.65-9.55,43.39-12.09,71.19-2.54,27.81-3.81,58.64-3.81,92.52,0,41.82,1.59,77.15,4.79,106.01,3.19,28.86,7.77,52.28,13.73,70.26,5.96,17.98,13.41,30.94,22.36,38.88,8.94,7.95,19.16,11.92,30.66,11.92,10.64,0,17.46-3.14,20.44-9.41s4.47-15.89,4.47-28.86v-128.6c0-13.38-.54-24.36-1.6-32.93-1.07-8.57-3.64-15.17-7.69-19.76-4.06-4.6-10.14-7.73-18.25-9.41-8.11-1.68-19.21-2.51-33.29-2.51v-9.04h165.7Z'/%3e%3cpath%20class='cls-3'%20d='m1103.45,333.04c0,31.29-3.32,58.31-9.95,81.04s-15.51,41.52-26.64,56.33c-11.13,14.81-23.86,25.76-38.2,32.85-14.34,7.08-29.2,10.63-44.6,10.63s-30.17-3.55-44.29-10.63c-14.12-7.09-26.74-18.05-37.87-32.85-11.13-14.81-20.01-33.59-26.64-56.33s-9.95-49.75-9.95-81.04,3.32-58.31,9.95-81.04,15.5-41.41,26.64-56.01c11.12-14.6,23.75-25.45,37.87-32.54,14.12-7.09,28.88-10.64,44.29-10.64s30.26,3.55,44.6,10.64c14.34,7.09,27.06,17.94,38.2,32.54,11.12,14.6,20.01,33.27,26.64,56.01s9.95,49.75,9.95,81.04Zm-59.68,0c0-22.94-1.07-44.41-3.21-64.44-2.15-20.02-5.68-37.54-10.6-52.55-4.92-15.01-11.12-26.89-18.61-35.65-7.49-8.76-16.58-13.14-27.28-13.14s-19.8,4.38-27.29,13.14c-7.49,8.76-13.58,20.64-18.29,35.65-4.71,15.01-8.13,32.53-10.27,52.55-2.15,20.03-3.21,41.5-3.21,64.44s1.06,44.53,3.21,64.75c2.14,20.23,5.56,37.85,10.27,52.86,4.71,15.01,10.8,26.8,18.29,35.35,7.49,8.55,16.59,12.82,27.29,12.82s19.79-4.27,27.28-12.82c7.49-8.55,13.7-20.34,18.61-35.35,4.92-15.01,8.45-32.63,10.6-52.86,2.14-20.22,3.21-41.8,3.21-64.75Z'/%3e%3cpath%20class='cls-3'%20d='m1360.25,333.04c0,31.29-3.32,58.31-9.95,81.04-6.63,22.74-15.51,41.52-26.64,56.33-11.13,14.81-23.86,25.76-38.2,32.85-14.34,7.08-29.2,10.63-44.6,10.63s-30.17-3.55-44.29-10.63c-14.12-7.09-26.74-18.05-37.87-32.85-11.13-14.81-20.01-33.59-26.64-56.33s-9.95-49.75-9.95-81.04,3.32-58.31,9.95-81.04,15.5-41.41,26.64-56.01c11.12-14.6,23.75-25.45,37.87-32.54,14.12-7.09,28.88-10.64,44.29-10.64s30.26,3.55,44.6,10.64c14.34,7.09,27.06,17.94,38.2,32.54,11.12,14.6,20.01,33.27,26.64,56.01,6.63,22.74,9.95,49.75,9.95,81.04Zm-59.68,0c0-22.94-1.07-44.41-3.21-64.44-2.15-20.02-5.68-37.54-10.6-52.55-4.92-15.01-11.12-26.89-18.61-35.65-7.49-8.76-16.58-13.14-27.28-13.14s-19.8,4.38-27.29,13.14c-7.49,8.76-13.58,20.64-18.29,35.65-4.71,15.01-8.13,32.53-10.27,52.55-2.15,20.03-3.21,41.5-3.21,64.44s1.06,44.53,3.21,64.75c2.14,20.23,5.56,37.85,10.27,52.86,4.71,15.01,10.8,26.8,18.29,35.35s16.59,12.82,27.29,12.82,19.79-4.27,27.28-12.82c7.49-8.55,13.7-20.34,18.61-35.35,4.92-15.01,8.45-32.63,10.6-52.86,2.14-20.22,3.21-41.8,3.21-64.75Z'/%3e%3cpath%20class='cls-3'%20d='m1617.66,426.25c0,16.28.42,29.21,1.28,38.8.85,9.6,2.67,16.9,5.43,21.9,2.77,5.01,6.83,8.24,12.17,9.7,5.33,1.46,12.48,2.19,21.45,2.19v9.04h-100.01v-44.67c-8.56,16.28-19.79,28.79-33.69,37.55-13.9,8.75-29.2,13.14-45.88,13.14-12.84,0-25.14-4.17-36.9-12.52-11.76-8.35-22.35-20.23-31.76-35.67-9.42-15.43-16.91-34.42-22.47-56.95-5.56-22.53-8.34-47.77-8.34-75.72s2.78-53.61,8.34-75.72c5.56-22.12,13.05-40.99,22.47-56.64,9.41-15.65,20-27.53,31.76-35.67,11.76-8.14,24.07-12.21,36.9-12.21,16.68,0,31.98,4.28,45.88,12.83,13.9,8.55,25.13,21.17,33.69,37.86v-58.12c0-12.5-.75-22.81-2.24-30.93-1.5-8.12-3.84-14.58-7.05-19.38-3.2-4.79-7.47-8.02-12.8-9.68-5.34-1.67-11.63-2.51-18.89-2.51v-9.04c20.48-.41,38.74-3.43,54.78-9.04,16.03-5.61,28.33-14.46,36.89-26.52h8.99v387.98Zm-59.68-141.35c0-33.76-5.36-59.39-16.06-76.9-10.71-17.5-23.98-26.26-39.82-26.26-7.71,0-15.21,2.3-22.48,6.88-7.28,4.59-13.81,12.61-19.59,24.08-5.78,11.46-10.5,26.88-14.14,46.27-3.64,19.38-5.45,44.07-5.45,74.08s1.82,54.71,5.45,74.09c3.64,19.38,8.35,34.91,14.14,46.58,5.78,11.67,12.31,19.8,19.59,24.38,7.27,4.59,14.77,6.88,22.48,6.88,15.84,0,29.12-8.85,39.82-26.57,10.7-17.71,16.06-43.24,16.06-76.59v-96.91Z'/%3e%3cpath%20class='cls-3'%20d='m1899.3,426.35c5.12,15,9.71,27.18,13.76,36.56,4.05,9.37,8.53,16.56,13.44,21.55,4.91,5,10.35,8.44,16.33,10.31,5.97,1.87,13.44,3.23,22.41,4.06v9.04h-56.98c-19.64,0-34.04-2.39-43.22-7.2-9.17-4.79-16.12-14.7-20.81-29.72l-47.56-145.78c-3.43-11.27-9-19.39-16.72-24.41-7.71-5-15.43-7.51-23.13-7.51h-3.62v133.09c0,15,.32,27.29.96,36.87.64,9.59,2.24,16.98,4.8,22.18,2.56,5.21,6.61,8.75,12.16,10.63s13.44,2.81,23.69,2.81v9.04h-146.49v-9.04c9.81,0,17.49-.93,23.04-2.82,5.55-1.87,9.61-5.42,12.17-10.63,2.56-5.21,4.16-12.61,4.8-22.2s.96-21.89.96-36.9V111.09c0-13.34-.32-24.17-.96-32.52-.64-8.34-2.35-14.8-5.12-19.38-2.78-4.59-6.94-7.71-12.49-9.38-5.55-1.67-13.02-2.51-22.4-2.51v-9.04h124.66c25.12,0,46.52,3.24,64.19,9.71,17.67,6.48,32.26,15.35,43.76,26.63,11.5,11.28,19.91,24.65,25.23,40.1,5.32,15.46,7.99,32.37,7.99,50.75,0,30.08-7.03,55.97-21.08,77.69-14.05,21.72-37.06,36.55-68.99,44.48,10.39,2.51,19.01,7.39,25.87,14.68,6.85,7.29,13.05,19.06,18.6,35.3l30.73,88.74Zm-126.27-148.76c12.78,0,23.97-1.87,33.56-5.63,9.59-3.76,17.47-10.02,23.65-18.8,6.18-8.77,10.76-20.36,13.74-34.77,2.98-14.41,4.47-32.05,4.47-52.94s-1.92-38.42-5.76-52.63c-3.84-14.19-8.84-25.68-15.02-34.46-6.18-8.77-13.32-15.03-21.42-18.79-8.1-3.76-16.62-5.64-25.56-5.64s-16.3,3.24-20.78,9.71c-4.47,6.48-6.71,15.35-6.71,26.63v187.31h19.82Z'/%3e%3cpath%20class='cls-3'%20d='m2149.7,426.25c0,16.28.42,29.21,1.28,38.8.85,9.6,2.67,16.9,5.44,21.9,2.77,5.01,6.93,8.24,12.48,9.7,5.55,1.46,12.8,2.19,21.77,2.19v9.04h-100.65l.03-49.67c-7.27,17.94-17.11,31.71-29.51,41.3-12.4,9.59-26.3,14.39-41.69,14.39-10.69,0-20.96-1.36-30.79-4.06-9.83-2.71-18.28-7.3-25.34-13.76-7.06-6.46-12.72-14.9-16.99-25.32-4.28-10.42-6.41-23.34-6.41-38.77,0-18.33,3.74-33.97,11.22-46.89,7.48-12.92,16.79-24.07,27.9-33.45,11.11-9.38,23.19-17.41,36.24-24.08,13.04-6.67,25.12-12.91,36.24-18.75s20.41-11.67,27.89-17.51c7.48-5.83,11.23-12.5,11.23-20.01v-6.25c0-28.34-5.56-50.02-16.67-65.02-11.11-15-25.65-22.51-43.6-22.51-13.25,0-24.58,3.92-33.98,11.76-9.4,7.84-16.24,20.42-20.52,37.74,3.41-1.24,7.05-1.87,10.89-1.87,9.4,0,17.41,3.23,24.03,9.69,6.61,6.46,9.93,14.49,9.93,24.08s-3.33,16.99-9.96,23.45c-6.64,6.46-14.67,9.69-24.09,9.69s-18.09-3.22-24.73-9.67c-6.64-6.45-9.96-14.26-9.96-23.43,0-15.4,2.46-29.56,7.38-42.46,4.92-12.9,11.88-24.04,20.86-33.4s19.68-16.76,32.09-22.17c12.41-5.41,26.1-8.12,41.08-8.12,13.7,0,26.53,2.51,38.52,7.51,11.98,5.01,22.25,12.83,30.81,23.46,8.55,10.64,15.3,24.2,20.21,40.67,4.92,16.48,7.38,36.4,7.38,59.76v142.04Zm-59.68-125.75c-6.84,7.09-15.49,13.66-25.97,19.71-10.47,6.05-20.52,13.23-30.12,21.57-9.62,8.35-17.84,18.66-24.68,30.96-6.84,12.3-10.26,28.25-10.26,47.84,0,24.19,2.99,40.86,8.98,50.04,5.98,9.17,14.32,13.75,25,13.75,13.24,0,25.22-6.25,35.9-18.76,10.68-12.51,17.74-30.85,21.16-55.04v-110.06Z'/%3e%3cpath%20class='cls-3'%20d='m2353.01,152.8c12.79,0,25.17,4.07,37.12,12.21,11.94,8.14,22.51,20.03,31.69,35.67,9.17,15.65,16.63,34.52,22.4,56.64,5.76,22.12,8.65,47.35,8.65,75.72s-2.88,53.19-8.64,75.72c-5.76,22.53-13.22,41.52-22.38,56.95-9.17,15.44-19.72,27.33-31.66,35.67-11.94,8.35-24.3,12.52-37.09,12.52-16.63,0-31.77-4.35-45.41-13.04-13.65-8.68-24.74-21.17-33.26-37.46v44.47h-100.01v-9.04c8.96,0,16.11-.73,21.44-2.19s9.39-4.69,12.17-9.7c2.77-5,4.59-12.3,5.44-21.89.85-9.59,1.28-22.51,1.28-38.78V145.43c0-12.51-.75-22.83-2.24-30.96-1.5-8.13-3.84-14.59-7.05-19.39-3.2-4.79-7.36-8.03-12.48-9.69-5.12-1.67-11.31-2.51-18.57-2.51v-9.04c20.48-.41,38.64-3.43,54.46-9.04,15.82-5.61,28.01-14.46,36.57-26.52h8.99l-.15,165.22c8.53-16.68,19.62-29.3,33.28-37.86s28.8-12.83,45.46-12.83Zm38.36,180.24c0-30.01-1.82-54.7-5.43-74.08-3.62-19.38-8.31-34.8-14.05-46.27-5.76-11.46-12.36-19.49-19.82-24.08-7.46-4.58-15.01-6.88-22.68-6.88-15.34,0-28.34,8.76-38.99,26.26-10.65,17.51-15.98,43.14-15.98,76.9v96.91c0,33.34,5.32,58.88,15.98,76.59,10.64,17.72,23.64,26.57,38.99,26.57,7.67,0,15.22-2.29,22.68-6.88,7.46-4.58,14.06-12.71,19.82-24.38,5.75-11.67,10.44-27.19,14.05-46.58,3.62-19.38,5.43-44.08,5.43-74.09Z'/%3e%3cpath%20class='cls-3'%20d='m2618.79,152.8c12.79,0,25.17,4.07,37.12,12.21,11.94,8.14,22.51,20.03,31.69,35.67,9.17,15.65,16.63,34.52,22.4,56.64,5.76,22.12,8.65,47.35,8.65,75.72s-2.88,53.19-8.64,75.72c-5.76,22.53-13.22,41.52-22.38,56.95-9.17,15.44-19.72,27.33-31.66,35.67-11.94,8.35-24.3,12.52-37.09,12.52-16.63,0-31.77-4.35-45.41-13.04-13.65-8.68-24.74-21.17-33.26-37.46v44.47h-100.01v-9.04c8.96,0,16.11-.73,21.44-2.19s9.39-4.69,12.17-9.7c2.77-5,4.59-12.3,5.44-21.89.85-9.59,1.28-22.51,1.28-38.78V145.43c0-12.51-.75-22.83-2.24-30.96-1.5-8.13-3.84-14.59-7.05-19.39-3.2-4.79-7.36-8.03-12.48-9.69-5.12-1.67-11.31-2.51-18.57-2.51v-9.04c20.48-.41,38.64-3.43,54.46-9.04,15.82-5.61,28.01-14.46,36.57-26.52h8.99l-.15,165.22c8.53-16.68,19.62-29.3,33.28-37.86s28.8-12.83,45.46-12.83Zm38.36,180.24c0-30.01-1.82-54.7-5.43-74.08-3.62-19.38-8.31-34.8-14.05-46.27-5.76-11.46-12.36-19.49-19.82-24.08-7.46-4.58-15.01-6.88-22.68-6.88-15.34,0-28.34,8.76-38.99,26.26-10.65,17.51-15.98,43.14-15.98,76.9v96.91c0,33.34,5.32,58.88,15.98,76.59,10.64,17.72,23.64,26.57,38.99,26.57,7.67,0,15.22-2.29,22.68-6.88,7.46-4.58,14.06-12.71,19.82-24.38,5.75-11.67,10.44-27.19,14.05-46.58,3.62-19.38,5.43-44.08,5.43-74.09Z'/%3e%3cpath%20class='cls-3'%20d='m2806.58,426.17c0,16.29.42,29.23,1.28,38.84.85,9.61,2.67,16.91,5.43,21.92,2.77,5.01,6.93,8.25,12.48,9.71,5.55,1.47,12.81,2.19,21.78,2.19v9.04h-140.99v-9.04c8.96,0,16.11-.73,21.44-2.19s9.39-4.69,12.17-9.7c2.77-5.01,4.59-12.31,5.44-21.91.85-9.59,1.28-22.52,1.28-38.8v-160.84c0-12.52-.75-22.84-2.24-30.98-1.5-8.14-3.84-14.5-7.05-19.08-3.2-4.59-7.36-7.71-12.48-9.39-5.12-1.67-11.31-2.51-18.57-2.51v-9.04c20.48-.83,38.74-4.07,54.78-9.7,16.03-5.63,28.33-14.3,36.89-26h8.35v267.47Zm-34.95-306.52c-11.92,0-22.14-4.06-30.65-12.19-8.52-8.12-12.77-18.02-12.77-29.7s4.26-22.19,12.77-30.32c8.52-8.12,18.73-12.19,30.65-12.19s22.02,4.07,30.33,12.19c8.3,8.13,12.45,18.24,12.45,30.32s-4.15,21.58-12.45,29.7c-8.31,8.13-18.41,12.19-30.33,12.19Z'/%3e%3cpath%20class='cls-3'%20d='m2927.66,158.83h72.34v15.67h-72.34v265.37c0,30.46,8.53,45.69,25.61,45.69,5.97,0,11.19-1.25,15.67-3.76,4.48-2.51,8.43-5.43,11.85-8.77,3.84-3.76,7.25-7.93,10.25-12.53l8.96,6.89c-4.27,8.78-9.81,16.51-16.64,23.21-5.56,5.88-12.59,11.24-21.13,16.06-8.53,4.81-18.78,7.23-30.73,7.23-8.99,0-17.32-1.36-25.03-4.07-7.71-2.71-14.44-7.4-20.21-14.09-5.77-6.68-10.27-15.65-13.47-26.92-3.21-11.27-4.81-25.25-4.81-41.96v-252.35h-40.33v-15.67c27.74-2.51,47.28-10.02,58.62-22.55,11.34-12.53,18.29-30.48,20.86-53.87h20.53v76.42Z'/%3e%3crect%20class='cls-2'%20x='0'%20y='0'%20width='514.22'%20height='551.6'%20rx='237.65'%20ry='237.65'/%3e%3cpath%20class='cls-1'%20d='m403.42,360.77c-4.51-3.91-34.29-24.06-34.29-24.06,0,0-9.02,12.63-10.23,11.43-.9-.9,6.62-9.93,8.42-17.44.6-2.5,2.41-9.02,3.01-13.23.6-4.21-1.2-15.34.3-15.34s4.51,7.82,4.51,7.82c0,0-.6-9.93-1.5-17.74-.9-7.82-4.51-16.24-7.52-19.25-3.01-3.01-15.34-1.49-15.34-3.91,0-1.5,12.93-1.2,25.26-.9,12.33.3,19.25-4.21,19.55-5.11.3-.9-.6-1.5,0-2.41.6-.9,1.8-1.5,2.71-3.01.9-1.5,1.8-4.51,3.61-3.91,1.8.6-1.2,4.51.6,5.41,1.8.9,3.61-2.41,5.41-5.71,1.8-3.31.9-9.62.9-9.62,0,0,0-.3-.3.3-.3.6-1.5,1.2-2.71,2.41-1.2,1.2-1.8,3.61-3.31,3.31s-.3-2.71-1.5-3.61c-1.2-.9-8.72-4.51-7.82-6.02.9-1.5,7.22,1.5,9.62,2.11,2.41.6,5.41-.3,5.41-.3,0,0,2.11-5.41,1.8-9.62-.3-4.21-6.32-11.13-10.23-16.84-3.91-5.71-4.21-14.14-14.74-27.07-10.53-12.93-30.68-14.14-33.68-16.54-3.01-2.41-5.41-11.43-7.52-24.06-2.11-12.63,1.5-12.63-3.01-33.08-4.51-20.45-25.26-45.41-31.88-43.91-6.62,1.5-6.62,36.09-6.02,46.92.6,10.83,21.96,47.52,24.06,50.83,2.11,3.31,6.62,4.81,4.81,7.52-1.8,2.71-15.64-18.35-22.26-31.28-6.62-12.93-18.65-30.68-28.27-39.7-9.62-9.02-47.22-30.98-53.53-25.56s2.71,36.99,6.62,46.62c3.91,9.62,11.28,23.31,20.9,32.63,9.62,9.32,37.9,23.46,40.9,25.26,3.01,1.8,5.41,4.81,5.41,4.81,0,0-1.2,5.71-1.2,9.32s1.2,12.63,1.5,17.44c.3,4.81-.3,7.22-.9,11.43-.6,4.21-3.01,6.92-3.31,9.62-.3,2.71.9,1.8.9,1.8,0,0-2.71,6.32-7.22,8.72-4.51,2.41-13.83-1.5-22.26-3.91-8.42-2.41-19.25-2.41-19.25-2.41l6.47,4.36s0,1.2-1.5.3-35.19,0-40.9.3c-5.71.3-12.8,1.81-12.8,1.81,0,0,4.68,1.49,4.68,2.7s-23.46,5.41-48.12,30.08c-24.66,24.66-28.27,64.66-28.87,64.66s-2.11-13.53-2.71-14.44c-.6-.9-3.01-2.41-9.93-2.11-6.92.3-9.62,3.61-9.62,3.91s1.2,1.5,1.2,2.11-6.02,3.61-6.02,4.21,2.41,1.8,2.41,2.41-.9,1.2-2.71,2.71c-1.8,1.5-3.91,4.51-3.61,5.11.3.6,2.11.9,2.41,2.11.3,1.2-.9,4.21-1.2,7.52-.3,3.31,1.8,5.41,2.11,5.41s1.2-3.31,1.8-3.31,1.2,5.11,1.5,6.32c.3,1.2.3,1.8.3,4.21s1.5,4.21,1.8,4.21-.3-3.61.6-1.5c.9,2.11,10.23,9.32,15.34,9.62,5.11.3,6.92-2.11,8.12-2.11s2.71,3.01,3.31,2.41c.6-.6,0-12.63,1.2-12.63s1.2,2.41,1.5,3.31c.3.9,4.81,8.72,7.82,12.93,3.01,4.21,9.92,9.93,12.03,15.34,2.11,5.41-11.73,22.26-13.23,26.77-1.5,4.51.3,13.23,18.95,33.68,18.65,20.45,44.51,18.05,46.62,16.54s0-6.32-6.62-16.54c-6.62-10.23-19.25-22.26-19.25-22.86s3.31-1.2,6.32-1.8c3.01-.6,21.35-6.32,21.65-5.71s-8.72,4.21-11.13,4.81-3.61,5.41-1.5,8.72c2.11,3.31,13.53,9.32,34.29,14.14,20.75,4.81,46.62.9,47.22-3.61.6-4.51-6.02-9.02-12.93-12.93-6.92-3.91-30.68-9.32-30.68-11.13s7.52-3.31,19.25-12.63c11.73-9.32,14.14-19.25,14.74-21.96.6-2.71.3-4.51,0-4.51s-.6.9-1.5,3.01c-.9,2.11-6.02,9.62-7.22,8.72-1.2-.9.9-5.41,2.11-7.52,1.2-2.11,5.41-15.64,5.71-17.14.3-1.5.6-5.71,2.41-5.71s.9,3.91,3.01,4.81c2.11.9,25.87-7.52,25.87-7.52,0,0-2.41-9.32-4.51-15.94-2.11-6.62-2.41-14.14-1.2-14.44.92-.23,1.2,3.31,3.61,11.73,2.4,8.39,6.62,17.14,16.24,25.56,9.62,8.42,27.37,16.54,36.99,31.58,9.62,15.04,23.76,19.55,27.37,17.14,3.61-2.41-8.12-25.26-9.62-29.47-1.5-4.21-13.53-24.66-15.94-30.38-2.41-5.71-2.11-6.32-3.91-12.33-1.8-6.02.9-11.73,2.71-11.73s1.5,10.53,2.41,15.94c.9,5.41,2.71,7.82,5.41,9.62,2.71,1.8,16.54,2.11,19.25,2.71,2.71.6,21.05,7.22,24.06,8.12,3.01.9,10.23,2.41,12.63-2.11,2.41-4.51-8.12-13.83-12.63-17.74Zm-57.19-134.7c-1.68-1.68-2.52-5.7-3.42-9.96-.48-2.29-1.17-5.59-1.83-6.81-.72.39-1.39.64-2.05.64-2.48,0-4.05-2.28-4.59-3.62l2.56-1.03c.2.49,1.01,1.9,2.03,1.9.46-.01,1.81-.98,2.8-1.68,2.39-1.71,5.36-3.83,8.78-3.83,5.65,0,10.41,4.83,12.77,8.96,1.64,2.87,5.39,11.18,4.52,13.8-.27.82-1.07,1.51-4.05,2.21-2.04.48-6.32,1.15-10.23,1.15-3.12,0-6-.43-7.29-1.72Z'/%3e%3cpath%20class='cls-1'%20d='m356.83,224.89c4.31-.34,7.44-1.13,8.37-1.58-.03-1.64-2.13-7.48-4.32-11.31-2.15-3.77-6.2-7.57-10.38-7.57-2.53,0-5.11,1.84-7.18,3.31-.02.02-.04.03-.06.04.88,1.5,1.46,4.05,2.24,7.76.7,3.33,1.57,7.48,2.67,8.58.47.46,2.87,1.22,8.65.77Z'/%3e%3c/svg%3e`,GV=`data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20514.22%20551.6'%3e%3cdefs%3e%3cstyle%3e.cls-1{fill:%23190007;}.cls-1,.cls-2{stroke-width:0px;}.cls-2{fill:%23f0c300;}%3c/style%3e%3c/defs%3e%3crect%20class='cls-2'%20x='0'%20y='0'%20width='514.22'%20height='551.6'%20rx='237.65'%20ry='237.65'/%3e%3cpath%20class='cls-1'%20d='m403.42,360.77c-4.51-3.91-34.29-24.06-34.29-24.06,0,0-9.02,12.63-10.23,11.43-.9-.9,6.62-9.93,8.42-17.44.6-2.5,2.41-9.02,3.01-13.23.6-4.21-1.2-15.34.3-15.34s4.51,7.82,4.51,7.82c0,0-.6-9.93-1.5-17.74-.9-7.82-4.51-16.24-7.52-19.25-3.01-3.01-15.34-1.49-15.34-3.91,0-1.5,12.93-1.2,25.26-.9,12.33.3,19.25-4.21,19.55-5.11.3-.9-.6-1.5,0-2.41.6-.9,1.8-1.5,2.71-3.01.9-1.5,1.8-4.51,3.61-3.91,1.8.6-1.2,4.51.6,5.41,1.8.9,3.61-2.41,5.41-5.71,1.8-3.31.9-9.62.9-9.62,0,0,0-.3-.3.3-.3.6-1.5,1.2-2.71,2.41-1.2,1.2-1.8,3.61-3.31,3.31s-.3-2.71-1.5-3.61c-1.2-.9-8.72-4.51-7.82-6.02.9-1.5,7.22,1.5,9.62,2.11,2.41.6,5.41-.3,5.41-.3,0,0,2.11-5.41,1.8-9.62-.3-4.21-6.32-11.13-10.23-16.84-3.91-5.71-4.21-14.14-14.74-27.07-10.53-12.93-30.68-14.14-33.68-16.54-3.01-2.41-5.41-11.43-7.52-24.06-2.11-12.63,1.5-12.63-3.01-33.08-4.51-20.45-25.26-45.41-31.88-43.91-6.62,1.5-6.62,36.09-6.02,46.92.6,10.83,21.96,47.52,24.06,50.83,2.11,3.31,6.62,4.81,4.81,7.52-1.8,2.71-15.64-18.35-22.26-31.28-6.62-12.93-18.65-30.68-28.27-39.7-9.62-9.02-47.22-30.98-53.53-25.56-6.32,5.41,2.71,36.99,6.62,46.62,3.91,9.62,11.28,23.31,20.9,32.63,9.62,9.32,37.9,23.46,40.9,25.26,3.01,1.8,5.41,4.81,5.41,4.81,0,0-1.2,5.71-1.2,9.32s1.2,12.63,1.5,17.44c.3,4.81-.3,7.22-.9,11.43-.6,4.21-3.01,6.92-3.31,9.62-.3,2.71.9,1.8.9,1.8,0,0-2.71,6.32-7.22,8.72-4.51,2.41-13.83-1.5-22.26-3.91-8.42-2.41-19.25-2.41-19.25-2.41l6.47,4.36s0,1.2-1.5.3-35.19,0-40.9.3c-5.71.3-12.8,1.81-12.8,1.81,0,0,4.68,1.49,4.68,2.7s-23.46,5.41-48.12,30.08c-24.66,24.66-28.27,64.66-28.87,64.66s-2.11-13.53-2.71-14.44c-.6-.9-3.01-2.41-9.93-2.11-6.92.3-9.62,3.61-9.62,3.91s1.2,1.5,1.2,2.11-6.02,3.61-6.02,4.21,2.41,1.8,2.41,2.41-.9,1.2-2.71,2.71c-1.8,1.5-3.91,4.51-3.61,5.11.3.6,2.11.9,2.41,2.11.3,1.2-.9,4.21-1.2,7.52-.3,3.31,1.8,5.41,2.11,5.41s1.2-3.31,1.8-3.31,1.2,5.11,1.5,6.32c.3,1.2.3,1.8.3,4.21s1.5,4.21,1.8,4.21-.3-3.61.6-1.5c.9,2.11,10.23,9.32,15.34,9.62,5.11.3,6.92-2.11,8.12-2.11s2.71,3.01,3.31,2.41c.6-.6,0-12.63,1.2-12.63s1.2,2.41,1.5,3.31c.3.9,4.81,8.72,7.82,12.93,3.01,4.21,9.92,9.93,12.03,15.34,2.11,5.41-11.73,22.26-13.23,26.77-1.5,4.51.3,13.23,18.95,33.68,18.65,20.45,44.51,18.05,46.62,16.54s0-6.32-6.62-16.54c-6.62-10.23-19.25-22.26-19.25-22.86s3.31-1.2,6.32-1.8c3.01-.6,21.35-6.32,21.65-5.71s-8.72,4.21-11.13,4.81-3.61,5.41-1.5,8.72c2.11,3.31,13.53,9.32,34.29,14.14,20.75,4.81,46.62.9,47.22-3.61.6-4.51-6.02-9.02-12.93-12.93-6.92-3.91-30.68-9.32-30.68-11.13s7.52-3.31,19.25-12.63c11.73-9.32,14.14-19.25,14.74-21.96.6-2.71.3-4.51,0-4.51s-.6.9-1.5,3.01-6.02,9.62-7.22,8.72c-1.2-.9.9-5.41,2.11-7.52,1.2-2.11,5.41-15.64,5.71-17.14.3-1.5.6-5.71,2.41-5.71s.9,3.91,3.01,4.81c2.11.9,25.87-7.52,25.87-7.52,0,0-2.41-9.32-4.51-15.94-2.11-6.62-2.41-14.14-1.2-14.44.92-.23,1.2,3.31,3.61,11.73,2.4,8.39,6.62,17.14,16.24,25.56,9.62,8.42,27.37,16.54,36.99,31.58,9.62,15.04,23.76,19.55,27.37,17.14,3.61-2.41-8.12-25.26-9.62-29.47-1.5-4.21-13.53-24.66-15.94-30.38-2.41-5.71-2.11-6.32-3.91-12.33-1.8-6.02.9-11.73,2.71-11.73s1.5,10.53,2.41,15.94c.9,5.41,2.71,7.82,5.41,9.62,2.71,1.8,16.54,2.11,19.25,2.71,2.71.6,21.05,7.22,24.06,8.12,3.01.9,10.23,2.41,12.63-2.11,2.41-4.51-8.12-13.83-12.63-17.74Zm-57.19-134.7c-1.68-1.68-2.52-5.7-3.42-9.96-.48-2.29-1.17-5.59-1.83-6.81-.72.39-1.39.64-2.05.64-2.48,0-4.05-2.28-4.59-3.62l2.56-1.03c.2.49,1.01,1.9,2.03,1.9.46-.01,1.81-.98,2.8-1.68,2.39-1.71,5.36-3.83,8.78-3.83,5.65,0,10.41,4.83,12.77,8.96,1.64,2.87,5.39,11.18,4.52,13.8-.27.82-1.07,1.51-4.05,2.21-2.04.48-6.32,1.15-10.23,1.15-3.12,0-6-.43-7.29-1.72Z'/%3e%3cpath%20class='cls-1'%20d='m356.83,224.89c4.31-.34,7.44-1.13,8.37-1.58-.03-1.64-2.13-7.48-4.32-11.31-2.15-3.77-6.2-7.57-10.38-7.57-2.53,0-5.11,1.84-7.18,3.31-.02.02-.04.03-.06.04.88,1.5,1.46,4.05,2.24,7.76.7,3.33,1.57,7.48,2.67,8.58.47.46,2.87,1.22,8.65.77Z'/%3e%3c/svg%3e`,KV=({tooltips:e,state:t,setState:n})=>{switch(t){case`close`:return(0,d.jsxs)(I.Grid,{container:!0,spacing:2,children:[(0,d.jsx)(I.Grid,{sx:{display:`flex`,justifyContent:`center`,alignItems:`center`},size:6,children:(0,d.jsx)(`img`,{src:GV,alt:`Good Rabbit Logo`,style:{height:`30px`,width:`30px`,objectFit:`contain`}})}),(0,d.jsx)(I.Grid,{sx:{display:`flex`,justifyContent:`center`},size:6,children:(0,d.jsx)(i.IconButton,{sx:{"&:focus":{outline:`none`},"&:focus-visible":{outline:`none`}},onClick:()=>n(`open`),children:(0,d.jsx)(i.Tooltip,{title:e.expandMenu,placement:`right`,children:(0,d.jsx)(i.Icon,{baseClassName:`material-symbols-rounded`,sx:{color:`#FFFFFF`,fontSize:`24px`,mr:`-3.5px`},children:`menu`})})})})]});case`open`:return(0,d.jsxs)(I.Grid,{container:!0,spacing:2,children:[(0,d.jsx)(I.Grid,{size:10,sx:{display:`flex`,justifyContent:`center`,alignItems:`center`},children:(0,d.jsx)(`img`,{src:WV,alt:`Good Rabbit Logo`,style:{height:`40px`,width:`100%`,objectFit:`contain`}})}),(0,d.jsx)(I.Grid,{size:2,sx:{display:`flex`,justifyContent:`center`},children:(0,d.jsx)(i.IconButton,{sx:{"&:focus":{outline:`none`},"&:focus-visible":{outline:`none`}},onClick:()=>n(`close`),children:(0,d.jsx)(i.Tooltip,{title:e.collapseMenu,placement:`right`,children:(0,d.jsx)(i.Icon,{baseClassName:`material-symbols-rounded`,sx:{color:`#FFFFFF`,fontSize:`24px`,mr:`-3.5px`},children:`left_panel_close`})})})})]});case`expanded`:return(0,d.jsxs)(I.Grid,{container:!0,spacing:2,children:[(0,d.jsx)(I.Grid,{size:5,sx:{display:`flex`,justifyContent:`center`,alignItems:`center`},children:(0,d.jsx)(`img`,{src:WV,alt:`Good Rabbit Logo`,style:{height:`40px`,width:`100%`,objectFit:`contain`}})}),(0,d.jsx)(I.Grid,{size:1,sx:{display:`flex`,justifyContent:`center`},children:(0,d.jsx)(i.IconButton,{sx:{"&:focus":{outline:`none`},"&:focus-visible":{outline:`none`}},onClick:()=>n(`close`),children:(0,d.jsx)(i.Tooltip,{title:e.collapseMenu,placement:`right`,children:(0,d.jsx)(i.Icon,{baseClassName:`material-symbols-rounded`,sx:{color:`#FFFFFF`,fontSize:`24px`,mr:`-3.5px`},children:`left_panel_close`})})})}),(0,d.jsx)(I.Grid,{size:5}),(0,d.jsx)(I.Grid,{size:1,sx:{display:`flex`,justifyContent:`center`},children:(0,d.jsx)(i.IconButton,{sx:{pl:1.75,"&:focus":{outline:`none`},"&:focus-visible":{outline:`none`}},onClick:()=>n(`open`),children:(0,d.jsx)(i.Tooltip,{title:e.collapseModule,placement:`right`,children:(0,d.jsx)(i.Icon,{baseClassName:`material-symbols-rounded`,sx:{color:`#FFFFFF`,fontSize:`24px`,mr:`-3.5px`},children:`chevron_backward`})})})})]})}},qV=e=>(0,d.jsx)(KV,{...e}),JV=({tooltips:e,name:t,items:n,setState:r})=>{let a=(0,u.useNavigate)(),o=(0,u.useLocation)(),s=new URLSearchParams(o.search),{setOpenUnsaved:c,setRedirect:f}=(0,l.useContext)(fe);return(0,d.jsx)(i.Grid,{size:12,children:(0,d.jsx)(i.List,{dense:!0,sx:{width:`100%`,"& .Mui-selected":{bgcolor:`#5B5157 !important`},"& .hover":{bgcolor:`#513D42 !important`}},component:`nav`,subheader:t&&(0,d.jsx)(i.ListSubheader,{sx:{bgcolor:`transparent`},component:`div`,id:`nested-list-subheader`,children:t.toUpperCase()}),children:n.map((t,n)=>(0,d.jsx)(i.ListItem,{secondaryAction:t.subgroups.length>0?(0,d.jsx)(i.Tooltip,{title:e.expandModule,placement:`right`,children:(0,d.jsx)(u.Link,{to:t.path,style:{textDecoration:`none`},onClick:()=>{r(`expanded`),localStorage.setItem(`sidebar_state`,`expanded`)},children:(0,d.jsx)(i.Icon,{baseClassName:`material-symbols-rounded`,sx:{color:`#FFFFFF`,fontSize:`24px`,mr:`-3.5px`},children:`keyboard_arrow_right`})})}):(0,d.jsx)(i.Tooltip,{title:e.openNewTab,placement:`right`,children:(0,d.jsx)(u.Link,{to:`${t.path}&view=${t.view}`,target:`_blank`,style:{textDecoration:`none`},onClick:()=>{r(`open`),localStorage.setItem(`sidebar_state`,`open`)},children:(0,d.jsx)(i.Icon,{baseClassName:`material-symbols-rounded`,sx:{color:`#FFFFFF`,fontSize:`16px`},children:`new_window`})})}),children:(0,d.jsxs)(i.ListItemButton,{sx:{borderRadius:`20px`,minHeight:`56px`,color:`#FFFFFF`,"& .MuiListItemText-primary":{color:`#FFFFFF`}},onClick:e=>{if(e.preventDefault(),e.stopPropagation(),localStorage.getItem(`save_redirect`)===`true`){c(!0),t.subgroups.length>0?f(t.path):f(`${t.path}&view=${t.view}`);return}t.subgroups.length>0?(r(`expanded`),a(t.path),localStorage.setItem(`sidebar_state`,`expanded`),localStorage.setItem(`history_path`,JSON.stringify([...JSON.parse(localStorage.getItem(`history_path`)||`[]`),t.path]))):(r(`open`),a(`${t.path}&view=${t.view}`),localStorage.setItem(`sidebar_state`,`open`),localStorage.setItem(`history_path`,JSON.stringify([...JSON.parse(localStorage.getItem(`history_path`)||`[]`),`${t.path}&view=${t.view}`])))},selected:`${o.pathname}?module=${s.get(`module`)}`===t.path,children:[(0,d.jsx)(i.ListItemIcon,{children:t.icon}),(0,d.jsx)(i.ListItemText,{primary:t.title,slotProps:{primary:{sx:{color:`#FFFFFF`}}}})]})},n))})})},YV=({items:e,setState:t})=>{let{setOpenUnsaved:n,setRedirect:r}=(0,l.useContext)(fe),a=(0,u.useNavigate)(),o=(0,u.useLocation)(),s=new URLSearchParams(o.search);return(0,d.jsx)(i.Grid,{size:12,children:(0,d.jsx)(i.List,{dense:!0,sx:{width:`100%`,"& .Mui-selected":{bgcolor:`#5B5157 !important`},"& .hover":{bgcolor:`#513D42 !important`}},component:`nav`,children:e.map((e,c)=>(0,d.jsx)(i.Tooltip,{title:e.title,placement:`right`,children:(0,d.jsx)(i.ListItemButton,{sx:{borderRadius:`20px`,minHeight:`56px`},onClick:()=>{if(localStorage.getItem(`save_redirect`)===`true`){n(!0),e.subgroups.length>0?r(e.path):r(`${e.path}&view=${e.view}`);return}e.subgroups.length>0?(t(`expanded`),a(e.path),localStorage.setItem(`sidebar_state`,`expanded`)):(a(`${e.path}&view=${e.view}`),localStorage.setItem(`sidebar_state`,`close`),localStorage.setItem(`history_path`,JSON.stringify([...JSON.parse(localStorage.getItem(`history_path`)||`[]`),`${e.path}&view=${e.view}`])))},selected:`${o.pathname}?module=${s.get(`module`)}`===e.path,children:(0,d.jsx)(i.ListItemIcon,{children:e.icon})})},c))})})},XV=({tooltips:e,items:t})=>{let n=(0,u.useLocation)(),r=(0,u.useNavigate)(),a=new URLSearchParams(n.search),{setOpenUnsaved:o,setRedirect:s}=(0,l.useContext)(fe);return(0,d.jsx)(i.Grid,{size:12,children:(0,d.jsx)(i.List,{dense:!0,sx:{width:`100%`,"& .Mui-selected":{bgcolor:`#5B5157 !important`},"& .hover":{bgcolor:`#513D42 !important`}},component:`nav`,children:t.map((t,c)=>(0,d.jsx)(i.ListItem,{secondaryAction:(0,d.jsx)(i.Tooltip,{title:e.openNewTab,placement:`right`,children:(0,d.jsx)(u.Link,{to:`${n.pathname}?module=${a.get(`module`)}${t.path}`,style:{textDecoration:`none`},target:`_blank`,children:(0,d.jsx)(i.Icon,{baseClassName:`material-symbols-rounded`,sx:{color:`#FFFFFF`,fontSize:`18px`},children:`new_window`})})}),children:(0,d.jsx)(i.ListItemButton,{sx:{borderRadius:`20px`},onClick:e=>{if(e.preventDefault(),e.stopPropagation(),localStorage.getItem(`save_redirect`)===`true`){o(!0),s(`${n.pathname}?module=${a.get(`module`)}${t.path}`);return}r(`${n.pathname}?module=${a.get(`module`)}${t.path}`),localStorage.setItem(`history_path`,JSON.stringify([...JSON.parse(localStorage.getItem(`history_path`)||`[]`),`${n.pathname}?module=${a.get(`module`)}${t.path}`]))},selected:`&view=${a.get(`view`)}`===t.path,children:(0,d.jsx)(i.ListItemText,{slotProps:{primary:{sx:{color:`#FFFFFF`,textOverflow:`ellipsis`,overflow:`hidden`,whiteSpace:`nowrap`}}},primary:t.title})})},c))})})},ZV=({state:e,setState:t,groups:n,tooltips:r})=>{let a=n.map(e=>e.items.map(e=>({title:e.title,color:e.color,icon:e.icon,path:e.path,view:e.view,subgroups:e.subgroups}))).flat(),o=(0,u.useLocation)(),s=new URLSearchParams(o.search);switch((0,l.useEffect)(()=>{let e=localStorage.getItem(`sidebar_state`);t(e===`expanded`?`expanded`:e===`close`?`close`:`open`)},[o]),e){case`close`:return(0,d.jsx)(i.Grid,{sx:{height:`calc(100vh - 160px)`},container:!0,spacing:2,children:(0,d.jsx)(YV,{items:a,setState:t})});case`open`:return(0,d.jsx)(i.Grid,{sx:{height:`calc(100vh - 160px)`},container:!0,spacing:2,children:(0,d.jsx)(i.Grid,{size:12,children:n.map((e,n)=>(0,d.jsx)(JV,{name:e.name,items:e.items,setState:t,tooltips:r},n))})});case`expanded`:return(0,d.jsxs)(i.Grid,{sx:{height:`calc(100vh - 160px)`},container:!0,spacing:2,children:[(0,d.jsx)(i.Grid,{size:6,children:n.map((e,n)=>(0,d.jsx)(JV,{name:e.name,items:e.items,setState:t,tooltips:r},n))}),(0,d.jsx)(i.Grid,{size:6,children:(0,d.jsx)(XV,{items:a.find(e=>e.path===`${o.pathname}?module=${s.get(`module`)}`)?.subgroups||[],tooltips:r})})]})}},QV=e=>(0,d.jsx)(ZV,{...e}),$V=({state:e,signOut:t})=>{let n=(0,u.useNavigate)(),{instance:r}=wp(),a=()=>{localStorage.getItem(`type-signin`)===`ms`&&r.logoutRedirect({account:r.getActiveAccount(),postLogoutRedirectUri:`http://localhost:5173/signin`})};switch(e){case`close`:return(0,d.jsx)(i.Grid,{container:!0,spacing:2,children:(0,d.jsx)(i.Grid,{sx:{display:`flex`,justifyContent:`center`,alignItems:`center`},size:12,children:(0,d.jsx)(i.IconButton,{sx:{height:`56px`,borderRadius:`20px`,bottom:`20px`,"&:focus":{outline:`none`},"&:focus-visible":{outline:`none`}},onClick:()=>{a(),t.onClick(n)},children:t.icon})})});case`open`:return(0,d.jsx)(i.Grid,{container:!0,spacing:2,children:(0,d.jsx)(i.Grid,{sx:{display:`flex`,justifyContent:`center`,alignItems:`center`},size:12,children:(0,d.jsx)(i.Button,{sx:{width:`100%`,height:`56px`,borderRadius:`20px`,bottom:`20px`,color:`#FFFFFF`,"&:focus":{outline:`none`},"&:focus-visible":{outline:`none`},"& .MuiButton-startIcon":{marginLeft:`16px`}},size:`small`,startIcon:t.icon,onClick:()=>{a(),t.onClick(n)},children:(0,d.jsx)(`span`,{style:{textTransform:`math-auto`,width:`100%`},children:t.text})})})});case`expanded`:return(0,d.jsxs)(i.Grid,{container:!0,spacing:2,children:[(0,d.jsx)(i.Grid,{sx:{display:`flex`,justifyContent:`center`,alignItems:`center`},size:6,children:(0,d.jsx)(i.Button,{sx:{width:`100%`,height:`56px`,borderRadius:`20px`,bottom:`20px`,color:`#FFFFFF`,"&:focus":{outline:`none`},"&:focus-visible":{outline:`none`},"& .MuiButton-startIcon":{marginLeft:`16px`}},color:`inherit`,size:`small`,startIcon:t.icon,onClick:()=>{a(),t.onClick(n)},children:(0,d.jsx)(`span`,{style:{textTransform:`math-auto`,width:`100%`},children:t.text})})}),(0,d.jsx)(i.Grid,{size:6})]})}},eH=e=>(0,d.jsx)($V,{...e}),tH={arrow:Op.arrow,arrowUp:Op.arrowRight,toolInfo:Op.toolInfo},nH={s:`size-4`,m:`size-5`,l:`size-6`};function rH({name:e,size:t=`m`,className:n}){let r=tH[e];return(0,d.jsx)(`span`,{"aria-hidden":`true`,className:X(`block shrink-0 bg-current`,nH[t],n),style:{WebkitMaskImage:`url("${r}")`,maskImage:`url("${r}")`,WebkitMaskRepeat:`no-repeat`,maskRepeat:`no-repeat`,WebkitMaskPosition:`center`,maskPosition:`center`,WebkitMaskSize:`contain`,maskSize:`contain`}})}function iH(e){return e?Array.from(e):[]}function aH(e){return e?.selectable!==!1}function oH(e){return aH(e)&&e?.disabled!==!0}function sH(e){return!!(Array.isArray(e?.children)&&e.children.length>0)}function cH(e=[]){let t=[];function n(e){for(let r of e)t.push(r),sH(r)&&n(r.children??[])}return n(e),t}function lH(e=[],t){for(let n of e){if(n.id===t)return n;if(sH(n)){let e=lH(n.children??[],t);if(e)return e}}return null}function uH(e=[]){let t=[];function n(e){for(let r of e)sH(r)&&(t.push(r.id),n(r.children??[]))}return n(e),t}function dH(e,{mutableOnly:t=!0}={}){if(!e)return[];let n=[];function r(e){let i=aH(e),a=e.disabled!==!0;i&&(!t||a)&&n.push(e.id);for(let t of e.children??[])r(t)}return r(e),n}function fH(e,{mutableOnly:t=!0}={}){if(!e)return[];let n=[];for(let r of e.children??[])n.push(...dH(r,{mutableOnly:t}));return n}function pH(e=[],t=[]){let n=new Set(iH(t)),r=new Set;function i(e){for(let t of e)aH(t)&&r.add(t.id),sH(t)&&i(t.children??[])}i(e);for(let e of Array.from(n))r.has(e)||n.delete(e);function a(e){for(let t of e.children??[])a(t);if(!oH(e))return;let t=fH(e,{mutableOnly:!0});t.length!==0&&(t.every(e=>n.has(e))?n.add(e.id):n.delete(e.id))}for(let t of e)a(t);return cH(e).filter(e=>n.has(e.id)).map(e=>e.id)}function mH(e,t=[]){if(!e||!aH(e))return{checked:!1,indeterminate:!1};let n=t instanceof Set?t:new Set(iH(t));if(e.disabled)return{checked:n.has(e.id),indeterminate:!1};let r=dH(e,{mutableOnly:!0});if(r.length===0)return{checked:!1,indeterminate:!1};let i=r.reduce((e,t)=>n.has(t)?e+1:e,0);return{checked:i===r.length,indeterminate:i>0&&i<r.length}}function hH(e=[],t=[],n){let r=lH(e,n);if(!r||!oH(r))return pH(e,t);let i=pH(e,t),a=new Set(i),o=dH(r,{mutableOnly:!0});if(o.length>0&&o.every(e=>a.has(e)))for(let e of o)a.delete(e);else for(let e of o)a.add(e);return pH(e,Array.from(a))}function gH(e=[],t){let n=new Set(iH(e));return n.has(t)?n.delete(t):n.add(t),Array.from(n)}function _H({checked:e,indeterminate:t,disabled:n,ariaLabel:r,onChange:i}){return(0,d.jsx)(`div`,{className:`flex size-5 shrink-0 items-center justify-center`,children:(0,d.jsx)(SC,{size:`s`,checked:e,indeterminate:t,disabled:n,"aria-label":r,onChange:i})})}function vH({expanded:e,label:t,expandLabel:n,collapseLabel:r,onClick:i}){return(0,d.jsx)(`div`,{className:`relative size-5 shrink-0`,children:(0,d.jsx)(dC,{type:`button`,size:`s`,"aria-label":e?`${r}: ${t}`:`${n}: ${t}`,"aria-expanded":e,onClick:i,className:`
|
|
317
|
+
`,children:(0,d.jsx)(zV,{})}),(0,d.jsx)(`input`,{...o,type:`search`,value:e,disabled:i,placeholder:n,"aria-label":a??n,onChange:e=>t(e.target.value),className:Qw(`p1 h-11 w-full min-w-0`,`rounded-[var(--r-l)]`,`bg-transparent`,`pl-12 pr-4`,`text-[var(--on-dark-text)]`,`outline-none`,`focus:outline-none`,`focus:ring-0`,`focus:shadow-none`,`placeholder:text-[var(--on-dark-muted)]`,`selection:bg-[var(--azulino-main)]`,`selection:text-[var(--white)]`,i&&`cursor-not-allowed`)})]})}function VV({open:e=!1}){return(0,d.jsx)(`svg`,{viewBox:`0 0 20 20`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.8`,className:Qw(`size-4 transition-transform`,e&&`rotate-180`),"aria-hidden":`true`,children:(0,d.jsx)(`path`,{d:`M5 7.5 10 12.5l5-5`,strokeLinecap:`round`,strokeLinejoin:`round`})})}function HV(e,t){l.default.useEffect(()=>{let n=n=>{e.current&&(e.current.contains(n.target)||t())};return document.addEventListener(`mousedown`,n),()=>document.removeEventListener(`mousedown`,n)},[e,t])}function UV({label:e,ariaLabel:t,value:n,onChange:r,options:i=[],placeholder:a=`Seleccionar`,className:o,disabled:s=!1,search:c}){let u=l.default.useId(),f=l.default.useRef(null),[p,m]=l.default.useState(!1);HV(f,l.default.useCallback(()=>{m(!1)},[]));let h=i.find(e=>String(e.value)===String(n)),g=c?.value??``,_=l.default.useMemo(()=>{let e=g.trim().toLowerCase();return e?i.filter(t=>`${typeof t.label==`string`?t.label:String(t.value)} ${typeof t.sublabel==`string`?t.sublabel:``}`.toLowerCase().includes(e)):i},[i,g]);return(0,d.jsx)(`div`,{ref:f,"data-toolbar-field":`true`,className:Qw(`grid min-w-0 w-full max-w-full gap-2 overflow-visible`,o),children:(0,d.jsxs)(`div`,{className:Qw(`relative overflow-visible`,s&&`opacity-60`),children:[e?(0,d.jsx)(`label`,{htmlFor:u,className:Qw(`pointer-events-none absolute left-[1.125rem] -top-[0.625rem] z-10 px-2`,`p3 bg-[var(--base-dark)] text-[var(--on-dark-muted)]`),children:e}):null,(0,d.jsxs)(`button`,{id:u,type:`button`,disabled:s,"aria-haspopup":`listbox`,"aria-expanded":p,"aria-controls":p?`${u}-listbox`:void 0,"aria-label":t??(typeof e==`string`?e:a),onClick:()=>{s||m(e=>!e)},className:Qw(`relative flex min-h-11 w-full items-center rounded-[var(--r-s)] border px-4 py-0 text-left`,`border-[var(--primary)] bg-[var(--base-dark)] text-[var(--on-dark-text)]`,`transition-[border-color,box-shadow,background-color] duration-150`,`focus-visible:outline-none focus-visible:shadow-[var(--focus-ring-shadow)]`,s&&`cursor-not-allowed`),children:[(0,d.jsx)(`span`,{className:Qw(`p1 min-w-0 flex-1 truncate pr-10`,h?`text-[var(--on-dark-text)]`:`text-[var(--on-dark-muted)]`),children:h?.label??a}),(0,d.jsx)(`span`,{className:`pointer-events-none absolute right-4 top-1/2 flex size-4 -translate-y-1/2 items-center justify-center text-[var(--on-dark-muted)]`,children:(0,d.jsx)(VV,{open:p})})]}),p?(0,d.jsxs)(`div`,{className:Qw(`absolute left-0 top-full z-[var(--z-popover)] mt-2 w-full min-w-0 max-w-full overflow-hidden`,`rounded-[var(--r-m)] bg-[var(--base-dark)] text-[var(--on-dark-text)] shadow-[var(--shadow-lg)]`),children:[c?(0,d.jsx)(`div`,{className:`border-b border-[var(--on-dark-border)] p-3`,children:(0,d.jsx)(`input`,{type:`text`,value:c.value,placeholder:c.placeholder??`Buscar...`,"aria-label":c.placeholder??`Buscar opciones de ${typeof e==`string`?e:`selección`}`,onChange:e=>c.onChange(e.target.value),className:Qw(`h-10 w-full rounded-[var(--r-s)] border border-[var(--on-dark-border)] bg-[var(--on-dark-hover)] px-3`,`p2 text-[var(--on-dark-text)] outline-none placeholder:text-[var(--on-dark-muted)]`,`transition-[border-color,box-shadow] duration-150`,`focus:border-[var(--azulino-main)] focus:shadow-[var(--focus-ring-shadow)]`)})}):null,(0,d.jsx)(`div`,{id:`${u}-listbox`,role:`listbox`,"aria-label":typeof e==`string`?`Opciones de ${e}`:`Opciones disponibles`,className:`max-h-80 overflow-y-auto py-2`,children:_.length===0?(0,d.jsx)(`div`,{className:`p2 px-5 py-3 text-[var(--on-dark-muted)]`,children:`Sin resultados`}):_.map(e=>{let t=String(e.value)===String(n);return(0,d.jsxs)(`button`,{type:`button`,role:`option`,disabled:e.disabled,"aria-selected":t,onClick:()=>{e.disabled||(r(e.value),m(!1))},className:Qw(`flex w-full min-w-0 items-start gap-3 px-5 py-3 text-left transition-colors`,t?`bg-[var(--on-dark-selected)] text-[var(--on-dark-text)]`:`text-[var(--on-dark-text)] hover:bg-[var(--on-dark-hover)]`,e.disabled&&`cursor-not-allowed opacity-45 hover:bg-transparent`),children:[e.icon?(0,d.jsx)(`span`,{className:`mt-0.5 flex size-5 shrink-0 items-center justify-center text-[var(--on-dark-text)]`,children:e.icon}):null,(0,d.jsxs)(`span`,{className:`grid min-w-0 gap-0.5 text-[var(--on-dark-text)]`,children:[(0,d.jsx)(`span`,{className:`p1 min-w-0 truncate text-[var(--on-dark-text)]`,children:e.label}),e.sublabel?(0,d.jsx)(`span`,{className:`p3 min-w-0 truncate text-[var(--on-dark-muted)]`,children:e.sublabel}):null]})]},e.value)})})]}):null]})})}var WV=`data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%203000%20551.6'%3e%3cdefs%3e%3cstyle%3e.cls-1{fill:%23190007;}.cls-1,.cls-2,.cls-3{stroke-width:0px;}.cls-2{fill:%23f0c300;}.cls-3{fill:%23ebeae0;}%3c/style%3e%3c/defs%3e%3cpath%20class='cls-3'%20d='m871.49,259.5v9.04c-9.81,0-17.5.94-23.05,2.83-5.55,1.88-9.6,5.43-12.16,10.65-2.56,5.23-4.16,12.65-4.8,22.26-.64,9.61-.96,21.94-.96,36.97v119.73c-6.82,11.28-14.9,21.11-24.26,29.46-8.09,7.53-18.21,14.42-30.34,20.68-12.13,6.26-26.51,9.4-43.1,9.4-17.88,0-34.7-5.85-50.45-17.55-15.75-11.7-29.38-28.41-40.87-50.14s-20.54-47.75-27.14-78.04c-6.6-30.29-9.9-64.25-9.9-101.86,0-44.29,4.03-81.79,12.11-112.5,8.07-30.71,18.27-55.57,30.6-74.59,12.32-19.01,26.14-32.8,41.45-41.37,15.3-8.56,29.96-12.85,44-12.85,8.93,0,16.58,1.05,22.95,3.12,6.37,2.07,12,4.25,16.89,6.53,4.89,2.28,9.14,4.46,12.75,6.54,3.62,2.07,6.91,3.11,9.89,3.11,3.82,0,6.58-2.2,8.29-6.63.87-1.6,1.52-3.62,1.95-6.03h14.33v149.21h-12.06c-2.98-26.31-7.43-49.7-13.37-70.16-2.54-8.76-5.41-17.32-8.59-25.68-3.18-8.35-7-15.86-11.45-22.55-4.46-6.68-9.54-12-15.27-15.98-5.73-3.97-11.99-5.95-18.77-5.95-12.73,0-23.55,5.44-32.46,16.31-8.91,10.87-16.12,26.14-21.63,45.79-5.52,19.65-9.55,43.39-12.09,71.19-2.54,27.81-3.81,58.64-3.81,92.52,0,41.82,1.59,77.15,4.79,106.01,3.19,28.86,7.77,52.28,13.73,70.26,5.96,17.98,13.41,30.94,22.36,38.88,8.94,7.95,19.16,11.92,30.66,11.92,10.64,0,17.46-3.14,20.44-9.41s4.47-15.89,4.47-28.86v-128.6c0-13.38-.54-24.36-1.6-32.93-1.07-8.57-3.64-15.17-7.69-19.76-4.06-4.6-10.14-7.73-18.25-9.41-8.11-1.68-19.21-2.51-33.29-2.51v-9.04h165.7Z'/%3e%3cpath%20class='cls-3'%20d='m1103.45,333.04c0,31.29-3.32,58.31-9.95,81.04s-15.51,41.52-26.64,56.33c-11.13,14.81-23.86,25.76-38.2,32.85-14.34,7.08-29.2,10.63-44.6,10.63s-30.17-3.55-44.29-10.63c-14.12-7.09-26.74-18.05-37.87-32.85-11.13-14.81-20.01-33.59-26.64-56.33s-9.95-49.75-9.95-81.04,3.32-58.31,9.95-81.04,15.5-41.41,26.64-56.01c11.12-14.6,23.75-25.45,37.87-32.54,14.12-7.09,28.88-10.64,44.29-10.64s30.26,3.55,44.6,10.64c14.34,7.09,27.06,17.94,38.2,32.54,11.12,14.6,20.01,33.27,26.64,56.01s9.95,49.75,9.95,81.04Zm-59.68,0c0-22.94-1.07-44.41-3.21-64.44-2.15-20.02-5.68-37.54-10.6-52.55-4.92-15.01-11.12-26.89-18.61-35.65-7.49-8.76-16.58-13.14-27.28-13.14s-19.8,4.38-27.29,13.14c-7.49,8.76-13.58,20.64-18.29,35.65-4.71,15.01-8.13,32.53-10.27,52.55-2.15,20.03-3.21,41.5-3.21,64.44s1.06,44.53,3.21,64.75c2.14,20.23,5.56,37.85,10.27,52.86,4.71,15.01,10.8,26.8,18.29,35.35,7.49,8.55,16.59,12.82,27.29,12.82s19.79-4.27,27.28-12.82c7.49-8.55,13.7-20.34,18.61-35.35,4.92-15.01,8.45-32.63,10.6-52.86,2.14-20.22,3.21-41.8,3.21-64.75Z'/%3e%3cpath%20class='cls-3'%20d='m1360.25,333.04c0,31.29-3.32,58.31-9.95,81.04-6.63,22.74-15.51,41.52-26.64,56.33-11.13,14.81-23.86,25.76-38.2,32.85-14.34,7.08-29.2,10.63-44.6,10.63s-30.17-3.55-44.29-10.63c-14.12-7.09-26.74-18.05-37.87-32.85-11.13-14.81-20.01-33.59-26.64-56.33s-9.95-49.75-9.95-81.04,3.32-58.31,9.95-81.04,15.5-41.41,26.64-56.01c11.12-14.6,23.75-25.45,37.87-32.54,14.12-7.09,28.88-10.64,44.29-10.64s30.26,3.55,44.6,10.64c14.34,7.09,27.06,17.94,38.2,32.54,11.12,14.6,20.01,33.27,26.64,56.01,6.63,22.74,9.95,49.75,9.95,81.04Zm-59.68,0c0-22.94-1.07-44.41-3.21-64.44-2.15-20.02-5.68-37.54-10.6-52.55-4.92-15.01-11.12-26.89-18.61-35.65-7.49-8.76-16.58-13.14-27.28-13.14s-19.8,4.38-27.29,13.14c-7.49,8.76-13.58,20.64-18.29,35.65-4.71,15.01-8.13,32.53-10.27,52.55-2.15,20.03-3.21,41.5-3.21,64.44s1.06,44.53,3.21,64.75c2.14,20.23,5.56,37.85,10.27,52.86,4.71,15.01,10.8,26.8,18.29,35.35s16.59,12.82,27.29,12.82,19.79-4.27,27.28-12.82c7.49-8.55,13.7-20.34,18.61-35.35,4.92-15.01,8.45-32.63,10.6-52.86,2.14-20.22,3.21-41.8,3.21-64.75Z'/%3e%3cpath%20class='cls-3'%20d='m1617.66,426.25c0,16.28.42,29.21,1.28,38.8.85,9.6,2.67,16.9,5.43,21.9,2.77,5.01,6.83,8.24,12.17,9.7,5.33,1.46,12.48,2.19,21.45,2.19v9.04h-100.01v-44.67c-8.56,16.28-19.79,28.79-33.69,37.55-13.9,8.75-29.2,13.14-45.88,13.14-12.84,0-25.14-4.17-36.9-12.52-11.76-8.35-22.35-20.23-31.76-35.67-9.42-15.43-16.91-34.42-22.47-56.95-5.56-22.53-8.34-47.77-8.34-75.72s2.78-53.61,8.34-75.72c5.56-22.12,13.05-40.99,22.47-56.64,9.41-15.65,20-27.53,31.76-35.67,11.76-8.14,24.07-12.21,36.9-12.21,16.68,0,31.98,4.28,45.88,12.83,13.9,8.55,25.13,21.17,33.69,37.86v-58.12c0-12.5-.75-22.81-2.24-30.93-1.5-8.12-3.84-14.58-7.05-19.38-3.2-4.79-7.47-8.02-12.8-9.68-5.34-1.67-11.63-2.51-18.89-2.51v-9.04c20.48-.41,38.74-3.43,54.78-9.04,16.03-5.61,28.33-14.46,36.89-26.52h8.99v387.98Zm-59.68-141.35c0-33.76-5.36-59.39-16.06-76.9-10.71-17.5-23.98-26.26-39.82-26.26-7.71,0-15.21,2.3-22.48,6.88-7.28,4.59-13.81,12.61-19.59,24.08-5.78,11.46-10.5,26.88-14.14,46.27-3.64,19.38-5.45,44.07-5.45,74.08s1.82,54.71,5.45,74.09c3.64,19.38,8.35,34.91,14.14,46.58,5.78,11.67,12.31,19.8,19.59,24.38,7.27,4.59,14.77,6.88,22.48,6.88,15.84,0,29.12-8.85,39.82-26.57,10.7-17.71,16.06-43.24,16.06-76.59v-96.91Z'/%3e%3cpath%20class='cls-3'%20d='m1899.3,426.35c5.12,15,9.71,27.18,13.76,36.56,4.05,9.37,8.53,16.56,13.44,21.55,4.91,5,10.35,8.44,16.33,10.31,5.97,1.87,13.44,3.23,22.41,4.06v9.04h-56.98c-19.64,0-34.04-2.39-43.22-7.2-9.17-4.79-16.12-14.7-20.81-29.72l-47.56-145.78c-3.43-11.27-9-19.39-16.72-24.41-7.71-5-15.43-7.51-23.13-7.51h-3.62v133.09c0,15,.32,27.29.96,36.87.64,9.59,2.24,16.98,4.8,22.18,2.56,5.21,6.61,8.75,12.16,10.63s13.44,2.81,23.69,2.81v9.04h-146.49v-9.04c9.81,0,17.49-.93,23.04-2.82,5.55-1.87,9.61-5.42,12.17-10.63,2.56-5.21,4.16-12.61,4.8-22.2s.96-21.89.96-36.9V111.09c0-13.34-.32-24.17-.96-32.52-.64-8.34-2.35-14.8-5.12-19.38-2.78-4.59-6.94-7.71-12.49-9.38-5.55-1.67-13.02-2.51-22.4-2.51v-9.04h124.66c25.12,0,46.52,3.24,64.19,9.71,17.67,6.48,32.26,15.35,43.76,26.63,11.5,11.28,19.91,24.65,25.23,40.1,5.32,15.46,7.99,32.37,7.99,50.75,0,30.08-7.03,55.97-21.08,77.69-14.05,21.72-37.06,36.55-68.99,44.48,10.39,2.51,19.01,7.39,25.87,14.68,6.85,7.29,13.05,19.06,18.6,35.3l30.73,88.74Zm-126.27-148.76c12.78,0,23.97-1.87,33.56-5.63,9.59-3.76,17.47-10.02,23.65-18.8,6.18-8.77,10.76-20.36,13.74-34.77,2.98-14.41,4.47-32.05,4.47-52.94s-1.92-38.42-5.76-52.63c-3.84-14.19-8.84-25.68-15.02-34.46-6.18-8.77-13.32-15.03-21.42-18.79-8.1-3.76-16.62-5.64-25.56-5.64s-16.3,3.24-20.78,9.71c-4.47,6.48-6.71,15.35-6.71,26.63v187.31h19.82Z'/%3e%3cpath%20class='cls-3'%20d='m2149.7,426.25c0,16.28.42,29.21,1.28,38.8.85,9.6,2.67,16.9,5.44,21.9,2.77,5.01,6.93,8.24,12.48,9.7,5.55,1.46,12.8,2.19,21.77,2.19v9.04h-100.65l.03-49.67c-7.27,17.94-17.11,31.71-29.51,41.3-12.4,9.59-26.3,14.39-41.69,14.39-10.69,0-20.96-1.36-30.79-4.06-9.83-2.71-18.28-7.3-25.34-13.76-7.06-6.46-12.72-14.9-16.99-25.32-4.28-10.42-6.41-23.34-6.41-38.77,0-18.33,3.74-33.97,11.22-46.89,7.48-12.92,16.79-24.07,27.9-33.45,11.11-9.38,23.19-17.41,36.24-24.08,13.04-6.67,25.12-12.91,36.24-18.75s20.41-11.67,27.89-17.51c7.48-5.83,11.23-12.5,11.23-20.01v-6.25c0-28.34-5.56-50.02-16.67-65.02-11.11-15-25.65-22.51-43.6-22.51-13.25,0-24.58,3.92-33.98,11.76-9.4,7.84-16.24,20.42-20.52,37.74,3.41-1.24,7.05-1.87,10.89-1.87,9.4,0,17.41,3.23,24.03,9.69,6.61,6.46,9.93,14.49,9.93,24.08s-3.33,16.99-9.96,23.45c-6.64,6.46-14.67,9.69-24.09,9.69s-18.09-3.22-24.73-9.67c-6.64-6.45-9.96-14.26-9.96-23.43,0-15.4,2.46-29.56,7.38-42.46,4.92-12.9,11.88-24.04,20.86-33.4s19.68-16.76,32.09-22.17c12.41-5.41,26.1-8.12,41.08-8.12,13.7,0,26.53,2.51,38.52,7.51,11.98,5.01,22.25,12.83,30.81,23.46,8.55,10.64,15.3,24.2,20.21,40.67,4.92,16.48,7.38,36.4,7.38,59.76v142.04Zm-59.68-125.75c-6.84,7.09-15.49,13.66-25.97,19.71-10.47,6.05-20.52,13.23-30.12,21.57-9.62,8.35-17.84,18.66-24.68,30.96-6.84,12.3-10.26,28.25-10.26,47.84,0,24.19,2.99,40.86,8.98,50.04,5.98,9.17,14.32,13.75,25,13.75,13.24,0,25.22-6.25,35.9-18.76,10.68-12.51,17.74-30.85,21.16-55.04v-110.06Z'/%3e%3cpath%20class='cls-3'%20d='m2353.01,152.8c12.79,0,25.17,4.07,37.12,12.21,11.94,8.14,22.51,20.03,31.69,35.67,9.17,15.65,16.63,34.52,22.4,56.64,5.76,22.12,8.65,47.35,8.65,75.72s-2.88,53.19-8.64,75.72c-5.76,22.53-13.22,41.52-22.38,56.95-9.17,15.44-19.72,27.33-31.66,35.67-11.94,8.35-24.3,12.52-37.09,12.52-16.63,0-31.77-4.35-45.41-13.04-13.65-8.68-24.74-21.17-33.26-37.46v44.47h-100.01v-9.04c8.96,0,16.11-.73,21.44-2.19s9.39-4.69,12.17-9.7c2.77-5,4.59-12.3,5.44-21.89.85-9.59,1.28-22.51,1.28-38.78V145.43c0-12.51-.75-22.83-2.24-30.96-1.5-8.13-3.84-14.59-7.05-19.39-3.2-4.79-7.36-8.03-12.48-9.69-5.12-1.67-11.31-2.51-18.57-2.51v-9.04c20.48-.41,38.64-3.43,54.46-9.04,15.82-5.61,28.01-14.46,36.57-26.52h8.99l-.15,165.22c8.53-16.68,19.62-29.3,33.28-37.86s28.8-12.83,45.46-12.83Zm38.36,180.24c0-30.01-1.82-54.7-5.43-74.08-3.62-19.38-8.31-34.8-14.05-46.27-5.76-11.46-12.36-19.49-19.82-24.08-7.46-4.58-15.01-6.88-22.68-6.88-15.34,0-28.34,8.76-38.99,26.26-10.65,17.51-15.98,43.14-15.98,76.9v96.91c0,33.34,5.32,58.88,15.98,76.59,10.64,17.72,23.64,26.57,38.99,26.57,7.67,0,15.22-2.29,22.68-6.88,7.46-4.58,14.06-12.71,19.82-24.38,5.75-11.67,10.44-27.19,14.05-46.58,3.62-19.38,5.43-44.08,5.43-74.09Z'/%3e%3cpath%20class='cls-3'%20d='m2618.79,152.8c12.79,0,25.17,4.07,37.12,12.21,11.94,8.14,22.51,20.03,31.69,35.67,9.17,15.65,16.63,34.52,22.4,56.64,5.76,22.12,8.65,47.35,8.65,75.72s-2.88,53.19-8.64,75.72c-5.76,22.53-13.22,41.52-22.38,56.95-9.17,15.44-19.72,27.33-31.66,35.67-11.94,8.35-24.3,12.52-37.09,12.52-16.63,0-31.77-4.35-45.41-13.04-13.65-8.68-24.74-21.17-33.26-37.46v44.47h-100.01v-9.04c8.96,0,16.11-.73,21.44-2.19s9.39-4.69,12.17-9.7c2.77-5,4.59-12.3,5.44-21.89.85-9.59,1.28-22.51,1.28-38.78V145.43c0-12.51-.75-22.83-2.24-30.96-1.5-8.13-3.84-14.59-7.05-19.39-3.2-4.79-7.36-8.03-12.48-9.69-5.12-1.67-11.31-2.51-18.57-2.51v-9.04c20.48-.41,38.64-3.43,54.46-9.04,15.82-5.61,28.01-14.46,36.57-26.52h8.99l-.15,165.22c8.53-16.68,19.62-29.3,33.28-37.86s28.8-12.83,45.46-12.83Zm38.36,180.24c0-30.01-1.82-54.7-5.43-74.08-3.62-19.38-8.31-34.8-14.05-46.27-5.76-11.46-12.36-19.49-19.82-24.08-7.46-4.58-15.01-6.88-22.68-6.88-15.34,0-28.34,8.76-38.99,26.26-10.65,17.51-15.98,43.14-15.98,76.9v96.91c0,33.34,5.32,58.88,15.98,76.59,10.64,17.72,23.64,26.57,38.99,26.57,7.67,0,15.22-2.29,22.68-6.88,7.46-4.58,14.06-12.71,19.82-24.38,5.75-11.67,10.44-27.19,14.05-46.58,3.62-19.38,5.43-44.08,5.43-74.09Z'/%3e%3cpath%20class='cls-3'%20d='m2806.58,426.17c0,16.29.42,29.23,1.28,38.84.85,9.61,2.67,16.91,5.43,21.92,2.77,5.01,6.93,8.25,12.48,9.71,5.55,1.47,12.81,2.19,21.78,2.19v9.04h-140.99v-9.04c8.96,0,16.11-.73,21.44-2.19s9.39-4.69,12.17-9.7c2.77-5.01,4.59-12.31,5.44-21.91.85-9.59,1.28-22.52,1.28-38.8v-160.84c0-12.52-.75-22.84-2.24-30.98-1.5-8.14-3.84-14.5-7.05-19.08-3.2-4.59-7.36-7.71-12.48-9.39-5.12-1.67-11.31-2.51-18.57-2.51v-9.04c20.48-.83,38.74-4.07,54.78-9.7,16.03-5.63,28.33-14.3,36.89-26h8.35v267.47Zm-34.95-306.52c-11.92,0-22.14-4.06-30.65-12.19-8.52-8.12-12.77-18.02-12.77-29.7s4.26-22.19,12.77-30.32c8.52-8.12,18.73-12.19,30.65-12.19s22.02,4.07,30.33,12.19c8.3,8.13,12.45,18.24,12.45,30.32s-4.15,21.58-12.45,29.7c-8.31,8.13-18.41,12.19-30.33,12.19Z'/%3e%3cpath%20class='cls-3'%20d='m2927.66,158.83h72.34v15.67h-72.34v265.37c0,30.46,8.53,45.69,25.61,45.69,5.97,0,11.19-1.25,15.67-3.76,4.48-2.51,8.43-5.43,11.85-8.77,3.84-3.76,7.25-7.93,10.25-12.53l8.96,6.89c-4.27,8.78-9.81,16.51-16.64,23.21-5.56,5.88-12.59,11.24-21.13,16.06-8.53,4.81-18.78,7.23-30.73,7.23-8.99,0-17.32-1.36-25.03-4.07-7.71-2.71-14.44-7.4-20.21-14.09-5.77-6.68-10.27-15.65-13.47-26.92-3.21-11.27-4.81-25.25-4.81-41.96v-252.35h-40.33v-15.67c27.74-2.51,47.28-10.02,58.62-22.55,11.34-12.53,18.29-30.48,20.86-53.87h20.53v76.42Z'/%3e%3crect%20class='cls-2'%20x='0'%20y='0'%20width='514.22'%20height='551.6'%20rx='237.65'%20ry='237.65'/%3e%3cpath%20class='cls-1'%20d='m403.42,360.77c-4.51-3.91-34.29-24.06-34.29-24.06,0,0-9.02,12.63-10.23,11.43-.9-.9,6.62-9.93,8.42-17.44.6-2.5,2.41-9.02,3.01-13.23.6-4.21-1.2-15.34.3-15.34s4.51,7.82,4.51,7.82c0,0-.6-9.93-1.5-17.74-.9-7.82-4.51-16.24-7.52-19.25-3.01-3.01-15.34-1.49-15.34-3.91,0-1.5,12.93-1.2,25.26-.9,12.33.3,19.25-4.21,19.55-5.11.3-.9-.6-1.5,0-2.41.6-.9,1.8-1.5,2.71-3.01.9-1.5,1.8-4.51,3.61-3.91,1.8.6-1.2,4.51.6,5.41,1.8.9,3.61-2.41,5.41-5.71,1.8-3.31.9-9.62.9-9.62,0,0,0-.3-.3.3-.3.6-1.5,1.2-2.71,2.41-1.2,1.2-1.8,3.61-3.31,3.31s-.3-2.71-1.5-3.61c-1.2-.9-8.72-4.51-7.82-6.02.9-1.5,7.22,1.5,9.62,2.11,2.41.6,5.41-.3,5.41-.3,0,0,2.11-5.41,1.8-9.62-.3-4.21-6.32-11.13-10.23-16.84-3.91-5.71-4.21-14.14-14.74-27.07-10.53-12.93-30.68-14.14-33.68-16.54-3.01-2.41-5.41-11.43-7.52-24.06-2.11-12.63,1.5-12.63-3.01-33.08-4.51-20.45-25.26-45.41-31.88-43.91-6.62,1.5-6.62,36.09-6.02,46.92.6,10.83,21.96,47.52,24.06,50.83,2.11,3.31,6.62,4.81,4.81,7.52-1.8,2.71-15.64-18.35-22.26-31.28-6.62-12.93-18.65-30.68-28.27-39.7-9.62-9.02-47.22-30.98-53.53-25.56s2.71,36.99,6.62,46.62c3.91,9.62,11.28,23.31,20.9,32.63,9.62,9.32,37.9,23.46,40.9,25.26,3.01,1.8,5.41,4.81,5.41,4.81,0,0-1.2,5.71-1.2,9.32s1.2,12.63,1.5,17.44c.3,4.81-.3,7.22-.9,11.43-.6,4.21-3.01,6.92-3.31,9.62-.3,2.71.9,1.8.9,1.8,0,0-2.71,6.32-7.22,8.72-4.51,2.41-13.83-1.5-22.26-3.91-8.42-2.41-19.25-2.41-19.25-2.41l6.47,4.36s0,1.2-1.5.3-35.19,0-40.9.3c-5.71.3-12.8,1.81-12.8,1.81,0,0,4.68,1.49,4.68,2.7s-23.46,5.41-48.12,30.08c-24.66,24.66-28.27,64.66-28.87,64.66s-2.11-13.53-2.71-14.44c-.6-.9-3.01-2.41-9.93-2.11-6.92.3-9.62,3.61-9.62,3.91s1.2,1.5,1.2,2.11-6.02,3.61-6.02,4.21,2.41,1.8,2.41,2.41-.9,1.2-2.71,2.71c-1.8,1.5-3.91,4.51-3.61,5.11.3.6,2.11.9,2.41,2.11.3,1.2-.9,4.21-1.2,7.52-.3,3.31,1.8,5.41,2.11,5.41s1.2-3.31,1.8-3.31,1.2,5.11,1.5,6.32c.3,1.2.3,1.8.3,4.21s1.5,4.21,1.8,4.21-.3-3.61.6-1.5c.9,2.11,10.23,9.32,15.34,9.62,5.11.3,6.92-2.11,8.12-2.11s2.71,3.01,3.31,2.41c.6-.6,0-12.63,1.2-12.63s1.2,2.41,1.5,3.31c.3.9,4.81,8.72,7.82,12.93,3.01,4.21,9.92,9.93,12.03,15.34,2.11,5.41-11.73,22.26-13.23,26.77-1.5,4.51.3,13.23,18.95,33.68,18.65,20.45,44.51,18.05,46.62,16.54s0-6.32-6.62-16.54c-6.62-10.23-19.25-22.26-19.25-22.86s3.31-1.2,6.32-1.8c3.01-.6,21.35-6.32,21.65-5.71s-8.72,4.21-11.13,4.81-3.61,5.41-1.5,8.72c2.11,3.31,13.53,9.32,34.29,14.14,20.75,4.81,46.62.9,47.22-3.61.6-4.51-6.02-9.02-12.93-12.93-6.92-3.91-30.68-9.32-30.68-11.13s7.52-3.31,19.25-12.63c11.73-9.32,14.14-19.25,14.74-21.96.6-2.71.3-4.51,0-4.51s-.6.9-1.5,3.01c-.9,2.11-6.02,9.62-7.22,8.72-1.2-.9.9-5.41,2.11-7.52,1.2-2.11,5.41-15.64,5.71-17.14.3-1.5.6-5.71,2.41-5.71s.9,3.91,3.01,4.81c2.11.9,25.87-7.52,25.87-7.52,0,0-2.41-9.32-4.51-15.94-2.11-6.62-2.41-14.14-1.2-14.44.92-.23,1.2,3.31,3.61,11.73,2.4,8.39,6.62,17.14,16.24,25.56,9.62,8.42,27.37,16.54,36.99,31.58,9.62,15.04,23.76,19.55,27.37,17.14,3.61-2.41-8.12-25.26-9.62-29.47-1.5-4.21-13.53-24.66-15.94-30.38-2.41-5.71-2.11-6.32-3.91-12.33-1.8-6.02.9-11.73,2.71-11.73s1.5,10.53,2.41,15.94c.9,5.41,2.71,7.82,5.41,9.62,2.71,1.8,16.54,2.11,19.25,2.71,2.71.6,21.05,7.22,24.06,8.12,3.01.9,10.23,2.41,12.63-2.11,2.41-4.51-8.12-13.83-12.63-17.74Zm-57.19-134.7c-1.68-1.68-2.52-5.7-3.42-9.96-.48-2.29-1.17-5.59-1.83-6.81-.72.39-1.39.64-2.05.64-2.48,0-4.05-2.28-4.59-3.62l2.56-1.03c.2.49,1.01,1.9,2.03,1.9.46-.01,1.81-.98,2.8-1.68,2.39-1.71,5.36-3.83,8.78-3.83,5.65,0,10.41,4.83,12.77,8.96,1.64,2.87,5.39,11.18,4.52,13.8-.27.82-1.07,1.51-4.05,2.21-2.04.48-6.32,1.15-10.23,1.15-3.12,0-6-.43-7.29-1.72Z'/%3e%3cpath%20class='cls-1'%20d='m356.83,224.89c4.31-.34,7.44-1.13,8.37-1.58-.03-1.64-2.13-7.48-4.32-11.31-2.15-3.77-6.2-7.57-10.38-7.57-2.53,0-5.11,1.84-7.18,3.31-.02.02-.04.03-.06.04.88,1.5,1.46,4.05,2.24,7.76.7,3.33,1.57,7.48,2.67,8.58.47.46,2.87,1.22,8.65.77Z'/%3e%3c/svg%3e`,GV=`data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20514.22%20551.6'%3e%3cdefs%3e%3cstyle%3e.cls-1{fill:%23190007;}.cls-1,.cls-2{stroke-width:0px;}.cls-2{fill:%23f0c300;}%3c/style%3e%3c/defs%3e%3crect%20class='cls-2'%20x='0'%20y='0'%20width='514.22'%20height='551.6'%20rx='237.65'%20ry='237.65'/%3e%3cpath%20class='cls-1'%20d='m403.42,360.77c-4.51-3.91-34.29-24.06-34.29-24.06,0,0-9.02,12.63-10.23,11.43-.9-.9,6.62-9.93,8.42-17.44.6-2.5,2.41-9.02,3.01-13.23.6-4.21-1.2-15.34.3-15.34s4.51,7.82,4.51,7.82c0,0-.6-9.93-1.5-17.74-.9-7.82-4.51-16.24-7.52-19.25-3.01-3.01-15.34-1.49-15.34-3.91,0-1.5,12.93-1.2,25.26-.9,12.33.3,19.25-4.21,19.55-5.11.3-.9-.6-1.5,0-2.41.6-.9,1.8-1.5,2.71-3.01.9-1.5,1.8-4.51,3.61-3.91,1.8.6-1.2,4.51.6,5.41,1.8.9,3.61-2.41,5.41-5.71,1.8-3.31.9-9.62.9-9.62,0,0,0-.3-.3.3-.3.6-1.5,1.2-2.71,2.41-1.2,1.2-1.8,3.61-3.31,3.31s-.3-2.71-1.5-3.61c-1.2-.9-8.72-4.51-7.82-6.02.9-1.5,7.22,1.5,9.62,2.11,2.41.6,5.41-.3,5.41-.3,0,0,2.11-5.41,1.8-9.62-.3-4.21-6.32-11.13-10.23-16.84-3.91-5.71-4.21-14.14-14.74-27.07-10.53-12.93-30.68-14.14-33.68-16.54-3.01-2.41-5.41-11.43-7.52-24.06-2.11-12.63,1.5-12.63-3.01-33.08-4.51-20.45-25.26-45.41-31.88-43.91-6.62,1.5-6.62,36.09-6.02,46.92.6,10.83,21.96,47.52,24.06,50.83,2.11,3.31,6.62,4.81,4.81,7.52-1.8,2.71-15.64-18.35-22.26-31.28-6.62-12.93-18.65-30.68-28.27-39.7-9.62-9.02-47.22-30.98-53.53-25.56-6.32,5.41,2.71,36.99,6.62,46.62,3.91,9.62,11.28,23.31,20.9,32.63,9.62,9.32,37.9,23.46,40.9,25.26,3.01,1.8,5.41,4.81,5.41,4.81,0,0-1.2,5.71-1.2,9.32s1.2,12.63,1.5,17.44c.3,4.81-.3,7.22-.9,11.43-.6,4.21-3.01,6.92-3.31,9.62-.3,2.71.9,1.8.9,1.8,0,0-2.71,6.32-7.22,8.72-4.51,2.41-13.83-1.5-22.26-3.91-8.42-2.41-19.25-2.41-19.25-2.41l6.47,4.36s0,1.2-1.5.3-35.19,0-40.9.3c-5.71.3-12.8,1.81-12.8,1.81,0,0,4.68,1.49,4.68,2.7s-23.46,5.41-48.12,30.08c-24.66,24.66-28.27,64.66-28.87,64.66s-2.11-13.53-2.71-14.44c-.6-.9-3.01-2.41-9.93-2.11-6.92.3-9.62,3.61-9.62,3.91s1.2,1.5,1.2,2.11-6.02,3.61-6.02,4.21,2.41,1.8,2.41,2.41-.9,1.2-2.71,2.71c-1.8,1.5-3.91,4.51-3.61,5.11.3.6,2.11.9,2.41,2.11.3,1.2-.9,4.21-1.2,7.52-.3,3.31,1.8,5.41,2.11,5.41s1.2-3.31,1.8-3.31,1.2,5.11,1.5,6.32c.3,1.2.3,1.8.3,4.21s1.5,4.21,1.8,4.21-.3-3.61.6-1.5c.9,2.11,10.23,9.32,15.34,9.62,5.11.3,6.92-2.11,8.12-2.11s2.71,3.01,3.31,2.41c.6-.6,0-12.63,1.2-12.63s1.2,2.41,1.5,3.31c.3.9,4.81,8.72,7.82,12.93,3.01,4.21,9.92,9.93,12.03,15.34,2.11,5.41-11.73,22.26-13.23,26.77-1.5,4.51.3,13.23,18.95,33.68,18.65,20.45,44.51,18.05,46.62,16.54s0-6.32-6.62-16.54c-6.62-10.23-19.25-22.26-19.25-22.86s3.31-1.2,6.32-1.8c3.01-.6,21.35-6.32,21.65-5.71s-8.72,4.21-11.13,4.81-3.61,5.41-1.5,8.72c2.11,3.31,13.53,9.32,34.29,14.14,20.75,4.81,46.62.9,47.22-3.61.6-4.51-6.02-9.02-12.93-12.93-6.92-3.91-30.68-9.32-30.68-11.13s7.52-3.31,19.25-12.63c11.73-9.32,14.14-19.25,14.74-21.96.6-2.71.3-4.51,0-4.51s-.6.9-1.5,3.01-6.02,9.62-7.22,8.72c-1.2-.9.9-5.41,2.11-7.52,1.2-2.11,5.41-15.64,5.71-17.14.3-1.5.6-5.71,2.41-5.71s.9,3.91,3.01,4.81c2.11.9,25.87-7.52,25.87-7.52,0,0-2.41-9.32-4.51-15.94-2.11-6.62-2.41-14.14-1.2-14.44.92-.23,1.2,3.31,3.61,11.73,2.4,8.39,6.62,17.14,16.24,25.56,9.62,8.42,27.37,16.54,36.99,31.58,9.62,15.04,23.76,19.55,27.37,17.14,3.61-2.41-8.12-25.26-9.62-29.47-1.5-4.21-13.53-24.66-15.94-30.38-2.41-5.71-2.11-6.32-3.91-12.33-1.8-6.02.9-11.73,2.71-11.73s1.5,10.53,2.41,15.94c.9,5.41,2.71,7.82,5.41,9.62,2.71,1.8,16.54,2.11,19.25,2.71,2.71.6,21.05,7.22,24.06,8.12,3.01.9,10.23,2.41,12.63-2.11,2.41-4.51-8.12-13.83-12.63-17.74Zm-57.19-134.7c-1.68-1.68-2.52-5.7-3.42-9.96-.48-2.29-1.17-5.59-1.83-6.81-.72.39-1.39.64-2.05.64-2.48,0-4.05-2.28-4.59-3.62l2.56-1.03c.2.49,1.01,1.9,2.03,1.9.46-.01,1.81-.98,2.8-1.68,2.39-1.71,5.36-3.83,8.78-3.83,5.65,0,10.41,4.83,12.77,8.96,1.64,2.87,5.39,11.18,4.52,13.8-.27.82-1.07,1.51-4.05,2.21-2.04.48-6.32,1.15-10.23,1.15-3.12,0-6-.43-7.29-1.72Z'/%3e%3cpath%20class='cls-1'%20d='m356.83,224.89c4.31-.34,7.44-1.13,8.37-1.58-.03-1.64-2.13-7.48-4.32-11.31-2.15-3.77-6.2-7.57-10.38-7.57-2.53,0-5.11,1.84-7.18,3.31-.02.02-.04.03-.06.04.88,1.5,1.46,4.05,2.24,7.76.7,3.33,1.57,7.48,2.67,8.58.47.46,2.87,1.22,8.65.77Z'/%3e%3c/svg%3e`,KV=({tooltips:e,state:t,setState:n})=>{switch(t){case`close`:return(0,d.jsxs)(I.Grid,{container:!0,spacing:2,children:[(0,d.jsx)(I.Grid,{sx:{display:`flex`,justifyContent:`center`,alignItems:`center`},size:6,children:(0,d.jsx)(`img`,{src:GV,alt:`Good Rabbit Logo`,style:{height:`30px`,width:`30px`,objectFit:`contain`}})}),(0,d.jsx)(I.Grid,{sx:{display:`flex`,justifyContent:`center`},size:6,children:(0,d.jsx)(i.IconButton,{sx:{"&:focus":{outline:`none`},"&:focus-visible":{outline:`none`}},onClick:()=>n(`open`),children:(0,d.jsx)(i.Tooltip,{title:e.expandMenu,placement:`right`,children:(0,d.jsx)(i.Icon,{baseClassName:`material-symbols-rounded`,sx:{color:`#FFFFFF`,fontSize:`24px`,mr:`-3.5px`},children:`menu`})})})})]});case`open`:return(0,d.jsxs)(I.Grid,{container:!0,spacing:2,children:[(0,d.jsx)(I.Grid,{size:10,sx:{display:`flex`,justifyContent:`center`,alignItems:`center`},children:(0,d.jsx)(`img`,{src:WV,alt:`Good Rabbit Logo`,style:{height:`40px`,width:`100%`,objectFit:`contain`}})}),(0,d.jsx)(I.Grid,{size:2,sx:{display:`flex`,justifyContent:`center`},children:(0,d.jsx)(i.IconButton,{sx:{"&:focus":{outline:`none`},"&:focus-visible":{outline:`none`}},onClick:()=>n(`close`),children:(0,d.jsx)(i.Tooltip,{title:e.collapseMenu,placement:`right`,children:(0,d.jsx)(i.Icon,{baseClassName:`material-symbols-rounded`,sx:{color:`#FFFFFF`,fontSize:`24px`,mr:`-3.5px`},children:`left_panel_close`})})})})]});case`expanded`:return(0,d.jsxs)(I.Grid,{container:!0,spacing:2,children:[(0,d.jsx)(I.Grid,{size:5,sx:{display:`flex`,justifyContent:`center`,alignItems:`center`},children:(0,d.jsx)(`img`,{src:WV,alt:`Good Rabbit Logo`,style:{height:`40px`,width:`100%`,objectFit:`contain`}})}),(0,d.jsx)(I.Grid,{size:1,sx:{display:`flex`,justifyContent:`center`},children:(0,d.jsx)(i.IconButton,{sx:{"&:focus":{outline:`none`},"&:focus-visible":{outline:`none`}},onClick:()=>n(`close`),children:(0,d.jsx)(i.Tooltip,{title:e.collapseMenu,placement:`right`,children:(0,d.jsx)(i.Icon,{baseClassName:`material-symbols-rounded`,sx:{color:`#FFFFFF`,fontSize:`24px`,mr:`-3.5px`},children:`left_panel_close`})})})}),(0,d.jsx)(I.Grid,{size:5}),(0,d.jsx)(I.Grid,{size:1,sx:{display:`flex`,justifyContent:`center`},children:(0,d.jsx)(i.IconButton,{sx:{pl:1.75,"&:focus":{outline:`none`},"&:focus-visible":{outline:`none`}},onClick:()=>n(`open`),children:(0,d.jsx)(i.Tooltip,{title:e.collapseModule,placement:`right`,children:(0,d.jsx)(i.Icon,{baseClassName:`material-symbols-rounded`,sx:{color:`#FFFFFF`,fontSize:`24px`,mr:`-3.5px`},children:`chevron_backward`})})})})]})}},qV=e=>(0,d.jsx)(KV,{...e}),JV=({tooltips:e,name:t,items:n,setState:r})=>{let a=(0,u.useNavigate)(),o=(0,u.useLocation)(),s=new URLSearchParams(o.search),{setOpenUnsaved:c,setRedirect:f}=(0,l.useContext)(fe);return(0,d.jsx)(i.Grid,{size:12,children:(0,d.jsx)(i.List,{dense:!0,sx:{width:`100%`,"& .Mui-selected":{bgcolor:`#5B5157 !important`},"& .hover":{bgcolor:`#513D42 !important`}},component:`nav`,subheader:t&&(0,d.jsx)(i.ListSubheader,{sx:{bgcolor:`transparent`},component:`div`,id:`nested-list-subheader`,children:t.toUpperCase()}),children:n.map((t,n)=>(0,d.jsx)(i.ListItem,{secondaryAction:t.subgroups.length>0?(0,d.jsx)(i.Tooltip,{title:e.expandModule,placement:`right`,children:(0,d.jsx)(u.Link,{to:t.path,style:{textDecoration:`none`},onClick:()=>{r(`expanded`),localStorage.setItem(`sidebar_state`,`expanded`)},children:(0,d.jsx)(i.Icon,{baseClassName:`material-symbols-rounded`,sx:{color:`#FFFFFF`,fontSize:`24px`,mr:`-3.5px`},children:`keyboard_arrow_right`})})}):(0,d.jsx)(i.Tooltip,{title:e.openNewTab,placement:`right`,children:(0,d.jsx)(u.Link,{to:`${t.path}&view=${t.view}`,target:`_blank`,style:{textDecoration:`none`},onClick:()=>{r(`open`),localStorage.setItem(`sidebar_state`,`open`)},children:(0,d.jsx)(i.Icon,{baseClassName:`material-symbols-rounded`,sx:{color:`#FFFFFF`,fontSize:`16px`},children:`new_window`})})}),children:(0,d.jsxs)(i.ListItemButton,{sx:{borderRadius:`20px`,minHeight:`56px`,color:`#FFFFFF`,"& .MuiListItemText-primary":{color:`#FFFFFF`}},onClick:e=>{if(e.preventDefault(),e.stopPropagation(),localStorage.getItem(`save_redirect`)===`true`){c(!0),t.subgroups.length>0?f(t.path):f(`${t.path}&view=${t.view}`);return}t.subgroups.length>0?(r(`expanded`),a(t.path),localStorage.setItem(`sidebar_state`,`expanded`),localStorage.setItem(`history_path`,JSON.stringify([...JSON.parse(localStorage.getItem(`history_path`)||`[]`),t.path]))):(r(`open`),a(`${t.path}&view=${t.view}`),localStorage.setItem(`sidebar_state`,`open`),localStorage.setItem(`history_path`,JSON.stringify([...JSON.parse(localStorage.getItem(`history_path`)||`[]`),`${t.path}&view=${t.view}`])))},selected:`${o.pathname}?module=${s.get(`module`)}`===t.path,children:[(0,d.jsx)(i.ListItemIcon,{children:t.icon}),(0,d.jsx)(i.ListItemText,{primary:t.title,slotProps:{primary:{sx:{color:`#FFFFFF`}}}})]})},n))})})},YV=({items:e,setState:t})=>{let{setOpenUnsaved:n,setRedirect:r}=(0,l.useContext)(fe),a=(0,u.useNavigate)(),o=(0,u.useLocation)(),s=new URLSearchParams(o.search);return(0,d.jsx)(i.Grid,{size:12,children:(0,d.jsx)(i.List,{dense:!0,sx:{width:`100%`,"& .Mui-selected":{bgcolor:`#5B5157 !important`},"& .hover":{bgcolor:`#513D42 !important`}},component:`nav`,children:e.map((e,c)=>(0,d.jsx)(i.Tooltip,{title:e.title,placement:`right`,children:(0,d.jsx)(i.ListItemButton,{sx:{borderRadius:`20px`,minHeight:`56px`},onClick:()=>{if(localStorage.getItem(`save_redirect`)===`true`){n(!0),e.subgroups.length>0?r(e.path):r(`${e.path}&view=${e.view}`);return}e.subgroups.length>0?(t(`expanded`),a(e.path),localStorage.setItem(`sidebar_state`,`expanded`)):(a(`${e.path}&view=${e.view}`),localStorage.setItem(`sidebar_state`,`close`),localStorage.setItem(`history_path`,JSON.stringify([...JSON.parse(localStorage.getItem(`history_path`)||`[]`),`${e.path}&view=${e.view}`])))},selected:`${o.pathname}?module=${s.get(`module`)}`===e.path,children:(0,d.jsx)(i.ListItemIcon,{children:e.icon})})},c))})})},XV=({tooltips:e,items:t})=>{let n=(0,u.useLocation)(),r=(0,u.useNavigate)(),a=new URLSearchParams(n.search),{setOpenUnsaved:o,setRedirect:s}=(0,l.useContext)(fe);return(0,d.jsx)(i.Grid,{size:12,children:(0,d.jsx)(i.List,{dense:!0,sx:{width:`100%`,"& .Mui-selected":{bgcolor:`#5B5157 !important`},"& .hover":{bgcolor:`#513D42 !important`}},component:`nav`,children:t.map((t,c)=>(0,d.jsx)(i.ListItem,{secondaryAction:(0,d.jsx)(i.Tooltip,{title:e.openNewTab,placement:`right`,children:(0,d.jsx)(u.Link,{to:`${n.pathname}?module=${a.get(`module`)}${t.path}`,style:{textDecoration:`none`},target:`_blank`,children:(0,d.jsx)(i.Icon,{baseClassName:`material-symbols-rounded`,sx:{color:`#FFFFFF`,fontSize:`18px`},children:`new_window`})})}),children:(0,d.jsx)(i.ListItemButton,{sx:{borderRadius:`20px`},onClick:e=>{if(e.preventDefault(),e.stopPropagation(),localStorage.getItem(`save_redirect`)===`true`){o(!0),s(`${n.pathname}?module=${a.get(`module`)}${t.path}`);return}r(`${n.pathname}?module=${a.get(`module`)}${t.path}`),localStorage.setItem(`history_path`,JSON.stringify([...JSON.parse(localStorage.getItem(`history_path`)||`[]`),`${n.pathname}?module=${a.get(`module`)}${t.path}`]))},selected:`&view=${a.get(`view`)}`===t.path,children:(0,d.jsx)(i.ListItemText,{slotProps:{primary:{sx:{color:`#FFFFFF`,textOverflow:`ellipsis`,overflow:`hidden`,whiteSpace:`nowrap`}}},primary:t.title})})},c))})})},ZV=({state:e,setState:t,groups:n,tooltips:r})=>{let a=n.map(e=>e.items.map(e=>({title:e.title,color:e.color,icon:e.icon,path:e.path,view:e.view,subgroups:e.subgroups}))).flat(),o=(0,u.useLocation)(),s=new URLSearchParams(o.search);switch((0,l.useEffect)(()=>{let e=localStorage.getItem(`sidebar_state`);t(e===`expanded`?`expanded`:e===`close`?`close`:`open`)},[o]),e){case`close`:return(0,d.jsx)(i.Grid,{sx:{height:`calc(100vh - 160px)`},container:!0,spacing:2,children:(0,d.jsx)(YV,{items:a,setState:t})});case`open`:return(0,d.jsx)(i.Grid,{sx:{height:`calc(100vh - 160px)`},container:!0,spacing:2,children:(0,d.jsx)(i.Grid,{size:12,children:n.map((e,n)=>(0,d.jsx)(JV,{name:e.name,items:e.items,setState:t,tooltips:r},n))})});case`expanded`:return(0,d.jsxs)(i.Grid,{sx:{height:`calc(100vh - 160px)`},container:!0,spacing:2,children:[(0,d.jsx)(i.Grid,{size:6,children:n.map((e,n)=>(0,d.jsx)(JV,{name:e.name,items:e.items,setState:t,tooltips:r},n))}),(0,d.jsx)(i.Grid,{size:6,children:(0,d.jsx)(XV,{items:a.find(e=>e.path===`${o.pathname}?module=${s.get(`module`)}`)?.subgroups||[],tooltips:r})})]})}},QV=e=>(0,d.jsx)(ZV,{...e}),$V=({state:e,signOut:t})=>{let n=(0,u.useNavigate)(),{instance:r}=wp(),a=()=>{localStorage.getItem(`type-signin`)===`ms`&&r.logoutRedirect({account:r.getActiveAccount(),postLogoutRedirectUri:`http://localhost:5173/signin`})};switch(e){case`close`:return(0,d.jsx)(i.Grid,{container:!0,spacing:2,children:(0,d.jsx)(i.Grid,{sx:{display:`flex`,justifyContent:`center`,alignItems:`center`},size:12,children:(0,d.jsx)(i.IconButton,{sx:{height:`56px`,borderRadius:`20px`,bottom:`20px`,"&:focus":{outline:`none`},"&:focus-visible":{outline:`none`}},onClick:()=>{a(),t.onClick(n)},children:t.icon})})});case`open`:return(0,d.jsx)(i.Grid,{container:!0,spacing:2,children:(0,d.jsx)(i.Grid,{sx:{display:`flex`,justifyContent:`center`,alignItems:`center`},size:12,children:(0,d.jsx)(i.Button,{sx:{width:`100%`,height:`56px`,borderRadius:`20px`,bottom:`20px`,color:`#FFFFFF`,"&:focus":{outline:`none`},"&:focus-visible":{outline:`none`},"& .MuiButton-startIcon":{marginLeft:`16px`}},size:`small`,startIcon:t.icon,onClick:()=>{a(),t.onClick(n)},children:(0,d.jsx)(`span`,{style:{textTransform:`math-auto`,width:`100%`},children:t.text})})})});case`expanded`:return(0,d.jsxs)(i.Grid,{container:!0,spacing:2,children:[(0,d.jsx)(i.Grid,{sx:{display:`flex`,justifyContent:`center`,alignItems:`center`},size:6,children:(0,d.jsx)(i.Button,{sx:{width:`100%`,height:`56px`,borderRadius:`20px`,bottom:`20px`,color:`#FFFFFF`,"&:focus":{outline:`none`},"&:focus-visible":{outline:`none`},"& .MuiButton-startIcon":{marginLeft:`16px`}},color:`inherit`,size:`small`,startIcon:t.icon,onClick:()=>{a(),t.onClick(n)},children:(0,d.jsx)(`span`,{style:{textTransform:`math-auto`,width:`100%`},children:t.text})})}),(0,d.jsx)(i.Grid,{size:6})]})}},eH=e=>(0,d.jsx)($V,{...e}),tH={arrow:Op.arrow,arrowUp:Op.arrowRight,toolInfo:Op.toolInfo},nH={s:`size-4`,m:`size-5`,l:`size-6`};function rH({name:e,size:t=`m`,className:n}){let r=tH[e];return(0,d.jsx)(`span`,{"aria-hidden":`true`,className:X(`block shrink-0 bg-current`,nH[t],n),style:{WebkitMaskImage:`url("${r}")`,maskImage:`url("${r}")`,WebkitMaskRepeat:`no-repeat`,maskRepeat:`no-repeat`,WebkitMaskPosition:`center`,maskPosition:`center`,WebkitMaskSize:`contain`,maskSize:`contain`}})}function iH(e){return e?Array.from(e):[]}function aH(e){return e?.selectable!==!1}function oH(e){return aH(e)&&e?.disabled!==!0}function sH(e){return!!(Array.isArray(e?.children)&&e.children.length>0)}function cH(e=[]){let t=[];function n(e){for(let r of e)t.push(r),sH(r)&&n(r.children??[])}return n(e),t}function lH(e=[],t){for(let n of e){if(n.id===t)return n;if(sH(n)){let e=lH(n.children??[],t);if(e)return e}}return null}function uH(e=[]){let t=[];function n(e){for(let r of e)sH(r)&&(t.push(r.id),n(r.children??[]))}return n(e),t}function dH(e,{mutableOnly:t=!0}={}){if(!e)return[];let n=[];function r(e){let i=aH(e),a=e.disabled!==!0;i&&(!t||a)&&n.push(e.id);for(let t of e.children??[])r(t)}return r(e),n}function fH(e,{mutableOnly:t=!0}={}){if(!e)return[];let n=[];for(let r of e.children??[])n.push(...dH(r,{mutableOnly:t}));return n}function pH(e=[],t=[]){let n=new Set(iH(t)),r=new Set;function i(e){for(let t of e)aH(t)&&r.add(t.id),sH(t)&&i(t.children??[])}i(e);for(let e of Array.from(n))r.has(e)||n.delete(e);function a(e){for(let t of e.children??[])a(t);if(!oH(e))return;let t=fH(e,{mutableOnly:!0});t.length!==0&&(t.every(e=>n.has(e))?n.add(e.id):n.delete(e.id))}for(let t of e)a(t);return cH(e).filter(e=>n.has(e.id)).map(e=>e.id)}function mH(e,t=[]){if(!e||!aH(e))return{checked:!1,indeterminate:!1};let n=t instanceof Set?t:new Set(iH(t));if(e.disabled)return{checked:n.has(e.id),indeterminate:!1};let r=dH(e,{mutableOnly:!0});if(r.length===0)return{checked:!1,indeterminate:!1};let i=r.reduce((e,t)=>n.has(t)?e+1:e,0);return{checked:i===r.length,indeterminate:i>0&&i<r.length}}function hH(e=[],t=[],n){let r=lH(e,n);if(!r||!oH(r))return pH(e,t);let i=pH(e,t),a=new Set(i),o=dH(r,{mutableOnly:!0});if(o.length>0&&o.every(e=>a.has(e)))for(let e of o)a.delete(e);else for(let e of o)a.add(e);return pH(e,Array.from(a))}function gH(e=[],t){let n=new Set(iH(e));return n.has(t)?n.delete(t):n.add(t),Array.from(n)}function _H({checked:e,indeterminate:t,disabled:n,ariaLabel:r,onChange:i}){return(0,d.jsx)(`div`,{className:`flex size-5 shrink-0 items-center justify-center`,children:(0,d.jsx)(SC,{size:`s`,checked:e,indeterminate:t,disabled:n,"aria-label":r,onChange:i})})}function vH({expanded:e,label:t,expandLabel:n,collapseLabel:r,onClick:i}){return(0,d.jsx)(`div`,{className:`relative size-5 shrink-0`,children:(0,d.jsx)(dC,{type:`button`,size:`s`,"aria-label":e?`${r}: ${t}`:`${n}: ${t}`,"aria-expanded":e,onClick:i,className:`
|
|
318
318
|
absolute left-1/2 top-1/2
|
|
319
319
|
-translate-x-1/2 -translate-y-1/2
|
|
320
320
|
text-[var(--text)]
|
|
321
|
-
`,children:(0,d.jsx)(rH,{name:e?`arrowUp`:`arrow`,size:`m`})})})}function yH({node:e,depth:t}){return(0,d.jsxs)(`div`,{className:`flex min-w-0 flex-wrap items-baseline gap-x-3 gap-y-1`,children:[(0,d.jsx)(`span`,{className:X(t===0?`body-lb`:`p2`,`min-w-0 break-words`,`text-[var(--text)]`),children:e.label}),e.description!==void 0&&e.description!==null?(0,d.jsx)(`span`,{className:`p2 min-w-0 break-words text-[var(--muted)]`,children:e.description}):null]})}function bH({node:e,depth:t=0,isRoot:n=!1,selectedSet:r,expandedSet:i,onToggleSelection:a,onToggleExpanded:o,showCheckboxes:s=!0,selectionDisabled:c=!1,renderNodeContent:l,expandLabel:u=`Expandir`,collapseLabel:f=`Contraer`}){let p=sH(e),m=p&&i.has(e.id),h=mH(e,r),g=c||e.disabled===!0,_=s&&aH(e)&&e.showCheckbox!==!1,v=typeof e.label==`string`||typeof e.label==`number`?String(e.label):String(e.id),y=_?h.indeterminate?`mixed`:h.checked:void 0,b=()=>{g||a(e.id)},x=()=>{p&&o(e.id)},S=l?l({node:e,depth:t,expanded:m,checked:h.checked,indeterminate:h.indeterminate}):(0,d.jsx)(yH,{node:e,depth:t}),C=(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(`div`,{className:X(`flex min-w-0 items-center gap-3`,n?`min-h-11`:`min-h-9`,e.disabled&&`opacity-50`,e.className),children:[_?(0,d.jsx)(_H,{checked:h.checked,indeterminate:h.indeterminate,disabled:g,ariaLabel:`Seleccionar ${v}`,onChange:b}):null,p?(0,d.jsx)(vH,{expanded:m,label:v,expandLabel:u,collapseLabel:f,onClick:x}):null,(0,d.jsx)(`div`,{className:`min-w-0 flex-1`,children:S})]}),p&&m?(0,d.jsx)(`div`,{role:`group`,className:`ml-4 sm:ml-5`,children:(e.children??[]).map(e=>(0,d.jsx)(bH,{node:e,depth:t+1,isRoot:!1,selectedSet:r,expandedSet:i,onToggleSelection:a,onToggleExpanded:o,showCheckboxes:s,selectionDisabled:c,renderNodeContent:l,expandLabel:u,collapseLabel:f},e.id))}):null]}),w={role:`treeitem`,"aria-level":t+1,"aria-expanded":p?m:void 0,"aria-checked":y,"aria-disabled":e.disabled||void 0};return n?(0,d.jsx)(`div`,{...w,className:X(`min-w-full`,`rounded-[var(--r-m)]`,`border border-[var(--border)]`,`bg-[var(--surface)]`,`px-5 py-3`),children:C}):(0,d.jsx)(`div`,{...w,className:`min-w-0`,children:C})}function xH(e){return e?Array.from(e):[]}function SH({content:e,ariaLabel:t}){return e==null?null:(0,d.jsx)(yC,{content:e,placement:`bottom`,multiline:!0,children:(0,d.jsx)(dC,{type:`button`,size:`s`,"aria-label":t??(typeof e==`string`?e:`Información`),className:`text-[var(--on-dark-text)]`,children:(0,d.jsx)(rH,{name:`toolInfo`,size:`l`})})})}function CH({title:e,ariaLabel:t,items:n=[],selectedIds:r,defaultSelectedIds:i=[],onSelectionChange:a,expandedIds:o,defaultExpandedIds:s=[],defaultExpandAll:c=!1,onExpandedChange:u,showCheckboxes:f=!0,selectionDisabled:p=!1,headerAction:m,headerTooltip:h,headerActionLabel:g,renderNodeContent:_,emptyText:v=`No hay elementos disponibles`,fill:y=!1,expandLabel:b=`Expandir`,collapseLabel:x=`Contraer`,className:S,headerClassName:C,bodyClassName:w,listClassName:T}){let E=r!==void 0,D=o!==void 0,[O,k]=l.default.useState(()=>pH(n,i)),[A,j]=l.default.useState(()=>c?uH(n):xH(s)),M=E?xH(r):O,N=D?xH(o):A,P=l.default.useMemo(()=>pH(n,M),[n,M]),F=l.default.useMemo(()=>new Set(P),[P]),I=l.default.useMemo(()=>new Set(N),[N]),L=l.default.useCallback(e=>{if(p)return;let t=hH(n,P,e);E||k(t),a?.(t,{nodeId:e,node:lH(n,e)})},[n,P,a,p,E]),R=l.default.useCallback(e=>{let t=gH(N,e);D||j(t),u?.(t,{nodeId:e,node:lH(n,e)})},[N,D,n,u]),ee=n.length>0,te=m??(h==null?null:(0,d.jsx)(SH,{content:h,ariaLabel:g})),ne=t??(typeof e==`string`?e:void 0);return(0,d.jsxs)(`section`,{className:X(`flex w-full min-w-0 flex-col overflow-hidden`,`rounded-[var(--r-m)]`,`border border-[var(--border)]`,`bg-[var(--surface)]`,y&&`h-full min-h-0`,S),children:[(0,d.jsxs)(`header`,{className:X(`flex shrink-0`,`items-center justify-between`,`gap-3`,`bg-[var(--base-dark)]`,`px-5 py-5`,C),children:[(0,d.jsx)(`div`,{className:`body-lb min-w-0 flex-1 text-[var(--on-dark-text)]`,children:e}),te?(0,d.jsx)(`div`,{className:`shrink-0`,children:te}):null]}),(0,d.jsx)(`div`,{className:X(`min-h-0 flex-1 overflow-auto`,`px-5 py-3`,w),children:ee?(0,d.jsx)(`div`,{role:`tree`,"aria-label":ne,"aria-multiselectable":f?!0:void 0,className:X(`flex w-max min-w-full`,`flex-col gap-3`,T),children:n.map(e=>(0,d.jsx)(bH,{node:e,depth:0,isRoot:!0,selectedSet:F,expandedSet:I,onToggleSelection:L,onToggleExpanded:R,showCheckboxes:f,selectionDisabled:p,renderNodeContent:_,expandLabel:b,collapseLabel:x},e.id))}):(0,d.jsx)(`div`,{className:`flex min-h-24 items-center justify-center px-5 text-center`,children:(0,d.jsx)(`div`,{className:`p2 text-[var(--muted)]`,children:v})})})]})}e.AuthLanguageDropdown=F_,e.AuthPasswordInput=EC,e.AuthShell=P_,e.AutoCustomCompleteField=q_,e.CalendarChipIcon=HS,e.Card=aC,e.CardContent=cC,e.CardFooter=lC,e.CardHeader=oC,e.CardTitle=sC,e.Checkbox=SC,e.ClockChipIcon=US,e.Core=uw,e.CoreContext=fe,e.CoreProvider=dw,e.CustomDatePicker=kS,e.CustomDateRangeCalendar=IS,e.CustomDateRangePicker=FS,e.CustomDateRangefield=MS,e.CustomDatefield=OS,e.CustomSelect=ww,e.CustomTimefield=AS,Object.defineProperty(e,"DGEnUs",{enumerable:!0,get:function(){return t.enUS}}),Object.defineProperty(e,"DGEsEs",{enumerable:!0,get:function(){return t.esES}}),e.DashboardShell=sw,e.Form=Nw,e.FormField=qw,e.FormGrid=Kw,e.FormShell=Hw,e.GoodRabbitDarkTheme=ue,e.GoodRabbitLightTheme=de,e.Input=bC,e.LegacyCustomTimefield=Dw,e.MessageAlert=Iw,e.PillsTabs=Zw,e.RbPillsTabs=Zw,e.Portal=TC,e.RBButton=R_,e.Radio=wC,e.RbContextMenu=zS,e.RbExcelTable=MV,e.RbIconButton=dC,e.RbInlineChipField=rC,e.RbList=Jw,e.RbListItem=Yw,e.RbTable=MT,e.RbTableToolbar=mT,e.RbToolbarActionButton=NV,e.
|
|
321
|
+
`,children:(0,d.jsx)(rH,{name:e?`arrowUp`:`arrow`,size:`m`})})})}function yH({node:e,depth:t}){return(0,d.jsxs)(`div`,{className:`flex min-w-0 flex-wrap items-baseline gap-x-3 gap-y-1`,children:[(0,d.jsx)(`span`,{className:X(t===0?`body-lb`:`p2`,`min-w-0 break-words`,`text-[var(--text)]`),children:e.label}),e.description!==void 0&&e.description!==null?(0,d.jsx)(`span`,{className:`p2 min-w-0 break-words text-[var(--muted)]`,children:e.description}):null]})}function bH({node:e,depth:t=0,isRoot:n=!1,selectedSet:r,expandedSet:i,onToggleSelection:a,onToggleExpanded:o,showCheckboxes:s=!0,selectionDisabled:c=!1,renderNodeContent:l,expandLabel:u=`Expandir`,collapseLabel:f=`Contraer`}){let p=sH(e),m=p&&i.has(e.id),h=mH(e,r),g=c||e.disabled===!0,_=s&&aH(e)&&e.showCheckbox!==!1,v=typeof e.label==`string`||typeof e.label==`number`?String(e.label):String(e.id),y=_?h.indeterminate?`mixed`:h.checked:void 0,b=()=>{g||a(e.id)},x=()=>{p&&o(e.id)},S=l?l({node:e,depth:t,expanded:m,checked:h.checked,indeterminate:h.indeterminate}):(0,d.jsx)(yH,{node:e,depth:t}),C=(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(`div`,{className:X(`flex min-w-0 items-center gap-3`,n?`min-h-11`:`min-h-9`,e.disabled&&`opacity-50`,e.className),children:[_?(0,d.jsx)(_H,{checked:h.checked,indeterminate:h.indeterminate,disabled:g,ariaLabel:`Seleccionar ${v}`,onChange:b}):null,p?(0,d.jsx)(vH,{expanded:m,label:v,expandLabel:u,collapseLabel:f,onClick:x}):null,(0,d.jsx)(`div`,{className:`min-w-0 flex-1`,children:S})]}),p&&m?(0,d.jsx)(`div`,{role:`group`,className:`ml-4 sm:ml-5`,children:(e.children??[]).map(e=>(0,d.jsx)(bH,{node:e,depth:t+1,isRoot:!1,selectedSet:r,expandedSet:i,onToggleSelection:a,onToggleExpanded:o,showCheckboxes:s,selectionDisabled:c,renderNodeContent:l,expandLabel:u,collapseLabel:f},e.id))}):null]}),w={role:`treeitem`,"aria-level":t+1,"aria-expanded":p?m:void 0,"aria-checked":y,"aria-disabled":e.disabled||void 0};return n?(0,d.jsx)(`div`,{...w,className:X(`min-w-full`,`rounded-[var(--r-m)]`,`border border-[var(--border)]`,`bg-[var(--surface)]`,`px-5 py-3`),children:C}):(0,d.jsx)(`div`,{...w,className:`min-w-0`,children:C})}function xH(e){return e?Array.from(e):[]}function SH({content:e,ariaLabel:t}){return e==null?null:(0,d.jsx)(yC,{content:e,placement:`bottom`,multiline:!0,children:(0,d.jsx)(dC,{type:`button`,size:`s`,"aria-label":t??(typeof e==`string`?e:`Información`),className:`text-[var(--on-dark-text)]`,children:(0,d.jsx)(rH,{name:`toolInfo`,size:`l`})})})}function CH({title:e,ariaLabel:t,items:n=[],selectedIds:r,defaultSelectedIds:i=[],onSelectionChange:a,expandedIds:o,defaultExpandedIds:s=[],defaultExpandAll:c=!1,onExpandedChange:u,showCheckboxes:f=!0,selectionDisabled:p=!1,headerAction:m,headerTooltip:h,headerActionLabel:g,renderNodeContent:_,emptyText:v=`No hay elementos disponibles`,fill:y=!1,expandLabel:b=`Expandir`,collapseLabel:x=`Contraer`,className:S,headerClassName:C,bodyClassName:w,listClassName:T}){let E=r!==void 0,D=o!==void 0,[O,k]=l.default.useState(()=>pH(n,i)),[A,j]=l.default.useState(()=>c?uH(n):xH(s)),M=E?xH(r):O,N=D?xH(o):A,P=l.default.useMemo(()=>pH(n,M),[n,M]),F=l.default.useMemo(()=>new Set(P),[P]),I=l.default.useMemo(()=>new Set(N),[N]),L=l.default.useCallback(e=>{if(p)return;let t=hH(n,P,e);E||k(t),a?.(t,{nodeId:e,node:lH(n,e)})},[n,P,a,p,E]),R=l.default.useCallback(e=>{let t=gH(N,e);D||j(t),u?.(t,{nodeId:e,node:lH(n,e)})},[N,D,n,u]),ee=n.length>0,te=m??(h==null?null:(0,d.jsx)(SH,{content:h,ariaLabel:g})),ne=t??(typeof e==`string`?e:void 0);return(0,d.jsxs)(`section`,{className:X(`flex w-full min-w-0 flex-col overflow-hidden`,`rounded-[var(--r-m)]`,`border border-[var(--border)]`,`bg-[var(--surface)]`,y&&`h-full min-h-0`,S),children:[(0,d.jsxs)(`header`,{className:X(`flex shrink-0`,`items-center justify-between`,`gap-3`,`bg-[var(--base-dark)]`,`px-5 py-5`,C),children:[(0,d.jsx)(`div`,{className:`body-lb min-w-0 flex-1 text-[var(--on-dark-text)]`,children:e}),te?(0,d.jsx)(`div`,{className:`shrink-0`,children:te}):null]}),(0,d.jsx)(`div`,{className:X(`min-h-0 flex-1 overflow-auto`,`px-5 py-3`,w),children:ee?(0,d.jsx)(`div`,{role:`tree`,"aria-label":ne,"aria-multiselectable":f?!0:void 0,className:X(`flex w-max min-w-full`,`flex-col gap-3`,T),children:n.map(e=>(0,d.jsx)(bH,{node:e,depth:0,isRoot:!0,selectedSet:F,expandedSet:I,onToggleSelection:L,onToggleExpanded:R,showCheckboxes:f,selectionDisabled:p,renderNodeContent:_,expandLabel:b,collapseLabel:x},e.id))}):(0,d.jsx)(`div`,{className:`flex min-h-24 items-center justify-center px-5 text-center`,children:(0,d.jsx)(`div`,{className:`p2 text-[var(--muted)]`,children:v})})})]})}e.AuthLanguageDropdown=F_,e.AuthPasswordInput=EC,e.AuthShell=P_,e.AutoCustomCompleteField=q_,e.CalendarChipIcon=HS,e.Card=aC,e.CardContent=cC,e.CardFooter=lC,e.CardHeader=oC,e.CardTitle=sC,e.Checkbox=SC,e.ClockChipIcon=US,e.Core=uw,e.CoreContext=fe,e.CoreProvider=dw,e.CustomDatePicker=kS,e.CustomDateRangeCalendar=IS,e.CustomDateRangePicker=FS,e.CustomDateRangefield=MS,e.CustomDatefield=OS,e.CustomSelect=ww,e.CustomTimefield=AS,Object.defineProperty(e,"DGEnUs",{enumerable:!0,get:function(){return t.enUS}}),Object.defineProperty(e,"DGEsEs",{enumerable:!0,get:function(){return t.esES}}),e.DashboardShell=sw,e.Form=Nw,e.FormField=qw,e.FormGrid=Kw,e.FormShell=Hw,e.GoodRabbitDarkTheme=ue,e.GoodRabbitLightTheme=de,e.Input=bC,e.LegacyCustomTimefield=Dw,e.MessageAlert=Iw,e.PillsTabs=Zw,e.RbPillsTabs=Zw,e.Portal=TC,e.RBButton=R_,e.Radio=wC,e.RbContextMenu=zS,e.RbExcelTable=MV,e.RbIconButton=dC,e.RbInlineChipField=rC,e.RbList=Jw,e.RbListItem=Yw,e.RbTable=MT,e.RbTableToolbar=mT,e.RbToolbarActionButton=NV,e.RbToolbarActions=PV,e.RbToolbarDateRangeField=FV,e.RbToolbarMultiSelectField=RV,e.RbToolbarSearchField=BV,e.RbToolbarSelectField=UV,e.ShellContent=LC,e.Sidebar=Bp,e.SidebarContent=QV,e.SidebarFooter=eH,e.SidebarHeader=qV,e.SystemAlert=rw,e.Table=yw,e.Tooltip=yC,e.TopBar=HC,e.TopBarUserMenu=RC,e.TreePanel=CH,e.chekingSSOMS=j_,e.cn=X,Object.defineProperty(e,"coreEnUS",{enumerable:!0,get:function(){return n.enUS}}),Object.defineProperty(e,"coreEsES",{enumerable:!0,get:function(){return n.esES}}),e.findNodeById=lH,e.flattenTree=cH,e.formatRbExcelDate=dV,e.formatRbExcelTime=fV,e.getExpandableNodeIds=uH,e.getNodeSelectionState=mH,e.getRbExcelValueAtPath=oV,e.getRbImageUrl=kp,e.getSelectableDescendantIds=fH,e.getSelectableSubtreeIds=dH,e.hasNodeChildren=sH,e.initializeAuth=M_,e.isNodeSelectable=aH,e.isNodeSelectionMutable=oH,e.isRbExcelEmptyValue=cV,e.isValidRbExcelDate=mV,e.isValidRbExcelNumber=gV,e.isValidRbExcelTime=hV,e.normalizeHierarchicalSelection=pH,e.observeSSO=N_,e.parseRbExcelValue=pV,Object.defineProperty(e,"pickersEnUS",{enumerable:!0,get:function(){return r.enUS}}),Object.defineProperty(e,"pickersEsES",{enumerable:!0,get:function(){return r.esES}}),e.rbImages=Op,e.setRbExcelValueAtPath=sV,e.toggleExpandedNode=gH,e.toggleNodeSelection=hH,e.useRbSystemAlert=aw,e.useSystemAlert=xw,e.useTable=bw});
|