module.exports=[171951,a=>{"use strict";var b=a.i(187924),c=a.i(572131),d=a.i(50944);function e(){let a=(0,d.useSearchParams)();return(0,c.useEffect)(()=>{let b=a.get("code"),c=a.get("state"),d=a.get("error"),e=a.get("error_description");window.opener&&(window.opener.postMessage({type:"oidc-test-callback",code:b,state:c,error:d,errorDescription:e},window.location.origin),setTimeout(()=>window.close(),500))},[a]),(0,b.jsxs)("div",{className:"flex flex-col items-center gap-3 py-6 text-center",children:[(0,b.jsx)("div",{className:"w-8 h-8 border-4 border-[#3a5f8a] border-t-transparent rounded-full animate-spin"}),(0,b.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Authentication complete. Returning results…"}),(0,b.jsx)("p",{className:"text-xs text-gray-400 dark:text-gray-500",children:"You may close this window."})]})}a.s(["default",0,function(){return(0,b.jsx)("div",{className:"min-h-screen flex flex-col items-center justify-center bg-gray-100 dark:bg-gray-950 px-4",children:(0,b.jsxs)("div",{className:"w-full max-w-sm",children:[(0,b.jsx)("div",{className:"bg-[#3a5f8a] text-white px-6 py-4 rounded-t-lg",children:(0,b.jsx)("h1",{className:"text-lg font-bold tracking-wide",children:"BridgeLink"})}),(0,b.jsx)("div",{className:"bg-white dark:bg-gray-800 shadow-lg rounded-b-lg border border-t-0 border-border p-8",children:(0,b.jsx)(c.Suspense,{fallback:(0,b.jsxs)("div",{className:"flex flex-col items-center gap-3 py-4",children:[(0,b.jsx)("div",{className:"w-8 h-8 border-4 border-[#3a5f8a] border-t-transparent rounded-full animate-spin"}),(0,b.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Processing…"})]}),children:(0,b.jsx)(e,{})})})]})})}])}];

//# sourceMappingURL=plugins_oidc_test-callback-page_tsx_1p_7azf._.js.map