1import{j as e}from"./vendor.DHruGhPf.js";import{u as t}from"./routing.Dxmhy4GF.js";import"./state-management.Dmx7oa7X.js";import{u as i}from"./index.DzjycAGW.js";import"./utilities.DKjn70Jk.js";import"./sanitization.BdPLuzqW.js";import"./react-interactions.DynBWDxY.js";import"./validation.D-9va3TP.js";import"./math-katex.givONeG_.js";import"./markdown_highlight.BvLWy2mv.js";import"./mermaid.BQpNVvaB.js";import"./i18n.D8JiwCfX.js";import"./radix-ui.dl7QpqBm.js";import"./avatars.CwJDtxyh.js";import"./advanced-inputs.CtRFF2ul.js";import"./virtualization.D-nm2fEe.js";import"./tanstack-vendor.BdLo4TXC.js";import"./animations.DFsXny2A.js";import"./headlessui.q-WGjJhC.js";import"./icons.SX-Tpjlu.js";import"./framer-motion.DAj8ht5W.js";import"./http-client.BPOrZ8qe.js";import"./date-utils.CHq2fTxU.js";import"./forms.BLTNgDAQ.js";function r(){const r=i(),[s]=t(),a=s.get("error")||"unknown_error";return e.jsx("div",{className:"flex min-h-screen items-center justify-center bg-gray-50 p-8",children:e.jsxs("div",{className:"w-full max-w-md rounded-lg bg-white p-8 text-center shadow-lg",children:[e.jsx("div",{className:"mb-4 flex justify-center",children:e.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-red-100",children:e.jsx("svg",{className:"h-6 w-6 text-red-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})}),e.jsx("h1",{className:"mb-4 text-3xl font-bold text-gray-900",children:r("com_ui_oauth_error_title")||"Authentication Failed"}),e.jsx("p",{className:"mb-6 text-sm text-gray-600",children:(e=>{switch(e){case"missing_code":return r("com_ui_oauth_error_missing_code")||"Authorization code is missing. Please try again.";case"missing_state":return r("com_ui_oauth_error_missing_state")||"State parameter is missing. Please try again.";case"invalid_state":return r("com_ui_oauth_error_invalid_state")||"Invalid state parameter. Please try again.";case"callback_failed":return r("com_ui_oauth_error_callback_failed")||"Authentication callback failed. Please try again.";default:return r("com_ui_oauth_error_generic")||e.replace(/_/g," ")}})(a)}),e.jsx("button",{onClick:()=>window.close(),className:"rounded-md bg-gray-900 px-4 py-2 text-sm font-medium text-white hover:bg-gray-800 focus:outline-none focus:ring-2 focus:ring-gray-500 focus:ring-offset-2","aria-label":r("com_ui_close_window")||"Close Window",children:r("com_ui_close_window")||"Close Window"})]})})}export{r as default};
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.