PageSourceSearch

https://app.getinthegamela.com/assets/index-BCW3ybv0.js

js getinthegamela.com collected 2026-10-07 21:53:46 UTC 2,261 bytes, 1 lines download raw bytes

1import{e as x,h as p,r as a,j as e}from"./vendor-framework-CobW1Mgl.js";import{E as h}from"./ErrorIcon-CCs7QBp8.js";import{j as v,S as g,a8 as d,n as i,B as j,fe as k,ff as _,ak as y}from"./index-CpCPgWAc.js";import{C as w}from"./completion-success-OHnDkDyy.js";import"./vendor-i18n-B6HYivoC.js";import"./vendor-firebase-Bl-igiUH.js";import"./vendor-state-DA1MgQuN.js";import"./vendor-utils-CAEY8Ghx.js";import"./check-w5BIVi-p.js";const z=()=>{const{t:l}=v(),c=g(),s=x(),[m]=p(),u=a.useRef(!1),[t,o]=a.useState("loading"),[n,f]=a.useState(null);return a.useEffect(()=>{if(u.current)return;const r=m.get("token");if(!r){o("error"),f({k:"common.invalid_verification_link",defaultValue:"Invalid or missing verification token."});return}window.history.replaceState({},"",window.location.pathname),u.current=!0,(async()=>{try{await c(k(r)).unwrap()}catch{o("error"),f({k:"common.mfa_revert_failed",defaultValue:"The link may be invalid, already used or expired."});return}if(_())try{await y.signOut()}catch{}o("success")})()},[c,m]),a.useEffect(()=>{if(t!=="success")return;const r=setTimeout(()=>{s("/auth/login",{replace:!0})},3e3);return()=>clearTimeout(r)},[t,s]),e.jsxs("div",{className:"flex flex-1 flex-col items-center justify-center p-10 text-center",children:[t==="loading"&&e.jsx(d,{withContainer:!1,textTranslationKey:"common.processing",size:"large"}),t==="success"&&e.jsx(w,{title:l("common.mfa_removed_successfully",{defaultValue:"Two-Factor Authentication Removed"}),subtitle:l("common.mfa_removed_success_message",{defaultValue:"Please log in again to continue."}),footer:e.jsx(d,{withText:!0,textTranslationKey:"common.loading",withContainer:!0,containerType:"inline-block",color:"primary",size:"small"})}),t==="error"&&e.jsxs(e.Fragment,{children:[e.jsx(h,{className:"mb-6 size-16 text-error-alert"}),e.jsx("h1",{className:"text-2xl font-bold mb-4 text-foreground",children:e.jsx(i,{k:"common.mfa_revert_failed_title",defaultValue:"MFA Removal Failed"})}),e.jsx("p",{className:"text-base text-error-alert",children:n&&e.jsx(i,{k:n.k,defaultValue:n.defaultValue})}),e.jsx("div",{className:"mt-6",children:e.jsx(j,{onClick:()=>s("/",{replace:!0}),children:e.jsx(i,{k:"common.go_to_home",defaultValue:"Go to Home"})})})]})]})};export{z 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.