"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1984],{345889:function(n,t,e){var o=e(263366),i=e(487462),r=e(667294),s=e(490512),a=e(794780),c=e(690948),u=e(471657),l=e(16628),d=e(206496),p=e(785893);const f=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Z=(0,c.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(n,t)=>{const{ownerState:e}=n;return[t.root,e.invisible&&t.invisible]}})((({ownerState:n})=>(0,i.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},n.invisible&&{backgroundColor:"transparent"}))),m=r.forwardRef((function(n,t){var e,r,c;const m=(0,u.Z)({props:n,name:"MuiBackdrop"}),{children:v,className:y,component:E="div",components:b={},componentsProps:g={},invisible:x=!1,open:h,slotProps:k={},slots:C={},TransitionComponent:w=l.Z,transitionDuration:P}=m,_=(0,o.Z)(m,f),j=(0,i.Z)({},m,{component:E,invisible:x}),R=(n=>{const{classes:t,invisible:e}=n,o={root:["root",e&&"invisible"]};return(0,a.Z)(o,d.s,t)})(j),T=null!=(e=k.root)?e:g.root;return(0,p.jsx)(w,(0,i.Z)({in:h,timeout:P},_,{children:(0,p.jsx)(Z,(0,i.Z)({"aria-hidden":!0},T,{as:null!=(r=null!=(c=C.root)?c:b.Root)?r:E,className:(0,s.Z)(R.root,y,null==T?void 0:T.className),ownerState:(0,i.Z)({},j,null==T?void 0:T.ownerState),classes:R,ref:t,children:v}))}))}));t.Z=m},206496:function(n,t,e){e.d(t,{s:function(){return r}});var o=e(1588),i=e(34867);function r(n){return(0,i.Z)("MuiBackdrop",n)}const s=(0,o.Z)("MuiBackdrop",["root","invisible"]);t.Z=s},115729:function(n,t,e){e.r(t),e.d(t,{backdropClasses:function(){return i.Z},default:function(){return o.Z},getBackdropUtilityClass:function(){return i.s}});var o=e(345889),i=e(206496)},16628:function(n,t,e){var o=e(487462),i=e(263366),r=e(667294),s=e(708662),a=e(202734),c=e(330577),u=e(251705),l=e(785893);const d=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],p={entering:{opacity:1},entered:{opacity:1}},f=r.forwardRef((function(n,t){const e=(0,a.Z)(),f={enter:e.transitions.duration.enteringScreen,exit:e.transitions.duration.leavingScreen},{addEndListener:Z,appear:m=!0,children:v,easing:y,in:E,onEnter:b,onEntered:g,onEntering:x,onExit:h,onExited:k,onExiting:C,style:w,timeout:P=f,TransitionComponent:_=s.ZP}=n,j=(0,i.Z)(n,d),R=r.useRef(null),T=(0,u.Z)(R,v.ref,t),N=n=>t=>{if(n){const e=R.current;void 0===t?n(e):n(e,t)}},S=N(x),B=N(((n,t)=>{(0,c.n)(n);const o=(0,c.C)({style:w,timeout:P,easing:y},{mode:"enter"});n.style.webkitTransition=e.transitions.create("opacity",o),n.style.transition=e.transitions.create("opacity",o),b&&b(n,t)})),M=N(g),O=N(C),L=N((n=>{const t=(0,c.C)({style:w,timeout:P,easing:y},{mode:"exit"});n.style.webkitTransition=e.transitions.create("opacity",t),n.style.transition=e.transitions.create("opacity",t),h&&h(n)})),D=N(k);return(0,l.jsx)(_,(0,o.Z)({appear:m,in:E,nodeRef:R,onEnter:B,onEntered:M,onEntering:S,onExit:L,onExited:D,onExiting:O,addEndListener:n=>{Z&&Z(R.current,n)},timeout:P},j,{children:(n,t)=>r.cloneElement(v,(0,o.Z)({style:(0,o.Z)({opacity:0,visibility:"exited"!==n||E?void 0:"hidden"},p[n],w,v.props.style),ref:T},t))}))}));t.Z=f},251705:function(n,t,e){var o=e(33703);t.Z=o.Z},407960:function(n,t,e){function o(n,t){"function"===typeof n?n(t):n&&(n.current=t)}e.d(t,{Z:function(){return o}})},33703:function(n,t,e){e.d(t,{Z:function(){return r}});var o=e(667294),i=e(407960);function r(...n){return o.useMemo((()=>n.every((n=>null==n))?null:t=>{n.forEach((n=>{(0,i.Z)(n,t)}))}),n)}},500220:function(n,t,e){var o=e(667294);t.Z=o.createContext(null)},875068:function(n,t,e){function o(n,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,t){return n.__proto__=t,n},o(n,t)}function i(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,o(n,t)}e.d(t,{Z:function(){return i}})}}]);