"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{51650:function(e,t,n){n.r(t),n.d(t,{Button:function(){return s}});var r=n(63171),o=n(73797),l=n(64090),u=n(54874),i=n(27616),a=n(7516);let s=(0,a.yV)(function(e,t){var n;let s=(0,i.B)(),{disabled:c=s||!1,autoFocus:d=!1,...f}=e,{isFocusVisible:v,focusProps:m}=(0,r.F)({autoFocus:d}),{isHovered:p,hoverProps:h}=(0,o.X)({isDisabled:c}),{pressed:g,pressProps:E}=(0,u.x)({disabled:c}),b=(0,a.dG)({ref:t,type:null!=(n=f.type)?n:"button",disabled:c||void 0,autoFocus:d},m,h,E),T=(0,l.useMemo)(()=>({disabled:c,hover:p,focus:v,active:g,autofocus:d}),[c,p,v,g,d]);return(0,a.L6)()({ourProps:b,theirProps:f,slot:T,defaultTag:"button",name:"Button"})})},22833:function(e,t,n){n.d(t,{Vq:function(){return el},EM:function(){return er},$N:function(){return eo}});var r,o,l,u,i=n(64090),a=n(50433),s=n(48369);function c(e,t,n,r){let o=(0,s.E)(n);(0,i.useEffect)(()=>{function n(e){o.current(e)}return(e=null!=e?e:window).addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)},[e,t,r])}var d=n(92821),f=n(35366),v=n(2016),m=n(57232),p=n(42695),h=n(90739),g=n(45941),E=n(90359),b=n(90053);let T=(0,i.createContext)(null);function w(e){let{children:t,node:n}=e,[r,o]=(0,i.useState)(null),l=F(null!=n?n:r);return i.createElement(T.Provider,{value:l},t,null===l&&i.createElement(E._,{features:E.x.Hidden,ref:e=>{var t,n;if(e){for(let r of null!=(n=null==(t=(0,b.r)(e))?void 0:t.querySelectorAll("html > *, body > *"))?n:[])if(r!==document.body&&r!==document.head&&r instanceof HTMLElement&&null!=r&&r.contains(e)){o(r);break}}}}))}function F(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null!=(e=(0,i.useContext)(T))?e:t}var y=n(8738),C=n(97465),L=n(20693),P=n(50777),k=n(17884),M=n(35707),R=n(31066),D=n(7516),O=n(31421),S=n(56264),x=n(28597),H=n(17951),A=n(78916),N=((r=N||{})[r.Forwards=0]="Forwards",r[r.Backwards=1]="Backwards",r);function V(e,t){let n=(0,i.useRef)([]),r=(0,f.z)(e);(0,i.useEffect)(()=>{let e=[...n.current];for(let[o,l]of t.entries())if(n.current[o]!==l){let o=r(t,e);return n.current=t,o}},[r,...t])}var z=n(94230);let I=[];!function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}(()=>{function e(e){if(!(e.target instanceof HTMLElement)||e.target===document.body||I[0]===e.target)return;let t=e.target;t=t.closest(z.y),I.unshift(null!=t?t:e.target),(I=I.filter(e=>null!=e&&e.isConnected)).splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});var Z=n(28271);function B(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}var _=((o=_||{})[o.None=0]="None",o[o.InitialFocus=1]="InitialFocus",o[o.TabLock=2]="TabLock",o[o.FocusLock=4]="FocusLock",o[o.RestoreFocus=8]="RestoreFocus",o[o.AutoFocus=16]="AutoFocus",o);let j=Object.assign((0,D.yV)(function(e,t){let n,r=(0,i.useRef)(null),o=(0,L.T)(r,t),{initialFocus:l,initialFocusFallback:u,containers:a,features:s=15,...v}=e;(0,C.H)()||(s=0);let m=(0,g.i)(r);!function(e,t){let{ownerDocument:n}=t,r=!!(8&e),o=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,i.useRef)(I.slice());return V((e,n)=>{let[r]=e,[o]=n;!0===o&&!1===r&&(0,Z.Y)(()=>{t.current.splice(0)}),!1===o&&!0===r&&(t.current=I.slice())},[e,I,t]),(0,f.z)(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}(r);V(()=>{r||(null==n?void 0:n.activeElement)===(null==n?void 0:n.body)&&(0,z.C5)(o())},[r]),(0,H.L)(()=>{r&&(0,z.C5)(o())})}(s,{ownerDocument:m});let p=function(e,t){let{ownerDocument:n,container:r,initialFocus:o,initialFocusFallback:l}=t,u=(0,i.useRef)(null),a=(0,d.g)(!!(1&e),"focus-trap#initial-focus"),s=(0,x.t)();return V(()=>{if(0===e)return;if(!a){null!=l&&l.current&&(0,z.C5)(l.current);return}let t=r.current;t&&(0,Z.Y)(()=>{if(!s.current)return;let r=null==n?void 0:n.activeElement;if(null!=o&&o.current){if((null==o?void 0:o.current)===r){u.current=r;return}}else if(t.contains(r)){u.current=r;return}if(null!=o&&o.current)(0,z.C5)(o.current);else{if(16&e){if((0,z.jA)(t,z.TO.First|z.TO.AutoFocus)!==z.fE.Error)return}else if((0,z.jA)(t,z.TO.First)!==z.fE.Error)return;if(null!=l&&l.current&&((0,z.C5)(l.current),(null==n?void 0:n.activeElement)===l.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}u.current=null==n?void 0:n.activeElement})},[l,a,e]),u}(s,{ownerDocument:m,container:r,initialFocus:l,initialFocusFallback:u});!function(e,t){let{ownerDocument:n,container:r,containers:o,previousActiveElement:l}=t,u=(0,x.t)(),i=!!(4&e);c(null==n?void 0:n.defaultView,"focus",e=>{if(!i||!u.current)return;let t=B(o);r.current instanceof HTMLElement&&t.add(r.current);let n=l.current;if(!n)return;let a=e.target;a&&a instanceof HTMLElement?Y(t,a)?(l.current=a,(0,z.C5)(a)):(e.preventDefault(),e.stopPropagation(),(0,z.C5)(n)):(0,z.C5)(l.current)},!0)}(s,{ownerDocument:m,container:r,containers:a,previousActiveElement:p});let h=(n=(0,i.useRef)(0),(0,A.s)(!0,"keydown",e=>{"Tab"===e.key&&(n.current=e.shiftKey?1:0)},!0),n),b=(0,f.z)(e=>{let t=r.current;t&&(0,R.E)(h.current,{[N.Forwards]:()=>{(0,z.jA)(t,z.TO.First,{skipElements:[e.relatedTarget,u]})},[N.Backwards]:()=>{(0,z.jA)(t,z.TO.Last,{skipElements:[e.relatedTarget,u]})}})}),T=(0,d.g)(!!(2&s),"focus-trap#tab-lock"),w=(0,S.G)(),F=(0,i.useRef)(!1),y=(0,D.L6)();return i.createElement(i.Fragment,null,T&&i.createElement(E._,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:b,features:E.x.Focusable}),y({ourProps:{ref:o,onKeyDown(e){"Tab"==e.key&&(F.current=!0,w.requestAnimationFrame(()=>{F.current=!1}))},onBlur(e){if(!(4&s))return;let t=B(a);r.current instanceof HTMLElement&&t.add(r.current);let n=e.relatedTarget;n instanceof HTMLElement&&"true"!==n.dataset.headlessuiFocusGuard&&(Y(t,n)||(F.current?(0,z.jA)(r.current,(0,R.E)(h.current,{[N.Forwards]:()=>z.TO.Next,[N.Backwards]:()=>z.TO.Previous})|z.TO.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&(0,z.C5)(e.target)))}},theirProps:v,defaultTag:"div",name:"FocusTrap"}),T&&i.createElement(E._,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:b,features:E.x.Focusable}))}),{features:_});function Y(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var q=n(94889),G=n(15449),J=((l=J||{})[l.Open=0]="Open",l[l.Closed=1]="Closed",l),U=((u=U||{})[u.SetTitleId=0]="SetTitleId",u);let K={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},X=(0,i.createContext)(null);function $(e){let t=(0,i.useContext)(X);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Dialog /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,$),t}return t}function W(e,t){return(0,R.E)(t.type,K,e,t)}X.displayName="DialogContext";let Q=(0,D.yV)(function(e,t){let n=(0,i.useId)(),{id:r="headlessui-dialog-".concat(n),open:o,onClose:l,initialFocus:u,role:s="dialog",autoFocus:E=!0,__demoMode:b=!1,unmount:T=!1,...w}=e,R=(0,i.useRef)(!1);s="dialog"===s||"alertdialog"===s?s:(R.current||(R.current=!0,console.warn("Invalid role [".concat(s,"] passed to <Dialog />. Only `dialog` and and `alertdialog` are supported. Using `dialog` instead."))),"dialog");let S=(0,k.oJ)();void 0===o&&null!==S&&(o=(S&k.ZM.Open)===k.ZM.Open);let x=(0,i.useRef)(null),H=(0,L.T)(x,t),A=(0,g.i)(x),N=o?0:1,[V,z]=(0,i.useReducer)(W,{titleId:null,descriptionId:null,panelRef:(0,i.createRef)()}),I=(0,f.z)(()=>l(!1)),Z=(0,f.z)(e=>z({type:0,id:e})),B=!!(0,C.H)()&&0===N,[Y,G]=(0,q.kF)(),J=F(),{resolveContainers:U}=function(){let{defaultContainers:e=[],portals:t,mainTreeNode:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=(0,g.i)(n),o=(0,f.z)(()=>{var o,l;let u=[];for(let t of e)null!==t&&(t instanceof HTMLElement?u.push(t):"current"in t&&t.current instanceof HTMLElement&&u.push(t.current));if(null!=t&&t.current)for(let e of t.current)u.push(e);for(let e of null!=(o=null==r?void 0:r.querySelectorAll("html > *, body > *"))?o:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(n&&(e.contains(n)||e.contains(null==(l=null==n?void 0:n.getRootNode())?void 0:l.host))||u.some(t=>e.contains(t))||u.push(e));return u});return{resolveContainers:o,contains:(0,f.z)(e=>o().some(t=>t.contains(e)))}}({mainTreeNode:J,portals:Y,defaultContainers:[{get current(){var K;return null!=(K=V.panelRef.current)?K:x.current}}]}),$=null!==S&&(S&k.ZM.Closing)===k.ZM.Closing;(0,v.s)(!b&&!$&&B,{allowed:(0,f.z)(()=>{var e,t;return[null!=(t=null==(e=x.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]}),disallowed:(0,f.z)(()=>{var e;return[null!=(e=null==J?void 0:J.closest("body > *:not(#headlessui-portal-root)"))?e:null]})}),(0,h.O)(B,U,e=>{e.preventDefault(),I()}),function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"undefined"!=typeof document?document.defaultView:null,n=arguments.length>2?arguments[2]:void 0,r=(0,d.g)(e,"escape");c(t,"keydown",e=>{r&&(e.defaultPrevented||e.key===a.R.Escape&&n(e))})}(B,null==A?void 0:A.defaultView,e=>{e.preventDefault(),e.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur(),I()}),(0,y.P)(!b&&!$&&B,A,U),(0,p.m)(B,x,I);let[Q,en]=(0,O.fw)(),er=(0,i.useMemo)(()=>[{dialogState:N,close:I,setTitleId:Z,unmount:T},V],[N,V,I,Z,T]),eo=(0,i.useMemo)(()=>({open:0===N}),[N]),el={ref:H,id:r,role:s,tabIndex:-1,"aria-modal":b?void 0:0===N||void 0,"aria-labelledby":V.titleId,"aria-describedby":Q,unmount:T},eu=!function(){var e;let[t]=(0,i.useState)(()=>"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null),[n,r]=(0,i.useState)(null!=(e=null==t?void 0:t.matches)&&e);return(0,m.e)(()=>{if(t)return t.addEventListener("change",e),()=>t.removeEventListener("change",e);function e(e){r(e.matches)}},[t]),n}(),ei=_.None;B&&!b&&(ei|=_.RestoreFocus,ei|=_.TabLock,E&&(ei|=_.AutoFocus),eu&&(ei|=_.InitialFocus));let ea=(0,D.L6)();return i.createElement(k.uu,null,i.createElement(M.O,{force:!0},i.createElement(q.h_,null,i.createElement(X.Provider,{value:er},i.createElement(q.wA,{target:x},i.createElement(M.O,{force:!1},i.createElement(en,{slot:eo},i.createElement(G,null,i.createElement(j,{initialFocus:u,initialFocusFallback:x,containers:U,features:ei},i.createElement(P.Z,{value:I},ea({ourProps:el,theirProps:w,slot:eo,defaultTag:ee,features:et,visible:0===N,name:"Dialog"})))))))))))}),ee="div",et=D.VN.RenderStrategy|D.VN.Static,en=(0,D.yV)(function(e,t){let{transition:n=!1,open:r,...o}=e,l=(0,k.oJ)(),u=e.hasOwnProperty("open")||null!==l,a=e.hasOwnProperty("onClose");if(!u&&!a)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!u)throw Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!a)throw Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!l&&"boolean"!=typeof e.open)throw Error("You provided an `open` prop to the `Dialog`, but the value is not a boolean. Received: ".concat(e.open));if("function"!=typeof e.onClose)throw Error("You provided an `onClose` prop to the `Dialog`, but the value is not a function. Received: ".concat(e.onClose));return(void 0!==r||n)&&!o.static?i.createElement(w,null,i.createElement(G.u,{show:r,transition:n,unmount:o.unmount},i.createElement(Q,{ref:t,...o}))):i.createElement(w,null,i.createElement(Q,{ref:t,open:r,...o}))}),er=(0,D.yV)(function(e,t){let n=(0,i.useId)(),{id:r="headlessui-dialog-panel-".concat(n),transition:o=!1,...l}=e,[{dialogState:u,unmount:a},s]=$("Dialog.Panel"),c=(0,L.T)(t,s.panelRef),d=(0,i.useMemo)(()=>({open:0===u}),[u]),v=(0,f.z)(e=>{e.stopPropagation()}),m=o?G.x:i.Fragment,p=(0,D.L6)();return i.createElement(m,{...o?{unmount:a}:{}},p({ourProps:{ref:c,id:r,onClick:v},theirProps:l,slot:d,defaultTag:"div",name:"Dialog.Panel"}))}),eo=((0,D.yV)(function(e,t){let{transition:n=!1,...r}=e,[{dialogState:o,unmount:l}]=$("Dialog.Backdrop"),u=(0,i.useMemo)(()=>({open:0===o}),[o]),a=n?G.x:i.Fragment,s=(0,D.L6)();return i.createElement(a,{...n?{unmount:l}:{}},s({ourProps:{ref:t,"aria-hidden":!0},theirProps:r,slot:u,defaultTag:"div",name:"Dialog.Backdrop"}))}),(0,D.yV)(function(e,t){let n=(0,i.useId)(),{id:r="headlessui-dialog-title-".concat(n),...o}=e,[{dialogState:l,setTitleId:u}]=$("Dialog.Title"),a=(0,L.T)(t);(0,i.useEffect)(()=>(u(r),()=>u(null)),[r,u]);let s=(0,i.useMemo)(()=>({open:0===l}),[l]);return(0,D.L6)()({ourProps:{ref:a,id:r},theirProps:o,slot:s,defaultTag:"h2",name:"Dialog.Title"})})),el=Object.assign(en,{Panel:er,Title:eo,Description:O.dk})},15449:function(e,t,n){n.d(t,{u:function(){return M},x:function(){return k}});var r,o=n(64090),l=n(56264),u=n(35366),i=n(28597),a=n(57232),s=n(48369),c=n(97465),d=n(20693),f=n(9496),v=n(17884),m=n(62860),p=n(31066),h=n(7516);function g(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||(null!=(t=e.as)?t:y)!==o.Fragment||1===o.Children.count(e.children)}let E=(0,o.createContext)(null);E.displayName="TransitionContext";var b=((r=b||{}).Visible="visible",r.Hidden="hidden",r);let T=(0,o.createContext)(null);function w(e){return"children"in e?w(e.children):e.current.filter(e=>{let{el:t}=e;return null!==t.current}).filter(e=>{let{state:t}=e;return"visible"===t}).length>0}function F(e,t){let n=(0,s.E)(e),r=(0,o.useRef)([]),a=(0,i.t)(),c=(0,l.G)(),d=(0,u.z)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.l4.Hidden,o=r.current.findIndex(t=>{let{el:n}=t;return n===e});-1!==o&&((0,p.E)(t,{[h.l4.Unmount](){r.current.splice(o,1)},[h.l4.Hidden](){r.current[o].state="hidden"}}),c.microTask(()=>{var e;!w(r)&&a.current&&(null==(e=n.current)||e.call(n))}))}),f=(0,u.z)(e=>{let t=r.current.find(t=>{let{el:n}=t;return n===e});return t?"visible"!==t.state&&(t.state="visible"):r.current.push({el:e,state:"visible"}),()=>d(e,h.l4.Unmount)}),v=(0,o.useRef)([]),m=(0,o.useRef)(Promise.resolve()),g=(0,o.useRef)({enter:[],leave:[]}),E=(0,u.z)((e,n,r)=>{v.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(t=>{let[n]=t;return n!==e})),null==t||t.chains.current[n].push([e,new Promise(e=>{v.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(g.current[n].map(e=>{let[t,n]=e;return n})).then(()=>e())})]),"enter"===n?m.current=m.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),b=(0,u.z)((e,t,n)=>{Promise.all(g.current[t].splice(0).map(e=>{let[t,n]=e;return n})).then(()=>{var e;null==(e=v.current.shift())||e()}).then(()=>n(t))});return(0,o.useMemo)(()=>({children:r,register:f,unregister:d,onStart:E,onStop:b,wait:m,chains:g}),[f,d,r,E,b,g,m])}T.displayName="NestingContext";let y=o.Fragment,C=h.VN.RenderStrategy,L=(0,h.yV)(function(e,t){let{show:n,appear:r=!1,unmount:l=!0,...i}=e,s=(0,o.useRef)(null),f=g(e),m=(0,d.T)(...f?[s,t]:null===t?[]:[t]);(0,c.H)();let p=(0,v.oJ)();if(void 0===n&&null!==p&&(n=(p&v.ZM.Open)===v.ZM.Open),void 0===n)throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[b,y]=(0,o.useState)(n?"visible":"hidden"),L=F(()=>{n||y("hidden")}),[k,M]=(0,o.useState)(!0),R=(0,o.useRef)([n]);(0,a.e)(()=>{!1!==k&&R.current[R.current.length-1]!==n&&(R.current.push(n),M(!1))},[R,n]);let D=(0,o.useMemo)(()=>({show:n,appear:r,initial:k}),[n,r,k]);(0,a.e)(()=>{n?y("visible"):w(L)||null===s.current||y("hidden")},[n,L]);let O={unmount:l},S=(0,u.z)(()=>{var t;k&&M(!1),null==(t=e.beforeEnter)||t.call(e)}),x=(0,u.z)(()=>{var t;k&&M(!1),null==(t=e.beforeLeave)||t.call(e)}),H=(0,h.L6)();return o.createElement(T.Provider,{value:L},o.createElement(E.Provider,{value:D},H({ourProps:{...O,as:o.Fragment,children:o.createElement(P,{ref:m,...O,...i,beforeEnter:S,beforeLeave:x})},theirProps:{},defaultTag:o.Fragment,features:C,visible:"visible"===b,name:"Transition"})))}),P=(0,h.yV)(function(e,t){var n,r;let{transition:l=!0,beforeEnter:i,afterEnter:s,beforeLeave:b,afterLeave:L,enter:P,enterFrom:k,enterTo:M,entered:R,leave:D,leaveFrom:O,leaveTo:S,...x}=e,[H,A]=(0,o.useState)(null),N=(0,o.useRef)(null),V=g(e),z=(0,d.T)(...V?[N,t,A]:null===t?[]:[t]),I=null==(n=x.unmount)||n?h.l4.Unmount:h.l4.Hidden,{show:Z,appear:B,initial:_}=function(){let e=(0,o.useContext)(E);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[j,Y]=(0,o.useState)(Z?"visible":"hidden"),q=function(){let e=(0,o.useContext)(T);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:G,unregister:J}=q;(0,a.e)(()=>G(N),[G,N]),(0,a.e)(()=>{if(I===h.l4.Hidden&&N.current){if(Z&&"visible"!==j){Y("visible");return}return(0,p.E)(j,{hidden:()=>J(N),visible:()=>G(N)})}},[j,N,G,J,Z,I]);let U=(0,c.H)();(0,a.e)(()=>{if(V&&U&&"visible"===j&&null===N.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[N,j,U,V]);let K=_&&!B,X=B&&Z&&_,$=(0,o.useRef)(!1),W=F(()=>{$.current||(Y("hidden"),J(N))},q),Q=(0,u.z)(e=>{$.current=!0,W.onStart(N,e?"enter":"leave",e=>{"enter"===e?null==i||i():"leave"===e&&(null==b||b())})}),ee=(0,u.z)(e=>{let t=e?"enter":"leave";$.current=!1,W.onStop(N,t,e=>{"enter"===e?null==s||s():"leave"===e&&(null==L||L())}),"leave"!==t||w(W)||(Y("hidden"),J(N))});(0,o.useEffect)(()=>{V&&l||(Q(Z),ee(Z))},[Z,V,l]);let et=!(!l||!V||!U||K),[,en]=(0,f.Y)(et,H,Z,{start:Q,end:ee}),er=(0,h.oA)({ref:z,className:(null==(r=(0,m.A)(x.className,X&&P,X&&k,en.enter&&P,en.enter&&en.closed&&k,en.enter&&!en.closed&&M,en.leave&&D,en.leave&&!en.closed&&O,en.leave&&en.closed&&S,!en.transition&&Z&&R))?void 0:r.trim())||void 0,...(0,f.X)(en)}),eo=0;"visible"===j&&(eo|=v.ZM.Open),"hidden"===j&&(eo|=v.ZM.Closed),en.enter&&(eo|=v.ZM.Opening),en.leave&&(eo|=v.ZM.Closing);let el=(0,h.L6)();return o.createElement(T.Provider,{value:W},o.createElement(v.up,{value:eo},el({ourProps:er,theirProps:x,defaultTag:y,features:C,visible:"visible"===j,name:"Transition.Child"})))}),k=(0,h.yV)(function(e,t){let n=null!==(0,o.useContext)(E),r=null!==(0,v.oJ)();return o.createElement(o.Fragment,null,!n&&r?o.createElement(L,{ref:t,...e}):o.createElement(P,{ref:t,...e}))}),M=Object.assign(L,{Child:k,Root:L})},28597:function(e,t,n){n.d(t,{t:function(){return l}});var r=n(64090),o=n(57232);function l(){let e=(0,r.useRef)(!1);return(0,o.e)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},50777:function(e,t,n){n.d(t,{$:function(){return l},Z:function(){return u}});var r=n(64090);let o=(0,r.createContext)(()=>{});function l(){return(0,r.useContext)(o)}function u(e){let{value:t,children:n}=e;return r.createElement(o.Provider,{value:t},n)}}}]);