@max-ts/components 1.6.1 → 1.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.mjs CHANGED
@@ -1,57 +1,57 @@
1
- import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Children as o,Component as n,Fragment as a,createContext as l,createElement as d,forwardRef as s,useCallback as p,useContext as c,useEffect as g,useId as h,useLayoutEffect as u,useMemo as m,useRef as f,useState as y}from"react";import{ArrowDownNarrowWide as x,ArrowDownToLine as b,ArrowDownUp as $,ArrowDownWideNarrow as v,Calendar1 as w,ChevronDown as C,ChevronLeft as k,ChevronRight as S,ChevronUp as z,ChevronsUpDown as F,CircleCheck as M,CircleX as T,Copy as P,Ellipsis as A,EllipsisVertical as D,Info as I,OctagonAlert as O,PanelLeftClose as E,PanelLeftOpen as L,Search as R,Square as B,SquareArrowOutUpRight as N,SquareCheck as W,SquareMinus as _,TriangleAlert as H,X as j}from"lucide-react";import{Alert as V,AlertTitle as G,Autocomplete as U,Avatar as Y,Badge as K,Breadcrumbs as q,Button as X,ButtonBase as J,ButtonGroup as Z,Card as Q,CardActions as ee,CardContent as et,CardHeader as er,Checkbox as ei,Chip as eo,CircularProgress as en,ClickAwayListener as ea,Collapse as el,CssBaseline as ed,Dialog as es,DialogActions as ep,DialogContent as ec,DialogContentText as eg,DialogTitle as eh,Divider as eu,Drawer as em,FormControl as ef,FormControlLabel as ey,FormHelperText as ex,FormLabel as eb,InputLabel as e$,LinearProgress as ev,Link as ew,List as eC,ListItem as ek,ListItemButton as eS,ListItemIcon as ez,ListItemText as eF,ListSubheader as eM,Menu as eT,MenuItem as eP,MenuList as eA,Pagination as eD,Paper as eI,Popover as eO,Popper as eE,Radio as eL,RadioGroup as eR,Select as eB,Skeleton as eN,Slider as eW,SvgIcon as e_,Switch as eH,Tab as ej,Tabs as eV,TextField as eG,ThemeProvider as eU,Tooltip as eY,Typography as eK,alertClasses as eq,alpha as eX,backdropClasses as eJ,buttonClasses as eZ,cardActionsClasses as eQ,cardClasses as e0,cardContentClasses as e1,cardHeaderClasses as e2,createTheme as e3,css as e8,debounce as e4,dialogClasses as e6,drawerClasses as e5,formControlClasses as e9,iconButtonClasses as e7,inputBaseClasses as te,keyframes as tt,listClasses as tr,menuClasses as ti,menuItemClasses as to,outlinedInputClasses as tn,paperClasses as ta,selectClasses as tl,skeletonClasses as td,sliderClasses as ts,stepLabelClasses as tp,styled as tc,svgIconClasses as tg,switchClasses as th,tooltipClasses as tu,useMediaQuery as tm,useTheme as tf}from"@mui/material";import{mergeDeep as ty,prop as tx,uniqueBy as tb}from"remeda";import{clsx as t$}from"clsx";import{useFirstMountState as tv,useLocalStorage as tw}from"react-use";import{DayPicker as tC,DropdownNav as tk,MonthCaption as tS,Months as tz,Nav as tF}from"react-day-picker";import{ru as tM}from"react-day-picker/locale";import tT from"embla-carousel-react";import{useMask as tP}from"@react-input/mask";import{OTPInput as tA}from"input-otp";import{Toaster as tD,toast as tI}from"sonner";import{Controller as tO,FormProvider as tE,useController as tL,useFieldArray as tR,useForm as tB,useFormContext as tN,useWatch as tW}from"react-hook-form";let t_={values:{xs:0,sm:600,md:900,lg:1200,xl:1536}};var tH,tj,tV,tG,tU,tY,tK,tq,tX,tJ,tZ,tQ,t0,t1,t2,t3,t8=((tH={}).medium="medium",tH.small="small",tH);let t4="button-loading";var t6=((tj={}).Error="error",tj.Success="success",tj.Warning="warning",tj.Primary="primary",tj),t5=((tV={}).Contained="contained",tV.Light="light",tV.Text="text",tV.Link="link",tV),t9=((tG={}).Small="small",tG.Medium="medium",tG.Large="large",tG),t7=((tU={}).Default="default",tU.Active="active",tU.Focus="focus",tU.Hover="hover",tU);let re=e=>{let{size:r}=(({size:e})=>({size:"small"===e?16:24}))({...e}),{size:i,color:o,...n}=e;return t(en,{...n,size:r,color:"inherit","data-color":o})},rt=tc(X)`
2
- min-width: ${({variant:e})=>e===t5.Link?"auto":""};
3
- padding: ${({variant:e})=>e===t5.Link?0:""};
1
+ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Children as o,Component as n,Fragment as a,createContext as l,createElement as d,forwardRef as s,useCallback as p,useContext as c,useEffect as g,useId as h,useLayoutEffect as u,useMemo as m,useRef as f,useState as y}from"react";import{ArrowDownNarrowWide as x,ArrowDownToLine as b,ArrowDownUp as $,ArrowDownWideNarrow as v,Calendar1 as w,ChevronDown as C,ChevronLeft as k,ChevronRight as S,ChevronUp as z,ChevronsUpDown as F,CircleCheck as P,CircleX as M,Copy as T,Ellipsis as A,EllipsisVertical as I,Info as D,OctagonAlert as O,PanelLeftClose as L,PanelLeftOpen as B,Search as R,Square as E,SquareArrowOutUpRight as N,SquareCheck as W,SquareMinus as _,TriangleAlert as H,X as j}from"lucide-react";import{Alert as V,AlertTitle as G,Autocomplete as Y,Avatar as U,Badge as K,Breadcrumbs as q,Button as J,ButtonBase as X,ButtonGroup as Z,Card as Q,CardActions as ee,CardContent as et,CardHeader as er,Checkbox as ei,Chip as eo,CircularProgress as en,ClickAwayListener as ea,Collapse as el,CssBaseline as ed,Dialog as es,DialogActions as ep,DialogContent as ec,DialogContentText as eg,DialogTitle as eh,Divider as eu,Drawer as em,FormControl as ef,FormControlLabel as ey,FormHelperText as ex,FormLabel as eb,InputLabel as e$,LinearProgress as ev,Link as ew,List as eC,ListItem as ek,ListItemButton as eS,ListItemIcon as ez,ListItemText as eF,ListSubheader as eP,Menu as eM,MenuItem as eT,MenuList as eA,Pagination as eI,Paper as eD,Popover as eO,Popper as eL,Radio as eB,RadioGroup as eR,Select as eE,Skeleton as eN,Slider as eW,SvgIcon as e_,Switch as eH,Tab as ej,Tabs as eV,TextField as eG,ThemeProvider as eY,Tooltip as eU,Typography as eK,alertClasses as eq,alpha as eJ,backdropClasses as eX,buttonClasses as eZ,cardActionsClasses as eQ,cardClasses as e0,cardContentClasses as e1,cardHeaderClasses as e2,createTheme as e3,css as e8,debounce as e4,dialogClasses as e6,drawerClasses as e5,formControlClasses as e9,iconButtonClasses as e7,inputBaseClasses as te,keyframes as tt,listClasses as tr,menuClasses as ti,menuItemClasses as to,outlinedInputClasses as tn,paperClasses as ta,selectClasses as tl,skeletonClasses as td,sliderClasses as ts,stepLabelClasses as tp,styled as tc,svgIconClasses as tg,switchClasses as th,tooltipClasses as tu,useMediaQuery as tm,useTheme as tf}from"@mui/material";import{mergeDeep as ty,prop as tx,uniqueBy as tb}from"remeda";import{clsx as t$}from"clsx";import{useFirstMountState as tv,useLocalStorage as tw}from"react-use";import{DayPicker as tC,DropdownNav as tk,MonthCaption as tS,Months as tz,Nav as tF}from"react-day-picker";import{ru as tP}from"react-day-picker/locale";import tM from"embla-carousel-react";import{useMask as tT}from"@react-input/mask";import{OTPInput as tA}from"input-otp";import{Toaster as tI,toast as tD}from"sonner";import{Controller as tO,FormProvider as tL,useController as tB,useFieldArray as tR,useForm as tE,useFormContext as tN,useWatch as tW}from"react-hook-form";let t_={values:{xs:0,sm:600,md:900,lg:1200,xl:1536}},tH="button-loading";var tj,tV,tG,tY,tU,tK,tq,tJ=((tj={}).Error="error",tj.Success="success",tj.Warning="warning",tj.Primary="primary",tj),tX=((tV={}).Contained="contained",tV.Light="light",tV.Text="text",tV.Link="link",tV),tZ=((tG={}).Small="small",tG.Medium="medium",tG.Large="large",tG),tQ=((tY={}).Default="default",tY.Active="active",tY.Focus="focus",tY.Hover="hover",tY);let t0=e=>{let{size:r}=(({size:e})=>({size:"small"===e?16:24}))({...e}),{size:i,color:o,...n}=e;return t(en,{...n,size:r,color:"inherit","data-color":o})},t1=tc(J)`
2
+ min-width: ${({variant:e})=>e===tX.Link?"auto":""};
3
+ padding: ${({variant:e})=>e===tX.Link?0:""};
4
4
 
5
5
  :active {
6
6
  box-shadow: none;
7
7
  }
8
- `,rr=tc(re)`
8
+ `,t2=tc(t0)`
9
9
  position: absolute;
10
- `;var ri=((tY={}).PRIMARY="primary",tY.INVERTED="inverted",tY);let ro=e=>{let{variant:i=t5.Contained,color:o=t6.Primary,loading:n,loadingIndicator:a,loadingPosition:l,disabled:d,children:s,className:p,...c}=e,{loadingIndicatorColor:g}=(({variant:e})=>({loadingIndicatorColor:m(()=>e!==t5.Contained?ri.PRIMARY:ri.INVERTED,[e])}))({variant:i});return r(rt,{variant:i,color:o,disabled:n||d,...c,className:t$(p,{[t4]:n}),children:[n&&t(rr,{color:g,size:"small"}),s]})},rn=({type:e,values:t,defaultValue:r})=>e&&t[e]||r,ra=({theme:e,variant:t,color:r,buttonState:i,selected:o})=>{let n={selected:{default:e.palette.grey["900"],hover:e.palette.grey["700"],active:e.palette.grey["800"],focus:e.palette.grey["900"]},light:{error:{default:e.palette.red["900"],hover:e.palette.red["900"],active:e.palette.red["800"],focus:e.palette.red["900"]},success:{default:e.palette.green["900"],hover:e.palette.green["900"],active:e.palette.green["800"],focus:e.palette.green["900"]},primary:{default:e.palette.grey["900"],hover:e.palette.grey["900"],active:e.palette.primary["800"],focus:e.palette.grey["900"]},warning:{default:e.palette.yellow["900"],hover:e.palette.yellow["900"],active:e.palette.yellow["800"],focus:e.palette.yellow["900"]}},contained:e.palette.primary.contrastText,text:{default:e.palette.grey["900"],hover:e.palette.grey["900"],active:e.palette.primary["800"],focus:e.palette.grey["900"]},link:{default:e.palette.primary["800"],hover:e.palette.primary["700"],active:e.palette.primary["900"],focus:e.palette.primary["800"]}};return o?t!==t5.Link?e.palette.primary.contrastText:n.selected[i]:t===t5.Contained?n.contained:t===t5.Light&&r?n.light[r][i]:t===t5.Text?n.text[i]:n.link[i]},rl=({selected:e,color:t,variant:r,buttonState:i,theme:o})=>{let n={selected:{default:o.palette.primary["900"],hover:o.palette.primary["700"],active:o.palette.primary["800"],focus:o.palette.primary["900"]},light:{error:{default:o.palette.red["100"],hover:o.palette.red["200"],active:o.palette.red["100"],focus:o.palette.red["100"]},success:{default:o.palette.green["100"],hover:o.palette.green["200"],active:o.palette.green["100"],focus:o.palette.green["100"]},primary:{default:o.palette.grey["100"],hover:o.palette.grey["200"],active:o.palette.grey["100"],focus:o.palette.grey["100"]},warning:{default:o.palette.yellow["100"],hover:o.palette.yellow["200"],active:o.palette.yellow["100"],focus:o.palette.yellow["100"]}},contained:{error:{default:o.palette.red["800"],hover:o.palette.red["700"],active:o.palette.red["900"],focus:o.palette.red["800"]},success:{default:o.palette.green["800"],hover:o.palette.green["700"],active:o.palette.green["900"],focus:o.palette.green["800"]},primary:{default:o.palette.primary["800"],hover:o.palette.primary["700"],active:o.palette.primary["900"],focus:o.palette.primary["800"]},warning:{default:o.palette.yellow["800"],hover:o.palette.yellow["700"],active:o.palette.yellow["900"],focus:o.palette.yellow["800"]}},text:{default:"transparent",hover:o.palette.grey["200"],active:o.palette.primary["100"],focus:"transparent"},link:"transparent"};return e&&r!==t5.Link?n.selected[i]:r===t5.Light&&t?n.light[t][i]:r===t5.Contained&&t?n.contained[t][i]:r===t5.Text?n.text[i]:n.link},rd=e=>e.replace("#","%23"),rs=e=>{let t=rd(e);return`url('data:image/svg+xml;utf8,<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M2 6L4.5 8.5L10 3.5" stroke="${t}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /></svg>')`},rp=e=>{let t=rd(e);return`url('data:image/svg+xml;utf8,<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M6.00005 5.41087L3.79463 3.20545C3.71605 3.12955 3.6108 3.08755 3.50155 3.0885C3.3923 3.08945 3.28779 3.13327 3.21054 3.21053C3.13329 3.28778 3.08947 3.39228 3.08852 3.50153C3.08757 3.61078 3.12957 3.71603 3.20546 3.79462L5.41088 6.00003L3.20546 8.20545C3.12957 8.28403 3.08757 8.38929 3.08852 8.49853C3.08947 8.60778 3.13329 8.71229 3.21054 8.78954C3.28779 8.86679 3.3923 8.91062 3.50155 8.91156C3.6108 8.91251 3.71605 8.87052 3.79463 8.79462L6.00005 6.5892L8.20546 8.79462C8.28405 8.87052 8.3893 8.91251 8.49855 8.91156C8.6078 8.91062 8.7123 8.86679 8.78956 8.78954C8.86681 8.71229 8.91063 8.60778 8.91158 8.49853C8.91253 8.38929 8.87053 8.28403 8.79463 8.20545L6.58921 6.00003L8.79463 3.79462C8.83443 3.75618 8.86617 3.7102 8.88801 3.65937C8.90984 3.60853 8.92134 3.55386 8.92182 3.49853C8.9223 3.44321 8.91176 3.38834 8.89081 3.33714C8.86986 3.28593 8.83892 3.23941 8.7998 3.20029C8.76067 3.16116 8.71415 3.13023 8.66294 3.10927C8.61174 3.08832 8.55687 3.07778 8.50155 3.07826C8.44622 3.07874 8.39155 3.09024 8.34071 3.11207C8.28988 3.13391 8.2439 3.16565 8.20546 3.20545L6.00005 5.41087Z" fill="${t}" stroke="${t}" stroke-width="1.5" /></svg>')`},rc={MuiAlert:{styleOverrides:{root:({theme:e})=>({fontWeight:"400",padding:e.spacing(3),".MuiAlert-message > *:last-child:not(:empty):not(.MuiTypography-root)":{padding:e.spacing(3,0)},[e.breakpoints.up("sm")]:{padding:e.spacing(2,4),".MuiAlert-message > *:last-child:not(:empty):not(.MuiTypography-root)":{padding:0}}}),filledSuccess:({theme:e})=>({backgroundColor:e.palette.success.light,color:e.palette.text.primary,".MuiAlert-icon":{color:e.palette.green["900"]}}),filledError:({theme:e})=>({backgroundColor:e.palette.error.light,color:e.palette.text.primary,".MuiAlert-icon":{color:e.palette.red["900"]}}),filledWarning:({theme:e})=>({backgroundColor:e.palette.warning.light,color:e.palette.text.primary,".MuiAlert-icon":{color:e.palette.yellow["900"]}}),filledInfo:({theme:e})=>({backgroundColor:e.palette.primary["100"],color:e.palette.text.primary,".MuiAlert-icon":{color:e.palette.primary["900"]}}),action:({theme:e})=>({svg:{color:`${e.palette.text.primary} !important`}})}},MuiButton:{defaultProps:{disableRipple:!0},styleOverrides:{root({ownerState:e,theme:t}){var r;let i,o=e.variant,n=e.color,a=e.selected,l=e.size;return{height:rn({type:{size:l}.size,values:{[t9.Large]:"40px"},defaultValue:"32px"}),padding:rn({type:(i={theme:t,size:l}).size,values:{[t9.Large]:i.theme.spacing(2,4,2,4)},defaultValue:i.theme.spacing(1,3,1,3)}),[t.breakpoints.down("sm")]:{height:rn({type:{size:l}.size,values:{[t9.Small]:"36px"},defaultValue:"48px"}),padding:(r={size:l,theme:t,variant:o}).variant===t5.Link?"0":rn({type:r.size,values:{[t9.Small]:r.theme.spacing(2,3)},defaultValue:r.theme.spacing(4,3)}),whiteSpace:"nowrap"},color:ra({selected:a,theme:t,variant:o,color:n,buttonState:t7.Default}),fontWeight:t.typography.button.fontWeight,fontSize:t.typography.button.fontSize,fontFamily:'"Roboto Variable", "Roboto","Helvetica","Arial",sans-serif',backgroundColor:rl({selected:a,theme:t,color:n,variant:o,buttonState:t7.Default}),border:"none",borderRadius:t.shape.small,"&:hover":{color:ra({selected:a,theme:t,variant:o,color:n,buttonState:t7.Hover}),backgroundColor:rl({selected:a,color:n,variant:o,theme:t,buttonState:t7.Hover}),boxShadow:"none"},"&:active":{color:ra({selected:a,color:n,variant:o,theme:t,buttonState:t7.Active}),backgroundColor:rl({selected:a,color:n,variant:o,theme:t,buttonState:t7.Active}),outline:"none"},"&:focus-visible":{color:ra({selected:a,theme:t,variant:o,color:n,buttonState:t7.Focus}),backgroundColor:rl({selected:a,color:n,variant:o,theme:t,buttonState:t7.Focus}),outline:`2px solid ${t.palette.primary["400"]}`,boxShadow:"none"},[`&.${eZ.disabled}`]:{color:t.palette.grey["500"],backgroundColor:(({theme:e,variant:t})=>t5.Link===t||t5.Text===t?"transparent":e.palette.grey["200"])({theme:t,variant:o}),pointerEvents:"none",cursor:"unset"},[`&.${t4}`]:{color:"transparent",backgroundColor:rl({color:n,variant:o,theme:t,buttonState:t7.Default})},gap:t.spacing(1),textTransform:"none",boxShadow:"none",minWidth:"auto","&.MuiButton-root .MuiButton-startIcon":{marginRight:t.spacing(1)},"&.MuiButton-root .MuiButton-endIcon":{marginLeft:t.spacing(1)},"&.MuiButton-root .MuiSvgIcon-root":{fontSize:"24px"}}}}},MuiButtonBase:{defaultProps:{disableRipple:!0},styleOverrides:{root:({theme:e})=>({fontFamily:e.typography.fontFamily})}},MuiTypography:{variants:[{props:{variant:"button"},style:{textTransform:"capitalize"}}],defaultProps:{fontFamily:'"Roboto Variable", "Roboto","Helvetica","Arial",sans-serif'}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{root:({theme:e})=>({position:"relative",transform:"none",color:e.palette.grey[700],fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),lineHeight:e.typography.pxToRem(16),marginBottom:e.spacing(1),"&.Mui-focused":{color:e.palette.grey[700]},"&.Mui-error":{color:e.palette.grey[700]},"&.Mui-disabled":{color:e.palette.grey[600]}})}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:({theme:e})=>({fontSize:e.typography.pxToRem(14),borderRadius:e.shape.small,color:e.palette.grey[900],"&:hover":{"&.Mui-disabled":{background:e.palette.background.element}},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.grey[600]},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.background.element},"&.Mui-error .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.error.dark},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.primary[700]}}),input:({theme:e})=>({height:20,padding:e.spacing(2.5,2),borderRadius:e.shape.small,"&:disabled":{background:e.palette.background.element},"&::placeholder":{opacity:1,color:e.palette.grey[600]}}),inputSizeSmall:({theme:e})=>({paddingBlock:e.spacing(1.5),paddingInline:e.spacing(2)}),notchedOutline:({theme:e})=>({borderColor:e.palette.grey[300]}),multiline:()=>({padding:0}),inputMultiline:({theme:e})=>({padding:e.spacing(2)})}},MuiFormLabel:{styleOverrides:{root:()=>({position:"relative",transform:"none"})}},MuiFormHelperText:{styleOverrides:{root:({theme:e})=>({display:"flex",minHeight:e.typography.caption.lineHeight,fontSize:e.typography.caption.fontSize,margin:e.spacing(1,0,0),lineHeight:e.typography.caption.lineHeight,"&.Mui-error":{color:e.palette.error.dark}})}},MuiAutocomplete:{styleOverrides:{inputRoot:({theme:e,ownerState:{size:t}})=>({paddingTop:`${e.spacing(1)} !important`,paddingBottom:`${e.spacing(1)} !important`,paddingLeft:`${e.spacing(1)} !important`,minHeight:t===t8.small?"32px":"40px"}),input:({theme:e})=>({padding:"0 !important",paddingLeft:`${e.spacing(1)} !important`}),popupIndicator:({theme:e})=>({borderRadius:e.shape.small,display:"flex",alignItems:"center",width:32,height:32}),endAdornment:()=>({display:"flex",alignItems:"center",justifyContent:"flex-end"}),paper:({theme:e})=>({marginTop:e.spacing(2)}),noOptions:({theme:e})=>({padding:e.spacing(6,0,6,3),color:e.palette.grey["500"]}),clearIndicator:({theme:e})=>({width:32,height:32,padding:0,color:e.palette.primary.contrastText,"::before":{content:'""',position:"absolute",top:"50%",left:"50%",width:"0.6em",height:"0.6em",backgroundColor:e.palette.grey["500"],transform:"translate(-50%, -50%)",borderRadius:"50%"},".MuiSvgIcon-root":{position:"absolute",top:"50%",left:"50%",width:"0.6em",height:"0.6em",transform:"translate(-50%, -50%)",zIndex:1}}),loading:({theme:e})=>({display:"flex",justifyContent:"center",padding:e.spacing(6,0,6,0)})}},MuiCheckbox:{defaultProps:{disableRipple:!0}},MuiMenu:{defaultProps:{autoFocus:!1},styleOverrides:{paper:({theme:e})=>({marginTop:e.spacing(2),[`&&.${ta.root}`]:{borderRadius:e.shape.small,boxShadow:e.elevation[200]}}),list:({theme:e})=>({[`&&.${tr.root}`]:{padding:0},[`&&.${tr.padding}`]:{padding:e.spacing(1,0)}})}},MuiMenuItem:{styleOverrides:{root:({theme:e})=>({padding:e.spacing(2,2,2,3),"&:hover":{backgroundColor:e.palette.background.elementHover},[`&.${to.selected}`]:{background:`linear-gradient(90deg, ${e.palette.primary.main} 0, ${e.palette.primary.main} 4px, ${e.palette.primary["100"]} 4px)`},[`&.${to.gutters}`]:{minHeight:e.spacing(8),padding:e.spacing(1,3,1,3)},[e.breakpoints.down("sm")]:{padding:e.spacing(3,3,4,3),[`&.${to.gutters}`]:{padding:e.spacing(3,3,4,3)}}})}},MuiRadio:{defaultProps:{disableRipple:!0}},MuiDialog:{styleOverrides:{paper:({theme:e})=>({borderRadius:e.shape.small})}},MuiDialogTitle:{styleOverrides:{root:({theme:e})=>({padding:e.spacing(6,6,4),fontSize:e.typography.h4.fontSize,fontWeight:e.typography.h4.fontWeight,lineHeight:e.typography.h4.lineHeight,display:"flex",justifyContent:"space-between",alignItems:"center",[`& .${eZ.root}`]:{marginLeft:e.spacing(4),color:e.palette.grey[800]}})}},MuiDialogContent:{styleOverrides:{root:({theme:e})=>({padding:e.spacing(0,6)})}},MuiDialogActions:{styleOverrides:{root:({theme:e})=>({padding:e.spacing(4,6,6,6),">div":{width:"100%"}})}},MuiDrawer:{styleOverrides:{root:({theme:e})=>({[`&.${e5.root} > .${eJ.root}`]:{backgroundColor:e.palette.background.modalShadow}})}},MuiTableCell:{styleOverrides:{root:({theme:e})=>({border:"none",padding:e.spacing(1,4),height:44})}},MuiTableHead:{styleOverrides:{root:({theme:e})=>({th:{borderBottom:`2px solid ${e.palette.grey["300"]}`}})}},MuiTableRow:{styleOverrides:{root:({theme:e})=>({"&.MuiTableRow-hover:hover":{backgroundColor:e.palette.background.elementHover,cursor:"pointer"},"&.Mui-selected":{backgroundColor:e.palette.primary["100"]}})}},MuiPaginationItem:{styleOverrides:{root:({theme:e})=>({"&.Mui-selected":{backgroundColor:e.palette.grey["900"],color:e.palette.primary.contrastText}})}},MuiPaper:{styleOverrides:{elevation:({theme:e,ownerState:{elevation:t}})=>({boxShadow:0===t?"none":1===t?e.elevation["200"]:e.elevation["300"]}),outlined:({theme:e})=>({border:`1px solid ${e.palette.grey[300]}`})}},MuiCircularProgress:{styleOverrides:{root({ownerState:e,theme:t}){let{"data-color":r}=e;return{color:"primary"===r?t.palette.grey[900]:t.palette.primary.contrastText}}}},MuiListItemText:{styleOverrides:{root:()=>({overflow:"hidden",whiteSpace:"nowrap",textAlign:"left",textOverflow:"ellipsis"})}},MuiLinearProgress:{styleOverrides:{root:({theme:e})=>({width:"100%",borderRadius:"4px",backgroundColor:e.palette.grey[300]}),barColorPrimary:({theme:e})=>({backgroundColor:e.palette.primary["800"]})}},MuiTab:{styleOverrides:{root:({theme:e})=>({minWidth:0,padding:e.spacing(0,2),textTransform:"none"})}},MuiTabs:{styleOverrides:{root:()=>({minHeight:38,height:38}),indicator:({theme:e})=>({borderRadius:e.shape.small,backgroundColor:e.palette.primary[700]})}},MuiStepLabel:{styleOverrides:{label({theme:e}){let{active:t,completed:r,error:i}=tp;return{fontSize:e.typography.fontSize,lineHeight:e.typography.caption.lineHeight,fontWeight:e.typography.caption.fontWeight,color:e.palette.grey[700],[`&.${t}, &.${r}, &.${i}`]:{color:e.palette.grey[900],fontSize:e.typography.caption.fontSize,lineHeight:e.typography.caption.lineHeight,fontWeight:e.typography.caption.fontWeight}}},iconContainer:({theme:e})=>({paddingRight:e.spacing(2.5)})}},MuiStep:{styleOverrides:{horizontal:({theme:e})=>({"&:first-of-type":{paddingLeft:0},padding:e.spacing(0,2.5)})}},MuiStepConnector:{styleOverrides:{lineHorizontal:({theme:e})=>({borderTopWidth:2,borderColor:e.palette.grey[300]})}},MuiToggleButtonGroup:{defaultProps:{size:"small",color:"primary"}},MuiToggleButton:{styleOverrides:{root:({theme:e})=>({textTransform:"initial",padding:e.spacing(1,2)})}},MuiTextField:{styleOverrides:{root:({theme:e})=>({[`& .${te.adornedStart}`]:{paddingLeft:e.spacing(2)},[`& .${te.adornedEnd}`]:{paddingRight:e.spacing(2)},[`& .${te.inputAdornedStart}`]:{paddingLeft:e.spacing(1)},[`& .${tn.notchedOutline}`]:{top:-4.5}})}},MuiSwitch:{styleOverrides:{root:({theme:e})=>({width:"fit-content",height:"fit-content",padding:e.spacing(1),"& .Mui-checked.MuiSwitch-switchBase":{padding:0,"& + .MuiSwitch-track":{backgroundColor:e.palette.primary.main[800],opacity:1}},"& :not(.Mui-checked).MuiSwitch-switchBase":{padding:0,"& + .MuiSwitch-track":{backgroundColor:e.palette.grey[600],opacity:1}},"& .Mui-checked:hover + .MuiSwitch-track":{backgroundColor:e.palette.primary[700]},"& :not(.Mui-checked):hover + .MuiSwitch-track":{backgroundColor:e.palette.grey[500]},"& .MuiButtonBase-root.MuiSwitch-switchBase.Mui-disabled":{"& + .MuiSwitch-track":{backgroundColor:e.palette.grey[200],"&::before":{backgroundImage:rs(e.palette.grey[500])},"&::after":{backgroundImage:rp(e.palette.grey[500])}}},"& :not(.Mui-disabled):active + .MuiSwitch-track":{border:`2px solid ${e.palette.primary[400]}`}}),switchBase:{padding:0,"&:hover, &.Mui-checked:hover":{backgroundColor:"transparent"}},track:({theme:e})=>({borderRadius:10,boxSizing:"border-box","&::before, &::after":{position:"absolute",top:"50%",transform:"translateY(-50%)",content:'""',backgroundSize:"cover"},"&::before":{left:e.spacing(2),backgroundImage:rs(e.palette.background.default)},"&::after":{right:e.spacing(2),backgroundImage:rp(e.palette.background.default)}}),thumb:({theme:e})=>({backgroundColor:e.palette.background.default,boxShadow:"none",margin:e.spacing(1.5)}),sizeSmall:{"& .MuiSwitch-track":{width:32,height:16,"&::before, &::after":{width:8,height:8}},"& .MuiSwitch-thumb":{width:12,height:12}},sizeMedium:{"& .MuiSwitch-track":{width:40,height:20,"&::before, &::after":{width:12,height:12}},"& .MuiSwitch-thumb":{width:16,height:16}}}}},rg=4,rh={100:"0px 0px 1px 0px #072D574F, 0px 1px 1px 0px #072D5740;",200:"0px 0px 1px 0px #072D574F, 0px 3px 5px 0px #072D5733;",300:"0px 0px 1px 0px #072D574F, 0px 8px 12px 0px #072D5726;",400:"0px 0px 1px 0px #072D574F, 0px 10px 18px 0px #072D5726;",500:"0px 0px 1px 0px #072D574F, 0px 18px 28px 0px #072D5726;"},ru={link:{main:"#1874FF",hover:"#268FF9",visited:"#762376",active:"#072D57"}},rm=()=>{let e={900:"#1D3557",800:"#354C6C",700:"#4D6281",600:"#657996",500:"#7D90AB",400:"#94A6C0",300:"#ACBDD5",200:"#C4D3EA",100:"#DCEAFF"},t={800:"#1D3557"};return{red:{900:"#E64343",800:"#F24646",700:"#F35959",600:"#F67E7E",500:"#F79090",400:"#F8A3A3",300:"#FAB5B5",200:"#FCDADA",100:"#FEEDED"},green:{900:"#008055",800:"#00875A",700:"#19936A",600:"#4DAB8C",500:"#66B79C",400:"#80C3AC",300:"#99CFBD",200:"#CCE7DE",100:"#E6F3EF"},yellow:{900:"#ED8000",800:"#F98700",700:"#FA961F",600:"#FBAB4D",500:"#FBB766",400:"#FDCF99",300:"#FDDBB2",200:"#FBE6CC",100:"#FEF3E6"},grey:{900:"#212529",800:"#343A40",700:"#495057",600:"#6C757D",500:"#ADB5BD",400:"#CED4DA",300:"#DEE2E6",200:"#E9ECEF",100:"#F8F9FA"},primary:{main:e[800],dark:e[900],contrastText:"#FFF",...e},secondary:{main:t[800],dark:e[900],contrastText:"#FFF",...t},background:{default:"#FFF",paper:"#FFF",element:"#FAFBFC",elementHover:"#EEF1F4",modalShadow:"#142A438A"},get text(){return{primary:this.grey[900],secondary:this.grey[700],disabled:this.grey[500]}},get info(){return this.primary},get warning(){return{...this.yellow,light:this.yellow[100],main:this.yellow[600],dark:this.yellow[800],contrastText:"#FFF"}},get success(){return{...this.green,light:this.green[100],main:this.green[600],dark:this.green[800],contrastText:"#FFF"}},get error(){return{...this.red,light:this.red[100],main:this.red[600],dark:this.red[800],contrastText:"#FFF"}},components:ru}},rf={small:"3px",medium:"6px",large:"9px"},ry=e=>{let t=e?.options||{},r=e3({breakpoints:e?.breakpoints||t_,spacing:rg,palette:rm(),components:rc,shape:rf,elevation:rh});return ty(r,{elevation:rh,shape:rf,typography:{h1:{fontSize:"36px",fontWeight:r.typography.fontWeightMedium,lineHeight:"40px"},h2:{fontSize:"28px",fontWeight:r.typography.fontWeightMedium,lineHeight:"32px",[r.breakpoints.down("sm")]:{fontSize:"32px",lineHeight:"40px"}},h3:{fontSize:"24px",fontWeight:r.typography.fontWeightMedium,lineHeight:"28px",[r.breakpoints.down("sm")]:{fontSize:"28px",lineHeight:"36px"}},h4:{fontSize:"20px",fontWeight:r.typography.fontWeightMedium,lineHeight:"24px",[r.breakpoints.down("sm")]:{fontSize:"24px",lineHeight:"28px"}},h5:{fontSize:"16px",fontWeight:r.typography.fontWeightMedium,lineHeight:"20px",[r.breakpoints.down("sm")]:{fontSize:"18px",lineHeight:"20px"}},h6:{fontSize:"14px",fontWeight:r.typography.fontWeightMedium,lineHeight:"20px",[r.breakpoints.down("sm")]:{fontSize:"16px",lineHeight:"20px"}},subtitle1:{fontSize:"16px",fontWeight:r.typography.fontWeightRegular,lineHeight:"20px",[r.breakpoints.down("sm")]:{fontSize:"18px"}},subtitle2:{fontSize:"14px",fontWeight:r.typography.fontWeightMedium,lineHeight:"20px",[r.breakpoints.down("sm")]:{fontSize:"16px"}},body1:{fontSize:"14px",fontWeight:r.typography.fontWeightRegular,lineHeight:"20px",[r.breakpoints.down("sm")]:{fontSize:"16px"}},button:{fontSize:"14px",fontWeight:r.typography.fontWeightMedium,lineHeight:"24px",[r.breakpoints.down("sm")]:{fontSize:"16px"}},caption:{fontSize:"12px",fontWeight:r.typography.fontWeightRegular,lineHeight:"16px",[r.breakpoints.down("sm")]:{fontSize:"14px"}}},...t})},rx=tc(C,{shouldForwardProp:e=>"isActive"!==e})`
10
+ `,t3=e=>{let{variant:i=tX.Contained,color:o=tJ.Primary,loading:n,loadingIndicator:a,loadingPosition:l,disabled:d,children:s,className:p,...c}=e,{loadingIndicatorColor:g}=(({variant:e})=>({loadingIndicatorColor:m(()=>e!==tX.Contained?"primary":"inverted",[e])}))({variant:i});return r(t1,{variant:i,color:o,disabled:n||d,...c,className:t$(p,{[tH]:n}),children:[n&&t(t2,{color:g,size:"small"}),s]})},t8=({type:e,values:t,defaultValue:r})=>e&&t[e]||r,t4=({theme:e,variant:t,color:r,buttonState:i,selected:o})=>{let n={selected:{default:e.palette.grey["900"],hover:e.palette.grey["700"],active:e.palette.grey["800"],focus:e.palette.grey["900"]},light:{error:{default:e.palette.red["900"],hover:e.palette.red["900"],active:e.palette.red["800"],focus:e.palette.red["900"]},success:{default:e.palette.green["900"],hover:e.palette.green["900"],active:e.palette.green["800"],focus:e.palette.green["900"]},primary:{default:e.palette.grey["900"],hover:e.palette.grey["900"],active:e.palette.primary["800"],focus:e.palette.grey["900"]},warning:{default:e.palette.yellow["900"],hover:e.palette.yellow["900"],active:e.palette.yellow["800"],focus:e.palette.yellow["900"]}},contained:e.palette.primary.contrastText,text:{default:e.palette.grey["900"],hover:e.palette.grey["900"],active:e.palette.primary["800"],focus:e.palette.grey["900"]},link:{default:e.palette.primary["800"],hover:e.palette.primary["700"],active:e.palette.primary["900"],focus:e.palette.primary["800"]}};return o?t!==tX.Link?e.palette.primary.contrastText:n.selected[i]:t===tX.Contained?n.contained:t===tX.Light&&r?n.light[r][i]:t===tX.Text?n.text[i]:n.link[i]},t6=({selected:e,color:t,variant:r,buttonState:i,theme:o})=>{let n={selected:{default:o.palette.primary["900"],hover:o.palette.primary["700"],active:o.palette.primary["800"],focus:o.palette.primary["900"]},light:{error:{default:o.palette.red["100"],hover:o.palette.red["200"],active:o.palette.red["100"],focus:o.palette.red["100"]},success:{default:o.palette.green["100"],hover:o.palette.green["200"],active:o.palette.green["100"],focus:o.palette.green["100"]},primary:{default:o.palette.grey["100"],hover:o.palette.grey["200"],active:o.palette.grey["100"],focus:o.palette.grey["100"]},warning:{default:o.palette.yellow["100"],hover:o.palette.yellow["200"],active:o.palette.yellow["100"],focus:o.palette.yellow["100"]}},contained:{error:{default:o.palette.red["800"],hover:o.palette.red["700"],active:o.palette.red["900"],focus:o.palette.red["800"]},success:{default:o.palette.green["800"],hover:o.palette.green["700"],active:o.palette.green["900"],focus:o.palette.green["800"]},primary:{default:o.palette.primary["800"],hover:o.palette.primary["700"],active:o.palette.primary["900"],focus:o.palette.primary["800"]},warning:{default:o.palette.yellow["800"],hover:o.palette.yellow["700"],active:o.palette.yellow["900"],focus:o.palette.yellow["800"]}},text:{default:"transparent",hover:o.palette.grey["200"],active:o.palette.primary["100"],focus:"transparent"},link:"transparent"};return e&&r!==tX.Link?n.selected[i]:r===tX.Light&&t?n.light[t][i]:r===tX.Contained&&t?n.contained[t][i]:r===tX.Text?n.text[i]:n.link},t5=e=>e.replace("#","%23"),t9=e=>{let t=t5(e);return`url('data:image/svg+xml;utf8,<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M2 6L4.5 8.5L10 3.5" stroke="${t}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /></svg>')`},t7=e=>{let t=t5(e);return`url('data:image/svg+xml;utf8,<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M6.00005 5.41087L3.79463 3.20545C3.71605 3.12955 3.6108 3.08755 3.50155 3.0885C3.3923 3.08945 3.28779 3.13327 3.21054 3.21053C3.13329 3.28778 3.08947 3.39228 3.08852 3.50153C3.08757 3.61078 3.12957 3.71603 3.20546 3.79462L5.41088 6.00003L3.20546 8.20545C3.12957 8.28403 3.08757 8.38929 3.08852 8.49853C3.08947 8.60778 3.13329 8.71229 3.21054 8.78954C3.28779 8.86679 3.3923 8.91062 3.50155 8.91156C3.6108 8.91251 3.71605 8.87052 3.79463 8.79462L6.00005 6.5892L8.20546 8.79462C8.28405 8.87052 8.3893 8.91251 8.49855 8.91156C8.6078 8.91062 8.7123 8.86679 8.78956 8.78954C8.86681 8.71229 8.91063 8.60778 8.91158 8.49853C8.91253 8.38929 8.87053 8.28403 8.79463 8.20545L6.58921 6.00003L8.79463 3.79462C8.83443 3.75618 8.86617 3.7102 8.88801 3.65937C8.90984 3.60853 8.92134 3.55386 8.92182 3.49853C8.9223 3.44321 8.91176 3.38834 8.89081 3.33714C8.86986 3.28593 8.83892 3.23941 8.7998 3.20029C8.76067 3.16116 8.71415 3.13023 8.66294 3.10927C8.61174 3.08832 8.55687 3.07778 8.50155 3.07826C8.44622 3.07874 8.39155 3.09024 8.34071 3.11207C8.28988 3.13391 8.2439 3.16565 8.20546 3.20545L6.00005 5.41087Z" fill="${t}" stroke="${t}" stroke-width="1.5" /></svg>')`},re={MuiAlert:{styleOverrides:{root:({theme:e})=>({fontWeight:"400",padding:e.spacing(3),".MuiAlert-message > *:last-child:not(:empty):not(.MuiTypography-root)":{padding:e.spacing(3,0)},[e.breakpoints.up("sm")]:{padding:e.spacing(2,4),".MuiAlert-message > *:last-child:not(:empty):not(.MuiTypography-root)":{padding:0}}}),filledSuccess:({theme:e})=>({backgroundColor:e.palette.success.light,color:e.palette.text.primary,".MuiAlert-icon":{color:e.palette.green["900"]}}),filledError:({theme:e})=>({backgroundColor:e.palette.error.light,color:e.palette.text.primary,".MuiAlert-icon":{color:e.palette.red["900"]}}),filledWarning:({theme:e})=>({backgroundColor:e.palette.warning.light,color:e.palette.text.primary,".MuiAlert-icon":{color:e.palette.yellow["900"]}}),filledInfo:({theme:e})=>({backgroundColor:e.palette.primary["100"],color:e.palette.text.primary,".MuiAlert-icon":{color:e.palette.primary["900"]}}),action:({theme:e})=>({svg:{color:`${e.palette.text.primary} !important`}})}},MuiButton:{defaultProps:{disableRipple:!0},styleOverrides:{root({ownerState:e,theme:t}){var r;let i,o=e.variant,n=e.color,a=e.selected,l=e.size;return{height:t8({type:{size:l}.size,values:{[tZ.Large]:"40px"},defaultValue:"32px"}),padding:t8({type:(i={theme:t,size:l}).size,values:{[tZ.Large]:i.theme.spacing(2,4,2,4)},defaultValue:i.theme.spacing(1,3,1,3)}),[t.breakpoints.down("sm")]:{height:t8({type:{size:l}.size,values:{[tZ.Small]:"36px"},defaultValue:"48px"}),padding:(r={size:l,theme:t,variant:o}).variant===tX.Link?"0":t8({type:r.size,values:{[tZ.Small]:r.theme.spacing(2,3)},defaultValue:r.theme.spacing(4,3)}),whiteSpace:"nowrap"},color:t4({selected:a,theme:t,variant:o,color:n,buttonState:tQ.Default}),fontWeight:t.typography.button.fontWeight,fontSize:t.typography.button.fontSize,fontFamily:'"Roboto Variable", "Roboto","Helvetica","Arial",sans-serif',backgroundColor:t6({selected:a,theme:t,color:n,variant:o,buttonState:tQ.Default}),border:"none",borderRadius:t.shape.small,"&:hover":{color:t4({selected:a,theme:t,variant:o,color:n,buttonState:tQ.Hover}),backgroundColor:t6({selected:a,color:n,variant:o,theme:t,buttonState:tQ.Hover}),boxShadow:"none"},"&:active":{color:t4({selected:a,color:n,variant:o,theme:t,buttonState:tQ.Active}),backgroundColor:t6({selected:a,color:n,variant:o,theme:t,buttonState:tQ.Active}),outline:"none"},"&:focus-visible":{color:t4({selected:a,theme:t,variant:o,color:n,buttonState:tQ.Focus}),backgroundColor:t6({selected:a,color:n,variant:o,theme:t,buttonState:tQ.Focus}),outline:`2px solid ${t.palette.primary["400"]}`,boxShadow:"none"},[`&.${eZ.disabled}`]:{color:t.palette.grey["500"],backgroundColor:(({theme:e,variant:t})=>tX.Link===t||tX.Text===t?"transparent":e.palette.grey["200"])({theme:t,variant:o}),pointerEvents:"none",cursor:"unset"},[`&.${tH}`]:{color:"transparent",backgroundColor:t6({color:n,variant:o,theme:t,buttonState:tQ.Default})},gap:t.spacing(1),textTransform:"none",boxShadow:"none",minWidth:"auto","&.MuiButton-root .MuiButton-startIcon":{marginRight:t.spacing(1)},"&.MuiButton-root .MuiButton-endIcon":{marginLeft:t.spacing(1)},"&.MuiButton-root .MuiSvgIcon-root":{fontSize:"24px"}}}}},MuiButtonBase:{defaultProps:{disableRipple:!0},styleOverrides:{root:({theme:e})=>({fontFamily:e.typography.fontFamily})}},MuiTypography:{variants:[{props:{variant:"button"},style:{textTransform:"capitalize"}}],defaultProps:{fontFamily:'"Roboto Variable", "Roboto","Helvetica","Arial",sans-serif'}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{root:({theme:e})=>({position:"relative",transform:"none",color:e.palette.grey[700],fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),lineHeight:e.typography.pxToRem(16),marginBottom:e.spacing(1),"&.Mui-focused":{color:e.palette.grey[700]},"&.Mui-error":{color:e.palette.grey[700]},"&.Mui-disabled":{color:e.palette.grey[600]}})}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:({theme:e})=>({fontSize:e.typography.pxToRem(14),borderRadius:e.shape.small,color:e.palette.grey[900],"&:hover":{"&.Mui-disabled":{background:e.palette.background.element}},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.grey[600]},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.background.element},"&.Mui-error .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.error.dark},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.primary[700]}}),input:({theme:e})=>({height:20,padding:e.spacing(2.5,2),borderRadius:e.shape.small,"&:disabled":{background:e.palette.background.element},"&::placeholder":{opacity:1,color:e.palette.grey[600]}}),inputSizeSmall:({theme:e})=>({paddingBlock:e.spacing(1.5),paddingInline:e.spacing(2)}),notchedOutline:({theme:e})=>({borderColor:e.palette.grey[300]}),multiline:()=>({padding:0}),inputMultiline:({theme:e})=>({padding:e.spacing(2)})}},MuiFormLabel:{styleOverrides:{root:()=>({position:"relative",transform:"none"})}},MuiFormHelperText:{styleOverrides:{root:({theme:e})=>({display:"flex",minHeight:e.typography.caption.lineHeight,fontSize:e.typography.caption.fontSize,margin:e.spacing(1,0,0),lineHeight:e.typography.caption.lineHeight,"&.Mui-error":{color:e.palette.error.dark}})}},MuiAutocomplete:{styleOverrides:{inputRoot:({theme:e,ownerState:{size:t}})=>({paddingTop:`${e.spacing(1)} !important`,paddingBottom:`${e.spacing(1)} !important`,paddingLeft:`${e.spacing(1)} !important`,minHeight:"small"===t?"32px":"40px"}),input:({theme:e})=>({padding:"0 !important",paddingLeft:`${e.spacing(1)} !important`}),popupIndicator:({theme:e})=>({borderRadius:e.shape.small,display:"flex",alignItems:"center",width:32,height:32}),endAdornment:()=>({display:"flex",alignItems:"center",justifyContent:"flex-end"}),paper:({theme:e})=>({marginTop:e.spacing(2)}),noOptions:({theme:e})=>({padding:e.spacing(6,0,6,3),color:e.palette.grey["500"]}),clearIndicator:({theme:e})=>({width:32,height:32,padding:0,color:e.palette.primary.contrastText,"::before":{content:'""',position:"absolute",top:"50%",left:"50%",width:"0.6em",height:"0.6em",backgroundColor:e.palette.grey["500"],transform:"translate(-50%, -50%)",borderRadius:"50%"},".MuiSvgIcon-root":{position:"absolute",top:"50%",left:"50%",width:"0.6em",height:"0.6em",transform:"translate(-50%, -50%)",zIndex:1}}),loading:({theme:e})=>({display:"flex",justifyContent:"center",padding:e.spacing(6,0,6,0)})}},MuiCheckbox:{defaultProps:{disableRipple:!0}},MuiMenu:{defaultProps:{autoFocus:!1},styleOverrides:{paper:({theme:e})=>({marginTop:e.spacing(2),[`&&.${ta.root}`]:{borderRadius:e.shape.small,boxShadow:e.elevation[200]}}),list:({theme:e})=>({[`&&.${tr.root}`]:{padding:0},[`&&.${tr.padding}`]:{padding:e.spacing(1,0)}})}},MuiMenuItem:{styleOverrides:{root:({theme:e})=>({padding:e.spacing(2,2,2,3),"&:hover":{backgroundColor:e.palette.background.elementHover},[`&.${to.selected}`]:{background:`linear-gradient(90deg, ${e.palette.primary.main} 0, ${e.palette.primary.main} 4px, ${e.palette.primary["100"]} 4px)`},[`&.${to.gutters}`]:{minHeight:e.spacing(8),padding:e.spacing(1,3,1,3)},[e.breakpoints.down("sm")]:{padding:e.spacing(3,3,4,3),[`&.${to.gutters}`]:{padding:e.spacing(3,3,4,3)}}})}},MuiRadio:{defaultProps:{disableRipple:!0}},MuiDialog:{styleOverrides:{paper:({theme:e})=>({borderRadius:e.shape.small})}},MuiDialogTitle:{styleOverrides:{root:({theme:e})=>({padding:e.spacing(6,6,4),fontSize:e.typography.h4.fontSize,fontWeight:e.typography.h4.fontWeight,lineHeight:e.typography.h4.lineHeight,display:"flex",justifyContent:"space-between",alignItems:"center",[`& .${eZ.root}`]:{marginLeft:e.spacing(4),color:e.palette.grey[800]}})}},MuiDialogContent:{styleOverrides:{root:({theme:e})=>({padding:e.spacing(0,6)})}},MuiDialogActions:{styleOverrides:{root:({theme:e})=>({padding:e.spacing(4,6,6,6),">div":{width:"100%"}})}},MuiDrawer:{styleOverrides:{root:({theme:e})=>({[`&.${e5.root} > .${eX.root}`]:{backgroundColor:e.palette.background.modalShadow}})}},MuiTableCell:{styleOverrides:{root:({theme:e})=>({border:"none",padding:e.spacing(1,4),height:44})}},MuiTableHead:{styleOverrides:{root:({theme:e})=>({th:{borderBottom:`2px solid ${e.palette.grey["300"]}`}})}},MuiTableRow:{styleOverrides:{root:({theme:e})=>({"&.MuiTableRow-hover:hover":{backgroundColor:e.palette.background.elementHover,cursor:"pointer"},"&.Mui-selected":{backgroundColor:e.palette.primary["100"]}})}},MuiPaginationItem:{styleOverrides:{root:({theme:e})=>({"&.Mui-selected":{backgroundColor:e.palette.grey["900"],color:e.palette.primary.contrastText}})}},MuiPaper:{styleOverrides:{elevation:({theme:e,ownerState:{elevation:t}})=>({boxShadow:0===t?"none":1===t?e.elevation["200"]:e.elevation["300"]}),outlined:({theme:e})=>({border:`1px solid ${e.palette.grey[300]}`})}},MuiCircularProgress:{styleOverrides:{root({ownerState:e,theme:t}){let{"data-color":r}=e;return{color:"primary"===r?t.palette.grey[900]:t.palette.primary.contrastText}}}},MuiListItemText:{styleOverrides:{root:()=>({overflow:"hidden",whiteSpace:"nowrap",textAlign:"left",textOverflow:"ellipsis"})}},MuiLinearProgress:{styleOverrides:{root:({theme:e})=>({width:"100%",borderRadius:"4px",backgroundColor:e.palette.grey[300]}),barColorPrimary:({theme:e})=>({backgroundColor:e.palette.primary["800"]})}},MuiTab:{styleOverrides:{root:({theme:e})=>({minWidth:0,padding:e.spacing(0,2),textTransform:"none"})}},MuiTabs:{styleOverrides:{root:()=>({minHeight:38,height:38}),indicator:({theme:e})=>({borderRadius:e.shape.small,backgroundColor:e.palette.primary[700]})}},MuiStepLabel:{styleOverrides:{label({theme:e}){let{active:t,completed:r,error:i}=tp;return{fontSize:e.typography.fontSize,lineHeight:e.typography.caption.lineHeight,fontWeight:e.typography.caption.fontWeight,color:e.palette.grey[700],[`&.${t}, &.${r}, &.${i}`]:{color:e.palette.grey[900],fontSize:e.typography.caption.fontSize,lineHeight:e.typography.caption.lineHeight,fontWeight:e.typography.caption.fontWeight}}},iconContainer:({theme:e})=>({paddingRight:e.spacing(2.5)})}},MuiStep:{styleOverrides:{horizontal:({theme:e})=>({"&:first-of-type":{paddingLeft:0},padding:e.spacing(0,2.5)})}},MuiStepConnector:{styleOverrides:{lineHorizontal:({theme:e})=>({borderTopWidth:2,borderColor:e.palette.grey[300]})}},MuiToggleButtonGroup:{defaultProps:{size:"small",color:"primary"}},MuiToggleButton:{styleOverrides:{root:({theme:e})=>({textTransform:"initial",padding:e.spacing(1,2)})}},MuiTextField:{styleOverrides:{root:({theme:e})=>({[`& .${te.adornedStart}`]:{paddingLeft:e.spacing(2)},[`& .${te.adornedEnd}`]:{paddingRight:e.spacing(2)},[`& .${te.inputAdornedStart}`]:{paddingLeft:e.spacing(1)},[`& .${tn.notchedOutline}`]:{top:-4.5}})}},MuiSwitch:{styleOverrides:{root:({theme:e})=>({width:"fit-content",height:"fit-content",padding:e.spacing(1),"& .Mui-checked.MuiSwitch-switchBase":{padding:0,"& + .MuiSwitch-track":{backgroundColor:e.palette.primary.main[800],opacity:1}},"& :not(.Mui-checked).MuiSwitch-switchBase":{padding:0,"& + .MuiSwitch-track":{backgroundColor:e.palette.grey[600],opacity:1}},"& .Mui-checked:hover + .MuiSwitch-track":{backgroundColor:e.palette.primary[700]},"& :not(.Mui-checked):hover + .MuiSwitch-track":{backgroundColor:e.palette.grey[500]},"& .MuiButtonBase-root.MuiSwitch-switchBase.Mui-disabled":{"& + .MuiSwitch-track":{backgroundColor:e.palette.grey[200],"&::before":{backgroundImage:t9(e.palette.grey[500])},"&::after":{backgroundImage:t7(e.palette.grey[500])}}},"& :not(.Mui-disabled):active + .MuiSwitch-track":{border:`2px solid ${e.palette.primary[400]}`}}),switchBase:{padding:0,"&:hover, &.Mui-checked:hover":{backgroundColor:"transparent"}},track:({theme:e})=>({borderRadius:10,boxSizing:"border-box","&::before, &::after":{position:"absolute",top:"50%",transform:"translateY(-50%)",content:'""',backgroundSize:"cover"},"&::before":{left:e.spacing(2),backgroundImage:t9(e.palette.background.default)},"&::after":{right:e.spacing(2),backgroundImage:t7(e.palette.background.default)}}),thumb:({theme:e})=>({backgroundColor:e.palette.background.default,boxShadow:"none",margin:e.spacing(1.5)}),sizeSmall:{"& .MuiSwitch-track":{width:32,height:16,"&::before, &::after":{width:8,height:8}},"& .MuiSwitch-thumb":{width:12,height:12}},sizeMedium:{"& .MuiSwitch-track":{width:40,height:20,"&::before, &::after":{width:12,height:12}},"& .MuiSwitch-thumb":{width:16,height:16}}}}},rt=4,rr={100:"0px 0px 1px 0px #072D574F, 0px 1px 1px 0px #072D5740;",200:"0px 0px 1px 0px #072D574F, 0px 3px 5px 0px #072D5733;",300:"0px 0px 1px 0px #072D574F, 0px 8px 12px 0px #072D5726;",400:"0px 0px 1px 0px #072D574F, 0px 10px 18px 0px #072D5726;",500:"0px 0px 1px 0px #072D574F, 0px 18px 28px 0px #072D5726;"},ri={link:{main:"#1874FF",hover:"#268FF9",visited:"#762376",active:"#072D57"}},ro=()=>{let e={900:"hsl(240 5.9% 10%)",800:"hsl(240 3.7% 15.9%)",700:"hsl(240 5.3% 26.1%)",600:"hsl(240 5.2% 33.9%)",500:"hsl(240 3.8% 46.1%)",400:"hsl(240 5% 64.9%)",300:"hsl(240 4.9% 83.9%)",200:"hsl(240 5.9% 90%)",100:"hsl(240 4.8% 95.9%)"},t={800:"hsl(240 5.3% 26.1%)"};return{red:{900:"#E64343",800:"#F24646",700:"#F35959",600:"#F67E7E",500:"#F79090",400:"#F8A3A3",300:"#FAB5B5",200:"#FCDADA",100:"#FEEDED"},green:{900:"#008055",800:"#00875A",700:"#19936A",600:"#4DAB8C",500:"#66B79C",400:"#80C3AC",300:"#99CFBD",200:"#CCE7DE",100:"#E6F3EF"},yellow:{900:"#ED8000",800:"#F98700",700:"#FA961F",600:"#FBAB4D",500:"#FBB766",400:"#FDCF99",300:"#FDDBB2",200:"#FBE6CC",100:"#FEF3E6"},grey:{900:"#212529",800:"#343A40",700:"#495057",600:"#6C757D",500:"#ADB5BD",400:"#CED4DA",300:"#DEE2E6",200:"#E9ECEF",100:"#F8F9FA"},primary:{main:e[800],dark:e[900],contrastText:"#FFF",...e},secondary:{main:t[800],dark:e[900],contrastText:"#FFF",...t},background:{default:"#FFF",paper:"#FFF",element:"#FAFBFC",elementHover:"#EEF1F4",modalShadow:"#142A438A"},get text(){return{primary:this.grey[900],secondary:this.grey[700],disabled:this.grey[500]}},get info(){return this.primary},get warning(){return{...this.yellow,light:this.yellow[100],main:this.yellow[600],dark:this.yellow[800],contrastText:"#FFF"}},get success(){return{...this.green,light:this.green[100],main:this.green[600],dark:this.green[800],contrastText:"#FFF"}},get error(){return{...this.red,light:this.red[100],main:this.red[600],dark:this.red[800],contrastText:"#FFF"}},components:ri}},rn={small:"6px",medium:"10px",large:"14px"},ra=e=>{let t=e?.options||{},r=e3({breakpoints:e?.breakpoints||t_,spacing:rt,palette:ro(),components:re,shape:rn,elevation:rr});return ty(r,{elevation:rr,shape:rn,typography:{h1:{fontSize:"36px",fontWeight:r.typography.fontWeightMedium,lineHeight:"40px"},h2:{fontSize:"28px",fontWeight:r.typography.fontWeightMedium,lineHeight:"32px",[r.breakpoints.down("sm")]:{fontSize:"32px",lineHeight:"40px"}},h3:{fontSize:"24px",fontWeight:r.typography.fontWeightMedium,lineHeight:"28px",[r.breakpoints.down("sm")]:{fontSize:"28px",lineHeight:"36px"}},h4:{fontSize:"20px",fontWeight:r.typography.fontWeightMedium,lineHeight:"24px",[r.breakpoints.down("sm")]:{fontSize:"24px",lineHeight:"28px"}},h5:{fontSize:"16px",fontWeight:r.typography.fontWeightMedium,lineHeight:"20px",[r.breakpoints.down("sm")]:{fontSize:"18px",lineHeight:"20px"}},h6:{fontSize:"14px",fontWeight:r.typography.fontWeightMedium,lineHeight:"20px",[r.breakpoints.down("sm")]:{fontSize:"16px",lineHeight:"20px"}},subtitle1:{fontSize:"16px",fontWeight:r.typography.fontWeightRegular,lineHeight:"20px",[r.breakpoints.down("sm")]:{fontSize:"18px"}},subtitle2:{fontSize:"14px",fontWeight:r.typography.fontWeightMedium,lineHeight:"20px",[r.breakpoints.down("sm")]:{fontSize:"16px"}},body1:{fontSize:"14px",fontWeight:r.typography.fontWeightRegular,lineHeight:"20px",[r.breakpoints.down("sm")]:{fontSize:"16px"}},button:{fontSize:"14px",fontWeight:r.typography.fontWeightMedium,lineHeight:"24px",[r.breakpoints.down("sm")]:{fontSize:"16px"}},caption:{fontSize:"12px",fontWeight:r.typography.fontWeightRegular,lineHeight:"16px",[r.breakpoints.down("sm")]:{fontSize:"14px"}}},...t})},rl=tc(C,{shouldForwardProp:e=>"isActive"!==e})`
11
11
  transform: rotateZ(${({isActive:e})=>180*!!e}deg);
