!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ba8feb21-09e2-44a7-95a1-e011633a8f04",e._sentryDebugIdIdentifier="sentry-dbid-ba8feb21-09e2-44a7-95a1-e011633a8f04")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4080],{59245:function(e,n,t){t.d(n,{CH:function(){return s},tj:function(){return a}}),t(59298),t(21295),t(7025);var i=t(82251),r=t(51632);t(27324),t(71372),t(67655),t(88619),t(96913),t(85920),(0,r.JM)({packageName:"@clerk/nextjs"}),(0,r.Aw)("@clerk/nextjs");let s=i.CH,a=i.tj;i.Cv},80074:function(e,n,t){t.d(n,{U0:function(){return o},zf:function(){return a}});var i=t(6309),r=t(21295),s=(0,r.createContext)({client:i.ZP});function a(e){var n=e.children,t=e.client,a=e.apiKey,o=e.options,l=(0,r.useMemo)(function(){return(t&&a&&console.warn("[PostHog.js] You have provided both a client and an apiKey to PostHogProvider. The apiKey will be ignored in favour of the client."),t&&o&&console.warn("[PostHog.js] You have provided both a client and options to PostHogProvider. The options will be ignored in favour of the client."),t)?t:(a&&(i.ZP.__loaded&&console.warn("[PostHog.js] was already loaded elsewhere. This may cause issues."),i.ZP.init(a,o)),i.ZP)},[t,a]);return r.createElement(s.Provider,{value:{client:l}},n)}var o=function(){return(0,r.useContext)(s).client}},96405:function(e,n,t){t.d(n,{r:function(){return v},F:function(){return f}});var i=t(21852),r=t(31258),s=t(8920),a=t(19198),o=t(87386),l=t(19053),d=t(99532),u=t(727),c=t(21295);let f=(0,c.createContext)(null),v=(0,c.forwardRef)(function(e,n){[e,n]=(0,i.pE)(e,n,f);let t=e.href&&!e.isDisabled?"a":"span",{linkProps:v,isPressed:p}=function(e,n){let{elementType:t="a",onPress:i,onPressStart:d,onPressEnd:u,onClick:c,isDisabled:f,...v}=e,p={};"a"!==t&&(p={role:"link",tabIndex:f?void 0:0});let{focusableProps:h}=(0,o.k)(e,n),{pressProps:g,isPressed:E}=(0,l.r)({onPress:i,onPressStart:d,onPressEnd:u,isDisabled:f,ref:n}),m=(0,r.z)(v,{labelable:!0}),b=(0,s.d)(h,g),P=(0,a.tv)(),w=(0,a.eY)(e);return{isPressed:E,linkProps:(0,s.d)(m,w,{...b,...p,"aria-disabled":f||void 0,"aria-current":e["aria-current"],onClick:n=>{var t;null===(t=g.onClick)||void 0===t||t.call(g,n),c&&(c(n),console.warn("onClick is deprecated, please use onPress")),!P.isNative&&n.currentTarget instanceof HTMLAnchorElement&&n.currentTarget.href&&!n.isDefaultPrevented()&&(0,a.b0)(n.currentTarget,n)&&e.href&&(n.preventDefault(),P.open(n.currentTarget,n,e.href,e.routerOptions))}})}}({...e,elementType:t},n),{hoverProps:h,isHovered:g}=(0,d.X)(e),{focusProps:E,isFocused:m,isFocusVisible:b}=(0,u.F)(),P=(0,i.aX)({...e,defaultClassName:"react-aria-Link",values:{isCurrent:!!e["aria-current"],isDisabled:e.isDisabled||!1,isPressed:p,isHovered:g,isFocused:m,isFocusVisible:b}});return c.createElement(t,{ref:n,slot:e.slot||void 0,...(0,s.d)(P,v,h,E),"data-focused":m||void 0,"data-hovered":g||void 0,"data-pressed":p||void 0,"data-focus-visible":b||void 0,"data-current":!!e["aria-current"]||void 0,"data-disabled":e.isDisabled||void 0},P.children)})},29293:function(e,n,t){t.d(n,{u_:function(){return w},ZA:function(){return C}});var i=t(21852),r=t(20501),s=t(92077),a=t(88387),o=t(39512),l=t(59107),d=t(15342),u=t(8920),c=t(21295),f=t(85562),v=t(77465);let p="undefined"!=typeof document&&window.visualViewport;function h(){return{width:p&&(null==p?void 0:p.width)||window.innerWidth,height:p&&(null==p?void 0:p.height)||window.innerHeight}}var g=t(31258),E=t(64824),m=t(94478);let b=(0,c.createContext)(null),P=(0,c.createContext)(null),w=(0,c.forwardRef)(function(e,n){if((0,c.useContext)(P))return c.createElement(y,{...e,modalRef:n},e.children);let{isDismissable:t,isKeyboardDismissDisabled:i,isOpen:r,defaultOpen:s,onOpenChange:a,children:o,isEntering:l,isExiting:d,UNSTABLE_portalContainer:u,shouldCloseOnInteractOutside:f,...v}=e;return c.createElement(C,{isDismissable:t,isKeyboardDismissDisabled:i,isOpen:r,defaultOpen:s,onOpenChange:a,isEntering:l,isExiting:d,UNSTABLE_portalContainer:u,shouldCloseOnInteractOutside:f},c.createElement(y,{...v,modalRef:n},o))}),C=(0,c.forwardRef)(function(e,n){[e,n]=(0,i.pE)(e,n,b);let t=(0,c.useContext)(r.$H),a=(0,m.d)(e),o=null==e.isOpen&&null==e.defaultOpen&&t?t:a,l=(0,v.B)(n),d=(0,c.useRef)(null),u=(0,i.xB)(l,o.isOpen),f=(0,i.xB)(d,o.isOpen),p=u||f||e.isExiting||!1,h=(0,s.Av)();return(o.isOpen||p)&&!h?c.createElement(x,{...e,state:o,isExiting:p,overlayRef:l,modalRef:d}):null});function x({UNSTABLE_portalContainer:e,...n}){let t=n.modalRef,{state:f}=n,{modalProps:v,underlayProps:E}=function(e,n,t){let{overlayProps:i,underlayProps:r}=(0,o.I)({...e,isOpen:n.isOpen,onClose:n.close},t);return(0,d.t)({isDisabled:!n.isOpen}),(0,l.Bq)(),(0,c.useEffect)(()=>{if(n.isOpen&&t.current)return(0,a.R)([t.current])},[n.isOpen,t]),{modalProps:(0,u.d)(i),underlayProps:r}}(n,f,t),m=(0,i.iW)(n.overlayRef)||n.isEntering||!1,b=(0,i.aX)({...n,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:m,isExiting:n.isExiting,state:f}}),w=function(){let e=(0,s.Av)(),[n,t]=(0,c.useState)(()=>e?{width:0,height:0}:h());return(0,c.useEffect)(()=>{let e=()=>{t(e=>{let n=h();return n.width===e.width&&n.height===e.height?e:n})};return p?p.addEventListener("resize",e):window.addEventListener("resize",e),()=>{p?p.removeEventListener("resize",e):window.removeEventListener("resize",e)}},[]),n}(),C={...b.style,"--visual-viewport-height":w.height+"px"};return c.createElement(l.aV,{isExiting:n.isExiting,portalContainer:e},c.createElement("div",{...(0,u.d)((0,g.z)(n),E),...b,style:C,ref:n.overlayRef,"data-entering":m||void 0,"data-exiting":n.isExiting||void 0},c.createElement(i.zt,{values:[[P,{modalProps:v,modalRef:t,isExiting:n.isExiting,isDismissable:n.isDismissable}],[r.$H,f]]},b.children)))}function y(e){let{modalProps:n,modalRef:t,isExiting:s,isDismissable:a}=(0,c.useContext)(P),o=(0,c.useContext)(r.$H),l=(0,c.useMemo)(()=>(0,E.l)(e.modalRef,t),[e.modalRef,t]),d=(0,v.B)(l),p=(0,i.iW)(d),h=(0,i.aX)({...e,defaultClassName:"react-aria-Modal",values:{isEntering:p,isExiting:s,state:o}});return c.createElement("div",{...(0,u.d)((0,g.z)(e),n),...h,ref:d,"data-entering":p||void 0,"data-exiting":s||void 0},a&&c.createElement(f.U,{onDismiss:o.close}),h.children)}}}]);