PageSourceSearch

https://getforeverafter.com/assets/auth-actions-DzYmMNTH.js

js getforeverafter.com collected 2026-10-08 06:25:05 UTC 1,469 bytes, 4 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="476d26de-0d8c-563c-b83e-64542d595d15")}catch(e){}}();
3var e=`/api/auth`,t=new Set([`credentials`,`native-oauth`]);async function n(){return(await(await fetch(`${e}/csrf`)).json()).csrfToken??``}async function r(r,i){let{callbackUrl:a,...o}=i??{},{redirect:s=!0,redirectTo:c=a??window.location.href,...l}=o,u=t.has(r)?`callback`:`signin`,d=await n(),f=new URLSearchParams({csrfToken:d,callbackUrl:c});for(let[e,t]of Object.entries(l))t!=null&&f.set(e,String(t));let p=await fetch(`${e}/${u}/${r}`,{method:`post`,headers:{"Content-Type":`application/x-www-form-urlencoded`,"X-Auth-Return-Redirect":`1`},body:f}),m=await p.json();if(s){let e=m.url??c;window.location.href=e,e.includes(`#`)&&window.location.reload();return}let h=new URL(m.url),g=h.searchParams.get(`error`)??void 0;return{error:g,code:h.searchParams.get(`code`)??void 0,status:p.status,ok:p.ok&&!g,url:g?null:m.url}}async function i(){let t=await n();return await(await fetch(`${e}/signout`,{method:`post`,headers:{"Content-Type":`application/x-www-form-urlencoded`,"X-Auth-Return-Redirect":`1`},body:new URLSearchParams({csrfToken:t,callbackUrl:window.location.href})})).json()}export{i as n,r as t};
4//# debugId=476d26de-0d8c-563c-b83e-64542d595d15

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.