12
12
  width: 16px;
13
13
  height: 16px;
14
14
  transition: ${({theme:e})=>e.transitions.create("transform",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.short})};
15
- `,rb=e=>t(rx,{...e}),r$=e=>t(el,{...e});var rv=((tK={}).text="text",tK.secondary="secondary",tK.primary="primary",tK.error="error",tK.success="success",tK.warning="warning",tK.info="info",tK.textSecondary="text.secondary",tK.grey="grey",tK.red="red",tK.green="green",tK.yellow="yellow",tK);let rw=tc(eK,{shouldForwardProp:e=>"isUpperCase"!==e})`
15
+ `,rd=e=>t(rl,{...e}),rs=e=>t(el,{...e});var rp=((tU={}).text="text",tU.secondary="secondary",tU.primary="primary",tU.error="error",tU.success="success",tU.warning="warning",tU.info="info",tU.textSecondary="text.secondary",tU.grey="grey",tU.red="red",tU.green="green",tU.yellow="yellow",tU);let rc=tc(eK,{shouldForwardProp:e=>"isUpperCase"!==e})`
16
16
  text-transform: ${({isUpperCase:e})=>e?"uppercase":"none"};
17
- `,rC=({children:e,color:r,colorIntensity:i="800",component:o,...n})=>{let a=(({color:e,colorIntensity:t="800"})=>{let r=tf();return m(()=>{let i=e&&rv[e];if(i)switch(i){case rv.text:return r.palette.text.primary;case rv.textSecondary:return r.palette.text.secondary;default:return r.palette[i]?.[t]||i}},[e,t,r])})({color:r,colorIntensity:i});return(e=>{if(!e)return})(n.variant),t(rw,{...n,component:o,color:a,children:e})},rk=tc("header")`
17
+ `,rg=({children:e,color:r,colorIntensity:i="800",component:o,...n})=>{let a=(({color:e,colorIntensity:t="800"})=>{let r=tf();return m(()=>{let i=e&&rp[e];if(i)switch(i){case rp.text:return r.palette.text.primary;case rp.textSecondary:return r.palette.text.secondary;default:return r.palette[i]?.[t]||i}},[e,t,r])})({color:r,colorIntensity:i});return(e=>{if(!e)return})(n.variant),t(rc,{...n,component:o,color:a,children:e})},rh=tc("header")`
18
18
  cursor: pointer;
19
19
 
20
20
  display: grid;
21
21
  grid-column-gap: ${({theme:e})=>e.spacing(2)};
22
22
  grid-template-columns: ${({withStartAdornment:e})=>e?"24px 1fr 24px":" 1fr 24px"};
23
- `,rS=tc("div")`
23
+ `,ru=tc("div")`
24
24
  margin-left: ${({theme:e,withStartAdorment:t})=>e.spacing(8*!!t)};
25
25
  padding-top: ${({theme:e})=>e.spacing(2)};
26
- `,rz=tc(rC)`
26
+ `,rm=tc(rg)`
27
27
  align-self: center;
28
- `,rF=tc("div")`
28
+ `,rf=tc("div")`
29
29
  overflow: hidden;
30
30
 
31
31
  width: 24px;
32
32
  height: 24px;
33
- `,rM=s(({summary:e,startAdorment:i,isExpanded:o,onChange:n,children:l},d)=>{let[s,p]=y(!1),c="boolean"==typeof o,g=c?o:s,h=!!i;return r("div",{ref:d,children:[r(rk,{onClick:e=>{if(c)n?.(!o,e);else{let t=!s;p(t),n?.(t,e)}},withStartAdornment:h,children:[i,t("string"==typeof e?rz:a,{children:e}),t(rF,{children:t(rb,{isActive:g})})]}),t(r$,{in:g,children:t(rS,{withStartAdorment:h,children:l})})]})}),rT=({action:e,onActionClick:r,tooltipPlacement:i,isDisabled:o})=>{if("actions"in e){let{icon:n,disabled:a,disabledReason:l,name:s,actions:p}=e;return t(rZ,{title:l||s,placement:i,withoutContainer:!(o||a),children:t(rK,{icon:n,variant:"text",disabled:o||a,children:p.map(({name:e,onClick:t,...o})=>d(rQ,{...o,key:e,tooltipPlacement:i,onClick:r(t)},e))})},s)}let{onClick:n,name:a,icon:l,disabledReason:s,disabled:p,loading:c,isBlockingOperation:g,...h}=e;return t(rZ,{title:!c&&(s||a),placement:i,withoutContainer:!(o||p),children:t(rR,{disabled:o||p,...h,variant:"text",onClick:r(n),children:l})},a)};function rP(e=null){let[t,r]=y(!1),i=f(null);return g(()=>{e&&("function"==typeof e?e(i.current):e.current=i.current)},[e]),{open:t,anchorRef:i,handleCloseMenu:()=>r(!1),handleOpenMenu:()=>r(!0)}}let rA=()=>{let[e,t]=y(null);return{isOpen:!!e,anchor:e,actions:{open:e=>t(e.currentTarget),close:()=>t(null)}}},rD=e=>{let{initialState:t=!1,onInactive:r,onActive:i}=e||{},[o,n]=y(t);return[o,(...e)=>{n(!0),i?.(...e)},(...e)=>{n(!1),r?.(...e)}]},rI=()=>({isMobile:tm(tf().breakpoints.down("sm"))}),rO=({type:e,values:t,defaultValue:r})=>e&&t[e]||r,rE=e=>rO({type:e.size,values:{[t9.Small]:"24px",[t9.Medium]:"32px",[t9.Large]:"40px"},defaultValue:"32px"}),rL=tc(ro,{shouldForwardProp:e=>!["startIcon","endIcon","loading","tabIndex"].includes(e.toString())})`
33
+ `,ry=s(({summary:e,startAdorment:i,isExpanded:o,onChange:n,children:l},d)=>{let[s,p]=y(!1),c="boolean"==typeof o,g=c?o:s,h=!!i;return r("div",{ref:d,children:[r(rh,{onClick:e=>{if(c)n?.(!o,e);else{let t=!s;p(t),n?.(t,e)}},withStartAdornment:h,children:[i,t("string"==typeof e?rm:a,{children:e}),t(rf,{children:t(rd,{isActive:g})})]}),t(rs,{in:g,children:t(ru,{withStartAdorment:h,children:l})})]})}),rx=({action:e,onActionClick:r,tooltipPlacement:i,isDisabled:o})=>{if("actions"in e){let{icon:n,disabled:a,disabledReason:l,name:s,actions:p}=e;return t(rW,{title:l||s,placement:i,withoutContainer:!(o||a),children:t(rR,{icon:n,variant:"text",disabled:o||a,children:p.map(({name:e,onClick:t,...o})=>d(r_,{...o,key:e,tooltipPlacement:i,onClick:r(t)},e))})},s)}let{onClick:n,name:a,icon:l,disabledReason:s,disabled:p,loading:c,isBlockingOperation:g,...h}=e;return t(rW,{title:!c&&(s||a),placement:i,withoutContainer:!(o||p),children:t(rz,{disabled:o||p,...h,variant:"text",onClick:r(n),children:l})},a)};function rb(e=null){let[t,r]=y(!1),i=f(null);return g(()=>{e&&("function"==typeof e?e(i.current):e.current=i.current)},[e]),{open:t,anchorRef:i,handleCloseMenu:()=>r(!1),handleOpenMenu:()=>r(!0)}}let r$=()=>{let[e,t]=y(null);return{isOpen:!!e,anchor:e,actions:{open:e=>t(e.currentTarget),close:()=>t(null)}}},rv=e=>{let{initialState:t=!1,onInactive:r,onActive:i}=e||{},[o,n]=y(t);return[o,(...e)=>{n(!0),i?.(...e)},(...e)=>{n(!1),r?.(...e)}]},rw=()=>({isMobile:tm(tf().breakpoints.down("sm"))}),rC=({type:e,values:t,defaultValue:r})=>e&&t[e]||r,rk=e=>rC({type:e.size,values:{[tZ.Small]:"24px",[tZ.Medium]:"32px",[tZ.Large]:"40px"},defaultValue:"32px"}),rS=tc(t3,{shouldForwardProp:e=>!["startIcon","endIcon","loading","tabIndex"].includes(e.toString())})`
34
34
  pointer-events: ${({loading:e})=>e&&"none"};
35
35
 
36
- width: ${rE};
37
- height: ${rE};
36
+ width: ${rk};
37
+ height: ${rk};
38
38
  padding: ${({theme:e})=>e.spacing(1)};
39
39
 
40
40
  ${({theme:e})=>e.breakpoints.down("sm")} {
41
- width: ${e=>rO({type:e.size,values:{[t9.Small]:"36px"},defaultValue:"48px"})};
41
+ width: ${e=>rC({type:e.size,values:{[tZ.Small]:"36px"},defaultValue:"48px"})};
42
42
  }
43
- `,rR=e=>{let{variant:r=t5.Contained,loading:i,children:o,...n}=e,a=m(()=>r===t5.Contained?"inverted":"primary",[r]);return t(rL,{loading:i,variant:r,tabIndex:i?-1:0,...n,children:i?t(re,{size:"small",color:a}):o})},rB="16px",rN=56,rW=tc(em)`
43
+ `,rz=e=>{let{variant:r=tX.Contained,loading:i,children:o,...n}=e,a=m(()=>r===tX.Contained?"inverted":"primary",[r]);return t(rS,{loading:i,variant:r,tabIndex:i?-1:0,...n,children:i?t(t0,{size:"small",color:a}):o})},rF="16px",rP=56,rM=tc(em)`
44
44
  ${`.${ta.root}`} {
45
- max-height: calc(100vh - ${rB});
45
+ max-height: calc(100vh - ${rF});
46
46
 
47
47
  @supports (height: 100dvh) {
48
- max-height: calc(100dvh - ${rB});
48
+ max-height: calc(100dvh - ${rF});
49
49
  }
50
50
 
51
51
  border-top-left-radius: ${({theme:e})=>e.shape.large};
52
52
  border-top-right-radius: ${({theme:e})=>e.shape.large};
53
53
  }
54
- `,r_=tc("header")`
54
+ `,rT=tc("header")`
55
55
  display: flex;
56
56
  flex-shrink: 0;
57
57
  align-items: center;
@@ -61,24 +61,24 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
61
61
  padding: ${({theme:e})=>e.spacing(1,2,1,4)};
62
62
 
63
63
  border-bottom: 1px solid ${({theme:e})=>e.palette.divider};
64
- `,rH=tc(eK)`
64
+ `,rA=tc(eK)`
65
65
  margin-right: ${({theme:e})=>e.spacing(2)};
66
- `,rj=tc("div")`
66
+ `,rI=tc("div")`
67
67
  overflow-y: auto;
