PageSourceSearch

https://snapto.link/build/assets/Authorize-D-krHbo_.js

js snapto.link collected 2026-09-24 09:54:30 UTC 2,095 bytes, 1 lines download raw bytes

1import{j as e}from"./app-DDm4dLCY.js";import{A as o}from"./AppHead-B4kTnGqC.js";import{S as m}from"./snapto-logo-Cs9TAaBN.js";import{B as r}from"./button-D9X3vUxO.js";import{C as l,a as c,b as x,c as u,d as h}from"./card-DifmMaC0.js";/* empty css            */function v({client:t,scopes:s,authToken:a,user:d,csrfToken:n}){return e.jsxs(e.Fragment,{children:[e.jsx(o,{title:`Authorize ${t.name}`}),e.jsxs("div",{className:"bg-muted/40 flex min-h-screen flex-col items-center justify-center gap-8 p-6",children:[e.jsx(m,{}),e.jsxs(l,{className:"w-full max-w-md",children:[e.jsxs(c,{className:"text-center",children:[e.jsxs(x,{className:"text-xl",children:["Authorize ",t.name]}),e.jsxs(u,{children:[e.jsx("strong",{className:"text-foreground font-medium",children:t.name})," wants to access your Snapto account."]})]}),e.jsxs(h,{className:"flex flex-col gap-6",children:[s.length>0&&e.jsxs("div",{className:"bg-muted/50 rounded-lg border p-4",children:[e.jsx("p",{className:"text-sm font-medium",children:"It will be able to:"}),e.jsx("ul",{className:"text-muted-foreground mt-2 space-y-1.5 text-sm",children:s.map(i=>e.jsxs("li",{className:"flex gap-2",children:[e.jsx("span",{"aria-hidden":"true",children:"•"}),e.jsx("span",{children:i.description})]},i.id))})]}),e.jsxs("div",{className:"flex items-center justify-center gap-3",children:[e.jsxs("form",{method:"post",action:"/oauth/authorize",children:[e.jsx("input",{type:"hidden",name:"_method",value:"DELETE"}),e.jsx("input",{type:"hidden",name:"_token",value:n}),e.jsx("input",{type:"hidden",name:"auth_token",value:a}),e.jsx(r,{type:"submit",variant:"outline",children:"Cancel"})]}),e.jsxs("form",{method:"post",action:"/oauth/authorize",children:[e.jsx("input",{type:"hidden",name:"_token",value:n}),e.jsx("input",{type:"hidden",name:"auth_token",value:a}),e.jsx(r,{type:"submit",children:"Authorize"})]})]}),e.jsxs("p",{className:"text-muted-foreground text-center text-xs",children:["Signed in as ",d.email,". You can revoke this access at any time from Connected apps in your Snapto settings."]})]})]})]})]})}export{v 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.