!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c3fecbf8-7f08-4ac4-b678-f2efe292df53",e._sentryDebugIdIdentifier="sentry-dbid-c3fecbf8-7f08-4ac4-b678-f2efe292df53")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2337],{84681:function(e,t,n){n.d(t,{M:function(){return r}});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},81436:function(e,t,n){n.d(t,{F:function(){return o},e:function(){return a}});var r=n(2265);function o(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function a(...e){return r.useCallback(o(...e),e)}},21057:function(e,t,n){n.d(t,{b:function(){return i},k:function(){return a}});var r=n(2265),o=n(57437);function a(e,t){let n=r.createContext(t);function a(e){let{children:t,...a}=e,i=r.useMemo(()=>a,Object.values(a));return(0,o.jsx)(n.Provider,{value:i,children:t})}return a.displayName=e+"Provider",[a,function(o){let a=r.useContext(n);if(a)return a;if(void 0!==t)return t;throw Error(`\`${o}\` must be used within \`${e}\``)}]}function i(e,t=[]){let n=[],a=()=>{let t=n.map(e=>r.createContext(e));return function(n){let o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return a.scopeName=e,[function(t,a){let i=r.createContext(a),l=n.length;function u(t){let{scope:n,children:a,...u}=t,d=n?.[e][l]||i,c=r.useMemo(()=>u,Object.values(u));return(0,o.jsx)(d.Provider,{value:c,children:a})}return n=[...n,a],u.displayName=t+"Provider",[u,function(n,o){let u=o?.[e][l]||i,d=r.useContext(u);if(d)return d;if(void 0!==a)return a;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}(a,...t)]}},51914:function(e,t,n){n.d(t,{Be:function(){return H},Dx:function(){return en},VY:function(){return et},aV:function(){return ee},dk:function(){return er},fC:function(){return K},h_:function(){return Q},jm:function(){return $},p8:function(){return w},x8:function(){return eo},xz:function(){return J}});var r=n(2265),o=n(84681),a=n(81436),i=n(21057),l=n(55378),u=n(1215),d=n(49840),c=n(38582),s=n(56674),f=n(4953),p=n(87214),h=n(98948),v=n(60703),y=n(5478),m=n(59763),g=n(57437),x="Dialog",[k,w]=(0,i.b)(x),[b,M]=k(x),j=e=>{let{__scopeDialog:t,children:n,open:o,defaultOpen:a,onOpenChange:i,modal:d=!0}=e,c=r.useRef(null),s=r.useRef(null),[f=!1,p]=(0,u.T)({prop:o,defaultProp:a,onChange:i});return(0,g.jsx)(b,{scope:t,triggerRef:c,contentRef:s,contentId:(0,l.M)(),titleId:(0,l.M)(),descriptionId:(0,l.M)(),open:f,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:d,children:n})};j.displayName=x;var C="DialogTrigger",N=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=M(C,n),l=(0,a.e)(t,i.triggerRef);return(0,g.jsx)(p.WV.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":U(i.open),...r,ref:l,onClick:(0,o.M)(e.onClick,i.onOpenToggle)})});N.displayName=C;var R="DialogPortal",[P,A]=k(R,{forceMount:void 0}),O=e=>{let{__scopeDialog:t,forceMount:n,children:o,container:a}=e,i=M(R,t);return(0,g.jsx)(P,{scope:t,forceMount:n,children:r.Children.map(o,e=>(0,g.jsx)(f.z,{present:n||i.open,children:(0,g.jsx)(s.h,{asChild:!0,container:a,children:e})}))})};O.displayName=R;var Z="DialogOverlay",D=r.forwardRef((e,t)=>{let n=A(Z,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=M(Z,e.__scopeDialog);return a.modal?(0,g.jsx)(f.z,{present:r||a.open,children:(0,g.jsx)(E,{...o,ref:t})}):null});D.displayName=Z;var E=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=M(Z,n);return(0,g.jsx)(v.Z,{as:m.g7,allowPinchZoom:!0,shards:[o.contentRef],children:(0,g.jsx)(p.WV.div,{"data-state":U(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),_="DialogContent",I=r.forwardRef((e,t)=>{let n=A(_,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,a=M(_,e.__scopeDialog);return(0,g.jsx)(f.z,{present:r||a.open,children:a.modal?(0,g.jsx)(F,{...o,ref:t}):(0,g.jsx)(z,{...o,ref:t})})});I.displayName=_;var F=r.forwardRef((e,t)=>{let n=M(_,e.__scopeDialog),i=r.useRef(null),l=(0,a.e)(t,n.contentRef,i);return r.useEffect(()=>{let e=i.current;if(e)return(0,y.Ry)(e)},[]),(0,g.jsx)(S,{...e,ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.M)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,o.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,o.M)(e.onFocusOutside,e=>e.preventDefault())})}),z=r.forwardRef((e,t)=>{let n=M(_,e.__scopeDialog),o=r.useRef(!1),a=r.useRef(!1);return(0,g.jsx)(S,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,i;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current||null===(i=n.triggerRef.current)||void 0===i||i.focus(),t.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:t=>{var r,i;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"!==t.detail.originalEvent.type||(a.current=!0));let l=t.target;(null===(i=n.triggerRef.current)||void 0===i?void 0:i.contains(l))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),S=r.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:l,...u}=e,s=M(_,n),f=r.useRef(null),p=(0,a.e)(t,f);return(0,h.EW)(),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(c.M,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:l,children:(0,g.jsx)(d.XB,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":U(s.open),...u,ref:p,onDismiss:()=>s.onOpenChange(!1)})}),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(X,{titleId:s.titleId}),(0,g.jsx)(G,{contentRef:f,descriptionId:s.descriptionId})]})]})}),V="DialogTitle",W=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=M(V,n);return(0,g.jsx)(p.WV.h2,{id:o.titleId,...r,ref:t})});W.displayName=V;var T="DialogDescription",H=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=M(T,n);return(0,g.jsx)(p.WV.p,{id:o.descriptionId,...r,ref:t})});H.displayName=T;var L="DialogClose",q=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,a=M(L,n);return(0,g.jsx)(p.WV.button,{type:"button",...r,ref:t,onClick:(0,o.M)(e.onClick,()=>a.onOpenChange(!1))})});function U(e){return e?"open":"closed"}q.displayName=L;var B="DialogTitleWarning",[$,Y]=(0,i.k)(B,{contentName:_,titleName:V,docsSlug:"dialog"}),X=e=>{let{titleId:t}=e,n=Y(B),o="`".concat(n.contentName,"` requires a `").concat(n.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(n.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(n.docsSlug);return r.useEffect(()=>{t&&!document.getElementById(t)&&console.error(o)},[o,t]),null},G=e=>{let{contentRef:t,descriptionId:n}=e,o=Y("DialogDescriptionWarning"),a="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(o.contentName,"}.");return r.useEffect(()=>{var e;let r=null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby");n&&r&&!document.getElementById(n)&&console.warn(a)},[a,t,n]),null},K=j,J=N,Q=O,ee=D,et=I,en=W,er=H,eo=q},85659:function(e,t,n){n.d(t,{VY:function(){return B},ee:function(){return L},fC:function(){return H},h_:function(){return U},xz:function(){return q}});var r=n(2265),o=n(84681),a=n(81436),i=n(21057),l=n(49840),u=n(98948),d=n(38582),c=n(55378),s=n(26563),f=n(56674),p=n(4953),h=n(87214),v=n(59763),y=n(1215),m=n(5478),g=n(60703),x=n(57437),k="Popover",[w,b]=(0,i.b)(k,[s.D7]),M=(0,s.D7)(),[j,C]=w(k),N=e=>{let{__scopePopover:t,children:n,open:o,defaultOpen:a,onOpenChange:i,modal:l=!1}=e,u=M(t),d=r.useRef(null),[f,p]=r.useState(!1),[h=!1,v]=(0,y.T)({prop:o,defaultProp:a,onChange:i});return(0,x.jsx)(s.fC,{...u,children:(0,x.jsx)(j,{scope:t,contentId:(0,c.M)(),triggerRef:d,open:h,onOpenChange:v,onOpenToggle:r.useCallback(()=>v(e=>!e),[v]),hasCustomAnchor:f,onCustomAnchorAdd:r.useCallback(()=>p(!0),[]),onCustomAnchorRemove:r.useCallback(()=>p(!1),[]),modal:l,children:n})})};N.displayName=k;var R="PopoverAnchor",P=r.forwardRef((e,t)=>{let{__scopePopover:n,...o}=e,a=C(R,n),i=M(n),{onCustomAnchorAdd:l,onCustomAnchorRemove:u}=a;return r.useEffect(()=>(l(),()=>u()),[l,u]),(0,x.jsx)(s.ee,{...i,...o,ref:t})});P.displayName=R;var A="PopoverTrigger",O=r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,i=C(A,n),l=M(n),u=(0,a.e)(t,i.triggerRef),d=(0,x.jsx)(h.WV.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":T(i.open),...r,ref:u,onClick:(0,o.M)(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?d:(0,x.jsx)(s.ee,{asChild:!0,...l,children:d})});O.displayName=A;var Z="PopoverPortal",[D,E]=w(Z,{forceMount:void 0}),_=e=>{let{__scopePopover:t,forceMount:n,children:r,container:o}=e,a=C(Z,t);return(0,x.jsx)(D,{scope:t,forceMount:n,children:(0,x.jsx)(p.z,{present:n||a.open,children:(0,x.jsx)(f.h,{asChild:!0,container:o,children:r})})})};_.displayName=Z;var I="PopoverContent",F=r.forwardRef((e,t)=>{let n=E(I,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,a=C(I,e.__scopePopover);return(0,x.jsx)(p.z,{present:r||a.open,children:a.modal?(0,x.jsx)(z,{...o,ref:t}):(0,x.jsx)(S,{...o,ref:t})})});F.displayName=I;var z=r.forwardRef((e,t)=>{let n=C(I,e.__scopePopover),i=r.useRef(null),l=(0,a.e)(t,i),u=r.useRef(!1);return r.useEffect(()=>{let e=i.current;if(e)return(0,m.Ry)(e)},[]),(0,x.jsx)(g.Z,{as:v.g7,allowPinchZoom:!0,children:(0,x.jsx)(V,{...e,ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.M)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),u.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,o.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;u.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,o.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),S=r.forwardRef((e,t)=>{let n=C(I,e.__scopePopover),o=r.useRef(!1),a=r.useRef(!1);return(0,x.jsx)(V,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,i;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current||null===(i=n.triggerRef.current)||void 0===i||i.focus(),t.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:t=>{var r,i;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"!==t.detail.originalEvent.type||(a.current=!0));let l=t.target;(null===(i=n.triggerRef.current)||void 0===i?void 0:i.contains(l))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),V=r.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:p,onInteractOutside:h,...v}=e,y=C(I,n),m=M(n);return(0,u.EW)(),(0,x.jsx)(d.M,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a,children:(0,x.jsx)(l.XB,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:h,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:p,onDismiss:()=>y.onOpenChange(!1),children:(0,x.jsx)(s.VY,{"data-state":T(y.open),role:"dialog",id:y.contentId,...m,...v,ref:t,style:{...v.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),W="PopoverClose";function T(e){return e?"open":"closed"}r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,a=C(W,n);return(0,x.jsx)(h.WV.button,{type:"button",...r,ref:t,onClick:(0,o.M)(e.onClick,()=>a.onOpenChange(!1))})}).displayName=W,r.forwardRef((e,t)=>{let{__scopePopover:n,...r}=e,o=M(n);return(0,x.jsx)(s.Eh,{...o,...r,ref:t})}).displayName="PopoverArrow";var H=N,L=P,q=O,U=_,B=F},26563:function(e,t,n){n.d(t,{ee:function(){return E},Eh:function(){return I},VY:function(){return _},fC:function(){return D},D7:function(){return y}});var r=n(2265),o=n(2327),a=n(74340),i=n(87214),l=n(57437),u=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...a}=e;return(0,l.jsx)(i.WV.svg,{...a,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,l.jsx)("polygon",{points:"0,0 30,0 15,10"})})});u.displayName="Arrow";var d=n(81436),c=n(21057),s=n(58200),f=n(29928),p=n(53420),h="Popper",[v,y]=(0,c.b)(h),[m,g]=v(h),x=e=>{let{__scopePopper:t,children:n}=e,[o,a]=r.useState(null);return(0,l.jsx)(m,{scope:t,anchor:o,onAnchorChange:a,children:n})};x.displayName=h;var k="PopperAnchor",w=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:o,...a}=e,u=g(k,n),c=r.useRef(null),s=(0,d.e)(t,c);return r.useEffect(()=>{u.onAnchorChange((null==o?void 0:o.current)||c.current)}),o?null:(0,l.jsx)(i.WV.div,{...a,ref:s})});w.displayName=k;var b="PopperContent",[M,j]=v(b),C=r.forwardRef((e,t)=>{var n,u,c,h,v,y,m,x;let{__scopePopper:k,side:w="bottom",sideOffset:j=0,align:C="center",alignOffset:N=0,arrowPadding:R=0,avoidCollisions:P=!0,collisionBoundary:D=[],collisionPadding:E=0,sticky:_="partial",hideWhenDetached:I=!1,updatePositionStrategy:F="optimized",onPlaced:z,...S}=e,V=g(b,k),[W,T]=r.useState(null),H=(0,d.e)(t,e=>T(e)),[L,q]=r.useState(null),U=(0,p.t)(L),B=null!==(m=null==U?void 0:U.width)&&void 0!==m?m:0,$=null!==(x=null==U?void 0:U.height)&&void 0!==x?x:0,Y="number"==typeof E?E:{top:0,right:0,bottom:0,left:0,...E},X=Array.isArray(D)?D:[D],G=X.length>0,K={padding:Y,boundary:X.filter(A),altBoundary:G},{refs:J,floatingStyles:Q,placement:ee,isPositioned:et,middlewareData:en}=(0,o.YF)({strategy:"fixed",placement:w+("center"!==C?"-"+C:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:a,height:i}=n.reference,l=t.floating.style;l.setProperty("--radix-popper-available-width","".concat(r,"px")),l.setProperty("--radix-popper-available-height","".concat(o,"px")),l.setProperty("--radix-popper-anchor-width","".concat(a,"px")),l.setProperty("--radix-popper-anchor-height","".concat(i,"px"))}}),L&&(0,o.x7)({element:L,padding:R}),O({arrowWidth:B,arrowHeight:$}),I&&(0,o.Cp)({strategy:"referenceHidden",...K})]}),[er,eo]=Z(ee),ea=(0,s.W)(z);(0,f.b)(()=>{et&&(null==ea||ea())},[et,ea]);let ei=null===(n=en.arrow)||void 0===n?void 0:n.x,el=null===(u=en.arrow)||void 0===u?void 0:u.y,eu=(null===(c=en.arrow)||void 0===c?void 0:c.centerOffset)!==0,[ed,ec]=r.useState();return(0,f.b)(()=>{W&&ec(window.getComputedStyle(W).zIndex)},[W]),(0,l.jsx)("div",{ref:J.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:et?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ed,"--radix-popper-transform-origin":[null===(h=en.transformOrigin)||void 0===h?void 0:h.x,null===(v=en.transformOrigin)||void 0===v?void 0:v.y].join(" "),...(null===(y=en.hide)||void 0===y?void 0:y.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,l.jsx)(M,{scope:k,placedSide:er,onArrowChange:q,arrowX:ei,arrowY:el,shouldHideArrow:eu,children:(0,l.jsx)(i.WV.div,{"data-side":er,"data-align":eo,...S,ref:H,style:{...S.style,animation:et?void 0:"none"}})})})});C.displayName=b;var N="PopperArrow",R={top:"bottom",right:"left",bottom:"top",left:"right"},P=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=j(N,n),a=R[o.placedSide];return(0,l.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,l.jsx)(u,{...r,ref:t,style:{...r.style,display:"block"}})})});function A(e){return null!==e}P.displayName=N;var O=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,a,i;let{placement:l,rects:u,middlewareData:d}=t,c=(null===(n=d.arrow)||void 0===n?void 0:n.centerOffset)!==0,s=c?0:e.arrowWidth,f=c?0:e.arrowHeight,[p,h]=Z(l),v={start:"0%",center:"50%",end:"100%"}[h],y=(null!==(a=null===(r=d.arrow)||void 0===r?void 0:r.x)&&void 0!==a?a:0)+s/2,m=(null!==(i=null===(o=d.arrow)||void 0===o?void 0:o.y)&&void 0!==i?i:0)+f/2,g="",x="";return"bottom"===p?(g=c?v:"".concat(y,"px"),x="".concat(-f,"px")):"top"===p?(g=c?v:"".concat(y,"px"),x="".concat(u.floating.height+f,"px")):"right"===p?(g="".concat(-f,"px"),x=c?v:"".concat(m,"px")):"left"===p&&(g="".concat(u.floating.width+f,"px"),x=c?v:"".concat(m,"px")),{data:{x:g,y:x}}}});function Z(e){let[t,n="center"]=e.split("-");return[t,n]}var D=x,E=w,_=C,I=P},4953:function(e,t,n){n.d(t,{z:function(){return l}});var r=n(2265),o=n(54887),a=n(81436),i=n(29928),l=e=>{var t,n;let l,d;let{present:c,children:s}=e,f=function(e){var t,n;let[a,l]=r.useState(),d=r.useRef({}),c=r.useRef(e),s=r.useRef("none"),[f,p]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=u(d.current);s.current="mounted"===f?e:"none"},[f]),(0,i.b)(()=>{let t=d.current,n=c.current;if(n!==e){let r=s.current,o=u(t);e?p("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?p("UNMOUNT"):n&&r!==o?p("ANIMATION_OUT"):p("UNMOUNT"),c.current=e}},[e,p]),(0,i.b)(()=>{if(a){let e=e=>{let t=u(d.current).includes(e.animationName);e.target===a&&t&&o.flushSync(()=>p("ANIMATION_END"))},t=e=>{e.target===a&&(s.current=u(d.current))};return a.addEventListener("animationstart",t),a.addEventListener("animationcancel",e),a.addEventListener("animationend",e),()=>{a.removeEventListener("animationstart",t),a.removeEventListener("animationcancel",e),a.removeEventListener("animationend",e)}}p("ANIMATION_END")},[a,p]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:r.useCallback(e=>{e&&(d.current=getComputedStyle(e)),l(e)},[])}}(c),p="function"==typeof s?s({present:f.isPresent}):r.Children.only(s),h=(0,a.e)(f.ref,(l=null===(t=Object.getOwnPropertyDescriptor(p.props,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in l&&l.isReactWarning?p.ref:(l=null===(n=Object.getOwnPropertyDescriptor(p,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in l&&l.isReactWarning?p.props.ref:p.props.ref||p.ref);return"function"==typeof s||f.isPresent?r.cloneElement(p,{ref:h}):null};function u(e){return(null==e?void 0:e.animationName)||"none"}l.displayName="Presence"},87214:function(e,t,n){n.d(t,{WV:function(){return l},jH:function(){return u}});var r=n(2265),o=n(54887),a=n(59763),i=n(57437),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=r.forwardRef((e,n)=>{let{asChild:r,...o}=e,l=r?a.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(l,{...o,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function u(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},59763:function(e,t,n){n.d(t,{A4:function(){return u},g7:function(){return i}});var r=n(2265),o=n(81436),a=n(57437),i=r.forwardRef((e,t)=>{let{children:n,...o}=e,i=r.Children.toArray(n),u=i.find(d);if(u){let e=u.props.children,n=i.map(t=>t!==u?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,a.jsx)(l,{...o,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,a.jsx)(l,{...o,ref:t,children:n})});i.displayName="Slot";var l=r.forwardRef((e,t)=>{let{children:n,...a}=e;if(r.isValidElement(n)){let e,i;let l=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref;return r.cloneElement(n,{...function(e,t){let n={...t};for(let r in t){let o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...e)=>{a(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...a}:"className"===r&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}(a,n.props),ref:t?(0,o.F)(t,l):l})}return r.Children.count(n)>1?r.Children.only(null):null});l.displayName="SlotClone";var u=({children:e})=>(0,a.jsx)(a.Fragment,{children:e});function d(e){return r.isValidElement(e)&&e.type===u}},69804:function(e,t,n){n.d(t,{j:function(){return i}});var r=n(40334);let o=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,a=r.W,i=(e,t)=>n=>{var r;if((null==t?void 0:t.variants)==null)return a(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:i,defaultVariants:l}=t,u=Object.keys(i).map(e=>{let t=null==n?void 0:n[e],r=null==l?void 0:l[e];if(null===t)return null;let a=o(t)||o(r);return i[e][a]}),d=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return a(e,u,null==t?void 0:null===(r=t.compoundVariants)||void 0===r?void 0:r.reduce((e,t)=>{let{class:n,className:r,...o}=t;return Object.entries(o).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...l,...d}[t]):({...l,...d})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}},79205:function(e,t,n){n.d(t,{Z:function(){return u}});var r=n(2265);let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),a=function(){for(var e=arguments.length,t=Array(e),n=0;n!!e&&n.indexOf(e)===t).join(" ")};var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:o=24,strokeWidth:l=2,absoluteStrokeWidth:u,className:d="",children:c,iconNode:s,...f}=e;return(0,r.createElement)("svg",{ref:t,...i,width:o,height:o,stroke:n,strokeWidth:u?24*Number(l)/Number(o):l,className:a("lucide",d),...f},[...s.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(c)?c:[c]])}),u=(e,t)=>{let n=(0,r.forwardRef)((n,i)=>{let{className:u,...d}=n;return(0,r.createElement)(l,{ref:i,iconNode:t,className:a("lucide-".concat(o(e)),u),...d})});return n.displayName="".concat(e),n}},71769:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])},55455:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Book",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]])},37337:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("BotMessageSquare",[["path",{d:"M12 6V2H8",key:"1155em"}],["path",{d:"m8 18-4 4V8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2Z",key:"w2lp3e"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M9 11v2",key:"1ueba0"}],["path",{d:"M15 11v2",key:"i11awn"}],["path",{d:"M20 12h2",key:"1q8mjw"}]])},98420:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]])},60044:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]])},40875:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},49232:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Coins",[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]])},48736:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},38220:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("FlaskConical",[["path",{d:"M10 2v7.527a2 2 0 0 1-.211.896L4.72 20.55a1 1 0 0 0 .9 1.45h12.76a1 1 0 0 0 .9-1.45l-5.069-10.127A2 2 0 0 1 14 9.527V2",key:"pzvekw"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M7 16h10",key:"wp8him"}]])},28768:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("GitPullRequest",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["line",{x1:"6",x2:"6",y1:"9",y2:"21",key:"rroup"}]])},65621:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("History",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]])},14938:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]])},32062:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Landmark",[["line",{x1:"3",x2:"21",y1:"22",y2:"22",key:"j8o0r"}],["line",{x1:"6",x2:"6",y1:"18",y2:"11",key:"10tf0k"}],["line",{x1:"10",x2:"10",y1:"18",y2:"11",key:"54lgf6"}],["line",{x1:"14",x2:"14",y1:"18",y2:"11",key:"380y"}],["line",{x1:"18",x2:"18",y1:"18",y2:"11",key:"1kevvc"}],["polygon",{points:"12 2 20 7 4 7",key:"jkujk7"}]])},76679:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("LayoutTemplate",[["rect",{width:"18",height:"7",x:"3",y:"3",rx:"1",key:"f1a2em"}],["rect",{width:"9",height:"7",x:"3",y:"14",rx:"1",key:"jqznyg"}],["rect",{width:"5",height:"7",x:"16",y:"14",rx:"1",key:"q5h2i8"}]])},66337:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},58293:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]])},82718:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]])},52636:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("RefreshCcw",[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]])},56096:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("School",[["path",{d:"M14 22v-4a2 2 0 1 0-4 0v4",key:"hhkicm"}],["path",{d:"m18 10 4 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-8l4-2",key:"1vwozw"}],["path",{d:"M18 5v17",key:"1sw6gf"}],["path",{d:"m4 6 8-4 8 4",key:"1q0ilc"}],["path",{d:"M6 5v17",key:"1xfsm0"}],["circle",{cx:"12",cy:"9",r:"2",key:"1092wv"}]])},98728:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},82023:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])},37806:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("UserPlus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]])},95805:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},33145:function(e,t,n){n.d(t,{default:function(){return o.a}});var r=n(48461),o=n.n(r)},99376:function(e,t,n){var r=n(35475);n.o(r,"useParams")&&n.d(t,{useParams:function(){return r.useParams}}),n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},48461:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return u},getImageProps:function(){return l}});let r=n(43230),o=n(55346),a=n(65878),i=r._(n(5084));function l(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:i.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let u=a.Image}}]);