Loading
function(e,t,n){var s=n(477900),l=n(582128),a=n(120692),r=n(855986),i=n(717421),o=n(765671),u=n(475743),c=n(775602);let d=l.createContext({springConfig:{},isExpanded:!1});n.d(t,{},{R:function(e){let t=l.useMemo(()=>({springConfig:e.springConfig,isExpanded:e.isExpanded}),[e.springConfig,e.isExpanded]);return(0,s.jsx)(d.Provider,{value:t,children:e.children})},T:function(e){let{children:t}=e,{springConfig:n,isExpanded:m}=l.useContext(d),p=(0,r.bG)([c.Ay],()=>c.Ay.useReducedMotion),{ref:x,height:f=null}=(0,o.Ay)(),h=(0,u.Ay)(f)??null,[{height:C},v]=(0,i.z)(()=>({from:{height:0},config:n}));return l.useLayoutEffect(()=>{null!==f&&v({height:f,immediate:!m||p||null===h})},[f,v,m,p,h]),(0,s.jsx)(a.animated.div,{style:{height:null===h?"auto":C,overflow:"hidden"},children:(0,s.jsx)("div",{style:{overflow:"hidden"},ref:x,children:t})})}})}