PageSourceSearch

https://jackpotapp.co/build/assets/TwoFactorChallenge-3RxdUu--.js

js jackpotapp.co collected 2026-09-24 14:37:02 UTC 2,480 bytes, 1 lines download raw bytes

1import{u as x,d as s,b as o,e as t,y as C,w as d,a as i,o as a,F as n,f as l,j as _,n as h,i as m,A as w}from"./app-DWFWiIt5.js";import{A as V}from"./AuthenticationCard-DT1doSWn.js";import{_ as $}from"./AuthenticationCardLogo-CMPNgt6H.js";import{_ as p}from"./InputError-muUWbja4.js";import{_ as v}from"./InputLabel-CYltxHrG.js";import{_ as F}from"./PrimaryButton-tknKzr9d.js";import{_ as g}from"./TextInput-cqVgDMlW.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const I={class:"mb-4 text-sm text-gray-600"},T={key:0},U={key:1},A={class:"flex items-center justify-end mt-4"},q={__name:"TwoFactorChallenge",setup(B){const c=m(!1),e=x({code:"",recovery_code:""}),f=m(null),y=m(null),k=async()=>{c.value^=!0,await w(),c.value?(f.value.focus(),e.code=""):(y.value.focus(),e.recovery_code="")},b=()=>{e.post(route("two-factor.login"))};return(N,r)=>(a(),s(n,null,[o(t(C),{title:"Two-factor Confirmation"}),o(V,null,{logo:d(()=>[o($)]),default:d(()=>[i("div",I,[c.value?(a(),s(n,{key:1},[l(" Please confirm access to your account by entering one of your emergency recovery codes. ")],64)):(a(),s(n,{key:0},[l(" Please confirm access to your account by entering the authentication code provided by your authenticator application. ")],64))]),i("form",{onSubmit:_(b,["prevent"])},[c.value?(a(),s("div",U,[o(v,{for:"recovery_code",value:"Recovery Code"}),o(g,{id:"recovery_code",ref_key:"recoveryCodeInput",ref:f,modelValue:t(e).recovery_code,"onUpdate:modelValue":r[1]||(r[1]=u=>t(e).recovery_code=u),type:"text",class:"mt-1 block w-full",autocomplete:"one-time-code"},null,8,["modelValue"]),o(p,{class:"mt-2",message:t(e).errors.recovery_code},null,8,["message"])])):(a(),s("div",T,[o(v,{for:"code",value:"Code"}),o(g,{id:"code",ref_key:"codeInput",ref:y,modelValue:t(e).code,"onUpdate:modelValue":r[0]||(r[0]=u=>t(e).code=u),type:"text",inputmode:"numeric",class:"mt-1 block w-full",autofocus:"",autocomplete:"one-time-code"},null,8,["modelValue"]),o(p,{class:"mt-2",message:t(e).errors.code},null,8,["message"])])),i("div",A,[i("button",{type:"button",class:"text-sm text-gray-600 hover:text-gray-900 underline cursor-pointer",onClick:_(k,["prevent"])},[c.value?(a(),s(n,{key:1},[l(" Use an authentication code ")],64)):(a(),s(n,{key:0},[l(" Use a recovery code ")],64))]),o(F,{class:h(["ms-4",{"opacity-25":t(e).processing}]),disabled:t(e).processing},{default:d(()=>[...r[2]||(r[2]=[l(" Log in ",-1)])]),_:1},8,["class","disabled"])])],32)]),_:1})],64))}};export{q 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.