68
- `,rV=({title:e,drawerHeaderHeight:i=rN,children:o,onClose:n,...a})=>r(rW,{...a,anchor:"bottom",onClose:n,children:[r(r_,{drawerHeaderHeight:i,children:[t(rH,{variant:"h5",noWrap:!0,children:e}),t(rR,{variant:"text",onClick:e=>{n&&n(e,"escapeKeyDown")},children:t(j,{})})]}),t(rj,{children:o})]}),rG=tc(eA)`
68
+ `,rD=({title:e,drawerHeaderHeight:i=rP,children:o,onClose:n,...a})=>r(rM,{...a,anchor:"bottom",onClose:n,children:[r(rT,{drawerHeaderHeight:i,children:[t(rA,{variant:"h5",noWrap:!0,children:e}),t(rz,{variant:"text",onClick:e=>{n&&n(e,"escapeKeyDown")},children:t(j,{})})]}),t(rI,{children:o})]}),rO=tc(eA)`
69
69
  &.MuiList-root {
70
70
  padding: ${({theme:e})=>e.spacing(1,0)};
71
71
 
72
72
  border-radius: ${({theme:e})=>e.shape.small};
73
73
  box-shadow: ${({theme:e})=>e.elevation[200]};
74
74
  }
75
- `,rU=({children:e,...r})=>t(rG,{...r,children:e}),rY=({children:e,onClose:r,open:i,title:o,...n})=>{let{isMobile:a}=rI();return a?t(rV,{title:o,onClose:r,open:i,children:t(rU,{children:e})}):t(eT,{open:i,onClose:r,...n,children:e})},rK=s(({children:i,icon:o,...n},a)=>{let{open:l,anchorRef:d,handleOpenMenu:s,handleCloseMenu:p}=rP(a);return r(e,{children:[t(ea,{onClickAway:p,mouseEvent:"onMouseUp",children:t(rR,{...n,ref:d,onClick:s,selected:l,children:o})}),t(rY,{open:l,anchorEl:d.current,children:i})]})});var rq=((tq={}).MEDIUM="medium",tq.SMALL="small",tq);let rX=tc(({className:e,...r})=>t(eY,{...r,classes:{popper:e}}))`
75
+ `,rL=({children:e,...r})=>t(rO,{...r,children:e}),rB=({children:e,onClose:r,open:i,title:o,...n})=>{let{isMobile:a}=rw();return a?t(rD,{title:o,onClose:r,open:i,children:t(rL,{children:e})}):t(eM,{open:i,onClose:r,...n,children:e})},rR=s(({children:i,icon:o,...n},a)=>{let{open:l,anchorRef:d,handleOpenMenu:s,handleCloseMenu:p}=rb(a);return r(e,{children:[t(ea,{onClickAway:p,mouseEvent:"onMouseUp",children:t(rz,{...n,ref:d,onClick:s,selected:l,children:o})}),t(rB,{open:l,anchorEl:d.current,children:i})]})}),rE=tc(({className:e,...r})=>t(eU,{...r,classes:{popper:e}}))`
76
76
  & .${tu.tooltip} {
77
77
  margin: 0;
78
78
 
79
- font-size: ${({size:e,theme:t})=>e===rq.SMALL?t.typography.caption.fontSize:t.typography.body1.fontSize};
79
+ font-size: ${({size:e,theme:t})=>"small"===e?t.typography.caption.fontSize:t.typography.body1.fontSize};
80
80
  font-weight: ${({theme:e})=>e.typography.fontWeightRegular};
81
- line-height: ${({size:e,theme:t})=>e===rq.SMALL?t.typography.caption.lineHeight:t.typography.body1.lineHeight};
81
+ line-height: ${({size:e,theme:t})=>"small"===e?t.typography.caption.lineHeight:t.typography.body1.lineHeight};
82
82
  white-space: pre-line;
83
83
 
84
84
  background-color: ${({theme:e})=>e.palette.grey[900]};
@@ -105,20 +105,20 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
105
105
  &&[data-popper-placement*='right'] .${tu.tooltip} {
106
106
  margin-left: ${({theme:e})=>e.spacing(2)};
107
107
  }
108
- `,rJ=tc("div")`
108
+ `,rN=tc("div")`
109
109
  display: inherit;
110
110
  flex-direction: inherit;
111
- `,rZ=e=>{let{title:r,placement:i="top",size:o=rq.MEDIUM,withoutContainer:n=!0,children:a,...l}=e;return t(rX,{title:r,size:o,placement:i,arrow:!0,...l,children:n?a:t(rJ,{children:a})})},rQ=e=>{let{disabledReason:r,disabled:i,component:o="div",title:n,tooltipPlacement:a="left",note:l,...d}=e;return t("li",{children:t(rZ,{title:i?r:l,placement:a,withoutContainer:!i,children:t(eP,{...d,disabled:i,title:n,component:o})},n)})},r0=({actions:e,onActionClick:r,tooltipPlacement:i,isDisabled:o=!1})=>t(rK,{icon:t(D,{}),variant:"text",disabled:o,children:e.map(e=>{let{onClick:t,name:o}=e;return d(rQ,{...e,key:o,tooltipPlacement:i,onClick:r(t)},o)})}),r1=tc("div")`
111
+ `,rW=e=>{let{title:r,placement:i="top",size:o="medium",withoutContainer:n=!0,children:a,...l}=e;return t(rE,{title:r,size:o,placement:i,arrow:!0,...l,children:n?a:t(rN,{children:a})})},r_=e=>{let{disabledReason:r,disabled:i,component:o="div",title:n,tooltipPlacement:a="left",note:l,...d}=e;return t("li",{children:t(rW,{title:i?r:l,placement:a,withoutContainer:!i,children:t(eT,{...d,disabled:i,title:n,component:o})},n)})},rH=({actions:e,onActionClick:r,tooltipPlacement:i,isDisabled:o=!1})=>t(rR,{icon:t(I,{}),variant:"text",disabled:o,children:e.map(e=>{let{onClick:t,name:o}=e;return d(r_,{...e,key:o,tooltipPlacement:i,onClick:r(t)},o)})}),rj=tc("div")`
112
112
  display: inline-flex;
113
113
  align-items: center;
114
- `,r2=e=>{let{isSecondaryActionsAvailable:i,handleActionClick:o,handleWrapperClick:n,isDisabledAction:a}=(({actions:e,row:t})=>{let{main:r,secondary:i}=e,o=r.some(e=>!("actions"in e)&&e?.isBlockingOperation&&e?.loading),n=p(e=>()=>{e?.(t)},[t]);return{isSecondaryActionsAvailable:i&&i.length>=1,handleActionClick:n,handleWrapperClick:e=>{e.stopPropagation()},isDisabledAction:o}})(e),{actions:l}=e,{main:d=[],secondary:s=[]}=l;return r(r1,{onClick:n,children:[d.map(e=>t(rT,{tooltipPlacement:"top",onActionClick:o,action:e,isDisabled:a},e.name)),i&&t(r0,{isDisabled:a,actions:s,tooltipPlacement:"left",onActionClick:o})]})},r3=({children:i,name:o,popoverProps:n,...a})=>{let{open:l,anchorRef:d,handleOpenMenu:s,handleCloseMenu:p}=rP();return r(e,{children:[t(ea,{onClickAway:p,children:t(ro,{...a,ref:d,selected:l,onClick:s,endIcon:t(rb,{isActive:l}),children:o})}),t(rY,{open:l,anchorEl:d.current,...n,children:i})]})},r8=tc(ro)`
114
+ `,rV=e=>{let{isSecondaryActionsAvailable:i,handleActionClick:o,handleWrapperClick:n,isDisabledAction:a}=(({actions:e,row:t})=>{let{main:r,secondary:i}=e,o=r.some(e=>!("actions"in e)&&e?.isBlockingOperation&&e?.loading),n=p(e=>()=>{e?.(t)},[t]);return{isSecondaryActionsAvailable:i&&i.length>=1,handleActionClick:n,handleWrapperClick:e=>{e.stopPropagation()},isDisabledAction:o}})(e),{actions:l}=e,{main:d=[],secondary:s=[]}=l;return r(rj,{onClick:n,children:[d.map(e=>t(rx,{tooltipPlacement:"top",onActionClick:o,action:e,isDisabled:a},e.name)),i&&t(rH,{isDisabled:a,actions:s,tooltipPlacement:"left",onActionClick:o})]})},rG=({children:i,name:o,popoverProps:n,...a})=>{let{open:l,anchorRef:d,handleOpenMenu:s,handleCloseMenu:p}=rb();return r(e,{children:[t(ea,{onClickAway:p,children:t(t3,{...a,ref:d,selected:l,onClick:s,endIcon:t(rd,{isActive:l}),children:o})}),t(rB,{open:l,anchorEl:d.current,...n,children:i})]})},rY=tc(t3)`
115
115
  flex-grow: 1;
116
- `,r4=tc(r3)`
116
+ `,rU=tc(rG)`
117
117
  flex-grow: 1;
118
- `,r6=({actions:r,isDisabled:i,size:o})=>t(e,{children:r.map(e=>{if(Object.hasOwn(e,"isNested")){let{text:r,isNested:n,actions:a,disabled:l,disabledReason:d,note:s,isBlockingOperation:p,...c}=e;return t(rZ,{title:l?d:s,withoutContainer:!(i||l),children:t(r4,{...c,disabled:i||l,name:r,size:o,children:a.map(({text:e,...r})=>t(rQ,{...r,children:e},e))})},r)}let{text:r,disabled:n,disabledReason:a,note:l,isBlockingOperation:d,...s}=e;return t(rZ,{title:n?a:l,withoutContainer:!(i||n),children:t(r8,{...s,size:o,disabled:i||n,children:r})},r)})}),r5=({actions:e,isDisabled:r,size:i})=>e.length?t(rK,{disabled:r,icon:t(A,{}),variant:"light",size:i,children:e.map(({text:e,...r})=>d(a8,{tooltipPlacement:"right",...r,key:e},t(a5,{primary:e})))}):null,r9=({actions:r,size:i})=>t(e,{children:r.map(e=>{let{name:r,icon:o,disableReason:n,disabled:a,isBlockingOperation:l,...d}=e;return t(rZ,{title:a?n:r,withoutContainer:!a,children:t(rR,{variant:"light",size:i,name:r,disabled:a,...d,children:o})},r)})}),r7=tc("div")`
118
+ `,rK=({actions:r,isDisabled:i,size:o})=>t(e,{children:r.map(e=>{if(Object.hasOwn(e,"isNested")){let{text:r,isNested:n,actions:a,disabled:l,disabledReason:d,note:s,isBlockingOperation:p,...c}=e;return t(rW,{title:l?d:s,withoutContainer:!(i||l),children:t(rU,{...c,disabled:i||l,name:r,size:o,children:a.map(({text:e,...r})=>t(r_,{...r,children:e},e))})},r)}let{text:r,disabled:n,disabledReason:a,note:l,isBlockingOperation:d,...s}=e;return t(rW,{title:n?a:l,withoutContainer:!(i||n),children:t(rY,{...s,size:o,disabled:i||n,children:r})},r)})}),rq=({actions:e,isDisabled:r,size:i})=>e.length?t(rR,{disabled:r,icon:t(A,{}),variant:"light",size:i,children:e.map(({text:e,...r})=>d(aW,{tooltipPlacement:"right",...r,key:e},t(aj,{primary:e})))}):null,rJ=({actions:r,size:i})=>t(e,{children:r.map(e=>{let{name:r,icon:o,disableReason:n,disabled:a,isBlockingOperation:l,...d}=e;return t(rW,{title:a?n:r,withoutContainer:!a,children:t(rz,{variant:"light",size:i,name:r,disabled:a,...d,children:o})},r)})}),rX=tc("div")`
119
119
  display: flex;
120
120
  gap: ${({theme:e})=>e.spacing(1)};
121
- `,ie=e=>{let{disabledAction:i}=(({main:e,secondary:t})=>({disabledAction:!![...e||[],...t||[]].find(e=>e.isBlockingOperation&&e.loading)}))(e),{main:o,secondary:n,secondaryVisible:a,className:l,size:d}=e;return r(r7,{className:l,children:[a&&t(r9,{size:d,actions:a}),o&&t(r6,{size:d,isDisabled:i,actions:o}),n&&t(r5,{size:d,isDisabled:i,actions:n})]})},it=tc(V)`
121
+ `,rZ=e=>{let{disabledAction:i}=(({main:e,secondary:t})=>({disabledAction:!![...e||[],...t||[]].find(e=>e.isBlockingOperation&&e.loading)}))(e),{main:o,secondary:n,secondaryVisible:a,className:l,size:d}=e;return r(rX,{className:l,children:[a&&t(rJ,{size:d,actions:a}),o&&t(rK,{size:d,isDisabled:i,actions:o}),n&&t(rq,{size:d,isDisabled:i,actions:n})]})},rQ=tc(V)`
122
122
  ${({theme:e})=>e.breakpoints.up("sm")} {
123
123
  padding: ${({theme:e})=>e.spacing(1,4,1,2)};
124
124
  }
@@ -137,18 +137,18 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
137
137
  padding-left: unset;
138
138
  }
139
139
  }
140
- `,ir=tc("div")`
140
+ `,r0=tc("div")`
141
141
  display: grid;
142
142
  column-gap: ${({theme:e})=>e.spacing(4)};
143
143
  grid-auto-flow: column;
144
144
  justify-content: flex-start;
145
- `,ii=tc(rR)`
145
+ `,r1=tc(rz)`
146
146
  border-radius: 50%;
147
147
 
148
148
  &:hover {
149
149
  background-color: rgb(0 0 0 / 4%);
150
150
  }
151
- `,io=({children:e,title:i,closeText:o="Скрыть",isVisible:n=!0,actions:a,onClose:l,...d})=>{let{severity:s="info",slots:p,...c}=d;return t(r$,{in:n,children:r(it,{...c,severity:s,closeText:o,slots:{closeButton:e=>{let{variant:r,color:i,...o}=e;return t(ii,{variant:"text",color:"primary",...o})},closeIcon:j},variant:"filled",onClose:l,iconMapping:{info:t(I,{}),error:t(O,{}),success:t(M,{}),warning:t(H,{})},children:[i&&t(G,{children:t(rC,{variant:"h5",children:i})}),t(rC,{gutterBottom:!!a,children:e}),t(ir,{children:a})]})})},ia=({size:e,color:r="primary",isError:i,...o})=>{let n=(e=>{switch(e){case"small":return 20;case"large":return 24;default:return 22}})(e),{palette:a}=tf(),l=i?a.red[700]:o.disabled?a.action.disabled:a["default"===r?"primary":r].main;return t(ei,{...o,icon:t(B,{color:l,size:n}),indeterminateIcon:t(_,{color:l,size:n}),checkedIcon:t(W,{color:l,size:n})})},il=tc(rC,{shouldForwardProp:e=>"rowsCount"!==e&&"hasMultipleRows"!==e})`
151
+ `,r2=({children:e,title:i,closeText:o="Скрыть",isVisible:n=!0,actions:a,onClose:l,...d})=>{let{severity:s="info",slots:p,...c}=d;return t(rs,{in:n,children:r(rQ,{...c,severity:s,closeText:o,slots:{closeButton:e=>{let{variant:r,color:i,...o}=e;return t(r1,{variant:"text",color:"primary",...o})},closeIcon:j},variant:"filled",onClose:l,iconMapping:{info:t(D,{}),error:t(O,{}),success:t(P,{}),warning:t(H,{})},children:[i&&t(G,{children:t(rg,{variant:"h5",children:i})}),t(rg,{gutterBottom:!!a,children:e}),t(r0,{children:a})]})})},r3=({size:e,color:r="primary",isError:i,...o})=>{let n=(e=>{switch(e){case"small":return 20;case"large":return 24;default:return 22}})(e),{palette:a}=tf(),l=i?a.red[700]:o.disabled?a.action.disabled:a["default"===r?"primary":r].main;return t(ei,{...o,icon:t(E,{color:l,size:n}),indeterminateIcon:t(_,{color:l,size:n}),checkedIcon:t(W,{color:l,size:n})})},r8=tc(rg,{shouldForwardProp:e=>"rowsCount"!==e&&"hasMultipleRows"!==e})`
152
152
  /* stylelint-disable-next-line */
153
153
  overflow: hidden;
154
154
  /* stylelint-disable-next-line */
@@ -160,14 +160,14 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
160
160
  white-space: ${({hasMultipleRows:e})=>e?"initial":"nowrap"};
161
161
  -webkit-box-orient: ${({hasMultipleRows:e})=>e?"vertical":""};
162
162
  -webkit-line-clamp: ${({rowsCount:e})=>e};
163
- `,id=tc(rC,{shouldForwardProp:e=>!["$align"].includes(e.toString())})`
163
+ `,r4=tc(rg,{shouldForwardProp:e=>!["$align"].includes(e.toString())})`
164
164
  display: flex;
165
165
  justify-content: ${({$align:e})=>e};
166
166
 
167
167
  width: 100%;
168
168
 
169
169
  white-space: nowrap;
170
- `,is=e=>{let t=f(null),r=e&&"function"!=typeof e?e:t,[i,o]=y(!1),n=tv(),a=([{target:e,contentRect:t}])=>{let r=Math.round(t.height)<e.scrollHeight,i=e.scrollWidth>Math.round(t.width);o(r||i)};return u(()=>{if(r?.current){let e=r.current,t={target:e,contentRect:e.getBoundingClientRect()};if(!n){let t=new ResizeObserver(e4(a,500));return t.observe(e),()=>t.unobserve(e)}a([t])}},[r.current]),{isOverflowed:i,ref:r}},ip=1,ic=e=>{let{ref:i,isOverflowed:o,secondPartLabel:n,firstPartLabel:a,isTruncatedStringVisible:l}=(({children:e,visibleLastSymbolsCount:t,ref:r})=>{var i,o;let{ref:n,isOverflowed:a}=is(r),l=e&&"string"==typeof e,{firstPartLabel:d,secondPartLabel:s}=l&&a&&t?(i=t,{firstPartLabel:(o=e).slice(0,-i),secondPartLabel:o.slice(-i)}):{firstPartLabel:"",secondPartLabel:""};return{isTruncatedStringVisible:l&&a&&!!t,isOverflowed:a,ref:n,firstPartLabel:d,secondPartLabel:s}})(e),{tooltipProps:d,children:s,rowsCount:p=ip,visibleLastSymbolsCount:c,align:g="left",...h}=e,u={...h,ref:i,align:g,children:s,rowsCount:p,hasMultipleRows:p>ip};return l?t(rZ,{title:s,disableInteractive:!0,...d,children:r(id,{$align:g,children:[t(il,{component:"span",ref:i,hasMultipleRows:!1,rowsCount:1,...h,children:a}),t(rC,{...h,component:"span",children:n})]})}):s&&o?t(rZ,{title:s,disableInteractive:!0,...d,children:t(il,{...u})}):t(il,{...u})},ig=tc("div",{shouldForwardProp:e=>!["variant","direction","gap","width","height","justifyContent","alignItems","padding","margin","gridArea","templateAreas","templateColumns","templateRows","isPaper","elevation","borderRadius","placeItems"].includes(e.toString()),label:"Container"})`
170
+ `,r6=e=>{let t=f(null),r=e&&"function"!=typeof e?e:t,[i,o]=y(!1),n=tv(),a=([{target:e,contentRect:t}])=>{let r=Math.round(t.height)<e.scrollHeight,i=e.scrollWidth>Math.round(t.width);o(r||i)};return u(()=>{if(r?.current){let e=r.current,t={target:e,contentRect:e.getBoundingClientRect()};if(!n){let t=new ResizeObserver(e4(a,500));return t.observe(e),()=>t.unobserve(e)}a([t])}},[r.current]),{isOverflowed:i,ref:r}},r5=1,r9=e=>{let{ref:i,isOverflowed:o,secondPartLabel:n,firstPartLabel:a,isTruncatedStringVisible:l}=(({children:e,visibleLastSymbolsCount:t,ref:r})=>{var i,o;let{ref:n,isOverflowed:a}=r6(r),l=e&&"string"==typeof e,{firstPartLabel:d,secondPartLabel:s}=l&&a&&t?(i=t,{firstPartLabel:(o=e).slice(0,-i),secondPartLabel:o.slice(-i)}):{firstPartLabel:"",secondPartLabel:""};return{isTruncatedStringVisible:l&&a&&!!t,isOverflowed:a,ref:n,firstPartLabel:d,secondPartLabel:s}})(e),{tooltipProps:d,children:s,rowsCount:p=r5,visibleLastSymbolsCount:c,align:g="left",...h}=e,u={...h,ref:i,align:g,children:s,rowsCount:p,hasMultipleRows:p>r5};return l?t(rW,{title:s,disableInteractive:!0,...d,children:r(r4,{$align:g,children:[t(r8,{component:"span",ref:i,hasMultipleRows:!1,rowsCount:1,...h,children:a}),t(rg,{...h,component:"span",children:n})]})}):s&&o?t(rW,{title:s,disableInteractive:!0,...d,children:t(r8,{...u})}):t(r8,{...u})},r7=tc("div",{shouldForwardProp:e=>!["variant","direction","gap","width","height","justifyContent","alignItems","padding","margin","gridArea","templateAreas","templateColumns","templateRows","isPaper","elevation","borderRadius","placeItems"].includes(e.toString()),label:"Container"})`
171
171
  display: ${({variant:e="flex",templateAreas:t,templateColumns:r,templateRows:i,placeItems:o})=>[i,r,t,o].some(Boolean)?"grid":e};
172
172
  flex-direction: ${({direction:e="row"})=>e};
173
173
  flex-wrap: ${({direction:e="row"})=>"row"===e?"nowrap":"wrap"};
@@ -186,39 +186,39 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
186
186
  background-color: ${({theme:e,isPaper:t})=>t?e.palette.background.paper:"transparent"};
187
187
  padding: ${({padding:e,theme:t})=>"number"==typeof e?t.spacing(e):e};
188
188
  margin: ${({margin:e,theme:t})=>"number"==typeof e?t.spacing(e):e};
189
- `,ih=e=>t(ig,{...e});var iu=((tX={}).DEFAULT="default",tX.PRIMARY="primary",tX.ERROR="error",tX.GREY="grey",tX.SUCCESS="success",tX.WARNING="warning",tX),im=((tJ={}).CONTAINED="contained",tJ.LIGHT="light",tJ.TEXT="text",tJ),iy=((tZ={}).DEFAULT="default",tZ.HOVER="hover",tZ.ACTIVE="active",tZ);let ix={small:"20px",medium:"24px",large:"32px"},ib=e=>{let{tagColor:t,variant:r}=e;return r===im.CONTAINED?"white":({[iu.PRIMARY]:"primary",[iu.ERROR]:"error",[iu.GREY]:"grey",[iu.SUCCESS]:"success",[iu.WARNING]:"warning",[iu.DEFAULT]:"grey"})[t||"default"]},i$=({theme:e,customColor:t,customVariant:r,disabled:i})=>{if(i)return e.palette.grey[100];if("text"===r)return"transparent";let o={contained:{primary:e.palette.primary.main,error:e.palette.red[800],success:e.palette.green[800],warning:e.palette.yellow[800],grey:e.palette.grey[300],default:e.palette.background.element},light:{primary:e.palette.primary[100],error:e.palette.red[100],success:e.palette.green[100],warning:e.palette.yellow[100],grey:e.palette.grey[100],default:e.palette.background.element}};return r&&t?o[r][t]:!r&&t?o.contained[t]:e.palette.grey[300]},iv=({theme:e,customColor:t,customVariant:r,disabled:i})=>{if(i)return e.palette.text.disabled;if("text"===r)return e.palette.grey[900];let o={contained:{primary:e.palette.primary.contrastText,error:e.palette.error.contrastText,success:e.palette.warning.contrastText,warning:e.palette.success.contrastText,default:e.palette.text.primary,grey:e.palette.grey[900]},light:{primary:e.palette.primary.main,error:e.palette.red[800],success:e.palette.green[800],warning:e.palette.yellow[800],default:e.palette.text.primary,grey:e.palette.grey[900]}};return r||t?r||"grey"===t?t?r&&t?o[r][t]:e.palette.text.primary:o.contained.default:e.palette.common.white:e.palette.grey[900]},iw=({theme:e,iconState:t,customVariant:r,customColor:i})=>{let o={contained:{primary:e.palette.primary[600],error:e.palette.red[600],success:e.palette.green[600],warning:e.palette.yellow[600],grey:e.palette.grey[100],default:e.palette.grey[300]},light:{primary:e.palette.primary[300],error:e.palette.red[300],success:e.palette.green[300],warning:e.palette.yellow[300],grey:e.palette.grey[300],default:e.palette.grey[300]}};if("default"!==t){if(("contained"===r||"light"===r)&&i)return o[r][i||"default"];if("text"===r)return o.light.grey}return"transparent"},iC=({customVariant:e,customColor:t,theme:r})=>"contained"===e&&"grey"!==t&&"default"!==t?r.palette.common.white:r.palette.grey[900],ik=tc(eo,{shouldForwardProp:e=>"customColor"!==e&&"customVariant"!==e&&"rounded"!==e&&"customSize"!==e})`
189
+ `,ie=e=>t(r7,{...e}),it={small:"20px",medium:"24px",large:"32px"},ir=e=>{let{tagColor:t,variant:r}=e;return"contained"===r?"white":({primary:"primary",error:"error",grey:"grey",success:"success",warning:"warning",default:"grey"})[t||"default"]},ii=({theme:e,customColor:t,customVariant:r,disabled:i})=>{if(i)return e.palette.grey[100];if("text"===r)return"transparent";let o={contained:{primary:e.palette.primary.main,error:e.palette.red[800],success:e.palette.green[800],warning:e.palette.yellow[800],grey:e.palette.grey[300],default:e.palette.background.element},light:{primary:e.palette.primary[100],error:e.palette.red[100],success:e.palette.green[100],warning:e.palette.yellow[100],grey:e.palette.grey[100],default:e.palette.background.element}};return r&&t?o[r][t]:!r&&t?o.contained[t]:e.palette.grey[300]},io=({theme:e,customColor:t,customVariant:r,disabled:i})=>{if(i)return e.palette.text.disabled;if("text"===r)return e.palette.grey[900];let o={contained:{primary:e.palette.primary.contrastText,error:e.palette.error.contrastText,success:e.palette.warning.contrastText,warning:e.palette.success.contrastText,default:e.palette.text.primary,grey:e.palette.grey[900]},light:{primary:e.palette.primary.main,error:e.palette.red[800],success:e.palette.green[800],warning:e.palette.yellow[800],default:e.palette.text.primary,grey:e.palette.grey[900]}};return r||t?r||"grey"===t?t?r&&t?o[r][t]:e.palette.text.primary:o.contained.default:e.palette.common.white:e.palette.grey[900]},ia=({theme:e,iconState:t,customVariant:r,customColor:i})=>{let o={contained:{primary:e.palette.primary[600],error:e.palette.red[600],success:e.palette.green[600],warning:e.palette.yellow[600],grey:e.palette.grey[100],default:e.palette.grey[300]},light:{primary:e.palette.primary[300],error:e.palette.red[300],success:e.palette.green[300],warning:e.palette.yellow[300],grey:e.palette.grey[300],default:e.palette.grey[300]}};if("default"!==t){if(("contained"===r||"light"===r)&&i)return o[r][i||"default"];if("text"===r)return o.light.grey}return"transparent"},il=({customVariant:e,customColor:t,theme:r})=>"contained"===e&&"grey"!==t&&"default"!==t?r.palette.common.white:r.palette.grey[900],id=tc(eo,{shouldForwardProp:e=>"customColor"!==e&&"customVariant"!==e&&"rounded"!==e&&"customSize"!==e})`
190
190
  user-select: none;
191
191
 
192
- height: ${({customSize:e})=>ix[e]};
192
+ height: ${({customSize:e})=>it[e]};
193
193
 
194
194
  font-size: 14px;
195
195
 
196
- background-color: ${i$};
196
+ background-color: ${ii};
197
197
  border-radius: ${({theme:e,rounded:t})=>t?"100px":e.shape.small};
198
198
 
199
199
  &:hover {
200
- color: ${iv};
200
+ color: ${io};
201
201
 
202
- background-color: ${i$};
202
+ background-color: ${ii};
203
203
  }
204
204
 
205
205
  &:active {
206
- color: ${iv};
206
+ color: ${io};
207
207
 
208
- background-color: ${i$};
208
+ background-color: ${ii};
209
209
  }
210
210
 
211
211
  .MuiChip-label {
212
212
  padding: ${({theme:e,rounded:t,customSize:r})=>{if(t)return e.spacing(0,2);switch(r){case"small":return e.spacing(0,1);case"medium":case"large":return e.spacing(0,2)}}};
213
213
 
214
- color: ${iv};
214
+ color: ${io};
215
215
 
216
216
  &:hover {
217
- color: ${iv};
217
+ color: ${io};
218
218
  }
219
219
 
220
220
  &:active {
221
- color: ${iv};
221
+ color: ${io};
222
222
  }
223
223
  }
224
224
 
@@ -227,21 +227,21 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
227
227
  height: 16px;
228
228
  margin: 0;
229
229
 
230
- color: ${iC};
230
+ color: ${il};
231
231
 
232
- background: ${e=>iw({...e,iconState:iy.DEFAULT})};
232
+ background: ${e=>ia({...e,iconState:"default"})};
233
233
  border-radius: ${({theme:e,rounded:t})=>t?"100px":`0 ${e.shape.small} ${e.shape.small} 0`};
234
234
 
235
235
  &:hover {
236
- color: ${iC};
236
+ color: ${il};
237
237
 
238
- background: ${e=>iw({...e,iconState:iy.HOVER})};
238
+ background: ${e=>ia({...e,iconState:"hover"})};
239
239
  }
240
240
 
241
241
  &:active {
242
- color: ${iC};
242
+ color: ${il};
243
243
 
244
- background: ${e=>iw({...e,iconState:iy.ACTIVE})};
244
+ background: ${e=>ia({...e,iconState:"active"})};
245
245
  }
246
246
  }
247
247
 
@@ -254,44 +254,44 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
254
254
  height: 16px;
255
255
  margin: 2px;
256
256
 
257
- color: ${iv};
257
+ color: ${io};
258
258
  }
259
259
 
260
260
  .MuiChip-icon {
261
261
  width: 16px;
262
262
  height: 16px;
263
263
  }
264
- `,iS=tc(ih)`
264
+ `,is=tc(ie)`
265
265
  align-items: center;
266
266
  justify-content: flex-start;
267
- `,iz=s(({color:e="grey",variant:i="contained",deleteIcon:o,size:n="small",label:a,startAddon:l,endAddon:d,...s},p)=>{let c=tf(),g=r(iS,{children:[l&&t(l,{color:ib({variant:i,tagColor:e,theme:c})}),a,d&&t(d,{color:ib({variant:i,tagColor:e,theme:c})})]});return t(ik,{ref:p,customColor:e,customVariant:i,customSize:n,label:g,...s,deleteIcon:o||t(j,{})})}),iF=e=>`display: inline-flex;
267
+ `,ip=s(({color:e="grey",variant:i="contained",deleteIcon:o,size:n="small",label:a,startAddon:l,endAddon:d,...s},p)=>{let c=tf(),g=r(is,{children:[l&&t(l,{color:ir({variant:i,tagColor:e,theme:c})}),a,d&&t(d,{color:ir({variant:i,tagColor:e,theme:c})})]});return t(id,{ref:p,customColor:e,customVariant:i,customSize:n,label:g,...s,deleteIcon:o||t(j,{})})}),ic=e=>`display: inline-flex;
268
268
  justify-content: center;
269
269
  font-size: ${e.typography.h5.fontSize};
270
- vertical-align: middle;`,iM=tc("span")`
270
+ vertical-align: middle;`,ig=tc("span")`
271
271
  display: flex;
272
272
  gap: ${({theme:e})=>e.spacing(1)};
273
273
  padding: ${({theme:e})=>e.spacing(0,1)};
274
274
  color: ${({success:e,error:t,theme:r})=>e?r.palette.success.dark:t?r.palette.error.dark:"inherit"};
275
- `,iT=tc(M)`
276
- ${({theme:e})=>iF(e)}
277
- `,iP=tc(O)`
278
- ${({theme:e})=>iF(e)}
279
- `,iA=tc("span")`
275
+ `,ih=tc(P)`
276
+ ${({theme:e})=>ic(e)}
277
+ `,iu=tc(O)`
278
+ ${({theme:e})=>ic(e)}
279
+ `,im=tc("span")`
280
280
  vertical-align: middle;
281
- `,iD=({success:e,error:i,children:o})=>{let n=m(()=>e?t(iT,{size:16}):i?t(iP,{size:16}):null,[e,i]);return o?r(iM,{error:i,success:e,children:[n,t(iA,{children:o})]}):null},iI=({children:e,success:r,error:i,...o})=>t(ex,{...o,children:t(iD,{error:i,success:r,children:e})}),iO=({success:e,error:r,helperText:i,fullWidth:o=!1,startAdornment:n,endAdornment:a,inputProps:l,InputProps:d,maxLength:s,trimmed:p=!0,onBlur:c,...g})=>{let h=m(()=>{if(e)return"success"},[e]),u=m(()=>e?t(iD,{success:!0,children:i}):r?t(iD,{error:!0,children:i}):i||void 0,[i,e,r]);return t(eG,{variant:"outlined",fullWidth:o,error:r,color:h,helperText:u,InputProps:{startAdornment:n,endAdornment:a,...d},inputProps:{maxLength:s,...l},onBlur:e=>{if(p){let t=e.target.value?.trim();g.onChange?.({...e,target:{...e.target,value:t}})}c?.(e)},...g})},iE=tc(rQ)`
281
+ `,iy=({success:e,error:i,children:o})=>{let n=m(()=>e?t(ih,{size:16}):i?t(iu,{size:16}):null,[e,i]);return o?r(ig,{error:i,success:e,children:[n,t(im,{children:o})]}):null},ix=({children:e,success:r,error:i,...o})=>t(ex,{...o,children:t(iy,{error:i,success:r,children:e})}),ib=({success:e,error:r,helperText:i,fullWidth:o=!1,startAdornment:n,endAdornment:a,inputProps:l,InputProps:d,maxLength:s,trimmed:p=!0,onBlur:c,...g})=>{let h=m(()=>{if(e)return"success"},[e]),u=m(()=>e?t(iy,{success:!0,children:i}):r?t(iy,{error:!0,children:i}):i||void 0,[i,e,r]);return t(eG,{variant:"outlined",fullWidth:o,error:r,color:h,helperText:u,InputProps:{startAdornment:n,endAdornment:a,...d},inputProps:{maxLength:s,...l},onBlur:e=>{if(p){let t=e.target.value?.trim();g.onChange?.({...e,target:{...e.target,value:t}})}c?.(e)},...g})},i$=tc(r_)`
282
282
  max-height: ${({theme:e})=>e.spacing(13)};
283
283
 
284
284
  ${({theme:e})=>e.breakpoints.down("sm")} {
285
285
  max-height: unset;
286
286
  }
