PageSourceSearch

https://mathscifound.org/_next/static/chunks/0s7--dacnfx.c.js

js mathscifound.org collected 2026-10-02 22:04:45 UTC 23,215 bytes, 10 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,475254,e=>{"use strict";var t=e.i(271645);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),n=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var o={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 i=(0,t.forwardRef)(({color:e="currentColor",size:n=24,strokeWidth:i=2,absoluteStrokeWidth:a,className:s="",children:u,iconNode:l,...c},f)=>(0,t.createElement)("svg",{ref:f,...o,width:n,height:n,stroke:e,strokeWidth:a?24*Number(i)/Number(n):i,className:r("lucide",s),...!u&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(c)&&{"aria-hidden":"true"},...c},[...l.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(u)?u:[u]]));e.s(["default",0,(e,o)=>{let a=(0,t.forwardRef)(({className:a,...s},u)=>(0,t.createElement)(i,{ref:u,iconNode:o,className:r(`lucide-${n(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,a),...s}));return a.displayName=n(e),a}],475254)},233525,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},998183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return u},searchParamsToUrlQuery:function(){return i},urlQueryToSearchParams:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function i(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function a(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function s(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,a(e));else t.set(r,a(n));return t}function u(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},718967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return m},MiddlewareNotFoundError:function(){return E},MissingStaticPage:function(){return b},NormalizeError:function(){return v},PageNotFoundError:function(){return w},SP:function(){return g},ST:function(){return y},WEB_VITALS:function(){return i},execOnce:function(){return a},getDisplayName:function(){return f},getLocationOrigin:function(){return l},getURL:function(){return c},isAbsoluteUrl:function(){return u},isResSent:function(){return d},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return _}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=["CLS","FCP","FID","INP","LCP","TTFB"];function a(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let s=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,u=e=>s.test(e);function l(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=l();return e.substring(t.length)}function f(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function h(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await h(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&d(r))return n;if(!n)throw Object.defineProperty(Error(`"${f(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let g="u">typeof performance,y=g&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class m extends Error{}
1class v extends Error{}class w extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class b extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class E extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function _(e){return JSON.stringify({message:e.message,stack:e.stack})}},818581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(271645);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=i(e,n)),t&&(o.current=i(t,n))},[e,t])}function i(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},195057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return s},formatWithValidation:function(){return l},urlObjectKeys:function(){return u}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(190809)._(e.r(998183)),a=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",s=e.hash||"",u=e.query||"",l=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?l=t+e.host:r&&(l=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(l+=":"+e.port)),u&&"object"==typeof u&&(u=String(i.urlQueryToSearchParams(u)));let c=e.search||u&&`?${u}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||a.test(n))&&!1!==l?(l="//"+(l||""),o&&"/"!==o[0]&&(o="/"+o)):l||(l=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),o=o.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${l}${o}${c}${s}`}let u=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function l(e){return s(e)}},573668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return i}});let n=e.r(718967),o=e.r(652817);function i(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},284508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},522016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return m},useLinkStatus:function(){return w}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(190809),a=e.r(843476),s=i._(e.r(271645)),u=e.r(195057),l=e.r(8372),c=e.r(818581),f=e.r(718967),d=e.r(405550);e.r(233525);let p=e.r(388540),h=e.r(91949),g=e.r(573668),y=e.r(509396);function m(t){var r,n;let o,i,m,[w,b]=(0,s.useOptimistic)(h.IDLE_LINK_STATUS),E=(0,s.useRef)(null),{href:_,as:P,children:S,prefetch:L=null,passHref:k,replace:R,shallow:C,scroll:x,onClick:T,onMouseEnter:U,onTouchStart:$,legacyBehavior:j=!1,onNavigate:M,transitionTypes:O,ref:A,unstable_dynamicOnHover:N,...I}=t;o=S,j&&("string"==typeof o||"number"==typeof o)&&(o=(0,a.jsx)("a",{children:o}));let B=s.default.useContext(l.AppRouterContext),F=!1!==L,D=!1!==L?null===(n=L)||"auto"===n?y.FetchStrategy.PPR:y.FetchStrategy.Full:y.FetchStrategy.PPR,X="string"==typeof(r=P||_)?r:(0,u.formatUrl)(r);if(j){if(o?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>
1` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});i=s.default.Children.only(o)}let z=j?i&&"object"==typeof i&&i.ref:A,H=s.default.useCallback(e=>(null!==B&&(E.current=(0,h.mountLinkInstance)(e,X,B,D,F,b)),()=>{E.current&&((0,h.unmountLinkForCurrentNavigation)(E.current),E.current=null),(0,h.unmountPrefetchableInstance)(e)}),[F,X,B,D,b]),W={ref:(0,c.useMergedRef)(H,z),onClick(t){j||"function"!=typeof T||T(t),j&&i.props&&"function"==typeof i.props.onClick&&i.props.onClick(t),!B||t.defaultPrevented||function(t,r,n,o,i,a,u){if("u">typeof window){let l,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((l=t.currentTarget.getAttribute("target"))&&"_self"!==l||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,g.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:f}=e.r(699781);s.default.startTransition(()=>{f(r,o?"replace":"push",!1===i?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,u)})}}(t,X,E,R,x,M,O)},onMouseEnter(e){j||"function"!=typeof U||U(e),j&&i.props&&"function"==typeof i.props.onMouseEnter&&i.props.onMouseEnter(e),B&&F&&(0,h.onNavigationIntent)(e.currentTarget,!0===N)},onTouchStart:function(e){j||"function"!=typeof $||$(e),j&&i.props&&"function"==typeof i.props.onTouchStart&&i.props.onTouchStart(e),B&&F&&(0,h.onNavigationIntent)(e.currentTarget,!0===N)}};return(0,f.isAbsoluteUrl)(X)?W.href=X:j&&!k&&("a"!==i.type||"href"in i.props)||(W.href=(0,d.addBasePath)(X)),m=j?s.default.cloneElement(i,W):(0,a.jsx)("a",{...I,...W,children:o}),(0,a.jsx)(v.Provider,{value:w,children:m})}e.r(284508);let v=(0,s.createContext)(h.IDLE_LINK_STATUS),w=()=>(0,s.useContext)(v);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},618566,(e,t,r)=>{t.exports=e.r(976562)},558249,e=>{"use strict";e.s(["trackEvent",0,function(e,t){"function"==typeof window.gtag&&window.gtag("event",e,t)},"trackPageView",0,function(e){if("function"!=typeof window.gtag)return;let t=window.__GA_MEASUREMENT_ID__;t&&window.gtag("config",t,{page_path:e})}])},664659,e=>{"use strict";let t=(0,e.i(475254).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",0,t],664659)},551348,e=>{"use strict";let t=(0,e.i(475254).default)("linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);e.s(["Linkedin",0,t],551348)},263488,e=>{"use strict";let t=(0,e.i(475254).default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);e.s(["Mail",0,t],263488)},952571,e=>{"use strict";let t=(0,e.i(475254).default)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);e.s(["Info",0,t],952571)},343432,e=>{"use strict";let t=(0,e.i(475254).default)("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);e.s(["Phone",0,t],343432)},346897,e=>{"use strict";let t=(0,e.i(475254).default)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);e.s(["MapPin",0,t],346897)},37727,e=>{"use strict";let t=(0,e.i(475254).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],37727)},88653,e=>{"use strict";e.i(247167);var t=e.i(843476),r=e.i(271645),n=e.i(231178),o=e.i(947414),i=e.i(674008),a=e.i(821476),s=e.i(772846),u=r,l=e.i(737806);function c(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class f extends u.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,s.isHTMLElement)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,r=(0,s.isHTMLElement)(e)&&e.offsetWidth||0,n=(0,s.isHTMLElement)(e)&&e.offsetHeight||0,o=getComputedStyle(t),i=this.props.sizeRef.current;i.height=parseFloat(o.height),i.width=parseFloat(o.width),i.top=t.offsetTop,i.left=t.offsetLeft,i.right=r-i.width-i.left,i.bottom=n-i.height-i.top}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:e,isPresent:n,anchorX:o,anchorY:i,root:a,pop:s}){let p=(0,u.useId)(),h=(0,u.useRef)(null),g=(0,u.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:y}=(0,u.useContext)(l.MotionConfigContext),m=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=c(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():c(e[t],null)}}}}(...e),e)}(h,e.props?.ref??e?.ref);return(0,u.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:u,right:l,bottom:c}=g.current;if(n||!1===s||!h.current||!e||!t)return;let f="left"===o?`left: ${u}`:`right: ${l}`,d="bottom"===i?`bottom: ${c}`:`top: ${r}`;h.current.dataset.motionPopId=p;let m=document.createElement("style");y&&(m.nonce=y);let v=a??document.head;return v.appendChild(m),m.sheet&&m.sheet.insertRule(`
2          [data-motion-pop-id="${p}"] {
3            position: absolute !important;
4            width: ${e}px !important;
5            height: ${t}px !important;
6            ${f}px !important;
7            ${d}px !important;
8          }
9        `),()=>{h.current?.removeAttribute("data-motion-pop-id"),v.contains(m)&&v.removeChild(m)}},[n]),(0,t.jsx)(f,{isPresent:n,childRef:h,sizeRef:g,pop:s,children:!1===s?e:u.cloneElement(e,{ref:m})})}let p=({children:e,initial:n,isPresent:i,onExitComplete:s,custom:u,presenceAffectsLayout:l,mode:c,anch
9orX:f,anchorY:p,root:g})=>{let y=(0,o.useConstant)(h),m=(0,r.useId)(),v=!0,w=(0,r.useMemo)(()=>(v=!1,{id:m,initial:n,isPresent:i,custom:u,onExitComplete:e=>{for(let t of(y.set(e,!0),y.values()))if(!t)return;s&&s()},register:e=>(y.set(e,!1),()=>y.delete(e))}),[i,y,s]);return l&&v&&(w={...w}),(0,r.useMemo)(()=>{y.forEach((e,t)=>y.set(t,!1))},[i]),r.useEffect(()=>{i||y.size||!s||s()},[i]),e=(0,t.jsx)(d,{pop:"popLayout"===c,isPresent:i,anchorX:f,anchorY:p,root:g,children:e}),(0,t.jsx)(a.PresenceContext.Provider,{value:w,children:e})};function h(){return new Map}var g=e.i(259073);let y=e=>e.key||"";function m(e){let t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}e.s(["AnimatePresence",0,({children:e,custom:a,initial:s=!0,onExitComplete:u,presenceAffectsLayout:l=!0,mode:c="sync",propagate:f=!1,anchorX:d="left",anchorY:h="top",root:v})=>{let[w,b]=(0,g.usePresence)(f),E=(0,r.useMemo)(()=>m(e),[e]),_=f&&!w?[]:E.map(y),P=(0,r.useRef)(!0),S=(0,r.useRef)(E),L=(0,o.useConstant)(()=>new Map),k=(0,r.useRef)(new Set),[R,C]=(0,r.useState)(E),[x,T]=(0,r.useState)(E);(0,i.useIsomorphicLayoutEffect)(()=>{P.current=!1,S.current=E;for(let e=0;e<x.length;e++){let t=y(x[e]);_.includes(t)?(L.delete(t),k.current.delete(t)):!0!==L.get(t)&&L.set(t,!1)}},[x,_.length,_.join("-")]);let U=[];if(E!==R){let e=[...E];for(let t=0;t<x.length;t++){let r=x[t],n=y(r);_.includes(n)||(e.splice(t,0,r),U.push(r))}return"wait"===c&&U.length&&(e=U),T(m(e)),C(E),null}let{forceRender:$}=(0,r.useContext)(n.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:x.map(e=>{let r=y(e),n=(!f||!!w)&&(E===x||_.includes(r));return(0,t.jsx)(p,{isPresent:n,initial:(!P.current||!!s)&&void 0,custom:a,presenceAffectsLayout:l,mode:c,root:v,onExitComplete:n?void 0:()=>{if(k.current.has(r)||!L.has(r))return;k.current.add(r),L.set(r,!0);let e=!0;L.forEach(t=>{t||(e=!1)}),e&&($?.(),T(S.current),f&&b?.(),u&&u())},anchorX:d,anchorY:h,children:e},r)})})}],88653)},284614,e=>{"use strict";let t=(0,e.i(475254).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);e.s(["User",0,t],284614)},292270,e=>{"use strict";let t=(0,e.i(475254).default)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]);e.s(["LogOut",0,t],292270)},526732,e=>{"use strict";var t=e.i(247167),r=e.i(843476),n=e.i(271645);class o extends Error{constructor(e,t){e instanceof Error?super(void 0,{cause:{err:e,...e.cause,...t}}):"string"==typeof e?(t instanceof Error&&(t={err:t,...t.cause}),super(e,t)):super(void 0,e),this.name=this.constructor.name,this.type=this.constructor.type??"AuthError",this.kind=this.constructor.kind??"error",Error.captureStackTrace?.(this,this.constructor);const r=`https://errors.authjs.dev#${this.type.toLowerCase()}`;this.message+=`${this.message?". ":""}Read more at ${r}`}}class i extends o{}class a extends o{}async function s(e,t,r,n={}){let o=`${u(t)}/${e}`;try{let e={headers:{"Content-Type":"application/json",...n?.headers?.cookie?{cookie:n.headers.cookie}:{}}};n?.body&&(e.body=JSON.stringify(n.body),e.method="POST");let t=await fetch(o,e),r=await t.json();if(!t.ok)throw r;return r}catch(e){return r.error(new i(e.message,e)),null}}function u(e){return"u"<typeof window?`${e.baseUrlServer}${e.basePathServer}`:e.basePath}function l(){return Math.floor(Date.now()/1e3)}function c(e){let t=new URL("http://localhost:3000/api/auth");e&&!e.startsWith("http")&&(e=`https://${e}`);let r=new URL(e||t),n=("/"===r.pathname?t.pathname:r.pathname).replace(/\/$/,""),o=`${r.origin}${n}`;return{origin:r.origin,host:r.host,path:n,base:o,toString:()=>o}}let f={baseUrl:c(t.default.env.NEXTAUTH_URL??t.default.env.VERCEL_URL).origin,basePath:c(t.default.env.NEXTAUTH_URL).path,baseUrlServer:c(t.default.env.NEXTAUTH_URL_INTERNAL??t.default.env.NEXTAUTH_URL??t.default.env.VERCEL_URL).origin,basePathServer:c(t.default.env.NEXTAUTH_URL_INTERNAL??t.default.env.NEXTAUTH_URL).path,_lastSync:0,_session:void 0,_getSession:()=>{}},d=null;function p(){return"u"<typeof BroadcastChannel?{postMessage:()=>{},addEventListener:()=>{},removeEventListener:()=>{},name:"next-auth",onmessage:null,onmessageerror:null,close:()=>{},dispatchEvent:()=>!1}:new BroadcastChannel("next-auth")}function h(){return null===d&&(d=p()),d}let g={debug:console.debug,error:console.error,warn:console.warn},y=n.createContext?.(void 0);async function m(e){let t=await s("session",f,g,e);return(e?.broadcast??!0)&&p().postMessage({event:"session",data:{trigger:"getSession"}}),t}async function v(){let e=await s("csrf",f,g);return e?.csrfToken??""}async function w(){return s("providers",f,g)}async function b(e,t,r){let{callbackUrl:n,...o}=t??{},{redirect:i=!0,redirectTo:a=n??window.location.href,...s}=o,l=u(f),c=await w();if(!c){let e=`${l}/error`;window.location.href=e;return}if(!e||!c[e]){let e=`${l}/signin?${new URLSearchParams({callbackUrl:a})}`;window.location.href=e;return}let d=c[e].type;if("webauthn"===d)throw TypeError(`Provider id "${e}" refers to a WebAuthn provider.
10Please use \`import { signIn } from "next-auth/webauthn"\` instead.`);let p=`${l}/${"credentials"===d?"callback":"signin"}/${e}`,h=await v(),g=await fetch(`${p}?${new URLSearchParams(r)}`,{method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded","X-Auth-Return-Redirect":"1"},body:new URLSearchParams({...s,csrfToken:h,callbackUrl:a})}),y=await g.json();if(i){let e=y.url??a;window.location.href=e,e.includes("#")&&window.location.reload();return}let m=new URL(y.url).searchParams.get("error")??void 0,b=new URL(y.url).searchParams.get("code")??void 0;return g.ok&&await f._getSession({event:"storage"}),{error:m,code:b,status:g.status,ok:g.ok,url:m?null:y.url}}async function E(e){let{redirect:t=!0,redirectTo:r=e?.callbackUrl??window.location.href}=e??{},n=u(f),o=await v(),i=await fetch(`${n}/signout`,{method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded","X-Auth-Return-Redirect":"1"},body:new URLSearchParams({csrfToken:o,callbackUrl:r})}),a=await i.json();if(h().postMessage({event:"session",data:{trigger:"signout"}}),t){let e=a.url??r;window.location.href=e,e.includes("#")&&window.location.reload();return}return await f._getSession({event:"storage"}),a}e.s(["SessionProvider",0,function(e){if(!y)throw Error("React Context is unavailable in Server Components");let{children:t,basePath:o,refetchInterval:i,refetchWhenOffline:u}=e;o&&(f.basePath=o);let c=void 0!==e.session;f._lastSync=c?l():0;let[d,p]=n.useState(()=>(c&&(f._session=e.session),e.session)),[w,b]=n.useState(!c);n.useEffect(()=>(f._getSession=async({event:e}={})=>{try{let t="storage"===e;if(t||void 0===f._session){f._lastSync=l(),f._session=await m({broadcast:!t}),p(f._session);return}if(!e||null===f._session||l()<f._lastSync)return;f._lastSync=l(),f._session=await m(),p(f._session)}catch(e){g.error(new a(e.message,e))}finally{b(!1)}},f._getSession(),()=>{f._lastSync=0,f._session=void 0,f._getSession=()=>{}}),[]),n.useEffect(()=>{let e=()=>f._getSession({event:"storage"});return h().addEventListener("message",e),()=>h().removeEventListener("message",e)},[]),n.useEffect(()=>{let{refetchOnWindowFocus:t=!0}=e,r=()=>{t&&"visible"===document.visibilityState&&f._getSession({event:"visibilitychange"})};return document.addEventListener("visibilitychange",r,!1),()=>document.removeEventListener("visibilitychange",r,!1)},[e.refetchOnWindowFocus]);let E=function(){let[e,t]=n.useState("u">typeof navigator&&navigator.onLine),r=()=>t(!0),o=()=>t(!1);return n.useEffect(()=>(window.addEventListener("online",r),window.addEventListener("offline",o),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",o)}),[]),e}(),_=!1!==u||E;n.useEffect(()=>{if(i&&_){let e=setInterval(()=>{f._session&&f._getSession({event:"poll"})},1e3*i);return()=>clearInterval(e)}},[i,_]);let P=n.useMemo(()=>({data:d,status:w?"loading":d?"authenticated":"unauthenticated",async update(e){if(w)return;b(!0);let t=await s("session",f,g,void 0===e?void 0:{body:{csrfToken:await v(),data:e}});return b(!1),t&&(p(t),h().postMessage({event:"session",data:{trigger:"getSession"}})),t}}),[d,w]);return(0,r.jsx)(y.Provider,{value:P,children:t})},"signIn",0,b,"signOut",0,E,"useSession",0,function(e){if(!y)throw Error("React Context is unavailable in Server Components");let t=n.useContext(y),{required:r,onUnauthenticated:o}=e??{},i=r&&"unauthenticated"===t.status;return(n.useEffect(()=>{if(i){let e=`${f.basePath}/signin?${new URLSearchParams({error:"SessionRequired",callbackUrl:window.location.href})}`;o?o():window.location.href=e}},[i,o]),i)?{data:t.data,update:t.update,status:"loading"}:t}],526732)}]);

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.