@mui/material 5.3.0 → 5.3.1
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/Accordion/accordionClasses.d.ts +18 -18
- package/AccordionActions/accordionActionsClasses.d.ts +10 -10
- package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
- package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
- package/Alert/alertClasses.d.ts +44 -44
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AppBar/appBarClasses.d.ts +28 -28
- package/Autocomplete/Autocomplete.js +1 -1
- package/Autocomplete/autocompleteClasses.d.ts +54 -54
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/BottomNavigation/BottomNavigation.js +0 -0
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
- package/Button/buttonClasses.d.ts +76 -76
- package/ButtonBase/buttonBaseClasses.d.ts +12 -12
- package/ButtonBase/touchRippleClasses.d.ts +20 -20
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/CHANGELOG.md +52 -1
- package/Card/cardClasses.d.ts +8 -8
- package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
- package/CardActions/cardActionsClasses.d.ts +10 -10
- package/CardContent/cardContentClasses.d.ts +8 -8
- package/CardHeader/cardHeaderClasses.d.ts +18 -18
- package/CardMedia/cardMediaClasses.d.ts +12 -12
- package/Checkbox/checkboxClasses.d.ts +18 -18
- package/Chip/chipClasses.d.ts +80 -80
- package/CircularProgress/circularProgressClasses.d.ts +26 -26
- package/ClickAwayListener/index.d.ts +2 -2
- package/Collapse/collapseClasses.d.ts +18 -18
- package/Container/containerClasses.d.ts +22 -22
- package/Dialog/DialogContext.d.ts +6 -6
- package/Dialog/dialogClasses.d.ts +36 -36
- package/DialogActions/dialogActionsClasses.d.ts +10 -10
- package/DialogContent/dialogContentClasses.d.ts +10 -10
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
- package/DialogTitle/dialogTitleClasses.d.ts +8 -8
- package/Divider/dividerClasses.d.ts +34 -34
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Fab/fabClasses.d.ts +26 -26
- package/FilledInput/filledInputClasses.d.ts +40 -40
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControlLabel/formControlLabelClasses.d.ts +18 -18
- package/FormGroup/formGroupClasses.d.ts +10 -10
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/Grid/gridClasses.d.ts +48 -48
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/iconButtonClasses.d.ts +26 -26
- package/ImageList/imageListClasses.d.ts +16 -16
- package/ImageListItem/imageListItemClasses.d.ts +18 -18
- package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
- package/Input/inputClasses.d.ts +34 -34
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/inputBaseClasses.d.ts +44 -44
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- package/Link/linkClasses.d.ts +18 -18
- package/List/listClasses.d.ts +14 -14
- package/ListItem/listItemClasses.d.ts +30 -30
- package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
- package/ListItemButton/listItemButtonClasses.d.ts +22 -22
- package/ListItemIcon/listItemIconClasses.d.ts +10 -10
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
- package/ListItemText/listItemTextClasses.d.ts +18 -18
- package/ListSubheader/listSubheaderClasses.d.ts +18 -18
- package/Menu/menuClasses.d.ts +12 -12
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/NativeSelect/nativeSelectClasses.d.ts +32 -32
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/Pagination/paginationClasses.d.ts +14 -14
- package/PaginationItem/paginationItemClasses.d.ts +42 -42
- package/Paper/paperClasses.d.ts +39 -39
- package/Popover/popoverClasses.d.ts +10 -10
- package/Popper/Popper.d.ts +17 -17
- package/Radio/radioClasses.d.ts +16 -16
- package/RadioGroup/RadioGroupContext.d.ts +11 -11
- package/RadioGroup/useRadioGroup.d.ts +4 -4
- package/Rating/ratingClasses.d.ts +40 -40
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/Select/selectClasses.d.ts +30 -30
- package/Skeleton/skeletonClasses.d.ts +24 -24
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
- package/SpeedDial/speedDialClasses.d.ts +22 -22
- package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
- package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
- package/Step/stepClasses.d.ts +16 -16
- package/StepButton/stepButtonClasses.d.ts +14 -14
- package/StepConnector/stepConnectorClasses.d.ts +26 -26
- package/StepContent/stepContentClasses.d.ts +12 -12
- package/StepIcon/stepIconClasses.d.ts +16 -16
- package/StepLabel/stepLabelClasses.d.ts +28 -28
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/SvgIcon.js +9 -9
- package/SvgIcon/svgIconClasses.d.ts +24 -24
- package/Switch/switchClasses.d.ts +32 -32
- package/Tab/tabClasses.d.ts +26 -26
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
- package/Table/tableClasses.d.ts +10 -10
- package/TableBody/tableBodyClasses.d.ts +8 -8
- package/TableCell/tableCellClasses.d.ts +32 -32
- package/TableContainer/tableContainerClasses.d.ts +8 -8
- package/TableFooter/tableFooterClasses.d.ts +8 -8
- package/TableHead/tableHeadClasses.d.ts +8 -8
- package/TablePagination/tablePaginationClasses.d.ts +28 -28
- package/TableRow/tableRowClasses.d.ts +16 -16
- package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
- package/Tabs/tabsClasses.d.ts +32 -32
- package/TextField/textFieldClasses.d.ts +8 -8
- package/ToggleButton/toggleButtonClasses.d.ts +24 -24
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
- package/Toolbar/toolbarClasses.d.ts +14 -14
- package/Tooltip/tooltipClasses.d.ts +30 -30
- package/Typography/typographyClasses.d.ts +50 -50
- package/darkScrollbar/index.d.ts +28 -28
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/Autocomplete/Autocomplete.js +1 -1
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/SvgIcon/SvgIcon.js +9 -9
- package/legacy/index.js +1 -1
- package/locale/index.d.ts +68 -68
- package/modern/Autocomplete/Autocomplete.js +1 -1
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/SvgIcon/SvgIcon.js +8 -8
- package/modern/index.js +1 -1
- package/node/Autocomplete/Autocomplete.js +1 -1
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/SvgIcon/SvgIcon.js +9 -9
- package/node/index.js +1 -1
- package/package.json +2 -2
- package/transitions/index.d.ts +1 -1
- package/transitions/transition.d.ts +13 -13
- package/transitions/utils.d.ts +23 -23
- package/umd/material-ui.development.js +21 -21
- package/umd/material-ui.production.min.js +2 -2
- package/useMediaQuery/useMediaQuery.d.ts +27 -27
- package/useTouchRipple/index.d.ts +1 -1
- package/useTouchRipple/useTouchRipple.d.ts +28 -28
- package/utils/getScrollbarSize.d.ts +2 -2
- package/utils/ownerDocument.d.ts +2 -2
- package/utils/ownerWindow.d.ts +2 -2
- package/utils/setRef.d.ts +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MUI v5.3.
|
|
1
|
+
/** @license MUI v5.3.1
|
|
2
2
|
*
|
|
3
3
|
* This source code is licensed under the MIT license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
object-assign
|
|
9
9
|
(c) Sindre Sorhus
|
|
10
10
|
@license MIT
|
|
11
|
-
*/Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;!function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},o=0;o<10;o++)t["_"+String.fromCharCode(o)]=o;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()||Object.assign;function Qt(){}function eo(){}Function.call.bind(Object.prototype.hasOwnProperty),eo.resetWarningCache=Qt;var to=A((function(e){e.exports=function(){function e(e,t,o,n,r,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var o={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:eo,resetWarningCache:Qt};return o.PropTypes=o,o}()}));to.elementType,to.bool,to.func,to.object,to.oneOfType,to.element;var oo=A((function(e,t){var o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var n=Symbol.for;o=n("react.element"),t.Fragment=n("react.fragment")}var r=a.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var a,s={},c=null,d=null;for(a in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)i.call(t,a)&&!l.hasOwnProperty(a)&&(s[a]=t[a]);if(e&&e.defaultProps)for(a in t=e.defaultProps)void 0===s[a]&&(s[a]=t[a]);return{$$typeof:o,type:e,key:c,ref:d,props:s,_owner:r.current}}t.jsx=s,t.jsxs=s}));oo.Fragment,oo.jsx,oo.jsxs;var no=A((function(e,t){}));no.Fragment,no.jsx,no.jsxs;var ro=A((function(e){e.exports=oo})),ao=ro.jsx,io=ro.jsxs;const lo=He({key:"css",prepend:!0});function so(e){const{styles:t,defaultTheme:o={}}=e;return ao(Ht,{styles:"function"==typeof t?e=>{return t(null==(n=e)||0===Object.keys(n).length?o:e);var n}:t})}function co(e,t){return Jt(e,t)}function uo(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function po(e,t,o={clone:!0}){const n=o.clone?E({},e):e;return uo(e)&&uo(t)&&Object.keys(t).forEach((r=>{"__proto__"!==r&&(uo(t[r])&&r in e&&uo(e[r])?n[r]=po(e[r],t[r],o):n[r]=t[r])})),n}function mo(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function fo(e){if("string"!=typeof e)throw new Error(mo(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ho(...e){return e.reduce(((e,t)=>null==t?e:function(...o){e.apply(this,o),t.apply(this,o)}),(()=>{}))}function go(e,t=166){let o;function n(...n){clearTimeout(o),o=setTimeout((()=>{e.apply(this,n)}),t)}return n.clear=()=>{clearTimeout(o)},n}function bo(e,t){return i.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}function vo(e){return e&&e.ownerDocument||document}function yo(e){return vo(e).defaultView||window}function xo(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var wo="undefined"!=typeof window?i.useLayoutEffect:i.useEffect;let So=0;function Co(e){const[t,o]=i.useState(e),n=e||t;return i.useEffect((()=>{null==t&&(So+=1,o(`mui-${So}`))}),[t]),n}function ko({controlled:e,default:t,name:o,state:n="value"}){const{current:r}=i.useRef(void 0!==e),[a,l]=i.useState(t);return[r?e:a,i.useCallback((e=>{r||l(e)}),[])]}function Ro(e){const t=i.useRef(e);return wo((()=>{t.current=e})),i.useCallback(((...e)=>(0,t.current)(...e)),[])}function Mo(e,t){return i.useMemo((()=>null==e&&null==t?null:o=>{xo(e,o),xo(t,o)}),[e,t])}let To,$o=!0,Po=!1;const Io={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Lo(e){e.metaKey||e.altKey||e.ctrlKey||($o=!0)}function Eo(){$o=!1}function No(){"hidden"===this.visibilityState&&Po&&($o=!0)}function Ao(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return $o||function(e){const{type:t,tagName:o}=e;return!("INPUT"!==o||!Io[t]||e.readOnly)||"TEXTAREA"===o&&!e.readOnly||!!e.isContentEditable}(t)}function Oo(){const e=i.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",Lo,!0),t.addEventListener("mousedown",Eo,!0),t.addEventListener("pointerdown",Eo,!0),t.addEventListener("touchstart",Eo,!0),t.addEventListener("visibilitychange",No,!0))}),[]),t=i.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Ao(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(Po=!0,window.clearTimeout(To),To=window.setTimeout((()=>{Po=!1}),100),t.current=!1,!0)},ref:e}}function zo(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Bo;function Fo(){if(Bo)return Bo;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),Bo="reverse",e.scrollLeft>0?Bo="default":(e.scrollLeft=1,0===e.scrollLeft&&(Bo="negative")),document.body.removeChild(e),Bo}function Do(e,t){const o=e.scrollLeft;if("rtl"!==t)return o;switch(Fo()){case"negative":return e.scrollWidth-e.clientWidth+o;case"reverse":return e.scrollWidth-e.clientWidth-o;default:return o}}var Wo=e=>{const t=i.useRef({});return i.useEffect((()=>{t.current=e})),t.current};var Vo={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function Ho(e,t){const o=E({},t);return Object.keys(e).forEach((t=>{void 0===o[t]&&(o[t]=e[t])})),o}function Uo(e,t){return t?po(e,t,{clone:!1}):e}const jo={xs:0,sm:600,md:900,lg:1200,xl:1536},Go={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${jo[e]}px)`};function _o(e,t,o){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||Go;return t.reduce(((n,r,a)=>(n[e.up(e.keys[a])]=o(t[a]),n)),{})}if("object"==typeof t){const e=n.breakpoints||Go;return Object.keys(t).reduce(((n,r)=>{if(-1!==Object.keys(e.values||jo).indexOf(r)){n[e.up(r)]=o(t[r],r)}else{const e=r;n[e]=t[e]}return n}),{})}return o(t)}function qo({values:e,breakpoints:t,base:o}){const n=o||function(e,t){if("object"!=typeof e)return{};const o={},n=Object.keys(t);return Array.isArray(e)?n.forEach(((t,n)=>{n<e.length&&(o[t]=!0)})):n.forEach((t=>{null!=e[t]&&(o[t]=!0)})),o}(e,t),r=Object.keys(n);if(0===r.length)return e;let a;return r.reduce(((t,o,n)=>(Array.isArray(e)?(t[o]=null!=e[n]?e[n]:e[a],a=n):(t[o]=null!=e[o]?e[o]:e[a]||e,a=o),t)),{})}function Ko(e,t){return t&&"string"==typeof t?t.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e):null}function Xo(e,t,o,n=o){let r;return r="function"==typeof e?e(o):Array.isArray(e)?e[o]||n:Ko(e,o)||n,t&&(r=t(r)),r}function Yo(e){const{prop:t,cssProperty:o=e.prop,themeKey:n,transform:r}=e,a=e=>{if(null==e[t])return null;const a=e[t],i=Ko(e.theme,n)||{};return _o(e,a,(e=>{let n=Xo(i,r,e);return e===n&&"string"==typeof e&&(n=Xo(i,r,`${t}${"default"===e?"":fo(e)}`,e)),!1===o?n:{[o]:n}}))};return a.propTypes={},a.filterProps=[t],a}function Zo(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((o=>{e[o]=t})),e)),{}),o=e=>Object.keys(e).reduce(((o,n)=>t[n]?Uo(o,t[n](e)):o),{});return o.propTypes={},o.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),o}const Jo={m:"margin",p:"padding"},Qo={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},en={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},tn=function(e){const t={};return o=>(void 0===t[o]&&(t[o]=e(o)),t[o])}((e=>{if(e.length>2){if(!en[e])return[e];e=en[e]}const[t,o]=e.split(""),n=Jo[t],r=Qo[o]||"";return Array.isArray(r)?r.map((e=>n+e)):[n+r]})),on=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd","p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function nn(e,t,o,n){const r=Ko(e,t)||o;return"number"==typeof r?e=>"string"==typeof e?e:r*e:Array.isArray(r)?e=>"string"==typeof e?e:r[e]:"function"==typeof r?r:()=>{}}function rn(e){return nn(e,"spacing",8)}function an(e,t){if("string"==typeof t||null==t)return t;const o=e(Math.abs(t));return t>=0?o:"number"==typeof o?-o:`-${o}`}function ln(e,t,o,n){if(-1===t.indexOf(o))return null;const r=function(e,t){return o=>e.reduce(((e,n)=>(e[n]=an(t,o),e)),{})}(tn(o),n);return _o(e,e[o],r)}function sn(e){return function(e,t){const o=rn(e.theme);return Object.keys(e).map((n=>ln(e,t,n,o))).reduce(Uo,{})}(e,on)}function cn(e){return"number"!=typeof e?e:`${e}px solid`}sn.propTypes={},sn.filterProps=on;const dn=Yo({prop:"border",themeKey:"borders",transform:cn}),un=Yo({prop:"borderTop",themeKey:"borders",transform:cn}),pn=Yo({prop:"borderRight",themeKey:"borders",transform:cn}),mn=Yo({prop:"borderBottom",themeKey:"borders",transform:cn}),fn=Yo({prop:"borderLeft",themeKey:"borders",transform:cn}),hn=Yo({prop:"borderColor",themeKey:"palette"}),gn=Yo({prop:"borderTopColor",themeKey:"palette"}),bn=Yo({prop:"borderRightColor",themeKey:"palette"}),vn=Yo({prop:"borderBottomColor",themeKey:"palette"}),yn=Yo({prop:"borderLeftColor",themeKey:"palette"}),xn=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=nn(e.theme,"shape.borderRadius",4),o=e=>({borderRadius:an(t,e)});return _o(e,e.borderRadius,o)}return null};xn.propTypes={},xn.filterProps=["borderRadius"];var wn=Zo(dn,un,pn,mn,fn,hn,gn,bn,vn,yn,xn);var Sn=Zo(Yo({prop:"displayPrint",cssProperty:!1,transform:e=>({"@media print":{display:e}})}),Yo({prop:"display"}),Yo({prop:"overflow"}),Yo({prop:"textOverflow"}),Yo({prop:"visibility"}),Yo({prop:"whiteSpace"}));var Cn=Zo(Yo({prop:"flexBasis"}),Yo({prop:"flexDirection"}),Yo({prop:"flexWrap"}),Yo({prop:"justifyContent"}),Yo({prop:"alignItems"}),Yo({prop:"alignContent"}),Yo({prop:"order"}),Yo({prop:"flex"}),Yo({prop:"flexGrow"}),Yo({prop:"flexShrink"}),Yo({prop:"alignSelf"}),Yo({prop:"justifyItems"}),Yo({prop:"justifySelf"}));const kn=e=>{if(void 0!==e.gap&&null!==e.gap){const t=nn(e.theme,"spacing",8),o=e=>({gap:an(t,e)});return _o(e,e.gap,o)}return null};kn.propTypes={},kn.filterProps=["gap"];const Rn=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=nn(e.theme,"spacing",8),o=e=>({columnGap:an(t,e)});return _o(e,e.columnGap,o)}return null};Rn.propTypes={},Rn.filterProps=["columnGap"];const Mn=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=nn(e.theme,"spacing",8),o=e=>({rowGap:an(t,e)});return _o(e,e.rowGap,o)}return null};Mn.propTypes={},Mn.filterProps=["rowGap"];var Tn=Zo(kn,Rn,Mn,Yo({prop:"gridColumn"}),Yo({prop:"gridRow"}),Yo({prop:"gridAutoFlow"}),Yo({prop:"gridAutoColumns"}),Yo({prop:"gridAutoRows"}),Yo({prop:"gridTemplateColumns"}),Yo({prop:"gridTemplateRows"}),Yo({prop:"gridTemplateAreas"}),Yo({prop:"gridArea"}));var $n=Zo(Yo({prop:"color",themeKey:"palette"}),Yo({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),Yo({prop:"backgroundColor",themeKey:"palette"}));var Pn=Zo(Yo({prop:"position"}),Yo({prop:"zIndex",themeKey:"zIndex"}),Yo({prop:"top"}),Yo({prop:"right"}),Yo({prop:"bottom"}),Yo({prop:"left"}));var In=Yo({prop:"boxShadow",themeKey:"shadows"});function Ln(e){return e<=1&&0!==e?100*e+"%":e}const En=Yo({prop:"width",transform:Ln}),Nn=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var o,n,r;return{maxWidth:(null==(o=e.theme)||null==(n=o.breakpoints)||null==(r=n.values)?void 0:r[t])||jo[t]||Ln(t)}};return _o(e,e.maxWidth,t)}return null};Nn.filterProps=["maxWidth"];const An=Yo({prop:"minWidth",transform:Ln}),On=Yo({prop:"height",transform:Ln}),zn=Yo({prop:"maxHeight",transform:Ln}),Bn=Yo({prop:"minHeight",transform:Ln});Yo({prop:"size",cssProperty:"width",transform:Ln}),Yo({prop:"size",cssProperty:"height",transform:Ln});var Fn=Zo(En,Nn,An,On,zn,Bn,Yo({prop:"boxSizing"}));const Dn=Yo({prop:"fontFamily",themeKey:"typography"}),Wn=Yo({prop:"fontSize",themeKey:"typography"}),Vn=Yo({prop:"fontStyle",themeKey:"typography"}),Hn=Yo({prop:"fontWeight",themeKey:"typography"}),Un=Yo({prop:"letterSpacing"}),jn=Yo({prop:"textTransform"}),Gn=Yo({prop:"lineHeight"}),_n=Yo({prop:"textAlign"});var qn=Zo(Yo({prop:"typography",cssProperty:!1,themeKey:"typography"}),Dn,Wn,Vn,Hn,Un,Gn,_n,jn);const Kn={borders:wn.filterProps,display:Sn.filterProps,flexbox:Cn.filterProps,grid:Tn.filterProps,positions:Pn.filterProps,palette:$n.filterProps,shadows:In.filterProps,sizing:Fn.filterProps,spacing:sn.filterProps,typography:qn.filterProps},Xn={borders:wn,display:Sn,flexbox:Cn,grid:Tn,positions:Pn,palette:$n,shadows:In,sizing:Fn,spacing:sn,typography:qn},Yn=Object.keys(Kn).reduce(((e,t)=>(Kn[t].forEach((o=>{e[o]=Xn[t]})),e)),{});function Zn(e,t,o){const n={[e]:t,theme:o},r=Yn[e];return r?r(n):{[e]:t}}function Jn(e){const{sx:t,theme:o={}}=e||{};if(!t)return null;function n(e){let t=e;if("function"==typeof e)t=e(o);else if("object"!=typeof e)return e;const n=function(e={}){var t;return(null==e||null==(t=e.keys)?void 0:t.reduce(((t,o)=>(t[e.up(o)]={},t)),{}))||{}}(o.breakpoints),r=Object.keys(n);let a=n;return Object.keys(t).forEach((e=>{const n=(r=t[e],i=o,"function"==typeof r?r(i):r);var r,i;if(null!=n)if("object"==typeof n)if(Yn[e])a=Uo(a,Zn(e,n,o));else{const t=_o({theme:o},n,(t=>({[e]:t})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),o=new Set(t);return e.every((e=>o.size===Object.keys(e).length))}(t,n)?a=Uo(a,t):a[e]=Jn({sx:n,theme:o})}else a=Uo(a,Zn(e,n,o))})),function(e,t){return e.reduce(((e,t)=>{const o=e[t];return(!o||0===Object.keys(o).length)&&delete e[t],e}),t)}(r,a)}return Array.isArray(t)?t.map(n):n(t)}Jn.filterProps=["sx"];const Qn=["sx"];function er(e){const{sx:t}=e,o=N(e,Qn),{systemProps:n,otherProps:r}=(e=>{const t={systemProps:{},otherProps:{}};return Object.keys(e).forEach((o=>{Yn[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]})),t})(o);let a;return a=Array.isArray(t)?[n,...t]:"function"==typeof t?(...e)=>{const o=t(...e);return uo(o)?E({},n,o):n}:E({},n,t),E({},r,{sx:a})}function tr(e){var t,o,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(o=tr(e[t]))&&(n&&(n+=" "),n+=o);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function or(){for(var e,t,o=0,n="";o<arguments.length;)(e=arguments[o++])&&(t=tr(e))&&(n&&(n+=" "),n+=t);return n}const nr=["values","unit","step"];function rr(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:n=5}=e,r=N(e,nr),a=Object.keys(t);function i(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${o})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${o})`}function s(e,r){const i=a.indexOf(r);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${o}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:r)-n/100}${o})`}return E({keys:a,values:t,up:i,down:l,between:s,only:function(e){return a.indexOf(e)+1<a.length?s(e,a[a.indexOf(e)+1]):i(e)},not:function(e){const t=a.indexOf(e);return 0===t?i(a[1]):t===a.length-1?l(a[t]):s(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:o},r)}var ar={borderRadius:4};function ir(e=8){if(e.mui)return e;const t=rn({spacing:e}),o=(...e)=>(0===e.length?[1]:e).map((e=>{const o=t(e);return"number"==typeof o?`${o}px`:o})).join(" ");return o.mui=!0,o}const lr=["breakpoints","palette","spacing","shape"];function sr(e={},...t){const{breakpoints:o={},palette:n={},spacing:r,shape:a={}}=e,i=N(e,lr),l=rr(o),s=ir(r);let c=po({breakpoints:l,direction:"ltr",components:{},palette:E({mode:"light"},n),spacing:s,shape:E({},ar,a)},i);return c=t.reduce(((e,t)=>po(e,t)),c),c}var cr=i.createContext(null);function dr(){return i.useContext(cr)}var ur="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function pr(e){const{children:t,theme:o}=e,n=dr(),r=i.useMemo((()=>{const e=null===n?o:function(e,t){if("function"==typeof t)return t(e);return E({},e,t)}(n,o);return null!=e&&(e[ur]=null!==n),e}),[o,n]);return ao(cr.Provider,{value:r,children:t})}function mr(e=null){const t=dr();return t&&(o=t,0!==Object.keys(o).length)?t:e;var o}const fr=sr();function hr(e=fr){return mr(e)}const gr=["className","component"];const br=["variant"];function vr(e){return 0===e.length}function yr(e){const{variant:t}=e,o=N(e,br);let n=t||"";return Object.keys(o).sort().forEach((t=>{n+="color"===t?vr(n)?e[t]:fo(e[t]):`${vr(n)?t:fo(t)}${fo(e[t].toString())}`})),n}const xr=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],wr=["theme"],Sr=["theme"];function Cr(e){return 0===Object.keys(e).length}function kr(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Rr=sr();function Mr(e){const{theme:t,name:o,props:n}=e;return t&&t.components&&t.components[o]&&t.components[o].defaultProps?Ho(t.components[o].defaultProps,n):n}function Tr({props:e,name:t,defaultTheme:o}){return Mr({theme:hr(o),name:t,props:e})}function $r(e,t=0,o=1){return Math.min(Math.max(t,e),o)}function Pr(e){e=e.substr(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let o=e.match(t);return o&&1===o[0].length&&(o=o.map((e=>e+e))),o?`rgb${4===o.length?"a":""}(${o.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function Ir(e){if(e.type)return e;if("#"===e.charAt(0))return Ir(Pr(e));const t=e.indexOf("("),o=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(o))throw new Error(mo(9,e));let n,r=e.substring(t+1,e.length-1);if("color"===o){if(r=r.split(" "),n=r.shift(),4===r.length&&"/"===r[3].charAt(0)&&(r[3]=r[3].substr(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error(mo(10,n))}else r=r.split(",");return r=r.map((e=>parseFloat(e))),{type:o,values:r,colorSpace:n}}function Lr(e){const{type:t,colorSpace:o}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${o} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function Er(e){e=Ir(e);const{values:t}=e,o=t[0],n=t[1]/100,r=t[2]/100,a=n*Math.min(r,1-r),i=(e,t=(e+o/30)%12)=>r-a*Math.max(Math.min(t-3,9-t,1),-1);let l="rgb";const s=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),Lr({type:l,values:s})}function Nr(e){let t="hsl"===(e=Ir(e)).type?Ir(Er(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Ar(e,t){const o=Nr(e),n=Nr(t);return(Math.max(o,n)+.05)/(Math.min(o,n)+.05)}function Or(e,t){return e=Ir(e),t=$r(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,Lr(e)}function zr(e,t){if(e=Ir(e),t=$r(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let o=0;o<3;o+=1)e.values[o]*=1-t;return Lr(e)}function Br(e,t){if(e=Ir(e),t=$r(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let o=0;o<3;o+=1)e.values[o]+=(255-e.values[o])*t;else if(-1!==e.type.indexOf("color"))for(let o=0;o<3;o+=1)e.values[o]+=(1-e.values[o])*t;return Lr(e)}function Fr(e,t=.15){return Nr(e)>.5?zr(e,t):Br(e,t)}function Dr(e){const t=hr();return ao(Vt.Provider,{value:"object"==typeof t?t:{},children:e.children})}const Wr=["defaultProps","mixins","overrides","palette","props","styleOverrides"],Vr=["type","mode"];function Hr(e){return"string"==typeof e}function Ur(e,t={},o){return Hr(e)?t:E({},t,{ownerState:E({},t.ownerState,o)})}function jr(e,t=[]){if(void 0===e)return{};const o={};return Object.keys(e).filter((o=>o.match(/^on[A-Z]/)&&"function"==typeof e[o]&&!t.includes(o))).forEach((t=>{o[t]=e[t]})),o}function Gr(e){return void 0!==e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function _r(e={}){const{ignoreAccents:t=!0,ignoreCase:o=!0,limit:n,matchFrom:r="any",stringify:a,trim:i=!1}=e;return(e,{inputValue:l,getOptionLabel:s})=>{let c=i?l.trim():l;o&&(c=c.toLowerCase()),t&&(c=Gr(c));const d=e.filter((e=>{let n=(a||s)(e);return o&&(n=n.toLowerCase()),t&&(n=Gr(n)),"start"===r?0===n.indexOf(c):n.indexOf(c)>-1}));return"number"==typeof n?d.slice(0,n):d}}function qr(e,t){for(let o=0;o<e.length;o+=1)if(t(e[o]))return o;return-1}const Kr=_r();function Xr(e){const{autoComplete:t=!1,autoHighlight:o=!1,autoSelect:n=!1,blurOnSelect:r=!1,disabled:a,clearOnBlur:l=!e.freeSolo,clearOnEscape:s=!1,componentName:c="useAutocomplete",defaultValue:d=(e.multiple?[]:null),disableClearable:u=!1,disableCloseOnSelect:p=!1,disabledItemsFocusable:m=!1,disableListWrap:f=!1,filterOptions:h=Kr,filterSelectedOptions:g=!1,freeSolo:b=!1,getOptionDisabled:v,getOptionLabel:y=(e=>{var t;return null!=(t=e.label)?t:e}),isOptionEqualToValue:x=((e,t)=>e===t),groupBy:w,handleHomeEndKeys:S=!e.freeSolo,id:C,includeInputInList:k=!1,inputValue:R,multiple:M=!1,onChange:T,onClose:$,onHighlightChange:P,onInputChange:I,onOpen:L,open:N,openOnFocus:A=!1,options:O,selectOnFocus:z=!e.freeSolo,value:B}=e,F=Co(C);let D=y;D=e=>{const t=y(e);return"string"!=typeof t?String(t):t};const W=i.useRef(!1),V=i.useRef(!0),H=i.useRef(null),U=i.useRef(null),[j,G]=i.useState(null),[_,q]=i.useState(-1),K=o?0:-1,X=i.useRef(K),[Y,Z]=ko({controlled:B,default:d,name:c}),[J,Q]=ko({controlled:R,default:"",name:c,state:"inputValue"}),[ee,te]=i.useState(!1),oe=i.useCallback(((e,t)=>{if(!(M?Y.length<t.length:null!==t)&&!l)return;let o;if(M)o="";else if(null==t)o="";else{const e=D(t);o="string"==typeof e?e:""}J!==o&&(Q(o),I&&I(e,o,"reset"))}),[D,J,M,I,Q,l,Y]),ne=i.useRef();i.useEffect((()=>{const e=Y!==ne.current;ne.current=Y,ee&&!e||b&&!e||oe(null,Y)}),[Y,oe,ee,ne,b]);const[re,ae]=ko({controlled:N,default:!1,name:c,state:"open"}),[ie,le]=i.useState(!0),se=!M&&null!=Y&&J===D(Y),ce=re,de=ce?h(O.filter((e=>!g||!(M?Y:[Y]).some((t=>null!==t&&x(e,t))))),{inputValue:se&&ie?"":J,getOptionLabel:D}):[],ue=re&&de.length>0,pe=Ro((e=>{-1===e?H.current.focus():j.querySelector(`[data-tag-index="${e}"]`).focus()}));i.useEffect((()=>{M&&_>Y.length-1&&(q(-1),pe(-1))}),[Y,M,_,pe]);const me=Ro((({event:e,index:t,reason:o="auto"})=>{if(X.current=t,-1===t?H.current.removeAttribute("aria-activedescendant"):H.current.setAttribute("aria-activedescendant",`${F}-option-${t}`),P&&P(e,-1===t?null:de[t],o),!U.current)return;const n=U.current.querySelector('[role="option"].Mui-focused');n&&(n.classList.remove("Mui-focused"),n.classList.remove("Mui-focusVisible"));const r=U.current.parentElement.querySelector('[role="listbox"]');if(!r)return;if(-1===t)return void(r.scrollTop=0);const a=U.current.querySelector(`[data-option-index="${t}"]`);if(a&&(a.classList.add("Mui-focused"),"keyboard"===o&&a.classList.add("Mui-focusVisible"),r.scrollHeight>r.clientHeight&&"mouse"!==o)){const e=a,t=r.clientHeight+r.scrollTop,o=e.offsetTop+e.offsetHeight;o>t?r.scrollTop=o-r.clientHeight:e.offsetTop-e.offsetHeight*(w?1.3:0)<r.scrollTop&&(r.scrollTop=e.offsetTop-e.offsetHeight*(w?1.3:0))}})),fe=Ro((({event:e,diff:o,direction:n="next",reason:r="auto"})=>{if(!ce)return;const a=function(e,t){if(!U.current||-1===e)return-1;let o=e;for(;;){if("next"===t&&o===de.length||"previous"===t&&-1===o)return-1;const e=U.current.querySelector(`[data-option-index="${o}"]`),n=!m&&(!e||e.disabled||"true"===e.getAttribute("aria-disabled"));if(!(e&&!e.hasAttribute("tabindex")||n))return o;o+="next"===t?1:-1}}((()=>{const e=de.length-1;if("reset"===o)return K;if("start"===o)return 0;if("end"===o)return e;const t=X.current+o;return t<0?-1===t&&k?-1:f&&-1!==X.current||Math.abs(o)>1?0:e:t>e?t===e+1&&k?-1:f||Math.abs(o)>1?e:0:t})(),n);if(me({index:a,reason:r,event:e}),t&&"reset"!==o)if(-1===a)H.current.value=J;else{const e=D(de[a]);H.current.value=e;0===e.toLowerCase().indexOf(J.toLowerCase())&&J.length>0&&H.current.setSelectionRange(J.length,e.length)}})),he=i.useCallback((()=>{if(!ce)return;const e=M?Y[0]:Y;if(0!==de.length&&null!=e){if(U.current)if(null==e)X.current>=de.length-1?me({index:de.length-1}):me({index:X.current});else{const t=de[X.current];if(M&&t&&-1!==qr(Y,(e=>x(t,e))))return;const o=qr(de,(t=>x(t,e)));-1===o?fe({diff:"reset"}):me({index:o})}}else fe({diff:"reset"})}),[de.length,!M&&Y,g,fe,me,ce,J,M]),ge=Ro((e=>{xo(U,e),e&&he()}));i.useEffect((()=>{he()}),[he]);const be=e=>{re||(ae(!0),le(!0),L&&L(e))},ve=(e,t)=>{re&&(ae(!1),$&&$(e,t))},ye=(e,t,o,n)=>{if(Array.isArray(Y)){if(Y.length===t.length&&Y.every(((e,o)=>e===t[o])))return}else if(Y===t)return;T&&T(e,t,o,n),Z(t)},xe=i.useRef(!1),we=(e,t,o="selectOption",n="options")=>{let a=o,i=t;if(M){i=Array.isArray(Y)?Y.slice():[];const e=qr(i,(e=>x(t,e)));-1===e?i.push(t):"freeSolo"!==n&&(i.splice(e,1),a="removeOption")}oe(e,i),ye(e,i,a,{option:t}),p||e.ctrlKey||e.metaKey||ve(e,a),(!0===r||"touch"===r&&xe.current||"mouse"===r&&!xe.current)&&H.current.blur()};const Se=(e,t)=>{if(!M)return;ve(e,"toggleInput");let o=_;-1===_?""===J&&"previous"===t&&(o=Y.length-1):(o+="next"===t?1:-1,o<0&&(o=0),o===Y.length&&(o=-1)),o=function(e,t){if(-1===e)return-1;let o=e;for(;;){if("next"===t&&o===Y.length||"previous"===t&&-1===o)return-1;const e=j.querySelector(`[data-tag-index="${o}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return o;o+="next"===t?1:-1}}(o,t),q(o),pe(o)},Ce=e=>{W.current=!0,Q(""),I&&I(e,"","clear"),ye(e,M?[]:null,"clear")},ke=e=>o=>{if(e.onKeyDown&&e.onKeyDown(o),!o.defaultMuiPrevented&&(-1!==_&&-1===["ArrowLeft","ArrowRight"].indexOf(o.key)&&(q(-1),pe(-1)),229!==o.which))switch(o.key){case"Home":ce&&S&&(o.preventDefault(),fe({diff:"start",direction:"next",reason:"keyboard",event:o}));break;case"End":ce&&S&&(o.preventDefault(),fe({diff:"end",direction:"previous",reason:"keyboard",event:o}));break;case"PageUp":o.preventDefault(),fe({diff:-5,direction:"previous",reason:"keyboard",event:o}),be(o);break;case"PageDown":o.preventDefault(),fe({diff:5,direction:"next",reason:"keyboard",event:o}),be(o);break;case"ArrowDown":o.preventDefault(),fe({diff:1,direction:"next",reason:"keyboard",event:o}),be(o);break;case"ArrowUp":o.preventDefault(),fe({diff:-1,direction:"previous",reason:"keyboard",event:o}),be(o);break;case"ArrowLeft":Se(o,"previous");break;case"ArrowRight":Se(o,"next");break;case"Enter":if(-1!==X.current&&ce){const e=de[X.current],n=!!v&&v(e);if(o.preventDefault(),n)return;we(o,e,"selectOption"),t&&H.current.setSelectionRange(H.current.value.length,H.current.value.length)}else b&&""!==J&&!1===se&&(M&&o.preventDefault(),we(o,J,"createOption","freeSolo"));break;case"Escape":ce?(o.preventDefault(),o.stopPropagation(),ve(o,"escape")):s&&(""!==J||M&&Y.length>0)&&(o.preventDefault(),o.stopPropagation(),Ce(o));break;case"Backspace":if(M&&""===J&&Y.length>0){const e=-1===_?Y.length-1:_,t=Y.slice();t.splice(e,1),ye(o,t,"removeOption",{option:Y[e]})}}},Re=e=>{te(!0),A&&!W.current&&be(e)},Me=e=>{null!==U.current&&U.current.parentElement.contains(document.activeElement)?H.current.focus():(te(!1),V.current=!0,W.current=!1,n&&-1!==X.current&&ce?we(e,de[X.current],"blur"):n&&b&&""!==J?we(e,J,"blur","freeSolo"):l&&oe(e,Y),ve(e,"blur"))},Te=e=>{const t=e.target.value;J!==t&&(Q(t),le(!1),I&&I(e,t,"input")),""===t?u||M||ye(e,null,"clear"):be(e)},$e=e=>{me({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"mouse"})},Pe=()=>{xe.current=!0},Ie=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));we(e,de[t],"selectOption"),xe.current=!1},Le=e=>t=>{const o=Y.slice();o.splice(e,1),ye(t,o,"removeOption",{option:Y[e]})},Ee=e=>{re?ve(e,"toggleInput"):be(e)},Ne=e=>{e.target.getAttribute("id")!==F&&e.preventDefault()},Ae=()=>{H.current.focus(),z&&V.current&&H.current.selectionEnd-H.current.selectionStart==0&&H.current.select(),V.current=!1},Oe=e=>{""!==J&&re||Ee(e)};let ze=b&&J.length>0;ze=ze||(M?Y.length>0:null!==Y);let Be=de;return w&&(Be=de.reduce(((e,t,o)=>{const n=w(t);return e.length>0&&e[e.length-1].group===n?e[e.length-1].options.push(t):e.push({key:o,index:o,group:n,options:[t]}),e}),[])),a&&ee&&Me(),{getRootProps:(e={})=>E({"aria-owns":ue?`${F}-listbox`:null,role:"combobox","aria-expanded":ue},e,{onKeyDown:ke(e),onMouseDown:Ne,onClick:Ae}),getInputLabelProps:()=>({id:`${F}-label`,htmlFor:F}),getInputProps:()=>({id:F,value:J,onBlur:Me,onFocus:Re,onChange:Te,onMouseDown:Oe,"aria-activedescendant":ce?"":null,"aria-autocomplete":t?"both":"list","aria-controls":ue?`${F}-listbox`:void 0,autoComplete:"off",ref:H,autoCapitalize:"none",spellCheck:"false"}),getClearProps:()=>({tabIndex:-1,onClick:Ce}),getPopupIndicatorProps:()=>({tabIndex:-1,onClick:Ee}),getTagProps:({index:e})=>({key:e,"data-tag-index":e,tabIndex:-1,onDelete:Le(e)}),getListboxProps:()=>({role:"listbox",id:`${F}-listbox`,"aria-labelledby":`${F}-label`,ref:ge,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{const o=(M?Y:[Y]).some((e=>null!=e&&x(t,e))),n=!!v&&v(t);return{key:D(t),tabIndex:-1,role:"option",id:`${F}-option-${e}`,onMouseOver:$e,onClick:Ie,onTouchStart:Pe,"data-option-index":e,"aria-disabled":n,"aria-selected":o}},id:F,inputValue:J,value:Y,dirty:ze,popupOpen:ce,focused:ee||-1!==_,anchorEl:j,setAnchorEl:G,focusedTag:_,groupedOptions:Be}}function Yr(e,t,o){const n={};return Object.keys(e).forEach((r=>{n[r]=e[r].reduce(((e,n)=>(n&&(o&&o[n]&&e.push(o[n]),e.push(t(n))),e)),[]).join(" ")})),n}const Zr=e=>e;var Jr=(()=>{let e=Zr;return{configure(t){e=t},generate:t=>e(t),reset(){e=Zr}}})();const Qr={active:"Mui-active",checked:"Mui-checked",completed:"Mui-completed",disabled:"Mui-disabled",error:"Mui-error",expanded:"Mui-expanded",focused:"Mui-focused",focusVisible:"Mui-focusVisible",required:"Mui-required",selected:"Mui-selected"};function ea(e,t){return Qr[t]||`${Jr.generate(e)}-${t}`}function ta(e,t){const o={};return t.forEach((t=>{o[t]=ea(e,t)})),o}function oa(e){return ea("MuiBackdrop",e)}var na=ta("MuiBackdrop",["root","invisible"]);const ra=["classes","className","invisible","component","components","componentsProps","theme"];var aa=i.forwardRef((function(e,t){const{classes:o,className:n,invisible:r=!1,component:a="div",components:i={},componentsProps:l={},theme:s}=e,c=N(e,ra),d=E({},e,{classes:o,invisible:r}),u=(e=>{const{classes:t,invisible:o}=e;return Yr({root:["root",o&&"invisible"]},oa,t)})(d),p=i.Root||a,m=l.root||{};return ao(p,E({"aria-hidden":!0},m,!Hr(p)&&{as:a,ownerState:E({},d,m.ownerState),theme:s},{ref:t},c,{className:or(u.root,m.className,n)}))}));function ia(e){const{anchorOrigin:t={vertical:"top",horizontal:"right"},badgeContent:o,invisible:n,max:r=99,showZero:a=!1,variant:i="standard"}=e,l=Wo({anchorOrigin:t,badgeContent:o,max:r,variant:i});let s=n;null==n&&(0===o&&!a||null==o&&"dot"!==i)&&(s=!0);const{anchorOrigin:c=t,badgeContent:d,max:u=r,variant:p=i}=s?l:e;let m="";return"dot"!==p&&(m=d&&Number(d)>u?`${u}+`:d),{anchorOrigin:c,badgeContent:d,invisible:s,max:u,variant:p,displayValue:m}}function la(e){return ea("MuiBadge",e)}var sa=ta("MuiBadge",["root","badge","dot","standard","anchorOriginTopLeft","anchorOriginTopRight","anchorOriginBottomLeft","anchorOriginBottomRight","invisible"]);const ca=["anchorOrigin","classes","badgeContent","component","children","className","components","componentsProps","invisible","max","showZero","variant"];var da=i.forwardRef((function(e,t){const{anchorOrigin:o={vertical:"top",horizontal:"right"},classes:n,component:r,children:a,className:i,components:l={},componentsProps:s={},max:c=99,showZero:d=!1,variant:u="standard"}=e,p=N(e,ca),{anchorOrigin:m,badgeContent:f,max:h,variant:g,displayValue:b,invisible:v}=ia(E({},e,{anchorOrigin:o,max:c,variant:u})),y=E({},e,{anchorOrigin:m,badgeContent:f,classes:n,invisible:v,max:h,variant:g,showZero:d}),x=(e=>{const{variant:t,anchorOrigin:o,invisible:n,classes:r}=e;return Yr({root:["root"],badge:["badge",t,`anchorOrigin${fo(o.vertical)}${fo(o.horizontal)}`,n&&"invisible"]},la,r)})(y),w=r||l.Root||"span",S=Ur(w,E({},p,s.root),y),C=l.Badge||"span",k=Ur(C,s.badge,y);return io(w,E({},S,{ref:t},p,{className:or(x.root,S.className,i),children:[a,ao(C,E({},k,{className:or(x.badge,k.className),children:b}))]}))}));function ua(e){return ea("ButtonUnstyled",e)}var pa=ta("ButtonUnstyled",["root","active","disabled","focusVisible"]);function ma(e){var t;const{component:o,components:n={},disabled:r=!1,href:a,ref:l,tabIndex:s=0,to:c,type:d}=e,u=i.useRef(),[p,m]=i.useState(!1),{isFocusVisibleRef:f,onFocus:h,onBlur:g,ref:b}=Oo(),[v,y]=i.useState(!1);r&&v&&y(!1),i.useEffect((()=>{f.current=v}),[v,f]);const x=e=>t=>{var o;v&&t.preventDefault(),null==(o=e.onMouseLeave)||o.call(e,t)},w=e=>t=>{var o;g(t),!1===f.current&&y(!1),null==(o=e.onBlur)||o.call(e,t)},S=e=>t=>{var o,n;(u.current||(u.current=t.currentTarget),h(t),!0===f.current)&&(y(!0),null==(n=e.onFocusVisible)||n.call(e,t));null==(o=e.onFocus)||o.call(e,t)},C=null!=(t=null!=o?o:n.Root)?t:"button",k=()=>{const e=u.current;return"button"!==C&&!("A"===(null==e?void 0:e.tagName)&&null!=e&&e.href)},R=e=>t=>{var o;t.target!==t.currentTarget||r||m(!0),null==(o=e.onMouseDown)||o.call(e,t)},M=e=>t=>{var o;t.target===t.currentTarget&&m(!1),null==(o=e.onMouseUp)||o.call(e,t)},T=e=>t=>{var o,n;(t.target===t.currentTarget&&k()&&" "===t.key&&t.preventDefault(),t.target!==t.currentTarget||" "!==t.key||r||m(!0),null==(o=e.onKeyDown)||o.call(e,t),t.target===t.currentTarget&&k()&&"Enter"===t.key&&!r)&&(t.preventDefault(),null==(n=e.onClick)||n.call(e,t))},$=e=>t=>{var o,n;(t.target===t.currentTarget&&m(!1),null==(o=e.onKeyUp)||o.call(e,t),t.target===t.currentTarget&&k()&&" "===t.key&&!t.defaultPrevented)&&(null==(n=e.onClick)||n.call(e,t))},P=Mo(b,u),I=Mo(l,P),[L,N]=i.useState(""),A=e=>{var t;N(null!=(t=null==e?void 0:e.tagName)?t:""),xo(I,e)},O={};"BUTTON"===L?(O.type=null!=d?d:"button",O.disabled=r):""!==L&&(a||c||(O.role="button"),r&&(O["aria-disabled"]=r));return{getRootProps:t=>{const o=E({},jr(e),t),n=E({},o,{onBlur:w(o),onFocus:S(o),onKeyDown:T(o),onKeyUp:$(o),onMouseDown:R(o),onMouseLeave:x(o),onMouseUp:M(o)});return delete n.onFocusVisible,E({tabIndex:r?-1:s,type:d,ref:A},O,n)},focusVisible:v,setFocusVisible:y,disabled:r,active:p}}const fa=["className","component","components","componentsProps","children","disabled","action","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseLeave"];var ha=i.forwardRef((function(e,t){var o;const{className:n,component:r,components:a={},componentsProps:l={},children:s,action:c}=e,d=N(e,fa),u=i.useRef(),p=Mo(u,t),{active:m,focusVisible:f,setFocusVisible:h,getRootProps:g}=ma(E({},e,{ref:p}));i.useImperativeHandle(c,(()=>({focusVisible:()=>{h(!0),u.current.focus()}})),[h]);const b=E({},e,{active:m,focusVisible:f}),v=null!=(o=null!=r?r:a.Root)?o:"button",y=Ur(v,E({},d,l.root),b),x=(e=>{const{active:t,disabled:o,focusVisible:n}=e;return Yr({root:["root",o&&"disabled",n&&"focusVisible",t&&"active"]},ua,{})})(b);return ao(v,E({},g(),y,{className:or(x.root,n,y.className),children:s}))}));function ga(e){return e.substring(2).toLowerCase()}function ba(e){const{children:t,disableReactTree:o=!1,mouseEvent:n="onClick",onClickAway:r,touchEvent:a="onTouchEnd"}=e,l=i.useRef(!1),s=i.useRef(null),c=i.useRef(!1),d=i.useRef(!1);i.useEffect((()=>(setTimeout((()=>{c.current=!0}),0),()=>{c.current=!1})),[]);const u=Mo(t.ref,s),p=Ro((e=>{const t=d.current;d.current=!1;const n=vo(s.current);if(!c.current||!s.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}(e,n))return;if(l.current)return void(l.current=!1);let a;a=e.composedPath?e.composedPath().indexOf(s.current)>-1:!n.documentElement.contains(e.target)||s.current.contains(e.target),a||!o&&t||r(e)})),m=e=>o=>{d.current=!0;const n=t.props[e];n&&n(o)},f={ref:u};return!1!==a&&(f[a]=m(a)),i.useEffect((()=>{if(!1!==a){const e=ga(a),t=vo(s.current),o=()=>{l.current=!0};return t.addEventListener(e,p),t.addEventListener("touchmove",o),()=>{t.removeEventListener(e,p),t.removeEventListener("touchmove",o)}}}),[p,a]),!1!==n&&(f[n]=m(n)),i.useEffect((()=>{if(!1!==n){const e=ga(n),t=vo(s.current);return t.addEventListener(e,p),()=>{t.removeEventListener(e,p)}}}),[p,n]),ao(i.Fragment,{children:i.cloneElement(t,f)})}var va=i.createContext(void 0);var ya=ta("MuiFormControl",["root","disabled"]);const xa=["defaultValue","children","className","component","components","componentsProps","disabled","error","focused","onChange","required","value"];var wa=i.forwardRef((function(e,t){var o;const{defaultValue:n,children:r,className:a,component:l,components:s={},componentsProps:c={},disabled:d=!1,error:u=!1,focused:p,onChange:m,required:f=!1,value:h}=e,g=N(e,xa),[b,v]=ko({controlled:h,default:n,name:"FormControl",state:"value"}),y=function(e){return null!=e&&!(Array.isArray(e)&&0===e.length)&&""!==e}(b),[x,w]=i.useState(!1);d&&x&&w(!1);const S=void 0===p||d?x:p,C=E({},e,{disabled:d,error:u,filled:y,focused:S,required:f});const k={disabled:d,error:u,filled:y,focused:S,onBlur:()=>{w(!1)},onChange:e=>{v(e.target.value),null==m||m(e)},onFocus:()=>{w(!0)},registerEffect:()=>{},required:f,value:null!=b?b:""},R=null!=(o=null!=l?l:s.Root)?o:"div",M=Ur(R,E({},g,c.root),C);return ao(va.Provider,{value:k,children:ao(R,E({ref:t},M,{className:or(ya.root,a,null==M?void 0:M.className,d&&ya.disabled),children:r}))})}));function Sa(){return i.useContext(va)}var Ca=ta("MuiInput",["root","formControl","focused","disabled","error","multiline","input","inputMultiline","inputTypeSearch","adornedStart","adornedEnd"]);function ka(e,t){const{defaultValue:o,disabled:n=!1,error:r=!1,onBlur:a,onChange:l,onFocus:s,required:c=!1,value:d}=e,u=Sa();let p,m,f,h;var g,b,v;u?(p=u.value,f=null!=(g=u.disabled)&&g,m=null!=(b=u.required)&&b,h=null!=(v=u.error)&&v):(p=d,f=n,m=c,h=r);const{current:y}=i.useRef(null!=p),x=i.useCallback((e=>{}),[]),w=i.useRef(null),S=Mo(t,x),C=Mo(w,S),[k,R]=i.useState(!1);i.useEffect((()=>{!u&&f&&k&&(R(!1),null==a||a())}),[u,f,k,a]);const M=e=>t=>{var o,n;null!=u&&u.disabled?t.stopPropagation():(null==(o=e.onFocus)||o.call(e,t),u&&u.onFocus?null==u||null==(n=u.onFocus)||n.call(u):R(!0))},T=e=>(t,...o)=>{var n,r;if(!y){if(null==(t.target||w.current))throw new Error(mo(17))}null==u||null==(n=u.onChange)||n.call(u,t),null==(r=e.onChange)||r.call(e,t,...o)};return{disabled:f,error:h,focused:k,formControlContext:u,getInputProps:e=>{const t=E({},{onBlur:a,onChange:l,onFocus:s},jr(e)),n=E({},e,t,{onBlur:(r=t,e=>{var t;null==(t=r.onBlur)||t.call(r,e),u&&u.onBlur?u.onBlur():R(!1)}),onChange:T(t),onFocus:M(t)});var r;return E({},n,{"aria-invalid":h||void 0,defaultValue:o,ref:C,value:p,required:m,disabled:f})},getRootProps:t=>{const o=E({},jr(e,["onBlur","onChange","onFocus"]),jr(t));return E({},t,o,{onClick:(n=o,e=>{var t;w.current&&e.currentTarget===e.target&&w.current.focus(),null==(t=n.onClick)||t.call(n,e)})});var n},required:m,value:p}}const Ra=["aria-describedby","aria-label","aria-labelledby","autoComplete","autoFocus","className","component","components","componentsProps","defaultValue","disabled","endAdornment","error","id","maxRows","minRows","multiline","name","onClick","onChange","onKeyDown","onKeyUp","onFocus","onBlur","placeholder","readOnly","required","rows","type","startAdornment","value"];var Ma=i.forwardRef((function(e,t){var o,n,r,a,i;const{"aria-describedby":l,"aria-label":s,"aria-labelledby":c,autoComplete:d,autoFocus:u,className:p,component:m,components:f={},componentsProps:h={},defaultValue:g,disabled:b,endAdornment:v,error:y,id:x,maxRows:w,minRows:S,multiline:C=!1,name:k,onClick:R,onChange:M,onKeyDown:T,onKeyUp:$,onFocus:P,onBlur:I,placeholder:L,readOnly:A,required:O,rows:z,type:B="text",startAdornment:F,value:D}=e,W=N(e,Ra),{getRootProps:V,getInputProps:H,focused:U,formControlContext:j,error:G,disabled:_}=ka({disabled:b,defaultValue:g,error:y,onBlur:I,onClick:R,onChange:M,onFocus:P,required:O,value:D},null==(o=h.input)?void 0:o.ref),q=E({},e,{disabled:_,error:G,focused:U,formControlContext:j,multiline:C,type:B}),K=or(_&&Ca.disabled,G&&Ca.error,U&&Ca.focused,Boolean(j)&&Ca.formControl,C&&Ca.multiline,Boolean(F)&&Ca.adornedStart,Boolean(v)&&Ca.adornedEnd),X=or(_&&Ca.disabled,C&&Ca.multiline),Y={"aria-describedby":l,"aria-label":s,"aria-labelledby":c,autoComplete:d,autoFocus:u,id:x,onKeyDown:T,onKeyUp:$,name:k,placeholder:L,readOnly:A,type:B},Z=null!=(n=null!=m?m:f.Root)?n:"div",J=Ur(Z,E({},V(E({},W,h.root)),{className:or(Ca.root,K,p,null==(r=h.root)?void 0:r.className)}),q);let Q=null!=(a=f.Input)?a:"input",ee=Ur(Q,E({},H(E({},h.input,Y)),{className:or(Ca.input,X,null==(i=h.input)?void 0:i.className)}),q);if(C){var te,oe;const e=Hr(null!=(te=f.Textarea)?te:"textarea");ee=E(z?{type:void 0,minRows:e?void 0:z,maxRows:e?void 0:z}:{type:void 0,maxRows:e?void 0:w,minRows:e?void 0:S},ee),Q=null!=(oe=f.Textarea)?oe:"textarea"}return io(Z,E({},J,{ref:t,children:[F,ao(Q,E({},ee)),v]}))}));var Ta=i.forwardRef((function(e,t){const{children:o,container:n,disablePortal:r=!1}=e,[a,s]=i.useState(null),c=Mo(i.isValidElement(o)?o.ref:null,t);return wo((()=>{r||s(function(e){return"function"==typeof e?e():e}(n)||document.body)}),[n,r]),wo((()=>{if(a&&!r)return xo(t,a),()=>{xo(t,null)}}),[t,a,r]),r?i.isValidElement(o)?i.cloneElement(o,{ref:c}):o:a?l.createPortal(o,a):a}));function $a(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Pa(e){return parseInt(yo(e).getComputedStyle(e).paddingRight,10)||0}function Ia(e,t,o,n=[],r){const a=[t,o,...n],i=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(e=>{-1===a.indexOf(e)&&-1===i.indexOf(e.tagName)&&$a(e,r)}))}function La(e,t){let o=-1;return e.some(((e,n)=>!!t(e)&&(o=n,!0))),o}function Ea(e,t){const o=[],n=e.container;if(!t.disableScrollLock){if(function(e){const t=vo(e);return t.body===e?yo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){const e=zo(vo(n));o.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${Pa(n)+e}px`;const t=vo(n).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{o.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Pa(t)+e}px`}))}const e=n.parentElement,t=yo(n),r="HTML"===(null==e?void 0:e.nodeName)&&"scroll"===t.getComputedStyle(e).overflowY?e:n;o.push({value:r.style.overflow,property:"overflow",el:r},{value:r.style.overflowX,property:"overflow-x",el:r},{value:r.style.overflowY,property:"overflow-y",el:r}),r.style.overflow="hidden"}return()=>{o.forEach((({value:e,el:t,property:o})=>{e?t.style.setProperty(o,e):t.style.removeProperty(o)}))}}class Na{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let o=this.modals.indexOf(e);if(-1!==o)return o;o=this.modals.length,this.modals.push(e),e.modalRef&&$a(e.modalRef,!1);const n=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);Ia(t,e.mount,e.modalRef,n,!0);const r=La(this.containers,(e=>e.container===t));return-1!==r?(this.containers[r].modals.push(e),o):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),o)}mount(e,t){const o=La(this.containers,(t=>-1!==t.modals.indexOf(e))),n=this.containers[o];n.restore||(n.restore=Ea(n,t))}remove(e){const t=this.modals.indexOf(e);if(-1===t)return t;const o=La(this.containers,(t=>-1!==t.modals.indexOf(e))),n=this.containers[o];if(n.modals.splice(n.modals.indexOf(e),1),this.modals.splice(t,1),0===n.modals.length)n.restore&&n.restore(),e.modalRef&&$a(e.modalRef,!0),Ia(n.container,e.mount,e.modalRef,n.hiddenSiblings,!1),this.containers.splice(o,1);else{const e=n.modals[n.modals.length-1];e.modalRef&&$a(e.modalRef,!1)}return t}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}const Aa=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Oa(e){const t=[],o=[];return Array.from(e.querySelectorAll(Aa)).forEach(((e,n)=>{const r=function(e){const t=parseInt(e.getAttribute("tabindex"),10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==r&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let o=t(`[name="${e.name}"]:checked`);return o||(o=t(`[name="${e.name}"]`)),o!==e}(e))}(e)&&(0===r?t.push(e):o.push({documentOrder:n,tabIndex:r,node:e}))})),o.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function za(){return!0}function Ba(e){const{children:t,disableAutoFocus:o=!1,disableEnforceFocus:n=!1,disableRestoreFocus:r=!1,getTabbable:a=Oa,isEnabled:l=za,open:s}=e,c=i.useRef(),d=i.useRef(null),u=i.useRef(null),p=i.useRef(null),m=i.useRef(null),f=i.useRef(!1),h=i.useRef(null),g=Mo(t.ref,h),b=i.useRef(null);i.useEffect((()=>{s&&h.current&&(f.current=!o)}),[o,s]),i.useEffect((()=>{if(!s||!h.current)return;const e=vo(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex",-1),f.current&&h.current.focus()),()=>{r||(p.current&&p.current.focus&&(c.current=!0,p.current.focus()),p.current=null)}}),[s]),i.useEffect((()=>{if(!s||!h.current)return;const e=vo(h.current),t=t=>{const{current:o}=h;if(null!==o)if(e.hasFocus()&&!n&&l()&&!c.current){if(!o.contains(e.activeElement)){if(t&&m.current!==t.target||e.activeElement!==m.current)m.current=null;else if(null!==m.current)return;if(!f.current)return;let n=[];if(e.activeElement!==d.current&&e.activeElement!==u.current||(n=a(h.current)),n.length>0){var r,i;const e=Boolean((null==(r=b.current)?void 0:r.shiftKey)&&"Tab"===(null==(i=b.current)?void 0:i.key)),t=n[0],o=n[n.length-1];e?o.focus():t.focus()}else o.focus()}}else c.current=!1},o=t=>{b.current=t,!n&&l()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(c.current=!0,u.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",o,!0);const r=setInterval((()=>{"BODY"===e.activeElement.tagName&&t()}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",t),e.removeEventListener("keydown",o,!0)}}),[o,n,r,l,s,a]);const v=e=>{null===p.current&&(p.current=e.relatedTarget),f.current=!0};return io(i.Fragment,{children:[ao("div",{tabIndex:0,onFocus:v,ref:d,"data-test":"sentinelStart"}),i.cloneElement(t,{ref:g,onFocus:e=>{null===p.current&&(p.current=e.relatedTarget),f.current=!0,m.current=e.target;const o=t.props.onFocus;o&&o(e)}}),ao("div",{tabIndex:0,onFocus:v,ref:u,"data-test":"sentinelEnd"})]})}function Fa(e){return ea("MuiModal",e)}var Da=ta("MuiModal",["root","hidden"]);const Wa=["BackdropComponent","BackdropProps","children","classes","className","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","theme","onTransitionEnter","onTransitionExited"];const Va=new Na;var Ha=i.forwardRef((function(e,t){const{BackdropComponent:o,BackdropProps:n,children:r,classes:a,className:l,closeAfterTransition:s=!1,component:c="div",components:d={},componentsProps:u={},container:p,disableAutoFocus:m=!1,disableEnforceFocus:f=!1,disableEscapeKeyDown:h=!1,disablePortal:g=!1,disableRestoreFocus:b=!1,disableScrollLock:v=!1,hideBackdrop:y=!1,keepMounted:x=!1,manager:w=Va,onBackdropClick:S,onClose:C,onKeyDown:k,open:R,theme:M,onTransitionEnter:T,onTransitionExited:$}=e,P=N(e,Wa),[I,L]=i.useState(!0),A=i.useRef({}),O=i.useRef(null),z=i.useRef(null),B=Mo(z,t),F=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(e),D=()=>(A.current.modalRef=z.current,A.current.mountNode=O.current,A.current),W=()=>{w.mount(D(),{disableScrollLock:v}),z.current.scrollTop=0},V=Ro((()=>{const e=function(e){return"function"==typeof e?e():e}(p)||vo(O.current).body;w.add(D(),e),z.current&&W()})),H=i.useCallback((()=>w.isTopModal(D())),[w]),U=Ro((e=>{O.current=e,e&&(R&&H()?W():$a(z.current,!0))})),j=i.useCallback((()=>{w.remove(D())}),[w]);i.useEffect((()=>()=>{j()}),[j]),i.useEffect((()=>{R?V():F&&s||j()}),[R,j,F,s,V]);const G=E({},e,{classes:a,closeAfterTransition:s,disableAutoFocus:m,disableEnforceFocus:f,disableEscapeKeyDown:h,disablePortal:g,disableRestoreFocus:b,disableScrollLock:v,exited:I,hideBackdrop:y,keepMounted:x}),_=(e=>{const{open:t,exited:o,classes:n}=e;return Yr({root:["root",!t&&o&&"hidden"]},Fa,n)})(G);if(!x&&!R&&(!F||I))return null;const q=()=>{L(!1),T&&T()},K=()=>{L(!0),$&&$(),s&&j()},X={};void 0===r.props.tabIndex&&(X.tabIndex="-1"),F&&(X.onEnter=ho(q,r.props.onEnter),X.onExited=ho(K,r.props.onExited));const Y=d.Root||c,Z=u.root||{};return ao(Ta,{ref:U,container:p,disablePortal:g,children:io(Y,E({role:"presentation"},Z,!Hr(Y)&&{as:c,ownerState:E({},G,Z.ownerState),theme:M},P,{ref:B,onKeyDown:e=>{k&&k(e),"Escape"===e.key&&H()&&(h||(e.stopPropagation(),C&&C(e,"escapeKeyDown")))},className:or(_.root,Z.className,l),children:[!y&&o?ao(o,E({open:R,onClick:e=>{e.target===e.currentTarget&&(S&&S(e),C&&C(e,"backdropClick"))}},n)):null,ao(Ba,{disableEnforceFocus:f,disableAutoFocus:m,disableRestoreFocus:b,isEnabled:H,open:R,children:i.cloneElement(r,X)})]}))})}));function Ua(e){const{children:t,defer:o=!1,fallback:n=null}=e,[r,a]=i.useState(!1);return wo((()=>{o||a(!0)}),[o]),i.useEffect((()=>{o&&a(!0)}),[o]),ao(i.Fragment,{children:r?t:n})}var ja="top",Ga="bottom",_a="right",qa="left",Ka="auto",Xa=[ja,Ga,_a,qa],Ya="start",Za="end",Ja="viewport",Qa="popper",ei=Xa.reduce((function(e,t){return e.concat([t+"-"+Ya,t+"-"+Za])}),[]),ti=[].concat(Xa,[Ka]).reduce((function(e,t){return e.concat([t,t+"-"+Ya,t+"-"+Za])}),[]),oi=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ni(e){return e?(e.nodeName||"").toLowerCase():null}function ri(e){if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ai(e){return e instanceof ri(e).Element||e instanceof Element}function ii(e){return e instanceof ri(e).HTMLElement||e instanceof HTMLElement}function li(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ri(e).ShadowRoot||e instanceof ShadowRoot)}var si={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var o=t.styles[e]||{},n=t.attributes[e]||{},r=t.elements[e];ii(r)&&ni(r)&&(Object.assign(r.style,o),Object.keys(n).forEach((function(e){var t=n[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],r=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:o[e]).reduce((function(e,t){return e[t]="",e}),{});ii(n)&&ni(n)&&(Object.assign(n.style,a),Object.keys(r).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]};function ci(e){return e.split("-")[0]}function di(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function ui(e,t){var o=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(o&&li(o)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function pi(e){return ri(e).getComputedStyle(e)}function mi(e){return["table","td","th"].indexOf(ni(e))>=0}function fi(e){return((ai(e)?e.ownerDocument:e.document)||window.document).documentElement}function hi(e){return"html"===ni(e)?e:e.assignedSlot||e.parentNode||(li(e)?e.host:null)||fi(e)}function gi(e){return ii(e)&&"fixed"!==pi(e).position?e.offsetParent:null}function bi(e){for(var t=ri(e),o=gi(e);o&&mi(o)&&"static"===pi(o).position;)o=gi(o);return o&&("html"===ni(o)||"body"===ni(o)&&"static"===pi(o).position)?t:o||function(e){for(var t=navigator.userAgent.toLowerCase().includes("firefox"),o=hi(e);ii(o)&&["html","body"].indexOf(ni(o))<0;){var n=pi(o);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return o;o=o.parentNode}return null}(e)||t}function vi(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var yi=Math.max,xi=Math.min,wi=Math.round;function Si(e,t,o){return yi(e,xi(t,o))}function Ci(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ki(e,t){return t.reduce((function(t,o){return t[o]=e,t}),{})}var Ri={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Mi(e){var t,o=e.popper,n=e.popperRect,r=e.placement,a=e.offsets,i=e.position,l=e.gpuAcceleration,s=e.adaptive,c=e.roundOffsets,d=!0===c?function(e){var t=e.x,o=e.y,n=window.devicePixelRatio||1;return{x:wi(wi(t*n)/n)||0,y:wi(wi(o*n)/n)||0}}(a):"function"==typeof c?c(a):a,u=d.x,p=void 0===u?0:u,m=d.y,f=void 0===m?0:m,h=a.hasOwnProperty("x"),g=a.hasOwnProperty("y"),b=qa,v=ja,y=window;if(s){var x=bi(o),w="clientHeight",S="clientWidth";x===ri(o)&&"static"!==pi(x=fi(o)).position&&(w="scrollHeight",S="scrollWidth"),r===ja&&(v=Ga,f-=x[w]-n.height,f*=l?1:-1),r===qa&&(b=_a,p-=x[S]-n.width,p*=l?1:-1)}var C,k=Object.assign({position:i},s&&Ri);return l?Object.assign({},k,((C={})[v]=g?"0":"",C[b]=h?"0":"",C.transform=(y.devicePixelRatio||1)<2?"translate("+p+"px, "+f+"px)":"translate3d("+p+"px, "+f+"px, 0)",C)):Object.assign({},k,((t={})[v]=g?f+"px":"",t[b]=h?p+"px":"",t.transform="",t))}var Ti={passive:!0};var $i={left:"right",right:"left",bottom:"top",top:"bottom"};function Pi(e){return e.replace(/left|right|bottom|top/g,(function(e){return $i[e]}))}var Ii={start:"end",end:"start"};function Li(e){return e.replace(/start|end/g,(function(e){return Ii[e]}))}function Ei(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function Ni(e){var t=ri(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ai(e){return Ei(fi(e)).left+Ni(e).scrollLeft}function Oi(e){var t=pi(e),o=t.overflow,n=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+r+n)}function zi(e){return["html","body","#document"].indexOf(ni(e))>=0?e.ownerDocument.body:ii(e)&&Oi(e)?e:zi(hi(e))}function Bi(e,t){var o;void 0===t&&(t=[]);var n=zi(e),r=n===(null==(o=e.ownerDocument)?void 0:o.body),a=ri(n),i=r?[a].concat(a.visualViewport||[],Oi(n)?n:[]):n,l=t.concat(i);return r?l:l.concat(Bi(hi(i)))}function Fi(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Di(e,t){return t===Ja?Fi(function(e){var t=ri(e),o=fi(e),n=t.visualViewport,r=o.clientWidth,a=o.clientHeight,i=0,l=0;return n&&(r=n.width,a=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=n.offsetLeft,l=n.offsetTop)),{width:r,height:a,x:i+Ai(e),y:l}}(e)):ii(t)?function(e){var t=Ei(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Fi(function(e){var t,o=fi(e),n=Ni(e),r=null==(t=e.ownerDocument)?void 0:t.body,a=yi(o.scrollWidth,o.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),i=yi(o.scrollHeight,o.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-n.scrollLeft+Ai(e),s=-n.scrollTop;return"rtl"===pi(r||o).direction&&(l+=yi(o.clientWidth,r?r.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(fi(e)))}function Wi(e,t,o){var n="clippingParents"===t?function(e){var t=Bi(hi(e)),o=["absolute","fixed"].indexOf(pi(e).position)>=0&&ii(e)?bi(e):e;return ai(o)?t.filter((function(e){return ai(e)&&ui(e,o)&&"body"!==ni(e)})):[]}(e):[].concat(t),r=[].concat(n,[o]),a=r[0],i=r.reduce((function(t,o){var n=Di(e,o);return t.top=yi(n.top,t.top),t.right=xi(n.right,t.right),t.bottom=xi(n.bottom,t.bottom),t.left=yi(n.left,t.left),t}),Di(e,a));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function Vi(e){return e.split("-")[1]}function Hi(e){var t,o=e.reference,n=e.element,r=e.placement,a=r?ci(r):null,i=r?Vi(r):null,l=o.x+o.width/2-n.width/2,s=o.y+o.height/2-n.height/2;switch(a){case ja:t={x:l,y:o.y-n.height};break;case Ga:t={x:l,y:o.y+o.height};break;case _a:t={x:o.x+o.width,y:s};break;case qa:t={x:o.x-n.width,y:s};break;default:t={x:o.x,y:o.y}}var c=a?vi(a):null;if(null!=c){var d="y"===c?"height":"width";switch(i){case Ya:t[c]=t[c]-(o[d]/2-n[d]/2);break;case Za:t[c]=t[c]+(o[d]/2-n[d]/2)}}return t}function Ui(e,t){void 0===t&&(t={});var o=t,n=o.placement,r=void 0===n?e.placement:n,a=o.boundary,i=void 0===a?"clippingParents":a,l=o.rootBoundary,s=void 0===l?Ja:l,c=o.elementContext,d=void 0===c?Qa:c,u=o.altBoundary,p=void 0!==u&&u,m=o.padding,f=void 0===m?0:m,h=Ci("number"!=typeof f?f:ki(f,Xa)),g=d===Qa?"reference":Qa,b=e.elements.reference,v=e.rects.popper,y=e.elements[p?g:d],x=Wi(ai(y)?y:y.contextElement||fi(e.elements.popper),i,s),w=Ei(b),S=Hi({reference:w,element:v,strategy:"absolute",placement:r}),C=Fi(Object.assign({},v,S)),k=d===Qa?C:w,R={top:x.top-k.top+h.top,bottom:k.bottom-x.bottom+h.bottom,left:x.left-k.left+h.left,right:k.right-x.right+h.right},M=e.modifiersData.offset;if(d===Qa&&M){var T=M[r];Object.keys(R).forEach((function(e){var t=[_a,Ga].indexOf(e)>=0?1:-1,o=[ja,Ga].indexOf(e)>=0?"y":"x";R[e]+=T[o]*t}))}return R}function ji(e,t){void 0===t&&(t={});var o=t,n=o.placement,r=o.boundary,a=o.rootBoundary,i=o.padding,l=o.flipVariations,s=o.allowedAutoPlacements,c=void 0===s?ti:s,d=Vi(n),u=d?l?ei:ei.filter((function(e){return Vi(e)===d})):Xa,p=u.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=u);var m=p.reduce((function(t,o){return t[o]=Ui(e,{placement:o,boundary:r,rootBoundary:a,padding:i})[ci(o)],t}),{});return Object.keys(m).sort((function(e,t){return m[e]-m[t]}))}function Gi(e,t,o){return void 0===o&&(o={x:0,y:0}),{top:e.top-t.height-o.y,right:e.right-t.width+o.x,bottom:e.bottom-t.height+o.y,left:e.left-t.width-o.x}}function _i(e){return[ja,_a,Ga,qa].some((function(t){return e[t]>=0}))}function qi(e,t,o){void 0===o&&(o=!1);var n,r,a=fi(t),i=Ei(e),l=ii(t),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(l||!l&&!o)&&(("body"!==ni(t)||Oi(a))&&(s=(n=t)!==ri(n)&&ii(n)?{scrollLeft:(r=n).scrollLeft,scrollTop:r.scrollTop}:Ni(n)),ii(t)?((c=Ei(t)).x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=Ai(a))),{x:i.left+s.scrollLeft-c.x,y:i.top+s.scrollTop-c.y,width:i.width,height:i.height}}function Ki(e){var t=new Map,o=new Set,n=[];function r(e){o.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!o.has(e)){var n=t.get(e);n&&r(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){o.has(e.name)||r(e)})),n}var Xi={placement:"bottom",modifiers:[],strategy:"absolute"};function Yi(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Zi(e){void 0===e&&(e={});var t=e,o=t.defaultModifiers,n=void 0===o?[]:o,r=t.defaultOptions,a=void 0===r?Xi:r;return function(e,t,o){void 0===o&&(o=a);var r,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Xi,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],c=!1,d={state:l,setOptions:function(o){u(),l.options=Object.assign({},a,l.options,o),l.scrollParents={reference:ai(e)?Bi(e):e.contextElement?Bi(e.contextElement):[],popper:Bi(t)};var r,i,c=function(e){var t=Ki(e);return oi.reduce((function(e,o){return e.concat(t.filter((function(e){return e.phase===o})))}),[])}((r=[].concat(n,l.options.modifiers),i=r.reduce((function(e,t){var o=e[t.name];return e[t.name]=o?Object.assign({},o,t,{options:Object.assign({},o.options,t.options),data:Object.assign({},o.data,t.data)}):t,e}),{}),Object.keys(i).map((function(e){return i[e]}))));return l.orderedModifiers=c.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,o=e.options,n=void 0===o?{}:o,r=e.effect;if("function"==typeof r){var a=r({state:l,name:t,instance:d,options:n}),i=function(){};s.push(a||i)}})),d.update()},forceUpdate:function(){if(!c){var e=l.elements,t=e.reference,o=e.popper;if(Yi(t,o)){l.rects={reference:qi(t,bi(o),"fixed"===l.options.strategy),popper:di(o)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var n=0;n<l.orderedModifiers.length;n++)if(!0!==l.reset){var r=l.orderedModifiers[n],a=r.fn,i=r.options,s=void 0===i?{}:i,u=r.name;"function"==typeof a&&(l=a({state:l,options:s,name:u,instance:d})||l)}else l.reset=!1,n=-1}}},update:(r=function(){return new Promise((function(e){d.forceUpdate(),e(l)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(r())}))}))),i}),destroy:function(){u(),c=!0}};if(!Yi(e,t))return d;function u(){s.forEach((function(e){return e()})),s=[]}return d.setOptions(o).then((function(e){!c&&o.onFirstUpdate&&o.onFirstUpdate(e)})),d}}var Ji=Zi({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,o=e.instance,n=e.options,r=n.scroll,a=void 0===r||r,i=n.resize,l=void 0===i||i,s=ri(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",o.update,Ti)})),l&&s.addEventListener("resize",o.update,Ti),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",o.update,Ti)})),l&&s.removeEventListener("resize",o.update,Ti)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,o=e.name;t.modifiersData[o]=Hi({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,o=e.options,n=o.gpuAcceleration,r=void 0===n||n,a=o.adaptive,i=void 0===a||a,l=o.roundOffsets,s=void 0===l||l,c={placement:ci(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Mi(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Mi(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},si,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,o=e.options,n=e.name,r=o.offset,a=void 0===r?[0,0]:r,i=ti.reduce((function(e,o){return e[o]=function(e,t,o){var n=ci(e),r=[qa,ja].indexOf(n)>=0?-1:1,a="function"==typeof o?o(Object.assign({},t,{placement:e})):o,i=a[0],l=a[1];return i=i||0,l=(l||0)*r,[qa,_a].indexOf(n)>=0?{x:l,y:i}:{x:i,y:l}}(o,t.rects,a),e}),{}),l=i[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=i}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var r=o.mainAxis,a=void 0===r||r,i=o.altAxis,l=void 0===i||i,s=o.fallbackPlacements,c=o.padding,d=o.boundary,u=o.rootBoundary,p=o.altBoundary,m=o.flipVariations,f=void 0===m||m,h=o.allowedAutoPlacements,g=t.options.placement,b=ci(g),v=s||(b===g||!f?[Pi(g)]:function(e){if(ci(e)===Ka)return[];var t=Pi(e);return[Li(e),t,Li(t)]}(g)),y=[g].concat(v).reduce((function(e,o){return e.concat(ci(o)===Ka?ji(t,{placement:o,boundary:d,rootBoundary:u,padding:c,flipVariations:f,allowedAutoPlacements:h}):o)}),[]),x=t.rects.reference,w=t.rects.popper,S=new Map,C=!0,k=y[0],R=0;R<y.length;R++){var M=y[R],T=ci(M),$=Vi(M)===Ya,P=[ja,Ga].indexOf(T)>=0,I=P?"width":"height",L=Ui(t,{placement:M,boundary:d,rootBoundary:u,altBoundary:p,padding:c}),E=P?$?_a:qa:$?Ga:ja;x[I]>w[I]&&(E=Pi(E));var N=Pi(E),A=[];if(a&&A.push(L[T]<=0),l&&A.push(L[E]<=0,L[N]<=0),A.every((function(e){return e}))){k=M,C=!1;break}S.set(M,A)}if(C)for(var O=function(e){var t=y.find((function(t){var o=S.get(t);if(o)return o.slice(0,e).every((function(e){return e}))}));if(t)return k=t,"break"},z=f?3:1;z>0;z--){if("break"===O(z))break}t.placement!==k&&(t.modifiersData[n]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,n=e.name,r=o.mainAxis,a=void 0===r||r,i=o.altAxis,l=void 0!==i&&i,s=o.boundary,c=o.rootBoundary,d=o.altBoundary,u=o.padding,p=o.tether,m=void 0===p||p,f=o.tetherOffset,h=void 0===f?0:f,g=Ui(t,{boundary:s,rootBoundary:c,padding:u,altBoundary:d}),b=ci(t.placement),v=Vi(t.placement),y=!v,x=vi(b),w="x"===x?"y":"x",S=t.modifiersData.popperOffsets,C=t.rects.reference,k=t.rects.popper,R="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,M={x:0,y:0};if(S){if(a||l){var T="y"===x?ja:qa,$="y"===x?Ga:_a,P="y"===x?"height":"width",I=S[x],L=S[x]+g[T],E=S[x]-g[$],N=m?-k[P]/2:0,A=v===Ya?C[P]:k[P],O=v===Ya?-k[P]:-C[P],z=t.elements.arrow,B=m&&z?di(z):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},D=F[T],W=F[$],V=Si(0,C[P],B[P]),H=y?C[P]/2-N-V-D-R:A-V-D-R,U=y?-C[P]/2+N+V+W+R:O+V+W+R,j=t.elements.arrow&&bi(t.elements.arrow),G=j?"y"===x?j.clientTop||0:j.clientLeft||0:0,_=t.modifiersData.offset?t.modifiersData.offset[t.placement][x]:0,q=S[x]+H-_-G,K=S[x]+U-_;if(a){var X=Si(m?xi(L,q):L,I,m?yi(E,K):E);S[x]=X,M[x]=X-I}if(l){var Y="x"===x?ja:qa,Z="x"===x?Ga:_a,J=S[w],Q=J+g[Y],ee=J-g[Z],te=Si(m?xi(Q,q):Q,J,m?yi(ee,K):ee);S[w]=te,M[w]=te-J}}t.modifiersData[n]=M}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,o=e.state,n=e.name,r=o.elements.arrow,a=o.modifiersData.popperOffsets,i=ci(o.placement),l=vi(i),s=[qa,_a].indexOf(i)>=0?"height":"width";if(r&&a){var c=o.modifiersData[n+"#persistent"].padding,d=di(r),u="y"===l?ja:qa,p="y"===l?Ga:_a,m=o.rects.reference[s]+o.rects.reference[l]-a[l]-o.rects.popper[s],f=a[l]-o.rects.reference[l],h=bi(r),g=h?"y"===l?h.clientHeight||0:h.clientWidth||0:0,b=m/2-f/2,v=c[u],y=g-d[s]-c[p],x=g/2-d[s]/2+b,w=Si(v,x,y),S=l;o.modifiersData[n]=((t={})[S]=w,t.centerOffset=w-x,t)}},effect:function(e){var t=e.state,o=e.options,n=e.name,r=o.element,a=void 0===r?"[data-popper-arrow]":r,i=o.padding,l=void 0===i?0:i;null!=a&&("string"!=typeof a||(a=t.elements.popper.querySelector(a)))&&ui(t.elements.popper,a)&&(l="function"==typeof l?l(Object.assign({},t.rects,{placement:t.placement})):l,t.elements.arrow=a,t.modifiersData[n+"#persistent"]={padding:Ci("number"!=typeof l?l:ki(l,Xa))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,o=e.name,n=t.rects.reference,r=t.rects.popper,a=t.modifiersData.preventOverflow,i=Ui(t,{elementContext:"reference"}),l=Ui(t,{altBoundary:!0}),s=Gi(i,n),c=Gi(l,r,a),d=_i(s),u=_i(c);t.modifiersData[o]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}}]});const Qi=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","TransitionProps"],el=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function tl(e){return"function"==typeof e?e():e}const ol={},nl=i.forwardRef((function(e,t){const{anchorEl:o,children:n,direction:r,disablePortal:a,modifiers:l,open:s,placement:c,popperOptions:d,popperRef:u,TransitionProps:p}=e,m=N(e,Qi),f=i.useRef(null),h=Mo(f,t),g=i.useRef(null),b=Mo(g,u),v=i.useRef(b);wo((()=>{v.current=b}),[b]),i.useImperativeHandle(u,(()=>g.current),[]);const y=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(c,r),[x,w]=i.useState(y);i.useEffect((()=>{g.current&&g.current.forceUpdate()})),wo((()=>{if(!o||!s)return;tl(o);let e=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{w(e.placement)}}];null!=l&&(e=e.concat(l)),d&&null!=d.modifiers&&(e=e.concat(d.modifiers));const t=Ji(tl(o),f.current,E({placement:y},d,{modifiers:e}));return v.current(t),()=>{t.destroy(),v.current(null)}}),[o,a,l,s,d,y]);const S={placement:x};return null!==p&&(S.TransitionProps=p),ao("div",E({ref:h,role:"tooltip"},m,{children:"function"==typeof n?n(S):n}))}));var rl=i.forwardRef((function(e,t){const{anchorEl:o,children:n,container:r,direction:a="ltr",disablePortal:l=!1,keepMounted:s=!1,modifiers:c,open:d,placement:u="bottom",popperOptions:p=ol,popperRef:m,style:f,transition:h=!1}=e,g=N(e,el),[b,v]=i.useState(!0);if(!s&&!d&&(!h||b))return null;const y=r||(o?vo(tl(o)).body:void 0);return ao(Ta,{disablePortal:l,container:y,children:ao(nl,E({anchorEl:o,direction:a,disablePortal:l,modifiers:c,ref:t,open:h?!b:d,placement:u,popperOptions:p,popperRef:m},g,{style:E({position:"fixed",top:0,left:0,display:d||!s||h&&!b?null:"none"},f),TransitionProps:h?{in:d,onEnter:()=>{v(!1)},onExited:()=>{v(!0)}}:null,children:n}))})}));function al(e){return ea("MuiSlider",e)}var il=ta("MuiSlider",["root","active","focusVisible","disabled","dragging","marked","vertical","trackInverted","trackFalse","rail","track","mark","markActive","markLabel","markLabelActive","thumb","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel"]);function ll(e){const{children:t,className:o,value:n,theme:r}=e,a=(e=>{const{open:t}=e;return{offset:or(t&&il.valueLabelOpen),circle:il.valueLabelCircle,label:il.valueLabelLabel}})(e);return i.cloneElement(t,{className:or(t.props.className)},io(i.Fragment,{children:[t.props.children,ao("span",{className:or(a.offset,o),theme:r,"aria-hidden":!0,children:ao("span",{className:a.circle,children:ao("span",{className:a.label,children:n})})})]}))}function sl(e,t){return e-t}function cl(e,t,o){return null==e?t:Math.min(Math.max(t,e),o)}function dl(e,t){var o;const{index:n}=null!=(o=e.reduce(((e,o,n)=>{const r=Math.abs(t-o);return null===e||r<e.distance||r===e.distance?{distance:r,index:n}:e}),null))?o:{};return n}function ul(e,t){if(void 0!==t.current&&e.changedTouches){for(let o=0;o<e.changedTouches.length;o+=1){const n=e.changedTouches[o];if(n.identifier===t.current)return{x:n.clientX,y:n.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function pl(e,t,o){return 100*(e-t)/(o-t)}function ml(e,t,o){const n=Math.round((e-o)/t)*t+o;return Number(n.toFixed(function(e){if(Math.abs(e)<1){const t=e.toExponential().split("e-"),o=t[0].split(".")[1];return(o?o.length:0)+parseInt(t[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}(t)))}function fl({values:e,newValue:t,index:o}){const n=e.slice();return n[o]=t,n.sort(sl)}function hl({sliderRef:e,activeIndex:t,setActive:o}){var n,r;const a=vo(e.current);var i;null!=(n=e.current)&&n.contains(a.activeElement)&&Number(null==a||null==(r=a.activeElement)?void 0:r.getAttribute("data-index"))===t||(null==(i=e.current)||i.querySelector(`[type="range"][data-index="${t}"]`).focus());o&&o(t)}const gl={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},bl=e=>e;let vl;function yl(){return void 0===vl&&(vl="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),vl}function xl(e){const{ref:t,"aria-labelledby":o,defaultValue:n,disableSwap:r=!1,disabled:a=!1,marks:l=!1,max:s=100,min:c=0,name:d,onChange:u,onChangeCommitted:p,orientation:m="horizontal",scale:f=bl,step:h=1,tabIndex:g,value:b,isRtl:v=!1}=e,y=i.useRef(),[x,w]=i.useState(-1),[S,C]=i.useState(-1),[k,R]=i.useState(!1),M=i.useRef(0),[T,$]=ko({controlled:b,default:null!=n?n:c,name:"Slider"}),P=u&&((e,t,o)=>{const n=e.nativeEvent||e,r=new n.constructor(n.type,n);Object.defineProperty(r,"target",{writable:!0,value:{value:t,name:d}}),u(r,t,o)}),I=Array.isArray(T);let L=I?T.slice().sort(sl):[T];L=L.map((e=>cl(e,c,s)));const N=!0===l&&null!==h?[...Array(Math.floor((s-c)/h)+1)].map(((e,t)=>({value:c+h*t}))):l||[],A=N.map((e=>e.value)),{isFocusVisibleRef:O,onBlur:z,onFocus:B,ref:F}=Oo(),[D,W]=i.useState(-1),V=i.useRef(),H=Mo(F,V),U=Mo(t,H),j=e=>t=>{var o;const n=Number(t.currentTarget.getAttribute("data-index"));B(t),!0===O.current&&W(n),C(n),null==e||null==(o=e.onFocus)||o.call(e,t)},G=e=>t=>{var o;z(t),!1===O.current&&W(-1),C(-1),null==e||null==(o=e.onBlur)||o.call(e,t)};wo((()=>{var e;a&&V.current.contains(document.activeElement)&&(null==(e=document.activeElement)||e.blur())}),[a]),a&&-1!==x&&w(-1),a&&-1!==D&&W(-1);const _=e=>t=>{var o;null==(o=e.onChange)||o.call(e,t);const n=Number(t.currentTarget.getAttribute("data-index")),a=L[n],i=A.indexOf(a);let l=t.target.valueAsNumber;if(N&&null==h&&(l=l<a?A[i-1]:A[i+1]),l=cl(l,c,s),N&&null==h){const e=A.indexOf(L[n]);l=l<L[n]?A[e-1]:A[e+1]}if(I){r&&(l=cl(l,L[n-1]||-1/0,L[n+1]||1/0));const e=l;l=fl({values:L,newValue:l,index:n});let t=n;r||(t=l.indexOf(e)),hl({sliderRef:V,activeIndex:t})}$(l),W(n),P&&P(t,l,n),p&&p(t,l)},q=i.useRef();let K=m;v&&"horizontal"===m&&(K+="-reverse");const X=({finger:e,move:t=!1,values:o})=>{const{current:n}=V,{width:a,height:i,bottom:l,left:d}=n.getBoundingClientRect();let u,p;if(u=0===K.indexOf("vertical")?(l-e.y)/i:(e.x-d)/a,-1!==K.indexOf("-reverse")&&(u=1-u),p=function(e,t,o){return(o-t)*e+t}(u,c,s),h)p=ml(p,h,c);else{const e=dl(A,p);p=A[e]}p=cl(p,c,s);let m=0;if(I){m=t?q.current:dl(o,p),r&&(p=cl(p,o[m-1]||-1/0,o[m+1]||1/0));const e=p;p=fl({values:o,newValue:p,index:m}),r&&t||(m=p.indexOf(e),q.current=m)}return{newValue:p,activeIndex:m}},Y=Ro((e=>{const t=ul(e,y);if(!t)return;if(M.current+=1,"mousemove"===e.type&&0===e.buttons)return void Z(e);const{newValue:o,activeIndex:n}=X({finger:t,move:!0,values:L});hl({sliderRef:V,activeIndex:n,setActive:w}),$(o),!k&&M.current>2&&R(!0),P&&P(e,o,n)})),Z=Ro((e=>{const t=ul(e,y);if(R(!1),!t)return;const{newValue:o}=X({finger:t,values:L});w(-1),"touchend"===e.type&&C(-1),p&&p(e,o),y.current=void 0,Q()})),J=Ro((e=>{yl()||e.preventDefault();const t=e.changedTouches[0];null!=t&&(y.current=t.identifier);const o=ul(e,y);if(!1!==o){const{newValue:t,activeIndex:n}=X({finger:o,values:L});hl({sliderRef:V,activeIndex:n,setActive:w}),$(t),P&&P(e,t,n)}M.current=0;const n=vo(V.current);n.addEventListener("touchmove",Y),n.addEventListener("touchend",Z)})),Q=i.useCallback((()=>{const e=vo(V.current);e.removeEventListener("mousemove",Y),e.removeEventListener("mouseup",Z),e.removeEventListener("touchmove",Y),e.removeEventListener("touchend",Z)}),[Z,Y]);i.useEffect((()=>{const{current:e}=V;return e.addEventListener("touchstart",J,{passive:yl()}),()=>{e.removeEventListener("touchstart",J,{passive:yl()}),Q()}}),[Q,J]),i.useEffect((()=>{a&&Q()}),[a,Q]);const ee=e=>t=>{var o;if(null==(o=e.onMouseDown)||o.call(e,t),t.defaultPrevented)return;if(0!==t.button)return;t.preventDefault();const n=ul(t,y);if(!1!==n){const{newValue:e,activeIndex:o}=X({finger:n,values:L});hl({sliderRef:V,activeIndex:o,setActive:w}),$(e),P&&P(t,e,o)}M.current=0;const r=vo(V.current);r.addEventListener("mousemove",Y),r.addEventListener("mouseup",Z)},te=pl(I?L[0]:c,c,s),oe=pl(L[L.length-1],c,s)-te,ne=e=>t=>{var o;null==(o=e.onMouseOver)||o.call(e,t);const n=Number(t.currentTarget.getAttribute("data-index"));C(n)},re=e=>t=>{var o;null==(o=e.onMouseLeave)||o.call(e,t),C(-1)};return{axis:K,axisProps:gl,getRootProps:e=>{const t=E({},e,{onMouseDown:ee(e||{})});return E({ref:U},t)},getHiddenInputProps:t=>{const n=E({},t,{onChange:_(t||{}),onFocus:j(t||{}),onBlur:G(t||{})});return E({tabIndex:g,"aria-labelledby":o,"aria-orientation":m,"aria-valuemax":f(s),"aria-valuemin":f(c),name:d,type:"range",min:e.min,max:e.max,step:e.step,disabled:a},n,{style:E({},Vo,{direction:v?"rtl":"ltr",width:"100%",height:"100%"})})},getThumbProps:e=>{const t=E({},e,{onMouseOver:ne(e||{}),onMouseLeave:re(e||{})});return E({},t)},dragging:k,marks:N,values:L,active:x,focusVisible:D,open:S,range:I,trackOffset:te,trackLeap:oe}}const wl=["aria-label","aria-valuetext","className","component","classes","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","onMouseDown","orientation","scale","step","tabIndex","track","value","valueLabelDisplay","valueLabelFormat","isRtl","components","componentsProps"],Sl=e=>e,Cl=({children:e})=>e;var kl=i.forwardRef((function(e,t){var o,n,r,a,l,s,c;const{"aria-label":d,"aria-valuetext":u,className:p,component:m,classes:f,disableSwap:h=!1,disabled:g=!1,getAriaLabel:b,getAriaValueText:v,marks:y=!1,max:x=100,min:w=0,onMouseDown:S,orientation:C="horizontal",scale:k=Sl,step:R=1,track:M="normal",valueLabelDisplay:T="off",valueLabelFormat:$=Sl,isRtl:P=!1,components:I={},componentsProps:L={}}=e,A=N(e,wl),O=E({},e,{mark:y,classes:f,disabled:g,isRtl:P,max:x,min:w,orientation:C,scale:k,step:R,track:M,valueLabelDisplay:T,valueLabelFormat:$}),{axisProps:z,getRootProps:B,getHiddenInputProps:F,getThumbProps:D,open:W,active:V,axis:H,range:U,focusVisible:j,dragging:G,marks:_,values:q,trackOffset:K,trackLeap:X}=xl(E({},O,{ref:t}));O.marked=_.length>0&&_.some((e=>e.label)),O.dragging=G;const Y=null!=(o=null!=m?m:I.Root)?o:"span",Z=Ur(Y,E({},A,L.root),O),J=null!=(n=I.Rail)?n:"span",Q=Ur(J,L.rail,O),ee=null!=(r=I.Track)?r:"span",te=Ur(ee,L.track,O),oe=E({},z[H].offset(K),z[H].leap(X)),ne=null!=(a=I.Thumb)?a:"span",re=Ur(ne,L.thumb,O),ae=null!=(l=I.ValueLabel)?l:ll,ie=Ur(ae,L.valueLabel,O),le=null!=(s=I.Mark)?s:"span",se=Ur(le,L.mark,O),ce=null!=(c=I.MarkLabel)?c:"span",de=Ur(ce,L.markLabel,O),ue=I.Input||"input",pe=Ur(ue,L.input,O),me=F(),fe=(e=>{const{disabled:t,dragging:o,marked:n,orientation:r,track:a,classes:i}=e;return Yr({root:["root",t&&"disabled",o&&"dragging",n&&"marked","vertical"===r&&"vertical","inverted"===a&&"trackInverted",!1===a&&"trackFalse"],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled"],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]},al,i)})(O);return io(Y,E({},Z,B({onMouseDown:S}),{className:or(fe.root,Z.className,p),children:[ao(J,E({},Q,{className:or(fe.rail,Q.className)})),ao(ee,E({},te,{className:or(fe.track,te.className),style:E({},oe,te.style)})),_.map(((e,t)=>{const o=pl(e.value,w,x),n=z[H].offset(o);let r;return r=!1===M?-1!==q.indexOf(e.value):"normal"===M&&(U?e.value>=q[0]&&e.value<=q[q.length-1]:e.value<=q[0])||"inverted"===M&&(U?e.value<=q[0]||e.value>=q[q.length-1]:e.value>=q[0]),io(i.Fragment,{children:[ao(le,E({"data-index":t},se,!Hr(le)&&{markActive:r},{style:E({},n,se.style),className:or(fe.mark,se.className,r&&fe.markActive)})),null!=e.label?ao(ce,E({"aria-hidden":!0,"data-index":t},de,!Hr(ce)&&{markLabelActive:r},{style:E({},n,de.style),className:or(fe.markLabel,de.className,r&&fe.markLabelActive),children:e.label})):null]},e.value)})),q.map(((e,t)=>{const o=pl(e,w,x),n=z[H].offset(o),r="off"===T?Cl:ae;return ao(i.Fragment,{children:ao(r,E({},!Hr(r)&&{valueLabelFormat:$,valueLabelDisplay:T,value:"function"==typeof $?$(k(e),t):$,index:t,open:W===t||V===t||"on"===T,disabled:g},ie,{className:or(fe.valueLabel,ie.className),children:ao(ne,E({"data-index":t},re,D(),{className:or(fe.thumb,re.className,V===t&&fe.active,j===t&&fe.focusVisible)},!Hr(ne)&&{ownerState:E({},O,re.ownerState)},{style:E({},n,{pointerEvents:h&&V!==t?"none":void 0},re.style),children:ao(ue,E({},me,{"data-index":t,"aria-label":b?b(t):d,"aria-valuenow":k(e),"aria-valuetext":v?v(k(e),t):u,value:q[t]},!Hr(ue)&&{ownerState:E({},O,pe.ownerState)},pe,{style:E({},me.style,pe.style)}))}))}))},t)}))]}))}));function Rl(e){const{checked:t,defaultChecked:o,disabled:n,onBlur:r,onChange:a,onFocus:l,onFocusVisible:s,readOnly:c,required:d}=e,[u,p]=ko({controlled:t,default:Boolean(o),name:"Switch",state:"checked"}),{isFocusVisibleRef:m,onBlur:f,onFocus:h,ref:g}=Oo(),[b,v]=i.useState(!1);n&&b&&v(!1),i.useEffect((()=>{m.current=b}),[b,m]);const y=i.useRef(null),x=Mo(g,y);return{checked:u,disabled:Boolean(n),focusVisible:b,getInputProps:(e={})=>E({checked:t,defaultChecked:o,disabled:n,readOnly:c,required:d,type:"checkbox"},e,{onChange:t=>((e,t)=>{e.nativeEvent.defaultPrevented||(p(e.target.checked),null==a||a(e),null==t||t(e))})(t,e.onChange),onFocus:t=>((e,t)=>{y.current||(y.current=e.currentTarget),h(e),!0===m.current&&(v(!0),null==s||s(e)),null==l||l(e),null==t||t(e)})(t,e.onFocus),onBlur:t=>((e,t)=>{f(e),!1===m.current&&v(!1),null==r||r(e),null==t||t(e)})(t,e.onBlur),ref:x}),readOnly:Boolean(c)}}var Ml=ta("MuiSwitch",["root","input","track","thumb","checked","disabled","focusVisible","readOnly"]);const Tl=["checked","className","component","components","componentsProps","defaultChecked","disabled","onBlur","onChange","onFocus","onFocusVisible","readOnly","required"];var $l=i.forwardRef((function(e,t){var o,n,r,a,i,l,s;const{checked:c,className:d,component:u,components:p={},componentsProps:m={},defaultChecked:f,disabled:h,onBlur:g,onChange:b,onFocus:v,onFocusVisible:y,readOnly:x}=e,w=N(e,Tl),S={checked:c,defaultChecked:f,disabled:h,onBlur:g,onChange:b,onFocus:v,onFocusVisible:y,readOnly:x},{getInputProps:C,checked:k,disabled:R,focusVisible:M,readOnly:T}=Rl(S),$=E({},e,{checked:k,disabled:R,focusVisible:M,readOnly:T}),P=null!=(o=null!=u?u:p.Root)?o:"span",I=Ur(P,E({},w,m.root),$),L=null!=(n=p.Thumb)?n:"span",A=Ur(L,null!=(r=m.thumb)?r:{},$),O=null!=(a=p.Input)?a:"input",z=Ur(O,null!=(i=m.input)?i:{},$),B=null===p.Track?()=>null:null!=(l=p.Track)?l:"span",F=Ur(B,null!=(s=m.track)?s:{},$),D=or(k&&Ml.checked,R&&Ml.disabled,M&&Ml.focusVisible,T&&Ml.readOnly);return io(P,E({ref:t},I,{className:or(Ml.root,D,d,null==I?void 0:I.className),children:[ao(B,E({},F,{className:or(Ml.track,null==F?void 0:F.className)})),ao(L,E({},A,{className:or(Ml.thumb,null==A?void 0:A.className)})),ao(O,E({},C(z),{className:or(Ml.input,null==z?void 0:z.className)}))]}))}));function Pl(e){return ea("TabPanelUnstyled",e)}var Il=ta("TabPanelUnstyled",["root","hidden"]);function Ll(e){return ea("TabsUnstyled",e)}var El=ta("TabsUnstyled",["root","horizontal","vertical"]);var Nl=e=>{const{value:t,defaultValue:o,onChange:n,orientation:r,direction:a,selectionFollowsFocus:l}=e,[s,c]=ko({controlled:t,default:o,name:"Tabs",state:"value"}),d=Co(),u=i.useCallback(((e,t)=>{c(t),n&&n(e,t)}),[n,c]);return{getRootProps:()=>({}),tabsContextValue:i.useMemo((()=>({idPrefix:d,value:s,onSelected:u,orientation:r,direction:a,selectionFollowsFocus:l})),[d,s,u,r,a,l])}};const Al=i.createContext(null);function Ol(){return i.useContext(Al)}function zl(e,t){const{idPrefix:o}=e;return null===o?null:`${e.idPrefix}-P-${t}`}function Bl(e,t){const{idPrefix:o}=e;return null===o?null:`${e.idPrefix}-T-${t}`}var Fl=Al;const Dl=["children","className","value","defaultValue","orientation","direction","component","components","componentsProps","onChange","selectionFollowsFocus"];var Wl=i.forwardRef(((e,t)=>{var o,n;const{children:r,className:a,orientation:i="horizontal",direction:l="ltr",component:s,components:c={},componentsProps:d={}}=e,u=N(e,Dl),{tabsContextValue:p,getRootProps:m}=Nl(e),f=E({},e,{orientation:i,direction:l}),h=(e=>{const{orientation:t}=e;return Yr({root:["root",t]},Ll,{})})(f),g=null!=(o=null!=s?s:c.Root)?o:"div",b=Ur(g,E({},u,d.root),f);return ao(g,E({},m(),b,{ref:t,className:or(h.root,null==(n=d.root)?void 0:n.className,a),children:ao(Fl.Provider,{value:p,children:r})}))}));var Vl=e=>{const{value:t}=e,o=Ol();if(null===o)throw new Error("No TabContext provided");const n=t!==o.value,r=zl(o,t),a=Bl(o,t);return{hidden:n,getRootProps:()=>({"aria-labelledby":a,hidden:n,id:r})}};const Hl=["children","className","value","components","componentsProps","component"];var Ul=i.forwardRef((function(e,t){var o,n;const{children:r,className:a,components:i={},componentsProps:l={},component:s}=e,c=N(e,Hl),{hidden:d,getRootProps:u}=Vl(e),p=E({},e,{hidden:d}),m=(e=>{const{hidden:t}=e;return Yr({root:["root",t&&"hidden"]},Pl,{})})(p),f=null!=(o=null!=s?s:i.Root)?o:"div",h=Ur(f,E({},c,l.root),p);return ao(f,E({},u(),{ref:t,role:"tabpanel"},h,{className:or(m.root,null==(n=l.root)?void 0:n.className,a),children:!d&&r}))}));function jl(e){return ea("TabsListUnstyled",e)}var Gl=ta("TabsListUnstyled",["root","horizontal","vertical"]);const _l=(e,t)=>e?e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild:null,ql=(e,t)=>e?e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild:null,Kl=(e,t,o)=>{let n=!1,r=o(e,t);for(;e&&r;){if(r===e.firstChild){if(n)return;n=!0}const t=r.disabled||"true"===r.getAttribute("aria-disabled");if(r.hasAttribute("tabindex")&&!t)return void r.focus();r=o(e,r)}};var Xl=e=>{const{"aria-label":t,"aria-labelledby":o,children:n,ref:r}=e,a=i.createRef(),l=Mo(a,r),s=Ol();if(null===s)throw new Error("No TabContext provided");const{value:c,orientation:d="horizontal",direction:u="ltr"}=s,p="rtl"===u,m=e=>t=>{var o;(e=>{const t=a.current,o=vo(t).activeElement;if("tab"!==(null==o?void 0:o.getAttribute("role")))return;let n="horizontal"===d?"ArrowLeft":"ArrowUp",r="horizontal"===d?"ArrowRight":"ArrowDown";switch("horizontal"===d&&p&&(n="ArrowRight",r="ArrowLeft"),e.key){case n:e.preventDefault(),Kl(t,o,ql);break;case r:e.preventDefault(),Kl(t,o,_l);break;case"Home":e.preventDefault(),Kl(t,null,_l);break;case"End":e.preventDefault(),Kl(t,null,ql)}})(t),null==(o=e.onKeyDown)||o.call(e,t)},f=i.useCallback((()=>{const e=new Map;let t=0;return i.Children.map(n,(o=>{if(!i.isValidElement(o))return null;const n=void 0===o.props.value?t:o.props.value;return e.set(n,t),t+=1,i.cloneElement(o,E({value:n},1===t&&!1===c&&!o.props.tabIndex||c===n?{tabIndex:0}:{tabIndex:-1}))}))}),[n,c]);return{isRtl:p,orientation:d,value:c,processChildren:f,getRootProps:n=>{const r=E({},jr(e),n),a=E({},r,{onKeyDown:m(r)});return E({"aria-label":t,"aria-labelledby":o,"aria-orientation":"vertical"===d?"vertical":null,role:"tablist",ref:l},a)}}};const Yl=["className","children","component","components","componentsProps"];var Zl=i.forwardRef(((e,t)=>{var o,n;const{className:r,component:a,components:i={},componentsProps:l={}}=e,s=N(e,Yl),{isRtl:c,orientation:d,getRootProps:u,processChildren:p}=Xl(E({},e,{ref:t})),m=E({},e,{isRtl:c,orientation:d}),f=(e=>{const{orientation:t}=e;return Yr({root:["root",t]},jl,{})})(m),h=null!=(o=null!=a?a:i.Root)?o:"div",g=Ur(h,E({},s,l.root),m),b=p();return ao(h,E({},u(),g,{className:or(r,null==(n=l.root)?void 0:n.className,f.root),children:b}))}));function Jl(e){return ea("TabUnstyled",e)}var Ql=ta("TabUnstyled",["root","selected","disabled"]);const es=["getRootProps"];var ts=e=>{const{value:t,onChange:o,onClick:n,onFocus:r}=e,a=ma(e),{getRootProps:i}=a,l=N(a,es),s=Ol();if(null===s)throw new Error("No TabContext provided");const c=null!=t?t:0,d=s.value===c,u=s.selectionFollowsFocus,p={role:"tab","aria-controls":zl(s,c),id:Bl(s,c),"aria-selected":d,disabled:l.disabled},m=e=>{u&&!d&&(o&&o(e,c),s.onSelected(e,c)),r&&r(e)},f=e=>{d||(o&&o(e,c),s.onSelected(e,c)),n&&n(e)};return E({getRootProps:e=>{const t=i(E({onClick:f,onFocus:m},e));return E({},t,p)}},l,{selected:d})};const os=["action","children","value","className","disabled","onChange","onClick","onFocus","component","components","componentsProps"];var ns=i.forwardRef((function(e,t){var o,n;const{action:r,children:a,className:l,disabled:s=!1,component:c,components:d={},componentsProps:u={}}=e,p=N(e,os),m=i.useRef(),f=Mo(m,t),{active:h,focusVisible:g,setFocusVisible:b,selected:v,getRootProps:y}=ts(E({},e,{ref:f}));i.useImperativeHandle(r,(()=>({focusVisible:()=>{b(!0),m.current.focus()}})),[b]);const x=E({},e,{active:h,focusVisible:g,disabled:s,selected:v}),w=(e=>{const{selected:t,disabled:o}=e;return Yr({root:["root",t&&"selected",o&&"disabled"]},Jl,{})})(x),S=null!=(o=null!=c?c:d.Root)?o:"button",C=Ur(S,E({},p,u.root),x);return ao(S,E({},y(),C,{className:or(w.root,null==(n=u.root)?void 0:n.className,l),ref:t,children:a}))}));const rs=["onChange","maxRows","minRows","style","value"];function as(e,t){return parseInt(e[t],10)||0}const is={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};var ls=i.forwardRef((function(e,t){const{onChange:o,maxRows:n,minRows:r=1,style:a,value:l}=e,s=N(e,rs),{current:c}=i.useRef(null!=l),d=i.useRef(null),u=Mo(t,d),p=i.useRef(null),m=i.useRef(0),[f,h]=i.useState({}),g=i.useCallback((()=>{const t=d.current,o=yo(t).getComputedStyle(t);if("0px"===o.width)return;const a=p.current;a.style.width=o.width,a.value=t.value||e.placeholder||"x","\n"===a.value.slice(-1)&&(a.value+=" ");const i=o["box-sizing"],l=as(o,"padding-bottom")+as(o,"padding-top"),s=as(o,"border-bottom-width")+as(o,"border-top-width"),c=a.scrollHeight;a.value="x";const u=a.scrollHeight;let f=c;r&&(f=Math.max(Number(r)*u,f)),n&&(f=Math.min(Number(n)*u,f)),f=Math.max(f,u);const g=f+("border-box"===i?l+s:0),b=Math.abs(f-c)<=1;h((e=>m.current<20&&(g>0&&Math.abs((e.outerHeightStyle||0)-g)>1||e.overflow!==b)?(m.current+=1,{overflow:b,outerHeightStyle:g}):e))}),[n,r,e.placeholder]);i.useEffect((()=>{const e=go((()=>{m.current=0,g()})),t=yo(d.current);let o;return t.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(o=new ResizeObserver(e),o.observe(d.current)),()=>{e.clear(),t.removeEventListener("resize",e),o&&o.disconnect()}}),[g]),wo((()=>{g()})),i.useEffect((()=>{m.current=0}),[l]);return io(i.Fragment,{children:[ao("textarea",E({value:l,onChange:e=>{m.current=0,c||g(),o&&o(e)},ref:u,rows:r,style:E({height:f.outerHeightStyle,overflow:f.overflow?"hidden":null},a)},s)),ao("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:E({},is,a,{padding:0})})]})}));const ss=["mode","contrastThreshold","tonalOffset"],cs={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:c.white,default:c.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},ds={text:{primary:c.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:c.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function us(e,t,o,n){const r=n.light||n,a=n.dark||1.5*n;e[t]||(e.hasOwnProperty(o)?e[t]=e[o]:"light"===t?e.light=Br(e.main,r):"dark"===t&&(e.dark=zr(e.main,a)))}function ps(e){const{mode:t="light",contrastThreshold:o=3,tonalOffset:n=.2}=e,r=N(e,ss),a=e.primary||function(e="light"){return"dark"===e?{main:h[200],light:h[50],dark:h[400]}:{main:h[700],light:h[400],dark:h[800]}}(t),i=e.secondary||function(e="light"){return"dark"===e?{main:p[200],light:p[50],dark:p[400]}:{main:p[500],light:p[300],dark:p[700]}}(t),l=e.error||function(e="light"){return"dark"===e?{main:d[500],light:d[300],dark:d[700]}:{main:d[700],light:d[400],dark:d[800]}}(t),s=e.info||function(e="light"){return"dark"===e?{main:g[400],light:g[300],dark:g[700]}:{main:g[700],light:g[500],dark:g[900]}}(t),u=e.success||function(e="light"){return"dark"===e?{main:y[400],light:y[300],dark:y[700]}:{main:y[800],light:y[500],dark:y[900]}}(t),m=e.warning||function(e="light"){return"dark"===e?{main:k[400],light:k[300],dark:k[700]}:{main:"#ed6c02",light:k[500],dark:k[900]}}(t);function f(e){return Ar(e,ds.text.primary)>=o?ds.text.primary:cs.text.primary}const b=({color:e,name:t,mainShade:o=500,lightShade:r=300,darkShade:a=700})=>{if(!(e=E({},e)).main&&e[o]&&(e.main=e[o]),!e.hasOwnProperty("main"))throw new Error(mo(11,t?` (${t})`:"",o));if("string"!=typeof e.main)throw new Error(mo(12,t?` (${t})`:"",JSON.stringify(e.main)));return us(e,"light",r,n),us(e,"dark",a,n),e.contrastText||(e.contrastText=f(e.main)),e},v={dark:ds,light:cs};return po(E({common:c,mode:t,primary:b({color:a,name:"primary"}),secondary:b({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:b({color:l,name:"error"}),warning:b({color:m,name:"warning"}),info:b({color:s,name:"info"}),success:b({color:u,name:"success"}),grey:T,contrastThreshold:o,getContrastText:f,augmentColor:b,tonalOffset:n},v[t]),r)}const ms=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const fs={textTransform:"uppercase"},hs='"Roboto", "Helvetica", "Arial", sans-serif';function gs(e,t){const o="function"==typeof t?t(e):t,{fontFamily:n=hs,fontSize:r=14,fontWeightLight:a=300,fontWeightRegular:i=400,fontWeightMedium:l=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:d,pxToRem:u}=o,p=N(o,ms),m=r/14,f=u||(e=>e/c*m+"rem"),h=(e,t,o,r,a)=>{return E({fontFamily:n,fontWeight:e,fontSize:f(t),lineHeight:o},n===hs?{letterSpacing:(i=r/t,Math.round(1e5*i)/1e5)+"em"}:{},a,d);var i},g={h1:h(a,96,1.167,-1.5),h2:h(a,60,1.2,-.5),h3:h(i,48,1.167,0),h4:h(i,34,1.235,.25),h5:h(i,24,1.334,0),h6:h(l,20,1.6,.15),subtitle1:h(i,16,1.75,.15),subtitle2:h(l,14,1.57,.1),body1:h(i,16,1.5,.15),body2:h(i,14,1.43,.15),button:h(l,14,1.75,.4,fs),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,fs)};return po(E({htmlFontSize:c,pxToRem:f,fontFamily:n,fontSize:r,fontWeightLight:a,fontWeightRegular:i,fontWeightMedium:l,fontWeightBold:s},g),p,{clone:!1})}function bs(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}var vs=["none",bs(0,2,1,-1,0,1,1,0,0,1,3,0),bs(0,3,1,-2,0,2,2,0,0,1,5,0),bs(0,3,3,-2,0,3,4,0,0,1,8,0),bs(0,2,4,-1,0,4,5,0,0,1,10,0),bs(0,3,5,-1,0,5,8,0,0,1,14,0),bs(0,3,5,-1,0,6,10,0,0,1,18,0),bs(0,4,5,-2,0,7,10,1,0,2,16,1),bs(0,5,5,-3,0,8,10,1,0,3,14,2),bs(0,5,6,-3,0,9,12,1,0,3,16,2),bs(0,6,6,-3,0,10,14,1,0,4,18,3),bs(0,6,7,-4,0,11,15,1,0,4,20,3),bs(0,7,8,-4,0,12,17,2,0,5,22,4),bs(0,7,8,-4,0,13,19,2,0,5,24,4),bs(0,7,9,-4,0,14,21,2,0,5,26,4),bs(0,8,9,-5,0,15,22,2,0,6,28,5),bs(0,8,10,-5,0,16,24,2,0,6,30,5),bs(0,8,11,-5,0,17,26,2,0,6,32,5),bs(0,9,11,-5,0,18,28,2,0,7,34,6),bs(0,9,12,-6,0,19,29,2,0,7,36,6),bs(0,10,13,-6,0,20,31,3,0,8,38,7),bs(0,10,13,-6,0,21,33,3,0,8,40,7),bs(0,10,14,-6,0,22,35,3,0,8,42,7),bs(0,11,14,-7,0,23,36,3,0,9,44,8),bs(0,11,15,-7,0,24,38,3,0,9,46,8)];const ys=["duration","easing","delay"],xs={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},ws={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ss(e){return`${Math.round(e)}ms`}function Cs(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function ks(e){const t=E({},xs,e.easing),o=E({},ws,e.duration);return E({getAutoHeightDuration:Cs,create:(e=["all"],n={})=>{const{duration:r=o.standard,easing:a=t.easeInOut,delay:i=0}=n;return N(n,ys),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof r?r:Ss(r)} ${a} ${"string"==typeof i?i:Ss(i)}`)).join(",")}},e,{easing:t,duration:o})}var Rs={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const Ms=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Ts(e={},...t){const{mixins:o={},palette:n={},transitions:r={},typography:a={}}=e,i=N(e,Ms),l=ps(n),s=sr(e);let c=po(s,{mixins:(d=s.breakpoints,s.spacing,u=o,E({toolbar:{minHeight:56,[`${d.up("xs")} and (orientation: landscape)`]:{minHeight:48},[d.up("sm")]:{minHeight:64}}},u)),palette:l,shadows:vs.slice(),typography:gs(l,a),transitions:ks(r),zIndex:E({},Rs)});var d,u;return c=po(c,i),c=t.reduce(((e,t)=>po(e,t)),c),c}let $s=!1;function Ps(e){return String(parseFloat(e)).length===String(e).length}function Is(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function Ls(e){return parseFloat(e)}function Es({lineHeight:e,pixels:t,htmlFontSize:o}){return t/(e*o)}var Ns=Ts();function As(){return hr(Ns)}function Os({props:e,name:t}){return Tr({props:e,name:t,defaultTheme:Ns})}const zs=e=>kr(e)&&"classes"!==e,Bs=kr;var Fs=function(e={}){const{defaultTheme:t=Rr,rootShouldForwardProp:o=kr,slotShouldForwardProp:n=kr}=e;return(e,r={})=>{const{name:a,slot:i,skipVariantsResolver:l,skipSx:s,overridesResolver:c}=r,d=N(r,xr),u=void 0!==l?l:i&&"Root"!==i||!1,p=s||!1;let m=kr;"Root"===i?m=o:i&&(m=n);const f=co(e,E({shouldForwardProp:m,label:undefined},d)),h=(e,...o)=>{const n=o?o.map((e=>"function"==typeof e&&e.__emotion_real!==e?o=>{let{theme:n}=o,r=N(o,wr);return e(E({theme:Cr(n)?t:n},r))}:e)):[];let r=e;a&&c&&n.push((e=>{const o=Cr(e.theme)?t:e.theme,n=((e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null)(a,o);if(n){const t={};return Object.entries(n).forEach((([o,n])=>{t[o]="function"==typeof n?n(e):n})),c(e,t)}return null})),a&&!u&&n.push((e=>{const o=Cr(e.theme)?t:e.theme;return((e,t,o,n)=>{var r,a;const{ownerState:i={}}=e,l=[],s=null==o||null==(r=o.components)||null==(a=r[n])?void 0:a.variants;return s&&s.forEach((o=>{let n=!0;Object.keys(o.props).forEach((t=>{i[t]!==o.props[t]&&e[t]!==o.props[t]&&(n=!1)})),n&&l.push(t[yr(o.props)])})),l})(e,((e,t)=>{let o=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(o=t.components[e].variants);const n={};return o.forEach((e=>{const t=yr(e.props);n[t]=e.style})),n})(a,o),o,a)})),p||n.push((e=>Jn(E({},e,{theme:Cr(e.theme)?t:e.theme}))));const i=n.length-o.length;if(Array.isArray(e)&&i>0){const t=new Array(i).fill("");r=[...e,...t],r.raw=[...e.raw,...t]}else"function"==typeof e&&(r=o=>{let{theme:n}=o,r=N(o,Sr);return e(E({theme:Cr(n)?t:n},r))});return f(r,...n)};return f.withConfig&&(h.withConfig=f.withConfig),h}}({defaultTheme:Ns,rootShouldForwardProp:zs});function Ds(e){return ea("MuiSvgIcon",e)}var Ws=ta("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Vs=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Hs=Fs("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,"inherit"!==o.color&&t[`color${fo(o.color)}`],t[`fontSize${fo(o.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var o,n;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter}),fontSize:{inherit:"inherit",small:e.typography.pxToRem(20),medium:e.typography.pxToRem(24),large:e.typography.pxToRem(35)}[t.fontSize],color:null!=(o=null==(n=e.palette[t.color])?void 0:n.main)?o:{action:e.palette.action.active,disabled:e.palette.action.disabled,inherit:void 0}[t.color]}})),Us=i.forwardRef((function(e,t){const o=Os({props:e,name:"MuiSvgIcon"}),{children:n,className:r,color:a="inherit",component:i="svg",fontSize:l="medium",htmlColor:s,inheritViewBox:c=!1,titleAccess:d,viewBox:u="0 0 24 24"}=o,p=N(o,Vs),m=E({},o,{color:a,component:i,fontSize:l,inheritViewBox:c,viewBox:u}),f={};c||(f.viewBox=u);const h=(e=>{const{color:t,fontSize:o,classes:n}=e;return Yr({root:["root","inherit"!==t&&`color${fo(t)}`,`fontSize${fo(o)}`]},Ds,n)})(m);return io(Hs,E({as:i,className:or(h.root,r),ownerState:m,focusable:"false",color:s,"aria-hidden":!d||void 0,role:d?"img":void 0,ref:t},f,p,{children:[n,d?ao("title",{children:d}):null]}))}));Us.muiName="SvgIcon";var js=Us;function Gs(e,t){const o=(o,n)=>ao(js,E({"data-testid":`${t}Icon`,ref:n},o,{children:e}));return o.muiName=js.muiName,i.memo(i.forwardRef(o))}function _s(e,t){return(_s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qs(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_s(e,t)}var Ks=!1,Xs=a.default.createContext(null),Ys="unmounted",Zs="exited",Js="entering",Qs="entered",ec="exiting",tc=function(e){function t(t,o){var n;n=e.call(this,t,o)||this;var r,a=o&&!o.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?a?(r=Zs,n.appearStatus=Js):r=Qs:r=t.unmountOnExit||t.mountOnEnter?Ys:Zs,n.state={status:r},n.nextCallback=null,n}qs(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Ys?{status:Zs}:null};var o=t.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(e){var t=null;if(e!==this.props){var o=this.state.status;this.props.in?o!==Js&&o!==Qs&&(t=Js):o!==Js&&o!==Qs||(t=ec)}this.updateStatus(!1,t)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var e,t,o,n=this.props.timeout;return e=t=o=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,o=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:o}},o.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===Js?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===Zs&&this.setState({status:Ys})},o.performEnter=function(e){var t=this,o=this.props.enter,n=this.context?this.context.isMounting:e,r=this.props.nodeRef?[n]:[s.default.findDOMNode(this),n],a=r[0],i=r[1],l=this.getTimeouts(),c=n?l.appear:l.enter;!e&&!o||Ks?this.safeSetState({status:Qs},(function(){t.props.onEntered(a)})):(this.props.onEnter(a,i),this.safeSetState({status:Js},(function(){t.props.onEntering(a,i),t.onTransitionEnd(c,(function(){t.safeSetState({status:Qs},(function(){t.props.onEntered(a,i)}))}))})))},o.performExit=function(){var e=this,t=this.props.exit,o=this.getTimeouts(),n=this.props.nodeRef?void 0:s.default.findDOMNode(this);t&&!Ks?(this.props.onExit(n),this.safeSetState({status:ec},(function(){e.props.onExiting(n),e.onTransitionEnd(o.exit,(function(){e.safeSetState({status:Zs},(function(){e.props.onExited(n)}))}))}))):this.safeSetState({status:Zs},(function(){e.props.onExited(n)}))},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},o.setNextCallback=function(e){var t=this,o=!0;return this.nextCallback=function(n){o&&(o=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},o.onTransitionEnd=function(e,t){this.setNextCallback(t);var o=this.props.nodeRef?this.props.nodeRef.current:s.default.findDOMNode(this),n=null==e&&!this.props.addEndListener;if(o&&!n){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],a=r[0],i=r[1];this.props.addEndListener(a,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if(e===Ys)return null;var t=this.props,o=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var n=N(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return a.default.createElement(Xs.Provider,{value:null},"function"==typeof o?o(e,n):a.default.cloneElement(a.default.Children.only(o),n))},t}(a.default.Component);function oc(){}tc.contextType=Xs,tc.propTypes={},tc.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:oc,onEntering:oc,onEntered:oc,onExit:oc,onExiting:oc,onExited:oc},tc.UNMOUNTED=Ys,tc.EXITED=Zs,tc.ENTERING=Js,tc.ENTERED=Qs,tc.EXITING=ec;var nc=tc;function rc(e,o){var n=Object.create(null);return e&&t.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return o&&t.isValidElement(e)?o(e):e}(e)})),n}function ac(e,t,o){return null!=o[t]?o[t]:e.props[t]}function ic(e,o,n){var r=rc(e.children),a=function(e,t){function o(o){return o in t?t[o]:e[o]}e=e||{},t=t||{};var n,r=Object.create(null),a=[];for(var i in e)i in t?a.length&&(r[i]=a,a=[]):a.push(i);var l={};for(var s in t){if(r[s])for(n=0;n<r[s].length;n++){var c=r[s][n];l[r[s][n]]=o(c)}l[s]=o(s)}for(n=0;n<a.length;n++)l[a[n]]=o(a[n]);return l}(o,r);return Object.keys(a).forEach((function(i){var l=a[i];if(t.isValidElement(l)){var s=i in o,c=i in r,d=o[i],u=t.isValidElement(d)&&!d.props.in;!c||s&&!u?c||!s||u?c&&s&&t.isValidElement(d)&&(a[i]=t.cloneElement(l,{onExited:n.bind(null,l),in:d.props.in,exit:ac(l,"exit",e),enter:ac(l,"enter",e)})):a[i]=t.cloneElement(l,{in:!1}):a[i]=t.cloneElement(l,{onExited:n.bind(null,l),in:!0,exit:ac(l,"exit",e),enter:ac(l,"enter",e)})}})),a}var lc=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},sc=function(e){function o(t,o){var n,r=(n=e.call(this,t,o)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:r,firstRender:!0},n}qs(o,e);var n=o.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},o.getDerivedStateFromProps=function(e,o){var n,r,a=o.children,i=o.handleExited;return{children:o.firstRender?(n=e,r=i,rc(n.children,(function(e){return t.cloneElement(e,{onExited:r.bind(null,e),in:!0,appear:ac(e,"appear",n),enter:ac(e,"enter",n),exit:ac(e,"exit",n)})}))):ic(e,a,i),firstRender:!1}},n.handleExited=function(e,t){var o=rc(this.props.children);e.key in o||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var o=E({},t.children);return delete o[e.key],{children:o}})))},n.render=function(){var e=this.props,t=e.component,o=e.childFactory,n=N(e,["component","childFactory"]),r=this.state.contextValue,i=lc(this.state.children).map(o);return delete n.appear,delete n.enter,delete n.exit,null===t?a.default.createElement(Xs.Provider,{value:r},i):a.default.createElement(Xs.Provider,{value:r},a.default.createElement(t,n,i))},o}(a.default.Component);sc.propTypes={},sc.defaultProps={component:"div",childFactory:function(e){return e}};var cc=sc;const dc=e=>e.scrollTop;function uc(e,t){var o,n;const{timeout:r,easing:a,style:i={}}=e;return{duration:null!=(o=i.transitionDuration)?o:"number"==typeof r?r:r[t.mode]||0,easing:null!=(n=i.transitionTimingFunction)?n:"object"==typeof a?a[t.mode]:a,delay:i.transitionDelay}}function pc(e){return ea("MuiCollapse",e)}var mc=ta("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const fc=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],hc=Fs("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],"entered"===o.state&&t.entered,"exited"===o.state&&!o.in&&"0px"===o.collapsedSize&&t.hidden]}})((({theme:e,ownerState:t})=>E({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===t.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===t.state&&E({height:"auto",overflow:"visible"},"horizontal"===t.orientation&&{width:"auto"}),"exited"===t.state&&!t.in&&"0px"===t.collapsedSize&&{visibility:"hidden"}))),gc=Fs("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})((({ownerState:e})=>E({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),bc=Fs("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})((({ownerState:e})=>E({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),vc=i.forwardRef((function(e,t){const o=Os({props:e,name:"MuiCollapse"}),{addEndListener:n,children:r,className:a,collapsedSize:l="0px",component:s,easing:c,in:d,onEnter:u,onEntered:p,onEntering:m,onExit:f,onExited:h,onExiting:g,orientation:b="vertical",style:v,timeout:y=ws.standard,TransitionComponent:x=nc}=o,w=N(o,fc),S=E({},o,{orientation:b,collapsedSize:l}),C=(e=>{const{orientation:t,classes:o}=e;return Yr({root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]},pc,o)})(S),k=As(),R=i.useRef(),M=i.useRef(null),T=i.useRef(),$="number"==typeof l?`${l}px`:l,P="horizontal"===b,I=P?"width":"height";i.useEffect((()=>()=>{clearTimeout(R.current)}),[]);const L=i.useRef(null),A=Mo(t,L),O=e=>t=>{if(e){const o=L.current;void 0===t?e(o):e(o,t)}},z=()=>M.current?M.current[P?"clientWidth":"clientHeight"]:0,B=O(((e,t)=>{M.current&&P&&(M.current.style.position="absolute"),e.style[I]=$,u&&u(e,t)})),F=O(((e,t)=>{const o=z();M.current&&P&&(M.current.style.position="");const{duration:n,easing:r}=uc({style:v,timeout:y,easing:c},{mode:"enter"});if("auto"===y){const t=k.transitions.getAutoHeightDuration(o);e.style.transitionDuration=`${t}ms`,T.current=t}else e.style.transitionDuration="string"==typeof n?n:`${n}ms`;e.style[I]=`${o}px`,e.style.transitionTimingFunction=r,m&&m(e,t)})),D=O(((e,t)=>{e.style[I]="auto",p&&p(e,t)})),W=O((e=>{e.style[I]=`${z()}px`,f&&f(e)})),V=O(h),H=O((e=>{const t=z(),{duration:o,easing:n}=uc({style:v,timeout:y,easing:c},{mode:"exit"});if("auto"===y){const o=k.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${o}ms`,T.current=o}else e.style.transitionDuration="string"==typeof o?o:`${o}ms`;e.style[I]=$,e.style.transitionTimingFunction=n,g&&g(e)}));return ao(x,E({in:d,onEnter:B,onEntered:D,onEntering:F,onExit:W,onExited:V,onExiting:H,addEndListener:e=>{"auto"===y&&(R.current=setTimeout(e,T.current||0)),n&&n(L.current,e)},nodeRef:L,timeout:"auto"===y?null:y},w,{children:(e,t)=>ao(hc,E({as:s,className:or(C.root,a,{entered:C.entered,exited:!d&&"0px"===$&&C.hidden}[e]),style:E({[P?"minWidth":"minHeight"]:$},v),ownerState:E({},S,{state:e}),ref:A},t,{children:ao(gc,{ownerState:E({},S,{state:e}),className:C.wrapper,ref:M,children:ao(bc,{ownerState:E({},S,{state:e}),className:C.wrapperInner,children:r})})}))}))}));vc.muiSupportAuto=!0;var yc=vc;function xc(e){return ea("MuiPaper",e)}var wc=ta("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Sc=["className","component","elevation","square","variant"],Cc=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)},kc=Fs("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],!o.square&&t.rounded,"elevation"===o.variant&&t[`elevation${o.elevation}`]]}})((({theme:e,ownerState:t})=>E({backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${e.palette.divider}`},"elevation"===t.variant&&E({boxShadow:e.shadows[t.elevation]},"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${Or("#fff",Cc(t.elevation))}, ${Or("#fff",Cc(t.elevation))})`}))));var Rc=i.forwardRef((function(e,t){const o=Os({props:e,name:"MuiPaper"}),{className:n,component:r="div",elevation:a=1,square:i=!1,variant:l="elevation"}=o,s=N(o,Sc),c=E({},o,{component:r,elevation:a,square:i,variant:l}),d=(e=>{const{square:t,elevation:o,variant:n,classes:r}=e;return Yr({root:["root",n,!t&&"rounded","elevation"===n&&`elevation${o}`]},xc,r)})(c);return ao(kc,E({as:r,ownerState:c,className:or(d.root,n),ref:t},s))}));var Mc=i.createContext({});function Tc(e){return ea("MuiAccordion",e)}var $c=ta("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]);const Pc=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","TransitionComponent","TransitionProps"],Ic=Fs(Rc,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${$c.region}`]:t.region},t.root,!o.square&&t.rounded,!o.disableGutters&&t.gutters]}})((({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:e.palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&:before":{display:"none"}},[`&.${$c.expanded}`]:{"&:before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&:before":{display:"none"}}},[`&.${$c.disabled}`]:{backgroundColor:e.palette.action.disabledBackground}}}),(({theme:e,ownerState:t})=>E({},!t.square&&{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:e.shape.borderRadius,borderBottomRightRadius:e.shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},!t.disableGutters&&{[`&.${$c.expanded}`]:{margin:"16px 0"}})));var Lc=i.forwardRef((function(e,t){const o=Os({props:e,name:"MuiAccordion"}),{children:n,className:r,defaultExpanded:a=!1,disabled:l=!1,disableGutters:s=!1,expanded:c,onChange:d,square:u=!1,TransitionComponent:p=yc,TransitionProps:m}=o,f=N(o,Pc),[h,g]=ko({controlled:c,default:a,name:"Accordion",state:"expanded"}),b=i.useCallback((e=>{g(!h),d&&d(e,!h)}),[h,d,g]),[v,...y]=i.Children.toArray(n),x=i.useMemo((()=>({expanded:h,disabled:l,disableGutters:s,toggle:b})),[h,l,s,b]),w=E({},o,{square:u,disabled:l,disableGutters:s,expanded:h}),S=(e=>{const{classes:t,square:o,expanded:n,disabled:r,disableGutters:a}=e;return Yr({root:["root",!o&&"rounded",n&&"expanded",r&&"disabled",!a&&"gutters"],region:["region"]},Tc,t)})(w);return io(Ic,E({className:or(S.root,r),ref:t,ownerState:w,square:u},f,{children:[ao(Mc.Provider,{value:x,children:v}),ao(p,E({in:h,timeout:"auto"},m,{children:ao("div",{"aria-labelledby":v.props.id,id:v.props["aria-controls"],role:"region",className:S.region,children:y})}))]}))}));function Ec(e){return ea("MuiAccordionActions",e)}var Nc=ta("MuiAccordionActions",["root","spacing"]);const Ac=["className","disableSpacing"],Oc=Fs("div",{name:"MuiAccordionActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.disableSpacing&&t.spacing]}})((({ownerState:e})=>E({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end"},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})));var zc=i.forwardRef((function(e,t){const o=Os({props:e,name:"MuiAccordionActions"}),{className:n,disableSpacing:r=!1}=o,a=N(o,Ac),i=E({},o,{disableSpacing:r}),l=(e=>{const{classes:t,disableSpacing:o}=e;return Yr({root:["root",!o&&"spacing"]},Ec,t)})(i);return ao(Oc,E({className:or(l.root,n),ref:t,ownerState:i},a))}));function Bc(e){return ea("MuiAccordionDetails",e)}var Fc=ta("MuiAccordionDetails",["root"]);const Dc=["className"],Wc=Fs("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({padding:e.spacing(1,2,2)})));var Vc=i.forwardRef((function(e,t){const o=Os({props:e,name:"MuiAccordionDetails"}),{className:n}=o,r=N(o,Dc),a=o,i=(e=>{const{classes:t}=e;return Yr({root:["root"]},Bc,t)})(a);return ao(Wc,E({className:or(i.root,n),ref:t,ownerState:a},r))}));var Hc=ta("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);const Uc=["center","classes","className"];let jc,Gc,_c,qc,Kc=e=>e;const Xc=jt(jc||(jc=Kc`
|
|
11
|
+
*/Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;!function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},o=0;o<10;o++)t["_"+String.fromCharCode(o)]=o;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()||Object.assign;function Qt(){}function eo(){}Function.call.bind(Object.prototype.hasOwnProperty),eo.resetWarningCache=Qt;var to=A((function(e){e.exports=function(){function e(e,t,o,n,r,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var o={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:eo,resetWarningCache:Qt};return o.PropTypes=o,o}()}));to.elementType,to.bool,to.func,to.object,to.oneOfType,to.element;var oo=A((function(e,t){var o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var n=Symbol.for;o=n("react.element"),t.Fragment=n("react.fragment")}var r=a.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var a,s={},c=null,d=null;for(a in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)i.call(t,a)&&!l.hasOwnProperty(a)&&(s[a]=t[a]);if(e&&e.defaultProps)for(a in t=e.defaultProps)void 0===s[a]&&(s[a]=t[a]);return{$$typeof:o,type:e,key:c,ref:d,props:s,_owner:r.current}}t.jsx=s,t.jsxs=s}));oo.Fragment,oo.jsx,oo.jsxs;var no=A((function(e,t){}));no.Fragment,no.jsx,no.jsxs;var ro=A((function(e){e.exports=oo})),ao=ro.jsx,io=ro.jsxs;const lo=He({key:"css",prepend:!0});function so(e){const{styles:t,defaultTheme:o={}}=e;return ao(Ht,{styles:"function"==typeof t?e=>{return t(null==(n=e)||0===Object.keys(n).length?o:e);var n}:t})}function co(e,t){return Jt(e,t)}function uo(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function po(e,t,o={clone:!0}){const n=o.clone?E({},e):e;return uo(e)&&uo(t)&&Object.keys(t).forEach((r=>{"__proto__"!==r&&(uo(t[r])&&r in e&&uo(e[r])?n[r]=po(e[r],t[r],o):n[r]=t[r])})),n}function mo(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function fo(e){if("string"!=typeof e)throw new Error(mo(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ho(...e){return e.reduce(((e,t)=>null==t?e:function(...o){e.apply(this,o),t.apply(this,o)}),(()=>{}))}function go(e,t=166){let o;function n(...n){clearTimeout(o),o=setTimeout((()=>{e.apply(this,n)}),t)}return n.clear=()=>{clearTimeout(o)},n}function bo(e,t){return i.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}function vo(e){return e&&e.ownerDocument||document}function yo(e){return vo(e).defaultView||window}function xo(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var wo="undefined"!=typeof window?i.useLayoutEffect:i.useEffect;let So=0;function Co(e){const[t,o]=i.useState(e),n=e||t;return i.useEffect((()=>{null==t&&(So+=1,o(`mui-${So}`))}),[t]),n}function ko({controlled:e,default:t,name:o,state:n="value"}){const{current:r}=i.useRef(void 0!==e),[a,l]=i.useState(t);return[r?e:a,i.useCallback((e=>{r||l(e)}),[])]}function Ro(e){const t=i.useRef(e);return wo((()=>{t.current=e})),i.useCallback(((...e)=>(0,t.current)(...e)),[])}function Mo(e,t){return i.useMemo((()=>null==e&&null==t?null:o=>{xo(e,o),xo(t,o)}),[e,t])}let To,$o=!0,Po=!1;const Io={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Lo(e){e.metaKey||e.altKey||e.ctrlKey||($o=!0)}function Eo(){$o=!1}function No(){"hidden"===this.visibilityState&&Po&&($o=!0)}function Ao(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return $o||function(e){const{type:t,tagName:o}=e;return!("INPUT"!==o||!Io[t]||e.readOnly)||"TEXTAREA"===o&&!e.readOnly||!!e.isContentEditable}(t)}function Oo(){const e=i.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",Lo,!0),t.addEventListener("mousedown",Eo,!0),t.addEventListener("pointerdown",Eo,!0),t.addEventListener("touchstart",Eo,!0),t.addEventListener("visibilitychange",No,!0))}),[]),t=i.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Ao(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(Po=!0,window.clearTimeout(To),To=window.setTimeout((()=>{Po=!1}),100),t.current=!1,!0)},ref:e}}function zo(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Bo;function Fo(){if(Bo)return Bo;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),Bo="reverse",e.scrollLeft>0?Bo="default":(e.scrollLeft=1,0===e.scrollLeft&&(Bo="negative")),document.body.removeChild(e),Bo}function Do(e,t){const o=e.scrollLeft;if("rtl"!==t)return o;switch(Fo()){case"negative":return e.scrollWidth-e.clientWidth+o;case"reverse":return e.scrollWidth-e.clientWidth-o;default:return o}}var Wo=e=>{const t=i.useRef({});return i.useEffect((()=>{t.current=e})),t.current};var Vo={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function Ho(e,t){const o=E({},t);return Object.keys(e).forEach((t=>{void 0===o[t]&&(o[t]=e[t])})),o}function Uo(e,t){return t?po(e,t,{clone:!1}):e}const jo={xs:0,sm:600,md:900,lg:1200,xl:1536},Go={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${jo[e]}px)`};function _o(e,t,o){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||Go;return t.reduce(((n,r,a)=>(n[e.up(e.keys[a])]=o(t[a]),n)),{})}if("object"==typeof t){const e=n.breakpoints||Go;return Object.keys(t).reduce(((n,r)=>{if(-1!==Object.keys(e.values||jo).indexOf(r)){n[e.up(r)]=o(t[r],r)}else{const e=r;n[e]=t[e]}return n}),{})}return o(t)}function qo({values:e,breakpoints:t,base:o}){const n=o||function(e,t){if("object"!=typeof e)return{};const o={},n=Object.keys(t);return Array.isArray(e)?n.forEach(((t,n)=>{n<e.length&&(o[t]=!0)})):n.forEach((t=>{null!=e[t]&&(o[t]=!0)})),o}(e,t),r=Object.keys(n);if(0===r.length)return e;let a;return r.reduce(((t,o,n)=>(Array.isArray(e)?(t[o]=null!=e[n]?e[n]:e[a],a=n):(t[o]=null!=e[o]?e[o]:e[a]||e,a=o),t)),{})}function Ko(e,t){return t&&"string"==typeof t?t.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e):null}function Xo(e,t,o,n=o){let r;return r="function"==typeof e?e(o):Array.isArray(e)?e[o]||n:Ko(e,o)||n,t&&(r=t(r)),r}function Yo(e){const{prop:t,cssProperty:o=e.prop,themeKey:n,transform:r}=e,a=e=>{if(null==e[t])return null;const a=e[t],i=Ko(e.theme,n)||{};return _o(e,a,(e=>{let n=Xo(i,r,e);return e===n&&"string"==typeof e&&(n=Xo(i,r,`${t}${"default"===e?"":fo(e)}`,e)),!1===o?n:{[o]:n}}))};return a.propTypes={},a.filterProps=[t],a}function Zo(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((o=>{e[o]=t})),e)),{}),o=e=>Object.keys(e).reduce(((o,n)=>t[n]?Uo(o,t[n](e)):o),{});return o.propTypes={},o.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),o}const Jo={m:"margin",p:"padding"},Qo={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},en={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},tn=function(e){const t={};return o=>(void 0===t[o]&&(t[o]=e(o)),t[o])}((e=>{if(e.length>2){if(!en[e])return[e];e=en[e]}const[t,o]=e.split(""),n=Jo[t],r=Qo[o]||"";return Array.isArray(r)?r.map((e=>n+e)):[n+r]})),on=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd","p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function nn(e,t,o,n){const r=Ko(e,t)||o;return"number"==typeof r?e=>"string"==typeof e?e:r*e:Array.isArray(r)?e=>"string"==typeof e?e:r[e]:"function"==typeof r?r:()=>{}}function rn(e){return nn(e,"spacing",8)}function an(e,t){if("string"==typeof t||null==t)return t;const o=e(Math.abs(t));return t>=0?o:"number"==typeof o?-o:`-${o}`}function ln(e,t,o,n){if(-1===t.indexOf(o))return null;const r=function(e,t){return o=>e.reduce(((e,n)=>(e[n]=an(t,o),e)),{})}(tn(o),n);return _o(e,e[o],r)}function sn(e){return function(e,t){const o=rn(e.theme);return Object.keys(e).map((n=>ln(e,t,n,o))).reduce(Uo,{})}(e,on)}function cn(e){return"number"!=typeof e?e:`${e}px solid`}sn.propTypes={},sn.filterProps=on;const dn=Yo({prop:"border",themeKey:"borders",transform:cn}),un=Yo({prop:"borderTop",themeKey:"borders",transform:cn}),pn=Yo({prop:"borderRight",themeKey:"borders",transform:cn}),mn=Yo({prop:"borderBottom",themeKey:"borders",transform:cn}),fn=Yo({prop:"borderLeft",themeKey:"borders",transform:cn}),hn=Yo({prop:"borderColor",themeKey:"palette"}),gn=Yo({prop:"borderTopColor",themeKey:"palette"}),bn=Yo({prop:"borderRightColor",themeKey:"palette"}),vn=Yo({prop:"borderBottomColor",themeKey:"palette"}),yn=Yo({prop:"borderLeftColor",themeKey:"palette"}),xn=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=nn(e.theme,"shape.borderRadius",4),o=e=>({borderRadius:an(t,e)});return _o(e,e.borderRadius,o)}return null};xn.propTypes={},xn.filterProps=["borderRadius"];var wn=Zo(dn,un,pn,mn,fn,hn,gn,bn,vn,yn,xn);var Sn=Zo(Yo({prop:"displayPrint",cssProperty:!1,transform:e=>({"@media print":{display:e}})}),Yo({prop:"display"}),Yo({prop:"overflow"}),Yo({prop:"textOverflow"}),Yo({prop:"visibility"}),Yo({prop:"whiteSpace"}));var Cn=Zo(Yo({prop:"flexBasis"}),Yo({prop:"flexDirection"}),Yo({prop:"flexWrap"}),Yo({prop:"justifyContent"}),Yo({prop:"alignItems"}),Yo({prop:"alignContent"}),Yo({prop:"order"}),Yo({prop:"flex"}),Yo({prop:"flexGrow"}),Yo({prop:"flexShrink"}),Yo({prop:"alignSelf"}),Yo({prop:"justifyItems"}),Yo({prop:"justifySelf"}));const kn=e=>{if(void 0!==e.gap&&null!==e.gap){const t=nn(e.theme,"spacing",8),o=e=>({gap:an(t,e)});return _o(e,e.gap,o)}return null};kn.propTypes={},kn.filterProps=["gap"];const Rn=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=nn(e.theme,"spacing",8),o=e=>({columnGap:an(t,e)});return _o(e,e.columnGap,o)}return null};Rn.propTypes={},Rn.filterProps=["columnGap"];const Mn=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=nn(e.theme,"spacing",8),o=e=>({rowGap:an(t,e)});return _o(e,e.rowGap,o)}return null};Mn.propTypes={},Mn.filterProps=["rowGap"];var Tn=Zo(kn,Rn,Mn,Yo({prop:"gridColumn"}),Yo({prop:"gridRow"}),Yo({prop:"gridAutoFlow"}),Yo({prop:"gridAutoColumns"}),Yo({prop:"gridAutoRows"}),Yo({prop:"gridTemplateColumns"}),Yo({prop:"gridTemplateRows"}),Yo({prop:"gridTemplateAreas"}),Yo({prop:"gridArea"}));var $n=Zo(Yo({prop:"color",themeKey:"palette"}),Yo({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),Yo({prop:"backgroundColor",themeKey:"palette"}));var Pn=Zo(Yo({prop:"position"}),Yo({prop:"zIndex",themeKey:"zIndex"}),Yo({prop:"top"}),Yo({prop:"right"}),Yo({prop:"bottom"}),Yo({prop:"left"}));var In=Yo({prop:"boxShadow",themeKey:"shadows"});function Ln(e){return e<=1&&0!==e?100*e+"%":e}const En=Yo({prop:"width",transform:Ln}),Nn=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var o,n,r;return{maxWidth:(null==(o=e.theme)||null==(n=o.breakpoints)||null==(r=n.values)?void 0:r[t])||jo[t]||Ln(t)}};return _o(e,e.maxWidth,t)}return null};Nn.filterProps=["maxWidth"];const An=Yo({prop:"minWidth",transform:Ln}),On=Yo({prop:"height",transform:Ln}),zn=Yo({prop:"maxHeight",transform:Ln}),Bn=Yo({prop:"minHeight",transform:Ln});Yo({prop:"size",cssProperty:"width",transform:Ln}),Yo({prop:"size",cssProperty:"height",transform:Ln});var Fn=Zo(En,Nn,An,On,zn,Bn,Yo({prop:"boxSizing"}));const Dn=Yo({prop:"fontFamily",themeKey:"typography"}),Wn=Yo({prop:"fontSize",themeKey:"typography"}),Vn=Yo({prop:"fontStyle",themeKey:"typography"}),Hn=Yo({prop:"fontWeight",themeKey:"typography"}),Un=Yo({prop:"letterSpacing"}),jn=Yo({prop:"textTransform"}),Gn=Yo({prop:"lineHeight"}),_n=Yo({prop:"textAlign"});var qn=Zo(Yo({prop:"typography",cssProperty:!1,themeKey:"typography"}),Dn,Wn,Vn,Hn,Un,Gn,_n,jn);const Kn={borders:wn.filterProps,display:Sn.filterProps,flexbox:Cn.filterProps,grid:Tn.filterProps,positions:Pn.filterProps,palette:$n.filterProps,shadows:In.filterProps,sizing:Fn.filterProps,spacing:sn.filterProps,typography:qn.filterProps},Xn={borders:wn,display:Sn,flexbox:Cn,grid:Tn,positions:Pn,palette:$n,shadows:In,sizing:Fn,spacing:sn,typography:qn},Yn=Object.keys(Kn).reduce(((e,t)=>(Kn[t].forEach((o=>{e[o]=Xn[t]})),e)),{});function Zn(e,t,o){const n={[e]:t,theme:o},r=Yn[e];return r?r(n):{[e]:t}}function Jn(e){const{sx:t,theme:o={}}=e||{};if(!t)return null;function n(e){let t=e;if("function"==typeof e)t=e(o);else if("object"!=typeof e)return e;const n=function(e={}){var t;return(null==e||null==(t=e.keys)?void 0:t.reduce(((t,o)=>(t[e.up(o)]={},t)),{}))||{}}(o.breakpoints),r=Object.keys(n);let a=n;return Object.keys(t).forEach((e=>{const n=(r=t[e],i=o,"function"==typeof r?r(i):r);var r,i;if(null!=n)if("object"==typeof n)if(Yn[e])a=Uo(a,Zn(e,n,o));else{const t=_o({theme:o},n,(t=>({[e]:t})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),o=new Set(t);return e.every((e=>o.size===Object.keys(e).length))}(t,n)?a=Uo(a,t):a[e]=Jn({sx:n,theme:o})}else a=Uo(a,Zn(e,n,o))})),function(e,t){return e.reduce(((e,t)=>{const o=e[t];return(!o||0===Object.keys(o).length)&&delete e[t],e}),t)}(r,a)}return Array.isArray(t)?t.map(n):n(t)}Jn.filterProps=["sx"];const Qn=["sx"];function er(e){const{sx:t}=e,o=N(e,Qn),{systemProps:n,otherProps:r}=(e=>{const t={systemProps:{},otherProps:{}};return Object.keys(e).forEach((o=>{Yn[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]})),t})(o);let a;return a=Array.isArray(t)?[n,...t]:"function"==typeof t?(...e)=>{const o=t(...e);return uo(o)?E({},n,o):n}:E({},n,t),E({},r,{sx:a})}function tr(e){var t,o,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(o=tr(e[t]))&&(n&&(n+=" "),n+=o);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function or(){for(var e,t,o=0,n="";o<arguments.length;)(e=arguments[o++])&&(t=tr(e))&&(n&&(n+=" "),n+=t);return n}const nr=["values","unit","step"];function rr(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:n=5}=e,r=N(e,nr),a=Object.keys(t);function i(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${o})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${o})`}function s(e,r){const i=a.indexOf(r);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${o}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:r)-n/100}${o})`}return E({keys:a,values:t,up:i,down:l,between:s,only:function(e){return a.indexOf(e)+1<a.length?s(e,a[a.indexOf(e)+1]):i(e)},not:function(e){const t=a.indexOf(e);return 0===t?i(a[1]):t===a.length-1?l(a[t]):s(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:o},r)}var ar={borderRadius:4};function ir(e=8){if(e.mui)return e;const t=rn({spacing:e}),o=(...e)=>(0===e.length?[1]:e).map((e=>{const o=t(e);return"number"==typeof o?`${o}px`:o})).join(" ");return o.mui=!0,o}const lr=["breakpoints","palette","spacing","shape"];function sr(e={},...t){const{breakpoints:o={},palette:n={},spacing:r,shape:a={}}=e,i=N(e,lr),l=rr(o),s=ir(r);let c=po({breakpoints:l,direction:"ltr",components:{},palette:E({mode:"light"},n),spacing:s,shape:E({},ar,a)},i);return c=t.reduce(((e,t)=>po(e,t)),c),c}var cr=i.createContext(null);function dr(){return i.useContext(cr)}var ur="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function pr(e){const{children:t,theme:o}=e,n=dr(),r=i.useMemo((()=>{const e=null===n?o:function(e,t){if("function"==typeof t)return t(e);return E({},e,t)}(n,o);return null!=e&&(e[ur]=null!==n),e}),[o,n]);return ao(cr.Provider,{value:r,children:t})}function mr(e=null){const t=dr();return t&&(o=t,0!==Object.keys(o).length)?t:e;var o}const fr=sr();function hr(e=fr){return mr(e)}const gr=["className","component"];const br=["variant"];function vr(e){return 0===e.length}function yr(e){const{variant:t}=e,o=N(e,br);let n=t||"";return Object.keys(o).sort().forEach((t=>{n+="color"===t?vr(n)?e[t]:fo(e[t]):`${vr(n)?t:fo(t)}${fo(e[t].toString())}`})),n}const xr=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],wr=["theme"],Sr=["theme"];function Cr(e){return 0===Object.keys(e).length}function kr(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Rr=sr();function Mr(e){const{theme:t,name:o,props:n}=e;return t&&t.components&&t.components[o]&&t.components[o].defaultProps?Ho(t.components[o].defaultProps,n):n}function Tr({props:e,name:t,defaultTheme:o}){return Mr({theme:hr(o),name:t,props:e})}function $r(e,t=0,o=1){return Math.min(Math.max(t,e),o)}function Pr(e){e=e.substr(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let o=e.match(t);return o&&1===o[0].length&&(o=o.map((e=>e+e))),o?`rgb${4===o.length?"a":""}(${o.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function Ir(e){if(e.type)return e;if("#"===e.charAt(0))return Ir(Pr(e));const t=e.indexOf("("),o=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(o))throw new Error(mo(9,e));let n,r=e.substring(t+1,e.length-1);if("color"===o){if(r=r.split(" "),n=r.shift(),4===r.length&&"/"===r[3].charAt(0)&&(r[3]=r[3].substr(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error(mo(10,n))}else r=r.split(",");return r=r.map((e=>parseFloat(e))),{type:o,values:r,colorSpace:n}}function Lr(e){const{type:t,colorSpace:o}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${o} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function Er(e){e=Ir(e);const{values:t}=e,o=t[0],n=t[1]/100,r=t[2]/100,a=n*Math.min(r,1-r),i=(e,t=(e+o/30)%12)=>r-a*Math.max(Math.min(t-3,9-t,1),-1);let l="rgb";const s=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),Lr({type:l,values:s})}function Nr(e){let t="hsl"===(e=Ir(e)).type?Ir(Er(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Ar(e,t){const o=Nr(e),n=Nr(t);return(Math.max(o,n)+.05)/(Math.min(o,n)+.05)}function Or(e,t){return e=Ir(e),t=$r(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,Lr(e)}function zr(e,t){if(e=Ir(e),t=$r(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let o=0;o<3;o+=1)e.values[o]*=1-t;return Lr(e)}function Br(e,t){if(e=Ir(e),t=$r(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let o=0;o<3;o+=1)e.values[o]+=(255-e.values[o])*t;else if(-1!==e.type.indexOf("color"))for(let o=0;o<3;o+=1)e.values[o]+=(1-e.values[o])*t;return Lr(e)}function Fr(e,t=.15){return Nr(e)>.5?zr(e,t):Br(e,t)}function Dr(e){const t=hr();return ao(Vt.Provider,{value:"object"==typeof t?t:{},children:e.children})}const Wr=["defaultProps","mixins","overrides","palette","props","styleOverrides"],Vr=["type","mode"];function Hr(e){return"string"==typeof e}function Ur(e,t={},o){return Hr(e)?t:E({},t,{ownerState:E({},t.ownerState,o)})}function jr(e,t=[]){if(void 0===e)return{};const o={};return Object.keys(e).filter((o=>o.match(/^on[A-Z]/)&&"function"==typeof e[o]&&!t.includes(o))).forEach((t=>{o[t]=e[t]})),o}function Gr(e){return void 0!==e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function _r(e={}){const{ignoreAccents:t=!0,ignoreCase:o=!0,limit:n,matchFrom:r="any",stringify:a,trim:i=!1}=e;return(e,{inputValue:l,getOptionLabel:s})=>{let c=i?l.trim():l;o&&(c=c.toLowerCase()),t&&(c=Gr(c));const d=e.filter((e=>{let n=(a||s)(e);return o&&(n=n.toLowerCase()),t&&(n=Gr(n)),"start"===r?0===n.indexOf(c):n.indexOf(c)>-1}));return"number"==typeof n?d.slice(0,n):d}}function qr(e,t){for(let o=0;o<e.length;o+=1)if(t(e[o]))return o;return-1}const Kr=_r();function Xr(e){const{autoComplete:t=!1,autoHighlight:o=!1,autoSelect:n=!1,blurOnSelect:r=!1,disabled:a,clearOnBlur:l=!e.freeSolo,clearOnEscape:s=!1,componentName:c="useAutocomplete",defaultValue:d=(e.multiple?[]:null),disableClearable:u=!1,disableCloseOnSelect:p=!1,disabledItemsFocusable:m=!1,disableListWrap:f=!1,filterOptions:h=Kr,filterSelectedOptions:g=!1,freeSolo:b=!1,getOptionDisabled:v,getOptionLabel:y=(e=>{var t;return null!=(t=e.label)?t:e}),isOptionEqualToValue:x=((e,t)=>e===t),groupBy:w,handleHomeEndKeys:S=!e.freeSolo,id:C,includeInputInList:k=!1,inputValue:R,multiple:M=!1,onChange:T,onClose:$,onHighlightChange:P,onInputChange:I,onOpen:L,open:N,openOnFocus:A=!1,options:O,selectOnFocus:z=!e.freeSolo,value:B}=e,F=Co(C);let D=y;D=e=>{const t=y(e);return"string"!=typeof t?String(t):t};const W=i.useRef(!1),V=i.useRef(!0),H=i.useRef(null),U=i.useRef(null),[j,G]=i.useState(null),[_,q]=i.useState(-1),K=o?0:-1,X=i.useRef(K),[Y,Z]=ko({controlled:B,default:d,name:c}),[J,Q]=ko({controlled:R,default:"",name:c,state:"inputValue"}),[ee,te]=i.useState(!1),oe=i.useCallback(((e,t)=>{if(!(M?Y.length<t.length:null!==t)&&!l)return;let o;if(M)o="";else if(null==t)o="";else{const e=D(t);o="string"==typeof e?e:""}J!==o&&(Q(o),I&&I(e,o,"reset"))}),[D,J,M,I,Q,l,Y]),ne=i.useRef();i.useEffect((()=>{const e=Y!==ne.current;ne.current=Y,ee&&!e||b&&!e||oe(null,Y)}),[Y,oe,ee,ne,b]);const[re,ae]=ko({controlled:N,default:!1,name:c,state:"open"}),[ie,le]=i.useState(!0),se=!M&&null!=Y&&J===D(Y),ce=re,de=ce?h(O.filter((e=>!g||!(M?Y:[Y]).some((t=>null!==t&&x(e,t))))),{inputValue:se&&ie?"":J,getOptionLabel:D}):[],ue=re&&de.length>0,pe=Ro((e=>{-1===e?H.current.focus():j.querySelector(`[data-tag-index="${e}"]`).focus()}));i.useEffect((()=>{M&&_>Y.length-1&&(q(-1),pe(-1))}),[Y,M,_,pe]);const me=Ro((({event:e,index:t,reason:o="auto"})=>{if(X.current=t,-1===t?H.current.removeAttribute("aria-activedescendant"):H.current.setAttribute("aria-activedescendant",`${F}-option-${t}`),P&&P(e,-1===t?null:de[t],o),!U.current)return;const n=U.current.querySelector('[role="option"].Mui-focused');n&&(n.classList.remove("Mui-focused"),n.classList.remove("Mui-focusVisible"));const r=U.current.parentElement.querySelector('[role="listbox"]');if(!r)return;if(-1===t)return void(r.scrollTop=0);const a=U.current.querySelector(`[data-option-index="${t}"]`);if(a&&(a.classList.add("Mui-focused"),"keyboard"===o&&a.classList.add("Mui-focusVisible"),r.scrollHeight>r.clientHeight&&"mouse"!==o)){const e=a,t=r.clientHeight+r.scrollTop,o=e.offsetTop+e.offsetHeight;o>t?r.scrollTop=o-r.clientHeight:e.offsetTop-e.offsetHeight*(w?1.3:0)<r.scrollTop&&(r.scrollTop=e.offsetTop-e.offsetHeight*(w?1.3:0))}})),fe=Ro((({event:e,diff:o,direction:n="next",reason:r="auto"})=>{if(!ce)return;const a=function(e,t){if(!U.current||-1===e)return-1;let o=e;for(;;){if("next"===t&&o===de.length||"previous"===t&&-1===o)return-1;const e=U.current.querySelector(`[data-option-index="${o}"]`),n=!m&&(!e||e.disabled||"true"===e.getAttribute("aria-disabled"));if(!(e&&!e.hasAttribute("tabindex")||n))return o;o+="next"===t?1:-1}}((()=>{const e=de.length-1;if("reset"===o)return K;if("start"===o)return 0;if("end"===o)return e;const t=X.current+o;return t<0?-1===t&&k?-1:f&&-1!==X.current||Math.abs(o)>1?0:e:t>e?t===e+1&&k?-1:f||Math.abs(o)>1?e:0:t})(),n);if(me({index:a,reason:r,event:e}),t&&"reset"!==o)if(-1===a)H.current.value=J;else{const e=D(de[a]);H.current.value=e;0===e.toLowerCase().indexOf(J.toLowerCase())&&J.length>0&&H.current.setSelectionRange(J.length,e.length)}})),he=i.useCallback((()=>{if(!ce)return;const e=M?Y[0]:Y;if(0!==de.length&&null!=e){if(U.current)if(null==e)X.current>=de.length-1?me({index:de.length-1}):me({index:X.current});else{const t=de[X.current];if(M&&t&&-1!==qr(Y,(e=>x(t,e))))return;const o=qr(de,(t=>x(t,e)));-1===o?fe({diff:"reset"}):me({index:o})}}else fe({diff:"reset"})}),[de.length,!M&&Y,g,fe,me,ce,J,M]),ge=Ro((e=>{xo(U,e),e&&he()}));i.useEffect((()=>{he()}),[he]);const be=e=>{re||(ae(!0),le(!0),L&&L(e))},ve=(e,t)=>{re&&(ae(!1),$&&$(e,t))},ye=(e,t,o,n)=>{if(Array.isArray(Y)){if(Y.length===t.length&&Y.every(((e,o)=>e===t[o])))return}else if(Y===t)return;T&&T(e,t,o,n),Z(t)},xe=i.useRef(!1),we=(e,t,o="selectOption",n="options")=>{let a=o,i=t;if(M){i=Array.isArray(Y)?Y.slice():[];const e=qr(i,(e=>x(t,e)));-1===e?i.push(t):"freeSolo"!==n&&(i.splice(e,1),a="removeOption")}oe(e,i),ye(e,i,a,{option:t}),p||e.ctrlKey||e.metaKey||ve(e,a),(!0===r||"touch"===r&&xe.current||"mouse"===r&&!xe.current)&&H.current.blur()};const Se=(e,t)=>{if(!M)return;ve(e,"toggleInput");let o=_;-1===_?""===J&&"previous"===t&&(o=Y.length-1):(o+="next"===t?1:-1,o<0&&(o=0),o===Y.length&&(o=-1)),o=function(e,t){if(-1===e)return-1;let o=e;for(;;){if("next"===t&&o===Y.length||"previous"===t&&-1===o)return-1;const e=j.querySelector(`[data-tag-index="${o}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return o;o+="next"===t?1:-1}}(o,t),q(o),pe(o)},Ce=e=>{W.current=!0,Q(""),I&&I(e,"","clear"),ye(e,M?[]:null,"clear")},ke=e=>o=>{if(e.onKeyDown&&e.onKeyDown(o),!o.defaultMuiPrevented&&(-1!==_&&-1===["ArrowLeft","ArrowRight"].indexOf(o.key)&&(q(-1),pe(-1)),229!==o.which))switch(o.key){case"Home":ce&&S&&(o.preventDefault(),fe({diff:"start",direction:"next",reason:"keyboard",event:o}));break;case"End":ce&&S&&(o.preventDefault(),fe({diff:"end",direction:"previous",reason:"keyboard",event:o}));break;case"PageUp":o.preventDefault(),fe({diff:-5,direction:"previous",reason:"keyboard",event:o}),be(o);break;case"PageDown":o.preventDefault(),fe({diff:5,direction:"next",reason:"keyboard",event:o}),be(o);break;case"ArrowDown":o.preventDefault(),fe({diff:1,direction:"next",reason:"keyboard",event:o}),be(o);break;case"ArrowUp":o.preventDefault(),fe({diff:-1,direction:"previous",reason:"keyboard",event:o}),be(o);break;case"ArrowLeft":Se(o,"previous");break;case"ArrowRight":Se(o,"next");break;case"Enter":if(-1!==X.current&&ce){const e=de[X.current],n=!!v&&v(e);if(o.preventDefault(),n)return;we(o,e,"selectOption"),t&&H.current.setSelectionRange(H.current.value.length,H.current.value.length)}else b&&""!==J&&!1===se&&(M&&o.preventDefault(),we(o,J,"createOption","freeSolo"));break;case"Escape":ce?(o.preventDefault(),o.stopPropagation(),ve(o,"escape")):s&&(""!==J||M&&Y.length>0)&&(o.preventDefault(),o.stopPropagation(),Ce(o));break;case"Backspace":if(M&&""===J&&Y.length>0){const e=-1===_?Y.length-1:_,t=Y.slice();t.splice(e,1),ye(o,t,"removeOption",{option:Y[e]})}}},Re=e=>{te(!0),A&&!W.current&&be(e)},Me=e=>{null!==U.current&&U.current.parentElement.contains(document.activeElement)?H.current.focus():(te(!1),V.current=!0,W.current=!1,n&&-1!==X.current&&ce?we(e,de[X.current],"blur"):n&&b&&""!==J?we(e,J,"blur","freeSolo"):l&&oe(e,Y),ve(e,"blur"))},Te=e=>{const t=e.target.value;J!==t&&(Q(t),le(!1),I&&I(e,t,"input")),""===t?u||M||ye(e,null,"clear"):be(e)},$e=e=>{me({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"mouse"})},Pe=()=>{xe.current=!0},Ie=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));we(e,de[t],"selectOption"),xe.current=!1},Le=e=>t=>{const o=Y.slice();o.splice(e,1),ye(t,o,"removeOption",{option:Y[e]})},Ee=e=>{re?ve(e,"toggleInput"):be(e)},Ne=e=>{e.target.getAttribute("id")!==F&&e.preventDefault()},Ae=()=>{H.current.focus(),z&&V.current&&H.current.selectionEnd-H.current.selectionStart==0&&H.current.select(),V.current=!1},Oe=e=>{""!==J&&re||Ee(e)};let ze=b&&J.length>0;ze=ze||(M?Y.length>0:null!==Y);let Be=de;return w&&(Be=de.reduce(((e,t,o)=>{const n=w(t);return e.length>0&&e[e.length-1].group===n?e[e.length-1].options.push(t):e.push({key:o,index:o,group:n,options:[t]}),e}),[])),a&&ee&&Me(),{getRootProps:(e={})=>E({"aria-owns":ue?`${F}-listbox`:null,role:"combobox","aria-expanded":ue},e,{onKeyDown:ke(e),onMouseDown:Ne,onClick:Ae}),getInputLabelProps:()=>({id:`${F}-label`,htmlFor:F}),getInputProps:()=>({id:F,value:J,onBlur:Me,onFocus:Re,onChange:Te,onMouseDown:Oe,"aria-activedescendant":ce?"":null,"aria-autocomplete":t?"both":"list","aria-controls":ue?`${F}-listbox`:void 0,autoComplete:"off",ref:H,autoCapitalize:"none",spellCheck:"false"}),getClearProps:()=>({tabIndex:-1,onClick:Ce}),getPopupIndicatorProps:()=>({tabIndex:-1,onClick:Ee}),getTagProps:({index:e})=>({key:e,"data-tag-index":e,tabIndex:-1,onDelete:Le(e)}),getListboxProps:()=>({role:"listbox",id:`${F}-listbox`,"aria-labelledby":`${F}-label`,ref:ge,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{const o=(M?Y:[Y]).some((e=>null!=e&&x(t,e))),n=!!v&&v(t);return{key:D(t),tabIndex:-1,role:"option",id:`${F}-option-${e}`,onMouseOver:$e,onClick:Ie,onTouchStart:Pe,"data-option-index":e,"aria-disabled":n,"aria-selected":o}},id:F,inputValue:J,value:Y,dirty:ze,popupOpen:ce,focused:ee||-1!==_,anchorEl:j,setAnchorEl:G,focusedTag:_,groupedOptions:Be}}function Yr(e,t,o){const n={};return Object.keys(e).forEach((r=>{n[r]=e[r].reduce(((e,n)=>(n&&(o&&o[n]&&e.push(o[n]),e.push(t(n))),e)),[]).join(" ")})),n}const Zr=e=>e;var Jr=(()=>{let e=Zr;return{configure(t){e=t},generate:t=>e(t),reset(){e=Zr}}})();const Qr={active:"Mui-active",checked:"Mui-checked",completed:"Mui-completed",disabled:"Mui-disabled",error:"Mui-error",expanded:"Mui-expanded",focused:"Mui-focused",focusVisible:"Mui-focusVisible",required:"Mui-required",selected:"Mui-selected"};function ea(e,t){return Qr[t]||`${Jr.generate(e)}-${t}`}function ta(e,t){const o={};return t.forEach((t=>{o[t]=ea(e,t)})),o}function oa(e){return ea("MuiBackdrop",e)}var na=ta("MuiBackdrop",["root","invisible"]);const ra=["classes","className","invisible","component","components","componentsProps","theme"];var aa=i.forwardRef((function(e,t){const{classes:o,className:n,invisible:r=!1,component:a="div",components:i={},componentsProps:l={},theme:s}=e,c=N(e,ra),d=E({},e,{classes:o,invisible:r}),u=(e=>{const{classes:t,invisible:o}=e;return Yr({root:["root",o&&"invisible"]},oa,t)})(d),p=i.Root||a,m=l.root||{};return ao(p,E({"aria-hidden":!0},m,!Hr(p)&&{as:a,ownerState:E({},d,m.ownerState),theme:s},{ref:t},c,{className:or(u.root,m.className,n)}))}));function ia(e){const{anchorOrigin:t={vertical:"top",horizontal:"right"},badgeContent:o,invisible:n,max:r=99,showZero:a=!1,variant:i="standard"}=e,l=Wo({anchorOrigin:t,badgeContent:o,max:r,variant:i});let s=n;null==n&&(0===o&&!a||null==o&&"dot"!==i)&&(s=!0);const{anchorOrigin:c=t,badgeContent:d,max:u=r,variant:p=i}=s?l:e;let m="";return"dot"!==p&&(m=d&&Number(d)>u?`${u}+`:d),{anchorOrigin:c,badgeContent:d,invisible:s,max:u,variant:p,displayValue:m}}function la(e){return ea("MuiBadge",e)}var sa=ta("MuiBadge",["root","badge","dot","standard","anchorOriginTopLeft","anchorOriginTopRight","anchorOriginBottomLeft","anchorOriginBottomRight","invisible"]);const ca=["anchorOrigin","classes","badgeContent","component","children","className","components","componentsProps","invisible","max","showZero","variant"];var da=i.forwardRef((function(e,t){const{anchorOrigin:o={vertical:"top",horizontal:"right"},classes:n,component:r,children:a,className:i,components:l={},componentsProps:s={},max:c=99,showZero:d=!1,variant:u="standard"}=e,p=N(e,ca),{anchorOrigin:m,badgeContent:f,max:h,variant:g,displayValue:b,invisible:v}=ia(E({},e,{anchorOrigin:o,max:c,variant:u})),y=E({},e,{anchorOrigin:m,badgeContent:f,classes:n,invisible:v,max:h,variant:g,showZero:d}),x=(e=>{const{variant:t,anchorOrigin:o,invisible:n,classes:r}=e;return Yr({root:["root"],badge:["badge",t,`anchorOrigin${fo(o.vertical)}${fo(o.horizontal)}`,n&&"invisible"]},la,r)})(y),w=r||l.Root||"span",S=Ur(w,E({},p,s.root),y),C=l.Badge||"span",k=Ur(C,s.badge,y);return io(w,E({},S,{ref:t},p,{className:or(x.root,S.className,i),children:[a,ao(C,E({},k,{className:or(x.badge,k.className),children:b}))]}))}));function ua(e){return ea("ButtonUnstyled",e)}var pa=ta("ButtonUnstyled",["root","active","disabled","focusVisible"]);function ma(e){var t;const{component:o,components:n={},disabled:r=!1,href:a,ref:l,tabIndex:s=0,to:c,type:d}=e,u=i.useRef(),[p,m]=i.useState(!1),{isFocusVisibleRef:f,onFocus:h,onBlur:g,ref:b}=Oo(),[v,y]=i.useState(!1);r&&v&&y(!1),i.useEffect((()=>{f.current=v}),[v,f]);const x=e=>t=>{var o;v&&t.preventDefault(),null==(o=e.onMouseLeave)||o.call(e,t)},w=e=>t=>{var o;g(t),!1===f.current&&y(!1),null==(o=e.onBlur)||o.call(e,t)},S=e=>t=>{var o,n;(u.current||(u.current=t.currentTarget),h(t),!0===f.current)&&(y(!0),null==(n=e.onFocusVisible)||n.call(e,t));null==(o=e.onFocus)||o.call(e,t)},C=null!=(t=null!=o?o:n.Root)?t:"button",k=()=>{const e=u.current;return"button"!==C&&!("A"===(null==e?void 0:e.tagName)&&null!=e&&e.href)},R=e=>t=>{var o;t.target!==t.currentTarget||r||m(!0),null==(o=e.onMouseDown)||o.call(e,t)},M=e=>t=>{var o;t.target===t.currentTarget&&m(!1),null==(o=e.onMouseUp)||o.call(e,t)},T=e=>t=>{var o,n;(t.target===t.currentTarget&&k()&&" "===t.key&&t.preventDefault(),t.target!==t.currentTarget||" "!==t.key||r||m(!0),null==(o=e.onKeyDown)||o.call(e,t),t.target===t.currentTarget&&k()&&"Enter"===t.key&&!r)&&(t.preventDefault(),null==(n=e.onClick)||n.call(e,t))},$=e=>t=>{var o,n;(t.target===t.currentTarget&&m(!1),null==(o=e.onKeyUp)||o.call(e,t),t.target===t.currentTarget&&k()&&" "===t.key&&!t.defaultPrevented)&&(null==(n=e.onClick)||n.call(e,t))},P=Mo(b,u),I=Mo(l,P),[L,N]=i.useState(""),A=e=>{var t;N(null!=(t=null==e?void 0:e.tagName)?t:""),xo(I,e)},O={};"BUTTON"===L?(O.type=null!=d?d:"button",O.disabled=r):""!==L&&(a||c||(O.role="button"),r&&(O["aria-disabled"]=r));return{getRootProps:t=>{const o=E({},jr(e),t),n=E({},o,{onBlur:w(o),onFocus:S(o),onKeyDown:T(o),onKeyUp:$(o),onMouseDown:R(o),onMouseLeave:x(o),onMouseUp:M(o)});return delete n.onFocusVisible,E({tabIndex:r?-1:s,type:d,ref:A},O,n)},focusVisible:v,setFocusVisible:y,disabled:r,active:p}}const fa=["className","component","components","componentsProps","children","disabled","action","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseLeave"];var ha=i.forwardRef((function(e,t){var o;const{className:n,component:r,components:a={},componentsProps:l={},children:s,action:c}=e,d=N(e,fa),u=i.useRef(),p=Mo(u,t),{active:m,focusVisible:f,setFocusVisible:h,getRootProps:g}=ma(E({},e,{ref:p}));i.useImperativeHandle(c,(()=>({focusVisible:()=>{h(!0),u.current.focus()}})),[h]);const b=E({},e,{active:m,focusVisible:f}),v=null!=(o=null!=r?r:a.Root)?o:"button",y=Ur(v,E({},d,l.root),b),x=(e=>{const{active:t,disabled:o,focusVisible:n}=e;return Yr({root:["root",o&&"disabled",n&&"focusVisible",t&&"active"]},ua,{})})(b);return ao(v,E({},g(),y,{className:or(x.root,n,y.className),children:s}))}));function ga(e){return e.substring(2).toLowerCase()}function ba(e){const{children:t,disableReactTree:o=!1,mouseEvent:n="onClick",onClickAway:r,touchEvent:a="onTouchEnd"}=e,l=i.useRef(!1),s=i.useRef(null),c=i.useRef(!1),d=i.useRef(!1);i.useEffect((()=>(setTimeout((()=>{c.current=!0}),0),()=>{c.current=!1})),[]);const u=Mo(t.ref,s),p=Ro((e=>{const t=d.current;d.current=!1;const n=vo(s.current);if(!c.current||!s.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}(e,n))return;if(l.current)return void(l.current=!1);let a;a=e.composedPath?e.composedPath().indexOf(s.current)>-1:!n.documentElement.contains(e.target)||s.current.contains(e.target),a||!o&&t||r(e)})),m=e=>o=>{d.current=!0;const n=t.props[e];n&&n(o)},f={ref:u};return!1!==a&&(f[a]=m(a)),i.useEffect((()=>{if(!1!==a){const e=ga(a),t=vo(s.current),o=()=>{l.current=!0};return t.addEventListener(e,p),t.addEventListener("touchmove",o),()=>{t.removeEventListener(e,p),t.removeEventListener("touchmove",o)}}}),[p,a]),!1!==n&&(f[n]=m(n)),i.useEffect((()=>{if(!1!==n){const e=ga(n),t=vo(s.current);return t.addEventListener(e,p),()=>{t.removeEventListener(e,p)}}}),[p,n]),ao(i.Fragment,{children:i.cloneElement(t,f)})}var va=i.createContext(void 0);var ya=ta("MuiFormControl",["root","disabled"]);const xa=["defaultValue","children","className","component","components","componentsProps","disabled","error","focused","onChange","required","value"];var wa=i.forwardRef((function(e,t){var o;const{defaultValue:n,children:r,className:a,component:l,components:s={},componentsProps:c={},disabled:d=!1,error:u=!1,focused:p,onChange:m,required:f=!1,value:h}=e,g=N(e,xa),[b,v]=ko({controlled:h,default:n,name:"FormControl",state:"value"}),y=function(e){return null!=e&&!(Array.isArray(e)&&0===e.length)&&""!==e}(b),[x,w]=i.useState(!1);d&&x&&w(!1);const S=void 0===p||d?x:p,C=E({},e,{disabled:d,error:u,filled:y,focused:S,required:f});const k={disabled:d,error:u,filled:y,focused:S,onBlur:()=>{w(!1)},onChange:e=>{v(e.target.value),null==m||m(e)},onFocus:()=>{w(!0)},registerEffect:()=>{},required:f,value:null!=b?b:""},R=null!=(o=null!=l?l:s.Root)?o:"div",M=Ur(R,E({},g,c.root),C);return ao(va.Provider,{value:k,children:ao(R,E({ref:t},M,{className:or(ya.root,a,null==M?void 0:M.className,d&&ya.disabled),children:r}))})}));function Sa(){return i.useContext(va)}var Ca=ta("MuiInput",["root","formControl","focused","disabled","error","multiline","input","inputMultiline","inputTypeSearch","adornedStart","adornedEnd"]);function ka(e,t){const{defaultValue:o,disabled:n=!1,error:r=!1,onBlur:a,onChange:l,onFocus:s,required:c=!1,value:d}=e,u=Sa();let p,m,f,h;var g,b,v;u?(p=u.value,f=null!=(g=u.disabled)&&g,m=null!=(b=u.required)&&b,h=null!=(v=u.error)&&v):(p=d,f=n,m=c,h=r);const{current:y}=i.useRef(null!=p),x=i.useCallback((e=>{}),[]),w=i.useRef(null),S=Mo(t,x),C=Mo(w,S),[k,R]=i.useState(!1);i.useEffect((()=>{!u&&f&&k&&(R(!1),null==a||a())}),[u,f,k,a]);const M=e=>t=>{var o,n;null!=u&&u.disabled?t.stopPropagation():(null==(o=e.onFocus)||o.call(e,t),u&&u.onFocus?null==u||null==(n=u.onFocus)||n.call(u):R(!0))},T=e=>(t,...o)=>{var n,r;if(!y){if(null==(t.target||w.current))throw new Error(mo(17))}null==u||null==(n=u.onChange)||n.call(u,t),null==(r=e.onChange)||r.call(e,t,...o)};return{disabled:f,error:h,focused:k,formControlContext:u,getInputProps:e=>{const t=E({},{onBlur:a,onChange:l,onFocus:s},jr(e)),n=E({},e,t,{onBlur:(r=t,e=>{var t;null==(t=r.onBlur)||t.call(r,e),u&&u.onBlur?u.onBlur():R(!1)}),onChange:T(t),onFocus:M(t)});var r;return E({},n,{"aria-invalid":h||void 0,defaultValue:o,ref:C,value:p,required:m,disabled:f})},getRootProps:t=>{const o=E({},jr(e,["onBlur","onChange","onFocus"]),jr(t));return E({},t,o,{onClick:(n=o,e=>{var t;w.current&&e.currentTarget===e.target&&w.current.focus(),null==(t=n.onClick)||t.call(n,e)})});var n},required:m,value:p}}const Ra=["aria-describedby","aria-label","aria-labelledby","autoComplete","autoFocus","className","component","components","componentsProps","defaultValue","disabled","endAdornment","error","id","maxRows","minRows","multiline","name","onClick","onChange","onKeyDown","onKeyUp","onFocus","onBlur","placeholder","readOnly","required","rows","type","startAdornment","value"];var Ma=i.forwardRef((function(e,t){var o,n,r,a,i;const{"aria-describedby":l,"aria-label":s,"aria-labelledby":c,autoComplete:d,autoFocus:u,className:p,component:m,components:f={},componentsProps:h={},defaultValue:g,disabled:b,endAdornment:v,error:y,id:x,maxRows:w,minRows:S,multiline:C=!1,name:k,onClick:R,onChange:M,onKeyDown:T,onKeyUp:$,onFocus:P,onBlur:I,placeholder:L,readOnly:A,required:O,rows:z,type:B="text",startAdornment:F,value:D}=e,W=N(e,Ra),{getRootProps:V,getInputProps:H,focused:U,formControlContext:j,error:G,disabled:_}=ka({disabled:b,defaultValue:g,error:y,onBlur:I,onClick:R,onChange:M,onFocus:P,required:O,value:D},null==(o=h.input)?void 0:o.ref),q=E({},e,{disabled:_,error:G,focused:U,formControlContext:j,multiline:C,type:B}),K=or(_&&Ca.disabled,G&&Ca.error,U&&Ca.focused,Boolean(j)&&Ca.formControl,C&&Ca.multiline,Boolean(F)&&Ca.adornedStart,Boolean(v)&&Ca.adornedEnd),X=or(_&&Ca.disabled,C&&Ca.multiline),Y={"aria-describedby":l,"aria-label":s,"aria-labelledby":c,autoComplete:d,autoFocus:u,id:x,onKeyDown:T,onKeyUp:$,name:k,placeholder:L,readOnly:A,type:B},Z=null!=(n=null!=m?m:f.Root)?n:"div",J=Ur(Z,E({},V(E({},W,h.root)),{className:or(Ca.root,K,p,null==(r=h.root)?void 0:r.className)}),q);let Q=null!=(a=f.Input)?a:"input",ee=Ur(Q,E({},H(E({},h.input,Y)),{className:or(Ca.input,X,null==(i=h.input)?void 0:i.className)}),q);if(C){var te,oe;const e=Hr(null!=(te=f.Textarea)?te:"textarea");ee=E(z?{type:void 0,minRows:e?void 0:z,maxRows:e?void 0:z}:{type:void 0,maxRows:e?void 0:w,minRows:e?void 0:S},ee),Q=null!=(oe=f.Textarea)?oe:"textarea"}return io(Z,E({},J,{ref:t,children:[F,ao(Q,E({},ee)),v]}))}));var Ta=i.forwardRef((function(e,t){const{children:o,container:n,disablePortal:r=!1}=e,[a,s]=i.useState(null),c=Mo(i.isValidElement(o)?o.ref:null,t);return wo((()=>{r||s(function(e){return"function"==typeof e?e():e}(n)||document.body)}),[n,r]),wo((()=>{if(a&&!r)return xo(t,a),()=>{xo(t,null)}}),[t,a,r]),r?i.isValidElement(o)?i.cloneElement(o,{ref:c}):o:a?l.createPortal(o,a):a}));function $a(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Pa(e){return parseInt(yo(e).getComputedStyle(e).paddingRight,10)||0}function Ia(e,t,o,n=[],r){const a=[t,o,...n],i=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(e=>{-1===a.indexOf(e)&&-1===i.indexOf(e.tagName)&&$a(e,r)}))}function La(e,t){let o=-1;return e.some(((e,n)=>!!t(e)&&(o=n,!0))),o}function Ea(e,t){const o=[],n=e.container;if(!t.disableScrollLock){if(function(e){const t=vo(e);return t.body===e?yo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){const e=zo(vo(n));o.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${Pa(n)+e}px`;const t=vo(n).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{o.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Pa(t)+e}px`}))}const e=n.parentElement,t=yo(n),r="HTML"===(null==e?void 0:e.nodeName)&&"scroll"===t.getComputedStyle(e).overflowY?e:n;o.push({value:r.style.overflow,property:"overflow",el:r},{value:r.style.overflowX,property:"overflow-x",el:r},{value:r.style.overflowY,property:"overflow-y",el:r}),r.style.overflow="hidden"}return()=>{o.forEach((({value:e,el:t,property:o})=>{e?t.style.setProperty(o,e):t.style.removeProperty(o)}))}}class Na{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let o=this.modals.indexOf(e);if(-1!==o)return o;o=this.modals.length,this.modals.push(e),e.modalRef&&$a(e.modalRef,!1);const n=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);Ia(t,e.mount,e.modalRef,n,!0);const r=La(this.containers,(e=>e.container===t));return-1!==r?(this.containers[r].modals.push(e),o):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),o)}mount(e,t){const o=La(this.containers,(t=>-1!==t.modals.indexOf(e))),n=this.containers[o];n.restore||(n.restore=Ea(n,t))}remove(e){const t=this.modals.indexOf(e);if(-1===t)return t;const o=La(this.containers,(t=>-1!==t.modals.indexOf(e))),n=this.containers[o];if(n.modals.splice(n.modals.indexOf(e),1),this.modals.splice(t,1),0===n.modals.length)n.restore&&n.restore(),e.modalRef&&$a(e.modalRef,!0),Ia(n.container,e.mount,e.modalRef,n.hiddenSiblings,!1),this.containers.splice(o,1);else{const e=n.modals[n.modals.length-1];e.modalRef&&$a(e.modalRef,!1)}return t}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}const Aa=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Oa(e){const t=[],o=[];return Array.from(e.querySelectorAll(Aa)).forEach(((e,n)=>{const r=function(e){const t=parseInt(e.getAttribute("tabindex"),10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==r&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let o=t(`[name="${e.name}"]:checked`);return o||(o=t(`[name="${e.name}"]`)),o!==e}(e))}(e)&&(0===r?t.push(e):o.push({documentOrder:n,tabIndex:r,node:e}))})),o.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function za(){return!0}function Ba(e){const{children:t,disableAutoFocus:o=!1,disableEnforceFocus:n=!1,disableRestoreFocus:r=!1,getTabbable:a=Oa,isEnabled:l=za,open:s}=e,c=i.useRef(),d=i.useRef(null),u=i.useRef(null),p=i.useRef(null),m=i.useRef(null),f=i.useRef(!1),h=i.useRef(null),g=Mo(t.ref,h),b=i.useRef(null);i.useEffect((()=>{s&&h.current&&(f.current=!o)}),[o,s]),i.useEffect((()=>{if(!s||!h.current)return;const e=vo(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex",-1),f.current&&h.current.focus()),()=>{r||(p.current&&p.current.focus&&(c.current=!0,p.current.focus()),p.current=null)}}),[s]),i.useEffect((()=>{if(!s||!h.current)return;const e=vo(h.current),t=t=>{const{current:o}=h;if(null!==o)if(e.hasFocus()&&!n&&l()&&!c.current){if(!o.contains(e.activeElement)){if(t&&m.current!==t.target||e.activeElement!==m.current)m.current=null;else if(null!==m.current)return;if(!f.current)return;let n=[];if(e.activeElement!==d.current&&e.activeElement!==u.current||(n=a(h.current)),n.length>0){var r,i;const e=Boolean((null==(r=b.current)?void 0:r.shiftKey)&&"Tab"===(null==(i=b.current)?void 0:i.key)),t=n[0],o=n[n.length-1];e?o.focus():t.focus()}else o.focus()}}else c.current=!1},o=t=>{b.current=t,!n&&l()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(c.current=!0,u.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",o,!0);const r=setInterval((()=>{"BODY"===e.activeElement.tagName&&t()}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",t),e.removeEventListener("keydown",o,!0)}}),[o,n,r,l,s,a]);const v=e=>{null===p.current&&(p.current=e.relatedTarget),f.current=!0};return io(i.Fragment,{children:[ao("div",{tabIndex:0,onFocus:v,ref:d,"data-test":"sentinelStart"}),i.cloneElement(t,{ref:g,onFocus:e=>{null===p.current&&(p.current=e.relatedTarget),f.current=!0,m.current=e.target;const o=t.props.onFocus;o&&o(e)}}),ao("div",{tabIndex:0,onFocus:v,ref:u,"data-test":"sentinelEnd"})]})}function Fa(e){return ea("MuiModal",e)}var Da=ta("MuiModal",["root","hidden"]);const Wa=["BackdropComponent","BackdropProps","children","classes","className","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","theme","onTransitionEnter","onTransitionExited"];const Va=new Na;var Ha=i.forwardRef((function(e,t){const{BackdropComponent:o,BackdropProps:n,children:r,classes:a,className:l,closeAfterTransition:s=!1,component:c="div",components:d={},componentsProps:u={},container:p,disableAutoFocus:m=!1,disableEnforceFocus:f=!1,disableEscapeKeyDown:h=!1,disablePortal:g=!1,disableRestoreFocus:b=!1,disableScrollLock:v=!1,hideBackdrop:y=!1,keepMounted:x=!1,manager:w=Va,onBackdropClick:S,onClose:C,onKeyDown:k,open:R,theme:M,onTransitionEnter:T,onTransitionExited:$}=e,P=N(e,Wa),[I,L]=i.useState(!0),A=i.useRef({}),O=i.useRef(null),z=i.useRef(null),B=Mo(z,t),F=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(e),D=()=>(A.current.modalRef=z.current,A.current.mountNode=O.current,A.current),W=()=>{w.mount(D(),{disableScrollLock:v}),z.current.scrollTop=0},V=Ro((()=>{const e=function(e){return"function"==typeof e?e():e}(p)||vo(O.current).body;w.add(D(),e),z.current&&W()})),H=i.useCallback((()=>w.isTopModal(D())),[w]),U=Ro((e=>{O.current=e,e&&(R&&H()?W():$a(z.current,!0))})),j=i.useCallback((()=>{w.remove(D())}),[w]);i.useEffect((()=>()=>{j()}),[j]),i.useEffect((()=>{R?V():F&&s||j()}),[R,j,F,s,V]);const G=E({},e,{classes:a,closeAfterTransition:s,disableAutoFocus:m,disableEnforceFocus:f,disableEscapeKeyDown:h,disablePortal:g,disableRestoreFocus:b,disableScrollLock:v,exited:I,hideBackdrop:y,keepMounted:x}),_=(e=>{const{open:t,exited:o,classes:n}=e;return Yr({root:["root",!t&&o&&"hidden"]},Fa,n)})(G);if(!x&&!R&&(!F||I))return null;const q=()=>{L(!1),T&&T()},K=()=>{L(!0),$&&$(),s&&j()},X={};void 0===r.props.tabIndex&&(X.tabIndex="-1"),F&&(X.onEnter=ho(q,r.props.onEnter),X.onExited=ho(K,r.props.onExited));const Y=d.Root||c,Z=u.root||{};return ao(Ta,{ref:U,container:p,disablePortal:g,children:io(Y,E({role:"presentation"},Z,!Hr(Y)&&{as:c,ownerState:E({},G,Z.ownerState),theme:M},P,{ref:B,onKeyDown:e=>{k&&k(e),"Escape"===e.key&&H()&&(h||(e.stopPropagation(),C&&C(e,"escapeKeyDown")))},className:or(_.root,Z.className,l),children:[!y&&o?ao(o,E({open:R,onClick:e=>{e.target===e.currentTarget&&(S&&S(e),C&&C(e,"backdropClick"))}},n)):null,ao(Ba,{disableEnforceFocus:f,disableAutoFocus:m,disableRestoreFocus:b,isEnabled:H,open:R,children:i.cloneElement(r,X)})]}))})}));function Ua(e){const{children:t,defer:o=!1,fallback:n=null}=e,[r,a]=i.useState(!1);return wo((()=>{o||a(!0)}),[o]),i.useEffect((()=>{o&&a(!0)}),[o]),ao(i.Fragment,{children:r?t:n})}var ja="top",Ga="bottom",_a="right",qa="left",Ka="auto",Xa=[ja,Ga,_a,qa],Ya="start",Za="end",Ja="viewport",Qa="popper",ei=Xa.reduce((function(e,t){return e.concat([t+"-"+Ya,t+"-"+Za])}),[]),ti=[].concat(Xa,[Ka]).reduce((function(e,t){return e.concat([t,t+"-"+Ya,t+"-"+Za])}),[]),oi=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ni(e){return e?(e.nodeName||"").toLowerCase():null}function ri(e){if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ai(e){return e instanceof ri(e).Element||e instanceof Element}function ii(e){return e instanceof ri(e).HTMLElement||e instanceof HTMLElement}function li(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ri(e).ShadowRoot||e instanceof ShadowRoot)}var si={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var o=t.styles[e]||{},n=t.attributes[e]||{},r=t.elements[e];ii(r)&&ni(r)&&(Object.assign(r.style,o),Object.keys(n).forEach((function(e){var t=n[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],r=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:o[e]).reduce((function(e,t){return e[t]="",e}),{});ii(n)&&ni(n)&&(Object.assign(n.style,a),Object.keys(r).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]};function ci(e){return e.split("-")[0]}function di(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function ui(e,t){var o=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(o&&li(o)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function pi(e){return ri(e).getComputedStyle(e)}function mi(e){return["table","td","th"].indexOf(ni(e))>=0}function fi(e){return((ai(e)?e.ownerDocument:e.document)||window.document).documentElement}function hi(e){return"html"===ni(e)?e:e.assignedSlot||e.parentNode||(li(e)?e.host:null)||fi(e)}function gi(e){return ii(e)&&"fixed"!==pi(e).position?e.offsetParent:null}function bi(e){for(var t=ri(e),o=gi(e);o&&mi(o)&&"static"===pi(o).position;)o=gi(o);return o&&("html"===ni(o)||"body"===ni(o)&&"static"===pi(o).position)?t:o||function(e){for(var t=navigator.userAgent.toLowerCase().includes("firefox"),o=hi(e);ii(o)&&["html","body"].indexOf(ni(o))<0;){var n=pi(o);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return o;o=o.parentNode}return null}(e)||t}function vi(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var yi=Math.max,xi=Math.min,wi=Math.round;function Si(e,t,o){return yi(e,xi(t,o))}function Ci(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ki(e,t){return t.reduce((function(t,o){return t[o]=e,t}),{})}var Ri={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Mi(e){var t,o=e.popper,n=e.popperRect,r=e.placement,a=e.offsets,i=e.position,l=e.gpuAcceleration,s=e.adaptive,c=e.roundOffsets,d=!0===c?function(e){var t=e.x,o=e.y,n=window.devicePixelRatio||1;return{x:wi(wi(t*n)/n)||0,y:wi(wi(o*n)/n)||0}}(a):"function"==typeof c?c(a):a,u=d.x,p=void 0===u?0:u,m=d.y,f=void 0===m?0:m,h=a.hasOwnProperty("x"),g=a.hasOwnProperty("y"),b=qa,v=ja,y=window;if(s){var x=bi(o),w="clientHeight",S="clientWidth";x===ri(o)&&"static"!==pi(x=fi(o)).position&&(w="scrollHeight",S="scrollWidth"),r===ja&&(v=Ga,f-=x[w]-n.height,f*=l?1:-1),r===qa&&(b=_a,p-=x[S]-n.width,p*=l?1:-1)}var C,k=Object.assign({position:i},s&&Ri);return l?Object.assign({},k,((C={})[v]=g?"0":"",C[b]=h?"0":"",C.transform=(y.devicePixelRatio||1)<2?"translate("+p+"px, "+f+"px)":"translate3d("+p+"px, "+f+"px, 0)",C)):Object.assign({},k,((t={})[v]=g?f+"px":"",t[b]=h?p+"px":"",t.transform="",t))}var Ti={passive:!0};var $i={left:"right",right:"left",bottom:"top",top:"bottom"};function Pi(e){return e.replace(/left|right|bottom|top/g,(function(e){return $i[e]}))}var Ii={start:"end",end:"start"};function Li(e){return e.replace(/start|end/g,(function(e){return Ii[e]}))}function Ei(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function Ni(e){var t=ri(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ai(e){return Ei(fi(e)).left+Ni(e).scrollLeft}function Oi(e){var t=pi(e),o=t.overflow,n=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+r+n)}function zi(e){return["html","body","#document"].indexOf(ni(e))>=0?e.ownerDocument.body:ii(e)&&Oi(e)?e:zi(hi(e))}function Bi(e,t){var o;void 0===t&&(t=[]);var n=zi(e),r=n===(null==(o=e.ownerDocument)?void 0:o.body),a=ri(n),i=r?[a].concat(a.visualViewport||[],Oi(n)?n:[]):n,l=t.concat(i);return r?l:l.concat(Bi(hi(i)))}function Fi(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Di(e,t){return t===Ja?Fi(function(e){var t=ri(e),o=fi(e),n=t.visualViewport,r=o.clientWidth,a=o.clientHeight,i=0,l=0;return n&&(r=n.width,a=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=n.offsetLeft,l=n.offsetTop)),{width:r,height:a,x:i+Ai(e),y:l}}(e)):ii(t)?function(e){var t=Ei(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Fi(function(e){var t,o=fi(e),n=Ni(e),r=null==(t=e.ownerDocument)?void 0:t.body,a=yi(o.scrollWidth,o.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),i=yi(o.scrollHeight,o.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-n.scrollLeft+Ai(e),s=-n.scrollTop;return"rtl"===pi(r||o).direction&&(l+=yi(o.clientWidth,r?r.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(fi(e)))}function Wi(e,t,o){var n="clippingParents"===t?function(e){var t=Bi(hi(e)),o=["absolute","fixed"].indexOf(pi(e).position)>=0&&ii(e)?bi(e):e;return ai(o)?t.filter((function(e){return ai(e)&&ui(e,o)&&"body"!==ni(e)})):[]}(e):[].concat(t),r=[].concat(n,[o]),a=r[0],i=r.reduce((function(t,o){var n=Di(e,o);return t.top=yi(n.top,t.top),t.right=xi(n.right,t.right),t.bottom=xi(n.bottom,t.bottom),t.left=yi(n.left,t.left),t}),Di(e,a));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function Vi(e){return e.split("-")[1]}function Hi(e){var t,o=e.reference,n=e.element,r=e.placement,a=r?ci(r):null,i=r?Vi(r):null,l=o.x+o.width/2-n.width/2,s=o.y+o.height/2-n.height/2;switch(a){case ja:t={x:l,y:o.y-n.height};break;case Ga:t={x:l,y:o.y+o.height};break;case _a:t={x:o.x+o.width,y:s};break;case qa:t={x:o.x-n.width,y:s};break;default:t={x:o.x,y:o.y}}var c=a?vi(a):null;if(null!=c){var d="y"===c?"height":"width";switch(i){case Ya:t[c]=t[c]-(o[d]/2-n[d]/2);break;case Za:t[c]=t[c]+(o[d]/2-n[d]/2)}}return t}function Ui(e,t){void 0===t&&(t={});var o=t,n=o.placement,r=void 0===n?e.placement:n,a=o.boundary,i=void 0===a?"clippingParents":a,l=o.rootBoundary,s=void 0===l?Ja:l,c=o.elementContext,d=void 0===c?Qa:c,u=o.altBoundary,p=void 0!==u&&u,m=o.padding,f=void 0===m?0:m,h=Ci("number"!=typeof f?f:ki(f,Xa)),g=d===Qa?"reference":Qa,b=e.elements.reference,v=e.rects.popper,y=e.elements[p?g:d],x=Wi(ai(y)?y:y.contextElement||fi(e.elements.popper),i,s),w=Ei(b),S=Hi({reference:w,element:v,strategy:"absolute",placement:r}),C=Fi(Object.assign({},v,S)),k=d===Qa?C:w,R={top:x.top-k.top+h.top,bottom:k.bottom-x.bottom+h.bottom,left:x.left-k.left+h.left,right:k.right-x.right+h.right},M=e.modifiersData.offset;if(d===Qa&&M){var T=M[r];Object.keys(R).forEach((function(e){var t=[_a,Ga].indexOf(e)>=0?1:-1,o=[ja,Ga].indexOf(e)>=0?"y":"x";R[e]+=T[o]*t}))}return R}function ji(e,t){void 0===t&&(t={});var o=t,n=o.placement,r=o.boundary,a=o.rootBoundary,i=o.padding,l=o.flipVariations,s=o.allowedAutoPlacements,c=void 0===s?ti:s,d=Vi(n),u=d?l?ei:ei.filter((function(e){return Vi(e)===d})):Xa,p=u.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=u);var m=p.reduce((function(t,o){return t[o]=Ui(e,{placement:o,boundary:r,rootBoundary:a,padding:i})[ci(o)],t}),{});return Object.keys(m).sort((function(e,t){return m[e]-m[t]}))}function Gi(e,t,o){return void 0===o&&(o={x:0,y:0}),{top:e.top-t.height-o.y,right:e.right-t.width+o.x,bottom:e.bottom-t.height+o.y,left:e.left-t.width-o.x}}function _i(e){return[ja,_a,Ga,qa].some((function(t){return e[t]>=0}))}function qi(e,t,o){void 0===o&&(o=!1);var n,r,a=fi(t),i=Ei(e),l=ii(t),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(l||!l&&!o)&&(("body"!==ni(t)||Oi(a))&&(s=(n=t)!==ri(n)&&ii(n)?{scrollLeft:(r=n).scrollLeft,scrollTop:r.scrollTop}:Ni(n)),ii(t)?((c=Ei(t)).x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=Ai(a))),{x:i.left+s.scrollLeft-c.x,y:i.top+s.scrollTop-c.y,width:i.width,height:i.height}}function Ki(e){var t=new Map,o=new Set,n=[];function r(e){o.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!o.has(e)){var n=t.get(e);n&&r(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){o.has(e.name)||r(e)})),n}var Xi={placement:"bottom",modifiers:[],strategy:"absolute"};function Yi(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Zi(e){void 0===e&&(e={});var t=e,o=t.defaultModifiers,n=void 0===o?[]:o,r=t.defaultOptions,a=void 0===r?Xi:r;return function(e,t,o){void 0===o&&(o=a);var r,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Xi,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],c=!1,d={state:l,setOptions:function(o){u(),l.options=Object.assign({},a,l.options,o),l.scrollParents={reference:ai(e)?Bi(e):e.contextElement?Bi(e.contextElement):[],popper:Bi(t)};var r,i,c=function(e){var t=Ki(e);return oi.reduce((function(e,o){return e.concat(t.filter((function(e){return e.phase===o})))}),[])}((r=[].concat(n,l.options.modifiers),i=r.reduce((function(e,t){var o=e[t.name];return e[t.name]=o?Object.assign({},o,t,{options:Object.assign({},o.options,t.options),data:Object.assign({},o.data,t.data)}):t,e}),{}),Object.keys(i).map((function(e){return i[e]}))));return l.orderedModifiers=c.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,o=e.options,n=void 0===o?{}:o,r=e.effect;if("function"==typeof r){var a=r({state:l,name:t,instance:d,options:n}),i=function(){};s.push(a||i)}})),d.update()},forceUpdate:function(){if(!c){var e=l.elements,t=e.reference,o=e.popper;if(Yi(t,o)){l.rects={reference:qi(t,bi(o),"fixed"===l.options.strategy),popper:di(o)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var n=0;n<l.orderedModifiers.length;n++)if(!0!==l.reset){var r=l.orderedModifiers[n],a=r.fn,i=r.options,s=void 0===i?{}:i,u=r.name;"function"==typeof a&&(l=a({state:l,options:s,name:u,instance:d})||l)}else l.reset=!1,n=-1}}},update:(r=function(){return new Promise((function(e){d.forceUpdate(),e(l)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(r())}))}))),i}),destroy:function(){u(),c=!0}};if(!Yi(e,t))return d;function u(){s.forEach((function(e){return e()})),s=[]}return d.setOptions(o).then((function(e){!c&&o.onFirstUpdate&&o.onFirstUpdate(e)})),d}}var Ji=Zi({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,o=e.instance,n=e.options,r=n.scroll,a=void 0===r||r,i=n.resize,l=void 0===i||i,s=ri(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",o.update,Ti)})),l&&s.addEventListener("resize",o.update,Ti),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",o.update,Ti)})),l&&s.removeEventListener("resize",o.update,Ti)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,o=e.name;t.modifiersData[o]=Hi({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,o=e.options,n=o.gpuAcceleration,r=void 0===n||n,a=o.adaptive,i=void 0===a||a,l=o.roundOffsets,s=void 0===l||l,c={placement:ci(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Mi(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Mi(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},si,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,o=e.options,n=e.name,r=o.offset,a=void 0===r?[0,0]:r,i=ti.reduce((function(e,o){return e[o]=function(e,t,o){var n=ci(e),r=[qa,ja].indexOf(n)>=0?-1:1,a="function"==typeof o?o(Object.assign({},t,{placement:e})):o,i=a[0],l=a[1];return i=i||0,l=(l||0)*r,[qa,_a].indexOf(n)>=0?{x:l,y:i}:{x:i,y:l}}(o,t.rects,a),e}),{}),l=i[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=i}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var r=o.mainAxis,a=void 0===r||r,i=o.altAxis,l=void 0===i||i,s=o.fallbackPlacements,c=o.padding,d=o.boundary,u=o.rootBoundary,p=o.altBoundary,m=o.flipVariations,f=void 0===m||m,h=o.allowedAutoPlacements,g=t.options.placement,b=ci(g),v=s||(b===g||!f?[Pi(g)]:function(e){if(ci(e)===Ka)return[];var t=Pi(e);return[Li(e),t,Li(t)]}(g)),y=[g].concat(v).reduce((function(e,o){return e.concat(ci(o)===Ka?ji(t,{placement:o,boundary:d,rootBoundary:u,padding:c,flipVariations:f,allowedAutoPlacements:h}):o)}),[]),x=t.rects.reference,w=t.rects.popper,S=new Map,C=!0,k=y[0],R=0;R<y.length;R++){var M=y[R],T=ci(M),$=Vi(M)===Ya,P=[ja,Ga].indexOf(T)>=0,I=P?"width":"height",L=Ui(t,{placement:M,boundary:d,rootBoundary:u,altBoundary:p,padding:c}),E=P?$?_a:qa:$?Ga:ja;x[I]>w[I]&&(E=Pi(E));var N=Pi(E),A=[];if(a&&A.push(L[T]<=0),l&&A.push(L[E]<=0,L[N]<=0),A.every((function(e){return e}))){k=M,C=!1;break}S.set(M,A)}if(C)for(var O=function(e){var t=y.find((function(t){var o=S.get(t);if(o)return o.slice(0,e).every((function(e){return e}))}));if(t)return k=t,"break"},z=f?3:1;z>0;z--){if("break"===O(z))break}t.placement!==k&&(t.modifiersData[n]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,n=e.name,r=o.mainAxis,a=void 0===r||r,i=o.altAxis,l=void 0!==i&&i,s=o.boundary,c=o.rootBoundary,d=o.altBoundary,u=o.padding,p=o.tether,m=void 0===p||p,f=o.tetherOffset,h=void 0===f?0:f,g=Ui(t,{boundary:s,rootBoundary:c,padding:u,altBoundary:d}),b=ci(t.placement),v=Vi(t.placement),y=!v,x=vi(b),w="x"===x?"y":"x",S=t.modifiersData.popperOffsets,C=t.rects.reference,k=t.rects.popper,R="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,M={x:0,y:0};if(S){if(a||l){var T="y"===x?ja:qa,$="y"===x?Ga:_a,P="y"===x?"height":"width",I=S[x],L=S[x]+g[T],E=S[x]-g[$],N=m?-k[P]/2:0,A=v===Ya?C[P]:k[P],O=v===Ya?-k[P]:-C[P],z=t.elements.arrow,B=m&&z?di(z):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},D=F[T],W=F[$],V=Si(0,C[P],B[P]),H=y?C[P]/2-N-V-D-R:A-V-D-R,U=y?-C[P]/2+N+V+W+R:O+V+W+R,j=t.elements.arrow&&bi(t.elements.arrow),G=j?"y"===x?j.clientTop||0:j.clientLeft||0:0,_=t.modifiersData.offset?t.modifiersData.offset[t.placement][x]:0,q=S[x]+H-_-G,K=S[x]+U-_;if(a){var X=Si(m?xi(L,q):L,I,m?yi(E,K):E);S[x]=X,M[x]=X-I}if(l){var Y="x"===x?ja:qa,Z="x"===x?Ga:_a,J=S[w],Q=J+g[Y],ee=J-g[Z],te=Si(m?xi(Q,q):Q,J,m?yi(ee,K):ee);S[w]=te,M[w]=te-J}}t.modifiersData[n]=M}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,o=e.state,n=e.name,r=o.elements.arrow,a=o.modifiersData.popperOffsets,i=ci(o.placement),l=vi(i),s=[qa,_a].indexOf(i)>=0?"height":"width";if(r&&a){var c=o.modifiersData[n+"#persistent"].padding,d=di(r),u="y"===l?ja:qa,p="y"===l?Ga:_a,m=o.rects.reference[s]+o.rects.reference[l]-a[l]-o.rects.popper[s],f=a[l]-o.rects.reference[l],h=bi(r),g=h?"y"===l?h.clientHeight||0:h.clientWidth||0:0,b=m/2-f/2,v=c[u],y=g-d[s]-c[p],x=g/2-d[s]/2+b,w=Si(v,x,y),S=l;o.modifiersData[n]=((t={})[S]=w,t.centerOffset=w-x,t)}},effect:function(e){var t=e.state,o=e.options,n=e.name,r=o.element,a=void 0===r?"[data-popper-arrow]":r,i=o.padding,l=void 0===i?0:i;null!=a&&("string"!=typeof a||(a=t.elements.popper.querySelector(a)))&&ui(t.elements.popper,a)&&(l="function"==typeof l?l(Object.assign({},t.rects,{placement:t.placement})):l,t.elements.arrow=a,t.modifiersData[n+"#persistent"]={padding:Ci("number"!=typeof l?l:ki(l,Xa))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,o=e.name,n=t.rects.reference,r=t.rects.popper,a=t.modifiersData.preventOverflow,i=Ui(t,{elementContext:"reference"}),l=Ui(t,{altBoundary:!0}),s=Gi(i,n),c=Gi(l,r,a),d=_i(s),u=_i(c);t.modifiersData[o]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}}]});const Qi=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","TransitionProps"],el=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function tl(e){return"function"==typeof e?e():e}const ol={},nl=i.forwardRef((function(e,t){const{anchorEl:o,children:n,direction:r,disablePortal:a,modifiers:l,open:s,placement:c,popperOptions:d,popperRef:u,TransitionProps:p}=e,m=N(e,Qi),f=i.useRef(null),h=Mo(f,t),g=i.useRef(null),b=Mo(g,u),v=i.useRef(b);wo((()=>{v.current=b}),[b]),i.useImperativeHandle(u,(()=>g.current),[]);const y=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(c,r),[x,w]=i.useState(y);i.useEffect((()=>{g.current&&g.current.forceUpdate()})),wo((()=>{if(!o||!s)return;tl(o);let e=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{w(e.placement)}}];null!=l&&(e=e.concat(l)),d&&null!=d.modifiers&&(e=e.concat(d.modifiers));const t=Ji(tl(o),f.current,E({placement:y},d,{modifiers:e}));return v.current(t),()=>{t.destroy(),v.current(null)}}),[o,a,l,s,d,y]);const S={placement:x};return null!==p&&(S.TransitionProps=p),ao("div",E({ref:h,role:"tooltip"},m,{children:"function"==typeof n?n(S):n}))}));var rl=i.forwardRef((function(e,t){const{anchorEl:o,children:n,container:r,direction:a="ltr",disablePortal:l=!1,keepMounted:s=!1,modifiers:c,open:d,placement:u="bottom",popperOptions:p=ol,popperRef:m,style:f,transition:h=!1}=e,g=N(e,el),[b,v]=i.useState(!0);if(!s&&!d&&(!h||b))return null;const y=r||(o?vo(tl(o)).body:void 0);return ao(Ta,{disablePortal:l,container:y,children:ao(nl,E({anchorEl:o,direction:a,disablePortal:l,modifiers:c,ref:t,open:h?!b:d,placement:u,popperOptions:p,popperRef:m},g,{style:E({position:"fixed",top:0,left:0,display:d||!s||h&&!b?null:"none"},f),TransitionProps:h?{in:d,onEnter:()=>{v(!1)},onExited:()=>{v(!0)}}:null,children:n}))})}));function al(e){return ea("MuiSlider",e)}var il=ta("MuiSlider",["root","active","focusVisible","disabled","dragging","marked","vertical","trackInverted","trackFalse","rail","track","mark","markActive","markLabel","markLabelActive","thumb","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel"]);function ll(e){const{children:t,className:o,value:n,theme:r}=e,a=(e=>{const{open:t}=e;return{offset:or(t&&il.valueLabelOpen),circle:il.valueLabelCircle,label:il.valueLabelLabel}})(e);return i.cloneElement(t,{className:or(t.props.className)},io(i.Fragment,{children:[t.props.children,ao("span",{className:or(a.offset,o),theme:r,"aria-hidden":!0,children:ao("span",{className:a.circle,children:ao("span",{className:a.label,children:n})})})]}))}function sl(e,t){return e-t}function cl(e,t,o){return null==e?t:Math.min(Math.max(t,e),o)}function dl(e,t){var o;const{index:n}=null!=(o=e.reduce(((e,o,n)=>{const r=Math.abs(t-o);return null===e||r<e.distance||r===e.distance?{distance:r,index:n}:e}),null))?o:{};return n}function ul(e,t){if(void 0!==t.current&&e.changedTouches){const o=e;for(let e=0;e<o.changedTouches.length;e+=1){const n=o.changedTouches[e];if(n.identifier===t.current)return{x:n.clientX,y:n.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function pl(e,t,o){return 100*(e-t)/(o-t)}function ml(e,t,o){const n=Math.round((e-o)/t)*t+o;return Number(n.toFixed(function(e){if(Math.abs(e)<1){const t=e.toExponential().split("e-"),o=t[0].split(".")[1];return(o?o.length:0)+parseInt(t[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}(t)))}function fl({values:e,newValue:t,index:o}){const n=e.slice();return n[o]=t,n.sort(sl)}function hl({sliderRef:e,activeIndex:t,setActive:o}){var n,r;const a=vo(e.current);var i;null!=(n=e.current)&&n.contains(a.activeElement)&&Number(null==a||null==(r=a.activeElement)?void 0:r.getAttribute("data-index"))===t||(null==(i=e.current)||i.querySelector(`[type="range"][data-index="${t}"]`).focus());o&&o(t)}const gl={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},bl=e=>e;let vl;function yl(){return void 0===vl&&(vl="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),vl}function xl(e){const{ref:t,"aria-labelledby":o,defaultValue:n,disableSwap:r=!1,disabled:a=!1,marks:l=!1,max:s=100,min:c=0,name:d,onChange:u,onChangeCommitted:p,orientation:m="horizontal",scale:f=bl,step:h=1,tabIndex:g,value:b,isRtl:v=!1}=e,y=i.useRef(),[x,w]=i.useState(-1),[S,C]=i.useState(-1),[k,R]=i.useState(!1),M=i.useRef(0),[T,$]=ko({controlled:b,default:null!=n?n:c,name:"Slider"}),P=u&&((e,t,o)=>{const n=e.nativeEvent||e,r=new n.constructor(n.type,n);Object.defineProperty(r,"target",{writable:!0,value:{value:t,name:d}}),u(r,t,o)}),I=Array.isArray(T);let L=I?T.slice().sort(sl):[T];L=L.map((e=>cl(e,c,s)));const N=!0===l&&null!==h?[...Array(Math.floor((s-c)/h)+1)].map(((e,t)=>({value:c+h*t}))):l||[],A=N.map((e=>e.value)),{isFocusVisibleRef:O,onBlur:z,onFocus:B,ref:F}=Oo(),[D,W]=i.useState(-1),V=i.useRef(),H=Mo(F,V),U=Mo(t,H),j=e=>t=>{var o;const n=Number(t.currentTarget.getAttribute("data-index"));B(t),!0===O.current&&W(n),C(n),null==e||null==(o=e.onFocus)||o.call(e,t)},G=e=>t=>{var o;z(t),!1===O.current&&W(-1),C(-1),null==e||null==(o=e.onBlur)||o.call(e,t)};wo((()=>{var e;a&&V.current.contains(document.activeElement)&&(null==(e=document.activeElement)||e.blur())}),[a]),a&&-1!==x&&w(-1),a&&-1!==D&&W(-1);const _=e=>t=>{var o;null==(o=e.onChange)||o.call(e,t);const n=Number(t.currentTarget.getAttribute("data-index")),a=L[n],i=A.indexOf(a);let l=t.target.valueAsNumber;if(N&&null==h&&(l=l<a?A[i-1]:A[i+1]),l=cl(l,c,s),N&&null==h){const e=A.indexOf(L[n]);l=l<L[n]?A[e-1]:A[e+1]}if(I){r&&(l=cl(l,L[n-1]||-1/0,L[n+1]||1/0));const e=l;l=fl({values:L,newValue:l,index:n});let t=n;r||(t=l.indexOf(e)),hl({sliderRef:V,activeIndex:t})}$(l),W(n),P&&P(t,l,n),p&&p(t,l)},q=i.useRef();let K=m;v&&"horizontal"===m&&(K+="-reverse");const X=({finger:e,move:t=!1,values:o})=>{const{current:n}=V,{width:a,height:i,bottom:l,left:d}=n.getBoundingClientRect();let u,p;if(u=0===K.indexOf("vertical")?(l-e.y)/i:(e.x-d)/a,-1!==K.indexOf("-reverse")&&(u=1-u),p=function(e,t,o){return(o-t)*e+t}(u,c,s),h)p=ml(p,h,c);else{const e=dl(A,p);p=A[e]}p=cl(p,c,s);let m=0;if(I){m=t?q.current:dl(o,p),r&&(p=cl(p,o[m-1]||-1/0,o[m+1]||1/0));const e=p;p=fl({values:o,newValue:p,index:m}),r&&t||(m=p.indexOf(e),q.current=m)}return{newValue:p,activeIndex:m}},Y=Ro((e=>{const t=ul(e,y);if(!t)return;if(M.current+=1,"mousemove"===e.type&&0===e.buttons)return void Z(e);const{newValue:o,activeIndex:n}=X({finger:t,move:!0,values:L});hl({sliderRef:V,activeIndex:n,setActive:w}),$(o),!k&&M.current>2&&R(!0),P&&P(e,o,n)})),Z=Ro((e=>{const t=ul(e,y);if(R(!1),!t)return;const{newValue:o}=X({finger:t,values:L});w(-1),"touchend"===e.type&&C(-1),p&&p(e,o),y.current=void 0,Q()})),J=Ro((e=>{yl()||e.preventDefault();const t=e.changedTouches[0];null!=t&&(y.current=t.identifier);const o=ul(e,y);if(!1!==o){const{newValue:t,activeIndex:n}=X({finger:o,values:L});hl({sliderRef:V,activeIndex:n,setActive:w}),$(t),P&&P(e,t,n)}M.current=0;const n=vo(V.current);n.addEventListener("touchmove",Y),n.addEventListener("touchend",Z)})),Q=i.useCallback((()=>{const e=vo(V.current);e.removeEventListener("mousemove",Y),e.removeEventListener("mouseup",Z),e.removeEventListener("touchmove",Y),e.removeEventListener("touchend",Z)}),[Z,Y]);i.useEffect((()=>{const{current:e}=V;return e.addEventListener("touchstart",J,{passive:yl()}),()=>{e.removeEventListener("touchstart",J,{passive:yl()}),Q()}}),[Q,J]),i.useEffect((()=>{a&&Q()}),[a,Q]);const ee=e=>t=>{var o;if(null==(o=e.onMouseDown)||o.call(e,t),t.defaultPrevented)return;if(0!==t.button)return;t.preventDefault();const n=ul(t,y);if(!1!==n){const{newValue:e,activeIndex:o}=X({finger:n,values:L});hl({sliderRef:V,activeIndex:o,setActive:w}),$(e),P&&P(t,e,o)}M.current=0;const r=vo(V.current);r.addEventListener("mousemove",Y),r.addEventListener("mouseup",Z)},te=pl(I?L[0]:c,c,s),oe=pl(L[L.length-1],c,s)-te,ne=e=>t=>{var o;null==(o=e.onMouseOver)||o.call(e,t);const n=Number(t.currentTarget.getAttribute("data-index"));C(n)},re=e=>t=>{var o;null==(o=e.onMouseLeave)||o.call(e,t),C(-1)};return{axis:K,axisProps:gl,getRootProps:e=>{const t=E({},e,{onMouseDown:ee(e||{})});return E({ref:U},t)},getHiddenInputProps:t=>{const n=E({},t,{onChange:_(t||{}),onFocus:j(t||{}),onBlur:G(t||{})});return E({tabIndex:g,"aria-labelledby":o,"aria-orientation":m,"aria-valuemax":f(s),"aria-valuemin":f(c),name:d,type:"range",min:e.min,max:e.max,step:e.step,disabled:a},n,{style:E({},Vo,{direction:v?"rtl":"ltr",width:"100%",height:"100%"})})},getThumbProps:e=>{const t=E({},e,{onMouseOver:ne(e||{}),onMouseLeave:re(e||{})});return E({},t)},dragging:k,marks:N,values:L,active:x,focusVisible:D,open:S,range:I,trackOffset:te,trackLeap:oe}}const wl=["aria-label","aria-valuetext","className","component","classes","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","onMouseDown","orientation","scale","step","tabIndex","track","value","valueLabelDisplay","valueLabelFormat","isRtl","components","componentsProps"],Sl=e=>e,Cl=({children:e})=>e;var kl=i.forwardRef((function(e,t){var o,n,r,a,l,s,c;const{"aria-label":d,"aria-valuetext":u,className:p,component:m,classes:f,disableSwap:h=!1,disabled:g=!1,getAriaLabel:b,getAriaValueText:v,marks:y=!1,max:x=100,min:w=0,onMouseDown:S,orientation:C="horizontal",scale:k=Sl,step:R=1,track:M="normal",valueLabelDisplay:T="off",valueLabelFormat:$=Sl,isRtl:P=!1,components:I={},componentsProps:L={}}=e,A=N(e,wl),O=E({},e,{mark:y,classes:f,disabled:g,isRtl:P,max:x,min:w,orientation:C,scale:k,step:R,track:M,valueLabelDisplay:T,valueLabelFormat:$}),{axisProps:z,getRootProps:B,getHiddenInputProps:F,getThumbProps:D,open:W,active:V,axis:H,range:U,focusVisible:j,dragging:G,marks:_,values:q,trackOffset:K,trackLeap:X}=xl(E({},O,{ref:t}));O.marked=_.length>0&&_.some((e=>e.label)),O.dragging=G;const Y=null!=(o=null!=m?m:I.Root)?o:"span",Z=Ur(Y,E({},A,L.root),O),J=null!=(n=I.Rail)?n:"span",Q=Ur(J,L.rail,O),ee=null!=(r=I.Track)?r:"span",te=Ur(ee,L.track,O),oe=E({},z[H].offset(K),z[H].leap(X)),ne=null!=(a=I.Thumb)?a:"span",re=Ur(ne,L.thumb,O),ae=null!=(l=I.ValueLabel)?l:ll,ie=Ur(ae,L.valueLabel,O),le=null!=(s=I.Mark)?s:"span",se=Ur(le,L.mark,O),ce=null!=(c=I.MarkLabel)?c:"span",de=Ur(ce,L.markLabel,O),ue=I.Input||"input",pe=Ur(ue,L.input,O),me=F(),fe=(e=>{const{disabled:t,dragging:o,marked:n,orientation:r,track:a,classes:i}=e;return Yr({root:["root",t&&"disabled",o&&"dragging",n&&"marked","vertical"===r&&"vertical","inverted"===a&&"trackInverted",!1===a&&"trackFalse"],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled"],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]},al,i)})(O);return io(Y,E({},Z,B({onMouseDown:S}),{className:or(fe.root,Z.className,p),children:[ao(J,E({},Q,{className:or(fe.rail,Q.className)})),ao(ee,E({},te,{className:or(fe.track,te.className),style:E({},oe,te.style)})),_.map(((e,t)=>{const o=pl(e.value,w,x),n=z[H].offset(o);let r;return r=!1===M?-1!==q.indexOf(e.value):"normal"===M&&(U?e.value>=q[0]&&e.value<=q[q.length-1]:e.value<=q[0])||"inverted"===M&&(U?e.value<=q[0]||e.value>=q[q.length-1]:e.value>=q[0]),io(i.Fragment,{children:[ao(le,E({"data-index":t},se,!Hr(le)&&{markActive:r},{style:E({},n,se.style),className:or(fe.mark,se.className,r&&fe.markActive)})),null!=e.label?ao(ce,E({"aria-hidden":!0,"data-index":t},de,!Hr(ce)&&{markLabelActive:r},{style:E({},n,de.style),className:or(fe.markLabel,de.className,r&&fe.markLabelActive),children:e.label})):null]},e.value)})),q.map(((e,t)=>{const o=pl(e,w,x),n=z[H].offset(o),r="off"===T?Cl:ae;return ao(i.Fragment,{children:ao(r,E({},!Hr(r)&&{valueLabelFormat:$,valueLabelDisplay:T,value:"function"==typeof $?$(k(e),t):$,index:t,open:W===t||V===t||"on"===T,disabled:g},ie,{className:or(fe.valueLabel,ie.className),children:ao(ne,E({"data-index":t},re,D(),{className:or(fe.thumb,re.className,V===t&&fe.active,j===t&&fe.focusVisible)},!Hr(ne)&&{ownerState:E({},O,re.ownerState)},{style:E({},n,{pointerEvents:h&&V!==t?"none":void 0},re.style),children:ao(ue,E({},me,{"data-index":t,"aria-label":b?b(t):d,"aria-valuenow":k(e),"aria-valuetext":v?v(k(e),t):u,value:q[t]},!Hr(ue)&&{ownerState:E({},O,pe.ownerState)},pe,{style:E({},me.style,pe.style)}))}))}))},t)}))]}))}));function Rl(e){const{checked:t,defaultChecked:o,disabled:n,onBlur:r,onChange:a,onFocus:l,onFocusVisible:s,readOnly:c,required:d}=e,[u,p]=ko({controlled:t,default:Boolean(o),name:"Switch",state:"checked"}),{isFocusVisibleRef:m,onBlur:f,onFocus:h,ref:g}=Oo(),[b,v]=i.useState(!1);n&&b&&v(!1),i.useEffect((()=>{m.current=b}),[b,m]);const y=i.useRef(null),x=Mo(g,y);return{checked:u,disabled:Boolean(n),focusVisible:b,getInputProps:(e={})=>E({checked:t,defaultChecked:o,disabled:n,readOnly:c,required:d,type:"checkbox"},e,{onChange:t=>((e,t)=>{e.nativeEvent.defaultPrevented||(p(e.target.checked),null==a||a(e),null==t||t(e))})(t,e.onChange),onFocus:t=>((e,t)=>{y.current||(y.current=e.currentTarget),h(e),!0===m.current&&(v(!0),null==s||s(e)),null==l||l(e),null==t||t(e)})(t,e.onFocus),onBlur:t=>((e,t)=>{f(e),!1===m.current&&v(!1),null==r||r(e),null==t||t(e)})(t,e.onBlur),ref:x}),readOnly:Boolean(c)}}var Ml=ta("MuiSwitch",["root","input","track","thumb","checked","disabled","focusVisible","readOnly"]);const Tl=["checked","className","component","components","componentsProps","defaultChecked","disabled","onBlur","onChange","onFocus","onFocusVisible","readOnly","required"];var $l=i.forwardRef((function(e,t){var o,n,r,a,i,l,s;const{checked:c,className:d,component:u,components:p={},componentsProps:m={},defaultChecked:f,disabled:h,onBlur:g,onChange:b,onFocus:v,onFocusVisible:y,readOnly:x}=e,w=N(e,Tl),S={checked:c,defaultChecked:f,disabled:h,onBlur:g,onChange:b,onFocus:v,onFocusVisible:y,readOnly:x},{getInputProps:C,checked:k,disabled:R,focusVisible:M,readOnly:T}=Rl(S),$=E({},e,{checked:k,disabled:R,focusVisible:M,readOnly:T}),P=null!=(o=null!=u?u:p.Root)?o:"span",I=Ur(P,E({},w,m.root),$),L=null!=(n=p.Thumb)?n:"span",A=Ur(L,null!=(r=m.thumb)?r:{},$),O=null!=(a=p.Input)?a:"input",z=Ur(O,null!=(i=m.input)?i:{},$),B=null===p.Track?()=>null:null!=(l=p.Track)?l:"span",F=Ur(B,null!=(s=m.track)?s:{},$),D=or(k&&Ml.checked,R&&Ml.disabled,M&&Ml.focusVisible,T&&Ml.readOnly);return io(P,E({ref:t},I,{className:or(Ml.root,D,d,null==I?void 0:I.className),children:[ao(B,E({},F,{className:or(Ml.track,null==F?void 0:F.className)})),ao(L,E({},A,{className:or(Ml.thumb,null==A?void 0:A.className)})),ao(O,E({},C(z),{className:or(Ml.input,null==z?void 0:z.className)}))]}))}));function Pl(e){return ea("TabPanelUnstyled",e)}var Il=ta("TabPanelUnstyled",["root","hidden"]);function Ll(e){return ea("TabsUnstyled",e)}var El=ta("TabsUnstyled",["root","horizontal","vertical"]);var Nl=e=>{const{value:t,defaultValue:o,onChange:n,orientation:r,direction:a,selectionFollowsFocus:l}=e,[s,c]=ko({controlled:t,default:o,name:"Tabs",state:"value"}),d=Co(),u=i.useCallback(((e,t)=>{c(t),n&&n(e,t)}),[n,c]);return{getRootProps:()=>({}),tabsContextValue:i.useMemo((()=>({idPrefix:d,value:s,onSelected:u,orientation:r,direction:a,selectionFollowsFocus:l})),[d,s,u,r,a,l])}};const Al=i.createContext(null);function Ol(){return i.useContext(Al)}function zl(e,t){const{idPrefix:o}=e;return null===o?null:`${e.idPrefix}-P-${t}`}function Bl(e,t){const{idPrefix:o}=e;return null===o?null:`${e.idPrefix}-T-${t}`}var Fl=Al;const Dl=["children","className","value","defaultValue","orientation","direction","component","components","componentsProps","onChange","selectionFollowsFocus"];var Wl=i.forwardRef(((e,t)=>{var o,n;const{children:r,className:a,orientation:i="horizontal",direction:l="ltr",component:s,components:c={},componentsProps:d={}}=e,u=N(e,Dl),{tabsContextValue:p,getRootProps:m}=Nl(e),f=E({},e,{orientation:i,direction:l}),h=(e=>{const{orientation:t}=e;return Yr({root:["root",t]},Ll,{})})(f),g=null!=(o=null!=s?s:c.Root)?o:"div",b=Ur(g,E({},u,d.root),f);return ao(g,E({},m(),b,{ref:t,className:or(h.root,null==(n=d.root)?void 0:n.className,a),children:ao(Fl.Provider,{value:p,children:r})}))}));var Vl=e=>{const{value:t}=e,o=Ol();if(null===o)throw new Error("No TabContext provided");const n=t!==o.value,r=zl(o,t),a=Bl(o,t);return{hidden:n,getRootProps:()=>({"aria-labelledby":a,hidden:n,id:r})}};const Hl=["children","className","value","components","componentsProps","component"];var Ul=i.forwardRef((function(e,t){var o,n;const{children:r,className:a,components:i={},componentsProps:l={},component:s}=e,c=N(e,Hl),{hidden:d,getRootProps:u}=Vl(e),p=E({},e,{hidden:d}),m=(e=>{const{hidden:t}=e;return Yr({root:["root",t&&"hidden"]},Pl,{})})(p),f=null!=(o=null!=s?s:i.Root)?o:"div",h=Ur(f,E({},c,l.root),p);return ao(f,E({},u(),{ref:t,role:"tabpanel"},h,{className:or(m.root,null==(n=l.root)?void 0:n.className,a),children:!d&&r}))}));function jl(e){return ea("TabsListUnstyled",e)}var Gl=ta("TabsListUnstyled",["root","horizontal","vertical"]);const _l=(e,t)=>e?e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild:null,ql=(e,t)=>e?e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild:null,Kl=(e,t,o)=>{let n=!1,r=o(e,t);for(;e&&r;){if(r===e.firstChild){if(n)return;n=!0}const t=r.disabled||"true"===r.getAttribute("aria-disabled");if(r.hasAttribute("tabindex")&&!t)return void r.focus();r=o(e,r)}};var Xl=e=>{const{"aria-label":t,"aria-labelledby":o,children:n,ref:r}=e,a=i.createRef(),l=Mo(a,r),s=Ol();if(null===s)throw new Error("No TabContext provided");const{value:c,orientation:d="horizontal",direction:u="ltr"}=s,p="rtl"===u,m=e=>t=>{var o;(e=>{const t=a.current,o=vo(t).activeElement;if("tab"!==(null==o?void 0:o.getAttribute("role")))return;let n="horizontal"===d?"ArrowLeft":"ArrowUp",r="horizontal"===d?"ArrowRight":"ArrowDown";switch("horizontal"===d&&p&&(n="ArrowRight",r="ArrowLeft"),e.key){case n:e.preventDefault(),Kl(t,o,ql);break;case r:e.preventDefault(),Kl(t,o,_l);break;case"Home":e.preventDefault(),Kl(t,null,_l);break;case"End":e.preventDefault(),Kl(t,null,ql)}})(t),null==(o=e.onKeyDown)||o.call(e,t)},f=i.useCallback((()=>{const e=new Map;let t=0;return i.Children.map(n,(o=>{if(!i.isValidElement(o))return null;const n=void 0===o.props.value?t:o.props.value;return e.set(n,t),t+=1,i.cloneElement(o,E({value:n},1===t&&!1===c&&!o.props.tabIndex||c===n?{tabIndex:0}:{tabIndex:-1}))}))}),[n,c]);return{isRtl:p,orientation:d,value:c,processChildren:f,getRootProps:n=>{const r=E({},jr(e),n),a=E({},r,{onKeyDown:m(r)});return E({"aria-label":t,"aria-labelledby":o,"aria-orientation":"vertical"===d?"vertical":null,role:"tablist",ref:l},a)}}};const Yl=["className","children","component","components","componentsProps"];var Zl=i.forwardRef(((e,t)=>{var o,n;const{className:r,component:a,components:i={},componentsProps:l={}}=e,s=N(e,Yl),{isRtl:c,orientation:d,getRootProps:u,processChildren:p}=Xl(E({},e,{ref:t})),m=E({},e,{isRtl:c,orientation:d}),f=(e=>{const{orientation:t}=e;return Yr({root:["root",t]},jl,{})})(m),h=null!=(o=null!=a?a:i.Root)?o:"div",g=Ur(h,E({},s,l.root),m),b=p();return ao(h,E({},u(),g,{className:or(r,null==(n=l.root)?void 0:n.className,f.root),children:b}))}));function Jl(e){return ea("TabUnstyled",e)}var Ql=ta("TabUnstyled",["root","selected","disabled"]);const es=["getRootProps"];var ts=e=>{const{value:t,onChange:o,onClick:n,onFocus:r}=e,a=ma(e),{getRootProps:i}=a,l=N(a,es),s=Ol();if(null===s)throw new Error("No TabContext provided");const c=null!=t?t:0,d=s.value===c,u=s.selectionFollowsFocus,p={role:"tab","aria-controls":zl(s,c),id:Bl(s,c),"aria-selected":d,disabled:l.disabled},m=e=>{u&&!d&&(o&&o(e,c),s.onSelected(e,c)),r&&r(e)},f=e=>{d||(o&&o(e,c),s.onSelected(e,c)),n&&n(e)};return E({getRootProps:e=>{const t=i(E({onClick:f,onFocus:m},e));return E({},t,p)}},l,{selected:d})};const os=["action","children","value","className","disabled","onChange","onClick","onFocus","component","components","componentsProps"];var ns=i.forwardRef((function(e,t){var o,n;const{action:r,children:a,className:l,disabled:s=!1,component:c,components:d={},componentsProps:u={}}=e,p=N(e,os),m=i.useRef(),f=Mo(m,t),{active:h,focusVisible:g,setFocusVisible:b,selected:v,getRootProps:y}=ts(E({},e,{ref:f}));i.useImperativeHandle(r,(()=>({focusVisible:()=>{b(!0),m.current.focus()}})),[b]);const x=E({},e,{active:h,focusVisible:g,disabled:s,selected:v}),w=(e=>{const{selected:t,disabled:o}=e;return Yr({root:["root",t&&"selected",o&&"disabled"]},Jl,{})})(x),S=null!=(o=null!=c?c:d.Root)?o:"button",C=Ur(S,E({},p,u.root),x);return ao(S,E({},y(),C,{className:or(w.root,null==(n=u.root)?void 0:n.className,l),ref:t,children:a}))}));const rs=["onChange","maxRows","minRows","style","value"];function as(e,t){return parseInt(e[t],10)||0}const is={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};var ls=i.forwardRef((function(e,t){const{onChange:o,maxRows:n,minRows:r=1,style:a,value:l}=e,s=N(e,rs),{current:c}=i.useRef(null!=l),d=i.useRef(null),u=Mo(t,d),p=i.useRef(null),m=i.useRef(0),[f,h]=i.useState({}),g=i.useCallback((()=>{const t=d.current,o=yo(t).getComputedStyle(t);if("0px"===o.width)return;const a=p.current;a.style.width=o.width,a.value=t.value||e.placeholder||"x","\n"===a.value.slice(-1)&&(a.value+=" ");const i=o["box-sizing"],l=as(o,"padding-bottom")+as(o,"padding-top"),s=as(o,"border-bottom-width")+as(o,"border-top-width"),c=a.scrollHeight;a.value="x";const u=a.scrollHeight;let f=c;r&&(f=Math.max(Number(r)*u,f)),n&&(f=Math.min(Number(n)*u,f)),f=Math.max(f,u);const g=f+("border-box"===i?l+s:0),b=Math.abs(f-c)<=1;h((e=>m.current<20&&(g>0&&Math.abs((e.outerHeightStyle||0)-g)>1||e.overflow!==b)?(m.current+=1,{overflow:b,outerHeightStyle:g}):e))}),[n,r,e.placeholder]);i.useEffect((()=>{const e=go((()=>{m.current=0,g()})),t=yo(d.current);let o;return t.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(o=new ResizeObserver(e),o.observe(d.current)),()=>{e.clear(),t.removeEventListener("resize",e),o&&o.disconnect()}}),[g]),wo((()=>{g()})),i.useEffect((()=>{m.current=0}),[l]);return io(i.Fragment,{children:[ao("textarea",E({value:l,onChange:e=>{m.current=0,c||g(),o&&o(e)},ref:u,rows:r,style:E({height:f.outerHeightStyle,overflow:f.overflow?"hidden":null},a)},s)),ao("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:E({},is,a,{padding:0})})]})}));const ss=["mode","contrastThreshold","tonalOffset"],cs={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:c.white,default:c.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},ds={text:{primary:c.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:c.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function us(e,t,o,n){const r=n.light||n,a=n.dark||1.5*n;e[t]||(e.hasOwnProperty(o)?e[t]=e[o]:"light"===t?e.light=Br(e.main,r):"dark"===t&&(e.dark=zr(e.main,a)))}function ps(e){const{mode:t="light",contrastThreshold:o=3,tonalOffset:n=.2}=e,r=N(e,ss),a=e.primary||function(e="light"){return"dark"===e?{main:h[200],light:h[50],dark:h[400]}:{main:h[700],light:h[400],dark:h[800]}}(t),i=e.secondary||function(e="light"){return"dark"===e?{main:p[200],light:p[50],dark:p[400]}:{main:p[500],light:p[300],dark:p[700]}}(t),l=e.error||function(e="light"){return"dark"===e?{main:d[500],light:d[300],dark:d[700]}:{main:d[700],light:d[400],dark:d[800]}}(t),s=e.info||function(e="light"){return"dark"===e?{main:g[400],light:g[300],dark:g[700]}:{main:g[700],light:g[500],dark:g[900]}}(t),u=e.success||function(e="light"){return"dark"===e?{main:y[400],light:y[300],dark:y[700]}:{main:y[800],light:y[500],dark:y[900]}}(t),m=e.warning||function(e="light"){return"dark"===e?{main:k[400],light:k[300],dark:k[700]}:{main:"#ed6c02",light:k[500],dark:k[900]}}(t);function f(e){return Ar(e,ds.text.primary)>=o?ds.text.primary:cs.text.primary}const b=({color:e,name:t,mainShade:o=500,lightShade:r=300,darkShade:a=700})=>{if(!(e=E({},e)).main&&e[o]&&(e.main=e[o]),!e.hasOwnProperty("main"))throw new Error(mo(11,t?` (${t})`:"",o));if("string"!=typeof e.main)throw new Error(mo(12,t?` (${t})`:"",JSON.stringify(e.main)));return us(e,"light",r,n),us(e,"dark",a,n),e.contrastText||(e.contrastText=f(e.main)),e},v={dark:ds,light:cs};return po(E({common:c,mode:t,primary:b({color:a,name:"primary"}),secondary:b({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:b({color:l,name:"error"}),warning:b({color:m,name:"warning"}),info:b({color:s,name:"info"}),success:b({color:u,name:"success"}),grey:T,contrastThreshold:o,getContrastText:f,augmentColor:b,tonalOffset:n},v[t]),r)}const ms=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const fs={textTransform:"uppercase"},hs='"Roboto", "Helvetica", "Arial", sans-serif';function gs(e,t){const o="function"==typeof t?t(e):t,{fontFamily:n=hs,fontSize:r=14,fontWeightLight:a=300,fontWeightRegular:i=400,fontWeightMedium:l=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:d,pxToRem:u}=o,p=N(o,ms),m=r/14,f=u||(e=>e/c*m+"rem"),h=(e,t,o,r,a)=>{return E({fontFamily:n,fontWeight:e,fontSize:f(t),lineHeight:o},n===hs?{letterSpacing:(i=r/t,Math.round(1e5*i)/1e5)+"em"}:{},a,d);var i},g={h1:h(a,96,1.167,-1.5),h2:h(a,60,1.2,-.5),h3:h(i,48,1.167,0),h4:h(i,34,1.235,.25),h5:h(i,24,1.334,0),h6:h(l,20,1.6,.15),subtitle1:h(i,16,1.75,.15),subtitle2:h(l,14,1.57,.1),body1:h(i,16,1.5,.15),body2:h(i,14,1.43,.15),button:h(l,14,1.75,.4,fs),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,fs)};return po(E({htmlFontSize:c,pxToRem:f,fontFamily:n,fontSize:r,fontWeightLight:a,fontWeightRegular:i,fontWeightMedium:l,fontWeightBold:s},g),p,{clone:!1})}function bs(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}var vs=["none",bs(0,2,1,-1,0,1,1,0,0,1,3,0),bs(0,3,1,-2,0,2,2,0,0,1,5,0),bs(0,3,3,-2,0,3,4,0,0,1,8,0),bs(0,2,4,-1,0,4,5,0,0,1,10,0),bs(0,3,5,-1,0,5,8,0,0,1,14,0),bs(0,3,5,-1,0,6,10,0,0,1,18,0),bs(0,4,5,-2,0,7,10,1,0,2,16,1),bs(0,5,5,-3,0,8,10,1,0,3,14,2),bs(0,5,6,-3,0,9,12,1,0,3,16,2),bs(0,6,6,-3,0,10,14,1,0,4,18,3),bs(0,6,7,-4,0,11,15,1,0,4,20,3),bs(0,7,8,-4,0,12,17,2,0,5,22,4),bs(0,7,8,-4,0,13,19,2,0,5,24,4),bs(0,7,9,-4,0,14,21,2,0,5,26,4),bs(0,8,9,-5,0,15,22,2,0,6,28,5),bs(0,8,10,-5,0,16,24,2,0,6,30,5),bs(0,8,11,-5,0,17,26,2,0,6,32,5),bs(0,9,11,-5,0,18,28,2,0,7,34,6),bs(0,9,12,-6,0,19,29,2,0,7,36,6),bs(0,10,13,-6,0,20,31,3,0,8,38,7),bs(0,10,13,-6,0,21,33,3,0,8,40,7),bs(0,10,14,-6,0,22,35,3,0,8,42,7),bs(0,11,14,-7,0,23,36,3,0,9,44,8),bs(0,11,15,-7,0,24,38,3,0,9,46,8)];const ys=["duration","easing","delay"],xs={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},ws={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ss(e){return`${Math.round(e)}ms`}function Cs(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function ks(e){const t=E({},xs,e.easing),o=E({},ws,e.duration);return E({getAutoHeightDuration:Cs,create:(e=["all"],n={})=>{const{duration:r=o.standard,easing:a=t.easeInOut,delay:i=0}=n;return N(n,ys),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof r?r:Ss(r)} ${a} ${"string"==typeof i?i:Ss(i)}`)).join(",")}},e,{easing:t,duration:o})}var Rs={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const Ms=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Ts(e={},...t){const{mixins:o={},palette:n={},transitions:r={},typography:a={}}=e,i=N(e,Ms),l=ps(n),s=sr(e);let c=po(s,{mixins:(d=s.breakpoints,s.spacing,u=o,E({toolbar:{minHeight:56,[`${d.up("xs")} and (orientation: landscape)`]:{minHeight:48},[d.up("sm")]:{minHeight:64}}},u)),palette:l,shadows:vs.slice(),typography:gs(l,a),transitions:ks(r),zIndex:E({},Rs)});var d,u;return c=po(c,i),c=t.reduce(((e,t)=>po(e,t)),c),c}let $s=!1;function Ps(e){return String(parseFloat(e)).length===String(e).length}function Is(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function Ls(e){return parseFloat(e)}function Es({lineHeight:e,pixels:t,htmlFontSize:o}){return t/(e*o)}var Ns=Ts();function As(){return hr(Ns)}function Os({props:e,name:t}){return Tr({props:e,name:t,defaultTheme:Ns})}const zs=e=>kr(e)&&"classes"!==e,Bs=kr;var Fs=function(e={}){const{defaultTheme:t=Rr,rootShouldForwardProp:o=kr,slotShouldForwardProp:n=kr}=e;return(e,r={})=>{const{name:a,slot:i,skipVariantsResolver:l,skipSx:s,overridesResolver:c}=r,d=N(r,xr),u=void 0!==l?l:i&&"Root"!==i||!1,p=s||!1;let m=kr;"Root"===i?m=o:i&&(m=n);const f=co(e,E({shouldForwardProp:m,label:undefined},d)),h=(e,...o)=>{const n=o?o.map((e=>"function"==typeof e&&e.__emotion_real!==e?o=>{let{theme:n}=o,r=N(o,wr);return e(E({theme:Cr(n)?t:n},r))}:e)):[];let r=e;a&&c&&n.push((e=>{const o=Cr(e.theme)?t:e.theme,n=((e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null)(a,o);if(n){const t={};return Object.entries(n).forEach((([o,n])=>{t[o]="function"==typeof n?n(e):n})),c(e,t)}return null})),a&&!u&&n.push((e=>{const o=Cr(e.theme)?t:e.theme;return((e,t,o,n)=>{var r,a;const{ownerState:i={}}=e,l=[],s=null==o||null==(r=o.components)||null==(a=r[n])?void 0:a.variants;return s&&s.forEach((o=>{let n=!0;Object.keys(o.props).forEach((t=>{i[t]!==o.props[t]&&e[t]!==o.props[t]&&(n=!1)})),n&&l.push(t[yr(o.props)])})),l})(e,((e,t)=>{let o=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(o=t.components[e].variants);const n={};return o.forEach((e=>{const t=yr(e.props);n[t]=e.style})),n})(a,o),o,a)})),p||n.push((e=>Jn(E({},e,{theme:Cr(e.theme)?t:e.theme}))));const i=n.length-o.length;if(Array.isArray(e)&&i>0){const t=new Array(i).fill("");r=[...e,...t],r.raw=[...e.raw,...t]}else"function"==typeof e&&(r=o=>{let{theme:n}=o,r=N(o,Sr);return e(E({theme:Cr(n)?t:n},r))});return f(r,...n)};return f.withConfig&&(h.withConfig=f.withConfig),h}}({defaultTheme:Ns,rootShouldForwardProp:zs});function Ds(e){return ea("MuiSvgIcon",e)}var Ws=ta("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Vs=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Hs=Fs("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,"inherit"!==o.color&&t[`color${fo(o.color)}`],t[`fontSize${fo(o.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var o,n,r,a,i,l,s,c,d,u,p,m,f,h,g,b,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:null==(o=e.transitions)||null==(n=o.create)?void 0:n.call(o,"fill",{duration:null==(r=e.transitions)||null==(a=r.duration)?void 0:a.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(l=i.pxToRem)?void 0:l.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(c=s.pxToRem)?void 0:c.call(s,24))||"1.5rem",large:(null==(d=e.typography)||null==(u=d.pxToRem)?void 0:u.call(d,35))||"2.1875"}[t.fontSize],color:null!=(p=null==(m=e.palette)||null==(f=m[t.color])?void 0:f.main)?p:{action:null==(h=e.palette)||null==(g=h.action)?void 0:g.active,disabled:null==(b=e.palette)||null==(v=b.action)?void 0:v.disabled,inherit:void 0}[t.color]}})),Us=i.forwardRef((function(e,t){const o=Os({props:e,name:"MuiSvgIcon"}),{children:n,className:r,color:a="inherit",component:i="svg",fontSize:l="medium",htmlColor:s,inheritViewBox:c=!1,titleAccess:d,viewBox:u="0 0 24 24"}=o,p=N(o,Vs),m=E({},o,{color:a,component:i,fontSize:l,inheritViewBox:c,viewBox:u}),f={};c||(f.viewBox=u);const h=(e=>{const{color:t,fontSize:o,classes:n}=e;return Yr({root:["root","inherit"!==t&&`color${fo(t)}`,`fontSize${fo(o)}`]},Ds,n)})(m);return io(Hs,E({as:i,className:or(h.root,r),ownerState:m,focusable:"false",color:s,"aria-hidden":!d||void 0,role:d?"img":void 0,ref:t},f,p,{children:[n,d?ao("title",{children:d}):null]}))}));Us.muiName="SvgIcon";var js=Us;function Gs(e,t){const o=(o,n)=>ao(js,E({"data-testid":`${t}Icon`,ref:n},o,{children:e}));return o.muiName=js.muiName,i.memo(i.forwardRef(o))}function _s(e,t){return(_s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qs(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_s(e,t)}var Ks=!1,Xs=a.default.createContext(null),Ys="unmounted",Zs="exited",Js="entering",Qs="entered",ec="exiting",tc=function(e){function t(t,o){var n;n=e.call(this,t,o)||this;var r,a=o&&!o.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?a?(r=Zs,n.appearStatus=Js):r=Qs:r=t.unmountOnExit||t.mountOnEnter?Ys:Zs,n.state={status:r},n.nextCallback=null,n}qs(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Ys?{status:Zs}:null};var o=t.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(e){var t=null;if(e!==this.props){var o=this.state.status;this.props.in?o!==Js&&o!==Qs&&(t=Js):o!==Js&&o!==Qs||(t=ec)}this.updateStatus(!1,t)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var e,t,o,n=this.props.timeout;return e=t=o=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,o=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:o}},o.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===Js?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===Zs&&this.setState({status:Ys})},o.performEnter=function(e){var t=this,o=this.props.enter,n=this.context?this.context.isMounting:e,r=this.props.nodeRef?[n]:[s.default.findDOMNode(this),n],a=r[0],i=r[1],l=this.getTimeouts(),c=n?l.appear:l.enter;!e&&!o||Ks?this.safeSetState({status:Qs},(function(){t.props.onEntered(a)})):(this.props.onEnter(a,i),this.safeSetState({status:Js},(function(){t.props.onEntering(a,i),t.onTransitionEnd(c,(function(){t.safeSetState({status:Qs},(function(){t.props.onEntered(a,i)}))}))})))},o.performExit=function(){var e=this,t=this.props.exit,o=this.getTimeouts(),n=this.props.nodeRef?void 0:s.default.findDOMNode(this);t&&!Ks?(this.props.onExit(n),this.safeSetState({status:ec},(function(){e.props.onExiting(n),e.onTransitionEnd(o.exit,(function(){e.safeSetState({status:Zs},(function(){e.props.onExited(n)}))}))}))):this.safeSetState({status:Zs},(function(){e.props.onExited(n)}))},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},o.setNextCallback=function(e){var t=this,o=!0;return this.nextCallback=function(n){o&&(o=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},o.onTransitionEnd=function(e,t){this.setNextCallback(t);var o=this.props.nodeRef?this.props.nodeRef.current:s.default.findDOMNode(this),n=null==e&&!this.props.addEndListener;if(o&&!n){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],a=r[0],i=r[1];this.props.addEndListener(a,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if(e===Ys)return null;var t=this.props,o=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var n=N(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return a.default.createElement(Xs.Provider,{value:null},"function"==typeof o?o(e,n):a.default.cloneElement(a.default.Children.only(o),n))},t}(a.default.Component);function oc(){}tc.contextType=Xs,tc.propTypes={},tc.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:oc,onEntering:oc,onEntered:oc,onExit:oc,onExiting:oc,onExited:oc},tc.UNMOUNTED=Ys,tc.EXITED=Zs,tc.ENTERING=Js,tc.ENTERED=Qs,tc.EXITING=ec;var nc=tc;function rc(e,o){var n=Object.create(null);return e&&t.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return o&&t.isValidElement(e)?o(e):e}(e)})),n}function ac(e,t,o){return null!=o[t]?o[t]:e.props[t]}function ic(e,o,n){var r=rc(e.children),a=function(e,t){function o(o){return o in t?t[o]:e[o]}e=e||{},t=t||{};var n,r=Object.create(null),a=[];for(var i in e)i in t?a.length&&(r[i]=a,a=[]):a.push(i);var l={};for(var s in t){if(r[s])for(n=0;n<r[s].length;n++){var c=r[s][n];l[r[s][n]]=o(c)}l[s]=o(s)}for(n=0;n<a.length;n++)l[a[n]]=o(a[n]);return l}(o,r);return Object.keys(a).forEach((function(i){var l=a[i];if(t.isValidElement(l)){var s=i in o,c=i in r,d=o[i],u=t.isValidElement(d)&&!d.props.in;!c||s&&!u?c||!s||u?c&&s&&t.isValidElement(d)&&(a[i]=t.cloneElement(l,{onExited:n.bind(null,l),in:d.props.in,exit:ac(l,"exit",e),enter:ac(l,"enter",e)})):a[i]=t.cloneElement(l,{in:!1}):a[i]=t.cloneElement(l,{onExited:n.bind(null,l),in:!0,exit:ac(l,"exit",e),enter:ac(l,"enter",e)})}})),a}var lc=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},sc=function(e){function o(t,o){var n,r=(n=e.call(this,t,o)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:r,firstRender:!0},n}qs(o,e);var n=o.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},o.getDerivedStateFromProps=function(e,o){var n,r,a=o.children,i=o.handleExited;return{children:o.firstRender?(n=e,r=i,rc(n.children,(function(e){return t.cloneElement(e,{onExited:r.bind(null,e),in:!0,appear:ac(e,"appear",n),enter:ac(e,"enter",n),exit:ac(e,"exit",n)})}))):ic(e,a,i),firstRender:!1}},n.handleExited=function(e,t){var o=rc(this.props.children);e.key in o||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var o=E({},t.children);return delete o[e.key],{children:o}})))},n.render=function(){var e=this.props,t=e.component,o=e.childFactory,n=N(e,["component","childFactory"]),r=this.state.contextValue,i=lc(this.state.children).map(o);return delete n.appear,delete n.enter,delete n.exit,null===t?a.default.createElement(Xs.Provider,{value:r},i):a.default.createElement(Xs.Provider,{value:r},a.default.createElement(t,n,i))},o}(a.default.Component);sc.propTypes={},sc.defaultProps={component:"div",childFactory:function(e){return e}};var cc=sc;const dc=e=>e.scrollTop;function uc(e,t){var o,n;const{timeout:r,easing:a,style:i={}}=e;return{duration:null!=(o=i.transitionDuration)?o:"number"==typeof r?r:r[t.mode]||0,easing:null!=(n=i.transitionTimingFunction)?n:"object"==typeof a?a[t.mode]:a,delay:i.transitionDelay}}function pc(e){return ea("MuiCollapse",e)}var mc=ta("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const fc=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],hc=Fs("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],"entered"===o.state&&t.entered,"exited"===o.state&&!o.in&&"0px"===o.collapsedSize&&t.hidden]}})((({theme:e,ownerState:t})=>E({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===t.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===t.state&&E({height:"auto",overflow:"visible"},"horizontal"===t.orientation&&{width:"auto"}),"exited"===t.state&&!t.in&&"0px"===t.collapsedSize&&{visibility:"hidden"}))),gc=Fs("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})((({ownerState:e})=>E({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),bc=Fs("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})((({ownerState:e})=>E({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),vc=i.forwardRef((function(e,t){const o=Os({props:e,name:"MuiCollapse"}),{addEndListener:n,children:r,className:a,collapsedSize:l="0px",component:s,easing:c,in:d,onEnter:u,onEntered:p,onEntering:m,onExit:f,onExited:h,onExiting:g,orientation:b="vertical",style:v,timeout:y=ws.standard,TransitionComponent:x=nc}=o,w=N(o,fc),S=E({},o,{orientation:b,collapsedSize:l}),C=(e=>{const{orientation:t,classes:o}=e;return Yr({root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]},pc,o)})(S),k=As(),R=i.useRef(),M=i.useRef(null),T=i.useRef(),$="number"==typeof l?`${l}px`:l,P="horizontal"===b,I=P?"width":"height";i.useEffect((()=>()=>{clearTimeout(R.current)}),[]);const L=i.useRef(null),A=Mo(t,L),O=e=>t=>{if(e){const o=L.current;void 0===t?e(o):e(o,t)}},z=()=>M.current?M.current[P?"clientWidth":"clientHeight"]:0,B=O(((e,t)=>{M.current&&P&&(M.current.style.position="absolute"),e.style[I]=$,u&&u(e,t)})),F=O(((e,t)=>{const o=z();M.current&&P&&(M.current.style.position="");const{duration:n,easing:r}=uc({style:v,timeout:y,easing:c},{mode:"enter"});if("auto"===y){const t=k.transitions.getAutoHeightDuration(o);e.style.transitionDuration=`${t}ms`,T.current=t}else e.style.transitionDuration="string"==typeof n?n:`${n}ms`;e.style[I]=`${o}px`,e.style.transitionTimingFunction=r,m&&m(e,t)})),D=O(((e,t)=>{e.style[I]="auto",p&&p(e,t)})),W=O((e=>{e.style[I]=`${z()}px`,f&&f(e)})),V=O(h),H=O((e=>{const t=z(),{duration:o,easing:n}=uc({style:v,timeout:y,easing:c},{mode:"exit"});if("auto"===y){const o=k.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${o}ms`,T.current=o}else e.style.transitionDuration="string"==typeof o?o:`${o}ms`;e.style[I]=$,e.style.transitionTimingFunction=n,g&&g(e)}));return ao(x,E({in:d,onEnter:B,onEntered:D,onEntering:F,onExit:W,onExited:V,onExiting:H,addEndListener:e=>{"auto"===y&&(R.current=setTimeout(e,T.current||0)),n&&n(L.current,e)},nodeRef:L,timeout:"auto"===y?null:y},w,{children:(e,t)=>ao(hc,E({as:s,className:or(C.root,a,{entered:C.entered,exited:!d&&"0px"===$&&C.hidden}[e]),style:E({[P?"minWidth":"minHeight"]:$},v),ownerState:E({},S,{state:e}),ref:A},t,{children:ao(gc,{ownerState:E({},S,{state:e}),className:C.wrapper,ref:M,children:ao(bc,{ownerState:E({},S,{state:e}),className:C.wrapperInner,children:r})})}))}))}));vc.muiSupportAuto=!0;var yc=vc;function xc(e){return ea("MuiPaper",e)}var wc=ta("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Sc=["className","component","elevation","square","variant"],Cc=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)},kc=Fs("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],!o.square&&t.rounded,"elevation"===o.variant&&t[`elevation${o.elevation}`]]}})((({theme:e,ownerState:t})=>E({backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${e.palette.divider}`},"elevation"===t.variant&&E({boxShadow:e.shadows[t.elevation]},"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${Or("#fff",Cc(t.elevation))}, ${Or("#fff",Cc(t.elevation))})`}))));var Rc=i.forwardRef((function(e,t){const o=Os({props:e,name:"MuiPaper"}),{className:n,component:r="div",elevation:a=1,square:i=!1,variant:l="elevation"}=o,s=N(o,Sc),c=E({},o,{component:r,elevation:a,square:i,variant:l}),d=(e=>{const{square:t,elevation:o,variant:n,classes:r}=e;return Yr({root:["root",n,!t&&"rounded","elevation"===n&&`elevation${o}`]},xc,r)})(c);return ao(kc,E({as:r,ownerState:c,className:or(d.root,n),ref:t},s))}));var Mc=i.createContext({});function Tc(e){return ea("MuiAccordion",e)}var $c=ta("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]);const Pc=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","TransitionComponent","TransitionProps"],Ic=Fs(Rc,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`& .${$c.region}`]:t.region},t.root,!o.square&&t.rounded,!o.disableGutters&&t.gutters]}})((({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:e.palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&:before":{display:"none"}},[`&.${$c.expanded}`]:{"&:before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&:before":{display:"none"}}},[`&.${$c.disabled}`]:{backgroundColor:e.palette.action.disabledBackground}}}),(({theme:e,ownerState:t})=>E({},!t.square&&{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:e.shape.borderRadius,borderBottomRightRadius:e.shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},!t.disableGutters&&{[`&.${$c.expanded}`]:{margin:"16px 0"}})));var Lc=i.forwardRef((function(e,t){const o=Os({props:e,name:"MuiAccordion"}),{children:n,className:r,defaultExpanded:a=!1,disabled:l=!1,disableGutters:s=!1,expanded:c,onChange:d,square:u=!1,TransitionComponent:p=yc,TransitionProps:m}=o,f=N(o,Pc),[h,g]=ko({controlled:c,default:a,name:"Accordion",state:"expanded"}),b=i.useCallback((e=>{g(!h),d&&d(e,!h)}),[h,d,g]),[v,...y]=i.Children.toArray(n),x=i.useMemo((()=>({expanded:h,disabled:l,disableGutters:s,toggle:b})),[h,l,s,b]),w=E({},o,{square:u,disabled:l,disableGutters:s,expanded:h}),S=(e=>{const{classes:t,square:o,expanded:n,disabled:r,disableGutters:a}=e;return Yr({root:["root",!o&&"rounded",n&&"expanded",r&&"disabled",!a&&"gutters"],region:["region"]},Tc,t)})(w);return io(Ic,E({className:or(S.root,r),ref:t,ownerState:w,square:u},f,{children:[ao(Mc.Provider,{value:x,children:v}),ao(p,E({in:h,timeout:"auto"},m,{children:ao("div",{"aria-labelledby":v.props.id,id:v.props["aria-controls"],role:"region",className:S.region,children:y})}))]}))}));function Ec(e){return ea("MuiAccordionActions",e)}var Nc=ta("MuiAccordionActions",["root","spacing"]);const Ac=["className","disableSpacing"],Oc=Fs("div",{name:"MuiAccordionActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.disableSpacing&&t.spacing]}})((({ownerState:e})=>E({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end"},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})));var zc=i.forwardRef((function(e,t){const o=Os({props:e,name:"MuiAccordionActions"}),{className:n,disableSpacing:r=!1}=o,a=N(o,Ac),i=E({},o,{disableSpacing:r}),l=(e=>{const{classes:t,disableSpacing:o}=e;return Yr({root:["root",!o&&"spacing"]},Ec,t)})(i);return ao(Oc,E({className:or(l.root,n),ref:t,ownerState:i},a))}));function Bc(e){return ea("MuiAccordionDetails",e)}var Fc=ta("MuiAccordionDetails",["root"]);const Dc=["className"],Wc=Fs("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({padding:e.spacing(1,2,2)})));var Vc=i.forwardRef((function(e,t){const o=Os({props:e,name:"MuiAccordionDetails"}),{className:n}=o,r=N(o,Dc),a=o,i=(e=>{const{classes:t}=e;return Yr({root:["root"]},Bc,t)})(a);return ao(Wc,E({className:or(i.root,n),ref:t,ownerState:a},r))}));var Hc=ta("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);const Uc=["center","classes","className"];let jc,Gc,_c,qc,Kc=e=>e;const Xc=jt(jc||(jc=Kc`
|
|
12
12
|
0% {
|
|
13
13
|
transform: scale(0);
|
|
14
14
|
opacity: 0.1;
|