"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[78066],{64826:function(e,t,n){n.d(t,{Fw:function(){return k},fC:function(){return E},xz:function(){return _}});var r=n(57384),a=n(67597),o=n(90149),i=n(61544),u=n(82305),l=n(65672),c=n(71641),s=n(4300),f=n(8591),d=n(57458);const p="Collapsible",[b,v]=(0,i.b)(p),[h,y]=b(p),g=(0,a.forwardRef)(((e,t)=>{const{__scopeCollapsible:n,open:o,defaultOpen:i,disabled:l,onOpenChange:c,...f}=e,[p=!1,b]=(0,u.T)({prop:o,defaultProp:i,onChange:c});return(0,a.createElement)(h,{scope:n,disabled:l,contentId:(0,d.M)(),open:p,onOpenToggle:(0,a.useCallback)((()=>b((e=>!e))),[b])},(0,a.createElement)(s.WV.div,(0,r.Z)({"data-state":x(p),"data-disabled":l?"":void 0},f,{ref:t})))})),m="CollapsibleTrigger",w=(0,a.forwardRef)(((e,t)=>{const{__scopeCollapsible:n,...i}=e,u=y(m,n);return(0,a.createElement)(s.WV.button,(0,r.Z)({type:"button","aria-controls":u.contentId,"aria-expanded":u.open||!1,"data-state":x(u.open),"data-disabled":u.disabled?"":void 0,disabled:u.disabled},i,{ref:t,onClick:(0,o.M)(e.onClick,u.onOpenToggle)}))})),C="CollapsibleContent",k=(0,a.forwardRef)(((e,t)=>{const{forceMount:n,...o}=e,i=y(C,e.__scopeCollapsible);return(0,a.createElement)(f.z,{present:n||i.open},(({present:e})=>(0,a.createElement)(R,(0,r.Z)({},o,{ref:t,present:e}))))})),R=(0,a.forwardRef)(((e,t)=>{const{__scopeCollapsible:n,present:o,children:i,...u}=e,f=y(C,n),[d,p]=(0,a.useState)(o),b=(0,a.useRef)(null),v=(0,c.e)(t,b),h=(0,a.useRef)(0),g=h.current,m=(0,a.useRef)(0),w=m.current,k=f.open||d,R=(0,a.useRef)(k),E=(0,a.useRef)();return(0,a.useEffect)((()=>{const e=requestAnimationFrame((()=>R.current=!1));return()=>cancelAnimationFrame(e)}),[]),(0,l.b)((()=>{const e=b.current;if(e){E.current=E.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";const t=e.getBoundingClientRect();h.current=t.height,m.current=t.width,R.current||(e.style.transitionDuration=E.current.transitionDuration,e.style.animationName=E.current.animationName),p(o)}}),[f.open,o]),(0,a.createElement)(s.WV.div,(0,r.Z)({"data-state":x(f.open),"data-disabled":f.disabled?"":void 0,id:f.contentId,hidden:!k},u,{ref:v,style:{"--radix-collapsible-content-height":g?`${g}px`:void 0,"--radix-collapsible-content-width":w?`${w}px`:void 0,...e.style}}),k&&i)}));function x(e){return e?"open":"closed"}const E=g,_=w},15033:function(e,t,n){n.d(t,{ZP:function(){return R}});var r=n(67597),a=n(99968),o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&a[a.length-1])&&(6===o[0]||2===o[0])){i=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]