287
- `,iL=e=>{let{isValueEmpty:r,isPopperVisible:i,autocompleteProps:o}=(({value:e,isOptionEqualToValue:t,autoHighlight:r=!0,freeSolo:i,options:o,loading:n,isLoadedDataError:a,loadedDataError:l="Ошибка загрузки данных",noOptionsText:d="Нет данных",onInputChange:s})=>{let[c,g]=y(""),h=Array.isArray(e)?0===e.length:!e,u=c.length>=1,m=o.length>0;return{isValueEmpty:h,isPopperVisible:u||m||n||a,autocompleteProps:{isOptionEqualToValue:p((e,r)=>t?t(e,r):JSON.stringify(e)===JSON.stringify(r),[t]),autoHighlight:!i&&r,noOptionsText:a?l:d,onInputChange:(e,t,r)=>{s?.(e,t,r),n||g(t)}}}})(e),{required:n,success:a,error:l,label:s,getOptionLabel:c,helperText:g,inputRef:h,multiple:u,size:m="medium",placeholder:f="Начните вводить для поиска",overflowOption:x,closeText:b="Закрыть",openText:$="Открыть",clearText:v="Очистить",loadingText:w=t(re,{color:"primary"}),isLoadedDataError:k,loadedDataError:S,noOptionsText:z,autoHighlight:F,renderInput:M,renderTags:P,renderOption:A,...D}=e,I=p(e=>{let i={...e,inputRef:h,required:n,placeholder:r?f:"",label:s,success:a,error:l,helperText:g,size:m};return M?M(i):t(iO,{...i})},[r,M,h,n,f,s,a,l,g,m]),O=p((e,r,i,o)=>{if(A)return A(e,r,i,o);let n=!!e["aria-selected"];return d(iE,{...e,key:e.id,children:[u&&t(ez,{children:t(ia,{role:"menuitemcheckbox",checked:n})}),t(ic,{rowsCount:2,...x,children:e.key})]})},[u,x,A]),E=p((e,r,i)=>P?P(e,r,i):e.map((e,i)=>{let o=c?.(e)||"";return d(iz,{deleteIcon:t(j,{}),color:"grey",label:o,...r({index:i}),key:o})}),[c,P]),L=p(e=>i?t(eE,{...e}):null,[i]);return t(U,{...D,size:m,clearText:v,closeText:b,openText:$,loadingText:w,multiple:u,disableCloseOnSelect:u,clearIcon:t(e_,{children:t(T,{})}),popupIcon:t(C,{size:16}),forcePopupIcon:!0,slotProps:{clearIndicator:{disableRipple:!0},popper:{component:L}},getOptionLabel:c,renderInput:I,renderTags:E,renderOption:O,...o})},iR=0,iB=300,iN="Нет данных",iW=e=>{let{options:r,isLoadingData:i,handleOpen:o,handleInputChange:n,emptyOptionsText:a}=(({fetchOptions:e,fetchDelayMs:t=iB,minSymbolsToFetch:r=iR,defaultValue:i,getOptionLabel:o,noOptionsText:n=iN,onOpen:a,onInputChange:l})=>{let[d,s]=y(!1),[c,g]=y(!0),[h,u]=y(!0),m=f(null),[x,b]=y([]),$=p(e4(t=>{m.current?.abort();let r=new AbortController;m.current=r,e(t,r?.signal).then(e=>{b(e),u(0===e.length)}).finally(()=>{s(!1),m.current=null})},t),[e,t,n]);return{handleOpen:e=>{if(c){g(!1);let e=i&&o?o(i):"";(i||0===r)&&(s(!0),$(e))}a?.(e)},handleInputChange:(e,t,i)=>{if(!t||t.length<r)return $&&$.clear(),u(!1),s(!1),b([]);s(!0),c||$(t),l?.(e,t,i)},options:x,isLoadingData:d,emptyOptionsText:h?n:"Продолжайте вводить для поиска"}})(e),{fetchOptions:l,fetchDelayMs:d,minSymbolsToFetch:s,isDisabled:c,isRequired:g,isSuccess:h,isError:u,isLoading:m,isFullWidth:x,onOpen:b,noOptionsText:$,onInputChange:v,...w}=e;return t(iL,{options:r,disabled:c,fullWidth:x,loading:m||i,onOpen:o,error:u,required:g,success:h,noOptionsText:a,onInputChange:n,...w})},i_=tc(Y)`
287
+ `,iv=e=>{let{isValueEmpty:r,isPopperVisible:i,autocompleteProps:o}=(({value:e,isOptionEqualToValue:t,autoHighlight:r=!0,freeSolo:i,options:o,loading:n,isLoadedDataError:a,loadedDataError:l="Ошибка загрузки данных",noOptionsText:d="Нет данных",onInputChange:s})=>{let[c,g]=y(""),h=Array.isArray(e)?0===e.length:!e,u=c.length>=1,m=o.length>0;return{isValueEmpty:h,isPopperVisible:u||m||n||a,autocompleteProps:{isOptionEqualToValue:p((e,r)=>t?t(e,r):JSON.stringify(e)===JSON.stringify(r),[t]),autoHighlight:!i&&r,noOptionsText:a?l:d,onInputChange:(e,t,r)=>{s?.(e,t,r),n||g(t)}}}})(e),{required:n,success:a,error:l,label:s,getOptionLabel:c,helperText:g,inputRef:h,multiple:u,size:m="medium",placeholder:f="Начните вводить для поиска",overflowOption:x,closeText:b="Закрыть",openText:$="Открыть",clearText:v="Очистить",loadingText:w=t(t0,{color:"primary"}),isLoadedDataError:k,loadedDataError:S,noOptionsText:z,autoHighlight:F,renderInput:P,renderTags:T,renderOption:A,...I}=e,D=p(e=>{let i={...e,inputRef:h,required:n,placeholder:r?f:"",label:s,success:a,error:l,helperText:g,size:m};return P?P(i):t(ib,{...i})},[r,P,h,n,f,s,a,l,g,m]),O=p((e,r,i,o)=>{if(A)return A(e,r,i,o);let n=!!e["aria-selected"];return d(i$,{...e,key:e.id,children:[u&&t(ez,{children:t(r3,{role:"menuitemcheckbox",checked:n})}),t(r9,{rowsCount:2,...x,children:e.key})]})},[u,x,A]),L=p((e,r,i)=>T?T(e,r,i):e.map((e,i)=>{let o=c?.(e)||"";return d(ip,{deleteIcon:t(j,{}),color:"grey",label:o,...r({index:i}),key:o})}),[c,T]),B=p(e=>i?t(eL,{...e}):null,[i]);return t(Y,{...I,size:m,clearText:v,closeText:b,openText:$,loadingText:w,multiple:u,disableCloseOnSelect:u,clearIcon:t(e_,{children:t(M,{})}),popupIcon:t(C,{size:16}),forcePopupIcon:!0,slotProps:{clearIndicator:{disableRipple:!0},popper:{component:B}},getOptionLabel:c,renderInput:D,renderTags:L,renderOption:O,...o})},iw=0,iC=300,ik="Нет данных",iS=e=>{let{options:r,isLoadingData:i,handleOpen:o,handleInputChange:n,emptyOptionsText:a}=(({fetchOptions:e,fetchDelayMs:t=iC,minSymbolsToFetch:r=iw,defaultValue:i,getOptionLabel:o,noOptionsText:n=ik,onOpen:a,onInputChange:l})=>{let[d,s]=y(!1),[c,g]=y(!0),[h,u]=y(!0),m=f(null),[x,b]=y([]),$=p(e4(t=>{m.current?.abort();let r=new AbortController;m.current=r,e(t,r?.signal).then(e=>{b(e),u(0===e.length)}).finally(()=>{s(!1),m.current=null})},t),[e,t,n]);return{handleOpen:e=>{if(c){g(!1);let e=i&&o?o(i):"";(i||0===r)&&(s(!0),$(e))}a?.(e)},handleInputChange:(e,t,i)=>{if(!t||t.length<r)return $&&$.clear(),u(!1),s(!1),b([]);s(!0),c||$(t),l?.(e,t,i)},options:x,isLoadingData:d,emptyOptionsText:h?n:"Продолжайте вводить для поиска"}})(e),{fetchOptions:l,fetchDelayMs:d,minSymbolsToFetch:s,isDisabled:c,isRequired:g,isSuccess:h,isError:u,isLoading:m,isFullWidth:x,onOpen:b,noOptionsText:$,onInputChange:v,...w}=e;return t(iv,{options:r,disabled:c,fullWidth:x,loading:m||i,onOpen:o,error:u,required:g,success:h,noOptionsText:a,onInputChange:n,...w})},iz=tc(U)`
288
288
  font-size: ${({theme:e})=>e.typography.h5.fontSize};
289
289
  font-weight: ${({theme:e})=>e.typography.h5.fontWeight};
290
290
 
291
291
  ${({theme:e})=>e.breakpoints.down("sm")} {
292
292
  font-size: ${({theme:e})=>e.typography.h6.fontSize};
293
293
  }
294
- `,iH=s((e,r)=>t(i_,{...e,ref:r})),ij=tc(K,{shouldForwardProp:e=>!["$customColor","$withBorder","$variantColor"].includes(e.toString())})`
294
+ `,iF=s((e,r)=>t(iz,{...e,ref:r})),iP=tc(K,{shouldForwardProp:e=>!["$customColor","$withBorder","$variantColor"].includes(e.toString())})`
295
295
  .MuiBadge-badge {
296
296
  height: 20px;
297
297
  padding: ${({theme:e})=>e.spacing(0,1)};
@@ -311,7 +311,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
311
311
 
312
312
  border: 2px solid ${({theme:e})=>e.palette.common.white};
313
313
  }
314
- `,iV=({children:e,color:r,max:i=99,withBorder:o=!0,variantColor:n="contained",...a})=>t(ij,{$customColor:r,max:i,$withBorder:o,$variantColor:n,...a,children:e}),iG=tc(ro,{shouldForwardProp:e=>"$isOutside"!==e&&"$isToday"!==e})`
314
+ `,iM=({children:e,color:r,max:i=99,withBorder:o=!0,variantColor:n="contained",...a})=>t(iP,{$customColor:r,max:i,$withBorder:o,$variantColor:n,...a,children:e}),iT=tc(t3,{shouldForwardProp:e=>"$isOutside"!==e&&"$isToday"!==e})`
315
315
  width: 32px;
316
316
  height: 32px;
317
317
  color: ${({theme:e,$isOutside:t,selected:r})=>t&&!r&&e.palette.grey[400]};
@@ -326,21 +326,21 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
326
326
  color: currentColor;
327
327
  background-color: currentColor;
328
328
  }
329
- `,iU=e=>{let{modifiers:r,color:i,...o}=e,n=f(null);return g(()=>{r.focused&&n.current?.focus()},[r.focused]),t(iG,{ref:n,$isOutside:r.outside,$isToday:r.today,selected:r.selected,variant:r.selected?"contained":"text",...o})};function iY(e){let{options:r,onChange:i,...o}=e,n=r?.find(({value:e})=>e===o.value);return t(r3,{variant:"link",name:n?.label||"Не выбрано",children:r?.map(({value:e,label:r,disabled:o})=>t(rQ,{value:e,disabled:o,onClick:()=>i?.({target:{value:e}}),children:t(rC,{variant:"subtitle1",align:"center",style:{textTransform:"capitalize",minWidth:70},children:r})},e))})}let iK=tc(tF)`
329
+ `,iA=e=>{let{modifiers:r,color:i,...o}=e,n=f(null);return g(()=>{r.focused&&n.current?.focus()},[r.focused]),t(iT,{ref:n,$isOutside:r.outside,$isToday:r.today,selected:r.selected,variant:r.selected?"contained":"text",...o})};function iI(e){let{options:r,onChange:i,...o}=e,n=r?.find(({value:e})=>e===o.value);return t(rG,{variant:"link",name:n?.label||"Не выбрано",children:r?.map(({value:e,label:r,disabled:o})=>t(r_,{value:e,disabled:o,onClick:()=>i?.({target:{value:e}}),children:t(rg,{variant:"subtitle1",align:"center",style:{textTransform:"capitalize",minWidth:70},children:r})},e))})}let iD=tc(tF)`
330
330
  position: absolute;
331
331
  display: flex;
332
332
  justify-content: space-between;
333
333
  top: 0;
334
334
  left: 0;
335
335
  width: 100%;
336
- `,iq=tc(ro)`
336
+ `,iO=tc(t3)`
337
337
  width: 32px;
338
338
  height: 32px;
339
339
  padding: ${({theme:e})=>e.spacing(2)};
340
- `,iX=tc(tz)`
340
+ `,iL=tc(tz)`
341
341
  position: relative;
342
342
  padding-top: 32px;
343
- `,iJ=tc(tS)`
343
+ `,iB=tc(tS)`
344
344
  position: absolute;
345
345
  height: 32px;
346
346
  top: 0;
@@ -353,7 +353,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
353
353
  text-transform: capitalize;
354
354
  font-size: ${({theme:e})=>e.typography.subtitle1.fontSize};
355
355
  }
356
- `,iZ=tc(tk)`
356
+ `,iR=tc(tk)`
357
357
  display: flex;
358
358
  column-gap: ${({theme:e})=>e.spacing(4)};
359
359
  align-items: center;
@@ -362,14 +362,14 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
362
362
  text-transform: capitalize;
363
363
  font-size: ${({theme:e})=>e.typography.subtitle1.fontSize};
364
364
  }
365
- `,iQ=({className:e,classNames:r,showOutsideDays:i=!0,...o})=>t(tC,{locale:tM,showOutsideDays:i,components:{DayButton:iU,Dropdown:iY,DropdownNav:({className:e,...r})=>t(iZ,{className:e,...r}),MonthCaption:({className:e,...r})=>t(iJ,{className:e,...r}),Months:({className:e,...r})=>t(iX,{className:e,...r}),PreviousMonthButton:({className:e,color:r,...i})=>t(iq,{className:e,variant:"text",...i}),NextMonthButton:({className:e,color:r,...i})=>t(iq,{className:e,variant:"text",...i}),Nav:e=>t(iK,{...e}),CaptionLabel:({className:e,color:r,...i})=>t(rC,{component:"span",variant:"subtitle1",className:e,...i})},...o}),i0=i.createContext(null);function i1(){let e=i.useContext(i0);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}let i2=tc("div")`
365
+ `,iE=({className:e,classNames:r,showOutsideDays:i=!0,...o})=>t(tC,{locale:tP,showOutsideDays:i,components:{DayButton:iA,Dropdown:iI,DropdownNav:({className:e,...r})=>t(iR,{className:e,...r}),MonthCaption:({className:e,...r})=>t(iB,{className:e,...r}),Months:({className:e,...r})=>t(iL,{className:e,...r}),PreviousMonthButton:({className:e,color:r,...i})=>t(iO,{className:e,variant:"text",...i}),NextMonthButton:({className:e,color:r,...i})=>t(iO,{className:e,variant:"text",...i}),Nav:e=>t(iD,{...e}),CaptionLabel:({className:e,color:r,...i})=>t(rg,{component:"span",variant:"subtitle1",className:e,...i})},...o}),iN=i.createContext(null);function iW(){let e=i.useContext(iN);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}let i_=tc("div")`
366
366
  overflow: hidden;
367
- `,i3=tc("div",{shouldForwardProp:e=>"orientation"!==e})`
367
+ `,iH=tc("div",{shouldForwardProp:e=>"orientation"!==e})`
368
368
  display: flex;
369
369
  flex-direction: ${({orientation:e})=>"vertical"===e&&"column"};
370
370
  margin-left: ${({orientation:e,theme:t})=>"horizontal"===e&&t.spacing(-4)};
371
371
  margin-top: ${({orientation:e,theme:t})=>"vertical"===e&&t.spacing(-4)};
372
- `;function i8(e){let{carouselRef:r,orientation:i="horizontal"}=i1();return t(i2,{ref:r,"data-slot":"carousel-content",children:t(i3,{orientation:i,...e})})}let i4=tc("div",{shouldForwardProp:e=>"orientation"!==e})`
372
+ `;function ij(e){let{carouselRef:r,orientation:i="horizontal"}=iW();return t(i_,{ref:r,"data-slot":"carousel-content",children:t(iH,{orientation:i,...e})})}let iV=tc("div",{shouldForwardProp:e=>"orientation"!==e})`
373
373
  position: absolute;
374
374
  width: ${({orientation:e})=>"horizontal"===e?"100%":"auto"};
375
375
  height: ${({orientation:e})=>"horizontal"===e?"auto":"100%"};
@@ -381,7 +381,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
381
381
  gap: ${({theme:e})=>e.spacing(1)};
382
382
  z-index: 1;
383
383
  overflow: hidden;
384
- `,i6=tc("button",{shouldForwardProp:e=>"selected"!==e})`
384
+ `,iG=tc("button",{shouldForwardProp:e=>"selected"!==e})`
385
385
  width: ${({theme:e})=>e.spacing(6)};
386
386
  height: ${({theme:e})=>e.spacing(6)};
387
387
  position: relative;
@@ -399,7 +399,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
399
399
  height: 2px;
400
400
  transform: ${({orientation:e})=>"vertical"===e&&"rotate(90deg)"};
401
401
  }
402
- `,i5=({api:e,orientation:r})=>{let{selectedIndex:i,scrollSnaps:o,onDotButtonClick:n}=(e=>{let[t,r]=y(0),[i,o]=y([]),n=p(t=>{e&&e.scrollTo(t)},[e]),a=p(e=>{e&&o(e.scrollSnapList())},[]),l=p(e=>{e&&r(e.selectedScrollSnap())},[]);return g(()=>{e&&(a(e),l(e),e.on("reInit",a).on("reInit",l).on("select",l))},[e,a,l]),{selectedIndex:t,scrollSnaps:i,onDotButtonClick:n}})(e);return t(i4,{orientation:r,children:o.map((e,o)=>t(i6,{orientation:r,onClick:()=>n(o),selected:o===i},e))})},i9=tc("div",{shouldForwardProp:e=>"orientation"!==e})(({orientation:e,theme:t})=>({minWidth:0,flexShrink:0,flexGrow:0,flexBasis:"100%",paddingLeft:"horizontal"===e?t.spacing(4):void 0,paddingTop:"vertical"===e?t.spacing(4):void 0}));function i7(e){let{orientation:r="horizontal"}=i1();return t(i9,{orientation:r,role:"group","aria-roledescription":"slide","data-slot":"carousel-item",...e})}let oe=tc(ro,{shouldForwardProp:e=>"orientation"!==e})`
402
+ `,iY=({api:e,orientation:r})=>{let{selectedIndex:i,scrollSnaps:o,onDotButtonClick:n}=(e=>{let[t,r]=y(0),[i,o]=y([]),n=p(t=>{e&&e.scrollTo(t)},[e]),a=p(e=>{e&&o(e.scrollSnapList())},[]),l=p(e=>{e&&r(e.selectedScrollSnap())},[]);return g(()=>{e&&(a(e),l(e),e.on("reInit",a).on("reInit",l).on("select",l))},[e,a,l]),{selectedIndex:t,scrollSnaps:i,onDotButtonClick:n}})(e);return t(iV,{orientation:r,children:o.map((e,o)=>t(iG,{orientation:r,onClick:()=>n(o),selected:o===i},e))})},iU=tc("div",{shouldForwardProp:e=>"orientation"!==e})(({orientation:e,theme:t})=>({minWidth:0,flexShrink:0,flexGrow:0,flexBasis:"100%",paddingLeft:"horizontal"===e?t.spacing(4):void 0,paddingTop:"vertical"===e?t.spacing(4):void 0}));function iK(e){let{orientation:r="horizontal"}=iW();return t(iU,{orientation:r,role:"group","aria-roledescription":"slide","data-slot":"carousel-item",...e})}let iq=tc(t3,{shouldForwardProp:e=>"orientation"!==e})`
403
403
  position: absolute;
404
404
  opacity: 0.3;
405
405
  user-select: none;
@@ -408,7 +408,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
408
408
  padding: 0;
409
409
  height: ${({orientation:e})=>"horizontal"===e?"100%":"clamp(25px, 15%, 45px)"};
410
410
  width: ${({orientation:e})=>"horizontal"===e?"clamp(25px, 15%, 45px)":"100%"};
411
- `;function ot({className:e,...r}){let{orientation:i="horizontal",canScrollNext:o,scrollNext:n}=i1();return o?t(oe,{type:"button",variant:"text","data-slot":"carousel-next",disabled:!o,onClick:n,orientation:i,...r,children:"horizontal"===i?t(S,{}):t(C,{})}):null}let or=tc(ro,{shouldForwardProp:e=>"orientation"!==e})`
411
+ `;function iJ({className:e,...r}){let{orientation:i="horizontal",canScrollNext:o,scrollNext:n}=iW();return o?t(iq,{type:"button",variant:"text","data-slot":"carousel-next",disabled:!o,onClick:n,orientation:i,...r,children:"horizontal"===i?t(S,{}):t(C,{})}):null}let iX=tc(t3,{shouldForwardProp:e=>"orientation"!==e})`
412
412
  position: absolute;
413
413
  opacity: 0.3;
414
414
  user-select: none;
@@ -417,59 +417,59 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
417
417
  padding: 0;
418
418
  height: ${({orientation:e})=>"horizontal"===e?"100%":"clamp(25px, 15%, 45px)"};
419
419
  width: ${({orientation:e})=>"horizontal"===e?"clamp(25px, 15%, 45px)":"100%"};
420
- `;function oi({className:e,...r}){let{orientation:i="horizontal",scrollPrev:o,canScrollPrev:n}=i1();return n?t(or,{type:"button","data-slot":"carousel-previous",variant:"text",disabled:!n,onClick:o,orientation:i,...r,children:"horizontal"===i?t(k,{}):t(z,{})}):null}let oo=tc("div")`
420
+ `;function iZ({className:e,...r}){let{orientation:i="horizontal",scrollPrev:o,canScrollPrev:n}=iW();return n?t(iX,{type:"button","data-slot":"carousel-previous",variant:"text",disabled:!n,onClick:o,orientation:i,...r,children:"horizontal"===i?t(k,{}):t(z,{})}):null}let iQ=tc("div")`
421
421
  position: relative;
422
- `;function on({width:i="100%",height:o="100%",...n}){let{canScrollNext:a,canScrollPrev:l,scrollNext:d,scrollPrev:s,api:c,opts:h,orientation:u,carouselRef:m,handleKeyDown:f,data:x,isShowButtons:b,isShowDots:$}=(({orientation:e="horizontal",opts:t,setApi:r,plugins:i,data:o,showDots:n})=>{let[a,l]=tT({...t,axis:"horizontal"===e?"x":"y"},i),[d,s]=y(!1),[c,h]=y(!1),u=o.length>1,m=!!(n&&o.length>1),f=p(e=>{e&&(s(e.canScrollPrev()),h(e.canScrollNext()))},[]),x=p(e=>{l&&l.scrollTo(e)},[l]),b=p(()=>{l?.scrollPrev()},[l]),$=p(()=>{l?.scrollNext()},[l]),v=p(e=>{"ArrowLeft"===e.key?(e.preventDefault(),b()):"ArrowRight"===e.key&&(e.preventDefault(),$())},[b,$]);return g(()=>{l&&r&&r(l)},[l,r]),g(()=>{if(l)return f(l),l.on("reInit",f),l.on("select",f),()=>{l?.off("select",f)}},[l,f]),{carouselRef:a,api:l,scrollPrev:b,scrollNext:$,canScrollPrev:d,canScrollNext:c,handleKeyDown:v,opts:t,orientation:e,onDotButtonClick:x,isShowButtons:u,isShowDots:m,data:o}})(n);return t(i0.Provider,{value:{carouselRef:m,api:c,opts:h,orientation:u||(h?.axis==="y"?"vertical":"horizontal"),scrollPrev:s,scrollNext:d,canScrollPrev:l,canScrollNext:a},children:r(oo,{onKeyDownCapture:f,className:n.className,"data-slot":"carousel",...n,children:[t(i8,{style:{width:i,height:o},children:x.map(e=>t(i7,{children:n.renderItem(e)},`${e[n.keyId]}`))}),b&&r(e,{children:[t(oi,{}),t(ot,{})]}),$&&t(i5,{api:c,orientation:u})]})})}let oa=e=>t(ef,{...e}),ol=tc(ey)`
422
+ `;function i0({width:i="100%",height:o="100%",...n}){let{canScrollNext:a,canScrollPrev:l,scrollNext:d,scrollPrev:s,api:c,opts:h,orientation:u,carouselRef:m,handleKeyDown:f,data:x,isShowButtons:b,isShowDots:$}=(({orientation:e="horizontal",opts:t,setApi:r,plugins:i,data:o,showDots:n})=>{let[a,l]=tM({...t,axis:"horizontal"===e?"x":"y"},i),[d,s]=y(!1),[c,h]=y(!1),u=o.length>1,m=!!(n&&o.length>1),f=p(e=>{e&&(s(e.canScrollPrev()),h(e.canScrollNext()))},[]),x=p(e=>{l&&l.scrollTo(e)},[l]),b=p(()=>{l?.scrollPrev()},[l]),$=p(()=>{l?.scrollNext()},[l]),v=p(e=>{"ArrowLeft"===e.key?(e.preventDefault(),b()):"ArrowRight"===e.key&&(e.preventDefault(),$())},[b,$]);return g(()=>{l&&r&&r(l)},[l,r]),g(()=>{if(l)return f(l),l.on("reInit",f),l.on("select",f),()=>{l?.off("select",f)}},[l,f]),{carouselRef:a,api:l,scrollPrev:b,scrollNext:$,canScrollPrev:d,canScrollNext:c,handleKeyDown:v,opts:t,orientation:e,onDotButtonClick:x,isShowButtons:u,isShowDots:m,data:o}})(n);return t(iN.Provider,{value:{carouselRef:m,api:c,opts:h,orientation:u||(h?.axis==="y"?"vertical":"horizontal"),scrollPrev:s,scrollNext:d,canScrollPrev:l,canScrollNext:a},children:r(iQ,{onKeyDownCapture:f,className:n.className,"data-slot":"carousel",...n,children:[t(ij,{style:{width:i,height:o},children:x.map(e=>t(iK,{children:n.renderItem(e)},`${e[n.keyId]}`))}),b&&r(e,{children:[t(iZ,{}),t(iJ,{})]}),$&&t(iY,{api:c,orientation:u})]})})}let i1=e=>t(ef,{...e}),i2=tc(ey)`
423
423
  margin-right: 0;
424
424
  margin-left: -5px;
425
425
 
426
426
  & .MuiFormControlLabel-label {
427
427
  margin-left: ${({theme:e})=>e.spacing(1)};
428
428
  }
429
- `,od=e=>t(ol,{...e}),os=tc(od)`
429
+ `,i3=e=>t(i2,{...e}),i8=tc(i3)`
430
430
  align-items: center;
431
- `,op=tc(ia)`
431
+ `,i4=tc(r3)`
432
432
  margin: ${({theme:e})=>e.spacing(1)};
433
433
  padding: ${({theme:e})=>e.spacing(1)};
434
- `,oc=({isSuccess:e,helperText:i,label:o,isError:n,...a})=>r(oa,{children:[t(os,{control:t(op,{...a}),label:o}),i&&t(iI,{error:n,success:e,children:i})]}),og={noDataImgSrc:"",defaultErrorImgSrc:"",outdatedReleaseErrorImgSrc:"",mailImgSrc:""},oh={phone:"",email:""},ou="ym-hide-content",om=l({language:"ru",captureException:e=>console.error(e),imagesMap:og,techSup:oh,emptySymbol:"—",hidePersonalDataClassname:ou,hidePersonalData:!0}),of=({children:e,language:r="ru",captureException:i,emptySymbol:o="—",imagesMap:n=og,techSup:a=oh,hidePersonalData:l=!0,hidePersonalDataClassname:d=ou,components:s})=>(g(()=>{i||console.warn("ConfigProvider: Необходимо наличие captureException, связанного с сервисом мониторинга ошибок.\nНа данный момент все ошибки, отлавливаемые в ErrorBoundary будут выводиться только в консоль")},[]),t(om.Provider,{value:{language:r,captureException:i||(e=>console.error(e)),emptySymbol:o,imagesMap:n,techSup:a,hidePersonalData:l,hidePersonalDataClassname:d,components:s},children:e})),oy=({children:e,onClose:r,open:i,title:o,...n})=>{let{isMobile:a}=rI();return a?t(rV,{title:o,onClose:r,open:i,children:e}):t(eO,{open:i,onClose:r,...n,children:e})},ox={vertical:"bottom",horizontal:"right"},ob={vertical:"top",horizontal:"right"},o$=tc("div")`
434
+ `,i6=({isSuccess:e,helperText:i,label:o,isError:n,...a})=>r(i1,{children:[t(i8,{control:t(i4,{...a}),label:o}),i&&t(ix,{error:n,success:e,children:i})]}),i5={noDataImgSrc:"",defaultErrorImgSrc:"",outdatedReleaseErrorImgSrc:"",mailImgSrc:""},i9={phone:"",email:""},i7="ym-hide-content",oe=l({language:"ru",captureException:e=>console.error(e),imagesMap:i5,techSup:i9,emptySymbol:"—",hidePersonalDataClassname:i7,hidePersonalData:!0}),ot=({children:e,language:r="ru",captureException:i,emptySymbol:o="—",imagesMap:n=i5,techSup:a=i9,hidePersonalData:l=!0,hidePersonalDataClassname:d=i7,components:s})=>(g(()=>{i||console.warn("ConfigProvider: Необходимо наличие captureException, связанного с сервисом мониторинга ошибок.\nНа данный момент все ошибки, отлавливаемые в ErrorBoundary будут выводиться только в консоль")},[]),t(oe.Provider,{value:{language:r,captureException:i||(e=>console.error(e)),emptySymbol:o,imagesMap:n,techSup:a,hidePersonalData:l,hidePersonalDataClassname:d,components:s},children:e})),or=({children:e,onClose:r,open:i,title:o,...n})=>{let{isMobile:a}=rw();return a?t(rD,{title:o,onClose:r,open:i,children:e}):t(eO,{open:i,onClose:r,...n,children:e})},oi={vertical:"bottom",horizontal:"right"},oo={vertical:"top",horizontal:"right"},on=tc("div")`
435
435
  max-width: 380px;
436
436
  padding: ${({theme:e})=>e.spacing(4)};
437
- `,ov=tc(rC)`
437
+ `,oa=tc(rg)`
438
438
  margin-bottom: ${({theme:e})=>e.spacing(3)};
439
- `,ow=tc("div")`
439
+ `,ol=tc("div")`
440
440
  display: flex;
441
441
  gap: ${({theme:e})=>e.spacing(3)};
442
442
  justify-content: end;
443
- `,oC=i=>{let{actionComponentProps:o,popoverProps:n,cancelButtonProps:a,confirmButtonProps:l}=(({confirmButtonProps:e,onConfirm:t})=>{let{isOpen:r,anchor:i,actions:o}=rA(),{isAccented:n}=e||{},a=n?t5.Light:t5.Contained,l=n?t6.Error:t6.Primary;return{actionComponentProps:{onClick:o.open},popoverProps:{open:r,anchorEl:i,onClose:o.close},cancelButtonProps:{onClick:o.close},confirmButtonProps:{variant:a,color:l,onClick:()=>{t(),o.close()}}}})(i),{text:d,confirmButtonProps:s,popoverProps:p,actionComponent:c}=i,{text:g="Подтвердить"}=s||{},{anchorOrigin:h=ox,transformOrigin:u=ob}=p||{};return r(e,{children:[c(o),t(oy,{anchorOrigin:h,transformOrigin:u,...n,children:r(o$,{children:[d&&t(ov,{children:d}),r(ow,{children:[t(ro,{variant:"text",...a,children:"Отмена"}),t(ro,{...l,children:g})]})]})})]})},ok=({children:e,onClose:i,...o})=>r(eh,{...o,children:[e,i&&t(rR,{variant:"text",onClick:e=>{i&&i(e,"escapeKeyDown")},"aria-label":"Закрыть модальное окно",children:t(j,{})})]}),oS={xs:{minWidth:"300px",maxWidth:"399px"},sm:{minWidth:"400px",maxWidth:"499px"},md:{minWidth:"500px",maxWidth:"599px"},lg:{minWidth:"600px",maxWidth:"699px"},xl:{minWidth:"700px",maxWidth:"980px"}},oz=e=>oS[e]||oS.md,oF=tc(es,{shouldForwardProp:e=>!["$size"].includes(e.toString())})`
444
- &.${e6.root} .${eJ.root} {
443
+ `,od=i=>{let{actionComponentProps:o,popoverProps:n,cancelButtonProps:a,confirmButtonProps:l}=(({confirmButtonProps:e,onConfirm:t})=>{let{isOpen:r,anchor:i,actions:o}=r$(),{isAccented:n}=e||{},a=n?tX.Light:tX.Contained,l=n?tJ.Error:tJ.Primary;return{actionComponentProps:{onClick:o.open},popoverProps:{open:r,anchorEl:i,onClose:o.close},cancelButtonProps:{onClick:o.close},confirmButtonProps:{variant:a,color:l,onClick:()=>{t(),o.close()}}}})(i),{text:d,confirmButtonProps:s,popoverProps:p,actionComponent:c}=i,{text:g="Подтвердить"}=s||{},{anchorOrigin:h=oi,transformOrigin:u=oo}=p||{};return r(e,{children:[c(o),t(or,{anchorOrigin:h,transformOrigin:u,...n,children:r(on,{children:[d&&t(oa,{children:d}),r(ol,{children:[t(t3,{variant:"text",...a,children:"Отмена"}),t(t3,{...l,children:g})]})]})})]})},os=({children:e,onClose:i,...o})=>r(eh,{...o,children:[e,i&&t(rz,{variant:"text",onClick:e=>{i&&i(e,"escapeKeyDown")},"aria-label":"Закрыть модальное окно",children:t(j,{})})]}),op={xs:{minWidth:"300px",maxWidth:"399px"},sm:{minWidth:"400px",maxWidth:"499px"},md:{minWidth:"500px",maxWidth:"599px"},lg:{minWidth:"600px",maxWidth:"699px"},xl:{minWidth:"700px",maxWidth:"980px"}},oc=e=>op[e]||op.md,og=tc(es,{shouldForwardProp:e=>!["$size"].includes(e.toString())})`
444
+ &.${e6.root} .${eX.root} {
445
445
  background-color: ${({theme:e})=>e.palette.background.modalShadow};
446
446
  }
447
447
  .${e6.paper} {
448
- min-width: ${({$size:e})=>oz(e).minWidth};
449
- max-width: ${({$size:e})=>oz(e).maxWidth};
448
+ min-width: ${({$size:e})=>oc(e).minWidth};
449
+ max-width: ${({$size:e})=>oc(e).maxWidth};
450
450
  }
451
- `,oM=({children:e,title:i,disableBackdropClick:o,onClose:n,size:a="md",...l})=>{let d=n&&((e,t)=>{o&&"backdropClick"===t||n(e,t)}),{isMobile:s}=rI();return s?t(rV,{onClose:d,title:i,children:e}):r(oF,{$size:a,onClose:d,...l,children:[i&&t(ok,{onClose:n,children:i}),e]})},oT=tc(ep)`
451
+ `,oh=({children:e,title:i,disableBackdropClick:o,onClose:n,size:a="md",...l})=>{let d=n&&((e,t)=>{o&&"backdropClick"===t||n(e,t)}),{isMobile:s}=rw();return s?t(rD,{onClose:d,title:i,children:e}):r(og,{$size:a,onClose:d,...l,children:[i&&t(os,{onClose:n,children:i}),e]})},ou=tc(ep)`
452
452
  padding-top: 0;
453
- `,oP=({children:e,...r})=>t(oT,{...r,children:e}),oA=tc(ec)`
453
+ `,om=({children:e,...r})=>t(ou,{...r,children:e}),of=tc(ec)`
454
454
  padding-bottom: ${({theme:e})=>e.spacing(6)};
455
455
 
456
456
  ${({theme:e})=>e.breakpoints.down("sm")} {
457
457
  padding: ${({theme:e})=>e.spacing(5,4)};
458
458
  }
459
- `,oD=e=>t(oA,{...e}),oI=tc(eg)`
459
+ `,oy=e=>t(of,{...e}),ox=tc(eg)`
460
460
  color: ${({theme:e})=>e.palette.grey[900]};
461
- `,oO=e=>t(oI,{...e}),oE=tc(ro)`
461
+ `,ob=e=>t(ox,{...e}),o$=tc(t3)`
462
462
  ${({theme:e})=>e.breakpoints.down("sm")} {
463
463
  order: 1;
464
464
  }
465
- `,oL=e=>{let{isShowCancelButton:i,cancelButtonProps:o}=(({actions:e,onClose:t})=>{let{isMobile:r}=rI(),{cancel:i}=e,o=!!i,n=i?.onClick||t,{variant:a=r?"light":"text"}=i||{};return{isShowCancelButton:o,cancelButtonProps:{variant:a,onClick:n}}})(e),{open:n,title:a,description:l,actions:d,onClose:s,...p}=e,{text:c,...g}=d.confirm,{text:h,variant:u,onClick:m,...f}=d.cancel||{};return r(oM,{title:a,open:n,onClose:s,...p,children:[l&&t(oD,{children:t(oO,{children:l})}),r(oP,{children:[i&&t(oE,{...f,...o,children:h}),t(ro,{...g,children:c})]})]})},oR="small",oB="medium",oN="large",oW={[oR]:"239px",[oB]:"323px",[oN]:"458px"},o_={[oR]:"119px",[oB]:"161px",[oN]:"229px"},oH={[oR]:"384px",[oB]:"400px",[oN]:"460px"},oj={[oR]:"h5",[oB]:"h4",[oN]:"h3"},oV=tc("img",{shouldForwardProp:e=>"size"!==e})`
465
+ `,ov=e=>{let{isShowCancelButton:i,cancelButtonProps:o}=(({actions:e,onClose:t})=>{let{isMobile:r}=rw(),{cancel:i}=e,o=!!i,n=i?.onClick||t,{variant:a=r?"light":"text"}=i||{};return{isShowCancelButton:o,cancelButtonProps:{variant:a,onClick:n}}})(e),{open:n,title:a,description:l,actions:d,onClose:s,...p}=e,{text:c,...g}=d.confirm,{text:h,variant:u,onClick:m,...f}=d.cancel||{};return r(oh,{title:a,open:n,onClose:s,...p,children:[l&&t(oy,{children:t(ob,{children:l})}),r(om,{children:[i&&t(o$,{...f,...o,children:h}),t(t3,{...g,children:c})]})]})},ow="small",oC="medium",ok="large",oS={[ow]:"239px",[oC]:"323px",[ok]:"458px"},oz={[ow]:"119px",[oC]:"161px",[ok]:"229px"},oF={[ow]:"384px",[oC]:"400px",[ok]:"460px"},oP={[ow]:"h5",[oC]:"h4",[ok]:"h3"},oM=tc("img",{shouldForwardProp:e=>"size"!==e})`
466
466
  display: block;
467
467
 
468
468
  width: ${({width:e})=>e||"auto"};
469
469
  max-width: 100%;
470
470
  height: ${({height:e})=>e||"auto"};
471
471
  margin: auto auto
472
- ${({theme:e,size:t})=>t===oR?e.spacing(4):e.spacing(6)};
472
+ ${({theme:e,size:t})=>t===ow?e.spacing(4):e.spacing(6)};
473
473
 
474
474
  color: ${({theme:e})=>e.palette.grey[900]};
475
475
 
@@ -478,10 +478,10 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
478
478
  ${({theme:e})=>e.breakpoints.down("sm")} {
479
479
  margin: auto auto ${({theme:e})=>e.spacing(8)};
480
480
  }
481
- `,oG=oV,oU=oV.withComponent,oY=e=>"$size"!==e,oK=tc("div",{shouldForwardProp:oY})`
481
+ `,oT=oM,oA=oM.withComponent,oI=e=>"$size"!==e,oD=tc("div",{shouldForwardProp:oI})`
482
482
  display: flex;
483
483
  flex-direction: column;
484
- gap: ${({theme:e,$size:t})=>t===oR?e.spacing(4):e.spacing(6)};
484
+ gap: ${({theme:e,$size:t})=>t===ow?e.spacing(4):e.spacing(6)};
485
485
  align-items: center;
486
486
  justify-content: center;
487
487
 
@@ -497,11 +497,11 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
497
497
  grid-template-rows: 1fr max-content;
498
498
  gap: ${({theme:e})=>e.spacing(4)};
499
499
  }
