You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
41 KiB
1 line
41 KiB
11 months ago
|
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[490],{78262:function(e,t,n){"use strict";n.d(t,{Z:function(){return A}});var r=n(63366),l=n(87462),o=n(67294),s=n(63961),i=n(94780),a=n(92996),c=n(98216),d=n(11994),u=n(16628),p=n(90629),h=n(71657),m=n(90948),x=n(1588),g=n(34867);function getDialogUtilityClass(e){return(0,g.Z)("MuiDialog",e)}let f=(0,x.Z)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),Z=o.createContext({});var j=n(84808),v=n(2734),b=n(85893);let w=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],y=(0,m.ZP)(j.Z,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),useUtilityClasses=e=>{let{classes:t,scroll:n,maxWidth:r,fullWidth:l,fullScreen:o}=e,s={root:["root"],container:["container",`scroll${(0,c.Z)(n)}`],paper:["paper",`paperScroll${(0,c.Z)(n)}`,`paperWidth${(0,c.Z)(String(r))}`,l&&"paperFullWidth",o&&"paperFullScreen"]};return(0,i.Z)(s,getDialogUtilityClass,t)},P=(0,m.ZP)(d.Z,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),k=(0,m.ZP)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.container,t[`scroll${(0,c.Z)(n.scroll)}`]]}})(({ownerState:e})=>(0,l.Z)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===e.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===e.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),C=(0,m.ZP)(p.Z,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.paper,t[`scrollPaper${(0,c.Z)(n.scroll)}`],t[`paperWidth${(0,c.Z)(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(({theme:e,ownerState:t})=>(0,l.Z)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===t.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===t.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===t.maxWidth&&{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${f.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&"xs"!==t.maxWidth&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${f.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+64)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${f.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),S=o.forwardRef(function(e,t){let n=(0,h.Z)({props:e,name:"MuiDialog"}),i=(0,v.Z)(),c={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{"aria-describedby":d,"aria-labelledby":m,BackdropComponent:x,BackdropProps:g,children:f,className:j,disableEscapeKeyDown:S=!1,fullScreen:A=!1,fullWidth:M=!1,maxWidth:_="sm",onBackdropClick:E,onClose:T,open:F,PaperComponent:I=p.Z,PaperProps:D={},scroll:O="paper",TransitionComponent:R=u.Z,transitionDuration:W=c,TransitionProps:B}=n,N=(0,r.Z)(n,w),U=(0,l.Z)({},n,{disableEscapeKeyDown:S,fullScreen:A,fullWidth:M,maxWidth:_,scroll:O}),L=useUtilityClasses(U),H=o.useRef(),V=(0,a.Z)(m),$=o.useMemo(()=>({titleId:V}),[V]);return(0,b.jsx)(P,(0,l.Z)({className:(0,s.Z)(L.root,j),closeAfterTransition:!0,components:{Backdrop:y},componentsProps:{bac
|