1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="44e9ab4e-0f63-4393-8540-ca9c9d7bf9ae",e._sentryDebugIdIdentifier="sentry-dbid-44e9ab4e-0f63-4393-8540-ca9c9d7bf9ae")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6844],{581:(e,t,r)=>{r.d(t,{r:()=>a});var n=r(94445),a=()=>({pagesRouter:(0,n.useRouter)()})},1589:(e,t,r)=>{r.d(t,{I:()=>i});var n=r(40216),a=r(90007),i=!r(9825).M&&(0,n.b_)()&&!a.ev},9825:(e,t,r)=>{r.d(t,{M:()=>a});var n=r(99321),a=n.rE.startsWith("13.")||n.rE.startsWith("14.0")},12247:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{callServer:function(){return n.callServer},createServerReference:function(){return i},findSourceMapURL:function(){return a.findSourceMapURL}});let n=r(69612),a=r(20816),i=r(496).createServerReference},23792:(e,t,r)=>{r.d(t,{default:()=>a.a});var n=r(45165),a=r.n(n)},41056:(e,t,r)=>{r.d(t,{K:()=>c});var n=r(40170),a=r(19168),i=r(85670),o=r(23792),l=r(7620),s=r(85328);function c(e){var{publishableKey:t,clerkJSUrl:r,clerkJSVersion:c,clerkJSVariant:u,nonce:d}=(0,s.c)(),{domain:f,proxyUrl:_}=(0,a.ho)();if(!t)return null;var v={domain:f,proxyUrl:_,publishableKey:t,clerkJSUrl:r,clerkJSVersion:c,clerkJSVariant:u,nonce:d},p=(0,i.nO)(v),h="app"===e.router?"script":o.default;return l.createElement(h,(0,n._)({src:p,"data-clerk-js-script":!0,async:!0,defer:"pages"!==e.router&&void 0,crossOrigin:"anonymous",strategy:"pages"===e.router?"beforeInteractive":void 0},(0,i.T5)(v)))}},45165:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(40170),a=r(17194),i=r(61880);Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return m},handleClientScriptLoad:function(){return g},initScriptLoader:function(){return y}});var o=r(84931),l=r(96632),s=r(54568),c=o._(r(97509)),u=l._(r(7620)),d=r(89892),f=r(78716),_=r(55848),v=new Map,p=new Set,h=e=>{if(c.default.preinit)return void e.forEach(e=>{c.default.preinit(e,{as:"style"})});var t=document.head;e.forEach(e=>{var r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})},E=e=>{var{src:t,id:r,onLoad:n=()=>{},onReady:a=null,dangerouslySetInnerHTML:i,children:o="",strategy:l="afterInteractive",onError:s,stylesheets:c}=e,u=r||t;if(!(u&&p.has(u))){if(v.has(t)){p.add(u),v.get(t).then(n,s);return}var d=()=>{a&&a(),p.add(u)},_=document.createElement("script"),E=new Promise((e,t)=>{_.addEventListener("load",function(t){e(),n&&n.call(this,t),d()}),_.addEventListener("error",function(e){t(e)})}).catch(function(e){s&&s(e)});i?(_.innerHTML=i.__html||"",d()):o?(_.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):"",d()):t&&(_.src=t,v.set(t,E)),(0,f.setAttributesFromProps)(_,e),"worker"===l&&_.setAttribute("type","text/partytown"),_.setAttribute("data-nscript",l),c&&h(c),document.body.appendChild(_)}};function g(e){var{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,_.requestIdleCallback)(()=>E(e))}):E(e)}function y(e){e.forEach(g),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{var t=e.id||e.getAttribute("src");p.add(t)})}function b(e){var{id:t,src:r="",onLoad:o=()=>{},onReady:l=null,strategy:f="afterInteractive",onError:v,stylesheets:h}=e,g=i._(e,["id","src","onLoad","onReady","strategy","onError","stylesheets"]),{updateScripts:y,scripts:b,getIsSsr:m,appDir:I,nonce:w}=(0,u.useContext)(d.HeadManagerContext),C=(0,u.useRef)(!1);(0,u.useEffect)(()=>{var e=t||r;C.current||(l&&e&&p.has(e)&&l(),C.current=!0)},[l,t,r]);var L=(0,u.useRef)(!1);if((0,u.useEffect)(()=>{if(!L.current){if("afterInteractive"===f)E(e);else"lazyOnload"===f&&("complete"===document.readyState?(0,_.requestIdleCallback)(()=>E(e)):window.addEventListener("load",()=>{(0,_.requestIdleCallback)(()=>E(e))}));L.current=!0}},[e,f]),("beforeInteractive"===f||"worker"===f)&&(y?(b[f]=(b[f]||[]).concat([n._({id:t,src:r,onLoad:o,onReady:l,onError:v},g)]),y(b)):m&&m()?p.add(t||r):m&&!m()&&E(e)),I){if(h&&h.forEach(e
1=>{c.default.preinit(e,{as:"style"})}),"beforeInteractive"===f)if(!r)return g.dangerouslySetInnerHTML&&(g.children=g.dangerouslySetInnerHTML.__html,delete g.dangerouslySetInnerHTML),(0,s.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,a._(n._({},g),{id:t})])+")"}});else return c.default.preload(r,g.integrity?{as:"script",integrity:g.integrity,nonce:w,crossOrigin:g.crossOrigin}:{as:"script",nonce:w,crossOrigin:g.crossOrigin}),(0,s.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([r,a._(n._({},g),{id:t})])+")"}});"afterInteractive"===f&&r&&c.default.preload(r,g.integrity?{as:"script",integrity:g.integrity,nonce:w,crossOrigin:g.crossOrigin}:{as:"script",nonce:w,crossOrigin:g.crossOrigin})}return null}Object.defineProperty(b,"__nextScript",{value:!0});var m=b;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},55848:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{cancelIdleCallback:function(){return n},requestIdleCallback:function(){return r}});var r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){var t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},65588:(e,t,r)=>{r.r(t),r.d(t,{ClientClerkProvider:()=>T});var n=r(40170),a=r(17194),i=r(61880),o=r(19168),l=r(70423),s=new Set,c={warnOnce:e=>{s.has(e)||(s.add(e),console.warn(e))},logOnce:e=>{s.has(e)||(console.log(e),s.add(e))}};r(90667);var u=r(96442),d=r(27541),f=r(99321),_=r(7620),v=r(94994),p=r(85328),h=r(41056),E=r(1589),g=r(75024),y=r(66868),b=r(9825),m=r(11324),I=r(70521),w=e=>{var t;return null!=window.__clerk_internal_navigations||(window.__clerk_internal_navigations={}),null!=(t=window.__clerk_internal_navigations)[e]||(t[e]={}),window.__clerk_internal_navigations[e]},C=e=>{var{windowNav:t,routerNav:r,name:n}=e,a=(0,d.usePathname)(),[i,o]=(0,_.useTransition)();t&&(w(n).fun=(e,a)=>new Promise(i=>{var l,s;null!=(l=w(n)).promisesBuffer||(l.promisesBuffer=[]),null==(s=w(n).promisesBuffer)||s.push(i),o(()=>{var n,i,o;(null==(n=null==a?void 0:a.__internal_metadata)?void 0:n.navigationType)==="internal"?t((null!=(o=null==(i=window.next)?void 0:i.version)?o:"")<"14.1.0"?history.state:null,"",e):r((0,I.l)(e))})}));var l=()=>{var e;null==(e=w(n).promisesBuffer)||e.forEach(e=>e()),w(n).promisesBuffer=[]};return(0,_.useEffect)(()=>(l(),l),[]),(0,_.useEffect)(()=>{i||l()},[a,i]),(0,_.useCallback)((e,t)=>w(n).fun(e,t),[])},L=()=>{var e=(0,d.useRouter)();return C({windowNav:"undefined"!=typeof window?window.history.pushState.bind(window.history):void 0,routerNav:e.push.bind(e),name:"push"})},R=()=>{var e=(0,d.useRouter)();return C({windowNav:"undefined"!=typeof window?window.history.replaceState.bind(window.history):void 0,routerNav:e.replace.bind(e),name:"replace"})},U=(0,u.default)(()=>r.e(9844).then(r.bind(r,49844)).then(e=>e.KeylessCreatorOrReader),{loadableGenerated:{webpack:()=>[49844]}}),S=e=>{if(b.M){var t="Clerk:\nYour current Next.js version (".concat(f.rE,') will be deprecated
1in the next major release of "@clerk/nextjs". Please upgrade to [email protected] or later.');(0,l.M)()?c.warnOnce(t):c.logOnce("\n\x1b[43m----------\n".concat(t,"\n----------\x1b[0m\n"))}var{__unstable_invokeMiddlewareOnAuthStateChange:r=!0,children:i}=e,s=(0,d.useRouter)(),u=L(),E=R(),[I,w]=(0,_.useTransition)();if((0,p.c)())return e.children;(0,_.useEffect)(()=>{var e;I||null==(e=window.__clerk_internal_invalidateCachePromise)||e.call(window)},[I]),(0,v.U)(()=>{window.__unstable__onBeforeSetActive=e=>new Promise(t=>{window.__clerk_internal_invalidateCachePromise=t;var r,n=(null==(r=null==window?void 0:window.next)?void 0:r.version)||"";n.startsWith("13")?w(()=>{s.refresh()}):n.startsWith("15")&&"sign-out"===e?t():(0,m.y)().then(()=>t())}),window.__unstable__onAfterSetActive=()=>{if(r)return s.refresh()}},[]);var C=(0,g.O)((0,a._)((0,n._)({},e),{routerPush:u,routerReplace:E}));return _.createElement(p._,{options:C},_.createElement(o.lJ,(0,n._)({},C),_.createElement(y.X,null),_.createElement(h.K,{router:"app"}),i))},T=e=>{var{children:t,disableKeyless:r=!1}=e,a=(0,i._)(e,["children","disableKeyless"]);return(0,g.O)(a).publishableKey||!E.I||r?_.createElement(S,(0,n._)({},a),t):_.createElement(U,null,_.createElement(S,(0,n._)({},a),t))}},66868:(e,t,r)=>{r.d(t,{X:()=>l});var n=r(40170),a=r(5160),i=r(19168),o=r(581),l=()=>{var e,t,r=(0,i.ho)(),{pagesRouter:l}=(0,o.r)();return null==(t=r.telemetry)||t.record((0,a.YF)((0,n._)({router:l?"pages":"app"},(null==(e=null==globalThis?void 0:globalThis.next)?void 0:e.version)?{nextjsVersion:globalThis.next.version}:{}))),null}},70521:(e,t,r)=>{r.d(t,{l:()=>n});function n(e){return e}},72439:(e,t,r)=>{r.d(t,{CreateOrganization:()=>a.ul,GoogleOneTap:()=>a.PQ,OrganizationList:()=>a.oE,OrganizationProfile:()=>v,OrganizationSwitcher:()=>a.NC,SignIn:()=>p,SignInButton:()=>a.hZ,SignInWithMetamaskButton:()=>a.M_,SignOutButton:()=>a.ct,SignUp:()=>h,SignUpButton:()=>a.Ny,UserButton:()=>a.uF,UserProfile:()=>_,Waitlist:()=>a.cP});var n=r(40170),a=r(19168),i=r(7620),o=r(85670),l=r(11362),s=r(40216),c=r(581),u=function(e,t,r){var n=!(arguments.length>3)||void 0===arguments[3]||arguments[3],o=i.useRef(0),{pagesRouter:u}=(0,c.r)(),{session:d,isLoaded:f}=(0,a.wV)();(0,s.Fj)()||i.useEffect(()=>{if(f&&(!r||"path"===r)&&(!n||d)){var a,i=new AbortController,s=()=>{var r=u?"".concat(t,"/[[...index]].tsx"):"".concat(t,"/[[...rest]]/page.tsx");throw Error("\nClerk: The <".concat(e,'/> component is not configured correctly. The most likely reasons for this error are:\n\n1. The "').concat(t,'" route is not a catch-all route.\nIt is recommended to convert this route to a catch-all route, eg: "').concat(r,'". Alternatively, you can update the <').concat(e,'/> component to use hash-based routing by setting the "routing" prop to "hash".\n\n2. The <').concat(e,'/> component is mounted in a catch-all route, but all routes under "').concat(t,'" are protected by the middleware.\nTo resolve this, ensure that the middleware does not protect the catch-all route or any of its children. If you are using the "createRouteMatcher" helper, consider adding "(.*)" to the end of the route pattern, eg: "').concat(t,'(.*)". For more information, see: https://clerk.com/docs/references/nextjs/clerk-middleware#create-route-matcher\n'))};return u?u.pathname.match(/\[\[\.\.\..+]]/)||s():(a=(0,l._)(function*(){if(o.current++,!(o.current>1)){try{var t,r="".concat(window.location.origin).concat(window.location.pathname,"/").concat(e,"_clerk_catchall_check_").concat(Date.now());t=yield fetch(r,{signal:i.signal})}catch(e){}(null==t?void 0:t.status)===404&&s()}}),function(){return a.apply(this,arguments)})(),()=>{o.current>1&&i.abort()}}},[f])},d=()=>{var e=i.useRef(),{pagesRouter:t}=(0,c.r)();if(t)if(e.current)return e.current;else return e.current=t.pathname.replace(/\/\[\[\.\.\..*/,""),e.current;var n=r(27541).usePathname,a=r(27541).useParams,o=(n()||"").split("/").filter(Boolean),l=Object.values(a()||{}).filter(e=>Array.isArray(e)).flat(1/0);return e.current||(e.current="/".concat(o.slice(0,o.length-l.length).join("/"))),e.current};function f(e,t){var r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],n=d(),a=(0,o.yC)(e,t,{path:n});return u(e,n,a.routing,r),a}var _=Object.assign(e=>i.createElement(a.Fv,(0,n._)({},f("UserProfile",e))),(0,n._)({},a.Fv)),v=Object.assign(e=>i.createElement(a.nC,(0,n._)({},f("OrganizationProfile",e))),(0,n._)({},a.nC)),p=e=>i.createElement(a.Ls,(0,n._)({}
1,f("SignIn",e,!1))),h=e=>i.createElement(a.Hx,(0,n._)({},f("SignUp",e,!1)))},72481:(e,t,r)=>{r.d(t,{zz:()=>n.zz});var n=r(32856);r(90667)},75024:(e,t,r)=>{r.d(t,{O:()=>s});var n=r(40170),a=r(17194),i=r(72481),o=r(90007),l=r(77011),s=e=>{var t;return(0,a._)((0,n._)({},e),{publishableKey:e.publishableKey||"pk_live_Y2xlcmsuYXJuZHMubWUk",clerkJSUrl:e.clerkJSUrl||l.env.NEXT_PUBLIC_CLERK_JS_URL,clerkJSVersion:e.clerkJSVersion||l.env.NEXT_PUBLIC_CLERK_JS_VERSION,proxyUrl:e.proxyUrl||l.env.NEXT_PUBLIC_CLERK_PROXY_URL||"",domain:e.domain||l.env.NEXT_PUBLIC_CLERK_DOMAIN||"",isSatellite:e.isSatellite||(0,i.zz)(l.env.NEXT_PUBLIC_CLERK_IS_SATELLITE),signInUrl:e.signInUrl||"/sign-in",signUpUrl:e.signUpUrl||"/sign-up",signInForceRedirectUrl:e.signInForceRedirectUrl||l.env.NEXT_PUBLIC_CLERK_SIGN_IN_FORCE_REDIRECT_URL||"",signUpForceRedirectUrl:e.signUpForceRedirectUrl||l.env.NEXT_PUBLIC_CLERK_SIGN_UP_FORCE_REDIRECT_URL||"",signInFallbackRedirectUrl:e.signInFallbackRedirectUrl||"/",signUpFallbackRedirectUrl:e.signUpFallbackRedirectUrl||"/",afterSignInUrl:e.afterSignInUrl||l.env.NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL||"",afterSignUpUrl:e.afterSignUpUrl||l.env.NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL||"",telemetry:null!=(t=e.telemetry)?t:{disabled:(0,i.zz)(l.env.NEXT_PUBLIC_CLERK_TELEMETRY_DISABLED),debug:(0,i.zz)(l.env.NEXT_PUBLIC_CLERK_TELEMETRY_DEBUG)},sdkMetadata:o.tm})}},78716:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"setAttributesFromProps",{enumerable:!0,get:function(){return i}});var r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},n=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function a(e){return["async","defer","noModule"].includes(e)}function i(e,t){for(var[i,o]of Object.entries(t))if(!(!t.hasOwnProperty(i)||n.includes(i))&&void 0!==o){var l=r[i]||i.toLowerCase();"SCRIPT"===e.tagName&&a(l)?e[l]=!!o:e.setAttribute(l,String(o)),(!1===o||"SCRIPT"===e.tagName&&a(l)&&(!o||"false"===o))&&(e.setAttribute(l,""),e.removeAttribute(l))}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},85328:(e,t,r)=>{r.d(t,{_:()=>o,c:()=>i});var n=r(7620),a=n.createContext(void 0);a.displayName="ClerkNextOptionsCtx";var i=()=>{var e=n.useContext(a);return null==e?void 0:e.value},o=e=>{var{children:t,options:r}=e;return n.createElement(a.Provider,{value:{value:r}},t)}},90007:(e,t,r)=>{r.d(t,{ev:()=>s,tm:()=>l});var n=r(44162),a=r(86093);r(90667);var i=r(72481),o=r(77011);o.env.NEXT_PUBLIC_CLERK_JS_VERSION,o.env.NEXT_PUBLIC_CLERK_JS_URL,o.env.CLERK_API_VERSION,o.env.CLERK_SECRET_KEY,o.env.CLERK_ENCRYPTION_KEY,o.env.CLERK_API_URL||(e=>{let t=(0,n.q5)(e)?.frontendApi;return t?.startsWith("clerk.")&&a.iM.some(e=>t?.endsWith(e))?a.FW:a.mG.some(e=>t?.endsWith(e))?a.Vc:a.ub.some(e=>t?.endsWith(e))?a.HG:a.FW})("pk_live_Y2xlcmsuYXJuZHMubWUk"),o.env.NEXT_PUBLIC_CLERK_DOMAIN,o.env.NEXT_PUBLIC_CLERK_PROXY_URL,(0,i.zz)(o.env.NEXT_PUBLIC_CLERK_IS_SATELLITE);var l={name:"@clerk/nextjs",version:"6.14.1",environment:"production"};(0,i.zz)(o.env.NEXT_PUBLIC_CLERK_TELEMETRY_DISABLED),(0,i.zz)(o.env.NEXT_PUBLIC_CLERK_TELEMETRY_DEBUG);var s=(0,i.zz)(o.env.NEXT_PUBLIC_CLERK_KEYLESS_DISABLED)||!1},94994:(e,t,r)=>{r.d(t,{U:()=>a});var n=r(7620),a="undefined"!=typeof window?n.useLayoutEffect:n.useEffect},99321:e=>{e.exports={rE:"15.3.0"}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.