500
- `,oq=tc("div",{shouldForwardProp:oY})`
501
- max-width: ${({$size:e})=>oH[e]};
500
+ `,oO=tc("div",{shouldForwardProp:oI})`
501
+ max-width: ${({$size:e})=>oF[e]};
502
502
  margin: 0 auto;
503
- `,oX=tc(rC,{shouldForwardProp:oY})`
504
- margin-bottom: ${({theme:e,$size:t})=>t===oR?e.spacing(2):e.spacing(4)};
503
+ `,oL=tc(rg,{shouldForwardProp:oI})`
504
+ margin-bottom: ${({theme:e,$size:t})=>t===ow?e.spacing(2):e.spacing(4)};
505
505
 
506
506
  text-align: center;
507
507
 
@@ -512,17 +512,17 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
512
512
  font-weight: ${({theme:e})=>e.typography.fontWeightMedium};
513
513
  color: ${({theme:e})=>e.palette.text.secondary};
514
514
  }
515
- `,oJ=tc(rC,{shouldForwardProp:oY})`
515
+ `,oB=tc(rg,{shouldForwardProp:oI})`
516
516
  display: block;
517
517
 
518
- font-size: ${({$size:e,theme:t})=>e===oN?t.typography.pxToRem(16):t.typography.body1.fontSize};
518
+ font-size: ${({$size:e,theme:t})=>e===ok?t.typography.pxToRem(16):t.typography.body1.fontSize};
519
519
  text-align: center;
520
520
 
521
521
  ${({theme:e})=>e.breakpoints.down("sm")} {
522
522
  font-size: ${({theme:e})=>e.typography.body1.fontSize};
523
523
  color: ${({theme:e})=>e.palette.text.secondary};
524
524
  }
525
- `,oZ=tc("footer")`
525
+ `,oR=tc("footer")`
526
526
  display: flex;
527
527
  flex-wrap: wrap;
528
528
  gap: ${({theme:e})=>e.spacing(2)};
@@ -536,7 +536,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
536
536
 
537
537
  margin-top: auto;
538
538
  }
539
- `,oQ=({className:e,title:i,imgSrc:o,imgAlt:n,description:a,Actions:l,size:d="small",imgWidth:s,renderImage:p})=>{let g=c(om),h=g.components?.placeholder?.defaultProps?.renderImage,u=m(()=>p&&oU(p)||h&&oU(h)||oG,[p,h]);return r(oK,{$size:d,className:e,children:[r(oq,{$size:d,children:[o&&t(u,{src:o,alt:n,width:s||oW[d],height:s?"auto":o_[d],size:d}),t(oX,{$size:d,variant:oj[d],children:i}),a&&t(oJ,{$size:d,component:"div",variant:"body1",children:a})]}),l&&t(oZ,{children:l})]})},o0=()=>{let{imagesMap:e,techSup:i}=c(om);return t(oQ,{title:"Произошла непредвиденная ошибка",description:r("div",{children:[t(rC,{children:"Пожалуйста, попробуйте обновить страницу или обратитесь в техническую поддержку:"}),r(rC,{children:["email\xa0",t(ew,{href:`mailto:${i.email}`,children:i.email}),", телефон\xa0",t(ew,{href:`tel:${i.phone}`,children:i.phone})]})]}),imgAlt:"Непредвиденная ошибка",imgSrc:e.defaultErrorImgSrc,imgWidth:"324px",Actions:t(ro,{onClick:()=>{location.reload()},children:"Обновить страницу"})})},o1=()=>{let{imagesMap:e}=c(om);return t(oQ,{title:"Обновление в сервисе",description:t(rC,{component:"p",children:"Наши специалисты работают над улучшением качества продукта. Для загрузки обновлений, пожалуйста, обновите страницу."}),imgAlt:"Обновление в сервисе",imgSrc:e.outdatedReleaseErrorImgSrc,imgWidth:"324px",Actions:t(ro,{onClick:()=>{location.reload()},children:"Обновить страницу"})})};var o2=((tQ={}).OutdatedRelease="outdatedRelease",tQ.Default="default",tQ);let o3=[{type:o2.OutdatedRelease,condition:e=>"ChunkLoadError"===e.name||e.message.includes("Failed to fetch dynamically imported module")},{type:o2.Default,condition:()=>!0}],o8={[o2.OutdatedRelease]:t(o1,{}),[o2.Default]:t(o0,{})};class o4 extends n{static contextType=om;state={hasError:!1,typeError:o2.Default};static getDerivedStateFromError(e){return{hasError:!0,typeError:o3.find(({condition:t})=>t(e))?.type??o2.Default}}componentDidCatch(e){this.context?.captureException(e)}render(){return this.state.hasError?o8[this.state.typeError]:this.props.children}}let o6=tc("div")`
539
+ `,oE=({className:e,title:i,imgSrc:o,imgAlt:n,description:a,Actions:l,size:d="small",imgWidth:s,renderImage:p})=>{let g=c(oe),h=g.components?.placeholder?.defaultProps?.renderImage,u=m(()=>p&&oA(p)||h&&oA(h)||oT,[p,h]);return r(oD,{$size:d,className:e,children:[r(oO,{$size:d,children:[o&&t(u,{src:o,alt:n,width:s||oS[d],height:s?"auto":oz[d],size:d}),t(oL,{$size:d,variant:oP[d],children:i}),a&&t(oB,{$size:d,component:"div",variant:"body1",children:a})]}),l&&t(oR,{children:l})]})},oN=()=>{let{imagesMap:e,techSup:i}=c(oe);return t(oE,{title:"Произошла непредвиденная ошибка",description:r("div",{children:[t(rg,{children:"Пожалуйста, попробуйте обновить страницу или обратитесь в техническую поддержку:"}),r(rg,{children:["email\xa0",t(ew,{href:`mailto:${i.email}`,children:i.email}),", телефон\xa0",t(ew,{href:`tel:${i.phone}`,children:i.phone})]})]}),imgAlt:"Непредвиденная ошибка",imgSrc:e.defaultErrorImgSrc,imgWidth:"324px",Actions:t(t3,{onClick:()=>{location.reload()},children:"Обновить страницу"})})},oW=()=>{let{imagesMap:e}=c(oe);return t(oE,{title:"Обновление в сервисе",description:t(rg,{component:"p",children:"Наши специалисты работают над улучшением качества продукта. Для загрузки обновлений, пожалуйста, обновите страницу."}),imgAlt:"Обновление в сервисе",imgSrc:e.outdatedReleaseErrorImgSrc,imgWidth:"324px",Actions:t(t3,{onClick:()=>{location.reload()},children:"Обновить страницу"})})},o_=[{type:"outdatedRelease",condition:e=>"ChunkLoadError"===e.name||e.message.includes("Failed to fetch dynamically imported module")},{type:"default",condition:()=>!0}],oH={outdatedRelease:t(oW,{}),default:t(oN,{})};class oj extends n{static contextType=oe;state={hasError:!1,typeError:"default"};static getDerivedStateFromError(e){return{hasError:!0,typeError:o_.find(({condition:t})=>t(e))?.type??"default"}}componentDidCatch(e){this.context?.captureException(e)}render(){return this.state.hasError?oH[this.state.typeError]:this.props.children}}let oV=tc("div")`
540
540
  display: flex;
541
541
  flex-grow: 1;
542
542
  align-items: center;
@@ -544,7 +544,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
544
544
 
545
545
  width: 100%;
546
546
  height: 100%;
547
- `,o5=({isLoading:e,isError:r,isCustom:i,errorState:o,customState:n,children:a,loadingContent:l=t(re,{color:"primary"})})=>{let{imagesMap:d}=c(om);if(e)return t(o6,{children:l});if(i&&n)return t(oQ,{...n});if(r&&o){let{title:e="Произошла ошибка",imgAlt:r,imgSrc:i=d.defaultErrorImgSrc,errorList:n,onRetry:a,actions:l=t(ro,{onClick:a,children:"Попробовать снова"})}=o,s=n.map(e=>t(rC,{component:"p",children:e},e));return t(oQ,{title:e,description:s,imgAlt:r,imgSrc:i,Actions:l})}return t(o4,{children:a})},o9=tc(rC)`
547
+ `,oG=({isLoading:e,isError:r,isCustom:i,errorState:o,customState:n,children:a,loadingContent:l=t(t0,{color:"primary"})})=>{let{imagesMap:d}=c(oe);if(e)return t(oV,{children:l});if(i&&n)return t(oE,{...n});if(r&&o){let{title:e="Произошла ошибка",imgAlt:r,imgSrc:i=d.defaultErrorImgSrc,errorList:n,onRetry:a,actions:l=t(t3,{onClick:a,children:"Попробовать снова"})}=o,s=n.map(e=>t(rg,{component:"p",children:e},e));return t(oE,{title:e,description:s,imgAlt:r,imgSrc:i,Actions:l})}return t(oj,{children:a})},oY=tc(rg)`
548
548
  cursor: pointer;
549
549
 
550
550
  display: flex;
@@ -553,7 +553,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
553
553
  &:hover {
554
554
  text-decoration: underline;
555
555
  }
556
- `,o7=tc(P,{shouldForwardProp:e=>!["$copyPosition"].includes(e.toString())})`
556
+ `,oU=tc(T,{shouldForwardProp:e=>!["$copyPosition"].includes(e.toString())})`
557
557
  margin-right: ${({$copyPosition:e,theme:t})=>"left"===e?t.spacing(1):""};
558
558
  margin-left: ${({$copyPosition:e,theme:t})=>"right"===e?t.spacing(1):""};
559
559
 
@@ -561,13 +561,13 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
561
561
  height: 16px;
562
562
 
563
563
  fill: ${({color:e})=>e};
564
- `;var ne=((t0={}).Copied="Скопировано",t0.Error="Ошибка копирования",t0.CanCopy="Скопировать",t0);let nt=e=>{let{children:i,copyPosition:o="right",copyText:n,isShowCopyText:a,color:l,...d}=e,s=()=>t(o7,{$copyPosition:o,color:l}),{handleMouseLeave:p,handleClick:c,tooltipTitle:g,isIconOnLeft:h}=(({children:e,copyText:t,isShowCopyText:r,copyPosition:i})=>{let[o,n]=y(ne.CanCopy);return{handleMouseLeave:()=>{o!==ne.CanCopy&&setTimeout(()=>{n(ne.CanCopy)},100)},handleClick:r=>{r.stopPropagation(),navigator.clipboard.writeText(t||("string"==typeof e?e:"")).then(()=>n(ne.Copied)).catch(()=>n(ne.Error))},tooltipTitle:r?`${o}: ${t}`:o,isIconOnLeft:"left"===i}})(e);return t(rZ,{title:g,disableInteractive:!0,placement:"bottom",children:r(o9,{onMouseLeave:p,onClick:c,component:"div",color:l,...d,children:[h&&s(),i,!h&&s()]})})},nr=l({collapsed:!1,toggleCollapsed:()=>{}}),ni=tc("main")`
564
+ `,oK=e=>{let{children:i,copyPosition:o="right",copyText:n,isShowCopyText:a,color:l,...d}=e,s=()=>t(oU,{$copyPosition:o,color:l}),{handleMouseLeave:p,handleClick:c,tooltipTitle:g,isIconOnLeft:h}=(({children:e,copyText:t,isShowCopyText:r,copyPosition:i})=>{let[o,n]=y("Скопировать");return{handleMouseLeave:()=>{"Скопировать"!==o&&setTimeout(()=>{n("Скопировать")},100)},handleClick:r=>{r.stopPropagation(),navigator.clipboard.writeText(t||("string"==typeof e?e:"")).then(()=>n("Скопировано")).catch(()=>n("Ошибка копирования"))},tooltipTitle:r?`${o}: ${t}`:o,isIconOnLeft:"left"===i}})(e);return t(rW,{title:g,disableInteractive:!0,placement:"bottom",children:r(oY,{onMouseLeave:p,onClick:c,component:"div",color:l,...d,children:[h&&s(),i,!h&&s()]})})},oq=l({collapsed:!1,toggleCollapsed:()=>{}}),oJ=tc("main")`
565
565
  grid-area: main;
566
566
  overflow: hidden;
567
567
  display: flex;
568
568
  flex-direction: column;
569
569
  padding: ${({theme:e})=>e.spacing(2,2,2,0)};
570
- `,no="16rem",nn="54px",na=tc("aside",{label:"Sidebar",shouldForwardProp:e=>"width"!==e})`
570
+ `,oX="16rem",oZ="54px",oQ=tc("aside",{label:"Sidebar",shouldForwardProp:e=>"width"!==e})`
571
571
  height: 100%;
572
572
  width: ${({width:e})=>e};
573
573
  display: grid;
@@ -576,24 +576,24 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
576
576
  overflow: hidden auto;
577
577
  background-color: transparent;
578
578
  transition: ${({theme:e})=>e.transitions.create("width",{duration:e.transitions.duration.standard,easing:e.transitions.easing.easeInOut})};
579
- `,nl=tc("header",{label:"SidebarHeader"})`
579
+ `,o0=tc("header",{label:"SidebarHeader"})`
580
580
  grid-area: header;
581
581
  width: 100%;
582
582
  padding: ${({theme:e})=>e.spacing(2)};
583
583
  padding-bottom: 0;
584
- `,nd=tc("footer",{label:"SidebarFooter"})`
584
+ `,o1=tc("footer",{label:"SidebarFooter"})`
585
585
  grid-area: footer;
586
586
  padding: ${({theme:e})=>e.spacing(2)};
587
587
  padding-top: 0;
588
588
  width: 100%;
589
- `,ns=tc("div",{label:"SidebarContent"})`
589
+ `,o2=tc("div",{label:"SidebarContent"})`
590
590
  grid-area: content;
591
591
  overflow: hidden auto;
592
592
  display: flex;
593
593
  flex-direction: column;
594
594
  row-gap: ${({theme:e})=>e.spacing(2)};
595
595
  padding: ${({theme:e})=>e.spacing(2)};
596
- `,np=tc("div")`
596
+ `,o3=tc("div")`
597
597
  width: 100%;
598
598
  max-width: 1760px;
599
599
  height: 100%;
@@ -604,23 +604,23 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
604
604
  border: 1px solid ${({theme:e})=>e.palette.grey[200]};
605
605
  border-radius: ${({theme:e})=>e.shape.large};
606
606
  background-color: #FAFAFA;
607
- `,nc=({children:e,className:r})=>{let[i,o]=tw("dashboard::collapsedIn",!1);return t(nr.Provider,{value:{collapsed:i,toggleCollapsed:()=>o(!i)},children:t(np,{className:r,children:e})})};nc.Sidebar=({width:e=no,collapsedWidth:i=nn,header:o,footer:n,content:a,className:l})=>{let{collapsed:d}=ng();return r(na,{className:l,width:d?i:e,children:[o&&t(nl,{children:o}),t(ns,{children:a}),n&&t(nd,{children:n})]})},nc.Main=({children:e,className:r})=>t(ni,{className:r,children:e});let ng=()=>c(nr),nh=44,nu=36,nm="start",nf={left:"start",center:"center",right:"end"},ny=e=>e&&nf[e]||nm,nx=tc("div",{shouldForwardProp:e=>!["$align","$isDisabled","$hasStartAdornment"].includes(e.toString())})`
607
+ `,o8=({children:e,className:r})=>{let[i,o]=tw("dashboard::collapsedIn",!1);return t(oq.Provider,{value:{collapsed:i,toggleCollapsed:()=>o(!i)},children:t(o3,{className:r,children:e})})};o8.Sidebar=({width:e=oX,collapsedWidth:i=oZ,header:o,footer:n,content:a,className:l})=>{let{collapsed:d}=o4();return r(oQ,{className:l,width:d?i:e,children:[o&&t(o0,{children:o}),t(o2,{children:a}),n&&t(o1,{children:n})]})},o8.Main=({children:e,className:r})=>t(oJ,{className:r,children:e});let o4=()=>c(oq),o6=44,o5=36,o9="start",o7={left:"start",center:"center",right:"end"},ne=e=>e&&o7[e]||o9,nt=tc("div",{shouldForwardProp:e=>!["$align","$isDisabled","$hasStartAdornment"].includes(e.toString())})`
608
608
  overflow: hidden;
609
609
  display: flex;
610
610
  align-items: center;
611
- justify-content: ${({$align:e})=>ny(e)};
611
+ justify-content: ${({$align:e})=>ne(e)};
612
612
 
613
- min-height: ${nh}px;
613
+ min-height: ${o6}px;
614
614
  padding: ${({theme:e,$hasStartAdornment:t})=>t?e.spacing(1,2,1,0):e.spacing(1,2)};
615
615
 
616
616
  opacity: ${({$isDisabled:e})=>e?.5:1};
617
- `,nb=e=>{let{formattedValue:i,hasStartAdornment:o}=(({row:e,cell:t,emptyCellValue:r,startAdornment:i})=>{let{format:o,field:n}=t,a=e=>!!e||0===e;return{formattedValue:m(()=>o&&a(o(e))?o(e):n&&a(e[n])?e[n]:r,[n,o,e,r]),hasStartAdornment:!!i}})(e),{className:n,startAdornment:a,row:l,cell:d,isDisabled:s}=e,{renderCell:p,align:c="left"}=d;return r(nx,{$isDisabled:s,$align:c,$hasStartAdornment:o,className:n,inert:!!s||void 0,children:[a&&a,p?.(l),!p&&t(ic,{rowsCount:2,children:i})]})},n$="data-row-disable",nv=tc("li")`
617
+ `,nr=e=>{let{formattedValue:i,hasStartAdornment:o}=(({row:e,cell:t,emptyCellValue:r,startAdornment:i})=>{let{format:o,field:n}=t,a=e=>!!e||0===e;return{formattedValue:m(()=>o&&a(o(e))?o(e):n&&a(e[n])?e[n]:r,[n,o,e,r]),hasStartAdornment:!!i}})(e),{className:n,startAdornment:a,row:l,cell:d,isDisabled:s}=e,{renderCell:p,align:c="left"}=d;return r(nt,{$isDisabled:s,$align:c,$hasStartAdornment:o,className:n,inert:!!s||void 0,children:[a&&a,p?.(l),!p&&t(r9,{rowsCount:2,children:i})]})},ni="data-row-disable",no=tc("li")`
618
618
  position: relative;
619
619
  border-bottom: 1px solid ${({theme:e})=>e.palette.divider};
620
620
  &:last-of-type {
621
621
  border-bottom: none;
622
622
  }
623
- `,nw=tc("div")`
623
+ `,nn=tc("div")`
624
624
  position: relative;
625
625
 
626
626
  display: grid;
@@ -634,14 +634,14 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
634
634
 
635
635
  background-color: ${({theme:e,$isHovered:t})=>t?e.palette.background.elementHover:"transparent"};
636
636
  }
637
- `,nC=tc("div")`
637
+ `,na=tc("div")`
638
638
  display: flex;
639
639
  align-items: center;
640
640
  align-self: center;
641
641
  justify-content: center;
642
642
 
643
- width: ${nu}px;
644
- `,nk=e=>{let{rowId:r,checkboxProps:i,rowProps:o,tooltipProps:n,disabled:a}=(({keyId:e,columns:t,row:r,activeRowId:i,options:o,isSelectable:n,selectedRows:a,onSelectRow:l,onRowClick:d})=>{let[s,p]=y(!1),c=r[e],{isDisabled:g,disabledReason:h}=o||{},u=n&&!!a?.find(t=>t[e]===c);return{rowId:c,disabled:g,columns:t,rowProps:{$isHovered:!!(!g&&d),$isSelected:i===c,onClick:()=>{g||d?.(r)},onMouseMove:e=>{g&&"true"!==e.target.getAttribute(n$)&&p(!1)}},tooltipProps:{open:s,title:h,onOpen:e=>{"true"===e.target.getAttribute(n$)&&p(!0)},onClose:()=>p(!1)},checkboxProps:{checked:u,disabled:g,onChange:l(r)}}})(e),{className:l,row:d,options:s,isSelectable:c,gridColumns:g,columns:h,emptyCellValue:u,selectedRows:m,activeRowId:f,keyId:x,onSelectRow:b,onRowClick:$,...v}=e,{isDisabledLastCell:w=!0,isNotSelectable:C}=s||{},k=p(()=>{let e=w?void 0:[h.length-1];return h?.map((o,n)=>{let l=`${r}-${n}`,s=!!a&&(!e||!e.includes(n));return t(nb,{row:d,cell:o,emptyCellValue:u,startAdornment:!n&&(!c||C?null:c&&!C&&t(nC,{inert:!!a||void 0,onClick:e=>e.stopPropagation(),children:t(ia,{...i,style:{padding:0}})})),isDisabled:s},l)})},[h,a]);return t(nv,{$gridColumns:g,className:l,...v,children:t(rZ,{followCursor:!0,arrow:!1,...n,children:t(nw,{$gridColumns:g,[n$]:a,...o,children:k()})})})},nS=tc("ul",{label:"DataGridBody"})`
643
+ width: ${o5}px;
644
+ `,nl=e=>{let{rowId:r,checkboxProps:i,rowProps:o,tooltipProps:n,disabled:a}=(({keyId:e,columns:t,row:r,activeRowId:i,options:o,isSelectable:n,selectedRows:a,onSelectRow:l,onRowClick:d})=>{let[s,p]=y(!1),c=r[e],{isDisabled:g,disabledReason:h}=o||{},u=n&&!!a?.find(t=>t[e]===c);return{rowId:c,disabled:g,columns:t,rowProps:{$isHovered:!!(!g&&d),$isSelected:i===c,onClick:()=>{g||d?.(r)},onMouseMove:e=>{g&&"true"!==e.target.getAttribute(ni)&&p(!1)}},tooltipProps:{open:s,title:h,onOpen:e=>{"true"===e.target.getAttribute(ni)&&p(!0)},onClose:()=>p(!1)},checkboxProps:{checked:u,disabled:g,onChange:l(r)}}})(e),{className:l,row:d,options:s,isSelectable:c,gridColumns:g,columns:h,emptyCellValue:u,selectedRows:m,activeRowId:f,keyId:x,onSelectRow:b,onRowClick:$,...v}=e,{isDisabledLastCell:w=!0,isNotSelectable:C}=s||{},k=p(()=>{let e=w?void 0:[h.length-1];return h?.map((o,n)=>{let l=`${r}-${n}`,s=!!a&&(!e||!e.includes(n));return t(nr,{row:d,cell:o,emptyCellValue:u,startAdornment:!n&&(!c||C?null:c&&!C&&t(na,{inert:!!a||void 0,onClick:e=>e.stopPropagation(),children:t(r3,{...i,style:{padding:0}})})),isDisabled:s},l)})},[h,a]);return t(no,{$gridColumns:g,className:l,...v,children:t(rW,{followCursor:!0,arrow:!1,...n,children:t(nn,{$gridColumns:g,[ni]:a,...o,children:k()})})})},nd=tc("ul",{label:"DataGridBody"})`
645
645
  overflow-y: auto;
646
646
  height: 100%;
647
647
  margin: 0;
@@ -649,48 +649,48 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
649
649
  list-style-type: none;
650
650
  display: flex;
651
651
  flex-direction: column;
652
- `,nz=e=>{let{imagesMap:r}=c(om),{contentStateProps:i}=(({isLoading:e,isError:t,rows:r})=>{let i=!r.length;return{contentStateProps:{isLoading:e&&i,isError:t&&i}}})(e),{rows:o,selectedRows:n=[],isLoading:a,isError:l,errorMsg:d,keyId:s,noDataPlaceholder:p,onRetry:g,minHeight:h="400px",...u}=e,f=m(()=>o.map(({children:e,options:r,...i})=>{let o=i[s];return t(nk,{row:i,selectedRows:n,options:r,keyId:s,...u},o)}),[o,s,n,u]);return t(nS,{style:{minHeight:h},children:t(o5,{...i,errorState:{imgAlt:"Что-то пошло не так",errorList:[d||""],imgSrc:r.defaultErrorImgSrc,onRetry:g},children:o.length?f:p})})},nF=tc("footer",{label:"DataGridFooter"})`
652
+ `,ns=e=>{let{imagesMap:r}=c(oe),{contentStateProps:i}=(({isLoading:e,isError:t,rows:r})=>{let i=!r.length;return{contentStateProps:{isLoading:e&&i,isError:t&&i}}})(e),{rows:o,selectedRows:n=[],isLoading:a,isError:l,errorMsg:d,keyId:s,noDataPlaceholder:p,onRetry:g,minHeight:h="400px",...u}=e,f=m(()=>o.map(({children:e,options:r,...i})=>{let o=i[s];return t(nl,{row:i,selectedRows:n,options:r,keyId:s,...u},o)}),[o,s,n,u]);return t(nd,{style:{minHeight:h},children:t(oG,{...i,errorState:{imgAlt:"Что-то пошло не так",errorList:[d||""],imgSrc:r.defaultErrorImgSrc,onRetry:g},children:o.length?f:p})})},np=tc("footer",{label:"DataGridFooter"})`
653
653
  display: flex;
654
654
  align-items: center;
655
655
  justify-content: flex-end;
656
656
  width: 100%;
657
657
  padding: ${({theme:e})=>e.spacing(2)};
658
658
  border-top: 1px solid ${({theme:e})=>e.palette.divider};
659
- `,nM=({children:e})=>t(nF,{children:e});var nT=((t1={}).ASC="asc",t1.DESC="desc",t1);let nP=tc("div",{shouldForwardProp:e=>!["$align","$isSortable","$hasStartAdornment"].includes(e.toString())})`
659
+ `,nc=({children:e})=>t(np,{children:e});var ng=((tK={}).ASC="asc",tK.DESC="desc",tK);let nh=tc("div",{shouldForwardProp:e=>!["$align","$isSortable","$hasStartAdornment"].includes(e.toString())})`
660
660
  user-select: none;
661
661
 
662
662
  display: flex;
663
663
  align-items: center;
664
- justify-content: ${({$align:e})=>ny(e)};
664
+ justify-content: ${({$align:e})=>ne(e)};
665
665
 
666
666
  height: 40px;
667
667
  padding: ${({theme:e,$hasStartAdornment:t})=>t?e.spacing(1,2,1,0):e.spacing(1,2)};
668
668
 
669
669
  color: ${({theme:e})=>e.palette.grey[700]};
670
- `,nA=tc(rC)`
670
+ `,nu=tc(rg)`
671
671
  display: flex;
672
672
  align-items: center;
673
673
  gap: ${({theme:e})=>e.spacing(1)};
674
674
  font-weight: 500;
675
- `,nD=tc(ro,{shouldForwardProp:e=>!["$isActive"].includes(e.toString())})`
675
+ `,nm=tc(t3,{shouldForwardProp:e=>!["$isActive"].includes(e.toString())})`
676
676
  font-size: ${({theme:e})=>e.typography.caption.fontSize};
677
677
  color: ${({theme:e,$isActive:t})=>t?e.palette.primary.main:e.palette.grey[700]};
678
678
  > svg {
679
679
  width: 16px;
680
680
  height: 16px;
681
681
  }
682
- `,nI=e=>{let{wrapperProps:i}=(({field:e,isSortable:t,startAdornment:r,onSort:i})=>({wrapperProps:{$hasStartAdornment:!!r,onClick:()=>{e&&t&&i(e)}}}))(e),{startAdornment:o,field:n,isSortable:a,align:l,label:d,sorting:s}=e,p=m(()=>{if(!a)return null;if(s?.fieldId!==n)return t($,{size:16});switch(s?.sort){case nT.ASC:return t(x,{size:16});case nT.DESC:return t(v,{size:16});default:return t($,{size:16})}},[s,a,n]);return r(nP,{$align:l,...i,children:[o&&o,a?t(nD,{variant:"link",$isActive:s?.fieldId===n,endIcon:p,children:d}):t(nA,{variant:"caption",children:d})]})},nO=tc("header",{shouldForwardProp:e=>!["$gridColumns"].includes(e.toString())})`
682
+ `,nf=e=>{let{wrapperProps:i}=(({field:e,isSortable:t,startAdornment:r,onSort:i})=>({wrapperProps:{$hasStartAdornment:!!r,onClick:()=>{e&&t&&i(e)}}}))(e),{startAdornment:o,field:n,isSortable:a,align:l,label:d,sorting:s}=e,p=m(()=>{if(!a)return null;if(s?.fieldId!==n)return t($,{size:16});switch(s?.sort){case ng.ASC:return t(x,{size:16});case ng.DESC:return t(v,{size:16});default:return t($,{size:16})}},[s,a,n]);return r(nh,{$align:l,...i,children:[o&&o,a?t(nm,{variant:"link",$isActive:s?.fieldId===n,endIcon:p,children:d}):t(nu,{variant:"caption",children:d})]})},ny=tc("header",{shouldForwardProp:e=>!["$gridColumns"].includes(e.toString())})`
683
683
  display: grid;
684
684
  grid-template-columns: ${({$gridColumns:e})=>e};
685
685
 
686
686
  background-color: ${({theme:e})=>e.palette.grey[200]};
687
- `,nE=tc("div")`
687
+ `,nx=tc("div")`
688
688
  display: flex;
689
689
  align-items: center;
690
690
  justify-content: center;
691
691
 
692
- width: ${nu}px;
693
- `,nL=e=>{let{checkboxProps:r,handleSort:i}=(({rowsCount:e,sorting:t,uncheckedRowsCount:r,onSort:i})=>{let o=m(()=>!r&&e>0,[r,e]),n=m(()=>r>0&&r<e,[r,e]),a=!e;return{handleSort:p(e=>{if(!i)return;let r=t?.fieldId===e;return r&&t?.sort===nT.ASC?i({fieldId:e,sort:nT.DESC}):r&&t?.sort===nT.DESC?i(void 0):void i({fieldId:e,sort:nT.ASC})},[t,i]),checkboxProps:{checked:o,disabled:a,indeterminate:n}}})(e),{columns:o,gridColumns:n,isSelectable:a,sorting:l,onSelectAllRows:d}=e,s=m(()=>o.map(({field:e,label:o,sortable:n,align:s},p)=>t(nI,{sorting:l,field:e,label:o,isSortable:n,align:s,startAdornment:!p&&a?t(nE,{children:t(ia,{...r,onChange:d})}):null,onSort:i},o)),[o,l,a,r,d,i]);return t(nO,{$gridColumns:n,children:s})},nR=tc("div")`
692
+ width: ${o5}px;
693
+ `,nb=e=>{let{checkboxProps:r,handleSort:i}=(({rowsCount:e,sorting:t,uncheckedRowsCount:r,onSort:i})=>{let o=m(()=>!r&&e>0,[r,e]),n=m(()=>r>0&&r<e,[r,e]),a=!e;return{handleSort:p(e=>{if(!i)return;let r=t?.fieldId===e;return r&&t?.sort===ng.ASC?i({fieldId:e,sort:ng.DESC}):r&&t?.sort===ng.DESC?i(void 0):void i({fieldId:e,sort:ng.ASC})},[t,i]),checkboxProps:{checked:o,disabled:a,indeterminate:n}}})(e),{columns:o,gridColumns:n,isSelectable:a,sorting:l,onSelectAllRows:d}=e,s=m(()=>o.map(({field:e,label:o,sortable:n,align:s},p)=>t(nf,{sorting:l,field:e,label:o,isSortable:n,align:s,startAdornment:!p&&a?t(nx,{children:t(r3,{...r,onChange:d})}):null,onSort:i},o)),[o,l,a,r,d,i]);return t(ny,{$gridColumns:n,children:s})},n$=tc("div")`
694
694
  position: absolute;
695
695
  top: 0;
696
696
 
@@ -699,11 +699,11 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
699
699
 
700
700
  opacity: 0.3;
701
701
  background-color: ${({theme:e})=>e.palette.background.element};
702
- `,nB=tc("div")`
702
+ `,nv=tc("div")`
703
703
  height: 1px;
704
- `,nN=tc(ev)`
704
+ `,nw=tc(ev)`
705
705
  height: 1px;
706
- `,nW=({isLoading:e=!1,isDisabled:i=!1})=>r(nB,{children:[(e||i)&&t(nR,{}),e&&t(nN,{})]}),n_=({title:e="Нет\xa0данных",imgAlt:r=e,action:i,size:o="small"})=>{let{imagesMap:{noDataImgSrc:n}}=c(om);return t(oQ,{title:e,imgSrc:n,size:o,Actions:i?t(ro,{onClick:i.onClick,"aria-label":i.text,children:i.text}):void 0,imgAlt:r})},nH=tc("div",{shouldForwardProp:e=>"$maxHeight"!==e})`
706
+ `,nC=({isLoading:e=!1,isDisabled:i=!1})=>r(nv,{children:[(e||i)&&t(n$,{}),e&&t(nw,{})]}),nk=({title:e="Нет\xa0данных",imgAlt:r=e,action:i,size:o="small"})=>{let{imagesMap:{noDataImgSrc:n}}=c(oe);return t(oE,{title:e,imgSrc:n,size:o,Actions:i?t(t3,{onClick:i.onClick,"aria-label":i.text,children:i.text}):void 0,imgAlt:r})},nS=tc("div",{shouldForwardProp:e=>"$maxHeight"!==e})`
707
707
  position: relative;
708
708
 
709
709
  overflow: hidden;
@@ -715,24 +715,24 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
715
715
  border: ${({theme:e})=>`1px solid ${e.palette.divider}`};
