@matterbridge/frontend 3.11.1 → 3.11.2-dev-20261031-1af0fda
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/build/assets/{index-DrZFpM5c.js → index-Cera0zb7.js} +5 -5
- package/build/assets/{vendor_mui-DiHi-WpZ.js → vendor_mui-Bwi6U1rq.js} +1 -1
- package/build/assets/vendor_node_modules-CQymrk0g.js +57 -0
- package/build/assets/{vendor_notistack-DtGYh6nI.js → vendor_notistack-KR8UjZr-.js} +2 -2
- package/build/assets/{vendor_rjsf-Q5JuIJzr.js → vendor_rjsf-B6mpip0I.js} +3 -3
- package/build/index.html +5 -5
- package/package.json +1 -1
- package/build/assets/vendor_node_modules-Br1LuJmm.js +0 -57
|
@@ -36,7 +36,7 @@ theme.transitions = createTransitions(theme.transitions || {});
|
|
|
36
36
|
export default theme;`}function Ti(e){return typeof e==`number`?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}var Ei=e=>{if(!Number.isNaN(+e))return+e;let t=e.match(/\d*\.?\d+/g);if(!t)return 0;let n=0;for(let e=0;e<t.length;e+=1)n+=+t[e];return n};function Di(e){return e.startsWith(`hsl`)?cn(e):e}function Oi(e,t,n=``){let r=n.trim();if(r&&!r.startsWith(`color(`))try{let e=an(Di(r));if(e.split(` `).length===3&&!e.includes(`NaN`))return`var(--${t}Channel, ${e})`}catch{}return`var(--${t}Channel)`}function ki(e){Object.assign(e,{alpha(t,n){let r=this||e;if(r.colorSpace)return`oklch(from ${t} l c h / ${typeof n==`string`?`calc(${n})`:n})`;if(r.vars){let e=typeof n==`string`?`calc(${n})`:n;return t.startsWith(`color(`)?t.replace(/\s*(?:\/[^)]*)?\)$/,` / ${e})`):`rgba(${t.includes(`var(`)?t.replace(/var\(--([^,\s)]+)(?:,((?:[^()]|\([^()]*\))+)\)|(?:,[^)]+)?\)+)/g,Oi):on(Di(t))} / ${e})`}return dn(t,Ei(n))},lighten(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${Ti(n)})`:mn(t,n)},darken(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${Ti(n)})`:pn(t,n)}})}function Ai(e={},...t){let{breakpoints:n,mixins:r={},spacing:i,palette:a={},motion:o={},transitions:s={},typography:c={},shape:l,colorSpace:u,...d}=e;if(e.vars&&e.generateThemeVars===void 0)throw Error(b(22));let f=Ur({...a,colorSpace:u}),p=Et(e),m=F(p,{mixins:ri(p.breakpoints,r),palette:f,shadows:fi.slice(),typography:si(f,c),motion:xi(o),transitions:yi(s),zIndex:{...Si}});return m=F(m,d),m=t.reduce((e,t)=>F(e,t),m),delete m.transitions.reducedMotion,m.focusVisible!=null&&m.focusVisible!==!1&&(m.focusVisible=ei(m.focusVisible,m.palette.primary.main)),m.unstable_sxConfig={...yt,...d?.unstable_sxConfig},m.unstable_sx=function(e){return St({sx:e,theme:this})},m.toRuntimeSource=wi,ki(m),m}function ji(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}var Mi=[...Array(25)].map((e,t)=>{if(t===0)return`none`;let n=ji(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Ni(e){return{inputPlaceholder:e===`dark`?.5:.42,inputUnderline:e===`dark`?.7:.42,switchTrackDisabled:e===`dark`?.2:.12,switchTrack:e===`dark`?.3:.38}}function Pi(e){return e===`dark`?Mi:[]}function Fi(e){let{palette:t={mode:`light`},opacity:n,overlays:r,colorSpace:i,...a}=e,o=Ur({...t,colorSpace:i});return{palette:o,opacity:{...Ni(o.mode),...n},overlays:r||Pi(o.mode),...a}}function Ii(e){return e[0]===`motion`||e[0]===`focusVisible`||!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]===`palette`&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}var Li=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:``}overlays-${n}`),`--${e?`${e}-`:``}palette-AppBar-darkBg`,`--${e?`${e}-`:``}palette-AppBar-darkColor`],Ri=e=>(t,n)=>{let r=e.rootSelector||`:root`,i=e.colorSchemeSelector,a=i;if(i===`class`&&(a=`.%s`),i===`data`&&(a=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(a=`[${i}="%s"]`),e.defaultColorScheme===t){if(t===`dark`){let i={};return Li(e.cssVarPrefix).forEach(e=>{i[e]=n[e],delete n[e]}),a===`media`?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:i}}:a?{[a.replace(`%s`,t)]:i,[`${r}, ${a.replace(`%s`,t)}`]:n}:{[r]:{...n,...i}}}if(a&&a!==`media`)return`${r}, ${a.replace(`%s`,String(t))}`}else if(t){if(a===`media`)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(a)return a.replace(`%s`,String(t))}return r};function zi(e,t){t.forEach(t=>{e[t]||(e[t]={})})}function q(e,t,n){!e[t]&&n&&(e[t]=n)}function Bi(e){return typeof e!=`string`||!e.startsWith(`hsl`)?e:cn(e)}function Vi(e,t){`${t}Channel`in e||(e[`${t}Channel`]=on(Bi(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
37
37
|
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function Hi(e){return typeof e==`number`?`${e}px`:typeof e==`string`||typeof e==`function`||Array.isArray(e)?e:`8px`}var Ui=e=>{try{return e()}catch{}},Wi=(e=`mui`)=>tr(e);function Gi(e,t,n,r,i){if(!n)return;n=n===!0?{}:n;let a=i===`dark`?`dark`:`light`;if(!r){t[i]=Fi({...n,palette:{mode:a,...n?.palette},colorSpace:e});return}let{palette:o,...s}=Ai({...r,palette:{mode:a,...n?.palette},colorSpace:e});return t[i]={...n,palette:o,opacity:{...Ni(a),...n?.opacity},overlays:n?.overlays||Pi(a)},s}function Ki(e={},...t){let{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:a=`mui`,nativeColor:o=!1,shouldSkipGeneratingVar:s=Ii,colorSchemeSelector:c=n.light&&n.dark?`media`:void 0,rootSelector:l=`:root`,...u}=e,d=Object.keys(n)[0],f=r||(n.light&&d!==`light`?`light`:d),p=Wi(a),{[f]:m,light:h,dark:g,..._}=n,v={..._},y=m;if((f===`dark`&&!(`dark`in n)||f===`light`&&!(`light`in n))&&(y=!0),!y)throw Error(b(21,f));let x;o&&(x=`oklch`);let S=Gi(x,v,y,u,f);h&&!v.light&&Gi(x,v,h,void 0,`light`),g&&!v.dark&&Gi(x,v,g,void 0,`dark`);let C={defaultColorScheme:f,...S,cssVarPrefix:a,colorSchemeSelector:c,rootSelector:l,getCssVar:p,colorSchemes:v,font:{...ni(S.typography),...S.font},spacing:Hi(u.spacing)};Object.keys(C.colorSchemes).forEach(e=>{let t=C.colorSchemes[e].palette,n=e=>{let n=e.split(`-`),r=n[1],i=n[2];return p(e,t[r][i])};t.mode===`light`&&(q(t.common,`background`,`#fff`),q(t.common,`onBackground`,`#000`)),t.mode===`dark`&&(q(t.common,`background`,`#000`),q(t.common,`onBackground`,`#fff`)),o||Vi(t.text,`primary`);function r(e,t,n){if(x){let r;return e===fn&&(r=`transparent ${((1-n)*100).toFixed(0)}%`),e===G&&(r=`#000 ${(n*100).toFixed(0)}%`),e===hn&&(r=`#fff ${(n*100).toFixed(0)}%`),`color-mix(in ${x}, ${t}, ${r})`}return e(t,n)}if(zi(t,[`Alert`,`AppBar`,`Avatar`,`Button`,`Chip`,`FilledInput`,`Input`,`LinearProgress`,`Skeleton`,`Slider`,`SnackbarContent`,`SpeedDialAction`,`StepConnector`,`StepContent`,`Switch`,`TableCell`,`Tooltip`]),t.mode===`light`){q(t.Alert,`errorColor`,r(G,o?p(`palette-error-light`):t.error.light,.6)),q(t.Alert,`infoColor`,r(G,o?p(`palette-info-light`):t.info.light,.6)),q(t.Alert,`successColor`,r(G,o?p(`palette-success-light`):t.success.light,.6)),q(t.Alert,`warningColor`,r(G,o?p(`palette-warning-light`):t.warning.light,.6)),q(t.Alert,`errorFilledBg`,n(`palette-error-main`)),q(t.Alert,`infoFilledBg`,n(`palette-info-main`)),q(t.Alert,`successFilledBg`,n(`palette-success-main`)),q(t.Alert,`warningFilledBg`,n(`palette-warning-main`)),q(t.Alert,`errorFilledColor`,Ui(()=>t.getContrastText(t.error.main))),q(t.Alert,`infoFilledColor`,Ui(()=>t.getContrastText(t.info.main))),q(t.Alert,`successFilledColor`,Ui(()=>t.getContrastText(t.success.main))),q(t.Alert,`warningFilledColor`,Ui(()=>t.getContrastText(t.warning.main))),q(t.Alert,`errorStandardBg`,r(hn,o?p(`palette-error-light`):t.error.light,.9)),q(t.Alert,`infoStandardBg`,r(hn,o?p(`palette-info-light`):t.info.light,.9)),q(t.Alert,`successStandardBg`,r(hn,o?p(`palette-success-light`):t.success.light,.9)),q(t.Alert,`warningStandardBg`,r(hn,o?p(`palette-warning-light`):t.warning.light,.9)),q(t.Alert,`errorIconColor`,n(`palette-error-main`)),q(t.Alert,`infoIconColor`,n(`palette-info-main`)),q(t.Alert,`successIconColor`,n(`palette-success-main`)),q(t.Alert,`warningIconColor`,n(`palette-warning-main`)),q(t.AppBar,`defaultBg`,n(`palette-grey-100`)),q(t.Avatar,`defaultBg`,n(`palette-grey-400`)),q(t.Button,`inheritContainedBg`,n(`palette-grey-300`)),q(t.Button,`inheritContainedHoverBg`,n(`palette-grey-A100`)),q(t.Chip,`defaultBorder`,n(`palette-grey-400`)),q(t.Chip,`defaultAvatarColor`,n(`palette-grey-700`)),q(t.Chip,`defaultIconColor`,n(`palette-grey-700`)),q(t.FilledInput,`bg`,`rgba(0, 0, 0, 0.06)`),q(t.FilledInput,`hoverBg`,`rgba(0, 0, 0, 0.09)`),q(t.FilledInput,`disabledBg`,`rgba(0, 0, 0, 0.12)`),q(t.Input,`autofillWebkitBoxShadow`,`none`),q(t.LinearProgress,`primaryBg`,r(hn,o?p(`palette-primary-main`):t.primary.main,.62)),q(t.LinearProgress,`secondaryBg`,r(hn,o?p(`palette-secondary-main`):t.secondary.main,.62)),q(t.LinearProgress,`errorBg`,r(hn,o?p(`palette-error-main`):t.error.main,.62)),q(t.LinearProgress,`infoBg`,r(hn,o?p(`palette-info-main`):t.info.main,.62)),q(t.LinearProgress,`successBg`,r(hn,o?p(`palette-success-main`):t.success.main,.62)),q(t.LinearProgress,`warningBg`,r(hn,o?p(`palette-warning-light`):t.warning.main,.62)),q(t.Skeleton,`bg`,x?r(fn,o?p(`palette-text-primary`):t.text.primary,.11):`rgba(${n(`palette-text-primaryChannel`)} / 0.11)`),q(t.Slider,`primaryTrack`,r(hn,o?p(`palette-primary-main`):t.primary.main,.62)),q(t.Slider,`secondaryTrack`,r(hn,o?p(`palette-secondary-main`):t.secondary.main,.62)),q(t.Slider,`errorTrack`,r(hn,o?p(`palette-error-main`):t.error.main,.62)),q(t.Slider,`infoTrack`,r(hn,o?p(`palette-info-main`):t.info.main,.62)),q(t.Slider,`successTrack`,r(hn,o?p(`palette-success-main`):t.success.main,.62)),q(t.Slider,`warningTrack`,r(hn,o?p(`palette-warning-main`):t.warning.main,.62));let e=x?r(G,o?p(`palette-background-default`):t.background.default,.6825):_n(t.background.default,.8);q(t.SnackbarContent,`bg`,e),q(t.SnackbarContent,`color`,Ui(()=>x?Nr.text.primary:t.getContrastText(e))),q(t.SpeedDialAction,`fabHoverBg`,_n(t.background.paper,.15)),q(t.StepConnector,`border`,n(`palette-grey-400`)),q(t.StepContent,`border`,n(`palette-grey-400`)),q(t.Switch,`defaultColor`,n(`palette-common-white`)),q(t.Switch,`defaultDisabledColor`,n(`palette-grey-100`)),q(t.Switch,`primaryDisabledColor`,r(hn,o?p(`palette-primary-main`):t.primary.main,.62)),q(t.Switch,`secondaryDisabledColor`,r(hn,o?p(`palette-secondary-main`):t.secondary.main,.62)),q(t.Switch,`errorDisabledColor`,r(hn,o?p(`palette-error-main`):t.error.main,.62)),q(t.Switch,`infoDisabledColor`,r(hn,o?p(`palette-info-main`):t.info.main,.62)),q(t.Switch,`successDisabledColor`,r(hn,o?p(`palette-success-main`):t.success.main,.62)),q(t.Switch,`warningDisabledColor`,r(hn,o?p(`palette-warning-main`):t.warning.main,.62)),q(t.TableCell,`border`,r(hn,fn(o?p(`palette-divider`):t.divider,1),.88)),q(t.Tooltip,`bg`,r(fn,o?p(`palette-grey-700`):t.grey[700],.92))}if(t.mode===`dark`){q(t.Alert,`errorColor`,r(hn,o?p(`palette-error-light`):t.error.light,.6)),q(t.Alert,`infoColor`,r(hn,o?p(`palette-info-light`):t.info.light,.6)),q(t.Alert,`successColor`,r(hn,o?p(`palette-success-light`):t.success.light,.6)),q(t.Alert,`warningColor`,r(hn,o?p(`palette-warning-light`):t.warning.light,.6)),q(t.Alert,`errorFilledBg`,n(`palette-error-dark`)),q(t.Alert,`infoFilledBg`,n(`palette-info-dark`)),q(t.Alert,`successFilledBg`,n(`palette-success-dark`)),q(t.Alert,`warningFilledBg`,n(`palette-warning-dark`)),q(t.Alert,`errorFilledColor`,Ui(()=>t.getContrastText(t.error.dark))),q(t.Alert,`infoFilledColor`,Ui(()=>t.getContrastText(t.info.dark))),q(t.Alert,`successFilledColor`,Ui(()=>t.getContrastText(t.success.dark))),q(t.Alert,`warningFilledColor`,Ui(()=>t.getContrastText(t.warning.dark))),q(t.Alert,`errorStandardBg`,r(G,o?p(`palette-error-light`):t.error.light,.9)),q(t.Alert,`infoStandardBg`,r(G,o?p(`palette-info-light`):t.info.light,.9)),q(t.Alert,`successStandardBg`,r(G,o?p(`palette-success-light`):t.success.light,.9)),q(t.Alert,`warningStandardBg`,r(G,o?p(`palette-warning-light`):t.warning.light,.9)),q(t.Alert,`errorIconColor`,n(`palette-error-main`)),q(t.Alert,`infoIconColor`,n(`palette-info-main`)),q(t.Alert,`successIconColor`,n(`palette-success-main`)),q(t.Alert,`warningIconColor`,n(`palette-warning-main`)),q(t.AppBar,`defaultBg`,n(`palette-grey-900`)),q(t.AppBar,`darkBg`,n(`palette-background-paper`)),q(t.AppBar,`darkColor`,n(`palette-text-primary`)),q(t.Avatar,`defaultBg`,n(`palette-grey-600`)),q(t.Button,`inheritContainedBg`,n(`palette-grey-800`)),q(t.Button,`inheritContainedHoverBg`,n(`palette-grey-700`)),q(t.Chip,`defaultBorder`,n(`palette-grey-700`)),q(t.Chip,`defaultAvatarColor`,n(`palette-grey-300`)),q(t.Chip,`defaultIconColor`,n(`palette-grey-300`)),q(t.FilledInput,`bg`,`rgba(255, 255, 255, 0.09)`),q(t.FilledInput,`hoverBg`,`rgba(255, 255, 255, 0.13)`),q(t.FilledInput,`disabledBg`,`rgba(255, 255, 255, 0.12)`),q(t.Input,`autofillWebkitBoxShadow`,`0 0 0 100px #266798 inset`),q(t.LinearProgress,`primaryBg`,r(G,o?p(`palette-primary-main`):t.primary.main,.5)),q(t.LinearProgress,`secondaryBg`,r(G,o?p(`palette-secondary-main`):t.secondary.main,.5)),q(t.LinearProgress,`errorBg`,r(G,o?p(`palette-error-main`):t.error.main,.5)),q(t.LinearProgress,`infoBg`,r(G,o?p(`palette-info-main`):t.info.main,.5)),q(t.LinearProgress,`successBg`,r(G,o?p(`palette-success-main`):t.success.main,.5)),q(t.LinearProgress,`warningBg`,r(G,o?p(`palette-warning-main`):t.warning.main,.5)),q(t.Skeleton,`bg`,x?r(fn,o?p(`palette-text-primary`):t.text.primary,.13):`rgba(${n(`palette-text-primaryChannel`)} / 0.13)`),q(t.Slider,`primaryTrack`,r(G,o?p(`palette-primary-main`):t.primary.main,.5)),q(t.Slider,`secondaryTrack`,r(G,o?p(`palette-secondary-main`):t.secondary.main,.5)),q(t.Slider,`errorTrack`,r(G,o?p(`palette-error-main`):t.error.main,.5)),q(t.Slider,`infoTrack`,r(G,o?p(`palette-info-main`):t.info.main,.5)),q(t.Slider,`successTrack`,r(G,o?p(`palette-success-main`):t.success.main,.5)),q(t.Slider,`warningTrack`,r(G,o?p(`palette-warning-light`):t.warning.main,.5));let e=x?r(hn,o?p(`palette-background-default`):t.background.default,.985):_n(t.background.default,.98);q(t.SnackbarContent,`bg`,e),q(t.SnackbarContent,`color`,Ui(()=>x?jr.text.primary:t.getContrastText(e))),q(t.SpeedDialAction,`fabHoverBg`,_n(t.background.paper,.15)),q(t.StepConnector,`border`,n(`palette-grey-600`)),q(t.StepContent,`border`,n(`palette-grey-600`)),q(t.Switch,`defaultColor`,n(`palette-grey-300`)),q(t.Switch,`defaultDisabledColor`,n(`palette-grey-600`)),q(t.Switch,`primaryDisabledColor`,r(G,o?p(`palette-primary-main`):t.primary.main,.55)),q(t.Switch,`secondaryDisabledColor`,r(G,o?p(`palette-secondary-main`):t.secondary.main,.55)),q(t.Switch,`errorDisabledColor`,r(G,o?p(`palette-error-main`):t.error.main,.55)),q(t.Switch,`infoDisabledColor`,r(G,o?p(`palette-info-main`):t.info.main,.55)),q(t.Switch,`successDisabledColor`,r(G,o?p(`palette-success-main`):t.success.main,.55)),q(t.Switch,`warningDisabledColor`,r(G,o?p(`palette-warning-light`):t.warning.main,.55)),q(t.TableCell,`border`,r(G,fn(o?p(`palette-divider`):t.divider,1),.68)),q(t.Tooltip,`bg`,r(fn,o?p(`palette-grey-700`):t.grey[700],.92))}o||(Vi(t.background,`default`),Vi(t.background,`paper`),Vi(t.common,`background`),Vi(t.common,`onBackground`),Vi(t,`divider`)),Object.keys(t).forEach(e=>{let n=t[e];e!==`tonalOffset`&&!o&&n&&typeof n==`object`&&(n.main&&q(t[e],`mainChannel`,on(Bi(n.main))),n.light&&q(t[e],`lightChannel`,on(Bi(n.light))),n.dark&&q(t[e],`darkChannel`,on(Bi(n.dark))),n.contrastText&&q(t[e],`contrastTextChannel`,on(Bi(n.contrastText))),e===`text`&&(Vi(t[e],`primary`),Vi(t[e],`secondary`)),e===`action`&&(n.active&&Vi(t[e],`active`),n.selected&&Vi(t[e],`selected`)))})}),C=t.reduce((e,t)=>F(e,t),C);let w=Qr(e.focusVisible,t);w!=null&&w!==!1&&(C.focusVisible=ei(w,p(`palette-primary-main`)));let T={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:s,getSelector:Ri(C),enableContrastVars:o},{vars:E,generateThemeVars:D,generateStyleSheets:O}=sr(C,T);return C.vars=E,Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([e,t])=>{C[e]=t}),C.generateThemeVars=D,C.generateStyleSheets=O,C.generateSpacing=function(){return We(u.spacing,Ie(this))},C.getColorSchemeSelector=cr(c),C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=s,C.unstable_sxConfig={...yt,...u?.unstable_sxConfig},C.unstable_sx=function(e){return St({sx:e,theme:this})},C.internal_cache={},C.toRuntimeSource=wi,C}function qi(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Ur({...n===!0?{}:n.palette,mode:t})})}function Ji(e={},...t){let{palette:n,cssVariables:r=!1,colorSchemes:i=n?void 0:{light:!0},defaultColorScheme:a=n?.mode,...o}=e,s=a||`light`,c=i?.[s],l={...i,...n?{[s]:{...typeof c!=`boolean`&&c,palette:n}}:void 0};if(r===!1){if(!(`colorSchemes`in e))return Ai(e,...t);let r=n;`palette`in e||l[s]&&(l[s]===!0?s===`dark`&&(r={mode:`dark`}):r=l[s].palette);let i=Ai({...e,palette:r},...t);if(i.defaultColorScheme=s,i.colorSchemes=l,i.palette.mode===`light`&&(i.colorSchemes.light={...l.light!==!0&&l.light,palette:i.palette},qi(i,`dark`,l.dark)),i.palette.mode===`dark`&&(i.colorSchemes.dark={...l.dark!==!0&&l.dark,palette:i.palette},qi(i,`light`,l.light)),i.focusVisible!=null&&i.focusVisible!==!1){let n=i.focusVisible,r=Qr(e.focusVisible,t),a=r&&typeof r==`object`?r.outlineColor:void 0;if(!a||$r(r)&&a===i.palette.primary.main){let{outlineColor:e,...t}=n;n=t}Object.keys(i.colorSchemes).forEach(e=>{let t=i.colorSchemes?.[e]?.palette;t?.primary&&(i.colorSchemes[e].focusVisible=ei(n,t.primary.main))})}return i}return!n&&!(`light`in l)&&s===`light`&&(l.light=!0),Ki({...o,colorSchemes:l,defaultColorScheme:s,...typeof r!=`boolean`&&r},...t)}var Yi=e(u(),1);function Xi(e){return U(`MuiCheckbox`,e)}var Zi=W(`MuiCheckbox`,[`root`,`checked`,`disabled`,`indeterminate`,`colorPrimary`,`colorSecondary`,`sizeSmall`,`sizeMedium`]);function Qi(e){return typeof e==`string`}function $i(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}return r.clear=()=>{clearTimeout(n)},r}function ea(...e){let t=d.useRef(void 0),n=d.useCallback(t=>{let n=e.map(e=>{if(e==null)return null;if(typeof e==`function`){let n=e,r=n(t);return typeof r==`function`?r:()=>{n(null)}}return e.current=t,()=>{e.current=null}});return()=>{n.forEach(e=>e?.())}},e);return d.useMemo(()=>e.every(e=>e==null)?null:e=>{t.current&&=(t.current(),void 0),e!=null&&(t.current=n(e))},e)}function ta(e){let t=d.useRef(e);return $t(()=>{t.current=e}),d.useRef((...e)=>(0,t.current)(...e)).current}function na(e){return e&&e.ownerDocument||document}function ra(e){return na(e).defaultView||window}function ia(e){return parseInt(e,10)||0}var aa={shadow:{visibility:`hidden`,position:`absolute`,overflow:`hidden`,height:0,top:0,left:0,transform:`translateZ(0)`}};function oa(e){for(let t in e)return!1;return!0}function sa(e){return oa(e)||e.outerHeightStyle===0&&!e.overflowing}var ca=d.forwardRef(function(e,t){let{onChange:n,maxRows:r,minRows:i=1,style:a,value:o,...s}=e,{current:c}=d.useRef(o!=null),l=d.useRef(null),u=ea(t,l),f=d.useRef(null),p=d.useRef(null),m=d.useCallback(()=>{let t=l.current,n=p.current;if(!t||!n)return;let a=ra(t).getComputedStyle(t);if(a.width===`0px`)return{outerHeightStyle:0,overflowing:!1};n.style.width=a.width,n.value=t.value||e.placeholder||`x`,n.value.slice(-1)===`
|
|
38
38
|
`&&(n.value+=` `);let o=a.boxSizing,s=ia(a.paddingBottom)+ia(a.paddingTop),c=ia(a.borderBottomWidth)+ia(a.borderTopWidth),u=n.scrollHeight;n.value=`x`;let d=n.scrollHeight,f=u;return i&&(f=Math.max(Number(i)*d,f)),r&&(f=Math.min(Number(r)*d,f)),f=Math.max(f,d),{outerHeightStyle:f+(o===`border-box`?s+c:0),overflowing:Math.abs(f-u)<=1}},[r,i,e.placeholder]),h=ta(()=>{let e=l.current,t=m();if(!e||!t||sa(t))return!1;let n=t.outerHeightStyle;return f.current!=null&&f.current!==n}),g=d.useCallback(()=>{let e=l.current,t=m();if(!e||!t||sa(t))return;let n=t.outerHeightStyle;f.current!==n&&(f.current=n,e.style.height=`${n}px`),e.style.overflow=t.overflowing?`hidden`:``},[m]),_=d.useRef(-1);return $t(()=>{let e=$i(g),t=l?.current;if(!t)return;let n=ra(t);n.addEventListener(`resize`,e);let r;return typeof ResizeObserver<`u`&&(r=new ResizeObserver(()=>{h()&&(r.unobserve(t),cancelAnimationFrame(_.current),g(),_.current=requestAnimationFrame(()=>{r.observe(t)}))}),r.observe(t)),()=>{e.clear(),cancelAnimationFrame(_.current),n.removeEventListener(`resize`,e),r&&r.disconnect()}},[m,g,h]),$t(()=>{g()}),(0,w.jsxs)(d.Fragment,{children:[(0,w.jsx)(`textarea`,{value:o,onChange:e=>{c||g();let t=e.target,r=t.value.length,i=t.value.endsWith(`
|
|
39
|
-
`),a=t.selectionStart===r;i&&a&&t.setSelectionRange(r,r),n&&n(e)},ref:u,rows:i,style:a,...s}),(0,w.jsx)(`textarea`,{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:{...aa.shadow,...a,paddingTop:0,paddingBottom:0}})]})}),la=d.createContext(void 0);function ua(){return d.useContext(la)}function da({props:e,states:t}){let n=d.useContext(la),r={};return t.forEach(t=>{let i=e[t];r[t]=i===void 0&&n?n[t]:i}),[r,n]}var fa=Ji();function pa(){let e=At(fa);return e.$$material||e}function ma(e){return(0,w.jsx)(Mt,{...e,defaultTheme:fa,themeId:x})}function ha(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}var ga=e=>ha(e)&&e!==`classes`,J=Kt({themeId:x,defaultTheme:fa,rootShouldForwardProp:ga});function _a(e){return function(t){return(0,w.jsx)(ma,{styles:typeof e==`function`?n=>e({theme:n,...t}):e})}}var Y=zn;function X(e){return kn(e)}var Z=B,va=ea,ya=$t,ba=na;function xa(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}var Sa=xa;function Ca(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function wa(e,t=!1){return e&&(Ca(e.value)&&e.value!==``||t&&Ca(e.defaultValue)&&e.defaultValue!==``)}function Ta(e){return e.startAdornment}function Ea(e){return U(`MuiInputBase`,e)}var Da=W(`MuiInputBase`,[`root`,`formControl`,`focused`,`disabled`,`adornedStart`,`adornedEnd`,`error`,`sizeSmall`,`multiline`,`colorSecondary`,`fullWidth`,`hiddenLabel`,`readOnly`,`input`,`inputTypeSearch`]),Oa={transition:`none`};function ka(e,t){return e===`always`?t:e===`system`?{"@media (prefers-reduced-motion: reduce)":t}:null}var Aa=e=>e.scrollTop,ja={},Ma=[`all`],Na={};function Pa(e,t){return n=>{if(t){let r=e.current;n===void 0?t(r):t(r,n)}}}function Fa(e,t,n,r,i,a){let o=e===`exited`&&!t?r:n[e]||n.exited;return i||a?{...o,...i,...a}:o}function Ia(e,t){let{timeout:n,easing:r,style:i=ja}=e;return{duration:i.transitionDuration??(typeof n==`number`?n:n[t.mode]||0),easing:i.transitionTimingFunction??(typeof r==`object`?r[t.mode]:r),delay:i.transitionDelay}}function La(e,t){let n=t??Oa;return ka(e.motion?.reducedMotion,n)}function Ra(e,t=Ma,n=Na){let r=e.transitions?.create?.(t,n),i=La(e);if(r===void 0)return i??ja;let a={transition:r};return i?{...a,...i}:a}var za,Ba=`mui-auto-fill`,Va=`mui-auto-fill-cancel`,Ha=(e,t)=>{let{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size===`small`&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${Z(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Ua=(e,t)=>{let{ownerState:n}=e;return[t.input,n.type===`search`&&t.inputTypeSearch]},Wa=e=>{let{classes:t,color:n,disabled:r,error:i,endAdornment:a,focused:o,formControl:s,fullWidth:c,hiddenLabel:l,multiline:u,readOnly:d,size:f,startAdornment:p,type:m}=e;return K({root:[`root`,`color${Z(n)}`,r&&`disabled`,i&&`error`,c&&`fullWidth`,o&&`focused`,s&&`formControl`,f&&f!==`medium`&&`size${Z(f)}`,u&&`multiline`,p&&`adornedStart`,a&&`adornedEnd`,l&&`hiddenLabel`,d&&`readOnly`],input:[`input`,r&&`disabled`,m===`search`&&`inputTypeSearch`,d&&`readOnly`]},Ea,t)},Ga=J(`div`,{name:`MuiInputBase`,slot:`Root`,overridesResolver:Ha})(Y(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:`1.4375em`,boxSizing:`border-box`,position:`relative`,cursor:`text`,display:`inline-flex`,alignItems:`center`,[`&.${Da.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:`default`},variants:[{props:({ownerState:e})=>e.multiline,style:{padding:`4px 0 5px`}},{props:({ownerState:e,size:t})=>e.multiline&&t===`small`,style:{paddingTop:1}},{props:({ownerState:e})=>e.fullWidth,style:{width:`100%`}}]}))),Ka=J(`input`,{name:`MuiInputBase`,slot:`Input`,overridesResolver:Ua})(Y(({theme:e})=>{let t=e.palette.mode===`light`,n={color:`currentColor`,...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},...Ra(e,`opacity`,{duration:e.transitions.duration.shorter})},r={opacity:`0 !important`},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:`inherit`,letterSpacing:`inherit`,color:`currentColor`,padding:`4px 0 5px`,border:0,boxSizing:`content-box`,background:`none`,height:`1.4375em`,margin:0,WebkitTapHighlightColor:`transparent`,display:`block`,minWidth:0,width:`100%`,"&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:`none`},"&::-webkit-search-decoration":{WebkitAppearance:`none`},[`label[data-shrink=false] + .${Da.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${Da.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:e})=>!e.disableInjectingGlobalStyles,style:{animationName:Va,animationDuration:`10ms`,"&:-webkit-autofill":{animationDuration:`5000s`,animationName:Ba}}},{props:{size:`small`},style:{paddingTop:1}},{props:({ownerState:e})=>e.multiline,style:{height:`auto`,resize:`none`,padding:0,paddingTop:0}},{props:{type:`search`},style:{MozAppearance:`textfield`}}]}})),qa=_a({[`@keyframes ${Ba}`]:{from:{animationName:Ba}},[`@keyframes ${Va}`]:{from:{animationName:Va}}}),Ja=d.forwardRef(function(e,t){let n=X({props:e,name:`MuiInputBase`}),{"aria-describedby":r,"aria-label":i,autoComplete:a,autoFocus:o,className:s,color:c,defaultValue:l,disabled:u,disableInjectingGlobalStyles:f,endAdornment:p,error:m,fullWidth:h=!1,id:g,inputComponent:_=`input`,inputProps:v,inputRef:y,margin:x,maxRows:S,minRows:C,multiline:T=!1,name:E,onBlur:D,onChange:O,onClick:k,onFocus:A,onKeyDown:j,onKeyUp:M,placeholder:N,readOnly:P,renderSuffix:F,rows:I,size:ee,slotProps:te={},slots:L={},startAdornment:ne,type:re=`text`,value:ie,...ae}=n,oe={...v,...te.input},R=oe.value==null?ie:oe.value,{current:se}=d.useRef(R!=null),ce=d.useRef(),le=d.useCallback(e=>{},[]),ue=va(ce,y,oe.ref,le),[de,fe]=d.useState(!1),[pe,z]=da({props:n,states:[`color`,`disabled`,`error`,`hiddenLabel`,`size`,`required`,`filled`]});pe.focused=z?z.focused:de,d.useEffect(()=>{!z&&u&&de&&(fe(!1),D&&D())},[z,u,de,D]);let me=z&&z.onFilled,he=z&&z.onEmpty,ge=d.useCallback(e=>{wa(e)?me&&me():he&&he()},[me,he]);ya(()=>{se&&ge({value:R})},[R,ge,se]),ya(()=>{if(!o)return;let e=ce.current;if(!e)return;let t=ba(e),n=Sa(t),r=n==null||n===t.body||n===t.documentElement;e===n?z&&z.onFocus?z.onFocus():fe(!0):r&&e.focus()},[o]);let _e=e=>{A&&A(e),oe.onFocus&&oe.onFocus(e),z&&z.onFocus?z.onFocus(e):fe(!0)},ve=e=>{D&&D(e),oe.onBlur&&oe.onBlur(e),z&&z.onBlur?z.onBlur(e):fe(!1)},ye=(e,...t)=>{if(!se){let t=e.target||ce.current;if(t==null)throw Error(b(1));ge({value:t.value})}oe.onChange&&oe.onChange(e,...t),O&&O(e,...t)};d.useEffect(()=>{ge(ce.current)},[]);let be=e=>{ce.current&&e.currentTarget===e.target&&ce.current.focus(),k&&k(e)},xe=_,Se=oe;T&&xe===`input`&&(Se=I?{type:void 0,minRows:I,maxRows:I,...Se}:{type:void 0,maxRows:S,minRows:C,...Se},xe=ca);let Ce=e=>{ge(e.animationName===Va?ce.current:{value:`x`})};d.useEffect(()=>{z&&z.setAdornedStart(!!ne)},[z,ne]);let we={...n,color:pe.color||`primary`,disabled:pe.disabled,endAdornment:p,error:pe.error,focused:pe.focused,formControl:z,fullWidth:h,hiddenLabel:pe.hiddenLabel,multiline:T,size:pe.size,startAdornment:ne,type:re},B=Wa(we),Te=L.root||Ga,Ee=te.root||{},De=L.input||Ka;return(0,w.jsxs)(d.Fragment,{children:[!f&&typeof qa==`function`&&(za||=(0,w.jsx)(qa,{})),(0,w.jsxs)(Te,{...Ee,ref:t,onClick:be,...ae,...!Qi(Te)&&{ownerState:{...we,...Ee.ownerState}},className:H(B.root,Ee.className,s,P&&`MuiInputBase-readOnly`),children:[ne,(0,w.jsx)(la.Provider,{value:null,children:(0,w.jsx)(De,{"aria-invalid":pe.error,"aria-describedby":r,"aria-label":i,autoComplete:a,autoFocus:o,defaultValue:l,disabled:pe.disabled,id:g,onAnimationStart:Ce,name:E,placeholder:N,readOnly:P,required:pe.required,rows:I,value:R,onKeyDown:j,onKeyUp:M,type:re,...Se,...!Qi(De)&&{as:xe,ownerState:{...we,...Se.ownerState}},ref:ue,className:H(B.input,Se.className,P&&`MuiInputBase-readOnly`),onBlur:ve,onChange:ye,onFocus:_e})}),p,F?F({...pe,startAdornment:ne}):null]})]})});function Ya(e){return U(`MuiFilledInput`,e)}var Xa={...Da,...W(`MuiFilledInput`,[`root`,`underline`,`input`,`adornedStart`,`adornedEnd`,`sizeSmall`,`multiline`,`hiddenLabel`])};function Za(e){return U(`MuiFormControlLabel`,e)}var Qa=W(`MuiFormControlLabel`,[`root`,`labelPlacementStart`,`labelPlacementEnd`,`labelPlacementTop`,`labelPlacementBottom`,`disabled`,`label`,`error`,`required`,`asterisk`]);function $a(e){return U(`MuiFormHelperText`,e)}var eo=W(`MuiFormHelperText`,[`root`,`error`,`disabled`,`sizeSmall`,`sizeMedium`,`contained`,`focused`,`filled`,`required`]);function to(e){return U(`MuiFormLabel`,e)}var no=W(`MuiFormLabel`,[`root`,`colorSecondary`,`focused`,`disabled`,`error`,`filled`,`required`,`asterisk`]);function ro(e){return U(`MuiInput`,e)}var io={...Da,...W(`MuiInput`,[`root`,`underline`,`input`])};function ao(e){return U(`MuiListItemButton`,e)}var oo=W(`MuiListItemButton`,[`root`,`focusVisible`,`dense`,`alignItemsFlexStart`,`disabled`,`divider`,`gutters`,`selected`]);function so(e){return U(`MuiMenuItem`,e)}var co=W(`MuiMenuItem`,[`root`,`focusVisible`,`dense`,`disabled`,`divider`,`gutters`,`selected`]);function lo(e){return U(`MuiNativeSelect`,e)}var uo=W(`MuiNativeSelect`,[`root`,`select`,`multiple`,`filled`,`outlined`,`standard`,`disabled`,`icon`,`iconOpen`,`iconFilled`,`iconOutlined`,`iconStandard`,`nativeInput`,`error`]);function fo(e){return U(`MuiOutlinedInput`,e)}var po={...Da,...W(`MuiOutlinedInput`,[`root`,`notchedOutline`,`input`])};function mo(e){return U(`MuiRadio`,e)}var ho=W(`MuiRadio`,[`root`,`checked`,`disabled`,`colorPrimary`,`colorSecondary`,`sizeSmall`]);function go({theme:e,...t}){let n=`$$material`in e?e[x]:void 0;return(0,w.jsx)(Ln,{...t,themeId:n?x:void 0,theme:n||e})}var _o={attribute:`data-mui-color-scheme`,colorSchemeStorageKey:`mui-color-scheme`,defaultLightColorScheme:`light`,defaultDarkColorScheme:`dark`,modeStorageKey:`mui-mode`},{CssVarsProvider:vo,useColorScheme:yo,getInitColorSchemeScript:bo}=er({themeId:x,theme:()=>Ji({cssVariables:!0}),colorSchemeStorageKey:_o.colorSchemeStorageKey,modeStorageKey:_o.modeStorageKey,defaultColorScheme:{light:_o.defaultLightColorScheme,dark:_o.defaultDarkColorScheme},resolveTheme:e=>{let t={...e,typography:si(e.palette,e.typography)};return t.unstable_sx=function(e){return St({sx:e,theme:this})},t}}),xo=vo;function So({theme:e,...t}){let n=d.useMemo(()=>{if(typeof e==`function`)return e;let t=`$$material`in e?e[x]:e;return`colorSchemes`in t?null:`vars`in t?e:{...e,vars:null}},[e]);return n?(0,w.jsx)(go,{theme:n,...t}):(0,w.jsx)(xo,{theme:e,...t})}function Co(...e){return e.reduce((e,t)=>t==null?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})}var wo=Co;function To(e){return U(`MuiSvgIcon`,e)}W(`MuiSvgIcon`,[`root`,`colorPrimary`,`colorSecondary`,`colorAction`,`colorError`,`colorDisabled`,`fontSizeInherit`,`fontSizeSmall`,`fontSizeMedium`,`fontSizeLarge`]);var Eo=e=>{let{color:t,fontSize:n,classes:r}=e;return K({root:[`root`,t!==`inherit`&&`color${Z(t)}`,`fontSize${Z(n)}`]},To,r)},Do=J(`svg`,{name:`MuiSvgIcon`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color!==`inherit`&&t[`color${Z(n.color)}`],t[`fontSize${Z(n.fontSize)}`]]}})(Y(({theme:e})=>({userSelect:`none`,width:`1em`,height:`1em`,display:`inline-block`,flexShrink:0,...Ra(e,`fill`,{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:`currentColor`}},{props:{fontSize:`inherit`},style:{fontSize:`inherit`}},{props:{fontSize:`small`},style:{fontSize:e.typography?.pxToRem?.(20)||`1.25rem`}},{props:{fontSize:`medium`},style:{fontSize:e.typography?.pxToRem?.(24)||`1.5rem`}},{props:{fontSize:`large`},style:{fontSize:e.typography?.pxToRem?.(35)||`2.1875rem`}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:`action`},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:`disabled`},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:`inherit`},style:{color:void 0}}]}))),Oo=d.forwardRef(function(e,t){let n=X({props:e,name:`MuiSvgIcon`}),{children:r,className:i,color:a=`inherit`,component:o=`svg`,fontSize:s=`medium`,htmlColor:c,inheritViewBox:l=!1,titleAccess:u,viewBox:f=`0 0 24 24`,...p}=n,m=d.isValidElement(r)&&r.type===`svg`,h={...n,color:a,component:o,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:l,viewBox:f,hasSvgAsChild:m},g={};l||(g.viewBox=f);let _=Eo(h);return(0,w.jsxs)(Do,{as:o,className:H(_.root,i),focusable:`false`,color:c,"aria-hidden":!u||void 0,role:u?`img`:void 0,ref:t,...g,...p,...m&&r.props,ownerState:h,children:[m?r.props.children:r,u?(0,w.jsx)(`title`,{children:u}):null]})});Oo.muiName=`SvgIcon`;function Q(e,t){function n(t,n){return(0,w.jsx)(Oo,{"data-testid":void 0,ref:n,...t,children:e})}return n.muiName=Oo.muiName,d.memo(d.forwardRef(n))}var ko=$i,Ao=lr,jo=ra;function Mo(e,t){typeof e==`function`?e(t):e&&(e.current=t)}var No=Nn;function Po(e){let{controlled:t,default:n,name:r,state:i=`value`}=e,{current:a}=d.useRef(t!==void 0),[o,s]=d.useState(n);return[a?t:o,d.useCallback(e=>{a||s(e)},[])]}var Fo=Po,Io=ta;function Lo(e,t){let n=e.charCodeAt(2);return e[0]===`o`&&e[1]===`n`&&n>=65&&n<=90&&typeof t==`function`}function Ro(e,t){if(!e)return t;function n(e,t){let n={};return Object.keys(t).forEach(r=>{Lo(r,t[r])&&typeof e[r]==`function`&&(n[r]=(...n)=>{e[r](...n),t[r](...n)})}),n}if(typeof e==`function`||typeof t==`function`)return r=>{let i=typeof t==`function`?t(r):t,a=typeof e==`function`?e({...r,...i}):e,o=H(r?.className,i?.className,a?.className),s=n(a,i),c={...i,...a,...s};return o&&(c.className=o),i?.style&&a?.style&&(c.style={...i.style,...a.style}),i?.sx&&a?.sx&&(c.sx=[...Array.isArray(i.sx)?i.sx:[i.sx],...Array.isArray(a.sx)?a.sx:[a.sx]]),c};let r=t,i=n(e,r),a=H(r?.className,e?.className),o={...t,...e,...i};return a&&(o.className=a),r?.style&&e?.style&&(o.style={...r.style,...e.style}),r?.sx&&e?.sx&&(o.sx=[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]),o}var zo={};function Bo(e,t){let n=d.useRef(zo);return n.current===zo&&(n.current=e(t)),n}function Vo(e){let t=Bo(()=>Ho(e)).current;return t.next=e,$t(t.effect),t}function Ho(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}var Uo=d.createContext(null);function Wo(e){if(e==null)return{appear:void 0,enter:void 0,exit:void 0};if(typeof e==`number`)return{appear:e,enter:e,exit:e};let t=e.enter,n=e.exit;return{appear:e.appear===void 0?t:e.appear,enter:t,exit:n}}function Go(e){if(e.autoTimeout!=null)return e.autoTimeout;let t=Wo(e.timeout);return e.currentStatus===`entering`?e.isAppearing?t.appear??t.enter??null:t.enter??null:t.exit??null}function Ko(e){let{in:t=!1,appear:n=!1,enter:r=!0,exit:i=!0,mountOnEnter:a=!1,unmountOnExit:o=!1,timeout:s,addEndListener:c,reduceMotion:l=!1,getAutoTimeout:u,nodeRef:f,onEnter:p,onEntering:m,onEntered:h,onExit:g,onExiting:_,onExited:v,children:y,...b}=e,x=d.useContext(Uo),S=x&&!x.isMounting?r:n,[C,T]=d.useState(()=>t?S?`exited`:`entered`:a||o?`unmounted`:`exited`),E=d.useRef(C);E.current=C,t&&C===`unmounted`&&(E.current=`exited`,T(`exited`));let D=d.useRef(t&&S),O=d.useRef(!1),k=d.useRef(null),A=d.useRef(C),j=d.useRef(!1),M=d.useRef(l),N=Vo({timeout:s,addEndListener:c,reduceMotion:l,getAutoTimeout:u,onEnter:p,onEntering:m,onEntered:h,onExit:g,onExiting:_,onExited:v,enter:r,exit:i,mountOnEnter:a,unmountOnExit:o,nodeRef:f,parentGroup:x}),P=d.useCallback(()=>{k.current!==null&&(k.current.cancel(),k.current=null)},[]),F=d.useCallback(e=>{let t=!0,n=()=>{t&&(t=!1,k.current=null,e())};return n.cancel=()=>{t=!1},k.current=n,n},[]),I=d.useCallback((e,t)=>{let n,r=()=>{n!==void 0&&(clearTimeout(n),n=void 0)},i=F(()=>{r(),E.current=e,T(e)}),a=i.cancel;i.cancel=()=>{r(),a()};let o=N.current.nodeRef.current,s=N.current.addEndListener,c=N.current.getAutoTimeout!==void 0,l=N.current.getAutoTimeout?.(),u=Go({currentStatus:t,isAppearing:j.current,timeout:N.current.timeout,autoTimeout:l}),d=M.current,f=u??(d&&c?0:null),p=e=>{n=setTimeout(i,e)};o?s?(f!=null&&p(d?0:f),s.length>=2?s(o,i):s(i)):p(d?0:u??0):p(0)},[F,N]),ee=d.useCallback(e=>{let t=N.current,n=t.parentGroup?t.parentGroup.isMounting:e;j.current=n,!e&&!t.enter?(E.current=`entered`,T(`entered`)):(M.current=t.reduceMotion,t.onEnter?.(n),E.current=`entering`,T(`entering`))},[N]),te=d.useCallback(()=>{let e=N.current;e.exit?(M.current=e.reduceMotion,e.onExit?.(),E.current=`exiting`,T(`exiting`)):(E.current=`exited`,T(`exited`))},[N]),L=d.useCallback((e,t)=>{if(P(),t===`entering`){let t=N.current;if(t.mountOnEnter||t.unmountOnExit){let e=t.nodeRef.current;e&&Aa(e)}ee(e)}else te()},[P,ee,te,N]);return $t(()=>(O.current=!0,D.current&&(D.current=!1,L(!0,`entering`)),()=>{O.current=!1,P()}),[P,L]),$t(()=>{if(!O.current)return;let e=E.current;t?e!==`entering`&&e!==`entered`&&L(!1,`entering`):e===`entering`||e===`entered`?L(!1,`exiting`):e===`exited`&&o&&(E.current=`unmounted`,T(`unmounted`))},[t,C,o,L]),$t(()=>{if(C===`unmounted`||A.current===`unmounted`){A.current=C;return}let e=A.current!==C;e&&(A.current=C);let t=N.current;C===`entering`?(e&&t.onEntering?.(j.current),k.current===null&&E.current===C&&I(`entered`,`entering`)):C===`exiting`?(e&&t.onExiting?.(),k.current===null&&E.current===C&&I(`exited`,`exiting`)):C===`entered`&&e?t.onEntered?.(j.current):C===`exited`&&e&&t.onExited?.()},[N,I,C]),C===`unmounted`?null:(0,w.jsx)(Uo.Provider,{value:null,children:y(C,b)})}var qo=`(prefers-reduced-motion: reduce)`,Jo=0,Yo=`0ms`,Xo=()=>{},Zo=()=>!1,Qo=()=>!0,$o=()=>Xo;function es(e){let[t,n]=d.useState(()=>({enabled:e,matches:e?null:!1})),r=t.matches;return t.enabled!==e&&(r=null,e||(r=!1)),$t(()=>{let r=t=>{n(n=>n.enabled===e&&n.matches===t?n:{enabled:e,matches:t})};if(!e){t.enabled&&r(!1);return}if(typeof window>`u`||typeof window.matchMedia!=`function`){r(!1);return}let i=window.matchMedia(qo),a=()=>{r(i.matches)};return a(),i.addEventListener(`change`,a),()=>{i.removeEventListener(`change`,a)}},[e,t.enabled]),r}var ts={...d}.useSyncExternalStore;function ns(e){let t=e?Qo:Zo,[n,r]=d.useMemo(()=>{if(!e||typeof window>`u`||typeof window.matchMedia!=`function`)return[Zo,$o];let t=window.matchMedia(qo);return[()=>t.matches,e=>(t.addEventListener(`change`,e),()=>{t.removeEventListener(`change`,e)})]},[e]);return ts(r,n,t)}var rs=ts===void 0?es:ns;function is(e,t){let n=rs(!t&&e===`system`),r=!t&&(e===`always`||e===`system`&&n!==!1);return d.useMemo(()=>({shouldReduceMotion:r,getTransitionTiming(e){return r?{duration:Jo,delay:Yo}:e}}),[r])}function as(e,t,n){return e===void 0||Qi(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function os(e,t,n){return typeof e==`function`?e(t,n):e}function ss(e){if(e===void 0)return{};let t={},n=Object.keys(e);for(let r=0;r<n.length;r+=1){let i=n[r];Lo(i,e[i])&&(t[i]=e[i])}return t}function cs(e){if(e===void 0)return{};let t={},n=Object.keys(e);for(let r=0;r<n.length;r+=1){let i=n[r];Lo(i,e[i])||(t[i]=e[i])}return t}function ls(e){let{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:a}=e;if(!t){let e=H(n?.className,a,i?.className,r?.className),t={...n,...i,...r};if(e.length>0&&(t.className=e),n?.style||i?.style||r?.style){let e={...n?.style,...i?.style,...r?.style};Object.keys(e).length>0&&(t.style=e)}return{props:t,internalRef:void 0}}let o=ss({...i,...r}),s=cs(r),c=cs(i),l=t(o),u=H(l?.className,n?.className,a,i?.className,r?.className),d={...l,...n,...c,...s};if(u.length>0&&(d.className=u),l?.style||n?.style||i?.style||r?.style){let e={...l?.style,...n?.style,...i?.style,...r?.style};Object.keys(e).length>0&&(d.style=e)}return{props:d,internalRef:l.ref}}function $(e,t){let{className:n,elementType:r,ownerState:i,externalForwardedProps:a,internalForwardedProps:o,shouldForwardComponentProp:s=!1,...c}=t,{component:l,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...f}=a,p=u[e]||r,m=os(d[e],i),{props:{component:h,...g},internalRef:_}=ls({className:n,...c,externalForwardedProps:e===`root`?f:void 0,externalSlotProps:m}),v=ea(_,m?.ref,t.ref),y=e===`root`?h||l:h;return[p,as(p,{...e===`root`&&!l&&!u[e]&&o,...e!==`root`&&!u[e]&&o,...g,...y&&!s&&{as:y},...y&&s&&{component:y},ref:v},i)]}function us(e){return U(`MuiPaper`,e)}W(`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`.split(`.`));var ds=e=>{let{square:t,elevation:n,variant:r,classes:i}=e;return K({root:[`root`,r,!t&&`rounded`,r===`elevation`&&`elevation${n}`]},us,i)},fs=J(`div`,{name:`MuiPaper`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant===`elevation`&&t[`elevation${n.elevation}`]]}})(Y(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,...Ra(e,`box-shadow`),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:`outlined`},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:`elevation`},style:{boxShadow:`var(--Paper-shadow)`,backgroundImage:`var(--Paper-overlay)`}}]}))),ps=d.forwardRef(function(e,t){let n=X({props:e,name:`MuiPaper`}),r=pa(),{className:i,component:a=`div`,elevation:o=1,square:s=!1,variant:c=`elevation`,...l}=n,u={...n,component:a,elevation:o,square:s,variant:c},d=ds(u);return(0,w.jsx)(fs,{as:a,ownerState:u,className:H(d.root,i),ref:t,...l,style:{...c===`elevation`&&{"--Paper-shadow":(r.vars||r).shadows[o],...r.vars&&{"--Paper-overlay":r.vars.overlays?.[o]},...!r.vars&&r.palette.mode===`dark`&&{"--Paper-overlay":`linear-gradient(${dn(`#fff`,ji(o))}, ${dn(`#fff`,ji(o))})`}},...l.style}})});function ms(e){try{return e.matches(`:focus-visible`)}catch{}return!1}function hs(e){let{focusableWhenDisabled:t,disabled:n,composite:r=!1,tabIndex:i=0,isNativeButton:a}=e,o=r&&t!==!1,s=r&&t===!1;return d.useMemo(()=>{let e={onKeyDown(e){n&&t&&e.key!==`Tab`&&e.preventDefault()}};return r||(e.tabIndex=i,!a&&n&&(e.tabIndex=t?i:-1)),(a&&(t||o)||!a&&n)&&(e[`aria-disabled`]=n),a&&(!t||s)&&(e.disabled=n),e},[r,n,t,o,s,a,i])}var gs={};function _s(e){let{nativeButton:t,nativeButtonProp:n,internalNativeButton:r=t,allowInferredHostMismatch:i=!1,disabled:a,type:o,hasFormAction:s=!1,tabIndex:c=0,focusableWhenDisabled:l,stopEventPropagation:u=!1,onBeforeKeyDown:f,onBeforeKeyUp:p}=e,m=d.useRef(null),h=l===!0,g=hs({focusableWhenDisabled:h,disabled:a,isNativeButton:t,tabIndex:c}),_=d.useCallback(()=>{let e=m.current;return e==null?t:e.tagName===`BUTTON`||!!(e.tagName===`A`&&e.href)},[t]),v=d.useMemo(()=>{let e=h?{}:{tabIndex:a?-1:c};return t?(e.type=o===void 0&&!s?`button`:o,h||(e.disabled=a)):(e.role=`button`,!h&&a&&(e[`aria-disabled`]=a)),h?{...e,...g}:e},[a,h,g,s,t,c,o]);return{getButtonProps:d.useCallback((e=gs)=>{let{onClick:t,onKeyDown:n,onKeyUp:r,...i}=e,o=e=>{u&&e.stopPropagation(),a?e.preventDefault():t?.(e)},s=e=>{h&&g.onKeyDown(e),!a&&(f?.(e),n?.(e),!(e.target!==e.currentTarget||_())&&(e.key===` `?e.preventDefault():e.key===`Enter`&&(e.preventDefault(),e.currentTarget.click())))},c=e=>{a||(p?.(e),r?.(e),e.target===e.currentTarget&&!_()&&e.key===` `&&!e.defaultPrevented&&e.currentTarget.click())};return{...v,...i,onClick:o,onKeyDown:s,onKeyUp:c}},[v,a,h,g,_,f,p,u]),rootRef:m}}var vs=class e{ref={current:null};shouldMount=!1;mounted=null;didMount=!1;setShouldMount=null;static create(){return new e}static use(){let t=Bo(e.create).current,[n,r]=d.useState(!1);return t.shouldMount=n,t.setShouldMount=r,d.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=bs(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&(this.ref.current!==null&&(this.didMount=!0),this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}};function ys(){return vs.use()}function bs(){let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}var xs=[];function Ss(e){d.useEffect(e,xs)}var Cs=class e{static create(){return new e}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear};function ws(){let e=Bo(Cs.create).current;return Ss(e.disposeEffect),e}function Ts(e){let{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:o,in:s,onExited:c,timeout:l}=e,[u,f]=d.useState(!1),p=ws(),m=d.useRef(!1),h=d.useRef(c);h.current=c;let g=c!=null,_=H(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),v={width:o,height:o,top:-(o/2)+a,left:-(o/2)+i},y=H(n.child,u&&n.childLeaving,r&&n.childPulsate);return!s&&!u&&f(!0),d.useEffect(()=>{!s&&g?m.current||(m.current=!0,p.start(l,()=>{m.current=!1,h.current?.()})):(m.current=!1,p.clear())},[p,g,s,l]),(0,w.jsx)(`span`,{className:_,style:v,children:(0,w.jsx)(`span`,{className:y})})}var Es=W(`MuiTouchRipple`,[`root`,`ripple`,`rippleVisible`,`ripplePulsate`,`child`,`childLeaving`,`childPulsate`]),Ds=550,Os={},ks=[],As=()=>{};function js(e,t){let n=new Set(t),r=new Map,i=[];for(let t of e)n.has(t)?i.length>0&&(r.set(t,i),i=[]):i.push(t);let a=[];for(let e of t){let t=r.get(e);t&&a.push(...t),a.push(e)}return a.push(...i),a}function Ms({event:e,element:t,center:n}){let r=t?t.getBoundingClientRect():{width:0,height:0,left:0,top:0},i,a;if(n||e===void 0||e.clientX===0&&e.clientY===0||!e.clientX&&!e.touches)i=Math.round(r.width/2),a=Math.round(r.height/2);else{let{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;i=Math.round(t-r.left),a=Math.round(n-r.top)}let o;if(n)o=Math.sqrt((2*r.width**2+r.height**2)/3),o%2==0&&(o+=1);else{let e=Math.max(Math.abs((t?t.clientWidth:0)-i),i)*2+2,n=Math.max(Math.abs((t?t.clientHeight:0)-a),a)*2+2;o=Math.sqrt(e**2+n**2)}return{rippleX:i,rippleY:a,rippleSize:o}}var Ns=r`
|
|
39
|
+
`),a=t.selectionStart===r;i&&a&&t.setSelectionRange(r,r),n&&n(e)},ref:u,rows:i,style:a,...s}),(0,w.jsx)(`textarea`,{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:{...aa.shadow,...a,paddingTop:0,paddingBottom:0}})]})}),la=d.createContext(void 0);function ua(){return d.useContext(la)}function da({props:e,states:t}){let n=d.useContext(la),r={};return t.forEach(t=>{let i=e[t];r[t]=i===void 0&&n?n[t]:i}),[r,n]}var fa=Ji();function pa(){let e=At(fa);return e.$$material||e}function ma(e){return(0,w.jsx)(Mt,{...e,defaultTheme:fa,themeId:x})}function ha(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}var ga=e=>ha(e)&&e!==`classes`,J=Kt({themeId:x,defaultTheme:fa,rootShouldForwardProp:ga});function _a(e){return function(t){return(0,w.jsx)(ma,{styles:typeof e==`function`?n=>e({theme:n,...t}):e})}}var Y=zn;function X(e){return kn(e)}var Z=B,va=ea,ya=$t,ba=na;function xa(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}var Sa=xa;function Ca(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function wa(e,t=!1){return e&&(Ca(e.value)&&e.value!==``||t&&Ca(e.defaultValue)&&e.defaultValue!==``)}function Ta(e){return e.startAdornment}function Ea(e){return U(`MuiInputBase`,e)}var Da=W(`MuiInputBase`,[`root`,`formControl`,`focused`,`disabled`,`adornedStart`,`adornedEnd`,`error`,`sizeSmall`,`multiline`,`colorSecondary`,`fullWidth`,`hiddenLabel`,`readOnly`,`input`,`inputTypeSearch`]),Oa={transition:`none`};function ka(e,t){return e===`always`?t:e===`system`?{"@media (prefers-reduced-motion: reduce)":t}:null}var Aa=e=>e.scrollTop,ja={},Ma=[`all`],Na={};function Pa(e,t){return n=>{if(t){let r=e.current;n===void 0?t(r):t(r,n)}}}function Fa(e,t,n,r,i,a){let o=e===`exited`&&!t?r:n[e]||n.exited;return i||a?{...o,...i,...a}:o}function Ia(e,t){let{timeout:n,easing:r,style:i=ja}=e;return{duration:i.transitionDuration??(typeof n==`number`?n:n[t.mode]||0),easing:i.transitionTimingFunction??(typeof r==`object`?r[t.mode]:r),delay:i.transitionDelay}}function La(e,t){let n=t??Oa;return ka(e.motion?.reducedMotion,n)}function Ra(e,t=Ma,n=Na){let r=e.transitions?.create?.(t,n),i=La(e);if(r===void 0)return i??ja;let a={transition:r};return i?{...a,...i}:a}var za,Ba=`mui-auto-fill`,Va=`mui-auto-fill-cancel`,Ha=(e,t)=>{let{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size===`small`&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${Z(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Ua=(e,t)=>{let{ownerState:n}=e;return[t.input,n.type===`search`&&t.inputTypeSearch]},Wa=e=>{let{classes:t,color:n,disabled:r,error:i,endAdornment:a,focused:o,formControl:s,fullWidth:c,hiddenLabel:l,multiline:u,readOnly:d,size:f,startAdornment:p,type:m}=e;return K({root:[`root`,`color${Z(n)}`,r&&`disabled`,i&&`error`,c&&`fullWidth`,o&&`focused`,s&&`formControl`,f&&f!==`medium`&&`size${Z(f)}`,u&&`multiline`,p&&`adornedStart`,a&&`adornedEnd`,l&&`hiddenLabel`,d&&`readOnly`],input:[`input`,r&&`disabled`,m===`search`&&`inputTypeSearch`,d&&`readOnly`]},Ea,t)},Ga=J(`div`,{name:`MuiInputBase`,slot:`Root`,overridesResolver:Ha})(Y(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:`1.4375em`,boxSizing:`border-box`,position:`relative`,cursor:`text`,display:`inline-flex`,alignItems:`center`,[`&.${Da.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:`default`},variants:[{props:({ownerState:e})=>e.multiline,style:{padding:`4px 0 5px`}},{props:({ownerState:e,size:t})=>e.multiline&&t===`small`,style:{paddingTop:1}},{props:({ownerState:e})=>e.fullWidth,style:{width:`100%`}}]}))),Ka=J(`input`,{name:`MuiInputBase`,slot:`Input`,overridesResolver:Ua})(Y(({theme:e})=>{let t=e.palette.mode===`light`,n={color:`currentColor`,...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},...Ra(e,`opacity`,{duration:e.transitions.duration.shorter})},r={opacity:`0 !important`},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:`inherit`,letterSpacing:`inherit`,color:`currentColor`,padding:`4px 0 5px`,border:0,boxSizing:`content-box`,background:`none`,height:`1.4375em`,margin:0,WebkitTapHighlightColor:`transparent`,display:`block`,minWidth:0,width:`100%`,"&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:`none`},"&::-webkit-search-decoration":{WebkitAppearance:`none`},[`label[data-shrink=false] + .${Da.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${Da.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:e})=>!e.disableInjectingGlobalStyles,style:{animationName:Va,animationDuration:`10ms`,"&:-webkit-autofill":{animationDuration:`5000s`,animationName:Ba}}},{props:{size:`small`},style:{paddingTop:1}},{props:({ownerState:e})=>e.multiline,style:{height:`auto`,resize:`none`,padding:0,paddingTop:0}},{props:{type:`search`},style:{MozAppearance:`textfield`}}]}})),qa=_a({[`@keyframes ${Ba}`]:{from:{animationName:Ba}},[`@keyframes ${Va}`]:{from:{animationName:Va}}}),Ja=d.forwardRef(function(e,t){let n=X({props:e,name:`MuiInputBase`}),{"aria-describedby":r,"aria-label":i,autoComplete:a,autoFocus:o,className:s,color:c,defaultValue:l,disabled:u,disableInjectingGlobalStyles:f,endAdornment:p,error:m,fullWidth:h=!1,id:g,inputComponent:_=`input`,inputProps:v,inputRef:y,margin:x,maxRows:S,minRows:C,multiline:T=!1,name:E,onBlur:D,onChange:O,onClick:k,onFocus:A,onKeyDown:j,onKeyUp:M,placeholder:N,readOnly:P,renderSuffix:F,rows:I,size:ee,slotProps:te={},slots:L={},startAdornment:ne,type:re=`text`,value:ie,...ae}=n,oe={...v,...te.input},R=oe.value==null?ie:oe.value,{current:se}=d.useRef(R!=null),ce=d.useRef(),le=d.useCallback(e=>{},[]),ue=va(ce,y,oe.ref,le),[de,fe]=d.useState(!1),[pe,z]=da({props:n,states:[`color`,`disabled`,`error`,`hiddenLabel`,`size`,`required`,`filled`]});pe.focused=z?z.focused:de,d.useEffect(()=>{!z&&u&&de&&(fe(!1),D&&D())},[z,u,de,D]);let me=z&&z.onFilled,he=z&&z.onEmpty,ge=d.useCallback(e=>{wa(e)?me&&me():he&&he()},[me,he]);ya(()=>{se&&ge({value:R})},[R,ge,se]),ya(()=>{if(!o)return;let e=ce.current;if(!e)return;let t=ba(e),n=Sa(t),r=n==null||n===t.body||n===t.documentElement;e===n?z&&z.onFocus?z.onFocus():fe(!0):r&&e.focus()},[o]);let _e=e=>{A&&A(e),oe.onFocus&&oe.onFocus(e),z&&z.onFocus?z.onFocus(e):fe(!0)},ve=e=>{D&&D(e),oe.onBlur&&oe.onBlur(e),z&&z.onBlur?z.onBlur(e):fe(!1)},ye=(e,...t)=>{if(!se){let t=e.target||ce.current;if(t==null)throw Error(b(1));ge({value:t.value})}oe.onChange&&oe.onChange(e,...t),O&&O(e,...t)};d.useEffect(()=>{ge(ce.current)},[]);let be=e=>{ce.current&&e.currentTarget===e.target&&ce.current.focus(),k&&k(e)},xe=_,Se=oe;T&&xe===`input`&&(Se=I?{type:void 0,minRows:I,maxRows:I,...Se}:{type:void 0,maxRows:S,minRows:C,...Se},xe=ca);let Ce=e=>{ge(e.animationName===Va?ce.current:{value:`x`})};d.useEffect(()=>{z&&z.setAdornedStart(!!ne)},[z,ne]);let we={...n,color:pe.color||`primary`,disabled:pe.disabled,endAdornment:p,error:pe.error,focused:pe.focused,formControl:z,fullWidth:h,hiddenLabel:pe.hiddenLabel,multiline:T,size:pe.size,startAdornment:ne,type:re},B=Wa(we),Te=L.root||Ga,Ee=te.root||{},De=L.input||Ka;return(0,w.jsxs)(d.Fragment,{children:[!f&&typeof qa==`function`&&(za||=(0,w.jsx)(qa,{})),(0,w.jsxs)(Te,{...Ee,ref:t,onClick:be,...ae,...!Qi(Te)&&{ownerState:{...we,...Ee.ownerState}},className:H(B.root,Ee.className,s,P&&`MuiInputBase-readOnly`),children:[ne,(0,w.jsx)(la.Provider,{value:null,children:(0,w.jsx)(De,{"aria-invalid":pe.error,"aria-describedby":r,"aria-label":i,autoComplete:a,autoFocus:o,defaultValue:l,disabled:pe.disabled,id:g,onAnimationStart:Ce,name:E,placeholder:N,readOnly:P,required:pe.required,rows:I,value:R,onKeyDown:j,onKeyUp:M,type:re,...Se,...!Qi(De)&&{as:xe,ownerState:{...we,...Se.ownerState}},ref:ue,className:H(B.input,Se.className,P&&`MuiInputBase-readOnly`),onBlur:ve,onChange:ye,onFocus:_e})}),p,F?F({...pe,startAdornment:ne}):null]})]})});function Ya(e){return U(`MuiFilledInput`,e)}var Xa={...Da,...W(`MuiFilledInput`,[`root`,`underline`,`input`,`adornedStart`,`adornedEnd`,`sizeSmall`,`multiline`,`hiddenLabel`])};function Za(e){return U(`MuiFormControlLabel`,e)}var Qa=W(`MuiFormControlLabel`,[`root`,`labelPlacementStart`,`labelPlacementEnd`,`labelPlacementTop`,`labelPlacementBottom`,`disabled`,`label`,`error`,`required`,`asterisk`]);function $a(e){return U(`MuiFormHelperText`,e)}var eo=W(`MuiFormHelperText`,[`root`,`error`,`disabled`,`sizeSmall`,`sizeMedium`,`contained`,`focused`,`filled`,`required`]);function to(e){return U(`MuiFormLabel`,e)}var no=W(`MuiFormLabel`,[`root`,`colorSecondary`,`focused`,`disabled`,`error`,`filled`,`required`,`asterisk`]);function ro(e){return U(`MuiInput`,e)}var io={...Da,...W(`MuiInput`,[`root`,`underline`,`input`])};function ao(e){return U(`MuiListItemButton`,e)}var oo=W(`MuiListItemButton`,[`root`,`focusVisible`,`dense`,`alignItemsFlexStart`,`disabled`,`divider`,`gutters`,`selected`]);function so(e){return U(`MuiMenuItem`,e)}var co=W(`MuiMenuItem`,[`root`,`focusVisible`,`dense`,`disabled`,`divider`,`gutters`,`selected`]);function lo(e){return U(`MuiNativeSelect`,e)}var uo=W(`MuiNativeSelect`,[`root`,`select`,`multiple`,`filled`,`outlined`,`standard`,`disabled`,`icon`,`iconOpen`,`iconFilled`,`iconOutlined`,`iconStandard`,`nativeInput`,`error`]);function fo(e){return U(`MuiOutlinedInput`,e)}var po={...Da,...W(`MuiOutlinedInput`,[`root`,`notchedOutline`,`input`])};function mo(e){return U(`MuiRadio`,e)}var ho=W(`MuiRadio`,[`root`,`checked`,`disabled`,`colorPrimary`,`colorSecondary`,`sizeSmall`]);function go({theme:e,...t}){let n=`$$material`in e?e[x]:void 0;return(0,w.jsx)(Ln,{...t,themeId:n?x:void 0,theme:n||e})}var _o={attribute:`data-mui-color-scheme`,colorSchemeStorageKey:`mui-color-scheme`,defaultLightColorScheme:`light`,defaultDarkColorScheme:`dark`,modeStorageKey:`mui-mode`},{CssVarsProvider:vo,useColorScheme:yo,getInitColorSchemeScript:bo}=er({themeId:x,theme:()=>Ji({cssVariables:!0}),colorSchemeStorageKey:_o.colorSchemeStorageKey,modeStorageKey:_o.modeStorageKey,defaultColorScheme:{light:_o.defaultLightColorScheme,dark:_o.defaultDarkColorScheme},resolveTheme:e=>{let t={...e,typography:si(e.palette,e.typography)};return t.unstable_sx=function(e){return St({sx:e,theme:this})},t}}),xo=vo;function So({theme:e,...t}){let n=d.useMemo(()=>{if(typeof e==`function`)return e;let t=`$$material`in e?e[x]:e;return`colorSchemes`in t?null:`vars`in t?e:{...e,vars:null}},[e]);return n?(0,w.jsx)(go,{theme:n,...t}):(0,w.jsx)(xo,{theme:e,...t})}function Co(...e){return e.reduce((e,t)=>t==null?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})}var wo=Co;function To(e){return U(`MuiSvgIcon`,e)}W(`MuiSvgIcon`,[`root`,`colorPrimary`,`colorSecondary`,`colorAction`,`colorError`,`colorDisabled`,`fontSizeInherit`,`fontSizeSmall`,`fontSizeMedium`,`fontSizeLarge`]);var Eo=e=>{let{color:t,fontSize:n,classes:r}=e;return K({root:[`root`,t!==`inherit`&&`color${Z(t)}`,`fontSize${Z(n)}`]},To,r)},Do=J(`svg`,{name:`MuiSvgIcon`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color!==`inherit`&&t[`color${Z(n.color)}`],t[`fontSize${Z(n.fontSize)}`]]}})(Y(({theme:e})=>({userSelect:`none`,width:`1em`,height:`1em`,display:`inline-block`,flexShrink:0,...Ra(e,`fill`,{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:`currentColor`}},{props:{fontSize:`inherit`},style:{fontSize:`inherit`}},{props:{fontSize:`small`},style:{fontSize:e.typography?.pxToRem?.(20)||`1.25rem`}},{props:{fontSize:`medium`},style:{fontSize:e.typography?.pxToRem?.(24)||`1.5rem`}},{props:{fontSize:`large`},style:{fontSize:e.typography?.pxToRem?.(35)||`2.1875rem`}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:`action`},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:`disabled`},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:`inherit`},style:{color:void 0}}]}))),Oo=d.forwardRef(function(e,t){let n=X({props:e,name:`MuiSvgIcon`}),{children:r,className:i,color:a=`inherit`,component:o=`svg`,fontSize:s=`medium`,htmlColor:c,inheritViewBox:l=!1,titleAccess:u,viewBox:f=`0 0 24 24`,...p}=n,m=d.isValidElement(r)&&r.type===`svg`,h={...n,color:a,component:o,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:l,viewBox:f,hasSvgAsChild:m},g={};l||(g.viewBox=f);let _=Eo(h);return(0,w.jsxs)(Do,{as:o,className:H(_.root,i),focusable:`false`,color:c,"aria-hidden":!u||void 0,role:u?`img`:void 0,ref:t,...g,...p,...m&&r.props,ownerState:h,children:[m?r.props.children:r,u?(0,w.jsx)(`title`,{children:u}):null]})});Oo.muiName=`SvgIcon`;function Q(e,t){function n(t,n){return(0,w.jsx)(Oo,{"data-testid":void 0,ref:n,...t,children:e})}return n.muiName=Oo.muiName,d.memo(d.forwardRef(n))}var ko=$i,Ao=lr,jo=ra;function Mo(e,t){typeof e==`function`?e(t):e&&(e.current=t)}var No=Nn;function Po(e){let{controlled:t,default:n,name:r,state:i=`value`}=e,{current:a}=d.useRef(t!==void 0),[o,s]=d.useState(n);return[a?t:o,d.useCallback(e=>{a||s(e)},[])]}var Fo=Po,Io=ta;function Lo(e,t){let n=e.charCodeAt(2);return e[0]===`o`&&e[1]===`n`&&n>=65&&n<=90&&typeof t==`function`}function Ro(e,t){if(!e)return t;function n(e,t){let n={};return Object.keys(t).forEach(r=>{Lo(r,t[r])&&typeof e[r]==`function`&&(n[r]=(...n)=>{e[r](...n),t[r](...n)})}),n}if(typeof e==`function`||typeof t==`function`)return r=>{let i=typeof t==`function`?t(r):t,a=typeof e==`function`?e({...r,...i}):e,o=H(r?.className,i?.className,a?.className),s=n(a,i),c={...i,...a,...s};return o&&(c.className=o),i?.style&&a?.style&&(c.style={...i.style,...a.style}),i?.sx&&a?.sx&&(c.sx=[...Array.isArray(i.sx)?i.sx:[i.sx],...Array.isArray(a.sx)?a.sx:[a.sx]]),c};let r=t,i=n(e,r),a=H(r?.className,e?.className),o={...t,...e,...i};return a&&(o.className=a),r?.style&&e?.style&&(o.style={...r.style,...e.style}),r?.sx&&e?.sx&&(o.sx=[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]),o}var zo={};function Bo(e,t){let n=d.useRef(zo);return n.current===zo&&(n.current=e(t)),n}function Vo(e){let t=Bo(()=>Ho(e)).current;return t.next=e,$t(t.effect),t}function Ho(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}var Uo=d.createContext(null);function Wo(e){if(e==null)return{appear:void 0,enter:void 0,exit:void 0};if(typeof e==`number`)return{appear:e,enter:e,exit:e};let t=e.enter,n=e.exit;return{appear:e.appear===void 0?t:e.appear,enter:t,exit:n}}function Go(e){if(e.autoTimeout!=null)return e.autoTimeout;let t=Wo(e.timeout);return e.currentStatus===`entering`?e.isAppearing?t.appear??t.enter??null:t.enter??null:t.exit??null}function Ko(e){let{in:t=!1,appear:n=!1,enter:r=!0,exit:i=!0,mountOnEnter:a=!1,unmountOnExit:o=!1,timeout:s,addEndListener:c,reduceMotion:l=!1,getAutoTimeout:u,nodeRef:f,onEnter:p,onEntering:m,onEntered:h,onExit:g,onExiting:_,onExited:v,children:y,...b}=e,x=d.useContext(Uo),S=x&&!x.isMounting?r:n,[C,T]=d.useState(()=>t?S?`exited`:`entered`:a||o?`unmounted`:`exited`),E=d.useRef(C);E.current=C,t&&C===`unmounted`&&(E.current=`exited`,T(`exited`));let D=d.useRef(t&&S),O=d.useRef(!1),k=d.useRef(null),A=d.useRef(C),j=d.useRef(!1),M=d.useRef(l),N=Vo({timeout:s,addEndListener:c,reduceMotion:l,getAutoTimeout:u,onEnter:p,onEntering:m,onEntered:h,onExit:g,onExiting:_,onExited:v,enter:r,exit:i,mountOnEnter:a,unmountOnExit:o,nodeRef:f,parentGroup:x}),P=d.useCallback(()=>{k.current!==null&&(k.current.cancel(),k.current=null)},[]),F=d.useCallback(e=>{let t=!0,n=()=>{t&&(t=!1,k.current=null,e())};return n.cancel=()=>{t=!1},k.current=n,n},[]),I=d.useCallback((e,t)=>{let n,r=()=>{n!==void 0&&(clearTimeout(n),n=void 0)},i=F(()=>{r(),E.current=e,T(e)}),a=i.cancel;i.cancel=()=>{r(),a()};let o=N.current.nodeRef.current,s=N.current.addEndListener,c=N.current.getAutoTimeout!==void 0,l=N.current.getAutoTimeout?.(),u=Go({currentStatus:t,isAppearing:j.current,timeout:N.current.timeout,autoTimeout:l}),d=M.current,f=u??(d&&c?0:null),p=e=>{n=setTimeout(i,e)};o?s?(f!=null&&p(d?0:f),s.length>=2?s(o,i):s(i)):p(d?0:u??0):p(0)},[F,N]),ee=d.useCallback(e=>{let t=N.current,n=t.parentGroup?t.parentGroup.isMounting:e;j.current=n,!e&&!t.enter?(E.current=`entered`,T(`entered`)):(M.current=t.reduceMotion,t.onEnter?.(n),E.current=`entering`,T(`entering`))},[N]),te=d.useCallback(()=>{let e=N.current;e.exit?(M.current=e.reduceMotion,e.onExit?.(),E.current=`exiting`,T(`exiting`)):(E.current=`exited`,T(`exited`))},[N]),L=d.useCallback((e,t)=>{if(P(),t===`entering`){let t=N.current;if(t.mountOnEnter||t.unmountOnExit){let e=t.nodeRef.current;e&&Aa(e)}ee(e)}else te()},[P,ee,te,N]);return $t(()=>(O.current=!0,D.current&&(D.current=!1,L(!0,`entering`)),()=>{O.current=!1,P()}),[P,L]),$t(()=>{if(!O.current)return;let e=E.current;t?e!==`entering`&&e!==`entered`&&L(!1,`entering`):e===`entering`||e===`entered`?L(!1,`exiting`):e===`exited`&&o&&(E.current=`unmounted`,T(`unmounted`))},[t,C,o,L]),$t(()=>{if(C===`unmounted`||A.current===`unmounted`){A.current=C;return}let e=A.current!==C;e&&(A.current=C);let t=N.current;C===`entering`?(e&&t.onEntering?.(j.current),k.current===null&&E.current===C&&I(`entered`,`entering`)):C===`exiting`?(e&&t.onExiting?.(),k.current===null&&E.current===C&&I(`exited`,`exiting`)):C===`entered`&&e?t.onEntered?.(j.current):C===`exited`&&e&&t.onExited?.()},[N,I,C]),C===`unmounted`?null:(0,w.jsx)(Uo.Provider,{value:null,children:y(C,b)})}var qo=`(prefers-reduced-motion: reduce)`,Jo=0,Yo=`0ms`,Xo=()=>{},Zo=()=>!1,Qo=()=>!0,$o=()=>Xo;function es(e){let[t,n]=d.useState(()=>({enabled:e,matches:e?null:!1})),r=t.matches;return t.enabled!==e&&(r=null,e||(r=!1)),$t(()=>{let r=t=>{n(n=>n.enabled===e&&n.matches===t?n:{enabled:e,matches:t})};if(!e){t.enabled&&r(!1);return}if(typeof window>`u`||typeof window.matchMedia!=`function`){r(!1);return}let i=window.matchMedia(qo),a=()=>{r(i.matches)};return a(),i.addEventListener(`change`,a),()=>{i.removeEventListener(`change`,a)}},[e,t.enabled]),r}var ts={...d}.useSyncExternalStore;function ns(e){let t=e?Qo:Zo,[n,r]=d.useMemo(()=>{if(!e||typeof window>`u`||typeof window.matchMedia!=`function`)return[Zo,$o];let t=window.matchMedia(qo);return[()=>t.matches,e=>(t.addEventListener(`change`,e),()=>{t.removeEventListener(`change`,e)})]},[e]);return ts(r,n,t)}var rs=ts===void 0?es:ns;function is(e,t){let n=rs(!t&&e===`system`),r=!t&&(e===`always`||e===`system`&&n!==!1);return d.useMemo(()=>({shouldReduceMotion:r,getTransitionTiming(e){return r?{duration:Jo,delay:Yo}:e}}),[r])}function as(e,t,n){return e===void 0||Qi(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function os(e,t,n){return typeof e==`function`?e(t,n):e}function ss(e){if(e===void 0)return{};let t={},n=Object.keys(e);for(let r=0;r<n.length;r+=1){let i=n[r];Lo(i,e[i])&&(t[i]=e[i])}return t}function cs(e){if(e===void 0)return{};let t={},n=Object.keys(e);for(let r=0;r<n.length;r+=1){let i=n[r];Lo(i,e[i])||(t[i]=e[i])}return t}function ls(e){let{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:a}=e;if(!t){let e=H(n?.className,a,i?.className,r?.className),t={...n,...i,...r};if(e.length>0&&(t.className=e),n?.style||i?.style||r?.style){let e={...n?.style,...i?.style,...r?.style};Object.keys(e).length>0&&(t.style=e)}return{props:t,internalRef:void 0}}let o=ss({...i,...r}),s=cs(r),c=cs(i),l=t(o),u=H(l?.className,n?.className,a,i?.className,r?.className),d={...l,...n,...c,...s};if(u.length>0&&(d.className=u),l?.style||n?.style||i?.style||r?.style){let e={...l?.style,...n?.style,...i?.style,...r?.style};Object.keys(e).length>0&&(d.style=e)}return{props:d,internalRef:l.ref}}function $(e,t){let{className:n,elementType:r,ownerState:i,externalForwardedProps:a,internalForwardedProps:o,shouldForwardComponentProp:s=!1,...c}=t,{component:l,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...f}=a,p=u[e]||r,m=os(d[e],i),{props:{component:h,...g},internalRef:_}=ls({className:n,...c,externalForwardedProps:e===`root`?f:void 0,externalSlotProps:m}),v=ea(_,m?.ref,t.ref),y=e===`root`?h||l:h;return[p,as(p,{...e===`root`&&!l&&!u[e]&&o,...e!==`root`&&!u[e]&&o,...g,...y&&!s&&{as:y},...y&&s&&{component:y},ref:v},i)]}function us(e){return U(`MuiPaper`,e)}W(`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`.split(`.`));var ds=e=>{let{square:t,elevation:n,variant:r,classes:i}=e;return K({root:[`root`,r,!t&&`rounded`,r===`elevation`&&`elevation${n}`]},us,i)},fs=J(`div`,{name:`MuiPaper`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant===`elevation`&&t[`elevation${n.elevation}`]]}})(Y(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,...Ra(e,`box-shadow`),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:`outlined`},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:`elevation`},style:{boxShadow:`var(--Paper-shadow)`,backgroundImage:`var(--Paper-overlay)`}}]}))),ps=d.forwardRef(function(e,t){let n=X({props:e,name:`MuiPaper`}),r=pa(),{className:i,component:a=`div`,elevation:o=1,square:s=!1,variant:c=`elevation`,...l}=n,u={...n,component:a,elevation:o,square:s,variant:c},d=ds(u);return(0,w.jsx)(fs,{as:a,ownerState:u,className:H(d.root,i),ref:t,...l,style:{...c===`elevation`&&{"--Paper-shadow":(r.vars||r).shadows[o],...r.vars&&{"--Paper-overlay":r.vars.overlays?.[o]},...!r.vars&&r.palette.mode===`dark`&&{"--Paper-overlay":`linear-gradient(${dn(`#fff`,ji(o))}, ${dn(`#fff`,ji(o))})`}},...l.style}})});function ms(e){try{return e.matches(`:focus-visible`)}catch{}return!1}function hs(e){let{focusableWhenDisabled:t,disabled:n,composite:r=!1,tabIndex:i=0,isNativeButton:a}=e,o=r&&t!==!1,s=r&&t===!1;return d.useMemo(()=>{let e={onKeyDown(e){n&&t&&e.key!==`Tab`&&e.preventDefault()}};return r||(e.tabIndex=i,!a&&n&&(e.tabIndex=t?i:-1)),(a&&(t||o)||!a&&n)&&(e[`aria-disabled`]=n),a&&(!t||s)&&(e.disabled=n),e},[r,n,t,o,s,a,i])}var gs={};function _s(e){let{nativeButton:t,nativeButtonProp:n,internalNativeButton:r=t,allowInferredHostMismatch:i=!1,disabled:a,type:o,hasFormAction:s=!1,tabIndex:c=0,focusableWhenDisabled:l,stopEventPropagation:u=!1,onBeforeKeyDown:f,onBeforeKeyUp:p}=e,m=d.useRef(null),h=l===!0,g=hs({focusableWhenDisabled:h,disabled:a,isNativeButton:t,tabIndex:c}),_=d.useCallback(()=>{let e=m.current;return e==null?t:e.tagName===`BUTTON`||!!(e.tagName===`A`&&e.href)},[t]),v=d.useMemo(()=>{let e=h?{}:{tabIndex:a?-1:c};return t?(e.type=o===void 0&&!s?`button`:o,h||(e.disabled=a)):(e.role=`button`,!h&&a&&(e[`aria-disabled`]=a)),h?{...e,...g}:e},[a,h,g,s,t,c,o]);return{getButtonProps:d.useCallback((e=gs)=>{let{onClick:t,onKeyDown:n,onKeyUp:r,...i}=e,o=e=>{u&&e.stopPropagation(),a?e.preventDefault():t?.(e)},s=e=>{h&&g.onKeyDown(e),a||(f?.(e),n?.(e),e.target!==e.currentTarget||_()||(e.key===` `?e.preventDefault():e.key===`Enter`&&(e.preventDefault(),e.currentTarget.click())))},c=e=>{a||(p?.(e),r?.(e),e.target===e.currentTarget&&!_()&&e.key===` `&&!e.defaultPrevented&&e.currentTarget.click())};return{...v,...i,onClick:o,onKeyDown:s,onKeyUp:c}},[v,a,h,g,_,f,p,u]),rootRef:m}}var vs=class e{ref={current:null};shouldMount=!1;mounted=null;didMount=!1;setShouldMount=null;static create(){return new e}static use(){let t=Bo(e.create).current,[n,r]=d.useState(!1);return t.shouldMount=n,t.setShouldMount=r,d.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=bs(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&(this.ref.current!==null&&(this.didMount=!0),this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}};function ys(){return vs.use()}function bs(){let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}var xs=[];function Ss(e){d.useEffect(e,xs)}var Cs=class e{static create(){return new e}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear};function ws(){let e=Bo(Cs.create).current;return Ss(e.disposeEffect),e}function Ts(e){let{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:o,in:s,onExited:c,timeout:l}=e,[u,f]=d.useState(!1),p=ws(),m=d.useRef(!1),h=d.useRef(c);h.current=c;let g=c!=null,_=H(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),v={width:o,height:o,top:-(o/2)+a,left:-(o/2)+i},y=H(n.child,u&&n.childLeaving,r&&n.childPulsate);return!s&&!u&&f(!0),d.useEffect(()=>{!s&&g?m.current||(m.current=!0,p.start(l,()=>{m.current=!1,h.current?.()})):(m.current=!1,p.clear())},[p,g,s,l]),(0,w.jsx)(`span`,{className:_,style:v,children:(0,w.jsx)(`span`,{className:y})})}var Es=W(`MuiTouchRipple`,[`root`,`ripple`,`rippleVisible`,`ripplePulsate`,`child`,`childLeaving`,`childPulsate`]),Ds=550,Os={},ks=[],As=()=>{};function js(e,t){let n=new Set(t),r=new Map,i=[];for(let t of e)n.has(t)?i.length>0&&(r.set(t,i),i=[]):i.push(t);let a=[];for(let e of t){let t=r.get(e);t&&a.push(...t),a.push(e)}return a.push(...i),a}function Ms({event:e,element:t,center:n}){let r=t?t.getBoundingClientRect():{width:0,height:0,left:0,top:0},i,a;if(n||e===void 0||e.clientX===0&&e.clientY===0||!e.clientX&&!e.touches)i=Math.round(r.width/2),a=Math.round(r.height/2);else{let{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;i=Math.round(t-r.left),a=Math.round(n-r.top)}let o;if(n)o=Math.sqrt((2*r.width**2+r.height**2)/3),o%2==0&&(o+=1);else{let e=Math.max(Math.abs((t?t.clientWidth:0)-i),i)*2+2,n=Math.max(Math.abs((t?t.clientHeight:0)-a),a)*2+2;o=Math.sqrt(e**2+n**2)}return{rippleX:i,rippleY:a,rippleSize:o}}var Ns=r`
|
|
40
40
|
0% {
|
|
41
41
|
transform: scale(0);
|
|
42
42
|
opacity: 0.1;
|