PageSourceSearch

https://sendemailpro.com/assets/GoogleOAuthCallbackPage-Bb04dJei.js

js sendemailpro.com collected 2026-10-02 01:43:18 UTC 2,773 bytes, 1 lines download raw bytes

1import{k as l,h as c,r as d,j as e,L as o}from"./react-vendor-_u6yc6G3.js";import{d as r}from"./home-shell-CTGrsjBA.js";import{m as x}from"./proxy-CNgZSfHN.js";function m(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch{return t}}const h=r("inline-flex items-center justify-center gap-2 rounded-xl px-6 py-3 text-sm font-semibold text-white shadow-soft transition","bg-gradient-primary hover:scale-[1.02] active:scale-[0.98] dark:shadow-soft-dark","focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary"),p=r("inline-flex items-center justify-center gap-2 rounded-xl border border-primary/40 px-6 py-3 text-sm font-semibold text-primary transition","bg-primary/5 hover:bg-primary/10 dark:text-secondary");function b(){const[t]=l(),i=c(),s=t.get("error"),n=t.get("error_description"),a=t.get("code");return d.useEffect(()=>{s||a||i("/login",{replace:!0})},[s,a,i]),!s&&!a?e.jsx("div",{className:"flex min-h-[calc(100vh-8rem)] items-center justify-center px-4 py-16",children:e.jsx("p",{className:"text-sm text-slate-600 dark:text-slate-400",children:"Redirecting to login…"})}):e.jsxs("div",{className:"relative flex min-h-[calc(100vh-8rem)] items-center justify-center px-4 py-16",children:[e.jsx("div",{className:"pointer-events-none absolute inset-0 bg-gradient-mesh opacity-90"}),e.jsxs(x.div,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},className:"relative z-10 w-full max-w-md rounded-2xl border border-white/40 bg-white/70 p-8 shadow-2xl backdrop-blur-xl dark:border-slate-700/60 dark:bg-slate-900/70",children:[s?e.jsxs(e.Fragment,{children:[e.jsx("h1",{className:"text-center text-xl font-bold text-slate-900 dark:text-white",children:"Google sign-in was cancelled or failed"}),e.jsx("p",{className:"mt-3 text-center text-sm text-slate-700 dark:text-slate-300",children:s}),n?e.jsx("p",{className:"mt-2 text-center text-xs text-slate-600 dark:text-slate-400",children:m(n)}):null]}):e.jsxs(e.Fragment,{children:[e.jsx("h1",{className:"text-center text-xl font-bold text-slate-900 dark:text-white",children:"Use the button on the login page"}),e.jsxs("p",{className:"mt-3 text-center text-sm text-slate-600 dark:text-slate-400",children:["SendEmail Pro completes Google sign-in with the ",e.jsx("strong",{className:"text-slate-800 dark:text-slate-200",children:"Sign in with Google"})," button on the login screen (it does not use this redirect URL for tokens). Open login and use that button."]})]}),e.jsxs("div",{className:"mt-8 flex flex-col gap-3 sm:flex-row sm:justify-center",children:[e.jsx(o,{to:"/login",className:r(h,"w-full sm:w-auto"),children:"Back to login"}),e.jsx(o,{to:"/",className:r(p,"w-full sm:w-auto"),children:"Back home"})]})]})]})}export{b as GoogleOAuthCallbackPage};

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.