716
716
  border-radius: ${({theme:e})=>e.shape.medium};
717
717
  max-height: ${({$maxHeight:e})=>e?`${e}px`:"initial"};
718
- `,nj=tc("div")`
718
+ `,nz=tc("div")`
719
719
  overflow: hidden;
720
720
  display: flex;
721
721
  flex-direction: column;
722
722
 
723
723
  height: 100%;
724
- `,nV=tc(nj)`
724
+ `,nF=tc(nz)`
725
725
  pointer-events: none;
726
726
 
727
727
  background: ${({theme:e})=>e.palette.background.element};
728
728
  mix-blend-mode: luminosity;
729
- `,nG=e=>{let{isDataGridDisabled:i,headProps:o,bodyProps:n,loaderProps:a,renderRows:l}=(({keyId:e,columns:t,rows:r=[],selectedRows:i=[],isLoading:o,isDisabled:n,onSelectRow:a})=>{let l=!!r?.length,d=!!a,s=o||n,c=r.filter(e=>!(e.options?.isDisabled||e.options?.isNotSelectable)),h=f([]);g(()=>{o||(h.current=r)},[r,o]);let u=t.map(({width:e})=>"number"==typeof e?`${e}px`:e||"1fr").join(" "),y=m(()=>c.filter(t=>!i.find(r=>r[e]===t[e])).length,[c,i,e]),x=p(()=>r.length<=1?t.map(e=>({...e,sortable:!1})):t,[t,r]),b=o?h.current:r,$=p(t=>r=>{if(a){if(r.target.checked)return a([...i,t]);a(i.filter(r=>r[e]!==t[e]))}},[i,a,e]);return{isDataGridDisabled:s,renderRows:b,headProps:{rowsCount:c.length,uncheckedRowsCount:y,gridColumns:u,isSelectable:d,columns:x(),onSelectAllRows:t=>{if(a){if(t.target.checked)return a(tb([...i,...c],tx(e)));a(i.filter(t=>!r.find(r=>r[e]===t[e])))}}},bodyProps:{gridColumns:u,isSelectable:d,onSelectRow:$},loaderProps:{isLoading:l&&o,isDisabled:n}}})(e),{emptySymbol:d}=c(om),{columns:s,selectedRows:h=[],sorting:u,maxHeight:y,errorMsg:x,footer:b,noDataPlaceholder:$,isLoading:v,isError:w,keyId:C,activeRowId:k,emptyCellValue:S=d,className:z,onRowClick:F,onSort:M,noDataOptions:T,onRetry:P}=e,A=p(()=>v?null:$||t(n_,{...T}),[$,T,v]);return r(nH,{$maxHeight:y,className:z,children:[r(i?nV:nj,{inert:!!i||void 0,children:[t(nL,{...o,sorting:u,onSort:M}),t(nz,{...n,activeRowId:k,keyId:C,selectedRows:h,rows:l,columns:s,emptyCellValue:S,isLoading:v,isError:w,errorMsg:x,noDataPlaceholder:A(),onRowClick:F,onRetry:P})]}),t(nW,{...a}),b&&t(nM,{children:b})]})},nU=r=>{let{tooltipProps:i}=(({action:e})=>{let{loading:t,disabledReason:r,name:i}=e,[o,n]=y(!1);return g(()=>{t&&n(!1)},[t]),{tooltipProps:{title:r||i,open:o,onOpen:()=>n(!0),onClose:()=>n(!1)}}})(r),{action:o,onActionClick:n,isDisabled:a,tooltipPlacement:l}=r,{name:d,icon:s,needConfirm:p,confirmText:c,confirmButtonProps:h,disabledReason:u,disabled:m,loading:f,isBlockingOperation:x,loadingNote:b,onClick:$,...v}=o,w=e=>t(rZ,{withoutContainer:!m,placement:l,...i,children:t(rR,{disabled:a||m,loading:f,...v,variant:"text",...e,children:s})},d);return t(e,{children:p?t(oC,{text:c,confirmButtonProps:h,actionComponent:e=>w(e),onConfirm:n($)}):w({onClick:n($)})})},nY=({action:e,onActionClick:r,isDisabled:i,tooltipPlacement:o})=>{if("actions"in e){let{disabled:n,icon:a,name:l,disabledReason:s,actions:p}=e;return t(rZ,{title:s||l,withoutContainer:!n,placement:o,children:t(rK,{icon:a,variant:"text",disabled:i||n,children:p.map(({name:e,onClick:t,...i})=>d(rQ,{...i,key:e,onClick:r(t)},e))})},l)}return t(nU,{action:e,onActionClick:r,isDisabled:i,tooltipPlacement:o})},nK=({actions:e,onActionClick:r,tooltipPlacement:i,isDisabled:o})=>t(rK,{icon:t(D,{}),variant:"text",disabled:o,children:e.map(e=>{let{onClick:t,name:o}=e;return d(rQ,{...e,key:o,tooltipPlacement:i,onClick:r(t)},o)})}),nq=tc("div")`
729
+ `,nP=e=>{let{isDataGridDisabled:i,headProps:o,bodyProps:n,loaderProps:a,renderRows:l}=(({keyId:e,columns:t,rows:r=[],selectedRows:i=[],isLoading:o,isDisabled:n,onSelectRow:a})=>{let l=!!r?.length,d=!!a,s=o||n,c=r.filter(e=>!(e.options?.isDisabled||e.options?.isNotSelectable)),h=f([]);g(()=>{o||(h.current=r)},[r,o]);let u=t.map(({width:e})=>"number"==typeof e?`${e}px`:e||"1fr").join(" "),y=m(()=>c.filter(t=>!i.find(r=>r[e]===t[e])).length,[c,i,e]),x=p(()=>r.length<=1?t.map(e=>({...e,sortable:!1})):t,[t,r]),b=o?h.current:r,$=p(t=>r=>{if(a){if(r.target.checked)return a([...i,t]);a(i.filter(r=>r[e]!==t[e]))}},[i,a,e]);return{isDataGridDisabled:s,renderRows:b,headProps:{rowsCount:c.length,uncheckedRowsCount:y,gridColumns:u,isSelectable:d,columns:x(),onSelectAllRows:t=>{if(a){if(t.target.checked)return a(tb([...i,...c],tx(e)));a(i.filter(t=>!r.find(r=>r[e]===t[e])))}}},bodyProps:{gridColumns:u,isSelectable:d,onSelectRow:$},loaderProps:{isLoading:l&&o,isDisabled:n}}})(e),{emptySymbol:d}=c(oe),{columns:s,selectedRows:h=[],sorting:u,maxHeight:y,errorMsg:x,footer:b,noDataPlaceholder:$,isLoading:v,isError:w,keyId:C,activeRowId:k,emptyCellValue:S=d,className:z,onRowClick:F,onSort:P,noDataOptions:M,onRetry:T}=e,A=p(()=>v?null:$||t(nk,{...M}),[$,M,v]);return r(nS,{$maxHeight:y,className:z,children:[r(i?nF:nz,{inert:!!i||void 0,children:[t(nb,{...o,sorting:u,onSort:P}),t(ns,{...n,activeRowId:k,keyId:C,selectedRows:h,rows:l,columns:s,emptyCellValue:S,isLoading:v,isError:w,errorMsg:x,noDataPlaceholder:A(),onRowClick:F,onRetry:T})]}),t(nC,{...a}),b&&t(nc,{children:b})]})},nM=r=>{let{tooltipProps:i}=(({action:e})=>{let{loading:t,disabledReason:r,name:i}=e,[o,n]=y(!1);return g(()=>{t&&n(!1)},[t]),{tooltipProps:{title:r||i,open:o,onOpen:()=>n(!0),onClose:()=>n(!1)}}})(r),{action:o,onActionClick:n,isDisabled:a,tooltipPlacement:l}=r,{name:d,icon:s,needConfirm:p,confirmText:c,confirmButtonProps:h,disabledReason:u,disabled:m,loading:f,isBlockingOperation:x,loadingNote:b,onClick:$,...v}=o,w=e=>t(rW,{withoutContainer:!m,placement:l,...i,children:t(rz,{disabled:a||m,loading:f,...v,variant:"text",...e,children:s})},d);return t(e,{children:p?t(od,{text:c,confirmButtonProps:h,actionComponent:e=>w(e),onConfirm:n($)}):w({onClick:n($)})})},nT=({action:e,onActionClick:r,isDisabled:i,tooltipPlacement:o})=>{if("actions"in e){let{disabled:n,icon:a,name:l,disabledReason:s,actions:p}=e;return t(rW,{title:s||l,withoutContainer:!n,placement:o,children:t(rR,{icon:a,variant:"text",disabled:i||n,children:p.map(({name:e,onClick:t,...i})=>d(r_,{...i,key:e,onClick:r(t)},e))})},l)}return t(nM,{action:e,onActionClick:r,isDisabled:i,tooltipPlacement:o})},nA=({actions:e,onActionClick:r,tooltipPlacement:i,isDisabled:o})=>t(rR,{icon:t(I,{}),variant:"text",disabled:o,children:e.map(e=>{let{onClick:t,name:o}=e;return d(r_,{...e,key:o,tooltipPlacement:i,onClick:r(t)},o)})}),nI=tc("div")`
730
730
  display: inline-flex;
731
731
  align-items: center;
732
- `,nX=e=>{let{isDisabledAction:i,handleWrapperClick:o,handleActionClick:n}=(({row:e,actions:t})=>{let{main:r,secondary:i}=t,o=[...r,...i||[]].find(e=>e.isBlockingOperation&&e.loading);return{isDisabledAction:!!o,handleActionClick:p(t=>()=>{t?.(e)},[e]),handleWrapperClick:e=>{e.stopPropagation()}}})(e),{actions:a}=e,{main:l,secondary:d}=a;return r(nq,{onClick:o,children:[l.map(e=>t(nY,{action:e,onActionClick:n,isDisabled:i,tooltipPlacement:"top"},e.name)),d&&t(nK,{actions:d,onActionClick:n,tooltipPlacement:"left",isDisabled:i})]})},nJ=({...e})=>t(eD,{shape:"rounded",...e}),nZ=tc("div")`
732
+ `,nD=e=>{let{isDisabledAction:i,handleWrapperClick:o,handleActionClick:n}=(({row:e,actions:t})=>{let{main:r,secondary:i}=t,o=[...r,...i||[]].find(e=>e.isBlockingOperation&&e.loading);return{isDisabledAction:!!o,handleActionClick:p(t=>()=>{t?.(e)},[e]),handleWrapperClick:e=>{e.stopPropagation()}}})(e),{actions:a}=e,{main:l,secondary:d}=a;return r(nI,{onClick:o,children:[l.map(e=>t(nT,{action:e,onActionClick:n,isDisabled:i,tooltipPlacement:"top"},e.name)),d&&t(nA,{actions:d,onActionClick:n,tooltipPlacement:"left",isDisabled:i})]})},nO=({...e})=>t(eI,{color:"primary",size:"small",shape:"rounded",...e}),nL=tc("div")`
733
733
  display: flex;
734
734
  column-gap: ${({theme:e})=>e.spacing(1)};
735
- `,nQ=tc(iz,{shouldForwardProp:e=>"$shrinks"!==e})`
735
+ `,nB=tc(ip,{shouldForwardProp:e=>"$shrinks"!==e})`
736
736
  min-width: ${({$shrinks:e})=>e?"30px":"unset"};
737
737
  max-width: 246px;
738
738
 
@@ -741,7 +741,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
741
741
  display: inline;
742
742
  }
743
743
  }
744
- `,n0=e=>{let{onMouseDown:r}={onMouseDown:e=>{e.stopPropagation()}},{shrinks:i,isDisabled:o,...n}=e;return t(nQ,{$shrinks:i,color:"grey",disabled:o,...n,onMouseDown:r})},n1=(e,t)=>{if(e.innerHTML===t)return e;for(let r=0;r<e.children.length;r+=1){let i=n1(e.children[r],t);if(i)return i}return null},n2=e=>{let{maxItems:i,tagsContainerRef:o,visibleOptions:n,getTagProps:a}=(({data:e=[],keyId:t,getOptionLabel:r,onChange:i})=>{let[o,n]=y(1),a=f(!1),l=f(null),d=()=>{let t=l.current;if(!t)throw Error("Tags container ref is not set");let i=Number.parseInt(window.getComputedStyle(t).columnGap),o=t.firstElementChild?.getBoundingClientRect().width||0,a=t.getBoundingClientRect().width-o,d=t.cloneNode(!0);for(;d.lastElementChild&&d.children.length>1;)d.removeChild(d.lastElementChild);d.style.visibility="hidden",n(1+((t,i,o)=>{let n=r(e[0]);document.body.appendChild(t);let a=0,l=0;for(let d=1;d<e.length;d+=1){let s=t.firstChild?.cloneNode(!0),p=r(e[d]),c=n1(s,n);if(!c)throw Error("Could not find text node");c.textContent=p,t.appendChild(s);let g=s.getBoundingClientRect().width+o;if(a+g>i)break;l+=1,a+=g}return document.body.removeChild(t),l})(d,a,i))};u(()=>{"undefined"!=typeof window&&e&&e.length&&(d(),a.current=!0)},[e]),g(()=>{if("undefined"==typeof window||!e||!e.length)return;if(!l.current)throw Error("Tags container ref is not set");let t=new ResizeObserver(()=>{if(a.current){a.current=!1;return}d()});return t.observe(l.current),()=>t.disconnect()},[e]);let s=e?.slice(0,o);return{maxItems:o,visibleOptions:s,tagsContainerRef:l,getTagProps:(n,a)=>{let l=r(n);return{label:l,shrinks:a===o-1&&o<=e.length,onDelete:()=>{let r=e?.filter(e=>"string"==typeof e?e!==n:e[t]!==n[t]);i(r?.length?r:[])}}}}})(e),{className:l,data:d,keyId:s,isDisabled:p,onClick:c}=e;return r(nZ,{className:l,ref:o,children:[n?.map((e,r)=>t(n0,{isDisabled:p,onClick:c,...a(e,r)},((e,t)=>{if("string"==typeof e)return e;let r=e[t];return"number"==typeof r?r.toString():r})(e,s))),d&&i<d.length&&t(n0,{isDisabled:p,label:`+${d.length-i}`,onClick:c},"more")]})},n3="Очистить",n8=tc("div")`
744
+ `,nR=e=>{let{onMouseDown:r}={onMouseDown:e=>{e.stopPropagation()}},{shrinks:i,isDisabled:o,...n}=e;return t(nB,{$shrinks:i,color:"grey",disabled:o,...n,onMouseDown:r})},nE=(e,t)=>{if(e.innerHTML===t)return e;for(let r=0;r<e.children.length;r+=1){let i=nE(e.children[r],t);if(i)return i}return null},nN=e=>{let{maxItems:i,tagsContainerRef:o,visibleOptions:n,getTagProps:a}=(({data:e=[],keyId:t,getOptionLabel:r,onChange:i})=>{let[o,n]=y(1),a=f(!1),l=f(null),d=()=>{let t=l.current;if(!t)throw Error("Tags container ref is not set");let i=Number.parseInt(window.getComputedStyle(t).columnGap),o=t.firstElementChild?.getBoundingClientRect().width||0,a=t.getBoundingClientRect().width-o,d=t.cloneNode(!0);for(;d.lastElementChild&&d.children.length>1;)d.removeChild(d.lastElementChild);d.style.visibility="hidden",n(1+((t,i,o)=>{let n=r(e[0]);document.body.appendChild(t);let a=0,l=0;for(let d=1;d<e.length;d+=1){let s=t.firstChild?.cloneNode(!0),p=r(e[d]),c=nE(s,n);if(!c)throw Error("Could not find text node");c.textContent=p,t.appendChild(s);let g=s.getBoundingClientRect().width+o;if(a+g>i)break;l+=1,a+=g}return document.body.removeChild(t),l})(d,a,i))};u(()=>{"undefined"!=typeof window&&e&&e.length&&(d(),a.current=!0)},[e]),g(()=>{if("undefined"==typeof window||!e||!e.length)return;if(!l.current)throw Error("Tags container ref is not set");let t=new ResizeObserver(()=>{if(a.current){a.current=!1;return}d()});return t.observe(l.current),()=>t.disconnect()},[e]);let s=e?.slice(0,o);return{maxItems:o,visibleOptions:s,tagsContainerRef:l,getTagProps:(n,a)=>{let l=r(n);return{label:l,shrinks:a===o-1&&o<=e.length,onDelete:()=>{let r=e?.filter(e=>"string"==typeof e?e!==n:e[t]!==n[t]);i(r?.length?r:[])}}}}})(e),{className:l,data:d,keyId:s,isDisabled:p,onClick:c}=e;return r(nL,{className:l,ref:o,children:[n?.map((e,r)=>t(nR,{isDisabled:p,onClick:c,...a(e,r)},((e,t)=>{if("string"==typeof e)return e;let r=e[t];return"number"==typeof r?r.toString():r})(e,s))),d&&i<d.length&&t(nR,{isDisabled:p,label:`+${d.length-i}`,onClick:c},"more")]})},nW="Очистить",n_=tc("div")`
745
745
  display: flex;
746
746
  flex-direction: column;
747
747
  align-items: center;
@@ -753,9 +753,9 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
753
753
 
754
754
  color: ${({theme:e})=>e.palette.grey["900"]};
755
755
  }
756
- `,n4=tc(rQ)`
756
+ `,nH=tc(r_)`
757
757
  display: none;
758
- `,n6=tc(rR)`
758
+ `,nj=tc(rz)`
759
759
  padding: 0;
760
760
  svg {
761
761
  stroke: ${({theme:e})=>e.palette.grey["600"]};
@@ -771,27 +771,27 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
771
771
  width: 32px;
772
772
  height: 32px;
773
773
  }
774
- `,n5=tc(T)`
774
+ `,nV=tc(M)`
775
775
  width: 16px;
776
776
  height: 16px;
777
777
  padding: 0;
778
- `,n9=tc("div",{label:"EndAdornmentWrapper"})`
778
+ `,nG=tc("div",{label:"EndAdornmentWrapper"})`
779
779
  display: flex;
780
780
  align-items: center;
781
781
 
782
782
  margin-left: auto;
783
- `,n7=tc(eB)`
783
+ `,nY=tc(eE)`
784
784
  .${tl.select} {
785
785
  padding-right: ${({theme:e})=>e.spacing(2)} !important;
786
786
  }
787
- `,ae=({onClick:e,disabled:r,ref:i})=>t(n6,{disabled:r,ref:i,onClick:e,variant:"text",title:n3,"aria-label":n3,children:t(n5,{})});function at({required:e,getOptionLabel:i=e=>String(e),placeholder:n,helperText:a,loading:l,success:d,children:s,disabled:p,error:c,label:g,fullWidth:h,id:u,onChange:m,isShowClearButton:x,...b}){let{isOpened:$,isShowingClearButton:v,isNoData:w,onClearAll:k,openSelect:S,closeSelect:F,resetButtonRef:M}=function({value:e,onChange:t,children:r,open:i,defaultOpen:n,multiple:a,isShowClearButton:l=!1}){let[d,s]=y(n||i||!1),p=f(null),c=l&&!(!e||Array.isArray(e)&&0===e.length||"string"==typeof e&&0===e.length);return{isOpened:d,isNoData:!o.count(r),isShowingClearButton:c,resetButtonRef:p,openSelect:()=>s(!0),closeSelect:()=>s(!1),onClearAll:()=>{t?.call({},{target:{value:a?[]:""}})}}}({...b,children:s,onChange:m,isShowClearButton:x});return r(ef,{error:c,fullWidth:h,children:[g&&t(e$,{htmlFor:u||g,required:e,children:g}),r(n7,{...b,open:$,id:u||g,disabled:p,onOpen:S,onClose:F,renderValue:e=>Array.isArray(e)&&e.length?t(n2,{data:e,keyId:"value",getOptionLabel:i,onChange:e=>e?m?.({target:{value:e}},void 0):m?.({target:{value:[]}},void 0),onClick:S}):(Array.isArray(e)||"string"==typeof e)&&!e.length?n:i(e),IconComponent:()=>null,displayEmpty:!0,fullWidth:h,onChange:m,endAdornment:r(n9,{children:[v&&t(ae,{disabled:p,ref:M,onClick:k}),t(n6,{variant:"text",disabled:p,onClick:S,children:$?t(z,{size:16}):t(C,{size:16})})]}),children:[t(n4,{value:"",children:n}),l&&t(n8,{children:t(re,{color:"primary"})}),!l&&s,!l&&w&&t(rQ,{disabled:!0,children:"Нет данных"})]}),a&&t(iI,{error:c,success:d,children:a})]})}let ar=20,ai=[20,50,100],ao=tc("div")`
787
+ `,nU=({onClick:e,disabled:r,ref:i})=>t(nj,{disabled:r,ref:i,onClick:e,variant:"text",title:nW,"aria-label":nW,children:t(nV,{})});function nK({required:e,getOptionLabel:i=e=>String(e),placeholder:n,helperText:a,loading:l,success:d,children:s,disabled:p,error:c,label:g,fullWidth:h,id:u,onChange:m,isShowClearButton:x,...b}){let{isOpened:$,isShowingClearButton:v,isNoData:w,onClearAll:k,openSelect:S,closeSelect:F,resetButtonRef:P}=function({value:e,onChange:t,children:r,open:i,defaultOpen:n,multiple:a,isShowClearButton:l=!1}){let[d,s]=y(n||i||!1),p=f(null),c=l&&!(!e||Array.isArray(e)&&0===e.length||"string"==typeof e&&0===e.length);return{isOpened:d,isNoData:!o.count(r),isShowingClearButton:c,resetButtonRef:p,openSelect:()=>s(!0),closeSelect:()=>s(!1),onClearAll:()=>{t?.call({},{target:{value:a?[]:""}})}}}({...b,children:s,onChange:m,isShowClearButton:x});return r(ef,{error:c,fullWidth:h,children:[g&&t(e$,{htmlFor:u||g,required:e,children:g}),r(nY,{...b,open:$,id:u||g,disabled:p,onOpen:S,onClose:F,renderValue:e=>Array.isArray(e)&&e.length?t(nN,{data:e,keyId:"value",getOptionLabel:i,onChange:e=>e?m?.({target:{value:e}},void 0):m?.({target:{value:[]}},void 0),onClick:S}):(Array.isArray(e)||"string"==typeof e)&&!e.length?n:i(e),IconComponent:()=>null,displayEmpty:!0,fullWidth:h,onChange:m,endAdornment:r(nG,{children:[v&&t(nU,{disabled:p,ref:P,onClick:k}),t(nj,{variant:"text",disabled:p,onClick:S,children:$?t(z,{size:16}):t(C,{size:16})})]}),children:[t(nH,{value:"",children:n}),l&&t(n_,{children:t(t0,{color:"primary"})}),!l&&s,!l&&w&&t(r_,{disabled:!0,children:"Нет данных"})]}),a&&t(ix,{error:c,success:d,children:a})]})}let nq=20,nJ=[20,50,100],nX=tc("div")`
788
788
  display: flex;
789
789
  align-items: center;
790
790
  justify-content: space-between;
791
791
  width: 100%;
792
- `,an=tc(rC)`
792
+ `,nZ=tc(rg)`
793
793
  color: ${({theme:e})=>e.palette.grey["700"]};
794
- `,aa=tc("div")`
794
+ `,nQ=tc("div")`
795
795
  display: flex;
796
796
  gap: ${({theme:e})=>e.spacing(3)};
797
797
  align-items: center;
@@ -799,14 +799,14 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
799
799
  .${e9.root} {
800
800
  flex-direction: unset;
801
801
  }
802
- `,al=i=>{let{isVisiblePagination:o,pageCount:n,formattedRange:a,handleChangeRowsPerPage:l}=(({totalCount:e,rowsPerPage:t=ar,page:r,onSetCountPerPage:i})=>{let o=f(0);g(()=>{e&&(o.current=e)},[e]);let n=e||o.current,a=Math.ceil(n/t),l=(r-1)*t+1;return{isVisiblePagination:!(!i&&n<=t),pageCount:a,formattedRange:()=>`${l} \u{2014} ${(()=>{let e=r*t;return e<n?e:n})()} \u{438}\u{437} ${n}`,handleChangeRowsPerPage:e=>{i?.(Number(e.target.value))}}})(i),{page:d,totalCount:s,className:p,rowsPerPage:c=ar,rowsPerPageOptions:h=ai,isForceCounter:u,disabled:m,onSetCountPerPage:y,...x}=i;return(o||u)&&s?r(ao,{className:p,children:[r(aa,{children:[y&&r(e,{children:[t(rC,{variant:"body1",children:"Строк на странице:"}),t(at,{size:"small",value:c,disabled:m,isShowClearButton:!1,onChange:l,children:h.map(e=>t(rQ,{value:e,children:e},e))})]}),t(an,{variant:"h6",children:a()})]}),o&&t(nJ,{disabled:m,count:n,page:d,...x})]}):null},ad=({maskProps:e,...r})=>t(iO,{inputRef:tP(e),...r}),as=tc("div")`
802
+ `,n0=i=>{let{isVisiblePagination:o,pageCount:n,formattedRange:a,handleChangeRowsPerPage:l}=(({totalCount:e,rowsPerPage:t=nq,page:r,onSetCountPerPage:i})=>{let o=f(0);g(()=>{e&&(o.current=e)},[e]);let n=e||o.current,a=Math.ceil(n/t),l=(r-1)*t+1;return{isVisiblePagination:!(!i&&n<=t),pageCount:a,formattedRange:()=>`${l} \u{2014} ${(()=>{let e=r*t;return e<n?e:n})()} \u{438}\u{437} ${n}`,handleChangeRowsPerPage:e=>{i?.(Number(e.target.value))}}})(i),{page:d,totalCount:s,className:p,rowsPerPage:c=nq,rowsPerPageOptions:h=nJ,isForceCounter:u,disabled:m,onSetCountPerPage:y,...x}=i;return(o||u)&&s?r(nX,{className:p,children:[r(nQ,{children:[y&&r(e,{children:[t(rg,{variant:"body1",children:"Строк на странице:"}),t(nK,{size:"small",value:c,disabled:m,isShowClearButton:!1,onChange:l,children:h.map(e=>t(r_,{value:e,children:e},e))})]}),t(nZ,{variant:"h6",children:a()})]}),o&&t(nO,{disabled:m,count:n,page:d,...x})]}):null},n1=({maskProps:e,...r})=>t(ib,{inputRef:tT(e),...r}),n2=tc("div")`
803
803
  padding: ${({theme:e})=>e.spacing(2)};
804
- `,ap=i=>{let{label:o,disabled:n=!1,selected:a,onSelect:l,selectMonth:d,selectYear:s,error:p,helperText:c,className:h,fullWidth:u,size:m,name:f,...x}=i,[b,$]=y(null),[v,C]=y(null),[k,S]=y(new Date),[z,F]=y(""),M=()=>{C(null)};return g(()=>{a?(F(a.toLocaleString("ru-RU",{day:"2-digit",month:"2-digit",year:"numeric"})),S(a)):F("")},[a]),r(e,{children:[t(ad,{value:z,onChange:e=>{$(null),F(e.target.value);let[t,r,i]=e.target.value.split(".").map(Number);if(Number.isNaN(t)||Number.isNaN(r)||Number.isNaN(i)||t<1||t>31||r<1||r>12||i<1e3)return void $("Некорректная дата");let o=new Date(i,r-1,t);l?.(o),S(o)},label:o,disabled:n,className:h,fullWidth:u,size:m,name:f,endAdornment:t(rR,{variant:"text",onClick:e=>{C(e.currentTarget)},children:t(w,{})}),maskProps:{mask:"__.__.____",replacement:{_:/\d/},showMask:!0},placeholder:"дд.мм.гггг",error:!!b||p,helperText:b||c}),t(oy,{title:"Заголовок",open:!!v,anchorEl:v,onClose:M,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},children:t(as,{children:t(iQ,{month:k,onMonthChange:S,selected:a,onSelect:e=>{e?(l?.(e),S(e),F(e.toLocaleString("ru-RU",{day:"2-digit",month:"2-digit",year:"numeric"}))):(F(""),l?.(void 0)),M()},...x,mode:"single",captionLayout:d&&s?"dropdown":d?"dropdown-months":s?"dropdown-years":"label"})})})]})},ac=":",ag="—",ah="astral-ui_descriptionRoot",au=l({leader:!1,separator:ac,direction:"default"}),am=({children:e,leader:r,separator:i,direction:o})=>t(au.Provider,{value:{leader:r,separator:i,direction:o},children:e}),af=tc("dt",{shouldForwardProp:e=>"$leader"!==e})`
804
+ `,n3=i=>{let{label:o,disabled:n=!1,selected:a,onSelect:l,selectMonth:d,selectYear:s,error:p,helperText:c,className:h,fullWidth:u,size:m,name:f,...x}=i,[b,$]=y(null),[v,C]=y(null),[k,S]=y(new Date),[z,F]=y(""),P=()=>{C(null)};return g(()=>{a?(F(a.toLocaleString("ru-RU",{day:"2-digit",month:"2-digit",year:"numeric"})),S(a)):F("")},[a]),r(e,{children:[t(n1,{value:z,onChange:e=>{$(null),F(e.target.value);let[t,r,i]=e.target.value.split(".").map(Number);if(Number.isNaN(t)||Number.isNaN(r)||Number.isNaN(i)||t<1||t>31||r<1||r>12||i<1e3)return void $("Некорректная дата");let o=new Date(i,r-1,t);l?.(o),S(o)},label:o,disabled:n,className:h,fullWidth:u,size:m,name:f,endAdornment:t(rz,{variant:"text",onClick:e=>{C(e.currentTarget)},children:t(w,{})}),maskProps:{mask:"__.__.____",replacement:{_:/\d/},showMask:!0},placeholder:"дд.мм.гггг",error:!!b||p,helperText:b||c}),t(or,{title:"Заголовок",open:!!v,anchorEl:v,onClose:P,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},children:t(n2,{children:t(iE,{month:k,onMonthChange:S,selected:a,onSelect:e=>{e?(l?.(e),S(e),F(e.toLocaleString("ru-RU",{day:"2-digit",month:"2-digit",year:"numeric"}))):(F(""),l?.(void 0)),P()},...x,mode:"single",captionLayout:d&&s?"dropdown":d?"dropdown-months":s?"dropdown-years":"label"})})})]})},n8=":",n4="—",n6="astral-ui_descriptionRoot",n5=l({leader:!1,separator:n8,direction:"default"}),n9=({children:e,leader:r,separator:i,direction:o})=>t(n5.Provider,{value:{leader:r,separator:i,direction:o},children:e}),n7=tc("dt",{shouldForwardProp:e=>"$leader"!==e})`
805
805
  flex-shrink: 0;
806
806
 
807
807
  max-width: ${({$leader:e})=>e?"calc(100% - 36px)":"calc(100% - 12px)"};
808
808
  margin-right: ${({theme:e})=>e.spacing(2)};
809
- `,ay=tc("div")`
809
+ `,ae=tc("div")`
810
810
  flex: 1;
811
811
 
812
812
  min-width: 12px;
@@ -818,7 +818,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
818
818
  ${({theme:e})=>e.breakpoints.down("sm")} {
819
819
  display: none;
820
820
  }
821
- `,ax=tc("div",{shouldForwardProp:e=>!["$justifyContent","as","$direction"].includes(e.toString())})`
821
+ `,at=tc("div",{shouldForwardProp:e=>!["$justifyContent","as","$direction"].includes(e.toString())})`
822
822
  overflow: hidden;
823
823
  display: flex;
824
824
  flex-direction: ${({$direction:e})=>"default"===e?"row":e};
@@ -834,7 +834,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
834
834
  font-size: ${({theme:e})=>e.typography.fontSize};
835
835
  }
836
836
  }
837
- `,ab=tc(rC,{shouldForwardProp:e=>!["$canCopy","$leader","$direction"].includes(e.toString())})`
837
+ `,ar=tc(rg,{shouldForwardProp:e=>!["$canCopy","$leader","$direction"].includes(e.toString())})`
838
838
  cursor: ${({$canCopy:e})=>e?"pointer":"default"};
839
839
 
840
840
  overflow: hidden;
@@ -850,7 +850,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
850
850
  &:hover {
851
851
  text-decoration: ${({$canCopy:e})=>e?"underline":"none"};
852
852
  }
853
- `,a$=tc(nt,{shouldForwardProp:e=>!["$leader","$direction"].includes(e.toString())})`
853
+ `,ai=tc(oK,{shouldForwardProp:e=>!["$leader","$direction"].includes(e.toString())})`
854
854
  display: unset;
855
855
 
856
856
  hyphens: auto;
@@ -864,18 +864,18 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
864
864
  & > svg {
865
865
  margin-bottom: ${({theme:e})=>e.spacing(-1)};
866
866
  }
867
- `,av=tc("dd")`
867
+ `,ao=tc("dd")`
868
868
  overflow: hidden;
869
869
 
870
870
  margin: 0;
871
- `,aw=e=>{let{descriptionContextProviderProps:r,direction:i}=(({direction:e="default",separator:t=ac})=>{let{isMobile:r}=rI();return{descriptionContextProviderProps:{separator:"column"===e||r&&"default"===e?"":t},direction:e}})(e),{justifyContent:o="start",component:n="dl",children:a,leader:l=!1}=e;return t(am,{leader:l,direction:i,...r,children:t(ax,{$justifyContent:o,className:ah,$direction:i,as:n,children:a})})};aw.Name=({children:i,color:o="textSecondary",...n})=>{let{leader:a,separator:l}=c(au);return r(e,{children:[t(af,{$leader:a,children:r(rC,{...n,color:o,children:[i,!a&&l]})}),a&&t(ay,{})]})},aw.Value=e=>{let{valueToRender:r,isDefaultValueRender:i,leader:o,direction:n}=(({canCopy:e,children:t,stub:r})=>{let{emptySymbol:i}=c(om),{leader:o,direction:n}=c(au);return{valueToRender:t||r||i,isDefaultValueRender:!e||!t,leader:o,direction:n}})(e),{copyPosition:a="right",copyText:l,canCopy:d,children:s,stub:p,...g}=e;return i?t(ab,{$direction:n,component:"dd",$leader:o,...g,children:r}):t(av,{children:t(a$,{copyPosition:a,copyText:l,$direction:n,$leader:o,component:"div",...g,children:r})})};let aC=e=>t(ic,{visibleLastSymbolsCount:4,...e}),ak=tc(aw.Name,{shouldForwardProp:e=>!["$nameMaxWidth, $direction"].includes(e.toString())})`
871
+ `,an=e=>{let{descriptionContextProviderProps:r,direction:i}=(({direction:e="default",separator:t=n8})=>{let{isMobile:r}=rw();return{descriptionContextProviderProps:{separator:"column"===e||r&&"default"===e?"":t},direction:e}})(e),{justifyContent:o="start",component:n="dl",children:a,leader:l=!1}=e;return t(n9,{leader:l,direction:i,...r,children:t(at,{$justifyContent:o,className:n6,$direction:i,as:n,children:a})})};an.Name=({children:i,color:o="textSecondary",...n})=>{let{leader:a,separator:l}=c(n5);return r(e,{children:[t(n7,{$leader:a,children:r(rg,{...n,color:o,children:[i,!a&&l]})}),a&&t(ae,{})]})},an.Value=e=>{let{valueToRender:r,isDefaultValueRender:i,leader:o,direction:n}=(({canCopy:e,children:t,stub:r})=>{let{emptySymbol:i}=c(oe),{leader:o,direction:n}=c(n5);return{valueToRender:t||r||i,isDefaultValueRender:!e||!t,leader:o,direction:n}})(e),{copyPosition:a="right",copyText:l,canCopy:d,children:s,stub:p,...g}=e;return i?t(ar,{$direction:n,component:"dd",$leader:o,...g,children:r}):t(ao,{children:t(ai,{copyPosition:a,copyText:l,$direction:n,$leader:o,component:"div",...g,children:r})})};let aa=e=>t(r9,{visibleLastSymbolsCount:4,...e}),al=tc(an.Name,{shouldForwardProp:e=>!["$nameMaxWidth, $direction"].includes(e.toString())})`
872
872
  max-width: ${({$nameMaxWidth:e})=>e||"none"};
