1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,522016,(e,t,r)=>{"use strict";e.i(247167),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return y},useLinkStatus:function(){return b}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(190809),i=e.r(843476),s=a._(e.r(271645)),l=e.r(195057),u=e.r(8372),c=e.r(818581),d=e.r(718967),f=e.r(405550),p=e.r(388540),h=e.r(91949),m=e.r(573668),g=e.r(509396);function y(t){var r;let n,o,a,[y,b]=(0,s.useOptimistic)(h.IDLE_LINK_STATUS),v=(0,s.useRef)(null),{href:j,as:w,children:P,prefetch:N=null,passHref:S,replace:C,shallow:E,scroll:O,onClick:T,onMouseEnter:_,onTouchStart:R,legacyBehavior:k=!1,onNavigate:L,transitionTypes:A,ref:U,unstable_dynamicOnHover:$,...I}=t;n=P,k&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let M=s.default.useContext(u.AppRouterContext),D=!1!==N,B=!1===N?"none":!0===N?"full":"auto",F="none"!==B?"auto"===B?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,W="string"==typeof(r=w||j)?r:(0,l.formatUrl)(r);if(k){if(n?.$$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>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=s.default.Children.only(n)}let K=k?o&&"object"==typeof o&&o.ref:U,q,z=s.default.useCallback(e=>(null!==M&&(v.current=(0,h.mountLinkInstance)(e,W,M,F,D,b,q)),()=>{v.current&&((0,h.unmountLinkForCurrentNavigation)(v.current),v.current=null),(0,h.unmountPrefetchableInstance)(e)}),[D,W,M,F,b,q]),G={ref:(0,c.useMergedRef)(z,K),onClick(t){k||"function"!=typeof T||T(t),k&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!M||t.defaultPrevented||function(t,r,n,o,a,i,l,u="none"){if("u">typeof window){let c,{nodeName:d}=t.currentTarget;if("A"===d.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:f}=e.r(699781);s.default.startTransition(()=>{f(r,o?"replace":"push",!1===a?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,l,u)})}}(t,W,v,C,O,L,A,B)},onMouseEnter(e){k||"function"!=typeof _||_(e),k&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),M&&D&&(0,h.onNavigationIntent)(e.currentTarget,!0===$)},onTouchStart:function(e){k||"function"!=typeof R||R(e),k&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),M&&D&&(0,h.onNavigationIntent)(e.currentTarget,!0===$)}};return(0,d.isAbsoluteUrl)(W)?G.href=W:k&&!S&&("a"!==o.type||"href"in o.props)||(G.href=(0,f.addBasePath)(W)),a=k?s.default.cloneElement(o,G):(0,i.jsx)("a",{...I,...G,children:n}),(0,i.jsx)(x.Provider,{value:y,children:a})}let x=(0,s.createContext)(h.IDLE_LINK_STATUS),b=()=>(0,s.useContext)(x);("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)},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=a(e,n)),t&&(o.current=a(t,n))},[e,t])}function a(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,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},573668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=e.r(718967),o=e.r(652817);function a(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}}},998183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function a(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 i(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,i(e));else t.set(r,i(n));return t}function l(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}},195057,(e,t,r)=>{"use strict";e.i(247167),Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return s},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(190809)._(e.r(998183)),i=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",s=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(a.urlQueryToSearchParams(l)));let c=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||i.test(n))&&!1!==u?(u="//"+(u||""),o&&"/"!==o[0]&&(o="/"+o)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),o=o.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${u}${o}${c}${s}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return s(e)}},718967,(e,t,r)=>{"use strict";e.i(247167),Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return y},MiddlewareNotFoundError:function(){return j},MissingStaticPage:function(){return v},NormalizeError:function(){return x},PageNotFoundError:function(){return b},SP:function(){return m},ST:function(){return g},WEB_VITALS:function(){return a},execOnce:function(){return i},getDisplayName:function(){return d},getLocationOrigin:function(){return u},getURL:function(){return c},isAbsoluteUrl:function(){return l},isResSent:function(){return f},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return w}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=["CLS","FCP","FID","INP","LCP","TTFB"];function i(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let s=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&s.test(e)};function u(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=u();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(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&&f(r))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let m="u">typeof performance,g=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);
1class y extends Error{}class x extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class v extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class j extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function w(e){return JSON.stringify({message:e.message,stack:e.stack})}},530604,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(522016),o=e.i(618566),a=e.i(846932),i=e.i(553293);function s(e){return!e||!e.startsWith("/")||e.startsWith("//")?"/dashboard":e}function l(e,t){let r=new URLSearchParams;t.email&&r.set("email",t.email);let n=t.redirectTo?s(t.redirectTo):null;n&&"/dashboard"!==n&&r.set("redirectTo",n);let o=r.toString();return o?`${e}?${o}`:e}function u(){let e=(0,o.useRouter)(),u=(0,o.useSearchParams)(),c=u.get("redirectTo"),[d,f]=(0,r.useState)(()=>u.get("email")||""),[p,h]=(0,r.useState)(""),[m,g]=(0,r.useState)(""),[y,x]=(0,r.useState)(!1),[b,v]=(0,r.useState)(!1),j=l("/auth/sign-up",{email:d.trim().toLowerCase()||void 0,redirectTo:c}),w=async t=>{if(t.preventDefault(),g(""),x(!1),!p||p.length<1)return void g("Password is required");v(!0);let r=d.trim().toLowerCase();try{let t=(0,i.createClientComponentClient)(),{error:n}=await t.auth.signInWithPassword({email:r,password:p});if(n){try{let t=await fetch("/api/auth/check-email",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:r})});if(t.ok){let n=await t.json().catch(()=>({}));if(!1===n.exists)return void e.push(l("/auth/sign-up",{email:r,redirectTo:c}))}}catch{}throw n}e.push(s(c))}catch(t){let e=t instanceof Error?t.message:"Unable to sign in";/email\s+not\s+confirmed/i.test(e)?(x(!0),g("This email address has not been confirmed yet.")):g(e)}finally{v(!1)}};return(0,t.jsxs)("div",{className:"min-h-screen w-full relative flex items-center justify-center p-6",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-cover bg-center",style:{backgroundImage:"url('https://images.unsplash.com/photo-1709562493281-03c47edcb046?q=80&w=822&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D')"}}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/35"}),(0,t.jsxs)("div",{className:"relative z-10 w-full max-w-7xl mx-auto flex items-center justify-center gap-12",children:[(0,t.jsxs)(a.motion.div,{initial:{opacity:0,x:-50},animate:{opacity:1,x:0},transition:{duration:.6},className:"w-full max-w-md bg-white rounded-2xl p-8 shadow-2xl",children:[(0,t.jsx)("h1",{className:"text-3xl font-bold text-neutral-900 mb-2",children:"Sign in"}),(0,t.jsx)("p",{className:"text-sm text-neutral-600 mb-8",children:"Welcome back to the OWASP community platform."}),"1"===u.get("passwordUpdated")&&(0,t.jsx)("div",{className:"mb-6 text-sm text-green-800 bg-green-50 border border-green-200 rounded px-3 py-2",children:"Password updated. Please sign in with your new password."}),(0,t.jsxs)("form",{onSubmit:w,className:"mb-6 space-y-4",children:[(0,t.jsx)("input",{type:"email",value:d,onChange:e=>f(e.target.value),placeholder:"Email address",required:!0,className:"w-full px-4 py-3 rounded-lg border-2 border-neutral-300 bg-neutral-50 text-neutral-900 placeholder:text-neutral-600 focus:outline-none focus:ring-2 focus:ring-neutral-400 transition-all duration-200"}),(0,t.jsx)("input",{type:"password",value:p,onChange:e=>h(e.target.value),placeholder:"Password",required:!0,className:"w-full px-4 py-3 rounded-lg border-2 border-neutral-300 bg-neutral-50 text-neutral-900 placeholder:text-neutral-600 focus:outline-none focus:ring-2 focus:ring-neutral-400 transition-all duration-200"}),(0,t.jsx)("div",{className:"flex justify-end -mt-2",children:(0,t.jsx)(n.default,{href:d.trim()?`/auth/forgot-password?email=${encodeURIComponent(d.trim().toLowerCase())}`:"/auth/forgot-password",className:"text-sm text-neutral-600 hover:text-neutral-900 font-medium no-underline",children:"Forgot password?"})}),m&&(0,t.jsxs)("div",{className:"text-sm text-red-700 bg-red-50 border border-red-200 rounded px-3 py-2",children:[m,y&&(0,t.jsxs)(t.Fragment,{children:[" ",(0,t.jsx)(n.default,{href:d.trim()?`/auth/forgot-password?email=${encodeURIComponent(d.trim().toLowerCase())}`:"/auth/forgot-password",className:"font-medium text-red-800 underline",children:"Request a verification code"})," ","to confirm it and set your password."]})]}),(0,t.jsx)("button",{type:"submit",disabled:b,className:"w-full px-6 py-3 rounded-lg bg-neutral-900 text-white font-medium hover:bg-neutral-800 transition-colors duration-200 disabled:opacity-60",children:b?"Signing in...":"Continue"})]}),(0,t.jsxs)("div",{className:"relative my-6",children:[(0,t.jsx)("div",{className:"absolute inset-0 flex items-center",children:(0,t.jsx)("div",{className:"w-full border-t border-neutral-200"})}),(0,t.jsx)("div",{className:"relative flex justify-center text-sm",children:(0,t.jsx)("span",{className:"bg-white px-3 text-neutral-500",children:"New here?"})})]}),(0,t.jsx)(n.default,{href:j,className:"block w-full px-6 py-3 rounded-lg border-2 border-neutral-300 text-neutral-900 font-medium text-center hover:border-neutral-900 hover:bg-neutral-50 transition-colors duration-200 no-underline",children:"Create account"})]}),(0,t.jsxs)(a.motion.div,{initial:{opacity:0,x:50}
1,animate:{opacity:1,x:0},transition:{duration:.6,delay:.2},className:"hidden lg:block max-w-sm",children:[(0,t.jsx)("h2",{className:"text-4xl font-medium tracking-tight text-white mb-4",children:"OWASP Community"}),(0,t.jsx)("p",{className:"text-lg text-white/90 tracking-tight max-w-[25ch]",children:"Connect with chapters, projects, and security professionals."})]})]})]})}e.s(["default",0,function(){return(0,t.jsx)(r.Suspense,{fallback:(0,t.jsx)("div",{className:"min-h-screen flex items-center justify-center",children:(0,t.jsx)("div",{className:"animate-spin rounded-full h-10 w-10 border-b-2 border-neutral-900"})}),children:(0,t.jsx)(u,{})})}])}]);
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.