1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4933],{3406:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/error",function(){return r(58895)}])},26709:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(85893);r(67294);var i=r(92761),s=r(79298),a=r(11163),c=r(67694);function o(e){let{title:t,subtitle:r,onPrimary:o,primaryLabel:l,showBack:d=!0}=e,u=(0,a.useRouter)(),{theme:h}=(0,c.F)();return(0,n.jsx)("div",{className:"md:hidden sticky top-12 z-40 px-3 py-2.5 transition-colors ".concat("dark"===h?"bg-[#1A1A1B] border-b border-[#343536]":"bg-white border-b border-[#EDEFF1]"),children:(0,n.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[d?(0,n.jsx)(s.hU,{onClick:()=>u.back(),icon:i.Z,"aria-label":"Back",variant:"ghost",size:"sm"}):(0,n.jsx)("div",{className:"w-9 h-9","aria-hidden":!0}),(0,n.jsxs)("div",{className:"flex-1 text-center min-w-0",children:[t&&(0,n.jsx)("div",{className:"font-semibold text-sm truncate ".concat("dark"===h?"text-white":"text-gray-900"),children:t}),r&&(0,n.jsx)("div",{className:"text-xs truncate ".concat("dark"===h?"text-[#818384]":"text-gray-500"),children:r})]}),(0,n.jsx)("div",{className:"flex-shrink-0 flex items-center justify-end",children:o?(0,n.jsx)(s.zx,{onClick:o,size:"sm",variant:"primary",className:"text-xs px-2.5 py-1.5 whitespace-nowrap",children:l||"Done"}):(0,n.jsx)("div",{className:"w-9 h-9","aria-hidden":!0})})]})})}},58895:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return h}});var n=r(85893),i=r(9008),s=r.n(i),a=r(11163),c=r(67294),o=r(85412),l=r(26709),d=r(79298),u=r(67694);function h(){var e,t;let r=(0,a.useRouter)(),{theme:i}=(0,u.F)(),h=String(null!==(e=r.query.error)&&void 0!==e?e:"")||"",x=String(null!==(t=r.query.message)&&void 0!==t?t:"")||"",g="OAuthCookieExpired"===h||/state.*(cookie|mismatch)|cookie.*missing|OAuthCallback|code_verifier|pkce/i.test(h),m="OAuthAccountNotLinked"===h||/invalid_grant|access_denied|consent_required|interaction_required/i.test(h)||/invalid_grant|access_denied/i.test(x),p="AccountLocked"===h||"SignInError"===h||"OAuthSignin"===h||"OAuthCallback"===h||"OAuthCreateAccount"===h||"Callback"===h;(0,c.useEffect)(()=>{if(g)r.replace("/login?error=OAuthCookieExpired");else if(m)r.replace("/login?error=OAuthSignin&message="+encodeURIComponent("Google sign-in could not be completed. Please try again â avoid using the back button after signing in."));else if(p){let e=new URLSearchParams({error:h});x&&e.set("message",x),r.replace("/login?".concat(e.toString()))}},[g,m,p,r,h,x]);let b="",k="",f=h;try{let e=h.split("::");e.length>=3&&(b=e[0],k=e[1],f=e.slice(2).join("::"))}catch(e){}return g||m||p?null:(0,n.jsxs)("div",{className:"min-h-screen ".concat("dark"===i?"bg-[#1A1A1B] text-white":"bg-transparent text-gray-900"),children:[(0,n.jsx)(s(),{children:(0,n.jsx)("title",{children:"Authentication Error"})}),(0,n.jsx)(o.Z,{}),(0,n.jsx)(l.Z,{title:"Authentication Issue",subtitle:"Please review the message and try again"}),(0,n.jsx)("main",{className:"p-6",children:(0,n.jsxs)("div",{className:"p-6 rounded-xl shadow-lg ".concat("dark"===i?"bg-[#272729] border border-[#343536]/40":"bg-white border border-gray-200"),children:[(0,n.jsx)("h2",{className:"text-xl font-semibold mb-3",children:"Sign-in blocked or needs confirmation"}),b&&(0,n.jsxs)("div",{className:"mb-3 text-sm ".concat("dark"===i?"text-[#818384]":"text-[#7C7C7C]"),children:[(0,n.jsx)("strong",{children:"Level: "}),b,k&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("strong",{className:"ml-4",children:"Code: "}),k]})]}),(0,n.jsx)("div",{className:"rounded-lg p-4 mb-4 ".concat("dark"===i?"bg-[#1A1A1B]/30 border border-[#343536]/30":"bg-gray-50 border border-gray-100"),children:(0,n.jsx)("p",{className:"whitespace-pre-wrap",children:f||"An unexpected authentication error occurred."})}),(0,n.jsxs)("div",{className:"flex gap-3",children:[(0,n.jsx)(d.zx,{onClick:()=>r.push("/login"),variant:"primary",children:"Back to Sign In"}),(0,n.jsx)(d.zx,{onClick:()=>r.push("/forgot-password"),variant:"ghost",children:"Reset Password"}),(0,n.jsx)(d.zx,{onClick:()=>window.open("mailto:[email protected]"),variant:"ghost",children:"Contact Support"})]})]})})]})}}},function(e){e.O(0,[4968,1296,5412,2888,9774,179],function(){return e(e.s=3406)}),_N_E=e.O()}]);
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.