873
873
  margin-bottom: ${({theme:e,$direction:t})=>Object.is(t,"column")?e.spacing(1):0};
874
874
 
875
875
  ${({theme:e})=>e.breakpoints.down("sm")} {
876
876
  margin-bottom: ${({theme:e,$direction:t})=>Object.is(t,"row")?0:e.spacing(1)};
877
877
  }
878
- `,aS=tc("article",{shouldForwardProp:e=>!["$variant"].includes(e.toString())})`
878
+ `,ad=tc("article",{shouldForwardProp:e=>!["$variant"].includes(e.toString())})`
879
879
  display: grid;
880
880
  row-gap: ${({theme:e})=>e.spacing(3)};
881
881
 
@@ -884,7 +884,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
884
884
  background-color: ${({$variant:e,theme:t})=>"contained"===e?t.palette.background.default:"transparent"};
885
885
  border: ${({$variant:e,theme:t})=>"contained"===e?`1px solid ${t.palette.grey[300]}`:"unset"};
886
886
  border-radius: ${({theme:e})=>e.shape.small};
887
- `,az=tc("dl",{shouldForwardProp:e=>!["$direction"].includes(e.toString())})`
887
+ `,as=tc("dl",{shouldForwardProp:e=>!["$direction"].includes(e.toString())})`
888
888
  display: grid;
889
889
  row-gap: ${({theme:e,$direction:t})=>Object.is(t,"column")?e.spacing(3):e.spacing(1)};
890
890
 
@@ -893,11 +893,11 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
893
893
  ${({theme:e})=>e.breakpoints.down("sm")} {
894
894
  row-gap: ${({theme:e})=>e.spacing(3)};
895
895
  }
896
- `,aF=tc(aw.Value,{shouldForwardProp:e=>!["$isCopy"].includes(e.toString())})`
896
+ `,ap=tc(an.Value,{shouldForwardProp:e=>!["$isCopy"].includes(e.toString())})`
897
897
  display: ${({$isCopy:e})=>e&&"flex"};
898
898
 
899
899
  width: ${({$isCopy:e})=>e&&"calc(100% - 20px)"};
900
- `,aM=({items:e,variant:i="default",title:o,direction:n,...a})=>{let l=p((e,r)=>{let{renderValue:i,color:o,canCopy:n,copyPosition:a,variant:l,copyText:d}=r;if(i)return i(e,r);if("tag"===l)return t(aw.Value,{children:t(iz,{label:e,color:o,variant:"light"})});if("guid"===l){let r=n?{title:void 0}:void 0;return t(aF,{canCopy:n,$isCopy:n,color:o,copyPosition:a,copyText:d,children:t(aC,{tooltipProps:r,children:e})})}return t(aw.Value,{canCopy:n,color:o,copyPosition:a,children:e})},[]);return r(aS,{$variant:i,children:[o&&("string"==typeof o?t(rC,{variant:"h6",children:o}):o),t(az,{$direction:n,children:e.map(({name:e,value:i,options:o})=>{let{nameMaxWidth:d,...s}=o||{};return r(aw,{direction:n,...a,component:"div",children:[t(ak,{$nameMaxWidth:d,$direction:n,children:e}),l(i,s)]},`${e}:${i}`)})})]})},aT=tc(rZ)`
900
+ `,ac=({items:e,variant:i="default",title:o,direction:n,...a})=>{let l=p((e,r)=>{let{renderValue:i,color:o,canCopy:n,copyPosition:a,variant:l,copyText:d}=r;if(i)return i(e,r);if("tag"===l)return t(an.Value,{children:t(ip,{label:e,color:o,variant:"light"})});if("guid"===l){let r=n?{title:void 0}:void 0;return t(ap,{canCopy:n,$isCopy:n,color:o,copyPosition:a,copyText:d,children:t(aa,{tooltipProps:r,children:e})})}return t(an.Value,{canCopy:n,color:o,copyPosition:a,children:e})},[]);return r(ad,{$variant:i,children:[o&&("string"==typeof o?t(rg,{variant:"h6",children:o}):o),t(as,{$direction:n,children:e.map(({name:e,value:i,options:o})=>{let{nameMaxWidth:d,...s}=o||{};return r(an,{direction:n,...a,component:"div",children:[t(al,{$nameMaxWidth:d,$direction:n,children:e}),l(i,s)]},`${e}:${i}`)})})]})},ag=tc(rW)`
901
901
  .${tu.tooltip} {
902
902
  background-color: ${({theme:e})=>e.palette.common.white};
903
903
  color: ${({theme:e})=>e.palette.text.primary};
@@ -908,7 +908,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
908
908
  padding: ${({theme:e})=>e.spacing(2)};
909
909
  box-shadow: ${({theme:e})=>e.shadows[4]};
910
910
  }
911
- `;function aP({arrow:e,followCursor:r,children:i,...o}){return t(aT,{arrow:!0,title:t(aM,{...o}),children:i})}let aA=tc("div",{label:"DialogHeader-root",shouldForwardProp:e=>!["hasTitle","hasOnClose"].includes(e.toString())})`
911
+ `;function ah({arrow:e,followCursor:r,children:i,...o}){return t(ag,{arrow:!0,title:t(ac,{...o}),children:i})}let au=tc("div",{label:"DialogHeader-root",shouldForwardProp:e=>!["hasTitle","hasOnClose"].includes(e.toString())})`
912
912
  overflow: hidden;
913
913
  display: grid;
914
914
  grid-template-columns: ${({hasTitle:e,hasOnClose:t})=>e&&t?"max-content 1fr 32px":e?"max-content 1fr":t?"1fr 32px":"1fr"};
@@ -917,7 +917,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
917
917
 
918
918
  height: auto;
919
919
  padding: ${({theme:e})=>e.spacing(4,6)};
920
- `,aD=tc("div",{shouldForwardProp:e=>!["justifyContent","columnSpacing"].includes(e.toString()),label:"DialogHeader-content"})`
920
+ `,am=tc("div",{shouldForwardProp:e=>!["justifyContent","columnSpacing"].includes(e.toString()),label:"DialogHeader-content"})`
921
921
  overflow: hidden;
922
922
  display: flex;
923
923
  column-gap: ${({columnSpacing:e,theme:t})=>t.spacing(e)};
@@ -927,27 +927,27 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
927
927
  width: 100%;
928
928
  height: 100%;
929
929
  padding: 0;
930
- `,aI=({children:e,title:i,justifyContent:o="flex-start",disableSpacing:n,onClose:a})=>r(aA,{hasTitle:!!i,hasOnClose:!!a,children:[i&&t(rC,{variant:"h4",children:i}),t(aD,{justifyContent:o,columnSpacing:2*!n,children:e}),a&&t(rR,{variant:"text",onClick:e=>{a&&a(e,"escapeKeyDown")},"aria-label":"Закрыть модальное окно",children:t(j,{})})]}),aO=e=>t(eu,{...e}),aE=tc("span")`
930
+ `,af=({children:e,title:i,justifyContent:o="flex-start",disableSpacing:n,onClose:a})=>r(au,{hasTitle:!!i,hasOnClose:!!a,children:[i&&t(rg,{variant:"h4",children:i}),t(am,{justifyContent:o,columnSpacing:2*!n,children:e}),a&&t(rz,{variant:"text",onClick:e=>{a&&a(e,"escapeKeyDown")},"aria-label":"Закрыть модальное окно",children:t(j,{})})]}),ay=e=>t(eu,{...e}),ax=tc("span")`
931
931
  overflow: hidden;
932
932
 
933
933
  max-width: 100%;
934
934
 
935
935
  text-overflow: ellipsis;
936
936
  white-space: nowrap;
937
- `,aL=tc(rC,{shouldForwardProp:e=>!["$align"].includes(e.toString())})`
937
+ `,ab=tc(rg,{shouldForwardProp:e=>!["$align"].includes(e.toString())})`
938
938
  display: flex;
939
939
  justify-content: ${({$align:e})=>e};
940
- `,aR=[".xml.dist",".xml.tpl",".xml.gz",".xml.bz2",".xml.zip",".xml.enc",".xml.sig",".xml.metadata",".xml.backup",".xml.orig",".tar.gz",".tar.bz2",".tar.xz",".tar.lz"],aB=s((e,i)=>{let{isOverflowed:o,suffixWithExtension:n,baseNameProps:a}=(({ref:e,children:t})=>{let{ref:r,isOverflowed:i}=is(e),{baseName:o,suffixWithExtension:n}=(e=>{let t=(e=>{for(let t of aR)if(e.endsWith(t))return t;let t=e.lastIndexOf(".");if(-1!==t)return e.slice(t)})(e);return t&&e.endsWith(t)?{baseName:e.slice(0,e.length-t.length-2),suffixWithExtension:e.slice(-t.length-2)}:{baseName:e.slice(0,-2),suffixWithExtension:e.slice(-2)}})(t);return{baseNameProps:{ref:r,children:o},isOverflowed:i,suffixWithExtension:n}})({...e,ref:i}),{tooltipProps:l,variant:d="inherit",children:s,align:p="left",...c}=e;return t(rZ,{title:o&&s,disableInteractive:!0,...l,children:r(aL,{$align:p,variant:d,...c,children:[t(aE,{...a}),t("span",{children:n})]})})}),aN=tc(eb)`
940
+ `,a$=[".xml.dist",".xml.tpl",".xml.gz",".xml.bz2",".xml.zip",".xml.enc",".xml.sig",".xml.metadata",".xml.backup",".xml.orig",".tar.gz",".tar.bz2",".tar.xz",".tar.lz"],av=s((e,i)=>{let{isOverflowed:o,suffixWithExtension:n,baseNameProps:a}=(({ref:e,children:t})=>{let{ref:r,isOverflowed:i}=r6(e),{baseName:o,suffixWithExtension:n}=(e=>{let t=(e=>{for(let t of a$)if(e.endsWith(t))return t;let t=e.lastIndexOf(".");if(-1!==t)return e.slice(t)})(e);return t&&e.endsWith(t)?{baseName:e.slice(0,e.length-t.length-2),suffixWithExtension:e.slice(-t.length-2)}:{baseName:e.slice(0,-2),suffixWithExtension:e.slice(-2)}})(t);return{baseNameProps:{ref:r,children:o},isOverflowed:i,suffixWithExtension:n}})({...e,ref:i}),{tooltipProps:l,variant:d="inherit",children:s,align:p="left",...c}=e;return t(rW,{title:o&&s,disableInteractive:!0,...l,children:r(ab,{$align:p,variant:d,...c,children:[t(ax,{...a}),t("span",{children:n})]})})}),aw=tc(eb)`
941
941
  font-size: ${({theme:e})=>e.typography.caption.fontSize};
942
942
  line-height: ${({theme:e})=>e.typography.caption.lineHeight};
943
- `,aW=e=>t(aN,{...e}),a_=tc("span",{label:"Separator"})`
943
+ `,aC=e=>t(aw,{...e}),ak=tc("span",{label:"Separator"})`
944
944
  padding: 0;
945
945
  margin: 0;
946
946
  overflow: hidden;
947
947
  white-space: nowrap;
948
948
  border-width: 0;
949
949
  color: ${({theme:e})=>e.palette.text.primary};
950
- `,aH=({separator:e="•",...r})=>t("div",{...r,children:t(a_,{children:e})}),aj=tc("div",{shouldForwardProp:e=>"$isActive"!==e})`
950
+ `,aS=({separator:e="•",...r})=>t("div",{...r,children:t(ak,{children:e})}),az=tc("div",{shouldForwardProp:e=>"$isActive"!==e})`
951
951
  position: relative;
952
952
  display: flex;
953
953
  height: 2.5rem;
@@ -970,14 +970,14 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
970
970
  border-bottom-right-radius: ${({theme:e})=>e.shape.small};
971
971
  }
972
972
  z-index: ${({$isActive:e})=>10*!!e};
973
- `,aV=tc("div")`
973
+ `,aF=tc("div")`
974
974
  position: absolute;
975
975
  inset: 0;
976
976
  display: flex;
977
977
  align-items: center;
978
978
  justify-content: center;
979
979
  pointer-events: none;
980
- `,aG=tt`
980
+ `,aP=tt`
981
981
  0%,
