1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,94542,e=>{"use strict";var t=e.i(80506),r=e.i(11795),i=e.i(58294),a=e.i(69742),s=e.i(778);function n(){let e=(0,i.useSearchParams)(),s=e.get("redirectTo")||"/admin",n=e.get("error"),l=async()=>{let e=(0,r.createClient)();await e.auth.signInWithOAuth({provider:"google",options:{redirectTo:`${window.location.origin}/api/auth/callback?next=${s}`}})};return(0,t.jsx)("div",{className:"flex min-h-screen items-center justify-center px-6",children:(0,t.jsx)(a.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"w-full max-w-md",children:(0,t.jsxs)("div",{className:"rounded-2xl border border-white/10 bg-white/5 p-8 backdrop-blur-xl",children:[(0,t.jsxs)("div",{className:"mb-8 text-center",children:[(0,t.jsx)("div",{className:"mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-2xl bg-gradient-to-br from-amber-500 to-orange-600",children:(0,t.jsx)("svg",{className:"h-8 w-8 text-white",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"})})}),(0,t.jsx)("h1",{className:"mb-2 font-serif text-2xl font-bold text-white",children:"Admin Login"}),(0,t.jsx)("p",{className:"text-white/60",children:"Sign in to access the admin panel."})]}),n&&(0,t.jsx)("div",{className:"mb-6 rounded-lg border border-red-500/30 bg-red-500/10 p-4 text-sm text-red-300",children:"auth_callback_error"===n?"Authentication failed. Please try again.":"An error occurred. Please try again."}),(0,t.jsxs)("button",{onClick:l,className:"flex w-full items-center justify-center gap-3 rounded-xl bg-white px-6 py-4 font-semibold text-black transition-all hover:bg-white/90",children:[(0,t.jsxs)("svg",{className:"h-5 w-5",viewBox:"0 0 24 24",children:[(0,t.jsx)("path",{fill:"currentColor",d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"}),(0,t.jsx)("path",{fill:"currentColor",d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"}),(0,t.jsx)("path",{fill:"currentColor",d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"}),(0,t.jsx)("path",{fill:"currentColor",d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"})]}),"Sign in with Google"]}),(0,t.jsx)("p",{className:"mt-6 text-center text-sm text-white/40",children:"Only authorized administrators can access this area."})]})})})}function l(){return(0,t.jsx)(s.Suspense,{fallback:(0,t.jsx)("div",{className:"flex min-h-screen items-center justify-center",children:(0,t.jsx)("div",{className:"h-8 w-8 animate-spin rounded-full border-2 border-amber-500 border-t-transparent"})}),children:(0,t.jsx)(n,{})})}e.s(["default",()=>l])}]);
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.