"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[28],{596514:function(t,n,e){var o=e(487462),i=e(263366),r=e(667294),a=e(708662),u=e(202734),s=e(330577),c=e(251705),d=e(785893);const f=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function l(t){return`scale(${t}, ${t**2})`}const p={entering:{opacity:1,transform:l(1)},entered:{opacity:1,transform:"none"}},y="undefined"!==typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),g=r.forwardRef((function(t,n){const{addEndListener:e,appear:g=!0,children:E,easing:m,in:Z,onEnter:h,onEntered:v,onEntering:x,onExit:_,onExited:b,onExiting:C,style:j,timeout:A="auto",TransitionComponent:O=a.ZP}=t,R=(0,i.Z)(t,f),k=r.useRef(),H=r.useRef(),T=(0,u.Z)(),w=r.useRef(null),L=(0,c.Z)(w,E.ref,n),P=t=>n=>{if(t){const e=w.current;void 0===n?t(e):t(e,n)}},D=P(x),N=P(((t,n)=>{(0,s.n)(t);const{duration:e,delay:o,easing:i}=(0,s.C)({style:j,timeout:A,easing:m},{mode:"enter"});let r;"auto"===A?(r=T.transitions.getAutoHeightDuration(t.clientHeight),H.current=r):r=e,t.style.transition=[T.transitions.create("opacity",{duration:r,delay:o}),T.transitions.create("transform",{duration:y?r:.666*r,delay:o,easing:i})].join(","),h&&h(t,n)})),$=P(v),M=P(C),S=P((t=>{const{duration:n,delay:e,easing:o}=(0,s.C)({style:j,timeout:A,easing:m},{mode:"exit"});let i;"auto"===A?(i=T.transitions.getAutoHeightDuration(t.clientHeight),H.current=i):i=n,t.style.transition=[T.transitions.create("opacity",{duration:i,delay:e}),T.transitions.create("transform",{duration:y?i:.666*i,delay:y?e:e||.333*i,easing:o})].join(","),t.style.opacity=0,t.style.transform=l(.75),_&&_(t)})),q=P(b);return r.useEffect((()=>()=>{clearTimeout(k.current)}),[]),(0,d.jsx)(O,(0,o.Z)({appear:g,in:Z,nodeRef:w,onEnter:N,onEntered:$,onEntering:D,onExit:S,onExited:q,onExiting:M,addEndListener:t=>{"auto"===A&&(k.current=setTimeout(t,H.current||0)),e&&e(w.current,t)},timeout:"auto"===A?null:A},R,{children:(t,n)=>r.cloneElement(E,(0,o.Z)({style:(0,o.Z)({opacity:0,transform:l(.75),visibility:"exited"!==t||Z?void 0:"hidden"},p[t],j,E.props.style),ref:L},n))}))}));g.muiSupportAuto=!0,n.Z=g},917973:function(t,n,e){e.r(n),e.d(n,{default:function(){return o.Z}});var o=e(596514)},251705:function(t,n,e){var o=e(33703);n.Z=o.Z},407960:function(t,n,e){function o(t,n){"function"===typeof t?t(n):t&&(t.current=n)}e.d(n,{Z:function(){return o}})},33703:function(t,n,e){e.d(n,{Z:function(){return r}});var o=e(667294),i=e(407960);function r(...t){return o.useMemo((()=>t.every((t=>null==t))?null:n=>{t.forEach((t=>{(0,i.Z)(t,n)}))}),t)}},500220:function(t,n,e){var o=e(667294);n.Z=o.createContext(null)},875068:function(t,n,e){function o(t,n){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},o(t,n)}function i(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,o(t,n)}e.d(n,{Z:function(){return i}})}}]);