982
982
  100% {
983
983
  opacity: 0;
@@ -985,15 +985,15 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
985
985
  50% {
986
986
  opacity: 1;
987
987
  }
988
- `,aU=tc("div")`
988
+ `,aM=tc("div")`
989
989
  height: 1rem;
990
990
  width: 1px;
991
991
  background-color: ${({theme:e})=>e.palette.primary.main};
992
- animation: ${aG} 1s infinite;
993
- `,aY=({char:e,hasFakeCaret:i,isActive:o,...n})=>r(aj,{$isActive:o,...n,children:[e,i&&t(aV,{children:t(aU,{})})]}),aK=tc("div")`
992
+ animation: ${aP} 1s infinite;
993
+ `,aT=({char:e,hasFakeCaret:i,isActive:o,...n})=>r(az,{$isActive:o,...n,children:[e,i&&t(aF,{children:t(aM,{})})]}),aA=tc("div")`
994
994
  display: flex;
995
995
  align-items: center;
996
- `,aq=tc("div")`
996
+ `,aI=tc("div")`
997
997
  .inputOTPContainer {
998
998
  display: flex;
999
999
  align-items: center;
@@ -1011,7 +1011,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1011
1011
  .inputOTP:has(:disabled) {
1012
1012
  cursor: not-allowed;
1013
1013
  }
1014
- `,aX=({...i})=>t(aq,{children:t(tA,{className:"inputOTP",containerClassName:"inputOTPContainer",...i,render:({slots:i})=>i.length%2!=0?t(aK,{children:i.map((e,r)=>t(aY,{...e},`${r}-${e.char}`))}):r(e,{children:[t(aK,{children:i.slice(0,i.length/2).map((e,r)=>t(aY,{...e},`${r}-${e.char}`))}),t(aH,{}),t(aK,{children:i.slice(i.length/2).map((e,r)=>t(aY,{...e},`${r}-${e.char}`))})]})})}),aJ=tc(ew)`
1014
+ `,aD=({...i})=>t(aI,{children:t(tA,{className:"inputOTP",containerClassName:"inputOTPContainer",...i,render:({slots:i})=>i.length%2!=0?t(aA,{children:i.map((e,r)=>t(aT,{...e},`${r}-${e.char}`))}):r(e,{children:[t(aA,{children:i.slice(0,i.length/2).map((e,r)=>t(aT,{...e},`${r}-${e.char}`))}),t(aS,{}),t(aA,{children:i.slice(i.length/2).map((e,r)=>t(aT,{...e},`${r}-${e.char}`))})]})})}),aO=tc(ew)`
1015
1015
  display: inline-flex;
1016
1016
  gap: ${({theme:e})=>e.spacing(1)};
1017
1017
  align-items: center;
@@ -1045,27 +1045,27 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1045
1045
  width: 16px;
1046
1046
  height: 16px;
1047
1047
  }
1048
- `,aZ=({withAdornment:e,isDownload:i,children:o,...n})=>{let a=i?t(b,{size:16}):t(N,{size:16});return r(aJ,{download:i,...n,children:["start"===e&&a,o,"end"===e&&a,!e&&i&&t(b,{})]})},aQ=e=>t(eC,{...e});var a0=((t2={}).DEFAULT="default",t2.HOVER="hover",t2.SELECTED="selected",t2);let a1=({theme:e,listItemState:t})=>t===a0.DEFAULT?e.palette.grey[900]:t===a0.HOVER?e.palette.primary[800]:e.palette.grey[900],a2=tc(ek,{shouldForwardProp:e=>"selected"!==e})`
1048
+ `,aL=({withAdornment:e,isDownload:i,children:o,...n})=>{let a=i?t(b,{size:16}):t(N,{size:16});return r(aO,{download:i,...n,children:["start"===e&&a,o,"end"===e&&a,!e&&i&&t(b,{})]})},aB=e=>t(eC,{...e}),aR=({theme:e,listItemState:t})=>"default"===t?e.palette.grey[900]:"hover"===t?e.palette.primary[800]:e.palette.grey[900],aE=tc(ek,{shouldForwardProp:e=>"selected"!==e})`
1049
1049
  cursor: pointer;
1050
1050
  user-select: none;
1051
1051
 
1052
- color: ${e=>a1({...e,listItemState:a0.DEFAULT})};
1052
+ color: ${e=>aR({...e,listItemState:"default"})};
1053
1053
  border-radius: ${({theme:e})=>e.shape.small};
1054
1054
 
1055
1055
  :hover {
1056
- color: ${e=>a1({...e,listItemState:a0.HOVER})};
1056
+ color: ${e=>aR({...e,listItemState:"hover"})};
1057
1057
  }
1058
- `,a3=e=>t(a2,{...e}),a8=e=>{let{disabledReason:r,disabled:i,tooltipPlacement:o,note:n,withoutContainer:a=!1,...l}=e,d=()=>t(rZ,{title:i?r:n,placement:o,withoutContainer:!i,children:t(eS,{disabled:i,...l,disableRipple:!0})});return a?d():t("li",{children:d()})},a4=tc(ez)`
1058
+ `,aN=e=>t(aE,{...e}),aW=e=>{let{disabledReason:r,disabled:i,tooltipPlacement:o,note:n,withoutContainer:a=!1,...l}=e,d=()=>t(rW,{title:i?r:n,placement:o,withoutContainer:!i,children:t(eS,{disabled:i,...l,disableRipple:!0})});return a?d():t("li",{children:d()})},a_=tc(ez)`
1059
1059
  color: inherit;
1060
- `,a6=s((e,r)=>t(a4,{ref:r,...e})),a5=e=>t(eF,{...e}),a9=e=>t(eM,{...e});var a7=((t3={}).info="info",t3.success="success",t3.warning="warning",t3.error="error",t3);let le={topRight:"top-right",topLeft:"top-left",bottomRight:"bottom-right",bottomLeft:"bottom-left",topCenter:"top-center",bottomCenter:"bottom-center"},lt="notify";class lr{service;constructor(e){this.service=e}message(e,t){return this.service.message(e,{description:t})}success=e=>this.service.success(e);error=e=>this.service.error(e);info=e=>this.service.info(e);warning=e=>this.service.warning(e);custom=e=>this.service(e);action=({title:e,buttonLabel:t,onClick:r})=>this.service(e,{action:{label:t,onClick:r}})}let li=new lr(tI),lo=tc(O)`
1060
+ `,aH=s((e,r)=>t(a_,{ref:r,...e})),aj=e=>t(eF,{...e}),aV=e=>t(eP,{...e});var aG=((tq={}).info="info",tq.success="success",tq.warning="warning",tq.error="error",tq);let aY={topRight:"top-right",topLeft:"top-left",bottomRight:"bottom-right",bottomLeft:"bottom-left",topCenter:"top-center",bottomCenter:"bottom-center"},aU="notify";class aK{service;constructor(e){this.service=e}message(e,t){return this.service.message(e,{description:t})}success=e=>this.service.success(e);error=e=>this.service.error(e);info=e=>this.service.info(e);warning=e=>this.service.warning(e);custom=e=>this.service(e);action=({title:e,buttonLabel:t,onClick:r})=>this.service(e,{action:{label:t,onClick:r}})}let aq=new aK(tD),aJ=tc(O)`
1061
1061
  color: ${({theme:e})=>e.palette.error.main};
1062
- `,ln=tc(M)`
1062
+ `,aX=tc(P)`
1063
1063
  color: ${({theme:e})=>e.palette.success.main};
1064
- `,la=tc(H)`
1064
+ `,aZ=tc(H)`
1065
1065
  color: ${({theme:e})=>e.palette.warning.main};
1066
- `,ll=tc(I)`
1066
+ `,aQ=tc(D)`
1067
1067
  color: ${({theme:e})=>e.palette.info.main};
1068
- `,ld=({position:e="bottomRight",...r})=>t(tD,{duration:3e3,icons:{error:t(lo,{size:20}),success:t(ln,{size:20}),warning:t(la,{size:20}),info:t(ll,{size:20})},position:le[e],...r}),ls="page_header",lp="page_aside",lc=tc("aside")`
1068
+ `,a0=({position:e="bottomRight",...r})=>t(tI,{duration:3e3,icons:{error:t(aJ,{size:20}),success:t(aX,{size:20}),warning:t(aZ,{size:20}),info:t(aQ,{size:20})},position:aY[e],...r}),a1="page_header",a2="page_aside",a3=tc("aside")`
1069
1069
  grid-area: aside;
1070
1070
  scrollbar-gutter: stable;
1071
1071
  overflow: auto;
@@ -1074,14 +1074,14 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1074
1074
  padding: ${({theme:e})=>e.spacing(4)};
1075
1075
  border-left: 1px solid ${({theme:e})=>e.palette.grey[200]};
1076
1076
 
1077
- `,lg=tc("article",{shouldForwardProp:e=>!["$isFullHeight","$isFocusedMode"].includes(e.toString())})`
1077
+ `,a8=tc("article",{shouldForwardProp:e=>!["$isFullHeight","$isFocusedMode"].includes(e.toString())})`
1078
1078
  grid-area: content;
1079
1079
  scroll-behavior: smooth;
1080
1080
  scrollbar-gutter: stable;
1081
1081
  overflow: auto;
1082
1082
  height: ${({$isFullHeight:e})=>e?"100%":"auto"};
1083
1083
  padding: ${({theme:e})=>e.spacing(4)};
1084
- `,lh=tc("footer")`
1084
+ `,a4=tc("footer")`
1085
1085
  grid-area: footer;
1086
1086
  z-index: ${({theme:e})=>e.zIndex.speedDial};
1087
1087
 
@@ -1095,12 +1095,12 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1095
1095
  ${({theme:e})=>e.breakpoints.down("sm")} {
1096
1096
  display: none;
1097
1097
  }
1098
- `,lu=tc("div")`
1098
+ `,a6=tc("div")`
1099
1099
  grid-area: breadcrumbs;
1100
1100
  display: flex;
1101
1101
  align-items: center;
1102
1102
  column-gap: ${({theme:e})=>e.spacing(2)};
1103
- `,lm=tc("header")`
1103
+ `,a5=tc("header")`
1104
1104
  grid-area: header;
1105
1105
  display: grid;
1106
1106
  grid-template-columns: auto 1fr auto;
@@ -1113,32 +1113,32 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1113
1113
  &:has(.breadcrumbs) {
1114
1114
  grid-template-areas: 'buttons breadcrumbs actions' 'title title title' 'subtitle subtitle subtitle';
1115
1115
  }
1116
- `,lf=tc("div")`
1116
+ `,a9=tc("div")`
1117
1117
  grid-area: buttons;
1118
1118
  display: flex;
1119
1119
  align-items: center;
1120
1120
  column-gap: ${({theme:e})=>e.spacing(1)};
1121
- `,ly=tc("div")`
1121
+ `,a7=tc("div")`
1122
1122
  grid-area: actions;
1123
1123
  display: flex;
1124
1124
  align-items: center;
1125
1125
  justify-content: flex-end;
1126
1126
  column-gap: ${({theme:e})=>e.spacing(2)};
1127
- `,lx=tc(ic)`
1127
+ `,le=tc(r9)`
1128
1128
  grid-area: title;
1129
- `,lb=tc("div")`
1129
+ `,lt=tc("div")`
1130
1130
  grid-area: title;
1131
1131
  display: flex;
1132
1132
  align-items: center;
1133
1133
  column-gap: ${({theme:e})=>e.spacing(2)};
1134
- `,l$=tc(ic)`
1134
+ `,lr=tc(r9)`
1135
1135
  grid-area: subtitle;
1136
- `,lv=tc("div")`
1136
+ `,li=tc("div")`
1137
1137
  grid-area: subtitle;
1138
1138
  display: flex;
1139
1139
  align-items: center;
1140
1140
  column-gap: ${({theme:e})=>e.spacing(2)};
1141
- `,lw=tc("div")`
1141
+ `,lo=tc("div")`
1142
1142
  display: grid;
1143
1143
  grid-template-columns: 1fr auto;
1144
1144
  grid-template-rows: auto 1fr auto;
@@ -1151,8 +1151,8 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1151
1151
  height: 100%;
1152
1152
  min-height: 0;
1153
1153
 
1154
- &:has(.${lp}) {
1155
- .${ls} {
1154
+ &:has(.${a2}) {
1155
+ .${a1} {
1156
1156
  border-bottom: 1px solid ${({theme:e})=>e.palette.grey[200]};
1157
1157
  padding-bottom: ${({theme:e})=>e.spacing(4)};
1158
1158
  }
@@ -1169,30 +1169,30 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1169
1169
  padding-top: 0;
1170
1170
  padding-bottom: '80px';
1171
1171
  }
1172
- `,lC=({children:e,className:r})=>t(lw,{className:r,children:e});lC.Header=e=>{let{title:i,subtitle:o,breadcrumbs:n,actions:a,backButton:l,className:d}=e,{collapsed:s,toggleCollapsed:p}=ng();return g(()=>{"string"==typeof i&&(document.title=i)},[i]),r(lm,{className:t$(d,ls),children:[r(lf,{children:[t(rZ,{title:s?"Развернуть":"Свернуть",children:t(rR,{variant:"text",onClick:p,children:s?t(L,{}):t(E,{})})}),l&&t(rZ,{title:"Назад",children:t(rR,{...l,variant:"text",children:t(k,{})})})]}),n&&t(lu,{className:"breadcrumbs",children:n}),t(ly,{children:a}),"string"==typeof i?t(lx,{component:"h1",variant:"h3","aria-level":1,children:i}):t(lb,{"aria-level":1,children:i}),o&&"string"==typeof o&&t(l$,{"aria-level":2,children:o}),o&&"string"!=typeof o&&t(lv,{"aria-level":2,children:o})]})},lC.Content=e=>{let{className:r,children:i,isFullHeight:o=!0}=e;return t(lg,{className:t$(r,"page-content"),$isFullHeight:o,children:i})},lC.Footer=e=>{let{children:r,className:i}=e;return t(lh,{className:i,children:r})},lC.Aside=({children:e,className:r})=>t(lc,{className:t$(r,lp),children:e});let lk=e=>t(eI,{...e}),lS=["Янв.","Фев.","Мар.","Апр.","Май","Июн.","Июл.","Авг.","Сен.","Окт.","Ноя.","Дек."],lz=["I квартал","II квартал","III квартал","IV квартал"],lF=tc("div")`
1172
+ `,ln=({children:e,className:r})=>t(lo,{className:r,children:e});ln.Header=e=>{let{title:i,subtitle:o,breadcrumbs:n,actions:a,backButton:l,className:d}=e,{collapsed:s,toggleCollapsed:p}=o4();return g(()=>{"string"==typeof i&&(document.title=i)},[i]),r(a5,{className:t$(d,a1),children:[r(a9,{children:[t(rW,{title:s?"Развернуть":"Свернуть",children:t(rz,{variant:"text",onClick:p,children:s?t(B,{}):t(L,{})})}),l&&t(rW,{title:"Назад",children:t(rz,{...l,variant:"text",children:t(k,{})})})]}),n&&t(a6,{className:"breadcrumbs",children:n}),t(a7,{children:a}),"string"==typeof i?t(le,{component:"h1",variant:"h3","aria-level":1,children:i}):t(lt,{"aria-level":1,children:i}),o&&"string"==typeof o&&t(lr,{"aria-level":2,children:o}),o&&"string"!=typeof o&&t(li,{"aria-level":2,children:o})]})},ln.Content=e=>{let{className:r,children:i,isFullHeight:o=!0}=e;return t(a8,{className:t$(r,"page-content"),$isFullHeight:o,children:i})},ln.Footer=e=>{let{children:r,className:i}=e;return t(a4,{className:i,children:r})},ln.Aside=({children:e,className:r})=>t(a3,{className:t$(r,a2),children:e});let la=e=>t(eD,{...e}),ll=["Янв.","Фев.","Мар.","Апр.","Май","Июн.","Июл.","Авг.","Сен.","Окт.","Ноя.","Дек."],ld=["I квартал","II квартал","III квартал","IV квартал"],ls=tc("div")`
1173
1173
  padding: ${({theme:e})=>e.spacing(4)};
1174
1174
  display: flex;
1175
1175
  flex-direction: column;
1176
1176
  gap: ${({theme:e})=>e.spacing(2)};
1177
- `,lM=tc("div")`
1177
+ `,lp=tc("div")`
1178
1178
  display: grid;
1179
1179
  grid-template-columns: repeat(3, 1fr);
1180
1180
  grid-template-rows: repeat(3, 1fr);
1181
1181
  gap: ${({theme:e})=>e.spacing(2)};
1182
- `,lT=tc("div")`
1182
+ `,lc=tc("div")`
1183
1183
  display: grid;
1184
1184
  grid-template-columns: repeat(2, 1fr);
1185
1185
  grid-template-rows: repeat(2, 1fr);
1186
1186
  gap: ${({theme:e})=>e.spacing(2)};
1187
- `,lP=e=>Math.ceil(e/3);function lA({year:e,onSelect:r,minDate:i,maxDate:o}){let n=Array.from({length:o.getFullYear()-i.getFullYear()+1},(e,t)=>i.getFullYear()+t);return t(r3,{disabled:1===n.length,variant:"light",name:e.toString(),children:n.map(i=>t(rQ,{value:i,selected:i===e,onClick:()=>{r?.(i)},children:t(rC,{align:"center",variant:"subtitle1",style:{textTransform:"capitalize",minWidth:70},children:i})},i))})}let lD=i=>{let{label:o,disabled:n=!1,value:a,onSelect:l,type:d="month",placeholder:s="month"===d?"Выберите месяц":"Выберите квартал",error:p,helperText:c,max:h=new Date(2050,0,1),min:u=new Date(2e3,0,1),className:m,size:f,fullWidth:x,name:b}=i,$=new Date,[v,C]=y(null),[k,S]=y($.getFullYear()),z=()=>{C(null)},F=e=>{l?.(e),z()},M="month"===d?a?.toLocaleDateString("ru-RU",{month:"long",year:"numeric"}):a?`${lz[lP(a.getMonth())]} ${a.getFullYear()}`:"";return g(()=>{a&&S(a.getFullYear())},[a]),r(e,{children:[t(iO,{label:o,value:M,disabled:n,size:f,fullWidth:x,name:b,endAdornment:t(rR,{disabled:n,variant:"text",onClick:e=>{C(e.currentTarget)},children:t(w,{})}),placeholder:s,error:p,helperText:c,className:m}),t(oy,{open:!!v,anchorEl:v,onClose:z,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},children:r(lF,{children:[t(lA,{year:k,onSelect:S,minDate:u,maxDate:h}),"month"===d?t(lM,{children:lS.map((e,r)=>{let i=new Date(k,r,a?.getDate()||1);return t(ro,{variant:"text",size:"small",disabled:i<u||i>h,onClick:()=>F(i),selected:a?.getMonth()===r&&a.getFullYear()===i.getFullYear(),children:e},e)})}):t(lT,{children:lz.map((e,r)=>{let i=new Date(k,3*r,1);return t(ro,{variant:"text",size:"small",disabled:i<u||i>h,onClick:()=>F(i),selected:!!a&&lP(a.getMonth())===r&&a.getFullYear()===i.getFullYear(),children:e},e)})})]})})]})},lI=tc(rY)`
1187
+ `,lg=e=>Math.ceil(e/3);function lh({year:e,onSelect:r,minDate:i,maxDate:o}){let n=Array.from({length:o.getFullYear()-i.getFullYear()+1},(e,t)=>i.getFullYear()+t);return t(rG,{disabled:1===n.length,variant:"light",name:e.toString(),children:n.map(i=>t(r_,{value:i,selected:i===e,onClick:()=>{r?.(i)},children:t(rg,{align:"center",variant:"subtitle1",style:{textTransform:"capitalize",minWidth:70},children:i})},i))})}let lu=i=>{let{label:o,disabled:n=!1,value:a,onSelect:l,type:d="month",placeholder:s="month"===d?"Выберите месяц":"Выберите квартал",error:p,helperText:c,max:h=new Date(2050,0,1),min:u=new Date(2e3,0,1),className:m,size:f,fullWidth:x,name:b}=i,$=new Date,[v,C]=y(null),[k,S]=y($.getFullYear()),z=()=>{C(null)},F=e=>{l?.(e),z()},P="month"===d?a?.toLocaleDateString("ru-RU",{month:"long",year:"numeric"}):a?`${ld[lg(a.getMonth())]} ${a.getFullYear()}`:"";return g(()=>{a&&S(a.getFullYear())},[a]),r(e,{children:[t(ib,{label:o,value:P,disabled:n,size:f,fullWidth:x,name:b,endAdornment:t(rz,{disabled:n,variant:"text",onClick:e=>{C(e.currentTarget)},children:t(w,{})}),placeholder:s,error:p,helperText:c,className:m}),t(or,{open:!!v,anchorEl:v,onClose:z,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},children:r(ls,{children:[t(lh,{year:k,onSelect:S,minDate:u,maxDate:h}),"month"===d?t(lp,{children:ll.map((e,r)=>{let i=new Date(k,r,a?.getDate()||1);return t(t3,{variant:"text",size:"small",disabled:i<u||i>h,onClick:()=>F(i),selected:a?.getMonth()===r&&a.getFullYear()===i.getFullYear(),children:e},e)})}):t(lc,{children:ld.map((e,r)=>{let i=new Date(k,3*r,1);return t(t3,{variant:"text",size:"small",disabled:i<u||i>h,onClick:()=>F(i),selected:!!a&&lg(a.getMonth())===r&&a.getFullYear()===i.getFullYear(),children:e},e)})})]})})]})},lm=tc(rB)`
1188
1188
  & .${ti.paper} {
1189
1189
  min-width: 200px;
1190
1190
  max-width: 300px;
1191
1191
  }
1192
- `,lO=tc(rQ,{shouldForwardProp:e=>"$divider"!==e})`
1192
+ `,lf=tc(r_,{shouldForwardProp:e=>"$divider"!==e})`
1193
1193
  border-top: 1px solid
1194
1194
  ${({theme:e,$divider:t})=>t?e.palette.divider:"transparent"};
1195
- `,lE=e=>{let{open:i,onClose:o,menuList:n=[],...a}=e,{isMobile:l}=rI(),d=()=>n.map(({render:e,icon:i,title:o,onClick:n,divider:a},l)=>e?e({icon:i,title:o,onClick:n,divider:a}):r(lO,{$divider:a,onClick:n,children:[t(a6,{children:i}),t(a5,{children:t(ic,{noWrap:!0,children:o})})]},String(l)));return l?t(rV,{onClose:o,open:i,children:t(rU,{children:d()})}):t(lI,{open:i,onClose:o,...a,children:d()})},lL=tc(ro)`
1195
+ `,ly=e=>{let{open:i,onClose:o,menuList:n=[],...a}=e,{isMobile:l}=rw(),d=()=>n.map(({render:e,icon:i,title:o,onClick:n,divider:a},l)=>e?e({icon:i,title:o,onClick:n,divider:a}):r(lf,{$divider:a,onClick:n,children:[t(aH,{children:i}),t(aj,{children:t(r9,{noWrap:!0,children:o})})]},String(l)));return l?t(rD,{onClose:o,open:i,children:t(rL,{children:d()})}):t(lm,{open:i,onClose:o,...a,children:d()})},lx=tc(t3)`
1196
1196
  overflow: hidden;
1197
1197
  display: flex;
1198
1198
  justify-content: flex-start;
@@ -1202,31 +1202,31 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1202
1202
  gap: 0;
1203
1203
  height: auto;
1204
1204
  padding: ${({theme:e})=>e.spacing(1)};
1205
- `,lR=tc("div")`
1205
+ `,lb=tc("div")`
1206
1206
  overflow: hidden;
1207
1207
  margin-left: ${({theme:e})=>e.spacing(2)};
1208
1208
  flex-grow: 1;
1209
- `,lB=tc(ic)`
1209
+ `,l$=tc(r9)`
1210
1210
  font-size: ${({theme:e})=>e.typography.pxToRem(12)};
1211
1211
  line-height: ${({theme:e})=>e.typography.pxToRem(16)};
1212
- `,lN=tc(iH)`
1212
+ `,lv=tc(iF)`
1213
1213
  width: 30px;
1214
1214
  height: 30px;
1215
- `,lW=i=>{let{displayName:o,annotation:n,avatar:a={variant:"rounded"},menu:l,menuList:d,collapsed:s}=i,{open:p,anchorRef:c,handleOpenMenu:h,handleCloseMenu:u}=rP(),{isMobile:m}=rI();return g(()=>{l||d||console.error("Profile должен иметь один из следующих props: menu, menuList")},[]),r(e,{children:[t(ea,{onClickAway:u,children:t(lL,{ref:c,variant:"text",onClick:h,children:m||s?t(lN,{...a}):r(e,{children:[t(lN,{...a}),r(lR,{children:[t(ic,{variant:"h6",children:o}),t(lB,{color:"textSecondary",children:n})]}),t(F,{size:16})]})})}),l?t(l,{open:p,anchorEl:c.current,onClose:u,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"left"},slotProps:{paper:{style:{maxWidth:300,minWidth:200}}}}):t(lE,{open:p,anchorEl:c.current,menuList:d,onClose:u,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"left"}})]})},l_=({className:e,value:r})=>t(ev,{className:e,variant:"determinate",value:Math.max(0,Math.min(r,100))}),lH="RadioIcon-innerCircle",lj="RadioCheckedIcon-innerCircle",lV=({...e})=>r(e_,{viewBox:"0 0 24 24",...e,children:[t("circle",{cx:"12",cy:"12",r:"10",className:"RadioIcon-outerCircle"}),t("circle",{cx:"12",cy:"12",r:"8",className:lH})]}),lG=({...e})=>r(e_,{viewBox:"0 0 24 24",...e,children:[t("circle",{cx:"12",cy:"12",r:"10",className:"RadioCheckedIcon-outerCircle"}),t("circle",{cx:"12",cy:"12",r:"4",className:lj})]}),lU=tc(eL,{shouldForwardProp:e=>"isError"!==e})`
1215
+ `,lw=i=>{let{displayName:o,annotation:n,avatar:a={variant:"rounded"},menu:l,menuList:d,collapsed:s}=i,{open:p,anchorRef:c,handleOpenMenu:h,handleCloseMenu:u}=rb(),{isMobile:m}=rw();return g(()=>{l||d||console.error("Profile должен иметь один из следующих props: menu, menuList")},[]),r(e,{children:[t(ea,{onClickAway:u,children:t(lx,{ref:c,variant:"text",onClick:h,children:m||s?t(lv,{...a}):r(e,{children:[t(lv,{...a}),r(lb,{children:[t(r9,{variant:"h6",children:o}),t(l$,{color:"textSecondary",children:n})]}),t(F,{size:16})]})})}),l?t(l,{open:p,anchorEl:c.current,onClose:u,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"left"},slotProps:{paper:{style:{maxWidth:300,minWidth:200}}}}):t(ly,{open:p,anchorEl:c.current,menuList:d,onClose:u,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"left"}})]})},lC=({className:e,value:r})=>t(ev,{className:e,variant:"determinate",value:Math.max(0,Math.min(r,100))}),lk="RadioIcon-innerCircle",lS="RadioCheckedIcon-innerCircle",lz=({...e})=>r(e_,{viewBox:"0 0 24 24",...e,children:[t("circle",{cx:"12",cy:"12",r:"10",className:"RadioIcon-outerCircle"}),t("circle",{cx:"12",cy:"12",r:"8",className:lk})]}),lF=({...e})=>r(e_,{viewBox:"0 0 24 24",...e,children:[t("circle",{cx:"12",cy:"12",r:"10",className:"RadioCheckedIcon-outerCircle"}),t("circle",{cx:"12",cy:"12",r:"4",className:lS})]}),lP=tc(eB,{shouldForwardProp:e=>"isError"!==e})`
1216
1216
  padding: 5px;
1217
1217
 
1218
1218
  color: ${({theme:e})=>e.palette.grey[300]};
1219
1219
 
1220
1220
  border-radius: unset;
1221
1221
 
1222
- & > svg > .${lH} {
1222
+ & > svg > .${lk} {
1223
1223
  fill: ${({theme:e})=>e.palette.common.white};
1224
1224
  }
1225
1225
 
1226
1226
  &:hover {
1227
1227
  background: none;
1228
1228
 
1229
- & > svg > .${lH} {
1229
+ & > svg > .${lk} {
1230
1230
  fill: ${({theme:e})=>e.palette.grey[100]};
1231
1231
  }
1232
1232
  }
@@ -1234,7 +1234,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1234
1234
  &.Mui-disabled:not(.Mui-checked) {
1235
1235
  color: ${({theme:e})=>e.palette.grey[200]};
1236
1236
 
1237
- & > svg > .${lH} {
1237
+ & > svg > .${lk} {
1238
1238
  fill: ${({theme:e})=>e.palette.grey[200]};
1239
1239
  }
1240
1240
  }
@@ -1252,7 +1252,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1252
1252
  color: ${({theme:e})=>e.palette.grey[400]};
1253
1253
  }
1254
1254
 
1255
- & > svg > .${lj} {
1255
+ & > svg > .${lS} {
1256
1256
  fill: ${({theme:e})=>e.palette.common.white};
1257
1257
  }
1258
1258
  }
@@ -1268,10 +1268,10 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1268
1268
  }
1269
1269
  }
1270
1270
  `}
1271
- `,lY=({icon:e=t(lV,{}),checkedIcon:r=t(lG,{}),...i})=>t(lU,{icon:e,checkedIcon:r,...i}),lK=tc(ey)`
1271
+ `,lM=({icon:e=t(lz,{}),checkedIcon:r=t(lF,{}),...i})=>t(lP,{icon:e,checkedIcon:r,...i}),lT=tc(ey)`
1272
1272
  margin-right: ${({theme:e})=>e.spacing(6)};
1273
1273
  margin-left: -7px;
1274
- `,lq=({id:e,disabled:r,label:i,isError:o,disabledReason:n,formControlLabelProps:a,...l})=>t(rZ,{title:r&&n,placement:"bottom-start",withoutContainer:!1,children:t(lK,{...a,label:i,control:t(lY,{...l,isError:o}),disabled:r})},e),lX=l({isError:!1}),lJ=({children:e,isError:r})=>t(lX.Provider,{value:{isError:r},children:e}),lZ=e=>{let{children:i,groupLabel:o,errorText:n,isError:a,required:l,formControlProps:d,row:s,...p}=e,c=h();return t(rZ,{title:a&&n,placement:"right-start",followCursor:!0,children:r(oa,{...d,children:[o&&t(aW,{id:c,required:l,children:o}),t(eR,{...p,"aria-labelledby":c,row:s,children:t(lJ,{isError:a,children:i})})]})})},lQ=e=>{let{isError:r}=c(lX);return t(lq,{...e,isError:r})},l0=tc(eW)`
1274
+ `,lA=({id:e,disabled:r,label:i,isError:o,disabledReason:n,formControlLabelProps:a,...l})=>t(rW,{title:r&&n,placement:"bottom-start",withoutContainer:!1,children:t(lT,{...a,label:i,control:t(lM,{...l,isError:o}),disabled:r})},e),lI=l({isError:!1}),lD=({children:e,isError:r})=>t(lI.Provider,{value:{isError:r},children:e}),lO=e=>{let{children:i,groupLabel:o,errorText:n,isError:a,required:l,formControlProps:d,row:s,...p}=e,c=h();return t(rW,{title:a&&n,placement:"right-start",followCursor:!0,children:r(i1,{...d,children:[o&&t(aC,{id:c,required:l,children:o}),t(eR,{...p,"aria-labelledby":c,row:s,children:t(lD,{isError:a,children:i})})]})})},lL=e=>{let{isError:r}=c(lI);return t(lA,{...e,isError:r})},lB=tc(eW)`
1275
1275
  height: 5px;
1276
1276
  padding: ${({theme:e})=>e.spacing(0)};
1277
1277
  .${ts.thumb} {
@@ -1296,14 +1296,14 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1296
1296
  border: 1px solid ${({theme:e})=>e.palette.secondary.main};
1297
1297
  color: ${({theme:e})=>e.palette.secondary.main};
1298
1298
  }
1299
- `,l1=e=>t(l0,{color:"primary",size:"small",...e}),l2=tc("div",{shouldForwardProp:e=>"$width"!==e})`
1299
+ `,lR=e=>t(lB,{color:"primary",size:"small",...e}),lE=tc("div",{shouldForwardProp:e=>"$width"!==e})`
1300
1300
  width: ${({$width:e="100%"})=>"string"==typeof e?e:`${e}px`};
1301
1301
  display: flex;
1302
1302
  flex-direction: column;
1303
1303
  row-gap: ${({theme:e})=>e.spacing(1)};
1304
1304
  height: 100%;
1305
1305
  margin-bottom: 20px;
1306
- `,l3=tc("div",{shouldForwardProp:e=>"$size"!==e})`
1306
+ `,lN=tc("div",{shouldForwardProp:e=>"$size"!==e})`
1307
1307
  width: 100%;
1308
1308
  padding: 0 10px;
1309
1309
  position: relative;
@@ -1323,12 +1323,12 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1323
1323
  &:hover {
1324
1324
  border-color: ${({theme:e})=>e.palette.grey[600]};
1325
1325
  }
1326
- `,l8=tc(rC)`
1326
+ `,lW=tc(rg)`
1327
1327
  color: ${({theme:e})=>e.palette.text.secondary};
1328
- `,l4=tc("span")`
1328
+ `,l_=tc("span")`
1329
1329
  white-space: nowrap;
1330
1330
  color: rgba(0, 0, 0, 0.3);
1331
- `,l6=tc("input")`
1331
+ `,lH=tc("input")`
1332
1332
  text-align: center;
1333
1333
  width: 100%;
1334
1334
  min-width: 24px;
@@ -1338,15 +1338,15 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1338
1338
  outline: none;
1339
1339
  border: none;
1340
1340
  }
1341
- `,l5=tc("div")`
1341
+ `,lj=tc("div")`
1342
1342
  position: absolute;
1343
1343
  bottom: -6px;
1344
1344
  left: 50%;
1345
1345
  transform: translateX(-50%);
1346
1346
  width: 100%;
1347
- `;function l9({min:e,max:i,onChange:o,minValue:n,maxValue:a,width:l,step:d,title:s,size:p}){let[c,h]=y(e),[u,m]=y(i),f=t=>{"Enter"===t.key&&o(c>=e&&c<=i?c:e,u>=e&&u<=i?u:i)};return g(()=>{h(n||e),m(a||i)},[n,a,e,i]),r(l2,{$width:l,children:[s&&t(l8,{variant:"caption",colorIntensity:"400",children:s}),r(l3,{$size:p,children:[t(l4,{children:"от"}),t(l6,{type:"text",name:"minVal",value:c,onChange:e=>{let{value:t}=e.target;Number.isNaN(+t)||h(+t)},onKeyDown:f}),t(l4,{children:"до"}),t(l6,{type:"text",name:"minVal",value:u,onChange:e=>{let{value:t}=e.target;Number.isNaN(+t)||m(+t)},onKeyDown:f}),t(l5,{children:t(l1,{min:e,max:i,step:d,value:[c,u],onChange:(e,t)=>{Array.isArray(t)&&(h(t[0]),m(t[1]))},onChangeCommitted:(e,t)=>{Array.isArray(t)&&o(t[0],t[1])},size:"small"})})]})]})}let l7=tc(R)`
1347
+ `;function lV({min:e,max:i,onChange:o,minValue:n,maxValue:a,width:l,step:d,title:s,size:p}){let[c,h]=y(e),[u,m]=y(i),f=t=>{"Enter"===t.key&&o(c>=e&&c<=i?c:e,u>=e&&u<=i?u:i)};return g(()=>{h(n||e),m(a||i)},[n,a,e,i]),r(lE,{$width:l,children:[s&&t(lW,{variant:"caption",colorIntensity:"400",children:s}),r(lN,{$size:p,children:[t(l_,{children:"от"}),t(lH,{type:"text",name:"minVal",value:c,onChange:e=>{let{value:t}=e.target;Number.isNaN(+t)||h(+t)},onKeyDown:f}),t(l_,{children:"до"}),t(lH,{type:"text",name:"minVal",value:u,onChange:e=>{let{value:t}=e.target;Number.isNaN(+t)||m(+t)},onKeyDown:f}),t(lj,{children:t(lR,{min:e,max:i,step:d,value:[c,u],onChange:(e,t)=>{Array.isArray(t)&&(h(t[0]),m(t[1]))},onChangeCommitted:(e,t)=>{Array.isArray(t)&&o(t[0],t[1])},size:"small"})})]})]})}let lG=tc(R)`
1348
1348
  color: ${({theme:e})=>e.palette.grey[600]};
1349
- `,de=tc(rR,{shouldForwardProp:e=>!["$isActive"].includes(e.toString())})`
1349
+ `,lY=tc(rz,{shouldForwardProp:e=>!["$isActive"].includes(e.toString())})`
1350
1350
  opacity: ${({$isActive:e})=>+!!e};
1351
1351
 
1352
1352
  &:hover {
@@ -1356,15 +1356,15 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1356
1356
  stroke: ${({theme:e})=>e.palette.grey["700"]};
1357
1357
  }
1358
1358
  }
1359
- `,dt=tc(iO)`
1359
+ `,lU=tc(ib)`
1360
1360
  & .MuiFormHelperText-root {
1361
1361
  display: none;
1362
1362
  }
1363
- `,dr=tc(j)`
1363
+ `,lK=tc(j)`
1364
1364
  width: 16px;
1365
1365
  height: 16px;
1366
1366
  stroke: ${({theme:e})=>e.palette.grey["500"]};
1367
- `,di=s(({margin:e="none",placeholder:r="Поиск",onChange:i,disabled:o,value:n,defaultValue:a,delay:l=600,...d},s)=>{let[p,c]=y(`${a||n||""}`),g=f(null),h=f(null),u=!!p.length;return t(dt,{margin:e,placeholder:r,startAdornment:t(l7,{onClick:()=>{h.current?.focus()}}),disabled:o,endAdornment:t(de,{variant:"text",onClick:()=>{c(""),h.current&&(h.current.value=""),g.current&&clearTimeout(g.current);let e=new InputEvent("input",{bubbles:!0,cancelable:!0});Object.defineProperty(e,"target",{writable:!0,value:h.current}),i?.(e),h.current?.focus()},disabled:o||!u,$isActive:u,children:t(dr,{})}),onChange:e=>{c(e.target.value),g.current&&clearTimeout(g.current),g.current=setTimeout(()=>{i?.(e)},l)},value:p,ref:s,inputRef:h,...d})}),dn=tc(ro,{shouldForwardProp:e=>!["active","collapsed"].includes(e.toString())})`
1367
+ `,lq=s(({margin:e="none",placeholder:r="Поиск",onChange:i,disabled:o,value:n,defaultValue:a,delay:l=600,...d},s)=>{let[p,c]=y(`${a||n||""}`),g=f(null),h=f(null),u=!!p.length;return t(lU,{margin:e,placeholder:r,startAdornment:t(lG,{onClick:()=>{h.current?.focus()}}),disabled:o,endAdornment:t(lY,{variant:"text",onClick:()=>{c(""),h.current&&(h.current.value=""),g.current&&clearTimeout(g.current);let e=new InputEvent("input",{bubbles:!0,cancelable:!0});Object.defineProperty(e,"target",{writable:!0,value:h.current}),i?.(e),h.current?.focus()},disabled:o||!u,$isActive:u,children:t(lK,{})}),onChange:e=>{c(e.target.value),g.current&&clearTimeout(g.current),g.current=setTimeout(()=>{i?.(e)},l)},value:p,ref:s,inputRef:h,...d})}),lJ=tc(t3,{shouldForwardProp:e=>!["active","collapsed"].includes(e.toString())})`
1368
1368
  height: 32px;
1369
1369
  width: 100%;
1370
1370
  display: grid;
@@ -1383,7 +1383,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1383
1383
  span {
1384
1384
  margin: 0;
1385
1385
  }
1386
- `,da=tc(dn)`
1386
+ `,lX=tc(lJ)`
1387
1387
  margin-left: ${({theme:e})=>e.spacing(10)};
1388
1388
  width: ${({theme:e})=>`calc(100% - ${e.spacing(10)})`};
1389
1389
  &:before {
@@ -1396,7 +1396,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1396
1396
  background-color: ${({theme:e})=>e.palette.divider};
1397
1397
  z-index: 4;
1398
1398
  }
1399
- `,dl=tc("p",{shouldForwardProp:e=>"collapsed"!==e})`
1399
+ `,lZ=tc("p",{shouldForwardProp:e=>"collapsed"!==e})`
1400
1400
  margin: 0;
1401
1401
  overflow: hidden;
1402
1402
  width: ${({collapsed:e})=>e?0:"100%"};
@@ -1404,7 +1404,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1404
1404
  white-space: nowrap;
1405
1405
  text-align: left;
1406
1406
  transition: ${({theme:e})=>e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen})};
1407
- `,dd=tc("div")`
1407
+ `,lQ=tc("div")`
1408
1408
  display: flex;
1409
1409
  justify-content: center;
1410
1410
  align-items: center;
@@ -1415,7 +1415,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1415
1415
  max-width: 100%;
1416
1416
  max-height: 100%;
1417
1417
  }
1418
- `,ds=({collapsed:e,icon:i,active:o,label:n,subItems:a,onClick:l,id:d,component:s="li"})=>{let[p,c]=y(!1);return a?r("li",{children:[t(rZ,{withoutContainer:!0,placement:"right",title:e?n:void 0,children:r(dn,{active:o,collapsed:e,onClick:()=>c(!p),endIcon:!e&&t(rb,{isActive:p}),children:[t(dd,{children:i}),t(dl,{collapsed:e,children:n})]})}),t(r$,{in:p&&!e,children:t(aQ,{disablePadding:!0,children:a.map(r=>t(da,{collapsed:e,component:r.component||"li",onClick:r.onClick,active:r.active,children:t(dl,{collapsed:e,children:r.label})},r.id))})})]},d):t(rZ,{withoutContainer:!0,placement:"right",title:e?n:void 0,children:r(dn,{collapsed:e,component:s,active:o,onClick:l,children:[t(dd,{children:i}),t(dl,{collapsed:e,children:n})]})},d)},dp=tc("nav")`
1418
+ `,l0=({collapsed:e,icon:i,active:o,label:n,subItems:a,onClick:l,id:d,component:s="li"})=>{let[p,c]=y(!1);return a?r("li",{children:[t(rW,{withoutContainer:!0,placement:"right",title:e?n:void 0,children:r(lJ,{active:o,collapsed:e,onClick:()=>c(!p),endIcon:!e&&t(rd,{isActive:p}),children:[t(lQ,{children:i}),t(lZ,{collapsed:e,children:n})]})}),t(rs,{in:p&&!e,children:t(aB,{disablePadding:!0,children:a.map(r=>t(lX,{collapsed:e,component:r.component||"li",onClick:r.onClick,active:r.active,children:t(lZ,{collapsed:e,children:r.label})},r.id))})})]},d):t(rW,{withoutContainer:!0,placement:"right",title:e?n:void 0,children:r(lJ,{collapsed:e,component:s,active:o,onClick:l,children:[t(lQ,{children:i}),t(lZ,{collapsed:e,children:n})]})},d)},l1=tc("nav")`
1419
1419
  width: auto;
1420
1420
  overflow: hidden auto;
1421
1421
  color: ${({theme:e})=>e.palette.text.secondary};
@@ -1424,7 +1424,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1424
1424
  color: inherit;
1425
1425
  font-size: inherit;
1426
1426
  }
1427
- `,dc=({items:e})=>{let{collapsed:r}=ng();return t(dp,{children:t(aQ,{disablePadding:!0,children:e.map(e=>d(ds,{...e,key:e.id,collapsed:r}))})})},dg=tc(ro,{shouldForwardProp:e=>"collapsed"!==e})`
1427
+ `,l2=({items:e})=>{let{collapsed:r}=o4();return t(l1,{children:t(aB,{disablePadding:!0,children:e.map(e=>d(l0,{...e,key:e.id,collapsed:r}))})})},l3=tc(t3,{shouldForwardProp:e=>"collapsed"!==e})`
1428
1428
  font-size: ${({theme:e})=>e.typography.h5.fontSize};
1429
1429
  font-weight: ${({theme:e})=>e.typography.body1.fontWeight};
1430
1430
  justify-content: flex-start;
@@ -1442,13 +1442,13 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1442
1442
  max-width: 24px;
1443
1443
  max-height: 24px;
1444
1444
  }
1445
- `,dh=tc(rC)`
1445
+ `,l8=tc(rg)`
1446
1446
  overflow: hidden;
1447
1447
  text-overflow: ellipsis;
1448
1448
  white-space: nowrap;
1449
1449
  margin-left: ${({theme:e})=>e.spacing(3)};
1450
- `,du=e=>{let{logo:i,name:o,variant:n="text",...a}=e,{collapsed:l}=ng();return r(dg,{...a,variant:n,children:[t(i,{}),t(r$,{orientation:"horizontal",in:!l,children:t(dh,{variant:"h4",color:"grey",colorIntensity:"700",children:o})})]})},dm=tc(eN)`
1451
- background-color: ${({theme:e})=>eX(e.palette.grey[900],.12)};
1450
+ `,l4=e=>{let{logo:i,name:o,variant:n="text",...a}=e,{collapsed:l}=o4();return r(l3,{...a,variant:n,children:[t(i,{}),t(rs,{orientation:"horizontal",in:!l,children:t(l8,{variant:"h4",color:"grey",colorIntensity:"700",children:o})})]})},l6=tc(eN)`
1451
+ background-color: ${({theme:e})=>eJ(e.palette.grey[900],.12)};
1452
1452
 
1453
1453
  &.${td.text} {
1454
1454
  border-radius: ${({theme:e})=>e.shape.medium};
@@ -1457,7 +1457,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1457
1457
  &.${td.rounded} {
1458
1458
  border-radius: ${({theme:e})=>e.shape.medium};
1459
1459
  }
1460
- `,df=e=>t(dm,{...e}),dy=tc(eH)`
1460
+ `,l5=e=>t(l6,{...e}),l9=tc(eH)`
1461
1461
  .Mui-focusVisible {
1462
1462
  border: 2px solid ${({theme:e})=>e.palette.primary[400]};
1463
1463
  }
@@ -1468,7 +1468,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1468
1468
  ${`.${th.track}`}::after {
1469
1469
  display: none;
1470
1470
  }
1471
- `,dx=s((e,r)=>t(dy,{ref:r,...e})),db=tc(ej)`
1471
+ `,l7=s((e,r)=>t(l9,{ref:r,...e})),de=tc(ej)`
1472
1472
  min-height: 36px;
1473
1473
  margin-right: ${({theme:e})=>e.spacing(4)};
1474
1474
  padding: 0;
@@ -1487,13 +1487,13 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1487
1487
  &:active {
1488
1488
  color: ${({theme:e})=>e.palette.primary[900]};
1489
1489
  }
1490
- `,d$=e=>t(db,{...e}),dv=tc("div")`
1490
+ `,dt=e=>t(de,{...e}),dr=tc("div")`
1491
1491
  display: flex;
1492
1492
  flex-direction: column;
1493
1493
  align-items: flex-start;
1494
1494
 
1495
1495
  width: 100%;
1496
- `,dw=tc("div")`
1496
+ `,di=tc("div")`
1497
1497
  position: relative;
1498
1498
  z-index: -1;
1499
1499
  bottom: 2px;
@@ -1502,7 +1502,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1502
1502
  height: 2px;
1503
1503
 
1504
1504
  background-color: ${e=>e.theme.palette.grey[200]};
1505
- `,dC=({nextFeatureFlags:e,...i})=>e?.hasBottomDivider?r(dv,{children:[t(eV,{...i}),t(dw,{})]}):t(eV,{...i}),dk=tc(iV)`
1505
+ `,dn=({nextFeatureFlags:e,...i})=>e?.hasBottomDivider?r(dr,{children:[t(eV,{...i}),t(di,{})]}):t(eV,{...i}),da=tc(iM)`
1506
1506
  vertical-align: text-top;
1507
1507
 
1508
1508
  &span.MuiBadge-badge {
@@ -1512,4 +1512,4 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i,{Childr
1512
1512
  box-sizing: content-box;
1513
1513
  height: 16px;
1514
1514
  }
1515
- `,dS=({color:e="primary",checked:r,disabled:i,checkedColor:o,...n})=>t(dk,{withBorder:!1,color:(({disabled:e,checked:t,checkedColor:r,color:i})=>e?"grey":t?r||"white":i)({disabled:i,checked:r,checkedColor:o,color:e}),...n}),dz=({rows:e=7,...r})=>t(iO,{multiline:!0,rows:e,...r}),dF=e=>{let{children:i,theme:o}=e;return r(eU,{theme:o,children:[t(ed,{}),i]})},dM=({form:e,children:r,...i})=>t(tE,{...e,children:t("form",{noValidate:!0,...i,children:r})}),dT=({control:e,name:r,...i})=>t(tO,{control:e,name:r,render:({field:e,fieldState:r})=>t(iL,{...i,...e,onChange:t=>e.onChange?.(t),onInputChange:(t,r,o)=>{i.freeSolo&&"input"===o&&e.onChange?.(r),i.onInputChange?.(t,r,o)},error:!!r.error,helperText:r.error?.message})}),dP=({name:e,control:r,...i})=>t(tO,{name:e,control:r,render:({field:e,fieldState:r})=>t(oc,{checked:!!e.value,...i,...e,isError:!!r.error,helperText:r.error?.message})});function dA({name:e,control:r,ref:i,...o}){return t(tO,{control:r,name:e,render:({field:e,fieldState:r})=>t(ad,{...o,...e,error:!!r.error,helperText:r.error?.message})})}let dD=({name:e,control:r,...i})=>t(tO,{name:e,control:r,render:({field:e,fieldState:r})=>t(at,{...i,...e,error:!!r.error,helperText:r.error?.message})}),dI=({mode:e="onBlur",...t}={})=>tB({...t,mode:e}),dO=({children:e,loading:r,...i})=>{let{formState:o}=tN();return t(ro,{type:"submit",loading:r||o.isSubmitting,...i,children:e})};function dE({name:e,control:r,gridArea:i,...o}){return t(tO,{control:r,name:e,render:({field:e,fieldState:r})=>t(iO,{...o,...e,style:{gridArea:i},value:e.value||"",error:!!r.error,helperText:r.error?.message})})}export{rM as Accordion,r2 as ActionCell,ie as ActionGroup,io as Alert,iW as AsyncAutocomplete,iL as Autocomplete,iH as Avatar,iV as Badge,rV as BottomDrawer,q as Breadcrumbs,ro as Button,J as ButtonBase,t6 as ButtonColors,Z as ButtonGroup,t9 as ButtonSizes,t7 as ButtonStates,t5 as ButtonVariants,iQ as Calendar,Q as Card,ee as CardActions,et as CardContent,er as CardHeader,on as Carousel,ia as Checkbox,oc as CheckboxField,rb as Chevron,re as CircularProgress,r$ as Collapse,om as ConfigContext,of as ConfigProvider,oC as ConfirmAction,oL as ConfirmDialog,ih as Container,o5 as ContentState,nt as CopyTypography,ip as DEFAULT_ROWS_COUNT,ac as DEFAULT_SEPARATOR,ag as DEFAULT_SYMBOL,ah as DESCRIPTION_ROOT_CLASSNAME,nc as DashboardLayout,nG as DataGrid,nX as DataGridActionCell,al as DataGridPagination,ap as DatePicker,aw as Description,aM as DescriptionList,aP as DescriptionTooltip,oM as Dialog,oP as DialogActions,oD as DialogContent,oO as DialogContentText,aI as DialogHeader,ok as DialogTitle,aO as Divider,r3 as DropdownButton,o4 as ErrorBoundary,aB as Filename,dM as Form,dT as FormAutocomplete,dP as FormCheckbox,oa as FormControl,od as FormControlLabel,tO as FormController,iI as FormHelperText,iD as FormHelperTextContent,aW as FormLabel,dA as FormMaskField,tE as FormProvider,dD as FormSelect,dO as FormSubmitButton,dE as FormTextField,aC as GuidTypography,nL as Head,rR as IconButton,rK as IconDropdownButton,oG as Image,aX as InputOTP,o0 as InternalErrorPlaceholder,t4 as LOADING_BUTTON_CLASSNAME,aZ as Link,aQ as List,a3 as ListItem,a8 as ListItemButton,a6 as ListItemIcon,a5 as ListItemText,a9 as ListSubheader,nh as MIN_ROW_HEIGHT,ad as MaskField,rY as Menu,rQ as MenuItem,rU as MenuList,le as NOTIFICATION_POSITIONS,lt as NOTIFY_CLASSNAME,lr as Notification,ld as NotificationContainer,a7 as NotificationVariantTypes,o1 as OutdatedReleasePlaceholder,ic as OverflowTypography,lC as PageLayout,nJ as Pagination,lk as Paper,lD as PeriodPicker,oQ as Placeholder,oy as Popover,lW as Profile,l_ as ProgressBar,nu as ROOT_ACTION_CELL_WIDTH,lY as Radio,lq as RadioField,lZ as RadioGroup,lX as RadioGroupContext,lQ as RadioGroupField,l9 as RangeInput,nk as Row,rg as SPACING,di as SearchField,at as Select,dc as SidebarNav,du as SidebarProduct,df as Skeleton,l1 as Slider,nT as SortStates,dx as Switch,d$ as Tab,dC as Tabs,iz as Tag,dS as TagBadge,n2 as TagsList,dz as TextArea,iO as TextField,dF as ThemeProvider,rZ as Tooltip,rC as Typography,eZ as buttonClasses,eQ as cardActionsClasses,e0 as cardClasses,e1 as cardContentClasses,e2 as cardHeaderClasses,ru as componentsColors,ry as createTheme,rh as elevation,rm as getPalette,tt as keyframes,li as notification,oU as setDefaultImageStyles,rf as shape,tc as styled,ng as useDashboard,dI as useForm,tN as useFormContext,tL as useFormController,tR as useFormFieldArray,tW as useFormWatch,rP as useMenu,rA as usePopover,tf as useTheme,rD as useToggle,rI as useViewportType};
1515
+ `,dl=({color:e="primary",checked:r,disabled:i,checkedColor:o,...n})=>t(da,{withBorder:!1,color:(({disabled:e,checked:t,checkedColor:r,color:i})=>e?"grey":t?r||"white":i)({disabled:i,checked:r,checkedColor:o,color:e}),...n}),dd=({rows:e=7,...r})=>t(ib,{multiline:!0,rows:e,...r}),ds=e=>{let{children:i,theme:o}=e;return r(eY,{theme:o,children:[t(ed,{}),i]})},dp=({form:e,children:r,...i})=>t(tL,{...e,children:t("form",{noValidate:!0,...i,children:r})}),dc=({control:e,name:r,...i})=>t(tO,{control:e,name:r,render:({field:e,fieldState:r})=>t(iv,{...i,...e,onChange:t=>e.onChange?.(t),onInputChange:(t,r,o)=>{i.freeSolo&&"input"===o&&e.onChange?.(r),i.onInputChange?.(t,r,o)},error:!!r.error,helperText:r.error?.message})}),dg=({name:e,control:r,...i})=>t(tO,{name:e,control:r,render:({field:e,fieldState:r})=>t(i6,{checked:!!e.value,...i,...e,isError:!!r.error,helperText:r.error?.message})});function dh({name:e,control:r,ref:i,...o}){return t(tO,{control:r,name:e,render:({field:e,fieldState:r})=>t(n1,{...o,...e,error:!!r.error,helperText:r.error?.message})})}let du=({name:e,control:r,...i})=>t(tO,{name:e,control:r,render:({field:e,fieldState:r})=>t(nK,{...i,...e,error:!!r.error,helperText:r.error?.message})}),dm=({mode:e="onBlur",...t}={})=>tE({...t,mode:e}),df=({children:e,loading:r,...i})=>{let{formState:o}=tN();return t(t3,{type:"submit",loading:r||o.isSubmitting,...i,children:e})};function dy({name:e,control:r,gridArea:i,...o}){return t(tO,{control:r,name:e,render:({field:e,fieldState:r})=>t(ib,{...o,...e,style:{gridArea:i},value:e.value||"",error:!!r.error,helperText:r.error?.message})})}export{ry as Accordion,rV as ActionCell,rZ as ActionGroup,r2 as Alert,iS as AsyncAutocomplete,iv as Autocomplete,iF as Avatar,iM as Badge,rD as BottomDrawer,q as Breadcrumbs,t3 as Button,X as ButtonBase,tJ as ButtonColors,Z as ButtonGroup,tZ as ButtonSizes,tQ as ButtonStates,tX as ButtonVariants,iE as Calendar,Q as Card,ee as CardActions,et as CardContent,er as CardHeader,i0 as Carousel,r3 as Checkbox,i6 as CheckboxField,rd as Chevron,t0 as CircularProgress,rs as Collapse,oe as ConfigContext,ot as ConfigProvider,od as ConfirmAction,ov as ConfirmDialog,ie as Container,oG as ContentState,oK as CopyTypography,r5 as DEFAULT_ROWS_COUNT,n8 as DEFAULT_SEPARATOR,n4 as DEFAULT_SYMBOL,n6 as DESCRIPTION_ROOT_CLASSNAME,o8 as DashboardLayout,nP as DataGrid,nD as DataGridActionCell,n0 as DataGridPagination,n3 as DatePicker,an as Description,ac as DescriptionList,ah as DescriptionTooltip,oh as Dialog,om as DialogActions,oy as DialogContent,ob as DialogContentText,af as DialogHeader,os as DialogTitle,ay as Divider,rG as DropdownButton,oj as ErrorBoundary,av as Filename,dp as Form,dc as FormAutocomplete,dg as FormCheckbox,i1 as FormControl,i3 as FormControlLabel,tO as FormController,ix as FormHelperText,iy as FormHelperTextContent,aC as FormLabel,dh as FormMaskField,tL as FormProvider,du as FormSelect,df as FormSubmitButton,dy as FormTextField,aa as GuidTypography,nb as Head,rz as IconButton,rR as IconDropdownButton,oT as Image,aD as InputOTP,oN as InternalErrorPlaceholder,tH as LOADING_BUTTON_CLASSNAME,aL as Link,aB as List,aN as ListItem,aW as ListItemButton,aH as ListItemIcon,aj as ListItemText,aV as ListSubheader,o6 as MIN_ROW_HEIGHT,n1 as MaskField,rB as Menu,r_ as MenuItem,rL as MenuList,aY as NOTIFICATION_POSITIONS,aU as NOTIFY_CLASSNAME,aK as Notification,a0 as NotificationContainer,aG as NotificationVariantTypes,oW as OutdatedReleasePlaceholder,r9 as OverflowTypography,ln as PageLayout,nO as Pagination,la as Paper,lu as PeriodPicker,oE as Placeholder,or as Popover,lw as Profile,lC as ProgressBar,o5 as ROOT_ACTION_CELL_WIDTH,lM as Radio,lA as RadioField,lO as RadioGroup,lI as RadioGroupContext,lL as RadioGroupField,lV as RangeInput,nl as Row,rt as SPACING,lq as SearchField,nK as Select,l2 as SidebarNav,l4 as SidebarProduct,l5 as Skeleton,lR as Slider,ng as SortStates,l7 as Switch,dt as Tab,dn as Tabs,ip as Tag,dl as TagBadge,nN as TagsList,dd as TextArea,ib as TextField,ds as ThemeProvider,rW as Tooltip,rg as Typography,eZ as buttonClasses,eQ as cardActionsClasses,e0 as cardClasses,e1 as cardContentClasses,e2 as cardHeaderClasses,ri as componentsColors,ra as createTheme,rr as elevation,ro as getPalette,tt as keyframes,aq as notification,oA as setDefaultImageStyles,rn as shape,tc as styled,o4 as useDashboard,dm as useForm,tN as useFormContext,tB as useFormController,tR as useFormFieldArray,tW as useFormWatch,rb as useMenu,r$ as usePopover,tf as useTheme,rv as useToggle,rw as useViewportType};