PageSourceSearch

https://studio.firstory.me/assets/DiscordAuthorizeResult-DC_dwD7O.js

js firstory.me collected 2026-10-01 09:21:01 UTC 1,142 bytes, 1 lines download raw bytes

1import{a as n,j as t}from"./react-vendor-BGQ-fvu8.js";import{R as c,C as g,M as d,B as h,ah as j}from"./main-BjGN4ckN.js";import{A as u}from"./Layout-DamczIiy.js";import{u as y}from"./discord-BIjCn1uG.js";import{u as z}from"./useQueryString-CyMjSTpU.js";import"./charts-vendor-fU6IkEZ_.js";import"./lodash-vendor-0cI-KiNp.js";import"./apollo-vendor-WdUFfbxi.js";import"./chevron-left-5-Gg-yzc.js";function S(){const[m,p]=n.useState(!1),[f,l]=n.useState(null),s=z(),e=s.get("code"),r=s.get("guild_id"),o=s.get("permissions"),a=y();n.useEffect(()=>{typeof e!="string"||typeof r!="string"||typeof o!="string"||a({code:e,guildId:r,permissions:o}).catch(x=>{l(x)}).finally(()=>{p(!0)})},[e,r,o,a]);const i="/connected-apps/discord";return typeof e!="string"?t.jsx(c,{to:i}):m?f?t.jsx(u,{children:t.jsxs("div",{className:"container mx-auto max-w-screen-sm",children:[t.jsx("h4",{className:"mb-4 text-2xl font-semibold",children:t.jsx(d,{id:"monetization.app.discord.connectFailed"})}),t.jsx(h,{nativeButton:!1,render:t.jsx(j,{to:i}),children:t.jsx(d,{id:"general.back"})})]})}):t.jsx(c,{to:i}):t.jsx(u,{children:t.jsx(g,{})})}export{S 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.